Using CitectSCADA > Configuring Events > Running Events > Using triggers

Using triggers

You can use any Cicode expression (or variable tag) as a trigger for an event. If the result of the expression (in the Trigger field) becomes TRUE, and if the Time and Period fields are blank, the event is run. For example:

Time

Period

Trigger

RCC1_SPEED<10 AND RCC1_MC

This event is only run when the expression (Trigger) becomes TRUE, that is, when the digital tag RCC1_MC is ON and the analog tag RCC1_SPEED is less than 10. The expression needs to become FALSE and then TRUE again before the event is run again.

If you use the Time and/or Period fields, the Trigger is checked at the Time and/or Period specified, for example:

Time

6:00:00

Period

1:00:00

Trigger

RCC1_SPEED<10 AND RCC1_MC

This event is run each hour, but only if the expression (Trigger) is TRUE (that is, if the digital tag RCC1_MC is ON and the analog tag RCC1_SPEED is less than 10).

See Also