6 PackML Data Representation Model ToC Previous Next

6.8 Alarms ToC Previous Next

6.8.2 Alarm Tags ToC Previous Next

6.8.2.1 Overview ToC

The following VariableType is used to report alarms in the PackML unit. In addition, the data is also available as a structured datatype, which is much like an event.

6.8.2.2 PackMLAlarmVariableType ToC

The PackMLAlarmVariableType provides the PackML tag alarm structure as individual variables as well as the structure. It is defined in Table 64.

Table 64 – PackMLAlarmVariableType definition

Attribute Value
BrowseName PackMLAlarmVariableType
IsAbstract False
ValueRank Scalar
DataType PackMLAlarmDataType

Subtype of the BaseDataVariableType defined in.

References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasComponent Variable ID Int32 BaseDataVariable Mandatory
HasComponent Variable Value Int32 BaseDataVariable Mandatory
HasComponent Variable Message String BaseDataVariable Mandatory
HasComponent Variable Category Int32 BaseDataVariable Mandatory
HasComponent Variable DateTime UtcTime BaseDataVariable Mandatory
HasComponent Variable AckDateTime UtcTime BaseDataVariable Mandatory
HasComponent Variable Trigger Boolean BaseDataVariable Mandatory

6.8.2.3 PackMLAlarmDataType ToC Model

The PackMLAlarmDataType provides the PackML tag alarm structure. It is formally defined in Table 65. This DataType also has a corresponding VariableType (see 6.8.2.2).

Table 65 – PackMLAlarmDataType Structure

Name Type Description
PackMLAlarmDataType Structure  
   ID Int32 A unique number assigned to each type of alarm, stop or warning.
   Value Int32 An alarm, stop or warning message number associated to the ID to allow for user specific detail or to break down the Alarm.ID to greater detail
   Message String The actual text of the alarm, stop or warning for those machines capable of providing string information
   Category Int32 A user defined value which indicates what type of alarm, stop or warning has occurred. E.g. electrical, mechanical, process limit, …
               DateTime UtcTime The date and time that the alarm, stop or warning occurred
               AckDateTime UtcTime The date and time that the alarm, stop or warning was Acknowledged,
               Trigger Boolean This variable is true when the alarm is active

Previous Next