question

立洲 avatar image
0 Likes"
立洲 asked Ben Wilson commented

AGV提前啟動載貨

When the AGV is loaded, you need to wait for the goods to reach 50 pieces and then move to the station storage area to wait for the goods, and when the goods reach 60 pieces, start to pick up the goods.

2.4.fsm

FlexSim 20.0.7
agvflexsim 20.0.7
24.fsm (1.3 MiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Are you able to post in English and with an example model?

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·
0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @立洲 , was tannerp's answer helpful? If so, please click the red "Accept" button at the bottom of his 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered

I took a look at your model and I'm not sure what the stations are to which you referred in your question. I also don't understand the changes made to the AGV process flow. But I still want to help and offer some advice. So here are a couple of tools that you can use to trigger activities based on your requirements.

I set up an Event-Triggered Source that listens for the content of the queue to reach 50 items. When that happens, a token is created. The token then acquires an AGV and tells the AGV to travel to the goods.

Next, the Wait for Event activity does something similar in that it waits for the content of the queue to reach 60 items before releasing the token. When the token is released, the AGV loads all the items using a Sub Flow. The Sub Flow runs as many tokens as there are items in the queue (60).

After the Wait for Event activity releases the token, you can have the AGV travel to the next destination, which I arbitrarily set in the updated model attached.

Additionally, the Batch Process Flow activity can be helpful for these kinds of applications. I didn't use it here, but I wanted to make you aware of that tool.

Please take a look at the attached model and then comment back with any specific questions you have. This is just one way to accomplish this logic, but I'm sure there are other things that you need to happen in the model that this won't address. I'm sorry I didn't completely understand your model to fix it entirely, but hopefully this helps!

Updated model: 24_1.fsm


1612627225317.png (23.0 KiB)
1612627231341.png (30.9 KiB)
1612627477349.png (21.3 KiB)
24-1.fsm (1.3 MiB)
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.