96-8000 201
G CODES
June 1999
Incorrect: Correct:
G41 X1.0 Y1.0 G41 X1.0 Y1.0
G01 X2.0 Y2.0 G01 X2.0 Y2.0
G101 X0 G101 X0
G00 Z1.0 G00 Z1.0
G00 X2.0 Y2.0 G00 X1.0
G00 X2.0 Y2.0
G40 G40
The mirror function can change the direction of motion along any of the axes. If any one of these are selected,
the display will show the status. Mirror image will reflect programmed motion around your work coordinate zero
point. Be careful that mirror of only one of X or Y will cause the cutter to move along the opposite side of a cut.
In addition, if mirror is selected for only one axis of a circular motion plane, circular motion G02 and G03 are
reversed and left side and right side cutter compensation G41 and G42 are reversed. Settings 45 through 48
are used to select mirror image.
PROGRAMMABLE O UTPUT TO RS-232 (G102)
G102 Programmable Output to RS-232 Group 00
X Optional X-axis command
Y Optional Y-axis command
Z Optional Z-axis command
A Optional A-axis command
Programmable output to the RS-232 port allows the current work coordinates of the four axes to be output. This
G code (G102) is non-modal so only affects the block in which it is programmed. This G code should be used
in a command block without any other G codes and it will not cause any axis motion. The actual value given for
the X, Y, Z, or A code has no effect. One complete line of text is sent to the first RS-232 port (same one used
for upload, download, and DNC). Each axis listed in the G102 command block is output to the RS-232 port in
the same format as values are displayed in a program.
Optional spaces (Setting 41) and EOB control (Setting 25) are applied. The values sent out are always the
current axes positions referenced to the current work coordinate system.
Digitizing of a part is possible using this G code and a program which steps over a part in X-Y and probes
downward in Z with a G31. When the probe hits, the next block could be a G102 to send the X, Y, Z position
out to a computer which could store the coordinates as a digitized part.