|
D C X Inputs and outputs are typically 5V
E
C
An inexpensive PLC is worth X B A at least a few hundred dollars
C Consider the cost trade-off!
Figure 6.8 A Boolean Equation and Derived Circuit and Ladder Logic
The initial equation is not the simplest. It is possible to simplify the equation to the form seen in Figure 6.8. If you are a visual learner you may want to notice that some sim plifications are obvious with ladder logic -consider the C on both branches of the ladder logic in Figure 6.9.
plc boolean -6.12
CE
A = B ??(D ++ F )
Figure 6.9 The Simplified Form of the Example
The equation can also be manipulated to other forms that are more routine but less efficient as shown in Figure 6.10. The equation shown is in disjunctive normal form -in simpler words this is ANDed terms ORed together. This is also an example of a canonical form -in simpler terms this means a standard form. This form is more important for digital logic, but it can also make some PLC programming issues easier. For example, when an equation is simplified, it may not look like the original design intention, and therefore becomes harder to rework without starting from the beginning.
plc boolean -6.13
C
A = (B ??D)+ (BCE)+ (BCF)
Figure 6.10 A Canonical Logic Form
6.3.1 Boolean Algebra Techniques
There are some common Boolean algebra techniques that are used when simplifying equations. BACK | NEXT Easy Access To All Pages 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|