G0 Rapid Move
Format G0XxYyZz
X,Y,Z = axes on a three-axis machine
x, y, z = distance in incremental units, or absolute coordinates, to which the
axes specified by the preceding upper case letter is designated to move
Purpose Moves one or more of the axes, at the rapid speed, to a specified location or a specified distance away from the current position. Location is designated by absolute coordinates when this command is preceded by the Absolute
Coordinate command. Distance is specified by incremental units when this
command is preceded by the Incremental Coordinate command.
A rapid move consists of a move of the X and/or Y axis along the XY plane
and a move of the Z axis up or down. If the Z-axis move is Directed from a
lower point to a higher point, it will be executed before the XY move; if it is
directed from a higher point to a lower point, it will be executed after the XY
move.
Rapid speed is indicated in the .NC file by the Feed Speed command. F
commands are ignored by the interface program when Override Program Speed is selected. When this selection is made, the rapid speed specified in Set-Up will
be used instead.
Example G90
G0X2.00Y2.00Z2.00
The first command in this set indicates absolute motion, so the rapid move that
follows (line 2) is made to the absolute coordinates (2,2,2).The axes move to a
position that is two units away on each axis from the software home.
G1 Linear Cutting Move
Format G1XxYyZz
X,Y,Z = axes on a three-axis machine
x, y, z = distance in incremental units, or absolute coordinates, to which the
axes specified by the preceding upper case letter is designated to move
Purpose Moves one or more of the axes, at the cutting or feed speed, along a straight line to a specified position or a specified distance away from the current
position. Location is designated by absolute coordinates when this command is
preceded by the Absolute Coordinate command. Distance is specified by
incremental units when this command is preceded by the Incremental
Coordinate command.
Example G91
G1X-3.50Y-4.00Z1.00
M30
The first command in this set indicates that the cutting command in line 2 will
be performed in incremental motion. In line 3, the axes will move at the cutting
speed as follows: the X axis will move 3.5 units away in a negative direction
from its previous position, the Y axis will move 4 units away in a positive
direction from its previous position, and the Z axis will move 1 unit away in a
positive direction from its previous position.