question

Jay K9 avatar image
0 Likes"
Jay K9 asked Valencia answered

How can I get the control point where my task-executor is currently at

I would like to change the control point max allocation of the control point where the AGV is currently standing at and change it back to 1 once it moves away from it. How can I achieve this?
I was considering flexscript would provide me way to get the control point where the task executor is at and use that to increase its max allocation number. Is it possible?

FlexSim 23.0.15
flexscriptagvnetworkcontol point
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

This seems odd - what are you trying to do?

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Try this:

AGV agv=AGV(Model.find("TaskExecuter1"));
return agv.currentCP;
5 |100000

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

Valencia avatar image
0 Likes"
Valencia answered

Hello there

To modify the maximum deployment of your task executor and find its current control point; I hope these steps helpful for you

  • Track the AGV current control point with flex script.
  • To boost this control point maximum allocation while the AGV is in place; write a program.
  • Create a condition that; after the AGV goes away; will reset the maximum allocation back to 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.