I am working on a plc system that works with conveyor belt and nematic press as outputs and 2 reed switches on the air cylinder and a proximity sensor on the side of the press. The machine is suppose to run food on the convoyer belt, sense it when its under the press, press it and then keep the conveyor running to the next food pressing that one and so on.
The only problem I got solving is the algorithm for the proximity sensor. Is there a way I can keep the input on for a few seconds only then turn off? Because at the moment the proximity sensor stays on and the press keeps going up and down, up and down :S
I tried timers but they only seem to work when the input is impulsed (the sensor input is constant).
How can I achieve a constant input being turned into an impulsed input is the question?
The only problem I got solving is the algorithm for the proximity sensor. Is there a way I can keep the input on for a few seconds only then turn off? Because at the moment the proximity sensor stays on and the press keeps going up and down, up and down :S
I tried timers but they only seem to work when the input is impulsed (the sensor input is constant).
How can I achieve a constant input being turned into an impulsed input is the question?