6.3 Used Types for WS DataPoints and general mapping to WS Protocol data types

Usually, WS DataPoints in the catgeories “measured values“ or “counter” are of the type definition WSAnalogUnitType (see chapter 8.1) and are either of the DataType Float or UInt32. The ObjectType WSBaseStateMachineType (see 7.5) is used in the category OperatingStates. Some WS DataPoints in the categories “Alarms” or “Warnings” are instances of the ObjectTypes WSAlarmType (see 7.3) or WSWarningType (see 7.4). The DataType WSOperatingModeEnumerationType (see 9.1) is used for WS DataPoints in the OperatingModes category, the WSProgramEnumerationType (see 9.2) is used for WS DataPoints in the Programs category, respectively. Members of the WS Industrial User Group can define additional vendor-specific data points and machine profiles in addition to the WS DataPoints and integrate them into the WS information model.

A general mapping from WS Protocol data types to WS OPC UA TypeDefinition and DataTypes are listed in Table 13.

Table 13 – General mapping from WS Protocol data types to WS OPC UA TypeDefinition and DataTypes
WS Category WS OPC UA TypeDefinition WS OPC UA DataType WS Protocol data type
AlarmsWSAlarmTypeUNSIGNED32
Batch and article tracingWSBaseDataVariableTypeStringSTRING16
Batch and article tracingWSAnalogUnitTypeUInt32UNSIGNED32
Batch and article tracingWSAnalogUnitTypeFloatREAL
CountersWSAnalogUnitTypeUInt32UNSIGNED32
CountersWSBaseDataVariableTypeNumberArbitrary
Measured valuesWSAnalogUnitTypeFloatREAL
Operating modesWSBaseDataVariableTypeWSOperatingStateEnumerationTypeHEX32 or UNSIGNED32
Operating statesWSBaseStateMachineTypeHEX32 or UNSIGNED32
ParametersWSBaseDataVariableTypeLocalizedTextUNSIGNED32
ParametersWSBaseDataVariableTypeUInt32UNSIGNED32
ParametersWSAnalogUnitTypeFloatREAL
ParametersWSBaseDataVariableTypeStringSTRING16
ParametersWSAnalogUnitTypeUInt32UNSIGNED32
ProgramsWSBaseDataVariableTypeWSProgramEnumerationTypeHEX32 or UNSIGNED32
ProgramsWSBaseDataVariableTypeLocalizedTextUNSIGNED32
WarningsWSWarningTypeUNSIGNED32