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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 338 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings