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

Commissioning a CNC controller enclosure: staged power-up checks

Power up in four stages and take a number at each one. Boot the controller alone and read 48 V at its terminals; reconnect sensors and motors one cable at a time and prove each axis with a 5 mm [0.2 in] move; trip the e-stop mid-move and confirm reset does not restart motion; then read enclosure against room - 28 C versus 22 C fan-off in the example, back to room with the fan at 1500 RPM.

NEMA4 Enclosure engineering team · Published November 3, 2026 · 9 min read

Commission the finished enclosure in four stages and take a number at each one: boot the controller with nothing connected, bring the field wiring back one cable at a time, prove the safety circuit physically, then measure cooling. Each stage tests one subsystem, so the first wrong indication points at the last thing you touched. The example panel here is a four-axis gantry build with a 48 V supply, a four-wire PWM fan and two temperature probes; the checks transfer to any controller. Numbers to come away with: 48 V at the controller terminals, a 5 mm [0.2 in] direction check on every axis, an e-stop that re-arms without restarting motion, and an interior within 6 C of the room.

What do you check before you flip the power switch?

Walk the dead panel against the drawing before you energize anything: terminals torqued to their printed value, typically 0.5 to 0.8 N·m on pluggable connector screws, labels matching terminal to terminal, and bonding under 0.1 Ω from the ground terminal to the door and the backplate. De-energize, lock out and prove absence of voltage before you put a wrench on any terminal. Work through four groups:

  • Terminals. Re-torque every power and signal terminal to the value printed on the connector datasheet; the typical pluggable screw terminal on an industrial controller sits at 0.5 to 0.8 N·m, and power lugs run higher.
  • Continuity, not color. Walk each through-panel connection terminal to terminal against the drawing with your meter on continuity. A label on both ends of every wire settles arguments later.
  • Bonding. NEC 250.96(A) requires enclosures, raceways and fittings that serve as grounding conductors to be bonded so they carry any fault current imposed on them. Read well under 0.1 Ω from the ground terminal to the door, backplate and gland plate; above 0.2 Ω you are usually measuring paint, and NEC 250.12 requires coatings removed from threads and contact surfaces. The grounding and bonding guide covers the permanent joints.
  • Openings. Glands seated with locknuts tight, blanking plugs in unused holes, and the door gasket clean and in its channel. The cutouts and glands guide carries the knockout and fitting dimensions.

How do you do the first power-up with nothing connected?

Power the panel with every motor, sensor and spindle cable disconnected, and read 48 V within 0.5 V of nominal at the controller's own terminals; a boot screen plus that number is your ticket to the next stage. With the field wiring pulled, the only things under test are the supply, the switch, the fuse and the controller itself.

  1. Pull the motor, sensor and spindle connectors at the controller with the panel off, so the circuit that boots is supply, protection and controller only.
  2. Close the door and energize. Measure 48.1 V DC at the supply's terminal block, then 48.0 V at the controller's power connector. The 0.1 V difference across switch, fuse and wiring proves the feed path, and it stays under your 0.5 V limit.
  3. Watch it for five minutes: a repeatable boot screen, no odor, no hot spot at the supply end of the door.
  4. Cycle power off and on twice. A marginal terminal usually shows itself on the second boot; if the controller reboots when the door latches, that symptom has its own cause list in why a controller reboots when the door closes.
  5. Save the settings file and note the firmware version before anything else changes.

A clean boot proves the powered panel and nothing else. Pinouts, sensor states, motor phasing and the safety circuit are all still open questions, which is exactly why you staged the work.

How do you reconnect the motors and sensors?

