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

7.5 Write your first IL Program<br />

Open the file:<br />

At the beginning of this chapter (7.0) we made a new file called : "Oilpump.src"<br />

We will write our first code into this file.<br />

GOAL:<br />

Lets start with a simple binary combination.<br />

We will turn on a pump ( Oilpump signal O 32 ) if the oil level becomes too<br />

high ( OilHigh signal input I 0 ) and if the machine is in conditional Run (<br />

Cond_Run signal input I 1 ) or normal run ( NormalRun signal input I 2 ). But<br />

the pump must not run if there is an emergency stop ( Emergency signal input I<br />

7 )<br />

This is what the program would look like in LADDER:<br />

Double-click on the file called: "Oilpump.src" and Sedit will open.<br />

Before we start to write our program, we have to make a list of the symbols we<br />

are planing to use. Enter the following symbols into the Symbol Editor:<br />

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

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

Saved successfully!

Ooh no, something went wrong!