Short answer: put a flyback diode across every DC relay coil on your 24 V rail, cathode to the positive terminal, and bridge the interruption with a capacitor buffer module on the same bus. A 1 A / 100 V diode covers a 0.9 W coil for the life of the panel, and holding a 21.6 W load through a 10 s outage takes 216 J, about 2 F of capacitance between 28 V and 21 V. An MOV belongs across a coil only when its clamping voltage at surge current stays below the rating of the device driving that coil, and across a logic input it clamps far too high to protect anything.
Which suppressor goes where
Opening the coil circuit releases stored magnetic energy, and the coil answers by driving its voltage up until something conducts. You give it a deliberate path at the coil itself. Inputs, the DC bus and the AC feed each take protection matched to their own voltage, which is the coordinated three-layer layout: AC feed, DC bus, then field I/O. IEC 61643-11 governs the SPD at the low-voltage AC side; the bus and the I/O take parts rated for those circuits.
| Location | Fit | Selection basis |
|---|---|---|
| Relay or contactor coil on the 24 V DC rail | Flyback diode | Reverse voltage at least 3x the rail, so a 100 V part here; forward current at least the coil current |
| Same coil, timed sequence | Diode plus zener | Clamp near 34 V on that coil, and below the driver's rating |
| AC coil | RC snubber | Values from the contactor maker's table; see relay coil suppression: diode for DC, snubber for AC |
| Input fed by field contacts | Bidirectional TVS | Standoff above the 28.8 V top of the IEC 61131-2 band; clamping below the input's documented maximum |
| Incoming AC feed | Type 2 SPD | Rated to IEC 61643-11, fitted at the panel disconnect |
| DC rail | DC SPD plus the buffer's own clamp | Voltage-matched to the bus |
While the coil is held, the diode sits reverse-biased with its banded end on the positive side. At turn-off the coil voltage reverses and the diode conducts, clamping the spike near 0.8 V. Long signal runs get the same treatment at their terminals, and serial-port surge protection in a panel shows the part choices there.
What you need for the example panel
Work this parts list against one small panel, then scale it:
- Flyback diodes, 1 A, 100 V, one per inductive load: relay coils, contactor coils, solenoid valves.
- One 33 V zener rated 1.3 W or larger, plus its series diode, for the relay your sequence times.
- Bidirectional TVS diodes with 33 V standoff for each input wired to field contacts.
- A capacitor buffer module, or a 2 F / 35 V bank, for the DC bus.
- A supply with headroom for the load plus the buffer's recharge current.
- Wire duct of flame-retardant material: NFPA 79-2015 13.3.1 admits nonmetallic duct inside enclosures only when it passes the IEC 60332-1 flame test.
Plug-in suppression modules made for common relay sockets do the same job and keep the loop shortest, so order them with the relays if you would rather buy than build.
The steps from coil to backup
- List every inductive load on the schematic. Each one gets its own suppressor at its own terminals, so count coils, contactors and solenoid valves first.
- Fit each diode at the relay socket, banded end to the positive terminal. Keep the unsuppressed loop to centimetres; a suppressor at the terminal strip leaves a loop that radiates into the ducts.
- Add the diode-plus-zener clamp on any relay the sequence releases quickly, sized as worked out below.
- Land a 33 V standoff TVS at each input terminal that field contacts feed.
- Route coil and load conductors in one duct and signal conductors in another, with fill at or under 50% of the duct's cross-section. NFPA 79-2012 13.5.2 caps duct fill there, and the backplate and DIN rail layout guide sets out the spacing around it.
- Energize the finished panel and read the true load. The example draws 0.55 A for the controller, 0.25 A for I/O and 0.10 A for sensors, so 0.90 A at 24 V is 21.6 W.
- Write down the outage you must bridge, and measure it if you can. Here it is 10 s, because the controller needs 8 to 10 s to boot and every reboot costs the process that time.
- Size the buffer from the energy, then mount it on the DIN rail beside the supply. Charge it at the top of the band: set the supply near 28 V, or use a self-boosting buffer per its instructions.
- Land the 0 V common on the common terminal and protective earth on the ground bus. NEC 250.6 keeps current off metal parts by keeping neutrals off them. Give your DC return the same discipline; the grounding and bonding guide covers the bonding behind it.
- With everything closed up, pull the AC feed and time the hold with a stopwatch at the controller.
Wire all of it with the feed locked off; the pull test is the one live step.
The arithmetic for 10 seconds of ride-through
Start with energy, because farads follow from it:
- Load: P = 24 V × 0.90 A = 21.6 W.
- Energy at the load: E = P × t = 21.6 W × 10 s = 216 J.
- Storage must supply more than that. Assume 90% conversion efficiency in the buffer, so 216 J / 0.9 = 240 J.
- Capacitors deliver only between charged and discharged voltages. Charge at 28 V and stop at 21 V, which keeps the load inside the 20.4 to 28.8 V IEC 61131-2 band with margin: C = 2E / (V1² − V0²) = 2 × 240 J / (784 − 441) V² = 480 / 343 = 1.4 F.
- Buy 2 F rated 35 V or more. That bank holds 0.5 × 2 × 343 = 343 J, delivers 0.9 × 343 = 309 J, and carries the 21.6 W load for 309 / 21.6 = 14 s, roughly 40% margin over the 1.4 F minimum for cold days and capacitor ageing.
Time scales with farads and inversely with load. The same 2 F bank holds a 10.8 W load for about 29 s, and a 5 s outage needs only 0.7 F. When you buy a module instead of building the bank, read its hold-time curve at your load and your enclosure temperature, and replace the example numbers with your measured ones.
Keeping the relay fast when the sequence needs it
Relay application notes publish release-time curves showing a 2 to 10 times stretch under a plain diode. Run the numbers for the example coil: 24 V, 0.9 W, so 37.5 mA through 640 Ω. Assume 1 H of inductance for the estimate, and swap in your relay's figure when you have it. With the diode alone, current decays through the coil's own 1.6 ms time constant and reaches 10% in about 3.6 ms.
Put a 33 V zener in series with the diode and the clamp rises to 34 V. Current then falls at 34 V per henry and reaches zero in about 1.1 ms. That clamp also respects the driver: 34 V sits under an output rated 48 V and 50 mA, the documented rating of one drive's open-collector output. Peak zener power at turn-off is 33 V × 37.5 mA = 1.24 W, so use a 1.3 W part or larger. For the same clamp physics on a transistor-driven solenoid, read zener diode flyback clamping for MOSFET solenoid control.
Heat and space for the buffer
The buffer costs you DIN width and standby watts, and both belong on the layout before you order the box. Its datasheet gives width and idle loss; capacitor buffers idle at a few watts while floating on the rail. On this site's stainless basis of k = 3.7 W/m²K, a sealed 20 × 16 × 8 in [508 × 406 × 203 mm] box offers 0.78 m² of surface, so each internal watt warms it about 0.35 K and a 10 W panel sits 3.5 K above ambient. That is comfortable for electronics rated to 40 C [104 F] unless the wall behind them is already hot; UPS heat and battery life inside a PLC enclosure walks the full heat budget when it is tight.
A relay station out at the machine belongs in its own stainless junction box, manufacturer-rated NEMA 4X / IP66 and not UL listed, with the diode fitted right at the relay. If the new parts crowd your plate, the enclosure selector compares inside dimensions and DIN capacity, and a box built to your cutouts is delivered in 10 business days from your approval of the drawing.
Checks when the parts are in
- Scope the driver output on release. You want a flat plateau, about 0.8 V for the diode and about 34 V for the zener string; a spike above the driver's rating means an open suppressor or one fitted too far from the coil.
- Measure the diode in place with the coil unpowered: about 0.6 to 0.8 V forward across the coil terminals. A reading of 0.6 V across a driven output is what the solenoid flyback article works through.
- Pull the AC feed and hold 14 s at 0.90 A with the controller scanning. Force one input transition during the hold to prove the I/O stayed live, not just the processor.
- Time the relay drop-out against its published release figure under diode suppression.
- After an hour at load, read the enclosure air and keep it at or below 40 C [104 F], the ambient most panel electronics are rated for unless a datasheet allows more.
- Let the buffer recharge, typically seconds to minutes on its datasheet, before you repeat a pull test.
Mistakes that undo the protection
A diode installed backwards conducts at energize instead of turn-off: the coil stays dropped out and the fuse or the driver carries the short. The banded end goes to positive, every time. An MOV across a logic input is the second classic, because a varistor sized for that rail still clamps around 50 to 70 V at surge current, well past what a 24 V input tolerates; the TVS does that job and the varistor stays on power circuits. Suppressing at the terminal strip instead of the coil leaves the radiating loop you meant to remove. Sizing the backup to the boot time mistakes the cost of failure for the outage you must bridge, so measure the interruption and size to that. And when outages run to minutes you move from capacitors to a battery UPS: AGM, gel and other valve-regulated batteries can still release hydrogen, so build that compartment with the ventilation the battery instructions call for.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 20 × 16 × 8 in | 304 stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Is an MOV the right surge protector for a 24 V relay coil?
Only when its documented DC continuous voltage exceeds your rail and its clamping voltage at your surge current stays below the driver's rating. A varistor sized for that rail typically clamps around 50 to 70 V, which rules it out for an output rated 48 V. The flyback diode clamps near 0.8 V and suits nearly every DC coil.
How large a buffer does 10 seconds of backup need?
Start with energy: E = P × t. A 21.6 W load held 10 s needs 216 J, or 240 J of storage at 90% conversion efficiency. Between 28 V and 21 V that works out to 1.4 F, so buy a 2 F bank or module rated 35 V or more, which holds that load about 14 s. Halve the load and the same bank holds roughly 29 s.
Does a flyback diode slow the relay down?
Yes, by 2 to 10 times on published relay release-time curves. On a 24 V, 0.9 W coil the diode-only current decays to 10% in about 3.6 ms, assuming 1 H of inductance. Adding a 33 V zener in series clamps at 34 V, cuts that decay to about 1.1 ms, and still sits below a 48 V driver rating.
Where inside the cabinet do these parts mount?
Diode and zener at the relay socket, keeping the unsuppressed loop to centimetres. TVS at the input terminal block. Buffer on the DIN rail beside the supply; budget its module width and a few standby watts of heat in the layout, and keep wire-duct fill at or under 50% of the cross-section.





