Home › G-codes › Siemens 840D 828D › DIAMON
DIAMON Diameter programming on
Siemens 840D 828D G-code · Lathe
X values are diameters in both absolute and incremental programming. Many lathes start in this mode by machine data.
Format
DIAMON
How it works
Modal. Cancel with DIAMOF or DIAM90.
Example program
DIAMON ; X IN DIAMETER
G0 X40 Z2 ; 40 MM DIAMETER
G1 Z-20 F0.2
G0 X40 Z2 ; 40 MM DIAMETER
G1 Z-20 F0.2
Example is in inch. Check offsets and clearances first.
Watch out for
- With DIAMON, G91 X2 moves the tool 1 mm in radius.
- Program DIAMON at the start so the program does not depend on the reset state.
Related codes
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 DIAMON in the app All Siemens 840D 828D G-codes