question

luis-rodrigues avatar image
0 Likes"
luis-rodrigues asked luis-rodrigues commented

Using AGV in milk-run

Hi, I'm working on a model that I have to install agv to work in a milk-run format.

I have done the basic tutorial for agv but I'm finding it hard to adapt to my model.

I'll send the model using forklifts that works as its supposed to and supported by the processflow, and I'll send the model that I've tried to adapt two agv.

I hope someone can give me a hint to solve this problem.

ML00 to ML04 - AGV.fsm

ML00 to ML04 - Transporters.fsm

FlexSim 24.0.2
agv milk-run
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 luis-rodrigues commented

All that should be needed is to replace any Load/Unload block (and the corresponding Acquire/Release/Create TS/Finish TS activities) with the following structure:

- Write the destination to the label "destination" on the item
- Also store the destination on a label on the token (only necessary if not already available as a label)
- Push the item to the AGV work list
- Wait until the item has arrived at the destination

Adjust the label names to what is used in the respective sub flow, of course.

1714743130218.png

1714743245243.png

You also still need to connect the queues to the control points and the curved path in the top left is pointing in the wrong direction.


1714743130218.png (53.9 KiB)
1714743245243.png (11.5 KiB)
· 7
5 |100000

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

luis-rodrigues avatar image luis-rodrigues commented ·

Hi @Felix Möhlmann thank you for your help, I've done as you told me, I have just some difficulties with storing the destination on a label on the token. I think that's what making my model don't work.

Hope you can help me with this one.

ML00 to ML04 - AGV milkrun.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann luis-rodrigues commented ·

In the "Assign to" field of the Push to List activities you typed in "None". In general, typing in the name of an option (or in this case placeholder text) does not work in any option field. Description text is defined as markup in the underlying code that is generated when an option is picked from a menu.

To not assign the pulled value to anything, either just remove any text from the field or click the red X next to. Both will make the placeholder "None" appear.

Additionally, you need to re-sample the entry event in the Wait for Event activities. This is sometimes needed when the event object reference is given through a label. Use the sampling tool next to the event field on any object that possesses an On Entry event. The event parameter table should then look like below (with the correct item label for each case, of course).

capture1.png

0 Likes 0 ·
capture1.png (8.3 KiB)
luis-rodrigues avatar image luis-rodrigues Felix Möhlmann commented ·

Hi again @Felix Möhlmann In this model I've done as you said but I'm still getting no results. The AGVs move around but the process seems like it's stuck in the "Wait for event".

ml00-to-ml04 - agv mr.fsm

0 Likes 0 ·
Show more comments