You are on page 1of 28

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : K.Sambaiah
Designation : H.A.E.I.E.S
Branch : A.E.I.E
Institute : GMRP, KARIMNAGAR.
Semester : VI
Subject : PLC AND SCADA
Subject code : AEI-602
Topic : PLC PROGRAMING
Duration : 100 min.
Sub topic : Ladder Diagrams
Teaching aids : ppts,Diagrams
AEI602.49 to 50 1
Objectives

On Completion of this topic you will be able


to know…

• Ladder Diagrams

AEI602.49 to 50 2
Ladder Diagrams

• Similar to computer languages, PLCS also include 2


types of languages:

• Machine language

• Ladder language

AEI602.49 to 50 3
Ladder Diagrams

• This is written using 0s & 1s, which represent the OFF &
ON states of circuits within a PLC.

• Ladder Logic Language:

• This comprises i/p & o/p symbols.

AEI602.49 to 50 4
Ladder Diagrams

• It is a high level, graphic-based language

• Uses gates, such as AND, OR & NOT to specify &


control the i/p & o/p conditions.

AEI602.49 to 50 5
Symbols Used In The Ladder Logics

• Diagram using appropriate symbols.

Input Rung Output

• Fig.1. Simple Ladder Logic

AEI602.49 to 50 6
Construction of ladder diagram

• A PLC takes i/p from real-world devices & sensors &


based of the programming instructions, controls real-
world o/p devices.

• Ladder logic programs are used in PLC’s to write


programming instructions.

• The above figure.1 shows a simple ladder logic


diagram.

AEI602.49 to 50 7
Construction of ladder diagram…

• ladder logic consists of the following 3 elements:

1) I/P

2) O/P

3) Rung

AEI602.49 to 50 8
Construction of ladder diagram…
• A ladder logic diagram consists of 1 or more horizontal
lines, called rungs.

• The rungs contain the i/p & the o/p elements.

• In a ladder logic diagram, the i/p element is referred to


as the contact

• The o/p element is referred to as the coil.

AEI602.49 to 50 9
Construction of ladder diagram…
Don’ts

• Do not have more than 4 levels of ‘nesting’ per rung.


This holds true for I/p condition branching as well as
o/p action branching.

• Nested branches have the same start but different


ends.

• Alternately, branches that have different starts but the


same end are also called nested branches.

AEI602.49 to 50 10
Construction of ladder diagram…

• Therefore, nested branches have either a common start


point or a common end point.

• On the other hand, parallel branches have the same


start and the end points.

• There is no limit to the number of parallel branches that


a rung can have, depending on the capacity of the PLCs
RAM

AEI602.49 to 50 11
Construction of ladder diagram…

• The below figures shows the different types of nested


and parallel branches

• Ex: Nested branches with same Start

AEI602.49 to 50 12
Construction of ladder diagram…

• Ex: Nested branches with same end

AEI602.49 to 50 13
Construction of ladder diagram…

• Ex: Parallel Branches

AEI602.49 to 50 14
Construction of ladder diagram…

• Ex: Five Levels of nesting

AEI602.49 to 50 15
Construction of ladder diagram…
• Do not overlap branches.

• An overlapped branch means that a branch starts inside


a branch and outside the branch.

• An overlapped branch is illustrated in below figure.

AEI602.49 to 50 16
Construction of ladder diagram…

• Do not start branch at one level and end it at another


level. The below figure shows a branch starting at one
level and ending at another.

AEI602.49 to 50 17
Construction of ladder diagram…

• Do not start branch at one level and end it at another


level. The below figure shows a branch starting at one
level and ending at another.

AEI602.49 to 50 18
Construction of ladder diagram…

• Do not overlap branches at one level and end it at


another level. The below figure shows a branch starting
at one level and ending at another.

AEI602.49 to 50 19
Construction of ladder diagram…

Do’s

• The Do’s ensure that you place the i/p conditions that
there is minimum possible processing required to test
the i/p conditions to take an appropriate o/p action.

AEI602.49 to 50 20
Construction of ladder diagram…

• While placing I/p conditions in series, in a situation where


all the conditions should be met, place the condition
most likely to be False at the extreme left end.

• Sequence the I/p conditions from left to right in the order


of most likely to be False to most likely to be True, as
shown in below figure.

AEI602.49 to 50 21
Construction of ladder diagram…

• Condition most likely Condition most likely


to be false to be true

• Placing input conditions in a series

AEI602.49 to 50 22
Construction of ladder diagram…

• When placing i/p conditions in parallel, in a situation


where 1 of the conditions should be met, place the
condition most likely to be True on the top & the most
likely to be False at the bottom.

• The below figure shows an arrangement

AEI602.49 to 50 23
Construction of ladder diagram…

• Condition most
Likely to be true

• Condition most
Likely to be false

Fig: Placing input conditions in parallel

AEI602.49 to 50 24
Summary

We have discussed

• Ladder Diagrams Construction

AEI602.49 to 50 25
QUIZ

1.In PLC what are the programming languages


used .

a) Machine language:
b) Ladder language
c) a&b
d) none

Ans: c

AEI602.49 to 50 26
QUIZ

2) Ladder logic consists how many elements

a) input
b) Rung
c) output.
d) all

Ans: d

AEI602.49 to 50 27
Frequently Asked Questions

2. Briefly explain ladder logic elements.

4. Write Simple Ladder Logic programme.

3. Give the procedure to construct a correct ladder logic


diagram.

4. Briefly explain symbols used in ladder logic diagrams.

AEI602.49 to 50 28

You might also like