Home › G-codes › Siemens 840D 828D › CYCLE86
CYCLE86 Boring with oriented spindle stop
Siemens 840D 828D G-code · Mill
Feeds to depth, dwells, stops the spindle at angle POSS, moves the tool off the wall by RPA RPO RPAP, then rapids out. Used with boring bars for a clean bore.
Format
CYCLE86(RTP, RFP, SDIS, DP, DPR, DTB, SDIR, RPA, RPO, RPAP, POSS)
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. |
DTB | Dwell at depth in seconds |
SDIR | Spindle direction, 3 or 4 |
RPA | Retract distance in the first axis of the plane, incremental with sign |
RPO | Retract distance in the second axis of the plane, incremental with sign |
RPAP | Retract distance in the tool axis, incremental with sign |
POSS | Spindle stop angle in degrees |
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
- Check that the insert points away from the RPA RPO direction after the oriented stop. A wrong angle drags the insert up the bore wall.
- 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 CYCLE86 in the app All Siemens 840D 828D G-codes