question

Mehdi avatar image
0 Likes"
Mehdi asked Jason Lightfoot commented

Can't Load from queue using AGV

Hello,

I'm working on a school project and I found myself stuck when I wanted to pick up items from a queue using an AGV after an "Wait For Event" in my process flow. :

1702652304647.png

1702652373861.png

My problem is when my AGV arrives in front of the queues, I can't make it load the items in there using the load command as it shows :

1702652533739.png1702652518144.pngCantLoad.fsm

I just want to make my AGV pick up the items from the queues (the 6 ones on the left) and then travel.

Thanks a lot !

FlexSim 23.2.3
agvqueueagv load
1702652304647.png (6.7 KiB)
1702652373861.png (239.1 KiB)
1702652518144.png (248.2 KiB)
1702652533739.png (7.5 KiB)
cantload.fsm (229.5 KiB)
· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Mehdi, was Kavika F's answer helpful? If so, please click the "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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Mehdi, several things to help your model.

First, resolve all exceptions you're getting. If you have an exception, it means that something is broken. You have two main errors.

Firstly, in your ProcessFlow, a Create Object activity got a bad return character somehow.

1702657939034.png

Go into the Create Object properties:

1702657968165.png

And at the end of the code, remove the new line character and add some new ones (backspace till you get to the code, then hit enter a couple times):

1702657994374.png

Next, your Queue Déchargement Ecrous was not pointing to a Task Sequence List; make one:

1702658079959.png

When running your model, your AGV gets stuck on the path. Make sure all paths are connected correctly. You can do so by right-clicking a path, going to Refresh Path Links, and clicking Entire Network.

1702658122460.png

Finally, several things wrong with your ProcessFlow2 code where you're loading an item.

1702658161958.png

You have the Executer/Task Sequence set to item when it should be set to the AGV picking Executing the Load. Also, you have the item being picked up as "token.item", but that isn't a label you've set on the token.

Fix these things first before proceeding.


1702657939034.png (24.4 KiB)
1702657968165.png (33.0 KiB)
1702657994374.png (39.7 KiB)
1702658079959.png (6.8 KiB)
1702658122460.png (26.9 KiB)
1702658161958.png (21.3 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.

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.