CNC Machinist Calculator Ultra

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

DIAM90 Diameter for absolute, radius for incremental

Siemens 840D 828D G-code · Lathe

X is a diameter in G90 and a radius in G91. Makes incremental moves read as real tool movement.

Format

DIAM90

How it works

Modal. Cancel with DIAMON or DIAMOF.

Example program

DIAM90 ; DIAMETER ABSOLUTE, RADIUS INCREMENTAL
G90 G0 X40 Z2 ; 40 MM DIAMETER
G91 G1 X-1 F0.1 ; IN 1 MM IN RADIUS
G90

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

DIAMON · DIAMOF · G91

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 DIAM90 in the app All Siemens 840D 828D G-codes

App Store Google Play