Posted 6 Apr 2018 Develop a program that will latch on an output Y0, 20 seconds after input X1 has been turned on. The timer will continue to cycle up to 20 seconds, and reset itself, until input X1 has been turned off. After the third time the timer has timed to 20 seconds, the output B will be unlatched. Share this post Link to post Share on other sites
Posted 6 Apr 2018 Thanks Gambit. The question was not well understood the first time.It's much clear now. I have added a reset to M0 to stop the endless looping of the counter. Regards. Share this post Link to post Share on other sites
Posted 6 Apr 2018 Am I correct in reading that the system will repeat itself " until input X1 has been turned off" ? If that is the case, then X1 would need to stay on for the entire time in order to set the output. The sequence would abort and reset if X1 goes off at any time. Or am I misunderstanding the requirement? Share this post Link to post Share on other sites
Posted 7 Apr 2018 LDI X1 RST Y0 RST C0 INV ANI T0 OUT T0 K200 LD T0 SET Y0 OUT C0 K3 AND C0 RST Y0 Share this post Link to post Share on other sites