Using events, lua, screens and JS for complex reports

In this application, the customer had production line with multiple machine installed. There were PLCs in each machine which counted run, stop, failure hours and performance counter.

The task was to create a report in WebHMI for each machine with these figures for the given period.

There is an event report builder, but it in this application it would had the following drawbacks:

Because all data were logged and existed in the DB, a self-evident appeal arised for the solution or tool, which just would made a request for the required data in the DB and showed them.

After considering possible solution, the following WebHMI's functionanlity helped to create a single elegant tool: