Skip to content
Create account

This program looks like Fanuc / ISO, but the selected control is Fagor 8055. Warnings and alarms follow the selected control.

+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
%

ControlMachine

Guided programming

  • Contour

  • Pockets and slots

  • Drilling and boring

  • Threading

Pick a template from the list

Fill it in here, see its path in the viewer and insert it below the editor cursor.

Guide

Guided CNC programming: write G-code step by step with lathe and mill examples

Program in G-code without memorising every cycle. Pick where you are in the program (header, tool, work offsets, machining, retract and end), open an example block, fill in its values with the actual code in front of you and see in the 2D or 3D viewer where the tool will go before inserting it. There are more than 200 lathe and mill templates across Fanuc, Haas, Siemens, Heidenhain, Fagor, Mitsubishi, Mazak and Okuma, and it all runs free in the browser.

1

The program in the order you write it

Templates are grouped the way a real program is built: 1 header, 2 tool, 3 work offsets, 4 machining and 5 retract and end. At the top you see what your program already has (header, tool, spindle, coolant, machining and end) and clicking any of them opens its template. Depending on where the cursor is, the next step is suggested: start with the header, call the tool, machine, close a cycle with G80 or end the program.

2

Clearly named examples, every value explained

Each template says what it does and which code it uses, such as “Deep peck drilling (G83)” or “Rectangular pocket (POCKET3)”. It looks like the G-code block you are about to write, with boxes where each value goes; hover a G or M code to see its reference card and each box tells you what it is. In Siemens and Heidenhain cycles, which only carry numbers or Q parameters, every value has its name: RTP retract plane, Q201 depth...

3

Canned cycles and hand programming

You get each control's canned cycles (G81, G83, G84, G71, G70, G76, CYCLE81, POCKET3, CYCL DEF 200, Fagor G87...) and also blocks without a cycle to learn the basics: rapid move, feed line, arcs by radius or by centre, contour, facing, turning and grooving by hand. A filter separates canned cycles from hand programming and can show a single family: drilling, turning, milling, work offsets...

4

Warnings before inserting, S and F calculated

While you fill in the block, the usual mistakes are flagged: empty boxes, an R plane below the bottom, a Q peck larger than the hole, a G00 rapid into the material, a tool without M06, cutting without feed F or a stopped spindle. The Calculate S and F button suggests speed and feed from the material, operation and diameter, using the site's cutting data.

5

The toolpath before touching the program

The block's path is drawn dashed over the part in the 2D or 3D viewer, exactly where it will be inserted: below the editor cursor or before the end of the program. Behind it is the site's full simulator: real-time simulation, cycle time with your machine profile, safety and syntax warnings and program export.

6

AI copilot for questions and review

With a Pro account, a copilot reviews the program up to the cursor (what is right, what to watch and how to continue), proposes a machining plan from a description of the part, answers questions about your program and explains each checker warning with a fix you can apply in one click.

Frequently asked questions

Frequently asked questions about guided CNC programming

Can I learn CNC programming from scratch with it?

Yes. It follows the order of a real program, explains every G and M code on hover and every value in the boxes, flags typical mistakes before inserting and shows in the viewer what each block does. Useful for machining students and for anyone programming at the machine who does not remember a cycle's parameters.

Does it have CNC programming examples for lathe and mill?

Yes. For the mill there is drilling, tapping, boring, pockets, contours with cutter compensation, face milling and thread milling; for the lathe, facing, turning, profile roughing and finishing, grooving, threading and parting off. Each one is available as the control's canned cycle and, for the basic ones, also written by hand with G00, G01, G02 and G03.

Which controls does it include?

Fanuc and ISO, Haas, Siemens Sinumerik, Heidenhain (Klartext), Fagor 8055, Mitsubishi, Mazak and Okuma. Templates are filtered by the selected control and machine, so you only see syntax that works on your machine.

How is it different from the G-code simulator?

It is the same app, opened for writing a program instead of reviewing one you already have. The simulator starts on the analysis view; guided programming starts on the templates, the list of what the program is missing and the next step.

Where is the block inserted?

Below the editor cursor (or in its place if the line is empty) or before the end of the program (M30 or M02), as you choose. The exact line is shown and it can be undone with Ctrl+Z.

Is it free?

Yes: the templates, the warnings, the S and F calculation, the simulator and the cycle time are free. Only the AI copilot is a Pro feature.

Keep going

Related apps