How to automatically reset program pointer to Main after each and every kind of program restart
laov
✭
in RobotStudio
Hello,
I would like to reset program pointer to main each time program execution is changed (started, stopped, interrupted). Basically I want the program to always start from a specific location despite being non critically stopped (by robot studio), restarted (my main trouble is here - after I stop a program with robot studio and click start again it resumes the program from the stopped location by default), e-stopped.
Is there any way to accomplish that using rapid / built in controller settings?
Kind regards,
Laov
I would like to reset program pointer to main each time program execution is changed (started, stopped, interrupted). Basically I want the program to always start from a specific location despite being non critically stopped (by robot studio), restarted (my main trouble is here - after I stop a program with robot studio and click start again it resumes the program from the stopped location by default), e-stopped.
Is there any way to accomplish that using rapid / built in controller settings?
Kind regards,
Laov
1
Best Answer
-
You can define event routine (configuration\Controller) which yields depending on a event. Then in the routine that will be called at the event you just do a ExitCyclePer Svensson
Robotics and Vision Specialist
Consat Engineering6
Answers
-
PerSvensson said:You can define event routine (configuration\Controller) which yields depending on a event. Then in the routine that will be called at the event you just do a ExitCycle
Using abb PC sdk I set program pointer to a different procedure. If exitcycle is called in this procedure it does not return back to Main but restarts the current procedure.
Is there any way to force program pointer to main via rapid command?0 -
That is what exitcycle is supposed to do, but maybe the behavior is different because the actions are not coming from the TP itself. Maybe you could add an UNDO handler to your routines which exitcycle. Another function which may or may not work is IsStopStateEvent.Lee Justice0
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