Example 1: ? Cover of paragraph of?0mm establish milling cutter, treatment shows a part 1 times like the graph. Requirement every time deepness of the biggest cutting does not exceed 20mm. (1) craft analyses spare parts ply to be 40mm, the basis machines a requirement, every time cutting deepness is 20mm, divide cutting treatment 2 times, in cutting deep course twice this, cutting tool agrees completely in the athletic contrail on XOY plane, reason writes its cutting process into the subprogram, call this subprogram twice to complete the cutting treatment of the spare parts through the main program, intermediate two aperture are the craft aperture that already machined, those who set the surface on graphic representation spare parts is left the origin that next horn fasten for workpiece coordinate. (2) machine program graph N010 G90 G92 X0 Y0 Z300 of name of program of O1000 of 1 outline milling uses process designing of absolutely coordinate means, build workpiece coordinate to fasten fast feed of N020 G00 X-50 Y-50 S800 M03 to X=-50, y=-50, main shaft is turning, labour of axis of rotate speed 800r/minN030 G01 Z-20 F150 Z is entered to Z=-20, feed speed 150mm/minN040 M98 P1010 calls labour of axis of subprogram O1010N050 Z-45 F300 Z to enter to Z=-45, feed speed 300mm/minN060 M98 P1010 calls fast feed of subprogram O1010N070 G00 X0 Y0 Z300 to X=0, y=0, z=300N100 M30 main program ends fluid of cutting of N010 G42 G01 X-30 Y0 F300 H02 M08 of O1010 subprogram date to leave, linear interpolation comes X=-30, y=0, linear interpolation of H02=10mmN020 X100 of right compensation of cutting tool radius comes X=100, suitable round interpolation reachs Y=0N030 G02 X300 R100 X=300, linear interpolation of Y=0N040 G01 X400 comes X=400, y=0N050 Y300 linear interpolation comes X=400, y=300N060 G03 X0 R200 goes against round interpolation to X=0, linear interpolation of Y=300N070 G01 Y-30 comes X=0, linear interpolation of Y=-30N080 G40 G01 X-50 Y-50 comes X=-50, y=-50, cancel cutting tool radius to compensate fluid of N090 M09 cutting to close N100 M99 to the subprogram ends and return main program example 2: Establish milling cutter with what the diameter is 8mm, thick mill shows work 2 times like the graph model antrum. (1) craft analyses ① to determine craft course. If the graph is shown 3 times, use cut a way all right, f of → of E of → of D of → of C of → of B of knife heart contrail regards a loop as unit, circulate for many times repeatedly, those who set the surface on graphic representation spare parts is left the origin that next horn fasten for workpiece coordinate. Time of coordinate of contrail of heart of ② computation knife, circulation and pace take an amount (Y direction step pitch) . If the graph is shown 3 times, set circular time to be N, y direction step pitch is Y, the pace enters directional chamfer wide for B, cutting tool diameter is D, criterion each parameter concerns as follows: Graph of 2 workpiece model antrum milling pursues 3 cutting contrail circulates 1 times mill gives groovy wide Y+d to circulate 2 times mill gives groovy wide 3y+d to circulate 3 times mill gives slot second mill of N of loop of wide 5y+d ┇ gives slot wide (2n-1)y+d=B basis blueprint dimension requirement, b=50, d=8 generation enters type (2n-1)y+d=B, namely (2n-1)y=42 takes N=4, get Y=6, knife heart contrail has 1mm jackknife, feasible. (N010 G90 G92 X0 Y0 Z20 of name of program of 2) machine program O1100 uses process designing of absolutely coordinate means, build workpiece coordinate to fasten fast feed of N020 G00 X19 Y19 Z2 S800 M03 to X=19, y=19, main shaft is turning, labour of axis of 800r/minN030 G01 Z-2 F100 Z enters rotate speed to repeat to Z=-2N040 M98 P10104 call subprogram O1010 4 times axis of N050 G90 G00 Z20 Z moves quickly to come to fast feed of Z=20N060 X0 Y0 M05 X=0, y=0, main shaft stops N070 M30 main program to end N010 G91 G01 X47 F100 of O1010 subprogram date to use process designing of opposite coordinate means, linear interpolation, linear interpolation of 47N020 Y6 of X coordinate increment, linear interpolation of 6N030 X-47 of Y coordinate increment, x coordinate increment - 47N060 Y6 linear interpolation, subprogram of 6N070 M99 of Y coordinate increment ends and return main program exercises 3: Establish milling cutter with what the diameter is 8mm, treatment shows the chamfer of the spare parts 4 times like the graph, the requirement is cut every time deep do not exceed 4mm. Graph milling of 4 curves chamfer pursues 4 in A (- 33, - 9) , B (- 33, 16) , C (- 21, 28) , D (12, 28) , E (37, 3) , F (37, - 30) , G (25, - 42) , H (15. 68, - 42) , I (4.

404, - 34.

104) , J (2.

872, - 29.

896) , K (- 8.

405, - 22) , L (- 20, - 22) (1) craft analysis moves Dao Xinyun A of → of L of → of K of → of J of → of I of → of H of → of G of → of F of → of E of → of D of → of C of → of B of orbit A → to write a subprogram, set every time cutting deepness 4mm, the main program calls this subprogram twice to complete cutting treatment of groove, cutting deepness of groove expresses its increment with opposite coordinate, the symmetrical center that establishs the surface on the spare parts is the origin that workpiece coordinate fastens. (N01 G90 G92 X0 Y0 Z100 of name of program of 2) machine program O1000 uses process designing of absolutely coordinate means, build workpiece coordinate to fasten fast feed of N02 G00 X-33 Y-9 Z2 S800 M03 to X=-33, y=-9, z=2, main shaft is turning, labour of axis of rotate speed 800r/minN03 G01 Z0 F100 Z is entered to workpiece surface, feed speed 100mm/minN04 M98 P10102 repeats call subprogram O1010 twice axis of N05 G90 G00 Z100 Z moves quickly to come to fast feed of Z=100N06 X0 Y0 M05 X=0, y=0, main shaft stops N07 M30 main program to end input of increment size of N10 G91 G01 Z-4 of O1010 subprogram date, z to cut input of absolute value of deep 4mmN20 G90 X-33 Y16, linear interpolation nods interpolation of circular arc of N30 G02 X-21 Y28 R12 to nod linear interpolation of N40 G01 X12 to nod interpolation of circular arc of N50 G02 X37 Y3 R25 to nod linear interpolation of N60 G01 Y-30 to nod interpolation of circular arc of N70 G02 X25 Y-42 R12 to nod N80 G01 X15 to G to F to E to D to C to B.

68 linear interpolation nod N90 G02 X4 to H.

404Y-34.

104Interpolation of R12 circular arc nods N100 G01 X2 to I.

872Y-29.

896 linear interpolation nod N110 G03 X-8 to J.

405Interpolation of Y-22 R8 circular arc nods linear interpolation of N120 G01 X-20 to nod interpolation of circular arc of N130 G02 X-33 Y-9 R13 to nod N140 M99 to the subprogram ends and return a main program to A to L to K CNC Milling
CNC Machining