BT San Technology

22 June 2026

Alarm Management in SCADA: Cutting Needless Alarms Without Missing What Matters

28 min read · Smart factory

Illustration: an alarm list in a control room, one alarm expanded into three steps to take
AI-generated illustration

The SCADA screen is red from top to bottom. Alarms sound all shift long. Operators keep pressing acknowledge without reading the message. When a real event happens, the important alarm is buried among sounds nobody needs to act on. You cannot fix this by feel. First measure how often alarms sound, from which tags, and in which periods. Then decide one tag at a time.

This article builds an alarm journal analyzer in TypeScript that Node 24 runs directly, with nothing to install. It computes the metrics that ISA-18.2 and EEMUA 191 guidance commonly uses: alarms per hour, alarm flood periods, problem tags, chattering alarms, stale alarms and the priority split. Then it simulates an analog signal that swings around a limit and shows how much a deadband and an on-delay cut the alarm count. All data is generated for the example and is not from any plant. A manager can read the explanations and tables and get the picture. An engineer can run the code and follow along.

The real problem: so many alarms that people stop reading

An alarm is worth something only if the person who sees it knows what to do and has time to do it. If one shift has hundreds of alarms, most of them come from a jittery sensor or are knock-on effects of a single cause. People learn to acknowledge without reading. The problem hides in the average, because a daily average may look fine even when dozens of alarms arrived in the 20 minutes after a machine tripped.

Consider three hypothetical situations. None is a BT San customer project.

  • Packaging plant: a coolant pump trips. Downstream sensors raise dozens of alarms within a dozen or so minutes. The operator has to find that the pump is the root cause among all the alarms that follow from it.
  • Food plant: one temperature sensor has a loose wire. Its value swings across the limit every few seconds. The alarm sounds in bursts all night. People start muting the whole panel, including the sounds of other alarms.
  • Water treatment system: a low-level alarm on one tank has been stuck for two days because the sensor is broken. Nobody dares to disable it and nobody repairs it. Everyone has seen that red line all along, so nobody knows how they would notice if the level were really low.

The thresholds public documents mention, and the ones this example uses

ANSI/ISA-18.2 (developed further as IEC 62682) and the UK's EEMUA 191 guidance are the frameworks cited most often on this topic. The standards themselves are paid documents. The author could read only ISA articles and vendor websites that summarize these figures, so the figures cannot be checked against the standards directly. The numbers below are values that secondary sources cite, not text from the standards.

MetricWhat public sources stateWhat this example uses
Average alarms per operatorAbout 1 per 10 minutes (about 6 per hour) is considered well manageable, and about 2 per 10 minutes (about 12 per hour) is the maximum that is still manageableReports the average per hour and per 10 minutes, compared by eye, with no automatic pass or fail
Alarm floodMore than 10 new alarms in 10 minutes. One source says EEMUA 191 treats the flood as over when a 10-minute period has fewer than 5 new alarmsStarts when there are more than 10 in 10 minutes and ends below 5. Configurable in the code
Share of time in floodBelow about 1% of the total periodReports the percentage of 10-minute periods with more than 10 alarms
Top 10 most frequent tagsOne source gives a range of about 1 to 5% of all alarmsReports the actual share and does not use it as a pass or fail threshold
Chattering alarmsThe target is zero. The definition is something each plant must set itself. One source uses 3 or more times in 1 minute3 or more times for one tag within 60 seconds
Stale alarmsActive continuously for more than 24 hours. The target is fewer than 5 per day, while EEMUA is often cited as fewer than 10More than 24 hours
Priority distributionAbout 80% low, 15% medium, 5% high. The article that was read describes this as guidance, not a requirement, and other sources describe the split slightly differentlyUses 80/15/5 as the sample value for comparison
Parts of a basic alarmThe ISA InTech article says it consists of a setpoint plus an on-delay, an off-delay and/or a deadbandUses both the deadband and on/off-delay in the simulation
Shelving and suppression by designOne source separates three different things by who approves them: shelved (temporarily suppressed by the operator), suppressed by design (suppressed by designed logic) and out of service (removed by maintenance following procedure)The example gives suggestions as items in a worklist and does not apply them automatically
Summary of ISA articles and vendor websites read on 2026-11-21. The numbers are guidance cited by secondary sources, not law and not text from the standards. Each plant must set its own values in its alarm philosophy

These numbers are fine for discussion in a team. Do not use them as acceptance results without reading the edition of the standard the plant uses. Some sources cite numbers from older editions, and for some values, such as the flood end threshold, the author of the source article says the single official value cannot be confirmed.

Overview of the example

The folder examples/alarm-management-scada/ holds small files you can read in a few minutes. Each file does one job.

FileWhat it does
gen-log.tsGenerates alarm-journal.csv covering 48 hours with a fixed seed, with deliberately planted problems: a flood after a pump trip, a chattering tag, a stale alarm, alarms that follow each other, and a priority mix skewed toward high
alarm-journal.csvThe generated file: 699 event lines with the columns timestamp, tag, priority, state (ALM, ACK, RTN)
journal.tsReads the CSV and pairs ALM with ACK and RTN into one alarm occurrence
metrics.tsCounts per hour and per 10 minutes, flood periods, acknowledge time, priority split
findings.tsProblem tags, chattering, stale alarms, alarms that follow each other, and the review worklist
deadband.tsSimulates a signal around a limit and counts alarms with a deadband and delay
demo.tsReads the CSV and prints a 10-section report
alarms.test.tsTests the logic that is easy to get wrong, with 6 node:test cases
output.txtThe actual output of node demo.ts, run on 2026-11-21

Run it yourself with node demo.ts and node --test alarms.test.ts in that folder. Use Node 22.6 or later (the author ran 24.21). No npm install is needed and no network is used. All data is hypothetical. The tag names and values do not match any plant.

Step 1: read the journal and pair events into alarm occurrences

An alarm journal exported from SCADA is mostly event lines: the alarm starts (ALM), the operator acknowledges (ACK), and the alarm returns to normal (RTN). Almost every metric counts alarm occurrences, not lines, so the events must be paired first. The example always re-sorts by time before pairing, because the clocks of different stations can make the order in the file differ from the real order. One ACK acknowledges every unacknowledged occurrence of that tag, and a repeated ALM while the alarm is still active is counted as an abnormal event (orphan) instead of a new alarm.

journal.ts · lines 20–41
export function buildActivations(events: JournalEvent[]): { activations: Activation[]; orphans: number } {
  const activations: Activation[] = [];
  const open = new Map<string, Activation>(); // tag -> activation still in alarm
  let orphans = 0; // RTN with no ALM, or ALM while already active
  for (const e of events) {
    if (e.state === "ALM") {
      if (open.has(e.tag)) { orphans++; continue; }
      const a: Activation = { tag: e.tag, priority: e.priority, start: e.t, ack: null, rtn: null };
      activations.push(a);
      open.set(e.tag, a);
    } else if (e.state === "RTN") {
      const a = open.get(e.tag);
      if (!a) { orphans++; continue; }
      a.rtn = e.t;
      open.delete(e.tag);
    } else {
      // one ACK acknowledges everything of that tag not yet acknowledged (as an operator would see it)
      for (const a of activations) if (a.tag === e.tag && a.ack === null && a.start <= e.t) a.ack = e.t;
    }
  }
  return { activations, orphans };
}
journal.ts pairs events into alarm occurrences and counts the events that do not fit

Step 2: find the alarm flood periods

Counting in fixed 10-minute buckets gives the percentage of periods over the threshold, but it splits a flood that straddles two buckets. So the example uses a 10-minute sliding window that moves every minute. An episode starts when there are more than 10 in 10 minutes and ends when the count falls below 5. You get the start time, the end time, the peak value in the window and the number of alarms in the episode.

metrics.ts · lines 18–33
// Flood: starts when more than `startAbove` alarms fall in the last 10 min, ends when fewer than `endBelow` do.
// Evaluated every minute (simplified: 1-min step is enough for a report, not for real-time use).
export function floods(acts: Activation[], t0: number, t1: number, startAbove = 10, endBelow = 5): Flood[] {
  const starts = acts.map((a) => a.start).sort((a, b) => a - b);
  const out: Flood[] = [];
  let cur: Flood | null = null;
  for (let t = t0; t <= t1; t += MIN) {
    const c = starts.filter((s) => s > t - 10 * MIN && s <= t).length;
    if (!cur && c > startAbove) cur = { start: starts.find((x) => x > t - 10 * MIN) as number, end: t, peak: c, alarms: 0 };
    else if (cur && c < endBelow) { cur.end = t; out.push(cur); cur = null; }
    else if (cur) cur.peak = Math.max(cur.peak, c);
  }
  if (cur) { cur.end = t1; out.push(cur); }
  for (const f of out) f.alarms = starts.filter((s) => s >= f.start && s <= f.end).length;
  return out;
}
metrics.ts detects floods with a sliding window and separate start and end thresholds

The start and end thresholds are separate on purpose. With a single threshold, a count that swings around 10 would be split into many small episodes. That is the same problem as a chattering alarm, but inside the report itself.

