5.basic Ladder Logic Diagrams
5.basic Ladder Logic Diagrams
5.basic Ladder Logic Diagrams
• Ladder circuit
Scanning of ladder diagram
• When the PLC is in its run mode, it goes
trough the entire ladder program to the end,
the end rung of the program being clearly
denoted and then promptly resume at the
start.
• This procedure of going through all rungs of te
program is termed a cycle. The end rung
might be indicated by a block with the word
END or RESET for return since the program
promptly return to its beginning.
Scanning cont…..
• In ladder diagram every rung must have an
input or a set of input signals and it must end
with at least one output.
• The term input is used for a control action such
as closing the contacts of a switch and output
of a sensor is used as an input to the PLC
• The term output is used for the device
connected to the output of the PLC eg. A motor,
solenoid switch etc.
Scanning cont….
• The inputs and outputs are all identified by
their addresses, the notation used depending
on the manufacture. This is the address of the
input or output in the memory of the PLC
• A particular device can appear in more than
one rung of a ladder. For example we might
have a relay which switches on one or more
devices. The same letter and or numbers are
used to label the device in each situation.
Scanning cont…
• Electrical devices are shown in their normal
condition. Thus a switch which is normally
open until some object closes it is shown open
on the ladder diagram. A switch that is
normally closed is shown closed.
Basic symbols used in ladder diagram
symbols
Ladder Diagram Contact Symbols
Positive Negative
Push button
Push button Control Relay 1
• PB4 closed
• LS3 open
Equivalent circuit
SS2 PB4 LS3 PL2
Logic diagrams Vs ladder diagram
• The AND Gate
A B X
The figure shows the PLC ladder
logic of AND gate, which shows
the output coil turns “ON” when
both the input will be ON
AND Gate: Y = A * B
The OR gate
OR Gate: Y = A + B
The figure shows the PLC ladder logic of
the OR gate, which shows the output coil
turns “ON” when any one of the inputs will
be ON.
The NAND gate
X Y Z
The figure shows the PLC ladder logic of the
NOR logic gate, which shows that Output will
only turn ON when all the inputs will be OFF
The XNOR gate
L
A B X