10.4.7 IECDatatype

IECDatatype is an enumeration that defines the IEC type of an IOSignal. Its values are defined in Table 46.

Table 46 – IECDatatype Items
NameValueDescription
BOOL01 bit
SINT1Signed short integer (1byte)
INT2Signed integer (2 byte)
DINT3Signed double integer (4 byte)
LINT4Signed long integer (8 byte)
USINT5Unsigned short integer (1 byte)
UINT6Unsigned integer (2 byte)
UDINT7Unsigned double integer (4 byte)
ULINT8Unsigned long integer (8 byte)
REAL9Floating point (4 byte)
LREAL10Long floating point (8 byte)
TIME11Time
DATE12Calendar date
TimeOfDay13Clock time
DateAndTime14Date and time
STRING15Variable-length single-byte character string
BYTE168 bit
WORD1716 bit
DWORD1832 bit
LWORD1964 bit
WSTRING20Variable-length double-byte character string

Its representation in the AddressSpace is defined in Table 47.

Table 47 – IECDatatype Definition
Attribute Value
BrowseNameIECDatatype
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the Enumeration type defined in OPC 10000-5
0:HasPropertyVariable0:EnumValues0:EnumValueType[]0:PropertyType