Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

Enclosure size for a drive, power supply and wiring

Work from the mounting plate: add each device's footprint, keep 2 in [50 mm] around the drive and 2 in above and below the supply, then hold back 25-30% of the plate for duct, terminals and spares. The worked example needs a 216 in² plate and 8 in of depth — about a 16 x 22 x 8 in stainless box — and passive cooling holds only to about 47 W of internal loss.

NEMA4 Enclosure engineering team · Published November 24, 2026 · 7 min read

Size the box from the mounting plate, not from the case someone else used. The method is one page of arithmetic: place each device's footprint with its convection clearance, then hold back 25-30% of the plate for duct and terminals. Stack the depth from the back wall to the harness, then run one heat number that decides sealed shell or fan. Worked through a four-axis stepper drive, a 350 W switching supply, two relays and a dozen terminals, it lands on a 12 x 18 in plate, an 8 in depth and a 47 W passive cooling limit — a 16 x 22 x 8 in stainless shell. Redo the arithmetic with your outlines and the result is an order, not a guess.

How much mounting plate does a drive, a supply and the wiring need?

Add each device's footprint plus its convection clearance, then multiply the sum by 1.30 for duct and spares. In the example that is 165 in² x 1.30 = 214.5 in², so the plate must clear about 216 in² — the area of a 12 x 18 in panel.

Measure each outline from its own drawing. The example uses 4.0 x 6.0 in for a four-axis stepper drive and 4.6 x 8.0 in for a 350 W class supply, both mid-size for their kind. The clearances are the convection minimums drive and supply manuals print for natural cooling: 2 in [50 mm] all round the drive, 2 in above and below the supply with 0.4 in [10 mm] at the sides. A manual that rates tighter spacing for forced air lets you pull the zones in; until then the table is the layout.

Bolt the drive upright and flat, its whole back face against the plate. Drives of this class mount vertically with full contact and no standoffs or spacers, so the plate is the heat path as well as the mounting. The backplate and DIN rail layout guide covers the rail and duct geometry around it.

Device Example outline Clearance kept Zone on the plate
Four-axis stepper drive 4.0 x 6.0 in 2 in all round, vertical, flat to plate 8.0 x 10.0 in = 80 in²
Switching supply, 350 W class 4.6 x 8.0 in 2 in top and bottom, 0.4 in sides 5.4 x 12.0 in = 65 in²
Two relays and 12 terminals 6.8 x 2.7 in strip DIN rail spacing 20 in²
Placed zones 165 in²
Plate to order 165 in² x 1.30 216 in², a 12 x 18 in panel

The 1.30 multiplier is the reserve for duct runs, the terminal rail and whatever lands on the plate next year. Wiring duct carries wire at only half its interior cross-section — the fill tables cap at 50%, citing NFPA 79 section 13.5.2. Duct therefore eats plate faster than the wire inside it suggests.

To turn plate area into a box, match the plate column rather than the outside footprint. The enclosure size chart lists inside, outside and plate dimensions for each size, so a 216 in² plate is one lookup.

How deep does the enclosure need to be?

Stack the depth and order the next size up: 1 in behind the plate, 2.5 in for the deepest device and 3 in of wiring room in front come to 6.5 in. The example build therefore orders an 8 in deep box.

The 1 in [25 mm] behind the plate is the standoff wall-mount panels leave for fasteners and any wiring that passes behind. The 2.5 in is the deepest device here, the drive with its back flat to the plate; where a 2 in deep duct crosses the face, the drive still governs. The 3 in [75 mm] in front is finger and harness room, so lacing and cord grips never press the door. Hold the tallest stack 0.5 in clear of the inner door face and the stack reads 1 + 2.5 + 3 + 0.5 = 7 in, leaving the 8 in depth an inch of margin.

Depth is also where DIN-only builds differ: when everything from the supply to the terminals rides rail, the minimum-depth method lives in the DIN rail device depth guidance. The full sizing walk-through — plate area, depth and the bending space the NEC asks at terminals — is in the enclosure sizing guide.

How much heat does the pair add inside the box?

The supply and drive add about 60 W of loss in the example. A 16 x 22 x 8 in stainless shell sheds 3.1 W per kelvin, so passive cooling holds only to about 47 W of loss at a 25 C shop.

That 60 W lifts the interior 60 / 3.1 = 19 K, so 25 C shop air becomes about 44 C of enclosure air. That is past the 40 C ambient rating most drives and supplies carry unless a datasheet allows more.

The losses come apart cleanly. The supply delivers 24 V x 12 A = 288 W, and at 88% efficiency it burns 288 x (1/0.88 − 1) = 39 W in the box. The example drive adds 20 W, and the stepper motors' own heat stays at the machine mount, so 60 W is the whole load. Heat leaves only through the walls: with k = 3.7 W/m²K for stainless, the value this site's heat guides use, the shell has 2 x (352 + 128 + 176) = 1312 in² = 0.85 m² of surface. It sheds 3.7 x 0.85 = 3.1 W for every kelvin of rise.

The decision, by load:

  • Sealed to 47 W. A 15 K budget at 3.1 W/K lands the interior at 40 C against 25 C ambient, so loads under that need no cooling hardware.
  • From 50 to 150 W, add a fan. Sixty watts at a 10 K rise moves 60 / (1.2 kg/m³ x 1005 J/kg·K x 10 K) = 0.005 m³/s, about 11 CFM, so a 20-25 CFM EC fan leaves margin for the filter. It must be the enclosure maker's rated kit for the Type — a plain hole ends the seal. The power supply enclosure cooling checks carry the full sizing.
  • Bolt the drive to the plate as its own heatsink to cut its share before adding hardware.
  • Past a few hundred watts the fan loses and an enclosure air conditioner takes over.

