Short answer: a fixed-I/O brick PLC suits a tar-marking machine once you give it three things: a sealed stainless box rated NEMA 4X / IP66 by the manufacturer (ours: not UL listed), a feed that survives the vehicle's 24 V system, and a fuse that protects the cables, because the PLC protects nothing itself. Two 12 V batteries in series make 24 V nominal but about 28.8 V on charge, so the PLC's documented input range has to reach that number. About 10 W inside a 12 x 10 x 6 in [305 x 254 x 152 mm] box warms the inside air roughly 8 K, which fits a PLC whose datasheet allows 55 C. The weather protection lives in the box, its gasket and its glands, and nowhere else.
The machine sets the exposure
Your mounting point is an open vehicle frame, so the box sees driving rain, road spray, winter salt, tar dust, depot hose washing, constant vibration, and air from about -20 C on a winter night to 40 C on a summer afternoon. That duty is what NEMA 250 calls Type 4X: indoor or outdoor use, protection against windblown dust, hose-down water, and corrosion. The PLC housing plays no part in it. Its terminals sit open to the inside of the box, so the box, the door gasket and the glands carry the whole weather job, and you buy the controller purely for its I/O and supply range. A brick fits because a marking machine's point count is settled at design time — say a dozen digital points for sensors, valve solenoids and a beacon. If later phases might grow instead, the expandable route is in the compact DIN rail enclosure article for a controller with modules.
Type 4X and the stainless grade
What the type buys you: Type 4X survives the hose-down test and adds a corrosion test — NEMA 250 and UL 50E give Type 4X another 200 hours of salt spray, judged against a 304 stainless specimen. The IP66 mark beside it adds dust-tight construction and powerful jets: IEC 60529 tests the second digit 6 with a 12.5 mm nozzle at 100 L/min from 2.5 to 3 m for at least 3 min. Driving rain and a depot wash wand stay well inside that test. Immersion never enters the picture on a chassis mount, so IP67 would buy nothing here. Our boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed, and the difference is explained in the UL 50E vs NEMA 250 listing guide.
The grade is a road-salt decision. Pick 304 for machines that work inland away from salted roads. Pick 316L when the vehicle runs salted winter routes or coastal sites, because chlorides that lodge in gasket crevices can pit 304 even at room temperature, and the molybdenum in 316L raises pitting resistance. What Type 4X adds over Type 4 is set out in the NEMA 4 vs 4X vs IP66 guide, and both grades are in the NEMA 4X stainless enclosure range.
The 24 V feed and the parts that protect it
Two 12 V batteries in series give 24 V nominal, and that is the only fixed number. On charge, a lead-acid pair sits near 2.4 V per cell, so 12 cells deliver about 28.8 V; near flat, the pair sags toward 22 V. PLCs built for 24 V commonly accept about 20.4 to 28.8 V DC, which just covers the charge voltage — confirm that line on the datasheet first, because it decides the whole feed design. Then comes the transient: a load dump happens when an alternator is charging and its battery is abruptly disconnected, and the surge runs well past charging voltage.
Three cheap parts answer both. Fit a 5 A blade fuse at the battery, a series Schottky diode for reverse polarity, and a transient-suppression diode whose standoff voltage sits above the charging level and whose clamp voltage sits below the PLC's documented maximum input. The fuse is also the whole cable-protection story, because the PLC protects no conductor, and a relay output switching a solenoid leaves that solenoid's cable to the fuse. Work the example load: PLC 0.25 A, sensors 0.25 A, two marking solenoids at 1.75 A each, so 4 A total. Wire every run in 14 AWG [1.5 mm2] or larger, and at 5 A the fuse opens long before a copper conductor of that size warms, so one fuse at the battery covers the whole machine, including a chafe-through in the harness. For the layout pattern, the article on wiring a 24VDC load supply to PLC expansion modules applies to the plate wiring too.
Size it by heat, with the arithmetic
With the box sealed, the walls are the only heatsink, and stainless transfers k = 3.7 W/m2K. Take the example inputs and replace them with yours: assume the brick PLC dissipates 6 W — read the real figure off its datasheet — and the series diode drops 0.5 V at 4 A, another 2 W. Call it 10 W with margin. For a 12 x 10 x 6 in box the surface is A = 2(0.305 x 0.254 + 0.305 x 0.152 + 0.254 x 0.152) = 0.325 m2. The box sheds 3.7 x 0.325, about 1.2 W per kelvin, so the temperature rise is 10 / 1.2, about 8.3 K. On a 40 C day the inside air sits near 48 C.
This example assumes the PLC datasheet allows 55 C ambient; if yours stops at 40 C, pick a unit rated to 55 C instead of building a bigger box around a fragile one. The rule of the design: keep at least 5 K between the calculated interior and the documented limit — this example keeps 7 K. Cold nights run the same coefficient backwards. A 30 W anti-condensation heater lifts this box about 25 K, so at -20 C outside the inside holds near +5 C, 5 K above the 0 C lower limit this example assumes. Give the heater a thermostat closing at 5 C, and feed it from the switched side so a parked machine keeps its batteries. Keep the box sealed: a breather would trade your dry inside air for damp outside air twice a day. Sun is the one load bigger than all of this, so mount on the shaded side of the frame or add a hood; the article on sizing a non-ventilated stainless enclosure by heat dissipation carries the full method, and the outdoor enclosures guide covers sun, condensation and heaters.
Entries, vibration, bonding and the batteries
Put every cable entry on the bottom face, battery feed at one end, field cables at the other, and leave the top solid so water sheds off it. The finished box keeps its rating only when the glands match the cables: each gland's sealing range has to bracket the actual cable OD, its locknut goes down to the torque on the gland sheet, and the enclosure maker lists that gland for the rated assembly. A gland sold on an immersion mark alone says nothing about how the fitted box behaves under jets. Hole positions and knockout diameters follow the cutouts, glands and HMI windows guide.
Vibration is constant on a vehicle. Mount the box's wall-mount feet on rubber isolators, and clamp each cable about 6 in [150 mm] from its gland so flex stops before the terminals. Bond the stainless box to the machine chassis with a dedicated conductor and cut the paint back at the contact — NEC 250.12 requires exactly that for premises equipment, and it is the right habit on a machine frame; the grounding and bonding guide shows the pad details. For service, open the battery isolator and prove the feed dead at the fuse holder before the door comes open — the NFPA 70E absence-of-voltage step.
The batteries themselves stay in the vehicle's own ventilated tray. Valve-regulated lead-acid batteries still vent hydrogen on overcharge or fault, and a box sealed to IP66 gives that gas nowhere to go. If a project ever needs a boxed battery, that compartment gets venting sized to the battery maker's instructions and stays separate from the sealed electronics — charging a battery inside a sealed waterproof enclosure covers that build.
What goes on the order
Send the cutout drawing with the entries and the plate layout, and the order line reads:
| Line | Specify |
|---|---|
| Enclosure | 316L stainless wall-mount, 12 x 10 x 6 in for this example, hinged gasketed door, removable mounting panel |
| Rating | NEMA 4X / IP66, manufacturer rating; not UL listed |
| Cutouts | Two bottom gland entries (battery feed, field cables); top face solid |
| Glands | The pair the enclosure maker lists for the Type 4X / IP66 assembly, sealing range matched to your cable OD |
| Feed protection | 5 A blade fuse at the battery, series Schottky diode, transient clamp with standoff above the charge voltage |
| Inside | 24 V brick PLC whose datasheet range reaches the charging voltage; 30 W heater with a thermostat closing at 5 C; DIN terminals |
| Options | Rubber isolators under the feet; sun hood where the frame gives no shade |
Custom cutouts are cut from your drawing, and the enclosure is delivered in 10 business days, counted from your approval of that drawing. If the field cables need a splice point on the way out, stainless junction boxes come in the nine smallest wall-mount sizes, and the outdoor enclosure range covers the larger equipment cabinets.
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 |
|---|---|---|---|
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 16 × 14 × 8 in | 304 stainless | 16 x 14 x 8 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 |
Questions
Does a brick PLC's housing protect the cables from weather?
No. Its terminal blocks are open to the box interior and carry roughly IP20, a rating that suits a dry cabinet only. Weather protection comes from the sealed enclosure, its door gasket and the glands; conductor protection comes from the fuse you place at the battery. Buy the PLC for its I/O and supply range, and buy the box for the weather.
Can I wire the PLC straight to the two 12 V batteries?
Through protection, yes. The pair sits near 28.8 V on charge, and a load dump — the alternator surge when its battery is abruptly disconnected — runs well past it. Fit a 5 A fuse at the battery, a series diode for reverse polarity, and a transient clamp whose standoff sits above that charging voltage and whose clamp sits below the PLC's documented maximum input. The same three parts cover jump-start surges.
Should the two batteries go inside the PLC enclosure?
Keep them in the vehicle's own ventilated battery tray. Valve-regulated lead-acid batteries, even AGM and gel types, still release hydrogen on overcharge or fault, and an enclosure sealed to IP66 gives that gas nowhere to go. A battery that must be boxed needs its own compartment with venting sized to the battery maker's instructions, kept separate from the sealed electronics.
Is 304 stainless good enough instead of 316L?
For summer-only work away from salted roads, yes: the Type 4X corrosion test itself runs another 200 hours of salt spray against a 304 specimen, so a 304 box passes it. For salted winter routes or coastal sites take 316L: chlorides lodged in gasket crevices can pit 304 even at room temperature, and 316L's molybdenum raises pitting resistance. Both grades share a chloride stress-corrosion threshold of about 60 C, far above anything a vehicle box sees.
Does an open vehicle mount need IP67 instead of IP66?
IP66 is the right target. It means dust-tight plus powerful jets — a 12.5 mm nozzle at 100 L/min — which covers driving rain and a depot hose. IP67 adds 1 m of temporary immersion for 30 min, a condition a chassis-mounted box never meets. If the machine is cleaned with hot high-pressure water, that is the IPX9 test, and you specify the door seal and glands for it.
How much bigger a box if the only spot gets full sun?
Go up one size and shade it. The 8 K rise in the example comes from 10 W against 0.33 m2 of stainless surface; a 16 x 12 x 8 in box has about 0.54 m2, so the same load gives about 5 K. Sun matters more than any of it — a lit face absorbs on the order of several hundred watts per square metre — so a simple hood over the door earns its place on the order first.





