question

Miguel Pereira avatar image
0 Likes"
Miguel Pereira asked Jeanette F commented

Problem in Wait for Event and Task Sequence

Hello,

In a Wait for Event on my process flow "Fluxo dos AGV", what i want is to only continue when the objects carried by the plane, reaches that Queue. I even disconnected the Queue from the processor to see if that happens, but my wait for event isn't woking at all, never reaches there.

Although, even if I clean that field, it just continues when the objects get there (so it also works), but this error appeared.

capturar.png

How can i solve it?

Here's the project file: Aeroporto.fsm

Thanks, Miguel Pereira.

FlexSim 21.0.5
processflowtasksequencesubflowagv load
capturar.png (6.7 KiB)
aeroporto.fsm (2.5 MiB)
· 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.

Regan Blackett avatar image Regan Blackett ♦ commented ·

Your wait for event activity will never release its tokens because you are saying that you want a label on the tokens called "Bagagens" to match in order to be released, but your tokens do not have a label called "Bagagens" on them to match with the entering items into your queue. Even if you remove that match requirement you are going to get errors at your load because you are referencing that Bagagens label again but it doesn't exist on the tokens that represent your AGVs.

When the planes drop off those bags, they should probably be pushed onto a list then allow your AGV tokens to pull them from that list so you have a proper reference to the things you want to load/unload.

0 Likes 0 ·
Miguel Pereira avatar image Miguel Pereira Regan Blackett ♦ commented ·
Alright, i think i understood what you've said, i'll try it. Thanks.
0 Likes 0 ·
Miguel Pereira avatar image Miguel Pereira Regan Blackett ♦ commented ·

Hi again, i've tried that but i have a problem, the process flow gets interrupted on that process "push to list" and can't go on.

capturar.png

First, i've tried to simply put it before the travel to origin, and then i've made a split to connect it to a sink and didn't worked. So, i've made a new list called Bagagens de Outro Aero, i push the items to that list and then i pull where i want. (basically where i painted in blue).


What am i doing wrong?


Oh, and the token i push is the one i've assigned in the first Pull from list on "Fluxo dos Aviões".

The "token.GrupodeBagagens"

Thanks.

0 Likes 0 ·
capturar.png (72.0 KiB)
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Miguel Pereira, was José Antonio MD's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
José Antonio MD avatar image
0 Likes"
José Antonio MD answered José Antonio MD commented

Hello @Miguel Pereira ,

As Regan explains, with a simple push/pull you can achieve it. I attach an example. To continue in a push activity you can use (MaxWaitTimer & Keep On list), create an independent token, link push to another event.

I hope I have been helpful.

21.0. Ejemplo_Move_List.fsm


· 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.

Miguel Pereira avatar image Miguel Pereira commented ·
Hello,


Oh okay, i made it wrong then, i putted the "push to list" in the middle of the task sequence, thanks for the explanation.

0 Likes 0 ·
Miguel Pereira avatar image Miguel Pereira commented ·

Hi @José Antonio MD,

I've tried what you did and i came to one thing, if i do the way you did, i will not need a "Wait for Event" right? Because the bags will only get pulled when they reach there...

Or i still need that Wait for Event ?


Thanks.

0 Likes 0 ·
José Antonio MD avatar image José Antonio MD Miguel Pereira commented ·
Yes, you don't need Wait for Event. The Pull activity replaces the wait for event in your case.
1 Like 1 ·

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.