question

Sara W2 avatar image
0 Likes"
Sara W2 asked Sara W2 commented

How to close/open input port when item type changes

Hello,

I really need help about how can I open or close an input port of the processor when the another input port changes its item type (the processor has 2 input ports in total).

The attached model has one processor which has two input port (the queue and the separator), the function of the model that I want is this:

- First, the queue send 4 cylinders to the processor until its content==0 and close.

- Now, the separator starts sending items to the processor until the item type changes, in this moment, the separator close its output to the processor and reopen the queue.

every time the separator changes the item type, closes this port and immediately the first input (the queue) opens and begins the delivering to the processor.

- and so on.

Any help would be much appreciated.

modo-15.fsm

FlexSim 18.1.2
item type changesclose input port
modo-15.fsm (58.0 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

Joshua S avatar image
1 Like"
Joshua S answered Sara W2 commented

Take a look at the changes I made and see if it is what you are looking for. All the changes I made are in the triggers for the Separator and the Queue.

19511-modo-15.fsm


19511-modo-15.fsm (59.1 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.

Sara W2 avatar image Sara W2 commented ·

Thank you Joshua S.

0 Likes 0 ·