Instructions

x2.500
g01 z-0.250
g00 z0.050
x1.500
g01 z-0.250
g00 z0.050
x.500
g01 z-0.250
g00 z0.050
z0.500
x0 y0
m2
%
Now consider how much programming labor these canned cycles can save once you learn
them. Twenty-eight lines of code was reduced to nine lines; however, I spent far more
time just learning why you have to put the r0 in programs using the g99 command than I
did writing the above program, especially when you can just use the [Copy] and [Paste]
commands.
This concludes your basic course on CNC g-code programming. You’ll know if you
passed this course as soon as you attempt to write your own code to make a particular
part that you need. You now have the knowledge to produce a very complex part. The
next stage of codes to learn will only simplify the writing of the code you now know how
to write. I believe that working before you move on you should build up your confidence
by producing some parts that you can use before traveling on.
Conclusion
You’re ready to take off on your own
The next stop on the EMC highway is to visit Linux-CNC. The road to this town requires
a hookup to the internet to travel on. If you’re not connected to the internet you’re
missing one of the great advancements of civilization. It’s like having all the great
libraries of the world on your personal bookshelf. I have taught you the basic language of
g-code programming, and much more is available on the
http://www.linuxCNC.org/ site.
A couple of members from this group have written some programs for simplifying code-
writing that I’m sure you’ll find interesting. They have a users group that can be of great
help in solving code writing problems.
If you’re like me you will find a lot of satisfaction with this new ability to write a
program and then watch your faithful robot make parts for you at the push of a button.
Though the parts you make initially on this machine may be small, what you have learned
is not. When you master this, you will have gained the ability to make parts in shapes and
in numbers that cannot be matched by the world’s best machinists working by hand. If
you want, you can apply what you have learned to larger machines and larger parts later
on. Whether you took on this challenge just for the fun of it or as a way to solve an
76