Hi all,
I have items (boxes) entering a conveyor, as they enter the conveyor their creation age should be set (0 or time()). These boxes should move along the conveyor and once they reach a photoeye at the end their time on the conveyor/age should be checked, if they are older than 60 seconds they can be released otherwise the conveyor must stop until this box is >= 60 seconds age then the conveyor can continue, this should apply for each box. I've tried stuff like putting a photoeye at the end and checking the age something like "if time() - creationAge < 60 set conveyorspeed 0 else set conveyorspeed 200". Obviously that doesn't work, I've played around quite a bit and if I get it working it only works for the first box and messes up on all the other boxes.
Any help would be appreciated.