Chapter 13. Dedicated Cnet communication for GM6
13 - 28
(5) Example of use
This supposes that reading the variable registered with register No.’1’ in station No.’1’ is carried out. It is also
supposed that the one registered is a named variable reading, the number of blocks is 1, and the data type is
DINT.
(Computer request format)
Format
name
Header
Station No.
Command
Register No.
Tail
Frame check
Frame(Ex.)
ENQ
H01
Y(y)
H01
EOT
BCC
ASCII value
H05
H3031
H59(79)
H3031
H04
(For PLC ACK response after execution of command)
Format
name
Header
Station
No.
Command
Register
No.
Number of
blocks
Number of
data
Data
Tail
Frame
check
Frame
(Ex.)
ACK
H01
Y(y)
H01
H01
H04
H23422339
ETX
BCC
ASCII
value
H06
H3031
H59(79)
H3031
H3031
H3034
H3233343232
333339
H03
(For PLC NAK response after execution of command)
Format
name
Header
Station No.
Command
Register No.
Error code
Tail
Frame check
Frame(Ex.)
NAK
H01
Y(y)
H01
Error code(2)
ETX
BCC
ASCII value H15
H3031
H59(79)
H3031
Error code(4)
H03