3. The program design process and should pay attention to some problems <br> <br> As mentioned previously, after the tool and extends into the finished before exiting, pause instruction to be executed twice respectively, in order to achieve manually open and retract the tool. Under normal circumstances, the commonly used pause command mainly has G04 and M0. The former can realize the pause of the machine by setting a certain pause time. After the arrival time, the machine automatically resumes running to execute the following program instructions; the latter is through a certain program in the program. The M0 command is set separately for the degree segment. When the program runs to this segment, the machine stops running. There is no time limit for the command. If no other operations are performed, the machine will always perform the pause action in the block. To resume the machine, press the button. Press the “Cycle Start†button on the machine, and the machine will resume running and continue to execute the following program. Considering the time required to manually open and retract the tool, the elapsed time is difficult to determine, depending on the proficiency of the different operators, and the tool may become "sliding wire" when the tool is used for a long time. When the machine tool is suspended for a specified period of time, it does not necessarily reach the required state. At this time, if the machine tool moves, it is likely to cause a large safety accident. Therefore, when setting the pause command in the program, you should first consider using the M0 command. After the operator finishes opening and retracting the tool, press the "cycle start" button of the machine tool to execute the subsequent machining program and perform the machining operation. In order to further improve the safety of the machining process, it is also possible to mix two commands, that is, add a G04 block after the M0 block, so that even if the operator presses the cycle start button, there is a certain time. Observe the tool, workpiece and machine status to identify problems. If there is a problem, press the emergency brake switch to stop the operation. G91 G28 Y0 Z0; (machine reference point, ready to change tool) For more articles, please refer to "Mechanical Workers" Cold Processing 2007 No. 1 Previous page Swimmimg Pool Ladder Shenzhen Poolux Lighting Co., Ltd. , https://www.pooluxled.com
In addition, since the "reverse boring" hole method is used to boring each 45 mm, the program operation of each hole is exactly the same, and only the coordinate positions of the holes are different. Therefore, the same machining action command can be used by calling the subroutine method. It is programmed into a subroutine. When processing each hole, the subroutine is called in the main program, which makes the whole program simple, clear, and easy to program and operate. If the A-hole center and the B-direction plane on the part drawing are used as the workpiece coordinate system and are programmed in absolute mode, the processing procedure for each 45 mm hole is as follows:
T03 M06; (reversing sickle)
G80 G49 G40; (Cancel the previous program fixed cycle and correction)
G90 G00 G54 G43 X0 Y0 Z50 H03; (Use the workpiece coordinate system and insert the tool length correction)
M08; (open the main cutting fluid)
M12; (open spray cutting fluid)
M98 P1100 ; (call 1100 subroutine)
Y-100 ; (spindle moved to the next hole coordinate position)
M98 P1100 ; (call subroutine to machine the hole)
Y-200 ;
M98 P1100 ;
X420 ;
M98 P1100 ;
Y-100 ;
M98 P1100 ;
Y0 ;
M98 P1100 ;
G00 Z100; (The tool returns to a safe position)
M30; (end of program)
1100 subroutine list:
G00 Z10; (The tool moves to the surface of the workpiece)
S200 M04; (spindle reverse rotation)
G01 Z5.0 F1000; (close to the surface of the workpiece)
G01 Z-65; (The shank passes through the hole)
M0; (The machine is paused, the tool is turned on at this time)
S360 M04; (spindle rotation)
G01 Z-28 F30 ; (anti-boring)
Z-65 F400 ; (Return to the position when the tool is opened, fold the tool)
M0; (machine pause) 38
G04 X1.0; (suspended)
S200 M04; (spindle rotation)
G01 Z5. 0 F1000; (toolbar quickly returned)
M05; (spindle stop)
G00 Z10; (The position of the tool back to the original infeed)
M99; (return to main program)
When using the “reverse†hole process scheme on the machining center, the following points should also be noted: First, because the machining center is in working condition (including the pause state), the machining center door cannot be opened to ensure the safety of the machining. In this way, the operator cannot enter the machining center to manually open and close the tool, and thus the hole processing cannot be realized. In order to open the door when it is working, two ways can be used: one is to make the door open by machine parameter setting; the other is to temporarily remove the door lock pin, so that the machine can be suspended. When you are down, it's easy to open and close the tool. Second, if the difference of the step hole diameter of the “reverse 镗†is small, the G87 command in the boring fixed cycle can also be adopted. The machining process of the instruction is: after the spindle center reaches the hole X and Y coordinates, the spindle stops rotating. The tool first moves a tool Q value to the side of the axis so that the tool can smoothly pass through the small hole in the front, and then the spindle stops at this fixed position, and the tool quickly moves into the hole and protrudes. After reaching a certain safe position, the tool moves in the opposite direction to the side of the axis. The Q value of the previous tool is canceled, the spindle starts to rotate, and the tool moves the “reverse†machining hole in the positive direction of the Z axis until it is completed. After machining to a certain hole depth, the spindle stops again, and the tool moves to the side of the hole axis to make the tool amount Q value, so that the tool can smoothly exit, return to the starting point, the spindle rotates, and move to the next hole coordinate, execute the next one. Hole processing. The use of this cycle command can also achieve the purpose of "reverse" holes, but when this method is used, due to the limitation of the amount of movement (Q value), the boring bar can only use a smaller diameter, so the rigidity is poor. It is used for step holes with small difference in hole diameter for low speed boring. In the G87 canned cycle command, the tool Q is saved as a modal data and must be carefully set to avoid interference between the tool and the workpiece.
4. Effect <br> <br> using the above process, tools and procedures, the pore size of the large difference in the stepped hole part CNC machining centers "anti-boring", the tool structure design, easy to use. The programming is scientific, safe and has achieved satisfactory results.