App. - 39 App. - 39
APPENDIXES
(b) Data flow is 'Reverse direction'
Data length
Code type
1 byte
2 bytes
3 bytes
4 bytes
ASCII hexadecimal
"20"
(32
H
30
H
)
"201"
(32
H
30
H
31
H
)
"2010"
(32
H
30
H
31
H
30
H
)
ASCII decimal
"85"
(38
H
35
H
)
"852"
(38H 35H 32H)
"8520"
(38
H
35
H
32
H
30
H
)
HEX
0201
H
020100
H
02010000
H
(c) Data flow is 'Byte swap'
Data length
Code type
1 byte
2 bytes
3 bytes
4 bytes
ASCII hexadecimal
"1020"
(31
H
30
H
32
H
30
H
)
ASCII decimal
"2085"
(32
H
30
H
38
H
35
H
)
HEX
00000201
H
(3) Calculating range
The following shows specification examples of the calculating range of Length.
Terminator
Header
Variable
Check code
Static data
Packet
element 1
Packet
element 3
Packet
element n
Packet
element n-1
Packet
element n-2
Packet
format
Calculating range when specifying 1 to n
Calculating range when specifying 3 to (n-2)
Calculating range when specifying 3 to n
Example 1
Example 2
Example 3
Length
Packet
element 2
Example 1: Calculating range when its start is 1 and end is n.
Example 2: Calculating range when its start is 3 and end is n-2.
Example 3: Calculating range when its start is 3 and end is n.
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......