| Crankshafts are widely used in engines.At present,many domestic and foreign companies mainly use turning-milling or multi-axis machining centers for crankshaft processing.However,for small and medium-sized factories in China,the expensive crankshaft processing equipment significantly increases the cost of crankshaft processing and reduces the benefits.In addition,due to the high complexity of the crankshaft parts,it is easy to have more errors by adopting the manual numerical control programming method,and the overall efficiency is not high,resulting in a reduction in the production efficiency of the crankshaft.For this reason,based on common CNC lathes,this paper makes an in-depth discussion and research on the parameterized programming method of crankshaft turning.In view of the difficulties in programming of domestic small and medium-sized enterprises using ordinary CNC lathes to process crankshafts,the crankshaft turning parameters applied to the FANUC CNC system platform were developed Programming software,which can solve the problems in CNC programming.In this study,the crankshaft turning technology and the parameterized programming of the CNC system were first analyzed,and the parameterized programming technology of the crankshaft parts was studied in detail,the parameterized programming function was analyzed,and the overall functional module of the system was designed.structure.Combining the principle of group technology,the crankshaft part characteristic parameters and crankshaft turning process parameters are analyzed,and the crankshaft part characteristic parameters and process parameters are extracted,and a graphics-assisted crankshaft part parameter input method is proposed.Combining group technology,program template technology and parameterized programming technology,after the use of parameterized assignment,the CNC machining and turning macro program is automatically generated,and the parameterized programming system of crankshaft CNC turning is realized.By using Python and VC to design and develop tools and technologies,it is applied to the FANUC CNC system’s crankshaft turning processing platform to complete the research and development of the crankshaft CNC turning parameterized programming system.In order to verify the feasibility and accuracy of the crankshaft CNC turning parameterized programming system,VERICUT simulation software was used to simulate the automatically programmed CNC machining macro program to verify the correctness of the CNC machining program.The research and successful development of the parametric programming system for crankshaft CNC turning has simplified the programming of such CNC machine tools and improved the efficiency of crankshaft machining. |