The G Codes G98 and G99 are used to lift the cutter to different heights during a canned cycle on a CNC milling machine. On lathes, these G Codes are used to set the feed rate mode, so this lesson concentrates on programming a CNC mill.