CNC Milling Program Example – Step-by-Step G‑Code Tutorial
CNC mill program example for cnc machinists.

CNC Mill Programming Example

CNC Program
G0 X-60 Y0 G1 X-70 (P1) G2 X-25.02 Y25.97 R30 (P2) G1 X2.46 Y10.13 (P3) G3 X8.5 Y10.92 R5 (P4) G1 X18.79 Y21.21 (P5) G2 X25.13 Y-26.05 I21.21 J-21.21 (P6) G1 X-5 Y-8.66 (P7) G3 X-12.14 Y-11.13 R5 (P8) G2 X-70 Y0 R30 (P1) G1 X-60
G M S T Codes Explanation
| Code | Description |
|---|---|
| G00 | Rapid traverse |
| G01 | Linear interpolation |
| G02 | Circular interpolation CW |
| G03 | Circular interpolation CCW |
CNC Machine
- Beginner-Friendly Lathe CNC Programming Guide
- CNC Programming for Beginners: Learn with a Practical Example
- Step‑by‑Step CNC Lathe Programming Guide: Chamfer, Taper, Groove & Arc
- Beginner-Friendly Fanuc CNC Lathe Programming Example – Straight, Taper, and Arc Cuts
- Step-by-Step CNC Machining Center Programming Guide for Beginners
- Fanuc CNC Mill Contour Pecking: Efficient Subprogram Repeat Technique
- Master Sinumerik 810 CNC Mill Radius & Chamfer Programming – Step‑by‑Step Example
- Sinumerik 810 CNC Mill Programming: Master Radius & Chamfer Control
- CNC Turning Center Programming Tutorial: Step‑by‑Step Example for Beginners
- SELCA CNC Programming Sample – Step‑by‑Step Code Overview