Home › G-codes › Siemens 808D › HOLES2
HOLES2 Circle of holes
Siemens 808D G-code · Mill
Machines holes on a bolt circle given by center, radius, start angle and number of holes. The hole type comes from the drilling cycle called with MCALL before it.
Format
HOLES2(CPA, CPO, RAD, STA1, INDA, NUM)
Addresses
| Address | What it does |
|---|---|
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 hole from the first axis, -180 to 180 degrees |
INDA | Angle between holes, degrees. 0 spaces them evenly |
NUM | Number of holes |
How it works
Non modal. It runs once where it is called.
Example program
T10 D1 ; 8.5 MM DRILL
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X50 Y50 S1500 M3 F150 ; CIRCLE CENTER
Z50 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X50 Y50 S1500 M3 F150 ; CIRCLE CENTER
Z50 ; CLEARANCE
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- This cycle only positions. Call the drilling cycle with MCALL first and cancel with MCALL after, or alarm 62100 shows and the points are only visited.
- RAD is a radius, not the bolt circle diameter. Leave INDA 0 or empty for evenly spaced holes.
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 HOLES2 in the app All Siemens 808D G-codes