Programming Examples 16.14; Example: Measuring And Reworking A Rectangular Stud - HEIDENHAIN TNC 620 User Manual

Cnc
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

16.14
Programming Examples

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 69 Z
2 L Z+100 R0 FMAX
3 FN 0: Q1 = +81
4 FN 0: Q2 = +61
5 CALL LBL 1
6 L Z+100 R0 FMAX
7 TOOL CALL 99 Z
8 TCH PROBE 424 MEAS. RECTAN. OUTS.
Q273=+50
;CENTER IN 1ST AXIS
Q274=+50
;CENTER IN 2ND AXIS
Q282=80
;FIRST SIDE LENGTH
Q283=60
;2ND SIDE LENGTH
Q261=-5
;MEASURING HEIGHT
Q320=0
;SET-UP CLEARANCE
Q260=+30
;CLEARANCE HEIGHT
Q301=0
;MOVE TO CLEARANCE
Q284=0
;MAX. LIMIT 1ST SIDE
Q285=0
;MIN. LIMIT 1ST SIDE
Q286=0
;MAX. LIMIT 2ND SIDE
Q287=0
;MIN. LIMIT 2ND SIDE
Q279=0
;TOLERANCE 1ST CENTER
Q280=0
;TOLERANCE 2ND CENTER
Q281=0
;MEASURING LOG
Q309=0
;PGM STOP IF ERROR
Q330=0
;TOOL NO.
9 FN 2: Q1 = +Q1 - +Q164
10 FN 2: Q2 = +Q2 - +Q165
11 L Z+100 R0 FMAX
12 TOOL CALL 1 Z S5000
TNC 620 | User's Manual Cycle Programming | 3/2014

Programming Examples 16.14

Tool call for roughing
Retract the tool
Length of rectangle in X (roughing dimension)
Length of rectangle in Y (roughing dimension)
Call subprogram for machining
Retract the tool, change the tool
Call the touch probe
Measure the rough-milled rectangle
Nominal length in X (final dimension)
Nominal length in Y (final dimension)
Input values for tolerance checking not required
No measuring log transmission
Do not output an error message
No tool monitoring
Calculate length in X including the measured deviation
Calculate length in Y including the measured deviation
Retract the touch probe, change the tool
Tool call for finishing
16
413

Advertisement

Table of Contents
loading

Table of Contents