# ATC GetQueueLevel  \[PickMaster 3\]

**URL:** <https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441>\
**Category:** PickMaster\
**Created:** [March 11, 2010, 2:13pm UTC](https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441 "2010-03-11T14:13:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Late](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@Late](https://tech-community.robotics.abb.com/u/Late)\
**Post date:** [March 11, 2010, 2:13pm UTC](https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441/1 "2010-03-11T14:13:49Z")

</div>

Hello!

I Have 5 Irb340 picker, 1 pick conveyor and 1 place conveyor. All robots are in the ATC and use same pick/place conveyor. The places are created by distance and user hook. Every 500mm the places are created. The nearest robot to the creating point is robot 1 and robot 5 is controlling start/stop signal for the conveyor. I need to adjust the speed of place conveyor by knowing how much is left in the place queue in robot 5. I need to have QueueLevel of each robots place area(between enter and exit). I was understanding that when I am using ATC The places between creating point and robot baseframe are seen in queuelevel.

What are the solutions for this?  
Please ask if not understanding.

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [March 12, 2010, 3:30pm UTC](https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441/2 "2010-03-12T15:30:21Z")

</div>

Hi Late,

Find the utility module on the forum (webwiz/148/UtilityMW.zip).  
Use the function AreaCount to count the number of products. Remember to first call ReadCnv_X_ in the beginning.

/Mats

---

<div class="post-metadata">

**Author:** ![oscar\_f](https://avatars.discourse-cdn.com/v4/letter/o/dbc845/32.png) [@oscar\_f](https://tech-community.robotics.abb.com/u/oscar_f)\
**Post date:** [June 3, 2010, 10:09am UTC](https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441/3 "2010-06-03T10:09:11Z")

</div>

I used it in RW5.13.  
I did this modifications:  
1)In IsQuickAct I used CONST num MinDropDist:=20000; instaed of CONST num MinDropDist:=2000; ( Is it correct?)

2)I changed the declaration LOCAL PERS num Cnv1BFdist:=0; to LOCAL VAR num Cnv1BFdist:=0; (to avoid an error when using the ReadCnvX)

---

<div class="post-metadata">

**Author:** ![Mats\_W](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mats\_W](https://tech-community.robotics.abb.com/u/Mats_W)\
**Post date:** [June 3, 2010, 10:22am UTC](https://tech-community.robotics.abb.com/t/atc-getqueuelevel-pickmaster-3/3441/4 "2010-06-03T10:22:52Z")

</div>

Oscar:  
I have made a new version of the Utility module, adapted for the RW5.13 changes: [~~webwiz/148/UtilityMW.5.13.zip~~](http://forums.robotstudio.com/webwiz/148/UtilityMW.5.13.zip) \*edit: webwiz/148/UtilityMW.zip
