Design and Research of HMI Based on the Qt for CNC System
R. Sun,Xiang Sun,Guanghe Cheng
DOI: https://doi.org/10.2991/AMEII-16.2016.249
2016-04-09
Abstract:Development of NC system HMI requirements, construction and development of the numerical control system human-machine interface system based on the AM3352. WinCE system, introduced in Qt language design and development method of embedded numerical control system human-machine interface. Design of human-machine interface based on Qt and related applications, including the overall framework design, the g-code editor design, design and graphic simulation of the main part of the study file manager. For G02 and G03 graphic simulation paper also presents a more detailed algorithm steps. Experiment and test results showed that the CNC system is the system of human-computer interaction and control requirements. Introduction With the rapid development of computer technology, embedded technology has now become a hot new trend. CNC system as a special-purpose computer systems with industrial control functions as embedded technologies become more sophisticated, more and more to the development of networked, intelligent, and miniaturized. For fast developing embedded CNC system control program, breaking away from the traditional poor interface versatility, stability, software development lifecycle and other shortcomings, people come to look into research on human-machine interface based on embedded system, particularly with respect to different embedded operating systems needed a cross-platform development language, so this article uses the Qt cross-platform development language as the design and development of open CNC system of a human-machine interface development languages. Research and development of open CNC system for promoting the development of industrial automation plays a huge role [1] [2]. Based on EPC-9200 Control Board +WinCE for the development of embedded NC system HMI platform using Qt as a development language. Qt introduction and development environment to build Qt introduction. Qt is a cross-platform C++ graphical user interface library, by Norway TrollTech Company, Qt supports all UNIX systems, including Linux, of course, also supports WinNT/WinCE, Win95/98 platform. Basically, Qt has like Openwin, GTK, MFC, VCL, ATL this kind of thing, but Qt has the following advantages: (1) a good cross-platform features, (2) object-oriented, and (3) rich API and (4) support 2D/3D graphics rendering, supports OpenGL and (5) a lot of development document (6) XML support[3][4]. Development environment to build. CNC system based on WinCE development needs based on WinCE system PC development environment, that is, build “VS+Qt+SDK” development environment. This specific development environments are as follows: hardware includes installing 2nd International Conference on Advances in Mechanical Engineering and Industrial Informatics (AMEII 2016) © 2016. The authors Published by Atlantis Press 1332 WIN7 PC machine, pre-installed Windows Embedded CE6.0 EPC-9200I-W industrial control panel software, including Visual Studio2008, WinCE6.0_Standard_SDK, Microsoft ActiveSync4.5. And then Qt4.8 (higher or just need a later version of VS) compiled class library configuration to VS2008, which can develop Qt applications on VS2008, environment build complete. CNC system CNC system Functional Requirements. According to actual needs, design block diagram of the main interface of the CNC system is constructed, as shown in Figure 1. CNC main interface is divided into coordinates, program editing, paranoid setting, processing, monitoring, maintenance, diagnosis, parameter setting, system, this 8 module as a first layer [5]. Through the lower edge of the display 8 buttons for switching modules and commands. Which, coordinates module main is responsible for coordinates switch, and clear, function; program edit module main achieved processing program of edit, and file management and graphics simulation, function part; partial reset set module main achieved artifacts coordinate system set, and props set, and on knife, function; processing monitoring module main is graphics simulation displayed and processing records, and clear time cumulative, and graphics adjustment, function; maintenance module main is including alert displayed, and network set and information backup, function; Diagnostic functions mainly on fast diagnosis of system operation, including the PLC status, system information, sharing information, program variables and operating records; parameters including the parameter matrix, application parameters, parameters and compensation table data system module was introduced to system manufacturers and system profile. Main Interface Coordinates Program Editor Bias Setting Processing Monitor Maintain Diagnostic Functions
Computer Science,Engineering