Siemens SINUMERIK 840DE Programming Manual page 70

Hide thumbs Also See for SINUMERIK 840DE:
Table of Contents

Advertisement

Fundamental Principles of NC Programming
2.5 Second programming example for milling application
N025 T1 M6
N030 MSG ()
N035 MSG ("Face milling Z=0 workpiece surface")
N040 G0 G54 X-2 Y.6 S800 M3 M8
N045 Z1 D1
N050 G1 Z0 F50
N055 X8 F25
N060 G0 Y3.5
N065 G1 X-2
N070 SUPA G0 Z0 D0 M5 M9
;********************Tool change********************
N075 T2 M6
MSG ("Side machining")
N080 G0 X-1 Y.25 S1200 M3 M8
N085 Z1 D1
N090 G1 Z-.5 F50
N095 G42 X.5 F30
N100 X5.5 RNDM=-.375
N105 Y3.625
N110 X.5
N115 Y.25
N120 X=IC(.375) RNDM=0
N125 G40 G0 Y-1 M5 M9
N130 Z1
N135 X-1 Y0
N140 Z-.25
,********************Continue to use 1-inch mill****************
MSG ("Side Cut Top Boss")
N145 G01 G41 X1 Y2
N150 G2 X1.5476 Y3.375 CR=2
N155 G3 X4.4524 CR=3
N160 G2 Y.625 CR=2
N165 G3 X1.5476 CR=3
N170 G2 X1 Y2 CR=2
N175 G0 G40 X0
N180 SUPA G0 Z0 D0 M5 M9
N185 SUPA X0 Y0
;********************Tool change********************
N190 T3 M6
MSG ("Drill 3 holes")
N195 G0 X1.75 Y2 S1500 M3 M8
N200 Z1 D1
N205 MCALL CYCLE81 (1,0,.1,-.5,)
N207 X1.75
2-24
;d = 3 inch face cutter
;Clears the message from block N020
;d = 1 inch facing tool
;Modal rounding. Radius=0.375
;Needed for edge rounding
;Rapid traverse to initial setting
;Z approaches tool change position
;X and Y to tool change position
;27/64 drill
;Approach first drill hole
;Drill first hole
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
Fundamentals

Advertisement

Table of Contents
loading

Table of Contents