
13
2 Protocol description
2.7 Checksum (CRC16)
The checksum (CRC16) serves to recognize transmission errors. If an
error is identified during processing, the appropriate instrument will not
respond.
Calculation
method
Example
Data request: read two words, starting at address 0x1053
(CRC16 = 0x30BC)
Response: (CRC16 = 0xADF5)
CRC = 0xFFFF
CRC = CRC XOR ByteOfMessage
For (1 to 8)
CRC = SHR(CRC)
if (flag shifted right = 1)
then
else
CRC = CRC XOR
0xA001
while (not all ByteOfMessage processed);
07
03
10
53
00
02
30
BC
CRC16
07
03
04
00
00
41
C8
AD
F5
Word 1
Word 2
CRC16
Summary of Contents for DICON 400
Page 2: ......
Page 18: ...3 Functions 18...
Page 20: ...4 Data flow 20...
Page 38: ...5 Address tables 38...
Page 42: ...6 Sample program 42...
Page 43: ......