![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526152.webp)
137
Appendix A
Data Types
Basic Data Types
Note
The TIMER and COUNTER data types cannot be used in structured text function blocks.
Derivative Data Types
Data type
Content
Size
Range of values
BOOL
Bit data
1
0 (FALSE), 1 (TRUE)
INT
Integer
16
−
32,768 to +32,767
DINT
Double integer
32
−
2,147,483,648 to +2,147,483,647
LINT
Long (8-byte) integer
64
−
9,223,372,036,854,775,808 to +9,223,372,036,854,775,807
UINT
Unsigned integer
16
&0 to 65,535
UDINT
Unsigned double integer 32
&0 to 4,294,967,295
ULINT
Unsigned long (8-byte)
integer
64
&0 to 18,446,744,073,709,551,615
REAL
Real number
32
−
3.402823
×
10
38
to
−
1.175494
×
10
−
38
, 0,
+1.175494
×
10
−
38
to +3.402823
×
10
38
LREAL
Long real number
64
−
1.79769313486232
×
10
308
to
−
2.22507385850720
×
10
−
308
, 0,
2.22507385850720
×
10
−
308
to 1.79769313486232
×
10
308
WORD
16-bit data
16
#0000 to FFFF or &0 to 65,535
DWORD
32-bit data
32
#00000000 to FFFFFFFF or &0 to 4,294,967,295
LWORD
64-bit data
64
#0000000000000000 to FFFFFFFFFFFFFFFF or
&0 to 18,446,744,073,709,551,615
TIMER
(See note.)
Timer (See note.)
Flag: 1 bit
PV: 16 bits
Timer number: 0 to 4095
Completion Flag: 0 or 1
Timer PV: 0 to 9999 (BCD), 0 to 65535 (binary)
COUNTER
(See note.)
Counter (See note.)
Flag: 1 bit
PV: 16 bits
Counter number: 0 to 4095
Completion Flag: 0 or 1
Counter PV: 0 to 9999 (BCD), 0 to 65535 (binary)
Array
1-dimensional array; 32,000 elements max.
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...