question

Tushar H avatar image
0 Likes"
Tushar H asked Tushar H commented

Control conveyor as per variable time

Hello All,

In this model box2 coming from conveyor1 and transfer to conveyor 2 but I want that Conveyor 2 input port (EntryTransfer2) will open for every 1000 seconds and transfer 20 qty to conveyor 2 from conveyor 1. I want this for 2 cycles but for 3rd cycle Conveyor 2 input port (EntryTransfer2) will open for 3500 seconds its means 500 seconds late only for 3rd cycle. again, for next cycle it will open for 4000,5000,6000........seconds.

I want this without changes in source1.

Please find the attached model for referenceControl conveyor.fsm

Thank you

FlexSim 23.0.1
conveyors
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Tushar H commented

You can do this with a simple process flow.

1675676928086.png

The left part closes the output of the first conveyor's Exit Tranfers at the start of the model and then opens it periodically. The delay has custom code with if-conditions in it to handle the special case at 3500s.

The right part closes the input every time 20 items have entered the second conveyor.

control-conveyor-fm.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.

Tushar H avatar image Tushar H commented ·

Thank You so much for your support @Felix Möhlmann

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.