CNC Machinist Calculator Ultra

Home › G-codes › Siemens 808D › G340

G340 SAR approach and retract in space

Siemens 808D G-code · Mill

Smooth approach and retraction run in space: after the fast infeed to DISCL=, the approach arc or line and the rest of the infeed run together, as a helix on arcs. G340 is the default.

Format

G340

How it works

Modal, G group 44 (SAR path segmentation). Active at program start.

Example program

T1 D1 G17 G90 G94 ; END MILL, XY PLANE
G0 X0 Y0 Z30 ; START POSITION
G41 G347 G340 DISCL=3 DISR=13 Z0 F500 ; HALF CIRCLE APPROACH IN SPACE
G1 X40 Y-10 ; CONTOUR
…

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

Watch out for

Related codes

G341 · G147 · G247 · G347

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

App Store Google Play