Apply grand function instruction to machine process designing of dimensional curve CNC Milling
- Time:
- Click:179
46 are shown. Bottom land is the circular arc of R = 5mm. For program of convenient work out, use error of interpolation of oversight of rough differential method to machine. It is variable with angle X, take photograph adjacent the X between 2 o'clock to equidistant, span is 0. 5 ° , use 35sinX of = of sinusoid equation Y and Z = 5sinX to be calculated respectively next the Y value that gives correspondence each a little bit and Z value, have a space linear interpolation, approach dimensional curve with the space point-blank. Ball head milling cutter is used when treatment (R = 5mm) in one plane the milling on hypostatic spare parts gives slot of curve of this one space. Setting of treatment coordinate department sees a picture 4.
47. The setting maintains model variable: #500- - Z to every time approach is 2mm; The input when the setting " 2000 " ; #501- - the amplitude of Y = 35sinX is 35mm, the input when the setting " 35000 " ; #502- - the amplitude of Z = 5sinX is 5mm, the input when the setting " 5000 " ; #503- - the step pitch of X is 0. The terminus when 5 ° is worth 360 ° ; The input when the setting " 360. " . Install operation variable: #100- - X is worth currently, to spend; #110- - Y coordinate is worth currently, for Mm; #120- - the value of Z = 5sinX, for Mm; #130- - Z to every time the initiative value after feed, for Mm; #140- - Z coordinate is worth currently, for Mm. Subprogram O 0004: of of of of of of of N10 G65 H01 P#100 Q0 / / of of of of 0N20 G91 G01 Z-#500 F100 of = of #100 of X initiative value / / Z to cut of spare parts N30 G65 H02 P#130 Q#130 R-#500 / / + of #130 = #130 (- #500)N100 G65 H02 P#100 Q#100 R0. 5 / / X is worth + of #100 = #100 currently 0. of of 5N110 G65 H31 P#110 Q#501 R#100 / / of of 35sinXN120 G65 H31 P#120 Q#502 R#100 of = of #110 of Y current value / / of of numeric N130 G65 H02 P#140 Q#130 R#120 of Z = 5sinX / / Z is worth space of cutting of #140=#130+120N140 G90 G01 X#100 Y#110 Z#140 // currently of of linear N150 G65 G84 P-100 Q#100 R#503 / / terminal differentiate N160 G91 Z15 // carries of of of of of of of of of of knife N170 G90 X0 Y0 / : of of of of of of N10 G54 G90 X0 Y0 Z15 / / entering treatment coordinate is of of of of of of of of N20 G00 X-10 Y-10 / / to of N30 G01 X0 Y0 M03 S600 F200 of position of rest / / of of of of of main shaft starting N40 G65 H01 P#130 Q0 / / Z to of of of of of of of 0N50 G01 Z0 of initial value = , n100 ~ N130 is the X with bit more current computation, Y and Z coordinate. N140 is the coordinate cost cutting that goes out by computation a paragraph of space is linear, with approach dimensional curve point-blank. N150 is the terminal differentiate that dimensional curve ends, with X = 360 ° are terminus, if did not arrive, return N100 to be calculated again below a bit coordinate; If already arrived, end a subprogram. In main program O 0005, n60 is call O 0004 subprogram 3 times, every are called, z coordinate enters 2mm to negative direction, cent second cut a chamfer deep. The route chart taking a knife of treatment sees a picture 4.
47 are shown. CNC Milling