# Types of CNC Machine Axes

Learn how CNC machine axes work: X, Y and Z linear motion, A, B and C rotary axes, and what 3-axis, 4-axis and 5-axis machining can do.

Types of CNC machine axes describe how a machine moves the cutting tool and the workpiece, and each axis adds one direction or one rotation. The X, Y and Z axes give straight-line linear motion, while the A, B and C axes turn the part or the tool. Knowing this set of axes explains why a 3-axis mill cuts one face at a time and why a 5-axis machine can reach an angled face in a single setup. 

## Linear axes: X, Y and Z 

The X, Y and Z axes are the linear axes, and each one moves in a straight line at right angles to the other two. The X axis moves left and right, the Y axis moves front to back, and the Z axis moves up and down along the spindle. A 3-axis machine uses these three directions, so the tool always meets the part from the same side. Work that needs holes or faces on other sides must be turned by hand or moved to a second setup. 

## Rotary axes: A, B and C 

The A, B and C axes are rotary axes, and each one spins around one of the linear axes. The A axis turns about X, the B axis turns about Y, and the C axis turns about Z. A 4-axis machine adds one of these rotations so the part can be indexed to a new face without a new setup. Indexed machining holds the rotary axis still while cutting, and the rotation happens between operations. 

## 5-axis machining and simultaneous motion 

A 5-axis machine carries the three linear axes plus two rotary axes, which gives the tool five degrees of freedom. The two rotary axes can be built into the spindle head, into a tilting table, or split between head and table. Simultaneous axes move all five together, so a ball nose cutter can follow a curved surface while staying square to it. This lets one setup machine complex parts such as impellers and molds from several directions. 

## Questions about CNC machine axes 

### How many types of axis are there in a CNC machine? 

There are six basic axis types in a CNC machine, labeled X, Y, Z, A, B and C. Three of them, X, Y and Z, are linear axes that move in a straight line. The other three, A, B and C, are rotary axes that turn around the linear ones. A machine can be built with any number of these axes, though three, four and five are the standard configurations. 

### What are the 5 axis on a CNC machine? 

The 5 axis on a CNC machine are the three linear axes X, Y and Z plus two rotary axes chosen from A, B and C. One rotary axis tilts the tool or the part, and the other rotates it around the table. The exact pair depends on the machine design, such as a trunnion table or a swivel head. Together they let the cutter approach the part from many directions. 

### What are the 6 axis and 7 axis on a CNC machine? 

The 6 axis on a CNC machine are the full set of X, Y, Z, A, B and C, which covers every linear direction and every rotation. A 7-axis machine adds one more axis, such as a second spindle or a secondary rotary axis on the table. The extra axis gives more reach and flexibility on complex parts. Programmers must watch for collisions very carefully on such machines. 

### What is the difference between 5-axis and 3-axis machining? 

The difference between 5-axis and 3-axis machining is how the tool reaches the part. A 3-axis machine moves the cutter only in straight lines, so the part needs several setups to reach other faces. A 5-axis machine tilts and rotates the part or the tool, so it can cut angled faces and curved contours in one setup. That reduces re-fixturing, but it needs a trained programmer and a verified postprocessor.
