HELLO!
My name is George. I am a new user on the forum, forgive my English, but I need help.
Ok. My problem is that I want to program pipe welding through a single point, but when running the TCP program the tool does not stand still. ie robot makes unnecessary movements. And I have, together with the positioner, the robot describes other movements. At the same time, in step mode at the point P_SVARKA2,P_SVARKA3, p_svarka4 the Coordinates in jogging do not coincide with the set values of the point. If you record these movements by points( commented in the program, everything is fine) How to cope with it? help please!
I have robot is IRB 4600 and IRBP_L300_L1250_M2009_REV1_01 positioner.
Here is my program:
R is the pipe radius.
l is long from the center point to the weld.
My workobject has the following parameters:
NAME WbjSTN2
Robot holds workobject False
moved by mechanical unit stn1
programmed false.
the center of the my workobject and the direction of the axes coincide with the coordinate system of the positioner faceplate.
Axis x is directed upwards; axis Y is directed to the left.
MODULE TRUBA
LOCAL VAR robtarget P_SVARKA1:=[[10,0,124],[0.332717,0.635377,0.400919,-0.569964],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,0,9E+9]];
LOCAL VAR robtarget p_svarka2;
LOCAL VAR robtarget p_svarka3;
LOCAL VAR robtarget p_svarka4;
LOCAL VAR robtarget p_svarka5;
VAR num R;
VAR num L;
TASK PERS seamdata seam1:=[0,0,[0,0,0,0,0,0,0,0,0],0,0,0,0,0,[0,0,0,0,0,0,0,0,0],0,0,[0,0,0,0,0,0,0,0,0],0,0,[0,0,0,0,0,0,0,0,0],0];
TASK PERS welddata weld1:=[10,0,[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];
PROC R_TRUB2()
actunit stn1;
R:=10;
L:=124;
P_SVARKA1.trans:=[R,0,L];
p_svarka2:=[[0,-R,L],[0.302898,0.131523,0.638947,0.694767],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,90,9E+9]];
p_svarka3:=[[-R,0,L],[0.705456,0.544804,0.358803,0.277093],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,180,9E+9]];
p_svarka4:=[[0,R,L],[0.694767,0.638947,-0.131523,-0.302898],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,270,9E+9]];
p_svarka5:=[[R,0,L],[0.277093,0.358803,-0.544804,-0.705456],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,360,9E+9]];
MoveJ Offs(P_SVARKA1,R+200,0,0),v200,z50,tweldgun\WObj:=Wbjstn2;
ArcLStart P_SVARKA1,v200,seam1,weld1,fine,tWeldGun\WObj:=WbjSTN2;
ArcC P_SVARKA2,P_SVARKA3,v200,seam1,weld1,z0,tweldgun\WObj:=Wbjstn2;
ArcCend P_SVARKA4,P_SVARKA5,v200,seam1,weld1,fine,tweldgun\WObj:=Wbjstn2;
!MoveC [[0.00,-10.00,124],[0.302898,0.131523,0.638947,0.694767],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,90,9E+9]], [[-10.00,-0.00,124],[0.705456,0.544804,0.358803,0.277093],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,180,9E+9]], v200, z10, tWeldGun\WObj:=WbjSTN2;
!MoveC [[-0.00,10.00,124],[0.694767,0.638947,-0.131523,-0.302898],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,270,9E+9]], [[10.00,0.00,124],[0.277093,0.358803,-0.544804,-0.705456],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,360,9E+9]], v200, z10, tWeldGun\WObj:=WbjSTN2;
ENDPROC
ENDMODULE