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

Get Instant Quote

Build process explained

How Are CNC Machines Made?

A machine tool is not assembled from catalog parts. Castings are aged, ways are scraped or ground, and the geometry is measured after the electronics are live. This page walks through the build sequence in order, with the tolerances that matter at each stage, so you can judge a builder or spec a machine for your own shop floor.

Castings aged 6–12 monthsScraping 20–25 points per inchTest cut before shipping
how are cnc machines made 2
Quick answer

Key takeaways

The frame comes firstCasting, stress relief and aging decide final accuracy more than any servo or controller.
Geometry is hand-finishedWays and mounting pads are scraped or ground to 20–25 contact points per inch, not just milled.
Electronics go on lastScales, drives and the controller are fitted after the iron is stable, then calibrated against a laser.
A test cut proves itEvery builder should run a test part and publish roundness, squareness and repeatability numbers.
Reconditioning is the same jobRebuilding an old machine repeats the scraping and calibration steps at roughly half the cost.
Stage 1

How are CNC machines made: the casting and frame

Every vertical machining center starts as a drawing for a bed, column and table. The pattern is made, sand is packed, and molten gray iron or ductile iron is poured at roughly 1,350–1,450 °C. Wall thickness is kept generous, often 15–25 mm on a 40-taper machine, because thin walls ring and deflect under cut. Some builders weld steel frames instead. Steel is cheaper and faster, but it moves more with temperature and needs more internal damping material.

After the casting cools, it is not ready to machine. Residual stress from uneven cooling will pull the frame out of square over the first year if you skip stress relief. The usual path is a slow heat cycle, holding the casting near 550–600 °C for several hours, then cooling in the furnace. That step releases most of the locked-in stress without changing the iron structure.

Aging comes next. Castings are left outdoors or in a warehouse for 6–12 months so the remaining stress works out in the yard, not in your spindle. Some builders use vibration aging instead and finish in days. It works, but the results are harder to audit. Ask a builder what aging method they use. A short answer with no numbers usually means no aging at all.

Rough machining follows. The bed, column and table get their mounting faces milled, drilled and tapped, with 2–3 mm of stock left on the sliding surfaces. That stock is what the fitter removes by hand later. If a builder machines the ways to final size on a CNC and ships, the geometry is only as good as the machine that cut it.

Stage 2

Way preparation, scraping and the fit of the slides

Sliding surfaces are where a machine earns its accuracy. Box ways are hand-scraped: a fitter applies bluing, rubs the mating surface, and removes the high spots with a carbide scraper. The target is 20–25 contact points per square inch, checked with a 25 mm × 25 mm spotting block. Fewer points means the slide rocks; too many means the oil film cannot form and the way wears fast.

Linear guide machines skip most of that work. The rails are bolted to a machined pad and preloaded, so the fitter only has to align them. Rail machines run faster and need less maintenance, but they absorb less vibration. For heavy interrupted cuts in steel, box ways still win. For aluminum at 15,000 rpm, rails are fine.

Preload is the number to ask about. A Z-axis rail set is usually preloaded between 3% and 8% of the dynamic rating. Too little and the head dives under load; too much and the bearing runs hot and dies early. On a ball screw the same rule applies, with backlash held under 0.005 mm on a positioning axis.

Squareness between axes is set here, not later. The fitter squares the column to the bed with a granite square and dial indicator, aiming for 0.01 mm per 300 mm or better. Once the iron is bolted and pinned, that number stays. Electronics cannot fix a frame that is out of square.

Stage 3

Spindle, drive train and the parts that set repeatability

The spindle decides surface finish and tool life. A 40-taper spindle for general work runs to 8,000–12,000 rpm; a 30-taper or HSK-E40 spindle for aluminum can reach 20,000–24,000 rpm. Higher speed means smaller bearings and less stiffness, so a 24,000 rpm spindle is the wrong choice for a 50 mm face mill in 4140 steel. Match the taper and top speed to the material you cut most.

