PLC alarm management answers two questions that are often treated separately but belong together: which conditions does the controller recognize as an alarm, and how does the responsible person find out in time? The first question is answered in the control program, the second in the HMI, the SCADA system or a notification system that forwards alarms by email, text message or push notification. If only one side works, alarm handling remains incomplete.

In many plants, alarms have grown over the years: every extension brought new messages, hardly any were ever removed. The result is long alarm lists in which the important things get lost, and on-call staff who are woken at night for issues that could have waited until morning. This guide describes how to build an alarm concept, how alarms reach the right people and how to verify alarm handling during commissioning.

Alarm, warning, message: keep the terms apart

Not every piece of information from the controller is an alarm. A proven principle is that an alarm requires a response from a person – within a certain time. Anything that requires no action is a message or an event and belongs in the log, not in the alarm list.

This distinction sounds trivial, but it is the most important decision in the entire concept. If “pump 2 running” is configured as an alarm, operators get used to clicking the alarm list away unread. If an impending overflow is only shown as a status message, nobody notices it in daily operation. A simple test for every planned message is: what should the person who sees it do? If there is no answer, it is not an alarm.

  • Alarm: a condition that requires action, such as a fault that stops the plant or a limit value that puts quality or equipment at risk
  • Warning: an early stage that will soon require action, for example a fill level approaching its limit or a filter that needs replacing
  • Message or event: information without a need for action, such as a change of operating mode, a batch start or an operator login – important for traceability, not for the alarm list

Define alarm classes and priorities

Alarms need a ranking. A small number of priority levels is common, typically three or four, based on how severe the consequences are and how quickly someone has to respond. More levels look more precise at first glance, but in daily operation hardly anyone distinguishes between them.

The classes should be consistent across all plants. If “priority 1” means a standstill on one machine and a maintenance reminder on the next, the classification loses its value. Define in a short alarm philosophy what each class means, how it is displayed in the HMI, whether it must be acknowledged and whether it is forwarded.

Every alarm needs a message text that someone without programming knowledge can work with: what happened, where, and what needs to be done? “Error 4711” helps nobody at night. “Station 3: gripper does not report end position – check part, move gripper back in manual mode” does. Stored remedy texts or references to the operating manual save follow-up questions. A complete alarm definition includes:

  • A unique identifier and plain-language text with location and cause
  • Priority or alarm class
  • Whether acknowledgment is required and how the alarm behaves when the cause disappears
  • Recommended action for operators or maintenance
  • Forwarding: yes or no, and to which group

Acknowledgment, reset and alarm history

An alarm has a life cycle: it comes in, is acknowledged and goes away once the cause has been removed. How these states interact should be defined for each alarm class. For important faults, it is common practice for the alarm to remain visible after the cause has gone until someone has acknowledged it. That way, no short fault goes unnoticed.

It is important to distinguish between acknowledging and resetting. Acknowledging means: I have seen the alarm. Resetting means: the plant may start again. Combining both in a single button press is convenient, but it can lead to a plant restarting even though nobody has checked the cause. Faults related to safety functions are subject to separate rules derived from the risk assessment anyway; they do not belong in general alarm handling.

A central alarm history with timestamps for coming, acknowledging and going is also helpful. It is the basis for any later analysis – and for answering the question of why a plant stood still during the night.

Avoid alarm floods

During a major fault, dozens of alarms often trigger at once: if compressed air fails, every cylinder, every valve and every station waiting for them reports a problem. The actual cause sits somewhere in the middle of the list. Exactly when quick action is needed, the alarm list becomes useless.

Measures in the control program are the most effective way to prevent alarm floods. Consequential alarms can be suppressed while a higher-level alarm is active. Alarms from a station that is being serviced or switched off are hidden – traceably, and with a visible indication that suppression is active. Chattering signals that come and go every second are calmed with delay times or hysteresis.

