PLC Circuit Diagram: Ladder Logic, I/O Circuits, and Power Distribution Wiring Reference

Plc Circuit Diagram — circuit diagram showing component connections+-24V DC SupplyStart ButtonStop Button (NC)PLC INI0I1I2I3I4I5PLC Input ModulePLC OUTQ0Q1Q2Q3Q4Q5PLC Output ModuleKContactor K1M3~Motor M1PLC Motor Control CircuitPLC program controls output
PLC Circuit Diagram: Ladder Logic, I/O Circuits, and Power Distribution Wiring Reference — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable plc circuit diagram: download the diagram as SVG or open it and print to paper or PDF.

A PLC circuit diagram combines the power distribution schematic, I/O wiring diagrams, and ladder logic documentation that together define how a programmable logic controller system is wired and programmed — you need all three to build and commission a working control system.

A PLC circuit diagram is not a single drawing but a set of related documents that, taken together, fully specify a programmable logic controller installation. The documentation set typically includes: the power supply circuit (showing how 240 VAC or 24 VDC is distributed and protected), the I/O wiring diagrams (showing each sensor and actuator connection to specific I/O card terminals), and the ladder logic or function block diagram (showing the programme that runs in the PLC CPU).

The power circuit shows the main incoming supply, isolation devices (main breaker, disconnect switch), power supply units (PSUs) for the PLC and I/O, and the branch circuit protection for motor starters, solenoids, and other AC loads. The PLC CPU and I/O cards typically run on 24 VDC from a DIN-rail SMPS. High-voltage AC loads (contactors, solenoids rated at 230 VAC) are controlled by relay output cards and are powered from the AC branch circuits shown in the power circuit.

The I/O wiring diagram (also called a connection diagram or terminal diagram) shows how each real-world signal connects to a specific address in the PLC. A discrete input at address I0.3 (using Siemens notation) or I:1/3 (Allen-Bradley legacy notation) corresponds to a physical terminal on a specific input card. A limit switch wired to I0.3 will appear in the ladder logic as an input contact with that address — when the limit switch closes, the corresponding rung in the ladder logic activates.

Ladder logic is the most common PLC programming language (one of five defined by IEC 61131-3). It graphically represents relay logic — horizontal rungs connect left and right power rails, with contacts (inputs) and coils (outputs) drawn between them. When the logical conditions from left to right on a rung are met (contacts all passing), the coil at the right energises. Function Block Diagram (FBD) and Structured Text (ST) are alternative IEC 61131-3 languages used for more complex logic.

Addressing conventions differ significantly between PLC manufacturers. Verify the address format (tag-based vs number-based), I/O card slot references, and memory area designations from the manufacturer's programming manual before interpreting any PLC circuit diagram.

How to wire plc circuit diagram

  1. Define the control requirements and I/O list Start with the machine or process specification. List every sensor (proximity, limit, pressure, temperature) and actuator (motor, solenoid, valve, indicator) with its signal type (digital input, digital output, analogue input, analogue output) and electrical specification. This I/O list is the foundation of all subsequent circuit diagram work.
  2. Select the PLC, I/O modules, and power supply Choose a PLC platform with sufficient I/O capacity (add 20–25 % spare I/O). Select the appropriate I/O module types for each signal type. Size the 24 VDC SMPS for the total I/O current load plus field device current plus 25 % margin. Confirm that the SMPS and I/O modules are from compatible families.
  3. Draw the power supply and distribution circuit Draw the incoming mains supply, main breaker, transformer (if step-down required), SMPS, and all branch circuit breakers. Label every device with its designation (Q1, F1, PS1, etc.), rated values, and load description. Show the 24 VDC distribution rail and all devices connected to it.
  4. Draw the I/O wiring diagrams For each input and output module, draw a circuit showing: the terminal block (with tag number), the wire number, the field device, and the I/O address allocated to each point. Show the common terminal connections explicitly. For output cards, show the output power supply connections and any protection fuses or suppression devices on inductive loads.
  5. Develop the ladder logic programme Write the control programme using the I/O addresses defined in the I/O wiring diagram. Begin with safety and stop logic (normally-closed E-stop and guard interlock contacts in series). Develop sequence, interlock, and timing logic using timers, counters, and compare instructions as needed. Comment every rung clearly — the programme is a document that must be understood by others.
  6. Simulate and offline test the programme Use the PLC programming software's simulation mode to step through the programme logic before connecting to live field devices. Force inputs on and off to verify that outputs respond as designed. Test all timing sequences, interlock conditions, and fault states in simulation.
  7. Commission and verify against the I/O list Connect the physical system. Power up progressively: power supply first, then PLC, then field devices with outputs disabled. Use the PLC's online monitoring and I/O forcing function to verify each input activates correctly when the corresponding field device is operated. Verify each output activates the correct field device. Document any deviations between the diagram and the physical installation and update drawings accordingly.

