question

Jeff Kaczmarczyk avatar image
0 Likes"
Jeff Kaczmarczyk asked Kari Payton commented

Close / Open input port

A flowitem in my model can get processed at either M1C1 rough or M1C2 rough and then needs to be processed at M1 spectrometer.

Once a flowitem enters M1C1, I want to close the input of M1C1 and not allow another flowitem to enter until the first flowitem has been processed at both M1C1 rough & M1 Spectrometer and passes back thru M1C1 and out to Tested drive queue.

I cannot get the closeip logic to work. Any suggestions?

lrt-sim-040418.fsm

closeinput
lrt-sim-040418.fsm (16.9 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.

Joerg Vogel avatar image Joerg Vogel commented ·

I recommend that you read the command reference for "closeip". The use of closeip is only allowed for objects of the fluid library. All other objects control their input alone by the commands closeinput. If you need to control multiple inputs or outputs of objects then the classic method consists of inserting queues at the input or output side of the objects for each connection and control the input or output of the queues.

0 Likes 0 ·

1 Answer

Kari Payton avatar image
0 Likes"
Kari Payton answered Kari Payton commented

procflowexample.fsm

I suggest using process flow. See the example attachment. @Jeff Kaczmarczyk

1. Create source, enter zone and create object. The zone limits to only 1 item at a time processing.

2. Move object to the processor. Wait for process to finish. Move to next processor.

3. Repeat until the item has visited all processors that you want and then exit the zone.


procflowexample.fsm (25.2 KiB)
· 4
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 Kaczmarczyk avatar image Jeff Kaczmarczyk commented ·

@Kari Payton

I'm using Flexsim 2017 version 17.0.13 can you send the example file in this verison?

Thanks.

Jeff

0 Likes 0 ·
Kari Payton avatar image Kari Payton Jeff Kaczmarczyk commented ·
0 Likes 0 ·
Jeff Kaczmarczyk avatar image Jeff Kaczmarczyk Kari Payton commented ·

Thank you @Kari Payton

That was a great Idea and works for my application. Im now trying to integrate a operator into my simulation. I'm looking to add a load time of 5 sec at each queue zone. Do you know of an easy way to do this?

lrt-sim-040818c.fsm

0 Likes 0 ·
lrt-sim-040818c.fsm (34.2 KiB)
Show more comments