Program code
N75 Z-57
N80 G2 X41 Z-60 CR=3
N85 G1 X46
N90 X52 Z-63
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
4.4.3
Example 3: NC program for milling
Program example 3 is intended for the machining of a workpiece on a vertical milling machine.
It contains surface and side milling as well as drilling.
Note
In order that the program can run on the machine, the machine data must have been set
appropriately (→ machine manufacturer!).
Dimension drawing of the workpiece
Figure 4-2
Fundamentals
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Side view
Comment
; Turn radius 3.
; 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.
Creating an NC program
4.4 Program examples
47