Hi, I need a huge help in creating a process flow which replicate this problem and your help will be super appreciated.
I have made several attempt so far, but none of them has worked properly. I have to replicate a system in which the cobot speed will be dynamically adapted based on the interarrival time and I have to translate it even in the real world through Modbus connection.
In particular, after the token has been created, I should impose a condition based on the interarrival time to set its movetime.
In particular at the moment, in the model I have set this condition, but I don't know how to replicate it in the process flow.
if (interArrivalTime>=45){
current.centerObjects[1].setProperty("MoveTime",30);
}
if (30<=interArrivalTime<45){
current.centerObjects[1].setProperty("MoveTime",20);
}
if (interArrivalTime<30){
current.centerObjects[1].setProperty("MoveTime",10);
}
Attached you can find the model so far.
Your help is fundamental to me.
Thank you in advance.