beautypg.com

3 measur ing wo rkpieces with a 3-d touc h p robe – HEIDENHAIN TNC 410 User Manual

Page 271

background image

12 3-D Touch Probes

258

12.3 Measur

ing Wo

rkpieces with a 3-D

Touc

h

P

robe

Example: Measuring the height of an island on a workpiece

Program sequence

Assign the program parameters

Measure the height with the REF PLANE cycle

Calculate the height

X

Y

20

50

10

50

Z

Y

10

BEGIN PGM 3DPROBE MM
1 FN 0: Q11 = +20
2 FN 0: Q12 = +50
3 FN 0: Q13 = +10
4 FN 0: Q21 = +50
5 FN 0: Q22 = +10
6 FN 0: Q23 = +0
7 TOOL CALL 0 Z
8 L Z+250 R0 F MAX
9 L X+Q11 Y+Q12 R0 FMAX
10 TCH PROBE 0.0 REF. PLANE Q10 Z-
11 TCH PROBE 0.1 Z+Q13
12 L X+Q21 Y+Q22 R0 FMAX
13 TCH PROBE 0.0 REF. PLANE Q20 Z-
14 TCH PROBE 0.1 Z+Q23
15 FN 2: Q1 = +Q20 - +Q10
16 STOP
17 L Z+250 R0 FMAX M2
END PGM 3DPROBE MM

1st touch point: X coordinate

1st touch point: Y coordinate

1st touch point: Z coordinate

2nd touch point: X coordinate

2nd touch point: Y coordinate

2nd touch point: Z coordinate

Call touch probe

Retract touch probe

Pre-position for first measurement

Measure upper surface of the workpiece

Pre-position for second measurement

Measure the depth

Calculate the absolute height of the island

Interrupt program run: check Q1

Retract the tool, end of program