
Virun (Customer) asked a question.
I'm very new to PLC programing in general and tyring to creat a program to turn on a solenoid for a fixed time after a proximity sensor is triggered. I can get the output to turn on but it latches the entire time the prox sensor is triggered. How can I get the output to only trigger for a fixed amount of time?
Hi Virun,
Your logic works well as long as the product sensor is still on. If you get a shorter duration on the product sensor you will not get the full time value on of the output.
The following logic will latch (set) an internal bit on. The on switch and estop switch will have to be on all of the time for the bit to remain latched. The timer will unlatch (reset) the internal bit. (C1)
This logic will always give you the time duration set on the timer for the output.
Regards,
Garry
https://accautomation.ca/series/click-plc/