qstop recovery
in RobotStudio
Hi all,
I have an array of robtarget and a loop that do some check and then move to the next target.
If E-stop is pushed, QSTOP event routine executes and everything stops.
when I enable the motors and press 'play', if it was moving it go on with the movement instruction.
I want to be able to skip the movement instruction and go on with the check in order to exit the loop. I do not manage to find how to do that.
Someone knows how can I do that? Thanks.
Best regards,
Daniel M.
I have an array of robtarget and a loop that do some check and then move to the next target.
If E-stop is pushed, QSTOP event routine executes and everything stops.
when I enable the motors and press 'play', if it was moving it go on with the movement instruction.
I want to be able to skip the movement instruction and go on with the check in order to exit the loop. I do not manage to find how to do that.
Someone knows how can I do that? Thanks.
Best regards,
Daniel M.
Tagged:
0
Comments
-
Sounds like you should take a look at StopMove and ClearPath etc.Per Svensson
Robotics and Vision Specialist
Consat Engineering0 -
PerSvensson said:Sounds like you should take a look at StopMove and ClearPath etc.
I use the StopMove and ClearPath in the STOP event routine. When I restart the program, the PP remains at the movement instruction but there is no movement. As the instruction is not completed, the program stucks at that point.
The examples that appears in the help of ClearPath uses ERROR and TRAP clauses to change the movement.
I believe that TRYNEXT can do what I want, but I can't use it into an event routine and I do not manage to raise the error from the event routine to the movement procedure.
Is it possible to raise an error from an event routine to a procedure? (I need to use it with STOP and QSTOP).
Thank you,
Daniel M.0 -
medinadan said:Is it possible to raise an error from an event routine to a procedure? (I need to use it with STOP and QSTOP).
the message from error code "40210: Interrupt removed from queue" says that no trap routine will be executed while an event routine is executing.
So, Is it possible to stop and skip a movement instruction when the program stops?
Thank you,
Daniel M.0 -
Haven't tried it before but maybe you could setup a interrupt in the event routine that fires the trap routinePer Svensson
Robotics and Vision Specialist
Consat Engineering0 -
Hello,
I have been exploring on my own and I have contacted with an ABB representative.
I have not found any way to do what I would like to do. Interrupts are disabled and cannot be used while an event routine is executing. And errors cannot be used.
It seems that with the RS 6.0 could be done something similar with the Controller-GeneralRapid-CollisionErrorHandling.
Thanks for your answers, PerSvensson.
Best regards,
Daniel M.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings