Home › G-codes › Siemens 840D 828D › CYCLE81
CYCLE81 Drilling and centering cycle
Siemens 840D 828D G-code · Mill
Rapids to the safety distance, feeds to depth, then rapids out to the retract plane. Used for spot drilling and short holes.
Format
CYCLE81(RTP, RFP, SDIS, DP, DPR)
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. |
How it works
Non modal. It runs once at the current position. Use MCALL to repeat it at every following position.
Example program
T3 D1 ; 8.5 MM DRILL
M6
G17 G90 G54 G0 X0 Y0 F200 S2000 M3 ; START POSITION
Z50 ; CLEARANCE
…
M6
G17 G90 G54 G0 X0 Y0 F200 S2000 M3 ; START POSITION
Z50 ; CLEARANCE
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Program F, S and the spindle direction before the call. The cycle uses the active values.
- Call it with MCALL and then list the hole positions. MCALL alone cancels the modal call.
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 CYCLE81 in the app All Siemens 840D 828D G-codes