Generally speaking, CNC Press Brake programming includes the following aspects:
1. Processing technology analysis
The programmer must first analyze the processing technology of the material, shape, size, precision and heat treatment requirements of the part according to the part drawing. Reasonably select the processing plan, determine the processing sequence, processing route, clamping method, tool and cutting parameters, etc.; at the same time, consider the command function of the CNC machine tool used to give full play to the efficiency of the machine tool; the processing route should be short and the number of tool changes should be less .
2. Numerical calculation
Determine the process route and set the coordinate system according to the geometric size of the part drawing, calculate the trajectory of the part rough and finishing motion, and obtain the tool position data. For the contour processing of parts with relatively simple shapes (such as parts composed of straight lines and arcs), it is necessary to calculate the start point, end point of the geometric element, the center of the arc, the coordinate value of the intersection or tangent point of the two geometric elements, and some To calculate the coordinate value of the motion path of the tool center.
For parts with more complex shapes (such as parts composed of non-circular curves and curved surfaces), it is necessary to approximate them with straight or circular arcs, and calculate the node coordinates according to the requirements of machining accuracy. This kind of numerical calculation is generally completed by a computer.
3. Write the processing program
After the processing route, process parameters and tool position data are determined, the programmer can write the processing program section by section according to the function instruction code and the format of the program segment specified by the CNC system. If the programmer and the processing staff are separated, the necessary processing diagrams, tool parameter tables, machine tool adjustment cards, process cards and related text descriptions should also be attached.
4. Preparation of control medium
Record the compiled program on the control medium as the input information of the numerical control device. It is sent to the CNC system by manual or communication transmission.
5. Program proofreading and first piece trial cutting
The written program and the prepared control medium must be checked and tested before they can be used formally. The method of verification is to directly input the content on the control medium into the CNC system, and let the machine tool run dry to check whether the motion track of the machine tool is correct, or through the graphic simulation function provided by the CNC system, on the CRT screen to simulate the tool Movement trajectory. But these methods can only check whether the movement is correct, not the machining accuracy of the processed parts. Therefore, it is necessary to carry out the first trial cutting of the part. When a machining error is found, analyze the cause of the error, find out the problem, and correct it.