12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

plc basic functions - 15.22<br />

after<br />

addr.<br />

n[0]<br />

n[1]<br />

n[2]<br />

n[3]<br />

n[4]<br />

n[5]<br />

data (binary)<br />

0011010111011011<br />

1010010011101010<br />

0010010011001010<br />

1011010111111011<br />

1001000100110001<br />

1100101000100100<br />

AND<br />

source A n[0]<br />

source B n[1]<br />

dest. n[2]<br />

OR<br />

source A n[0]<br />

source B n[1]<br />

dest. n[3]<br />

XOR<br />

source A n[0]<br />

source B n[1]<br />

dest. n[4]<br />

NOT<br />

source A n[0]<br />

dest. n[5]<br />

Figure 15.23<br />

Boolean Function Example<br />

15.4 DESIGN CASES<br />

15.4.1 Simple Calculation<br />

Problem: A switch will increment a counter on when engaged. This counter can be<br />

reset by a second switch. The value in the counter should be multiplied by 2, <strong>and</strong> then displayed<br />

as a BCD output using (O:0.0/0 - O:0.0/7)<br />

www.PA<strong>Control</strong>.com

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

Saved successfully!

Ooh no, something went wrong!