Specifications

Typical PLC I/O supply voltage24 VDC (±10 %)
IEC 61131-2 Type 1 digital input — ON threshold≥ 15 V = logic 1
IEC 61131-2 Type 1 digital input — OFF threshold≤ 5 V = logic 0
Typical transistor output maximum current0.5 A per point
Typical relay output contact rating2 A at 250 VAC (resistive)
IEC 61131-3 programming languagesLadder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), Sequential Function Chart (SFC)
Minimum I/O spare capacity (engineering best practice)20–25 % of installed I/O count
Safety circuit implementation standardIEC 62061 / ISO 13849 (functional safety of machinery)

Safety warnings

Tools needed

Common mistakes

Troubleshooting

PLC input shows active (ON) in the programme but the field device is not operated
Cause: Wiring fault causing a short to 24 V at the input terminal; damaged input card with a stuck bit; incorrect I/O addressing in the programme looking at a different physical address than the wired point Fix: Disconnect the field wiring at the terminal block for that input. If the input goes OFF in the programme, the fault is in the field wiring (short). If the input remains ON with the wire disconnected, suspect a faulty I/O card. Cross-reference the programme address to the I/O wiring diagram and confirm the physical card slot and terminal number.
PLC output energises in the programme but the field device does not actuate
Cause: No power on the output card common terminal; blown output circuit fuse; relay contact failed open; incorrect wiring from I/O card to terminal block to field device Fix: Verify 24 VDC (or AC supply for relay outputs) at the output card common terminal. Check inline fuse on the output circuit. With the output forced ON in the programme (machine safe), measure voltage at the output terminal — if present there but not at the field device terminal, trace the wiring.
PLC CPU shows fault LED and stops executing programme
Cause: Watchdog timer expiry due to programme scan time exceeding limit; hardware fault in I/O module; power supply voltage out of range; programme memory corruption Fix: Read the fault code from the programming software diagnostic screen. For watchdog faults, review programme scan time and optimise any loops or communication subroutines. For I/O module faults, isolate the faulty module. Verify SMPS output voltage under load.

Frequently asked questions

What is the difference between a PLC circuit diagram and a PLC ladder diagram?

A PLC circuit diagram is a set of electrical wiring drawings showing how the PLC system is physically connected — power supply wiring, I/O card wiring, terminal block connections, and field device wiring. A ladder diagram (ladder logic) is the PLC programme itself — a graphical representation of the control logic executing inside the CPU. Both are required to fully document a PLC system.

What is I/O addressing and how does it link the wiring diagram to the programme?

Each physical I/O terminal on a PLC is assigned a unique address — for example I0.0 (digital input, byte 0, bit 0) or Q0.5 (digital output, byte 0, bit 5) in IEC-style notation. The wiring diagram shows which field device connects to which terminal. The ladder logic programme uses the same address to refer to that field device's signal. This addressing is the link between the physical installation and the programme logic.

What does a PLC input circuit look like electrically?

A typical 24 VDC discrete input circuit has: 24 VDC positive connected to the field device (e.g. a proximity sensor output or a pushbutton contact), the other terminal of the field device connected to the PLC input terminal, and the I/O card's common terminal connected to 24 VDC negative (0 V). When the field device closes or the sensor activates, current flows through the optocoupler inside the input card, isolating the field circuit from the PLC CPU electronics.

Why is an optocoupler used inside PLC I/O cards?

Optocouplers (optical isolators) provide galvanic isolation between the field wiring and the PLC's internal electronics. Field wiring can be subject to voltage spikes, induced noise, and fault voltages — isolation prevents these from reaching and damaging the CPU or programme memory. The optical coupling means no direct electrical path exists between the field terminal and the CPU side.

What is the IEC 61131-3 standard?

IEC 61131-3 defines five standardised PLC programming languages: Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), Instruction List (IL — now deprecated), and Sequential Function Chart (SFC). Compliance with IEC 61131-3 aims to make PLC programmes more portable between manufacturers, although each manufacturer's implementation has proprietary extensions. Most modern PLCs support all five languages.

Full written guides

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor