| With the continuous development of the manufacturing industry,higher requirements are put forward for the intelligence and automation of CNC machine tools.Therefore,it is of great significance to study the automatic programming technology in the field of CNC machining of hob edge grinding machines.Traditional numerical control machining requires manual programming of numerical control code,which has a large amount of programming,a high probability of error,and a low programming efficiency.It can no longer meet the requirements of today’s automated and intelligent production.At present,the widely used general CAD/CAM automatic programming systems require very specialized technology and relevant knowledge,require high requirements for operators,and cannot be well applied to specific parts.Due to the increasing number of customized orders for individual hobs,it is not conducive to the promotion and use of such software in the production and processing of hobs.Based on the above situation,this project aims to develop a zero programming system for hob edge grinding machines,which is used to automatically generate CNC codes that can be used for production and processing on CNC machines.During the development of the zero programming system,the following contents were studied:1)Analyze the coordinate relationship between the hob and the grinding wheel during the cutting edge grinding of the hob,establish a mathematical model for meshing mapping between the hob rake face and the working surface of the grinding wheel,calculate the grinding wheel cross-section corresponding to different hob rake angles,and analyze the impact of the hob rake angle on the grinding wheel cross-section during the cutting edge grinding.According to factors such as the calculated grinding wheel profile and the actual structure of CNC machine tools,the grinding wheel trimming position and path are planned.2)Use the probe on the CNC machine tool to complete the tool setting of hob sharpening grinding,and analyze and calculate the tool setting process of sharpening grinding.According to the positions of the grinding wheel and the hob after the tool setting is completed,the planing and calculation of the grinding process of the hob is carried out.3)A zero programming system for hob edge grinding machines is developed using C #programming language and Visual Studio development tools.Input the relevant parameters of the hob and grinding wheel,and the software can perform the calculation of the grinding wheel cross-section,the display of the grinding wheel cross-section,the calculation of the hob cutting edge grinding,and the cutting edge grinding,and automatically generate the corresponding numerical control code according to the designed numerical control program.Customize the Rexroth CNC system interface to input processing parameters for use with CNC codes generated by the software on CNC machines.4)According to the structure of CNC machine tools used in actual production and processing,a simulation model is built in VERICUT software and a simulation environment is configured to verify the correctness of the NC code automatically generated by the zero programming system.The functional testing of the zero programming system developed in this project has shown that its parameter management module,data processing module,image display module,and NC code generation module all operate stably.The correctness of the automatically generated NC code has been verified through simulation.The system has the advantages of low cost,high efficiency,and strong maintainability,effectively avoiding many problems caused by manually writing NC code. |