The WSWarningType provides two variables to inform about the current warning and is formally defined in Table 18.

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 18 – WSWarningType Definiton

Attribute

Value

BrowseName

WSWarningType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the WSBaseObjectType

0:HasComponent

Variable

WSWarningCode

UInt32

BaseDataVariableType

M

0:HasComponent

Variable

WSWarningMessage

LocalizedText

BaseDataVariableType

O

WSWarningCode 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 WSWarningCode variable is set to 0.

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

image021.png

Figure 14 – WSWarningType