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.
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...