Chapter 13. Dedicated Cnet communication for GM6
13 - 14
Table 13.6 Readable continuous variable area
BOOL
Byte
WORD
DOUBLE WORD
LONG WORD
GM1
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
GM2
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
GM3
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
GM4
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
GM5
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
GM6
--
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
%ML,%QL,%IL
(3) For PLC ACK response after execution of command
Format
name
Header
Station
No.
Command
Command
type
Number
of data
Data
Tail
Frame
check
Frame
(Ex.)
ACK
H10
R(r)
SB
H14
H112233445566778899AABBC
CDDEEFF1122334455
EOT
BCC
ASCII
value
H06
H3130
H52(72)
H5342
H3134
H313132323333343435353636
3737383839394141424243434
4444545464631313232333334
343535
H03
•
Station number, main commands, and type of command are the same as computer request format.
•
BCC : When main command is lower case(like ‘r’), only one lower byte of the value resulted by adding ASCII
values from ACK to ETX is converted into ASCII, added to BCC, and sent.
When main command is upper case(like ‘r’), BCC is not used.
•
Number of data means Byte number of hex type, and is converted into ASCII. This number is determined by
multiplying the data number of computer request format by the data size(in below Table) according to memory
type(B,W,D,L) included in direct variable name of computer request format.