G01 - Linear Interpolation Motion
The G01 command is used to move one or more axes to a specified position at a defined feedrate.
If multiple axes are specified, they will move together in a straight line and arrive at the target position at the same time.
Axes can be linear, rotary, or a combination of both.
G01 is a modal command and belongs to Group 1.
Syntax & Parameters
G01 followed by the axis (or axes) you want to move and their target coordinates.
Multiple axes can be specified on the same line.
Axis Parameters
X, Y, Z, A, B Value
Moves the specified axis to the given position using the current machine units.U, V, W Value
Performs an incremental move on the X, Y, or Z axis while the machine is in G90 Absolute mode.U - X axis
V - Y axis
W - Z axis
F Value
Defines the feedrate at which the axes will move.
If no F value is specified, the feedrate from the previous G01 command is used.
Example Program
N10 G21 N20 G01 X10 Y20 Z30 F100 N30 G01 X0 Y0 Z0
Explanation:
G21sets the machine units to millimetres.Line 2 moves the axes to X 10 mm, Y 20 mm, Z 30 mm in a straight line at a feedrate of 100 mm/min.
Line 3 moves the axes back to X 0 mm, Y 0 mm, Z 0 mm at the same feedrate (100 mm/min).
Spanish
French
German
Simplified Chinese