HEIDENHAIN TNC 370 User Manual page 278

Conversational programming
Table of Contents

Advertisement

9
30 Touch
Probes
4
9.3
Measuring
Workpieces
with a 3D Touch
Probe
Example
for exercise:
Measuring
the height
of an island
on a workpiece
Coordinates
for pre-positioning
the 3D touch
probe
Touch point 1:
X = +20
mm (all)
Y =
50 mm(Q12)
2
=
10 mm (Q13)
Touch point 2:
X = +50
mm (021)
Y =
10 mm(Q22)
z =
0 mm (Q23)
Part program:
3
BEGIN PGM 3600717
MM
1
FNO:Qll
=+20
7
2
3
4
5
3
7
3
3
10
11
12
13
14
15
16
17
FNO: Q12 = + 50
FNO: 013 = + 10
FNO: Q21 = + 50
FNO: 022 = + 10
FNO: Q23 = + 0
i
Begin the program;
assign the coordinates
for pre-
positioning
the touch probe to Q parameters
TOOL CALL 0 Z
L Z+lOO RO FMAX
M6
..___.......................... Insert touch probe
TCH PROBE
0.0 REF.PLANE
QIO Z-
TCH PROBE
0.1 X+Qll
Y+Q12
Z+Q13
. . . . . . . . ..The Z coordinate
probed
in the negative direction
is stored in
QIO (1 st point)
L X+021
Y+Q22
Auxiliary
point for second
pre-positioning
TCH PROBE
0.0 REF.PLANE
Q20 Z-
TCH PROBE
0.1 X+Q21
Y+Q22
Z+Q23
. . . . . . . . ..The Z coordinate
probed
in the negative direction
is stored in
020
(2nd point)
FN2: 01 = Q20-QIO
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Measure
the height of the island and assign to 01
STOP . . . . . .._._............__.........___..........__._.........___.. 01 can be checked
after the program
run has been stopped
(see page 7-11)
L Z+lOO RO FMAX
M2
END PGM 3600717
MM
. . ..__._........._................ Retract the tool and end the program
9-20
TNC 370

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents