6.6 HPDC Alarms and Warnings
This building block provides information about active alarms and warnings of an HPDCDeviceItem. It has been defined instead of directly using the alarm model in OPC 10000-9 as some PLCs do not support the extensive state machine model of the OPC UA Alarms and Conditions defined in 10000-9. This simpler approach allows implementation of a standard interface throughout the HPDC industry.
6.6.1 Concept
An alarm or warning is defined as 'active', as long as it is in effect on a device. Active alarms and warnings are provided in slots. The number of slots for active alarms and the number of slots for warnings are not limited, are device and manufacturer specific and shall be constant during runtime of the device. At least one slot for active alarms and at least one slot for active warnings shall be provided.
Each slot contains a set of variables for a single active alarm or a single active warning. As long as an alarm (or a warning) is active in the device, it shall remain in the same slot.
If the device has less active alarms (or warnings) than available slots and as soon as an alarm (or a warning) is no longer active in the device, the unused slots shall be filled with the default values defined later in the alarm (or warning) information set.
The main contextual difference between alarms and warnings is the severity of the event occurrence.
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.
| Attribute | Value | ||
| BrowseName | HpdcAlarms | ||
| NodeClass | Object | ||
| Node Class | BrowseName | DataType | Other |
|---|---|---|---|
| Variable | HpdcAlarmSlotQuantity | 0:UInt16 | M, RO |
| Variable | HpdcAlarmSlotsOverflow | 0:Boolean | M, RO |
| Object | HpdcAlarmSlot_1 | - | M, RO |
| Object | <HpdcAlarmSlot_N> | - | OP, RO |
| Conformance Units | |||
|---|---|---|---|
| OPC 40350-1 Alarms Basic | |||
| OPC 40350-1 Alarms Advanced |

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.
| Attribute | Value | ||
| BrowseName | HpdcAlarmSlot | ||
| NodeClass | Object | ||
| Node Class | BrowseName | DataType | Other |
|---|---|---|---|
| Variable | AlarmId | 0:String | M, RO |
| Variable | AlarmTimestamp | 0:String | M, RO |
| Variable | AlarmSeverity | 0:String | M, RO |
| Variable | AlarmTextEng | 0:String | M, RO |
| Variable | AlarmTextLocalized | 0:String | O, 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
HpdcAlarmSlotQuantity = 8 | ||
HpdcAlarmSlotsOverflow = 'false' |
| Slot | Variables | Note |
|---|---|---|
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.
| Timestamp | Explanation |
| 2023-10-31T14:00:30 | 14:00:30 in local time on October 31st, 2023 |
| 2023-08-31T00:00:00.150 | 00:00:00 and 150 ms in local time on August 31st, 2023 |
| 2023-08-02T14:00:30+00:00 | 14:00:30 in local time on August 2nd 2023, in the UTC time zone |
| 0951-08-02T14:00:30+05:00 | 14: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:30 | 04: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:30 | 04:00:09 and 30 ms local time on October 31st, 2023, in the time zone -08:30 in relation to UTC (West of UTC) |
6.6.3 HpdcWarnings Object
Warnings are events which signal potential problems but do not stop the production. A warning can lead to a device alarm in the future which can then stop the production.
| Attribute | Value | ||
| BrowseName | HpdcWarnings | ||
| NodeClass | Object | ||
| Node Class | BrowseName | DataType | Other |
|---|---|---|---|
| Variable | HpdcWarningSlotQuantity | 0:UInt16 | M, RO |
| Variable | HpdcWarningSlotsOverflow | 0:Boolean | M, RO |
| Object | HpdcWarningSlot_1 | - | M, RO |
| Object | <HpdcWarningSlot_N> | - | OP, RO |
| Conformance Units | |||
|---|---|---|---|
| OPC 40350-1 Warnings Basic | |||
| OPC 40350-1 Warnings Advanced |

HpdcWarningSlotQuantity is the device and manufacturer specific quantity of available warning slots in the device and should simplifiy the parsing of the warning slots by the client. The number of slots shall be sufficient to contain as many active warnings as might exist simultaneously at any time.
HpdcWarningSlotsOverflow shall be set to 'true' as long as the device has more active warnings than available slots. The active warnings in the slots should remain, so that new upcoming active warnings are not represented in the warning slots if they all are already filled. If in this situation a slot is freed, the remaining active warning with highest severity and oldest time stamp should be filled in this free slot.
HpdcWarningSlot_1 is a mandatory object that contains the variables defined in Table 25 for an HpdcWarningSlot. The suffix '1' denotes the index of this warning slot.
<HpdcWarningSlot_N> is an OptionalPlaceHolder which contains the set of variables of the warning slot 'N', where 'N' is the index and takes values from 2 to HpdcWarningSlotQuantity. 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 25 for HpdcWarningSlot.
| Attribute | Value | ||
| BrowseName | HpdcWarningSlot | ||
| NodeClass | Object | ||
| Node Class | BrowseName | DataType | Other |
|---|---|---|---|
| Variable | WarningId | 0:String | M, RO |
| Variable | WarningTimestamp | 0:String | M, RO |
| Variable | WarningSeverity | 0:String | M, RO |
| Variable | WarningTextEng | 0:String | M, RO |
| Variable | WarningTextLocalized | 0:String | O, RO |
| Conformance Units | |||
|---|---|---|---|
| OPC 40350-1 Warnings Basic | |||
| OPC 40350-1 Warnings Advanced |
WarningId is the ID of a warning which is present at the given time in the HPDCDevice. It is device-specific and unique for the device. The WarningId 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 HPDCDevice. The WarningId "0" is reserved and has to be used for signalling that no warning is active for the given warning information set.
WarningTimestamp is a variable presenting the time and date of the occurrence of the warning event. It is based on the ISO 8601-1:2019 extended version and the format shall conform with the AlarmTimestamp variable definition in section 6.6.2 of this document.
WarningSeverity refers to the level of seriousness of a warning event. In HPDC the severity range for warnings is defined between 334 and 666 with 666 as the highest severity for a warning. If a device does not support differentiation in the severity of warnings, it should accordingly transmit all warnings with a severity of 334.
WarningTextEng is a string variable containing text of the warning which is present at the given time in the HPDCDevice. The text is individually defined by the manufacturer of the HPDCDevice. The WarningTextEng shall be presented in English language. The WarningTextEng "no warning" is reserved and has to be used for signalling that no warning is active for the given warning information set.
WarningTextLocalized is a String variable containing text of the warning 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 WarningTextEng but localized according to the selected language at device level.
HpdcWarningSlotQuantity = 12 | ||
HpdcWarningSlotsOverflow = 'false' |
| Slot | Variables | Note |
|---|---|---|
HpdcWarningSlot_1 | WarningId = 0 WarningTimestamp = "" WarningSeverity = 334 WarningTextEng = "no warning" WarningTextLocalized = "Keine Warnung" | <Note: In this example, this slot was used some time ago for another warning that 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 warnings.> |
HpdcWarningSlot_2 | WarningId = 271 WarningTimestamp = 2023-10-29T11:35:27 WarningSeverity = 400 WarningTextEng = "Central grease unit: Low grease level" WarningTextLocalized = "Zentralschmierung: Schmiermittel-Füllstand niedrig" | - |
[ . . . ] | ||
| HpdcWarningSlot_12 | WarningId = 1375 WarningTimestamp = "2023-02-17T23:59:15" WarningSeverity = 334 WarningTextEng = "Download of process data to fileshare failed." WarningTextLocalized = "Prozessdaten-Download auf Netzlaufwerk schlug fehl." | In this example the maximum number of slots of this specific device from this specific manufacturer is "12". |