07.03.2014 Views

Introduction.

Introduction.

Introduction.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Workshop PG5<br />

Project management<br />

Use Timers in a<br />

SB:<br />

Timers and Counters from the Standard Library<br />

aren’t made for the use in SB’s. They are designed<br />

for use in COB’s which are executed cyclically over<br />

and over again. If you want to use timers or counters<br />

inside a SB, use the ones from the “Graftec” family.<br />

They are especially designed for Sequential Blocks,<br />

because you can load them in one step and question<br />

the state later on in another step or transition.<br />

What we do in our program is:<br />

Turn the output on and load the timer in the step and<br />

then we go on to the transition where we wait and<br />

question the timer until the time elapsed and the timer<br />

has come to zero.<br />

Repeat the step<br />

and transition for<br />

the time were the<br />

pulse is off:<br />

The Step 2 and Transition 2 are the same as step1 and transition 1:<br />

PG5-06-E.doc © Saia-Burgess Controls Ltd. Page 6-20

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

Saved successfully!

Ooh no, something went wrong!