The invention is a digital lathe error real-time compensator based on lathe external coordinate
system offset. It includes calculating and
processing module, CNC port and
motion control module, sensor and transmitting module. The sensor and transmitting module is linked with calculating and
processing module by data cables. The calculating and
processing module is linked with CNC port and
motion control module by data cables and communication protocol and acquires the input and output, saving, calculating of the signals. The CNC port and
motion control module offsets the lathe external coordinate
system to extra move the lathe by
service system according to compensating value received as signals outputted from the calculating and processing module. The sensor and transmitting module gathers the temperature and heat error signals of the lathe and transmits to processing module after processed. The calculating and processing module may links with the computer so to acquire the command and data transferring and saving between the superior and inferior
machine. The invention is of simple structure, handily use, low cost, highly real-time, more efficient compensation with a bright industrializing foreground.