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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

plc timers - 9.16<br />

I/1<br />

I/2<br />

I/3<br />

C5:1/DN<br />

CTU C5:1<br />

preset 3<br />

CTD C5:1<br />

preset 3<br />

RES C5:1<br />

O/1<br />

I/1<br />

I/2<br />

I/3<br />

C5:1/DN<br />

O/1<br />

Figure 9.16<br />

A Counter Example<br />

The timing diagram in Figure 9.16 illustrates the operation of the counter. If we<br />

assume that the value in the accumulator starts at 0, then the I/1 inputs cause it to count up<br />

to 3 where it turns the counter C5:1 on. It is then reset by input I/3 <strong>and</strong> the accumulator<br />

value goes to zero. Input I/1 then pulses again <strong>and</strong> causes the accumulator value to<br />

increase again, until it reaches a maximum of 5. Input I/2 then causes the accumulator<br />

value to decrease down below 3, <strong>and</strong> the counter turns off again. Input I/1 then causes it to<br />

increase, but input I/3 resets the accumulator back to zero again, <strong>and</strong> the pulses continue<br />

until 3 is reached near the end.

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

Saved successfully!

Ooh no, something went wrong!