question

Amey Ramane avatar image
1 Like"
Amey Ramane asked Logan Gold commented

Logic for conveyor chutes to release cartons based on unique ID batch size

In our model, "GlobalTable1" is the Input table from where we are getting labels on each carton . There are 11 chutes in the model. We would like to build logic for chutes in following way :
1. All cartons with unique "Batch ID + Pallet ID" go in unique chute.
2. Unique " Batch ID + Pallet ID " cartons can take more than one chute as well . (e.g.. First Two/ Three chutes can hold cartons with Batch ID 392 and Pallet ID 1)
3. When all cartons belong to Unique " Batch ID + Pallet ID" receive at Chute/Chutes ( Total number of cartons can be backchecked from Input Table "GlobalTable1") then only my chutes should release cartons . (e.g. There are 38 cartons with Batch ID 392 and Pallet ID 1 , when all 38 are received in specific chutes then only all cartons should be released or sent to sink) FlexSim _Support.fsm

Can anyone please help us to build this logic .

Working model is attached herewith.


FlexSim 24.2.2
conveyorsystembatchingsorting conveyor
flexsim-support.fsm (84.0 KiB)
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Amey Ramane, was joaopedrostefani's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

joaopedrostefani avatar image
0 Likes"
joaopedrostefani answered Jeanette F edited

Hello Amey Ramane,

To meet the first requirement, you can create a code that concatenates the "Batch ID" with the "Pallet ID". To create this code, simply declare a string variable equal to Batch ID + Pallet ID. This approach allows you to link each conveyor to its respective code associated with the ProcessFlow activities.


To route boxes based on specific criteria, you can combine ProcessFlow activities with Decision Points. Use triggers in the On Continue > Send Item event, enabling you to define the destination of each box for each conveyor according to the configured logic.

To group cartons, use the Batch activity in ProcessFlow. In this context, each token represents an aggregated item.


If it’s necessary to control the item flow, you can implement the following commands:

Stop the item

token.item.up.as(Conveyor).itemData[item].stop();

Resume the item

token.item.up.as(Conveyor).itemData[item].resume();


These strategies enable the creation of logic to manage box flow and routing within the system.

5 |100000

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