unload-batch-with-same-label-just-once_SubnodesRobot.fsmHello Everyone,
In my attached model, I need help with the following:
When my robot get items in queue "Placas Testadas_FCT", the items could be "pass" and "fail".
In process flow, a "custom code" change the robot MOVE TIME when this process occurs, but I need that the MOVE TIME being different if one item being fail.
Exemple: when robot gets 4 items pass, the move time will be : 5 seconds, but if just one item be fail the move time will be 7, because the process get more time.
If only one item is "fail" the time changes.
I understand that the robot's subnodes must be analyzed and that it is necessary to do an "if", but I don't know how to do this.
if the robot's subnodes are all pass: move time 5
else: move time 7
Could you help me?
Thank you very much !