Using Variables to Store Data Values

ClearSCADA includes support for ‘global variables’—simple database items that can store single values, or ‘arrays’ of values. Variables are internal to ClearSCADA (they are not associated with plant) and can be used, for example, to hold the results of calculations in Logic programs. Variables do not trigger events or raise alarms.

You can set the value of a Variable manually via the Set Value or Set Element pick actions, automatically via the Value or SetElement methods, or via Logic.

You can display a list of Variables on your system at any time, using the Variables List. (For information on displaying and working with Lists, see the ClearSCADA Guide to Lists.)

This section summarizes the different Types of Variable that ClearSCADA supports. Also included is a series of examples that demonstrate how Variables might be used on a ClearSCADA system (see Example Configuration).

If the data that you want to store is intended to remain static, consider using Parameters as opposed to Variables. For more information, see Using Parameters to Store Static Data Values. Also see Parameters versus Points and Variables.


Disclaimer

ClearSCADA 2017 R3