Simple Ladder Logic Example: Easy PLC Programming Guide

Philip Jun 27, 2026

At its core, a simple ladder logic example serves as the foundational building block for understanding how programmable logic controllers (PLCs) automate industrial processes. This graphical programming language, which resembles a relay schematic, provides an intuitive way for engineers and technicians to translate operational logic into a language a machine can execute. By examining a basic scenario, you can quickly grasp the relationship between inputs, outputs, and the logical conditions that bridge them.

Ladder Logic in Action
Ladder Logic in Action

Understanding the Basic Rungs

the ladder diagram shows how to use ladders in an organization's workflow
the ladder diagram shows how to use ladders in an organization's workflow

The most essential simple ladder logic example is a single rung controlling a light. In this diagram, the rung represents a logical statement that must evaluate to true for the output to activate. On the left side are the contacts, which act as inputs, and on the right side is the coil, which acts as the output. The power flows from left to right only when the contacts are closed, energizing the coil and turning on the light.

Deconstructing a Physical Scenario

Ladder Logic Tutorial - Part 2: Building Logic | PLC Academy
Ladder Logic Tutorial - Part 2: Building Logic | PLC Academy

Imagine a safety door on a piece of manufacturing equipment. To create a working simple ladder logic example for this door, you would model two normally open contacts in series representing the door switch. If the door is closed, the switch completes the circuit, allowing the rung to be true. However, if the door is opened, the contacts open, breaking the circuit and de-energizing the output, such as a warning light or an interlock mechanism. This visual representation makes it immediately clear how physical states dictate electrical behavior.

Symbol Function Real-World Equivalent
[ ] Contact (Normally Open) Push-button switch not pressed
( ) Coil Light or motor starter
the basic guide to understand and use ladders for electrical workflow diagrams, including an explanation
the basic guide to understand and use ladders for electrical workflow diagrams, including an explanation

The Role of Logic and Truth

Logic gates are the invisible processors behind the lines in a simple ladder logic example. The series connection of contacts we discussed functions as an AND gate; both conditions must be met (True AND True) for the output to be True. Conversely, a parallel connection acts as an OR gate, where if either contact closes, the output activates. Understanding this binary nature—inputs are either on or off—is crucial for troubleshooting and designing reliable sequences.

Expanding Complexity Gradually

LADDER LOGIC DIAGRAM
LADDER LOGIC DIAGRAM

While the simple ladder logic example of a single rung is easy to digest, real-world applications combine multiple rungs to achieve sophisticated control. You might chain rungs together to create an OR condition where either of two sensors triggers a pump, or use a normally closed contact to implement a stop function that overrides a start command. These combinations allow for the creation of timers, counters, and complex interlocks that manage the full lifecycle of a machine.

For practitioners, the beauty of ladder logic lies in its readability during maintenance. Unlike text-based code, a technician can visually trace the path of electricity to diagnose why a motor will not start. This inherent transparency reduces downtime and ensures that the "simple" logic remains maintainable for decades, protecting the investment in the automation system.

the circuit diagram for an electronic device
the circuit diagram for an electronic device
Advantages of programmable logic controllers - PLC Basics
Advantages of programmable logic controllers - PLC Basics
Ladder Logic | The Basics
Ladder Logic | The Basics
Ladder Logic Symbols
Ladder Logic Symbols
Logic Gates, Ladder Diagram
Logic Gates, Ladder Diagram
wiring diagram for an electrical system with two switches and one switch, which is connected to the
wiring diagram for an electrical system with two switches and one switch, which is connected to the
Count and Pack Objects from Conveyor using PLC Ladder Logic
Count and Pack Objects from Conveyor using PLC Ladder Logic
If you have any aspiration of working with Industrial Robots, you'll need to learn how to write Ladder Logic! Here's our attempt at a CRASH COURSE guide! Ladder Logic Tutorial, Learn Ladder Logic Programming, Ladder Logic Diagram Guide, Plc Ladder Logic For Vfd, Stop Start Ladder Logic, Ladder Logic Programming, Ladder Logic Diagram Editor, How To Use Ladder Logic, How To Program Plc Using Ladder Logic
If you have any aspiration of working with Industrial Robots, you'll need to learn how to write Ladder Logic! Here's our attempt at a CRASH COURSE guide! Ladder Logic Tutorial, Learn Ladder Logic Programming, Ladder Logic Diagram Guide, Plc Ladder Logic For Vfd, Stop Start Ladder Logic, Ladder Logic Programming, Ladder Logic Diagram Editor, How To Use Ladder Logic, How To Program Plc Using Ladder Logic
PLC Ladder Logic Programming Tutorial (Basics) | PLC Academy
PLC Ladder Logic Programming Tutorial (Basics) | PLC Academy
the circuit diagram for an electronic device, with two switches and one button on each side
the circuit diagram for an electronic device, with two switches and one button on each side
Single Push button to ON and OFF Bulb using Ladder Logic
Single Push button to ON and OFF Bulb using Ladder Logic
PLC Ladder Logic Example | PLC Example Ladder Programs
PLC Ladder Logic Example | PLC Example Ladder Programs
Mis-conceptions of PLC Ladder Logic | PLC Tutorials for beginners
Mis-conceptions of PLC Ladder Logic | PLC Tutorials for beginners
a book cover with the words, understanding ladder logic
a book cover with the words, understanding ladder logic
PLC Ladder Logic for Opposite Acting Control Valves Application
PLC Ladder Logic for Opposite Acting Control Valves Application
Learning LDmicro: A Step-by-Step Tutorial for Beginners
Learning LDmicro: A Step-by-Step Tutorial for Beginners
Basics of PLC Ladder Diagram
Basics of PLC Ladder Diagram
What logic is represented by the following ladder diagram?
What logic is represented by the following ladder diagram?
an electrical circuit diagram with two different types of switches and one type of light switch
an electrical circuit diagram with two different types of switches and one type of light switch
the circuit diagram is shown in this manual
the circuit diagram is shown in this manual
Ladder Logic Symbols - All PLC Diagram Symbols
Ladder Logic Symbols - All PLC Diagram Symbols