Universal Devices ISY-994i Series Guia do Utilizador Página 51

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 89
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 50
51
3.5 Variables
Variables can be incredibly useful when creating programs on the ISY. Variables can
be stored, modified using arithmetic operations, and compared. You can use variables
to provide information, trigger programs, etc.
To view your variables, click on the Programs tab then the Variables sub-tab.
There are two different types of variables (Integer and State), each divided into a
separate sub-tab. The only difference between the two is that State variables create ISY
events when modified, so they can be used to trigger ISY Programs.
For example, if you’d like to create an ISY Program that runs only when a variable is or
reaches a certain value, use a State variable. Otherwise, if the variable’s value will not
be used to trigger a program, feel free to use the simpler Integer variable.
3.5.1 Creating Variables
To create a new variable, click the Add button on the bottom of the screen. Here is a
list of each column and a quick definition:
Name This is the user-defined name of the variable. Choose a name that’s
descriptive so that you’ll be able to quickly identify the variable you want to
use in ISY Programs.
Init This is the initial value of the variable, the value it has if the ISY is
rebooted. This can be defined here and also updated using ISY Programs so
that a variable value can persist even if the ISY loses power.
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.
Vista de página 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 88 89

Comentários a estes Manuais

Sem comentários