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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Jason P2, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their 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

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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Here's a more robust version that works with when we make the stopping delay small. Note the use of two more control points so that the allocation to CP3 is removed before it reaches the final destination.


agv_reroute2.fsm

1 Like 1 ·
1605288322812.png (32.6 KiB)
agv-reroute2.fsm (75.1 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

You can also pull a CP as a resource or from a list - you might get ideas for that from the AGV Process Flow Template.

0 Likes 0 ·