beautypg.com

3 a u to matic w o rk piece measur ement – HEIDENHAIN iTNC 530 (340 49x-04) Touch Probe Cycles User Manual

Page 143

background image

HEIDENHAIN iTNC 530

143

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 FMAX

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 FMAX

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 1ST AXIS

Q274=+50

;CENTER 2ND AXIS

Q282=80

;FIRST SIDE LENGTH

Nominal length in X (final dimension)

Q283=60

;SECOND SIDE LENGTH

Nominal length in Y (final dimension)

Q261=-5

;MEASURING HEIGHT

Q320=0

;SET-UP CLEARANCE

Q260=+30

;CLEARANCE HEIGHT

Q301=0

;MOVE TO CLEARANCE

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