Emerson Epsilon EP Drive 400518-01 Manual de instalación Pagina 109

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 108
97
Setting Up Parameters
Index.1.Initiate On Profile.1
Wait For Index.1.CommandComplete
DriveOutput.1 = ON
If using the “On Profile” command on the same line of code as the “Using Capture” command, “Using Capture” should
precede the “On Profile” command. Below are example lines of program code that initiate indexes on different profiles using
captured data for the starting point.
Initiate Index 1 on Profile 0 using data stored in Capture object 2 as the starting point.
Index.1.Initiate Using Capture.2
Initiate Index 3 on Profile 1 using data stored in Capture object 1 as the starting point.
Index.3.Initiate Using Capture.1 On Profile.1
Stopping Motion
Motion Stop from a Program
The MotionStop command will cause all motion to stop regardless of what type of motion it is, or where it was initiated from.
Upon activation of the MotionStop, all motion will begin to decelerate to a stop using the standard Stop deceleration ramp.
That ramp is defined using the StopDecel parameter. MotionStop is a level sensitive command meaning that as long as it is
active, all motion will be stopped and prevented from running. When MotionStop is deactivated, all motion is permitted
again. Any motion that is interrupted with the MotionStop command is cancelled, and will not complete when MotionStop
deactivates.
The MotionStop command DOES NOT stop any programs. All programs that are active when the MotionStop is activated
will continue to run as normal.
All motion stopped using the MotionStop command will stop using a realtime deceleration ramp (even if the timebase of the
motion being stopped is synchronized). This can help in applications that use synchronized motion if the master stops and
then the user wishes to break out of the synch motion without performing an synchronized deceleration ramp.
Neither the CommandComplete signals from motion objects nor the ProgramComplete signals will activate if they have been
stopped using the MotionStop command.
In the example below, Program 0 runs an infinite loop in which Index 5 runs and then waits for half a second and then repeats
itself. When Input 2 activates, Index 5 will stop if in progress and the program will loop back to the Index.5.Initiate.
Example:
Program 0 – Running on Task 0
Do While TRUE
Index.5.Initiate
Wait For (Index.AnyCommandComplete OR MotionStop = ON)
Wait For Time 0.50 ‘Seconds
Loop
Program 1 – Running on Task 1
Wait For DriveInput.2 = ON
MotionStop = ON
Vista de pagina 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 239 240

Comentarios a estos manuales

Sin comentarios