Status of a unit, Internal flags, Controlling outputs – Home Automation SECURITY SYSTEM User Manual

Page 26

Advertising
background image

The timed commands allow a units to be turned on or off for a specified period of time. The unit may be turned On for 1-99
(minutes or seconds), or 1-18 hours, then Off; or turned Off for 1-99 (minutes or seconds) or 1-18 hours, then On.

Lighting units (1-16) may also be dimmed or brightened for a specified period of time. The unit may be dimmed (1-9) steps for
1-99 (minutes or seconds), or 1-18 hours, then brightened back to its previous level; or brightened (1-9) steps for 1-99 (minutes or
seconds), or 1-18 hours, then dimmed back to its previous level.

To enter a timed command, you must first enter the unit that you want to control. From the control menu, enter the unit number
(or scroll to it using the arrow keys), then press the ' # ' key.

To enter a time, press the 9 (TIM) key. Before any digits are entered, the ' # ' key may be used to switch between minutes,
seconds, and hours. After you choose, enter a time (1-99 for seconds & minutes, and 1-18 for hours). Once the time is entered,
the control menu is redisplayed with the specified times shown.

For example:

Entry Lights For 2H

0=OFF 1=ON 2=DIM 3=BRT


Status of a Unit


To see the status of a unit, from the control menu, press the ' # ' key. The last command along with any time (hh:mm:ss)
remaining on a timed command will be displayed.

Entry Lights 1:22:10

STATUS

ON


At this point, one of the menu choices may be entered or the ' * ' or ' # ' key may be pressed to redisplay the menu.

Note: If an X-10 signal is received over the powerline, OmniLT will automatically update the status of the X-10 unit.



Internal Flags


The easiest way to define a flag it to refer to it as a "virtual relay". A flag can be in one of three separate states: On, Off, or set to
a value between 0 and 255. If a flag has a value of 1-255, it is considered "On". If a flag has a value of 0 it is considered "Off".
Flags are a powerful programming tool that can be used in several ways to accomplish advanced programming routines. Any
Flag can also be used as a counter. Counters can be incremented, decremented, or set to a specific value (0 to 255).

When a counter is decremented to zero, the "When Unit Off" macro is executed. A counter will not decrement below zero. The
counter will, however, roll over from 255 to 0 when incremented. The "When Unit Off" macro will be executed when the counter
rolls over. This allows two counters to be cascaded to form a larger counter.

When the counter is incremented from 0 to 1, the "When Unit On" macro will now execute. This will allow you to execute a
command when the Flag is incremented (counting up) from zero.

The Set command is used to set the counter to a value from 0 to 255. No macros are executed when the counter is set to zero or
when the counter is changed from zero using the set command. This allows a counter to be reset without executing macros or
programs associated with the counter counting to zero. Turn the Flag On or Off to have the associated macro execute. When the
Flag is turned Off, its value is set to zero (0). When the Flag is turned On, its value is set to one (1). The counter is considered
On for program conditions if it is nonzero (1-255).

Flags can be turned Off, On, Decremented (DEC), Incremented (INC), Set, and Timed ON/OFF.

Controlling Outputs

22

Advertising