CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › DIAMOF

DIAMOF Diameter programming off

Siemens 840D 828D G-code · Lathe

X values are radius values. Used for some face work and older radius programs.

Format

DIAMOF

How it works

Modal. Cancel with DIAMON or DIAM90.

Example program

DIAMOF ; X IN RADIUS
G0 X20 Z2 ; 20 MM RADIUS EQUALS 40 MM DIAMETER
DIAMON ; BACK TO DIAMETER

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

DIAMON · DIAM90

Every G-code for Siemens 840D 828D in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open DIAMOF in the app All Siemens 840D 828D G-codes

App Store Google Play