Flexible SCADA Help
Logic and events

Alarms

Alarms per ISA-18.2: a condition on a variable, a priority, a message and guidance for the operator. The server watches the conditions itself, the operator acknowledges, shelves and takes alarms out of service, and the journal remembers everything.

A new alarm1
Condition and guidance
Alarm database1
The alarm is active12
For the operator

Alarm sections

The Alarms branch of the project tree (and the alarm bar in the header) opens four sections:

SectionWhat is there
Activealarms that need attention: acknowledgement, shelving, out of service
Journalall events: raised, acknowledged, cleared, shelved — with filters and export
Alarm databasethe project alarm descriptions: conditions, priorities, messages, rationalisation
Performancethe operator load per ISA-18.2: alarms per hour, chattering and stale ones
Active alarms.
Active alarms.
The alarm database.
The alarm database.

Alarm database: alarm fields

A new alarm — right-click a folder → Create → Alarm or + Alarm in the database. The database table can be edited right in the cells and pasted from Excel; Create by mask… makes alarms for many variables at once (*.HmiAlarmsDb.err*).

ParameterValuesMeaning
Condition
Variabletext The project variable the alarm watches.
KindHH — above the high-high limitH — above the limitL — below the limitLL — below the low-low limitdigital: on (≠ 0) · defaultdigital: off (= 0)equal to the limitnot equal to the limitThe condition (see the table of kinds below).
Limitnumber The threshold for HH, H, L, LL, = and ≠. Not needed for the digital kinds.
Deadbandnumber 0 · defaultThe alarm clears only when the value moves away from the limit by the deadband: H = 80, deadband 2 — it clears below 78. Removes chatter at the threshold.
On-delay, snumber 0 · defaultThe condition must hold for this many seconds — short spikes do not raise the alarm.
Off-delay, snumber 0 · defaultThe condition must be gone for this many seconds for the alarm to clear.
Notification
Nametext The alarm name; empty — by the variable (“SIM.P1.Fault”, “Tank.Level.HH”).
Priority1 — Critical2 — High3 — Medium · default4 — LowImportance (see the priority table); it defines the colour, the sign shape, the sound.
Areatext An area, a unit — a filter for the operator and in alarm tables.
Messagetext What the operator sees. Empty — the variable description.
Latching — stays after the condition clears until the operator resets itcheckbox off · defaultThe alarm does not clear by itself when the condition goes away: the operator has to reset it (protections, emergency stops).
Disabled in the database (design decision; the operator takes it out of service separately)checkbox off · defaultThe alarm is described but not active — a design decision (for example, the equipment is not installed yet).
Rationalization (ISA-18.2): operator guidance
Causetext Why the alarm could occur — a hint for the operator.
Consequence of not respondingtext What happens if nothing is done.
Operator actiontext What to do — the operator sees this by clicking the alarm.
Time to respond, minnumber How many minutes there are to respond (ISA-18.2 rationalisation).
Suppress while variable ≠ 0text e.g. e.g.: unit stoppedSuppression by condition: while this variable is non-zero (the unit is stopped), the alarm is not shown — “alarms by design”.
The alarm window.
The alarm window.

Condition kinds

KindShortAlarm when
HH — above the high-high limitHHvalue ≥ limit (usually above H)
H — above the limitHvalue ≥ limit
L — below the limitLvalue ≤ limit
LL — below the low-low limitLLvalue ≤ limit (usually below L)
digital: on (≠ 0)≠ 0the value is not zero — a fault, a tripped protection
digital: off (= 0)= 0the value is zero — power lost, no flow
equal to the limit=the value equals the limit — a state code
not equal to the limit≠the value differs from the limit — the wrong mode

Priorities

PriorityWhenSign (ISA-101)
1 — Criticala threat to people, equipment, process failure — immediatelya red square with 1
2 — Higha quick response is needed (minutes)an orange diamond with 2
3 — Mediuma response within the shift (the default)a yellow triangle with 3
4 — Lowfor information, scheduled maintenancea purple inverted triangle with 4

Every priority has its own shape — alarms are distinguishable without colour (colour blindness, monochrome screens). While the condition is present the sign is filled; once the condition is gone and the alarm still waits for acknowledgement — only the outline.

ISA-18.2 recommends: critical — under 5 %, high — about 15 %, medium — about 80 %. Performance shows when the balance is off.

Alarm states

StateWhat it meansWhat the operator does
Unacknowledgedthe condition is present, the operator has not seen it yetacknowledges — “seen”
Acknowledgedthe condition is present, the operator knowsremoves the cause
Cleared, unacknowledgedthe condition is gone but the operator has not seen itacknowledges
Cleared, awaiting resetlatching: the condition is gone, a reset is neededresets
Shelvedtemporarily shelved by the operator (with a time limit and a reason)it unshelves by itself on time
Suppressedsuppression by condition (“while the unit is stopped”)—
Out of servicethe equipment is under repair: the alarm is inactive until returnedreturns it to service

Actions on alarms

ActionRole permissionWhat happens
AcknowledgeAlarm acknowledgementa “seen” mark — into the journal with the operator name
Acknowledge allAlarm acknowledgementall visible at once
Shelve…Alarm shelvingfor a time (minutes) with a reason: when the time is up the alarm returns by itself and notifies if the condition is present
Take out of service…Alarm shelvinguntil returned manually, with a reason (repair)
Unshelve, Return to serviceAlarm shelvingend a shelving early or return an alarm to service
Silence—turn off the sound at this workstation until a new alarm

A click on an alarm shows its guidance: cause, consequence and action. A double-click (or Enter on the row, or the Show on the process display button) opens the window where the alarm’s object stands and highlights it.

Filtering the active alarms

Above the table is the filter row: state (All, Unacknowledged, Shelved, Out of service, Suppressed), Priority — “not lower than the chosen one”, Area, Object (the alarms of one object; for an array — of all its elements) and a search by name, message and object. Next to it — how many rows are shown out of how many; Clear filter brings them all back. Acknowledge shown acknowledges only what passed the filter — for example, all alarms of one area.

Showing an alarm on the process display

A double-click on an alarm — in the active list, in the journal, in the alarm strip at the bottom of the operator screen and in an alarm table placed in a window — opens the window where the alarm’s object is placed and highlights it with a frame and a caption: you see where on the diagram the fault happened. The place is found like this:

What is foundWhat opens
the alarm’s object stands in a windowthat window (for an operator — within their station), the object framed
a window has an element with the alarm’s variablethe window with that element
the alarm is defined on a PLC variable, and a window holds an object whose variable is bound to it (the pump’s Fault ← SIM.P1.Fault) — by its own binding or by the type templatethe window with that object, the object framed; if the object’s own screen is open — the element with this variable on it is highlighted
the object is a part of a unit that has its own screenthe unit’s screen, the part framed
the object is not placed anywherea message saying so; in the engineering environment — the object’s page
A double-click on a journal event: the window with the pump is open, the pump is framed in the priority colour with the alarm text.
A double-click on a journal event: the window with the pump is open, the pump is framed in the priority colour with the alarm text.

The highlight fades by itself in a few seconds or on a click. If the alarm’s variable is shown both by exact elements (a value, a lamp) and by a picture covering almost the whole window (a site plan with a detail bound to it), only the exact ones are framed. In the Console (alarms of all servers) a double-click still acknowledges.

Journal and performance

The alarm journal: every event with time and operator.
The alarm journal: every event with time and operator.
ISA-18.2 performance.
ISA-18.2 performance.

The journal shows the events of a period: the buttons “1 h”, “24 h”, “7 d”, “30 d”, “year” or your own “from” and “to” dates. Filters: Console (a station’s area of responsibility), Area, Object (the journal of one unit — it also opens by clicking the object in a row), Event (raised, acknowledged, cleared, shelved…), Priority and a search by alarm, user and text; Clear filter — all events again. The latest 500 events are shown, the next ones load when you scroll to the end (or with Show more); CSV exports everything that matched the filter — up to 200,000 rows. A double-click on an event shows its object on the process display.

Performance. The period — a day, 7 or 30 days, for all areas or one; Printable report — for a review meeting. The targets come from ISA-18.2 and ISA-TR18.2.5, per operator; alarms with notification are counted. Every indicator has a rating: “normal”, “at the limit” or “overload”.

IndicatorTargetWhat to do if it is bad
Now, per 10 minutes≈ 1; a flood — more than 10the same is in the _Sys.AlarmRate10m and _Sys.AlarmFlood variables for windows and programs
Average per 10 minutes≈ 1, limit ≈ 2look for sources in “10 most frequent”
Per hour≈ 6, limit ≈ 12
Per day≈ 150, limit ≈ 300
Most in any 10 minutesat most 10group related alarms, suppression by condition
Alarm floodsunder 1 % of the time (a flood — more than 10 alarms in 10 min, ends below 5)
10 most frequentshare of the load ≈ 1–5 %review the limits of the most frequent — usually the quickest way to reduce the load
Chattering3+ activations per minute — 0deadband and delays
Fleetingclear in under 2 s — 0an on-delay
Stale (in alarm > a day)under 5review the limit or take out of service
Shelved and out of service noweach with a reasonout of service — for review
Acknowledgementthe median from notification to acknowledgement

Type alarms

An object type has its own Type alarms on its variables ($Fault, $Level): every object gets its own. The limit, priority and disabling of a specific object are changed on the object page. See Objects and types.

Notifications

Alarms are sent by e-mail, Telegram and SMS: recipients, duty rosters, escalation, acknowledgement from Telegram. Set up in the admin panel — Administration → Notifications.