Appendix 2. Order of G Function Command Priority
586
G Group
Commanded
G code
01
G00 to G03.1
G33
02
G17 to G19
03
G90, G91
05
G94, G95
06
G20, G21
07
G40 to G42
08
G43, G44,
G49
Arc and G43,
G44 cause
error P70
G command
commanded
last is valid.
G43, G44, G49
Length
compensation Arc and G43,
G44 cause
error P70
G50.1
G51.1
Program mirror
image
G52 is
executed
G40 to G42
are ignored
G52 is
executed
G43 to G49
are ignored
G52
Local
coordinate
system
G53 is
executed
G40 to G42
are ignored
G53 is
executed
G40 to G42
are ignored
G53
Machine
coordinate
system
G54 to G59
Workpiece
coordinate
system
G61 to G64
Mode selection
G65 is
executed
G00 to G03.1
modals are
updated
G65 is
executed
G43 to G49
modals are
updated
G65
Macro call