Short answer: generate the 5 VDC behind an isolated AC-DC converter and bond the logic common to the equipment grounding conductor, once, inside the enclosure. Leave the AC neutral out of the signal wiring entirely. A relay that watches the input polarity cannot rescue a neutral-referenced supply: it adds its own failure mode, it misses an open neutral upstream, and it leaves line voltage on every conductor the logic common reaches. Swap hot and neutral on a 120 VAC branch and the common reads about 118 VAC to earth, at terminals other devices connect to. The fix costs one converter, not one isolator per signal, because the whole logic circuit shares one reference behind the converter.
What a swapped input puts on the logic common
In a neutral-referenced supply, the 5 V common connects to the AC neutral terminal. Wired correctly, that is a quiet reference sitting near earth potential. Swap the two input conductors and the common lands on the hot conductor instead. Every shield, sensor common and signal return wired to it now sits near line voltage to earth, and those conductors leave the enclosure and terminate on other devices.
The swap produces no trip, no blown fuse and no alarm. A simple supply rectifies whatever pair of conductors arrives, so the output stays regulated and the circuit keeps working. The first sign is usually a meter reading, or a tingle from a connected sensor housing.
Symptoms and what each reading points to
Meter the logic common to earth with the enclosure powered and the field devices connected. Each reading points to one cause, in this order of likelihood:
- Tens of volts or more between the common and earth. Hot and neutral are swapped at the supply input.
- A few volts AC between common and earth under load, near zero at idle. The common is tied to neutral correctly, and neutral return current drops voltage along the conductor, so the reference moves with the load.
- Analog offsets or noise that track other loads on the same branch. The signal reference rides neutral current instead of a quiet ground.
- A leakage test from an output terminal to the grounded supply conductor trips instantly. An output terminal connects directly to neutral, and the test sees a short.
- A ground-fault circuit interrupter trips when field devices are connected. Shields or grounded sensor housings give the neutral-referenced common a path to earth it was never meant to carry.
An odd DC reading between a common and earth has its own diagnosis: a 24 VDC supply that reads 14 V from negative to earth is the floating-common case, and that article walks through it separately.
Why the neutral cannot carry the signal reference
The neutral is a current-carrying conductor, and the NEC bonds it to earth at one point only, at the service. Downstream of that bond, neutral sits above earth by the voltage its own return current drops. It climbs much further if the neutral opens upstream. The equipment grounding conductor is the conductor that runs to the equipment and stays near earth. NEC 250.4(A)(5) treats that conductor path, not the soil, as the fault-current path.
NEC 250.6 keeps neutral current off metal parts and grounding conductors, and a neutral-referenced logic common defeats exactly that: it wires neutral current onto shields, sensor housings and signal terminals. Bonding neutral to earth again inside the panel is the other dead end, because a second bond puts return current onto the grounding system. How the equipment grounding conductor relates to the plant grounding grid at the enclosure is its own subject, and it matters when several panels share one reference.
Why the input relay fails twice
A polarity-sensing relay handles one case, the swap, and misses the worse one. If the neutral opens upstream while the supply keeps running, the neutral conductor floats toward line potential through the load. The common follows it while the relay still sees correct polarity. The relay also becomes the only barrier between a person and line voltage: a welded contact or a failed sensing coil puts the hazard back with no indication.
The argument that only electricians open the enclosure misses where the common goes. The logic common terminates on devices outside the panel. Anyone connecting a sensor or a shield touches it in normal use, with no relay anywhere in that path.
The leakage test a neutral-tied output cannot pass
If the supply needs Class 2 listing, UL 1310 governs, and it requires isolation between the AC input and the low-voltage output. The standard tests leakage current from each output terminal to the grounded supply conductor. When the expected leakage is known, the test is commonly set to trip at 20 times the leakage limit, so a real connection trips at once instead of hovering near the edge. A common tied to neutral is a direct connection, and the test fails it on the spot.
UL 1310 also asks for reverse-polarity protection on the input even once the supply is isolated. Outside Class 2, an industrial control panel is listed to UL 508A, and end-use equipment follows its own product standard. Name the end-use equipment first, then read that standard, before the design freezes.
What the common reads on a 15 A branch of 14 AWG copper
Worked example. Inputs: a 120 VAC branch feeding the enclosure; 14 AWG copper at about 2.5 Ω per 1000 ft from the standard copper conductor tables; a 50 ft run to the panel; a 12 A load on the branch. The rule: with correct polarity, the voltage between the common and earth equals what the load current drops in the neutral conductor alone.
Neutral resistance: 2.5 Ω/1000 ft × 50 ft / 1000 = 0.125 Ω. Neutral drop at full load: 12 A × 0.125 Ω = 1.5 V.
Wired correctly, the 5 V common sits about 1.5 VAC above earth at full load and drifts toward zero when the load idles. That is the analog offset the symptom list describes: the reference moves with every motor or heater that shares the branch.
Swapped, the common lands on the hot conductor, so it reads 120 VAC − 1.5 VAC = 118.5 VAC to earth, continuously, at every terminal the common reaches.
Decision: keep the common within a few volts AC of earth at the worst branch load, and treat any reading of tens of volts as a swap or an open neutral. Correct the wiring before field devices connect; at that level the touch hazard is live and immediate.
The fix: isolated converter, common bonded to the grounding conductor
- List every conductor that leaves the enclosure on the logic common: signal returns, shields, sensor commons.
- Fit an isolated AC-DC converter; take the isolation rating from its datasheet and match its approvals to the standard that covers the build.
- Bond the logic common to the equipment grounding conductor at one point in the panel, or leave it floating when the connected devices are isolated anyway. One bond point keeps ground loops off the shields.
- Land the neutral on the converter input only, and bond nothing to it inside the enclosure.
- Add isolators only where a signal crosses to a device with its own separate reference. Behind one converter, the analog signals and the digital ones share the common and cross no isolation gap, which is why the per-signal isolator quote disappears.
Checks before return to service: no continuity between the logic common and the neutral terminal; common-to-earth near zero with the bond in place, or a stable floating value without it. Then, from a current-limited source, swap the input conductors deliberately and confirm the common shows no line-level voltage to earth. Watch the analog signals while loads on the branch cycle; the offset that followed neutral current is gone when the reference is clean. Before opening the enclosure, lock out the branch and verify absence of voltage.
Enclosure and bonding details that keep the fix sound
A 120 VAC supply and its converter belong in a metal enclosure with a real bond: the grounding conductor lands on the ground terminal and the box bonds to it, so a fault inside the supply has a low-impedance path home. A small stainless wall-mount junction box does this job, and ours is rated NEMA 4X / IP66 by the manufacturer; not UL listed, so a project that calls for a listed panel takes that listing from the panel build under UL 508A. For spacing, heat and terminal layout around a supply that small, the article on a 120 VAC power supply and relay inside a small enclosure covers the enclosure side.
The grounding and bonding guide walks the rest: the ground bar, the bond to the door and panel, and conductor sizing from the rating of the overcurrent device ahead of the panel. Two reference questions remain after the supply move, and both get shorter answers once the logic common sits on the grounding conductor instead of the neutral. One is whether a 24 VDC common needs grounding at all; the other is how and where to ground the 0 V of a supply when shields want an earth reference. Bond the common once, keep the neutral out of the low-voltage wiring, and every shield and terminal in the system holds a reference you can touch.
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 |
|---|---|---|---|
| 16 × 12 × 8 in | 304 stainless | 16 x 12 x 8 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 |
| 30 × 24 × 10 in | 304 stainless | 30 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 6 × 6 × 4 in | 304 stainless | 6 x 6 x 4 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much voltage reaches the 5 VDC common when hot and neutral are swapped?
On a 120 VAC branch carrying 12 A over 50 ft of 14 AWG copper, about 118.5 VAC to earth: the branch voltage minus the 1.5 V the load current drops in the neutral. The common is wired to devices outside the enclosure, so shields, sensor housings and signal terminals all sit at line potential, and nothing trips or alarms to announce it.
Why does a polarity-sensing relay not make the design acceptable?
It covers only the swapped-input case. With an open neutral upstream, the neutral conductor floats toward line potential through the load and the logic common follows it, while the relay still reads correct polarity. A welded contact or a failed sensing coil returns the hazard with no indication. The relay also protects only the enclosure interior; the signal common is touched at the field devices, beyond the relay.
What does UL 1310 test that a neutral-tied output fails?
The leakage current test, run from each output terminal to the grounded supply conductor, with the test set to trip near 20 times the leakage limit. A common tied to neutral is a direct connection and trips the test immediately. UL 1310 also requires isolation for Class 2 and reverse-polarity protection on the input even after the supply is isolated.
Can bonding the neutral to the enclosure ground fix the reference?
No. A second neutral-to-earth bond puts neutral return current onto the grounding system, which NEC 250.6 exists to prevent: neutral current belongs off metal parts and grounding conductors. Bond the logic common to the equipment grounding conductor at one point instead, and leave the neutral on the converter input only.
Should the 5 VDC common float or bond to the equipment grounding conductor?
Bond it at one point when the connected instruments and shields want a defined earth reference; that is the usual panel practice and it kills the offset that neutral current caused. Leave it floating when every device on that common is isolated anyway. Either way, the isolation between line and low voltage comes from the converter, not from the reference choice.