Bring the field wiring back one cable at a time: every sensor must toggle its input on the controller's diagnostic screen, and every axis must answer a 5 mm [0.2 in] command in the commanded direction before you attempt homing. Sensors go first because they carry signal-level energy; motors go last because they carry the stored energy.

  1. Panel off. Reconnect the sensor loom and meter the 24 V sensor supply at the farthest sensor in the string.
  2. Panel on. Open the diagnostic screen, operate each sensor by hand, and watch its input change exactly once per action.
  3. Confirm the e-stop removes drive enable before the first commanded move; the full validation comes in the next stage.
  4. Connect one motor cable at a time, power up, clear the motion area, keep the e-stop within reach, and command 5 mm [0.2 in] at 500 mm/min [20 in/min]. The axis must travel the commanded direction.
  5. Home only after every axis has passed its direction check; homing on a reversed axis drives the carriage into the limit.
What you see Where the fault usually lives What proves the fix
An input never changes Sensor supply, pinout or signal wire Meter the sensor output while you operate it by hand
Input changes, wrong function responds Assignment or labeling Match device, terminal and configured function
Input shows the opposite state NO/NC logic choice Compare the active state with the sensor datasheet
Axis moves the wrong way Drive wiring or direction setting Change the setting, then repeat the 5 mm move
A connector runs hot within minutes Termination quality or current Stop; the boot stage never loaded this circuit

Trace a wrong indication backward through assignment, connector, cable and sensor, and the table tells you which end to start from. A hot connector ends the session, because that fault sits in power wiring the boot test never touched.

How do you validate the e-stop and safety circuit?

Trip the e-stop during a slow 500 mm/min axis move, watch the axis physically stop, and confirm that resetting it re-arms the circuit without moving the machine; a separate cycle start is what moves it again. An input lit on the controller screen proves the controller sees a signal, and only the physical stop proves the safety function.

Know which stop you built: category 0 cuts drive power immediately and the axis coasts to rest, while category 1 ramps the axis down first and cuts power after. IEC 60204-1, the machine-wiring standard, expects each protective stop proven by test and the bonding circuit measured before the machine is handed over, and NFPA 79 carries the same intent for US machines.

  1. Command a slow move and trip the e-stop mid-travel. Watch the axis stop, by coast or by ramp, according to the category you built.
  2. Check that drive enable is gone: 0 V at the enable input or the LED out on the drive.
  3. Reset the e-stop. Nothing moves.
  4. Press cycle start. Motion resumes. Reset re-arms, cycle start moves; that separation is the behavior you want.
  5. Repeat the sequence for every protective device: door interlock, guard switch, any external stop.

Record each test with its result, and have the safety design signed off by someone competent in machine safety before loaded cuts run. For how the circuit is built in the first place, see the e-stop and power layout article.

How do you prove the cooling with a fan-off versus fan-on reading?

Take two readings 30 minutes apart in each state: the example 20 x 16 x 8 in enclosure sat at 28 C with the fan off against a 22 C room, and returned to 22 C with the four-wire fan at 1500 RPM, half its 3000 RPM maximum. Settle time matters; a reading taken five minutes after switching states is a number, and after 30 minutes it is a measurement.

Place the probes where the answers live: one at the top of the box above the 48 V supply, where warm air collects, and one in the far corner above the controller, where airflow is weakest. Keep both in free air rather than taped to a component, or you will read a part temperature and call it an enclosure temperature.

The fan-off number tells you the heat load. Surface area of the 20 x 16 x 8 in [508 x 406 x 203 mm] stainless box: 2 x (0.508 x 0.406) + 2 x (0.508 x 0.203) + 2 x (0.406 x 0.203) = 0.78 m². With stainless walls at k = 3.7 W/m²·K, the 6 C rise means 3.7 x 0.78 x 6 = 17 W dissipated at idle. With motors turning, figure roughly double, 35 W. Sealed, that load would sit the box 35 / 2.9 = 12 C above room, or 34 C in a 22 C shop, inside the 40 C limit most drives and industrial electronics carry but with little margin.

That margin is what the fan buys. Set the curve so full speed arrives at 35 C rather than 40 C, so the fan reacts before the electronics limit instead of at it, then log the temperature at the end of the first real job. The wiring side of speed control is covered in two-wire and four-wire enclosure fans, and which way to mount it in fan direction, intake or exhaust.

