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 145

background image

HEIDENHAIN iTNC 530

145

3.3 A

u

to

matic W

o

rk

piece Measur

ement

Example: Measuring a rectangular pocket and recording the results

0 BEGIN PGM BSMESS MM

1 TOOL CALL 1 Z

Tool call for touch probe

2 L Z+100 R0 FMA

Retract the touch probe

3 TCH PROBE 423 MEAS. RECTAN. INSIDE

Q273=+50

;CENTER 1ST AXIS

Q274=+40

;CENTER 2ND AXIS

Q282=90

;FIRST SIDE LENGTH

Nominal length in X

Q283=70

;SECOND SIDE LENGTH

Nominal length in Y

Q261=-5

;MEASURING HEIGHT

Q320=0

;SET-UP CLEARANCE

Q260=+20

;CLEARANCE HEIGHT

Q301=0

;MOVE TO CLEARANCE

Q284=90.15

;MAX. LIMIT 1ST SIDE

Maximum limit in X

Q285=89.95

;MIN. LIMIT 1ST SIDE

Minimum limit in X

Q286=70.1

;MAX. LIMIT 2ND SIDE

Maximum limit in Y

Q287=69.9

;MIN. LIMIT 2ND SIDE

Minimum limit in Y

Q279=0.15

;TOLERANCE 1ST CENTER

Permissible position deviation in X

Q280=0.1

;TOLERANCE 2ND CENTER

Permissible position deviation in Y

Q281=1

;MEASURING LOG

Save measuring log to a file

Q309=0

;PGM STOP IF ERROR

Do not display an error message in case of a tolerance violation

Q330=0

;TOOL NUMBER

No tool monitoring

X

Y

50

40

70

90

Z

Y

-15

-20