Chapter8 Communication Function
(5) Example
This example supposes that registered device No. 1 of station No. 1 is read. and BCC value is checked.
And it is supposed that device M000 is registered and the number of blocks is 1.
x Computer request Format(PC → K7 Base Unit)
Format name
Header
Frame (Example)
ENQ
ASCII value
H05
y For ACK response after execution of command (PC ← K7 Base Unit)
Format name
Header
Station No.
Frame (Example)
ACK
ASCII value
H06
H3031
z For NAK response after execution of command (PC ← K7 Base Unit)
Format name
Header
Frame (Example)
NAK
ASCII value
H15
Station No.
Command
H01
y
H3031
H79
Registration
Command
No.
H01
y
H01
H79
H3031
Registration No.
Station No.
Command
H01
y
H3031
H79
8-27
Registration No.
H01
H3031
Number of
Number of Blocks
data
H01
H04
H23422339
H3233343232
H3031
H3034
333339
Error code
H01
Error code (2)
H3031
Error code (4)
Tail
Frame check
EOT
BCC
H04
Frame
Data
Tail
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?