Step 3: find chattering alarms

A chattering tag is one that occurs at least 3 times within a 60-second window. The function sorts the times of one tag and slides over them in groups of 3 consecutive occurrences. If a group fits inside the window, it marks every occurrence in the group. The result is the number of occurrences that fall in chattering periods, not a count of duplicate detections. The same function is used in the deadband simulation, so the before and after numbers are counted with one definition.

findings.ts · lines 16–25
// Chattering: `n` or more activations of one tag inside `windowSec` seconds.
// Returns, per tag, how many activations fall inside such a window.
export function chattering(times: number[], n = 3, windowSec = 60): number {
  const t = [...times].sort((a, b) => a - b);
  const hit = new Set<number>();
  for (let i = 0; i + n - 1 < t.length; i++) {
    if (t[i + n - 1] - t[i] <= windowSec * 1000) for (let j = i; j <= i + n - 1; j++) hit.add(j);
  }
  return hit.size;
}
findings.ts counts the occurrences that fall in chattering periods

Step 4: stale alarms, problem tags and alarms that follow each other

A stale alarm is measured by how long it has been active. If there is no RTN yet, it is measured up to the end of the log. The top 10 problem tags are the tags that sound most often, with their share of all alarms. Alarms that follow each other are a tag B that occurs within 5 seconds after a tag A, repeatedly. This suggests that B is a consequence of A. B is often a candidate for suppression by design, which needs a decision by the process engineer, not by the code.

findings.ts · lines 32–37
// Stale: active longer than `hours` (an activation with no RTN is measured up to the end of the log).
export function stale(acts: Activation[], logEnd: number, hours = 24) {
  return acts
    .map((a) => ({ tag: a.tag, since: a.start, hours: ((a.rtn ?? logEnd) - a.start) / 3_600_000, returned: a.rtn !== null }))
    .filter((s) => s.hours > hours);
}
findings.ts checks for alarms stale beyond any number of hours, starting at 24

The worklist function combines everything into an ordered list: stale alarms first, then chattering, then alarms that follow each other, then problem tags that are not yet on the list. Each line has a reason and a suggestion. The suggestions are a starting point for discussion in a rationalisation meeting, not orders.

Step 5: how much a deadband and an on-delay reduce alarms

An analog value near its limit crosses the line back and forth with the noise. Every crossing is one alarm. A deadband fixes this by letting the alarm return to normal only when the value drops below the limit by an extra margin. An on-delay requires the value to stay above the line continuously for a set number of seconds before the alarm is raised, and an off-delay does the same when returning to normal. The example function counts the alarm occurrences for one hour of a signal sampled once per second.

deadband.ts · lines 13–29
// Returns the sample indices where an alarm becomes active.
export function activations(pv: number[], o: Opts): number[] {
  const out: number[] = [];
  let active = false, run = 0;
  for (let i = 0; i < pv.length; i++) {
    const inAlarm = pv[i] > o.limit;
    const cleared = pv[i] <= o.limit - o.deadband; // deadband only applies when leaving the alarm
    if (!active) {
      run = inAlarm ? run + 1 : 0;
      if (run > o.onDelay) { active = true; run = 0; out.push(i); }
    } else {
      run = cleared ? run + 1 : 0;
      if (run > o.offDelay) { active = false; run = 0; }
    }
  }
  return out;
}
deadband.ts counts alarms from a signal against a limit, deadband and delay

The actual run: a report from a 48-hour journal

demo.ts reads alarm-journal.csv and prints a 10-section report. The last section builds a hypothetical signal with a small random generator and a fixed seed, so running it again gives the same numbers.

output.txt
== 1. load (one console, 48 h, all data made up) ==
events 699, activations 251, orphan events 0
avg per hour 5.2, avg per 10 min 0.87, busiest 10-min bin 41
10-min periods over 10 alarms: 2/288 = 0.7%

== 2. flood episodes (start >10 in 10 min, end <5) ==
03-02 14:20 -> 03-02 14:43 UTC  peak 41 per 10 min, 52 alarms

== 3. top-10 bad actors ==
TT-204.HI       55
PDT-402.HI      30
FT-118.LO       22
XA-801.DOOR     10
XA-802.DOOR     10
FT-311.LO        9
PT-310.LO        9
TT-701.HI        9
LI-102.HI        8
LS-702.HI        7
top-10 share of all alarms: 67.3%

== 4. chattering (>=3 activations of a tag in 60 s) ==
TT-204.HI      53 of 55 activations

