Home › G-codes › Siemens 808D › CYCLE90
CYCLE90 Thread milling cycle
Siemens 808D G-code · Mill
Mills an internal or external thread on a helix around center CPA CPO. Arc in and arc out moves are worked out from the thread diameters and the active tool radius.
Format
CYCLE90(RTP, RFP, SDIS, DP, DPR, DIATH, KDIAM, PIT, FFR, CDIR, TYPTH, CPA, CPO)
Addresses
| Address | What it does |
|---|---|
RTP | Retraction plane, absolute, mm |
RFP | Reference plane, absolute, mm, usually the part face |
SDIS | Safety clearance in front of RFP, no sign, mm |
DP | Final depth, absolute with sign, mm |
DPR | Final depth from RFP, no sign, mm. Used if DP is also set |
DIATH | Nominal diameter, outside of the thread, mm |
KDIAM | Core diameter, inside of the thread, mm |
PIT | Thread pitch, 0.001 to 2000 mm |
FFR | Feed for thread milling, no sign |
CDIR | 2 mills with G2, 3 mills with G3 |
TYPTH | 0 internal thread, 1 external thread |
CPA | Thread center, first axis, absolute, mm |
CPO | Thread center, second axis, absolute, mm |
How it works
Non modal. It runs once where it is called.
Example program
T5 D1 ; THREAD MILL
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X60 Y50 S2000 M3 ; OVER HOLE CENTER
Z20 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X60 Y50 S2000 M3 ; OVER HOLE CENTER
Z20 ; CLEARANCE
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The tool radius comes from the active D. Radius 0 gives alarm 61000. Too large a tool for an internal thread gives alarm 61105.
- The exit move runs past DP by part of a pitch, so drill the hole deeper than the thread.
- CDIR other than 2 or 3 makes the cycle use G3. To mill bottom up, use absolute depths with RTP past DP.
Related codes
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 CYCLE90 in the app All Siemens 808D G-codes