Chapter8 Communication Function
(5) Example
This example supposes that the status of K7 Base Unit of station No. 1 is read.
① Computer request Format(PC → K7 Base Unit)
Format name
Header
Frame (Example)
ENQ
ASCII value
H05
② For ACK response after execution of command (PC ← K7 Base Unit)
Format name
Header
Frame (Example)
ACK
ASCII value
H06
③ For NAK response after execution of command (PC ← K7 Base Unit)
Format name
Header
Frame (Example)
NAK
ASCII value
H15
Station No.
Command
H01
R(r)
H3031
H52(72)
Station No.
Command
Command type
H01
R(r)
ST
H3031
H52(72)
H5354
Station No.
Command
Command type
H01
R(r)
H3031
H52(72)
8-30
Command type
ST
H5354
Status data
See status data
Format
Error code
ST
Error code (2)
H5354
Error code (4)
Tail
Frame check
EOT
BCC
H04
Tail
Frame check
ETX
BCC
H03
Tail
Frame check
ETX
BCC
H03
Need help?
Do you have a question about the K7 Series and is the answer not in the manual?