Modifying Variables In Programs - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

8.2.16

Modifying Variables in Programs

You can also use ISY Programs to modify variables. You can perform standard arithmetic
functions on a variable, change a variable to a specific value, or modify a variable's Init
state.
The following functions can be performed on a variable:
Command Function Performed
=Random
For example, the following screenshot increases a variable by 1:
This example sets the Init value of a variable to the current value of another variable:
(This applies to firmware v5 and above)
=
Sets the variable to a specified value.
+=
Adds to the variable
-=
Subtracts from the variable
*=
Multiples the variable
/=
Divides the variable
%=
Performs a remainder function on the variable
&=
Performs an AND (binary) function on the
variable
|=
Performs an OR (binary) function on the
variable
Sets the variable to a number between 1 and
the specified number
Init To
Sets the variable's initial value
Figure 117: Increment a Variable by 1
Figure 118: Set a Variable's Initial Value
Page | 128

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-994i

Table of Contents