Rotate tool relative to Oframe
in RobotStudio
Hello all,
I'm a newbie in programming robots and i've been searching in this forum and i haven´t found it.
So, here it goes:
I pick up the boxes with a gripper from a feeder and i need to put those boxes on a table.
Each box has a orientation that is passed to the robot, so i need to rotate the box/gripper
x degrees relative to the object frame that i already defined.
How do i do that?
The function relTool don't do what i need since it rotate the box/gripper relative to the tool frame,
i need to rotate relative to the object frame.
Thanks in advance, any help is welcome.
0
Answers
-
Hi,
How does the robot receivethe information about the rotation? Is it an euler angle or Quaternion? I'm new to this as well but i'll try and help
0 -
If you program your targets in the object frame Work Object, then the orientation will be defined by the object frame.
0 -
Hi Nunovsky_ABB,I haven't tested any of this I'm writing but it might be possible to do it like this:VAR pose OrientationOffset;PROC TurnTool()OrientationOffset.rot := OrientZYX(YourAngle,0,0);PdispSet OrientationOffset;ENDPROCDepending on how your workobject is defined, it might have to be another axis that you have to turn around.When you have placed the box, remember to turn off the PDisp, with PdispOff - Else you will pick up with the previous angleMayby it can give some inspiration!Regards, LarsLars Glud
Danrob A/S0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 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