Emerson EZMotion User Manual page 180

Table of Contents

Advertisement

Example:
Index.0.CompoundInitiate
Index.1.CompoundInitiate
Index.2.Initiate
Wait For Index.AnyCommandComplete
Index.0.CompoundInitiate
SPIO.1.OUT=ON
Index.1.CompoundInitiate
SPIO.2.OUT=ON
Index.2.Initiate
SPIO.3.OUT=ON
Wait For Index.AnyCommandComplete
SPIO.1.OUT=OFF
SPIO.2.OUT=OFF
SPIO.3.OUT=OFF
Index.BlendInitiate
This program instruction is used to allow an index to complete its move at the velocity of another index. A blended index accelerates
towards its index velocity using its accel ramp. The index will run at velocity before using its deceleration ramp to accelerate or
decelerate towards the velocity of the next index specified. This differs from the compound index where the index finishes using the
accel ramp of the next index.
The index that is to be "blended into" is on the command line in parenthesis immediately after the Index.BlendInitiate command.
Index.0.BlendInitiate into (1)
This command will cause index zero to finish at the velocity of index 1. The value within the parenthesis can also be a variable. The
following example will operate the same as the previous.
Index.0.BlendInitiate into (var.var0)
The next index that is to be blended must:
·Exist
·Have the same time base as the present index (synch versus real time)
If the index does not exist or the time base is different, the blended index will convert into a regular compound index.
The direction of the next index (blended into index) is not looked at. Hence, blending an index into another index will not cause the
index to cross through zero velocity.
Example:
Index.0.BlendInitiate into (1)
SPIO.1.OUT=ON
Index.1.BlendInitiate into (2)
SPIO.2.OUT=ON
Index.2.Initiate
SPIO3.OUT=ON
Wait For Index.AnyCommandComplete
SPIO.1.OUT=OFF
SPIO.2.OUT=OFF
SPIO.3.OUT=OFF
Index.Stop Tracking
This command is used to cancel the position tracker continuous index once it has been initiated within the program using the
Index.#.Initiate program command. If the Index.#.Initiate input function starts the position tracker index, then Index.#.StopTracking
will not stop the tracking index.
Example:
Home.0.Initiate'Sensor,Offset=2.000in,Vel=-10.0in/s
Jog.Stop
This program instruction is used to halt jogging using the deceleration ramp setup for the currently operating jog.
Examples:
Wait For EZInput.2=ON
Jog.0.MinusInitiate
Wait For EZInput.2=OFF
Jog.Stop
Do While(TRUE)
If (EZInput.2=ON) Then
Jog.0.PlusInitiate
Wait For EZInput.2=OFF
Jog.Stop
EndIf
If (EZInput.3=ON) Then
Jog.0.MinusInitiate
Wait For EZInput.3=OFF
Jog.Stop
EndIf
Loop
Jog.PlusInitiate
This program instruction is used to initiate jogging in the positive direction. The Jog.Stop instruction is used to stop jogging motion.
168
www.controltechniques.com
EZMotion User/Programming Guide
Revision: A8

Advertisement

Table of Contents
loading

Table of Contents