OATs
OATs - IEC 61131 - Data Types

Supported data types.

Type NameValue Range
BOOL0, 1, FALSE, TRUE
BOOL F_EDGE0, 1, FALSE, TRUE
BOOL R_EDGE0, 1, FALSE, TRUE
BYTE16#00 .. 16#FF
WORD16#0000 .. 16#FFFF
DWORD16#00000000 .. 16#FFFFFFFF
SINT-128 .. +127
INT-32768 .. +32767
DINT-2147483648 .. +2147483647
USINT0 .. 255
UINT0 .. 65535
UDINT0 .. 4294967295
REAL+/-2.9E-39 .. +/-3.4E+38
LREAL+/-4.19E-307 .. +/-1.67E+308
TIME-T#24d20h31m23s648ms .. +T#24d20h31m23s647ms
DATED#1-1-1 .. D#65000-12-31, Gregorian
TIME_OF_DAYTOD#00:00:00.000 .. TOD#23:59:59.999
DATE_AND_TIMEcombines DATE and TIME_OF_DAY
STRINGup to 1000 characters
ANYreference data type


Copyright 2003-2010 Ing.-Büro Dr. Friedrich Haase