HEIDENHAIN TNC 320 (340 55x-05) Cycle programming User Manual
Page 300

300
Touch Probe Cycles: Automatic Measurement of Workpiece Misalignment
14.4 BA
SIC R
O
T
A
TION o
v
er T
w
o
S
tu
ds (Cy
c
le 402, DIN/ISO:
G402)
U
Traversing to clearance height Q301: Definition of
how the touch probe is to move between the 
measuring points: 
0: Move at measuring height between measuring 
points
1: Move at clearance height between measuring 
points
U
Preset value for rotation angle Q307 (absolute): If
the misalignment is to be measured against a straight 
line other than the reference axis, enter the angle of 
this reference line. The TNC will then calculate the 
difference between the value measured and the 
angle of the reference line for the basic rotation. Input 
range -360.000 to 360.000
U
Preset number in table Q305: Enter the preset
number in the table in which the TNC is to save the 
determined basic rotation. If you enter Q305=0, the 
TNC automatically places the determined basic 
rotation in the ROT menu of the Manual Operation 
mode. The parameter has no effect if the 
misalignment is to be compensated by a rotation of 
the rotary table (Q402=1). In this case the 
misalignment is not saved as an angular value. Input 
range 0 to 2999
U
Basic rotation / alignment Q402: Specify whether
the TNC should compensate misalignment with a 
basic rotation, or by rotating the rotary table: 
0: Set basic rotation 
1: Rotate the rotary table
When you select rotary table, the TNC does not save 
the measured misalignment, not even when you have 
defined a table line in parameter Q305.
U
Set to zero after alignment Q337: Definition of
whether the TNC should set the display of the aligned 
rotary axis to zero: 
0: Do not reset the display of the rotary axis to 0 after 
alignment 
1: Reset the display of the rotary axis to 0 after 
alignment
The TNC sets the display to 0 only if you have defined 
Q402=1.
Example: NC blocks
5 TCH PROBE 402 ROT OF 2 STUDS
Q268=-37
;1ST CENTER IN 1ST AXIS
Q269=+12
;1ST CENTER IN 2ND AXIS
Q313=60
;DIAMETER OF STUD 1
Q261=-5
;MEASURING HEIGHT 1
Q270=+75
;2ND CENTER IN 1ST AXIS
Q271=+20
;2ND CENTER IN 2ND AXIS
Q314=60
;DIAMETER OF STUD 2
Q315=-5
;MEASURING HEIGHT 2
Q320=0
;SET-UP CLEARANCE
Q260=+20
;CLEARANCE HEIGHT
Q301=0
;MOVE TO CLEARANCE
Q307=0
;PRESET ROTATION ANG.
Q305=0
;NO. IN TABLE
Q402=0
;COMPENSATION
Q337=0
;SET TO ZERO
