question

Jesús Padilla avatar image
0 Likes"
Jesús Padilla asked Felix Möhlmann answered

Event-Triggered Source On Pre Arrival of CP Creates 2 tokens

Having an Event-Triggered Source listening to the On Pre Arrival event of a control point creates 2 tokens at the same time when using default settings of the AGV network.


1726561468854.png


AgvPreArrival2Tokens.fsm


Thanks!


Jesús

FlexSim 24.2.1
agvevent sourceonprearrival
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
1 Like"
Felix Möhlmann answered

Not for a single event. Redirecting the AGV causes the Pre-Arrival Event to fire again. The same would happen if you were to preempt the AGV and give it a new travel task at that moment. I believe this is necessary and working as intended.

I have worked around this previously by placing a zone that only allows one token to enter (partitioned by TE).

1726563615418.png

agvprearrival2tokens_1.fsm


5 |100000

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