12.2.7.2.2 Datatype mapping

The datatype mapping for parameter data is described in Table 70.

Table 70 – Mapping of simple data types
OPCFDT
Data typeData typeDescription
FloatFloat
DoubleDouble
ByteByte
Int32Int
Int64Long
UInt32UInt
UInt64ULong
DateTimeDateTime
DateTimeDateDate is represented as date at 0:00 a clock.
DurationTimeTime is expressed as duration since midnight.
DurationTimeSpanDuration is expressed in milliseconds, TimeSpan is expressed in terms of days, hours, minutes. For the conversion of large TimeSpan a loss of precision may occur.
StringString
Array of ByteBinaryByteArray
Array of BitBinaryBitArray
EnumerationEnumerator
BooleanBoolean
SByteSByte

In OPC UA array datatypes are represented by a combination of the properties datatype, value-rank and array-dimensions (see OPC OPC UA 10000-5, section 5.6.2).

In FDT array datatypes are represented with a dedicated ArrayDatatypeInfo datatype. This datatype has a member ArrayDatatypeInfo.ArrayDimensions, which specifies the length of each dimension of the array.

The mapping for array data types is defined as follows.