Safety
Information
Introduction Installation
PowerTools
Pro Software
Communications
How
Motion
Works
How I/O
Works
Configuring
an
Application
Programming
Starting and
Stopping
Motion
Starting and
Stopping
Programs
Parameter
Descriptions
Drive
Parameters
Used by
EZMotion
Diagnostics Glossary Index
EZMotion User/Programming Guide 155
Revision A8 www.controltechniques.com
Figure 162: Diagram of User Program and a Cyclic Program
The following two figures are timing diagrams of a cyclic program with different utilization values (showing the effect) and a
user program initiated to run on several tasks.
Figure 163: Diagram of User Programs on Two Tasks and a Cyclic Program
T0
Control Loop
Cyclic Program
Update Rate
User Program
T0
Cyclic Update = 3x Update Rate
Same as above except Cyclic Program Utilization is set to 40%. In
this scenario, Cyclic Program cannot complete within 3 updates and
so Overrun Error occurs in next update. Need less code in Cyclic
Prog, higher Utilization setting, or Larger Cyclic Update Rate setting
Cyclic Program Utilization
set to 40%
Overrun Error
T0
Control Loop
Cyclic Program
Update Rate
User Program
T1
T0
Cyclic Update = 3x Update Rate
T1 T0
T1
Control Loop + Cyclic Prog + User Progs on two Tasks. Cyclic
Program Utilization set to 70% means cyclic program is suspended
after 70% of update is reached, then resumed next update
Cyclic Program Utilization
set to 70%