CNC G Code: G0 Or G00
Rapid move to a point. (Not necessarily in a straight line!)
G0 (G zero) tells the machine to move as quickly as possible to a given point (absolute or relative, depending on the setting of G90 or 91). This command is modal, so any coordinates that follow will be rapid as well (until a Group 01 code is called). As with all G codes, it specifies only the destination point. HINT: It is usually a good idea to pull the Z up to a safe distance before executing a G0, since the path is not a straight line. Also, never rapid to or from a position too close to the workpiece. Leave some room for lead-ins and lead-outs. Be aware of the decimal point!
Takes the arguments (X, Y, Z, A, B). Each of these is optional, A and B are for rotary axes. Notice there is no argument for feed rate, it is the machine max.
Example:
Assume the machine is currently at X0.0 Y0.0 and G90 is enabled. for the following code:
G0 X3.0 Y1.0 ;
The toolpath will look like this:

Don’t make the mistake of thinking the path looks like the one shown below in red! This is a crash waiting to happen.

The above example assumes milling, for turning, the only difference is the interpretation of the coordinate system.
See also: Haas Manual
Honing
NextCNC G Code: G1 or G01
1 thought on “CNC G Code: G0 or G00”
-
Pingback: CNC G Code: G1 or G01 - ManufacturingET.org
Leave a Comment Cancel Reply
Your email address will not be published. Required fields are marked *
Type here..Name*
Email*
Website
Scroll to TopTừ khóa » G0 Cnc
-
G0 G-code - Smoothieware
-
CNC G Codes
-
SUMMARY OF G-CODES - MachMotion
-
CNC Mill G-Code | G0, G1 - YouTube
-
G00 And G01 G-Codes: CNC Linear Motion - CNCCookbook
-
List Of Most Important G-code Commands - How To Mechatronics
-
G Codes - LinuxCNC
-
G0 Cancels Canned Cycles - CNC Training Centre
-
G Code CNC Basic Programming: Mastering CNC Machines - Fictiv
-
What Is G-Code? What Is M-Code? What Do They Mean In CNC ...
-
Get To Know Your CNC: How To Read G-Code - Make Magazine
-
G0 Z-100 Bad Idea G-Code CNC Machinist Operator Funny T-Shirt