AGV Travel to a Home Location?

AGV Travel to a Home Location?

wang_k
Not applicable
197 Views
8 Replies
Message 1 of 9

AGV Travel to a Home Location?

wang_k
Not applicable

[ FlexSim 18.0.10 ]

Hi!

I'm the begginner of the simulation, currently i need to simulate the factory that move item by AGV, the problems is that i want the AGV back to home after finsih the task so i add the trigger on its propertiy, but i want to add the condition that idle time > 5 minute ,then AGV will back to home. How do i do this? Thank you for your help!

0 Likes
Accepted solutions (1)
198 Views
8 Replies
Replies (8)
Message 2 of 9

SCHamoen
Advisor
Advisor
Accepted solution

@Wang K If you use process flow, you can use the eventriggered source when the onresource available is fired, then have him wait 5 minutes, then check if the status is still idle and then send him home.

If you use only 3D, first select the option to travel to a home location on the onresourceavailable trigger so that you know what code to copy. Then forget about this code and use a senddelayedmessage on the onresource available trigger and then on the onmessage you have to check if the AGV is still idle and when it is, you use the code that you looked at first.

Message 3 of 9

wang_k
Not applicable

@steven.hamoen Thanks very much, since i use 3D model but i have no ideal to do the code, could you give some example about the code? Thanks again

0 Likes
Message 4 of 9

SCHamoen
Advisor
Advisor

@Wang K

Here is the sample model. I actually used the Unload trigger because if I used the onresourceavailable trigger it would also fire after the parking move was finished and you create unnecessary events. If you use step you can see very good what the model does.

5minutewait.fsm

0 Likes
Message 5 of 9

wang_k
Not applicable

@steven.hamoen

Thank you very much, it really helpful. But i have one last question, how do i let AGV follow the AGV path to go back? because if i use the code, it wont follow the AGV path to go back.

Once again, thank you very much.

0 Likes
Message 6 of 9

SCHamoen
Advisor
Advisor

@Wang K

Can you post the model to show my what you have tried?

0 Likes
Message 7 of 9

wang_k
Not applicable

@steven.hamoen

I add the code by your model but i find out that when the car travel home its wont follow the AGV path, its just go straight line.

I add the code at car1 to car4.

Thanks

0 Likes
Message 8 of 9

SCHamoen
Advisor
Advisor

@Wang K The travel task was a TRAVELTOLOC and that doesn't use the network. So I changed it into a TRAVEL task and that one follows the network. Only thing is that we have to have a destination where it should travel to so I made a group with the 4 parking positions and I gave every car a label with a number and then it will travel to a parking position

agvmodelwangk.fsm

0 Likes
Message 9 of 9

wang_k
Not applicable

@steven.hamoen

Thank you very much, this is exactly what i want to do.I truly appreciate your help on this matter.

0 Likes