Run a Report
- Last UpdatedJul 18, 2023
- 2 minute read
To run a report, use one (or a combination of) the methods listed below:
Automatically run when Plant SCADA starts up
You can run a report on startup.Plant SCADA searches for a report called "Startup" when it starts up, and if locates this report, it is run automatically. You can change the name of the default report with the Setup Wizard.
Automatically run at a specified time and period
The period determines when the report is run. You can specify the period in hh:mm:ss (hours:minutes:seconds), for example:
|
Period |
Comment |
|---|---|
|
1:00:00 |
Run the report every hour |
|
6:00:00 |
Run the report every six hours |
|
72:00:00 |
Run the report every three days |
|
Monday |
Run the report each Monday |
|
15th |
Run the report on the 15th of each month |
|
25th June |
Run the report on the 25th of June |
You can also specify the time of day to synchronize the report, for example:
|
Time |
Comment |
|---|---|
|
6:00:00 |
Synchronize the report at 6:00 am |
|
12:00:00 |
Synchronize the report at 12:00 midday |
The time synchronizes the time of day to run the report and, with the Period, determines when the report is run, for example:
|
Time |
Period |
|---|---|
|
6:00:00 |
1:00:00 |
In this example, the report is run every hour, on the hour. If you start your runtime system at 7:25am, your report is run at 8:00am, and then every hour after that.
Automatically run when an event is triggered
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:
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).
|
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).
Run using a command
If the Time, Period, and Trigger fields are blank, the report can only be run by a command that calls the Report() Cicode function.