1 4 9
G Codes
96-8000 rev R June 2007
Program Code for Mirror Imaging in the X-Axis:
Program Example
Description
%
O3600
(Mirror image X axis)
T1 M06
(Tool #1 is a 0.250" diameter endmill)
G00 G90 G54 X-.4653 Y.052 S5000 M03
G43 H01 Z.1 M08
G01 Z-.25 F5.
F20.
M98 P3601
G00 Z.1
G101 X0.
X-.4653 Y.052
G01 Z-.25 F5.
F20.
M98 P3601
G00 Z.1
G100 X0.
G28 G91 Y0 Z0
M30
%
%
O3601
(Contour subprogram)
G01 X-1.2153 Y.552
G03 X-1.3059 Y.528 R.0625
G01 X-1.5559 Y.028
G03 X-1.5559 Y-.028 R.0625
G01 X-1.3059 Y-.528
G03 X-1.2153 Y-.552 R.0625
G01 X-.4653 Y-.052
G03 X-.4653 Y.052 R.0625
M99
%
G102 Programmable Output to RS-232 (Group 00)
X
X-axis command
Y
Y-axis command
Z
Z-axis command
A
A-axis command
Commanding a G102 will send the current work coordinates of the axes to the first RS-232 port, from there a
computer is used to record the values sent. Each axis listed in the G102 command block is output to the RS-232
port in the same format as values displayed in a program. A G102 should be used in a command block without any
other G-codes. It will not cause any axis motion, the value for the axes have no effect.
Also see Setting 41 and Setting 25. The values sent out are always the current axis positions referenced to the
current work coordinate system.
This G-code is useful in order to probe a part (also see G31). When the probe touches the part, the next line of
code could be a G102 to send the axes position to a computer in order to store the coordinates. This is referred to
as digitizing a part. Digitizing is taking a tangible part and making an electronic copy of it. Additional software for
the personal computer is required to complete this function.
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 ...