4.3.4 Other G codes


G code

Format

Function

G04

G04 P_ or G04 X_

time dwell

G09

G09 ....

Single block precise positioning

G10

G10

Open data settings/data settings


G10 (I0) P_L_R_

Set the tool length compensation value and tool radius compensation value


G10 I1 X_ Pp1 Pp2

Pp1 Pp2

Set the pitch compensation value


G10 I2 Xx Yy Zz Aa Bb Cc

Set additional offset


G10.01

Select the second spindle (sub spindle)


G10.02_

Start the following axis


G10.03_

Coordinate system mapping


G10.04

Mechanical offset


*G10.07

Turn on the rotary axis shortest path mode


G10.10 P_

High speed and high precision parameter selection


G10.20



G10.37 Pp(Macro) Qq(Macro)

Set Macro to tool length compensation and tool length wear


G10.38 Pp(Macro) Qq(Macro)

Set the Macro to tool radius compensation and tool radius wear


G10.54~G10.59 Qq

The G54~G59 coordinate offset is set by the Macro variable


G10.54 Qq(Macro) Pp(Macro)

Assume that the value of the Macro variable in group p is n. Then this command will set six consecutive variables starting from Macro group q to the G54 extra coordinate offset of G54.1


G10.60

Macro smooth mode


G10.65

Switch to macro mode B


G10.66

Start a very small line segment connection

G11

G11

Close data setting/data acquisition


G11 I0 Pn Pm

Get tool length compensation and tool radius compensation data (the CNC controller must have the Macro function to use)


G11 I2 Pn

Get extra offset (CNC controller must have Macro function to use)


G11.01

Select the first spindle


G11.02_

Close the following axis


G11.03_

Close coordinate mapping


G11.04

Off mechanical offset


G11.07

Turn off the rotary axis shortest path mode


G11.10

Do not choose high speed and high precision parameters


G11.20



G11.37 Pp(Macro) Qq(Macro)

Remove tool length compensation and tool length wear to Macro


G11.38 Pp(Macro) Qq(Macro)

Remove tool radius compensation and tool radius wear to Macro


G11.54~G11.59 Qq

Remove the G54~G59 coordinate offset to the Macro variable


G11.60

Macro smooth mode cancellation


G11.65

Switch to macro mode A


G11.66

Turn off very small line segment connection

G37

G37 Z_Q_D_F_E

Automatic tool measurement

G52

G52 X_Y_Z_A_

Sub-coordinate system set

G92

G92 X_Y_Z_A_

Program origin setting


G92 X_Y_Z_A_B_C_

Same as above


G92

Program origin position setting

G65

G65 Pp Qq [Aa][Bb][Cc]……[Yy][Zz]

Call macro subroutine