== 5. standing alarms (> 24 h) ==
LI-101.LO since 03-02 05:00 UTC, 43.0 h, never returned

== 6. consequential pairs (second within 5 s of first, >=5 times) ==
PT-310.LO -> FT-311.LO  x8

== 7. priority distribution vs illustrative target ==
H: 45.8%   target about 5%
M: 39.8%   target about 15%
L: 14.3%   target about 80%

== 8. acknowledge time ==
acked 251, never acked 0, median 126 s, p90 328 s

== 9. rationalisation worklist ==
1. LI-101.LO | standing 43 h | find the cause; if it is a real condition move it to a status display, if not take it out of service via MOC
2. TT-204.HI | chattering 53/55 activations | add deadband and on-delay, check the sensor and wiring
3. PT-310.LO -> FT-311.LO | consequential x8 | suppress the second alarm by design while the first is active
4. PDT-402.HI | bad actor 30 activations | review limit and priority with operations
5. FT-118.LO | bad actor 22 activations | review limit and priority with operations

== 10. deadband and delay on a noisy value (1 h, limit 80, made-up signal) ==
raw (no deadband, no delay)    activations 469, in chatter 464
deadband 1.5                   activations 166, in chatter 160
on/off-delay 2 s               activations  42, in chatter  35
on/off-delay 5 s               activations   4, in chatter   0
deadband 1.5 + delay 5 s       activations   3, in chatter   0
on-delay 5 s means a real excursion is annunciated at least 5 s late
Actual output from 2026-11-21, run with node demo.ts (Node 24). All data is hypothetical

Reading the results one by one

  1. The average looks fine: 5.2 per hour and 0.87 per 10 minutes, which is below the figures public sources give. But 2 of 288 periods (0.7%) have more than 10 alarms in 10 minutes. The average hides the problem, so look at the flood periods separately.
  2. One flood, starting at 14:20 UTC on the first day and ending at 14:43, peaking at 41 alarms in 10 minutes, 52 alarms in total. This matches the pump trip planted in the data. The operator had to separate the root cause from more than 50 follow-on alarms in under half an hour.
  3. The top 10 problem tags together make up 67.3% of all alarms, far above the range one source gives, and the top tag TT-204.HI alone has 55 occurrences. These numbers come from data the author shaped to have problems, so they do not represent a real plant.
  4. TT-204.HI chatters in 53 of its 55 occurrences. It is the only tag that meets the definition.
  5. LI-101.LO has been stale for 43.0 hours and never returned to normal. AI-150.HI, stale for about 5 hours at the end of the log, is under the threshold and so does not appear.
  6. PT-310.LO is followed by FT-311.LO within 5 seconds 8 times. This is a candidate for suppressing the latter while the former is active.
  7. Priority is 45.8% high, 39.8% medium, 14.3% low, against the sample value of 5/15/80, which is inverted. This is a symptom of priority inflation: everything is set as important, so importance means nothing.
  8. Acknowledge time: median 126 seconds, p90 328 seconds, and no unacknowledged alarms. This says people respond, but not whether they read before pressing. Look at it together with the cause of the floods.
  9. In the signal simulation, the raw value produces 469 alarms in 1 hour. A deadband of 1.5 reduces that to 166. An on/off-delay of 2 seconds reduces it to 42. A delay of 5 seconds reduces it to 4, and using both reduces it to 3. These numbers come from a signal the author defined. Real values must come from the signals of the real machine. Also, a 5-second delay makes a real event be reported at least 5 seconds later, so ask the process whether that is acceptable.

Test suite

alarms.test.ts has 6 cases. Running node --test alarms.test.ts gives 6 passes. They test ALM, ACK and RTN pairing and the rejection of bad lines; the chattering boundary (3 occurrences in 60 seconds count, 3 occurrences in 61 seconds do not); the start and end of a flood; an alarm that is stale for exactly 24 hours not being counted; acknowledge time and alarms that follow each other; and a check that a deadband and delay only ever reduce the number of alarms. These are the boundary cases that are easiest to get wrong in the example.

