Test_Inch_Store_2.fsmI am trying to build a custom accumulating conveyor called inch and store. When the down stream conveyor is blocked, the upstream conveyor will enter into inch and store mode. Instead of running the conveyor and moving the package all the way to the blocked conveyor. It runs only to add one package and then stops for either downstream to be unblocked for the next package to come. IF the next package arrives, the conveyor runs just enough to add that package. This way packages are added one at a time to make best use of the conveyor length. During this time, if downstream conveyor becomes unblocked, the upstream conveyor can exit inch and store mode and run until downstream conveyor again gets blocked.
I tried to build a sample model which works for happy path condition but fails for few corner cases. I am wondering if anyone has an elegant solution.
In the attached model at 420 seconds, you will see there are boxes to be indexed forward, but it does not move forward.