A $3,200 Mistake in a Siemens S7-1200 Migration: The PLC Pain No One Told Me About
Back in September 2022, I was handling a control system upgrade for a small packaging plant. The client's existing line ran on a beat-up S7-300. They wanted to migrate to an S7-1200. It sounded straightforward. A PLC transplant. A memory card swap. A bit of TIA Portal wizardry. I'd done migrations before. Straightforward was the word I used in my proposal.
I was wrong.
The job involved a 1214C AC/DC/Relay model, a new KTP700 Basic HMI, and pulling a few hundred feet of new Profinet cable. Budget was tight. Timeline was three weeks. The plant manager, a guy named Marco, had a phrase he repeated every call: 'No downtime. Weekends only.'
I remember looking at the panel design with one of my junior techs. He pointed at the main disconnect. 'This feeds the old cabinet,' he said. 'It's got a 300 amp manual transfer switch in the basement. For the backup generator.'
I nodded. 'Good to know. We'll just keep that in the same position.'
That was my first mistake. Assuming.
The Ignition of a Bad Decision
The core of the story starts with power. Or rather, my lack of attention to power distribution. The old S7-300 rack had a PS307 power supply. It was fed from a dedicated 24V DC bus in the cabinet. The cabinet itself had a massive, ancient-looking contactor that switched the whole thing on and off as a safety rail.
My plan was simple: remove the old rack, mount the new S7-1200, wire the 24V DC from the existing busbar, and load the new program. I'd even tested the input voltage—it was a solid 24.2V DC. Perfect.
Except I didn't look deeper. I didn't ask the question: 'Where does that 24V bus get its power from, exactly?'
It wasn't from a standard Siemens sitop power supply. No. It was being fed by an old, non-isolated industrial battery charger. A 300 amp unit that was originally installed to charge an emergency battery bank (the kind they used for a ezgo battery charger for a backup golf cart fleet—don't ask, it was a weird plant).
This charger was floating. It had no true ground reference. It had massive ripple. In a quiet moment, it would output a clean 24V. But under load, when the transfer switch in the basement kicked over to generator power for a test, the charger would spike and dump dirty voltage onto the 24V bus.
The old S7-300 PS307 was robust. It absorbed the noise. It was a tank.
The S7-1200? Not so much.
The Moment of Truth (and Smoke)
The migration happened on a Saturday. We swapped the hardware. We uploaded the new code. The HMI connected on the first try. I let out a breath I didn't know I was holding. We ran the conveyor empty for two hours. Perfect. 'Textbook,' I thought.
Then the plant's generator test kicked in. The transfer switch (a massive 300 amp manual transfer switch in a steel box) clunked. The lights flickered. The machine stopped.
I looked at the S7-1200. The green 'RUN' LED was dark. The 'DC' LED was flashing red. The CPU was dead. Done.
My memory of the next 10 minutes is fragmented. I remember the smell of burnt electronics. I remember pulling the 24V input terminal block and seeing a tiny black scorch mark. The surge had fried the internal 24V to 3.3V regulator on the CPU board. The CPU was a brick.
A $890 repair cost (for the new CPU) plus a 1-week delay for replacement hardware. Not to mention the embarrassment of explaining to Marco why his 'weekend only' upgrade was now bleeding into a Tuesday production run. That error cost $890 in redo plus a 1-week delay. And I learned a hard lesson about power supply arrogance.
The Core Lesson: Industrial Power is Not a Commodity
This is where the customer education part comes in. If I had spent 10 minutes explaining to the client (and myself) the importance of power quality, we would have avoided this.
The lesson is this: Just because it's 24V DC doesn't mean it's clean. An old battery charger (or an EZGO charger) is not a industrial power supply. It's a battery float charger.
For anyone doing a PLC migration, especially moving from a S7-300 to a new S7-1200 or S7-1500, ask these questions:
- Is the 24V DC supply a true industrial power supply? Look for a Siemens SITOP, a Puls, or a Mean Well. If it's a 'battery charger', replace it.
- Is there a transfer switch involved? Any kind of emergency generator or backup system creates a transfer event. These events cause voltage dips and spikes.
- Does the cabinet have a clean ground? A floating supply (like from a charger) can cause the PLC to see voltages that destroy its internal components.
I now have a rule: If the 24V bus doesn't come from a certified industrial power supply, I don't power the PLC from it. Period. I install a dedicated SITOP for the control system. It adds $150 to the BOM. It saves thousands in downtime.
A Word on Circuit Breakers vs. Fuses
You might ask: 'Why didn't the circuit breaker trip?'
Because it was a fuse. A 10 amp slow-blow glass fuse. And it didn't blow. It let the voltage surge through because the current spike was short. This is the classic circuit breaker vs fuse box debate.
- Fuses are great for protecting wires from fire. They are lousy at protecting electronics from voltage spikes.
- Circuit breakers (especially electronic ones) can be programmed to respond to both over-current and over-voltage.
A standard fuse won't save your PLC. A quality circuit breaker with electronic trip characteristics (like a Siemens 5SY or similar) will react faster. In my opinion, for control cabinets with sensitive electronics, electronic circuit breakers are worth the premium. The old S7-300 world was fine with fuses because the hardware was bulletproof. The new hardware is more powerful but more fragile.
'I'd rather spend 10 minutes explaining power supply options than deal with a dead CPU and a disappointed customer.'
That's my motto now. It's saved me from repeating that $3,200 mistake.
The Final Reflection
After the third rejection in Q1 2024 (yes, I had other close calls), I created our pre-check list. It's a simple 5-item checklist that my team runs every time before we commission a new PLC installation. It includes verifying the power supply type, checking the grounding, and testing the system during a transfer switch event.
We've caught 47 potential errors using this checklist in the past 18 months. Most were minor. A few, like a miswired 24V rail, could have been catastrophic.
The S7-1200 is a fantastic controller. It's modular, it's powerful, and the TIA Portal ecosystem is second to none. But it demands respect for its environment. Treat the power supply like it's the most important component, because in a way, it is. The control logic is only as good as the electricity that feeds it.
Don't make my mistake. Respect the power. Question the transfer switch. And never trust a battery charger to power a PLC.