IECDatatype TOC Previous Next Specification

The fields of the IECDatatype DataType are defined in the following table:

Name Value Description
BOOL 0 1 bit -> true or false.
SINT 1 Signed short integer (1byte).
INT 2 Signed integer (2 byte).
DINT 3 Signed double integer (4 byte).
LINT 4 Signed long integer (8 byte).
USINT 5 Unsigned short integer (1 byte).
UINT 6 Unsigned integer (2 byte).
UDINT 7 Unsigned double integer (4 byte).
ULINT 8 Unsigned long integer (8 byte).
REAL 9 Floating point (4 byte).
LREAL 10 Long floating point (8 byte).
TIME 11 Time.
DATE 12 Calendar date.
TimeOfDay 13 Clock time.
DateAndTime 14 Date and time.
STRING 15 Variable-length single-byte character string.
BYTE 16 8 bit.
WORD 17 16 bit.
DWORD 18 32 bit.
LWORD 19 64 bit.
WSTRING 20 Variable-length double-byte character string.

The representation of the IECDatatype DataType in the address space is shown in the following table:

Name Attribute
NodeId ns=1;i=3007
BrowseName IECDatatype
IsAbstract False
SubtypeOf Enumeration

The references from the IECDatatype DataType Node are shown in the following table:

Reference NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable EnumValues EnumValueType[] PropertyType Mandatory