Coordinate operators and open ports depending on the number of pieces

Coordinate operators and open ports depending on the number of pieces

Eusebio
Not applicable
10 Views
2 Replies
Message 1 of 3

Coordinate operators and open ports depending on the number of pieces

Eusebio
Not applicable

[ FlexSim 22.2.0 ]

In the model I have two problems, the first is that when Queue2 reaches a minimum of 25 pieces, the input port must be opened and Operator1 must start filling the Queue again until reaching 100 pieces and so on.

The other problem is that in Queue3 a batch of 50 is formed, when this happens an operator must take that batch to Queue4 and when another batch is put together in Queue3 another operator must go different from the first one and so on until returning to operator1. The problem I have is that all three operators go at the same time every time a batch is formed.


Could you help me solve this problem? Thank you very much.


Gasca 2022.fsm

0 Likes
Accepted solutions (1)
11 Views
2 Replies
Replies (2)
Message 2 of 3

adam_c1
Not applicable
Accepted solution

For the first question, you can add these code blocks to the denoted triggers on Queue2:

//On Entry Trigger - Close input at 100 pcs
if (current.subnodes.length >= 100)
{
current.input.close();
}

//On Exit Trigger - Open input at 25 pcs
if (current.subnodes.length <= 25)
{
current.input.open();
}

For the second question, you could hook up Queue3 to a dispatcher that uses 'Round Robin' as the Pass To logic. This will always rotate through your connected operators when assigning the transport task. Or use 'Round Robin if Available' if it is ok to skip assigning to one operator if they are busy and another is available immediately.

Edit: If you want one operator to move all 50 pieces, one at a time, it is not as simple. I would probably use process flow to create the task sequence but still pass it to the dispatcher as mentioned above. Have the queue push the parts to a list, and once you can pull 50 from the list in process flow perform a TRAVEL/LOAD/TRAVEL/UNLOAD for each pulled part.

0 Likes
Message 3 of 3

Eusebio
Not applicable

Thank you for the answer to the first question, it was very useful.

For the second question, as you say it is more complex, I will try it with Process Flow. Thank you very much for your support.

0 Likes