Get in touch with Zhenling Company
Numerical control machining uses coded numbers rather than handwheels to direct the movement of the cutting tool, and every CNC machine in a shop descends from that idea. The first continuous-path demonstration took place at MIT in September 1952, and its control already used encoder feedback.
Updated November 2026
What Is Numerical Control Machining?

Numerical control machining is the cutting of workpieces on machine tools whose motions are driven by coded numeric instructions. A machine control unit reads the program, and servo or stepper drives move the axes. CNC, which stands for computer numerical control, uses a computer as part of the machine control. Every CNC machine is therefore an NC machine.
Numerical control technology uses coded numbers to control machines, and the system has three parts. The program lists positioning, line motion and contouring commands in the data format of ISO 6983-1:2009. The machine control unit converts each block into axis commands. The machine tool, whether a lathe, a milling machine or a drill, moves the cutting tool and the workpiece. Through computer control of machine tools, the kind a CNC machining service runs every day, these numerical control systems automate cuts, including the machining of complex contours, that once needed a machinist at every handwheel. The same standards apply in aerospace and the wider manufacturing industry, including when a supplier simply calls the work CNC.
What is CNC technology?
In CNC technology, an onboard computer stores the program, interprets each block and drives the axes, allowing the operator to load, edit and rerun the code at the machine. Older NC controls interpreted each instruction from punched paper tape as they ran.
Machinists on Practical Machinist describe CNC machines as able to store programs on a disk or in memory. That storage made writing and editing code much easier.
NC vs CNC vs DNC: How the Machine Tool Gets Its Instructions

NC is the broader category of programmed machine control; CNC uses a computer within the control, and a DNC system can distribute programs to CNC machines. Early NC machines commonly read their part programs from punched cards or punched paper tape through hard-wired control logic. MIT’s Servomechanisms Laboratory demonstrated the first continuous-path NC milling machine in September 1952.
“Under a contract with the Parsons Company of Michigan, William M. Pease and James O. McDonough designed an experimental numerically-controlled milling machine which received directions through data on punched paper tape.”
Feedback did not originate with the computer. According to the “History of numerical control” article on Wikipedia, each 1° of control rotation on the MIT mill moved the cutting head 0.0005 in, and encoders decremented a register by one for each degree. The Parsons patent US2820187A, filed 5 May 1952, counts impulses of 0.001 in and compares them with the measured screw movement. So an older NC machine tool says less about repeatability than its feedback loop and calibration records do.
| Feature | NC | CNC | DNC |
|---|---|---|---|
| How the program arrives | Punched paper tape | Controller memory or disk | Central computer over a network |
| Program handling | Read from external media such as punched tape | Stored, edited and run by the controller | Central transfer to connected machines; DNC software can handle programs for thousands of machines, according to Cutting Tool Engineering |
Is it a C&C machine or a CNC machine?
The correct term is CNC machine. CNC stands for computer numerical control, and “C&C” is a mishearing of those three letters, not a separate machine type. Quotes, controller manuals and drawings all use CNC, so searches and orders for CNC machine tools go under that term.
How an NC Machine Turns a Drawing into a Part

In a CAD/CAM workflow, a drawing becomes a part through five links: a CAD model, a tool path from CAM software, a post-processor that writes machine-specific code, program blocks the control executes, and moves at each axis. Simple parts can also be programmed by hand or at the control straight from the drawing. The Five-Link NC Chain below names where errors enter at each link, so a buyer knows which file a supplier needs.
- Model the part: the model from CAD software defines the nominal geometry; tolerances live on the drawing unless the model carries them as product manufacturing information.
- Plan the tool path: computer-aided manufacturing software, the programming tool, turns the model into cutter moves for each tool.
- Post the program: the post-processor rewrites those moves in the dialect of one controller.
- Execute the block: the machine control interprets each program block and uses the work offset to relate programmed positions to machine coordinates.
- Drive the axes: axis drives move the table, spindle head or tool carriage, and on closed-loop axes rotary encoders or linear scales report the position.
A supplier asks for both a STEP file and a drawing because the model drives the tool path while the drawing usually carries the tolerances, datums and finish callouts. Machinists in a Practical Machinist thread name posting with the wrong post processor and trouble with the Z offset; both are human error at links three and four of this manufacturing process.
For this hypothetical calculation, assume a 5 mm ballscrew lead and 10,000 encoder counts per revolution. One count then moves the table 5 mm ÷ 10,000 counts = 0.0005 mm, or 0.5 µm. That 0.5 µm is the nominal feedback resolution, assuming the motor drives the screw directly; the control’s command increment and the accuracy at the tool tip are separate quantities. A five-axis machine study on arXiv compared encoder signals with the tool center point position recorded by a non-contact instrument to measure the geometric errors that feedback alone doesn’t see.
For the full seven-step route from drawing review to an inspected part, see Zhenling’s CNC fundamentals guide.
Axes and Coordinates: How the Controller Knows Where the Tool Is

X, Y and Z linear axes place the tool in the right-hand rectangular coordinate system that ISO 841 defines for numerical control machines; on 4- and 5-axis machines, rotary axes, commonly labelled A, B and C, turn about them. A work zero set on the part anchors the program to the workpiece, so a fixture that is moved without changing its orientation usually needs only a new offset, as long as tool access and travel permit.
Machine zero is a fixed reference point on the machine; work zero, on the other hand, is the point on the part where the operator touches off and is stored as a work offset, e.g. G54. Each cutter also has a tool length offset, so the tip lands at the same Z height after every tool change.
A part may have features on five faces, but that doesn’t always require a 5-axis machine shop: count the setups first. A 3-axis machining center can machine several accessible faces in one setup using end-mill end and side cutting, and a setup is added only when tool access or feature orientation forces a re-clamp; 3-axis vs 4-axis vs 5-axis CNC compares how the other machines cut that number.
Consider a drawing that places three holes at X20 Y15, X50 Y15 and X80 Y40 (mm, from a work zero at the part’s lower-left corner), with the tool starting from that zero.
| Hole | G90: position from work zero | G91: move from the previous point |
|---|---|---|
| 1 | X20 Y15 | X20 Y15 (20 – 0, 15 – 0) |
| 2 | X50 Y15 | X30 Y0 (50 – 20, 15 – 15) |
| 3 | X80 Y40 | X30 Y25 (80 – 50, 40 – 15) |
Both versions end at X80 Y40, but an error in one incremental move carries into every later hole, while an error in one absolute block affects only that hole. Some G-codes and M-codes are modal: the selected mode remains active during machine operation.
Reading a Short NC Program: G-Code and M-Code

Each line of a G-code CNC program is called a block. Each block commands one step. G words select motion modes, M words select functions such as the spindle and coolant to be switched on/off, and X, Y, Z, F and S words represent position, feed rate and spindle speed. ISO 6983-1:2009 is the standard behind that block format.
The program below is a generic Fanuc-style example that drills the first hole from the previous section. Each controller’s dialect and its post-processor determine the codes, and NIST’s RS274NGC interpreter explains the dialect defined by the NextGeneration Controller project.
O0001 (DRILL HOLE 1) N10 G21 G90 G54 (metric units, absolute mode, work offset 1) N20 T01 M06 (select drill 1, run the tool change) N30 S1200 M03 (spindle 1,200 rpm, clockwise) N40 G00 X20. Y15. (rapid to hole 1 above the part) N50 G43 H01 Z5. M08 (tool length offset 1, rapid to Z5, coolant on) N60 G01 Z-8. F120 (feed to Z-8 at 120 mm/min) N70 G00 Z50. M09 (retract to Z50, coolant off) N80 M30 (end of program, rewind)
Most main programs carry four groups: motion (G00 rapid, G01 feed), spindle (S, M03), optional coolant (M08, M09) and program end (M30). Each element in a drawing becomes blocks like these. Here that means one position block, one feed-in block and one retract block for each hole, so CNC programming uses more blocks for a part with more holes.
Open-Loop vs Closed-Loop Machine Control

With open-loop machine control, commands are sent to the motor without checking the result, while closed-loop control compares the commanded position with encoder or linear-scale feedback and corrects the difference. With open-loop stepper axes, steps are lost without being detected, a failure Machine Design describes as steps going undetected when torque or other limits are exceeded.
In CNC systems, a closed-loop axis adds a rotary encoder to the motor or a linear scale to the axis. The control system adjusts for any discrepancy between the commanded and the reported position. Open-loop systems are generally cheaper but less accurate (Wikipedia), which is the trade-off for a low quote for a stepper-driven machine.
ISO 230-2, now in its 2014 edition, specifies methods for testing the accuracy and repeatability of positioning of numerically controlled machine tool axes by direct measurement of individual axes on the machine. A buyer can ask whether the critical axes have encoder or linear-scale feedback and whether an ISO 230-2 positioning report exists for the machine that will cut the part.
Types of CNC Machines and the Parts Each One Makes

