Section 1
Command Formats
Example of BCC calculation
STX
NODE No.
Subaddress
SID
Command text
ETX
BCC
02Hex
"
"
"
"
"00"
"0"
"30053001"
0
0
03Hex 37Hex
(30Hex )
(30Hex )
(3030Hex)
(30Hex )
(3330303533303031Hex)
Set the result of calculation, which is "37Hex," to BCC.
<Calculation>
BCC = 30Hex + 30Hex + 30Hex + 30Hex + 30Hex + 33Hex +30Hex + 30Hex +35Hex + 33Hex +
30Hex +30Hex +31Hex +03Hex = 37Hex
"+" indicates the exclusive OR (XOR) operation.
1-5
ZS Series
CompoWay/F Communication Command Reference