
Chapter 7 Communication function
7-63
4)
Example of use
In case 4 bytes of HAA15056F are written in %QD0.0.0 of station No.1.
(Computer request format)
Format
Name
Header
Station
No.
Command
Command
type
Variable
length
Variable name
Number
of data
data
Tail
Frame
check
Frame(Ex.) ENQ H01 W(w) SB
H08
%QD0.0.0 H04 HAA15056F EOT BCC
ASCII value
H05
H3031
H57(77)
H5342
H3038
H254442302E3
02E30
H3034
H414131353
0353646
H04
(For PLC ACK response after execution of command)
Format
Name
Header
Station No.
Command
Command type
Tail
Frame
check
Frame (Ex.)
ACK
H01
W(w)
SB
ETX
BCC
ASCII value
H06
H3031
H57(77)
H5342
H03
(For PLC NAK response after execution of command)
Format
Name
Header
Station No.
Command
Command type
Error code
Tail
Frame
check
Frame (Ex.)
NAK
01
W(w)
SB
Error code(2)
ETX
BCC
ASCII value
H15
H3031
H57(77)
H5342
Error code(4)
H03