Trigger Tag Properties: On Conditions Tab

This tab is used to set the condition that will switch the tag’s value to 1.   The tag may be switched to an ON state based on a schedule or based on an expression (which may include a tag).

Both options may be configured, resulting in a tag that will be triggered on a regular schedule and also in response to an event.

Note the field labeled “Every”.  When set to 0 this means that no schedule is in effect.  All other time-related fields will be disabled.

You must also configure the Off Conditions tab to set the schedule or condition that will reset the tag’s value to 0.  Once the trigger has occurred and the tag’s value set to 1, it cannot again be set to 1 unless it has been reset back to 0 in the meantime.

 

(Click title to expand text)

Starting Time

Sets the base date and time for the schedule configuration options.  Subsequent configuration options will be counted from this start time.  If set to the future, no trigger will occur until that date.

Every  [N]  Seconds / Minutes / Hours / Days

The field beside “Every” controls the frequency of the following units.  If set to 0, the tag will not trigger based on time and date schedule.

For example, if the Every value is set to 1 and the Hours checkbox is selected, then beginning with the time configured in the Start Time, the trigger will be set to true every hour.

If the Every value is set to 7 and the Days checkbox is selected, then beginning with the configured Start Time date, the trigger will be set to true every week at the time given in Start Time.

Day Checkboxes

Allow you to control which days the trigger tag will operate on.  For example, you may choose to disable the trigger’s action on weekends by unselecting Saturday and Sunday. 

These checkboxes will not be enabled when the Months option is selected.

Months

Selecting the Months option is similar to configuring to trigger tag to switch on every N Hours.  If this option is chosen, then further refinements include “On The” or “Same Day as Starting Day”.

For example, you may wish to configure the trigger to run “on the 1st Wednesday” or “on the 2nd Monday” of the month.   If you have selected “Same Day as Starting Day” then the trigger will run on the given numeric day of the month, at the selected time.

When the Months option is selected, the Day checkboxes will not be enabled.

Expression

Select a tag, or enter an expression that will be used to activate the trigger tag.  The On condition will be set when the selected tag or expression’s value becomes non-zero.