From the course: G-Code Programming for CNC Foundations
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
G17, G18, and G19: Plane selection - G-Code Tutorial
From the course: G-Code Programming for CNC Foundations
G17, G18, and G19: Plane selection
- [Instructor] In this movie, we're going to be looking at the different planes you can select for making circular arcs. Now by default most CNC machines turn on with a G17 or an XY plane selected. Now you can switch to a G18 or a G19 in your program and a lot of times programs will actually use this for a lead-in or lead-out moves for a CNC path. The problem you can end up with, though, is if you stop your program early and you used a G18 or a G19 in your program. Now the machine is still in that mode, right? It's going to stay in a modal state of G18 or G19, whichever plane you happen to be in. Now if you go and restart your program from the beginning, if you don't call a G17 in the beginning, by default the machine is going to be in whatever state it was in last. So you might start getting some very strange results. And this has definitely happened to me in the past. I've run a program, I had an error or some kind of thing that didn't work out correctly. I stopped the program. I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
G00: Rapid moves5m 44s
-
G01: Feed moves4m 17s
-
G02 and G03: Circular interpolation8m 11s
-
G04: Dwell3m 39s
-
G17, G18, and G19: Plane selection3m 7s
-
G20 and G21: Unit system selection1m 55s
-
G28: Return to machine zero position4m 52s
-
G53: Machine coordinate system selection5m 2s
-
G41, G42, and G40: Cutter compensation7m 44s
-
G81, G82, and G80: Drilling canned cycle6m 16s
-
G83: Peck drilling cycle6m 8s
-
G84: Tapping4m 10s
-
-
-
-