Back

Topic

[KB138]Changing a threshold value by a SCADA BASIC Program

Tags: Scada Basic, Scripting

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

This article describes how to modify a threshold value of a register, using SCADA BASIC.


Details:

When a threshold value of a register variable is modified by a SCADA BASIC instruction, the value of the threshold variable is not re-calculated with the new threshold value. For instance:

VARIABLE (“THRESHOLD_SETVALUE”,”variable_name”,rank, value),

To cause re-calculation, the value of the variable must change.

The following instructions will refresh the register variable and update the thresholds.

VARIABLE(“DISABLE”,”variable_name”)
VARIABLE(“ENABLE”,”variable_name”)


Created on: 05 Nov 2010 Last update: 13 May 2024