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
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...