A significant aspect of CNC machining is the use of G-code and M-code programming languages. G-code presents Recommendations with the device’s actions, for example linear and circular interpolation, although M-code controls additional equipment capabilities like spindle speed and coolant flow3.CNC lathes are machines that rotate a workpiece close