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