Hi, I would like to know if there is the possibility to suggest a preferred configuration from the rapid code, instead of setting each individual configuration.
I have a loop who iterate trough all the point to be reached, and i tried to set the configuration:
FOR i FROM indexFrom TO indexTo STEP indexStep DO
POINTS{i}.robconf := [0,0,0,0]
MoveL RelTool(POINTS{i},offX,offY,offZ),vmax,z100,TOOL\WObj:=WRKOBJ;
ENDFOR
But of course instead of [0,0,0,0] I would like to suggest one of the following configuration:
[-1,0,-1,1]
[-1,1,-1,1]
[-1,0,-1,0]
[-1,1,-2,0]
[-1,0,-2,0]
[-1,1,-2,1]
Where the forth axis is always pointing in the same direction:
An idea could be, if possible, to check the available configurations (like in robotstudio) from each target, and than check if is also present in the list of the suggested configuration?
Thanks!
