A PLC that restarts during thunderstorms, even with no strike on the building, usually loses its supply for an instant or receives a transient through a cable coming from outside. Separate the two with the time of the restart, the cause stored in the controller and a recording of the supply, and correct it at the power supply, the bonding and the protection of every incoming cable.
Symptom
During a thunderstorm, even without strikes on the building, the PLC goes through a startup: its lights go off and on, outputs fall to their resting state, the operator panel loses communication and the sequence starts over. Sometimes the controller does not fully restart but stops with a module fault, or keeps its supply and loses a field bus. Afterwards everything looks normal.
What is specific here is the link with the weather. Distant lightning can cause a voltage dip on the network, an induced surge on long cables or a rise in ground potential, and each path leaves a different trace. How these surges travel along lines into an installation is covered in Lightning overvoltages in a substation.
Probable causes, most to least likely
| Cause | How to recognize it | What confirms it | What rules it out |
|---|---|---|---|
| Dip or short interruption of the supply | Other equipment restarts too, or lights flicker | Voltage or power supply record at the time of the restart | Backed-up, recorded supply without variation |
| Weak 24 V supply or backup battery | Restarts appear with dips that used to be tolerated | Voltage drops under load or in a controlled loss of AC | The supply holds the load for its specified time |
| Transient on an outdoor signal or communication cable | The same module or port always fails | Faults logged on that channel; protector showing operation | No cables leave the panel or the building |
| Potential difference between two grounding systems | Equipment linked by a cable between two buildings or shelters | Electrodes not bonded, or screen grounded to separate systems | One bonded grounding system, or fiber with no metal parts |
| Missing, spent or badly installed protectors | Protectors fitted with long leads or changed status indicator | Inspection of indicators, lead length and coordination | Healthy protectors with short connections |
| Radiated or induced interference in internal wiring | Restarts with no dip and no port event | Signal cables running along power cables or a down conductor | Separated, screened and well-routed wiring |
| Own fault made worse by the storm | It also restarts in dry weather | Restarts outside storms in the record | Every event matches a storm |
How to diagnose it
1. Fix the exact time. Compare the PLC diagnostic record, the supervision system record and those of nearby relays or meters. If clocks are not synchronized, note the offset before drawing conclusions.
2. Read why it says it restarted. Many controllers distinguish loss of power, program watchdog, module fault and external command. Download the diagnostic buffer before clearing faults or switching off. A power loss points to the supply; a module or bus fault points to the cable reaching it.
3. Record the supply. Put a recorder on the AC input and another on the DC output feeding the CPU, with fast event capture. An AC dip that shows on the DC side points to short hold-up time. A sudden change on DC only points to the supply, an overloading load or coupling in the wiring.
4. Map the incoming cables. List every metallic conductor reaching the panel from outside: supply, field inputs, instrument loops, antennas, copper network, serial buses. For each, note length, outdoor route, protector fitted and where its screen connects.
5. Check the bonding. With qualified personnel, verify continuity between the panel ground bar, the structure, cable screens and the building grounding system. Look for separate electrodes that are not bonded together.
6. Compare events. Over a month, count which restarts match nearby strikes, network reclosing operations and large load starts. A match with a reclose and no local strike points to the supply, not to induction.
What to do
- Supply dip: feed the CPU and communications from a supply with enough hold-up time, or from battery-backed DC or an online UPS. Review the startup logic so that a short loss does not leave outputs in an unsafe state.
- Weak supply or battery: replace it and confirm the new one under real load.
- Transient on a cable: install protectors suited to the signal type at the entry point, with a short, straight ground lead, coordinated with the supply protector.
- Separate grounds: bond the grounding systems or replace the metallic link with fiber. This calls for a design review, not just one more wire.
- Internal wiring: separate signal from power, reduce large loops and move routes away from lightning down conductors.
- Program and communications: set startup behaviour, output state on fault and restart alarms so the event is logged and reported.
On site you can review the record, indicators and de-energized wiring; selecting protectors and changing grounding needs a specialist.
Field checklist
- Time of each restart and clock status.
- Diagnostic buffer downloaded before clearing.
- Protector and power supply indicators.
- List of cables entering from outside.
- Screens and ground bars checked.
- Recorder on AC and DC through the storm season.
- Controlled loss-of-supply test with the process made safe.
Illustrative example
A generic situation, not a real case. A panel power supply states a hold-up time of 20 ms at full load. During a storm the recorder shows a 120 ms AC interruption caused by network reclosing. The interruption lasts six times longer than the supply guarantees (120 / 20 = 6), so the DC drop and the restart are expected even with no surge at all. Changing the surge protector would not solve it. If the recorder showed no dip and the fault always appeared on the module of one yard instrument, that cable would be the path.
What not to do
- Do not work on the panel or on outdoor cables during a thunderstorm.
- Do not remove a screen or panel ground to make events stop: it can leave dangerous voltages.
- Do not disable the watchdog or force outputs to hide the restart.
- Do not fit protectors at random without knowing voltage and signal type: they can degrade the measurement or fail to operate.
- Do not replace the CPU before finding the cause; the new one stays exposed to the same path.
When to call us
Call us if restarts continue with a verified supply, if they affect process or protection outputs, or if you need to set up startup behaviour, alarms and time synchronization of the controller and its communications. We set it up remotely: request remote configuration.
Related guides
- How lightning surges reach a substation
- Electronics damaged by a nearby strike
- Lightning protection zones for placing protectors
- Voltage induced by lightning in a cable loop
- Relay restarting when another load starts
- PLC input and output wiring
References
- IEC 61131-2, Industrial-process measurement and control – Programmable controllers – Part 2: Equipment requirements and tests.
- IEC 61000-4-5, Electromagnetic compatibility (EMC) – Part 4-5: Testing and measurement techniques – Surge immunity test.
- IEC 62305-4, Protection against lightning – Part 4: Electrical and electronic systems within structures.
Frequently asked questions
If the PLC restarts and runs again, is anything damaged?
Not necessarily, but it cannot be ruled out. A transient can weaken a port or the power supply without an immediate failure. Check the diagnostic record, the modules and the surge protective devices, and track how often restarts happen.
Does a UPS stop the PLC from restarting in a storm?
Only if the cause is the supply and the UPS has no transfer gap. A UPS does not protect against a transient arriving on a signal or network cable from the yard, or against a potential difference between two grounding electrodes.
Is a surge protective device on the power input enough?
Not always. If the disturbance enters through digital inputs, analog loops, antennas or communication cables, protection on the supply alone leaves those paths open. Decide protection cable by cable, with equipotential bonding at the entry point.