Skip to content
Create account

Explain a CNC program

Paste a CNC program and the AI tells you what each operation does, with which tool and on which lines; or adds comments to the program without touching a single coordinate. With the 2D and 3D toolpath beside it.

+X+YTool centre with G41/G42 compensationHomeHome
0:00 / 1:24
%
O2001 (CYCLE TIME - 80 X 50 PLATE WITH TWO TOOLS)
G21 G17 G40 G49 G80 G90
T1 M06 (END MILL D10)
G54 G00 X-8. Y-8. S3200 M03
G43 H1 Z50. M08
Z2.
G01 Z-3. F300
G41 D1 X0. Y0. F600
Y50.
X80.
Y0.
X0.
G40 X-8. Y-8.
G00 Z50.
T2 M06 (DRILL D8)
G00 X15. Y15. S1800 M03
G43 H2 Z50.
G81 G98 Z-15. R2. F180
X40.
X65.
Y35.
X40.
X15.
G80
G00 Z100. M09 M05
M30
%

Program summary and explanation· Understand the program at a glancePRO

Prepare

28 lines· Fanuc (Series 0i, 30i, 31i, 32i) / ISO Estándar

What it explains

The whole program, operation by operation. Then each operation takes you to its lines and you can see it in the simulator.

Herramientas y ordenDesbaste, acabado y taladrosInicio y final del programa

Pro feature in development, planned for launch in January 2027. Create free account

AI can make mistakes. Always check the result before using it on the machine.

What does it do

  • Summarizes what the program does, with which tools and in what order
  • Splits it into operations: roughing, finishing, drilling, cycles and T changes
  • Each operation jumps to its lines in the editor and can be viewed in the simulator
  • Copy it for the next shift or for the customer
  • The result will appear here when you press the button.

Guide

Understanding a CNC program you did not write

An inherited program, one from the engineering office or one from another control: before running it you need to know what it does. The explanation splits it into operations with their lines, the tool and what it machines, and while you read it you see the toolpath in the simulator.

Real example: the 4-operation plate

What the explanation returned for this page's program (88 lines), translated from Spanish: seven blocks covering 99% of the program.

Program

N10 G17 G21 G40 G49 G80 G90
N20 G28 G91 Z0.0
N30 G90

(OP10 - FACE MILL TOP FACE T1 D63)
N40 T1 M06
N50 G54 G90 G00 X-45.0 Y22.0 S1800 M03
N60 G43 H1 Z50.0
N70 M08
N80 G00 Z2.0
N90 G01 Z0.0 F1000
N100 G01 X145.0 F550
N110 G00 Z2.0
…

Explanation

  • L1-13 Header and setup
  • L14-29 OP10: Top face milling (T1)
  • L30-53 OP20: Outer contouring (T2)
  • L54-63 OP30: Pre-drilling for M8 (T3)
  • L64-70 OP30b: Spot drilling (T3)
  • L71-84 OP40: Rigid tapping M8 (T4)
  • L85-88 End of program
1

Operation by operation

Each block says what it machines, with which tool and on which lines it starts and ends. Clicking a block takes you to those lines in the editor and that part of the toolpath.

2

Comments in the program itself

The comment option adds a comment to the lines that need one, in each control's format, without changing any coordinate, feed or speed. The program stays documented for the next person who opens it.

3

With the toolpath beside it

You read the explanation next to the 2D and 3D toolpath, each tool's time and the simulator's safety warnings: what the AI says can be checked by eye.

4

Any control

Fanuc, Haas, Siemens Sinumerik, Heidenhain Klartext, Fagor, Mazak, Okuma… It understands canned cycles, macros and subprograms, and answers in the page language.

5

To learn and to review

Useful for beginners who want to understand a real program, and for whoever has to sign off someone else's program without going through it line by line.

Frequently asked questions

Explaining G-code FAQ

What exactly does it do?

It summarizes the program into operations with their lines, the tool and what it machines. It reads the program, it does not change it.

Can it comment the program for me?

Yes, with «Comment lines»: it adds comments where needed without touching any coordinate. You see the change before accepting it.

Does it understand macros and subprograms?

Yes. The simulator also runs them: you see the real toolpath of a WHILE loop or an M98, not just the text.

Can I trust it one hundred percent?

It is a reading aid: compare it with the simulator's toolpath and warnings, which come from the program without AI.

Is it free?

The simulator is free: loading, 2D and 3D view, cycle time and warnings. The AI features are part of GetGCode Pro, currently in closed beta.

Keep going

Related apps