LG GLOFA-GM Series User Manual page 164

Programmable logic controller cnet i/f module
Hide thumbs Also See for GLOFA-GM Series:
Table of Contents

Advertisement

Chapter 7 Communication function
4) Example of use
In case 1 WORD from %MW20 of station No.1 and 1 WORD from %QW0.2.1 address are read supposing that
data of H1234 is in %MW20 and data of H5678 is in %QW0.2.1.
(Computer request format)
Format
Station
Header
No.
Name
Frame(Ex)
ENQ
H01
ACSII value
H05
H3031
(For PLC ACK response after execution of command)
Format
Station
Header
No.
Name
Frame(Ex.)
ACK
H01
ACSII value
H06
H3031
(For PLC NAK response after execution of command)
Format
Station
Header
No.
Name
Frame(Ex.)
NAK
H01
ACSII value
H15
H3031
Command
Number of
Command
type
blocks
R(r)
SS
H02
H52(72)
H5353
H3032
Command
Number of
Command
type
blocks
R(r)
SS
H02
H52(72)
H5353
H3032
Command
Command
type
R(r)
SS
H52(72)
H5353
7-45
Variable
Variable
Variable name
Length
length
H05
%MW20
H08
H3035
H254D573230
H3038
Variable
Variable
Variable name
length
length
H02
H1234
H02
H3032
H31323334
H3032
Error code
Error code(2)
Error code(4)
Frame
Variable name
Tail
check
%QW0.2.1
EOT
BCC
H255157302E
H04
322E31
Frame
Variable name
Tail
check
H5678
ETX
BCC
H35363738
H03
Frame
Tail
check
ETX
BCC
H03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents