question

Kari Payton avatar image
0 Likes"
Kari Payton asked Joerg Vogel commented

Is there a way for a combiner to pick one item from two ports?

I have two combiners that make the same item1. The next process is to combine ONE of these item1 with another item2. I'm not sure how to make the third combiner only pull one of item1 from either of the first two combiners. .multiple-combiners.fsm

FlexSim 16.1.0
combiners
5 |100000

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

Jeff Nordgren avatar image
2 Likes"
Jeff Nordgren answered Kari Payton commented

@Kari Payton

I modified your model (attached) so that Combiner8 would pull from the Bolts list when a flowitem comes in from Source9.

I also modified the colors and positions of the flowitems to be able to visually see better what is happening.

Combiner8 takes which ever flowitem was pushed to the list first from Combiner6 and Combiner7. Is this what you were looking to accomplish? If not, can you give more details of what you need your model to do?

multiple-combiners-jn1.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.

Kari Payton avatar image Kari Payton commented ·

Thanks. I did not realize, if I pushed an item to a list it doesn't disappear.... if that makes sense.

0 Likes 0 ·
LeGrand Gold avatar image
1 Like"
LeGrand Gold answered Joerg Vogel commented

The simplest way is to have the first two combiners feed a single queue that then feeds the third combiner. You can set the capacity of the queue to 1 or use its OnEntry trigger to sort the incoming items based on a priority.

· 2
5 |100000

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

Kari Payton avatar image Kari Payton commented ·

I don't want the first two combiners to start processing until the third combiner pulls the item. So if I put the item on a queue, the combiner will start processing. Is there any way to stop the process until the item has been pulled from the queue?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Kari Payton commented ·

stopobject vs. resumeobject

0 Likes 0 ·

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.