Hello,
Can someone test this code on an IRB 4600-60/2.05 with RW 6.13.01.00:
MODULE Module1
TASK PERS tooldata tGripper_LS:=[TRUE,[[-162.201,7.50024,492.289],[0.653041,-0.653041,-0.271179,-0.271178]],[1,[0,0,1],[1,0,0,0],0,0,0]];
TASK PERS wobjdata wLTrfRWay_LS:=[FALSE,TRUE,“”,[[1329.56,-494.855,690],[1,0,0,1.78363E-8]],[[420.69,-24.75,-40],[1,0,0,0]]];
CONST robtarget pEntryLTrfRWay_LS:=[[-600,-250,200],[0.707106781,0,0,0.707106781],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]];
PROC main()
!Add your code here
MoveAbsJ [[-9.56,-50,20,0,30,90],[9E9,9E9,9E9,9E9,9E9,9E9]]\NoEOffs,v1000,z50,tGripper_LS\WObj:=wobj0;
SingArea\Off;
MoveL pEntryLTrfRWay_LS,v1000,z50,tGripper_LS\WObj:=wLTrfRWay_LS;
MoveAbsJ [[-9.56,-50,20,0,30,90],[9E9,9E9,9E9,9E9,9E9,9E9]]\NoEOffs,v1000,z50,tGripper_LS\WObj:=wobj0;
SingArea\LockAxis4;
MoveL pEntryLTrfRWay_LS,v1000,z50,tGripper_LS\WObj:=wLTrfRWay_LS;
MoveAbsJ [[-9.56,-50,20,0,30,90],[9E9,9E9,9E9,9E9,9E9,9E9]]\NoEOffs,v1000,z50,tGripper_LS\WObj:=wobj0;
SingArea\Wrist;
MoveL pEntryLTrfRWay_LS,v1000,z50,tGripper_LS\WObj:=wLTrfRWay_LS;
ENDPROC
ENDMODULE
SingArea\Off; Works fine
SingArea\Wrist; Works fine, but tool orientation is not kept (I need it)
SingArea\LockAxis4;
The robot move strangely to, in final, trig an error…
The thing is that All my position are calculated and in some case, I need this SingArea\LockAxis4.
Thanks