LG GLOFA-GM Series User Manual page 183

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

Advertisement

Chapter 7 Communication function
1 Writing of named variables (W##)
This is a function to write data by using the name registered by registering variable name in access variable of
PLC program. Refer to technical spec. of GLOFA GMWIN for the registration of variables.
1)
Request format(PC -> PLC)
A) For data type of non-array
Format
Header
Name
frame(Ex)
ENQ
ASCII
H05
value
B) For data type of array (for 1 block only)
Format
Header
Name
ENQ
Frame(Ex)
ASCII
H05
value
Remark
[Note 1] Data type of variable to be written is specified in command type. For the details, see [Table 7.13] and
[Table 7.14].
Station
Command
Command
[Note]
No.
type
H10
W(w)
H02
H3130
H57(77)
H3032
Station
Command
Command
[Note]
No.
type
H10
W(w)
H17
H57
H3130
H3137
(77)
Number
Variable
Variable
of
length
name
blocks
OUTPU
H01
H08
T_1
H4F555
H3031
H3038
450555
45F31
1 block(Setting can be repeated up to max. 4 blocks)
Number of
Variable
Variable
blocks
length
name
OUTPUT
H01
H0A
_ARR
H4F5554
H3031
H3041
5055545F
415252
1 block(for 1 block only)
7-64
data
Tail
Repeated
H0002
EOT
block
H30303241
H04
Number
of
Data
Tail
elements
H11223344556
H05
EOT
6778899AA
H3131323233
33343435353
H3035
H04
63637373838
39394141
Frame
check
BCC
Frame
check
BCC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents