Home > News > Content

CNC Turning Parts The Program Is Simple And Clear, Saving Memory Space

In CNC Turning Parts, it is often encountered in the parts to be processed on a number of the same contour shape or repeated in the processing of the same knife route, this time, as long as the part of the preparation of subroutine, and then in the main program In the "M98" command can be used to call. This makes the program simple and clear, saving memory space. But the application of subroutine at least two program names (that is, the main program and subroutine each one). Some CNC system program only 64, when the processing of more types of products, can only delete the original other procedures. In addition, in the implementation of subroutine process problems (such as collapse knife), and then re-commissioning is a very troublesome thing.

In CNC Turning Parts, it is often encountered in the parts to be processed on a number of the same contour shape or repeated in the processing of the same knife route, this time, as long as the part of the preparation of subroutine, and then in the main program In the "M98" command can be used to call. This makes the program simple and clear, saving memory space. But the application of subroutine at least two program names (that is, the main program and subroutine each one). Some CNC system program only 64, when the processing of more types of products, can only delete the original other procedures. In addition, in the implementation of subroutine process problems (such as collapse knife), and then re-commissioning is a very troublesome thing.

The macro program is through mathematical calculations or logic operations, the variable changes in the programming, the program is very simple and logical. Especially when processing some non-circular curve (such as ellipse, parabola, etc.), but also shows the superiority of the macro program. When we are in the same shape and shape of different products, only need to change the variables to solve the problem. Under normal circumstances, the preparation of macro programs are more complex, the requirements of programmers and operators is higher, and its application by the machine tool CNC system macro function restrictions - some machine can only run macro function A, does not support Macro program function B, and some old system even without macro function.

If the subroutine and the macro program used in combination, you can learn from each other, so that programming and processing are easy to debug, save time for the production and improve production efficiency. Programmers and operators only need to know some simple macro program knowledge can cope with. Here are two examples of subroutine and macro program in the NC turning in the integrated use. The process of CNC lathe processing and the addition of ordinary lathe

Engineering process is similar, but because the CNC lathe is a clamping, continuous automatic processing to complete all the turning process, it should be noted that the following aspects.

 Reasonable choice of cutting amount

For efficient metal cutting, the material being machined, the cutting tool, and the cutting conditions are three elements. These determine the processing time, tool life and processing quality. Economically efficient processing methods must be a reasonable choice of cutting conditions.

Cutting conditions of the three elements: cutting speed, feed and cutting depth directly lead to damage to the tool. With the cutting speed increases, the tip temperature will rise, will produce mechanical, chemical, hot wear. Cutting speed increased by 20%, tool life will be reduced by 1/2.

The relationship between the feed conditions and the back wear of the tool is generated in a very small range. But the feed is large, the cutting temperature rises, and the rear wear is large. It has little effect on the cutting speed than the cutting speed. The effect of cutting depth on the tool Although there is no cutting speed and feed volume, but in the small cutting deep cutting, the cutting material to produce hardened layer, the same will affect the life of the tool.