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

Write your first program<br />

2.2 Write your first program<br />

Goal:<br />

We will just program one simple equation:<br />

O 32 = I 1+ I 2<br />

(Turn the Output32 on if Input 1 or 2 has an input signal)<br />

Open the<br />

editor:<br />

Highlight and double click the file to open the editor. Enter the six program<br />

lines as shown.<br />

Enter the program<br />

code:<br />

The cursor will start in the<br />

upper left corner. Just type<br />

in COB 0 and enter. The<br />

editor will position the<br />

string for you automatically.<br />

Next don’t move the<br />

cursor, just type in 0 and<br />

enter. Follow this format<br />

for your entries.<br />

© Saia-Burgess Controls Ltd. Page 2-5

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

Saved successfully!

Ooh no, something went wrong!