Short answer: run the 30 A feed to the cabinet as four wires — two hots, a neutral, a ground, all 10 AWG copper — land it on a lockable main disconnect, give the 1 kW spindle servo its own branch breaker, and make the 120 V controls supply from a 500 VA control transformer inside the cabinet. Pull the neutral too: one extra conductor now buys a spare branch later. The layout assumes a North American 120/240 V split-phase service, the 30 A 2-pole breaker already in your wall panel, and a feed run under 100 ft [30 m]. The steps land every wire, the worked example sizes the transformer with the arithmetic shown, and the checks at the end prove the cabinet ready.
What you need
Here is the parts list for a single-phase, line-voltage-in cabinet:
- The 30 A 2-pole breaker already in the wall panel.
- Feeder: 10/3 NM cable with ground, or four THHN conductors (black, red, white, green) in 1/2 in [16 mm] conduit. 10 AWG copper carries 35 A at 75 C, so 30 A protection leaves margin.
- A lockable 2-pole main disconnect, 30 A, DIN-rail breaker or small fusible switch.
- Branch breakers: 10 A for the servo, 5 A for the stepper supplies, 6 A time-delay on the transformer primary, 6 A on the secondary bus.
- A 500 VA control transformer, 240 V primary to 120 V secondary, multi-tap primary if available.
- Ground bus, an isolated neutral bar, terminal blocks, wiring duct, and glands sized to the cable (a 10/3 NM jacket runs about 0.5 in [13 mm] across).
- The enclosure, with its cutouts ordered in rather than drilled on site.
Worked example: size the control transformer
The control bus carries everything that is not the drive. This example uses typical bench-mill loads; swap in your nameplate watts before ordering.
| Load on the control bus | Draw |
|---|---|
| Shop PC | 150 W |
| Touchscreen | 30 W |
| 24 VDC I/O supply | 100 W |
| Contactor and relay coils | 60 VA |
| LED cabinet light | 15 W |
| Total | 355 VA |
Size for continuous duty: 355 VA x 1.25 = 444 VA, so the next standard frame is 500 VA. The primary draws 500 / 240 = 2.1 A; the 6 A time-delay device exists because energizing pulls 10-20 times that for a few cycles. The secondary delivers 500 / 120 = 4.2 A under a 6 A breaker. At 355 VA the frame runs at 71% load. Add a second screen and a 100 W accessories outlet later and the budget reaches 485 VA, so the same arithmetic lands on 606 VA — the 750 VA frame.
Pull the line-voltage feed to the cabinet
One naming note first: the 220 V on the drive label is the North American nominal 240 V, and a 220-240 V-class input takes it with margin.
- In the wall panel, land the black and red hots on the 2-pole breaker, the white neutral on the neutral bar, the green ground on the ground bar. Torque a typical 10 AWG lug to 40 lb-in [4.5 Nm]; where the breaker label prints another value, the label wins.
- Run the feeder: 10/3 NM with ground through the framing, or four THHN conductors in 1/2 in conduit. An insulated ground 6 AWG and smaller wears green or green with a yellow stripe (NEC 250.119).
- Size your run for voltage drop. At the full 30 A, 10 AWG copper (1.2 ohm per 1000 ft) drops 2 x 30 x 1.2 / 1000 = 0.072 V per foot, so the 7.2 V that makes 3% of the line buys about 100 ft [30 m] one way. Past that, 8 AWG holds the same margin to roughly 185 ft [56 m].
- Terminate at a gland in the cabinet wall: 10/3 NM at about 0.5 in OD takes a 1/2 in NPT or M20 gland.
Land the power layout in the cabinet
Lay the backplate first: disconnect by the door, breakers and transformer on the rails, duct between the rows; the DIN rail and duct layout guide sets the spacing.
- Mount the main disconnect within reach of the door. NEC 240.24(A) wants overcurrent handles readily accessible, the center of the grip at most 2.0 m [6 ft 7 in] above the floor at its highest position. Pick a 2-pole device that opens both hots; a single-pole switch leaves the load energized at half the line to ground through the idle leg.
- Feed the branch rail from the disconnect: the 10 A breaker for the servo, the 5 A breaker for the 230 V supplies.
- Land the servo drive across L1 and L2 per its manual, the supplies set to 230 V beside it, and every ground lug on the ground bus.
- Wire the transformer primary across L1 and L2 onto the 240 V taps, fed through the 6 A time-delay device.
- Bond X2 on the secondary to the ground bus and run the control bus from X1 through the 6 A breaker. The bond makes the secondary a grounded system, so a hot-to-case fault clears instead of hiding in the chassis.
- Bond the cabinet with one lug from the ground bus to the wall. NEC 250.96(A) asks metal parts to carry any fault current likely on them; scrape a powder-coated boss bare (NEC 250.12) and bond stainless as machined. The grounding and bonding guide walks the full method.
- Land the incoming neutral on its own isolated bar. The neutral-to-ground bond for the feed lives at the wall panel; the bond for the control bus lives at X2. Two sources, two bonds, and no third (NEC 250.6 aims to keep neutral current off the metal).
The disconnect mirrors the feeder rating. When the panel mains need their own protection rather than a plain switch, panel main disconnect protection: when to add a fuse or a breaker lays out the fuse-versus-breaker choice.
What lands where
| Branch | Fed from | Breaker | Conductors |
|---|---|---|---|
| Servo drive, 1 kW, 220-240 V input | L1-L2 after the disconnect | 10 A | 14 AWG copper |
| Stepper supplies at 230 V | L1-L2 after the disconnect | 5 A | 14 AWG copper |
| Transformer primary | L1-L2 after the disconnect | 6 A time-delay | 14 AWG copper |
| Control bus: PC, I/O, coils | Transformer secondary | 6 A | 14 AWG copper |
| Incoming feed | Wall panel, 2-pole | 30 A | 10 AWG copper + 10 AWG ground |
Read the servo row as an estimate until the manual replaces it: 1,000 W output at 90% efficiency and 0.95 power factor draws 1000 / (240 x 0.90 x 0.95) = 4.9 A, and manuals for this class typically specify a 10 A device on 14 AWG conductors. The inrush math behind that breaker — capacitor charge, trip curves, contactor ratings — is worked out in sizing breakers and contactors for a servo drive.
The spare neutral earns its keep when you want a service outlet: a 20 A breaker from L1 to neutral feeds a receptacle in the door pocket, and wiring a 120 V receptacle inside a control enclosure covers the details.
The enclosure for this layout
As a worked size, a cabinet 20 x 16 x 10 in [500 x 400 x 250 mm], wall-mounted, holds the main disconnect, four branch breakers, the 500 VA transformer on the backplate, two supplies and about 20% spare rail. The enclosure sizing guide walks the full method, and CNC control enclosure sizing for wiring and heat covers the temperature side.
Pick the type by the room, not the machine: a dry garage takes Type 1 indoor, a dusty shop takes Type 12, and washdown or coolant mist takes Type 4X in 304 stainless, moving to 316L where salt or chemicals ride the air. Stainless boxes from our catalog are rated NEMA 4X / IP66 by the manufacturer; they are not UL listed. US practice under NEC 110.28 marks the equipment with an enclosure type number rather than an IP code, and NEC 409.110 asks for that number on a panel's marking. NEC 110.26(A) asks 3 ft [900 mm] of clear working depth in front at 0-150 V to ground (Condition 1), with the door swinging 90 degrees.
One listing note: NEC 409.2 defines an industrial control panel as two or more power or control circuit components, and UL 508A is the standard for listing one. If your inspector treats the mill that way, the listing belongs to the panel build; the box itself carries only the manufacturer rating.
Order the gland entries and the disconnect-shaft cutout with the box instead of drilling on site: the weakest entry sets the assembly rating, so an unrated plug drops a Type 4X cabinet to the plug's own rating. Custom enclosures take every cutout from one piece, and the CNC cabinet quote checklist lists what to send with the drawing.
Checks when the wiring is done
- Voltage: line voltage across the disconnect load lugs, half of it from each lug to ground, and 120 V on the secondary bus once the transformer energizes.
- Drive bus: about 340 V DC at the drive's bus test points (240 x 1.414 = 339 V) enabled and idle; from there, follow the manual's commissioning sequence.
- Bonding: cabinet wall to wall-panel ground bar reads a fraction of an ohm through the 10 AWG EGC.
- Neutral: your clamp meter shows no current on the incoming neutral while the control bus runs the PC alone.
- Heat: after an hour near the 355 VA example load (71% of the frame), the transformer case stays warm, under about 60 C in a 25 C shop. A case past 80 C or a varnish smell means a tap error or a shorted load; de-energize and recheck.
Mistakes that trip breakers or cook coils
- Primary taps: energizing a 240 V primary wired to the low-voltage taps doubles the primary current and cooks the coil within minutes. Match the taps to the measured line before you first energize.
- A third bond: a neutral-to-ground jumper inside the cabinet puts neutral current on the chassis and the duct. Bonds live at the service and at X2; every other bar stays isolated.
- Splices behind the breakers: NEC 312.8 limits how much conductor, splice and tap volume fills an enclosure holding switches or overcurrent devices. Put taps on terminal blocks and give 10 AWG its 2.5 in [64 mm] of bending space at each terminal (NEC 312.6, one wire per terminal).
- A shared servo branch: charging inrush on a drive that shares a breaker with the PC trips at every power-up, so the drive keeps its own breaker and its own curve.
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 |
|---|---|---|---|
| 20 × 16 × 10 in | 304 stainless | 20 x 16 x 10 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 |
| 60 × 36 × 12 in | 304 stainless | 60 x 36 x 12 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Do I need the neutral if the 120 V comes from a transformer?
Pull four wires while the wall is open: 10 AWG copper adds little over a three-wire set, and the spare neutral lets you add a control-voltage branch later on a 20 A breaker (L1 to neutral, 14 AWG copper). With the secondary bus fed only from the 500 VA transformer, that neutral sits unused on its isolated bar. The ground is not optional: for a 30 A device, NEC Table 250.122 gives a 10 AWG copper equipment grounding conductor.
What breaker protects the 1 kW servo drive?
Use the drive manual's recommended branch device. As a worked assumption, a 1 kW drive at 90% efficiency and 0.95 power factor draws about 4.9 A at 240 V — 1000 / 240 / 0.90 / 0.95 = 4.9 — and manuals for this class commonly ask for a 10 A breaker on 14 AWG copper. The transformer takes the opposite device: 500 / 240 = 2.1 A primary, but energizing pulls 10-20 times that for a few cycles, so its primary protection is a 6 A time-delay breaker.
Can the stepper power supplies run from 240 V?
If the nameplate says 115/230 VAC selectable or 100-240 VAC, set it to 230 V and feed from the two hots through a 5 A breaker: a 350 W unit at 88% efficiency draws about 1.7 A at 230 V versus 3.5 A at 115 V. A 115 V-only unit lands on the transformer secondary and its watts join the VA budget: two 350 W supplies plus the 355 VA example bus pass 1,000 VA, so feed them at 230 V or spec a 1,500 VA frame.
What enclosure fits the disconnect, breakers and transformer?
A wall-mount cabinet about 20 x 16 x 10 in [500 x 400 x 250 mm] holds the disconnect, four branch breakers, the 500 VA transformer and two supplies with about 20% spare rail. Order the gland and disconnect-shaft cutouts with the box instead of drilling: the gland sets the assembly's rating, so an unrated plug drops a manufacturer-rated NEMA 4X box to the plug's rating. For a dry garage, a Type 1 stainless box does the job; move to 4X only for washdown or coolant mist.





