The OPC Binary Type Description System defines a number of standard type descriptions that can be used to describe many common binary encodings using a StructuredType. The standard type descriptions are described in Table C.9.
Table C.9 – Standard Type descriptions
Type name |
Description |
Bit |
A single bit value. |
Boolean |
A two-state logical value represented as an 8-bit value. |
SByte |
An 8-bit signed integer. |
Byte |
An 8-bit unsigned integer. |
Int16 |
A 16-bit signed integer. |
UInt16 |
A 16-bit unsigned integer. |
Int32 |
A 32-bit signed integer. |
UInt32 |
A 32-bit unsigned integer. |
Int64 |
A 64-bit signed integer. |
UInt64 |
A 64-bit unsigned integer. |
Float |
An ISO/IEC/IEEE 60559:2011 single precision floating point value. |
Double |
An ISO/IEC/IEEE 60559:2011 double precision floating point value. |
Char |
An 8-bit UTF-8 character value. |
String |
A sequence of UTF-8 characters preceded by the number of UTF-8 Code Units (bytes). |
WideString |
A sequence of UTF-16 characters preceded by the number of UTF-16 Code Units. |
DateTime |
A 64-bit signed integer representing the number of 100 nanoseconds intervals since 1601-01-01 00:00:00. |
ByteString |
A sequence of bytes preceded by its length in bytes. |
Guid |
An ISO/IEC 11578:1996: Information technology — Open Systems Interconnection — Remote Procedure Call (RPC) UUID. |