Instructions

reading them now. They are quite simple. Remember that modal g-codes remain in effect
until the control receives a new g-code that over-rides the present code. Modal g-codes
control function, direction or speed and, in general, cannot be used in the same line of
code with other modal g-codes for obvious reasons.
g00 rapid positioning
g01 linear interpolation
g02 circular/helical interpolation (clockwise)
g03 circular/helical interpolation (c-clockwise)
g04 dwell
g10 coordinate system origin setting
g17 xy plane selection
g18 xz plane selection
g19 yz plane selection
g20 inch system selection
g21 millimeter system selection
g40 cancel cutter diameter compensation
g41 start cutter diameter compensation left
g42 start cutter diameter compensation right
g43 start tool length compensation
g49 cancel tool length compensation
g90 absolute distance mode
g91 incremental distance mode
There are no erasers in the machine trades
One other quick thing to note, it should be obvious that I could have provided a disk with
all the examples typed in or to be downloaded, but accurately typing in a program is as
much a part of learning CNC as making chips. When you misspell a word in a letter, the
reader of the letter usually knows what you were trying to say and will not even notice it.
In the world of robots, our robots can self-destruct trying to carry out your foolish typing
error. This kind of typing requires them same precision as machining. There are no
erasers in the machine trades. Only people who express themselves with their mouths and
writings have the use of this marvelous tool. Machinists express themselves with their
work, and that’s the way I like it.
In this exercise the home position is going to be where the tables were located when the
EMC2 was turned on, which is why I had you center the machine slides and is called
x0,y0 and z0. The X-axis is the table that will move to your left when it moves in a
positive direction. The x0, y0 and z0 is also designated in the backplot box with arrows
pointing towards the positive direction away from this position. No more excuses, we’re
going to program that circle I promised you. Note: Although the EMC2 doesn’t need the
“0” after the “g” in g00 or g01 I’ll use them because they are the designations all popular
CNC systems use. Also, I prefer lower case letters because you are less likely to make
errors and mix them with numbers. The capital letter O and the number 0 can be difficult
36