Because the CNC machine tool is an automated machine tool, during processing, according to the requirements of the workpiece pattern and the processing process, the movement, speed and sequence of actions, spindle speed, spindle rotation direction, and tool head clamping of the tools and components used are , The operation of cutter head loosening and cooling, etc., are compiled into a program list in the form of prescribed numerical control codes, and input into the special computer of the machine tool. Then, the numerical control system compiles, calculates, and logically processes according to the input instructions, outputs various signals and instructions, and controls each part to process various workpieces of different shapes according to the prescribed displacement and sequential actions. Therefore, programming has a great influence on the effectiveness of CNC machine tools.