Set error
EFG
✭
I have an application where I use SearchL for finding a hole in a component. When the search is failed, the PP is moved to an Error section (ERR_WHLSEARCH) at the end of the program, which is what it's supposed to do.
At another part of the routin, I would like to move in to the same Error section without using a SearchL instruction. Can I somehow "set" or trigger the error?
0
Comments
-
Hi EFGTo use the same section you could call a subroutine in the error case and also from the other part. Or you could use the RAISE instruction (see manual) to create an other error and then check in the ERROR section with IF ERRNO = ERR_WHLSEARCH OR ... THENBest regardsMarcel0
-
Thank you Marcel for your answer!Actually I solved my problem without using the error handler.Merry X-mas!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