Chapter 13. Dedicated Cnet communication for GM6
13 - 16
(5) Example of use
This example supposes when 2 DOUBLE WORDs from %MD0 of station No.10 are read. Also it is supposed
that the following data are entered in %MD0 and %MD1 :
%MD0 = H12345678
%MD1 = H9ABCDEF0
(Computer request format)
Format
name
Header
Station
No.
Command
Command
type
Variable
length
Variable
name
Number
of
data
Tail BCC
Frame
(Ex.)
ENQ
H0A
R(r)
SB
H04
%MD0
H02
EOT BCC
ASCII
value
H05
H3041
H52(72)
H5342
H3034
H254D4430
H3032
H04
(For PLC ACK response after execution of command)
Format
name
Header
Station
No.
Command
Command
type
Number
of
blocks
Number
of
data
Data
Tail
BCC
Frame
(Ex.)
ACK
H0A
R(r)
SB
H01
H08
12345678 9ABCDEF0
ETX BCC
ASCII
value
H06
H3041
H52(72)
H5342
H3031
H3038
H313233343536373839
41424344454630
03
(For PLC NAK response after execution of command)
Format
name
Header
Station
No.
Command
Command type
Error code
Tail BCC
Frame
(Ex.)
NAK
H0A
R(r)
SB
Error code(2)
ETX BCC
ASCII
value
H15
H3041
H52(72)
H5342
Error code(4)
H03