• You're one step from joining CNC Machining Forum – G-Code, Tooling, Automation & Pro Techniques.
    Create a free account to post, follow threads, and never miss an update.  Sign up free →

G17 code help

beabadoobee

New member
Joined
Mar 28, 2025
Messages
2
Please enlighten me about the g code G17, G18, and G19. I'm not sure what they do exactly but I know they are related to the axes? Like which axes are in use or something. But why's that G17 only indicates X and Y even when the CNC program uses all X, Y, Z axes? Is there even a code that corresponds to all of the axes? Is it G18/G19 or nothing in the options?
 
G17, G18, and G19 are for defining which plane the machine works in when making circles or arcs. G17 is for the XY plane (X and Y axes), G18 is for the XZ plane (X and Z axes), and G19 is for the YZ plane (Y and Z axes). Even if your program uses all three axes, G17 just means you're doing circular moves in X and Y. There's no code for using all axes together, just pick the right one for the plane you need
 
G17, G18, and G19 are for defining which plane the machine works in when making circles or arcs. G17 is for the XY plane (X and Y axes), G18 is for the XZ plane (X and Z axes), and G19 is for the YZ plane (Y and Z axes). Even if your program uses all three axes, G17 just means you're doing circular moves in X and Y. There's no code for using all axes together, just pick the right one for the plane you need
What this person said. There isn't a G code for all axes if you know what I mean. You can only specify per plane so most tasks involve the G17.
 
Back
Top