There are many reasons for the error of the machine tool, and the on-machine measurement cannot be widely used in the processing plant due to the complicated operation or expensive equipment, which makes it impossible to correct the error immediately and improve the accuracy. This article first introduces the 43 errors of machine tools, then discusses the compensation functions and instrument measurement methods provided by foreign commercial controllers for errors, and finally proposes the solution of ITRI, through the design of a teaching man-machine interface, which simplifies the difficulty of operating the instrument for users, and writes a Marco program to automate various measurement steps and methods. In the design of the graphical interface corresponding to the actual machine position, it quickly understands the parameter position that needs to be filled in, completes the on-machine measurement function, increases the willingness of the manufacturer to use, and improves the accuracy of the machine.