APC 6000 ユーザーズマニュアル

ページ / 38
Page 14 - 
6739389EN/FB
CRC 16 algorithm
If the CRC 16 is calculated using
the above algorithm, the least
significant byte is transmitted first.
=
exclusive or
n
=
number of data bits
poly
=
CRC 16 polynomial = 2
15
 + 2
13
 + 2
0
 = $ A001
Hex FFFF --> CRC 16
CRC 16 
 BYTE --> CRC 16
n = 0
yes
no
yes
no
remainder
CRC 16 
 poly --> CRC 16
n = n+1
n > 7
END
end of message
no
yes
CRC 16 shift to the right
following byte
JBUS protocol
 (continued)