Configuring Alarms for Numeric Shared Variables
- Updated2025-11-07
- 2 minute(s) read
You can configure alarming for network-published shared variables only. Enable network publishing for a shared variable before you configure alarming for this shared variable. Complete the following steps to configure alarms for numeric shared variables:
- Right-click a numeric shared variable in the Project Explorer window and select Properties from the shortcut menu to display the Shared Variable Properties dialog box.
- Select Alarming to display the Alarming page.
- On the Alarming page, place a checkmark in the Enable Alarming checkbox.
- In the Alarms section, place a checkmark in the appropriate cell of the Enabled column for the type of alarm that you want to enable.
- In the appropriate cell of the Name column, enter the name of the alarm.
-
If you enable a HI_HI, HI, LO, or LO_LO alarm, configure the following alarm
properties:
- In the appropriate cell of the Level/Change column, enter the level that triggers the alarm condition. The shared variable alarm state remains inactive until the shared variable value equals or exceeds the Level/Change value.
- In the appropriate cell of the Deadband/Time column, enter the alarm deadband. Deadband/Time acts like a hysteresis. The Shared Variable Engine (SVE) does not clear an active alarm until the percentage difference between the new value and the previous value equals or exceeds the deadband. If you set the too high, the SVE might not clear the alarm.
-
If you enable a Rate of Change alarm, configure the following alarm
properties:
- In the appropriate cell of the Level/Change column, enter the change that triggers the alarm condition. Level/Change specifies the value that the network shared variable value must change in the value of Deadband/Time to go into an alarm state.
- In the appropriate cell of the Deadband/Time column, enter the alarm time. Deadband/Time specifies the amount of time in which the network shared variable value must change at least the value of Level/Change to go into an alarm state.
- In the appropriate cell of the Priority column, enter a priority for the alarm. The priority can be 1–1,000, where 1,000 is the highest priority.
- In the appropriate cell of the Ack Type column, select an acknowledging type.
- In the appropriate cell of the Area column, enter a name for the area to which the alarm belongs.
- In the appropriate cell of the Description column, enter a description of the alarm.
- In the appropriate cell of the Log? column, place a checkmark in the checkbox to log alarm information to the database.
- Optional: Place a checkmark in the Generate event on value change checkbox to generate events when the values of shared variables change.
- Click the OK button to close the Shared Variable Properties dialog box.