Professional Second-Hand Cnc Machine Supplier


How to Program a CNC Lathe

Although the machining flexibility of NC lathe is superior to that of general lathe, there is still a certain gap between NC lathe and general lathe. Therefore, to improve the efficiency of CNC lathe is the key, and the rational use of programming skills, the preparation of high-efficiency machining procedures, to improve the efficiency of machine tools often have unexpected results.

1. flexible setting of reference points

BIEJING-FANUC Power Mate O CNC lathe has two axes, namely spindle Z and tool shaft X.. The center of the rod material is the origin of the coordinate system. When each knife approaches the rod material, the coordinate value decreases, which is called the feed; conversely, the coordinate value increases, which is called the back knife. When retreating to the position at the beginning of the tool, the tool stops, this position is called the reference point. The reference point is a very important concept in programming, and every time an automatic cycle is performed, the tool must be returned to this position to prepare for the next cycle. Therefore, before executing the program, the actual position of the tool and spindle must be adjusted to be consistent with the coordinate value. however, the actual position of the reference point is not fixed. the programmer can adjust the position of the reference point according to the diameter of the part, the type of tool used, and the number of tools used, and shorten the empty stroke of the tool. thereby improving efficiency.

2. zero is integral

There are a large number of short pin shaft parts in low voltage electrical appliances, the ratio of length to diameter is about 2~3, and the diameter is more than 3 mm. Because of the small geometric dimensions of the parts, it is difficult to clamp the general instrument lathe and can not guarantee the quality. If programming according to the conventional method, only one part is processed in each cycle, because of the short axial size, the machine tool spindle slider is reciprocating frequently in the local part of the bed guide rail, and the spring chuck clamping mechanism moves frequently. After working for a long time, it will cause excessive wear and tear of the guide rail of the machine tool, affect the machining precision of the machine tool, and even cause the machine tool to be scrapped seriously. and the frequent action of the spring chuck clamping mechanism will lead to the damage of the control appliance. To solve the above problems, it is necessary to increase the spindle feeding length and the action interval of the spring chuck clamping mechanism, while not reducing the productivity. It is assumed that if several parts can be processed in a single machining cycle, the spindle feed length is several times of the length of a single piece part, or even the maximum running distance of the spindle, and the action time interval of the spring chuck clamping mechanism is correspondingly extended to several times the original length. More importantly, the auxiliary time of the original single part is apportioned on several parts, and the auxiliary time of each part is greatly shortened, thus improving the production efficiency. In order to realize this idea, I computer to computer programming master and subroutine concept, if the command field involving the geometric dimensions of parts in a subroutine, and the machine control command field and cut off the part command field in the main program, each machining a part, by the main program by calling the subroutine command call a second program, after processing completed, jump back to the main program. Need to process a few parts will call several sub-program, very conducive to increase or decrease the number of parts per cycle. Through this way the processing program is also relatively concise and clear, easy to modify, maintenance. It is worth noting that because the parameters of the subroutine remain unchanged in each call, and the coordinate time of the spindle is changing, in order to adapt to the main program, the relative programming statement must be used in the subroutine.


CNC lathe machine

3. reduce tool space travel

in BIEJING-FANUC Power Mate O cnc lathe, the movement of the tool is driven by stepping motor. although there is a fast point positioning command in the program command G00, it still appears inefficient compared with the feed mode of the general lathe. Therefore, in order to improve the efficiency of machine tools, it is necessary to improve the operation efficiency of cutting tools. the empty stroke of the tool refers to the distance the tool runs close to the workpiece and back to the reference point after cutting. As long as the tool empty stroke is reduced, the operation efficiency of the tool can be improved. (For point-controlled CNC lathes, positioning accuracy is only required, positioning process can be as fast as possible, and the tool relative to the workpiece movement route is irrelevant. In machine tool adjustment, the initial position of the tool should be arranged as close as possible to the bar material. On the program side, to use as few tools as possible to process the parts according to the structure of the parts so that the tools are as scattered as possible when installed, and there will be no interference with each other when they are very close to the bar material; on the other hand, because the actual initial position of the tool has changed with the original, the reference point position of the tool must be modified in the program to match the actual situation, and at the same time, with the quick point positioning command, the empty stroke of the tool can be controlled in the minimum range to improve the machining efficiency of the machine tool.

4. optimize parameters, balance tool load and reduce tool wear

Post time: Jul-27-2020