G-code reference

G101 G-Code: Mirror Image On (Haas)

Mirror Image On (Haas) — Haas command that mirrors the following moves about the axis value given (G100 cancels). Equivalent to Fanuc G51.1/G50.1.

By cnccode · Updated
PropertyValue
CodeG101
FunctionMirror Image On (Haas)
Modal group11
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG101 X_ Y_

What does G101 do?

Haas command that mirrors the following moves about the axis value given (G100 cancels). Equivalent to Fanuc G51.1/G50.1.

G101 is modal: once programmed it remains in effect for the following blocks until another code from modal group 11 replaces it or the control is reset.

Syntax and parameters

Format
G101 X_ Y_
AddressMeaning
X / YMirror line

G101 example program

Example
G101 X0
M97 P1000
G100 X0

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Climb milling becomes conventional when mirrored — check finish.

Controller compatibility

G101 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G101 modal?
Yes. G101 belongs to modal group 11 and stays active until another code of that group is programmed.
What does G101 mean in CNC?
G101 means Mirror Image On (Haas). Haas command that mirrors the following moves about the axis value given (G100 cancels). Equivalent to Fanuc G51.1/G50.1.
What is the difference between G101 and G51.1?
G101 is Mirror Image On (Haas), while G51.1 is Programmable Mirror Image. See the G51.1 page for its syntax and examples.
Can I use G101 on a lathe?
Usually not with the same meaning: G101 is documented here for milling machines. Check your control manual for the equivalent.