switch separator to unpack in FIFO order (vs default)

switch separator to unpack in FIFO order (vs default)

dewriffic16
Not applicable
11 Views
2 Replies
Message 1 of 3

switch separator to unpack in FIFO order (vs default)

dewriffic16
Not applicable

[ FlexSim 22.0.16 ]

In the details for the separator it states:

Unpacking Order

When the Separator is in unpack mode, it unpacks the container flow item from back-to-front, meaning it pulls the last item in the container out first, then the second to last, and so on. If you want flow items to be unpacked out in a certain order, then set their rank in the entry trigger.

I'm interested in doing the steps highlighted in green but I'm not sure if this needs to be done at the combiner or at the separator itself? Is this done via a label I have to make, or is there some other easier method? Any help on this would be great, I'm just looking to unpack the item that was packed first (maintain FIFO in and out of a tote.

Thanks in advance!

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

moehlmann_fe
Observer
Observer
Accepted solution

You can use a simple for-loop to reverse the order of items in the tote in the tree.

for(int i = 2; i <= item.subnodes.length; i++)
{     item.subnodes.rank = 1; }

This can in theory be done at any point between the combiner having received all items and the separator finishing its process. The separator's entry trigger is a good choice.

separator_fifo.fsm

Message 3 of 3

dewriffic16
Not applicable
Thank you! This should work perfect.
0 Likes