Home › G-codes › Siemens 808D › CYCLE81
CYCLE81 Drilling and centering cycle / Drilling and centering on center
Siemens 808D G-code · Mill, Lathe
On mills: Drilling and centering cycle
Rapids to the safety distance, feeds to depth, then rapids out to the retract plane. Used for spot drilling and short holes.
Format
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
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.
On lathes: Drilling and centering on center
Rapids to the safety clearance, feeds to depth, then rapids back to the retraction plane. On the lathe it drills along Z on the spindle center with a turret tool.
Format
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 |
How it works
Non modal. It runs once at the current position. MCALL repeats it at each following position.
Example program
G17 G90 G95 G0 X0 Z50 S800 M3 F0.15 ; ON CENTER, FEED PER REV
CYCLE81(5,0,2,-25,) ; DRILL 25 DEEP
G18 G0 X100 Z100 ; BACK TO TURNING PLANE
Example is in inch. Check offsets and clearances first.
Watch out for
- Select G17 before the call so Z is the drilling axis, and put X0 on center. Return to G18 for turning after.
- DP is absolute with its sign, so -15 means 15 below Z0. DPR is a depth from RFP without sign. If both are set, DPR is used.
- Program the tool with D, F, S and M3 before the call. On a plain lathe the work turns and the drill stays still.
Related codes
CYCLE81 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Siemens 840D 828D | Drilling and centering cycle |
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 CYCLE81 in the app All Siemens 808D G-codes