Back

Topic

[KB25]Beep the buzzer when there is at least one alarm (via SCADA Basic)

Tags: Alarm, Alarming, Scada Basic

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

This article explains how to configure PcVue to activate a buzzer when there is at least one alarm.


Details:

For example, you need to use the buzzer if you have at least one alarm set and not acknowledged.

  1. Create the variable SYSTEM.NOACKON.ALL (register – internal).
  2. Create a high threshold for this variable with the value 1. Example name : SYSTEM.NOACKON.ALL_high.
  3. Create a short SCADA Basic program like this one :

Sub MyBeep()
Beep();
End Sub

  1. Create a cyclic action (Configure.Action.Cyclic) with a minimum period of 3 seconds.
  2. Select the program (from step 3. above). In the field Enabling bit select the threshold variable (cf. step 2).

You will then have a cyclic action always declared that never calls the program when no alarms are set. Each time you have an alarm the threshold is set and the cyclic action is enabled. If you acknowledge the alarm, the threshold is unset and the cyclic action is disabled.


Created on: 17 Sep 2010 Last update: 13 May 2024