Spindle runout is measured at the taper with a test bar. Good assembly holds TIR under 0.005 mm, and the bearings are preloaded in a temperature-controlled room. The housing is often cooled with a jacket or oil chiller so growth stays under 10 μm over an eight-hour shift. Thermal growth is the main reason a machine holds size in the morning and drifts by afternoon.

Ball screws are ground, not rolled, on a positioning axis. A ground C3 screw holds 0.008 mm per 300 mm lead error and is preloaded against backlash. The screw is aligned to the guide rail within 0.01 mm over its full length, then anchored at one end with a floating support at the other so thermal expansion does not bow it.

The drive train also includes the coupling, bearing block and motor mount. A stiff coupling with a bellows element is standard. A jaw coupling with a rubber spider is cheaper and adds lost motion that shows up as a 0.02 mm hesitation on reversal. For mold work with tight contouring, that lost motion is visible on the part.

Stage 4

Electrical build, controller and calibration

Once the iron is aligned, the electrical cabinet goes on. Servo drives, spindle drive, I/O, safety relays and the controller are wired and labeled. Cables are routed in separate trays for power and signal, with shielded cable for encoder and scale lines. A build that bundles 400 V power next to an encoder cable will show random following errors that no parameter change fixes.

Calibration happens after the machine can move under its own power. The builder squares the axes, sets backlash compensation, and checks positioning with a laser interferometer. A typical spec for a 40-taper VMC is 0.006 mm positioning accuracy and 0.004 mm repeatability over 500 mm. Ball bar testing then checks circular interpolation, which catches servo mismatch between two axes.

The test cut is the last gate. A builder cuts a sample part, often an aluminum or steel test piece with a bored hole, a stepped pocket and a circular boss. Roundness, squareness and surface finish are measured on a CMM and written into the inspection record. If a builder cannot show you a test-cut report with numbers, the machine has not been proven.

Shipping preparation includes locking the axes, sealing the ways, and recording the leveling data. The machine must be re-leveled on your floor. A machine leveled to 0.02 mm per meter at the builder can move 0.05 mm per meter after a sea voyage if the crate is not braced properly.

Stage 5

What the same process means for the parts you buy

The build sequence above exists to hold geometry under cutting load. That is also what a machine shop sells you. When we quote a part, the tolerance and finish come from the same variables: frame stiffness, spindle condition and thermal stability. A machine that was scraped and calibrated properly holds ±0.005 mm on a batch of 200 parts. A tired machine does not, no matter how the CAM program is written.

Our floor runs 127 high-precision CNC machines, including 16 simultaneous 5-axis machining centers, 12 four-axis mills and 27 three-axis machines. Maximum processing size is 4,000 mm, with a Ø400 mm rotary table for parts that need one setup instead of three. The 16 mill-turn centers handle turned features and milled pockets in a single cycle, which removes the re-fixturing error that shows up as a 0.02 mm step.

Materials range from 6061-T6 and 7075 aluminum to 17-4PH stainless, Ti-6Al-4V, Inconel and PEEK. Finishes include anodizing, electroless nickel, bead blasting and laser marking with a minimum character height of 1.5 mm. For engineers comparing a rebuilt machine against a new one, the same rule applies: the iron and the calibration decide the result, and the controller just reports it.

Build sequence

Step by step: how a CNC machine is built

