The invention relates to an automatic detection and 
early warning system for a 
numerical control machine tool and the operation method of the automatic detection and 
early warning system. The automatic detection and 
early warning system comprises an input unit, a transmission unit, an analysis and calculation unit, a coordinate detection unit, a coordinate comparison unit and an alarm unit. The input unit is used for reading a 
processing program into a 
machine tool, andconverting the 
processing program into a readable 
analog signal. The analysis and calculation unit is used for reading the 
processing program, andcalculating a theoretical coordinate value. The transmission unit is used for driving the mechanical part of the 
machine tool to move through the readable 
analog signal. The coordinate detection unit is used for detecting the actual coordinate value of the mechanical part of the 
machine tool in real time. The coordinate comparison unit is used for comparing the theoretical coordinate value with the actual coordinate value. If the difference value between the theoretical coordinate value and the actual coordinate valueis within the range of a threshold value A, the numericalcontrol 
machine tool works normally. Otherwise, the alarm unit is started to give an alarm. According to the invention, the program data can be analyzed in advance when the 
system works normally. Theon-line real-time detection is carried out, and the 
machining state is monitored in real time. The tool damage of the 
numerical control machine tool can be effectively prevented, and the 
operation safety and the operation reliability are improved.