Move relative along tool axis
Hello everyone,
I'm currently working on a problem that the user/operator should move the selected tool along its z-axis by a given value (typed in on the controller)
Problem is that I can move the tool with command but I have allways to specify the target coordinates.
I want a move command that allows me to say like "Move 50mm, along +z, tool1"
Currently I am reading out orientations and tcp position and doing some math to calculate the end position but with flipped coordinate system you get changes in your pos/neg axis directions and so the PROC is getting bigger and bigger.
So my hope is that there is a command/option that allows me to move like the way described above. If not
I have to improve my own routine
Any help would be very appreciated
Thx
I'm currently working on a problem that the user/operator should move the selected tool along its z-axis by a given value (typed in on the controller)
Problem is that I can move the tool with command but I have allways to specify the target coordinates.
I want a move command that allows me to say like "Move 50mm, along +z, tool1"
Currently I am reading out orientations and tcp position and doing some math to calculate the end position but with flipped coordinate system you get changes in your pos/neg axis directions and so the PROC is getting bigger and bigger.
So my hope is that there is a command/option that allows me to move like the way described above. If not


Any help would be very appreciated
Thx
0
Comments
-
if you get the current position and then use reltool to offset it in the z direction and move the the offset position i think it will do what you want.0
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