| CNC machine tools are core equipments in manufacturing. Higher machine tool accuracy, higher machine tool utilization and faster response to machine alarms make lower cost and higher efficiency. There is increasingly strong demand for integration of CNC machine tools. And the computer numerical system is entering a new era. which emphasizes open system, integration, networking and intelligence.This paper makes work on the technologies of CNC communication. CNC integration, machine error compensation and reconstruction of NC program which are involved by building a CNC integration platform supporting error compensation.The network communication structure of platform and the main function modules, such as. CNC communication module, tool error compensation module, machine tool error compensation are designed.The platform structure is designed based on WCF Windows Communication Foundation Service. The server and client software is implemented, which lahs foundation for integration A tool error information model is established. Using CNC/PMC Data Window Library, which is used for exchanging data and information between a personal computer and the CNC/PMC through the Ethernet (TCP/IP), an interface for tool error information transformation is established. According to the requirements of NC program reconstruction. NC program modification algorithm and determination of the error compensation point are studied. Using the characteristics of the spatial orientation movement, linear interpolation movement and the circular interpolation movement of CNC machine tools, three interpolation algorithms for NC program modification are obtained.The application of tool error compensation module is tested in the CNC repair training laboratory of Shanghai Vocational and Technical Training Center. The results show, the tool error compensation module succeed in tool error compensation. On the basis of machine positioning error measurement, an error compensation experiment is made to test the interpolation algorithm. The results show, the location accuracy of the machine has increased. |