Lesson 18 · Automation
Why Use a PLC?
When does a panel full of relays give way to a PLC? Here’s the honest trade-off — and why most modern panels use both.
Relays vs. the PLC
Relay logic is real, reliable, and exactly what you’ve been learning — and for a simple circuit it’s often the right tool. But as a machine grows in complexity, hardwired relay control hits walls that a PLC sails past. Here’s the honest comparison.
Where the PLC wins
- Changes are software, not rewiring. Modifying relay logic means pulling wire and adding components. Changing a PLC program is editing on a laptop — minutes, not hours, and no panel teardown.
- It scales. One modest PLC can replace hundreds of relays, timers, and counters. Complex sequencing that’d be a nightmare in relays is a few rungs of code.
- Reliability. No mechanical contacts to wear out or weld. Solid-state logic that runs for years.
- Timers and counters are free. Need ten timers? They’re instructions in the program, not ten physical timer relays to buy and wire.
- Diagnostics. A PLC can tell you exactly which input or step failed, log faults, and show the live state of every rung on a screen — troubleshooting gold.
- Communication. PLCs talk to HMIs, other PLCs, drives, and plant networks. A relay panel talks to no one.
Where relays still make sense
- Simple, fixed jobs. A single motor with start/stop doesn’t need a computer.
- Safety circuits. Hardwired safety relays and e-stops are often required to be independent of the PLC, so a software glitch can’t defeat them. Safety frequently stays hardwired (or uses dedicated safety-rated controllers).
- Cost and simplicity on the smallest systems.
The real answer: use a PLC when logic is complex, likely to change, needs timing/counting/communication, or benefits from diagnostics. Use relays when the job is simple, fixed, or safety-critical in a way that must stay independent. Most real panels use both — a PLC for the logic, hardwired relays for the safety.
What to take away
PLCs win on flexibility, scale, reliability, free timing/counting, diagnostics, and communication — which is why complex machinery is PLC-controlled. Relays still own the simple and the safety-critical. Knowing both, and when each fits, is what makes you valuable.
Concept lesson: this one is about understanding equipment and ideas rather than wiring a circuit, so there’s no Sandbox build for it. Next we look at VFDs — how PLCs and drives control motor speed.