Home › G-codes › Siemens 808D › CYCLE99
CYCLE99 Thread cutting cycle
Siemens 808D G-code · Lathe
Cuts single or multi start straight, taper or face threads, outside or inside, with constant infeed or constant chip area. The pitch can be in mm or threads per inch.
Format
CYCLE99(SPL, DM1, FPL, DM2, APP, ROP, TDEP, FAL, IANG, NSP, NRC, NID, PIT, VARI, NUMTH, _VRT, 0, 0, 0, 0, 0, 0, 0, PITA, 0, 0, 0, PSYS)
Addresses
| Address | What it does |
|---|---|
SPL | Thread start point in Z |
DM1 | Thread diameter at the start point |
FPL | Thread end point in Z |
DM2 | Thread diameter at the end point |
APP | Run in path, no sign, mm |
ROP | Run out path, no sign, mm |
TDEP | Thread depth, no sign, mm |
FAL | Finish allowance, no sign, mm |
IANG | Infeed angle. Plus rear flank, minus front flank, 0 straight in |
NSP | Start angle of the first thread, degrees |
NRC | Number of roughing cuts |
NID | Number of spring passes |
PIT | Pitch, no sign, unit set by PITA |
VARI | 300101 outside, 300102 inside constant infeed. 300103 outside, 300104 inside constant chip area |
NUMTH | Number of thread starts. 0 or empty for one |
_VRT | Retract above the start diameter, mm. 0 gives 1 mm |
0 | Internal values, always 0, at places 17 to 23 and 25 to 27 |
PITA | 1 pitch in mm, 2 threads per inch |
PSYS | 0 straight thread, 10 face thread, 20 taper thread |
How it works
Non modal. It runs once where it is called.
Example program
T3 D1 ; 60 DEG THREADING TOOL
G18 G90 G95 G0 X35 Z10 S800 M3 ; START POSITION, RIGHT HAND
CYCLE99(0,30,-25,30,5,2,1.23,0.05,29,0,8,1,2,300103,0,0.5,0,0,0,0,0,0,0,1,,,,0) ; M30 X 2 OUTSIDE
G0 X100 Z100 ; CLEAR
G18 G90 G95 G0 X35 Z10 S800 M3 ; START POSITION, RIGHT HAND
CYCLE99(0,30,-25,30,5,2,1.23,0.05,29,0,8,1,2,300103,0,0.5,0,0,0,0,0,0,0,1,,,,0) ; M30 X 2 OUTSIDE
G0 X100 Z100 ; CLEAR
Example is in inch. Check offsets and clearances first.
Watch out for
- The spindle needs an encoder. M3 or M4 before the call sets right or left hand. Overrides do not act in the thread passes.
- VARI is a 6 digit code from 300101 to 300104. Other values give alarm 61002.
- DM1 and DM2 are the outside diameter, or the tap hole diameter for inside threads.
Related codes
CYCLE99 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Siemens 840D 828D | Thread turning cycle, Operate |
Every G-code for Siemens 808D 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 CYCLE99 in the app All Siemens 808D G-codes