LG GLOFA-GM Series User Manual page 162

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

Advertisement

Chapter 7 Communication function
Direct variables available according to PLC type are as follows.
[Table 7.15] Type of direct variables
Type
GM1
%MX,%QX,%IX
GM2
%MX,%QX,%IX
GM3
%MX,%QX,%IX
GM4
%MX,%QX,%IX
GM6
%MX,%QX,%IX
GM7
%MX,%QX,%IX
Refer to technical spec. of GLOFA PLC for details to specify the area of each device in GLOFA GM.
Remark
[Note 1] Device data type of each block shall be surely identical. If the 1
DOUBLE WORD in data type, error occurs.
2) Response format(for PLC of ACK response)
FORMAT
Header
NAME
Frame(Ex.)
ACK
ASCII
H06
value
Station number, commands, type of command, and number of blocks are the same as in computer request
format.
BCC : When command is one of lower case(r), only one lower byte of the value resulted by adding 1 byte
each to ASCII values from ACK to ETX is converted into ASCII, added to BCC, and sent.
Number of data means Byte number of HEX. type and is converted into ASCII. This number is determined
according to memory type(X,B,W,D,L) included in direct variable name of computer request format.
Bool
Byte
%MB,%QB,%IB
%MB,%QB,%IB
%MB,%QB,%IB
%MB,%QB,%IB
%MB,%QB,%IB
%MB,%QB,%IB
Station
Command
Command
No.
H20
R(r)
H3230
H52(72)
H5353
Word
%MW,%QW,%IW
%MW,%QW,%IW
%MW,%QW,%IW
%MW,%QW,%IW
%MW,%QW,%IW
%MW,%QW,%IW
Number of
Number of
type
blocks
Data
SS
H01
H02
H3031
H3032
1 block(Max. 4 blocks)
7-43
Double word
Long word
%MD,%QD,%ID
%ML,%QL,%IL
%MD,%QD,%ID
%ML,%QL,%IL
%MD,%QD,%ID
%MD,%QD,%ID
%MD,%QD,%ID
%MD,%QD,%ID
block is WORD and the 2
st
Data
Repeated
block
HA9F3
H4139463
3
-
-
-
-
block is
nd
Frame
Tail
check
ETX
BCC
H03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents