App. - 48 App. - 48
APPENDIXES
(c) Data flow: Byte swap
1) "Complement calculation" is 'No complement calculation'
(15
H
in hexadecimal is 21 in decimal)
Data length
Code type
1 byte
2 bytes
3 bytes
4 bytes
ASCII
hexadecimal
"0051"
(30
H
30
H
35
H
31
H
)
ASCII decimal
"0012"
(30
H
30
H
31
H
32
H
)
HEX
00001500
H
2) "Complement calculation" is 'One's complement'
(One's complement of 0000 0015
H
is FFFF FFEA
H
)
When "Code type" is 'ASCII decimal', the last one word is extracted
and converted from hexadecimal to decimal.
(FFEA
H
in hexadecimal is 65514 in decimal)
Data length
Code type
1 byte
2 bytes
3 bytes
4 bytes
ASCII
hexadecimal
"FFAE"
(46
H
46
H
41
H
45
H
)
ASCII decimal
"5541"
(35
H
35
H
34
H
31
H
)
HEX
FFFFEAFF
H
3) "Complement calculation" is 'Two's complement'
(Two's complement of 0000 0015
H
is FFFF FFEB
H
)
When "Code type" is 'ASCII decimal', the last one word is extracted
and converted from hexadecimal to decimal.
(FFEB
H
in hexadecimal is 65515 in decimal)
Data length
Code type
1 byte
2 bytes
3 bytes
4 bytes
ASCII
hexadecimal
"FFBE"
(46
H
46
H
42
H
45
H
)
ASCII decimal
"5551"
(35
H
35
H
35
H
31
H
)
HEX
FFFFEBFF
H
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: ......