For process control, it is desired to have the process start (by turning on a motor) five seconds after a part touches a limit switch.
The process is terminated automatically when the finished part touches a second limit switch. An emergency switch will stop the process any time when it is pushed.