Industrial automation is the use of programmable controllers, sensors, and actuators to execute and monitor physical processes without continuous manual switching. In a real circuit, this shifts the control burden from hardwired relay logic—where a timing delay requires a physical pneumatic or solid-state timer relay—to software instructions inside a Programmable Logic Controller (PLC). This transforms a control panel from a spaghetti-wire mess of 120VAC control circuits into a clean, easily troubleshooted 24VDC I/O mapping. People commonly confuse industrial automation with building automation (which handles HVAC and lighting via BACnet) or robotics (which focuses on kinematics and articulated arms); true industrial automation is about closed-loop process control, discrete manufacturing, and machine safety.
The Core Architecture: Replacing Relays with Code
Before PLCs, machine control relied on physical relays, contactors, and timers wired in series and parallel. If you wanted to change the sequence of a stamping press, you had to physically rewire the panel. Modern industrial automation relies on the IEC 61131-3 standard, which defines the programming languages (like Ladder Logic and Structured Text) and hardware architecture for industrial controllers.
At the bench level, a PLC operates on a continuous, high-speed scan cycle that typically executes in 5 to 20 milliseconds:
- Read Inputs: The PLC takes a snapshot of the voltage present at its physical input terminals (e.g., 24VDC from a limit switch) and stores it in the input image table.
- Execute Logic: The CPU processes your code rung-by-rung, top-to-bottom, left-to-right. It uses the input image table, not the live physical terminals, preventing race conditions if a sensor changes state mid-scan.
- Write Outputs: The CPU transfers the results from the output image table to the physical output terminals, energizing relays or firing solid-state switches.
Worked Numeric Example: Scaling a 4-20mA Sensor
Analog inputs are the lifeblood of process automation. Digital I/O tells you if a tank is full or empty, but analog I/O tells you exactly how much liquid is inside. The industry standard for analog sensor transmission is the 4-20mA current loop, chosen because it is immune to voltage drop over long wire runs and a 0mA reading immediately flags a broken wire (since a valid minimum is 4mA).
Let us walk through a real bench scenario. You are wiring a 0-150 PSI pressure transmitter to a PLC analog input card. The PLC card expects a 1-5VDC signal, not a current signal. To bridge this gap, you install a precision 250-ohm shunt resistor across the input terminals to convert the current to voltage via Ohm's Law (V = I × R).
The Math
- At 4mA (0 PSI): 0.004A × 250Ω = 1.0V
- At 20mA (150 PSI): 0.020A × 250Ω = 5.0V
During commissioning, you hook up your multimeter and measure 3.0V at the PLC input terminals. What is the actual pressure in the line?
- Find the measured span: 3.0V (measured) - 1.0V (zero offset) = 2.0V
- Find the total span: 5.0V (max) - 1.0V (min) = 4.0V
- Calculate percentage: 2.0V / 4.0V = 0.50 (50%)
- Scale to engineering units: 0.50 × 150 PSI = 75 PSI
Where You Meet This In Practice
If you open an industrial control panel built to NFPA 79 standards, the physical layout immediately reflects the automation architecture. You will not find 120VAC control wires snaking through the ducts. Instead, you will see a 24VDC power supply (like a Phoenix Contact QUINT series) feeding a row of DIN-mounted PLC I/O modules.
Wire color coding is strictly enforced to prevent lethal cross-wiring between high-voltage power and low-voltage logic:
- Power Circuit (480VAC/3-phase): Brown, Black, Blue (US NFPA 79) or L1/L2/L3 markers.
- Control Circuit (120VAC): Red.
- DC Control (24VDC): Blue. In IEC 60446 (European standard), +24VDC is often Brown and 0V is Blue, which causes massive headaches when US and EU panel builders collaborate. Always check the schematic legend before probing a live panel.
- Safety Interlocks (E-Stop circuits): Yellow with a red stripe, or yellow conductors in a separate conduit.
You will also meet industrial automation in the form of Variable Frequency Drives (VFDs). Instead of using a contactor to slam a 3-phase motor across the line (causing massive inrush current and mechanical shock), the PLC sends a speed reference signal via an Ethernet/IP or PROFINET network cable to the VFD, which ramps the motor up smoothly using pulse-width modulation (PWM).
Controller Selection Decision Tree
Choosing the right PLC brain for your project depends entirely on your I/O count, network requirements, and budget. Use this decision matrix to select your hardware.
| Application Scenario | I/O Count | Required Protocol | Recommended Controller |
|---|---|---|---|
| Hobbyist, DIY, or Small Shop Machine | < 20 points | Modbus RTU / TCP | Automation Direct CLICK (C0-00DR-D) |
| Mid-Size Packaging or Conveyor Line | 20 - 100 points | EtherNet/IP | Allen-Bradley Micro850 (2080-LC50-48QWB) |
| High-Speed Motion / Complex Safety | > 100 points | PROFINET / Safety | Siemens SIMATIC S7-1500 (6ES7 511-1CK01) |
Frequently Asked Questions
Do I still need physical safety relays if I have a PLC?
Yes. A standard PLC is not safety-rated; its internal processor or I/O chips can fail in a 'high' state, keeping a dangerous motor running even if the software tells it to stop. For E-Stops and light curtains, you must use a dedicated, dual-channel hardware Safety Relay (like a Pilz PNOZ) or a specialized Safety PLC (like an Allen-Bradley GuardLogix) that physically removes power from the motor contactor.
What is the difference between a sink and source I/O module?
This dictates how current flows through your sensors. A sourcing input module provides the 24VDC positive voltage to the sensor, and the sensor switches the ground (0V) back to the module. A sinking input module provides the 0V ground, and the sensor switches the 24VDC positive. Mixing these up will result in dead shorts or inputs that never trigger. Always match your PLC I/O card type to your sensor's NPN/PNP output type.
Can I use a Raspberry Pi instead of a PLC for industrial automation?
For data logging or running a local MQTT broker, yes. For directly controlling physical machinery, absolutely not. A Raspberry Pi runs a general-purpose OS (Linux) which is not 'deterministic'—meaning background tasks can delay GPIO pin updates by unpredictable milliseconds. In automation, a 50ms delay in stopping a stamping press can destroy a die or injure an operator. Always use a dedicated PLC with a real-time operating system (RTOS) for machine control.






