I am trying to avoid robtarget configuration errors (50080) during program execution using multiple work objects with a similar position.
For instance, I have multiple work objects radially oriented around the robot in different axis 1 configurations (-1,0,1, etc.). In each one of these work objects I want to have the TCP touch the origin with no rotation; so I define a single robtarget to use in the different workobjects (p1).
Such as:
CONST robtarget p1:=[[0,0,0],[1,0,0,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
.
.
.
MoveL p1, vmax, z10, tGripperWObj:=WorkObject1;
MoveL p1, vmax, z10, tGripperWObj:=WorkObject2;
MoveL p1, vmax, z10, tGripperWObj:=WorkObject3;
Will doing multiple moves like above result in 50080 errors? Or is there a more efficient way to avoid configuration errors when using the same position in multiple locations?
Could I change the robtarget configuration component on the fly? Such as:
[code]p1.conf.cf1:=*
!// * being -1,0,1 et cetera[/code]