question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S commented

Making AGV stop and rotate at the AGVPath Crossing

Referencing the sample data created by Phil in this post, I'm trying to make the agv stop then turn at the AGV crossing. However, in the network properties, upon defining Redirect via Direct Reference, when I define te.destination as Destination, I get error as label doesn't exist. But in the Phil's sample the Destination is defined as te.destination. What have I missed in my model?

capture005.jpg

PathTest.fsm

agv-stop-to-rotate_sample_from_Phil.fsm

FlexSim 21.0.6
flexsim 21.0.6agv routingway point logic
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ryosuke S commented

The "destination" label on the task executer is not set automatically. Phil first writes the destination to a label on the item in the "OnExit" trigger of Queue1, then he copies that label to the task executer in its "OnLoad" trigger and resets it to Queue1 in "OnUnload".

As you are using a process flow to control the task executer you can set the value of the label before each travel/load/unload activity to the respective location it will drive to.

assigndestination.png


· 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.

Ryosuke S avatar image Ryosuke S commented ·
@Felix Möhlmann Wow, thank you very much.
0 Likes 0 ·