question

Ryosuke S avatar image
1 Like"
Ryosuke S asked Ryosuke S commented

Making AGV take alternate route without using ProcessFlow

Is there anyway to make the agv take the alternate route without using ProcessFlow in such layout below? I tried the method in this post (https://answers.flexsim.com/questions/89223/let-agv-automatically-choose-other-available-path.html), but doesn't seem to work. I know we can do it with ProcessFlow, but wanted to ask if there is anyway without using it.

flexsim_6.fsm

FlexSim 20.1.3
flexsim 20.1.3agv pathresolve route
capture011.jpg (68.7 KiB)
flexsim-6.fsm (99.1 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.

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Ryosuke S commented

The method in that post uses AGV Way Points. Your attached model doesn't have any way points. It doesn't have anything that even resembles you trying to redirect the AGV down that path.

Use the AGV.redirect() method to redirect the AGV to a control point on that path. Whether you use Process Flow, AGV Way Points, or some other custom code doesn't matter. Just redirect the AGV down that path if you want the AGV to be redirected down that path.

Unless you add logic to the contrary, the AGVs will just take the shortest path to their destination.

· 10
5 |100000

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