Common Attributes for Advanced Process Control and Drives Instructions
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 545
The controller supports the elementary data types defined in IEC 1131-3 defined
data types. The elementary data types are:
Data type Description Range
BOOL 1-bit boolean 0 = cleared
1 = set
SINT 1-byte integer -128 to 127
INT 2-byte integer -32,768 to 32,767
DINT 4-byte integer -2,147,483,648 to 2,147,483,647
REAL 4-byte floating-point number -3.402823E
38
to -1.1754944E
-38
(negative values)
and
0
and
1.1754944E
-38
to 3.402823E
38
(positive values)
LINT 8-byte integer 0 to 32,535,129,599,999,999
USINT 1-byte unsigned integer 0 to 255
UINT 2-byte unsigned integer 0 to 65,535
UDINT 4-byte unsigned integer 0 to 4,294,967,295
ULINT 8-byte unsigned integer 0 to 18,446,744,073,709,551,615
REAL 4-byte floating-point number -3.4028235E38 to -1.1754944E-38
(negative values)
and
0.0
and
1.1754944E-38 to 3.4028235E38
(positive values)
LREAL 8-byte floating-point number -1.7976931348623157E308 to
-2.2250738585072014E-308
(negative values)
and
0.0
and
2.2250738585072014E-308 to
1.7976931348623157E308
(positive values)
These controllers support the following elementary data types:
Controllers Data type
CompactLogix 5380, CompactLogix 5480, ControlLogix
5580, Compact GuardLogix 5380, and GuardLogix 5580
controllers
SINT, INT, DINT, LINT, REAL
USINT, UINT, UDINT, ULINT, LREAL
CompactLogix 5370, ControlLogix 5570, Compact
GuardLogix 5370, and GuardLogix 5570 controllers
SINT, INT, DINT, LINT, REAL.
The controller handles all immediate values as DINT data types.