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.8<br />

A<br />

TON<br />

Timer T4:0<br />

Time Base 1.0<br />

Preset 4<br />

Accumulator 0<br />

(DN)<br />

(EN)<br />

T4:0/DN<br />

B<br />

A<br />

T4:0/EN<br />

T4:0/DN<br />

T4:0/TT<br />

B<br />

4<br />

3<br />

2<br />

0<br />

T4:0 Accum.<br />

0 3 6 9 13 14 17 19<br />

Figure 9.8<br />

An Allen-Bradley TON Timer<br />

The timing diagram in Figure 9.8 illustrates the operation of the TON timer with a<br />

4 second on-delay. A is the input to the timer, <strong>and</strong> whenever the timer input is true the EN<br />

enabled bit for the timer will also be true. If the accumulator value is equal to the preset<br />

value the DN bit will be set. Otherwise, the TT bit will be set <strong>and</strong> the accumulator value<br />

will begin increasing. The first time A is true, it is only true for 3 seconds before turning<br />

off, after this the value resets to zero. (Note: in a retentive time the value would remain at<br />

3 seconds.) The second time A is true, it is on more than 4 seconds. After 4 seconds the TT<br />

bit turns off, <strong>and</strong> the DN bit turns on. But, when A is released the accumulator resets to<br />

zero, <strong>and</strong> the DN bit is turned off.<br />

A value can be entered for the accumulator while programming. When the program<br />

is downloaded this value will be in the timer for the first scan. If the TON timer is<br />

not enabled the value will be set back to zero. Normally zero will be entered for the preset

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

Saved successfully!

Ooh no, something went wrong!