Get line no on error.
Klaus
✭✭
I know that it probely not the right forum but cant find the right one.
I have made a modul that collect severel data on error and write in a txt file. I use GetSysData to get name of active tool and wobj but it would be nice to get the line no where the collision was happend.
Et would also be useful to get the targetname.
Is it possible to do that with rapid code.
The one who help men can get the code for free
Best Regards
Klaus Soenderhegn
www.cadalysator.dk
Klaus Soenderhegn
www.cadalysator.dk
0
Comments
-
You can get the current context, with module name and line number, by using the instructions ErrLog or ErrRaise with the errstr ERRSTR_CONTEXT. The information is then written to the controller event log.
To get the context directly in the RAPID program, which probably is what you are looking for, is unfortunately not supported.
Magnus Larsson
ABB Robotics development engineer0
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