Trigger multiple alarms on a single variable

Issue

How can you trigger different alarms with different alarm texts depending on the value of a single variable?

Product Line

SmartStruxure Solution

Environment

SmartStruxure

Alarms

Cause

You need to trigger different alarms based on the value of a single variable. As an example, a variable coming from an APC Symmetra UPS will report various alarm states as a number from 1 to 7 in the same variable, and you need to differentiate the alarm text on each value.

Value Status Alarm text
1 unknown Module is in Unknown state from UPS
2 not installed Module not installed in UPS
3 Off OK Module not installed in UPS
4 On OK Module not okay in UPS
5 Off Fail Module off fail in UPS
6 On Fail Module on fail in UPS
7 Lost Communication Module lost comm. in UPS

Resolution

Here are two examples on how to do it

Example 1: 7 different alarms with different alarm texts monitoring the same point

Example 2: 1 alarm moitoring a point, and a script dynamically changing the alarm text