Same order for new builds and rebuilds

  • 1
    1. Design and patternFix the axis travels, taper and load rating first. A 40-taper machine with 750 × 1,150 × 550 mm travel needs a bed section thick enough to hold 0.005 mm under a 50 mm face mill.
  • 2
    2. Cast, stress relieve and agePour at 1,350–1,450 °C, hold near 550–600 °C for stress relief, then age 6–12 months or vibration-age to a recorded schedule.
  • 3
    3. Rough machine the frameMill and drill mounting faces, leaving 2–3 mm of stock on all sliding surfaces for scraping and final grinding.
  • 4
    4. Scrape or grind the waysScrape box ways to 20–25 points per 25 mm × 25 mm. Grind rail pads flat to 0.005 mm per 300 mm before bolting rails.
  • 5
    5. Fit ball screws and alignAlign each screw to its rail within 0.01 mm over full length. Preload to remove backlash; target under 0.005 mm on a positioning axis.
  • 6
    6. Build the spindle and drivesPreload bearings in a temperature-controlled room, check TIR under 0.005 mm at the taper, and fit a bellows coupling rather than a rubber-spider type.
  • 7
    7. Wire and calibrateSeparate power and signal cable trays, set backlash compensation, then laser-check to 0.006 mm positioning and 0.004 mm repeatability over 500 mm.
  • 8
    8. Test cut and recordCut a test part with a bore, pocket and boss. Measure roundness, squareness and finish, and ship the report with the machine.
Build choices

Frame and slide options compared

Pick by part mix, not by catalog price

ChoiceBest forWatch out for
Gray iron castingSteel and cast iron parts, heavy cutsNeeds stress relief and 6–12 months aging
Welded steel frameFast builds, large gantry sizesMore thermal growth, needs damping fill
Hand-scraped box waysInterrupted cuts, high rigiditySlow to build, needs skilled fitters
Linear guide railsAluminum, high feed rates, long travelLess vibration damping, preload matters
Vibration agingShort lead times on castingsResults harder to verify than natural aging
FAQs

Questions engineers ask about machine builds

How long does it take to build a CNC machine?

A 40-taper vertical machining center takes roughly 3–6 months from casting to test cut if the casting is already aged. Most of that time is aging and scraping, not assembly. A builder who quotes four weeks is either using pre-aged castings from stock or skipping the aging step.

Large gantry and 5-axis machines run longer, often 6–12 months, because the frame is bigger and the geometry is harder to hold after assembly.

Is a rebuilt machine as good as a new one?

If the rebuild includes re-scraping the ways, replacing ball screws and bearings, and a full laser calibration, the machine can meet new-machine geometry. The frame may still have fatigue from years of use, and the electrical cabinet is older.

A rebuild usually costs about half of a new machine and takes 6–10 weeks. It makes sense when the frame is sound and the spindle housing is not worn. It does not make sense if the casting has cracks or the ways are worn past the adjustment range.

Why does scraping matter if the machine has a controller?

Scraping sets the physical fit between two sliding surfaces. If the fit is poor, the slide rocks, the tool pushes away from the work, and the controller compensates for a position error that keeps changing.

No controller can correct a frame that flexes. Scraping removes that variable so the servo loop only has to handle normal cutting force.

What accuracy numbers should a builder publish?

Ask for positioning accuracy, repeatability, roundness on a test cut, and squareness between axes. On a 40-taper VMC a reasonable target is 0.006 mm positioning accuracy and 0.004 mm repeatability over 500 mm, with roundness under 0.005 mm on a bored hole.

If the builder only publishes a catalog tolerance with no test-cut report, the number has not been verified on your machine.

Does the country of build change the machine?

The build process is the same everywhere: cast, age, machine, scrape, calibrate, test cut. What changes is how much hand work is included and which components are used.

Bearings, ball screws, rails and controllers come from a small number of global suppliers. Ask for the component brands and the test-cut data, then judge the machine on those numbers rather than on the flag on the crate.

How does machine stiffness reach the part I order?

A stiff machine holds size when a tool enters a cut. A flexible machine deflects, so the first part and the last part differ, and you pay for that in rework or in a looser tolerance.

This is why we keep 16 simultaneous 5-axis centers and run 100% inspection before shipment, with reports available on request.

Send your drawing and get a machining answer

Upload a STEP file and we reply within 12 hours with a quotation and a free DFM analysis. No minimum order quantity, from one prototype to a 10,000+ part run. Uploads stay confidential, and an NDA is available on request.

12-hour quote100% inspectionNDA on request

Follow the shop

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