10 OPC UA DataTypes ToC Previous Next

10.4 Enumeration datatypes ToC Previous Next

10.4.7 IECDatatype ToC Previous Next

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

Name Value Description
BOOL 0 1 bit
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

Previous Next