
Chapter 7 Communication function
7-62
Classification
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 -
GM4 -
%MB,%QB,%IB %MW,%QW,%IW
%MD,%QD,%ID -
GM6 -
%MB,%QB,%IB %MW,%QW,%IW
%MD,%QD,%ID -
GM7 -
%MB,%QB,%IB %MW,%QW,%IW
%MD,%QD,%ID -
Remark
[Note 1] Refer to technical spec. of GLOFA PLC for details to specify the area of each device in GLOFA GM.
[Note 2] Data type of LONG WORD isn’t supported in GM3,GM4,GM6 and GM7.
2)
Request format(for ACK response)
Format
Name
Header
Station No.
Command
Command type
Tail
Frame check
Frame (Ex.)
ACK
H10
W(w)
SB
ETX
BCC
ASCII
value
H06 H3130
H57(77)
H5342 H03
9
Station number, commands, and type of command are the same as in computer request format.
9
BCC : When command is one of lower case(w), 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.
3)
Response format(for PLC of NAK response)
Format
Name
Header
Station No.
Command
Command type
Error code
(HEX 2Byte)
Tail
Frame check
Frame (Ex.)
NAK
H10
W(w)
SB
H1132
ETX
BCC
ASCII value
H15
H3130
H57(77)
H5342
H31313332
H03
9
Station number, commands, and type of command are the same as in computer request format.
9
BCC : When command is one of lower case(w), only one lower byte of the value resulted by adding 1 byte
each to ASCII values from NAK to ETX is converted into ASCII, added to BCC, and sent.
9
Error code is HEX and 2 bytes(ASCII code, 4 bytes), which indicates type of error. For the details, see
Appendix ‘B. Error Code Table’.