Using The Status Of Variables In Programs; Modifying Variables In Programs; Figure 52 Counter Variable - Universal Devices ISY-99i Series User Manual

Table of Contents

Advertisement

Value – This is the current value of the variable. Again, this can be defined here and also
modified via arithmetic operations using ISY Programs.
Last Changed – This displays the date and time that the variable was last modified.

3.5.2 Using the Status of Variables in Programs

You can use the If portion of an ISY Program to check the state of a variable. To do those,
choose Variable when defining your If statement, then choose your Variable, then choose
what you'd like to check for.
For example, you can check to see if a Variable is a certain value, if it's NOT a certain value,
if it's greater than a certain value, etc. You can also compare one variable to another.
In this screenshot we are checking to see if a variable called Counter is greater than 3:

3.5.3 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

Figure 52 Counter Variable

=
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
- 43 -

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Universal Devices ISY-99i Series

This manual is also suitable for:

Isy-994i series

Table of Contents