
1-7
Section 1
Connections and Settings of External Devices
ZS Series
CompoWay/F Communication Command Reference
Section 1
About Com
m
unication Commands
■
Example of BCC calculation
STX
NODE No.
Subaddress
SID
Command text
ETX
BCC
02Hex "
0
"
(30Hex )
"
0
"
(30Hex )
"00"
(3030Hex)
"0"
(30Hex )
"30053001"
(3330303533303031Hex)
03Hex 37Hex
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.
Command Formats