Programming Contours | Approaching and departing a contour
6
260
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
Departing in a straight line with tangential
connection: DEP LT
The tool moves on a straight line from the last contour point P
E
to
the end point P
N
. The line lies on the extension of the last contour
element. P
N
is separated from P
E
by the distance LEN.
Program the last contour element with the end point P
E
and
radius compensation
Initiate the dialog with the APPR DEP key and DEP LT soft key
LEN: Enter the distance from the last contour
element P
E
to the end point P
N
.
R0=G40; RL=G41; RR=G42
Example
N20 G01 Y+20 G42 F100*
Last contour element: PE with radius compensation
N30 DEP LT LEN12.5 F100*
Depart contour by LEN=12.5 mm
N40 G00 Z+100 M2*
Retract in Z, return to block 1, end program
Departing in a straight line perpendicular to the last
contour point: DEP LN
The tool moves on a straight line from the last contour point P
E
to
the end point P
N
. The line departs on a perpendicular path from the
last contour point P
E
. P
N
is separated from P
E
by the distance LEN
plus the tool radius.
Program the last contour element with the end point P
E
and
radius compensation
Initiate the dialog with the APPR DEP key and DEP LN soft key
LEN: Enter the distance from the last contour
element to P
N
. Important: Enter a positive value
in LEN
R0=G40; RL=G41; RR=G42
Example
N20 G01 Y+20 G42 F100*
Last contour element: PE with radius compensation
N30 DEP LN LEN+20 F100*
Depart perpendicular to contour by LEN=20 mm
N40 G00 Z+100 M2*
Retract in Z, return to block 1, end program