17
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
Example
Data request: Read two words, starting at address 0x00CE
(CRC16 = 0x92A5)
Response: (CRC16 = 0xF5AD)
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);
H
The low byte of the check sum is the first to be transmitted, then the
high byte.
07
03
00
CE
00
02
A5
92
CRC16
07
03
04
00
00
41
C8
AD
F5
Word 1
Word 2
CRC16
Содержание TCONTROL-CONT-03
Страница 2: ......
Страница 4: ...Contents ...
Страница 6: ...1 Introduction 6 ...
Страница 26: ...4 Modbus addresses 26 ...
Страница 28: ......
Страница 30: ...Sommaire ...
Страница 32: ...1 Introduction 6 ...
Страница 52: ...4 Adresses Modbus 26 ...
Страница 53: ...DigiTrace TCONTROL CONT 03 Kompakter Mikroprozessorregler INSTALL 160 Rev 1 Modbus Anleitung 2013 05 21 ...
Страница 54: ......
Страница 56: ...Inhalt ...
Страница 58: ...1 Einleitung 6 ...
Страница 78: ...4 Modbus Adressen 26 ...
Страница 79: ......