Supported Standard Data Types

 

Supported Standard Data Types

Supported Standard Data Types

The controller supports the following IEC data types:

Data Type

Lower Limit

Upper Limit

Information Content

BOOL

FALSE

TRUE

1 Bit

BYTE

0

255

8 Bit

WORD

0

65,535

16 Bit

DWORD

0

4,294,967,295

32 Bit

LWORD

0

264-1

64 Bit

SINT

-128

127

8 Bit

USINT

0

255

8 Bit

INT

-32,768

32,767

16 Bit

UINT

0

65,535

16 Bit

DINT

-2,147,483,648

2,147,483,647

32 Bit

UDINT

0

4,294,967,295

32 Bit

LINT

-263

263-1

64 Bit

ULINT

0

264-1

64 Bit

REAL

1.175494351e-38

3.402823466e+38

32 Bit

STRING

1 character

255 characters

1 character = 1 byte

WSTRING

1 character

255 characters

1 character = 1 word

TIME

-

-

32 Bit

For more information on ARRAY, LTIME, DATE, TIME, DATE_AND_TIME, and TIME_OF_DAY, refer to the EcoStruxure Machine Expert Programming Guide.