Flexible SCADA Help
Logic and events

Reports

Shift, daily, monthly and yearly reports from the archive: a table of variable values for every step (hour, shift, day) and an alarm summary. Generated by a button or automatically on schedule, opened in the browser, downloaded to Excel and printed.

The “Reports” tab: templates, generation, finished reports.
The “Reports” tab: templates, generation, finished reports.

Report template

A new template — right-click a folder → Create → Report or + Report in the tab. An object type can have a type report: every object gets its own, with its variables ($Freq).

SettingValuesMeaning
Name (file name prefix)textthe template name and the prefix of the finished report file names
Title in the reporttext; empty — the namethe heading above the table
Periodshift, day, month, yearthe span the report covers
Row stephour, shift, day, month (smaller than the period)one table row is one step: a daily report by hours has 24 rows
Shift startstimes separated by commas: 08:00, 20:00shift boundaries for the “shift” period and step
On schedule — at the end of each periodcheckboxthe report is generated by itself: a shift report at the end of the shift, a daily one at midnight
Keep, daysa number; empty — foreverhow long finished reports of this template are kept
Alarm summarycheckboxadd the alarms of the period: how many, which ones, by priority
Alarm areatext; empty — allonly alarms of this area
Alarms of variablesmasks separated by “;”; empty — allonly alarms of these variables; in a type report the default is $* — of this object

Columns

+ Column adds an archive variable (only variables with “Write to archive”).

AggregateWhat it computes per stepExample
averagethe time-weighted averagethe average temperature per hour
minimumthe smallest valuethe minimum pressure per shift
maximumthe largest valuethe peak load
lastthe value at the end of the stepthe reading at 08:00
sumthe sum of the recorded valuesa sum of batch reports
incrementa meter: end minus startwater flow, electricity per hour
run timehours while the value is ≠ 0pump operating hours
startsthe number of 0 → ≠ 0 transitionshow many times the pump started
Column propertyMeaning
Archive variablea project variable with an archive (in a type template — $variable)
Aggregatewhat to compute (the table above)
Titlethe column caption; empty — as the variable
Decimals0…9 decimal places; empty — as the variable

Generate

In the Generate report block choose a template and a period: current (shift, day…), previous or as of a date…. Preview shows the report without saving; Generate saves it to “Finished reports”.

Finished reports

The table of finished reports: report, period, when it was generated and by whom (or “on schedule”). A report opens in the browser; from there — Excel (.xlsx), printing and PDF (through the browser print). The files live on the server next to the project — in the <project>.reports folder.

The operator has a Reports section: generate by a template and view finished ones (see Operator client and console).