How to write error Handling with GoFa Collision
Robero
✭
Hi everyone,
I am trying to write a error handling from a collision on our GoFa but I can´t get it to work.
I uploaded a screenshot of my code. To test it there is just two positions going back and forward, to try it out and make it easy.
Buy my error handler does not react and nothing happens after the error.
What am I doing wrong?
I am trying to write a error handling from a collision on our GoFa but I can´t get it to work.
I uploaded a screenshot of my code. To test it there is just two positions going back and forward, to try it out and make it easy.
Buy my error handler does not react and nothing happens after the error.
What am I doing wrong?
0
Comments
-
Hi Robero,
Is CollisionErrorHandling set to "Yes" in your controller configuration under General Rapid:
If it is set to No, the program will just stop. If it is set to Yes, the robot will still halt motion but the program will continue into the error handler.
Regards,
Harry
0 -
Also the errno is not a number but the "pre defined text equivalent" - you can find the list in the manual RAPID Instructions, Functions and Data types.
In this case probably ERR_COLL_STOP.0 -
So many thanks guys! It works with ERR_COLL_STOP. Is there any way to handle the errors like that in the screenshot? In this example Error 50204 ''motion supervised. Can you write error handling for those kind of errors?0
-
From the RAPID Kernal manual:The RAPID execution does not have to stop when a collision error occurs (event number 50204 - Motion supervision). If the system parameter Collision Error Handler is defined the execution will enter the RAPID error handler after the retraction and the execution can continue if all conditions for further execution are fulfilled.To be able to start the motion after leaving the error handler, a StartMove instruction must be called from the error handler.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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings