GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Build Guide

How to Make CNC Drilling Machine

This guide is for engineers who need a drilling machine for their own shop, not a sales page. We cover the frame, spindle, motion system, controls, and the first test holes, with the numbers that decide whether the machine holds tolerance. You will also see which parts are cheaper to buy and which are worth machining yourself.

±0.005 mm tolerance127 CNC machinesNo MOQDFM in 12 hours
How to make CNC drilling machine: high speed drilling head and control panel
Quick answer

Key takeaways

Rigidity beats featuresA 60 kg steel frame with a 12 mm plate holds hole position better than a light frame with expensive electronics.
Spindle runout sets hole qualityKeep TIR under 0.01 mm or holes drift and drill bits break early.
Budget the motion system firstBallscrews and linear rails eat 40-50% of a home build cost. Cut there and you lose accuracy.
Buy the spindle, machine the mountsA 2.2 kW water-cooled spindle costs less than the parts to build one. Machine the bracket to fit it.
Test with a plate before productionDrill a 10-hole grid, measure center distance, and adjust steps per mm before cutting real parts.
Frame and structure

Frame design: where accuracy starts

The frame carries every load the drill bit creates. When the bit bites into steel, the reaction force pushes back into the column, the table, and the base. Any flex in that path shows up as hole wander, chatter, or a broken drill. For a benchtop machine up to 300 mm of travel, use a welded steel frame with 10-12 mm plate for the base and column. Aluminum extrusion works for wood and plastics, but it rings under load and the joints creep over time.

Column height sets Z travel and sets the moment arm. A 500 mm tall column with the spindle at the top applies far more bending force to the base joint than a 300 mm column. If you only drill plates up to 50 mm thick, keep the column short and raise the table instead. That single decision removes more flex than adding ribs to the column.

Weld the frame, then stress-relieve it and machine the mounting faces. A welded frame moves 0.2-0.5 mm after cooling. If you bolt rails onto an unmachined weldment, the rails will not sit parallel. Face the column top, the base top, and the rail mounting pads in one setup on a mill. GreatLight machines frames up to 4,000 mm, so a one-piece base with the column pads already flat is practical.

Add a chip tray and a coolant drain before you paint. Cast iron and steel chips mix with coolant into a sludge that jams the drain. Slope the tray 2-3° toward the drain port and fit a removable screen. That is a 20-minute design decision that saves hours of cleaning.

  • 1
    Steel plate 10-12 mmBase and column for benchtop machines up to 300 mm travel.
  • 2
    Stress relieve after weldingThen machine rail pads flat in one setup.
  • 3
    Short column, tall tableLess moment arm, less flex, cheaper frame.
  • 4
    Slope chip tray 2-3°Toward a screened drain port.
Spindle

Spindle selection and mounting

The spindle is the one assembly most builders should buy, not make. A 2.2 kW water-cooled spindle with an ER20 collet runs 24,000 rpm and holds runout under 0.01 mm. Building a comparable spindle means grinding a taper, balancing a rotor, and selecting bearings with the right preload. That is a project on its own, and the result is usually worse than a bought unit.

Match the collet size to the largest drill you plan to run. ER20 takes up to 13 mm shank. ER25 takes 16 mm. If you drill 20 mm holes in steel, you need either an ER32 spindle or a pilot drill and a boring pass. Pushing a 20 mm drill through steel at low rpm on a light spindle stalls the motor and snaps the bit.

Mount the spindle in a rigid clamp, not a sheet metal bracket. The clamp should wrap at least 60% of the spindle body and bolt to a machined pad. Use four M8 bolts minimum for a 2.2 kW unit. Aluminum clamps are fine; 3D printed clamps are not. They creep under heat and the spindle tilts.

Cool the spindle with a 10-15 L tank and a 70-100 W pump. Water-cooled spindles run quieter and hold rpm better than air-cooled units at low speed. Keep the return line above the water level in the tank so the pump does not siphon when power cuts.

  • 1
    2.2 kW, ER20, 24,000 rpmA good starting point for a benchtop build.
  • 2
    Runout under 0.01 mmMeasure TIR at the collet taper, not the body.
  • 3
    Wrap the clamp 60%Four M8 bolts onto a machined pad.
  • 4
    Water tank 10-15 L70-100 W pump, return line above water level.
