Linear interpolation (G01)
Syntax: | ||
G01 | Linear interpolation at programmed feedrate | modal |
If G01 is selected, the programmed path moves along a straight line to the target point at the feedrate specified in the F word (e.g. mm/min). Any number of straight lines can be programmed in the Cartesian spatial coordinate system (X, Y, Z). All programmed tracking axes move at linear velocity in such a way that the start and end of their motion take place simultaneously with the main axes.
Programing Example
Linear interpolation G01
N05 G00 G90 X40 Y20 U30 ; move to starting point P1
; Absolute dimensional input:
N10 G01 G90 X60 Y60 U40 F1000 ;move from P1 to P2 feedrate 1000 mm/min)
N20 X120 Y80 U90 ;move from P2 to P3 feedrate 1000 mm/min)
; Incremental dimensional input:
N10 G01 G91 X20 Y40 U10 F1000 ;move from P1 to P2 feedrate 1000 mm/min)
N20 X60 Y20 U50 ;move from P2 to P3 feedrate 1000 mm/min)