G-CODEEIA/ISO · modal · group 19
G51.1
Mirror image ON
Machine-specific. This G-code reference is specific to the Mazak INTEGREX e-670H / e-670H-S with the MAZATROL SmoothX control (EIA/ISO programming manual H747PB0030E). G-code availability depends on fitted options, and groups and behaviour differ between Mazak models and control generations — verify against the manual for your own machine before programming with any code.
What it does
Mirror image mode can be turned on and off for each axis using G-codes. Higher priority is given to the mirror image setting with the G-codes over setting by any other methods. Mirror image mode can be turned on and off for linear and rotational axes using M-codes.
G51.1 is modal (group 19) — it stays in effect until another code of the same group replaces it.
Programming format
G51.1 Xx Yy Zz Cc Bb Mirror image ON 1 1 1 1 1 G50.1 Xx Yy Zz Cc Bb Mirror image OFF 2 2 2 2 2 M91 Mirror image ON for the X-axis M92 Mirror image ON for the Y-axis M93 Mirror image ON for the B-axis M90 Mirror image OFF
Source
Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 13-9 Mirror Image ON/OFF by G-Code: G51.1/G50.1, p. 3-11, 13-93, 13-94, 13-95. Reference and explanation only — not a reproduction of the manual.