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 Exercise Chapter 7<br />

Solutions 1 to 7:<br />

Solution:<br />

1:<br />

SET RES COM INC<br />

How can you know?<br />

• Look up the instruction in the Instruction-List booklet. The instructions<br />

marked with a D, are only executed if the ACCU is high.<br />

• Enter the instruction in the S-Edit, place the cursor on the instruction<br />

and press “F1”=> A online help will tell you everything about<br />

the instruction.<br />

2:<br />

ACC H<br />

ACC L<br />

ACC C<br />

Sets the ACCU to high<br />

Set the ACCU to low<br />

Complements the ACCU state high<br />

becomes low, low becomes high<br />

3:<br />

ACC E<br />

4:<br />

4.1<br />

STH I 1 ; Copy the state of I 1 into the ACCU<br />

ANH I 2 ; AND link the ACCU with the state of<br />

;I 2 & then set the ACCU according to<br />

;the result.<br />

ORH I 3 ; Set the ACCU if I 3 is high.<br />

; (Or function)<br />

OUT O 32 ; Set output 32 to the ACCU state.<br />

© Saia-Burgess Controls Ltd. Page 7E-3

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

Saved successfully!

Ooh no, something went wrong!