3 a u to matic w o rk piece measur ement – HEIDENHAIN TNC 426B (280 472) Touch Probe Cycles User Manual
Page 111

HEIDENHAIN TNC 426, TNC 430
99
3.3 A
u
to
matic W
o
rk
piece Measur
ement
Example: Measuring and reworking a rectangular stud
Program sequence:
- Roughing with 0.5 mm finishing allowance
- Measuring
- Rectangular stud finishing in accordance with the
measured values
0 BEGIN PGM BEAMS MM
1 TOOL CALL 0 Z
Prepare tool call
2 L Z+100 R0 F MAX
Retract the tool
3 FN 0: Q1 = +81
Pocket length in X (roughing dimension)
4 FN 0: Q2 = +61
Pocket length in Y (roughing dimension)
5 CALL LBL 1
Call subprogram for machining
6 L Z+100 R0 F MAX M6
Retract the tool, change the tool
7 TOOL CALL 99 Z
Call the touch probe
8 TCH PROBE 424 MEAS. RECTAN. OUTS.
Measure the rough-milled rectangle
Q273=+50 ;CENTER IN 1ST AXIS
Q274=+50 ;CENTER IN 2ND AXIS
Q282=80 ;1ST SIDE LENGTH
Nominal length in X (final dimension)
Q283=60 ;2ND SIDE LENGTH
Nominal length in Y (final dimension)
Q261=-5 ;MEASURING HEIGHT
Q320=0 ;SET-UP CLEARANCE
Q260=+30 ;CLEARANCE HEIGHT
Q301=0 ;TRAVERSE TO CLEAR HEIGHT
Q284=0 ;MAX. LIMIT 1ST SIDE
Input values for tolerance checking not required
Q285=0 ;MIN. LIMIT 1ST SIDE
Q286=0 ;MAX. LIMIT 2ND SIDE
X
Y
50
50
80
Z
Y
10
60