I am trying to figure out a repeatable way to create a decision point with a timeout.
My model has a conveyor with a decision point to decide to go to a processor spur or continue on the main line.
- If it decides to the go the main line the box will be released
- If it decides to go to the processing spur but the conveyor leading to the processing spur is full (2 spots), I would like the box to wait up to 10 seconds for the spur to have a space open up.
- If the space opens up I would like the box to immediately travel to the spur. If the 10 second period completes, I would like the box to change it's destination and continue on the main line.
I've been able to create this logic using ProcessFlow but cannot figure out how to do it via FlexScript or via a subflow that would allow me to copy this type of decision the >60 times I am going to need to for the model. Do you have any suggestions on making this easy to use multiple times?
Automation Cell With Process Flow.fsm