question

Steven Chen avatar image
0 Likes"
Steven Chen asked Joshua S answered

agvreassigncp() makes accumulation wrong

Hello,

After executing agvreassigncp() to assign AGV from CP1 to CP2, other AGV still be accumulated at CP1 instead of CP2.

FlexSim 18.2.2
agvaccumulationagvreassigncp
· 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.

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered

This is because it still has some connection to its previous control point, and to the path it was on. use this code

  1. contextdragconnection(agv1,Model.find("ControlPoint4"),"Q");

to break the connection it has with the previous control point and allow a more soldi connection with the path you are reassigning the AGV to.

5 |100000

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