G-CODEEIA/ISO · one-shot
G10

Data setting mode 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 G10 command allows tool offset data, work offset data and parameter data to be set or modified in the flow of program. 2. Programming formats A. Programming workpiece offsets - Programming format for the workpiece origin data G10 L2 P_ Xp_ Yp_ Zp__ (: Additional axis) P0: Coordinate shift (Added feature) Data of P-commands other than those listed above are handled as P = 1. If P-command setting is omitted, the workpiece offsets will be handled as currently effective - Programming format for the additional workpiece origin data (option) G10 L20 P_ Xp_ Yp_ Zp__ (: Additional axis) The setting ranges of the data at axial addresses are as follows: Metric Inch Linear axis ±99999.9999 mm ±9999.99999 in Rotational axis ±99999.9999° ±99999.9999° B. Programming tool offsets G10 L10 P_R_ Length offset; Geometric Z G10 L11 P_R_ Length offset; Wear comp. Z G10 L12 P_R_ Radius/Nose radius compensation (Geometric) G10 L13 P_R_ Radius/Nose radius compensation (Wear comp.) G10 L14 P_R_ Length offset; Geometric X G10 L15 P_R_ Length offset; Wear comp. X […]

G10 is one-shot (group 00) — it is valid only in the block where it is entered.

Programming format
G10 L2 P_ Xp_ Yp_ Zp__ (: Additional axis)
G10 L20 P_ Xp_ Yp_ Zp__ (: Additional axis)
G10 L10 P_R_ Length offset; Geometric Z
G10 L11 P_R_ Length offset; Wear comp. Z
Address words
  • P0: Coordinate shift (Added feature)
  • P1: G54 P4: G57
  • P2: G55 P5: G58
  • P3: G56 P6: G59
  • P1: G54.1 P1
  • P2: G54.1 P2
  • P299: G54.1 P299
  • P300: G54.1 P300
  • N: Parameter number
  • P: Axis number (for axis type parameter)
  • R: Data of parameter
  • Parameter N: Number P: Axis No.
Notes & precautions
  • Final offset stroke: H10 = –5000 1000 1000 1000 1000 MEP134 Example 3: The programs in Example 2 above can be rewritten as follows: Main program N1 G00 X100000 N2 M98 P1111 L4 Subprogram O1111 N1 G01 G91 G43 Z0 H10 F100 N2 G01 X1000 N3 G10 L10 P10 R–1000 N4 M99 Note: Even when the command code is displayed on <Next Command>, the current offset number and variables will remain unupdated until that command is executed. N1 G10 L10 P10 R–100 […]
  • Final offset stroke: H10 = –5000
  • Even when the command code is displayed on <Next Command>, the current offset
Source

Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 12-7 Programmed Data Setting: G10, p. 3-11, 12-67, 12-68, 12-69, 12-70, 12-71, 12-72, 12-73, 12-74, 12-75. Reference and explanation only — not a reproduction of the manual.

Not sure how to use it? Ask the Mazatrol assistant →