Supported OPC data types

Table 1 lists the OPC data types that can be modeled as points by this driver, including the “label” for that data type shown in some Workbench dialogs. Some data types such as currency are unsupported, but can be manually created as string objects (arrays cannot be supported this or any other way).

Table 1. Supported OPC data types

OPC Item Type and value Data Type (WB) label OPC Item Type Description
VT_I2 = 2 Vt Int2 2-byte integer value
VT_I4 = 3 Vt Int4 4-byte integer value
VT_R4 = 4 Vt Real4 IEEE 4-byte real value
VT_R8 = 5 Vt Real8 IEEE 8-byte real value
VT_I1 = 16 Vt Signed Byte 1-byte character value
VT_UI1 = 17 Vt Unsigned Byte Unsigned 1-byte character
VT_UI2 = 18 Vt Uint2 Unsigned 2-byte integer value
VT_UI4 = 19 Vt Uint4 Unsigned 4-byte integer value
VT_INT = 22 Vt Int Integer value
VT_UINT = 23 Vt Uint Unsigned integer value
VT_BSTR = 8 Vt String String value
VT_BOOL = 11 Vt Boolean Unsigned 4-byte integer value