Example 2: Machining of a groove (turning)
Program code
N10 G17 S400 M3
N20 G0 X40 Y-6 Z2
N30 G1 Z-3 F40
N40 X12 Y-20
N50 G0 Z100 M30
Fundamentals
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
Comment
; Selection of the working plane, spindle clockwise
; Approach of the starting position
; Feed of the tool
; Travel on an inclined line
; Retraction for tool change
Motion commands
9.5
Linear interpolation (G1)
211