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

In the Family “Time related” you will find a Fbox called “TIME” this Fbox reads the<br />

time from the PCD. The output shows the time as an integer value off six digits.<br />

HHMMSS. The color off the output is different to the color off the lines we had in<br />

our first example. That is because each and every type has its own color like:<br />

• RED lines are binary value<br />

• GREEN lines are integer and so on.<br />

You can’t connect two lines that have different types and you can’t connect two<br />

outputs either.<br />

Goal:<br />

You learn the difference between different types ( binary, integer,…. )<br />

You learn how to read the time from the internal clock<br />

You learn to how to compare values.<br />

You learn to work with symbols rather then with fix addresses.<br />

You learn how to document your program.<br />

You learn to set the internal clock.<br />

Quite a lot for one example I know.<br />

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

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

Saved successfully!

Ooh no, something went wrong!