question

Mathilde DOUSSET avatar image
0 Likes"
Mathilde DOUSSET asked Kaspar Chabot answered

How to return at a specific control point when the AGV has any mission?

I would like that my AGV return in a "parking" point when he has any mission, but now, it stay at the control point of this last mission. I try to do a "way point" but it failed.

Moreover, it takes pallets at the sources then it drop off pallets in the separator and I would like It take a empty pallets to drop off in the rack but it doesn't work?

I join my system

Thank you.

simusequencage.fsm

FlexSim 16.0.1
agvway point
simusequencage.fsm (10.9 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.

Kaspar Chabot avatar image
0 Likes"
Kaspar Chabot answered

Have you tried adding the travel task under onUnload as in the picture?

You can add preemption of this travel task sequence in case you want to interrupt it when a new task comes in from the dispatcher. You can find more information on that in the Help section. Furthermore, it seems to me the model gets stuck after a while because the buffers next to the separators have a max capacity of 1. That's why the AGV stops moving I think.


onunload.jpg (127.2 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.

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Brandon Peterson commented

@Mathilde DOUSSET

Mathilde,

Attached is your model with the changes that I've made.

To answer question number one, I added code in the OnResourceAvailable trigger in the TaskExecuter45 object. This way, each time the TE become Available, it will travel back to it's home location (ControlPoint4).

Your second question isn't very clear to me but here is the changes that I made for that question. I attached each of the Separator queues to go to the Rack. And attached a center connection to each of those queues with Dispatcher47. Now it will take empty pallets to the rack.

The Rack had no output ports and only a maximum total of 2. So after a very short time, it had two pallets in it and the model would lock because there was no place for the empty pallets in the queue to go. I modified the rack to hold a maximum of 30 and I use the Rack to feed the Combiners instead of individual Sources. I create 30 pallets in the rack when the model starts using the OnReset and OnMessage triggers of the Rack. By doing this, it seems to keep up with the demand for pallets that the Combiners need as well as be able to bring pallets from the Separators.

Check out the attached model and see if it is doing what you are needing it to do. If not, please describe in detail what you need to have happen in your model.

simusequencage-jn2.fsm


· 2
5 |100000

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

Mathilde DOUSSET avatar image Mathilde DOUSSET commented ·

Hi Jeff!

I can't start your model because I have the last version of Flexsim (16.0.1).

So, I explain my system:

-The AGV takes a full pallet and pull it on the separator. When the pallet is empty, it goes on the separator queue.

-When there is a empty pallet on the separator queue, the operator asks for the AGV to come get the empty pallet to pull it on the rack (only 2).

-When the rack is full (when there are 2 pallets), the operator asks for a driver to come get the empty pallets in the rack. The driver comes get the pallets and store them.

Thank you

0 Likes 0 ·
Mathilde DOUSSET avatar image Mathilde DOUSSET Mathilde DOUSSET commented ·

When I addes your code in the OnResourceAvailable, my AGV is blocked and don't start.

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.