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

Instructionlist<br />

Now the programming<br />

begins:<br />

Input<br />

Input Input Output<br />

Input<br />

The ACCU is always set to high at the start of a block, therefore we don't have<br />

to set the ACCU first.<br />

A combination always starts with STH , STL, ACC L or<br />

ACC H:<br />

sth<br />

Cond_Run<br />

orh NormalRun<br />

out IntermediateFlag<br />

sth IntermediateFlag<br />

anl Emergency<br />

anh OilHigh<br />

out OilPump<br />

Set the ACCU to the state of the NormalRun signal ( =<br />

IF NormalRun )<br />

If the ACCU was set by Cond_Run OR NormalRun<br />

Save the result in an intermediate flag and start a new<br />

combination:<br />

If the result of the Or function was high<br />

AND The Emergency signal is Low<br />

AND the OilHigh signal is active<br />

Then the ACCU is set and we just copy the ACCU state<br />

to the signal OilPump<br />

Why did we solve the OR combination ( the parallel contacts NormalRun<br />

Cond_Run ) first, before we tested the AND combinations ( Serial contacts<br />

Emergency, OilHigh, and (NormalRun or Cond_Run))?<br />

One important thing you have to remember is that an OR function<br />

has absolute priority over the AND ( ANd High or ANd Low )<br />

function.<br />

If an OR function sets the ACCU, then the results of the following AND & OR<br />

functions don't matter anymore until you start a new combination with STH. or<br />

ACC H/L.<br />

PG5-07-E © Saia-Burgess Controls Ltd. Page 7-19

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

Saved successfully!

Ooh no, something went wrong!