Appendix 2. Order of G Function Command Priority
583
G Group
Commanded
G code
01
G00 to G03
02
G17 to G19
03
G90, G91
05
G94, G95
06
G20, G21
07
G40 to G42
08
G43, G44,
G49
Possible in
same block
G20, G21
Inch/metric
changeover
G00 to G03.1
modals are
updated
G27 to G30
are executed
G27 to G30
are executed
G40 to G42
are ignored
G27 to G30
are executed
G43 to G49
are ignored
G27 to G30
Reference
position
compare/ return
Error:P608
G31 to G31.3
Skip
Error:P608
G command
commanded
last is valid.
G33
Thread cutting
G37 is
executed
G00 to G33
are ignored
G37 is
executed
G40 to G42
are ignored
G37 is
executed
G43 to G49
are ignored
G37
Automatic tool
length
measurement
Arc and G41,
G42 cause
error P151
G command
commanded
last is valid.
G40 to G42
Tool radius
compensation
G41 and G42
in arc modal
cause error
P151
Plane axis
changeover
during tool
radius
compensation
causes error
P112