Annex E (normative) OPC Binary Type Description System ToC Previous Next

E.3 Standard Type Descriptions ToC Previous Next

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 E.9.

Table E.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 AnISO/IEC/IEEE 60559:2011 : Information technology – Microprocessor Systems – Floating-Point arithmetic 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. This is the same as the WIN32 FILETIME type.
ByteString A sequence of bytes preceded by its length in bytes.
Guid A 128-bit structured type that represents a WIN32 GUID value.

Previous Next