question

Jason P2 avatar image
2 Likes"
Jason P2 asked Ben Wilson commented

AGV Reroute

How do I make TaskExecuter2 take the highlighted path to the control point if the shortest path is blocked by TaskExecuter1?AGV.fsm




FlexSim 20.2.3
agvflexsim 20.2.3
1604075120766.png (44.7 KiB)
agv.fsm (34.3 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

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Here's one way of acheiving this that uses the event based source trigger by the AGVs OnAllocationFailed event. I've used the NextLookForWork connections on CP5 in the code to determine which CPs should be considered as alternative routes.

agv_reroute.fsm


agv-reroute.fsm (74.0 KiB)
· 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.