4 Event Transmission (TCP, UDP)
4-24
KW2D Series Smart RFID Reader User’s Manual
The byte data from the first code to the last code of the data fields (until BCC) are XORed, and the calculation result is
converted to ASCII code and stored as BCC in 2 bytes.
Example: The data to be calculated for BCC is as follows:
The calculation result is as follows.
BCC result = 41h V 42h V 43h V ... V 39h V 30h = 41h
BCC calculation range
Header
(
0 to 4 byte)
Data fields
(
67 byte)
BCC
(
2 byte)
Terminator
(
0 to 4 byte)
A
(41h)
B
(42h)
C
(43h)
9
(39h)
0
(30h)
...
Convert to ASCII code
Calculation
result
Value to store in BCC
41h
4
(34h)
1
(31h)