Computer numerical control (CNC) is the technology that drives most modern industrial machine tools, from milling machines and lathes to waterjet and laser cutters. Understanding how it works helps both newcomers and experienced professionals get more out of their production processes.
In this article we explain what CNC is, its main components, how CNC programming works, the most common software and operations, its advantages and challenges, and where the technology is heading.
Computer numerical control (CNC) is a control system that automates the movements and operations of a machine tool. Instructions are written as code, loaded into the machine and interpreted by its built-in computer, which then drives the axes, the spindle and the tool.
CNC is mostly used with subtractive processes such as milling, turning, drilling, routing and cutting, but it also controls additive technologies such as 3D printing.
How does CNC differ from manual control? With manual control, the operator guides the machine by hand for every single part, so each piece takes the same effort and small variations between parts are inevitable. With CNC, a program written once can be run again and again, producing any number of identical parts.
A brief history. The idea of numerical control dates back to the late 1940s, when John T. Parsons and Frank L. Stulen developed a method to machine helicopter rotor blades using punched-card data. The first numerically controlled milling machine followed at MIT in the early 1950s, and with the spread of computers numerical control became computer numerical control, today the standard across manufacturing.
CNC is a multi-stage process that turns a digital design into a finished part.
1. Writing the program. The part is first designed as a 2D drawing or 3D model in CAD software. The model is then processed in CAM software, which calculates the toolpaths and generates the instructions the machine can read. Running a simulation at this stage helps catch errors before anything is cut.
2. Loading the program. The program is transferred to the machine control unit through the network, a USB drive or a dedicated port. The operator then sets up the workpiece, the tools and the machine parameters.
3. Running the program. The operator starts the cycle from the control panel. During machining the CNC continuously receives feedback from the axes and corrects the motion. The cycle ends when the program is complete, when an error is detected or when the operator presses the emergency stop.
CNC programs are mainly written using two types of code.
G-code (geometric code) tells the machine how to move: where to go, along which path and at what speed. G-code is largely standardized by ISO 6983, although each control can have its own variations, such as the number of leading zeros or the spacing between commands.
M-code (miscellaneous or machine code) controls the functions that are not movements, such as starting and stopping the spindle, switching coolant on and off, changing tools, and pausing or ending the program.
Automation: a single program can produce as many parts as needed, with minimal operator intervention.
Precision: computer-controlled movements remove most human error and achieve tight tolerances.
Productivity: CNC machines can run around the clock, increasing output.
Repeatability: every part is virtually identical to the previous one, batch after batch.
Versatility: the same control technology drives milling, turning, routing, cutting and even additive processes.
Flexibility: changing the product only means changing the file, which makes customization and small batches easier.
Safety: operators stay away from the cutting area, and modern machines are protected by guards, light curtains and safety interlocks.
Data: machine data can be collected and analysed to optimize processes and plan maintenance.
Among CNC processes, waterjet cutting stands out for its versatility. A jet of water at very high pressure, mixed with abrasive for hard materials, cuts almost any material, from steel and aluminium to stone, glass, composites and rubber.
Because it is a cold process, waterjet cutting leaves no heat-affected zone: the material keeps its properties and the edges need little or no finishing. The CNC guides the cutting head along the programmed path, often on 5 axes for bevels and 3D parts.
TECHNI Waterjet, part of the Biesse Group, designs waterjet cutting systems and high-pressure pumps for these applications.
CNC is used wherever parts must be produced accurately and repeatably.
Automotive and aerospace: engine components, structural parts and lightweight components with complex geometries.
Metal fabrication and industrial machinery: sheet metal parts, frames, tools and dies.
Furniture, building and architecture: panels, doors, windows, worktops, and stone and glass elements.
Other sectors: defence, marine, agricultural machinery, food and beverage equipment, jewellery and art.
Programming: creating programs for complex parts requires skilled programmers and suitable software.
Skilled operators: operators need training to set up the machine, load programs and adjust parameters.
Safety: CNC machines work at high speeds and forces, so guards, interlocks and specific training are essential.
Changes on the fly: every change to the part requires updating the program, so last-minute modifications at the machine are limited.
Compatibility: older equipment cannot always be upgraded to CNC, and integrating new machines into existing lines needs planning.
Delicate materials: brittle or sensitive materials require a careful choice of tools, parameters and fixturing.
Is CNC hard to learn? With proper training and the right software, CNC is accessible: programming, setup and operation are often handled by different specialists, and modern controls guide the operator step by step.
Robotics and automation: robots load and unload parts, creating production cells that can run unattended from start to finish.
Artificial intelligence and data: connected machines collect data to optimize parameters, predict maintenance and remove bottlenecks, while operators monitor several machines remotely.
Virtual reality and digital twins: virtual models of the machine let operators train and programs be tested safely before production.
Why does CNC matter? CNC delivers the precision, consistency and productivity that modern manufacturing requires, from mass production to one-off custom parts.
CNC stands for computer numerical control: a system in which a computer reads a program and controls the movements and functions of a machine tool, such as a milling machine, lathe, router or waterjet cutter.
