07.03.2014 Views

Introduction.

Introduction.

Introduction.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Workshop PG5 Exercise Chapter 4<br />

Solution:<br />

1. Open a new FUPLA file ( You don’t need to open a new project ) called<br />

Lot.fup<br />

2. Add a comment to your file!!!<br />

3. If there are any other files in your project, then mark them as "notlinked". This<br />

way the file will not be taken into considerations and will not be downloaded to<br />

the PCD.<br />

4. Open the FUPLA and enter the input signals at the left and the out put signal at<br />

the right.<br />

5. Place a up- down counter on your sheet and make it count up with each pulse<br />

from Input 0 ( NewCar ) and down with each pulse from input 1 ( Car_leaving<br />

).<br />

FBOX:<br />

Counters: up down with preset<br />

Binary : Dynamize<br />

When you start up your PCD, the counter might already contain a value. So we must<br />

reset the counter at start-up.<br />

The small FBox on the side may be found in the family: ( Binary: Dynamize )<br />

If you start up your PCD, then the input of the FBox "Dyn" goes from 0 to 1 ( When<br />

the constant 1 is loaded into the input ) and stays at one from then on. This change<br />

from 0 to 1 makes the output go to 1 at start-up. The signal is connected to the input<br />

"Set" which then loads "0" into the counter. Cool trick he?<br />

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

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

Saved successfully!

Ooh no, something went wrong!