Example program · Mill

Face Milling Program (Zig-Zag Passes) — G-Code Example

Faces the top of a 100 × 60 mm block with a 50 mm face mill in zig-zag passes at 70 % stepover, leaving the surface at Z0.

By cnccode · Updated

Faces the top of a 100 × 60 mm block with a 50 mm face mill in zig-zag passes at 70 % stepover, leaving the surface at Z0.

ItemValue
MachineCNC mill / machining centre (Fanuc-style)
UnitsMetric (G21)
Lines19

Program

G-code
O1001 (FACE MILL 100 X 60)
G21 G17 G40 G49 G80 G90
T1 M06 (50 MM FACE MILL)
G54 G00 X-30. Y0
S1600 M03
G43 H01 Z25. M08
Z2.
G01 Z0 F500.
X130. F900.
Y35.
X-30.
Y60.
X130.
G00 Z25.
M09
G91 G28 Z0
G28 Y0
G90
M30

▶ Simulate in the G-code viewer

How it works

  • Start and end off the part so the cutter enters and exits cleanly.
  • Stepover of 35 mm is 70 % of the 50 mm cutter.
  • Change Z0 to Z-0.5 etc. to take a skim cut below the raw surface.

Codes used in this program

Always check feeds, speeds, offsets and clearances for your own machine and tooling, and prove new programs with single block and reduced rapid.

More milling programs