question

Amey Ramane avatar image
0 Likes"
Amey Ramane asked Gustavo Teodoro answered

How to unload all units one by one from Tote using Run Subflow ?

Hi Everyone,

I am trying unload all the units from tote one by one on conveyor . Currently, only one unit is getting unloaded . Can someone please suggest me , how to unload all units using Runsubflow.

Thank you.

UnloadingUnitsFromTote.fsm

FlexSim 24.0.1
unload itemsrunsub flow
5 |100000

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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Amey Ramane commented

Run Sub Flow activity set option > Run Tokens One at a Time

Load activity in Sub Process Flow is unnecessary

Unload activity Parameter for item: token.CartonMono.last or perhaps .first

I have added a delay of 1s to see it a bit better visually.

There aren't some labels necessary anymore. Please check it yourself.

unloadingunitsfromtote_jv.fsm


· 1
5 |100000

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

Amey Ramane avatar image Amey Ramane commented ·
@Joerg Vogel Thank you for the quick fix ! It is working fine !
0 Likes 0 ·
Gustavo Teodoro avatar image
0 Likes"
Gustavo Teodoro answered

Another option is to run only one token in the subflow and add a decision immediately after the Unload. In the decision condition, check if there are still any items in CartonMono using the logic token.CartonMono.subnodes.length > 0. As long as there are items to unload, the operator will unload them one by one. I have attached the file as an example.

FX_Unloadingunitsfromtote.fsm


5 |100000

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