Alarm rules
A rule monitors a value against a lower or upper limit. If the value leaves the allowed range, the rule reports this: as an Alarm that must be confirmed, or as a Notice that informs you only once. You create rules on the "Notifications" page. You need the Administrator role for this.
Alarm or notice
| Alarm | Notice | |
|---|---|---|
| used for | faults that someone has to deal with | information, for example "stock low" |
| message | when the limit is violated, with repeats if you want | exactly once per violation |
| confirm | yes, under "Alarms" | no |
| all-clear | yes, when the value returns (e-mail can be switched off) | no |
| appears under "Open alarms" | yes, until someone confirms it | no, only in the history |
Both types send their message by e-mail to the recipients if a mail server is set up. A notice reports again only after the value has returned to the range and then violates the limit again.
Create a rule
- Open "Notifications" in the navigation and click New rule.
- Fill in the window:
| Field | Meaning |
|---|---|
| Rule type | "Alarm" or "Notice" |
| Value (connection / symbol) | the variable to monitor |
| Name | appears in the history and in the e-mail, for example "Press 3: oil temperature too high" |
| Lower limit, Upper limit | The range in between is OK. At least one limit must be set. |
| Hysteresis | margin for the return: the value only counts as OK again when it is this amount inside the limit. 0 = no hysteresis. |
| Minimum duration (seconds) | How long the limit must be violated without interruption before the rule reports. 0 = immediately. |
| Minimum interval | alarm only: how often the e-mail is repeated while the fault is present (see below) |
| Send all-clear | alarm only: e-mail when the value returns |
| Recipients | e-mail addresses, separated by semicolons (;). Empty = the global recipients from the settings. |
| Active | Only active rules monitor. To switch a rule off temporarily, clear the check box instead of deleting the rule. |
- Click Save.
The rule applies immediately. In the list, it shows its badge "Active" or "Inactive" and its type. Use Edit and Delete to change or remove it. The history of a deleted rule is kept.
Example: temperature
The oil temperature of a press should stay below 70 °C.
- Upper limit 70, lower limit empty
- Hysteresis 2: all-clear only below 68 °C, so that a value that hovers around 70 °C does not keep triggering alarm and all-clear
- Minimum duration 30: short peaks do not trigger an alarm
- Minimum interval "15 minutes": as long as the fault is present and nobody has confirmed it, a reminder comes every 15 minutes
If you set both limits, the hysteresis may be at most half the width between the lower and upper limit. PlantBeat checks this when you save.
Example: fault bit
For a yes/no value such as a fault bit, ON = 1 and OFF = 0. Set the upper limit to 0.5. The rule then reports as soon as the bit is ON. The window shows this hint itself when you select a yes/no value.
Repeat: the minimum interval
| Selection | Effect |
|---|---|
| On every threshold breach | exactly one e-mail per fault, no repeat |
| 1 minute, 5 minutes, 15 minutes, 1 hour | repeat at the selected interval while the fault is present |
| Custom | an interval of your own in seconds |
As soon as someone confirms the alarm, the repeats stop. The all-clear still comes if it is switched on.
How an alarm runs
- The value violates the limit. The minimum duration starts.
- After the minimum duration, the rule reports Alarm. An e-mail goes to the recipients, and the alarm appears under "Alarms" › "Open alarms".
- While the fault is present, repeats follow according to the minimum interval.
- When the value returns to the range by the hysteresis, the rule reports All-clear.
- The alarm stays under "Open alarms" until someone confirms it, even if it has already cleared by itself.
All messages of one fault, from the alarm through the repeats to the all-clear, belong together. You confirm the fault as a whole, not each individual e-mail. If a value jumps directly from above the upper limit to below the lower limit, this is a new fault with an alarm of its own.
If the connection to the PLC is lost, the rule freezes its state. So there is no false all-clear just because no more values arrive. The "Connections" page shows the failure of a connection, and on the PlantBeat Box the red LED does as well, see LEDs and button.
The event history
At the bottom of the "Notifications" page, the "Event history" shows the latest messages of all rules with time, type, rule, value and message.
| Type | Meaning |
|---|---|
| Alarm | An alarm rule has triggered. |
| Repeat | The fault is still present. |
| All-clear | The value has returned. |
| Ended | The fault was ended without the value returning, for example because the rule was changed. |
| Notice | A notice rule has reported. |
| Maintenance, Drift | messages from the "Maintenance" page |
| Certificate | messages about the certificate of a secured PLC |
| System message | messages from PlantBeat itself |
| Send failure | The e-mail could not be delivered. Check the mail server, see E-mail notification. |
You can confirm, filter and download the messages as CSV under "Alarms", see History and confirming.