Troubleshooting
Why an S7-300 CPU and input module flash together at startup
Short answer
Simultaneous on-and-off flashing of every LED on an S7-300 CPU-317 PN/DP and its digital input module after generator power returns is the power-on self-test repeating, which points to a collapsing or overloaded 24 V control supply rather than a processor fault. Power the CPU alone from a trusted supply, measure the supply voltage while the fault happens, then reconnect branches in stages until the load that pulls the voltage down is found.
On this page
When every indicator on an S7-300 CPU-317 PN/DP and its digital input module switch on and off together, the processor is restarting over and over. After an outage, on a system that ran correctly before it, that almost always means the 24 V control supply is collapsing and recovering under the panel's load, not that the CPU has failed. The generator switch-on matters because every load in the cabinet energizes at the same instant, so a supply that carried each load alone can be dragged below regulation when they all start together. Power the CPU from a trusted supply with nothing else connected, measure the supply voltage while the fault is happening, then reconnect branches in stages until the one that pulls the voltage down is found.
What the flashing pattern tells you #
On every power-up, the S7-300 lights its LEDs while the CPU runs its startup self-test, and the modules on the rack light in step with it. A supply that holds keeps those LEDs steady after a few seconds, and a real diagnostic fault then shows as a latched SF or BF LED on the CPU alone. When all indicators on the CPU and the input module switch on and off in unison, the startup self-test is repeating, which means the control supply is dropping out and returning again and again. Treat that as a power problem first and a CPU problem second: a failed processor holds a fault LED steady, it does not flash the whole rack in rhythm.
Put a meter on the supply while it misbehaves #
An unloaded reading proves nothing here, because the fault only exists under load. Connect a meter at the supply output or the CPU's power terminals and leave it there while the indicators cycle. If the reading holds at the supply's rated output, power is healthy and the next stop is the diagnostic buffer in STEP 7's online view. If the reading falls out of regulation in step with the flashing and springs back each time, the supply is cycling, and the only remaining question is what drags it down: a short circuit in a branch, a load whose startup demand exceeds the supply, or a supply that has failed on its own. That one reading splits the fault into its two families before you touch any wiring.
Power the CPU alone, then reconnect in stages #
Isolate and lock off the panel supply before disconnecting or changing any wiring.
- Disconnect the field wiring and every load except the CPU, so only the CPU is fed from the control supply.
- Energize the rack and watch the CPU indicators. A CPU that flashes on its own leaves two suspects: a short in its own power feed, or a failing supply. Inspect the feed wiring and substitute a supply you trust.
- If the CPU sits stable, reconnect the digital input module and energize again.
- Reconnect the field branches one stage at a time, energizing between stages.
- The stage where the synchronized flashing returns contains the fault. Leave that branch isolated and inspect its wiring and the equipment it feeds.
This procedure takes minutes and replaces guessing with an observed cause. Do not skip the meter reading in the previous section while you do it; the voltage behavior at each stage is what tells a short from an overload.
Worked example: a breaker coil that demands twice the supply current #
This is the pattern behind the symptom, worked with real numbers. The inputs: the supply nameplate, which in this example reads 24 V DC with 5 A of available continuous current (read the actual figures from the label on your own supply), and a large PLC-controlled circuit breaker closed through an intermediate relay, whose closing inrush was measured at twice the supply's available current in a reported case with exactly this cycling symptom.
The rule in words: a load may be energized from a supply only when its documented inrush demand is at or below the supply's available current, or at or below the peak current the supply's documentation allows for the duration it allows.
The arithmetic: inrush demand = 2 × 5 A = 10 A. Margin = 5 A − 10 A = −5 A, so the demand is 200 % of the supply rating and exceeds it by 100 %.
The result: at each closing attempt the supply goes into current limit, its output voltage collapses until the relay drops out, the load disconnects, the supply recovers, and the next attempt repeats the cycle. On the panel that is the synchronized on-and-off indicator flashing, one cycle per closing attempt.
The decision: that coil cannot be closed from that supply. Feed it from a dedicated supply rated above the coil's documented inrush, or replace the supply with one whose rating covers the full connected demand. In the reported case the fix was a second identical supply wired for parallel operation, which worked because those supplies were documented for parallel operation; never parallel two supplies unless their own documentation says they support it.
What each test result means #
| Test result | What it supports | Next move |
|---|---|---|
| CPU alone still flashes | A short in the CPU power feed or a failed supply | Inspect the feed wiring, substitute a trusted supply |
| CPU stable alone, flashing returns when one branch reconnects | That branch holds a short or a startup demand beyond the supply | Keep the branch isolated, inspect its wiring and connected loads |
| Meter collapses in step with the LEDs | The supply is repeatedly dropping out under load | Find the load that drags it down, or replace the failed supply |
| Meter steady through the flashing | Power is not the fault | Read the CPU diagnostic buffer in STEP 7's online diagnostics and work from the recorded events |
Before you change the supply #
Do not buy capacity off the symptom alone. First confirm the voltage collapse with the meter, then add up the documented startup demands of everything the supply feeds and compare the total against the supply's rated current. If the total exceeds the rating, replace the supply with one rated above it, or split the heavy switching loads onto their own supply so they never energize with the CPU. On a generator-fed panel, the cleanest permanent fix is to stagger the restarts or feed each heavy closing load separately, so no combination of simultaneous startups can pull the control supply out of regulation again.
Questions asked
Why does the SF LED behave differently from this synchronized flashing?
A latched SF LED means the CPU finished startup and its diagnostics recorded an event; it sits steady red on its own, and the event is readable in the diagnostic buffer in SIMATIC Manager's online view. Synchronized flashing of every LED on the CPU and the I/O modules is the startup self-test repeating, which no diagnostic event records because the CPU keeps losing power. The two call for different first steps: a buffer reading for a latched SF, a voltage measurement under load for synchronized flashing.
Why did this fault only appear after the generator was switched back on?
When generator power returns, every coil, supply and drive in the panel charges at the same instant, and the source itself can sag during that combined startup. A combination that each ran through individually before the outage can fail when they all energize together, because the total startup demand lands on the control supply at once. The staged reconnection procedure reproduces this in a controlled way and shows which load tips the supply over.
Can a short circuit in a digital input's field wiring cause all indicators to flash?
Yes, if the shorted branch shares the control supply with the CPU: the short drags the supply output down, the CPU browns out and restarts, and the whole rack repeats its power-up sequence. It behaves differently from an inrush overload. A hard short tends to hold the supply down or trip it once, while an overload from a switching coil cycles the supply each time the load tries to close. The meter reading taken during the event distinguishes the two.