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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc boolean - 6.5<br />

used to get the final, simplified equation. Notice that using Boolean algebra has shown<br />

that 3 of the variables are entirely unneeded.<br />

A = B⋅<br />

( C ⋅ ( D + E+<br />

C)<br />

+ F⋅<br />

C)<br />

A = B⋅<br />

( D ⋅ C + E⋅ C + C ⋅ C+<br />

F⋅<br />

C)<br />

A = B⋅<br />

( D ⋅ C + E⋅ C + C + F⋅<br />

C)<br />

A = B⋅<br />

C ⋅ ( D + E+ 1 + F)<br />

A = B⋅<br />

C ⋅ ( 1)<br />

(1)<br />

(2)<br />

(3)<br />

(4)<br />

A<br />

=<br />

B⋅<br />

C<br />

(5)<br />

Figure 6.4<br />

Simplification of a Boolean Equation<br />

Note: When simplifying Boolean algebra, OR operators have a lower priority, so they<br />

should be manipulated first. NOT operators have the highest priority, so they should be<br />

simplified last. Consider the example from before.<br />

X = ( A + B⋅<br />

C) + A⋅<br />

( B+<br />

C)<br />

X<br />

X<br />

= ( A) + ( B⋅<br />

C)<br />

+ A⋅<br />

( B + C)<br />

= ( A) ⋅ ( B⋅<br />

C)<br />

+ A⋅<br />

( B+<br />

C)<br />

X = A⋅ ( B + C)<br />

+ A⋅<br />

( B+<br />

C)<br />

X = A ⋅ B + A⋅<br />

C + A⋅<br />

B+<br />

X = A ⋅ B + ( A ⋅ C + A⋅<br />

C)<br />

+<br />

X = A ⋅ B + C ⋅ ( A+<br />

A)<br />

+<br />

X = A ⋅ B + C +<br />

A⋅<br />

B<br />

A⋅<br />

C<br />

A⋅<br />

B<br />

A⋅<br />

B<br />

The higher priority operators are<br />

put in parenthases<br />

DeMorgan’s theorem is applied<br />

DeMorgan’s theorem is applied again<br />

The equation is exp<strong>and</strong>ed<br />

Terms with common terms are<br />

collected, here it is only NOT C<br />

The redundant term is eliminated<br />

A Boolean axiom is applied to<br />

simplify the equation further

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

Saved successfully!

Ooh no, something went wrong!