Using CitectSCADA > Reporting Information > Running Reports > Using triggers

Using triggers

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

Time

Period

Trigger

RCC1_SPEED<10 AND RCC1_MC

This report is only run when the expression (Trigger) becomes TRUE, i.e., 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 report 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 report is run each hour, but only if the expression (Trigger) is TRUE (i.e., if the digital tag RCC1_MC is ON and the analog tag RCC1_SPEED is less than 10).

See Also