Home › G-codes › Siemens 808D › LONGHOLE
LONGHOLE Long holes on a circle
Siemens 808D G-code · Mill
Mills elongated holes placed radially on a circle. The hole width is the cutter diameter. Depth passes are taken alternately at each end of the hole.
Format
LONGHOLE(RTP, RFP, SDIS, DP, DPR, NUM, LENG, CPA, CPO, RAD, STA1, INDA, FFD, FFP1, MID)
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 |
NUM | Number of long holes |
LENG | Long hole length, no sign, mm |
CPA | Circle center, first axis, absolute, mm |
CPO | Circle center, second axis, absolute, mm |
RAD | Circle radius, no sign, mm |
STA1 | Angle of the first long hole, degrees |
INDA | Angle between long holes, degrees. 0 spaces them evenly |
FFD | Feed for the depth infeed |
FFP1 | Feed in the plane |
MID | Maximum depth per pass, no sign, mm. 0 is one pass |
How it works
Non modal. It runs once where it is called.
Example program
T4 D1 ; 10 MM END MILL
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X0 Y0 S2500 M3 ; CIRCLE CENTER
Z20 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X0 Y0 S2500 M3 ; CIRCLE CENTER
Z20 ; CLEARANCE
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use an end mill that cuts over center. The cycle plunges straight down at feed FFD.
- LENG shorter than the cutter diameter gives alarm 61105. Holes that overlap give alarm 61104.
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 LONGHOLE in the app All Siemens 808D G-codes