本文已被:浏览 1492次 下载 2845次
Received:June 20, 2016 Revised:July 25, 2016
Received:June 20, 2016 Revised:July 25, 2016
中文摘要: 数控系统自带的标准化的人机界面,展现给用户大多是同一种形式,不能满足用户特殊定制需求以及专用的数控系统的界面需求.在分析用户的界面定制需求的基础上,提出基于Qt的Graphics View Framework及model/view架构的可视化数控系统人机界面二次开发平台设计方法.首先采用面向对象的二次开发方法将界面所需的组件注册到平台并绑定对应的属性对象,然后采用参数化的二次开发方法完成界面的定制,最后用XML文件作为配置文件描述定制的图形界面,在开发平台与数控系统之间传递界面数据.二次开发平台主要包括PC端配置平台以及NC端解析平台两个模块.实验结果表明平台在数控系统人机界面的专项定制及复用方面取得良好的效果,提高了数控系统的人机界面开发效率.
Abstract:The CNC System with standardization HMI, mostly presents the same kind of form and cannot meet customer and dedicated CNC System's special requirements. Based on the analysis of the user interface customization demand, this paper designs a visual secondary development platform for the CNC System HMI based on Qt Graphics View Framework and model/view architecture. Firstly it registers components to platform and binds the corresponding property objects by using the object oriented secondary development method then completes the interface customization through the parameterization. Finally it uses the XML file as the configuration file to describe the graphical interface and transfer data between platform and CNC System. The secondary development platform mainly includes two modules which are PC configuration platform and NC analytic platform. The experimental results show that the platform has achieved good results in the special customization and reuse of CNC System's HMI, and the development efficiency of HMI is improved.
文章编号: 中图分类号: 文献标志码:
基金项目:“高档数控机床与基础制造装备”国家科技重大专项,航空发动机微孔冷加工超快激光数控机床(2014ZX04001041)
引用文本:
吴慧杰,王品.数控系统人机界面二次开发平台的设计.计算机系统应用,2017,26(3):68-74
WU Hui-Jie,WANG Pin.Design of Secondary Development Platform for the CNC System Human Machine Interface.COMPUTER SYSTEMS APPLICATIONS,2017,26(3):68-74
吴慧杰,王品.数控系统人机界面二次开发平台的设计.计算机系统应用,2017,26(3):68-74
WU Hui-Jie,WANG Pin.Design of Secondary Development Platform for the CNC System Human Machine Interface.COMPUTER SYSTEMS APPLICATIONS,2017,26(3):68-74