Using it on a real system: what the example does not do

  • Journal export: each SCADA brand stores its alarm journal in a different database. For example, Ignition stores it in an Alarm Journal Profile tied to a database. You must convert the columns to timestamp, tag, priority, state, and check that the states the system gives can separate ACK from RTN completely.
  • Clocks: if the times from the operator station, the server and the PLC do not match, the order of alarms in the following-alarm pairs will be wrong. Have every machine sync time from one source, and know whose time the timestamp in the file is (PLC or server) and in which time zone.
  • Alarm philosophy: a document that states what counts as an alarm, what each priority level means, what this plant's flood, chattering and stale thresholds are, and who approves them. The numbers in this article are only a starting point for discussion.
  • Alarm-by-alarm review (rationalisation): a team with production, control and safety representatives reviews whether this alarm should exist, what the setting should be, what happens if nobody responds, and what the operator must do, then records the reasons. One source recommends repeating this every 3 to 5 years, or when the process changes a lot.
  • Change control (MOC): changing a limit, deadband, delay or priority changes the protection of the process. It needs a reason, an approver and a record of before and after. Operators should not edit it on the screen.
  • Shelving and suppression: shelving is the operator suppressing an alarm temporarily, for a set time, and it must be visible in the list. Suppression by design is suppression under conditions that were designed and approved in advance. Neither is a shortcut for alarms that have not been reviewed. The functions that exist differ by SCADA product, so check the system in use.
  • Operators: the people at the screen know first which alarms are annoying and which are important. Involve them from the step of choosing the work order, and test before changing the real process.
  • Safety: an alarm on the screen is not a safety interlock or a machine safety system. Those must be designed separately under safety standards, and safety-related alarms must not be reduced without the responsible person.

Hypothetical examples: applying it to three businesses

Manufacturing and packaging plant

The problem is usually a flood after a sudden machine stop. Start by checking whether the latest episode has a single root cause, then look at the alarms that follow each other. The result is a list of alarms to suppress based on the conditions of the stopped machine, for example a low-flow alarm while a pump is stopped as planned.

Food plant with cold rooms

Temperature sensors around a limit chatter easily. Try a deadband and delay that match how fast the temperature really changes, because a delay that is too long can delay the warning for the product, which touches the plant's own food safety requirements. Talk to the quality department before adjusting.

Water and utility systems

Distributed stations often have stale alarms because broken equipment is not repaired by anyone. The stale-alarm metric raises these as repair jobs, together with defining how the item is taken out of service during the repair and who approves it.

Common mistakes and a checklist

  • Measuring only the daily average and not looking at the flood periods.
  • Counting event lines instead of alarm occurrences, so ACK and RTN get counted as alarms.
  • Setting a deadband or delay so wide that a real event is reported later than the process can accept.
  • Turning off or shelving annoying alarms without review and without an approver.
  • Changing priorities to make the numbers look good without asking what happens if nobody responds.
  • Treating 80/15/5 or other thresholds as rules, when the sources that were read say they are guidance.
  • Not syncing clocks, then concluding which alarm is the root cause from a wrong order.
  • Changing everything at once, so you cannot tell what made it better or worse.
  1. Export the alarm journal for at least one to four weeks, including a period with a known incident, and keep the original file.
  2. Check that the states are complete (start, acknowledge, return to normal) and that the clocks of all machines match.
  3. Write or review the alarm philosophy: this plant's definitions of flood, chattering, stale and priority.
  4. Run the analyzer. Look at the flood periods first, then the problem tags.
  5. Set the work order: stale alarms, chattering, alarms that follow each other, then the top tags.
  6. Review one by one with operators and the process team. Decide: keep, change the setting, change the priority, suppress by design, or remove.
  7. Go through the MOC procedure and record before and after. Adjust one group at a time.
  8. Measure again after the change, and schedule reviews on a regular cycle.

Caution: this example is a learning tool on hypothetical data, not alarm management software. It does not claim to comply with ISA-18.2, IEC 62682 or EEMUA 191, and the thresholds cited come from secondary sources read on 2026-11-21. Reducing alarms that relate to the safety of people or machines must go through the person responsible for safety and the plant's change process.

References

  1. ISA InTech: Applying alarm management (alarm พื้นฐาน = ค่าตั้ง + on-delay/off-delay/deadband) (accessed 2026-11-21)
  2. Wikipedia: Alarm management (ชื่อและฉบับของ EEMUA 191) (accessed 2026-11-21)
  3. Sarom Global: Alarm flood, EEMUA 191 และ ISA-18.2 benchmarks (แหล่งรอง) (accessed 2026-11-21)
  4. IoT Digital Twin PLM: ISA-18.2 rationalization, alarm flood และ KPI targets (แหล่งรอง) (accessed 2026-11-21)
  5. Tagsight: What is ISA-18.2 (แหล่งรอง ใช้เรื่อง shelving, suppression, out of service) (accessed 2026-11-21)
  6. Inductive Automation Ignition 8.1: Alarming (สถานะ, acknowledge, journal) (accessed 2026-11-21)
  7. Inductive Automation Ignition 8.1: Configuring Alarms (Deadband, Active Delay, Clear Delay, Priority) (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer