Chapter 13. Dedicated Cnet communication for GM6
13 - 8
13.6
Data type
When direct variables and named variables are read/written, attention must be paid to data type of direct and
named variables.
1) Data type of direct variables
Memory device type of GLOFA GM PLC : M(Internal memory), Q(Output), I(Input)
Memory device type of GLOFA GK PLC : P, M, L, K, C, D, T, S, F
Data type for direct variables is indicated next to direct variable indicating character '%'.
Table 13.3 List of data types of direct variables
Data type
Ind. charac..
Example of use
BIT
X(58H)
%MX0, %QX0.0.0, %IX0.0.0, %PX0, %LX0, %FX0
BYTE
B(42H)
%MB10, %QB0.0.0, % IB0.0.0
WORD
W(57H)
%MW10, %QW0.0.0, % IW0.0.0, %PW0, %LW0, %FW0, %DW0
DOUBLE WORD
D(44H)
%MD10, %QD0.0.0, % ID0.0.0
2
The CPU-A type does not support this function.
1) The read/write of named variables will be available with the next version of CPU-A type.
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 ...