Home › G-codes › Haas NGC › G101
G101 Mirror image enable / Enable mirror image
Haas NGC G-code · Mill, Lathe
On mills: Mirror image enable
Mirrors motion on the named axes about work zero. Use it to cut a left hand version of a right hand part.
Format
G101 X Y Z [A B]
Addresses
| Address | What it does |
|---|---|
X Y Z A B | Axes to mirror |
How it works
Modal until G100 cancels it.
Example program
G90 G54 (PART ZERO AT THE MIRROR LINE)
G101 X0. (MIRROR X ABOUT X0)
M98 P1004 (CUT THE MIRRORED FEATURE)
G100 X0. (MIRROR OFF)
G101 X0. (MIRROR X ABOUT X0)
M98 P1004 (CUT THE MIRRORED FEATURE)
G100 X0. (MIRROR OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Mirroring one axis flips arc direction and cutter comp side, so climb milling becomes conventional.
- Mirror image settings on the settings page do the same thing. Check them if parts come out flipped.
On lathes: Enable mirror image
Turns on mirror image for the axes named in the block. Settings 45 and 47 can also turn mirror on.
Format
G101 X0 [Z0]
Addresses
| Address | What it does |
|---|---|
X Z | Axis to mirror, the value is ignored |
How it works
Non-modal block, group 00. Mirror stays on until G100 or reset.
Example program
G101 X0 (MIRROR X)
M97 P100 (RUN PATH MIRRORED)
G100 X0 (MIRROR OFF)
M97 P100 (RUN PATH MIRRORED)
G100 X0 (MIRROR OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- G14 mirrors Z by itself. Do not add G101 Z on top or mirror cancels.
- The bottom of the screen shows when an axis is mirrored.
Related codes
Every G-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G101 in the app All Haas NGC G-codes