From the course: G-Code Programming for CNC Foundations
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Modal functions - G-Code Tutorial
From the course: G-Code Programming for CNC Foundations
Modal functions
- [Narrator] In this movie, we're going to be talking about modal functions or modal commands. Now a modal function is something that stays on in the controller until you turn it off or select something else. Let me give you a couple of examples. The first one is going to be feed and rapid moves. Now, if you call up a G0, which is a rapid move, you can then just call out X, Y, and Z commands after that, you don't have to put that G0 command on every single line. If then you switch over to a G1 command, which is a feed move, you can then just call out again X, Y, Z, A, B, and C moves all you want until you're done making feed moves. Now you can easily switch back to a G0 command or some other command and the control will automatically adjust. And again, the CNC machine will stay in that command sequence until you tell it some other G code. Here's another example, work offsets. If you select a G54 or 55, 56, 57, 58, 59, any one of those, they will stay active until you select a…
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
-
-
-
(Locked)
Understand work coordinate systems6m 39s
-
(Locked)
Absolute and incremental commands: G90 and G919m 20s
-
(Locked)
Understand tool offsets5m 9s
-
(Locked)
Modal functions2m 50s
-
(Locked)
Safety block2m 49s
-
(Locked)
Safety checks3m 41s
-
(Locked)
G-code editors and simulators3m 19s
-
(Locked)
Programming resources2m 57s
-
(Locked)
-
-
-
-