13
Touch Probe Cycles: Automatic Measurement of Workpiece Misalignment
13.8 Example: Determining a basic rotation from two holes
13.8
Example: Determining a basic
rotation from two holes
0 BEGIN P GM CYC401 MM
1 TOOL CALL 69 Z
2 TCH PROBE 401 ROT OF 2 HOLES
Q268=+25
Q269=+15
Q270=+80
Q271=+35
Q261=-5
Q260=+20
Q307=+0
Q305=0
Q402=1
Q337=1
3 CALL PGM 35K47
4 END PGM CYC401 MM
322
;1ST CENTER 1ST AXIS
;1ST CENTER 2ND AXIS
;2ND CENTER 1ST AXIS
;2ND CENTER 2ND AXIS
;MEASURING HEIGHT
;CLEARANCE HEIGHT
;PRESET ROTATION ANG.
;NUMBER IN TABLE
;COMPENSATION
;SET TO ZERO
Center of the 1st hole: X coordinate
Center of the 1st hole: Y coordinate
Center of the 2nd hole: X coordinate
Center of the 2nd hole: Y coordinate
Coordinate in the touch probe axis in which the
measurement is made
Height in the touch probe axis at which the probe can
traverse without collision
Angle of the reference line
Compensate misalignment by rotating the rotary table
Set the display to zero after the alignment
Call part program
HEIDENHAIN | TNC 320 | User's manual for cycle programming | 9/2016