Programming and Operating — Turning Page 92 808D ADVANCED
Sample
Programs
s
Machining Process
N10 G00 G90 G95 G40 G71
N20 LIMS=4500
N30 T1 D1
; =======Start face turning========
N40 G96 S250 M03 M08
N50 G00 X60 Z0
N60 G01 X-2 F0.35
N70 G00 Z2
N80 G00 X60
; =======End face turning========
; ========Start contour turning
roughing without back cut=========
N90 CYCLE95( "SUB_PART_1", 1.5,
0.2, 0.1, , 0.5, 0.3, 0.2, 9, , , )
N100 T2 D1
N110 G96 S250 M03 M08
;=========Start contour turning
finishing with back cut============
N120 CYCLE95( "SUB_PART_1A",
0.5, , , 0.2, 0.4, 0.3, 0.2, 9, , , )
N130 M30
N10 spindle feedrate in mm/r
N20 set spindle upper limit 4500 r/min
N30
; ========Start face turning=======
N40 constant cutting speed 250 m/min
N50
N60 feedrate is 0.35 mm/r
N70
N80
; ========End face turning=======
; ==Start contour turning roughing
without back cut===
N90 maximal feed depth 1.5 mm,
vertical axis finishing allowance 0.2 mm,
horizontal axis finishing allowance 0.1
mm, roughing feedrate 0.5 mm/r, feed
along the negative direction of the Z axis
to do complete machining.
N100
N110 constant cutting speed 250 m/min
; ===Start contour turning finishing
with back cut======
N120 maximal feed depth 0.5 mm,
contour finishing allowance 0.2 mm,
feedrate 0.3 mm/r with back cut, finishing
feedrate 0.2 mm/r, feed along the nega-
tive direction of the Z axis to do complete
machining.
N130
SUB_PART_1.SPF
G18 G90
G0 X16 Z0
G1 X20 Z-2
Z-20
X35 RND=2
Z-50 RND=2
X55 CHR=2
Z-70
M2;/* end of contour */
SUB_PART_1A.SPF
G18 G90
G0 X35 Z-22.5
G2 I=AC(89.544) Z-47.5 K=AC(-35)
G1 Z-49.5
M2;/* end of contour */