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

FUPLA programming<br />

4.5 Write your first FUPLA program<br />

Open the file:<br />

At the beginning of this chapter (4), we made a new file called: "Blink with output".<br />

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

GOAL:<br />

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

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

Input I 2) or normal run (NormalRun signal Input I 1). The pump must not run if<br />

there is a emergency stop (Emergency signal Input I 7).<br />

As long as the pump is running a signal lamp will blink. The lamp is connected to the<br />

output 33 (PumpRun_Signal O 33)<br />

Double-click on the file called: "Blink with output.fup" and the FUPLA editor will<br />

open.<br />

Prepare the symbols:<br />

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

planning to use. Enter the following symbols into the Symbol Editor: (Refer to page<br />

3-13 if you need help on entering symbols)<br />

Now the programming<br />

begins:<br />

The pump runs if the machine is in conditional run OR normal run:<br />

Select the “OR” FBox from the family “Binary” and draw the first combination:<br />

© Saia-Burgess Controls Ltd. Page 4-11

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

Saved successfully!

Ooh no, something went wrong!