Generating a report based on a condition

Hey guys i am trying to create generate a report based on a certain condition. I work in a beverage plant and i need to generate a report on the cleaning system when the cleaning step starts it records the data and when the step is complete it generates the report.

Presumably you have some tag that turns True/1 when the step is complete and you want the report triggered?

I’d make a Tag Value Change Gateway event on the tag that indicates the cleaning is done/it’s time for a report. Then you can use system.report.executeAndDistribute - Ignition User Manual 8.1 - Ignition Documentation in your script to make the report.

3 Likes

Continuing the discussion from Generating a report based on a condition:

Yes i have a condition that turns true when the CIP is active. Im pretty new to reporting and ignition so im not sure how to create a gateway event but i will look into it