0% found this document useful (0 votes)
201 views

Lecture 5-Rules For PLC Ladder Diagram Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
201 views

Lecture 5-Rules For PLC Ladder Diagram Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

6 Rules for PLC Ladder Diagram

Programming

Prepared by: DBA


Source: https:
Programmable Logic Controllers (fifth Edition) by Frank D. Petruzella
https://dipslab.com/rules-plc-ladder-diagram-programming/?fbclid=IwAR1LNNJfluEGQsGdk2_1d5WI7KsT4Z7-1YNtbUD0s57VyjEWtEaZ6NzcgG4
https://www.youtube.com/watch?v=aygXqlwCTis
Input terminal

Output terminal
+ -
24V

Power lines

Rung
1. Inputs can be used in Series as well as Parallel to form a connection
• The number of inputs (I1, I2, I3, I4, ……In)
can link with different outputs (Q1,
Q2,…..Qn) by using series or parallel
connection.
• In the below figure, the three Inputs (I1,
I2, and I3) are connecting in series and
four Inputs (I1, I2, I3 and I4) are
connecting in parallel with the Single
output (Q1 and Q2) respectively.
• So we can connect the inputs in series or
parallel as per our programming
requirement.
2. Outputs (or coil) can be used only in Parallel
• According to the second rule,
outputs (Q1, Q2, Q3, Q4, ……Qn)
are connected in parallel along
with the single input (I1). Refer to
the image below.
• If the single input (I1) is normally
closed (NC contact) then all
outputs (Q1, Q2, Q3, Q4,….Qn) will
be activated (On).
3. One Input can be used in multiple times in one program
• As per the third rule, a single
input can be used to
repeatedly in the different
rungs.
• From the below image, the
program has different
outputs but the same input
(switch) connected.
4. One Output cannot be used multiple times in one program, except in
Set/Reset and Latch/ Unlatch functions
• In the function set/reset, the
same output address is used.
And it can be connected to the
same or different inputs.
• As per the below image,
different inputs (I1 and I2) are
linked with the single output
(Q1) using the set and reset
function.
• When the Input (I1) is pressed,
the output coil will be set ( i.e.
Q1 on activate mode). And
when the input (I2) is pressed,
the output coil will be reset ( i.e.
Q1 on deactivate mode).
4. One Output cannot be used multiple times in one program, except in
Set/Reset and Latch/ Unlatch functions
• In latch/unlatch function,
working is the same as
set/reset function. The only
difference is, the first input
(I1) is normally opened (NO)
and the second input (I2) is
normally closed (NC).
• The latch/unlatch function is
useful for the cycling process
5. Input Address cannot be used as an Output Address
• The same input address can
be used as multiple inputs.
And it can not be used as
output.
6. Outputs Address can be used as Inputs Address
• The last rule is for the
cycling process (i.e.
process continuous
from start to end).
• In the image below, the
output coil works as the
input coil with the use
of latch/unlatch
function.
END

You might also like