6 Programación
6.4.2 Ejemplo "UnsyncArc" con movimientos independientes
Continuación
Tarea de programa T_ROB2
62
...
CONST robtarget p14 := ...
PROC main()
...
IndependentMove;
...
ENDPROC
PROC IndependentMove()
MoveL p11, v500, fine, tool1\WObj:=wobj1;
MoveC p12, p13, v500, z10, tool1\WObj:=wobj1;
MoveC p14, p11, v500, fine, tool1\WObj:=wobj1;
ENDPROC
ENDMODULE
MODULE module2
TASK PERS wobjdata wobj2 :=
[ FALSE, TRUE, "",
[ [500, -200, 1000], [1, 0, 0 ,0] ],
[ [100, 1200, 100], [1, 0, 0, 0] ] ];
TASK PERS tooldata tool2 := ...
CONST robtarget p21 := ...
...
CONST robtarget p24 := ...
PROC main()
...
IndependentMove;
...
ENDPROC
PROC IndependentMove()
MoveL p21, v500, fine, tool2\WObj:=wobj2;
MoveL p22, v500, z10, tool2\WObj:=wobj2;
MoveL p23, v500, z10, tool2\WObj:=wobj2;
MoveL p24, v500, z10, tool2\WObj:=wobj2;
MoveL p21, v500, fine, tool2\WObj:=wobj2;
ENDPROC
ENDMODULE
© Copyright 2004-2021 ABB. Reservados todos los derechos.
Manual de aplicaciones - MultiMove
3HAC050961-005 Revisión: F