question

Marco Busatto avatar image
0 Likes"
Marco Busatto asked Jason Lightfoot edited

How to make the Task Executer wait until a queue is empty?

Hi,

In my model (flexsim-transfer-question12.fsm), I want the task executer "Transfer1" to take 18 boxes from the queue called "Only boxes" to the queue called "RM1 buffer" and to wait until the RM1 buffer is empty again before travelling back to its origin.

I can see that the task executer "Transfer1" moves back to pick up 18 more boxes as soon as there are 18 boxes ready in the queue "Only boxes" instead of waiting for the "RM1 buffer" to be empty first.

How can I do to make the Transfer1 wait until RM1 buffer is empty before it travels back to its origin?

Thank you in advance!

process flowqueuetask executerwait for event
· 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.

Bradley S avatar image Bradley S commented ·

I have a very similar question. I need my ASRS to get the item while it is waiting for my Task Executer to deliver its items and this works well when I don't use process flow and make the "maximum content" of the queue set to 1. However, using process flow logic this doesn't work. Please Let me know if there is any way to fix this. Thanks


Optimization_autosave.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Bradley S commented ·

It's going be an answer specific to your question so you should post a fresh question, which will be better tracked. When you do maybe you could explain at which point you first see something going wrong and what you expect to happen. It sounds like you want the ASRS to alternate between pulling out of the racks and putting into them when there are both jobs - but a more detailed description will help.

0 Likes 0 ·

1 Answer

·
Braydn T avatar image
0 Likes"
Braydn T answered

@Marco Busatto

The easiest way I can think of is to add process flow for Transfer1's logic, and add a wait for event before you release Transfer after it drops off the items at RM1.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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