8 OPC UA EventTypes

The ScaleEventType and the ScaleAlarmType both contain the NotificationId to identify the event or alarm. Annex C contains all events and alarms defined in this specification. If possible, scales must use these events/alarms. The NotificationId contains the properties EnumValue and ValueAsText (inherit from the MultiStateValueDiscreteType) which contain the value and a short 0:String of the available NotificationIds. This can be a subset of all NotificationIds descripted in Annex C. Additional NotificationIds can be defined in a vendor-specific way. The value of the EnumValue for vendor-specific NotificationIds must be greater than 5000. Each vendor can use an additional ID (vendor-specific NotificationId) to transmit the vendor-specific ID.

8.1 ScaleEventType Definition

8.1.1 Overview

The ScaleEventType is a subtype of the BaseEventType, which it extends with some Properties. It should be used for all Events that are relevant to the weighing technology.

Figure 65 - Overview ScaleEventType

8.1.2 ScaleEventType Definition

Table 139 - ScaleEventType Definition
Attribute Value
BrowseNameScaleEventType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the BaseEventType defined in OPC 10000-5
0:HasPropertyVariableAuxParameters0:String[]0:PropertyTypeOptional
0:HasPropertyVariableHelpSource0:String0:PropertyTypeOptional
0:HasComponentVariableNotificationCategory0:UIntegerMultiStateValueDiscreteTypeMandatory
0:HasComponentVariableNotificationId0:UIntegerMultiStateValueDiscreteTypeMandatory
0:HasComponentVariableVendorNotificationId0:StringBaseDataVariableTypeOptional

8.1.3 ScaleEventType Description

AuxParameters is an additional text of the event. In the text it is used for the placeholders in the message to the alarm.

HelpSource is a source for additional help information.

NotificationCategory provides the category of the notification. It is used to distinguish if the message is representing an internal event, an information, a dialogue message, an error, a warning, a state or an acknowledgement. Annex C contains all NotificationCategory defined in this specification.

NotificationId provides a unique identifier for the event. Annex C contains all IDs defined in this specification.

VendorNotificationId is a unique vendor-specific identifier for the event.

8.2 ScaleAlarmType Definition

8.2.1 Overview

The ScaleAlarmType is a subtype of the AlarmConditionType and extends it with some Properties. It should be used for all alarms relevant for the weighing technology.

Figure 66 - Overview ScaleAlarmType

8.2.2 ScaleAlarmType Definition

Table 140 - ScaleAlarmType Definition
Attribute Value
BrowseNameScaleAlarmType
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the AlarmConditionType defined in OPC 10000-9
0:HasPropertyVariableAuxParameters0:String[]0:PropertyTypeOptional
0:HasPropertyVariableHelpSource0:String0:PropertyTypeOptional
0:HasComponentVariableNotificationCategory0:UIntegerMultiStateValueDiscreteTypeMandatory
0:HasComponentVariableNotificationId0:UIntegerMultiStateValueDiscreteTypeMandatory
0:HasComponentVariableVendorNotificationId0:StringBaseDataVariableType Optional

8.2.3 ScaleAlarmType Description

AuxParameters is an additional text of the alarm. In the text it is used for the placeholders in the message to the alarm.

HelpSource is a source for additional help information.

NotificationCategory provides the category of the notification. It is used to distinguish if the message is representing an internal event, an information, a dialogue message, an error, a warning, a state or an acknowledgement. Annex D contains all options for NotificationCategory defined in this specification.

NotificationId provides a unique identifier for the alarm. Annex D contains all IDs defined in this specification.

VendorNotificationId is a unique vendor-specific identifier for the event.