Residential Control Systems TXB16 Manual do Proprietário Página 104

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 329
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 103
90 Chapter 11 Variables
the screens. It could use a series of If-Then statements based on the value of “Video Screen
Number” to determine which screen to draw. Whenever you want to display a new screen, set the
“Video Screen Number” variable to the desired screen and run the macro.
Variables can also be viewed on a TV through the video screen system. You can see the current values of
all variables, and even watch them change in real time. You can also change the values at any time with an
infrared remote control.
Variable Commands
The following variable commands can be included in a schedule. They can all also be issued to the
controller over the serial interface. The format for sending commands over the serial interface is described
in a text file installed in the application directory.
These commands are entered in your schedule from the actions entry screen by clicking the appropriate
toolbar button. The command and selected variable(s) are chosen from the pull-down list.
Standard Variable Commands
Variable “XXX” = ###
Sets variable “XXX” to the constant value ###. When you enter this command in a schedule, you
select the specific variable “XXX” from a pull-down list. When you send this command over the
serial interface, the variable is referred to by its ID number (0 to 255). ### can be any integer
between 0 and 255.
Variable “XXX” = Variable “YYY”
Puts the value of variable “YYY” into variable “XXX”.
Variable “XXX” = Random Number
This command generates a random number between 0 and 255 (inclusive) and puts it into variable
“XXX”.
Variable “XXX” = Result Value
Puts the value of the system variable “Result Value” into variable “XXX”. See the "Miscellaneous"
chapter for a detailed description of Result Value. Result Value will contain different values
depending on the previously-executed command.
Math Commands
Increment Variable “XXX” [Stop At 255]
Increments (i.e. adds 1 to) variable “XXX” until it reaches 255. The value of “XXX” increases by one
each time this command is executed, until 255 is reached. If the initial value (before executing the
command) is 255, it will not increment
. Further increment commands will not affect the variable’s
value; it will remain at 255). If you want it to roll over to zero, use the “Increment Variable “XXX”
[Roll Over at 255]” command.
Increment Variable “XXX” [Roll Over At 255]
Increments (i.e. adds 1 to) variable “XXX”. If the initial value is 255, it will roll over to zero.
Variable “XXX” = Variable “XXX” + ###
Vista de página 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 328 329

Comentários a estes Manuais

Sem comentários