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

Drag-n-drop symbols:<br />

Resources<br />

You can drag-n-drop symbols from the symbol editor into any editor.<br />

Auto complete<br />

symbols:<br />

If you use long symbol names your program will become easier to read. On the<br />

other hand it will be annoying if you have to re-enter the long symbol name<br />

each time you use it in the program. Therefore you can simply enter the first<br />

letters of a symbol, and then lookup all the symbols which match those letters,<br />

by using the keys “CTRL and SPACEBAR”:<br />

Example:<br />

ENTER<br />

CTRL + SPACE<br />

This works in Instruction list as well as in the FUPLA editor.<br />

Auto allocation:<br />

Until now weve always declared the elements like this:<br />

Symbol name Type Address<br />

Comment<br />

Example: Pumpspeed R 2000 ;Speed in l/min<br />

If you are entering any symbol type, other than an input or an output, you do<br />

not have to enter an address for them. If you don’t enter an address then the<br />

PG5 will give an address to your element at build time. We call this autoallocation.<br />

The PG5 will look up in the software settings the address range<br />

configured for that element, and assign one during the build process.<br />

Example:<br />

You declare a register in your program and you don’t give an address to it:<br />

The register will get a number between 3500 and 4095 during the build process<br />

because in the “Software” settings we declared the dynamic space between<br />

3500 and 4095 for registers.<br />

© Saia-Burgess Controls Ltd. Page 3-22

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

Saved successfully!

Ooh no, something went wrong!