Short answer: treat faults that cluster between 02:00 and 06:00 as condensation first. When I/O modules drop off an industrial Ethernet network in the small hours, recover by mid-morning and take turns being the one blamed, look at the box, not the network. Its walls cooled below the dew point of the air sealed inside, and dew wetted the electronics. Raising a watchdog does nothing, because nothing is timing out on purpose: moisture is bridging boards and contacts. Confirm the cause with a week of temperature and humidity logging, then fix it with a 10 W anti-condensation heater in a small stainless box or 15-30 W in a large one, run from a hygrostat, and vent it through a breather-drain approved for the box's rating.
Why do the faults cluster between 02:00 and 06:00?
Because the walls cool below the dew point of the air sealed inside: air closed in at 20 °C [68 F] and 60% RH has a 12 °C [54 F] dew point, and a night falling to 5 °C [41 F] holds every wall under it until sunrise. Overnight the process idles, the electronics idle with it, and the interior air tracks the falling ambient within a couple of hours. An exposed top panel radiates to a clear sky and runs 3-6 K [about 5-11 F] below the air, so the roof, the window and the coldest boards reach the dew point first. Dew lands there, moisture creeps across terminals, and the first wet node drops its data. After sunrise the box warms, the water dries, and everything looks normal again, which is why the culprit seems to move and the fault looks random.
What do the symptoms point to?
Symptoms decide the case before you open anything: night-only faults that clear by mid-morning point to dew, faults that need a reseat point to a connection, and faults tied to a fixed clock event point to a switching operation somewhere in the plant.
- Night-only faults, gone within 1-2 h of sunrise. Dew: the box warms, the water evaporates, and nobody touched anything.
- Faults at any hour, cleared only by a reseat or power cycle. A cable, crimp or connector. Climate does not need a screwdriver to recover.
- A whole daisy-chain branch drops at once. The segment upstream of the group: one powered device or one cable carries the traffic for everything behind it.
- Faults within minutes of a fixed nightly event. A compressor start, a pump, a changeover: an electrical disturbance. Dew follows the weather, not the clock.
- A fogged window or droplets under the roof in the morning. Dew, confirmed by eye.
- A different module blamed every time. Consistent with dew: the first surface to wet reports first.
Where does the water come from in a sealed box?
In order of likelihood: humid air trapped at the last door closing, air pumped in through the gasket and glands by daily temperature swings, washdown or rainwater stored in ducts and bundles, and only then a true gasket leak.
A NEMA 4X / IP66 rating is tested from the outside, with water sprayed at the box; it says nothing about the air sealed inside. That gap is the whole subject of why the rating can't stop condensation, and the condensation guide walks the dew-point mechanism behind it. The pumping is easy to underestimate: a 15 K [27 F] day-to-night swing swaps about 5% of the air in the box, from ΔV/V = ΔT/T ≈ 15/293. Over weeks of cycles the interior fills with local outside air, dew point and all. Room air sets the dew point you inherit at the last closing; the room-humidity article covers that inherited air. A tired door gasket or a loose gland speeds the exchange; a sound seal only slows it.
How do you confirm dew before buying hardware?
Confirm it with three checks that take a week: correlate the fault log with the nightly temperature low, log temperature and humidity inside the box for seven nights, and open the door the morning after a logged fault to look for droplets.
- Pull the fault log and line the timestamps up with the nightly low. Dew faults sit within 2-3 h of it; random-hour faults do not.
- Log temperature and humidity inside for seven nights with a data logger. Interior RH climbing past 90% between 02:00 and 06:00 means surfaces cooler than the air are already wet. Read the coldest wall against the dew point: a wall under 13 °C [55 F] while the dew point sits at 12 °C is a wall that sweats. The dew-point-versus-heater-watts article works that comparison box by box.
- Open the door the morning after a logged fault. Lock out the panel and verify absence of voltage first. Droplets under the roof, a fogged window or wet ducts settle it; water above the electronics points to an entry at the top.
- Let one fault recover untouched. A dew fault clears within 1-2 h of sunrise with no intervention; a failed crimp returns at any hour.
If the log, the logger and the morning look agree, order the hardware below. If they disagree, the cable run is the suspect, not the climate.
How big a heater keeps the walls dry?
Size the heater from the wall loss at the night low: a 10 x 8 x 6 in stainless box loses 9 W at a 10 K rise, so fit 10 W, and a 20 x 16 x 8 in box needs 30 W at the same rise.
Worked example, 20 x 16 x 8 in (500 x 400 x 200 mm) stainless wall-mount box: exposed area A = 2 × (0.5 × 0.4 + 0.5 × 0.2 + 0.4 × 0.2) = 0.76 m². Stainless walls pass heat at k = 3.7 W/m²K, the figure this site's guides use; painted steel is 5.5. Design night: ambient 5 °C [41 F], dew point inside 12 °C [54 F], walls held at 15 °C [59 F], so ΔT = 10 K. Wall loss Q = k × A × ΔT = 3.7 × 0.76 × 10 = 28.1 W. With a 24 V DC supply idling at 10 W overnight, subtract it: 28.1 − 10 = 18.1 W. Fit 30 W without the credit, 20 W with it; oversizing costs nothing because the hygrostat cycles the heater.
| Box (in) | Box (mm) | Exposed area | Loss at 10 K rise | Heater to fit |
|---|---|---|---|---|
| 10 x 8 x 6 | 250 x 200 x 150 | 0.235 m² | 8.7 W | 10 W |
| 16 x 12 x 8 | 400 x 300 x 200 | 0.52 m² | 19.2 W | 20 W |
| 20 x 16 x 8 | 500 x 400 x 200 | 0.76 m² | 28.1 W | 30 W, or 20 W with 10 W idle heat |
Larger boxes scale at 37 W per m² [3.4 W per ft²] of exposed stainless at a 10 K rise; split the watts over two heaters so the heat spreads. The 5-6 W per ft² quoted in heater sizing guides matches painted steel at k = 5.5 W/m²K, so bare stainless needs less. Run your own box through the enclosure heat calculator before you order; it is an estimate for sizing, not a test result.
Control matters as much as watts. A hygrostat that closes around 60% RH energizes the heater hours before any surface nears saturation and follows the seasons without retuning. A plain thermostat works when you know the dew point: set it 3 K above, which is 15 °C [59 F] here. When the heater never switches off and the panel runs hot, the thermostat-setting article sorts the setpoint out. Mount the heater low on a side wall, clear of the ducts, so warm air rises through the cabinet; the placement guide shows the clearances. The full sizing method, including which idle heat you may subtract, sits in the sealed-enclosure heater-sizing article.
If the box sweats nightly, add ventilation without losing the rating: a breather-drain marked IP66 / Type 4X, installed to its own instructions, holds the assembly rating, while a plain drilled hole fails the first hose test. Breather vent vs drain sorts out which hardware the box needs; for a small splice box, the breather-and-drain sizing piece works it out by volume.
How do you keep it dry for good?
Keep the water out at the source and re-check with the same logger: close the door on dry air after service, keep the gasket and glands sound, and give the fix a week of nights to prove itself.
- Service on a dry morning, wipe standing water out of the ducts, and close the door promptly: air trapped at 20 °C [68 F] and 60% RH carries a 12 °C [54 F] dew point for weeks.
- Check the door gasket once a year. A compressed corner breathes on every 15 K [27 F] swing, and each breath brings in outside air.
- Torque the cable glands to their marked values; a loose M20 gland is the fastest pump into the box.
- Leave the logger in place for another week after the fix. Pass when interior RH stays under 90% from midnight to 06:00 and the coldest wall reads 3 K above the dew point.
When is a new enclosure the answer?
Re-specify the box when a correctly sized heater cannot hold the walls above the dew point, when the electronics outgrew a small unheated corner, or when the cleaning regime is harsher than the rating: a 304 box handles routine washdown, brine and chlorine sanitizers need 316L.
Hot, high-pressure, close-range cleaning is a different test, IPX9K, and these enclosures are not rated for it; plan that separately instead of hoping a 4X box absorbs it. Halving the exposed area halves the watts, so a smaller custom box around just the electronics often beats a bigger heater. We cut each box to the size, depth and cutouts you set and deliver it in 10 business days, anywhere in the world. Our stainless wall-mount and HMI enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed. For outdoor duty, the outdoor enclosure page lines up Type 3R against 4X and the sun load; for food and beverage washdown, the washdown page sets 304 against 316L.
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 |
|---|---|---|---|
| 10 × 8 × 6 in | 304 stainless | 10 x 8 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 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 |
| 12 × 10 × 6 in | 316L stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does a NEMA 4X or IP66 rating stop condensation?
No. The rating is proven from the outside: the IPX6 test fires a 12.5 mm nozzle at 100 L/min at the closed box and checks the inside stays dry. It says nothing about the air trapped within, so dew on the walls is a climate problem, solved with a heater and hygrostat, not a rating problem.
Thermostat or hygrostat for an anti-condensation heater?
Pick a hygrostat, set to close around 60% RH, when the dew point moves between seasons: it follows the air without retuning. A thermostat works when the dew point is known and steady: set it 3 K above the dew point, 15 °C [59 F] in this article's worked example, so the walls stay dry through the night low.
Can I drill a drain hole in a NEMA 4X box without losing the rating?
Only with a breather-drain the enclosure manufacturer approves for the rating. An assembly marked IP66 / Type 4X, installed to its instructions, keeps the rating on the finished box; a plain 1/4 in hole fails the first hose test and pumps humid air in and out with every temperature swing.
Why does the fault blame a different module every night?
Dew wets whichever surface is coldest first, and that module's inputs drop out first, so the reported culprit moves around the network. The pattern, not the device, is the clue: faults between 02:00 and 06:00 that clear within 1-2 h of sunrise and need no reseat. The same module failing twice in a row points at that module instead.





