Heidenhain 426 430 TNC Manual 2001
Heidenhain 426 430 TNC Manual 2001
Heidenhain 426 430 TNC Manual 2001
TNC 430
NC Software
280 476-xx
280 477-xx
User’s Manual
HEIDENHAIN Conversational
Format
10/2001
Controls on the visual display unit Programming path movements
Split screen layout Approach/depart contour
Switch between machining or
programming modes FK free contour programming
Typewriter keyboard for entering letters and symbols Circle with radius
File names
Comments Circular arc with tangential connection
ISO Chamfer
programs
Machine operating modes Corner rounding
MANUAL OPERATION
Tool functions
ELECTRONIC HANDWHEEL Enter and call tool length and radius
The suffixes E and F indicate the export versions of the TNC which
have the following limitations:
n Linear movement is possible in no more than 4 axes simultaneously.
The machine tool builder adapts the useable features of the TNC to his
machine by setting machine parameters. Some of the functions
described in this manual may not be among the features provided by
your machine tool.
TNC functions that may not be available on your machine include:
n Probing function for the 3-D touch probe
n Digitizing option
n Tool measurement with the TT 130
n Rigid tapping
n Returning to the contour after an interruption
Please contact your machine tool builder to become familiar with the
features of your machine.
Many machine manufacturers, as well as HEIDENHAIN, offer
programming courses for the TNCs. We recommend these courses as
an effective way of improving your programming skill and sharing
information and ideas with other TNC users.
Location of use
The TNC complies with the limits for a Class A device in accordance
with the specifications in EN 55022, and is intended for use primarily
in industrially-zoned areas.
II
n External access with the LSV-2 interface (see “Permitting/
Restricting external access” on page 445)
n Tool-oriented machining (see “Pallet Operation with Tool-Oriented
Machining” on page 84)
VIII
4.4 Advanced File Management ..... 49
Note ..... 49
Directories ..... 49
Paths ..... 49
Overview: Functions of the expanded file manager ..... 50
Calling the file manager ..... 51
Selecting drives, directories and files ..... 52
Creating a new directory (only possible on the drive TNC:\) ..... 53
Copying a single file ..... 54
Copying a directory ..... 55
Choosing one of the last 10 files selected ..... 55
Deleting a file ..... 56
Deleting a directory ..... 56
Tagging files ..... 57
Renaming a file ..... 58
Additional Functions ..... 58
Data transfer to or from an external data medium ..... 59
Copying files into another directory ..... 60
The TNC in a network (applies only for Ethernet interface option) ..... 61
4.5 Creating and Writing Programs ..... 63
Organization of an NC program in HEIDENHAIN conversational format. ..... 63
Defining the blank form–BLK FORM ..... 63
Creating a new part program ..... 64
Programming tool movements in conversational format ..... 66
Editing a program ..... 67
4.6 Interactive Programming Graphics ..... 70
To generate/not generate graphics during programming: ..... 70
Generating a graphic for an existing program ..... 70
Block number display ON/OFF ..... 71
To erase the graphic: ..... 71
Magnifying or reducing a detail ..... 71
4.7 Structuring Programs ..... 72
Definition and applications ..... 72
To display the program structure window / change the active window: ..... 72
To insert a structuring block in the (left) program window ..... 72
To insert a structuring block in the (right) structure window ..... 72
Selecting blocks in the program structure window ..... 72
X
5 Programming: Tools ..... 97
5.1 Entering Tool-Related Data ..... 98
Feed rate F ..... 98
Spindle speed S ..... 98
5.2 Tool Data ..... 99
Requirements for tool compensation ..... 99
Tool numbers and tool names ..... 99
Tool length L ..... 99
Tool radius R ..... 100
Delta values for lengths and radii ..... 100
Entering tool data into the program ..... 100
Entering tool data in tables ..... 101
Pocket table for tool changer ..... 106
Calling tool data ..... 107
Tool change ..... 108
5.3 Tool Compensation ..... 110
Introduction ..... 110
Tool length compensation ..... 110
Tool radius compensation ..... 111
5.4 Three-Dimensional Tool Compensation ..... 114
Introduction ..... 114
Definition of a normalized vector ..... 115
Permissible tool forms ..... 115
Using other tools: Delta values ..... 116
3-D compensation without tool orientation ..... 116
Face Milling: 3-D compensation with and without tool orientation ..... 116
Peripheral milling: 3-D radius compensation with workpiece orientation ..... 118
5.5 Working with Cutting Data Tables ..... 120
Note ..... 120
Applications ..... 120
Table for workpiece materials ..... 121
Table for tool cutting materials ..... 122
Table for cutting data ..... 122
Data required for the tool table ..... 123
Working with automatic speed/feed rate calculation ..... 124
Changing the table structure ..... 124
Data transfer from cutting data tables ..... 126
Configuration file TNC.SYS ..... 126
XII
6.5 Path Contours — Polar Coordinates ..... 151
Overview ..... 151
Polar coordinate origin: Pole CC ..... 151
Straight line LP ..... 152
Circular path CP around pole CC ..... 152
Circular path CTP with tangential connection ..... 153
Helical interpolation ..... 153
6.6 Path Contours—FK Free Contour Programming ..... 158
Fundamentals ..... 158
Graphics during FK programming ..... 159
Initiating the FK dialog ..... 160
Free programming of straight lines ..... 160
Free programming of circular arcs ..... 161
Input possibilities ..... 162
Auxiliary points ..... 164
Relative data ..... 165
Converting FK programs ..... 167
6.7 Path Contours — Spline Interpolation ..... 173
Function ..... 173
XIV
8 Programming: Cycles ..... 201
8.1 Working with Cycles ..... 202
Defining a cycle using soft keys ..... 202
Defining a cycle using the GOTO function ..... 202
Calling a cycle ..... 204
Working with the secondary axes U/V/W ..... 205
8.2 Point Tables ..... 206
Function ..... 206
Creating a point table ..... 206
Selecting a point table in the program. ..... 207
Calling a cycle in connection with point tables ..... 208
8.3 Cycles for Drilling, Tapping and Thread Milling ..... 209
Overview ..... 209
PECKING (Cycle 1) ..... 211
DRILLING (Cycle 200) ..... 212
REAMING (Cycle 201) ..... 214
BORING (Cycle 202) ..... 216
UNIVERSAL DRILLING (Cycle 203) ..... 218
BACK BORING (Cycle 204) ..... 220
UNIVERSAL PECKING (Cycle 205) ..... 222
BORE MILLING (Cycle 208) ..... 224
TAPPING with a floating tap holder (Cycle 2) ..... 226
TAPPING NEW with floating tap holder (Cycle 206) ..... 227
RIGID TAPPING (Cycle 17) ..... 229
RIGID TAPPING without a floating tap holder TAPPING (Cycle 207) ..... 230
THREAD CUTTING (Cycle 18) ..... 232
TAPPING WITH CHIP BREAKING (Cycle 209) ..... 233
Fundamentals of thread milling ..... 235
THREAD MILLING (Cycle 262) ..... 237
THREAD MILLING/COUNTERSINKING (Cycle 263) ..... 239
THREAD DRILLING/MILLING (Cycle 264) ..... 243
HELICAL THREAD DRILLING/MILLING (Cycle 265) ..... 246
OUTSIDE THREAD MILLING (Cycle 267) ..... 249
8.4 Cycles for milling pockets, studs and slots ..... 257
Overview ..... 257
POCKET MILLING (Cycle 4) ..... 258
POCKET FINISHING (Cycle 212) ..... 260
STUD FINISHING (Cycle 213) ..... 262
CIRCULAR POCKET MILLING (Cycle 5) ..... 264
CIRCULAR POCKET FINISHING (Cycle 214) ..... 266
CIRCULAR STUD FINISHING (Cycle 215) ..... 268
SLOT MILLING (Cycle 3) ..... 270
SLOT (oblong hole) with reciprocating plunge-cut (Cycle 210) ..... 272
CIRCULAR SLOT (oblong hole) with reciprocating plunge-cut (Cycle 211) ..... 274
XVI
9 Programming: Subprograms and Program Section Repeats ..... 341
9.1 Labeling Subprograms and Program Section Repeats ..... 342
Labels ..... 342
9.2 Subprograms ..... 343
Operating sequence ..... 343
Programming notes ..... 343
Programming a subprogram ..... 343
Calling a subprogram ..... 343
9.3 Program Section Repeats ..... 344
Label LBL ..... 344
Operating sequence ..... 344
Programming notes ..... 344
Programming a program section repeat ..... 344
Calling a program section repeat ..... 344
9.4 Separate Program as Subprogram ..... 345
Operating sequence ..... 345
Programming notes ..... 345
Calling any program as a subprogram ..... 345
9.5 Nesting ..... 346
Types of nesting ..... 346
Nesting depth ..... 346
Subprogram within a subprogram ..... 346
Repeating program section repeats ..... 347
Repeating a subprogram ..... 348
XVIII
10.10 Preassigned Q Parameters ..... 386
Values from the PLC: Q100 to Q107 ..... 386
Active tool radius: Q108 ..... 386
Tool axis: Q109 ..... 386
Spindle status: Q110 ..... 386
Coolant on/off: Q111 ..... 387
Overlap factor: Q112 ..... 387
Unit of measurement for dimensions in the program: Q113 ..... 387
Tool length: Q114 ..... 387
Coordinates after probing during program run ..... 387
Deviation between actual value and nominal value during automatic tool measurement with the TT 130 ..... 388
Tilting the working plane with mathematical angles: Rotary axis coordinates calculated by the TNC ..... 388
Results of measurements with touch probe cycles (see also Touch Probe Cycles User's Manual) ..... 389
XX
12.13 Enter the axis traverse limits, datum display ..... 441
Function ..... 441
Working without additional traverse limits ..... 441
To find and enter the maximum traverse: ..... 441
Datum display ..... 441
12.14 Displaying HELP Files ..... 442
Function ..... 442
Selecting HELP files ..... 442
12.15 Displaying Operating Time ..... 443
Function ..... 443
12.16 Teleservice ..... 444
Function ..... 444
Calling/Exiting Teleservice ..... 444
12.17 External Access ..... 445
Function ..... 445
Compatibility
The TNC can execute all part programs that were written on
HEIDENHAIN controls TNC 150 B and later.
2 1 Introduction
1.2 Visual Display Unit and
RECALL No function
Screen layout
You select the screen layout yourself: In the PROGRAMMING AND
EDITING mode of operation, for example, you can have the TNC show
program blocks in the left window while the right window displays
programming graphics. You could also display the program structure
in the right window instead, or display only program blocks in one large
window. The available screen windows depend on the selected
operating mode.
To change the screen layout:
4 1 Introduction
1.2 Visual Display Unit and Keyboard
Keyboard
The figure at right shows the keys of the keyboard grouped according
to their functions:
1 7
1 Alphanumeric keyboard for entering texts and file names, as well
as for programming in ISO format
2 n File management
n Pocket calculator
n MOD functions 5
n HELP function 2
1
6
3 Programming modes
4 Machine operating modes
5 Initiation of programming dialog 4
1 3 5
6 Arrow keys and GOTO jump command
7 Numerical input and axis selection
The functions of the individual keys are described on the inside front
cover. Machine panel buttons, e.g. NC START, are described in the
manual for your machine tool.
6 1 Introduction
1.3 Modes of Operation
Programming and Editing
In this mode of operation you can write your part programs. The FK
free programming feature, the various cycles and the Q parameter
functions help you with programming and add necessary information.
If desired, you can have the programming graphics show the individual
steps, or you can use a separate screen window to prepare your
program structure.
Soft keys for selecting the screen layout
Test run
In the Test Run mode of operation, the TNC checks programs and
program sections for errors, such as geometrical incompatibilities,
missing or incorrect data within the program or violations of the work
space. This simulation is supported graphically in different display
modes.
Soft keys for selecting the screen layout: see “Program Run, Full
Sequence and Program Run, Single Block,” page 8.
Graphics
Soft keys for selecting the screen layout for pallet tables
8 1 Introduction
1.4 Status Displays
Axis locked
You can choose between several additional status displays with the
following soft keys:
4 6
10 1 Introduction
1.4 Status Displays
Positions and coordinates
1 Position display 1 2
2 Type of position display, e.g. actual position
3 Tilt angle of the working plane
4 Angle of a basic rotation
Information on tools
Coordinate transformations
6 5
12 1 Introduction
1.5 Accessories: HEIDENHAIN 3-D
HR electronic handwheels
Electronic handwheels facilitate moving the axis slides precisely by
hand. A wide range of traverses per handwheel revolution is available.
Apart from the HR 130 and HR 150 integral handwheels,
HEIDENHAIN also offers the HR 410 portable handwheel (see figure
at center right).
14 1 Introduction
2
Manual Operation and Setup
2.1 Switch-on, Switch-off
2.1 Switch-on, Switch-off
Switch-on
Switch on the power supply for control and machine. The TNC
automatically initiates the following dialog
MEMORY TEST
POWER INTERRUPTED
MANUAL OPERATION
TRAVERSE REFERENCE POINTS
Make sure that the angle values entered in the menu for
tilting the working plane match the actual angles of the
tilted axis.
Switch-off
To prevent data being lost at switch-off, you need to run down the
operating system as follows:
U Select the Manual mode.
U Select the function for run-down, confirm again with
the YES soft key.
U When the TNC displays the message Now you can
switch off the TNC in a superimposed window, you
may cut off the power supply to the TNC.
Note
You can move several axes at a time with these two methods. You can
change the feed rate at which the axes are traversed with the F soft
key, see “Spindle Speed S, Feed Rate F and Miscellaneous Functions
M,” page 21.
The red indicators show the axis and feed rate you have selected.
It is also possible to move the machine axes with the handwheel
during a program run.
To move an axis:
JOG INCREMENT =
X
8 16
Enter the jog increment in millimeters, i.e. 8 mm.
Entering values
Spindle speed S, miscellaneous function M
SPINDLE SPEED S =
You fix a datum by setting the TNC position display to the coordinates
of a known position on the workpiece.
Preparation
U Clamp and align the workpiece.
U Insert the zero tool with known radius into the spindle.
U Ensure that the TNC is showing the actual position values.
Fragile workpiece? Y
X
Move the tool slowly until it touches the workpiece
surface.
DATUM SET Z=
Application, function
The TNC supports the tilting functions on machine tools with swivel
heads and/or tilting tables. Typical applications are, for example, 10°
oblique holes or contours in an oblique plane. The working plane is
always tilted around the active datum. The program is written as usual
in a main plane, such as the X/Y plane, but is executed in a plane that X
is tilted relative to the main plane.
There are two functions available for tilting the working plane
n 3-D ROT soft key in the Manual mode and Electronic Handwheel
mode, see “To activate manual tilting:,” page 27
n Tilting under program control, Cycle 19 WORKING PLANE in the part
program (see “WORKING PLANE (Cycle 19)” on page 330)
The TNC functions for “tilting the working plane” are coordinate
transformations in which the working plane is always perpendicular to
the direction of the tool axis.
When tilting the working plane, the TNC differentiates between two
machine types
n Machines with tilting tables:
n You must tilt the workpiece into the desired position for
machining by positioning the tilting table, for example with an L
block
n The position of the transformed tool axis does not change in
relation to the machine-based coordinate system. Thus if you
rotate the table—and therefore the workpiece—by 90° for
example, the coordinate system does not rotate. If you press
the Z+ axis direction button in the Manual Operation mode, the
tool moves in Z+ direction.
n In calculating the transformed coordinate system, the TNC
considers only the mechanically influenced offsets of the
particular tilting table (the so-called “translational” components).
You must not set the datum in the tilted working plane if
in machine parameter 7500 bit 3 is set. If you do, the TNC
will calculate the wrong offset.
If your machine tool is not equipped with axis control, you
must enter the actual position of the rotary axis in the
menu for manual tilting: The actual positions of one or
several rotary axes must match the entry. Otherwise the
TNC will calculate an incorrect datum.
The TNC automatically shifts the datum if you rotate the table and the
tilted working plane function is active:
n MP 7500, bit 3=0
To calculate the datum, the TNC uses the difference between the
REF coordinate during datum setting and the REF coordinate of the
tilting axis after tilting. The method of calculation is to be used when
you have clamped your workpiece in proper alignment when the
rotary table is in the 0° position (REF value).
n MP 7500, bit 3=1
If you rotate the table to align a workpiece that has been clamped in
an unaligned position, the TNC must no longer calculate the offset
of the datum from the difference of the REF coordinates. Instead of
the difference from the 0° position, the TNC uses the REF value of
the tilting table after tilting. In other words, it assumes that you have
properly aligned the workpiece before tilting.
To set the desired operating mode in menu option "Tilt working plane"
to Active, select the menu option and shift with the ENT key.
To reset the tilting function, set the desired operating modes in menu
"Tilt working plane" to Inactive.
If the Working Plane function is active and the TNC moves the
machine axes in accordance with the tilted axes, the status display
shows the symbol
If you set the function "Tilt working plane" for the operating mode
Program Run to Active, the tilt angle entered in the menu becomes
active in the first block of the part program. If you are using Cycle 19
WORKING PLANE in the part program, the angular values defined in the
cycle (starting at the cycle definition) are effective. Angular values
entered in the menu will be overwritten.
Limitation
Z
FK free contour programming, programming graphics and
program run graphics cannot be used. The $MDI file must Y
not contain a program call (PGM CALL ).
Example 1
A hole with a depth of 20 mm is to be drilled into a single workpiece.
X
50
After clamping and aligning the workpiece and setting the datum, you
can program and execute the drilling operation in a few lines.
First you pre-position the tool in L blocks (straight-line blocks) to the 50
hole center coordinates at a setup clearance of 5 mm above the
workpiece surface. Then drill the hole with Cycle 1 PECKING.
Use the 3-D touch probe to rotate the coordinate system. See “Touch
Probe Cycles in the Manual and Electronic Handwheel Operating
Modes,” section “Compensating workpiece misalignment” in the
new Touch Probes Cycles User’s Manual.
Write down the Rotation Angle and cancel the Basic Rotation.
Conclude entry.
Target file =
BOREHOLE Enter the name under which you want to save the
current contents of the $MDI file.
Erasing the contents of the $MDI file is done in a similar way: Instead
of copying the contents, however, you erase them with the DELETE
soft key. The next time you select the operating mode Positioning with
MDI, the TNC will display an empty $MDI file.
X
Reference system
A reference system is required to define positions in a plane or in
space. The position data are always referenced to a predetermined
point and are described through coordinates.
The Cartesian coordinate system (a rectangular coordinate system) is
based on the three coordinate axes X, Y and Z. The axes are mutually
perpendicular and intersect at one point called the datum. A
coordinate identifies the distance from the datum in one of these
directions. A position in a plane is thus described through two
coordinates, and a position in space through three coordinates.
Coordinates that are referenced to the datum are referred to as
absolute coordinates. Relative coordinates are referenced to any other
known position (datum) you define within the coordinate system. Z
Relative coordinate values are also referred to as incremental
coordinate values.
Y W+
C+
B+
V+ A+ X
U+
Y/Z +Y Z
Y
Z/X +Z X
Z Y
10
15
X = 10 mm
Y = 10 mm
10
14
Hole 5, referenced to 4 Hole 5, referenced to 4
X = 20 mm X = 20 mm
Y = 10 mm Y = 10 mm 10
20 20 X
Absolute and incremental polar coordinates 10
Absolute polar coordinates always refer to the pole and the reference
axis.
Incremental coordinates always refer to the last programmed nominal
position of the tool.
Y
+IPR
PR
+IPA +IPA PR
PR PA
10 0°
CC
X
30
Example 17 150 13 14
0
The workpiece drawing at right shows holes (1 to 4) whose 750 16
dimensions are shown with respect to an absolute datum with the 15 -150
300±0,1
coordinates X=0, Y=0. The holes (5 to 7) are dimensioned with respect
to a relative datum with the absolute coordinates X=450, Y=750. With
0
the DATUM SHIFT cycle you can temporarily set the datum to the 320
position X=450, Y=750, to be able to program the holes (5 to 7) 1 12
without further calculations.
X
325 450 900
950
Files
Tables for
Tools .T
Tool changers .TCH
Pallets .P
Datums .D
Points (digitizing range of measuring touch .PNT
probe)
Cutting data .CDT
Cutting materials, workpiece materials .TAB
Texts as
ASCII files .A
When you write a part program on the TNC, you must first enter a file
name. The TNC saves the program to the hard disk as a file with the
same name. The TNC can also save texts and tables as files.
The TNC provides a special file management window in which you can
easily find and manage your files. Here you can call, copy, rename and
erase files.
You can manage any number of files on the TNC’s hard disk. Their total
size, however, must not exceed 1,500 MB.
File names
When you store programs, tables and texts as files, the TNC adds an
extension to the file name, separated by a point. This extension
indicates the file type.
PROG20 .H
File name File type
Maximum Length See table “Files in the TNC.”
Press the PGM MGT key: The TNC displays the file
management window (see figure at right)
The window shows you all of the files that are stored in the TNC. Each
file is shown with additional information:
Display Meaning
FILE NAME Name with up to 16 characters and file type
Use the arrow keys or the arrow soft keys to move the highlight to the
file you wish to select:
Moves the highlight up or down file by file in the
window.
Deleting a file
Use the arrow keys or the arrow soft keys to move the highlight to the
file you wish to delete:
Moves the highlight up or down file by file in the
window.
Use the arrow keys or the arrow soft keys to move the highlight to the
file you wish to copy:
Moves the highlight up or down file by file in the
window.
Target file =
Enter the new name, and confirm your entry with the AUSFÜHREN
soft key or the ENT key. A status window appears on the TNC,
informing about the copying progress. As long as the TNC is copying,
you can no longer work, or
If you wish to copy very long programs, enter the new file name and
confirm with the PARALLEL EXECUTE soft key. The file will now be
copied in the background, so you can continue to work while the TNC
is copying.
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window
Transfer all files: Press the TNC => EXT soft key.
Confirm with the EXECUTE or with the ENT key. A status window
appears on the TNC, informing about the copying progress, or
If you wish to transfer more than one file or longer files, press the
PARALLEL EXECUTE soft key. The TNC then copies the file in the
background.
Use the arrow keys to move the highlight to the file you wish to select:
Move the highlight up or down.
Renaming a file
Use the arrow keys or the arrow soft keys to move the highlight to the
file you wish to rename:
Moves the highlight up or down file by file in the
window.
Target file =
Enter the name of the new file and confirm your entry with the ENT
key or EXECUTE soft key.
Use the arrow keys or the arrow soft keys to move the highlight to the
file you wish to convert:
Target file =
Enter the name of the new file and confirm your entry with the ENT
key or EXECUTE soft key.
Use the arrow keys or arrow soft keys to move the highlight to the file
you wish to protect or whose protection you wish to cancel:
Directories
To ensure that you can easily find your files, we recommend that you
organize your hard disk into directories. You can divide a directory up
into further directories, which are called subdirectories.
Directory names
The name of a directory can contain up to 8 characters and does not
have an extension. If you enter more than 8 characters for the
directory name, the TNC will display an error message.
Paths
A path indicates the drive and all directories and subdirectories under
which a file is saved. The individual names are separated by the TNC:\
symbol “\”.
AUFTR1
Example
NCPROG
On drive TNC:\ the subdirectory AUFTR1 was created. Then, in the
directory AUFTR1 the directory NCPROG was created and the part WZTAB
program PROG1.H was copied into it. The part program now has the
following path: A35K941
TNC:\AUFTR1\NCPROG\PROG1.H ZYLM
The chart at right illustrates an example of a directory display with TESTPROG
different paths.
HUBER
KAR25T
Tag a file
Renaming a file
Copy a directory
Press the PGM MGT key: The TNC displays the file
management window (see figure at top right for
default setting. If the TNC displays a different screen
layout, press the WINDOW soft key.)
The narrow window at left shows three drives (1). If the TNC is
connected to a network, it also displayed the connected network
drives. Drives designate devices with which data are stored or
1 3
transferred. One drive is the hard disk of the TNC. Other drives are the
interfaces (RS232, RS422, Ethernet), which can be used, for example,
to connect a personal computer. The selected (active) drive is shown
in a different color. 2
In the lower part of the narrow window the TNC shows all directories
(2) of the selected drive. A drive is always identified by a file symbol
to the left and the directory name to the right. The TNC displays a
subdirectory to the right of and below its parent directory. The
selected (active) directory is depicted in a different color.
The wide window at right 3 shows you all of the files that are stored
in the selected directory. Each file is shown with additional information
that is illustrated in the table on the next page.
Display Meaning
FILE NAME Name with up to 16 characters and file type
With the arrow keys or the soft keys, you can move the highlight to
the desired position on the screen:
Move the highlight to the desired directory in the left window — the
right window automatically shows all files stored in the highlighted
directory.
4*.H Use wild card characters, e.g. to show all files of the
file type .H that begin with 4.
Move the highlight in the left window to the directory in which you
want to create a subdirectory.
NEW Enter the new file name, and confirm with ENT.
Copying a table
If you are copying tables, you can overwrite individual lines or columns
in the target table with the REPLACE FIELDS soft key. Prerequisites:
n The target table must exist.
n The file to be copied must only contain the columns or lines you
want to replace.
The REPLACE FIELDS soft key does not appear when you
want to overwrite the table in the TNC with an external
data transfer software, such as TNCremoNT. Copy the
externally created file into a different directory, and then
copy the desired fields with the TNC file management.
Example
With a tool presetter you have measured the length and radius of 10
new tools. The tool presetter then generates the tool table TOOL.T
with 10 lines (for the 10 tools) and the columns
n Tool number (column T)
n Tool length (column L)
n Tool radius (column R)
Copy this file to a directory other than the one containing the previous
TOOL.T. If you wish to copy this file over the existing table using the
TNC file management, the TNC asks if you wish to overwrite the
existing TOOL.T tool table:
U If you press the YES soft key, the TNC will completely overwrite the
current TOOL.T tool table. After this copying process the new
TOOL.T table consists of 10 lines. The only remaining columns in
the table are tool number, tool length and tool radius.
U Or, if you press the REPLACE FIELDS soft key, the TNC merely
overwrites the first 10 lines of the columns number, length and
radius in the TOOL.T file. The TNC does not change the data in the
other lines and columns.
Use the arrow keys to move the highlight to the file you wish to select:
Moves the highlight up and down within a window
Deleting a directory
U Delete all files and subdirectories stored in the directory that you
wish to erase.
U Move the highlight to the directory you want to delete.
U To select the erasing function, press the DELETE soft
key. The TNC inquires whether you really intend to
erase the directory.
U To confirm, press the YES soft key;
U To abort erasure, press the NO soft key.
Some functions, such as copying or erasing files, can not only be used
for individual files, but also for several files at once. To tag several files,
proceed as follows:
Additional Functions
Protect file / Cancel file protection
U Move the highlight to the file you want to protect.
U To select the additional functions, press the MORE
FUNCTIONS soft key.
U To enable file protection, press the PROTECT soft
key. The file now has status P.
U To cancel file protection, proceed in the same way
using the UNPROTECT soft key.
Use the arrow keys to highlight the file(s) that you want to transfer:
Moves the highlight up and down within a window
Transfer several files: Press the TAG soft key (in the
second soft-key row, see “Tagging files,” page 57),
or
Transfer all files: Press the TNC => EXT soft key.
If you wish to transfer more than one file or longer files, press the
PARALLEL EXECUTE soft key. The TNC then copies the file in the
background.
U Move the highlight to the file you want to copy and tag
it. You can tag several files in this way, as desired.
U Copy the tagged files into the target directory.
You only need to define the blank form if you wish to run
a graphic test for the program!
Select the directory in which you wish to store the new program
-40
Example of a dialog
Dialog initiation
Coordinates ?
Miscellaneous function M ?
Editing a program
While you are creating or editing a part program, you can select any
desired line in the program or individual words in a block with the
arrow keys or the soft keys:
Go to beginning of program
Go to end of program
Function Key
Set the selected word to zero
The word that is highlighted in the new block is the same as the one
you selected previously.
Additional functions:
Function
You can use the TNC’s text editor to write and edit texts. Typical
applications:
n Recording test results
n Documenting working procedures
n Creating formularies
Text files are type .A files (ASCII files). If you want to edit other types
of files, you must first convert them into type .A files.
Go to beginning of file
Go to end of file
Editing texts
The first line of the text editor is an information headline which
displays the file name, and the location and writing mode of the cursor:
File: Name of the text file
Line: Line in which the cursor is presently located
Column: Column in which the cursor is presently located
INSERT: Insert new text, pushing the existing text to the right
OVERWRITE: Write over the existing text, erasing it where it is
replaced with the new text.
Operation
The TNC features an integrated pocket calculator with the basic
mathematical functions.
With the CALC key you can open and close an additional window for
calculations. You can move the window to any desired location on the
TNC screen with the arrow keys.
The calculator is operated with short commands through the
alphabetic keyboard. The commands are shown in a special color in
the calculator window:
Subtraction –
Multiplication *
Division :
Sine S
Cosine C
Tangent T
Arc sine AS
Arc cosine AC
Arc tangent AT
Powers ^
Square root Q
Inversion /
Parenthetic calculations ()
p (3.14159265359) P
Display result =
If you are writing a program and the programming dialog is active, you
can use the actual-position-capture key to transfer the result to the
highlight position in the current block.
Display HELP
U To display Help, press the HELP key.
U Read the description of the error and the possibilities
for correcting it. Close the Help window with the CE,
thus canceling the error message.
U Remove the cause of the error as described in the
Help window.
The TNC displays the Help text automatically if the error message is
flashing. The TNC needs to be restarted after blinking error messages.
To restart the TNC, press the END key and hold for two seconds.
Application
Pallet tables are used for machining centers with pallet changer: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different datums.
Pallet tables contain the following information:
n PAL/PGM (entry obligatory):
Identification for pallet or NC program (select with ENT or NO ENT)
n NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see Machine Manual). The program name must be
stored in the same directory as the pallet table. Otherwise you must
enter the full path name for the program.
n DATUM (entry optional):
Name of the datum table. The datum table must be stored in the
same directory as the pallet table. Otherwise you must enter the full
path name for the datum table. Datums from the datum table can be
activated in the NC program with Cycle 7 DATUM SHIFT.
n X, Y, Z (entry optional, other axes also possible):
For pallet names, the programmed coordinates are referenced to
the machine datum. For NC programs, the programmed coordinates
are referenced to the pallet datum. These entries overwrite the
datum that you last set in the Manual mode of operation. With the
miscellaneous function M104 you can reactivate the datum that was
last set. With the actual-position-capture key, the TNC opens a
window that enables you to have the TNC enter various points as
datums (see table below):
Position Meaning
Actual values Enter the coordinates of the current tool position
relative to the active coordinate system.
U Select the file manager in the operating mode Program Run, Full
Sequence or Program Run, Single Block: Press the PGM MGT key.
U Display all type .P files: Press the soft keys SELECT TYPE and
SHOW .P.
U Select pallet table with the arrow keys and confirm with ENT.
U To execute pallet table: Press the NC Start button. The TNC
executes the pallets as set in Machine Parameter 7683.
Pallet tables are used for machining centers with pallet changer: The
pallet table calls the part programs that are required for the different
pallets, and activates datum shifts or datum tables.
You can also use pallet tables to run in succession several programs
that have different datums.
Pallet tables contain the following information:
n PAL/PGM (entry obligatory):
The entry PAL identifies the pallet, FIX marks the fixture plane and
PGM is used to enter the workpiece.
n W-STATE:
Current machining status. The machining status is used to
determine the current stage of machining. Enter BLANK for an
unmachined (raw) workpiece. During machining, the TNC changes
this entry to INCOMPLETE, and after machining has finished, to ENDED.
The entry EMPTY is used to identify a space at which no workpiece is
to be clamped or where no machining is to take place.
n METHOD (entry obligatory):
Entry which determines the method of program optimization.
Machining is workpiece-oriented if WPO is entered. Machining of the
piece is tool-oriented if TO is entered. In order to include subsequent
workpieces in the tool-oriented machining, you must enter CTO
(continued tool oriented). Tool-oriented machining is also possible
with pallet fixtures, but not for multiple pallets.
n NAME (entry obligatory):
Pallet or program name. The machine tool builder determines the
pallet name (see Machine Manual). Programs must be stored in the
same directory as the pallet table. Otherwise you must enter the full
path name for the program.
Position Meaning
Actual values Enter the coordinates of the current tool position
relative to the active coordinate system.
With the arrow keys and ENT, select the position that you wish to
confirm. Then press the ALL VALUES soft key so that the TNC saves
the respective coordinates of all active axes in the pallet table. With
the PRESENT VALUE soft key, the TNC saves the coordinates of the
axis on which the highlight in the pallet table is presently located.
Insert pallet
Insert fixture
Insert workpiece
Delete pallet
Delete fixture
Delete workpiece
Workpiece-optimized machining
The various planes of the entry form can be reached with the
appropriate soft keys. The current plane is highlighted in the status line
of the entry form. When you switch to table view with the screen
layout button, the cursor is placed in the same plane as it was in the
form view.
n Status: The soft key BLANK identifies the pallet and the
corresponding fixtures and workpieces as not yet having been
machined, and enters BLANK in the Status field. Use the soft key
EMPTY POSITION if you want to skip the pallet during machining.
EMPTY appears in the Status field.
n Status: The soft key BLANK identifies the fixture and the
corresponding workpieces as not yet having been machined, and
enters BLANK in the Status field. Use the soft key EMPTY POSITION
if you want to skip the fixture during machining. EMPTY appears in
the Status field.
n The entry TO or CTO in the Method field tells the TNC that the
oriented machining is valid beyond these lines.
n The pallet management starts the NC program given in the line with
the entry TO.
n The first workpiece is machined until the next tool call is pending.
Departure from the workpiece is coordinated by a special tool-
change macro.
n The entry in the column W-STATE is changed from BLANK to
INCOMPLETE, and the TNC enters a hexadecimal value in the field
CTID.
n All lines in the pallet file that contain the entry CTO in the Method
field are machined in the same manner as the first workpiece.
Workpieces in several fixtures can be machined.
n The TNC uses the next tool for the following machining steps again
from the line with the entry TO if one of the following situations
applies:
n If the entry PAL is in the PAL/PGM field in the next line.
n If the entry TO or WPO is in the Method field in the next line.
n If in the lines already machined there are entries under Method
which do not have the status EMPTY or ENDED.
n The NC program is continued at the stored location based on the
value entered in the CTID field. Usually the tool is changed for the
first piece, but the TNC suppresses the tool change for the following
workpieces.
n The entry in the CTID field is updated after every machining step. If
an END PGM or M02 is executed in an NC program, then an existing
entry is deleted and ENDED is entered in the Machining Status field.
U Select the file manager in the operating mode Program Run, Full
Sequence or Program Run, Single Block: Press the PGM MGT key.
U Display all type .P files: Press the soft keys SELECT TYPE and
SHOW .P.
U Select pallet table with the arrow keys and confirm with ENT.
U To execute pallet table: Press the NC Start button. The TNC
executes the pallets as set in Machine Parameter 7683.
Rapid traverse
If you wish to program rapid traverse, enter F MAX. To enter F MAX,
press the ENT key or the F MAX soft key when the dialog question
FEED RATE F = ? appears on the TNC screen.
Duration of effect
A feed rate entered as a numerical value remains in effect until a block
with a different feed rate is reached. F MAX is only effective in the block
in which it is programmed. After the block with F MAX is executed, the
feed rate will return to the last feed rate entered as a numerical value.
Spindle speed S
The spindle speed S is entered in revolutions per minute (rpm) in a
TOOL CALL block.
Programmed change
In the part program, you can change the spindle speed in a TOOL
CALL block by entering the spindle speed only:
U To program a tool call, press the TOOL CALL key.
U Ignore
the dialog question for Tool number ? with the
NO ENT key.
U Ignorethe dialog question for Working spindle axis
X/Y/Z ? with the NO ENT key.
U Enterthe new spindle speed for the dialog question
Spindle speed S= ?, and confirm with END.
98 5 Programming: Tools
5.2 Tool Data
Tool length L
There are two ways to determine the tool length L:
Tool radius R
You can enter the tool radius R directly.
Example
4 TOOL DEF 5 L+10 R+5
NAME Name by which the tool is called in the program Tool name?
R2 Tool radius R2 for toroid cutters (only for 3-D radius compensation Tool radius R2?
or graphical representation of a machining operation with
spherical or toroid cutters)
DR2 Delta value for tool radius R2 Tool radius oversize R2?
LCUTS Tooth length of the tool for Cycle 22 Tool length in the tool axis?
ANGLE Maximum plunge angle of the tool for reciprocating plunge-cut in Maximum plunge angle?
Cycles 22 and 208
RT Number of a replacement tool (RT), if available (see also TIME2) Replacement tool?
TIME1 Maximum tool life in minutes. This function can vary depending Maximum tool age?
on the individual machine tool. Your machine manual provides
more information on TIME1.
CUR.TIME Time in minutes the tool has been in use: The TNC automatically Current tool life?
counts the current tool age. A starting value can be entered for
used tools.
PLC Information on this tool that is to be sent to the PLC PLC status?
PLC VAL Value of this tool that is to be sent to the PLC PLC value?
LTOL Permissible deviation from tool length L for wear detection. If the Wear tolerance: length ?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
RTOL Permissible deviation from tool radius R for wear detection. If the Wear tolerance: radius ?
entered value is exceeded, the TNC locks the tool (status L). Input
range: 0 to 0.9999 mm
DIRECT. Cutting direction of the tool for measuring the tool during rotation Cutting direction (M3 = –) ?
TT:R-OFFS For tool length measurement: tool offset between stylus center Tool offset: radius ?
and tool center. Preset value: Tool radius R (NO ENT means R).
TT:L-OFFS Tool radius measurement: tool offset in addition to MP6530 Tool offset: length ?
between upper surface of stylus and lower surface of tool. Preset
value: 0
LBREAK Permissible deviation from tool length L for breakage detection. If Breakage tolerance: length ?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
RBREAK Permissible deviation from tool radius R for breakage detection. If Breakage tolerance: radius ?
the entered value is exceeded, the TNC locks the tool (status L).
Input range: 0 to 0.9999 mm
TMAT Tool material: Press the SELECT MATERIAL soft key (3rd soft-key Tool material ?
row): The TNC superimposes a window where you can select the
type of material you want.
CDT Cutting data table: Press the SELECT CDT soft key (3rd soft-key Name of cutting data table ?
row): The TNC superimposes a window where you can select a
cutting data table.
Tool table: Tool data for 3-D touch trigger probe (only when bit 1
is set in MP7411 = 1, see also the Touch Probe Cycles Manual)
Abbr. Input Dialog
CAL-OF1 During calibration, the TNC stores in this column the center Center misalignmt. in ref. axis?
misalignment in the reference axis of the 3-D probe, if a tool
number is indicated in the calibration menu
CAL-OF2 During calibration, the TNC stores in this column the center Center misalignment minor axis?
misalignment in the minor axis of the 3-D probe, if a tool number
is indicated in the calibration menu
CAL-ANG During calibration, the TNC stores in this column the spindle angle Spindle angle for calibration?
at which the 3-D probe was calibrated, if a tool number is
indicated in the calibration menu
ST Special tool with a large radius requiring several pockets in the tool magazine. If Special tool ?
your special tool takes up pockets in front of and behind its actual pocket, these
additional pockets need to be locked in column L (status L).
F Fixed tool number. The tool is always returned to the same pocket in the tool Fixed pocket? Yes = ENT /
magazine No = NO ENT
L Locked pocket (see also column ST) Pocket locked Yes = ENT /
No = NO ENT
PLC Information on this tool pocket that is to be sent to the PLC PLC status?
Tool change
The tool change function can vary depending on the
individual machine tool. The machine tool manual
provides further information.
The TNC automatically changes the tool if the tool life TIME2 expires
during program run. To use this miscellaneous function, activate M101
at the beginning of the program. M101 is reset with M102.
The tool is not always changed immediately, but, depending on the
workload of the control, a few NC blocks later.
Introduction
The TNC adjusts the spindle path in the tool axis by the compensation
value for the tool length. In the working plane, it compensates the tool
radius.
If you are writing the part program directly on the TNC, the tool radius
compensation is effective only in the working plane. The TNC
accounts for the compensation value in up to five axes including the
rotary axes.
For tool length compensation, the TNC takes the delta values from
both the TOOL CALL block and the tool table into account:
Compensation value = L + DLTOOL CALL + DLTAB where
For tool radius compensation, the TNC takes the delta values from
both the TOOL CALL block and the tool table into account:
Compensation value = R + DRTOOL CALL + DRTAB where
R is the tool radius R from the TOOL DEF block or tool
table.
DR TOOL CALL: is the oversize for radius DR in the TOOL CALL block
(not taken into account by the position display).
DR TAB is the oversize for radius DR in the tool table
X
Y
Program any desired path function, enter the coordinates of the target
point and confirm your entry with ENT.
X
Radius comp. RL/RR/no comp. ?
RL RL
Danger of collision
On machines whose rotary axes only allow limited
traverse, sometimes automatic positioning can require
the table to be rotated by 180°. In this case, make sure
that the tool head does not collide with the workpiece or
the clamps.
L Straight line
X, Y, Z: Compensated coordinates of the straight-line end point
B, C: Coordinates of the rotary axes for tool orientation
F: Feed rate
M: Miscellaneous function
DATEI: TOOL.T MM
T R CUT. TYP TMAT CDT
Applications 0
1
...
...
...
...
...
...
...
...
...
...
2 +5 4 MILL HSS PRO1
3 ... ... ... ... ...
In cutting data tables containing various workpiece and cutting 4 ... ... ... ... ...
material combinations, the TNC can use the cutting speed VC and the
tooth feed fZ to calculate the spindle speed S and the feed rate F. This
DATEI: PRO1.CDT
calculation is only possible if you defined the workpiece material in the NR WMAT TMAT Vc1 F1
program and various tool-specific features in the tool table. 0 ... ... ... ...
1 ... ... ... ...
2 ST65 HSS 40 0.06
3 ... ... ... ...
Before you let the TNC automatically calculate the cutting 4 ... ... ... ...
data, the tool table from which the TNC is to take the tool-
specific data must be first be activated in the Test Run
mode (status S). 0 BEGIN PGM xxx.H MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
2 BLK FORM 0.2 Z X+100 Y+100 Z+0
3 WMAT "ST65"
4 ...
Editing function for cutting data tables Soft key 5 TOOL CALL 2 Z S1273 F305
Insert line
Z
Delete line
Y
Go to the beginning of the next line X
Example of TNC.SYS
WMAT=TNC:\CUTTAB\WMAT_GB.TAB
TMAT=TNC:\CUTTAB\TMAT_GB.TAB
PCDT=TNC:\CUTTAB\
Path functions
A workpiece contour is usually composed of several contour elements L
such as straight lines and circular arcs. With the path functions, you L CC
can program the tool movements for straight lines and circular arcs.
L
FK Free Contour Programming C
If a production drawing is not dimensioned for NC and the dimensions
given are not sufficient for creating a part program, you can program
the workpiece contour with the FK free contour programming and
have the TNC calculate the missing data.
With FK programming, you also program tool movements for straight
lines and circular arcs.
Miscellaneous functions M
With the TNC’s miscellaneous functions you can affect
n Program run, e.g., a program interruption
Y
n Machine functions, such as switching spindle rotation and coolant
supply on and off
80
n Contouring behavior of the tool
CC
60
Subprograms and Program Section Repeats
0
R4
40
If a machining sequence occurs several times in a program, you can
save time and reduce the chance of programming errors by entering
the sequence once and then defining it as a subprogram or program
section repeat. If you wish to execute a specific program section only
under certain conditions, you also define this machining sequence as X
10 115
a subprogram. In addition, you can have a part program call a separate
program for execution.
Programming with subprograms and program section repeats is
described in Chapter 9.
L X+100 Y
X
L Path function for “straight line” 50
X+100 Coordinate of the end point
The tool retains the Y and Z coordinates and moves to the position
X=100 (see figure at upper right). 70
Movement in the main planes
The program block contains two coordinates. The TNC thus moves the
tool in the programmed plane.
Example:
L X+70 Y+50
Z
The tool retains the Z coordinate and moves in the XY plane to the
position X=70, Y=50 (see figure at center right). Y
Three-dimensional movement X
The program block contains three coordinates. The TNC thus moves
the tool in space to the programmed position.
Example:
Y ZX, also
WU, ZU, WX X X
XCC
X YZ, also
VW, YW, VZ
Pre-positioning
Before running a part program, always pre-position the tool to prevent
the possibility of damaging it or the workpiece.
Coordinates ?
PS R0
Abbreviation Meaning
APPR Approach
DEP Departure
L Line
C Circle
N Normal (perpendicular)
Radius compensation
The tool radius compensation is programmed together with the first
contour point PA in the APPR block. The DEP blocks automatically
remove the tool radius compensation.
Contour approach without radius compensation: If you program the
APPR block with R0, the TNC will calculate the tool path for a tool
radius of 0 mm and a radius compensation RR! The radius
compensation is necessary to set the direction of contour approach
and departure in the APPR/DEP LN and APPR/DEP CT functions.
R
straight line that connects tangentially to the contour. The auxiliary
R
15
PA
point PH is separated from the first contour point PA by the distance 20 RR
LEN.
U Use any path function to approach the starting point PS. 10
U Initiate the dialog with the APPR/DEP key and APPR LT soft key: PH PS
U Coordinates of the first contour point PA RR R0
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 Approach PS without radius compensation
8 APPR LT X+20 Y+20 Z-10 LEN15 RR F100 PA with radius compensation RR, distance PH to PA:
LEN=15
9 L Y+35 Y+35 End point of the first contour element
10 L ... Next contour element
R
perpendicular to the first contour element. The auxiliary point PH is
R
separated by the distance LEN plus the tool radius from the first PA
contour point PA. 20 RR
15
U Use any path function to approach the starting point PS.
U Initiate the dialog with the APPR/DEP key and APPR LCT soft key: 10
PH PS
U Coordinates of the first contour point PA
RR R0
U Length: Distance to the auxiliary point PH. Always
enter LEN
as a positive value! X
10 20 40
U Radius compensation RR/RL for machining
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 Approach PS without radius compensation
8 APPR LN X+10 Y+20 Z-10 LEN15 RR F100 PA with radius comp. RR
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
R
R
a circular arc that is tangential to the first contour element. PA
20 RR
The arc from PH to PA is determined through the radius R and the CCA=
center angle CCA. The direction of rotation of the circular arc is 180°
automatically derived from the tool path for the first contour element. 0
10 R1
U Use any path function to approach the starting point PS. PS
PH R0
U Initiate the dialog with the APPR/DEP key and APPR CT soft key:
RR
U Coordinates of the first contour point PA
X
U Radius R of the circular arc 10 20 40
n If the tool should approach the workpiece in the
direction defined by the radius compensation: Enter
R as a positive value.
n If the tool should approach the workpiece opposite
to the radius compensation:
Enter R as a negative value.
U Center angle CCA of the arc
Example NC blocks
7 L X+40 Y+10 RO FMAX M3 Approach PS without radius compensation
8 APPR CT X+10 Y+20 Z-10 CCA180 R+10 RR F100 PA with radius comp. RR, radius R=10
9 L X+20 Y+35 End point of the first contour element
10 L ... Next contour element
R
R
end point PN. The line lies in the extension of the last contour element.
PA
PN is separated from PE by the distance LEN. 20
20 RR PE
U Program the last contour element with the end point PE and radius
compensation. RR
12.5
0
U Initiate the dialog with the APPR/DEP key and DEP LT soft key: 10 R1
PS
U LEN: Enter the distance from the last contour element PN R0
PE to the end point PN. PH R0
RR
X
X
10 20 40
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LT LEN12.5 F100 Depart contour by LEN=12.5 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP LN LEN+20 F100 Depart perpendicular to contour by LEN=20 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
R8
180° RR
U Initiate the dialog with the APPR/DEP key and DEP CT soft key:
U Center angle CCA of the arc
Example NC blocks
23 L Y+20 RR F100 Last contour element: PE with radius compensation
24 DEP CT CCA 180 R+8 F100 Center angle=180°,
arc radius=8 mm
25 L Z+100 FMAX M2 Retract in Z, return to block 1, end program
Circle C Circular arc around a circle center Coordinates of the arc end point,
CC to an arc end point direction of rotation
Circular Arc CR Circular arc with a certain radius Coordinates of the arc end point,
arc radius, direction of rotation
Circular Arc CT Circular arc with tangential Coordinates of the arc end point
connection to the preceding and
subsequent contour elements
FK Free Contour Straight line or circular path with see “Path Contours—FK Free
Programming any connection to the preceding Contour Programming,” page
contour element 158
15
Further entries, if necessary:
U Radius compensation RL/RR/R0
10
U Feed rate F
U Miscellaneous function M
Example NC blocks
7 L X+10 Y+40 RL F200 M3 20 X
10
8 L IX+20 IY-15
9 L X+60 IY-10 60
Example NC blocks X
7 L X+0 Y+30 RL F300 M3
8 L X+40 IY+5
9 CHF 12 F250
Y 12
10 L IX+5 Y+0
12
5
30
A chamfer is possible only in the working plane.
The corner point is cut off by the chamfer and is not part
of the contour.
A feed rate programmed in the CHF block is effective only
in that block. After the CHF block, the previous feed rate
becomes effective again. 5 X
40
Example NC blocks
5
5 L X+10 Y+40 RL F300 M3
6 L X+40 Y+25 X
10 40
7 RND R5 F100
8 L X+10 Y+5
Example NC blocks
X CC
5 CC X+25 Y+25
or
10 L X+25 Y+25
11 CC
Duration of effect
The circle center definition remains in effect until a new circle center
is programmed. You can also define a circle center for the secondary
axes U, V and W.
The starting and end points of the arc must lie on the CC
circle. 25
X
25 45
U Feed rate F
X
Full circle
For a full circle, program two CR blocks in succession:
The end point of the first semicircle is the starting point of the second.
The end point of the second semicircle is the starting point of the first.
Y
Central angle CCA and arc radius R
The starting and end points on the contour can be connected with four
arcs of the same radius: 1
Smaller arc: CCA<180°
Enter the radius with a positive sign R>0 DR+
40
ZW
Larger arc: CCA>180° R R
Enter the radius with a negative sign R<0
2
The direction of rotation determines whether the arc is curving
outward (convex) or curving inward (concave):
Convex: Direction of rotation DR– (with radius compensation RL)
X
Concave: Direction of rotation DR+ (with radius compensation RL) 40 70
Example NC blocks
3
10 L X+40 Y+40 RL F200 M3 Y
11 CR X+70 Y+40 R+20 DR- (arc 1)
ZW
or
or
U Miscellaneous function M
X
25 45
Example NC blocks
7 L X+0 Y+25 RL F300 M3
8 L X+25 Y+30
9 CT X+45 Y+20
10 L Y+0
Y 10
31
95
4
10
20
1
5
21
20 X
5 95
95
R3
85
R10
0
40
X
5 30 40 70 95
CC
50
X
50
Circular arc CP + Circular path around circle center/ Polar angle of the arc end point,
pole CC to arc end point direction of rotation
Circular arc CTP + Circular arc with tangential Polar radius, polar angle of the arc
connection to the preceding end point
contour element
Helical interpolation + Combination of a circular and a Polar radius, polar angle of the arc
linear movement end point, coordinate of the end
point in the tool axis
Example NC blocks
12 CC X+45 Y+25 X
XCC
30
U Polar coordinates angle PA: Angular position of the 60°
straight-line end point between –360° and +360°. 60°
Example NC blocks X
45
12 CC X+45 Y+25
13 LP PR+30 PA+0 RR F300 M3
14 LP PA+60
15 LP IPA+60
16 LP PA+180
18 CC X+25 Y+25
19 LP PR+20 PA+0 RR F250 M3
20 CP PA+180 DR+ X
25
5
0
R2
R3
Example NC blocks 30°
35
12 CC X+40 Y+35 CC
Helical interpolation
A helix is a combination of a circular movement in a main plane and a
liner movement perpendicular to this plane.
Z
A helix is programmed only in polar coordinates.
Y CC
Application
n Large-diameter internal and external threads
X
n Lubrication grooves
Right-handed Z– DR RR
Left-handed Z– DR+ RL
External thread
Right-handed Z+ DR+ RR
Left-handed Z+ DR– RL
Right-handed Z– DR RL
Left-handed Z– DR+ RR
Programming a helix
5
270°
revolutions, program the helix in a program section repeat
(see “Program Section Repeats,” page 344) 25 X
12 CC X+40 Y+25
13 L Z+0 F100 M3
14 LP PR+3 PA+270 RL F50
15 CP IPA-1800 IZ+5 DR-
Y
100
31
21
60°
5
R4
CC
50 1 41
61 51
5
X
5 50 100
Y
100
M64 x 1,5
CC
50
X
50 100
...
8 L Z-12.75 R0 F1000
9 APPR PCT PR+32 PA-180 CCA180 R+2 RL F100
The machine tool builder may use other colors for the FK
graphics.
NC blocks from a program that you called with PGM CALL
are displayed in another color.
Example NC blocks
7 FPOL X+20 Y+30
8 FL IX+10 Y+20 RR F100
9 FCT PR+15 IPA+30 DR+ R15 10 X
20
Direction and length of contour elements
AN
Chord length LEN of the arc LEN
Example NC blocks
27 FLT X+25 LEN 12.5 AN+35 RL F200
28 FC DR+ R6 LEN 10 A-45
29 FCT DR- R15 LEN 15
Example NC blocks
Auxiliary points
You can enter the coordinates of auxiliary points that are located on
the contour or in its proximity for both free-programmed straight lines
and free-programmed circular arcs. Y
Auxiliary points on a contour
The auxiliary points are located on a straight line or on the extension 60.071 R10
of a straight line, or on a circular arc. 53
X coordinate of an auxiliary
point
P1 or P2 of a straight line
Y coordinate of an auxiliary
point X
P1 or P2 of a straight line 50
42.929
X coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
Y coordinate of an auxiliary
point
P1, P2 or P3 of a circular arc
Example NC blocks
Relative data
Data whose values are based on another contour element are called
relative data. The soft keys and program words for entries begin with
the letter “R” for Relative. The figure at right shows the entries that Y
should be programmed as relative data.
20
The coordinates and angles for relative data are always
programmed in incremental dimensions. You must also
enter the block number of the contour element on which 20 45°
the data are based. 90°
R20
20°
The block number of the contour element on which the 10
relative data are based can only be located up to 64 FPOL
positioning blocks before the block in which you program
the reference. 35 X
10
If you delete a block on which relative data are based, the
TNC will display an error message. Change the program
first before you delete the block.
Example NC blocks
12 FPOL X+10 Y+10
13 FL PR+20 PA+20
14 FL AN+45
15 FCT IX+20 DR– R20 CCA+90 RX 13
16 FL IPR+35 PA+0 RPR 13
20
Distance from a straight line to a parallel contour 95°
12.5
element
105° 15°
Example NC blocks
12.5 X
17 FL LEN 20 AN+15
18 FL AN+105 LEN 12.5 20
19 FL PAR 17 DP 12.5
20 FSELECT 2
21 FL LEN 20 IAN+95
22 FL IAN+220 RAN 18
15
R10
Example NC blocks
CC
12 FL X+10 Y+10 RL
10
13 FL ...
14 FL X+18 Y+35
15 FL ... X
10 18
16 FL ...
17 FC DR– R10 CCA+0 ICCX+20 ICCY-15 RCCX12 RCCY14
Y
100
R1
5
75
R18
30
R15
20
X
20 50 75 100
10
Y 10
R20
55
R30 60°
30
X
30
Y
R1
0
50
R36
R24
R1,5
R5
30
R
R6 6 R5 X
-10
0
R4
R6
-25
R5
0
12 44 65 110
The TNC executes the spline block according to the following third-
degree polynomials:
X(t) = K3X · t3 + K2X · t2+ K1X · t + X
Z(t) = K3Z · t3 + K2Z · t2 + K1Z · t + Z
whereby the variable t runs from 1 to 0. The incrementation of t
depends on the feed rate and the length of the spline.
Input ranges
n Spline end point: –99 999.9999 to +99 999.9999
n Spline parameter K: –9.999 999 99 to +9.999 999 99
n Exponent for spline parameter K: -255 to +255 (whole number).
87 STOP M6
7.2 Miscellaneous Functions for Program Run Control, Spindle and Coolant
Program Run Control, Spindle
and Coolant
Overview
M08 Coolant ON n
Standard behavior
The TNC references coordinates to the workpiece datum, see “Datum
Setting(Without a 3-D Touch Probe),” page 22.
Workpiece datum Y
If you want the coordinates to always be referenced to the machine Y
datum, you can inhibit datum setting for one or more axes. X
If datum setting is inhibited for all axes, the TNC no longer displays the
soft key DATUM SET in the Manual Operation mode.
X
The figure at right shows coordinate systems with the machine datum
and workpiece datum. M
Effect
M104 is effective only in the blocks in which it is programmed.
M104 becomes effective at the end of block.
Effect
M130 functions blockwise in straight-line blocks without tool radius
compensation.
Effect X
M90 is effective only in the blocks in which it is programmed with
M90.
M90 becomes effective at the start of block. Operation with servo lag
must be active.
Y
13 16
Effect 17
M97 is effective only in the blocks in which it is programmed.
14 15
A corner machined with M97 will not be completely
finished. You may wish to rework the contour with a
smaller tool.
X
Example NC blocks
5 TOOL DEF L ... R+20 Large tool radius
...
13 L X ... Y ... R.. F .. M97 Move to contour point 13
14 L IY–0.5 .... R .. F.. Machine small contour step 13 to 14
15 L IX+100 ... Move to contour point 15
16 L IY+0.5 ... R .. F.. M97 Machine small contour step 15 to 16
17 L X .. Y ... Move to contour point 17
Effect S S
M98 is effective only in the blocks in which it is programmed.
M98 takes effect at the end of block. X
Example NC blocks
Move to the contour points 10, 11 and 12 in succession:
10 L X ... Y... RL F
11 L X... IY... M98 Y
12 L IX+ ...
FZMAX = FPROG x F%
Programming M103
If you enter M103 in a positioning block, the TNC continues the dialog
by asking you the factor F.
Effect
M103 becomes effective at the start of block.
To cancel M103, program M103 once again without a factor.
Effect
M136 becomes effective at the start of block.
You can cancel M136 by programming M137.
Effect
M109 and M110 become effective at the start of block.
To cancel M109 and M110, enter M111.
Effect
M120 must be located in an NC block that also contains radius
compensation RL or RR. M120 is then effective from this block until
n radius compensation is canceled, or
n M120 LA0 is programmed, or
n M120 is programmed without LA.
n another program is called with PGM CALL
M120 becomes effective at the start of block.
Limitations
n After an external or internal stop, you can only re-enter the contour
with the function RESTORE POS. AT N.
n If you are using the path functions RND and CHF, the blocks before
and after RND or CHF must contain only coordinates of the working
plane.
n If you want to approach the contour on a tangential path, you must
use the function APPR LCT. The block with APPR LCT must contain
only coordinates of the working plane.
n If you want to approach the contour on a tangential path, use the
function DEP LCT. The block with DEP LCT must contain only
coordinates of the working plane.
Input
If you enter M118 in a positioning block, the TNC continues the dialog
for this block by asking you the axis-specific values. The coordinates
are entered with the orange axis direction buttons or the ASCII
keyboard.
Effect
Cancel handwheel positioning by programming M118 once again
without X, Y and Z.
M118 becomes effective at the start of block.
Example NC blocks
You wish to be able to use the handwheel during program run to move
the tool in the working plane X/Y by ±1 mm of the programmed value:
Input
If you enter M140 in a positioning block, the TNC continues the dialog
and asks for the desired path of tool departure from the contour. Enter
the requested path that the tool should follow when departing the
contour, or press the MAX soft key to move to the limit of the traverse
range.
Effect
M140 is effective only in the block in which it is programmed.
M140 becomes effective at the start of the block.
Example NC blocks
Block 250: Retract the tool 50 mm from the contour.
Block 251: Move the tool to the limit of the traverse range.
If you use M141, make sure that you retract the touch
probe in the correct direction.
M141 functions only for movements with straight-line
blocks.
Effect
M141 is effective only in the block in which it is programmed.
M141 becomes effective at the start of the block.
Effect
M142 is effective only in the block in which it is programmed.
M142 becomes effective at the start of the block.
Effect
M143 is effective only in the block in which it is programmed.
M143 becomes effective at the start of the block.
The TNC interprets the programmed feed rate in a rotary axis in mm/
min. With this miscellaneous function, the TNC calculates the feed
rate for each block at the start of the individual block. With a rotary
axis, the feed rate is not changed during execution of the block even
if the tool moves toward the center of the rotary axis.
Effect
M116 is effective in the working plane.
With M117 you can reset M116. M116 is also canceled at the end of
the program.
M116 becomes effective at the start of block.
Effect
M126 becomes effective at the start of block.
To cancel M126, enter M127. At the end of program, M126 is
automatically canceled.
L M94
L M94 C
To reduce display of all active rotary axes and then move the tool in
the C axis to the programmed value:
Effect
M94 is effective only in the block in which it is programmed.
M94 becomes effective at the start of block.
Effect
M114 becomes effective at the start of block, M115 at the end of
block. M114 is not effective when tool radius compensation is active.
To cancel M114, enter M115. At the end of program, M114 is
automatically canceled.
After M128 you can program another feed rate, at which the TNC will
carry out the compensation movements in the linear axes. If you
program no feed rate here, or if you program a larger feed rate than is
defined in machine parameters 7471, the feed rate from machine
parameter 7471 will be effective.
Effect
M128 becomes effective at the start of block, M129 at the end of
block. M128 is also effective in the manual operating modes and
remains active even after a change of mode. The feed rate for the
compensation movement will be effective until you program a new
feed rate or until you reset M128 with M129.
To cancel M128, enter M129. The TNC also resets M128 if you select
a new program in a program run operating mode.
Example NC blocks
Moving at 1000 mm/min to compensate a radius.
Effect
M134 becomes effective at the start of block, M135 at the end of
block.
You can reset M134 with M135. The TNC also resets M134 if you
select a new program in a program run operating mode.
Effect
M138 becomes effective at the start of block.
You can reset M138 by reprogramming it without entering any axes.
Example NC blocks
Perform the above-mentioned functions only in the tilting axis C:
Effect
M144 becomes effective at the start of the block. M144 does not
function in connection with M114, M128 or a tilted working plane.
You can cancel M144 by programming M145.
Effect
M200 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M201 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Effect
M202 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9.999 Volt
TIME: 0 to 1.999 seconds
Effect
M203 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
Input range
Voltage V: 0 to 9.999 Volt
TIME: 0 to 1.999 seconds
Effect
M204 remains in effect until a new voltage is output through M200,
M201, M202, M203 or M204.
U Press
the soft key for the desired group of cycles, for
example DRILLING for the drilling cycles
U Select the desired cycle, for example THREAD
MILLING. The TNC initiates the programming dialog
and asks all required input values. At the same time a
graphic of the input parameters is displayed in the
right screen window. The parameter that is asked for
in the dialog prompt is highlighted
U Enterall parameters asked by the TNC and conclude
each entry with the ENT key
U TheTNC terminates the dialog when all required data
have been entered
Prerequisites
The following data must always be programmed before a
cycle call
n BLK FORM for graphic display (needed only for test
graphics)
n Tool call
n Direction of spindle rotation (M functions M3/M4)
n Cycle definition (CYCL DEF).
For some cycles, additional prerequisites must be
observed. They are described with the individual cycle.
File name ?
Enter the name and file type of the point table and
NEW.PNT confirm your entry with the ENT key.
With the soft key INSERT LINE, insert new lines and
enter the coordinates of the desired machining
position.
Repeat the process until all desired coordinates have been entered.
Enter the name of the point table and confirm your entry with the ENT
key. If the point table is not stored in the same directory as the NC
program, you must enter the complete path.
Example NC block
7 SEL PATTERN “TNC:\DIRKT5\MUST35.PNT”
With CYCL CALL PAT the TNC runs the points table that you
last defined (even if you have defined the point table in a
program that was nested with CALL PGM.
The TNC uses the coordinate in the spindle axis as the
clearance height, where the tool is located during cycle
call. A clearance height or 2nd setup clearance that is
defined separately in a cycle must not be greater than the
clearance height defined in the global pattern..
If you want the TNC to call the last defined fixed cycle at the points
defined in a point table, then program the cycle call with CYCLE CALL
PAT:
U To program the cycle call, press the CYCL CALL key.
U Press the CYCL CALL PAT soft key to call a point
table.
U Enter the feed rate at which the TNC is to move from
point to point (if you make no entry the TNC will move
at the last programmed feed rate, FMAX not valid).
U If
required, enter miscellaneous function M, then
confirm with the END key.
The TNC moves the tool back to the safe height over each successive
starting point (safe height = the spindle axis coordinate for cycle call).
To use this procedure also for the cycles number 200 and greater, you
must define the 2nd set-up clearance (Q204) as 0.
If you want to move at reduced feed rate when pre-positioning in the
spindle axis, use the miscellaneous function M103 (see “Feed rate
factor for plunging movements: M103” on page 183).
Effect of the point tables with Cycles 200 to 208 and 262 to 267
The TNC interprets the points of the working plane as coordinates of
the hole centers. If you want to use the coordinate defined in the point
table for the spindle axis as the starting point coordinate, you must
define the workpiece surface coordinate (Q203) as 0.
200 DRILLING
With automatic pre-positioning, 2nd set-up clearance
201 REAMING
With automatic pre-positioning, 2nd set-up clearance
202 BORING
With automatic pre-positioning, 2nd set-up clearance
17 RIGID TAPPING
Without a floating tap holder
18 THREAD CUTTING
U Depth Q201 (incremental value): Distance between 11 CYCL DEF 200 DRILLING
workpiece surface and bottom of hole (tip of drill Q200 = 2 ;SET-UP CLEARANCE
taper)
Q201 = -15 ;DEPTH
U Feed rate for plunging Q206: Traversing speed of
the tool during drilling in mm/min Q206 = 250 ;FEED RATE FOR PLUNGING
Q202 = 5 ;PLUNGING DEPTH
U Plunging depth Q202 (incremental value): Infeed per
cut. The depth does not have to be a multiple of the Q210 = 0 ;DWELL TIME AT TOP
plunging depth. The TNC will go to depth in one
Q203 = +20 ;SURFACE COORDINATE
movement if:
Q204 = 100 ;2ND SET-UP CLEARANCE
n the plunging depth is equal to the depth
n the plunging depth is greater than the depth Q211 = 0.1 ;DWELL TIME AT BOTTOM
12 L X+30 Y+20 FMAX M3
U Dwell time at top Q210: Time in seconds that the
tool remains at set-up clearance after having been 13 CYCL CALL
retracted from the hole for chip release.
14 L X+80 Y+50 FMAX M99
U Workpiece surface coordinate Q203 (absolute 15 L Z+100 FMAX M2
value): Coordinate of the workpiece surface
U 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can
occur.
U Dwell time at depth Q211: Time in seconds that the
tool remains at the hole bottom
U Feed rate for plunging Q206: Traversing speed of Q200 = 2 ;SET-UP CLEARANCE
the tool during reaming in mm/min Q201 = -15 ;DEPTH
U Dwell time at depth Q211: Time in seconds that the Q206 = 100 ;FEED RATE FOR PLUNGING
tool remains at the hole bottom
Q211 = 0.5 ;DWELL TIME AT BOTTOM
U Retraction feed rate Q208: Traversing speed of the Q208 = 250 ;RETRACTION FEED TIME
tool in mm/min when retracting from the hole. If you
enter Q208 = 0, the tool retracts at the reaming feed Q203 = +20 ;SURFACE COORDINATE
rate. Q204 = 100 ;2ND SET-UP CLEARANCE
U Workpiece surface coordinate Q203 (absolute 12 L X+30 Y+20 FMAX M3
value): Coordinate of the workpiece surface
13 CYCL CALL
U 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision 14 L X+80 Y+50 FMAX M9
between tool and workpiece (clamping devices) can 15 L Z+100 FMAX M2
occur.
U Feed rate for plunging Q206: Traversing speed of Q200 = 2 ;SET-UP CLEARANCE
the tool during boring in mm/min Q201 = -15 ;DEPTH
U Dwell time at depth Q211: Time in seconds that the Q206 = 100 ;FEED RATE FOR PLUNGING
tool remains at the hole bottom
Q211 = 0.5 ;DWELL TIME AT BOTTOM
U Retraction feed rate Q208: Traversing speed of the Q208 = 250 ;RETRACTION FEED TIME
tool in mm/min when retracting from the hole. If you
enter Q208 = 0, the tool retracts at feed rate for Q203 = +20 ;SURFACE COORDINATE
plunging. Q204 = 100 ;2ND SET-UP CLEARANCE
U Workpiece surface coordinate Q203 (absolute Q214 = 1 ;DISENGAGING DIRECTN
value): Coordinate of the workpiece surface
Q336 = 0 ;ANGLE OF SPINDLE
U 2nd set-up clearance Q204 (incremental value):
Coordinate in the tool axis at which no collision 12 L X+30 Y+20 FMAX M3
between tool and workpiece (clamping devices) can 13 CYCL CALL
occur.
14 L X+80 Y+50 FMAX M99
U Disengaging direction (0/1/2/3/4) Q214: Determine
the direction in which the TNC retracts the tool at the
hole bottom (after spindle orientation).
Danger of collision
Select a disengaging direction in which the tool moves
away from the edge of the hole.
Check the position of the tool tip when you program a
spindle orientation to the angle that you enter in Q336 (for
example, in the Positioning with Manual Data Input mode
of operation). Set the angle so that the tool tip is parallel to
a coordinate axis.
Program a positioning block for the starting point (hole Q201=-20 ;DEPTH
center) in the working plane with radius compensation R0. Q206=150 ;FEED RATE FOR PLUNGING
The algebraic sign for the cycle parameter DEPTH Q202=5 ;PLUNGING DEPTH
determines the working direction. If you program DEPTH
Q210=0 ;DWELL TIME AT TOP
= 0, the cycle will not be executed.
Q203=+20 ;SURFACE COORDINATE
U Set-upclearance Q200 (incremental value): Distance Q204=50 ;2ND SET-UP CLEARANCE
between tool tip and workpiece surface. Q212=0.2 ;DECREMENT
U Depth Q201 (incremental value): Distance between Q213=3 ;BREAKS
workpiece surface and bottom of hole (tip of drill
taper) Q205=3 ;MIN. PLUNGING DEPTH
U Feed rate for plunging Q206: Traversing speed of Q211=0.25 ;DWELL TIME AT BOTTOM
the tool during drilling in mm/min Q208=500 ;RETRACTION FEED RATE
U Plunging depth Q202 (incremental value): Infeed per Q256=0.2 ;DIST FOR CHIP BRKNG
cut. The depth does not have to be a multiple of the
plunging depth. The TNC will go to depth in one
movement if:
n the plunging depth is equal to the depth
n the plunging depth is greater than the depth
U Dwell time at top Q210: Time in seconds that the
tool remains at set-up clearance after having been
retracted from the hole for chip release.
U Workpiece surface coordinate Q203 (absolute
value): Coordinate of the workpiece surface
Q255
Q254
X
Q214
Danger of collision
Check the position of the tool tip when you program a
spindle orientation to the angle that you enter in Q336 (for
example, in the Positioning with Manual Data Input mode
of operation). Set the angle so that the tool tip is parallel to
a coordinate axis. Select a disengaging direction in which
the tool moves away from the edge of the hole.
If you enter Q258 not equal to Q259, the TNC will change
the advance stop distances between the first and last
plunging depths at the same rate.
Note that if the infeed distance is too large, the tool or the
workpiece may be damaged.
To prevent the infeeds being too large, enter the max.
plunge angle of the tool in the tool table, column ANGLE,
see “Tool Data,” page 99. The TNC then calculates
automatically the max. infeed permitted and changes your
entered value accordingly.
The TNC cuts the thread without a floating tap holder in one or more 13
passes. Z
Rigid tapping offers the following advantages over tapping with a
floating tap holder
1
n Higher machining speeds possible
n Repeated tapping of the same thread is possible; repetitions are X
enabled via spindle orientation to the 0° position during cycle call 12
(depending on machine parameter 7160).
n Increased traverse range of the spindle axis due to absence of a
floating tap holder.
Before programming, note the following:
Program a positioning block for the starting point (hole Example: NC blocks
center) in the working plane with radius compensation R0.
18 CYCL DEF 17.0 RIGID TAPPING GS
Program a positioning block for the starting point in the
tool axis (set-up clearance above the workpiece surface). 19 CYCL DEF 17.1 SET UP 2
The algebraic sign for the parameter total hole depth 20 CYCL DEF 17.2 DEPTH -20
determines the working direction. 21 CYCL DEF 17.3 PITCH +1
The TNC calculates the feed rate from the spindle speed.
If the spindle speed override is used during tapping, the
feed rate is automatically adjusted.
The feed-rate override knob is disabled.
At the end of the cycle the spindle comes to a stop. Before
the next operation, restart the spindle with M3 (or M4).
The TNC cuts the thread without a floating tap holder in one or more
passes.
Rigid tapping offers the following advantages over tapping with a
floating tap holder:See “RIGID TAPPING (Cycle 17),” page 229.
1 The TNC positions the tool in the tool axis at rapid traverse FMAX
to the programmed setup clearance above the workpiece surface.
2 The tool drills to the total hole depth in one movement.
3 Once the tool has reached the total hole depth, the direction of
spindle rotation is reversed and the tool is retracted to the set-up
clearance at the end of the dwell time. and — if programmed — to
the 2nd set-up clearance with FMAX.
4 The TNC stops the spindle turning at set-up clearance.
The tool machines the thread in several passes until it reaches the
programmed depth. You can define in a parameter whether the tool is
to be retracted completely from the hole for chip breaking.
1 The TNC positions the tool in the tool axis at rapid traverse FMAX
to the programmed setup clearance above the workpiece surface.
There it carries out an oriented spindle stop.
2 The tool moves to the programmed infeed depth, reverses the
direction of spindle rotation and retracts by a specific distance or
completely for chip release, depending on the definition .
3 It then reverses the direction of spindle rotation again and
advances to the next infeed depth.
4 The TNC repeats this process (2 to 3) until the programmed thread
depth is reached.
5 The tool is then retracted to set-up clearance. and — if
programmed — to the 2nd set-up clearance with FMAX.
6 The TNC stops the spindle turning at set-up clearance.
U Retraction rate for chip breaking Q256: The TNC Q200=2 ;SET-UP CLEARANCE
multiplies the pitch Q239 by the programmed value Q201=-20 ;DEPTH
and retracts the tool by the calculated value during
chip breaking. If you enter Q256 = 0, the TNC retracts Q239=+1 ;THREAD PITCH
the tool completely from the hole (to set-up Q203=+25 ;SURFACE COORDINATE
clearance) for chip release.
Q204=50 ;2ND SET-UP CLEARANCE
U Angle for spindle orientation Q336 (absolute
value): Angle at which the TNC positions the tool Q257=5 ;DEPTH FOR CHIP BRKNG
before machining the thread. This allows you to Q256=+25 ;DIST FOR CHIP BRKNG
regroove the thread, if required.
Q336=50 ;ANGLE OF SPINDLE
Retracting after a program interruption
If you interrupt program run during thread cutting with the machine
stop button, the TNC will display the soft key MANUAL OPERATION.
If you press the MANUAL OPERATION key, you can retract the tool
under program control. Simply press the positive axis direction button
of the active tool axis.
Left-handed – –1(RR) Z+
Right-handed + –1(RR) Z–
Left-handed – +1(RL) Z–
Climb/Up-
External thread Pitch Work direction
cut
Right-handed + +1(RL) Z–
Left-handed – –1(RR) Z–
Right-handed + –1(RR) Z+
Left-handed – +1(RL) Z+
U Climb or up-cut Q351: Type of milling operation with Q335=10 ;NOMINAL DIAMETER
M03 Q239=+1.5 ;PITCH
+1 = climb milling
–1 = up-cut milling Q201=-20 ;THREAD DEPTH
Y
100
90
10
X
10 20 80 90 100
Program sequence
n Program the drilling cycle in the main program Y
n Program machining within a subprogram, see 100
M12
“Subprograms,” page 343
70
M12
20
X
20 70 100
5 CIRCULAR POCKET
Roughing cycle without automatic pre-positioning
3 SLOT MILLING
Roughing/finishing cycle without automatic pre-
positioning, vertical depth infeed
U Feed rate F: Traversing speed of the tool in the 17 CYCL DEF 4.5 Y40
working plane 18 CYCL DEF 4.6 F100 DR+ RADIUS 10
U Clockwise 19 L X+60 Y+35 FMAX M3
DR +: Climb milling with M3
DR –: Up-cut milling with M3 20 L Z+2 FMAX M99
Y Q218
Q
22
0
Q219
Q217
Q207
X
Q216 Q221
Y Q218
Q
Q207
22
0
Q219
Q217
X
Q216 Q221
U 2nd set-up clearance Q204 (incremental value): Q219=60 ;SECOND SIDE LENGTH
Coordinate in the tool axis at which no collision Q220=5 ;CORNER RADIUS
between tool and workpiece (clamping devices) can
occur. Q221=0 ;ALLOWANCE
Example: NC blocks
16 L Z+100 R0 FMAX
17 CYCL DEF 5.0 CIRCULAR POCKET
18 CYCL DEF 5.1 SET UP 2
19 CYCL DEF 5.2 DEPTH -12
20 CYCL DEF 5.3 PLNGNG 6 F80
21 CYCL DEF 5.4 RADIUS 35
22 CYCL DEF 5.5 F100 DR+
23 L X+60 Y+50 FMAX M3
24 L Z+2 FMAX M99
Q207
Q222
Q223
Q217
X
Q216
Q207
Q223
Q222
Q217
X
Q216
U 2nd set-up clearance Q204 (incremental value): Q223=80 ;FINISHED PART DIA.
Coordinate in the tool axis at which no collision
between tool and workpiece (clamping devices) can
occur.
U Center in 1st axis Q216 (absolute value): Center of
the stud in the reference axis of the working plane
U Center in 2nd axis Q217 (absolute value): Center of
the stud in the minor axis of the working plane.
U Workpiece blank diameter Q222: Diameter of the
premachined stud for calculating the pre-position.
Enter the workpiece blank diameter to be greater
than the diameter of the finished part
U Diameter of finished part Q223: Diameter of the
finished stud. Enter the diameter of the finished part
to be less than the workpiece blank diameter.
Example: NC blocks
9 L Z+100 R0 FMAX
10 TOOL DEF 1 L+0 R+6
11 TOOL CALL 1 Z S1500
12 CYCL DEF 3.0 SLOT MILLING
13 CYCL DEF 3.1 SET UP 2
14 CYCL DEF 3.2 DEPTH -15
15 CYCL DEF 3.3 PLNGNG 5 F80
16 CYCL DEF 3.4 X50
17 CYCL DEF 3.5 Y15
18 CYCL DEF 3.6 F120
19 L X+16 Y+25 R0 FMAX M3
20 L Z+2 M99
Roughing process
1 At rapid traverse, the TNC positions the tool in the tool axis to the
2nd set-up clearance and subsequently to the center of the left
circle. From there, the TNC positions the tool to set-up clearance
above the workpiece surface. Z
Q207
2 The tool moves at the feed rate for milling to the workpiece
surface. From there, the cutter advances in the longitudinal Q200 Q204
direction of the slot — plunge-cutting obliquely into the material — Q203
until it reaches the center of the right circle.
Q202
3 The tool then moves back to the center of the left circle, again with
oblique plunge-cutting. This process is repeated until the Q201
programmed milling depth is reached.
4 At the milling depth, the TNC moves the tool for the purpose of
face milling to the other end of the slot and then back to the center X
of the slot.
Finishing process
5 The TNC advances the tool from the slot center tangentially to the Y
contour of the finished part. The tool subsequently climb mills the
contour (with M3), and if so entered, in more than one infeed.
6 When the tool reaches the end of the contour, it departs the
contour tangentially and returns to the center of the slot. Q218
7 At the end of the cycle, the tool is retracted in rapid traverse FMAX Q224
to set-up clearance and — if programmed — to the 2nd set-up Q217
clearance.
Q219
X
Q216
U Feed rate for milling Q207: Traversing speed of the Q201=-20 ;DEPTH
tool in mm/min while milling. Q207=500 ;FEED RATE FOR MILLING
U Plunging depth Q202 (incremental value): Total Q202=5 ;PLUNGING DEPTH
extent by which the tool is fed in the tool axis during
Q215=0 ;MACHINING OPERATION
a reciprocating movement
Q203=+30 ;SURFACE COORDINATE
U Machining operation (0/1/2) Q215: Define the
machining operation: Q204=50 ;2ND SET-UP CLEARANCE
0: Roughing and finishing Q216=+50 ;CENTER IN 1ST AXIS
1: Only roughing
2: Only finishing Q217=+50 ;CENTER IN 2ND AXIS
U Workpiece surface coordinate Q203 (absolute Q218=80 ;FIRST SIDE LENGTH
value): Coordinate of the workpiece surface Q219=12 ;SECOND SIDE LENGTH
U 2nd setup clearance Q204 (incremental value): Q224=+15 ;ANGLE OF ROTATION
Z coordinate at which no collision between tool and
workpiece (clamping devices) can occur Q338=5 ;INFEED FOR FINISHING
X
Q216
U Feed rate for milling Q207: Traversing speed of the Q201=-20 ;DEPTH
tool in mm/min while milling. Q207=500 ;FEED RATE FOR MILLING
U Plunging depth Q202 (incremental value): Total Q202=5 ;PLUNGING DEPTH
extent by which the tool is fed in the tool axis during
Q215=0 ;MACHINING OPERATION
a reciprocating movement
Q203=+30 ;SURFACE COORDINATE
U Machining operation (0/1/2) Q215: Define the
machining operation: Q204=50 ;2ND SET-UP CLEARANCE
0: Roughing and finishing Q216=+50 ;CENTER IN 1ST AXIS
1: Only roughing
2: Only finishing Q217=+50 ;CENTER IN 2ND AXIS
U Workpiece surface coordinate Q203 (absolute Q244=80 ;PITCH CIRCLE DIAMETR
value): Coordinate of the workpiece surface Q219=12 ;SECOND SIDE LENGTH
U 2nd setup clearance Q204 (incremental value): Q245=+45 ;STARTING ANGLE
Z coordinate at which no collision between tool and
workpiece (clamping devices) can occur Q248=90 ;ANGULAR LENGTH
U Center in 1st axis Q216 (absolute value): Center of Q338=5 ;INFEED FOR FINISHING
the slot in the reference axis of the working plane
U Center in 2nd axis Q217 (absolute value): Center of
the slot in the minor axis of the working plane
U Pitch circle diameter Q244: Enter the diameter of
the pitch circle
U Second side length Q219: Enter the slot width. If you
enter a slot width that equals the tool diameter, the
TNC will carry out the roughing process only (slot
milling).
U Starting angle Q245 (absolute value): Enter the polar
angle of the starting point
U Angular length Q248 (incremental value): Enter the
angular length of the slot
U Infeed for finishing Q338 (incremental value):
Infeed per cut. Q338=0: Finishing in one infeed.
Y Y
90
100
90°
70
8 45°
R2
80
50
5
X Z
50 100 -40 -30 -20
You can combine Cycle 220 and Cycle 221 with the following fixed
cycles:
Cycle 1 PECKING
Cycle 2 TAPPING with a floating tap holder
Cycle 3 SLOT MILLING
Cycle 4 POCKET MILLING
Cycle 5 CIRCULAR POCKET MILLING
Cycle 17 RIGID TAPPING without a floating tap holder
Cycle 18 THREAD CUTTING
Cycle 200 DRILLING
Cycle 201 REAMING
Cycle 202 BORING
Cycle 203 UNIVERSAL DRILLING
Cycle 204 BACK BORING
Cycle 205 UNIVERSAL PECKING
Cycle 206 TAPPING NEW with a floating tap holder
Cycle 207 RIGID TAPPING NEW without a floating tap holder
Cycle 208 BORE MILLING
Cycle 209 TAPPING WITH CHIP BREAKING
Cycle 212 POCKET FINISHING
Cycle 213 STUD FINISHING
Cycle 214 CIRCULAR POCKET FINISHING
Cycle 215 CIRCULAR STUD FINISHING
Cycle 262 THREAD MILLING
Cycle 263 THREAD MILLING/COUNTERSINKING
Cycle 264 THREAD DRILLING/MILLING
Cycle 265 HELICAL THREAD DRILLING/MILLING
Cycle 267 OUTSIDE THREAD MILLING
1 The TNC automatically moves the tool from its current position to
the starting point for the first machining operation.
Sequence:
n 2. Move to 2nd set-up clearance (spindle axis)
n Approach the starting point in the spindle axis
n Move to set-up clearance above the workpiece surface (spindle
axis) Y
2 From this position, the TNC executes the last defined fixed cycle.
3 The tool then approaches the starting point for the next machining 7
Q23
operation in the positive reference axis direction at set-up Q238
clearance (or 2nd set-up clearance).
4 This process (1 to 3) is repeated until all machining operations on 3
the first line have been executed. The tool is located above the last Q24
N=
point on the first line. 2
Q24
5 The tool subsequently moves to the last point on the second line N=
where it carries out the machining operation. Q224
Q226
6 From this position, the tool approaches the starting point for the
next machining operation in the negative reference axis direction.
7 This process (6) is repeated until all machining operations in the X
second line have been executed. Q225
8 The tool then moves to the starting point of the next line.
9 All subsequent lines are processed in a reciprocating movement.
Q200 Q204
Q203
U Starting point 2nd axis Q226 (absolute value): Q225=+15 ;STARTNG PNT 1ST AXIS
Coordinate of the starting point in the minor axis of Q226=+15 ;STARTNG PNT 2ND AXIS
the working plane
Q237=+10 ;SPACING IN 1ST AXIS
U Spacing in 1st axis Q237 (incremental value):
Spacing between the individual points on a line Q238=+8 ;SPACING IN 2ND AXIS
Q242=6 ;NUMBER OF COLUMNS
U Spacing in 2nd axis Q238 (incremental value):
Spacing between the individual lines Q243=4 ;NUMBER OF LINES
U Number of columns Q242: Number of machining Q224=+15 ;ANGLE OF ROTATION
operations on a line Q200=2 ;SET-UP CLEARANCE
U Number of lines Q243: Number of passes Q203=+30 ;SURFACE COORDINATE
U Angle of rotation Q224 (absolute value): Angle by Q204=50 ;2ND SET-UP CLEARANCE
which the entire pattern is rotated. The center of
rotation lies in the starting point. Q301=1 ;TRAVERSE TO CLEARANCE HEIGHT
100
R25
70 30°
R35
25
X
30 90 100
8.6 SL cycles
Fundamentals
SL cycles enable you to form complex contours by combining up to 12 Example: Program structure: Machining with SL
subcontours (pockets or islands). You define the individual cycles
subcontours in subprograms. The TNC calculates the total contour
from the subcontours (subprogram numbers) that enter in Cycle 14 0 BEGIN PGM SL2 MM
CONTOUR GEOMETRY. ...
The memory capacity for programming an SL cycle (all 12 CYCL DEF 14.0 CONTOUR GEOMETRY ...
contour subprograms) is limited to 48 kilobytes. The 13 CYCL DEF 20.0 CONTOUR DATA ...
number of possible contour elements depends on the
type of contour (inside or outside contour) and the number ...
of subcontours. For example, you can program up to 16 CYCL DEF 21.0 PILOT DRILLING
approx. 256 line blocks.
17 CYCL CALL
n The TNC automatically positions the tool to set-up clearance before ...
a cycle. 55 LBL 0
n Each level of infeed depth is milled without interruptions since the 56 LBL 2
cutter traverses around islands instead of over them.
...
n The radius of “inside corners” can be programmed—the tool keeps
moving to prevent surface blemishes at inside corners (this applies 60 LBL 0
for the outermost pass in the Rough-out and Side-Finishing cycles).
...
n The contour is approached in a tangential arc for side finishing.
99 END PGM SL2 MM
n For floor finishing, the tool again approaches the workpiece in a
tangential arc (for tool axis Z, for example, the arc may be in the Z/X
plane).
n The contour is machined throughout in either climb or up-cut milling.
22 ROUGH-OUT (essential)
Enhanced cycles:
27 CYLINDER SURFACE
S1
A B
S2
Example: NC blocks
Overlapping contours
Pockets and islands can be overlapped to form a new contour. You can
thus enlarge the area of a pocket by another pocket or reduce it by an
island.
Subprogram 1: Pocket A
51 LBL 1
52 L X+10 Y+50 RR
53 CC X+35 Y+50
54 C X+10 Y+50 DR-
55 LBL 0
Subprogram 2: Pocket B
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
Area of inclusion
Both surfaces A and B are to be machined, including the mutually
overlapped area:
n The surfaces A and B must be pockets.
n The first pocket (in Cycle 14) must start outside the second pocket.
Surface A: B
51 LBL 1
52 L X+10 Y+50 RR A
53 CC X+35 Y+50
54 C X+10 Y+50 DR-
55 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
51 LBL 1
B
52 L X+10 Y+50 RR
A
53 CC X+35 Y+50
54 C X+10 Y+50 DR-
55 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RL
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
Area of intersection
Only the area overlapped by both A and B is to be machined. (The
areas covered by A or B alone are to be left unmachined.)
n A and B must be pockets.
n A must start inside of B.
Surface A:
A B
51 LBL 1
52 L X+60 Y+50 RR
53 CC X+35 Y+50
54 C X+60 Y+50 DR-
55 LBL 0
Surface B:
56 LBL 2
57 L X+90 Y+50 RR
58 CC X+65 Y+50
59 C X+90 Y+50 DR-
60 LBL 0
8
Q
determines the working direction. If you program depth =
0, the TNC does not execute that next cycle.
Q9=+1
The machining data entered in Cycle 20 are valid for Cycles
21 to 24.
If you are using the SL cycles in Q parameter programs,
the cycle parameters Q1 to Q19 cannot be used as k
program parameters.
X
Q7
U Workpiece surface coordinate Q5 (absolute value): Q10 Q1
Absolute coordinate of the workpiece surface
Q5
U Set-upclearance Q6 (incremental value): Distance
between tool tip and workpiece surface
U Clearance height Q7 (absolute value): Absolute
X
height at which the tool cannot collide with the
workpiece (for intermediate positioning and retraction Example: NC blocks
at the end of the cycle)
57 CYCL DEF 20.0 CONTOUR DATA
U Inside corner radius Q8: Inside “corner” rounding
radius; entered value is referenced to the tool Q1=-20 ;MILLING DEPTH
midpoint path.
Q2=1 ;TOOL PATH OVERLAP
U Direction of rotation ? Clockwise = -1 Q9: Q3=+0.2 ;ALLOWANCE FOR SIDE
Machining direction for pockets
Q4=+0.1 ;ALLOWANCE FOR FLOOR
n Clockwise (Q9 = –1 up-cut milling for pocket and
island) Q5=+30 ;SURFACE COORDINATE
n Counterclockwise (Q9 = +1 climb milling for pocket Q6=2 ;SET-UP CLEARANCE
and island)
Q7=+80 ;CLEARANCE HEIGHT
You can check the machining parameters during a program Q8=0.5 ;ROUNDING RADIUS
interruption and overwrite them if required.
Q9=+1 ;DIRECTION OF ROTATION
Process
Same as Cycle 1, Pecking; see “Cycles for Drilling, Tapping and Thread
Milling,” page 209.
Application
Cycle 21 is for PILOT DRILLING of the cutter infeed points. It accounts
for the allowance for side and the allowance for floor as well as the X
radius of the rough-out tool. The cutter infeed points also serve as
starting points for roughing.
U Plunging depth Q10 (incremental value): Dimension
Example: NC blocks
by which the tool drills in each infeed (negative sign
for negative working direction) 58 CYCL DEF 21.0 PILOT DRILLING
U Feed
rate for plunging Q11: Traversing speed in Q10=+5 ;PLUNGING DEPTH
mm/min during drilling
Q11=100 ;FEED RATE FOR PLUNGING
U Rough-out tool number Q13: Tool number of the
roughing mill Q13=1 ;ROUGH-OUT TOOL
Example: NC blocks
Before programming, note the following: 62 CYCL DEF 25.0 CONTOUR TRAIN
Q1=-20 ;MILLING DEPTH
The algebraic sign for the cycle parameter DEPTH
determines the working direction. If you program DEPTH Q3=+0 ;ALLOWANCE FOR SIDE
= 0, the cycle will not be executed.
Q5=+0 ;WORKPIECE SURFACE COORD.
The TNC takes only the first label of Cycle 14 CONTOUR Q7=+50 ;CLEARANCE HEIGHT
GEOMETRY into account.
Q10=+5 ;PLUNGING DEPTH
The memory capacity for programming an SL cycle is
limited. For example, you can program up to 256 straight- Q11=100 ;FEED RATE FOR PLUNGING
line blocks in one SL cycle. Q12=350 ;FEED RATE FOR MILLING
Cycle 20 CONTOUR DATA is not required. Q1=-1 ;CLIMB OR UP-CUT
Positions that are programmed in incremental dimensions
immediately after Cycle 25 are referenced to the position
of the tool at the end of the cycle.
10
Y 10
R20
55
R30 60°
30
X
30
Y
16 16
100
R2
5
16
50
5
R2
X
35 65 100
Y
100
95
R7
5
R7,
,5
80
75
20
15
X
5 50 100
Note:
n Cylinder centered on rotary table.
n Datum at center of rotary table Z
,5
R7
60
20
C
30 50 157
Overview
The TNC offers three cycles for machining the following surface types:
n Created by digitizing or with a CAD/CAM system
n Flat, rectangular surfaces
n Flat, oblique-angled surfaces
n Surfaces that are inclined in any way
n Twisted surfaces
Cycle Soft key
30 RUN DIGITIZED DATA
For multipass milling of digitized surface data in
several infeeds
Q219
plane
Q209
U Starting point in 3rd axis Q227 (absolute value):
Height in the spindle axis at which multipass-milling is
carried out
Q226
U First side length Q218 (incremental value): Length
of the surface to be multipass-milled in the reference
axis of the working plane, referenced to the starting Q218 X
point in 1st axis Q225
U 4th point in 2nd axis Q235 (absolute value): Q225=+0 ;STARTNG PNT 1ST AXIS
Coordinate of point 4 in the minor axis of the working Q226=+5 ;STARTNG PNT 2ND AXIS
plane
Q227=-2 ;STARTING PNT 3RD AXIS
U 4thpoint in 3rd axis Q236 (absolute value):
Coordinate of point 4 in the tool axis Q228=+100 ;2ND POINT 1ST AXIS
Q229=+15 ;2ND POINT 2ND AXIS
U Numberof cuts Q240: Number of passes to be made
between points 1 and 4, 2 and 3. Q230=+5 ;2ND POINT 3RD AXIS
U Feed rate for milling Q207: Traversing speed of the Q231=+15 ;3RD POINT 1ST AXIS
tool in mm/min while milling. The TNC performs the Q232=+125 ;3RD POINT 2ND AXIS
first step at half the programmed feed rate.
Q233=+25 ;3RD POINT 3RD AXIS
Q234=+15 ;4TH POINT 1ST AXIS
Q235=+125 ;4TH POINT 2ND AXIS
Q236=+25 ;4TH POINT 3RD AXIS
Q240=40 ;NUMBER OF CUTS
Q207=500 ;FEED RATE FOR MILLING
Y Y
100
X Z
100 35
8 MIRROR IMAGE
Mirroring contours
10 ROTATION
For rotating contours in the working plane
11 SCALING FACTOR
For increasing or reducing the size of contours
19 WORKING PLANE
For executing machining operations in a tilted
coordinate system
for machines with tilting heads
and/or rotary tables
Cancellation
A datum shift is canceled by entering the datum shift coordinates X=0,
Y=0 and Z=0.
Graphics
If you program a new BLK FORM after a datum shift, you can use Z
machine parameter 7310 to determine whether the BLK FORM is Y
referenced to the current datum or to the original datum. Referencing
a new BLK FORM to the current datum enables you to display each
part in a program in which several pallets are machined. IY
Status Displays
X
n The actual position values are referenced to the active (shifted) IX
datum.
n All of the position values shown in the additional status display are
referenced to the manually set datum.
Example: NC blocks
If you are using datum shifts with datum tables, then use
the SEL TABLE function to activate the desired datum
table from the NC program. Z
If you work without SEL-TABLE, then you must activate
Y
the desired datum table before the test run or the program N5
run. (This applies also for the programming graphics). N4
N3
n Use the file management to select the desired table for N2 X
a test run in the Test Run operating mode: The table N1
receives the status S. N0
n Use the file management in a program run mode to
select the desired table for a program run: The table
receives the status M.
Datums from a datum table can be referenced either to
the current datum or to the machine datum (depending on
machine parameter 7475).
The coordinate values from datum tables are only effective
with absolute coordinate values.
New lines can only be inserted at the end of the table. Z
Y
Function N2
Datum tables are used for
N1 X
n frequently recurring machining sequences at various locations on Y2
the workpiece
n frequent use of the same datum shift Y1 N0
Within a program, you can either program datum points directly in the X2
X1
cycle definition or call them from a datum table.
U Datum shift: Enter the number of the datum from the
datum table or a Q parameter. If you enter a Q
parameter, the TNC activates the datum number
found in the Q parameter.
Example: NC blocks
Cancellation
n Call a datum shift to the coordinates 77 CYCL DEF 7.0 DATUM SHIFT
X=0; Y=0 etc. from a datum table 78 CYCL DEF 7.1 #5
n Execute a datum shift to the coordinates X=0; Y=0 etc. directly with
a cycle definition.
Delete line
Status Displays
If datums in the table are referenced to the machine datum, then:
n The actual position values are referenced to the active (shifted)
datum.
n All of the position values shown in the additional status display are
referenced to the machine datum, whereby the TNC accounts for
the manually set datum.
Cancellation
You can reactivate the last datum set in the Manual mode by entering
the miscellaneous function M104.
The TNC only sets the datum for those axes which are
active in the datum table. An axis displayed as a column in
the datum table, but not existing on the TNC, will cause an
error message. Example: NC blocks
Cycle 247 always interprets the values saved in the datum 13 CYCL DEF 247 DATUM SETTING
table as coordinates referenced to the machine datum.
Machine parameter 7475 has no influence on this. Q339=4 ;DATUM NUMBER
When using Cycle 247, you cannot use the block scan
function for mid-program startup.
Cycle G247 is not functional in Test Run mode.
Example: NC blocks
Cancellation
Program the ROTATION cycle once again with a rotation angle of 0°.
Example: NC blocks
12 CALL LBL1
13 CYCL DEF 7.0 DATUM SHIFT
14 CYCL DEF 7.1 X+60
15 CYCL DEF 7.2 Y+40
16 CYCL DEF 10.0 DREHUNG
17 CYCL DEF 10.1 ROT+35
18 CALL LBL1
Prerequisite
It is advisable to set the datum to an edge or a corner of the contour
before enlarging or reducing the contour.
U Scaling factor ?: Enter the scaling factor SCL. The
TNC multiplies the coordinates and radii by the SCL
factor (as described under “Effect” above)
Cancellation
Program the SCALING FACTOR cycle once again with a scaling factor
of 1.
Example: NC blocks
11 CALL LBL1
12 CYCL DEF 7.0 DATUM SHIFT
13 CYCL DEF 7.1 X+60
14 CYCL DEF 7.2 Y+40
15 CYCL DEF 11.0 SCALING
16 CYCL DEF 11.1 SCL 0.75
17 CALL LBL1
Effect
X
The SCALING FACTOR becomes effective as soon as it is defined in
the program. It is also effective in the Positioning with MDI mode of
operation. The active scaling factor is shown in the additional status
display.
U Axis and scaling factor: Enter the coordinate axis/
axes as well as the factor(s) involved in enlarging or
reducing. Enter a positive value up to 99.999 999.
U Center coordinates: Enter the center of the axis-
specific enlargement or reduction.
The coordinate axes are selected with soft keys.
Cancellation
Program the SCALING FACTOR cycle once again with a scaling factor
of 1 for the same axis.
Example: NC blocks
25 CALL LBL1
26 CYCL DEF 26.0 AXIS-SPEC. SCALING
27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+20
28 CALL LBL1
Effect
In Cycle 19 you define the position of the working plane — i.e. the
position of the tool axis referenced to the machine coordinate system
— by entering tilt angles. There are two ways to determine the
position of the working plane:
n Enter the position of the tilting axes directly.
n Describe the position of the working plane using up to 3 rotations
(spatial angle) of the machine-referenced coordinate system. The
required spatial angle can be calculated by cutting a perpendicular
line through the tilted working plane and considering it from the axis
around which you wish to tilt. With two spatial angles, every tool
position in space can be defined exactly.
If you program the position of the working plane via spatial angles, the
TNC will calculate the required angle positions of the tilted axes
automatically and will store these in the parameters Q120 (A axis) to
Q122 (C axis). If two solutions are possible, the TNC will choose the
shorter path from the zero position of the rotary axes.
The axes are always rotated in the same sequence for calculating the
tilt of the plane: The TNC first rotates the A axis, then the B axis, and
finally the C axis.
Cycle 19 becomes effective as soon as it is defined in the program. As
soon as you move an axis in the tilted system, the compensation for
this specific axis is activated. You have to move all axes to activate
compensation for all axes.
Cancellation
To cancel the tilt angle, redefine the WORKING PLANE cycle and enter
an angular value of 0° for all axes of rotation. You must then program
the WORKING PLANE cycle once again by answering the dialog
question with the NO ENT key to disable the function.
10 L Z+100 R0 FMAX
11 L X+25 Y+10 R0 FMAX
12 L B+15 R0 F1000 Position the axis of rotation
13 CYCL DEF 19.0 WORKING PLANE Define the angle for calculation of the compensation
14 CYCL DEF 19.1 B+15
Workspace monitoring
The TNC monitors only those axes in the tilted coordinate system that
are moved. If necessary, the TNC outputs an error message.
6 Start the part program in the operating mode Program Run, Full
Sequence
Program sequence
n Program the coordinate transformations in R5
10
the main program Y R5
n For subprograms within a subprogram, see
10
130 X
“Subprograms,” page 343
20 10
45°
30
65
X
65 130
Effect
Cycle 9 becomes effective as soon as it is defined in the program.
Modal conditions such as spindle rotation are not affected.
U Dwelltime in seconds: Enter the dwell time in
seconds
Input range 0 to 3600 s (1 hour) in 0.001 s steps
Example: NC blocks
Before programming, note the following: 7 CYCL DEF 12.0 0 BEGIN PGM
PGM CALL LOT31 MM
If the program you are defining to be a cycle is located in 8 CYCL DEF 12.1
the same directory as the program you are calling it from, LOT31
you need only to enter the program name. 9 ... M99
If the program you are defining to be a cycle is not located
in the same directory as the program you are calling it
from, you must enter the complete path (for example
END PGM LOT31
TNC:\KLAR35\FK1\50.H.
If you want to define an ISO program to be a cycle, enter
the file type .I behind the program name.
U Program name: Enter the name of the program you Example: NC blocks
want to call and, if necessary, the directory it is
located in. 55 CYCL DEF 12.0 PGM CALL
Call the program with 56 CYCL DEF 12.1 PGM TNC:\KLAR35\FK1\50.H
n CYCL CALL (separate block) or 57 L X+20 Y+50 FMAX M99
n M99 (blockwise) or
n M89 (executed after every positioning block)
The control can control the machine tool spindle and rotate it to a given
angular position.
Oriented spindle stops are required for
n Tool changing systems with a defined tool change position
n Orientation of the transmitter/receiver window of HEIDENHAIN 3-D
touch probes with infrared transmission
Example: NC blocks
Effect
93 CYCL DEF 13.0 ORIENTATION
The angle of orientation defined in the cycle is positioned to by
entering M19 or M20 (depending on the machine). 94 CYCL DEF 13.1 ANGLE 180
If you program M19 or M20 without having defined Cycle 13, the TNC
positions the machine tool spindle to an angle that has been set in a
machine parameter (see your machine manual).
U Angle of orientation: Enter the angle according to
the reference axis of the working plane
Labels
The beginnings of subprograms and program section repeats are
marked in a part program by labels.
A label is identified by a number between 1 and 254. Each label can be
set only once with LABEL SET in a program.
9.2 Subprograms
Operating sequence
1 The TNC executes the part program up to the block in which a
subprogram is called with CALL LBL. 0 BEGIN PGM ...
2 The subprogram is then executed from beginning to end. The
subprogram end is marked LBL 0.
3 The TNC then resumes the part program from the block after the CALL LBL1
subprogram call.
Programming a subprogram
U Tomark the beginning, press the LBL SET key and
enter a label number.
U Enter the subprogram number.
U To mark the end, press the LBL SET key and enter the
label number “0”.
Calling a subprogram
U To call a subprogram, press the LBL CALL key.
U Label number: Enter the label number of the
subprogram you wish to call.
U Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program section
repeats.
Label LBL
The beginning of a program section repeat is marked by the label LBL.
The end of a program section repeat is identified by CALL LBL /REP. 0 BEGIN PGM ...
Operating sequence
LBL1
1 The TNC executes the part program up to the end of the program
section (CALL LBL /REP).
2 Then the program section between the called LBL and the label
call is repeated the number of times entered after REP. CALL LBL1 REP 2/2
3 The TNC then resumes the part program after the last repetition.
Types of nesting
n Subprograms within a subprogram
n Program section repeats within a program section repeat
n Subprograms repeated
n Program section repeats within a subprogram
Nesting depth
The nesting depth is the number of successive levels in which
program sections or subprograms can call further program sections or
subprograms.
n Maximum nesting depth for subprograms: 8
n Maximum nesting depth for calling main programs: 4
n You can nest program section repeats as often as desired
Program execution
1 Main program REPS is executed up to block 27.
2 Program section between block 27 and block 20 is repeated twice.
3 Main program REPS is executed from block 28 to block 35.
4 Program section between block 35 and block 15 is repeated once
(including the program section repeat between 20 and block 27).
5 Main program REPS is executed from block 36 to block 50 (end of
program).
Program execution
1 Main program SUBREP is executed up to block 11.
2 Subprogram 2 is called and executed.
3 Program section between block 12 and block 10 is repeated twice.
This means that subprogram 2 is repeated twice.
4 Main program UPGREP is executed from block 13 to block 19. End
of program.
Program sequence
n Pre-position the tool to the workpiece surface
n Enter the infeed depth in incremental values Y
n Mill the contour 100
n Repeat downfeed and contour-milling
R1
5
75
R18
30
R15
20
X
20 50 75 100
Program sequence
n Approach the groups of holes in the main
program Y
n Call the group of holes (subprogram 1)
100
n Program the group of holes only once in
subprogram 1
21
60
5
20
20
1 31
10
X
15 45 75 100
Program sequence
n Program the fixed cycles in the main program Y Y
n Call the entire hole pattern (subprogram 1)
n Approach the groups of holes in subprogram 1, 100
call group of holes (subprogram 2)
n Program the group of holes only once in
subprogram 2 21
60
5
20
20
1 31
10
X Z
15 45 75 100 -15
-20
You can program an entire family of parts in a single part program. You
do this by entering variables called Q parameters instead of fixed
numerical values.
Q parameters can represent information such as:
Q6
n Coordinate values
n Feed rates
Q1 Q3
n RPM
n Cycle data Q4
Q2
Q parameters also enable you to program contours that are defined
through mathematical functions. You can also use Q parameters to
make the execution of machining steps depend on logical conditions. Q5
In conjunction with FK programming you can also combine contours
that do not have NC-compatible dimensions with Q parameters.
Q parameters are designated by the letter Q and a number between 0
and 299. They are grouped according to three ranges:
Meaning Range
Freely applicable parameter, global for all Q0 to Q99
programs in the TNC memory
Programming notes
You can mix Q parameters and fixed numerical values within a
program.
Q parameters can be assigned numerical values between
-99 999.9999 and +99 999.9999. Internally, the TNC can calculate up
to a width of 57 bits before and 7 bits after the decimal point (32-bit
data width corresponds to a decimal value of 4 294 967 296).
Trigonometric functions
Other functions
Example NC blocks
15 FNO: Q10=25 Assign
... Q10 contains the value 25
25 L X +Q10 Means L X +25
You need write only one program for a whole family of parts, entering
the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values to
the individual Q parameters.
Example
Cylinder with Q parameters
Cylinder radius R = Q1
Cylinder height H = Q2 Q1
Cylinder Z1 Q1 = +30
Q2 = +10
Cylinder Z2 Q1 = +10
Q2 = +50 Q1
Q2 Z2
Q2
Z1
Overview
FN1: ADDITION
Example: FN1: Q1 = –Q2 + –5
Calculates and assigns the sum of two values.
FN2: SUBTRACTION
Example: FN2: Q1 = +10 – +5
Calculates and assigns the difference of two values.
FN3: MULTIPLICATION
Example: FN3: Q2 = +3 * +3
Calculates and assigns the product of two values.
FN4: DIVISION
Example: FN4: Q4 = +8 DIV +Q2
Calculates and assigns the quotient of two values.
Not permitted: division by 0
To the right of the “=” character you can enter the following:
n Two numbers
n Two Q parameters
n A number and a Q parameter
The Q parameters and numerical values in the equations can be
entered with positive or negative signs.
16 FN0: Q5 = +10
To select Q parameter functions, press the Q key.
17 FN3: Q12 = +Q5 * +7
1. value or parameter ?
1. value or parameter ?
2. value or parameter ?
Example:
a = 25 mm
b = 50 mm
α = arc tan (a / b) = arc tan 0.5 = 26.57°
Furthermore:
a² + b² = c² (where a² = a x a)
c = (a² + b²)
FN7: COSINE
Example: FN7: Q21 = COS–Q5
Calculate the cosine of an angle in degrees (°) and
assign it to a parameter.
FN13: ANGLE
Example: FN13: Q20 = +25 ANG–Q1
Calculate the angle from the arc tangent of two sides
or from the sine and cosine of the angle (0 < angle <
360°) and assign it to a parameter.
The coordinate pairs for three points of the circle must be stored in
Parameter Q30 and in the following five parameters – here to Q35.
The TNC then stores the circle center of the reference axis (X with
spindle axis Z) in Parameter Q20, the circle center of the minor axis (Y
with spindle axis Z) in Parameter Q21 and the circle radius in
Parameter Q22.
The coordinate pairs for four points of the circle must be stored in
Parameter Q30 and in the following seven parameters – here to Q37.
The TNC then stores the circle center of the reference axis (X with
spindle axis Z) in Parameter Q20, the circle center of the minor axis (Y
with spindle axis Z) in Parameter Q21 and the circle radius in
Parameter Q22.
Unconditional jumps
An unconditional jump is programmed by entering a conditional jump
whose condition is always true. Example:
FN9: IF+10 EQU+10 GOTO LBL1
FN15:PRINT
Unformatted output of texts or Q parameter values
FN16:PRINT
Formatted output of texts or Q parameter values
FN18:SYS-DATUM READ
Read system data
FN19:PLC
Transfer values to the PLC
FN20:WAIT FOR
Synchronize NC and PLC
FN25:PRESET
Set datum during program run
FN26:TABOPEN
Open a freely definable table
FN27:TABWRITE
Write to a freely definable table
FN28:TABREAD
Read from a freely definable table
67 FN15: PRINT 20
70 FN15: PRINT1/Q1
Special
Function
character
“............“ Define output format for texts and variables
between the quotation marks
M_CLOSE Closes the file to which you are writing with FN16.
Example: M_CLOSE;
The TNC then outputs the file PROT1.TXT through the serial interface:
CALIBRAT. CHART IMPELLER CENTER GRAVITY
————————————————————————
NO. OF MEASURED VALUES : = 1
*******************************************
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
*******************************************
2 1 X axis
2 2 Y axis
2 3 Z axis
5 1 3D ROT A axis
5 2 3D ROT B axis
5 3 3D ROT C axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
2 Y axis
3 Z axis
4 A axis
5 B axis
6 C axis
7 U axis
8 V axis
9 W axis
12 - Effective length
31 - Stylus radius 1
32 - Stylus radius 2
Last touch point in TCH PROBE- 1 1 to 9 Position in the active coordinate system in axes 1 to 9
cycle 0 or last touch point from
manual operating mode, 360
Machine parameter exists, 1010 MP MP index Acknowledgement value = 0: MP does not exist
number Return code = 1: MP exists
With function FN 20: WAIT FOR you can synchronize the NC and PLC
with each other during a program run. The NC stops machining until
the condition that you have programmed in the FN 20 block is fulfilled.
With FN10 the TNC can check the following operands:
Output O 0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter C 48 to 79
Timer T 0 to 95
Byte B 0 to 4095
Word W 0 to 2047
Condition Abbreviation
Equals ==
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN20: WAIT FOR M4095==1
Example: The current coordinate Z+50 will have the value -20 in
the new coordinate system
56 FN25: PRESET = Z/+50/-20
Example:
You wish to write to the columns “Radius,” “Depth” and “D” in line
5 of the presently opened table. The values to be written in the table
must be saved in the Q parameters Q5, Q6 and Q7.
53 FN0: Q5 = 3.75
54 FN0: Q6 = -5
55 FN0: Q7 = 7.5
56 FN27: TABWRITE 5/“radius,depth,D” = Q5
Example:
You wish to read the values of the columns “Radius,” “Depth” and
“D” from line 6 of the presently opened table. Save the first value in
Q parameter Q10 (second value in Q11, third value in Q12).
Subtraction
Example: Q25 = Q7 – Q108
Multiplication
Example: Q12 = 5 * Q5
Division
Example: Q25 = Q1 / Q2
Opening parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Closing parenthesis
Example: Q12 = Q1 * (Q2 + Q3)
Square of a value
Example: Q15 = SQ 5
Square root
Example: Q22 = SQRT 25
Sine of an angle
Example: Q44 = SIN 45
Cosine of an angle
Example: Q45 = COS 45
Tangent of an angle
Example: Q46 = TAN 45
Arc sine
Inverse of the sine. Determine the angle from the ratio
of the opposite side to the hypotenuse.
Example: Q10 = ASIN 0.75
Arc cosine
Inverse of the cosine. Determine the angle from the
ratio of the adjacent side to the hypotenuse.
Example: Q11 = ACOS Q40
Powers of values
Example: Q15 = 3^3
1st step 5 * 3 = 15
2nd step 2 * 10 = 20
3rd step 15 + 20 = 35
Distributive law
for calculating with parentheses
a * (b + c) = a * b + a * c
Programming example
Calculate an angle with arc tangent as opposite side (Q12) and
adjacent side (Q13); then store in Q25.
Select division.
Example NC block
37 Q25 = ATAN (Q12/Q13)
X axis Q109 = 0
Y axis Q109 = 1
Z axis Q109 = 2
U axis Q109 = 6
V axis Q109 = 7
W axis Q109 = 8
Y axis Q116
Z axis Q117
B axis Q121
C axis Q122
Diameter Q153
Diameter Q163
Re-work Q181
Scrap Q182
Y axis Q186
Z axis Q187
Program sequence
n The contour of the ellipse is approximated by
many short lines (defined in Q7). The more Y
calculating steps you define for the lines, the
smoother the curve becomes.
n The machining direction can be altered by 50
changing the entries for the starting and end
angles in the plane:
30
Clockwise machining direction:
starting angle > end angle
50
Counterclockwise machining direction:
starting angle < end angle
n The tool radius is not taken into account.
X
50
34 LBL 1
35 Q36 = Q36 + Q35 Update the angle
36 Q37 = Q37 + 1 Update the counter
37 Q21 = Q3 * COS Q36 Calculate the current X coordinate
38 Q22 = Q4 * SIN Q36 Calculate the current Y coordinate
39 L X+Q21 Y+Q22 R0 FQ11 Move to next point
40 FN 12: IF +Q37 LT +Q7 GOTO LBL 1 Unfinished? If not finished, return to LBL 1
Program sequence
Z
n Program functions only with a spherical cutter.
The tool length refers to the sphere center. R4
0 X
n The contour of the cylinder is approximated by
many short line segments (defined in Q13). The
more line segments you define, the smoother
the curve becomes. -50
50 100 X Z
Program sequence
n This program requires an end mill.
n The contour of the sphere is approximated by Y
Y
many short lines (in the Z/X plane, defined in
Q14). The smaller you define the angle 100
increment, the smoother the curve becomes.
n You can determine the number of contour cuts
through the angle increment in the plane
5
5
R4
(defined in Q18). R4
n The tool moves upward in three-dimensional 50
cuts.
n The tool radius is compensated automatically.
X Z
50 100 -50
Function
In the program run modes of operation as well as in the Test Run
mode, the TNC provides the following three display modes: Using soft
keys, select whether you desire:
n Plan view
n Projection in 3 planes
n 3-D view
The TNC graphic depicts the workpiece as if it were being machined
with a cylindrical end mill. If a tool table is active, you can also simulate
the machining operation with a spherical cutter. For this purpose,
enter R2 = R in the tool table.
The TNC will not show a graphic if
n the current program has no valid blank form definition
n no program is selected
With machine parameters 7315 to 7317 you can have the TNC display
a graphic even if no tool axis is defined or moved.
Projection in 3 planes
3-D view
Plan view
U Press the soft key for plan view.
Projection in 3 planes
Similar to a workpiece drawing, the part is displayed with a plan view
and two sectional planes. A symbol to the lower left indicates whether
the display is in first angle or third angle projection according to ISO
6433 (selected with MP7310).
Details can be isolated in this display mode for magnification, see
“Magnifying details,” page 402.
In addition, you can shift the sectional planes with the corresponding
soft keys:
U Press the soft key for projection in three planes.
U Shiftthe soft-key row until the TNC displays the
following soft keys:
Switch the frame overlay display for the workpiece blank on/off:
U Show the frame overlay with SHOW BLK-FORM
Magnifying details
You can magnify details in the Test Run mode of operation in the
following display modes, provided that the graphic simulation is
stopped:
n Projection in three planes
n 3-D view
The graphic simulation must first have been stopped. A detail
magnification is always effective in all display modes.
With the WINDOW BLK FORM soft key, you return the
displayed workpiece blank to its originally programmed
dimensions, even after isolating a detail—without
TRANSFER DETAIL.
Test run
The timer displays the approximate time which the TNC calculates
from the duration of tool movements. The time calculated by the TNC
cannot be used for calculating the production time because the TNC
does not account for the duration of machine-dependent interruptions,
such as tool change.
Function
In the Test Run mode of operation you can simulate programs and
program sections to prevent errors from occurring during program run.
The TNC checks the programs for the following:
n Geometrical incompatibilities
n Missing data
n Impossible jumps
n Violation of the machine's working space
The following functions are also available:
n Blockwise test run
n Interrupt test at any block
n Optional Block Skip
n Functions for graphic simulation
n Measuring the machining time
n Additional status display
Application
In the Program Run, Full Sequence mode of operation the TNC
executes a part program continuously to its end or up to a program
stop.
In the Program Run, Single Block mode of operation you must start
each block separately by pressing the machine START button.
The following TNC functions can be used in the program run modes of
operation:
n Interrupt program run
n Start program run from a certain block
n Optional Block Skip
n Editing the tool table TOOL.T
n Checking and changing Q parameters
n Superimposing handwheel positioning
n Functions for graphic simulation
n Additional status display
You can adjust the feed rate and spindle speed with the
override knobs.
It is possible to reduce the rapid traverse speed when
starting the NC program using the FMAX soft key. The
entered value remains in effect even after the machine
has been turned off and on again. In order to re-establish
the original rapid traverse speed, you need to re-enter the
corresponding value.
Programmed interruptions
You can program interruptions directly in the part program. The TNC
interrupts the program run at a block containing one of the following
entries:
n STOP (with and without a miscellaneous function)
n Miscellaneous function M0, M2 or M30
n Miscellaneous function M6 (determined by the machine tool builder)
Danger of collision
If you interrupt program run while the working plane is
tilted, you can change from a tilted to a non-tilted
coordinate system, and vice versa, by pressing the 3-D
ON/OFF soft key.
The functions of the axis direction buttons, the electronic
handwheel and the positioning logic for return to contour
are then evaluated by the TNC. When retracting the tool
make sure the correct coordinate system is active and the
angular values of the tilt axes are entered in the 3-D ROT
menu.
Example application:
Retracting the spindle after tool breakage
U Interrupting machining
U Enable the external direction keys: Press the MANUAL OPERATION
soft key.
U Move the axes with the machine axis direction buttons.
The stored data are used for returning the tool to the contour after
manual machine axis positioning during an interruption (RESTORE
POSITION soft key).
With the RESTORE POS AT N feature (block scan) you can start a part
program at any block you desire. The TNC scans the program blocks
up to that point. Machining can be graphically simulated.
If you have interrupted a part program with an INTERNAL STOP, the
TNC automatically offers the interrupted block N for mid-program
startup.
Function
In a Program Run operating mode, you can use the soft key
AUTOSTART (see figure at upper right) to define a specific time at
which the program that is currently active in this operating mode is to
be started:
U Show the window for entering the starting time (see
figure at center right).
U Time (h:min:sec): Time of day at which the program
is to be started
U Date (DD.MM.YYYY): Date at which the program is to
be started
U Toactivate the start, set the AUTOSTART soft key to
ON.
File names
Data Operating mode File name
Surface data Program run Defined in the
RANGE cycle
End TNCremo
Select the menu items <File>, <Exit>, or press the key combination
ALT+X.
End TNCremoNT
Select the menu items <File>, <Exit>.
Connection possibilities
You can connect the Ethernet card in your TNC to your network
through the RJ45 connection (X26, 10BaseT). The connection is
metallically isolated from the control electronics.
RJ45 connection X26 (10BaseT)
For a 10BaseT connection you need a Twisted Pair cable to connect TNC
the TNC to your network. PC
Setting Meaning
ADDRESS Address that your network manager must assign
to the TNC. Input: four decimal numbers
separated by points, e.g. 160.1.180.20
Setting Meaning
ADDRESS Address of your server. Input: four decimal
numbers separated by points. Ask your network
manager for the number of your address. e.g.
160.1.13.4.
DEVICENAME Name that the TNC shows in the file manager for
a connected device.
Setting Meaning
ADDRESS Address of your server. Input: four decimal
numbers separated by points. Ask your network
manager for the number of your address. e.g.
160.1.13.4.
LL: (E) PROTOCOL xxxxx UNKNOWN The name you entered in DEFINE NET, PROT was
incorrect
IP4: (E) INTERFACE NOT PRESENT The TNC was unable to find an Ethernet card.
IP4: (E) INTERNETADDRESS NOT VALID You used an invalid Internet address for the TNC.
IP4: (E) SUBNETMASK NOT VALID The SUBNET MASK does not match the Internet
address of the TNC.
IP4: (E) SUBNETMASK OR HOST ID NOT VALID You used an invalid Internet address for the TNC, or
you entered an incorrect SUBNET MASK, or you set
all of the HostID bits to 0 (1)
IP4: (E) SUBNETMASK OR SUBNET ID NOT VALID All bits of the SUBNET ID are 0 or 1
IP4: (E) DEFAULTROUTERADRESS NOT VALID You used an invalid Internet address for the router.
IP4: (E) CAN NOT USE DEFAULTROUTER The default router does not have the same net ID or
subnet ID as the TNC.
MOUNT: <Device name> (E) DEVICENAME NOT VALID The device name is either too long or it contains
illegal characters.
MOUNT: <Device name> (E) DEVICENAME ALREADY ASSIGNED You have already defined a device with this name.
MOUNT: <Device name> (E) DEVICETABLE OVERFLOW You have attempted to connect more than seven
network drives to the TNC.
NFS2: <Device name> (W) READSIZE SMALLER THEN x SET TO x The value that you entered for DEFINE MOUNT, RS
is too small. The TNC sets RS to 512 bytes.
NFS2: <Device name> (W) READSIZE LARGER THEN x SET TO x The value that you entered for DEFINE MOUNT, RS
is too large. The TNC sets RS to 4096 bytes.
NFS2: <Device name> (W) WRITESIZE SMALLER THEN x SET TO x The value that you entered for DEFINE MOUNT, WS
is too small. The TNC sets WS to 512 bytes.
NFS2: <Device name> (E) MOUNTPATH TO LONG The value that you entered for DEFINE MOUNT,
PATH is too long.
NFS2: <Device name> (E) NOT ENOUGH MEMORY At the moment there is too little main memory
available to establish a network connection.
NFS2: <Device name> (E) HOSTNAME TO LONG The name you entered in DEFINE NET, HOST is too
long.
NFS2: <Device name> (E) CAN NOT OPEN PORT The TNC cannot open the port required to establish
the network connection.
NFS2: <Device name> (E) ERROR FROM PORTMAPPER The TNC has received implausible data from the
portmapper.
NFS2: <Device name> (E) ERROR FROM MOUNTSERVER The TNC has received implausible data from the
mountserver.
NFS2: <Device name> (E) CANT GET ROOTDIRECTORY The mount server does not permit a connection with
the directory defined in DEFINE MOUNT, PATH.
NFS2: <Device name> (E) UID OR GID 0 NOT ALLOWED You entered 0 for DEFINE MOUNT, UID or GID 0.
The input value 0 is reserved for the system
administrator.
With the MOD function Position display 1 you can select the position
display in the status display.
With Position display 2 you can select the position display in the
additional status display.
Datum display
The values shown at the lower left of the screen are the manually set
datums referenced to the machine datum. They cannot be changed in
the menu.
Function
Help files can aid you in situations in which you need clear instructions
before you can continue (for example, to retract the tool after an
interruption of power). The miscellaneous functions may also be
explained in a help file. The figure at right shows the screen display of
a help file.
The MACHINE TIME soft key enables you to show different operating
time displays:
Function
The TNC allows you to carry out Teleservice. To be able to use this
feature, your TNC should be equipped with an Ethernet card which
achieves a higher data transfer rate than the serial RS232-C interface.
With the HEIDENHAIN TeleService software, your machine tool
builder can then establish a connection to the TNC via an ISDN modem
and carry out diagnostics. The following functions are available:
n On-line screen transfer
n Polling of machine states
n Data transfer
n Remote control of the TNC
Generally, a connection via the Internet would also be possible. First
tests have shown, however, that the transfer rate that can currently
be achieved is not sufficient due to the high degree of utilization of the
networks.
Calling/Exiting Teleservice
U Select any machine mode of operation.
U To select the MOD function, press the MOD key.
U Establish a connection to the service agency: Set the
SERVICE or SUPPORT soft key to ON. The TNC
breaks the connection automatically if no new data
have been transferred for a time set by the machine
tool builder (default: 15 min).
U To break the connection to the service agency: Set the
SERVICE or SUPPORT soft key to OFF. The TNC
terminates the connection after approx. one minute.
The soft key SERVICE can be used to grant or restrict access through
the LSV-2 interface.
With an entry in the configuration file TNC.SYS you can protect a
directory and its subdirectories with a password. The password is
requested when data from this directory is accessed from the LSV-2
interface. Enter the path and password for external access in the
configuration file TNC.SYS.
Example of TNC.SYS
REMOTE.TNCPASSWORD=KR1402
REMOTE.TNCPRIVATEPATH=TNC:\RK
Example:
Instead of the decimal number 27 you can also enter the binary
number %11011 or the hexadecimal number $1B.
The individual machine parameters can be entered in the different
number systems.
Some machine parameters have more than one function. The input
value for these machine parameters is the sum of the individual
values. For these machine parameters the individual values are
preceded by a plus sign.
Automatic calibration cycle: Center of the MP6180.0 (traverse range 1) to MP6180.2 (traverse range3)
calibration ring in the X-axis referenced to 0 to 99 999.9999 [mm]
the machine datum
Automatic calibration cycle: Center of the MP6181.x (traverse range 1) to MP6181.2 (traverse range3)
calibration ring in the Y-axis referenced to 0 to 99 999.9999 [mm]
the machine datum for
Automatic calibration cycle: Center of the MP6182.x (traverse range 1) to MP6182.2 (traverse range3)
calibration ring in the Z-axis referenced to 0 to 99 999.9999 [mm]
the machine datum for
Automatic calibration cycle: distance below MP6185.x (traverse range 1) to MP6185.2 (traverse range 3)
the upper edge of the ring where the 0.1 to 99 999.9999 [mm]
calibration is carried out by the TNC
Radius measurement with the TT 130: MP6530.0 (traverse range 1) to MP6530.2 (traverse range 3)
Distance from lower edge of tool to upper 0.001 to 99.9999 [mm]
edge of stylus
Acknowledgment of MP7212
POWER INTERRUPTED Acknowledge with key: 0
after switch-on Acknowledge automatically: 1
SL cycles MP7420
Mill channel around the contour - clockwise for islands and
counterclockwise for pockets: +0
Mill channel around the contour - clockwise for pockets and
counterclockwise for islands: +1
First mill the channel, then rough out the contour: +0
First rough out the contour, then mill the channel: +2
Combine compensated contours: +0
Combine uncompensated contours: +4
Complete one process for all infeeds before switching to the other
process: +0
Mill channel and rough-out for each infeed depth before continuing to the
next depth: +8
The following note applies to the Cycles 6, 15, 16, 21, 22, 23, and 24:
At the end of the cycle, move the tool to the position that was last
programmed before the cycle call: +0
At the end of the cycle, retract the tool in the tool axis only: +16
13.2 Pin Layout and Connecting Cable for the Data Interfaces
Cable for the Data Interfaces
RS-232-C/V.24 Interface
HEIDEHAIN devices
The pin layouts on the TNC logic unit (X22) and on the
adapter block are identical.
4 Vacant
5 Vacant
7 Vacant
8 Vacant
2 GND Shielding
Background programming One part program can be edited while the TNC runs another program
Programmable functions
Contour elements n Straight line
n Chamfer
n Circular path
n Circle center
n Circle radius
n Tangentially connecting circle
n Corner rounding
n Straight lines and circular arcs for contour approach and departure
n B spline
FK free contour programming For all contour elements not dimensioned for conventional NC
programming
Three-dimensional tool radius compensation For changing tool data without having to recalculate the program
Fixed cycles n Drilling cycles for drilling, pecking, reaming, boring, tapping with a
floating tap holder, rigid tapping
n Cycles for milling internal and external threads
n Milling and finishing rectangular and circular pockets
n Cycles for multipass milling of flat and twisted surfaces
n Cycles for milling linear and circular slots
n Linear and circular hole patterns
n Milling pockets and islands from a list of subcontour elements
n Cylindrical surface interpolation
TNC Specifications
Block processing time 4 ms/block
Control loop cycle time n TNC 426 CB, TNC 430 CA:
Contouring interpolation: 3 ms
Fine interpolation: 0.6 ms (contour)
n TNC 426 PB, TNC 430 PB:
Contouring interpolation: 3 ms
Fine interpolation: 0.6 ms (speed)
n TNC M, TNC 430 M:
Contouring interpolation: 3 ms
Fine interpolation: 0.6 ms (speed)
Tool names 16 characters, enclosed by quotation marks with TOOL CALL. Permitted
special characters: #, $, %, &, -
Angle for polar coordinates, rotation, tilting -360.0000 to 360.0000 (3.4) [°]
the working plane
II
Index
P R S
Program Radius compensation ... 111 Status display ... 9
Editing ... 67 Outside corners, inside additional ... 10
Open new ... 64 corners ... 113 general ... 9
Structure ... 63 Reaming ... 214 Straight line ... 140, 152
Structuring ... 72 Rectangular pocket Structuring programs ... 72
Program call Rectangular pockets Subprogram ... 343
Program as subprogram ... 345 Finishing process ... 260 Superimposing handwheel
Via cycle ... 337 Roughing process ... 258 positioning: M118 ... 187
Program management. See File Rectangular stud finishing ... 262 Switch between upper and lower case
management Reference system ... 35 letters ... 75
Program name: See File Management, Retraction from the contour ... 188 Switch-off ... 17
File name Returning to the contour ... 413 Switch-on ... 16
Program run Rotary axis
Block scan ... 412 Reducing display: M94 ... 192 T
Executing ... 408 Shorter-path traverse: M126 ... 191 Tapping
Interrupting ... 409 Rotation ... 327 With a floating tap holder ... 226, 227
Optional Block Skip ... 415 Rough out: See SL cycles: Rough-out Without a floating tap
Overview ... 408 Ruled surface ... 314 holder ... 229, 230, 233
Resuming after an Run digitized data ... 311 Teach-in ... 140
interruption ... 411 Teleservice ... 444
Program section repeat ... 344 S Test run
Program sections, copying ... 69 Scaling factor ... 328 Executing ... 406
Programming tool movements ... 66 Screen layout ... 4 Overview ... 405
Projection in 3 planes ... 401 Select the unit of measure ... 64 Up to a certain block ... 407
Setting the BAUD rate ... 422 Text files
Q Setting the datum ... 38 Delete functions ... 76
Q parameters Side finishing ... 294 Editing functions ... 74
Checking ... 366 SL cycles Finding text sections ... 77
Formatted output ... 371 Contour data ... 290 Opening and exiting ... 74
Preassigned ... 386 Contour geometry cycle ... 287 thread cutting ... 232
Transferring values to Contour train ... 295 Thread drilling/milling ... 243
the PLC ... 379 Floor finishing ... 293 Thread milling, fundamentals ... 235
Unformatted output ... 370 Overlapping contours ... 287 Thread milling, outside ... 249
Q-parameter programming ... 356 Pilot drilling ... 291 Thread milling/countersinking ... 239
Additional Functions ... 367 Rough-out ... 292 Tilted axes ... 193, 194
Basic arithmetic (assign, add, Side finishing ... 294 Tilting the Working Plane ... 330
subtract, multiply, divide, Slot milling ... 270 Tilting the working plane ... 330
square root) ... 359 Reciprocating ... 272 Cycle ... 330
Calculating Circles ... 363 Software number ... 420 Guide ... 333
If/then decisions ... 364 Sphere ... 395 TNC 426, TNC 430 ... 2
Programming notes ... 356 Spline interpolation ... 173 TNC Error Messages ... 79
Trigonometric functions ... 361 Block format ... 173 TNCremo ... 424, 425
Input range ... 174 TNCremoNT ... 424, 425
IV
Overview of Miscellaneous Functions
M Effect Effective at block - start end Page
M00 Stop program/Spindle STOP/Coolant OFF n page 177
M06 Tool change/Stop program run (depending on machine parameter)/Spindle STOP n page 177
M90 Only in lag mode: Constant contouring speed at corners n page 181
M91 Within the positioning block: Coordinates are referenced to machine datum n page 178
M92 Within the positioning block: Coordinates are referenced to position defined by machine n page 178
tool builder, such as tool change position
M94 Reduce display of rotary axis to value under 360° n page 192
M101 Automatic tool change with replacement tool if maximum tool life has expired n page 109
M102 Reset M101 n
M103 Reduce feed rate during plunging to factor F (percentage) n page 183
M114 Automatic compensation of machine geometry when working with tilted axes n page 193
M115 Reset M114 n
M128 Maintain the position of the tool tip when positioning with tilted axes (TCPM) n page 194
M129 Reset M128 n
M130 Moving to position in an untilted coordinate system with a tilted working plane n page 180
M134 Exact stop at nontangential contour transitions when positioning with rotary axes n page 196
M135 Reset M134 n
M140 Retraction from the contour in the tool-axis direction n page 188
M144 Compensating the machine’s kinematic configuration for ACTUAL/NOMINAL positions at n page 197
end of block
M145 Reset M144 n