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 boolean - 6.23<br />

W<br />

M<br />

W<br />

(M+W)<br />

S * (M+W)<br />

= (S*W)+(S*M)<br />

S<br />

A<br />

M<br />

S<br />

A<br />

W<br />

Figure 6.22<br />

The Simplest Circuit <strong>and</strong> Ladder Diagram<br />

Aside: The alarm could also be implemented in programming languages. The program<br />

below is for a Basic Stamp II chip. (www.parallaxinc.com)<br />

w = 1; s = 2; m = 3; a = 4<br />

input m; input w; input s<br />

output a<br />

loop:<br />

if (in2 = 1) <strong>and</strong> (in1 = 0 or in3 = 1) then on<br />

low a; goto loop ‘alarm off<br />

on:<br />

high a; goto loop ‘alarm on<br />

Figure 6.23<br />

Alarm Implementation Using A High Level Programming Language<br />

6.6 SUMMARY<br />

• Logic can be represented with Boolean equations.<br />

• Boolean equations can be converted to (<strong>and</strong> from) ladder logic or digital circuits.<br />

• Boolean equations can be simplified.<br />

• Different controllers can behave the same way.<br />

• Common logic forms exist <strong>and</strong> can be used to underst<strong>and</strong> logic.<br />

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

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

Saved successfully!

Ooh no, something went wrong!