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!