Appendix 3. Order of G Function Command Priority
G code
09
G73 ~ G89
Commanded
G code
G43, G44, G49
Length
compensation
G50.1
G51.1
Program mirror
image
G52 is
executed
G52
G73 ~ G89 are
Local
ignored
coordinate
system
G53
Machine
coordinate
system
G54 ~ G59
Workpiece
coordinate
system
G61 ~ G64
Mode selection
G65 is
executed
G65
G73 ~ G89 are
ignored
Macro call
12
10
G54 ~ G59
G61 ~ G65
G98, G99
G command
commanded
last is valid.
G command
commanded
last is valid.
13
14
G66 ~ G67
G66 ~ G67
are executed
G43 ~ G49
modals are
updated
G66 ~ G67
are executed
G50.1
G51.1 is
ignored
G66 ~ G67
are executed
G54 ~ G59
modals are
updated
Error
340
17
G96, G97
G command
commanded
last is valid.
G52 is
executed
G50.1
G51.1 is
ignored
G53 is
executed
G50.1
G51.1 is
invalid
G65 is
executed
G50.1
G51.1 is
ignored
19
G50.1
G51.1