EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 540

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
538
APPENDICES APPENDIX
Appendix 5 Operation Image and Data Structure of Predefined Protocol
Calculation procedure for sum check
The following show procedures for calculating sum check codes using the following sample data.
For the data shown above
Sum check value=52H+4AH+37H+31H+43H+32H+34H+03H=1B0H
Data flow: Forward direction
"No Complement Calculation" is designated (1B0H in hexadecimal is 432 in decimal)
*1 Values in '( )' indicate ASCII code.
"One's complement" is designated (One's complement for 0000 01B0H is FFFF FE4FH)
When "Code type" is "ASCII decimal", the lower one word is extracted and converted from hexadecimal to decimal. (FE4FH
in hexadecimal is 65103 in decimal.)
*1 Values in '( )' indicate ASCII code.
"Two's complement" is designated (Two's complement for 0000 01B0H is FFFF FE50H)
When "Code type" is "ASCII decimal", the lower one word is extracted and converted from hexadecimal to decimal. (FE50H
in hexadecimal is 65104 in decimal.)
*1 Values in '( )' indicate ASCII code.
Code type Data length
*1
1 byte 2 bytes 3 bytes 4 bytes
ASCII hexadecimal "0" (30H) "B0" (42H 30H) "1B0" (31H 42H 30H) "01B0" (30H 31H 42H 30H)
ASCII decimal "2" (32H) "32" (33H 32H) "432" (34H 33H 32H) "0432" (30H 34H 33H 32H)
HEX B0H 01B0H 0001B0H 000001B0H
Code type Data length
*1
1 byte 2 bytes 3 bytes 4 bytes
ASCII hexadecimal "F" (46H) "4F" (34H 46H) "E4F" (45H 34H 46H) "FE4F" (46H 45H 34H 46H)
ASCII decimal "3" (33H) "03" (30H 33H) "103" (31H 30H 33H) "5103" (35H 31H 30H 33H)
HEX 4FH FE4FH FFFE4FH FFFFFE4FH
Code type Data length
*1
1 byte 2 bytes 3 bytes 4 bytes
ASCII hexadecimal "0" (30H) "50" (35H 30H) "E50" (45H 35H 30H) "FE50" (46H 45H 35H 30H)
ASCII decimal "4" (34H) "04" (30H 34H) "104" (31H 30H 34H) "5104" (35H 31H 30H 34H)
HEX 50H FE50H FFFE50H FFFFFE50H
STX “J” “7” “1” “C” “2” “4” ETX“R”
Sum
check
Calculating range

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals