Global Where Am I Enable; Real Time Program View; Program Parameter For A Real Time Program; Program Multi-Tasking - Emerson EZMotion User Manual

Table of Contents

Advertisement

Resetting Errors in "Run Anytime" Programs
To reset an error from a Run Anytime program, use the Error.Reset = ON command in the user program. The Error.Reset
command does not clear all types of errors. Some errors require power to be cycled in order to clear the error. For more
information on the method used to clear individual errors, see Diagnostics on page 237.
After using the Error.Reset command in a user program, use a Wait For Time 0.100 'seconds command to give the drive time
to clear the error and re-enable the drive before initiating motion. If this is not done, the motion will be initiated before the drive
is enabled, and the instruction will be ignored.
9.4.2

Global Where Am I Enable

This is used to control the functionality of the Global Where Am I arrow in a program. If the user activates the Global Where
Am I feature by clicking the Global Where Am I button on the PowerTools Pro toolbar, a blue arrow will follow the program flow
on a given task by pointing to the line of the user program that is currently being processed. If the Global Where Am I is active,
and one user program calls another user program (using the Call Program instruction), the PowerTools Pro view will
automatically switch to the "called program". In some cases it may be desirable to stop the screen from automatically
changing to the "called program", this can be done by disabling (clearing) the Global Where Am I Enable check box. By
default, all Global Where Am I Enable check boxes are selected (active).
9.5

Real Time Program View

The Real Time program is designed to be executed to completion in every update rate cycle. The real time program instruction
set is reduced to insure all the operations are completed within the update rate.
Figure 156:
9.5.1

Program Parameter for a Real Time 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.
9.6

Program Multi-Tasking

Many applications require the operation of a background task that operates outside of the main program loop, but must be
consistently processed. For instance, a background task that performs calculations for values sent to an operator interface or
EZMotion User/Programming Guide
Revision A8
Real Time Programs View
www.controltechniques.com
151

Advertisement

Table of Contents
loading

Table of Contents