Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
24
2. Draw a ladder diagram that will cause output D to go true when switch A and switch B are
closed or when switch C is closed.
3. Draw a ladder diagram that will cause output D to be on when push button A is on, or either B
or C are on.
4. Design ladder logic for a car that considers the variables below to control the motor M. Also
add a second output that uses any outputs not used for motor control.
- doors opened/closed (D)
- keys in ignition (K)
- motor running (M)
- transmission in park (P)
- ignition start (I)
5. a) Explain why a stop button must be normally closed and a start button must be normally open.
b) Consider a case where an input to a PLC is a normally closed stop button. The contact used in
the ladder logic is normally open, as shown below. Why are they both not the same? (i.e., NC
or NO)
start
stop
motor
motor
6. Make a simple ladder logic program that will turn on the outputs with the binary patterns when
F E
D C
B A
1
1
1
0
1
0
0
0
0
0
0
1
1
0
0
1
0
1
1
0
1
1
1
1
Input X on
Input Y on
Input Z on
7. Convert the following Boolean equation to the simplest possible ladder logic.
X = A (A + A B )
8. Simplify the following boolean equations.
a)
A ( B + AB )
b)
A ( B + AB )
c)
A ( B + AB )
d)
A ( B + AB )
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
0
1
0
1
1
0
0
1
0
0
1
1
Y =
C A
+ ( BC ( A +
BC ) )
16. Simplify the following boolean equation with Boolean algebra and write the corresponding
ladder logic.
X = ( A + B A ) + ( C + D + EC )
17. Convert the following ladder logic to a Boolean equation. Then simplify it, and convert it back
B
A
C
2.
A
3.
B
4.
I
M
K
where,
B = the alarm that goes "Bing" to warn that the keys are still in the car.
5. a) If a NC stop button is damaged, the machine will act as if the stop button was pushed and
shut down safely. If a NO start button is damaged the machine will not be able to start.)
b) For the actual estop which is NC, when all is ok the power to the input is on, when there is a
problem the power to the input is off. In the ladder logic an input that is on (indicating all is ok)
will allow the rung to turn on the motor, otherwise an input that is off (indicating a stop) will
break the rung and cut the power.)
6.
H
ETC....
7.
A
8.
a) AB
b)
A+B
c) AB
d)
A+B
9.
a)
b)
( A + B ) ( A + B ) = ( AB ) ( AB ) = 0
10. C
11.
X = B (A C + C )
12.
Y = ( ABCD + ABCD + ABCD + ABCD ) + D
Y = ( ABCD + ABCD + ABCD + ABCD )D
Y = ( 0 + ABCD + 0 + 0 )D
Y = ABCD
A
13.
A
a)
B
b)
A + DCB
A
c)
D
X
C
D
C
A
D
B
C
14.
15.
Y = C A + A + ( BC ( A + BC ) )
Y = C A + A + ( BC ( A + B + C ) )
Y = C A + ( A + ( BCABC ) )
Y = C A + ( A + 0 )
Y = C(A + (A + 1))
Y = C(A + ( 1) )
Y = C(A + 0 )
Y = CA
Y = C+A
16.
X = ( A + B A ) + ( C + D + EC )
X = ( A + B A ) + ( C + D + EC )
OR
X = ( A + B A ) ( C + D + EC )
X = A + B A + CD ( E + C )
X = ( A ) ( B A ) ( C + D + EC )
X = A + B + CDE
X = ( A ) ( B A ) ( C + D + EC )
X = AB ( C + D + EC )
X = AB ( C + D + E )
X = AB ( CDE )
X = AB ( C + D + E )
17.
D
A
Y
18.
CAB
C
A
B
A
19.
a)
X = A + (B (A + C) + C ) + A B (D + E )
X = A + (B A + B C + C) + A B D + A B E
X = A (1 + B D + B E) + B A + C (B + 1)
X = A+BA+C
b)
ABCD E
c)
A
C
C
D
E
X
A
B
20.
A + (B + C + D ) (B + C) + A B (C + D )
A (1 + B (C + D) ) + (B + C + D ) B + (B + C + D ) C
A + (C + D ) B + C
A+CB+DB+C
A+DB+C
A+DB+C
A
B
C
D
B
C
C
D
A
B
D
B
A
C
2. Convert the following ladder logic to a Boolean equation. Simplify the equation using Boolean
algebra, and then convert the simplified equation back to ladder logic.
C
D
X
3. Use Boolean equations to develop simplified ladder logic for the following truth table where A,
B, C and D are inputs, and X and Y are outputs.
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
1
0
1
0
1
0
1
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
4. Convert the truth table below to a Boolean equation, and then simplify it. The output is X and
the inputs are A, B, C and D.
A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
1
0
0
0
1
0
0
0
1
1
1
1
1
5. Simplify the following Boolean equation. Convert both the unsimplified and simplified equations to ladder logic.
X = ( ABC ) ( A + BC )