Instruction manual

5. MODBUS PROTOCOL
IMCB14-E1
22



The flow chart of CRC-16
START
FFFFH
o
CRC Register
0
o
n
Shift CRC Register right 1 bit
Carry flag is
1
No
Yes
CRC Register
A001H
o
CRC Register
n + 1
o
n
No
Yes
n
!
7
No
Yes
Is message
complete ?
END
CRC Register
next byte of the message
o
CRC Register
The
symbol indicates an
exclusive OR
operation.
The symbol for the number of data bits is
n
.