Emerson EZMotion User Manual page 181

Table of Contents

Advertisement

A comment is automatically inserted after the Jog.PlusInitiate instruction which shows key data about the particular jog. The
comment starts with the apostrophe ' character.
Examples:
Jog.0.PlusInitiate 'Vel=27.2in/s
Jog.1.PlusInitiate 'Sync,Vel=1.000in/in
Jog.MinusInitiate
This program instruction is used to initiate jogging in the negative direction. The Jog.Stop instruction is used to stop jogging
motion.
A comment is automatically inserted after the Jog.MinusInitiate instruction which shows key data about the particular jog. The
comment starts with the apostrophe ' character.
Examples:
Jog.0.MinusInitiate 'Vel=27.2in/s
Jog.1.MinusInitiate 'Sync,Vel=1.000in/in
Program.ProgramStop
The Program.ProgramStop instruction is used to stop processing a specific program. The ProgramStop instruction can be
used in a program to stop itself or any other program. The ProgramStop instruction DOES NOT stop the motion that has been
initiated by the program being stopped. Either the MotionStop or the Profile.Stop instruction must be used to stop motion from
a program.
If the ProgramStop instruction is used to stop a program that is not running, the Stop will be issued, but will be ignored.
If the program that is stopped was called by another program, the call is killed. This means that program flow will not return to
the program that originally called the program that was stopped. For example, Program 1 calls Program 2. While Program 2 is
running, Program 3 (which is running on a different task) issues a Program.2.ProgramStop command. If Program 2 ended
because of normal conditions (i.e. the "End" instruction), then program flow would return back to Program 1. Because
Program 2 was terminated using the Program.Stop instruction, program flow does not return to Program 1.
The ProgramComplete signal will not activate if a program has been stopped using the Program.ProgramStop instruction.
Profile.ProfileStop
Profile.ProfileStop is used to stop motion on a single profile, without stopping the other profiles.The user must specify the
profile they with to stop (i.e.0 or 1).
Example:
If (SPInput.4-ON) Then
Profile.1.ProfileStop
EndIf
Program.Initiate
This instruction allows the user to start another program from within a program. This is different from a Call Program
instruction because the program this instruction is in does not stop when the other program starts. Therefore the program that
is initiated must be on a different task. See Program Multi-Tasking on page 151.
Example:
Program.2.Initiate
9.8.5
Motion Modifier Instructions
On Profile
The On Profile instruction can be inserted after any motion type Initiate, Dwell for Time, or Dwell for Master Dist instructions.
By inserting the On Profile modifier, it specifies which Profile the instruction will run on (See Multiple Profiles section for more
information). Select from Profile 0 or Profile 1. Both Profiles sum to give a single commanded position and commanded
velocity. If no On Profile modifier is used, the motion/dwell will operate on Profile 0. All motion that is initiated from the
assignments screen operates on Profile 0.
The On Profile modifier is also used with the Jog.Stop and Gear.Stop. When stopping jog or gear motion that is operating on
Profile 1, the On Profile.1 modifier must also be used on the stop instruction.
Example:
Index.0.Initiate
Index.1.Initiate On Profile.1
Gear.Initiate On Profile.1
Wait For EZInput.3 = ON
Gear.Stop On Profile.1
Example:
Jog.0.PlusInitiate On Profile.1
Index.0.Initiate
Wait For Index.AnyCommandComplete
Wait For EZInput.2 = ON
Jog.Stop On Profile.1
Using Capture
The Using Capture instruction can be inserted after any Jog Initiate, Index Initiate, Dwell for Time, and Dwell for Master Dist
instructions. By inserting the Using Capture instruction, it specifies that data captured by the position capture object is to be
EZMotion User/Programming Guide
Revision A8
www.controltechniques.com
169

Advertisement

Table of Contents
loading

Table of Contents