PLC
Initialism of programmable logic controller.
PLC: the industrial computer that runs the machines
A programmable logic controller is a rugged, single-purpose computer built to control machinery and processes in factories, utilities, and plants. Unlike a general-purpose computer, a PLC is designed to operate continuously in harsh environments: extreme temperatures, vibration, electrical noise, and moisture. It reads inputs from sensors and switches, executes a stored program, and sends outputs to motors, solenoids, valves, and indicator lights. The core job is automation: replacing or assisting manual control and making decisions in real time based on what the machine tells it.
A typical PLC has a processor, memory (both for the program and for data storage), and input/output modules that connect to field devices. Input modules accept signals from pressure transducers, proximity sensors, limit switches, and encoders, usually as either digital (on/off) or analog (0-10 volt or 4-20 milliamp) signals. Output modules drive relays, solid-state switches, or analog outputs to control actuators. Industrial PLCs range from small single-module units handling a dozen I/O points to large systems with hundreds of inputs and outputs distributed across multiple remote racks.
The program running inside is usually written in ladder logic, a graphical language that resembles an electrical schematic. Ladder logic is intuitive for electricians and technicians who think in terms of circuits and logic gates. Most PLCs also support structured text, function block diagrams, or statement list languages. The program logic scans continuously, often in cycles of 10 to 100 milliseconds, reading inputs, evaluating conditions, and writing outputs. This deterministic, repetitive behavior is critical: a PLC must produce the same output for the same input state every scan cycle, making its behavior predictable and safe.
Common issues and limitations
Scan time can become a bottleneck if too many calculations or communications are packed into one cycle. Noisy or marginal sensor signals can cause erratic I/O readings, especially if no filtering or debouncing is applied in the program. Network PLCs that communicate via Ethernet must be hardened against industrial interference and cyber tampering. Program logic errors, timing race conditions, and poorly maintained backup batteries for real-time clocks are frequent sources of failure in deployed systems.
The term "programmable logic controller" reflects the device's roots in the 1970s, when it replaced hard-wired relay logic panels in automotive plants. A PLC is fundamentally a relay replacement: instead of physically wiring relays and timers to build control logic, you write a program. Today PLCs sit at the foundation of industrial automation, often networked with supervisory control systems (SCADA) and higher-level manufacturing execution systems (MES). In process industries like chemical, food, and pharma, PLCs work alongside distributed control systems (DCS); in discrete manufacturing, they orchestrate assembly lines and robotic cells.