question

Ben Wychocki avatar image
0 Likes"
Ben Wychocki asked Ben Wychocki commented

Error message when loading flow item onto AGV trailer

When trying to load a flow item onto an AGV that has been attached to another AGV as a trailer, the process flow stops and an error message is displayed in the console. No error is given when loading the front AGV, and the flow item is loaded as expected.

  1. time: 5.000000 exception: Exception Caught in dispatchtasksequence(treenode tasksequence, treenode dispatcher DEFAULTNULL)
  2. time: 5.000000 exception: Exception caught in start() of activity "Load" in process flow "ProcessFlow". Continuing throw...
  3. time: 5.000000 exception: Exception caught in TreeNode::callMemberFunction() main function. Throwing...
  4. time: 5.000000 exception: Exception caught in evaluation of /Tools/ProcessFlow/ProcessFlow/Load~2>variables/callbackNo

I created a simple model that has the same basic elements and displays the same error message when run.

agv train test.fsm

I would like to maintain having both the lead AGV and trailer be their own AGVs as down the line I may need to have the train be split and both AGVs act independently. It would also be much easier for me to have the train stay together during loading/unloading than to have to separate and reattach trailers at every load/unload.

FlexSim 25.0.2
agvprocess flowtraileragv trailer
agv-train-test.fsm (40.6 KiB)
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 Ben Wychocki commented

AGV trailers can not execute task sequences. To move objects into the trailers use the Move Object activity (or moveobject() command in custom code).

The AGV Travel activity allows to set the travel destination relative to a trailer, so the train stops such that the trailer is at the target position.

agv-train-test_1.fsm


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