question

Martin K6 avatar image
0 Likes"
Martin K6 asked Ryan Clark edited

AGV pick item

valeckova_draha_autosave_4.fsm


Hi,

I have built a simple model where boxes are put from rack to conveyor and then I would like them to be picked by taskexecuter, but I am not able to make this. I can acquire the taskexecuter and then tell him to travel to queue and load the boxes but the error occurs. I have attached a model.


Thank you.


Martin

FlexSim 21.2.4
agvloadtravelboxes
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

·
Krzysztof J avatar image
0 Likes"
Krzysztof J answered Ryan Clark edited

Model_response.fsm

See attached file. Errors:

1. You do not have acces to label box on the second part of process flow

2. If you assign entering item under the label box then in Assign Labels you should use this label (token.box instead of token.item)

3. If you are adding any loop please use arrow as connector.


model-response.fsm (72.3 KiB)
· 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.

Martin K6 avatar image Martin K6 commented ·
Hello,

thanks a lot. Yeah, the main problem was that I could not touch the boxes in the second part of process flow.

0 Likes 0 ·
Martin K6 avatar image Martin K6 commented ·

Can I have another question? When I would like to manipulate with the boxes that are picked by the AGV, how should I "call" them as they are not accessible by token.box?

And what if I would like to pick more boxes at one time? I have problems with the value:Model.find("Queue2").last, this means that I am accessing the last box in the queue, but what if I would like to pick more of them?

Thanks again.

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Martin K6 commented ·

Hi @Martin K6,

There are several ways you could accomplish this kind of logic. You could make your process flow one continuous flow rather than having it split up into different sections. Then, you could use token.box throughout the process. For picking up multiple boxes, you could use the Batch activity to accumulate multiple boxes before sending the AGV to pick them up. You could also use List logic to connect the parts of the Process Flow together if you want them to remain separate.

As you can see, there are lots of different ways to accomplish this. I would recommend going through the tutorials in our documentation to get a better feel for how to accomplish different things in your model. Introduction to Tutorials (flexsim.com) (I would especially recommend the Process Flow tutorials).

I hope this helps! Let us know if you have further questions!

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.