![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
RAPID: cancel ongoing motion
![jzoss](https://us.v-cdn.net/5020483/uploads/webwiz/avatars/shapes_swish.jpg)
jzoss
✭
This is a fairly basic RAPID question (I think):
I have issued a motion command with the /Conc flag, so my program continues to execute. I would like to cancel this motion if a specific condition is met. Many robot languages have some sort of "CancelMotion" command that deletes all queued motions and brings the robot to a stop.
I see that there is a StopMove command, but it appears that this does not actually cancel the motion command. In other words, the ongoing motion command will resume once StartMove is called. So I don't think this is what I'm looking for.
Thanks for your help!
Jeremy Zoss
Southwest Research Institute
PS - Ideally, I would like to cancel the current motion, issue a new motion command, and have the robot smoothly transition between those motions. But I can understand if this is impossible/difficult. At this point I'm "starting small".![=) =)](https://forums.robotstudio.com/resources/emoji/smiley.png)
I have issued a motion command with the /Conc flag, so my program continues to execute. I would like to cancel this motion if a specific condition is met. Many robot languages have some sort of "CancelMotion" command that deletes all queued motions and brings the robot to a stop.
I see that there is a StopMove command, but it appears that this does not actually cancel the motion command. In other words, the ongoing motion command will resume once StartMove is called. So I don't think this is what I'm looking for.
Thanks for your help!
Jeremy Zoss
Southwest Research Institute
PS - Ideally, I would like to cancel the current motion, issue a new motion command, and have the robot smoothly transition between those motions. But I can understand if this is impossible/difficult. At this point I'm "starting small".
![=) =)](https://forums.robotstudio.com/resources/emoji/smiley.png)
0
Comments
-
Hi jzoss,
StopMove;ClearPath;Then execute the next position.BRShane0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings