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 />

Program structures<br />

5.5 Exception Block (XOB)<br />

What’s a XOB:<br />

The exception blocks are treated automatically once a special event occurs. These<br />

events are defined by the firmware, and they cannot be modified by the user. It’s<br />

up to the user whether he want’s to program these events or not.<br />

START-UP PCD<br />

XOB 16<br />

The moment an event occurs,<br />

the PLC stops the task it is<br />

working on, and it starts to<br />

treat the XOB which corresponds<br />

to the event.<br />

When a XOB is<br />

called, the current<br />

program is<br />

stopped.<br />

Once the XOB is<br />

finished, the<br />

program continues:<br />

COB 2<br />

XOB 20<br />

Once the PLC has finished the<br />

XOB, it returns to the program<br />

point where the event appeared<br />

COB 5<br />

If an event appears but there is no program in the corresponding XOB, then the<br />

error LED on the PCD is lit and the PLC continues to run.<br />

Example:<br />

Turn on your PCD, take out the battery and the error LED will come up. If there<br />

was a XOB 2 ( see table on the next page ) in your program, then the LED won’t<br />

come up and the XOB 2 is executed instead.<br />

© SAIA-Burgess Controls AG Page 5-7

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

Saved successfully!

Ooh no, something went wrong!