HEIDENHAIN TNC 370 User Manual page 110

Conversational programming
Table of Contents

Advertisement

5
Programming
Tool Movements
L
5.4
Path Contours
- Cartesian
Coordinates
Example
for exercise:
Milling
a rectangle
Coordinates
of the corner points:
.@
X
=
5mm
Y
=
5mm
OX
=
5mm
Y
= 95 mm
@
X
= 95 mm
Y
= 95 mm
@
X
= 95 mm
Y
=
5 mm
Milling
depth:
Z
=-IO
mm
Part program
0
BEGIN PGM 36051 1 MM ...................................
Begin program;
program
number
36051 1; dimensions
in
millimeters
1
BLK FORM 0.1 Z X+0 Y+O Z-20
2
BLK FORM 0.2 X+100 Y+lOO Z+O ..................... Define blank form for graphic workpiece
simulation
(MIN and MAX point)
3
TOOL DEF 1 L+O R+5
4
TOOL CALL 1 Z SIOOO .......................................
Define tool in the program;
call tool in the spindle
axis Z;
spindle speed S = 1000 rpm
5
L Z+lOO RO FMAX M6 .......................................
Retract in the spindle
axis; rapid traverse; insert tool
6
L X-l 0 Y-l 0 FMAX.. ...........................................
Pre-position
in X and Y; rapid traverse
7
L Z-l 0 FMAX M3 ...............................................
Move to working
depth; rapid traverse; spindle
ON with
clockwise
rotation
8
L X+5 Y+5 RL FIOO ............................................
Move to first contour
point-corner
point ($ -with
radius
compensation
(RL) and reduced
feed rate (F 100)
9
L Y+95 ................................................................
Move to second contour
point - corner point 0: all
values that remain the same as in block 8 need not be
reprogrammed
10
L X+95 ................................................................
Move to third contour
point - corner point @
11
L Y+5 ..................................................................
Move to fourth contour
point - corner point @
12
L X+5 Y+5 ..........................................................
Conclude
milling, return to first contour
point
13
L X-l 0 Y-l 0 RO FMAX .......................................
For safety reasons,
retract in X and Y; rapid traverse
14
L Z+lOO FMAX M2 .............................................
Move tool to setup clearance;
rapid traverse;
spindle OFF, coolant OFF, STOP program
run,
Return jump to block 1
15
END PGM 36051 1 MM ......................................
End of program
L
TNC 370
5-l 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents