Examples
Example 1: Machining of a groove (milling)
The tool travels from the starting point to the end point in the X/Y direction. Infeed takes place
simultaneously in the Z direction.
Program code
N10 G17 S400 M3
N20 G0 X20 Y20 Z2
N30 G1 Z-2 F40
N40 X80 Y80 Z-15
N50 G0 Z100 M30
Example 2: Machining of a groove (turning)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Comment
; Selection of the working plane, spindle clockwise
; Approach the starting position
; Tool infeed
; Travel on an inclined line
; Retraction for tool change
Fundamentals
2.9 Motion commands
187