A CNC lathe makes rotational parts like shafts, a CNC milling machine (or machining center) makes prismatic parts like housings, and the features on the drawing determine the machine used and the route a supplier quotes. The table below shows part features and the machine that typically cuts them.
| Part feature | Machine | What triggers the route |
|---|---|---|
| Round shaft or pin | CNC lathe | Bar rotates, tool stays fixed |
| Shaft with cross hole or flat | Mill-turn lathe | Driven tools mill in one clamping |
| Long, slender shaft | Swiss-type lathe | Guide bushing supports the bar |
| Plate with pockets on one face | 3-axis machining center | All features reached from above |
| Housing with features on several sides | 4-axis machining center | Rotary table indexes the part |
| Angled holes, undercuts, contours | 5-axis machining center | Tool or table tilts to reach |
| Fit or sealing face with a fine finish callout | CNC grinding machine | Grinding follows turning or milling when fine machining cannot hold the callout |
| Hole pattern across a large plate | Radial drilling machine | Head moves, plate stays clamped |
| Through-profile with small internal corner radii | Wire-cut EDM machine | Wire is the tool electrode, no cutter load; wire diameter limits the smallest corner radius |
Zhenling Metal runs CNC turning, milling, grinding, boring, radial drilling and wire-cut electrical discharge machining, together with 3-axis and 4-axis machining centers and imported 5-axis machining centers, in its Jiashan, Zhejiang workshop. A mill-turn or Swiss-type quote for a simple shaft should trace to row 2 or 3, because each row calls for a different machine. See CNC milling from drawing to inspected part for rows 4 to 6, planning CNC turning from geometry to inspection for rows 1 to 3, and Swiss-type turning for row 3.
Can you give me an example of a CNC machine?
The standard example is of a CNC vertical machining center: a tool spindle holds the cutting tool, a table holds the workpiece, and the control moves the axes along X, Y, and Z to mill the part. A CNC lathe is the other common example, where bar stock is turned against a fixed cutting tool on a lathe.
A CNC milling machine fitted with a tool magazine and an automatic tool changer swaps CNC tools between operations, a step the NC milling machine MIT demonstrated in 1952 couldn’t do on its own.
Tolerances and Surface Finish to Expect from a CNC Machine Tool

For drawings specifying ISO 2768-1:1989 class m, linear dimensions without individual tolerances have tolerances of ±0.2 mm for sizes over 6 up to 30 mm and ±0.3 mm for sizes over 30 up to 120 mm; Astro Pak lists Ra 3.2 µm (125 µin) as a standard as-machined finish.
| Nominal size (mm) | Permitted deviation (mm) |
|---|---|
| 0.5 up to 6 | ±0.1 |
| Over 6 up to 30 | ±0.2 |
| Over 30 up to 120 | ±0.3 |
| Over 120 up to 400 | ±0.5 |
| Over 400 up to 1,000 | ±0.8 |
ISO 2768-1:1989, the source of these values, was withdrawn in November 2026 and replaced by ISO 2768:2026, which covers linear sizes from 0.5 mm up to and including 4,000 mm and angular sizes, not linear or angular distances. Most drawings and suppliers, Zhenling Metal included, still quote the 1989 table, so a new drawing should name the edition it cites.
Zhenling Metal applies ISO 2768-m unless the drawing specifies otherwise. In precision machining, dimensions that hold at class m need no callout; the general tolerance class comparator shows how the classes differ for a given size, and a tighter tolerance belongs on fits and sealing faces. Tool wear is one of the reasons for a long run drifting from the default finish and stated machining accuracy.
CNC vs Manual Machining vs 3D Printing for Metal Parts

CNC machining supports repeat production and controlled tolerances; an available manual machine can handle a single simple cut while CNC capacity is occupied; metal 3D printing can form internal channels beyond cutting-tool access when the design allows removal of powder or supports.
As a machining method, manual machining wins on availability, not speed. The CNC Cookbook author’s number one reason to use a manual machine is that the CNC machine is too busy on a production run, yet the author’s one-off R8 taper was faster on a CNC toolroom lathe. Quantity one alone therefore doesn’t send a part to a manual machine.
| Factor | CNC machining | Manual machining | Metal 3D printing |
|---|---|---|---|
| Wins when | The part repeats or needs a controlled tolerance | The CNC machine is busy and the job is one simple cut | Internal channels or lattices are out of reach for a cutting tool |
| Setup before the first part | Program and fixture setup, spread over the batch | Fixture setup only, no program | Build file and support planning |
What Drives the Cost of a CNC Machined Part

