OPTIMUM
M A S C H I N E N - G E R M A N Y
808D
Page 376
Operating and Programming — Milling
Sample Program
Brief instruction 808D Milling
Machining Process
N10
G17 G90 G60 G54
N20
T1 D1 ;FACEMILL D50
N30
M6
N40
S3500 M3
N50
G0 X0 Y0
N60
G0 Z2
; =======Start face milling========
N70
CYCLE71( 50, 1, 2, 0, 0, 0, 50, -50 , , 1,
40, , 0.1, 300, 11, )
N80
S4000 M3
N90
CYCLE71( 50, 0.1, 2, 0, 0, 0, 50, -50 , , 1,
40, , 0, 250, 32, )
; ======Start contour milling======
N100
T2 D2 ;END MILL
N110
M6
N120
S3500 M6
N130
CYCLE72( "SUB_PART_2", 50, 0, 2, -5, 2,
0.1, 0.1, 300, 300, 11, 42, 1, 4, 300, 1, 4)
; =======Start path milling with radius
compensation ========
N140
T4 D1 ;ENDMILL D10
N150
M6
N160
S4000 M3
N170
G0 X55 Y-15
N180
G0 Z2
N190
G1 F300 Z-8
N200
G42 G1 Y-15 X50
N210
G1 X44 Y-2 RND=2
N220
G1 Y0 X 22
N230
G40 Y30
N240
M30
N10
N20
tool 1 is milling tool, diameter 50 mm
N30
N40
N50
back to workpiece zero point
N60
; =========Start face milling======
N70
start point (X0,Y0), the length and the width
are 50 mm, feedrate 300 mm/min, finishing
allowance 0.1 mm, along the direction parallel to
the X axis to perform the rough machining
N80
N90
start point (X0,Y0), the length and the width
are 50 mm, feedrate 250 mm/min, finishing
allowance 0, along the direction parallel to the X
axis to perform the finish machining
; =====Start contour milling=======
N100
tool 2 is milling tool
N110
N120
N130
contour cutting depth 5 mm, all finishing
allowances 0.1 mm, the feedrate of surface
machining and cutting direction 300 mm/min, use
G42 to activate the compensation, use G1 to do
rough machining, approaching path is along a
straight line, length 4 mm, the parameters of
feedrate/path/length in retraction and approach are
equal.
; ====Start path milling with radius compensation
===
N140
tool 4 is face milling tool, diameter 10 mm
N150
N160
N170
N180
N190
N200
G42 activate tool radius compensation
N210
starts from (X44,Y-2) insert a reverse circle,
radius is 2 mm
N220
(X22,Y0) is the reverse circle point
N230
G40 cancel tool radius compensation
N240
SUB_PART_2.SPF
G17 G90
G0 X3 Y3
G2 X3.27 Y-40.91 I=AC(-52.703) J=AC(-19.298)
G3 X46.27 Y-47 I=AC(38.745) J=AC(54.722)
G1 X42 Y-8
X3 Y3
M2;/* end of contour */
***CONTOUR****