Chapter 13. Dedicated Cnet communication for GM6
13 - 18
The following shows direct variables available according to PLC type.
Type
BOOL
Byte
WORD
DOUBLE WORD
GM1/2
%MX,%QX,%IX
%MB,%QB,%IB
%MW,%QW,%IW
%MD,%QD,%ID
GM3/4/5 %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
(3) Response format(for ACK response)
Format name
Header
Station No.
Command
Command type
Tail
Frame check
Frame(Ex.)
ACK
H20
W(w)
SS
ETX
BCC
ASCII value
H06
H3230
H57(77)
H5353
H03
•
Station number, commands, and type of command are the same as computer request format.
•
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.
Ex.1
If type of data to be currently written is DOUBLE WORD, the data is H12345678, ASCII code converted value of this is
"3132333435363738", and this content must be entered in data area. Namely, most significant value must be sent first,
least significant value must be last.
1) Device data types of each blocks must be same.
2) If data type is BOOL, the data to be written is indicated by 1 Byte of hex. Namely, if Bit value is 0, it must be
indicated by H00(3030), and if 1, by H01(3031).
Remark
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...