CNC Machinist Calculator Ultra

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

CYCLE97 Thread cutting cycle

Siemens 840D 828D G-code · Lathe

Cuts outside or inside threads, straight or taper, single or multi start. Pitch, start and end points, diameters, depth, infeed angle and number of cuts are set in the call.

Format

CYCLE97(PIT, MPIT, SPL, FPL, DM1, DM2, APP, ROP, TDEP, FAL, IANG, NSP, NRC, NID, VARI, NUMT, _VRT)

Addresses

AddressWhat it does
PITThread pitch as a value
MPITPitch as metric thread size, 3 to 60
SPL FPLThread start and end point in Z
DM1 DM2Diameter at start and at end
APP ROPRun in and run out path
TDEPThread depth
FALFinish allowance
IANGInfeed angle. Plus feeds along one flank, minus alternates flanks.
NSPStart angle offset of the first thread in degrees
NRCNumber of roughing cuts
NIDNumber of spring passes
VARI1 to 4: outside or inside, constant infeed or constant chip area
NUMTNumber of thread starts
_VRTLift off distance

How it works

Non modal.

Example program

T3 D1 ; THREADING TOOL
G97 S800 M3 ; FIXED RPM
G0 X24 Z5 ; START POSITION
CYCLE97(2.5,,0,-30,20,20,5,2,1.53,0.05,29,0,8,1,3,1,1) ; M20 X 2.5 OUTSIDE THREAD
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

CYCLE99 · G33 · G97

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

App Store Google Play