A.4.3.2 Value

The COM UA Proxy converts the OPC UA Data Value to the corresponding OPC DA Variant type. The mapping is shown in Table A.6. For DataTypes that are subtypes of an existing base DataType the conversion for the Base DataType is used.

Table A.6 – DataTypes and Mapping
OPC UA Data type (In UA Server)Variant Data Type (In DA server)
Int16VT_I2
Int32VT_I4
FloatVT_R4
DoubleVT_R8
DecimalVT_DECIMAL
StringVT_BSTR
BooleanVT_BOOL
ByteVT_UI1
SByteVT_I1
UInt16VT_UI2
UInt32VT_UI4
Int64VT_I8
UInt64VT_UI8
GuidVT_BSTR
DateTimeVT_DATE
NodeIdVT_BSTR
XmlElementVT_BSTR
ExpandedNodeIdVT_BSTR
QualifiedNameVT_BSTR
LocalizedTextVT_BSTR
StatusCodeVT_UI4
ExtensionObjectArray of VT_UI1
Array of above OPC UA typesArray of corresponding Variant type