Lab 3
Lab 3
In this lab we will learn about Boolean equations and how to convert it into ladder logic
or circuit. Boolean algebra is a division of mathematics that deals with operations on logical
values and incorporates binary variables . The process of converting control objectives into a ladder
logic program requires structured thought. Boolean algebra provides the tools needed to analyze and
design these systems.
Objective of this lab to Simplify designs with Boolean algebra. And to Convert Boolean algebra
and logic gates (FBD) into ladder logic.
PLC
PC
Control Description:
If the temperature is too high and there is an ingot in only one bay then turn on fan.
Define Inputs and Outputs:
B1 = bay 1 ingot present
B2 = bay 2 ingot present
F = fan
T = temperature overheat sensor
Boolean Equation:
F = T.(B1 B2)
F = T. (B1 .B2 + B1 .B2) (1)
F = B1 .B2 .T + B1 .B2 .T (2)
Ladder logic for equation (1)
Note that the XOR prevents output to be energized if both inputs occur simultaneously. Draw
an alternate ladder logic using equation (2). Test it on your Siemens PLC.
# LAD (Ladder Logic)
A+B
A.B
TASK-3: Car Safety System
Problem: Develop Ladder Logic for a car door/seat belt safety system. When the car door is open,
and the seatbelt is not done up, the ignition power must not be applied. If all is safe then the key
will start the engine. Test it on your Siemens PLC.
Solve the logic network shown in Figure so that no reverse power flow condition exists. The
reverse condition is not part of the required logic for the output to be energized.
The forward power flow of the logic determines output Y. Let’s implement it using logic concepts.
The output Y is defined, using forward paths only, as:
Minimize it, using Boolean algebra’s distributed rule, to show that the equivalent ladder diagram
is. Test it on your Siemens PLC.
# LAD (Ladder Logic)
Following the same procedure as in Task 4, we can obtain the desired logic for output Y using
Boolean logic expressions. Therefore, output Y, including the reverse power flow logic, is
represented by:
The term F • D • B • C implements the reverse power flow sequence that output Y requires.
Use Boolean simplification to show that the equivalent ladder diagram is.
X= A. (A + A .B)
5.Using Boolean algebra, show that the following ladder
diagram
6. Show that Figure 8 (a) is equivalent to Figure (b) using Boolean
algebra .This is to eliminate bidirectional power flow in the
vertical contactor CR3