Hi Everyone,
I'm currently working with an IRB6700 in a robotic cell.
I have a custom workobject (wobjMachine) aligned with a certain machine.
I need to take a robtaget (p2), at the same coordinates of another point (p1) BUT rotated of 45 degrees around the y-axis of the wobjMachine.
How can i write it down?
I tried with:
p2:=RelTool(p1,0,0,0,\Rx:=0,\Ry:=45,\Rz:=0);
MoveL p2, v100, fine, toolGripper\WObj:=wobjMachine;
OR
p2:=p1;
Y:= EulerZYX(\Y, p1.rot);
X := EulerZYX(\X, p1.rot);
Z := EulerZYX(\Z, p1.rot);
p2.rot:=OrientZYX(Z,Y+45,X);
MoveL p2, v100, fine, toolGripper\WObj:=wobjMachine;
But none of theese line works, it seems it keeps reorienting around the tool, and i don't want it.
How can i do?