Chapter 13. Dedicated Cnet communication for GM6
13 - 10
Direct variables available according to PLC type are as follows :
Table 13.4 Type of direct variables
Type
BOOL
Byte
WORD
DOUBLE WORD
LONG
WORD
GM1 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%
QL,%IL
GM2 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%
QL,%IL
GM3 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
--
GM4 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
--
GM5 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
--
GM6 %MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
--
For how to specify the area of each device in GLOFA GM and GK series, see GLOFA PLC technical data.
(3) Response format(for PLC of ACK response)
Format
name
Header
Stati-
on No.
Command
Comma-nd
type
Number
of
blocks
Variable
length
Data
Tail
Fame
check
Frame
(Ex.)
ACK
H20
R(r)
SS
H01
H02
HA9F3
..........
ETX BCC
ASCII
value
H06
H3230
H52(72)
H5353
H3031
H3032
H4139463
3
H04
1 block(Max. 4 blocks)
•
Station number, commands, type of command, and number of blocks are the same as 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.
Device data type of each must be same. If data type of the first block is WORD, and the second block is DOUBLE
WORD, error occurs.
Remark