A essential component of CNC machining is using G-code and M-code programming languages. G-code provides Guidelines for that device’s movements, including linear and round interpolation, when M-code controls added machine features like spindle velocity and coolant flow3.CNC lathes are machines that rotate a workpiece all around a stationary reduc