CNC Machinist Calculator Ultra

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

AddressWhat it does
RTPRetract plane, absolute
RFPReference plane, absolute, usually the part top
SDISSafety distance above the reference plane, no sign
DPFinal depth, absolute
DPRFinal depth relative to the reference plane, no sign. Program DP or DPR and leave the other empty.
SDIRSpindle 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
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

CYCLE86 · CYCLE88

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

App Store Google Play