Appendix 2. Order of G Function Command Priority
585
G Group
Commanded
G code
09
G73 to G89
10
G98, G99
12
G54 to G59
13
G61 to G64
14
G66 to G67
17
G96, G97
19
G50.1
G51.1
G20, G21
Inch/metric
changeover
G66 to G67
are executed
G27 to G30
are ignored
G27 to G30
are executed
G50.1 and
G51.1 are
ignored
G27 to G30
Reference
position
compare/ return
G31 to G31.3
Skip
Group 1
command is
executed
Group 9 is
canceled
G66 to G67
are executed
G33 modals is
updated
G33
Thread cutting
G66 to G67
are executed
G37 modals is
ignored
G37
is
executed
G50.1 and
G51.1 are
ignored
G37
Automatic tool
length
measurement
Error:P155
G40 to G42
Tool radius
compensation
Error:P155