App. - 54 App. - 54
APPENDIXES
(5) Calculating range of Check code
The following shows specification examples of the calculating range of Check
code.
Packet
element 1
Header
Static data
Calculating range when specifying 1 to (n-1)
Example 1
Packet
format
Example 2
Example 3
Calculating range when specifying 2 to (n-1)
Calculating range when specifying 2 to (n-2)
Terminator
Non-conversion
variable
Check code
Packet
element 2
Packet
element n-2
Packet
element n-1
Packet
element n
Example 1: Calculating range when its start is 1 and end is n-1.
Example 2: Calculating range when its start is 2 and end is n-1.
Example 3: Calculating range when its start is 2 and end is n-2.
Appendix 5.3.5 Non-verified reception
The following shows a usage example of Non-verified reception.
1 byte
STX
Header
Non-verified reception (variable number of characters)
Terminator
Conversion
variable
Data needed by the user
Set a Non-verified
reception element
When the data are not needed by
the user and data contents and/or
the number of character vary
Identification
code
Country
code
Manufacturer
code
Product code
ETX
2 bytes
1 byte
2 bytes
2 bytes
5 bytes
Data
to be read
5 bytes
1 byte
1 byte
Variable
number of
characters
Variable
number of
characters
Example of format of packet from other device
Example of packet setting
Using a Non-verified reception element has the following advantages in the case of the
packet format shown above.
y
The only necessary data can be stored in the device memory of a CPU module and
buffer memory.
y
A single protocol (packet) can handle receive packets that includes data whose
contents vary each time.
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......