MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › What are the parts of a PLC, and what does the CPU, power supply, I/O and backplane each do?
HomeModels
Table of contents

On this page

PLC & Programming (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

What are the parts of a PLC, and what does the CPU, power supply, I/O and backplane each do?

A rack-mounted PLC is built from a power supply, a CPU and a row of plug-in I/O cards, and the division of labour is fixed: the CPU calculates, the power supply feeds, the I/O exchanges signals with the field, and the base plate links the modules together. The sections below follow the path a signal takes inside the PLC and set out what each module is responsible for and where people commonly get it wrong.

1. How a signal travels inside the PLC

A PLC differs from a relay panel in one basic way: it does not process every signal at the same time, but scans over and over in a fixed order. One scan cycle has three steps. First, the field states on the input modules are read in one pass into the image area. Then the CPU executes the user program instruction by instruction, reading from and writing to the image area. Finally, the results in the output image area are sent in one pass to the output modules, which drive the loads.

2. CPU module: the centre for calculation, communication and diagnostics

The CPU is the brain of the PLC. Inside it there is a microprocessor, memory, a communication interface and indicator lamps. It runs the user program cyclically, maintains the input and output image areas (the program reads and writes the image, not the terminals), exchanges data with programming software, HMI panels and host computers over Ethernet or a fieldbus, and monitors scan overrun and module status. The two things most often overlooked at selection time are memory capacity and scan speed: more program steps and communication points demand more memory, while high-speed counting and closed-loop work depend on instruction speed.

3. Power supply module: stable DC for the rack

The power supply module rectifies AC 220 V (or AC 110 V) into the DC 5 V used inside the rack, and some models also output DC 24 V for sensors and external contacts. Two separate current budgets have to be kept apart. The backplane 5 V current is shared by every module on the same base plate, so the individual currents must be added up; the 24 V current feeds proximity switches and interposing relay coils.

I5V ≥ ΣImodule 5V × (1 + margin)

If the result exceeds about 70% of the rated output of the power supply, move to a larger model, or take the 24 V loads onto a separate switching power supply. Piling both sensor supply and output loads onto the power supply module is a common reason why a machine "cannot drive its loads" during commissioning.

4. Input/output modules: the interface between field and controller

The I/O modules touch the field directly and come in digital and analog types. Digital inputs turn the on/off states of pushbuttons, limits and proximity switches into 0/1 after opto-isolation and filtering, and the sourcing or sinking wiring must match the polarity of the module common terminal. Digital outputs come in relay, transistor and thyristor types: relay outputs handle AC or DC loads but have a limited switching life, while transistor outputs are fast and long-lived but drive DC loads only; when driving inductive loads such as solenoid valves and contactor coils, a freewheeling diode or surge absorber must be fitted, otherwise the back EMF at switch-off damages the output point. Analog modules use A/D and D/A conversion for continuous quantities, and selection hinges on resolution, range and accuracy.

5. Base plate and backplane: the channel between modules

The base plate is the channel for power and communication between modules: it distributes the 5 V bus from the power supply to every slot, and it carries the internal bus that lets the CPU exchange image data with the I/O modules. That gives rise to a few constraints: modules must go into designated slots; the base plate has a slot count and a current limit, so if the 5 V current is exceeded once the modules are fitted, add an expansion base or a larger supply; and an expansion cable has a definite length limit that causes communication errors if exceeded.

6. Module roles and key parameters at a glance

ModuleCore roleKey parametersSelection basis
CPURuns the program, manages the image, communication and diagnosticsMemory capacity, instruction speed, communication portsProgram steps and communication load
Power supplyRack DC 5 V output, 24 V on some modelsRated 5 V/24 V currentTotal 5 V current plus 24 V loads
Digital inputAcquires the on/off state of buttons and limitsPoint count, input voltage, sourcing/sinkingSignal type and point count
Digital outputDrives relays, solenoid valves and indicator lampsPoint count, output type, current per pointLoad type and switching frequency
Analog inputConverts a continuous quantity into a digital valueChannel count, resolution, rangeSensor signal and accuracy
Analog outputConverts a setpoint into a voltage or currentChannel count, range, load capabilityInput specification of the actuator
Base plate/backplaneModule power supply and bus channelSlot count, 5 V limit, cable lengthTotal number of modules and cabinet layout
Communication moduleExchanges data with host computers, VFDs and remote I/OProtocol, baud rate, number of stationsNetwork topology and connected devices

7. Notes

Small PLCs often combine the power supply, CPU and several I/O points in one compact unit with only a few expansion slots; mid-range and large PLCs split the functions into separate modules fitted to a rack. Whichever form it takes, the four roles never change: the CPU handles calculation and scheduling, the power supply handles supply, the I/O handles signals in and out, and the base plate handles connection and distribution.

8. References

The graphical symbols and terminal designations used here follow the GB/T 4728 series, Graphic symbols for electrical diagrams. The electrical connection, protection and earthing of a PLC and its peripherals follow GB 5226.1 and the equivalent international standard IEC 60204-1. The current, point count and range of a specific module are as stated in the manufacturer's selection manual; the items listed here illustrate the accounting method.

9. Points to watch

⚠️ Three common traps:
(1) Estimating supply capacity only from the CPU manual value and forgetting the 5 V consumption of the I/O modules, so the voltage sags once the rack is full;
(2) Driving inductive loads without a freewheeling or surge path, so output points fail repeatedly and the PLC gets blamed instead;
(3) Running an expansion cable beyond its length limit, which causes occasional communication errors that show up as a few I/O points changing state at random.

Always switch off before adding or removing modules, and check that the backplane 5 V current still falls within the rated range of the power supply. Circuits carrying safety functions such as emergency stop and safety gates should run through a separate safety relay.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL