L_IOCP_VariableDataType
Specify the plc variable data type. The type information is used to determine if the OPC UA and the plc datatype match each other.
|
Designator |
Value |
Info |
|---|---|---|
|
VarType_Null |
0 |
Invalid type |
|
VarType_BOOL |
1 |
Type is BOOL |
|
VarType_SINT |
2 |
Type is SINT |
|
VarType_BYTE |
3 |
Type is BYTE |
|
VarType_INT |
4 |
Type is INT |
|
VarType_UINT |
5 |
Type is UINT |
|
VarType_DINT |
6 |
Type is DINT |
|
VarType_UDINT |
7 |
Type is UDINT |
|
VarType_LINT |
8 |
Type is LINT |
|
VarType_ULINT |
9 |
Type is ULINT |
|
VarType_REAL |
10 |
Type is REAL |
|
VarType_LREAL |
11 |
Type is LREAL |
|
VarType_STRING |
12 |
Type is STRING (Note: To process a string it is required to describe the data size in the same manner as done with arrays – see L_IOCP_Variable) |
|
VarType_WSTRING |
13 |
Type is WSTRING (Note: To process a wstring it is required to describe the data size in the same manner as done with arrays – see L_IOCP_Variable) |
|
VarType_WCHAR |
14 |
Type is WCHAR |
|
VarType_TIME |
15 |
Type is TIME |
|
VarType_LTIME |
16 |
Type is LTIME |
|
VarType_DATE |
17 |
Type is DATE |
|
VarType_DT |
18 |
Type is DATE_AND_TIME |
|
VarType_TOD |
19 |
Type is TIME_OF_DAY |