| CNC Corner Cleaning Machine is typical numerical control equipment, mainly used in thefield of plastic doors and windows processing, clean up the flat weld and outer corner of theweld, have a very important purpose. At present, between domestic and foreign products, thereis still a large gap. Mainly in operating difficulties, the interface of the numerical controlsystems is simple, in poor stability, and programming is all done manually. In order to improvethe production efficiency and reduce production costs, by the study of advanced controltechnology to create an intelligent, humanized, and high reliable CNC Corner CleaningMachine, which is the most urgent requirement of the current market.This paper presents a Corner Cleaning Machine’s Open-CNC System Based on PC, whichis supported by the Science and Technology Projects of Shandong Province, the UniversityProjects of Independent Innovation, and the Corporate Projects, and regards CNC CornerCleaning machine as a research goal, the “PC+motion control card†control methods as thebasis of the study. This paper focuses on open CNC corner cleaning machine, with the purposeof solving the current situation of low degree of intelligence and efficiency to meet the needs ofthe Chinese market in China CNC corner cleaning machine field.With the analysis of CNC Corner Cleaning Machine trends and user requirements, and theexploration of the open numerical control structure for the development of Corner CleaningMachine, Chinese CNC Corner Cleaning Machine has many shortcomings, for example, thelow degree of intelligence, complex operation, and the bad openness. The structure of CNCCorner Cleaning Machine has been redesigned, and a “PC+motion control cardâ€of the controlmode has been determined to meet the motion control and functional requirements of CNCCorner Cleaning Machine.The overall architecture of the CNC Corner Cleaning Machine was established, theappropriate components was selected to build the hardware platform, and windows XP wasused as operating system. With the designing of application software, the analysis of clearcorner machine movement process and the function of the motion controller, the NC programwas written to achieve motion control in VB Environment.With the use of object-oriented development methods and some of the features of the CNC system, the properties and behavior of the various functional modules were identified. With theuse of VB, we prepared the automatic mode, manual mode, the teach mode, operatingparameters, system parameters, fault diagnosis, help, shutdown module. The CNC system hasgreatly enhanced the versatility and compatibility of open hardware and software. Conducive tothe integration of other control systems and the corresponding technical process, they areintegrated into a complete and seamless control system.Here proposes a method of optimized DXF files generated NC code technology. DXF fileare processed by the minimum trip optimization method and the closest method. NC code isautomatically generated according to the NC instructions. At the same time with the tooltrajectory curve describe the dynamic display of real-time process. Experiment shows that theproposed method can automatically generate NC code to improve processing efficiency, andensure the accuracy.The NC code decoder and NC code syntax checking module has been written. When theNC code file has been read, it will be decoded and checked. When decoding and checking iscompleted, the correct command is sent to the motion controller and the interpolation operation.Finally, CNC Corner Cleaning Machine will complete a continuous motion, and ensure theaccuracy of I/O controls trajectory dynamic display.After a series of analysis and design, we have almost completed a PC-based CNC CornerCleaning Machine open numerical control system design, laid a solid foundation for thedevelopment of intelligent and humanized Open-CNC Corner Cleaning Machine. |