The WSAlarmType provides two variables to inform about the current alarm and is formally defined in Table 17.

The WSAlarmCode can be used to pass an integer to the client and map it to a language-specific message. WSAlarmMessage contains the message as localizedText.

For the future it is planned to use OPC UA functionalities like Alarms and Conditions for this data point. As soon as this is available in the Weihenstephan Standards, this object definition will be obsolete.

Table 17 – WSAlarmType Definiton

Attribute

Value

BrowseName

WSAlarmType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the WSBaseObjectType

0:HasComponent

Variable

WSAlarmCode

UInt32

BaseDataVariableType

M

0:HasComponent

Variable

WSAlarmMessage

LocalizedText

BaseDataVariableType

O

WSAlarmCode shall be used to pass an integer to the client and map it to a language-specific message. If there ist no alarm, the value of the WSAlarmCode variable is set to 0.

WSAlarmMessage contains the message as localizedText. If there is no alarm, the value of the WSAlarmMessage variable is empty (empty string).

image020.png

Figure 13 – WSAlarmType