hawesr
1
We use GetQueueLevel for a couple of applications on S4C. We have tried to use same in IRC5 but it appears to be unrecognised.
In S4C GetQueueLevel(PickIndex1)
IRC5 GetQueueLevel(PickIndex{1}) ?
I cannot find any documentation for GetQueueLevel in any of our manuals
Please find below example on the placeindex:
PROC Place(num Index)
Coordinated;
WObjPlace:=ItmSrcData{Index}.Wobj;
nQueueLevel:= GetQueueLevel(ItmSrcData{Index}.ItemSource);
GetItmTgt ItmSrcData{Index}.ItemSource,PlaceTarget;
MoveLConc,RelTool(PlaceTarget.RobTgt,0,0,-ItmSrcData{Index} .OffsZ),MaxSpeed,z20,Gripper1WObj:=WObjPlace;
TriggLConc,PlaceTarget.RobTgt,LowSpeed,ItmSrcData{Index}.Va cuumRev1T2:=ItmSrcData{Index}.VacuumOff1,z1Inpos:=ItmSrcDa ta{Index}.TrackPoint,Gripper1WObj:=WObjPlace;
GripLoad load0;
TriggL RelTool(PlaceTarget.RobTgt,0,0,-ItmSrcData{Index}.OffsZ),Low Speed,ItmSrcData{Index}.Ack,z20,Gripper1WObj:=WObjPlace;
IF nQueueLevel <16 THEN
setGO GOQueueLevel,nQueueLevel;
ELSE
setGO GOQueueLevel,15;
ENDIF
UnCoordinated;
ENDPROC
BR
Fabrice