22.07.2013 Views

Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze

Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze

Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Connecting timers<br />

• Timer state –the timer can be used in logical <strong>operations</strong><br />

• How do we do a pulse generator?<br />

Counters<br />

• Special memory area –C<br />

• Count value in BCD<br />

• Counter state as a bit<br />

• Counter types<br />

• S_CU –not really useful<br />

• S_CD –much better<br />

• S_CUD<br />

• Be careful not to set the counter with a non‐BCD value<br />

<strong>Step7</strong> timers<br />

<strong>Step7</strong> counters<br />

3.10.2012<br />

5

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

Saved successfully!

Ooh no, something went wrong!