Solving Boolean equations
Practice makes perfect. Just as many people learned to master traditional algebra by solving practice problems, we’re going to look at a couple of examples to practice solving Boolean equations.
Examples
The following are a couple of examples of how to solve Boolean equations. For most of these practice problems, there are going to be three inputs.
Example 1
Calculate the output for the following equation:
(A + B) * C
Assume A = 1, B = 0, and C = 0.
In terms of PLC programming, this equation would correspond to a system with three inputs. It could represent a switch circuit, or it could represent a series of Boolean values in a control statement. Either way, the math is going to be the same.
To solve this, let’s first break it down. Since A + B are enclosed in parentheses, these can be thought of as individual inputs for a special configuration. Since there is a plus sign, these two variables can be said to be in an OR...