What a DIN rail controller is
A DIN rail controller is a control device designed to mount on a DIN rail, the metal rail that holds circuit breakers, relays, terminal blocks and power supplies in a control cabinet. It takes signals from sensors, switches and meters, decides what to do with them and drives outputs such as contactors, valves, drives and alarms.
The term is broad. Some people use it to mean a compact PLC. Others mean any controller in a rail-mount case, from a single-loop temperature controller to a networked edge controller. What they share is the form factor: a narrow, front-wired housing that clips onto the 35 mm top-hat rail defined in EN 60715, usually runs from 24 V DC and leaves its terminals and status LEDs facing the cabinet door.
Mounting on the rail keeps wiring short and tidy. The controller sits a few centimetres from the terminal blocks it is wired to, inside an enclosure that already protects it from dust, water and accidental contact.
Types of DIN rail controller
Most DIN rail controllers fall into one of the groups below. The lines between them are blurring, as controllers gain network features and computers gain control software.
| Type | What it does | How it is programmed | Typical use |
|---|---|---|---|
| Compact PLC | Deterministic logic with built-in I/O and add-on modules | IEC 61131-3 languages in the vendor’s tool | Single machines, pumps, conveyors, small skids |
| Modular PLC or PAC | A CPU module with I/O, comms and motion modules beside it on the rail | IEC 61131-3, often with motion and safety options | Production lines, process plants, utilities |
| Edge or IoT controller | Local control plus data publishing to SCADA or the cloud | IEC 61131-3, scripts, Node-RED or containers | Remote assets, energy monitoring, retrofits |
| DIN rail PC with a soft PLC | Control logic, HMI, logging and analytics on one computer | A soft PLC runtime plus Windows or Linux software | Machines that also need vision, databases or AI |
| Building automation controller | Heating, ventilation, lighting and access schedules | Vendor tools, BACnet, KNX or DALI configuration | Commercial buildings, plant rooms, campuses |
| Single-function controller | One loop or task, such as temperature or timing | Front-panel settings or simple software | Heaters, ovens, pumps, panel climate |
A PLC is still the most common DIN rail controller on a machine. An IoT controller adds cloud protocols and cellular links for sites that are hard to reach. An RTU does a similar job at utility sites, reporting to SCADA over telemetry protocols.
What is inside one
Whatever the brand, a DIN rail controller is built from the same few parts:
-
//
Processor and memory. A microcontroller in simple devices, an Arm or x86 processor in edge controllers and DIN rail PCs. The program and its settings are kept in non-volatile memory so the controller restarts on its own after a power cut.
-
//
Inputs and outputs. Digital inputs and relay or transistor outputs at 24 V DC, analogue inputs for 4 to 20 mA and 0 to 10 V signals, and sometimes temperature inputs. Many controllers add I/O modules that clip on beside them.
-
//
Communication ports. RS-485 for Modbus RTU, Ethernet for Modbus TCP, PROFINET, EtherNet/IP and OPC UA, and on newer models Wi-Fi or 4G for remote access.
-
//
Power input. Usually 24 V DC from the cabinet supply through a terminal block, with reverse-polarity protection and often a wide input range.
-
//
Isolation. Galvanic isolation between field wiring and the logic stops ground loops and surges from reaching the processor.
DIN rail controller or DIN rail PC?
A classic controller runs one program in a fixed cycle and very little else. That makes it predictable, quick to start and easy for maintenance staff to diagnose. It is the right place for interlocks, sequences and anything tied to machine safety.
DIN rail PCs clip onto the same rail but run a full operating system, so they handle the jobs a controller is not built for: HMI screens, databases, machine vision, protocol conversion and AI models. With a soft PLC runtime installed, a DIN rail PC also becomes a controller in its own right, running IEC 61131-3 code beside the rest of its software.
On many machines the two share the rail. The controller keeps hard real-time control, and the computer reads its data over Modbus TCP or OPC UA, shows it to operators and passes it on. Where the job is only to collect and forward data, an industrial IoT gateway is often enough.
Choosing a DIN rail controller
Start with the job, then check that the hardware fits the cabinet:
Control or data? Fast, deterministic logic points to a PLC or edge controller. Logging, dashboards, vision or analytics point to a DIN rail PC, alone or beside a PLC.
I/O count and type. Count the digital, analogue and temperature points, add spares, and decide whether they sit on the controller, on clip-on modules or on remote I/O near the machine.
Protocols. List every device it must talk to, from Modbus meters and drives to the plant network and any cloud platform.
Environment and power. Check the rated temperature against the air at the top of the cabinet, the input voltage against the cabinet supply and the width against the free space on the rail.
Software and support. Confirm the programming tool, the licence model and how long the vendor supports the hardware and firmware, since cabinet equipment often runs for ten years or more.
Quick answers on DIN rail controllers
DIN rail controllers: common questions
Is a DIN rail controller the same as a PLC?
Not always. Every rail-mounted PLC is a DIN rail controller, but the term also covers edge controllers, building controllers and DIN rail PCs running control software.
What voltage does a DIN rail controller use?
Usually 24 V DC. Some single-function controllers take mains voltage directly, so check the label before wiring.
Can a DIN rail controller connect to the cloud?
Many newer ones can. Edge and IoT controllers publish data over MQTT or HTTPS, and a gateway can do the same for older PLCs.
Does a DIN rail controller need a fan?
Rarely. Most are passively cooled, so the limit is the air temperature at the top of the cabinet, which is often well above the room.
We supply our DIN rail PCs and gateways with the operating system, storage and wireless modules fitted and configured as standard, ready to clip onto the rail.