Printed wiring board is cosmically used in Electronic Circuits and IT industry, so it is significative to study the method of making PCB and Manufacturing Process Planning of PCB. Because of environment deterioration, environmental protection consciousness of the public is increasing so that it is necessary to put forward a method of making PCB which has not chemical hazards. After various methods for making the PCB are compared, the fundamental research on PCB carving machine by approach of using physical carving which can not only reduce pollution but also enhance efficiency of machining is carried out.The file dates which PCB design softwares use is analyzed before this paper presents an algorithm and chooses the appropriate data structures to read and save geometry information of graphics of wiring board which is saved in Gerber file which is generated by PCB design software. Based on geometry information of graphics of wiring board which is saved in Gerber file, an algorithm of generating contours of wires and pads is designed and calculation of the points of intersection and clipping among contours is realised, furthermore, contour loops is generated. Furthermore, the generation of tool-path in the process of carving PCB is discussed in detail. Especially, on the basis of adopting the machining method of contour cutting tool paths and parallel cutting tool paths. An algorithm of generating contour cutting tool path and parallel cutting tool path is put forward and judgement and treatment of relationship among cutting tool paths is realized, finally, a parallel cutting tool path planning algorithm based on PCB carving is researched.This paper also analyzes the development and prospect of NC technology. The structure of software and hardware of Sixth NC system—Open NC System is introduced and the structure of software and hardware of NC PCB carving machine which is designed in this paper is discussed, furthermore, the process of development of Open NC System based on motion controller is researched.Eventually, based on the studies above, the program is written by Visual C++, meanwhile, the whole frame of software development of carving machine of printed circuit board is developed and practical operation shows that algorithm in this paper is correct, reliable and can meet basic machining need of PCB, moreover, the programming is able to realize accurate control of NC carving machine. |