Example program · Lathe

Lathe Facing Box Cycle (G94) — G-Code Example

Faces 3 mm off the end of a Ø60 part with the G94 facing cycle in steps of 1 mm.

By cnccode · Updated

Faces 3 mm off the end of a Ø60 part with the G94 facing cycle in steps of 1 mm.

ItemValue
MachineCNC lathe (Fanuc G-code system A)
UnitsMetric (G21)
Lines11

Program

G-code
O2103 (G94 FACE 3 MM)
G21 G18 G40 G99
T0101
G50 S3000
G96 S220 M03
G00 X62. Z2. M08
G94 X-1.6 Z-1. F0.2
Z-2.
Z-3.
G00 X100. Z100. M09
M30

▶ Simulate in the G-code viewer

How it works

  • X-1.6 faces past centre by 2 × nose radius to avoid a pip.
  • Z values are the face position for each pass.

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 lathe programs