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

Next:<br />

1. Build and donwload the program. (If you need a little help with<br />

building or downloading, refer back to chapter 2).<br />

2. Go on line.<br />

3. Activate the run mode. (refer to chapter 2 for help)<br />

Observing the led’s on your PCD, activate input 0 and input 1. Led 0 and led one<br />

should be on. Also, Output 0 (led 32) should be on.<br />

Turn input 0 and input 1 off, and activate input 2 and input 3. Led 2 and led 3<br />

should be on, but no output leds should be on.<br />

Leave input 2 and input 3 on, and activate input 0 and input 1. Now input led 0,<br />

led 1, led 2, and led 3, should be on, along with output 0 and output 1. (led 32<br />

and led 33)<br />

Binary Inverter:<br />

Using the same program, we will introduce the binary inverter. The binary inverter,<br />

converts the logic 1 or high, to a logic 0 or low, and vice-versa.<br />

1. Deactive the run mode, and go offline.<br />

2. The binary inverter is located on the toolbar of the Fupla editor. The icon is<br />

.<br />

3. Click on the icon and this symbol will be displayed.<br />

4. Position the tip of the arrow where you would like to insert the inverter.<br />

Click the left mouse button one time and this will paste the invert symbol<br />

to the pin. Position the pointer on the symbol and click the left button to<br />

remove the symbol.<br />

Place an inverter symbol to the AND gate of your program to match the display<br />

above. Build and download the program, go online, and activate the run mode. In<br />

the previous exercise, All the inputs had to be high to activate output 1. (Led 33).<br />

Now, input 1, input 2, and input 3 have to be high, and input 0 has to be low, to<br />

activate output 1. (Led 33)<br />

Spend a little time inserting the inverter symbol, creating different scenarios.<br />

Confirm the operation of the different scenarios by testing your programs. You will<br />

find that this symbol is a very useful and commonly used symbol.<br />

Below are a few examples.<br />

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

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

Saved successfully!

Ooh no, something went wrong!