question

Aaupadhye avatar image
0 Likes"
Aaupadhye asked Carter Walch edited

Routing Logic to Identify if Conveyor is Full

In my model, in the middle area where the two split conveyors are, I want to somehow use a round robin system initially to fill up the conveyors with boxes. However, when these conveyors are full, I then want the boxes to route to whichever conveyor is not full. Is there custom code to do this?

mwfcbaggersim2.fsm

Thanks,

Amit

FlexSim 23.0.8
routingrouting logic
mwfcbaggersim2.fsm (128.4 KiB)
5 |100000

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

1 Answer

·
Carter Walch avatar image
2 Likes"
Carter Walch answered Carter Walch edited

Hi @Aaupadhye ,

mwfcbaggersim2.fsm

You can modify your On Arrival trigger to check the content of each conveyor before sending the item. In the attached model, by default the DP will perform round robin. But when one conveyor is full, it will send to the empty conveyor. When they are both full it will default to round robin again

dproundrobin.gif

This is done by checking the subnodes.length of each conveyor before sending the item. You can see the code in each decision point.

Hope this helps!


dproundrobin.gif (6.4 MiB)
mwfcbaggersim2.fsm (128.8 KiB)
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.