Motion

Motion system: rails, screws and motors

Linear rails and ballscrews decide repeatability. For a drilling machine, positional accuracy of ±0.05 mm is realistic on a careful home build. That is enough for clearance holes, brackets, and most fixture plates. If you need ±0.005 mm, buy a used production machine instead. Building to that level requires a temperature-controlled room and a metrology setup most shops do not have.

Use 15-20 mm profile rails for X and Y, and 15 mm for Z. Preload matters more than size. A C0 or C1 preload rail feels stiff and moves without play. A no-preload rail on a drilling machine lets the table shift under thrust and the hole walks. Mount rails on machined pads and check parallelism with a dial indicator along the full travel. Target under 0.02 mm deviation over 300 mm.

Ballscrews in C7 rolled grade are fine for drilling. C5 ground screws cost more and only help if the rest of the machine matches. Use a 16 mm diameter screw for X and Y and a 16 mm screw with a double nut for Z. Backlash should be under 0.02 mm after preload. Set the nut preload, then measure with a dial indicator against a known block before you cut anything.

NEMA 23 stepper motors at 1.8-3.0 N·m drive most benchtop builds. Direct drive through a 1:1 coupling is simplest. If you need more thrust on Z, use a 2:1 belt reduction. Closed-loop steppers cost about 30% more and eliminate lost steps, which matters when a drill grabs and stalls the axis.

  • 1
    15-20 mm rails, C0/C1 preloadParallelism within 0.02 mm over 300 mm.
  • 2
    C7 ballscrews, 16 mmDouble nut on Z, backlash under 0.02 mm.
  • 3
    NEMA 23, 1.8-3.0 N·mClosed-loop if the drill tends to grab.
Controls

Controls, wiring and first setup

A 3-axis controller with 48 V power is enough for a drilling machine. You need step and direction outputs, limit and home inputs, and a spindle speed output. For spindle control, use a 0-10 V signal into the VFD. That lets the G-code set rpm instead of you turning a knob. Wire the VFD and stepper drives on separate circuits and keep signal wires away from the spindle cable.

Shield the spindle cable and ground the shield at the VFD end only. Grounding both ends creates a loop that injects noise into the step signals. Symptoms are random lost steps and a machine that drills a good hole, then a bad one. If you see that, check the shield before you change the controller.

Set steps per mm by calculation, then verify by measurement. Command a 100 mm move, measure with calipers, and adjust. Repeat until the error is under 0.02 mm over 100 mm. Do the same for Z. Then set soft limits 5 mm inside the physical travel so a wrong offset does not drive the spindle into the table.

Home the machine before every session. Drill a test grid: 10 holes on a 50 mm pitch, 6 mm drill, 1,500 rpm in aluminum, feed 0.1 mm/rev. Measure center distance between holes with calipers. If the pitch error grows along one axis, that axis has backlash or a loose coupling. Fix it before running real parts.

  • 1
    48 V, 3-axis controller0-10 V spindle signal into the VFD.
  • 2
    Shield grounded at VFD onlyPrevents noise loops on step signals.
  • 3
    Verify steps per mmUnder 0.02 mm error over 100 mm.
  • 4
    Test grid before production10 holes, 50 mm pitch, measure center distance.
Build order

How to make CNC drilling machine: step by step

Follow this order. Skipping ahead costs more time than it saves.

  • 1
    1. Fix the work envelopeWrite down the largest part you will drill: length, width, and hole depth. A 300 × 200 × 100 mm envelope covers most benchtop work. Add 50 mm on each axis for tool clearance and fixturing. This number sets frame size, rail length, and screw length.
  • 2
    2. Build and machine the frameWeld a steel base and column from 10-12 mm plate. Stress relieve, then face the base top, column top, and rail pads in one mill setup. Target flatness within 0.02 mm across each pad. Paint after the chip tray and drain are fitted.
  • 3
    3. Mount rails and screwsBolt 15-20 mm rails to the machined pads. Check parallelism with a dial indicator along full travel; keep deviation under 0.02 mm over 300 mm. Install 16 mm C7 ballscrews with angular contact bearings at the fixed end and a floating support at the free end.
  • 4
    4. Fit the spindle and clampMachine an aluminum clamp that wraps at least 60% of the spindle body. Bolt it to a machined pad with four M8 bolts. Check runout at the collet taper; keep TIR under 0.01 mm. Connect the water lines and test for leaks before running the motor.
  • 5
    5. Wire drives and limitsMount stepper drives and the VFD on a plate away from signal cables. Use shielded cable for spindle power and ground the shield at the VFD only. Fit home and limit switches on all three axes. Set soft limits 5 mm inside physical travel.
  • 6
    6. Set steps per mm and tuneCommand 100 mm moves on each axis and measure with calipers. Adjust steps per mm until error is under 0.02 mm over 100 mm. Set acceleration low at first: 200-300 mm/s². Raise it only after the machine holds position without stalling.
  • 7
    7. Drill the test gridUse a 6 mm drill at 1,500 rpm in aluminum, feed 0.1 mm/rev. Drill 10 holes on a 50 mm pitch in a scrap plate. Measure center distances. If pitch error grows along an axis, tighten the coupling or adjust screw preload and repeat.
  • 8
    8. Cut real parts and log settingsStart with clearance holes. Record rpm, feed, and peck depth for each material. Peck 3-5 mm per step in steel. Compare the first part against the drawing with calipers and a pin gauge before running the batch.
Decisions

Build or buy: part-by-part calls

Use this table to decide what to make in-house and what to order.

PartMake it yourselfBuy itWhy
Frame and baseYes, if you can weld and mill flatNoFit to your envelope, cheap in steel
SpindleNoYes, 2.2 kW ER20Taper grinding and balancing are hard
Spindle clampYesNoMust fit your spindle body exactly
Linear railsNoYes, 15-20 mm C0/C1Preload and straightness are factory set
BallscrewsNoYes, 16 mm C7Rolled screws are cheap and accurate enough
Motor mountsYesNoBolt pattern depends on your frame
Controller and VFDNoYes, 48 V 3-axisFirmware and support matter
Fixture plateYesMaybeDrill and tap your own hole pattern
FAQs

Common questions

What tolerance can a home-built CNC drilling machine hold?

A careful build with machined rail pads, preloaded rails, and C7 ballscrews holds about ±0.05 mm hole position. Hole diameter depends more on the drill and the material than the machine.

If you need ±0.005 mm, buy a used production machine. Getting a home build to that level requires temperature control and metrology that most shops do not have.

Can I use aluminum extrusion instead of a welded steel frame?

Yes, for wood, plastics, and light aluminum work. Extrusion is easy to assemble and easy to modify.

It rings under load and the joints creep. For steel or cast iron drilling, a welded steel frame with machined pads holds position far better.

Which spindle should I buy for drilling steel?

A 2.2 kW water-cooled spindle with an ER20 or ER25 collet runs 24,000 rpm and holds runout under 0.01 mm. That covers drills up to 13 mm or 16 mm shank.

For holes over 16 mm in steel, use a pilot drill and a boring pass, or move up to an ER32 spindle. Pushing a large drill on a light spindle stalls the motor.

How do I stop the drill from wandering on entry?

Use a stub or spot drill first to create a pilot cone. Keep the spot drill 1-2 mm deep. Reduce feed at entry to about half the cutting feed.

Check spindle runout and workpiece clamping as well. Loose fixturing lets the plate shift and the drill follows the movement.

What feed and speed should I start with?

In 6061 aluminum with a 6 mm drill, start at 1,500 rpm and 0.1 mm/rev. In mild steel, drop to 600-800 rpm and 0.05-0.08 mm/rev with 3-5 mm peck depth.

Listen to the cut. A squealing drill is running too fast or too light. A chattering drill is running too slow or the setup is loose.

Should I machine my own fixture plate?

Yes, if you have a mill. A 15-20 mm aluminum plate with a tapped hole grid lets you clamp parts anywhere. Drill and tap a 50 mm pitch grid with M8 holes.

We machine fixture plates to ±0.005 mm when the hole pattern has to match a production part. For a home build, a hand-drilled grid is usually enough.

Need the machined parts for your build?

Send us your frame drawings, spindle clamp, and motor mounts. We quote in 12 hours and machine to ±0.005 mm.

12-hour quote100% inspectionNo MOQNDA on request

Follow

More from GreatLight

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC