149
96-8000 Rev AC
May 2010
G
&
M
Codes
Settings
In this example:
G47 P0
select literal string engraving
X2.0 Y2.0 select 2.0, 2.0 as the starting point for the text.
I45. places the text at a positive 45° angle
J.5 sets the text height to 0.5 inch
R.05 commands the cutter to retract to 0.05 inch above the cutting plane
after engraving
Z-.005
selects a 0.005 inch (mm) deep cut
F15.0
selects an engraving feedrate of 15 units/min
E10.0
commands the cutter to plunge at a rate of 10 units/min
The milling strokes defining each character, i.e., the font, are compiled G-code
in the HAAS control. The font characters may be redefined by supplying a dif
-
ferent G-code program, giving it the name O09876. This program must conform
to the format expected by the HAAS control.
Note: Avoid using program number O09876 for programs other than font defin
-
ing. Overwriting O09876 with a regular milling program will prevent G47 from
functioning properly.
For guidance, some of the code from the built-in font program is shown be
-
low. The example below may be used as a template. Code should be written
exactly as shown.
P values to engrave specific characters:
32
blank
41
)
59
;
93
]
33
!
42
*
60
<
94
^
34
“
43
+
61
=
95
_
35
#
44
,
62
>
96
‘
36
$
45
-
63
?
97-122
a-z
37
%
46
.
64
@
123
{
38
&
47
/
65-90
A-Z
124
|
39
‘
48-57
0-9
91
[
125
}
40
(
58
:
92
\
126
~
Example
To engrave “$2.00” two lines of code are necessary. The first will be using a
P36 to engrave the dollar sign ($), and the second will use P0 (2.00). Note that
the axes will need to be shifted between the first and second line of code in
order to make a space between the dollar sign and the 2.
Example O9876 G-Code Program
Comments
%
% marks the start of the program.
O9876 (Engraving)
The program number must be 9876.
#700= #4003
Save G90/G91
#701= #4001
Save G00/G01 etc.
G00 X#24 Y#25
Z#18
If R, move there with users G90/G91
#702= #5003 - #26
Summary of Contents for 96-8000
Page 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Page 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Page 41: ...32 96 8000 Rev AC May 2010 ...
Page 93: ...84 96 8000 Rev AC May 2010 ...
Page 129: ...120 96 8000 Rev AC May 2010 ...
Page 133: ...124 96 8000 Rev AC May 2010 ...
Page 268: ......
Page 269: ......