Creating an NC program
3.3 Program header
Program header for milling
The following example shows the typical structure of an NC program header for milling:
Program code
N10 T="SF12"
N20 M6
N30 D1
N40 G54 G17
N50 G0 X0 Y0 Z2 S2000 M3 M8
...
If tool orientation / coordinate transformation is being used, any transformations still active
should be deleted at the start of the program:
Program code
N10 CYCLE800()
N20 TRAFOOF
...
50
Comment
; Alternative: T123
; Trigger tool change
; Activate cutting edge data record of the tool
; Zero offset and working plane
; Approach to the workpiece, spindle and
coolant on
Comment
; Resetting of the swiveled plane
; Resetting of TRAORI, TRANSMIT, TRACYL, ...
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
Fundamentals