1 2 6
G Codes
96-8000 rev R June 2007
G40 Cutter Comp Cancel (Group 07)
G40 will cancel G41 or G42 cutter compensation.
G41 2D Cutter Compensation Left / G42 2D Cutter Comp. Right (Group 07)
G41 will select cutter compensation left; that is, the tool is moved to the left of the programmed path to compen-
sate for the size of the tool. A D address must be programmed to select the correct tool radius or diameter offset. If
the value in the selected offset is negative, cutter compensation will operate as though G42 (Cutter Comp Right.)
was specified.
The right or left side of the programmed path is determined by looking at the tool as it moves away from you. If the
tool needs to be on the left of the programmed path as it moves away from you, Use G41. If it needs to be on the
right of the programmed path as it moves away from you, use G42.
Refer to the “Cutter Compensation” section for more information.
G43 Tool Length Compen (Add) / G44 Tool Length Comp - (Subtract) (Group 08)
A G43 code selects tool length compensation in the positive direction; the tool length in the offsets page is added
to the commanded axis position. A G44 code selects tool length compensation in the negative direction; the tool
length in the offsets page is subtracted from the commanded axis position. A non-zero H address must be entered
to select the correct entry from the offsets page.
G47 Text Engraving (Group 00)
During a G47 command the control switches to G91 (Incremental mode) while engraving and then switches back to
G90 (Absolute mode), when finished. To have the control stay in incremental mode, Setting 29 (G91 Non-Modal)
must be off.
E
Plunge feed rate (units/min)
F
Engraving feedrate (units/min)
I
Angle of rotation (-360. to +360.); default is 0
J
Height of text in inches (minimum = 0.001 inch); default is 1.0 inch
P
0
for literal string engraving
1
for sequential serial number engraving
32-126
for ASCII characters
R
Return plane
X
X start of engraving
Y
Y start of engraving
Z
Depth of cut
Sequential Serial Number Engraving
This method is used to engrave numbers on a series of parts, with the number being increased by one each time.
The # symbol is used to select the number of digits in the serial number. For example:
G47 P1 (#### )
will limit the serial number to four digits (P1 (##) will limit the serial number to two digits etc.).
The initial serial number can either be programmed or set manually. For example, if it is programmed:
G47 P1 (1234)
will set the initial serial number to “1234.”
The initial serial number can also be set manually into a macro variable. The Macros option does not have to be
enabled to do this. Macro variable #599 is used to hold the initial serial number to be engraved. For example, when
macro variable #599 is set to “1234,”
G47 P1 (####)
will produce:
1234
Summary of Contents for Mill
Page 12: ...96 8000 rev R June 2007 Safety 5 ...
Page 14: ...96 8000 rev R June 2007 Safety 7 LATHE WARNING DECALS ...
Page 15: ...8 Safety 96 8000 rev R June 2007 ...
Page 17: ...10 Introduction 96 8000 rev R June 2007 ...
Page 117: ...110 4 5 Axis Programming 96 8000 rev R June 2007 ...
Page 199: ...Settings 192 96 8000 rev R June 2007 ...