Chapter 9 NC Control Function
G90
G01 X100. Y100. Z100 F552. % Linear interpolation, target position to traverse(X=100, Y=100), speed 552
G28 X40. Y55. Z32. % Auto-homing, waypoint(X=40, Y=55, Z=32)
G91 G01 X50. Y50. F550.
The above program is the example of moving the position of axes transferred to X, Y, Z axes linearly to the
machine origin by using the G28 auto-homing command.
12) Return from the auto-origin (G29)
(G90, G91) G29 X_ Y_ Z_ A_ B_ C_ U_ V_ W_ S_
G90, G91: Absolute/Incremental command
G29: Return command from the origin
X_ Y_ Z_ A_ B_ C_ U_ V_ W_ S_: Returning coordinate
This command is used when the traverse is done after the auto-homing(G28), 2nd, 3rd, 4th homing(G30) is
instructed. It traverses rapidly (G00) to the returning coordinate via the waypoint that was used for homing. If the
homing command has not been previously executed, the machine origin becomes the midpoint and it traverses to
the returning coordinate. In this command, tool diameter compensation and tool length compensation are not
applied.
All the axes that have been commanded at the time of origin return have been traversed before the midpoint has
been traversed, and only the coordinates that have been commanded at return coordinate are traversed thereafter.
Up to the midpoint, all axes that were previously commanded during homing are transferred, and after that, only
the coordinates instructed in the returning coordinates are traversed.
Y
X
50
70
Workpiece coordinate
G90 G28 X0. Y0.
Y
X
50
70
Workpiece coordinate
G90 G29 X20. Y10.