PLC Wiring Diagram
This is a free printable plc diagram: download the diagram as SVG or open it and print to paper or PDF.
A technical reference for PLC wiring diagrams covering 24VDC power supplies, sinking and sourcing I/O modules, field devices, and ladder logic symbols.
A Programmable Logic Controller (PLC) wiring diagram documents how field devices — sensors, switches, pushbuttons, actuators, and motors — connect to the PLC's input and output modules. Unlike a schematic focused on signal flow alone, a PLC wiring diagram must also capture power distribution, module addressing, terminal designations, and the distinction between sinking and sourcing I/O configurations.
Most industrial PLCs operate with a 24V DC I/O voltage level, sourced from a dedicated 24VDC power supply unit (PSU) separate from the PLC's internal logic supply. The PSU provides a regulated 24V rail for powering field sensors and driving output loads. Internal logic power (typically 5V DC) is handled by the CPU module's own supply.
The most important and often misunderstood aspect of PLC wiring is the sinking versus sourcing distinction for digital I/O modules. A sourcing input module (PNP-compatible) provides current from its input terminals. A PNP sensor's output goes high (+24V) when active, driving current into the input terminal — current flows from module into the common. A sinking input module (NPN-compatible) sinks current through its input terminal: an NPN sensor pulls the input terminal toward 0V when active, and current flows from the common into the module.
Output modules follow the same logic: a sourcing output (PNP output) switches 24V to the load; a sinking output (NPN output) switches 0V (completes the return path) through the load. Mixing incompatible sensor types with module wiring types is the most common commissioning fault in PLC installations.
PLC I/O is addressed by rack, slot, and terminal number — for example, I:0/3 (input rack 0, module slot, bit 3) or %IX0.3 in IEC 61131-3 notation. Ladder logic diagrams use contacts (normally open, normally closed) to represent inputs and coils to represent outputs, with the physical address mapped to each symbol.
All PLC installations must comply with IEC 61131-1 (PLC general information), relevant electrical codes (IEC 60364 or NEC), and machine safety standards (IEC 62061, ISO 13849) for safety-rated functions.
A PLC-to-motor wiring diagram bridges the logic controller's output cards and the motor's power and control circuit. The PLC does not drive the motor directly; its digital outputs switch the control voltage to contactors or variable-frequency drives, which in turn handle motor current. Understanding how the PLC I/O wiring feeds into the starter or VFD helps technicians trace faults quickly. You can draft and annotate the full interconnect — from PLC output terminal strip through to the motor terminals — free online at Circuit Diagram Maker.
How to wire plc diagram
- Identify the PLC rack configuration and I/O modules Document each module slot: CPU module, power supply module, digital input modules (DI), digital output modules (DO), analogue input/output modules (AI/AO), and any speciality modules (high-speed counter, motion, comms). Record the module type and I/O point count for each slot. Assign rack/slot/bit addressing following the manufacturer's addressing convention before drawing any wiring.
- Design the 24VDC power distribution Size the 24VDC PSU to supply the total current demand of all I/O modules, field sensors, and controlled loads. Add a minimum 25% margin. Distribute 24V and 0V rails along the panel DIN rail using terminal blocks. Fuse each branch circuit — one fuse per module or field device group — to allow fault isolation without shutting down the entire panel. Label all terminal blocks with voltage level and zone.
- Wire digital input modules Determine input module polarity (sinking or sourcing). For sourcing (PNP) inputs: connect 24V to each sensor supply, connect sensor output to the input terminal, and connect COM to 0V. For sinking (NPN) inputs: connect 24V to COM, connect sensor output to the input terminal, and connect 0V to the sensor return. Verify each input channel activates by manually actuating each sensor while monitoring the input indicator LEDs.
- Wire digital output modules For relay output modules: wire the COM to the external supply rail and connect the load between the output terminal and the return rail. For transistor output modules: connect the output power supply terminals to the 24VDC PSU. Each output terminal switches the load path when energised by the program. Protect inductive loads (solenoids, contactors) with suppression diodes or RC snubbers across the load coil.
- Wire analogue I/O modules Analogue input modules accept signals such as 4–20 mA current loops or 0–10V voltage signals from sensors (pressure transmitters, temperature sensors, flow meters). For 4–20 mA: connect the transmitter output to the AI channel IN+ terminal and the transmitter return to IN–. For two-wire transmitters, supply 24VDC from the module's loop supply terminal. Verify signal levels with a calibrated milliamp source or simulator before entering values into the program.
- Create and verify the I/O address map Produce a complete I/O address table cross-referencing each physical terminal on every module to its PLC address and the field device connected. This document is essential for ladder logic development, fault finding, and commissioning. Share the address map with the programmer before code development begins — changes after this stage are costly.
- Commission and test I/O before loading the program Use the PLC's I/O force or monitor functions to test each input and output independently before running the full application program. Verify every input activates when its field device is actuated. Force each output ON individually and confirm the correct field device energises. This step finds wiring errors that would otherwise be hidden inside program logic.
Specifications
| Standard I/O supply voltage | 24V DC (nominal), 20.4–28.8V operating range typical |
|---|---|
| Digital input threshold (typical) | ON: >15V DC; OFF: <5V DC (IEC 61131-2 Type 3) |
| Analogue input signal types | 4–20 mA (current loop), 0–10V DC (voltage), thermocouple or RTD (specialised modules) |
| Relay output rating (typical per point) | 2 A / 250V AC or 30V DC |
| Transistor output rating (typical per point) | 0.5 A sourcing or sinking / 24V DC |
| PLC programming standard | IEC 61131-3 (ladder diagram, function block diagram, structured text, instruction list, sequential function chart) |
| Scan cycle time (typical) | 1–100 ms depending on program size and CPU speed |
Safety warnings
- PLC panels operate at potentially lethal voltages on power supply and mains input terminals even when the 24VDC I/O is de-energised. Isolate and lock out/tag out all energy sources (Lockout/Tagout per IEC 60204-1 or OSHA 1910.147) before working inside the panel.
- Safety-rated functions (emergency stops, light curtains, interlocks) must not be wired to standard PLC I/O. These require dedicated safety PLCs or safety-rated I/O modules complying with IEC 62061 or ISO 13849 for the required Performance Level or Safety Integrity Level.
- All PLC wiring must comply with IEC 61131-1 (PLC equipment standards), IEC 60364 or applicable national electrical code, and machine electrical safety standard IEC 60204-1. Work must be performed by competent persons qualified in industrial automation and electrical safety.
- Protect all inductive output loads with appropriate suppression. Unsuppressed inductive switching causes voltage spikes that damage transistor output modules and corrupt PLC CPU operation.
- Never exceed the output module's per-point or per-module current rating. Overloaded transistor outputs fail short-circuit (output stuck ON) and can cause uncontrolled machine operation.
Tools needed
- Digital multimeter (AC/DC voltage, resistance, continuity)
- Milliamp calibrator or loop simulator (for analogue I/O commissioning)
- Label maker (for terminal block and cable labelling)
- Wire ferrule crimping tool (for stranded wire terminations)
- Laptop with PLC programming software (manufacturer-specific or IEC 61131-3 compliant IDE)
- Wire stripper
- Flat-blade and Phillips screwdrivers (panel and terminal screws)
- Continuity tester or test lamp
Common mistakes
- Wiring PNP (sourcing) sensors to a sinking input module or NPN sensors to a sourcing module — inputs either fail to activate or are permanently on, depending on the configuration.
- Connecting field device 0V returns to a different 0V rail than the module's COM terminal, creating a ground loop that causes erratic input readings.
- Omitting suppression diodes or snubbers on inductive DC loads wired to transistor outputs, causing premature module failure from switching transients.
- Failing to fuse individual I/O branches — a short on one output then takes out the entire 24VDC supply and all I/O, rather than just the faulted branch.
- Using the I/O address map inconsistently between the wiring diagram and the ladder logic program — causes inputs to control the wrong outputs.
- Wiring safety-critical devices (E-stops, guards) to standard digital inputs instead of a certified safety relay or safety I/O module.
Troubleshooting
- Input LED illuminated but PLC program does not see input as ON
- Cause: Module addressing mismatch between the physical slot/point and the address used in the ladder logic program Fix: Use the PLC's online monitoring function to read the raw I/O status table at the specific module address. Compare the physical LED state with the program address state. Correct the address in the ladder logic or verify the module is seated in the slot corresponding to the addressed location.
- Output LED illuminates (program commanding output ON) but field device does not energise
- Cause: No external power on the output module's load supply terminals, blown output fuse, or wiring fault between output terminal and field device Fix: Measure voltage on the output module's load power supply terminals — must be 24VDC for transistor outputs. Check the branch fuse. Measure voltage at the output terminal with output commanded ON. If voltage is present at the terminal but not at the device, trace the field wiring for an open circuit.
- Analogue input reads full-scale or zero regardless of actual sensor value
- Cause: Open-circuit or short-circuit on the 4–20 mA loop, wrong module range configured, or sensor not powered Fix: Use a milliamp meter in series with the AI channel loop to measure actual current. Verify sensor supply voltage. Check module configuration in the PLC software for correct input range (4–20 mA vs 0–20 mA vs voltage mode). Inspect wiring for open or shorted connections.
- Multiple inputs chattering or toggling without field device activation
- Cause: Ground loop caused by multiple 0V return paths at different potentials, or excessive electrical noise on the I/O wiring Fix: Verify all I/O 0V connections share a single star earth point. Separate signal wiring from power wiring in the cable tray. Install RC filters or screened cable on long wiring runs. Check that the 24VDC PSU output is properly earthed to the panel earth bar.
Frequently asked questions
What is the difference between sinking and sourcing PLC inputs?
A sourcing input module provides current from its terminal (PNP-compatible). A sinking input module sinks current through its terminal (NPN-compatible). The sensor type must match the input module type: PNP sensors connect to sourcing inputs, NPN sensors connect to sinking inputs. Mismatching them results in inputs that never change state or are permanently activated.
Why does a PLC use 24VDC for I/O instead of 240V AC?
24V DC is the standard for industrial I/O because it is a safe extra-low voltage (SELV), reducing shock risk for maintenance personnel working near terminal strips. It also provides fast switching response for digital sensors, is compatible with most industrial sensor and actuator standards (IEC 61131), and simplifies electrical isolation between field devices and the CPU.
What is ladder logic and how does it relate to the wiring diagram?
Ladder logic is the most common PLC programming language, resembling a relay-logic schematic with horizontal rungs. Each rung contains contacts (inputs, mapped to field devices via I/O addresses) and coils (outputs, mapped to actuators). The wiring diagram and ladder logic must use the same I/O address map — a mismatch between the two means the physical wiring and the program logic do not correspond.
Do I need a separate power supply for PLC outputs?
Yes, in most systems. The PLC's I/O module supplies the switching path for output signals but the load power is provided externally. Relay output modules switch an external voltage (AC or DC) through their contacts. Transistor output modules switch 24VDC sourced from the external 24VDC PSU. Never rely on the PLC's internal supply to power field loads.
What is a common (COM) terminal on a PLC module?
The COM terminal is the shared return path for a group of I/O points on a module. On a sinking input module, COM connects to +24V; on a sourcing input module, COM connects to 0V. Some modules have multiple isolated COM terminals for separate power groups within the same module. Always verify the COM wiring before energising.
How do I draw a PLC to motor wiring diagram?
Start by identifying the PLC output module type (relay, transistor, or triac) and the motor starter type (DOL contactor or VFD). PLC relay outputs connect their normally-open contacts in series with the contactor coil circuit; transistor outputs drive 24 V DC coils directly. The main power circuit from the contactor to the motor is drawn separately, typically as a 3-phase line diagram, with the motor's overload relay wired in series for protection.