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

Timers and Compare functions<br />

Working with registers, constants, timers and flags<br />

This time the types are not limited to binary values and you can use all the resources<br />

we saw like Registers, flags and so on.<br />

Open a new FUPLA file in the Project Manager and call it TIMER.<br />

This is what we are going to do:<br />

Example:<br />

Daily-Timer<br />

Create a small program where you can turn on and off a machine every day at the<br />

same time.<br />

Use the following symbols:<br />

HMS = hours, minutes and seconds (current time)<br />

ONTime =Time where you want to turn the machine on<br />

OFFTime=Time where you want to turn the machine off<br />

© Saia-Burgess Controls Ltd. Page 4E-13

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

Saved successfully!

Ooh no, something went wrong!