User`s manual for cycle programming

Touch Probe Cycles: Automatic Datum Setting
15.5 DATUM FROM OUTSIDE OF RECTANGLE (Cycle 411, DIN/ISO: G411)
15
496
HEIDENHAIN | TNC 640 | User’s manual for cycle programming | 9/2015
Cycle parameters
Center in 1st axis Q321 (absolute): Center of the
stud in the reference axis of the working plane.
Input range -99999.9999 to 99999.9999
Center in 2nd axis Q322 (absolute): Center of the
stud in the minor axis of the working plane. Input
range -99999.9999 to 99999.9999
1st side length Q323 (incremental): Stud length,
parallel to the reference axis of the working plane
Input range 0 to 99999.9999
2nd side length Q324 (incremental): Stud length,
parallel to the minor axis of the working plane. Input
range 0 to 99999.9999
Measuring height in the touch probe axis Q261
(absolute): Coordinate of the ball tip center (=
touch point) in the touch probe axis in which
the measurement is to be made. Input range
-99999.9999 to 99999.9999
Set-up clearance Q320 (incremental): Additional
distance between measuring point and ball tip.
Q320 is added to SET_UP (touch probe table). Input
range 0 to 99999.9999
Clearance height Q260 (absolute): Coordinate in
the touch probe axis at which no collision between
touch probe and workpiece (fixtures) can occur.
Input range -99999.9999 to 99999.9999
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
Datum number in table Q305: Enter the number in
the datum/preset table in which the TNC is to save
the coordinates of the stud center. If Q303=1: If
you enter Q305=0, the TNC automatically sets the
display so that the new datum is on the stud center.
If Q303=0: If you enter Q305=0, the TNC writes to
line 0 of the datum table. Input range 0 to 99999
New datum for minor axis Q332 (absolute):
Coordinate in the minor axis at which the TNC
should set the stud center. Default setting = 0 input
range -99999.9999 to 99999.9999
NC blocks
5 TCH PROBE 411 DATUM OUTS.
RECTAN.
Q321=+50 ;CENTER IN 1ST AXIS
Q322=+50 ;CENTER IN 2ND AXIS
Q323=60 ;FIRST SIDE LENGTH
Q324=20 ;2ND SIDE LENGTH
Q261=-5 ;MEASURING HEIGHT
Q320=0 ;SET-UP CLEARANCE
Q260=+20 ;CLEARANCE HEIGHT
Q301=0 ;MOVE TO CLEARANCE
Q305=0 ;NO. IN TABLE
Q331=+0 ;DATUM
Q332=+0 ;DATUM
Q303=+1 ;MEAS. VALUE
TRANSFER
Q381=1 ;PROBE IN TS AXIS