Exit; in trap routine
Laro88
✭
I expect Exit; to terminate the T_ROB1 task however it does not seem to work either on a VC nor a real IRC5.
I execute it inside a trap routine, is this illegal ?
I execute it inside a trap routine, is this illegal ?
0
Comments
-
Hi Laro88,What is it doing? It has been my experience that in the IRC5 the Exit command simply stops the program immediately and removes the program pointer, thus forcing a manual reset of PP To Main. It will look different from the S4's when Exit would put the program pointer at the beginning of main and stop.Shane0
-
Hi!As Wolf Tech answered, Exit command stops the program immediately and removes the program pointer, thus forcing a manual reset of PP To Main. I have tested this both on a Virtual Controller and a real controller, and it works as described.Make sure that your TRAP is executed. If the TRAP is executed, then let me know which version of robotware you are using.Torbjorn0
-
I had a problem with the Messaging Queue yet again, queue full prior to the message triggering Exit; I dislike hunting a problem that has one of those wideranging problem scenarios - "either this, or that or something else caused a problem" :-)
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