G Codes for Machining Centers. GCodes: Code: Application: G00: positioning (rapid traverse) (M,T) G01: linear interpolation (feed) (M,T) G02: ... measure dia. and center of hole (M) G40: cutter compensation cancel (M) G41: cutter compensation left (M) G42: cutter compensation right (M) G43: