Execution Rules
The execution of a control application is a synchronous system where a clock triggers all operations for a device. The cycle timing performs these steps:
- Scans input variables
- Processes program organization units (POUs)
- ProcessesModbus®messages
- Updates output devices
- Saves retained values
- Sleeps until the next cycle
With a specified cycle time, a device waits until this time elapses before starting the execution of a new cycle. The POU's execution time varies depending on the size of the application. When a cycle exceeds the specified time, the loop continues to execute the cycle but sets an overrun flag. The application no longer runs in real time. Without a specified cycle time, a device performs all programs then restarts a new cycle without waiting.
Provide Feedback