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 |
Its representation in the AddressSpace is defined in Table 47.
Table 47 – IECDatatype Definition
Attribute |
Value |
|||||
BrowseName |
IECDatatype |
|||||
IsAbstract |
False |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of the Enumeration type defined in OPC 10000-5 |
||||||
0:HasProperty |
Variable |
0:EnumValues |
0:EnumValueType[] |
0:PropertyType |
|