question

cameron seams avatar image
0 Likes"
cameron seams asked Kevin Lavely answered

Pick up 2 boxes from queue using a TaskExecuter on AGV path

I am trying to pick up 2 boxes from a queue using a TE on an AGV path. There are 5 TE's that each need to pick up 2 boxes.

I have tried changing the queue to perform batching as well as altering the TE capacity to 2. This does not work.

Any help is much appreciated.

agvqueueload multiple item
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

cameron seams avatar image cameron seams commented ·

Also, the queue has a capacity of 2 boxes

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·

You tried also to set Break To Requirement to the same load station and to look for at the dispatcher of the AGV.

0 Likes 0 ·
Michael Kramer avatar image
2 Likes"
Michael Kramer answered jing.c commented

Cameron, here's a simple version using Process Flow.

agv-loadunload.fsm


agv-loadunload.fsm (32.7 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Michael Kramer avatar image Michael Kramer commented ·

Cameron, you could add a combiner to your model then add a source of pallets as the first input, the boxes as the second input, and set the "From Input Port 2" on the combiner to whatever you want.

agv-loadunload-1.fsm

2 Likes 2 ·
cameron seams avatar image cameron seams commented ·

Michael,

Thank you for the example. Is it possible to do this without process flow? Thanks!

@Michael Kramer

1 Like 1 ·
jing.c avatar image jing.c cameron seams commented ·

Cameron,

I use another method to do it without processflow. No dispatcher, combiner and pallet, I think it can make your model look clarity.

agv-loadunload-2.fsm

By the way, I report two code errors in option "First Available Unless Preempting" of PassTo trigger in Dispatcher. @Matthew Gillespie

The above pic is the right code, and the below is the wrong one.

A missing "(" in Line14.

A redundant ")" in Line26.

0 Likes 0 ·
2.png (78.6 KiB)
1.png (70.8 KiB)
cameron seams avatar image cameron seams commented ·

This works great and is just what I was looking for. Thank you

0 Likes 0 ·
Joerg Vogel avatar image
3 Likes"
Joerg Vogel answered Daniel Saravia commented

The character of an AGV system is that transport tasksequences are distributed to the TEs each time if one is available for a tasksequence to transport one item. Therefore if you know that there are two transport tasksequences you have to dispatch manually the second transport tasksequences to reserve it for the TE when the first transport tasksequence is transferred to the TE. Then you change the break tasks parameters of the first tasksequence that it breaks to the second tasksequence automatically. Please look for tasksequences in the manual especially for the tasktypes quick reference TASKTYPE_BREAK and the command movetasksequence. A good practice is it to close the input of the TE when the TE gets its first new transport tasksequences otherwise the TE might get a second transport tasksequence by the dispatcher.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

cameron seams avatar image cameron seams commented ·

agv-loadunload-multipleitems-example.fsm

Jorg, I have attached a basic sample model for you to take a look at. I seem to be missing some of the logic in your description above. Your help is much appreciated as I am newer to modeling the AGV systems.

As you can see in the sample attached, the AGV's cannot load 2 boxes, then drop two boxes off. They are capped at maximum 1 box.

@Jorg Vogel

0 Likes 0 ·
Daniel Saravia avatar image Daniel Saravia commented ·

I have the same issue. Can you clarify? or gives an example so we can copy the code.

0 Likes 0 ·
Kevin Lavely avatar image
0 Likes"
Kevin Lavely answered

TE properties allows you to specify capacity, I have 3 systems multiple TE's in each system. One carries 2, another 6, and another 4. also you can specify load and unload time. Load unload times are per part ie: Capacity 2 Load time 30 Actual 2*30=60

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.