With the shape of sheet metal becomes more complex, and the cutting thickness increasesgreater, producer need a higher cutting technology. Taking into account the various advantagesof CNC plasma cutting technology, people is willing to choose CNC plasma cutting completingthicker metal plate cutting at home and abroad. But the NC programming and simulationsoftware of CNC plasma cutting machine costs high, and the user must be professional andskillful, so the software is not popular with SMEs. So we research and develop a cheaper NCProgramming and Simulation System of CNC Plasma Cutting Machine, which can generateNC programming manually and automatically for processing, and also check its correctness.Through investigating and analyzing the research status and machining process of CNCplasma cutting machine. This topic determines the realizable functions of NC Programmingand Simulation System of CNC Plasma Cutting Machine, and has completed the followingresearching:NC program’s decoding is a basis function of CNC machine tool. According to the writtenrequirement of NC code of CNC plasma cutting machine, this paper used Regular ExpressionMatching to inspect the error NC code, and chose Compile Way to parse the NC programinformation, then store the parsing information in a fixed data structure in order to calling;Tool Radius Compensation is often used in plasma cutting work. This paper discussed andchose C function to achieve the Tool Radius Compensation of NC Programming andSimulation system of CNC Plasma Cutting Machine. In this paper we have analyze the severalprocess appeared in Tool Radius Compensation, and build some related mathematical model,and have calculated the compensation trajectory coordinates;Using graphic to display and simulate the processing dynamically in modern CNC systemis commonly. In this paper, we have built a graphical display mechanism based on MFC frameof VC++6.0, and designed a cutting simulation module, it not only can visually show thecontents of the NC machining program, but also simulate the process of plasma cutting, in orderto check the correctness of the NC program;There many parts that similar in shape are cut frequently in plasma machining. Throughanalyzing and summarizing the common components in this paper, we have established a graphics library and bring parametric design philosophy in it. It can generate the NC programsatisfying requirements by calling the needed graph and setting related parameters;Through analyzing the format of DXF file and its principle of storing graphics information,we have developed a function which automatically writing NC program based on DXF file.This paper firstly recounts the methods of reading DXF file and optimizing for the graphicelements from file. After add some lead line at the beginning and ending of cutting trajectory, itcan generate NC program of plasma cutting work.By commissioning, NC Programming and Simulation System of CNC Plasma CuttingMachine can generate NC program well, and do good simulate, it has a good prospect in themanufacture of CNC plasma cutting. |