question

Ana Ta avatar image
0 Likes"
Ana Ta asked Ana Ta commented

Which AGV is parked on each park point?

Hello,

I have several control points in the AGV network and some of them are used as the park points. Does anyone know how I can understand which AGV is parked on each parkpoint?

Thanks

FlexSim 17.2.1
agvcontrol pointspark point
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

·
Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Ana Ta commented

@Ana Ta Your AGV has a link to the AGV network node under the navigator node in your variables of your AGV. If you follow that path you end up under the variables of the AGVNetwork in the agvs node where every AGV has its own node with properties and one of these is called: "resetPoint" that is the node where your AGV is parked at the start. If you want to get there in code I would use 2 labels (using process flow, you can do it in one go but this made it better readable):

label1: getvarnode(token.AGV, "navigator").first.value

label2: token.label1.first.value

Label2 will give you the pointer to the reset parking position. Of course when the model is running you have to keep track yourself where everything is going etc.

· 7
5 |100000

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

Ana Ta avatar image Ana Ta commented ·

Thanks for your answer. I am not looking for the reset position. In fact, during the simulation different AGVs can park on different park points. I would like to know at each time, which AGV is parked on a specific park point.

0 Likes 0 ·
Steven Hamoen avatar image Steven Hamoen Ana Ta commented ·
@Ana Ta

But if you send your AGV to a parking position you know which parking position that is right? So you can simply put it on a label on the AGV or put the AGV on a label on the controlpoint

0 Likes 0 ·
Ana Ta avatar image Ana Ta Steven Hamoen commented ·

Ah ok. Yes you're right. I can do the second option.

Thanks a lot

0 Likes 0 ·
Show more comments
Ana Ta avatar image Ana Ta commented ·

Hello @Mischa Spelt,
Thanks for your answer. I cannot do the first option because In the process flow I have multiple AGVs and when I put Even triggered, it creates one token for all the AGVs while I want to create only one Token for the AGV which passed by the control point.

0 Likes 0 ·
Mischa Spelt avatar image Mischa Spelt Ana Ta commented ·

Sorry, I do not understand. An Event Triggered Source listening to the Control Point's On Arrival will only create a token for every AGV arriving at it (and On Continue for any AGV passing it) every time that happens. Not all AGVs may necessarily have a token created and each AGV may have multiple tokens created.

Or have I misunderstood your question and do you want to know, for a specific AGV, when it passes any control point; instead of any AGV passing a specific Control Point?

1 Like 1 ·

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.