Back

Topic

[KB673]How to use time-delayed alarms with SCADA Basic

Tags: Alarm, Scada Basic, Scripting

11 years ago
By RM
Options
Print
Applies to:

PcVue version 10.0 onwards


Summary:

This program shows how to create a delayed alarm using SCADA Basic, the alarm being activated by a manually controlled bit. This delayed alarm system is intended to not activate alarms on random equipment reading spikes.


Details:

This program first collects names and branches of bit variables to treat from a text file in the TP folder. The script will then create events on the bit variables, activating an alarm using a timer every time the bit variable moves from 0>1 for a specified amount of time. The alarm will not be triggered if the bit variable returns to 0 before that delay period expires. The delay period is customizable for each bit variable being managed.
The bit variables are intended to simulate thresholds on register variables.

testbed 01 codesnip mini


Sample project:

testbed 01 mimic mini

Download attachments: AlarmDelay_Sample.zip


Created on: 25 Nov 2013 Last update: 13 May 2024