110
FM-3 Programming Module Reference Manual
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
Wait For DriveInput.2 = OFF
MotionStop = OFF
MotionStop for an Assignment
The MotionStop as explained above can also be initiated from an Assignment. MotionStop
can be found in the Ramps group of Destinations.
Summary of Contents for FM-3
Page 2: ......
Page 14: ...xii ...
Page 16: ...2 FM 3 Programming Module Reference Manual Figure 2 FM 3 Programming Module Features ...
Page 128: ...114 FM 3 Programming Module Reference Manual ...
Page 156: ...142 FM 3 Programming Module Reference Manual ...
Page 196: ...182 FM 3 Programming Module Reference Manual ...
Page 238: ...224 FM 3 Programming Module Reference Manual ...
Page 251: ...237 Diagnostics and Troubleshooting Figure 97 Diagnostic Cable DGNE Diagram ...
Page 262: ...248 FM 3 Programming Module Reference Manual ...
Page 264: ...250 FM 3 Programming Module Reference Manual AX4 CEN CDRO ...
Page 265: ...251 Specifications Cable Diagrams ...
Page 266: ...252 FM 3 Programming Module Reference Manual SNCE XXX Cable SNCDD 001 5 Cable ...
Page 267: ...253 Specifications SNCO 003 Cable SNCI 003 Cable ...
Page 268: ...254 FM 3 Programming Module Reference Manual SNCLI 003 Cable ...
Page 272: ...258 FM 3 Programming Module Reference Manual TIA XXX Cable DDS XXX Cable ...
Page 274: ...260 FM 3 Programming Module Reference Manual CMDS XXX Cable CMMS XXX Cable ...
Page 275: ...261 Specifications CFCS XXX Cable ...
Page 276: ...262 FM 3 Programming Module Reference Manual CFCO XXX Cable ...
Page 277: ...263 Specifications CFOS XXX Cable ...
Page 278: ...264 FM 3 Programming Module Reference Manual ...
Page 286: ...272 FM 3 Programming Module Reference Manual ...
Page 290: ...276 FM 3 Programming Module Reference Manual ...
Page 291: ......