CNC is a technology in which functions are control by a computer program that contains alphanumeric …