A packaging machine runs TwinCAT. Every 10 seconds, the PLC logs: cycle time, package count, and energy usage.