Skip to main content

Alarms

An alarm tells an operator that a tag crossed a limit. MakeIntelligent follows the ISA-18.2 life cycle: an alarm is raised, acknowledged, and returns to normal, and every step is written to a journal. The Site Runtime evaluates the limits next to the data, so alarms keep working when the Console is down.

Alarms page, Active tab, with a high-pressure alarm on the compressor
Alarms page, Active tab, with a high-pressure alarm on the compressor

How it works​

  1. You create an alarm definition for a tag: a kind (HI, HIHI, LO, LOLO), a limit, an optional deadband, a priority and a message.
  2. The Console sends the definition to the Site Runtimes.
  3. The runtime checks every new sample of the tag. Samples with bad quality are ignored, so a broken sensor does not raise or clear an alarm.
  4. When the condition becomes true, the alarm goes through the state machine below.

State machine​

StateMeaning
NormalThe condition is false
ActiveUnackThe condition is true and nobody acknowledged it
ActiveAckThe condition is true and an operator acknowledged it
RTNUnackThe condition went away (return to normal) but nobody acknowledged the alarm yet
ShelvedAn operator hid the alarm for a while
OutOfServiceThe definition is disabled

Events: activate, return, ack, shelve, unshelve, disable, enable and initial. While an alarm is Shelved or OutOfService, activations and returns are ignored.

The event initial is used after a restart. If the condition was already true when the runtime started, the alarm is listed as active and acknowledged, marked "already active before the upgrade, start unknown". Nobody is told again about a condition that was there before.

Alarm kinds​

KindCondition is true whenTypical use
HIvalue ≥ limitHigh warning
HIHIvalue ≥ limitHigh-high, trip level
LOvalue ≤ limitLow warning
LOLOvalue ≤ limitLow-low, trip level

Only these four kinds can be created. The server rejects others. The two high kinds and the two low kinds are evaluated the same way; the difference is the name and the limit you give. A tag normally has an HI and an HIHI definition with two limits.

Deadband​

The deadband stops an alarm from chattering when the value hovers around the limit. It applies only when the alarm returns to normal.

  • An HI or HIHI alarm activates at value >= limit. Once active, it stays active while value >= limit - deadband and clears when the value falls below that.
  • A LO or LOLO alarm activates at value <= limit. Once active, it stays active while value <= limit + deadband.

Worked example: Compressor pressure​

Definition: tag Compressor/Pressure (bar), kind HI, limit 8.0, deadband 0.2, priority 2 (High).

TimePressure (bar)What happens
10:007.6Normal
10:018.08.0 >= 8.0: activate. State ActiveUnack
10:027.9Still above the clear level of 7.8. The alarm stays active
10:038.1Still active. No new alarm
10:047.85Still active (7.85 is not below 7.8)
10:057.7Below 7.8: return. State RTNUnack (if nobody acknowledged) or Normal (if an operator had acknowledged)

Without a deadband, the values 7.9 and 8.0 in the table would have switched the alarm on and off at every sample. With 0.2 bar it raises once.

Priority​

ValueNameDefault
1Critical
2High
3MediumYes
4Low

The Active list is sorted by priority, then by age (oldest first).

Create a definition​

Alarms, Definitions tab: HI, LO and HIHI definitions of the demo plant
Alarms, Definitions tab: HI, LO and HIHI definitions of the demo plant

Creating definitions needs an engineer or administrator role. The Definitions tab shows the hint "Engineer or admin can create definitions that are sent to the site runtimes."

  1. Open Monitoring → Alarms and select the Definitions tab.
  2. In Tag ID pick the tag with the picker Select a tag, or type the id.
  3. Optionally fill Path.
  4. Choose Kind: HI, HIHI, LO or LOLO.
  5. Enter Limit, for example 8.0.
  6. Enter Deadband (zero or more; optional), for example 0.2.
  7. Choose Priority. The default is 3 (Medium).
  8. Write the Message, for example Compressor pressure high.
  9. Keep Enabled ticked.
  10. Click Create definition.
FieldMeaningDefaultNotes
Tag IDThe tag to watchNumeric tag
PathPlant path of the tagFrom the last sampleOptional
KindHI, HIHI, LO, LOLO
LimitThe thresholdIn the unit of the tag
DeadbandClear marginnoneZero or more
Priority1 to 43
MessageText shown in lists and the journal
EnabledOff puts the alarm out of serviceon

The three tabs​

The page title is Alarms with the kicker ISA-18.2. The counter Showing: N tells how many rows match. The lists show the runtime selected in the top bar.

TabColumns
ActivePriority, State, Kind, Tag, Message, Since, and the buttons Acknowledge and Shelve
JournalWhen, Priority, Event, From → To, Tag, Message, Actor
DefinitionsKind, Tag ID, Limit, Priority, Enabled, Message

The Active list holds the states ActiveUnack, ActiveAck and RTNUnack. Shelved alarms leave the list and appear in the journal.

note

The kinds deviation, digital, rate of change and bad quality exist in the data model but are not evaluated. Do not rely on them.

Acknowledge​

Roles operator and senior_operator (and administrators) may acknowledge and shelve. A viewer can only read.

  1. In the Active tab, click Acknowledge on the row.
  2. In the dialog Acknowledge alarm, write an optional Comment (a note for the audit trail).
  3. Click Acknowledge.

The Console forwards the request to the online Site Runtime. State ActiveUnack becomes ActiveAck. State RTNUnack becomes Normal.

Shelve​

Shelving hides an alarm that is a nuisance, for a limited time.

  1. Click Shelve on the row.
  2. In the dialog Shelve alarm, write a Comment.
  3. Set Shelve duration (minutes). The default is 60.
  4. Confirm.

After the time ends the alarm returns to Normal. If the condition is still true, the next sample raises it again.

caution

The form accepts 1 to 10,080 minutes, but the Site Runtime limits the duration to 24 hours (1,440 minutes) and uses 1 hour when none is given. A longer value is cut to 24 hours.

Errors​

Message or statusCauseFix
404The alarm is not on any online runtimeCheck that the runtime is online
409The action is not allowed in the current state, for example acknowledging a Normal alarmRefresh the list
422 or 501: "Acknowledge and shelve are not available yet (no online runtime or capability missing)."No online runtimeBring the runtime online. See Runtimes

Journal​

The journal records every transition: who, when, from which state to which state, and the value that caused it. The Actor column names the person for acknowledge and shelve. Use it to answer "who acknowledged this, and when". The same data is stored in the historian and is readable with SQL as mii_data.alarms in mii Lite (see Historian).

Notifications​

Alerts are not process alarms

Settings → Alerts sends email and webhook messages about the health of the platform, not about ISA-18.2 process alarms. The four triggers are: Driver failed, Destination disconnected, Rules queue depth and Edge offline. A high compressor pressure does not send an email from here.

Settings, Alerts, with a webhook and the email settings
Settings, Alerts, with a webhook and the email settings

What you can configure:

  • Webhooks (Add webhook): Name, Webhook URL, Signing secret (blank keeps the existing one), Edge scope (default All edge nodes), Enabled, the triggers, and thresholds Driver failed after (min), Destination disconnected after (min), Rules queue depth, Dropped per minute and Cooldown (min). Buttons: Save webhook, Send test, Remove, Disable webhook.
  • Email (SMTP): Send email alerts, SMTP host, Port (1–65535), Username, Password, From, To (comma-separated), STARTTLS (port 587), Skip TLS verify. Buttons Send test email and Save email settings.

Email and webhooks fire on the same conditions.

To get process alarms out of the plant, use the alarm journal: read mii_data.alarms with SQL (Lite), query alarms through the MCP server or the public API, or build a dashboard with an alarm view. Sending a process alarm by email through a rule was not verified for this guide.

Alarm analysis report​

Alarm analysis is in Monitoring → Reports. It shows whether your alarm system is healthy.

  • Range: Last 24 hours, 7 days or 31 days. Buttons Refresh and CSV.
  • Summary tiles: Alarms, Different alarms, Chattering, Standing over 24 h.
  • A chart with alarms per hour, per 6 hours or per day.
  • Most frequent: the top ten alarms. Columns: Alarm, Priority, Times, Last.
  • Chattering: alarms with 3 or more activations within 1 minute. These are "often cured by a deadband". Extra columns: Most in one minute, Of these, chattering.
  • Standing now: conditions that are true right now, with the duration in For.

The CSV has the columns tag_id,path,alarm,priority,times,most_in_one_minute,chattering,last. The report reads up to 5,000 journal entries and tells you when it was cut. Time that an alarm was shelved or out of service is not counted. See Reports.

Limits and good practice​

  • Give every alarm a deadband. A deadband of 2 to 5 percent of the limit removes most chatter.
  • Use priority sparingly. If everything is Critical, nothing is.
  • Review the "Chattering" and "Standing over 24 h" tiles once a month.
  • Shelve for a short time and write a reason in the comment. The journal keeps it.
  • Alarm evaluation uses only good and uncertain samples. A tag that goes bad does not raise an alarm. Watch the device state for that.
  • Definitions are not part of the equipment template. Create them per tag.

Troubleshooting​

SymptomCauseFix
Definition created but no alarmTag value never reached the limit, or the runtime did not receive the definitionCheck the value in Trends and that the runtime is online
Alarm raises and clears every few secondsNo deadbandAdd a deadband and save
No Acknowledge buttonYour role cannot acknowledgeAsk for operator or senior operator
Alarm back after unshelveThe condition is still trueFix the cause, or shelve again
Many alarms after a runtime restartAlarms that were already true are listed as activeAcknowledge them; they carry the marker "start unknown"
Active list is empty but the tag is above the limitYou see another runtime (top bar), or the definition is disabledSelect the right runtime and tick Enabled