07.03.2014 Views

Introduction.

Introduction.

Introduction.

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.

Workshop PG5<br />

Project management<br />

6.1 Sequential Blocks (SB 0 ... 31)<br />

SB’s (Sequential Blocks) work different then the program blocks we learned about<br />

previously. SB’s are very efficient if you have an application where you have to do<br />

several things in a defined sequence.<br />

Example Elevator: “close the door” => “wait until the door is closed” => “move the<br />

elevator to the first floor” => “wait until the elevator has reached the first floor” =><br />

“open the door again”<br />

Because we don’t know how long your program will wait on a particular event (<br />

milliseconds, minutes, days?) before it can continue with the next STEP, you can’t<br />

know the cycle time of an SB. Therefore it’s important to analyze your program and<br />

separate sequential problems in your application from parts which absolutely have to<br />

be in a cyclic block.<br />

Example: If you have an emergency switch on your application, then you want to be<br />

sure that this information is updated regularly. Therefore such information would<br />

never be put into a SB but into a COB.<br />

Typical Graftec Chart<br />

SB sequence<br />

starts here.<br />

The SB number.<br />

(each SB is assigned<br />

a number)<br />

SB sequence<br />

ends here.<br />

SB page<br />

number.<br />

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

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

Saved successfully!

Ooh no, something went wrong!