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 I have to improve my own routine
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.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