Professional Documents
Culture Documents
Entering Tool Data in Tables
Entering Tool Data in Tables
Entering Tool Data in Tables
4.3 Tools
If you copy a tool table into TOOL.T for a program run, the old TOOL.T will be erased and overwritten.
• Go to the beginning/end of
the table
• Go to the next/previous
table page
FILE NAME = .T
PGM
MGT Select another file type, such as HEIDENHAIN conversational.
NAME Name by which the tool is called in the program TOOL NAME ?
TIME2 Maximum tool life in minutes during TOOL CALL: MAX. TOOL LIFE FOR TOOL
If the current tool life exceeds this value, the TNC CALL ?
changes the tool during the next TOOL CALL (see also
CUR.TIME)
CUR.TIME Time in minutes that the tool has been in use: CURRENT TOOL LIFE ?
The TNC automatically counts the current tool life. A
starting value can be entered for used tools.
CUT. Number of cutting edges that are measured in auto- NUMBER OF CUTTERS ?
matic tool measurement (20 cutting edges maximum)
LTOL Permissible deviation from tool length L during auto- TOLERANCE TOOL LENGTH ?
matic tool measurement. If the entered value is ex-
ceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
RTOL Permissible deviation from tool radius R during auto- TOLERANCE TOOL RADIUS ?
matic tool measurement. If the entered value is ex-
ceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
DIRECT Cutting direction of the tool for dynamic tool measure- CUTTING DIRECTION (M3 = –)
ment
Chamfer CHF
1
The chamfer function enables you to cut off corners at the intersection of CHF
two straight lines
E
S
CHF
2
Fig. 5.20: Chamfer from S to Z
Enter the length (CHF) to be removed from each side of the corner.
Prerequisites:
1 S E
• The blocks before and after the CHF block must be in the same
working plane.
• The radius compensation before and after the CHF block must be the Z
same.
• An inside chamfer must be large enough to accommodate the current
tool.
2
Fig. 5.21: Tool radius too large
To program a chamfer:
Enter the length to be removed from each side of the corner, for
e.g. 5 ENT
example 5 mm.
Coordinates of the Z
corner point: E X = 95 mm
Y = 5 mm
–15
85 E
95
100
Part program
Insert rounding arc between straight lines – with M112 T... A...
The TNC inserts a rounding radius between two uncompensated
straight lines. The size of the rounding radius depends on:
From these three criteria, the TNC calculates three rounding arcs and
inserts the arc with the smallest radius. If necessary, the contouring feed
rate will automatically be reduced to comply with the programmed
tolerance. If you have entered a tolerance angle A, the TNC only takes
the programmed feed rate into account for calculation of the rounding arc
if the direction angle is greater than the programmed tolerance angle.
Parameter programming
You can also define T through Q parameters.
Duration of effect
M112 T... A... is effective during operation with feed forward control as
well as with servo lag. To cancel M112 T... A..., enter M113.
Ignore points for calculating the rounding arc with M112: M124 T...
Standard behavior – without M124 T...
All existing points are taken into account for calculating the rounding arc
between two straight lines with M112.
If the distance between two points is less than the programmed value,
the TNC automatically ignores the second point and uses the next contour
point for calculating the rounding arc with M112.
Parameter programming
You can also define T through Q parameters.
Duration of effect
M124 T... is effective at the start of block and only if M112 T... A... is
active. M124 T... is cancelled by M113.
Automatic compensation of machine geometry when working with tilted axes: M114
Standard behavior – without M114
The TNC moves the tool to the positions given in
the part program. The tool offset resulting from a B
tilted axis and the machine geometry must be
calculated by a postprocessor. B
dx dz
Z
Automatically compensating the machine
geometry – with M114 dB
X
The TNC compensates the tool offset ( dx and dz in
the figure at right) that results from positioning
with tilted axes. It calculates a 3D length
compensation. The radius compensation must be
calculated by a CAD system or by a postprocessor.
A programmed radius compensation (RL or RR)
results in the error message ILLEGAL NC BLOCK.
If you write the NC program with a postprocessor, Fig. 5.60: Offsetting the tool datum while swivelling the tool
it therefore need not calculate the machine
geometry.
Duration of effect
M114 is cancelled by M115 or by an END PGM block.
The machine geometry must be entered in the machine parameters 7510 and following by the machine tool
builder.
You can enter the individual Q parameter functions either blockwise (see
pages 7-3 to 7-8) or together in a formula through the ASCII keyboard (see
pages 7-14 to 7-16).
The TNC automatically assigns the same data to certain Q parameters. For example, the Q parameter Q108 is
assigned the current tool radius. You will find a list of these parameters in Chapter 12.
Press the Q key (under the –/+ key in the numeric keypad) to call the
Q parameter functions. A soft-key row appears with the following groups
of functions:
Other functions
With the function FN14: ERROR you can call messages that were pre-
programmed by the machine tool builder.
If the TNC runs into a block with FN 14 during a program run or test run, it
will interrupt the run and display an error message. The program must
then be restarted.
Input:
e.g. FN 14: ERROR = 254
The TNC then displays the text stored under error number 254.
Your machine tool builder may have programmed a dialog text that differs from the above.
Required tool
The cycle requires a center-cut end mill (ISO 1641).
The program is written as usual in a main plane, such as the X/Y plane, but
is executed in a plane that is tilted relative to the main plane.
Typical applications:
• Oblique holes
• Contours in an oblique plane
When tilting the working plane, the TNC differentiates between two
machine types:
The functions for tilting the working plane are adapted to the TNC and the machine by the machine manufacturer.
Start of activation
Cycle 19 becomes effective as soon as it is defined in the part program.
If the function TILTING PROGRAM RUN is activated in MANUAL mode
(see page 2-11), the angle value entered in this menu will be overwritten
by cycle 19.
Input data
ROTARY AXIS AND ANGLE:
Rotated axis with tilt angle.
Axes A, B and C are programmed with soft keys.
Entry of an angular axis and the associated angle in cycle 19 does not result in movement of the axis. You must
move the axis to the corresponding angle, for example with an L block.
Cancellation
Define the cycle again, entering NO ENT for all data.
NC blocks
L Z+100 R0 FMAX
L X+25 Y+10 R0 FMAX
L A+15 R0 F1000 Position the angular axis
CYCL DEF 19.0 WORKING PLANE
CYCL DEF 19.1 A+15 Define angle for calculation
of compensation
L Z+80 R0 FMAX Activate compensation, Z axis
L X–7.5 Y–10 R0 FMAX Activate compensation, X/Y axis
The entered angle values must correspond to the actual position of the angular axis or axes, otherwise the TNC will
calculate an incorrect datum.
5. Datum setting
• Manually, by touching with the tool as in the non-tilted system (see
page 2-7)
• Controlled, with a HEIDENHAIN 3D touch probe (see page 9-11)
6. Start part program in the operating mode PROGRAM RUN FULL SEQUENCE
Before measuring a tool for the first time, you must enter the approximate radius, the approximate length, the
number of cutting edges, and the cutting direction into tool table TOOL.T (see page 4-11).
With the aid of oriented spindle stops, the TNC then measures the length
of each cutting edge. To activate this function program TCH PROBE 31 =
1 for CUTTER MEASUREMENT.
Input data
• MEASURE TOOL=0 / CHECK TOOL=1
Select whether the tool is to be measured for the first time or whether
a tool that has already been measured is to be inspected. If the tool is
being measured for the first time, the tool length L in the central tool
file TOOL.T is overwritten by the delta value DL = 0. If you wish to
inspect a tool, the TNC compares the measured length with the tool
length L that is stored in TOOL.T. It then calculates the positive or
negative deviation from the stored value and enters it into TOOL.T as
the delta value DL. The deviation can also be used for Q parameter
Q115 (see page 12-25). If the delta value is greater than the permissible
tool length tolerance, the TNC will lock the tool (status L in TOOL.T).
• CLEARANCE HEIGHT
Position in the tool axis in which there is no danger of collision with the
workpiece or fixtures.
• CUTTER MEASUREMENT 0=NO / 1=YES
Here you can choose measurement of single cutting edges.
• TOOL OFFSET
Enter the offset at which the tool is positioned from the center of the
touch probe. You must program an offset if you are measuring single
cutting edges or if the tool diameter exceeds the measuring surface of
the TT 110.
Recommended input value: Q108 (active tool radius, see page 12-20).
NC program blocks for measuring a rotating tool for the first time:
TOOL CALL 12 Z
TCH PROBE 31.0 TOOL LENGTH
TCH PROBE 31.1 CHECK: 0
TCH PROBE 31.2 HEIGHT: +120
TCH PROBE 31.3
CUTTER MEASUREMENT: 0
TCH PROBE 31.4 OFFSET: +Q108
TOOL CALL 12 Z
TCH PROBE 31.0 TOOL LENGTH
TCH PROBE 31.1 CHECK: 1
TCH PROBE 31.2 HEIGHT: +120
TCH PROBE 31.3
CUTTER MEASUREMENT: 1
TCH PROBE 31.4 OFFSET: +Q108
Before measuring a tool for the first time, you must enter the approximate radius, the approximate length, the
number of cutting edges, and the cutting direction into tool table TOOL.T (see page 4-11).
Measuring cycle
The TNC pre-positions the tool to be measured to a position at the side of
the touch probe head. The distance from the tip of the milling tool to the
upper edge of the touch probe head is defined in MP 6530. The tool is
then probed radially while it is rotating.
Input data
• MEASURE TOOL=0 / CHECK TOOL=1
Select whether a tool is to be measured for the first time or whether a
tool that has already been measured is to be inspected. If a tool is
being measured for the first time, the tool radius R in the central tool
file TOOL.T is overwritten by the delta value DR = 0. If you wish to
inspect a tool, the TNC compares the measured radius with the tool
radius R that is stored in TOOL.T. It then calculates the positive or
negative deviation from the stored value and enters it into TOOL.T as
the delta value DR. The deviation can also be used for Q parameter
Q116 (see page 12-25). If the delta value is greater than the permissible
tool radius tolerance, the TNC will lock the tool (status L in TOOL.T).
• CLEARANCE HEIGHT
Position in the tool axis in which there is no danger of collision with the
workpiece or clamping devices.
• CUTTER MEASUREMENT 0=NO / 1=YES
Here you can choose measurement of single cutting edges.
NC program blocks for measuring a rotating tool for the first time:
TOOL CALL 12 Z
TCH PROBE 32.0 TOOL RADIUS
TCH PROBE 32.1 CHECK: 0
TCH PROBE 32.2 HEIGHT: +120
TCH PROBE 32.3
CUTTER MEASUREMENT: 0
TOOL CALL 12 Z
TCH PROBE 32.0 TOOL RADIUS
TCH PROBE 32.1 CHECK: 1
TCH PROBE 32.2 HEIGHT: +120
TCH PROBE 32.3
CUTTER MEASUREMENT: 1