question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked anthony.johnson answered

AGV - get current allocated te in control point

Hi community,

today I needed to obtain an information from a control point, but I wasn't able to find any command to satisfy my desire.

The request is simple: which is the command to know which task executer is allocated in a control point? Note I don't know the task executer, but I know the control point. Then I can't use this script

treenode op = Model.find("Operator1");
AGV agv = AGV(op);
return agv.currentCP;

I found a trick or workaround using the process flow and it satisfied my request (see attached model esempio.fsm). Simply I write a label in the control point when a task executer arrives and I reset the label when the task executer is deallocated. But I would like to know if a similar command exists.

Thank for any suggestion!

Have a great day!

FlexSim 19.2.2
agvtask executercontrol point
esempio.fsm (38.1 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

anthony.johnson avatar image
1 Like"
anthony.johnson answered api commented

No API exists to access this data right now. Your solution is probably the best at this 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.