G-CODEEIA/ISO · one-shot
G27

Reference point check

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

As with G28, execution of a G27 command will output a completion signal for return to the refe- rence point if the position arrived on the specified axis is the reference point. This function with positioning data for the reference point can be used, therefore, to check whether or not the execution of a program is brought to an end with the reference point being arrived on the specified axes.

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

Programming format
G27 Xx Yy Zz Pp
1 1 1 1
Check No.
Address words
  • P1: First reference point check
  • P2: Second reference point check
  • P3: Third reference point check
  • P4: Fourth reference point check
  • Return control axis
  • Check command
Source

Mazak PROGRAMMING MANUAL for EIA/ISO PROGRAM, manual H747PB0030E, section 14-12 Return to Reference Point Check Command: G27, p. 3-11, 14-30, 14-31. Reference and explanation only — not a reproduction of the manual.

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