Per-part cost in CNC manufacturing falls with quantity because setup is spread over the batch: in the example below, with an assumed 90-minute setup, $60 per hour and 6 minutes per part, one piece costs $96, ten cost $15 each and a hundred cost $6.90 each, before material and finishing.
Assumed inputs: setup 90 minutes, rate $60 per hour, run time 6 minutes per part; setup costs 1.5 h × $60 = $90.00 and one run costs 0.1 h × $60 = $6.00.
| Quantity | Setup share per part | Run cost per part | Cost per part |
|---|---|---|---|
| 1 | $90.00 ÷ 1 = $90.00 | $6.00 | $96.00 |
| 10 | $90.00 ÷ 10 = $9.00 | $6.00 | $15.00 |
| 100 | $90.00 ÷ 100 = $0.90 | $6.00 | $6.90 |
The 100-piece price is $6.90 ÷ $96.00 = 7.2 % of the single-piece price, because run time stays fixed while setup divides.
Zhenling Metal’s CNC machining service has engineers review each drawing and provides quotes within 24-48 hours on business days. Prototypes ship in 3–10 business days after drawing approval and small batches in 5–20 business days; production runs are scheduled at 3–10 weeks, and there’s no minimum order quantity.
A quote package a shop can price without guessing holds five items; the drawings, tolerances and RFQ guide and the CNC machining cost breakdown go deeper:
- 2D drawing (PDF, DWG or DXF) with tolerance band and finish callouts
- 3D model in STEP, IGES, Parasolid or SolidWorks format
- Material grade and condition
- Batch size, including repeat quantity
- Inspection requirements
What’s Changing in Numerical Control Machining

STEP-NC (ISO 14649) was designed to replace G-code. In practice, many CNC controls continue to execute ISO 6983-1:2009 G-code programs because format support depends on the controller implementation. The change underway is in checking: Digital twins of the machine tool let a program be tested in a virtual environment, prior to metal being cut.
NIST published data requirements for a digital twin of a CNC machine tool in 2025. A buyer who wants the virtual check can ask for the simulation result of the program together with the first article.
Frequently Asked Questions About Numerical Control Machining
Q: What does CNC stand for?
CNC stands for computer numerical control.
In computer numerical control, a processor stores and runs the program, numerical refers to instructions coded as numbers for position, feed and speed, and control means the machine executes them without handwheel input. Computer numerically controlled is the adjective form, as in a computer numerically controlled lathe.
Q: Is CNC programming a good job?
Yes, for anyone weighing the trade behind the parts they buy: the US Bureau of Labor Statistics lists $68,120 per year as the median pay of computer numerically controlled tool programmers in May 2025.
Machinists, who set up and run the machine, had a median annual wage of $58,750 in May 2025, so a CNC programmer earns $68,120 – $58,750 = $9,370 more at the median.
Q: Is CMM the same as CNC?
No. A CMM (Coordinate Measuring Machine) measures part geometry, while CNC is a type of control that can run a cutting machine or a measuring machine.
Manual CMMs exist as well as computer-controlled CMMs, and they probe surfaces and report coordinates instead of removing material. A shop measures drawing dimensions on a CMM before, during, or after the cutting operation.
Q: Which is better, CNC or PLC?
Neither is better, because a CNC drives the axes of the machine along a part program, and a PLC controls discrete outputs like a clamp or coolant pump.
Q: Do you need a license to use a CNC machine?
A CNC operator in the US usually qualifies through training on the job rather than a separate license: the BLS employment projections list a high school diploma and moderate-term on-the-job training as the typical path.
CNC tool programmers typically have a postsecondary nondegree award in the same BLS table. A machine operator is trained on the control, work offsets and the tool change cycle on the machine in use. CAD and CAM software has its own license, while the computer program it outputs, G-code, is a text file.
Q: What is DNC in machining?
DNC, or direct numerical control, is software that sends part programs from a central computer to the machine controls over a network.
References & Sources
- ISO 6983-1:2009 data format, ISO
- ISO 841 coordinate system, ISO
- ISO 230-2 positioning tests, ISO
- ISO 2768-1:1989 general tolerances, ISO
- ISO 2768:2026 general size specifications, ISO
- Servomechanisms Laboratory records, MIT ArchivesSpace
- US2820187A positioning patent, Google Patents
- History of numerical control, Wikipedia
- Computer numerical control, Wikipedia
- STEP-NC, Wikipedia
- RS274NGC interpreter, version 3, NIST
- Digital twin of a CNC machine tool, NIST
- Encoder signals and tool center point, arXiv
- Metal and plastic machine workers, BLS
- Machinists and tool and die makers, BLS
- Occupational employment projections, BLS
- Why open-loop steppers lose steps, Machine Design
- Your machinists are not the problem, Cutting Tool Engineering
- When is manual machining better than CNC?, CNC Cookbook
- General ISO tolerance table, Engineers Edge
- Surface roughness average (Ra), Astropak
About This Analysis
Dates in this numerical control machining guide come from MIT archive records and a 1952 patent, format and tolerances from ISO catalogue entries, and pay figures from the US Bureau of Labor Statistics.







![Shop-Floor Carbon Steel CNC Machining Guide [2026]](https://zhenlingmetal.com/wp-content/uploads/2026/08/carbon-steel-cnc-machining-handbook-r2-featured-150x150.png)
