节点文献
基于OPC UA规范的数控组态开发系统的研究
Research on NC Configuration Development System Based on OPC UA Specification
【作者】 王刚;
【导师】 杨建中;
【作者基本信息】 华中科技大学 , 机械工程, 2018, 硕士
【摘要】 组态软件在工业控制领域的监控软件中到得了广泛的应用,而在数控领域中,组态系统主要用于开发上位机HMI软件,实现对机床状态的交互控制。机床辅助设备的控制由可编程控制器来完成,软PLC的组态化设计在数控领域同样发挥着重要作用,但是对人机界面和软PLC没有完整的组态化实现方案。并且随着制造业智能转型和升级,数控技术向着网络化和开放性的方向发展,而面向数控系统特定API进行的组态软件设计,组态开发具有专一性行,不能满足数据交互的开放性,开发具有开放性的上位机和软PLC的组态系统已经成为数控系统发展的迫切需求。本文提出了一种基于OPC UA规范的数控组态开发方法,并对上位机组态开发和梯形图组态开发的整体方案进行研究,为上位机对下位机和软PLC的数据交互提供依据,提高对整个数控系统的状态监控、数据访问和交互控制的性能。针对上位机的组态化模块,依据OPC UA规范的特点,进行了OPC UA数据对象进行组件化的设计与封装,并设计图形组件与数据组件的交互模块,实现数控界面的可视化编辑。设计OPC UA客户端的相关接口,使数控系统上位机软件能够与OPC UA服务器建立连接,并实现读写、订阅等数据交互服务。针对软PLC的组态化模块,设计了梯形图的组态编辑器,详细描述了梯形图图元的编辑和梯形图程序的存储原理,对梯形图进行语法逻辑检查,同时对梯形图到标准化的PLCopen XML文件转换的具体过程进行阐述。把梯形图组态编辑器集成到数控组态软件上,完成数控界面组态和逻辑组态的整体部署。并利用组态平台进行了数控人机界面和梯形图程序的开发,实例验证实本文所研究的组态化技术可以满足数控界面开发和梯形图开发的要求。
【Abstract】 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.
【Key words】 CNC System; Configuration; Human Machine Interface; OPC UA; Ladder Diagram;
- 【网络出版投稿人】 华中科技大学 【网络出版年期】2019年 06期
- 【分类号】TG659
- 【被引频次】7
- 【下载频次】257