SearchL - continue when error
Mrogurt
✭
Hi All
I have a small problem,can someone help me with this?
WHILE di_ready = 1 DO
....
SearchL\Stop
....
ENDWHILE
ERROR
IF ERRNO=ERR_WHLSEARCH THEN
IF ERRNO=ERR_WHLSEARCH THEN
...
ENDIF
All i want is to continue with program after error of search.... Now everytime when IF ERRNO end robot stop and rise alarm on pondant... Can someone help me with this?
0
Comments
-
You should look into CRobT(), maybe use it to make an offset or reltool move to try again, if that is what you are asking for help with. Also, look into Retry or Trynext You could also RAISE the error to the routine from which it was called. Error handler in that routine should most likely have Retry.Lee Justice0
-
As Lee says above use the Trynext in your error handler - this will continue with the next instruction after the one that cause the error.
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)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings