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