Download micro mentor
Transcript
7 Once the preset value is reached, the normally closed instruction becomes False and the timer resets to zero on the next scan of the program. The normally closed instruction is now True, and the timer begins timing from zero. RUNG 1 • This rung contains a counter instruction. The condition instruction that controls this counter is the done bit from the timer in the previous rung. In this case it is a normally open instruction. As soon as the accumulated time of the timer in rung 0 reaches 60 seconds (the preset value of 60, using a time base of 1 second), the done bit energizes and increments the counter. Rung 0 One Minute Timer Done Timing T4:0/DN ]/[ One Minute Timer TON TIMER ON DELAY Timer T4:0 Time Base 1.0 Preset 60 Accum 0 (EN ) (DN) Rung 1 T4:0/DN ] [ CTU COUNT UP Counter Preset Accum C10:1 5 0 111