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 |
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 OPC UA data type - value will be automatically converted, whenever possible. However, to avoid value loss in conversion choose compatible and best matching CDP value type.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.