Plcs and Relay Ladder Logic Sequence Control
Plcs and Relay Ladder Logic Sequence Control
Ladder Logic
Sequence Control
Aditi Kumari 20225002
Akrati Singh 20225005
Anandi Yadav 20225007
Prashansa Sthul 20225062
Usha Nitwal 20225099
5 Applications
Examples
6
7 Practical examples
1. PLCs (Programmable Logic Controllers):
Input/Output (I/O) Modules: PLCs connect to sensors, switches, and other devices through
input/output modules, which collect data from the environment and send control signals to
other equipment.
Programming: PLCs are programmed using specialized languages like Ladder Logic,
Structured Text, and Function Block Diagrams.
Real-time Control: PLCs operate in real-time, meaning they execute control tasks promptly
based on input data.
Reliability and Durability: They are highly reliable for continuous operation in industrial
environments.
PLC block diagram
Languages
Ladder Logic is a graphical Function Block Diagram (FBD) is a Structured Text (ST) is a high-level
programming language used in graphical programming programming language used in
PLC programming, resembling language used in PLCs that PLCs that resembles traditional
electrical relay diagrams. It represents functions as blocks programming languages. It allows
simplifies troubleshooting and and their relationships through for complex mathematical
understanding for engineers by interconnected lines. It allows for operations, logical functions, and
using symbols and lines to modular design, simplifying data handling, making it ideal for
represent control circuits and complex control processes, and advanced automation tasks. ST
logic functions, making it ideal for enhancing user comprehension enhances readability and simplifies
automating industrial processes. of the control logic. debugging, facilitating efficient
control system design.
Relay Ladder Logic (RLL) is one of the most common programming languages used to program PLCs. It gets its name from the
resemblance to electrical relay diagrams used in older control systems. It provides a graphical way to represent control circuits.
In Ladder Logic, the circuit is represented as a "ladder" with two vertical rails (representing electrical power lines) and horizontal
rungs (representing control circuits). It follows a left-to-right execution flow, where each rung represents a specific logic
operation.
Key Concepts in Relay Ladder Logic:
Contacts: These represent physical switches or relays in the system (e.g., normally open or normally closed).
Normally Open (NO): Allows current to flow when activated (equivalent to a switch being on).
Normally Closed (NC): Allows current to flow when deactivated (equivalent to a switch being off).
Coils: These are the output elements that get energized when the logic conditions are true. Coils typically represent relays or
devices that need to be controlled.
Rungs: Each rung in the ladder represents a logical condition. If the inputs satisfy the condition, the output coil is energized.
3. Sequence Control using Ladder Logic
Sequence control refers to the process of executing a series of operations in a defined order based
on certain conditions. In PLCs and Ladder Logic, this is typically done using:
Changes can be made in PLCs use electronic switching, which is Mechanical relays wear out over
software instead of rewiring faster and more reliable . Milliseconds time due to moving parts. PLCs
circuits. response time improves control have solid-state components,
Makes the system flexible. system performance. making them more durable and
long-lasting.
04 05 06
Initial cost of a PLC may be higher, but PLCs can communicate with PLCs have built-in diagnostics
Fewer components, reduced wiring, other devices (HMI, SCADA, that detect faults and display
and minimal maintenance lowers sensors, etc.). errors. Relay systems require
costs. manual checking of each wire
and connection.
Disadvantages:
AND GATE
A*B = Y
Logic: Output is ON only if both
inputs are ON.
BASIC LOGIC GATE IMPLIMENTATIONS
THROUGH LADDER PROGRAMMING
OR GATE
A+B = Y
Logic: Output is ON if at least
one input is ON.
BASIC LOGIC GATE IMPLIMENTATIONS
THROUGH LADDER PROGRAMMING
NOT GATE
Logic: Output is the inverse of
input.
Example: Stop button in a
system.
NOTE: ALL OTHER GATES CAN BE REPRESENTED USING THESE BASIC GATES
WE WILL SEE A FEW SIMPLE IMPLIMENTATIONS OF PLC LADDER
PROGRAMMING
EXAMPLE-1 MOTOR ON AND OFF CONTROL
WITH LATCHING.
Motor latching refers to a control mechanism where a motor remains in an "on" state even after
the initiating input (like a push button) is released. This is achieved using a latching circuit,
which "remembers" the motor's state until a separate stop input is provided.
EXAMPLE-2 MOTOR ON AND OFF CONTROL
WITH LATCHING USING TIMER.
Using a timer for the start button in motor latching ensures that the motor starts after a specific
duration (EG: 2 seconds) after the start button is pressed.
WE WILL SEE A IMPLIMENTATIONS OF
PLC LADDER PROGRAMMING IN PRACTICAL SCENARIO
Here in this practical example an automated system designed to transport and manipulate a box along a
production line by integrating mechanical and electronic components. The system operates under the
control of a Programmable Logic Controller (PLC) and executes a predefined sequence of operations to
ensure efficiency and precision.
System Components
Input Signals (Sensors)
•X0: Manual signal to turn the system ON/OFF.
•X1: Box detected on the first conveyor.
•X2: Box positioned at the exact place on the disk (platform sensor activated).
•X3: Disk rotation (CCW) completes 90°.
•X4: Box pushed out of its position on the disk.
•X5: Disk and pusher return to the initial position.