Home › G-codes › Siemens 840D 828D › CYCLE84
CYCLE84 Rigid tapping cycle
Siemens 840D 828D G-code · Mill
Taps with the spindle in position control, no floating holder needed. The pitch comes from MPIT as a metric size or from PIT as a value. SST is the tapping speed and SST1 the retract speed.
Format
CYCLE84(RTP, RFP, SDIS, DP, DPR, DTB, SDAC, MPIT, PIT, POSS, SST, SST1)
Addresses
| Address | What it does |
|---|---|
RTP | Retract plane, absolute |
RFP | Reference plane, absolute, usually the part top |
SDIS | Safety distance above the reference plane, no sign |
DP | Final depth, absolute |
DPR | Final depth relative to the reference plane, no sign. Program DP or DPR and leave the other empty. |
DTB | Dwell at depth in seconds |
SDAC | Spindle direction after the cycle, 3, 4 or 5 |
MPIT | Pitch as metric thread size, 3 for M3 up to 48 for M48. Sign sets the direction. |
PIT | Pitch as a value in mm. Sign sets the direction. |
POSS | Spindle stop angle in degrees before tapping |
SST | Spindle speed for tapping |
SST1 | Spindle speed for retract |
How it works
Non modal. It runs once at the current position. Use MCALL to repeat it at every following position.
Example program
T5 D1 ; M10 X 1.5 TAP
M6
G0 X20 Y20 ; OVER HOLE
Z50
…
M6
G0 X20 Y20 ; OVER HOLE
Z50
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Program MPIT or PIT, not both.
- The spindle must support position control. Use CYCLE840 with a floating holder.
- Newer software adds parameters after SST1 for chip breaking and technology settings.
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 CYCLE84 in the app All Siemens 840D 828D G-codes