question

Abder23 avatar image
0 Likes"
Abder23 asked Abder23 commented

Trigger Queue


Hi,

I am trying to acheive this result: paletts are created in queue1 using a schedule, using process flow i want the operator to place a palett in queue2 only if there is paletts in queue1 and queue2 is idle. Is there a way to do it all in processflow by using trigger queue2?

Thank you

1719330213381.png


modelQ.fsm

FlexSim 24.1.0
processflow
1719330213381.png (163.7 KiB)
modelq.fsm (36.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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Abder23 commented

Event On Content change through or by value in Queue 2. Then a token gets created and a process can start.

· 3
5 |100000

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

Abder23 avatar image Abder23 commented ·

hi Joerg,

I tried to trigger on "Decrease to or Through value" but it didn't start!

Could you please take a look at it?

Thanks

1719421657920.pngmodelq.fsm


0 Likes 0 ·
1719421657920.png (144.5 KiB)
modelq.fsm (40.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann Abder23 commented ·

The Event-Triggered Source can only trigger when the content actually changes. As such, you need to create a single initial token to kickstart the process.

modelq_1.fsm

You can also remodel the flow so that the 'item-tokens' wait for the queue to become empty. The Wait for Event activity can let tokens through if the current value satisfies the condition in the moment the token enters.

modelq_2.fsm

0 Likes 0 ·
modelq-1.fsm (40.8 KiB)
modelq-2.fsm (39.7 KiB)
Abder23 avatar image Abder23 Felix Möhlmann commented ·
Thant you so much Felix and Joerg!


0 Likes 0 ·