PLC Ladder Diagram: Explanation with Examples (Easy Guide)
A PLC (Programmable Logic Controller) is widely used in industries to automate machines and processes. To control any machine, the PLC uses different programming languages, and the most popular one is the Ladder Diagram (LD).
In this post, you will learn:
- What is a Ladder Diagram?
- Basic symbols of Ladder Logic
- How Ladder Logic works
- Simple and real-time examples
- Advantages of Ladder Diagram
What is a PLC Ladder Diagram?
A Ladder Diagram is a graphical programming language that looks like an electrical relay circuit. It has two vertical power rails and multiple horizontal lines called rungs. Each rung represents one logic operation.
It is the easiest PLC programming language because it uses simple symbols like contacts, coils, timers, counters, etc.
Basic Symbols in Ladder Logic
| Symbol | Name | Function |
|---|---|---|
| ━| | Normally Open (NO) Contact | Allows current when input is ON |
| / | Normally Closed (NC) Contact | Allows current when input is OFF |
| ( ) | Output Coil | Energizes an output device |
| T | Timer | Used for delay ON or delay OFF |
| C | Counter | Used for counting events |
How Ladder Logic Works
PLC scans the program left to right and top to bottom. When all conditions on a rung are TRUE, the PLC activates the output coil on that rung.
Example 1: Start/Stop Motor Control
Problem:
Start a motor with a Start button and stop it using a Stop button. Motor should remain ON even after releasing the Start button (latching).
Ladder Diagram Logic:
|----[ ]----[/]---------------( )-------|
Start Stop Motor
| |
|----[ Motor ]--------|
Explanation:
- Start (NO Contact): Turns motor ON when pressed.
- Stop (NC Contact): Breaks the circuit when pressed.
- Motor (Output Coil): Runs the motor.
- Latching Contact: Keeps motor ON until Stop is pressed.
Example 2: Lamp ON with 5-Second Delay
Problem:
Turn the lamp ON 5 seconds after the switch is pressed.
Ladder Diagram:
|----[ ]-----------------(TIMER T1 5s)-------------|
Switch|----[ T1 Done ]-----------------( Lamp )----------|
Explanation:
- Switch activates Timer T1.
- After 5 seconds, timer output becomes TRUE.
- Lamp turns ON.
Example 3: Conveyor Motor with Object Counter
Problem:
Conveyor motor should run until 10 objects pass the sensor.
Ladder Diagram:
|----[ ]------------- ( Conveyor Motor )------------------|
Start|----[ Sensor ]------------( Counter C1 )------------------|
|----[ C1 >= 10 ]----------(/ Conveyor Motor )-------------|
Explanation:
- Start button runs conveyor.
- Sensor counts each object.
- When count reaches 10, the motor stops.
Advantages of Ladder Diagram
- Easy to understand
- Similar to electrical wiring
- Best for beginners and technicians
- Easy debugging and troubleshooting
- Works well for industrial automation
Conclusion
PLC Ladder Diagram is the simplest and most widely used method for programming PLCs. With just contacts, coils, timers, and counters, you can control any machine—from motors to conveyors and automation systems.

No comments:
Post a Comment