Short answer: give the controller its own sealed 304 stainless wall-mount box, size it by clearance rather than by volume, and keep every cable entry at least 2 in [50 mm] above the bottom face. A 6 x 4 in Ethernet motion board with 0.8 in connectors lands in a 10 x 8 x 6 in enclosure, one IP66-rated gland per cable. Sealed walls do the cooling: 4 W of board loss lifts the inside air about 4.4 K, so the board holds its 40 C (104 F) ambient rating in a 35 C (95 F) shop. The steps below carry the arithmetic, the rating rules and the numbers to put on the order.
What you need
- The controller measured as it will sit: footprint, tallest part, standoff height. The worked example uses a 6 x 4 in board, parts 0.8 in [20 mm] tall, on 0.25 in [6 mm] standoffs.
- A cable schedule with the jacket outside diameter of every cable: DC power in, Ethernet in, and the command lines out to the drives. The jacket diameter sets each gland size.
- A mounting plan: standoffs into the removable backplate, or a DIN rail strip. The carrier-board mounting without bottom holes article shows layouts that keep new holes out of the walls.
- A decision about neighbors. When the controller shares a cabinet with stepper drives and relays, size that whole assembly instead; the stepper drive, controller and relay layout article runs those numbers.
- The box itself: a custom 304 stainless wall-mount build to your outside size, cutouts cut to your drawing, delivered in 10 business days from your approval of the drawing.
Size the box: clearances beat volume
A volume rule undersizes small sealed boxes, because dressed cable eats more space than any spare factor. Start at 30% spare volume, then let clearances set the final size.
- Measure the assembled stack. Board 6 x 4 in, parts 0.8 in tall on 0.25 in standoffs: stack depth 0.25 + 0.06 (board) + 0.8 = 1.1 in.
- Add wiring clearance: 0.5 in [13 mm] at each side for dressed cable, 2 in [50 mm] below the board for terminal blocks and cable bends, 1.5 in [40 mm] above for connector backshells and fingers.
- Convert to interior size: width 6 + 1 = 7 in, height 4 + 1 = 5 in, depth 1.1 + 2 + 1.5 = 4.6 in.
- Run the volume check. Contents take 6 x 4 x 1.1 = 26 in³ [430 cm³]; 30% spare asks for 34 in³. The clearance layout asks for 7 x 5 x 4.6 = 160 in³ [2.6 L]. The clearance number wins, and the 30% spare lives inside it.
- Order the outside size: 10 x 8 x 6 in (H x W x D), inside the wall-mount range of 6 x 4 x 4 to 60 x 36 x 16 in, with margin left for walls, the removable backplate and the door. The surplus height takes the gland column.
- Mark the gland positions on the drawing now. The next section sets them 2 in [50 mm] above the bottom face.
Bigger cabinets add terminal bending space and working space in front of the door; the electrical enclosure sizing guide carries those rules.
Material and rating
304 stainless suits indoor washdown and most outdoor sites; 316L suits salt air, brine and chemical areas. The wall-mount line comes manufacturer-rated NEMA 4X-type / IP66; not UL listed. Type 4X adds corrosion resistance to hose-directed water. IP66 means IEC 60529 powerful jets, tested with a 12.5 mm nozzle at 100 L/min from 2.5 to 3 m for at least 3 min. In US installations, NEC 110.28 states that IP ratings are not a substitute for enclosure type ratings. Write the Type 4X into a US spec and the IP66 into an international one.
The rating is only as good as the weakest opening. Every gland has to hold its own code at its hole, and any vent or louver drops the whole assembly to that part's rating. The rating after cutting and mounting devices article walks through what a panel keeps. The full NEMA-to-IP pairs sit in the Type 4X vs IP66 guide.
Entries: one gland per cable, high on the wall
Put every gland on a flat wall, at least 2 in [50 mm] above the bottom face; where hose blasts the floor itself, move the entries to 4 in [100 mm]. Condensation and washdown spray end as a film at the bottom of any box. Entries above that line stay clear of the pool, and a drop that does get in runs to bare stainless below the wiring. Keep the bottom face hole-free, and clear of the gasket line and corner radii.
Cut one hole per cable at the size the gland datasheet prints, and tighten the gland until its seal visibly grips the jacket. A gland the datasheet rates IP66 or IP68, seated on a flat wall inside its clamping range, holds the box's code at its entry. Two thin signal cables share one gland only when the seal grips both jackets; the two cables through one gland article sets the limits. Machine-side routing is in the controller cable entry for machine wiring article, and the low-voltage feed into sealed electronics in the DC power entry for a sealed enclosure article. Cutouts cut at the factory from your drawing arrive sealed; a hole added after delivery is the classic rating killer.
Mount the board, land the cables
Mount the board on standoffs into the removable backplate, or on a DIN rail strip fixed to the backplate. DIN rail spacing, duct runs and their 50% fill limit are in the backplate and DIN rail layout guide. Keep the bottom 2 in [50 mm] of the interior free of terminals, so moisture that ever enters lands below the wiring and not on it. Land each cable through its gland with a service loop, and leave the jacket clamped, not the conductor insulation.
If a 24 V DC supply for the board lives inside the box, its losses join the heat load in the next section. The tighter plan is one DC feed through one gland from the machine cabinet.
The heat check: a worked example
Sealed stainless walls shed heat at 3.7 W/m²K wall-to-air, the reference value this site's guides use. For the 10 x 8 x 6 in box:
- Surface area: 2 x (10 x 8 + 10 x 6 + 8 x 6) = 2 x 188 = 376 in² = 0.243 m².
- Wall conductance: 3.7 W/m²K x 0.243 m² = 0.90 W per kelvin.
- Board loss 4 W: rise = 4 / 0.90 = 4.4 K.
In a 35 C (95 F) shop the inside air sits near 39.4 C, under the 40 C (104 F) ambient rating that drives and most electronics carry unless a datasheet allows more. At 30 C ambient the box sheds 9 W at a 10 K rise; at 35 C the headroom is 4.5 W at a 5 K rise, and the 4 W board still fits.
Add a supply and the answer changes. A 60 W 24 V DC unit at 85% efficiency burns 60 / 0.85 - 60 = 10.6 W; with the board that is 14.6 W, a 16.2 K rise, and the box passes its 40 C limit only below a 24 C ambient. The fix is a bigger box, not a fan. A 16 x 12 x 8 in build gives 2 x (192 + 128 + 96) = 832 in² = 0.537 m², holds the 14.6 W at a 7.3 K rise, and sits at 37.3 C in a 30 C shop. Every extra square foot (0.093 m²) of stainless wall adds about 0.34 W per kelvin. When the load still wins and the ambient climbs, a sealed box cannot reach below ambient; the cooling below ambient article covers what comes next.
Checks when you close the box
- Tug each cable at its gland: the jacket compresses, the cable does not slide, and the seal grips jacket, not insulation.
- Close the door and read the gasket line: even compression all round, latch fully bottomed.
- Count the holes against the drawing: one per cable, all at least 2 in [50 mm] above the bottom face, bottom face blank.
- Run the axis for an hour, then read the wall near the board with an infrared thermometer: about 4.4 K above room temperature on the worked example. A bigger reading means the load list missed something.
Mistakes that cost the rating
- A vent or weep hole to let it breathe: it is an open hole, so the assembly drops to the vent's rating. The sealed box fights condensation by staying sealed, with entries high.
- A gland picked by thread size alone: a jacket larger than the clamping range leaks past the seal. Match gland to jacket diameter first, then read the datasheet range.
- Standoffs drilled through the back wall at install time: mount on the removable backplate instead, and keep field holes off the rated walls.
- Sizing by volume alone: the 26 in³ of contents grows to 160 in³ of clearance layout, and a volume-sized box arrives too shallow for the cable bends.
What goes on the order
Send the numbers and the drawing comes back for your approval:
- Outside 10 x 8 x 6 in (H x W x D), 304 stainless, #4 brushed finish; step to 316L where chlorides rule.
- Wall-mount line with hinged gasketed door, removable mounting panel and wall-mount feet, ordered at the Type 4X / IP66 manufacturer rating.
- One gland cutout per cable on the drawing, each at least 2 in [50 mm] up from the bottom.
- Standoff or DIN rail mounting on the removable backplate.
The size finder filters the stainless wall-mount and HMI lines by size and grade. The enclosure builder turns the same numbers into a 3D model with the gland cutouts placed. A custom enclosure starts from one piece and arrives in 10 business days from your approval of the drawing.
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 |
| 16 × 12 × 8 in | 304 stainless | 16 x 12 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 |
| 16 × 14 × 8 in | 304 stainless | 16 x 14 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much spare space should I leave in a motion controller enclosure?
Plan 30% spare over the assembled contents, then let clearances set the final size, because wiring takes more than the spare: 0.5 in [13 mm] at each side, 2 in [50 mm] below the terminals for cable bends. Wire-duct fill tables cap at 50% of the duct cross-section under NFPA 79, so ducted panels grow fast. The worked contents take 26 in³ [430 cm³]; the clearance layout needs about 160 in³ [2.6 L], which a 10 x 8 x 6 in box covers with room for the gland column.
Can I fit a drain or vent to a NEMA 4X controller box?
A vent is an open hole and a drain is a controlled leak; both drop the assembly below the manufacturer's Type 4X / IP66 rating. Drain openings are a defined feature for Types 3R and 3RX, and NEC 314.15 permits approved drainage openings of 3 to 6 mm [1/8 to 1/4 in] in boxes listed for damp or wet locations. A Type 4X box stays sealed instead: glands only, every entry at least 2 in [50 mm] above the bottom face.
What gland size fits the cables on a motion controller?
Match the gland to each jacket's outside diameter: an M20 gland typically clamps 6 to 12 mm cable, larger servo and motor cables step up to M25 or M32, and the gland datasheet is the deciding document. Run one cable per gland. Two cables share a gland only when the sealing insert grips both jackets, and the assembly rating holds only if the gland datasheet rates IP66 or better.
304 or 316L stainless for the controller box?
Take 304 for indoor washdown and most outdoor sites, 316L for salt air, brine and chemical areas. Chloride stress corrosion starts near 60 C (140 F) for both grades, so heat does not decide it; the molybdenum in 316L buys pitting and crevice resistance, and 304 can pit even at room temperature under chloride deposits held in gasket crevices. A shop-floor CNC controller on 304 is the usual answer.





