OPC UA Data Types
OPC UA Data Types
CDP supports the following OPC UA variable and method argument data types with corresponding CDP best matching value types:
OPC UA data type | corresponding best matching CDP value type |
---|---|
Boolean | bool |
SByte | char |
Byte | unsigned char |
Int16 | short |
UInt16 | unsigned short |
Int32 | int |
Enum | int |
UInt32 | unsigned int |
StatusCode | unsigned int |
Int64 | int64_t |
UInt64 | uint64_t |
DateTime | uint64_t |
Float | float |
Double | double |
String | string (eg group of channels of different type) |
ByteString | string (eg group of channels of different type) |
XmlElement | string (eg group of channels of different type) |
Note: Any CDP value type can be used to access any of the abovementioned OPC UA data type - value will be automatically converted, whenever needed. However, to avoid value loss in conversion choose compatible and best matching CDP value type.
CDP also supports the OPC UA custom data types. For more information, see OPC UA Custom Data Types.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.