question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jason Lightfoot commented

Wait for item loaded not fired in Advanced AGV Template

Hello,

In attached model, the idle location of AGV is source. On item pushed to list, it can be pulled by AGV immediately, so the event "wait for item loaded" is missed, results stuck token. I think this event is unnecessary without further customize purpose, or requires some workaground to ensure the event be fired.

advanced_agv_v22.1.fsm

screenshot-2022-05-30-135900.png


FlexSim 22.1.1
advanced agv
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

It's not unreasonable to assume that the time between issuing a job to load an item and it being executed would have some positive duration.

In your case you can perform the push to work list on the "On Listener Initialised" trigger of the wait activity.

· 2
5 |100000

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

Steven Chen avatar image Steven Chen commented ·

I don't understand how to use "On Listener Initialised". To remove "Push to Work List(s)" and execute subflow in "On Listener Initialised" field of "Wait for Item to be Loaded"?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Steven Chen commented ·

Remove the "Push to Work List(s)" activity and put code to do that function in the OnListenerInitialized field of the Wait for event activity.

0 Likes 0 ·