This command is used to move one or more axis at the specified feedrate to a specified location. If multiple axis are called they will all move together to the desired location in a straight line and arrive at the same time. The axis can be linear, angular or a combination of both.
Syntax & Parameters
G01 followed by the axis you wish to move and it’s coordinate. Multiple axis may be specified on the same line.
X, Y, Z, A, B Value – specifies the axis you wish to move following the distance to move. The distance value will be the current machine units in use.
U, V , W Value – specifies an incremental move of the X,Y or Z axis while the machine is in G90 Absolute mode. U moves the X axis, V moves the Y axis, W moves the Z axis All U, V & W moves are incremental regardless of whether the machine is in Absolute (G90) or Incremental (G91) mode
F Value – The F value defines the feedrate at which the axis will move at. If the F value is not specified then the feed rate used from the last G01 command is used.
N10 G21 N20 G01 X10 Y20 Z30 F100 N30 G01 X0 Y0 Z0
In above program the first line command G21 will first set the controller units to millimetres, then it will move the axis to next position of X 10mm, Y 20mm, & Z 30mm in a straight line at 100mm/min feedrate. In the last line the axis will move to X 0mm, Y 0mm, & Z 0mm at 100mm/min feedrate.
INFORMATION: Units are defined as either inches or mm depending on your machines setup or G20 or G21 command in use.
INFORMATION: The motion can be either in G90 Absolute or G91 Incremental mode.