6 Weihenstephan Standards Information Model ToC Previous Next

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

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
Alarms WSAlarmType   UNSIGNED32
Batch and article tracing WSBaseDataVariableType String STRING16
Batch and article tracing WSAnalogUnitType UInt32 UNSIGNED32
Batch and article tracing WSAnalogUnitType Float REAL
Counters WSAnalogUnitType UInt32 UNSIGNED32
Counters WSBaseDataVariableType Number Arbitrary
Measured values WSAnalogUnitType Float REAL
Operating modes WSBaseDataVariableType WSOperatingStateEnumerationType HEX32 or UNSIGNED32
Operating states WSBaseStateMachineType   HEX32 or UNSIGNED32
Parameters WSBaseDataVariableType LocalizedText UNSIGNED32
Parameters WSBaseDataVariableType UInt32 UNSIGNED32
Parameters WSAnalogUnitType Float REAL
Parameters WSBaseDataVariableType String STRING16
Parameters WSAnalogUnitType UInt32 UNSIGNED32
Programs WSBaseDataVariableType WSProgramEnumerationType HEX32 or UNSIGNED32
Programs WSBaseDataVariableType LocalizedText UNSIGNED32
Warnings WSWarningType   UNSIGNED32

Previous Next