B.2 BMP data type mapping to OPC UA data types.

Table 59 shows references of standard data types and profile specific data types used by PROFIdrive (see [PDP], 5.2 and 5.3). The numeric identifier is the value of the first byte of the BMP parameter description “Identifier (ID)”.

If a conversion factor and an offset are to be applied for the display value (see [PDP], 6.2.1.3, Standardisation factor and Variable attribute), the OPC UA DataType shall always be 0:Float or 0:Double.

Table 59 – BMP data type to OPC UA data type mapping
BMP data typeData type numeric identifierOPC UA DataTypeReference to definition.
Boolean10:BooleanBoolean (see PN PROTOCOL)
Integer820:SByteInteger8 (see PN PROTOCOL)
Integer1630:Int16Integer16 (see PN PROTOCOL)
Integer3240:Int32Integer32 (see PN PROTOCOL)
Integer64550:Int64Integer64 (see PN PROTOCOL)
Unsigned850:ByteUnsigned8 (see PN PROTOCOL)
Unsigned1660:UInt16Unsigned16 (see PN PROTOCOL)
Unsigned3270:UInt32Unsigned32 (see PN PROTOCOL)
Unsigned64560:UInt64Unsigned64 (see PN PROTOCOL)
FloatingPoint80:FloatFloat32 (see PN PROTOCOL)
FloatingPoint64150:DoubleFloat64 (see PN PROTOCOL)
VisibleString90:StringVisibleString (see PN PROTOCOL)
OctetString100:ByteStringOctetString (see PN PROTOCOL)
UNICODEString390:NormalizedStringUNICODEString (see PN PROTOCOL)
TimeOfDay (with date indication)12GsdGenIoTimeDataTypeTimeOfDay with date indication (see PN PROTOCOL)
TimeDifference (do not use)13-TimeDifference (see PN PROTOCOL)
Date500:DateTimeBinary Date (see PN PROTOCOL)
TimeOfDay without date indication520:UInt32TimeOfDay without date indication (see PN PROTOCOL)
TimeDifference with date indication53GsdGenIoTimeDataTypeTimeDifference with date indication (see PN PROTOCOL)
TimeDifference without date indication540:UInt32Time Difference without date indication (see PN PROTOCOL)
N2 Normalized value (16 bit)1130:Int16[PDP] sec. 5.3.2 Table 3 and Table 4
N4 Normalized value (32 bit)1140:Int32[PDP] sec. 5.3.2 Table 3 and Table 4
V2 Bit sequence1150:Boolean[16][PDP] sec. 5.3.6 and Table 10
L2 Nibble1160:Boolean[16][PDP] sec. 5.3.7 and Table 11
R2 Reciprocal time constant1170:UInt16[PDP] sec. 5.3.10 and Table 14
T2 Time constant (16 bit)1180:UInt16[PDP] sec. 5.3.8 and Table 12
T4 Time constant (32 bit)1190:UInt32[PDP] sec. 5.3.8 and Table 12
D2 Time constant1200:UInt16[PDP] sec. 5.3.9 and Table 13
E2 Fixed point value (16 bit)1210:Int16[PDP] sec. 5.3.4, Table 7 and Table 8
C4 Fixed point value (32 bit)1220:Int32[PDP] sec. 5.3.5 and Table 9
X2 Normalized value, variable (16 bit)1230:Int16[PDP] sec. 5.3.3, Table 5 and Table 6
X4 Normalized value, variable (32 bit)1240:Int32[PDP] sec. 5.3.3, Table 5 and Table 6