I need to control a conveyor belt. The control inputs will be a start button and a end-of-the-line sensor (the transported containers will fall into a box at the end of the belt). Upon pressing the start button, the belt will run. However, I want the belt to stop if the sensor does not get blocked in 5 minutes, or if the sensor stays blocked for more than 5 minutes. So, if the sensor keeps toggling between unblocked and blocked, the timer will be reset and the belt should continue to run.
Any ideas?
Any ideas?