Page | 195
The third time the Movie Time button is pressed, neither Movie Time Prep nor Movie Time
Start will run because both Movie Time Flag and Movie Playing Flag are True. Instead,
Movie Time Stop will run, since its conditions are met. This program turns on the kitchen,
theatre and bathroom lights, and then runs the Move Time Stop Action program. That
program then runs the Movie Time Macro
Program’s
Else path to set that program's status
back to False, and then sets the Movie Playing Flag back to False. These two steps are in a
separate program for the same reason as above.
It should be noted that the order of the statements in each of the ... Action programs is very
important. If Movie Time Prep Action set Movie Time Flag to True before setting Movie
Time Macro to False, then Movie Time Start would immediately run. Similarly, if Movie
Time Start Action set Movie Playing Flag to True before setting Movie Time Macro to False,
Movie Time Stop would immediately run. And if Movie Time Stop Action set Movie Playing
Flag to False before setting Movie Time Macro to False, then Movie Time Start would
immediately run.
It can be seen that the use of the Run (If) command reduces the number of required
programs, removes the requirement for special ordering of statements, simplifies the
conditions within the If clause of the programs, and provides a more clear and
understandable system.
9.8
Programs as Flags/Variables
9.8.1
Programs as Flags: Understanding and Using Program Status
(True/False)
27
By default, all programs and folders are False. Programs and folders will only change state
when it's conditions are evaluated or, in the case of a program, when called using Run
(Then) or Run (Else).
The State of a program or folder can be used as a Condition.
9.8.2
Programs as Variables: SwitchLink Emulates Countdown Timer
28
The time increases each time the on paddle is pressed from 15, 30, 60, and 90 minutes. It
maxes out at 90 minutes. You can add time after timer has been running by pressing the on
paddle again.
If the timer has not already been set, a local fast on at the switch will simply turn the fan on
without a timer. If a timer has been set and is running, a local fast on will not change the
timer. One could program the operation of the local fast on differently if desired.
27
(Universal Devices)
28
(posted by user rob9)
Summary of Contents for ISY-994i Series
Page 1: ...The ISY 994i Home Automation Cookbook ...
Page 35: ...Page 12 Figure 6 UDAjax Main Screen ...
Page 36: ...Page 13 Figure 7 UDAjax Devices Scenes Screen ...
Page 68: ...Page 45 Figure 44 NodeServer Configuration popup 5 2 5 Tools Menu Figure 45 Tools Menu ...
Page 102: ...Page 79 6 6 3 2Activate My OpenADR Portlet Figure 77 OpenADR My OpenADR Menu Option ...
Page 103: ...Page 80 6 6 3 3Configure OpenADR Settings Figure 78 OpenADR Settings Menu Option ...
Page 104: ...Page 81 Figure 79 OpenADR Settings Display ...
Page 108: ...Page 85 6 6 3 7Issue an Event Figure 84 OpenADR Issue and Event ...
Page 110: ...Page 87 Figure 86 OpenADR Event Viewer ...
Page 116: ...Page 93 Figure 92 ElkRP2 Account Details M1XEP Setup Button In the M1XEP Setup Window ...
Page 267: ...Page 244 Figure 189 State Variables ...
Page 268: ...Page 245 Figure 190 Programs and Folders ...
Page 292: ...Page 269 Figure 192 Irrigation Folders Figure 193 Irrigation Devices ...
Page 376: ...Page 353 Figure 209 Save Topology File ...
Page 433: ...Page 410 Figure 242 X 10 recognized as Living Room East Device ...
Page 540: ...Page 517 Figure 357 In Car Detection 12 Figure 358 In Car Detection 13 ...
Page 602: ...Page 579 Figure 382 SecureCRT SSH Raspberry PI Session ...
Page 685: ......