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.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 + C)<br />

+ F⋅<br />

C)<br />

A = B⋅<br />

( D ⋅ C+ E⋅<br />

C+ C⋅<br />

C+<br />

F⋅<br />

C)<br />

A = B⋅<br />

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

F⋅<br />

C)<br />

A = B⋅<br />

C⋅<br />

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

A = B⋅<br />

C⋅<br />

( 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⋅<br />

B+<br />

A ⋅ C+ A⋅<br />

B+<br />

X = A⋅<br />

B+ ( A⋅<br />

C + A ⋅ C)<br />

+<br />

X = A⋅<br />

B+<br />

C ⋅ ( A + A)<br />

+<br />

X = A⋅ B+<br />

C + A⋅<br />

B<br />

A⋅<br />

C<br />

A⋅<br />

B<br />

A⋅<br />

B<br />

The higher priority operators are<br />

put in parentheses<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<br />

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

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

Saved successfully!

Ooh no, something went wrong!