Regular reviews are just as important. An analysis of the alarm history quickly shows which alarms occur most often and which never lead to any action. These candidates are fixed technically, reclassified or removed. Good alarm handling is not a one-off project but part of maintenance.

  • First-out indication: mark the alarm that occurred first
  • Suppress consequential alarms while a main fault is active
  • Hide alarms from areas that are switched off or under maintenance – clearly marked
  • Delay and hysteresis for unstable signals
  • Analyze and clean up the most frequent alarms regularly

Notifying the responsible staff

The best alarm list is of little use if nobody is standing in front of the screen. For plants that run at night, at weekends or with few staff, alarms have to reach the responsible people. The first channel is usually the HMI at the machine or a higher-level SCADA system that displays alarms from several plants centrally. Beyond that, notification systems forward alarms by email, text message, push notification or voice call.

Technically, a notification system usually receives alarms via an interface such as OPC UA or MQTT, via the SCADA system or, in simple cases, via individual summary signals. The organization matters more than the technology: who is on call and when? Who is notified for which alarm class? And what happens if the first person does not respond?

An escalation chain has proven effective. The notification goes to the on-call person first; if it is not confirmed within a defined time, the next person or group is notified. Confirmations are logged so it is clear who took over the alarm. Not every alarm needs to be forwarded – the top priorities are usually enough, and the rest can wait for the next shift. If alarms are sent via mobile networks or the internet, IT security and data protection belong in the plan from the start.

  • On-call schedule with times, deputies and contact channels
  • Assignment: which alarm class and which plant area goes to which group
  • Confirmation by the recipient and escalation if nobody responds
  • Short, unambiguous texts that are readable on a smartphone
  • Monitoring of the notification path itself, for example via a regular heartbeat

Test alarm handling during commissioning

Alarms are the part of a control system that is invisible during normal operation. That is exactly why they are often only spot-checked during commissioning. A systematic test based on the alarm list is better: each alarm is triggered – as far as this can be done safely – and its text, priority and acknowledgment behavior are checked and ticked off.

The test also covers the path to the outside world. Does the text message arrive, and does it reach the person who is on call according to the schedule? Does escalation work if nobody confirms? What happens if the connection of the notification system is interrupted? These questions can only be answered on the real plant with the real recipients. Our guide to PLC commissioning describes how commissioning is structured as a whole.

After handover, the alarm list should be part of the documentation, with identifier, text, class and forwarding. If an alarm later occurs sporadically and the cause remains unclear, recording the signals involved helps – see our guide on how to record PLC signals.

  • Trigger every alarm, check text and priority
  • Test acknowledgment and reset separately
  • Deliberately provoke suppression of consequential alarms
  • Check forwarding and escalation with the real recipients
  • Simulate a failure of the notification path

Improving alarm handling in existing plants

Not every plant gets its alarm concept during initial design. More often, existing alarm handling needs to be cleaned up. The starting point is then an inventory: which alarms exist, how often do they occur, and which of them actually lead to an action? This shows what should be reclassified, combined or removed and where message texts need to be rewritten.

Changes to alarms are changes to the control program and should be prepared, backed up and tested accordingly. Our guide on how to extend an existing PLC program explains what matters. Arevano Engineering extends and modernizes existing control systems and connects plants to visualization, databases and higher-level systems.

FAQ

Good to know.

An alarm requires a response from a person within a certain time. A message provides information about a state or an event without anyone having to act. Applying this distinction consistently keeps the alarm list short and meaningful.

In practice, three or four levels are usually enough. More important than the number is that each level is clearly described and means the same on every plant – including display, acknowledgment requirement and forwarding.

Usually via a notification system that takes the alarms from the controller or the SCADA system, for example via OPC UA or MQTT, and forwards them by email, text message or push notification. This requires an on-call schedule, confirmation by the recipient and escalation if nobody responds.

Start by analyzing the alarm history: which alarms occur most frequently, and which never lead to any action? Then suppress consequential alarms, calm unstable signals and downgrade alarms that require no action to messages.
Next step

Time to rework your alarms?

Tell us about your plant, the controller in use and what bothers you about your current alarm handling. We usually get back to you within one business day and work out with you where changes are worthwhile.