One trade to make with open eyes: a filtered intake makes this a filtered enclosure holding about IP54 at the filter, even when the box itself is rated NEMA 4X / IP66 by the manufacturer and not UL listed. Indoors on a bench machine that is usually the right call. For washdown, keep the box sealed and move the heat with a closed-loop heat exchanger, or simply more surface: doubling the wall area halves the temperature rise.

What closes out commissioning?

Close with four artifacts: the saved controller settings, the numbers you measured (48 V supply, bonding under 0.1 Ω, 6 C rise), the sensor and direction table, and a record of each e-stop test with its result. Together they are the baseline every future fault gets compared against, and the settings printout is what saves you when a firmware update resets configuration.

  • Settings file and firmware version archived.
  • Measured numbers recorded: 48.0 V at the controller, bonding under 0.1 Ω, 6 C rise fan-off, fan curve with its setpoints.
  • Sensor and direction table signed off per axis.
  • Safety test record per protective device, with the stop category named.

Then give the machine its first job in light passes and log the enclosure temperature at the end of it, so the cooling baseline reflects a real load. The same staged logic applies to the cut itself: staged pocketing cuts that prove feed and load validate the machining side one step at a time.

If commissioning shows the box is the problem, more depth for wiring, another gland, a window, the fix is a drawing, not a drill. Custom stainless enclosures with factory-cut openings are delivered in 10 business days, counted from your approval of the drawing, and the enclosure selector sizes the replacement from your inside height and width.

Which commissioning mistakes cost the rating or the board?

Three mistakes carry most of the damage: a reversed 48 V pair at the controller connector, a hole cut in the box after the seals are fitted, and trusting the boot screen as proof of the motor circuits. Each one has a cheap check that prevents it.

  • Reversed 48 V pair. Many 48 V controllers ship with no reverse-polarity protection, so meter the power connector for the correct polarity before the plug goes in, every time the panel has been apart.
  • Openings cut after sealing. Plan every hole on the drawing before the panel goes in. A drilled burr or a nicked gasket leaks where a planned, sealed opening holds, and a leak found at commissioning means stripping the backplate to fix it.
  • The boot treated as a load test. Motors load connectors and drives the boot stage never touched; the hot-connector row in the table above exists for exactly this mistake.
  • Set-and-forget cooling. A fan curve proven at idle says little about a four-hour job. Re-read the probes at the end of the first real cut, and re-set the curve if the loaded interior climbs past 35 C.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
20 × 16 × 8 in304 stainless20 x 16 x 8 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
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
30 × 24 × 10 in304 stainless30 x 24 x 10 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

How long should commissioning the enclosure take?

Plan a full day. Roughly 2 hours for the dead-panel checks, 1 hour for the first power-up including two power cycles, 2 to 3 hours for sensors and axis direction on a four-axis machine, 1 hour for the e-stop tests, and 1.5 hours for the two 30-minute temperature readings. Rushing the sensor stage is what costs the extra half day later.

How much voltage drop is acceptable from the supply to the controller?

Keep it under 0.5 V, about 1 percent of 48 V, measured with everything connected and running. The example panel showed 0.1 V across the switch, fuse and wiring. Anything above 1 V points at a loose terminal or a conductor sized too small for the run.

Does adding a fan and filter ruin the enclosure rating?

Yes: a filtered fan opening holds about IP54 at the filter, so the assembly stops being sealed even when the box is rated NEMA 4X / IP66 by the manufacturer. Indoors on a bench machine that trade usually makes sense. For washdown, keep the box sealed and move heat with a closed-loop heat exchanger or more surface area.

Should you repeat the axis direction test after a firmware update?

Yes. Updates can reset motor and sensor settings, so repeat the 5 mm [0.2 in] commanded move on each axis and re-toggle every sensor input afterward. It takes about 10 minutes and catches the most common post-update fault before it becomes a crashed axis.

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.

Build it from 20 × 16 × 8 inRequest a custom quote

Check the heat load in the calculator · Outdoor enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides