CNC Machinist Calculator Ultra

Home › G-codes › Siemens 808D › G148

G148 Smooth retract on a straight line

Siemens 808D G-code · Mill

Leaves the end of a contour tangentially on a straight line and cancels tool radius compensation with G40 in the same block. DISR= sets how far the cutter edge ends from the contour.

Format

G148 G40 DISR= [DISCL=] [FAD=] X Y [Z] F

Addresses

AddressWhat it does
DISR=Distance of the cutter edge from the contour start or end point
DISCL=Safety clearance from the machining plane where the fast infeed ends
FAD=Feed for the slow infeed, per G94 or G95
X Y ZEnd point after retraction
FFeed after the retract move

How it works

Non modal, G group 2. G340 or G341 sets how the infeed runs.

Example program

T1 D1 G17 G90 G94 ; END MILL, XY PLANE
G0 X20 Y20 Z2 ; START POSITION
G1 Z-3 F200 ; FEED TO DEPTH
G42 G147 DISR=8 F600 X4 Y4 ; STRAIGHT APPROACH TO CONTOUR START
…

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

Watch out for

Related codes

G147 · G248 · G348 · G40

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 G148 in the app All Siemens 808D G-codes

App Store Google Play