HEIDENHAIN TNC 370 User Manual page 118

Conversational programming
Table of Contents

Advertisement

5
Programming
Tool Movements
L
5.4
Path Contours
- Cartesian
Coordinates
Example
for exercise:
Milling
a full circle in one block
--
\
.-
-
Circle center CC:
X
= 50 mm
Y
= 50 mm
Beginning
and end
of the circular arc C:
X
= 50 mm
Y
=
Omm
Milling
depth:
Z
= -5mm
Tool radius:
R
= 15mm
Part program
0
BEGIN 360519
MM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Begin program
1
BLK FORM 0.1 Z X+0 Y+O Z-20
.._................... Define workpiece
blank
2
BLK FORM 0.2 X+100 Y+lOO Z+O
3
TOOL DEF 6 L+O R+15 ..__...__............................. Define tool
4
TOOL CALL 6 Z S500 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call tool
5
CC X+50 Y+50 . . ..__.__........................................... Coordinates
of the circle center CC
6
L Z+lOO RO FMAX M6 . . . . . . . . . . . . . . . . . .._................... Insert tool
7
L X+50 Y-40 FMAX _.___..._____..___.......................... Pre-position
the tool
8
L Z-5 FMAX M3
9
L X+50 Y+O RL FIOO ___..___.................................. Move under radius compensation
to the first contour
point
10
RND RI 0 . . . . . . . . . ..____......................................... Smooth approach
11
C X+50 Y+O DR- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mill circular arc C around circle center CC; end point coordi-
nates X = +50 mm and Y = 0; negative direction
of rotation
12
RND RI 0 .._._.___..__,,.,..,.......,.,...........................,,.. Smooth departure
13
L X+50 Y-40 RO FMAX
14
L Z+lOO FMAX M2
15
END PGM 360519
MM
Retract tool and end program
-
L
TNC 370
5-l 9
-..-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents