G-CODEEIA/ISO · modal · group 11
G51
Scaling 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
The shape specified in a machining program can be enlarged or reduced in size using scaling command G51. The range of scaling (enlargement/reduction) factors is from 0.000001 to Use command G51 to specify a scaling axis, the center of scaling, and a scaling factor. Use command G50 to specify scaling cancellation.
G51 is modal (group 11) — it stays in effect until another code of the same group replaces it.
Programming format
G51 Xx Yy Zz Pp Scaling on (specify a scaling axis, the center of scaling (incremental/absolute), and a scaling factor) G50 Scaling cancel
Address words
- Scaling factor: b/a
Source
Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 13-8 Scaling ON/OFF: G51/G50, p. 3-11, 13-80, 13-81, 13-82, 13-83, 13-84, 13-85, 13-86, 13-87, 13-88, 13-89, 13-90, 13-91. Reference and explanation only — not a reproduction of the manual.