
Chapter 7 Communication function
7-40
7.2.4 Data type
When direct variables and named variables are read/written, attention must be paid to data type of direct and named
variables to be read.
1)
Data type of direct variables
Memory device type of GLOFA-GM PLC : M(Internal memory), Q(Output), I(input)
Data type for direct variables is displayed next to ‘%’, an indicating character of direct variable.
[Table7.12] List of data types of direct variables
Ind. character
Data type
Sign
ASCII
Example
Bit
X
H58
%MX0, %QX0.0.0,%IX0.0.0
Byte B
H42
%MB10,%QB0.0.0,%IB0.0.0
WORD W
H57
%MW10,%QW0.0.0,%IW0.0.0
DOUBLE WORD
D
H44
%MD10,%QD0.0.0,%ID0.0.0
LONG WORD
L
H4C
%ML10,%QL0.0.0,%IL0.0.0
2)
Data type of named variables
To read/write named variables, data type is specified by command type.
[Table7.13] List of data types of named variables
Command type
Command type
Data type
Figure
ASCII value
Data type
Figure
ASCII value
BIT H00 H3030
UDINT
H0B H3042
BYTE H01 H3031 ULINT H0C H3043
WORD H02 H3032 REAL H0D H3044
DWORD H03 H3033 LREAL H0E H3045
LWORD H04 H3034 TIME H0F H3046
SINT H05 H3035 DATE H10 H3130
INT H06 H3036
TOD H11 H3131
DINT H07 H3037 DT H12 H3132
LINT H08 H3038
STRING
H13 H3133
USINT H09 H3039 BLOCK
H14 H3134
UINT H0A H3041
Содержание GLOFA-GM Series
Страница 355: ...Appendix A 12 A 3 Dimensions of appearance G3L CUEA Unit mm 118 0 130 5 35 0 250 0 ...
Страница 356: ...Appendix A 13 G4L CUEA 107 0 121 5 35 0 135 0 ...
Страница 357: ...Appendix A 14 G6L CUEB G6L CUEC Dimensions of G6L CUEB G6L CUEC are identical with each other 81 1 90 0 35 0 110 0 ...