Short answer: eight items make a complete CNC VFD cabinet — a DIN-rail circuit breaker or fuse holders, the spindle drive, an EMI filter matched to the drive, a 24 V supply, a safety relay for the e-stop, a thermostat with its fan when the heat budget needs one, and terminal blocks with duct. That grey box beside the drive in most build photos is the EMI filter or the 24 V supply, and both belong inside the cabinet. Size the box from the heat, never the parts count: a 2.2 kW spindle set sheds about 80 W at full load, and that number picks the enclosure. The checklists below give each item its rating, and picking the box for the machine is choosing a small CNC control enclosure's half of the job.
The power path: breaker, drive, EMI filter
Work top to bottom on the backplate: supply enters at the top, drive sits below it, motor cable leaves at the bottom.
- Circuit breaker, or fuse holders. One DIN-rail breaker feeds the drive; pick a D-curve magnetic trip so the drive's inrush rides through it. A 2.2 kW drive on 230 V single phase draws about 10 A input, so a 16 A D-curve breaker is the standard pairing. Three fuse holders with CC fuses do the same job where the drive's manual calls for fusing.
- The spindle drive. Give it 100 mm [4 in] of clear space above and below for its own airflow, or the larger figure its installation sheet states, and keep line-side and motor-side wiring on opposite edges of the plate.
- EMI filter. Rate it at or above the drive's input current — 10 A here, so a 16 A filter has margin — and mount it line side, within about 300 mm [12 in] of the drive, bonded to the plate with the shortest strap you can form.
Control and safety: the 24 V supply, the safety relay, the thermostat
- 24 V DC supply. List every 24 V load — the safety relay at about 2 W, two interface relays for dust extraction and lighting at 2 W a coil, an e-stop lamp — and buy one size above the sum. A 90 W unit runs a hobby panel near half load, which keeps its heat and its ripple low.
- Safety relay and e-stop. Wire the e-stop button as a dual-channel loop into a DIN safety relay built to ISO 13849, and let the relay drop the drive's safe-torque-off input when the drive documents one; otherwise it drops a contactor in the spindle feed. Put the button at the door edge, where you can hit it without reaching across the table. The fuse and e-stop circuit walk-through in wiring a CNC enclosure: fuses, e-stop and power layout covers the loop in detail.
- Thermostat. A DIN thermostat closing at 35 C starts the fan while there is still 5 C of headroom under the drive's 40 C ambient limit. In a sealed box the same contact can drive an indicator instead, so you hear about a hot panel before the drive faults.
Terminals, duct and the grounds
- Terminal blocks. Give each system its own row — line power, drive output to the spindle, 24 V control, e-stop loop — so fault hunting stays inside one system. Size the power blocks for 14–10 AWG [2.5–6 mm²] and the control blocks for the 22–16 AWG [0.5–1.5 mm²] wire you will actually pull.
- Duct. Fill wiring duct to 50 % of its cross-section — the fill NFPA 79 section 13.5.2 sets, because round cables simply pack no tighter — and use flame-retardant duct, the IEC 60332-1 behaviour NFPA 79 section 13.3.1 asks for inside enclosures. The backplate and DIN rail layout guide has the rail and duct spacing arithmetic.
- Grounds and bonds. Size the grounding conductor from the breaker rating using NEC Table 250.122 — 12 AWG copper covers a 20 A circuit — keep grounds of 6 AWG and smaller green or green-with-yellow-stripe under NEC 250.119, and land any neutrals on their own isolated bar rather than the ground bus, which is the separation NEC 250.6 aims at. Bond the door with a dedicated strap; a hinge alone will not carry fault current. Clamp the spindle cable's shield to the plate all the way around at its entry. The grounding and bonding guide walks the full bonding scheme.
Kill and lock the feed before you open the cabinet, then wait out the drive's DC bus: a 2.2 kW drive at 230 V holds lethal bus voltage for minutes after the display dies. Five minutes is the usual discharge time, and the drive's manual states its own.
The heat check that sets the box size
Add the losses at full load before you order anything. Drive efficiency data and the engineering references used for ventilation sizing put a VFD's heat loss at 2 to 6 % of its kVA rating; 3 % is a sound design point for a modern small drive. For a 2.2 kW spindle set at 230 V:
| Item | Basis | Loss |
|---|---|---|
| Spindle drive | 3 % of 2200 W | 66 W |
| 24 V supply | 45 W of control load at 88 % efficiency: 45 × 0.12 / 0.88 | 6 W |
| EMI filter | I²R at 10 A input | 5 W |
| Safety relay and thermostat | nameplate figures | 3 W |
| Total | sum | 80 W |
The 66 W drive loss sits mid-band in the 44–132 W that 2–6 % of 2.2 kW allows, so the budget is honest. A stainless wall sheds about 3.7 W per square metre per kelvin of inside-to-outside difference, so a sealed box needs A = 80 / (3.7 × ΔT) square metres to hold 40 C inside:
| Shop temperature | ΔT to a 40 C inside | Sealed surface needed | What to order |
|---|---|---|---|
| 25 C | 15 K | 80 / 55.5 = 1.44 m² | a 30 × 24 × 10 in [762 × 610 × 254 mm] stainless box, 1.6 m² of surface |
| 30 C | 10 K | 80 / 37 = 2.2 m² | step up to 36 × 30 × 12 in [914 × 762 × 305 mm], about 2.4 m² |
| 35 C | 5 K | 80 / 18.5 = 4.3 m² | no wall box is that big — fit a fan-filter set or an air-to-air heat exchanger |
At 25 C the 30 × 24 × 10 in box rejects 3.7 × 1.6 × 15 = 89 W against the 80 W load, so it holds with margin. A fan-filter set breaks the seal: the filter becomes the weakest part, a Type 12 box drops to about IP54, and in wood dust the element wants a cleaning every few weeks — the CNC dust enclosure design piece covers that trade. Types and IP codes on boxes we build are manufacturer ratings — rated Type 12 or Type 4X / IP66 by the manufacturer, not UL listed — and NEC 110.28 keeps an IP code from standing in for a type rating in US installations. For the full loss walk-through see calculating enclosure heat load from component losses; for one drive's rating and cooling see VFD enclosure rating, size and cooling for one drive.
Cutouts, glands and where it hangs
- Glands. One gland for the supply, a shielded gland for the spindle cable in the bottom wall, and small ones for control and 24 V field wiring. G thread vs NPT cable glands settles the thread choice.
- Door devices. The e-stop, a power light and the speed pot or display mount through the door; each is a cutout with a size and a position on the drawing.
- Height and clearance. Hang the box so the breaker handle sits no more than 2.0 m [6 ft 7 in] above the floor — that is NEC 240.24(A) — and keep 3 ft [900 mm] clear in front if the panel will be serviced live, the working space NEC 110.26(A) calls for.
- Factory cutouts. Have every hole cut before the box ships, through custom stainless enclosures with factory cutouts; a field-drilled hole in stainless work-hardens the tooling and roughens the seat a gasket needs.
What to send with the quote request
One page gets the box built right the first time, custom enclosures from a single piece, delivered in 10 business days counted from your approval of the drawing we send back:
- Body: material and width × height × depth from the heat check — 304 stainless and Type 12 for the dry shop, Type 4X where the machine gets washed.
- Cutout list: every hole with size and position: supply gland, spindle gland, control glands, e-stop and pilot devices on the door.
- Backplate: metres of DIN rail and duct runs, or just the drive model and we lay it out with its 100 mm clearances.
- Thermal plan: total watts — 80 W in the example — and the shop temperature, so the sealed-box-versus-fan decision is printed on the drawing.
- Open points: name the standard you want met, ISO 13849 for the e-stop loop say, and it goes on the scope.
For a fuller version of this list, the CNC control cabinet enclosure quote checklist itemizes the whole scope.
Enclosures for this job
Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 30 × 24 × 10 in | 304 stainless | 30 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 36 × 30 × 12 in | 304 stainless | 36 x 30 x 12 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 60 × 36 × 16 in | 304 stainless | 60 x 36 x 16 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 48 × 36 × 16 in | 304 stainless | 48 x 36 x 16 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Do you need a contactor between the breaker and the drive?
Usually you do not. A D-curve DIN breaker handles the inrush, and the drive's own run command does the switching. Add a contactor only when the drive has no safe-torque-off input and the safety relay must cut spindle power directly; rate it for the drive's output, about 10 A at 230 V for a 2.2 kW spindle.
Does a short spindle cable need a line reactor or dv/dt filter?
Most drive manuals call for an output reactor only past roughly 50 m [165 ft] of motor cable, and a bench CNC runs 3 m, so leave the output side alone. A 3 % impedance line reactor still earns its rail on a long, thin supply run or a generator feed, where it cuts the drive's charging-current peaks and its harmonics.
Can the VFD mount on the cabinet door?
Yes, and it shortens the wiring. Bond the door to the body with a dedicated strap so the fault path stays solid, and let the hinge side carry the extra mass: a 2.2 kW drive weighs about 2 kg [4.4 lb], which a standard door takes easily. Keep the door swing clear of the machine table.
Does a CNC VFD cabinet need a Type 4X enclosure?
Indoors in a dry shop, Type 12 is the match: it keeps circulating dust and lint off the drive. Go to a Type 4X stainless box once the machine or the floor around it gets hosed down. Note that a fan-filter set drops either box to about IP54, because the filter becomes the weakest part of the assembly.





