Abstract:In order to solve the generating of CNC program in the profile milling machine tool,the method of automatic programming was introduced with VB.NET and the secondary development languages such as PCI and PDI based on EdgeCAM.Firstly,the process for the profile milling was proposed;then,the key technology of programming operations and postprocessing were studied;finally,the case study was used in a typical part with the proposed method,which was applied in the profile milling manufacturing enterprises.