Free Ladder Logic Maker
Draft PLC programs, motor control circuits, and industrial automation logic visually — no signup, no cost.
Free forever · no signup · no credit card · unlimited diagrams
Ladder logic is the dominant programming language for Programmable Logic Controllers (PLCs) in industrial automation. It represents control logic as a series of horizontal rungs — resembling the rungs of a ladder — where each rung is a logical condition that must be satisfied to energize an output. Originally designed to replicate the look of relay-based control panels, ladder logic is now governed by the IEC 61131-3 standard and is used to document, design, and communicate PLC programs across the manufacturing, process control, and building automation industries.
How to make a ladder logic diagram
Describe your control logic
Describe the process you want to control — the inputs (buttons, switches, sensors), the outputs (motors, solenoids, lights), and the logical conditions that connect them. Include any timing, counting, or interlocking requirements.
Generate the ladder diagram
FreeDiagram produces a ladder logic diagram with properly labeled rungs. Contacts are shown as XIC (Examine If Closed) or XIO (Examine If Open) symbols; output coils are shown as OTE (Output Energize) symbols following IEC 61131-3 conventions.
Review the rung logic
Check each rung to confirm that series contacts represent AND logic and parallel branches represent OR logic. Verify that seal-in contacts are placed correctly in parallel with the initiating input.
Export for documentation
Download the ladder logic diagram as a PNG or SVG for use in PLC program documentation, panel design packages, training materials, or engineering review submissions.
About ladder logic
Ladder logic was developed in the 1960s and 1970s as PLCs began replacing hard-wired relay panels in manufacturing. The graphical representation deliberately mimics the appearance of a relay ladder diagram — two vertical power rails connected by horizontal rungs — so that electrical engineers and technicians already familiar with relay schematics could read and write PLC programs without learning an entirely new language. This heritage means ladder logic remains the most widely understood PLC programming language on factory floors worldwide.
The IEC 61131-3 standard, first published in 1993 and updated since, formally defines ladder logic alongside four other PLC programming languages: Function Block Diagram, Structured Text, Instruction List, and Sequential Function Chart. Ladder logic is the most common of the five for discrete manufacturing and motor control applications. Each rung in a ladder program is evaluated left to right, top to bottom, in a continuous scan cycle.
The fundamental elements of ladder logic are contacts and coils. A normally open contact (XIC — Examine If Closed) passes power when its associated bit is set to 1 (true). A normally closed contact (XIO — Examine If Open) passes power when its associated bit is 0 (false). An output coil (OTE — Output Energize) is set to 1 when power flows through the entire rung from left to right. These three elements alone can express any combinational logic, and they are extended by timer instructions (TON, TOF, RTO), counter instructions (CTU, CTD), and comparison and math instructions for more complex control requirements.
A seal-in or latching circuit is one of the most important patterns in ladder logic. When an operator presses a momentary start button, a single rung contact closes briefly. A seal-in contact — wired in parallel with the start button contact — captures that momentary pulse and holds the output energized even after the start button is released. A stop button, wired in series as a normally closed contact, breaks the rung continuity and de-energizes the output. This start/stop/seal-in pattern is the foundation of nearly every motor control circuit in industrial automation.
Frequently asked questions
What is ladder logic used for?
Ladder logic is the programming language used to write programs for Programmable Logic Controllers (PLCs). It is used to automate industrial machines and processes — controlling motors, valves, conveyors, packaging equipment, HVAC systems, and virtually any electromechanical system that needs automated sequencing, interlocking, or timing.
What does XIC and XIO mean in ladder logic?
XIC stands for Examine If Closed — a normally open contact that passes power (evaluates as true) when the associated bit or tag is set to 1. XIO stands for Examine If Open — a normally closed contact that passes power when the associated bit is 0. These are the Allen-Bradley / Rockwell Automation instruction names; other PLC vendors use equivalent symbols with different labels.
What is a seal-in circuit in ladder logic?
A seal-in circuit (also called a latching circuit or memory circuit) uses a contact in parallel with the initiating input to hold an output energized after a momentary input is released. When the start button is pressed and releases, the output coil energizes and a contact wired in parallel with the start button stays closed, keeping the rung active. A stop button in series breaks the rung and de-energizes the output.
What standard governs ladder logic?
Ladder logic is defined in IEC 61131-3, the international standard for PLC programming languages. The standard specifies the syntax, symbols, and behavior of ladder logic along with four other PLC languages. Most modern PLC platforms from Allen-Bradley, Siemens, Mitsubishi, Omron, and Beckhoff conform to IEC 61131-3.
Can I use this ladder logic maker for real PLC programming?
FreeDiagram generates ladder logic diagrams for documentation, design review, and training purposes. The output is a visual diagram, not executable PLC code. To program a real PLC, you need to use the manufacturer's programming software (such as Studio 5000 for Allen-Bradley, TIA Portal for Siemens, or CX-Programmer for Omron) to enter or import the logic into the controller.
Other diagram types you can make
FreeDiagram supports 25+ types — all free, no signup.
Free AI Circuit Diagram Maker
Describe any electronic circuit and FreeDiagram draws the schematic instantly — components, connections, and values. Free, unlimited, no signup.
Free Single-Line Diagram Maker
Describe your electrical power system and get a professional single-line diagram in seconds. No account, no software, no cost.
Free P&ID Maker
Describe your process system and get a professional Piping and Instrumentation Diagram in seconds. No account, no software, no cost.