4-PLC Programming-2020-Supplimentary Notes1
4-PLC Programming-2020-Supplimentary Notes1
PLC Programming
Supplementary Notes 1
We can represent the same circuit using two vertical power rails
The following diagram shows a simple circuit to
as follows.
control a motor using a switch.
Ladder logic diagrams
• We have the motor and switch connected serially in both of
the above diagrams. Therefore, the motor turns on only
when we close the switch. We call the second circuit
diagram a ladder diagram.
• In ladder logic diagrams, we always have the power lines as
two vertical bars. We call them with many names including
power rails and power lines.
• We also connect all the other circuit elements horizontally
between the two rails. The overall view of the circuit looks
like a ladder.
• Vertical power lines are like vertical ladder sides and
horizontal lines are like ladder rungs. .
Introduction
• Furthermore, we don’t try to represent a circuit completely
in a ladder diagram. We only consider the required control
structure of the circuit.
• Usually, in a circuit diagram, We have to show the relative
positions of each component.
• In a ladder diagram, we don’t represent that relative
positioning and we only show the control methods for each
circuit element..
Common conventions in a ladder diagram
• We represent the power lines as vertical lines in the diagram. Power
flows from the le rail to the right rail across a rung.
• Single rung represents a single control operation. A rung should
start with one or more inputs and should end with one or more
outputs. For example, a switch is an input and a motor is an output.
• We show the circuit elements in their normal state. Therefore, we
show a normally open switch as open in the diagram.
• Likewise, we show a normally closed switch as closed in the ladder
logic diagram. A single circuit element can appear in many rungs.
• In this case, we use the same names for such elements. We specify
inputs and outputs using manufacturer supplied I/O addresses. .
PLC scanning of the ladder logic program.