12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc timers - 9.21<br />

Solution:<br />

A<br />

T4:0/DN<br />

TON T4:0<br />

Time base: 1.0<br />

Preset 15<br />

Light<br />

Figure 9.21<br />

A Simple Timer Example<br />

Problem: Develop the ladder logic that will turn on a light, after switch A has been<br />

closed 10 times. Push button B will reset the counters.<br />

Solution:<br />

A<br />

C5:0/DN<br />

CTU<br />

Preset 10<br />

Accum. 0<br />

Light<br />

C5:0<br />

B<br />

C5:0 RES<br />

Figure 9.22<br />

A Simple Counter Example<br />

9.7.2 More Timers And Counters<br />

Problem: Develop a program that will latch on an output B 20 seconds after input<br />

A has been turned on. After A is pushed, there will be a 10 second delay until A can have<br />

any effect again. After A has been pushed 3 times, B will be turned off.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!