Cyclic Program View; Program Parameters For A Cyclic Program - Emerson EZMotion User Manual

Table of Contents

Advertisement

Stop All
This button is the same as the Stop destination found in the assignments view. Clicking on this button will stop all programs
and motion. If in motion, the motor will decelerate to a stop using the StopDeceleration ramp value. (Only available while
online)
Disable/Enable Error Check
This button can be used to temporarily disable the program parser. The parser is what detects errors in a user program. When
user programs are very large, the parser can take an appreciable amount of time to check the entire program for errors. To
avoid this, the user can disable the program parser, enter all of the changes, and then re-enable the parser to check for errors.
(Only available while online)
9.3

Cyclic Program View

The Cyclic Program initiation is synchronized to a multiple of the update rate cycles. Therefore it provides a deterministic cycle
time that is repeated automatically. The Cyclic Program executes over multiple update rates and therefore has a reduced
program instruction set compared to Real Time programs.
Figure 153:
9.3.1

Program Parameters for a Cyclic Program

Program Name
This is a 12 character string that the user can assign to an individual program. It allows the user to give a descriptive name to
the program for ease of use.
Update Rate
This parameter defines the number of Update rates the cyclic program has to finish. This parameter can only be setup on the
Cyclic Program view.
Utilize
Utilize is the percent of the Control Loop time utilized for control loop, Real Time Program and a portion of the Cyclic Program.
When this limit is hit, the cyclic program is suspended until the next control loop. The percentage left over will processes user
programs, communications and other processes. To prevent complete starvation of user programs and communications, the
execution of the Cyclic Program is spread out over several control loops based on the Utilize percentage.
The drive's CPU time is allocated between the background processes and the foreground control loop interrupt. The control
loop interrupt executes event updates, motion calculations, the complete real time program and a portion of the cyclic program
up to the Utilize percentage of the trajectory rate. Then the control loop interrupt is exited and the background processes
continue to run.
No matter how low the Utilize percentage is set, the required control loop motion calculations will be completed, the Real Time
Program will run to completion, and at least one cyclic instruction will be executed. If these do not complete, a real time
program timeout fault is generated. A Cyclic Program Timeout Fault occurs if the cyclic program has not completed at the next
Cyclic Program Initiate.
In actuality the Cyclic Programs are initiated from the control loop but are run outside the control loop interrupt. They run as
processes along with user programs, but at a higher priority so cyclic programs are run before any user program. Other
EZMotion User/Programming Guide
Revision A8
Cyclic Programs View
www.controltechniques.com
149

Advertisement

Table of Contents
loading

Table of Contents