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
H
Example
Data request: Read two words, starting at address 0x00CE
(CRC16 = 0x92A5)
07
Response: (CRC16 = 0xF5AD)
07
All manuals and user guides at all-guides.com
CRC = 0xFFFF
CRC = CRC XOR ByteOfMessage
For (1 to 8)
CRC = SHR(CRC)
if (flag shifted right = 1)
then
CRC
=
0xA001
while (not all ByteOfMessage processed);
The low byte of the check sum is the first to be transmitted, then the
high byte.
03
00
CE
00
03
04
00
00
Word 1
2 Protocol description
else
CRC
XOR
02
A5
92
CRC16
41
C8
AD
F5
Word 2
CRC16
17