Professional Documents
Culture Documents
Translation
Available
Troubleshooting
Setting 85 is Too High for Shallow Text Engraving
Setting 85 specifies the machine's default Maximum Corner Rounding value. In shallow engraving applications, if this Setting has too
high of a value, it can cause engraving to appear faded and incomplete.
Corrective Action:
In the block before your G47 command, add a G187 E0.002 (G187 E0.05 in metric mode). This temporarily overrides Setting 85 and
acts closer to exact stop mode.
How it Works
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 1/9
G47 lets you engrave a line of text, or sequential serial numbers, with a single G-code. To use G47, Settings 29 (G91
Non-Modal) and 73 (G68 Incremental Angle) must be OFF.
Note: Corner rounding can cause engraved text to appear rounded and make them harder to read. To improve
the sharpness and readability of engraved text, consider lowering the corner-rounding values with a G187
E.Xxx value before the G47 command. Suggested starting E values are E0.002 (inch) or E0.05 (metric).
Command a G187 alone after the engraving cycle to restore the default corner-rounding level. Refer to the
example below:
G47 P0 X.15 Y0. I0. J.15 R.1 Z-.004 F80. E40. (Engraving Text);
Not all of these characters can be entered from the control. When programming from the mill keypad, or engraving
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 2/9
parenthesis (), refer to the following Engraving Special Characters section.
G47 P0 (TEXT TO ENGRAVE) X2. Y2. I45. J0.5 R0.05 Z-0.005 F15. E10. ;
G53 Y0 (Y home) ;
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 3/9
Engraving Program Example
In this example, G47 P0 selects literal string engraving. X2.0 Y2.0 sets the starting point for the text at the bottom left
corner of first letter. I45. places the text at a positive 45° angle. J.5 sets the text height to 0.5 units-in/mm. R.05
retracts cutter to 0.05 units above part after engraving. Z-.005 sets an engraving depth of -.005 units. F15.0 sets an
engraving, XY move, feedrate of 15 units per minute. E10.0 sets a plunge, -Z move, feedrate of 10 units per minute.
There are two ways to set the initial serial number to be engraved. The first requires replacing the # symbols within the
parenthesis with the first number to be engraved. With this method, nothing is engraved when the G47 line is executed
(it is only setting the initial serial number). Execute this once and then change the value within the parenthesis back to
# symbols to engrave normally.
The following example will set the initial serial number to be engraved to 0001. Run this code once and then change
(0001) to (####).
G47 P1 (0001) ;
The second method for setting the initial serial number to be engraved is to change the Macro Variable where this
value is stored (Macro Variable 599). The Macros option does not need to be enabled.
Press [CURRENT COMMANDS] then press [PAGE UP] or [PAGE DOWN] as needed to display the MACRO
VARIABLES page. From that screen, enter 599 and press Down cursor.
Once 599 is highlighted on the screen, type in the initial serial number to engrave, [1] for example, then press
[ENTER].
The same serial number can be engraved multiple times on the same part with the use of a macro statement. The
macros option is required. A macro statement as shown below could be inserted between two G47 engraving cycles to
keep the serial number from incrementing to the next number. For more details, see the Macros section of this manual.
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 4/9
Engraving Special Characters involves using G47 with specific P values ( G47
P32-126).
P- values to engrave specific characters
Example:
To engrave $2.00, you need (2) blocks of code. The first block uses a P36 to engrave the dollar sign ($), and the
second block uses P0 (2.00).
Note: Shift the X/Y start location between the first and second line of code to make a space between the dollar
sign and the 2.
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 5/9
Setting Initial Serial Number to be Engraved
There are two ways to set the initial serial number to be engraved. The first requires replacing the # symbols within the
parenthesis with the first number to be engraved. With this method, nothing is engraved when the G47 line is executed
(it is only setting the initial serial number). Execute this once and then change the value within the parenthesis back to
# symbols to engrave normally.
The following example will set the initial serial number to be engraved to 0001. Run this code once and then change
(0001) to (####).
G47 P1 (0001) ;
The second method for setting the initial serial number to be engraved is to change the Macro Variable where this
value is stored (Macro Variable 599). The Macros option does not need to be enabled.
Press [CURRENT COMMANDS] then press [PAGE UP] or [PAGE DOWN] as needed to display the MACRO
VARIABLES page. From that screen, enter 599 and press Down cursor.
Once 599 is highlighted on the screen, type in the initial serial number to engrave, [1] for example, then press
[ENTER].
The same serial number can be engraved multiple times on the same part with the use of a macro statement. The
macros option is required. A macro statement as shown below could be inserted between two G47 engraving cycles to
keep the serial number from incrementing to the next number. For more details, see the Macros section of this manual.
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 6/9
Sequential Serial Number Engraving (G47 P1)
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 set the number of digits in the serial number. For example, G47 P1 (####), limits the number to four
digits while (##) would limit the serial number to two digits.
T1 M06 ;
S7500 M03 ;
G47 P1 (####) X2. Y2. I0. J0.5 R0.05 Z-0.005 F15. E10. ;
M05 ;
G28 G91 Z0 ;
M30 ;
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 7/9
Engraving Around the Outside of a Rotary Part (G47, G107)
You can combine a G47 Engraving cycle with a G107 Cylindrical Mapping cycle to engrave text (or a serial number)
along the outside diameter of a rotary part.
This code engraves a four digit serial number along the outer diameter of a rotary part.
G53 Y0 (Y home) ;
Helpful Hints
Engraving Lowercase Characters
G47 uses a built-in block font to engrave characters. If you need a different font, or special characters, you cannot use G47.
Corrective Action:
Use a CAM system or other programming method to define toolpaths for special fonts or characters.
Engraving on a Lathe
Engraving on a Lathe
G47 is not available on lathes. To engrave characters on lathe, use a CAM system or manual programming.
Videos
TOTD Episode 06 - Easy Cylindrical Engraving & Machining: Use G47/G107 No CAM
needed - G47 Part 3
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 9/9
Copyright 2018 by Haas Automation, Inc. No unauthorized reproduction | Last Published On August 18, 2018 10/9