question

Fred E avatar image
0 Likes"
Fred E asked Fred E commented

AGV priority

Hi,

I have a problem with AGV pickup priorities. I want that AGV pick up empty tote and drive tote to the processor and then pick full tote if full tote is available.

My first model (AGV work) works fine because AGV first pick up from the PickUp queue and not from the processor.

In the second model (AGV not work) first pickup is from the processor. I want to set priority where AGV always pick up empty tote from the PickUp queue first and then replaces empty tote with full tote in the processor.

1652035602595.pngAGV not work.fsmAGV work.fsm

Hope you will understand my problem.


Thank you in advance for your answers.

FlexSim 21.2.4
agvpriorityadvance agv
1652035602595.png (311.9 KiB)
agv-not-work.fsm (130.7 KiB)
agv-work.fsm (130.9 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Fred E commented

The 'NextWorkPoint' connections are designed to be used in a loop. In your model, if the AGV doesn't find at its starting control point, the agv process flow will get stuck looking for the next point the AGV should travel to.

You can modify the process flow to allow the AGV to wait for a task at the 'dead end' control point.

In the 'Main Control Loop' section, split up the upper activity block and add a 'Wait for Event' activity as shown in the screenshot.

1652078966185.png

In the 'Get Next Work Point' activity, activate the 'Max Wait Time' option and set the token to be released through connection 2, if the timer (0s) elapses. Make sure that the second connection is the one leading to the 'Wait for Event'. Set that to wait for something to get pushed to the AGV Work List.

1652079045044.png

Now, if the AGV doesn't find a task at its location when first activated, it will wait for a new task to become available and check again if the new task is at the right location.

agv-not-work-adjusted-fm.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.

Fred E avatar image Fred E commented ·

Thank you for your answer. I learned some new things from your answer. But anyway model agv-not-work-adjusted-fm.fsm is not working properly because the red tote is never picked by AGV. I still need FIFO output from PickUp queue.


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Fred E commented ·
It seems like I accidentaly deactivated the Pull Strategy of KM1 while checking some settings in your model. Just activate it again and it should work. Sorry for that.
0 Likes 0 ·
Fred E avatar image Fred E Felix Möhlmann commented ·

Thank you for your help. It works now :) .

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.