# GetQueueLevel IRC5  \[PickMaster 3\]

**URL:** <https://tech-community.robotics.abb.com/t/getqueuelevel-irc5-pickmaster-3/865>\
**Category:** PickMaster\
**Created:** [September 26, 2006, 12:27pm UTC](https://tech-community.robotics.abb.com/t/getqueuelevel-irc5-pickmaster-3/865 "2006-09-26T12:27:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hawesr](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@hawesr](https://tech-community.robotics.abb.com/u/hawesr)\
**Post date:** [September 26, 2006, 12:27pm UTC](https://tech-community.robotics.abb.com/t/getqueuelevel-irc5-pickmaster-3/865/1 "2006-09-26T12:27:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![createch](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@createch](https://tech-community.robotics.abb.com/u/createch)\
**Post date:** [September 27, 2006, 10:34am UTC](https://tech-community.robotics.abb.com/t/getqueuelevel-irc5-pickmaster-3/865/2 "2006-09-27T10:34:22Z")

</div>

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