What rating should the box carry?

Order the stainless shell manufacturer-rated NEMA 4X / IP66 — not UL listed. It covers the dust and dripping liquids of a Type 12 shop bench and keeps washdown, salt air and outdoor mounting open for later.

Type is a question about the room. Type 12 fits the dry indoor bench: dust, dirt, dripping liquids. Type 4X adds hose-directed water and corrosion resistance, which is what washdown areas, brine, salt air and outdoor walls demand. Both are manufacturer ratings for the specified design, so pick by where the box lives:

  • Dry indoor bench, nothing sprayed: Type 12.
  • Washdown, chlorides, salt air, sun and rain: Type 4X stainless.
  • Submersion, even temporary: not a stock call — a Type 6P build is a custom design review naming depth, duration and fluid.

In US installations NEC 110.28 keeps the two scales separate: a specification that calls up Type 4X wants the type number on the box, not only an IP code. The NEMA types guide maps each type to the test behind it.

Where do the duct, terminals and cutouts go?

Fix the duct runs and terminal strip before you fix the drive's position. The 30% plate reserve exists for them: mains wiring stays 2 in [50 mm] away from signal wiring and crosses at right angles, and every connector gets its cutout on the order drawing.

Run duct along the top edge and one side so each device gets a drop, and keep the runs off hot faces. Split the wiring by voltage — the 24 V harness at 2 in from line-voltage runs, crossing at right angles — and the switching power supply mounting article lays out the supply's line-side spacing and grounding. Line the terminal rail along the plate edge nearest the door.

Mains feeders need bending room at their terminals. NEC 312.6 sets those minimums in cabinets, deeper when the conductor enters through the opposite wall. For a small control pigtail it costs little; for a feeder through the wall it claims the corner.

Cut every entry at order time. A cord grip or connector rated for the Type keeps the seal and the brush finish; a field-drilled hole is the usual water path and a visible scar. Isolate the mains supply and confirm it is off at the terminals before the first wire goes in. The grounding and bonding guide covers the plate, door and supply grounds you land at the same time.

What goes on the order?

Send plate numbers, not a model number: a 304 stainless wall-mount box sized from the plate and depth figures above, manufacturer-rated NEMA 4X / IP66. Every cutout is dimensioned on the drawing, and the box is delivered in 10 business days from your approval of that drawing.

We build these to your numbers: a custom part is cut from one piece to the width, height, depth and every cutout you send, and the custom enclosure builder takes the numbers step by step. The order table for the example build:

Order line The example build Change it when
Material 304 stainless, #4 brushed 316L for salt air, brine, sanitizer mist
Outside size 16 x 22 x 8 in (W x H x D) the placed zones need more plate
Mounting plate 12 x 18 in minimum, 1 in standoffs footprint + clearance, x 1.30
Rating Manufacturer-rated NEMA 4X / IP66 Type 12 for the dry bench
Cutouts 1 mains inlet, 4 motor connectors, 1 e-stop every gland rated for the Type
Cooling Sealed to 47 W; 20-25 CFM EC fan kit above air conditioner past a few hundred watts

A box that only splices and terminates, no drive and no supply, skips this arithmetic: the stainless junction boxes page lists the smallest wall-mount sizes with panel area and depth.

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.

EnclosureMaterialOutside H x W x D / displayRating
60 × 36 × 16 in304 stainless60 x 36 x 16 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
48 × 36 × 16 in304 stainless48 x 36 x 16 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
60 × 36 × 12 in304 stainless60 x 36 x 12 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can a plastic hobby project box replace the stainless one for this build?

For a dry bench, yes with care: plastic transfers heat at about 3.5 W/m²K against stainless at 3.7 W/m²K, so the 19 K rise in the example barely moves. What you give up is sealing, EMC shielding and thread strength for cord grips. The sealed stainless shell earns its keep in a dusty shop, near coolant mist or at the machine.

How much spare plate area is enough for future wiring?

Hold back 25-30% of the plate once every footprint and clearance sits: the placed zones in the example total 165 in² and the multiplier lifts the order one panel size. Under 15% spare fills at the first retrofit, and past 40% you are paying for air.

Does upsizing the box remove the need for a fan?

It can: stepping up from the example shell to 20 x 26 x 8 in raises wall area from 1312 to 1776 in². The shell then sheds 4.2 W per kelvin and the rise drops from 19 K to 14 K — 39 C of interior air at a 25 C shop, inside the 40 C ambient rating.

Does DIN-rail mounting change the supply's clearance?

Clip the supply to DIN rail only when its manual allows it: clip mounting adds thermal resistance between case and plate. The 2 in [50 mm] convection margin above and below the case grows rather than shrinks. Flange or plate mounting with the full back face on metal keeps the stated clearances true.

304 or 316L stainless for a controller box in a machine shop?

304 with a #4 brush for a dry shop; move to 316L where salt, brine or sanitizer mist reach the box. Interior heat is not the decider: the example's 44 C interior sits well below the roughly 60 C threshold where chlorides start stress-corrosion cracking in either grade. The choice follows the room, not the load.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Start from the plant-floor PLC cabinet buildRequest a custom quote

Check the heat load in the calculator · NEMA 4X enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides