HEIDENHAIN TNC 370 User Manual page 121

Conversational programming
Table of Contents

Advertisement

5
Programming
Tool Movements
4
5.4
Path Contours
- Cartesian
Coordinates
Example
for exercise:
Milling
a concave semicircle
Semicircle
radius:
R
= 50 mm
Coordinates
of the
arc starting point:
x
=
0
Y
=
0
Coordinates
of the
arc end point:
X
= 100 mm
Y
=
0
Tool radius:
R
= 25 mm
Milling depth:
Z
= 18mm
Part program
0
10
11
12
BEGIN PGM 360522
M . . . . . . . ..____.__.................... Begin program
BLK FORM 0.1 Z X+0 Y+O Z-20 . . . . . . . . . . . . . . . . . . . Define the workpiece
blank
BLK FORM 0.2 X+100 Y+lOO Z+O
TOOL DEF 2 L+O R+25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Define the tool
TOOL CALL 2 Z S2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call the tool
L Z+lOO RO FMAX M6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Insert and pre-position
the tool
L X+25 Y-30 FMAX
L Z-l 8 FMAX M3
L X+0 Y+O RR FIOO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . First contour point
CR X+100
Y+O R+50 DR- . . . . . . . .._.__.._.................. Mill circular arc CR to the end point X = 100 mm, Y = 0; radius
R = 50 mm, negative direction
of rotation
L X+70 Y-30 RO FMAX
L Z+lOO FMAX M2
END PGM 360522
MM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retract the tool and end the program
5-22
TNC 370
--

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents