CNC Path Analyzer

Updated 2026-10-24

CNC G-code Learning Center

See how address values change the actual toolpath through synthetic NC and verified figures, not by memorizing command definitions alone.

How the articles in this Learning Center are made

There are many G-code explanations online, but few show how the path changes when a single address is changed. Every article here is built around a short NC example written specifically for the explanation, together with the path drawing produced by interpreting that example with the CNC Path Analyzer engine. The drawings are not hand-drawn illustrations: the engine recalculates them every time the pages are built, so if a number in the text and the drawing disagree, it is caught by the checks before publication.

Rather than just listing what each command means, each article covers the points that actually cause confusion on the shop floor (G71, where the same letter U means different things on different lines; lathe X, where diameter and radius get mixed; tapping cycles, where F is tied to the pitch) together with calculations you can try yourself.

Suggested reading order

  1. Basic motion and coordinates: G00 and G01 → G02/G03 arcs → absolute and incremental coordinates and work coordinate systems.
  2. If you work with lathes: read lathe X diameter programming first, then move on to the G71, G70 and G72 multiple repetitive cycles and the G76 threading cycle.
  3. If you work with machining centers: understand cutter radius compensation, then read the G83 peck drilling and G84 tapping cycles.
  4. If you work on whole programs: finish with subprograms (M98/M99) and machining time calculation.

What to know when using the examples

The examples are synthetic programs unrelated to any specific part or customer drawing, and they do not define workholding, tool lengths or offsets. Paste them into the tool to run the path yourself and check the concept, but on a real machine follow that machine's manual and dry-run procedure. If you find an error in the content, let us know through the contact page; we will check it and reflect the fix together with the change history.

Basic motion and coordinates

Lathe multiple repetitive cycles

Drilling and tapping cycles

Compensation and coordinate systems

Program structure and time

Lathe G98/G99 feed units: when F0.2 and F200 mean the same speed

Explains with an example the difference between lathe G99 feed per revolution (mm/rev) and G98 feed per minute (mm/min), how to convert between them, how they correspond to machining center G94/G95, and accidents caused by mixing up units.