The symbols used in this manual are described below.
This symbol indicates that important information
about the function described must be considered.
This symbol indicates that there is one or more
of the following risks when using the described
function:
Danger to workpiece
Danger to fixtures
Danger to tool
Danger to machine
Danger to operator
This symbol indicates a possibly dangerous situation
that may cause injuries if not avoided.
This symbol indicates that the described function
must be adapted by the machine tool builder. The
function described may therefore vary depending on
the machine.
This symbol indicates that you can find detailed
information about a function in another manual.
Would you like any changes, or have you found any
errors?
We are continuously striving to improve our documentation for you.
Please help us by sending your requests to the following e-mail
address: tnc-userdoc@heidenhain.de.
The suffix E indicates the export version of the TNC. The export
version of the TNC has the following limitations:
Simultaneous linear movement in up to 4 axes
The machine tool builder adapts the usable features of the TNC to
his machine by setting machine parameters. Some of the functions
described in this manual may therefore not be among the features
provided by the TNC on your machine tool.
TNC functions that may not be available on your machine include:
Tool measurement with the TT
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.
User's Manual for Cycle Programming:
All of the cycle functions (touch probe cycles and
fixed cycles) are described in the Cycle Programming
User’s Manual. Please contact HEIDENHAIN if you
require a copy of this User's Manual. ID: 892905-xx
The TNC 640 features various software options that can be enabled by your machine tool builder. Each option is to
be enabled separately and contains the following respective functions:
Hardware, options
■
1st additional axis for 4 axes plus spindle
■
2nd additional axis for 5 axes plus spindle
Software option 1 (option number 08)
Rotary table machining
Coordinate transformation
Interpolation
Software option 2 (option number 09)
3-D machining
Interpolation
HEIDENHAIN DNC (option number 18)
Display step (Option number 23)
step
■
■
■
■
■
■
■
■
■
■
■
■
■
Programming of cylindrical contours as if in two axes
Feed rate in distance per minute
Working plane, tilting the ...
Circle in 3 axes with tilted working plane (spacial arc)
Motion control with minimum jerk
3-D tool compensation through surface normal vectors
Using the electronic handwheel to change the angle of the swivel head
during program run without affecting the position of the tool point.
(TCPM = Tool Center Point Management)
Keeping the tool normal to the contour
Tool radius compensation perpendicular to traversing and tool direction
Linear in 5 axes (subject to export permit)
Communication with external PC applications over COM component
Linear axes to 0.01 µmInput resolution and display
Rotary axes to 0.00001°
Dynamic Collision Monitoring (DCM) software option (option number 40)
Collision monitoring in all
machine operating modes
Software option for additional conversational languages (option number 41)
Additional conversational
languages
8
The machine manufacturer defines objects to be monitored
Along with software options, significant further improvements
of the TNC software are managed via the Feature Content Level
upgrade functions. Functions subject to the FCL are not available
simply by updating the software on your TNC.
All upgrade functions are available to you without
surcharge when you receive a new machine.
Upgrade functions are identified in the manual with FCL n, where n
indicates the sequential number of the feature content level.
You can purchase a code number in order to permanently enable
the FCL functions. For more information, contact your machine tool
builder or HEIDENHAIN.
Intended place of operation
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.
Legal information
This product uses open source software. Further information is
available on the control under
Programming and Editing operating mode
MOD function
LICENSE INFO soft key
DXF files can be opened directly on the TNC in order to extract
contours and point patterns ("Programming: Data Transfer from
CAD Files", page 253).
The active tool-axis direction can now be activated in manual
mode and during handwheel superimposition as a virtual tool axis
("Superimposing handwheel positioning during program run: M118
", page 364).
The machine manufacturer can now define any areas on the
machine for collision monitoring ("Dynamic Collision Monitoring
(Option #40)", page 377).
Writing and reading data in freely definable tables ("Freely definable
tables", page 403).
The Adaptive Feed Control (AFC) function has been integrated
("Adaptive feed control AFC (Option #45)", page 384)
New touch probe cycle 484 for calibrating the wireless TT 449 tool
touch probe (see User's Manual for Cycles).
The new HR 520 and HR 550 FS handwheels are supported
("Traverse with electronic handwheels", page 484).
New machining cycle 225 ENGRAVING (see User’s Manual for
Cycle Programming)
New Active Chatter Control (ACC) software option ("Active Chatter
Control ACC (Option #145)", page 396).
New manual probing cycle "Center line as datum" ("Setting a center
line as datum ", page 531).
New function for rounding corners ("Rounding corners: M197",
page 371).
External access to the TNC can now be blocked with a MOD
function ("External access", page 579).
The maximum number of characters for the NAME and DOC fields
in the tool table has been increased from 16 to 32 ("Enter tool data
into the table", page 172).
The columns AFC and ACC were added to the tool table ("Enter tool
data into the table", page 172).
Operation and positioning behavior of the manual probing cycles
has been improved ("Using 3-D touch probes ", page 509).
Predefined values can now be entered into a cycle parameter
with the PREDEF function in cycles (see User’s Manual for Cycle
Programming).
The status display has been expanded with the AFC tab ("Additional
status displays", page 77).
The FUNCTION TURNDATA SPIN rotational function has been
expanded with an input option for maximum speed ("Program
spindle speed", page 456).
A new optimization algorithm is now used with the KinematicsOpt
cycles (see User’s Manual for Cycle Programming).
With Cycle 257, circular stud milling, a parameter is now available
with which you can determine the approach position on the stud
(see User's Manual for Cycle Programming)
With Cycle 256, rectangular stud, a parameter is now available with
which you can determine the approach position on the stud (see
User's Manual for Cycle Programming).
With the "Basic Rotation" probing cycle, workpiece misalignment
can now be compensated for via a table rotation ("Compensation of
workpiece misalignment by rotating the table", page 524)
New special operating mode ("Retraction after a power
interruption", page 567).
New graphic simulation ("Graphics ", page 548).
New MOD function "tool usage file" within the machine settings
group ("Tool usage file", page 582).
New MOD function "set system time" within the systems settings
group ("Set the system time", page 584).
New MOD group "graphic settings" ("Graphic settings",
page 578).
With the new syntax for the adaptive feed control (AFC) you
can start or end a teach-in step ("Recording a teach-in cut",
page 388).
With the new cutting data calculator you can calculate the spindle
speed and the feed rate ("Cutting data calculator", page 147).
In the TURNDATA function, you can now define the effect of
the tool compensation ("Tool compensation in the program",
page 462).
Now you can activate and deactivate the active chatter
compensation (ACC) by soft key ("Activating/deactivating ACC",
page 397).
New if/then decisions were introduced in the jump commands
("Programming if-then decisions", page 301).
The character set of the fixed cycle 225 Engraving was expanded
by more characters and the diameter sign (see User's Manual for
Cycle Programming).
New fixed cycle 275 Trochoidal Milling (see User’s Manual for Cycle
Programming)
New fixed cycle 233 ENGRAVING (see User’s Manual for Cycle
Programming)
In the drilling cycles 200, 203 and 205 the parameter Q395 DEPTH
REFERENCE was introduced in order to evaluate the T ANGLE (see
User's Manual for Cycle Programming).
The probing cycle 4 MEASURING IN 3-D was introduced (see
User's Manual for Cycle Programming).
With tool selection, the control also displays columns XL and
ZL from the turning tool table in the pop-up window ("Tool call",
page 461).
The input range of the DOC column in the pocket table has been
expanded to 32 characters ("Pocket table for tool changer").
Commands D15, D31 and D32 from predecessor controls no
longer generate ERROR blocks during import. When simulating
or running an NC program with these commands, the control
interrupts the NC program with an error message that helps you to
find an alternative implementation.
Miscellaneous functions M104, M105, M112, M114, M124, M134,
M142, M150, M200 - M204 from predecessor controls no longer
generate ERROR blocks during import. When simulating or running
an NC program with these miscellaneous functions, the control
interrupts the NC program with an error message that helps you
to find an alternative implementation ("Comparison: Miscellaneous
functions").
The maximum file size of files output with D16 F-Print has been
increased from 4kB to 20kB.
The Preset.PR preset table is write-protected in Programming
operating mode ("Saving the datums in the preset table").
The input range of the Q parameter list for defining the QPARA tab
on the status display consists of 132 input positions ("Displaying Q
parameters (QPARA tab)", page 82).
Manual calibration of the touch probe with less pre-positionings
("Calibrating a 3-D touch trigger probe ").
The position display takes into account the DL oversizes
programmed in the T block, selectable as an oversize of the
workpiece or tool ("Delta values for lengths and radii", page 171).
In single blocks, the control executes each point singly with point
pattern cycles and G79 PAT ("Program run", page 562).
Rebooting the control is no longer possible with the END key, but
with the soft key ("Switch-off", page 482).
The control displays the contouring feed rate in manual mode
("Spindle speed S, feed rate F and miscellaneous function M",
page 494).
Deactivate tilting in manual mode is only possible via the 3D-ROT
menu ("To activate manual tilting:", page 538).
The machine parameter maxLineGeoSearch has been increased
to a maximum of 100000 ("Machine-specific user parameters",
page 608).
The names of the software options #8, #9 and #21 have been
changed ("Software options", page 8).
New cycle G239 for LAC (Load Adapt. Control) load-dependent
adaptation of control parameters (Option #143), see "BELADUNG
ERMITTELN (Zyklus 239 DIN/ISO: G239, Software-Option 143)"
Cycle G270 CONTOUR TRAIN DATA has been added (Option #19),
see "KONTURZUG-DATEN (Zyklus 270, DIN/ISO: G270, SoftwareOption 19)"
Cycle G139 has been added (Option #1), see "ZYLINDER-MANTEL
(Zyklus 39, DIN/ISO: G139, Software-Option 1)"
The character set of machining cycle G225 has been expanded
with the CE character, ß, the @ character and system time, see
"ENGRAVING (Cycle 225, DIN/ISO: G225)"
Cycles G252-G254 have been expanded with the optional
parameter Q439
Cycle G122 has been expanded with the optional parameters
Q401, Q404, see "ROUGHING (Cycle 22, DIN/ISO: G122, software
option 19)"
Cycle G484 has been expanded with the optional parameter Q536,
see "Calibrate the wireless TT 449 (Cycle 484, DIN/ISO: G484,
software option 17 Touch Probe Functions software option 17)"
Cycles G841 SIMPLE REC. TURNG., RADIAL DIR., G842 , G851 ,
G852 have been expanded with plunge feed rate Q488
Eccentric turning with cycle G800 is possible with Option #50,
see "ADAPT ROTARY COORDINATE SYSTEM(Cycle 800, DIN/ISO:
G800)"
Acknowledging the power interruption and moving to the reference points..........................................50
1.3Programming the first part..................................................................................................................51
Selecting the correct operating mode.................................................................................................... 51
The most important TNC keys................................................................................................................51
Opening a new program/file management.............................................................................................52
Defining a workpiece blank.................................................................................................................... 53
Program layout........................................................................................................................................ 54
Programming a simple contour...............................................................................................................55
Creating a cycle program........................................................................................................................58
1.4Graphically testing the first part.........................................................................................................60
Selecting the correct operating mode.................................................................................................... 60
Selecting the tool table for the test run.................................................................................................60
Choosing the program you want to test................................................................................................ 61
Selecting the screen layout and the view.............................................................................................. 61
Starting the test run................................................................................................................................62
1.5Setting up tools.................................................................................................................................... 63
Selecting the correct operating mode.................................................................................................... 63
Preparing and measuring tools............................................................................................................... 63
The tool table TOOL.T............................................................................................................................ 64
The pocket table TOOL_P.TCH................................................................................................................65
Selecting the correct operating mode.................................................................................................... 66
Clamping the workpiece......................................................................................................................... 66
Datum setting with 3-D touch probe...................................................................................................... 67
1.7Running the first program................................................................................................................... 68
Selecting the correct operating mode.................................................................................................... 68
Choosing the program you want to run................................................................................................. 68
Start the program....................................................................................................................................68
Setting the screen layout........................................................................................................................71
Control Panel...........................................................................................................................................72
2.3Modes of Operation..............................................................................................................................73
Manual Operation and El. Handwheel....................................................................................................73
Positioning with Manual Data Input........................................................................................................73
Test Run.................................................................................................................................................. 74
Program Run, Full Sequence and Program Run, Single Block................................................................75
Displaying externally generated files on the TNC.................................................................................113
Data Backup.......................................................................................................................................... 113
Overview: Functions of the file manager............................................................................................. 115
Calling the File Manager....................................................................................................................... 116
Selecting drives, directories and files...................................................................................................117
Creating a new directory...................................................................................................................... 118
Creating a new file................................................................................................................................118
Copying a single file..............................................................................................................................118
Copying files into another directory......................................................................................................119
Copying a table..................................................................................................................................... 120
Copying a directory...............................................................................................................................120
Choosing one of the last files selected................................................................................................121
Deleting a file........................................................................................................................................122
Deleting a directory...............................................................................................................................122
Renaming a file..................................................................................................................................... 124
Display of errors....................................................................................................................................154
Open the error window........................................................................................................................ 154
Closing the error window..................................................................................................................... 154
Saving service files............................................................................................................................... 158
Calling the TNCguide help system....................................................................................................... 158
4.8TNCguide context-sensitive help system.........................................................................................159
Circle center I, J................................................................................................................................... 224
Circular path C around circle center CC............................................................................................... 225
CircleG02/G03/G05 with defined radius............................................................................................... 226
Circle G06 with tangential connection..................................................................................................228
Example: Linear movements and chamfers with Cartesian coordinates.............................................. 229
Example: Circular movements with Cartesian coordinates.................................................................. 230
Example: Full circle with Cartesian coordinates................................................................................... 231