Chapter8 Communication Function
(5) Example
This example supposes that 2 byte HAA15 is written in D000 of station No. 1 and BCC value is checked.
① Computer request Format(PC → K7 Base Unit)
Station
Format name
Header
No.
Frame (Example) ENQ
H01
ASCII value
H05
H3031
② 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
Command
Device
Command
type
Length
w
SB
H06
H77
H5342
H3036
H254457303030
Station No.
Command
H01
W
H3031
H77
Station No.
Command
Command type
01
W
H3031
H77
8-21
Number of
Device
data
%DW0000
H01
HAA15056F
H414131353
H3031
0353646
Command type
SB
H5342
Error code
SB
Error code (2)
H5342
Error code (4)
Frame
Data
Tail
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?