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.

Joshua S avatar image Joshua S commented ·

@steven.chen

Can you upload your model so we can have some context to your question?

0 Likes 0 ·
Steven Chen avatar image Steven Chen commented ·

v1: agv3 didn't accumulate after agv1.

v2: agv didn't travel and blocked.

v3: remove all traveler agv connection and everything is fine, but reset model didn't remove connection between agv and cp that causes same problem in v1.

agv-agvreassigncp-v1.fsm

agv-agvreassigncp-v2.fsm

agv-agvreassigncp-v3.fsm

0 Likes 0 ·

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

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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