question

Nouf avatar image
0 Likes"
Nouf asked Ben Wilson commented

Send flow item to different queues based on availability

Hello there,

In this project, I have two types of flow items, one is red, and the other is green. I have two separate conveyors, and each one is connected with three different queues, and their capacity is one.

I want the flow item to get to the first available queue. For example, when Queue1 reaches the maximum number of items, which is one, it fires a trigger and sends a message to DP5 that Queue1 is busy.

So, when another flow item comes, it will go to Queue2, and so on. When all queues are busy (all of them have one flow item), DP5 fires a trigger and sends a message to DP4 that all queues are busy. Therefore, rotate the flow items until a queue gets available.

Your help with this would be greatly appreciated!

ConveyorSystem.fsm

FlexSim 20.2.0
conveyorqueuetriggersdpdestination point
capture.png (397.5 KiB)
conveyorsystem.fsm (59.3 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Nouf , was Gokulakrishnan Kandasamy's answer helpful? If so, please click the red "Accept" button on 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 unaccept or comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Gokulakrishnan Kandasamy avatar image
0 Likes"
Gokulakrishnan Kandasamy answered Gokulakrishnan Kandasamy edited

@Nouf I think this is what you are expecting. If any help required kindly let me know conveyorsystem.fsm

Regards,

GK


1605781691092.png (116.2 KiB)
conveyorsystem.fsm (64.4 KiB)
conveyorsystem.fsm (64.6 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.