If you're trying to make a lighting control panel run reliably, the most common single point of failure isn't the PLC. It's misunderstanding the difference between a relay and a contactor. I learned this the hard way.
I've been handling automation orders and troubleshooting for about seven years now. I've personally documented, and I'm not proud of this, roughly $15,000 in wasted budget from my own mistakes and the mistakes of people I was supposed to be checking. I now maintain our team's 'pre-flight' checklist, which we run on every new build or retrofit. This article is the stuff on that checklist that I wish someone had handed me on day one.
We deal with a lot of Allen-Bradley PLCs—specifically the CompactLogix series in smaller-scale automation and machine builds. And while the CompactLogix is a rock-solid processor, the systems that fail around it almost always have one of three root causes. I'm going to walk you through them, from the most common and expensive to the most subtle.
The #1 Confusion: Relay vs. Contactor in Your Lighting Panel
This is where almost every 'beginner' mistake starts. In my first year (2017), I made the classic error: I specified a standard ice cube relay for a lighting control panel that was supposed to switch a 3-amp lighting load for an industrial machine. On paper, 3 amps is well within a relay's rating. The problem? Inrush current.
When you turn on a bank of LED or fluorescent lights, the inrush current can be 10x to 20x the steady-state current for a few milliseconds. A general-purpose relay's contacts aren't designed for that. They weld shut. Or they arc and pit until they fail open. The job got done, but we had an emergency call back 10 days later. The relay was toast. A $12 part caused a $450 service call and a 1-week delay because we had to re-certify the panel.
The piece of advice I now scream from the rooftops: For a lighting control panel, almost always use a contactor unless you can prove the load is purely resistive and under 2 amps. A contactor is designed to handle the high inrush current of lighting and motor loads. Its contacts are physically larger and have arc-suppression features. A simple relay is for a signal or a very tiny load. The cost difference is maybe $20, but the longevity difference is years.
I went back and forth on this rule for months. I'd look at the spec sheet and think, 'A 10-amp relay is way more than enough for 5 amps!' But the spec sheet is for steady-state resistive load. It doesn't account for the brutal transient. The contactor rule has never let me down. It's become a no-brainer on our checklist.
Allen-Bradley CompactLogix: Don't Treat It Like a MicroLogix
Here's another pitfall I see all the time. People upgrade from a MicroLogix or a third-party 'brick' PLC to a CompactLogix and assume they can use the same programming style. They can't.
The CompactLogix is a far more powerful and structured platform. If you write your logic as one giant ladder routine, you're missing the point and creating a debugging nightmare. I once had to troubleshoot a machine where the previous engineer had put everything—motion control, HMI comms, safety interlocks, and the basic sequence—into one 800-rung ladder file. It was unreadable. A single tag name typo would cause a cascade of failures that took days to trace. It blew a $3,200 order deadline because the machine kept faulting.
You need to use User-Defined Data Types (UDTs), Add-On Instructions (AOIs), and properly structured tasks (periodic, event, continuous). The CompactLogix rewards organization. If you treat it like a simpler PLC, it will still work, but future you (or your replacement) will hate you for it. It's the difference between building a house with a hammer and building it with a framing nailer. Both work, but one is way more efficient and leaves a much better result.
The Flashlight Battery Charger and Spec Gravity
This example sounds silly, but it's a perfect illustration of a deeper issue. I once had a client who needed a special flashlight battery charger integrated into a piece of safety equipment. Simple, right? A 24V DC input, a few charging circuits, and a status output back to the PLC. The spec said it needed to charge 'standard' flashlight batteries. No one thought twice.
The mistake? We assumed 'standard' meant the same thing to everyone. The vendor we used for the charger had a different definition of 'standard' than our end customer. The charger was slightly too aggressive for the batteries in the customer's fleet. After 50 cycles, the batteries started to swell. The whole prototype was a waste. The mistake cost $890 in redo plus a 1-week delay. It also cost credibility with the client. The lesson: if a specification has any ambiguity, write it into the PO or get a signed sample. Assumptions are the enemy of industrial controls.
We now have a rule: any custom sub-component (like a charger, a sensor, or a special power supply) must have its critical specs listed on a one-page datasheet that gets attached to the order. We've caught 47 potential errors using this checklist in the past 18 months.
More on the Relay vs. Contactor Decision
To give you a more concrete rule of thumb, here's how I break it down when I see a spec sheet come across my desk:
- Control voltage: always use a relay if it's for the PLC's own I/O power (24V DC).
- Pilot lights and small indicators: relay is fine.
- Motors, heaters, and lighting banks: use a contactor.
- Solenoid valves: a relay can work, but a dedicated solid-state relay (SSR) is often better for inductive loads.
The difference between relay and contactor isn't just a size or price point. It's a function of what you're switching. A relay is a delicate switch for a signal; a contactor is a brute-force switch for power. Get that distinction wrong and you will be replacing components on a weekend when you least need to.
When the Rules Break Down
Of course, there are exceptions. For very small contactors (like the 4A or 6A ones), the line blurs. Some of those are just beefed-up relays. And for high-current DC loads, you might need a specialty contactor or a solid-state switch because DC arcs are harder to extinguish. But for 99% of the lighting control panels and motor control centers I work on, the rule is simple: lighting and motors = contactor; everything else = relay or SSR.
I'm not a sales guy telling you our way is the only way. This is a list of mistakes I've made and seen others make. The biggest red flag on any design review is when an engineer insists on using a 10-amp relay for a 5-amp lighting load 'because it's fine.' It's not fine. It will fail. Trust the physics, not the paper spec. And if you're ever on the fence about the CompactLogix, just start with the UDTs. It'll save you weeks of debugging.