Fundamentals
2.3 Creating an NC program
Program code
N95 G0 G40 G97 X100 Z50 M9
N100 T2 D2
N105 G96 S210 M3
N110 G0 G42 X50 Z-60 M8
N115 G1 Z-70 F0.12
N120 G2 X50 Z-80 I6.245 K-5
N125 G0 G40 X100 Z50 M9
N130 G0 G53 X280 Z380 D0 M5
N135 M30
2.3.4.3
Example 3: NC program for milling
Program example 3 is intended for machining a workpiece on a vertical milling machine. It
contains surface and side milling as well as drilling.
Dimension drawing of the workpiece
Side view
56
Comment
; Deselect tool radius compensation and approach
tool change location.
; Call tool and select offset.
; Select constant cutting rate.
; Set tool with tool radius compensation.
; Turn diameter 50.
; Turn radius 8.
; Retract tool and deselect tool radius compen-
sation.
; Approach tool change location.
; End of program
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming