Sample Code:
Else
Set Program
10.5.22 Wait arg random
Description: The 'Wait' command causes the program to pause for the specified amount
of time (hours, minutes, seconds) before executing the next statement within the program.
If the Random box is checked, the delay will be randomly chosen between zero and the
specified amount of time, inclusive.
The 'Wait' command, when encountered during program execution, will cause the
program's conditions to be reevaluated (see 9.5.4 Statement Execution Order).
Category
Action
Sample Code:
Then
Wait
10.5.23 Repeat Every arg
10.5.24 Repeat For arg Random
10.5.25 Repeat While
Description: The 'Repeat' command causes the following statements to be repeated, up to
the next Repeat command or the end of the If or Else clause. The statements to be repeated,
are indented to show the extent of the Repeat loop.
Repeat Every Time causes the Repeat block to repeat every specified amount of time
(hours, minutes, seconds). This form has no Random option.
Repeat For Times Random causes the Repeat block to repeat the specified number of times.
If the Random box is checked, the number of repeats will be randomly chosen between
zero and the specified number, inclusive.
Repeat While allows you to use variable in a loop (This applies to firmware v5 and above)
'Porch Timer'
5 seconds
To Not Run At Startup
Arguments
Time, Random
Page | 218