Home › G-codes › Siemens 808D › HOLES1
HOLES1 Row of holes
Siemens 808D G-code · Mill
Machines a row of evenly spaced holes on a straight line at any angle. The hole type comes from the drilling cycle called with MCALL before it. Loop it with an R parameter to make a grid.
Format
HOLES1(SPCA, SPCO, STA1, FDIS, DBH, NUM)
Addresses
| Address | What it does |
|---|---|
SPCA | Reference point on the line, first axis, absolute, mm |
SPCO | Reference point on the line, second axis, absolute, mm |
STA1 | Angle of the line to the first axis, -180 to 180 degrees |
FDIS | Distance from the reference point to the first hole, no sign, mm |
DBH | Distance between holes, no sign, mm |
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 X10 Y20 S1500 M3 F150 ; START POSITION
Z50 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X10 Y20 S1500 M3 F150 ; START POSITION
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.
- NUM 0 or empty gives alarm 61103. The cycle may start from the last hole to save travel.
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 HOLES1 in the app All Siemens 808D G-codes