Home › G-codes › Siemens 840D 828D › CYCLE87
CYCLE87 Boring with stop at depth
Siemens 840D 828D G-code · Mill
Feeds to depth, stops the spindle and the program at the bottom. After NC start the tool rapids out. Used when the operator must move the tool off the wall.
Format
CYCLE87(RTP, RFP, SDIS, DP, DPR, SDIR)
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. |
SDIR | Spindle direction, 3 or 4 |
How it works
Non modal. It runs once at the current position. Use MCALL to repeat it at every following position.
Example program
T9 D1 ; BORING BAR
M6
G0 X50 Y50 F80 S900 M3
Z50
…
M6
G0 X50 Y50 F80 S900 M3
Z50
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The tool rapids out in the bore after NC start. Move it off the wall by hand first if needed.
- Program F, S and the spindle direction before the call. The cycle uses the active values.
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 CYCLE87 in the app All Siemens 840D 828D G-codes