77
The storage of the Current Value does take some time, since it is stored into flash. Therefore, if a
Variable is changed often, such as a counter, the WACI will perform more efficiently if you set a Default
Value, and UNCHECK the “Persist” check box.
Default Value
The “Default value” is copied to the “Current value” whenever the system starts up. The start-up
typically occurs from a system reset or a power failure. If a Variable has the persistent flag set, the
“Default value” is not used.
Current Value
The “Current value” is the working value of the Variable. It is the value accessed in all Event and Action
expressions. In addition, Variable Actions (see
Variable
, page
69
) send their outputs to the “Current
value”.
The “Current value” is set to the “Default value” during system start-up, if the Persistent flag is not set.
Types of Variables
Types of Variables
Types of Variables
Types of Variables
Number
A Number Variable can have an integer value between -2
31
and +2
31
-1.
Schedule
A Schedule Variable can have a time value, specified by
[hour]:[minute]:[second] [AM/PM]
fields.
String
A String Variable can be a Unicode string up to 128 characters in length.