Hey everyone,
I am trying to create a go home routine in which the robot records it's position, moves from that position in the x direction to a point -300mm away from UF1 using a linear move, and then goes to P[1] (which is the home position). I wrote this code, but the teach pendant is not loading it which generally means there is a syntax error. Can anyone tell me where my mistake is? Thank you in advance.
/PROG A_HOME
/MN
1: UFRAME_NUM = 1 ;
2: UTOOL_NUM = 8 ;
3:L PR[5] = LPOS 50mm/sec CNT85 ACC65 ;
4: PR[5,1] = -300 ;
5:J P[1] 5% FINE ;
/POS
P[1]{
GP1:
UF : 1, UT : 8,
J1= 0.00 deg, J2= -45.00 deg, J3= 0.00 deg,
J4= 0.00 deg, J5= 0.00 deg, J6= 0.00 deg
};
/END