2
Protocol description
2.8
Checksum (CRC16)
The checksum (CRC16) serves to recognize transmission errors. If an error is identified
during evaluation, the device concerned does not respond.
Calculation scheme
CRC = 0xFFFF
CRC = CRC XOR ByteOfMessage
For (1 to 8)
while (not all ByteOfMessage processed);
The low byte of the check sum is the first to be transmitted, then the high byte.
Example
Data request: Read two words, starting at address 0x00CE
(CRC16 = 0x92A5)
07
03
Response: (CRC16 = 0xF5AD)
07
03
CRC = SHR(CRC)
if (flag shifted right = 1)
then
CRC = CRC XOR
0xA001
00
CE
00
04
00
00
41
Word 1
else
02
A5
92
CRC16
C8
AD
F5
Word 2
CRC16
nVent.com | 15