Global Triggers


A Global trigger is an expression that you can use to trigger events independently of a device. A global trigger is "stand-alone", and does not need to be added to a programmable event. Often global triggers are used when a function has to be performed based on an analog's (or serial) value. For example, you can create a global trigger that will turn on the outdoor lights at sunset; turn on the ceiling fan when the room temperature (and/or humidity) reaches a certain value, etc.

To define a global trigger

  1. Go to Design and Program and choose Advanced Programming.

  2. Click on the Global Triggers tab. This will display all currently defined global triggers.

  3. Click New to create a new, blank global trigger. By default the name of a newly created global trigger is Global Trigger, followed by a numeral.



    To rename the global trigger, select it and press , or right-click on it and choose Rename.

  4. Point to the Programming for name_of_your_global_trigger pane on the right



    and click the button to open the Edit Step dialog.

  5. In the Edit Step dialog define the desired conditional expression (see Conditional Steps). For example:



    When you close the Edit Step dialog, the expression you have defined will be shown in the text box beside the button:



    To edit the global trigger, click the button again.

  6. Add additional programming step(s) that will occur while the trigger evaluates to True, inside the True tab:




    and/or False tab (steps that will occur if the trigger evaluates to False):



    Note that program execution stops when the trigger changes states.

To delete a global trigger:

  1. Select the global trigger from the list

  2. Choose from the Toolbar above

    -or-

    Right-click on it and choose Delete from the menu

    -or-

    Press the button on the keyboard.