Appendix A
A-8 DVP-MC operating manual
Response message:
Field name Field character
ASCII code corresponding to field
character
Start character
“:” 3A
“0” 30
Communication address: 01
“1” 31
“0” 30
Function code: 03
“3” 33
“0” 30
Read data number
(Counted by bytes)
“4” 34
“0” 30
“0” 30
“0” 30
Read content of 0x1000
address
“1” 31
“0” 30
“0” 30
“0” 30
Read content of 0x1001
address
“2” 32
“F” 46
LRC check code: 0xF5
“5” 35
End character 1
“CR” 0D
End character 0
“LF” 0A
4. LRC check(Check sum)
LRC check code is the value by firstly getting the inverse values of every bit of the result value of addition
operation of the data from communication ID to the last data content (Hex.) and then adding 1 to the final
inverse value.
For instance, LRC check code value: 0xF6. The method of calculating LRC check code value:
0x01+0x03+0x10+0x00+0x00+0x02 = 0x16, the result is 0xEA by getting the inverse values of every bit of
0x16 and then adding 1 to the final inverse value.
Field name Field character
ASCII code corresponding to field
character
Start character
“:” 3A
“0” 30
Communication address: 01
“1” 31
“0” 30
Function code: 03
“3” 33
“1” 30
“0” 30
“0” 30
Start data address: 0x1000
“0” 30
Comments to this Manuals