Programming Motion Commands
4.4 Linear interpolation (G1)
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
4-15
Note
G1 is modal.
The spindle speed S and the direction of spindle rotation M3/M4 must be specified for
machining.
FGROUP can be used to define groups of axes, to which the path feed F applies. You will
find more information in the "Path behavior" section.
Example of milling
Machining of a groove: The tool travels from the starting point to the end point in the X/Y
direction. Infeed takes place simultaneously in the Z direction.
;
=
<
<
N10 G17 S400 M3 ;Select working plane, spindle clockwise
N20 G0 X20 Y20 Z2 ;Approach start position
N30 G1 Z-2 F40 ;Tool infeed
N40 X80 Y80 Z-15 ;Travel along inclined
:straight line
N50 G0 Z100 M30 ;Retract to tool change point