Chapter8 Communication Function
8-17
Remark
1) Device data types of each block must be the same.
2) If data type is Bit, the data to be written is indicated by bytes of hex. Namely, if Bit value is 0, it must be
indicated by H00(3030), and if 1, by H01(3031).
(3) Response format (ACK response)
Format name
Header
Station No.
Command
Command type
Tail
Frame check
Frame (Example)
ACK
H20
W(w)
SS
ETX
BCC
ASCII value
H06
H3230
H57(77)
H5353
H03
Item
Explanation
BCC
When command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte
each to ASCII values from ACK to ETX is converted into ASCII and added to BCC, and sent.
(4) Response format (NAK response)
Format name
Header
Station No.
Command
Command type
Error code
(Hex 2 Byte)
Tail
Frame
check
Frame (Example)
NAK
H20
W(w)
SS
H4252
ETX
BCC
ASCII value
H15
H3230
H57(77)
H5353
H34323532
H03
Item
Explanation
BCC
When command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte
each to ASCII values from NAK to ETX is converted into ASCII and added to BCC, and sent.
Error code
Hex and 2 bytes(ASCII code, 4 bytes) indicate error type. For the details, see 8.1.8 Error
codes.