Change the TCP Position in Rapid
Hy there,
I want to write a Programm for a Spraying Process. One of the Spraying parameters is the distance to the workobjekt. Is it possible to change the TCP Position from the spraying gun, perhaps with a variable in the Rapid code? Or is there any other way to do this? The reason for this is that it is necessary to change the spraying distance a few times for the same path. So with a variable in the Code I could change the distance directly online.
Thanks guys
0
Comments
-
you can edit the tool in rapid to acheive this.or possibly create multiple tools and switch between them.0
-
You could try something like this:Tool_temp:=Tool_spray;FOR i FROM 10 TO 30 STEP 10tool_temp.trans.z:=tool_temp.trans.z+i;MoveL p10, v1000, z10, tool_temp;MoveL p20, v1000, z10, tool_temp;ENDFORLee 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