G00 G-Code Command

G00 G-Code Command

The G00 G Code is a rapid positioning command used in CNC machining. It instructs the machine to move the cutting tool to a specified position at the maximum possible speed without cutting any material. This command is used to move the tool quickly to a new position in between machining operations or to move the tool to a starting point for a new operation. The G00 command is always used in conjunction with other commands, such as G01 (linear interpolation) or G02/G03 (circular interpolation), to create complex tool paths for machining.

How G00 G-Code Command is used

Here’s an example G-code program that uses the G00 command with comments in brackets and includes a spindle on command for 2000 rpm:

% (Program to drill a hole using G00 command) 
G90 (Absolute positioning mode)
G94 (Feed rate mode in Inches per minute)
G54 (Work offset coordinate system)
G00 X0 Y0 Z0 (Rapid move to the starting position)
M03 S2000 (Spindle on command at 2000 rpm)
G00 Z-0.5 (Rapid move to the drilling position)
G01 Z-1.0 F10.0 (Linear interpolation to drill the hole at a feed rate of 10 inches per minute)
G00 Z0.5 (Rapid move to retract the tool)
M05 (Spindle off command)
G00 X0 Y0 Z0 (Rapid move to the starting position)
M30 (End of program)

In this program, the G00 command is used to rapidly move the cutting tool to the starting position and the drilling position. The M03 command turns on the spindle at 2000 rpm, and the M05 command turns it off. The comments in brackets explain the purpose of each command.

Share on pinterest
Share on email
Share on print

Table of Contents