| Configuration software has been widely used in monitoring software in the field of industrial control.In the field of CNC,the configuration system is mainly used to develop the HMI software of the upper computer to realize the interactive control of the machine state.The control of the machine tool auxiliary equipment is completed by the programmable controller.The configuration design of the soft PLC also plays an important role in the field of CNC,but there is no complete configuration program for the man-machine interface and the soft PLC.And with the intelligent transformation and upgrading of manufacturing industries,CNC technology is developing in the direction of networking and openness,and configuration software development and configuration development for specific APIs of CNC systems has a specific nature and cannot satisfy the openness of data interaction.Sexuality,the development of an open PC and soft PLC configuration system has become an urgent need for the development of CNC systems.This paper proposes a method of numerical control configuration development based on OPC UA specification,and studies the overall configuration of upper computer configuration development and ladder diagram configuration development,and provides the basis for upper computer to data exchange between lower computer and soft PLC.Improve the performance of status monitoring,data access,and interactive control of the entire CNC system.According to the characteristics of the OPC UA specification,according to the characteristics of the OPC UA specification,the OPC UA data object is designed and packaged as a component,and the interaction module between the graphic component and the data component is designed to realize the visual editing of the CNC interface.Design the relevant interface of the OPC UA client so that the PC software of the CNC system can establish a connection with the OPC UA server,and realize data exchange services such as reading,writing and subscription.For the configuration module of the soft PLC,a configuration editor for the ladder diagram is designed,which describes in detail the principle of the editing of the ladder diagram elements and the storage principle of the ladder diagram program,and the syntax logic of the ladder diagram is checked,and at the same time,the ladder diagram is standardized.The specific process of PLCopen XML file conversion is elaborated.Integrate the ladder diagram editor into the CNC configuration software and complete the overall deployment of the CNC interface configuration and logic configuration.And the use of configuration platform for the development of numerical control human-machine interface and ladder diagram program,examples verify that the configuration technology studied in this article can meet the requirements of CNC interface development and ladder diagram development. |