CNC machining uses a standard naming convention for the axes of movement. This creates a common understanding when programming machines. When standing in front of a CNC lathe with the spindle on the left, the axes are:
X – backwards and forwards.
Z – left to right.
Y – up and down.
B – rotation about the Y-Axis
C – rotation about the Z-axis.