Setting up a TRAP Routine
Hi
totally new to robotic programming and rapid
When running in automatic, and if the robot motion got stopped due to an error, i need the robot to return to a predefined position so that i can do inspection and then continue with the program.
can some one give a general idea of how to approach this problem and explain how a TRAP instruction needs to be set?
totally new to robotic programming and rapid
When running in automatic, and if the robot motion got stopped due to an error, i need the robot to return to a predefined position so that i can do inspection and then continue with the program.
can some one give a general idea of how to approach this problem and explain how a TRAP instruction needs to be set?
Tagged:
0
Answers
-
You can find an example in the help manuals of robotstudio. You find it at File->Help->Documentation->RAPID Instructions, Functions and Data Types->Programming type examples->ERROR handler with movements or TRAP routines with movementA common approach is to move backwards on the same path.0
-
EricH said:You can find an example in the help manuals of robotstudio. You find it at File->Help->Documentation->RAPID Instructions, Functions and Data Types->Programming type examples->ERROR handler with movements or TRAP routines with movementA common approach is to move backwards on the same path.Lee Justice0
-
Hi @EricH , @lemster68 i will definitely look into the help documentation from Robot Studio. Will get with a progress update soon.
Thanks very Much for your suggestions.
Rahul-0 -
Using an Event Routine for Stop tied to a procedure that collects the current position of the robot might be simpler. Write a procedure that gets the position using CRobT or CJointT and writes it to variables, tie that procedure to an Event Routine for anytime the robot Stops, then use those variables in your error handling if an error is detected.
0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings