6.6.2 HpdcAlarms Object

Alarms are events of higher severity which disrupt (or even stop) the production and need to be addressed by the operator of the device to reactivate it. 

Table 20 - HpdcAlarms Object Definition
AttributeValue
BrowseNameHpdcAlarms
NodeClassObject
Node ClassBrowseName DataTypeOther
VariableHpdcAlarmSlotQuantity0:UInt16M, RO
VariableHpdcAlarmSlotsOverflow0:BooleanM, RO
ObjectHpdcAlarmSlot_1-M, RO
Object<HpdcAlarmSlot_N>-OP, RO
Conformance Units
OPC 40350-1 Alarms Basic
OPC 40350-1 Alarms Advanced
Figure 5 - Overview of HpdcAlarms Object

HpdcAlarmSlotQuantity is the device and manufacturer specific quantity of available alarm slots in the device and should simplify the parsing of the alarm slots by the client. The number of slots shall be sufficient to contain as many active alarms as might exist simultaneously at any time. 

HpdcAlarmSlotsOverflow shall be set to 'true' as long as the device has more active alarms than available slots. The active alarms in the slots should remain, so that new upcoming active alarms are not represented in the alarm slots if they all are already filled. If in this situation a slot is freed, the remaining active alarm with highest severity and oldest time stamp should be filled in this free slot. 

HpdcAlarmSlot_1 is a mandatory object that contains the variables defined in Table 21 for an HpdcAlarmSlot. The suffix '1' denotes the index of this alarm slot.

<HpdcAlarmSlot_N> is an OptionalPlaceHolder which contains the set of variables of the alarm slot 'N', where 'N' is the index and takes values from 2 to HPDCAlarmSlotQuantity. A MandatoryPlaceHolder has intentionally not been specified here considering the compatibility of the PLC devices currently available in the market. It shall have the same structure and variables as defined in Table 21 for HpdcAlarmSlot.

Table 21 - HpdcAlarmSlot Definition
AttributeValue
BrowseNameHpdcAlarmSlot
NodeClassObject
Node ClassBrowseName DataTypeOther
VariableAlarmId0:StringM, RO
VariableAlarmTimestamp0:StringM, RO
VariableAlarmSeverity0:StringM, RO
VariableAlarmTextEng0:StringM, RO
VariableAlarmTextLocalized0:StringO, RO
Conformance Units
OPC 40350-1 Alarms Basic
OPC 40350-1 Alarms Advanced

AlarmId is the ID of an alarm which is present at the given time in the HPDCDevice. It is device-specific and unique for the device. The AlarmId is a string variable limited to 256 characters and contains an integer (e.g. "234") or alphanumeric string identifier ("LU-34-231") with or without an additional semantic coding. The semantic coding is individually defined by the manufacturer of the HPDC Device. The AlarmId "0" is reserved and has to be used for signalling that no alarm is active for the given alarm information set.

AlarmSeverity refers to the level of seriousness of an alarm event. In HPDC the severity range for alarms is defined between 667 and 1000 with 1000 as the highest severity. If a device does not support differentiation in the severity of alarms, it should accordingly transmit all alarms with a severity of 667. 

Note: The severity of events in general is categorized into levels "low", "medium", "high". A low-severity event indicates a minor issue that doesn't require immediate attention (e.g. a status information), whereas a medium-severe event represents a warning and high-severity event suggests a significant problem that demands urgent action (alarm).  

AlarmTextEng is a string variable containing text of the alarm which is present at the given time in the HPDCDevice. The text is individually defined by the manufacturer of the HPDCDevice. The AlarmTextEng shall be presented in English language. The AlarmTextEng "no alarm" is reserved and has to be used for signalling that no alarm is active for the given alarm information set.  

AlarmTextLocalized is a string variable containing text of the alarm which is present at the given time in the HPDCDevice. The text is individually defined by the manufacturer of the HPDCDevice. It should contain the same meaning as in AlarmTextEng but localized according to the selected language at device level

Table 22 - Examples for the variables in HpdcAlarms:

HpdcAlarmSlotQuantity = 8

HpdcAlarmSlotsOverflow = 'false'

SlotVariablesNote

HpdcAlarmSlot_1

AlarmId = 0

AlarmTimestamp = ""

AlarmSeverity = 667

AlarmTextEng = "no alarm"

AlarmTextLocalized = ""

In this example, this slot was used some time ago for another active alarm which in the meantime is no longer active in the device. Therefore this slot is empty while any other slot can have still valid content of active alarms.

HpdcAlarmSlot_2

AlarmId = 237

AlarmTimestamp = 2023-10-31T14:58:30

AlarmSeverity = 800

AlarmTextEng = "Motor protection switch of hydraulic pump has tripped"

AlarmTextLocalized = ""

-

HpdcAlarmSlot_3

AlarmId = 0

AlarmTimestamp = ""

AlarmSeverity = 667

AlarmTextEng = "no alarm"

AlarmTextLocalized = ""

-

[ . . . ]

HpdcAlarmSlot_8

AlarmId = 0

AlarmTimestamp = ""

AlarmSeverity = 667

AlarmTextEng = "no alarm"

AlarmTextLocalized = ""

In this example the maximum number of slots of this specific device from this specific manufacturer is "8".

AlarmTimestamp

This parameter represents an absolute date and time with its format based on the ISO 8601-1:2019 extended version.

This time stamp definition shall be a static information that will represent the occurrence time of an alarm or warning. It shall be represented as a 0:String value to be compatible with PLCs that have limited OPC UA compatibility.

Note: not to be confused with the data type 0:UtcTime defined in OPC 10000-3.

The date representation format is YYYY-MM-DD, with fixed number of digits that must be padded with leading zeros. Date values shall not be dropped. The time representation format is Thh:mm:ss, with fixed number of digits that must be padded with leading zeros. The hour, minute and second time values shall not be dropped.

Optionally time can also be defined in milliseconds, for which the format Thh:mm:ss.sss shall be used. Optionally the time zone can be defined by additions behind the time definition, where +hh:mm represents a time zone east of UTC, and -hh:mm represents a time zone west of UTC. The UTC time zone shall be indicated as +00:00. If the time zone is defined, the hour and time values in the time zone definition shall not be dropped. If the time zone definition is left out, the time will be interpreted as local time.

Table 23 - Timestamp Examples
TimestampExplanation
2023-10-31T14:00:3014:00:30 in local time on October 31st, 2023
2023-08-31T00:00:00.15000:00:00 and 150 ms in local time on August 31st, 2023
2023-08-02T14:00:30+00:0014:00:30 in local time on August 2nd 2023, in the UTC time zone
0951-08-02T14:00:30+05:0014:00:30 in local time on August 2nd, in the year 951, in the time zone +05:00 in relation to UTC (East of UTC)
2023-10-31T04:59:30-08:3004:59:30 local time on October 31st, 2023, in the time zone -08:30 in relation to UTC (West of UTC)
2023-10-31T04:00:09.030-08:3004:00:09 and 30 ms local time on October 31st, 2023, in the time zone -08:30 in relation to UTC (West of UTC)