Toggle the display between machining
and programming modes
Soft keys for selecting functions on
screen
Switch the soft-key rows
Alphanumeric keyboard
KeyFunction
File names, comments
DIN/ISO programming
Machine operating modes
KeyFunction
Manual Operation
Electronic Handwheel
Program/file management, TNC functions
KeyFunction
Select or delete programs and files,
external data transfer
Define program call, select datum and
point tables
Select MOD functions
Display help text for NC error messages,
call TNCguide
Display all current error messages
Show calculator
Navigation keys
KeyFunction
Move highlight
Go directly to blocks, cycles and
parameter functions
Potentiometer for feed rate and spindle speed
Feed rateSpindle speed
Programming modes
KeyFunction
Positioning with Manual Data Input
Program Run, Single Block
Program Run, Full Sequence
Cycles, subprograms and program section repeats
KeyFunction
Define touch probe cycles
Programming and Editing
Define and call cycles
Test Run
Enter and call labels for subprogramming
and program section repeats
Enter program stop in a program
Tool functions
KeyFunction
Define tool data in the program
Coordinate axes and numbers: Entering and editing
KeyFunction
Select coordinate axes or
enter them into the program
Call tool data
Programming path movements
KeyFunction
Approach/depart contour
FK free contour programming
Straight line
Circle center/pole for polar coordinates
Circle with center
Circle with radius
Circular arc with tangential connection
Chamfer/Corner rounding
Numbers
Decimal point / Reverse algebraic sign
Polar coordinate input / Incremental
values
Q parameter programming /
Q parameter status
Save actual position or values from
calculator
Skip dialog questions, delete words
Confirm entry and resume dialog
Conclude block and exit entry
Clear numerical entry or TNC error
message
Abort dialog, delete program section
Special functions
KeyFunction
Show special functions
Select the next tab in forms
Up/down one dialog box or button
About this Manual
The symbols used in this manual are described below.
This symbol indicates that important notes about the
function described must be regarded.
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 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.
About this Manual
Would you like any changes, or have you found
any errors?
We are continuously striving to improve documentation for you.
Please help us by sending your requests to the following e-mail
address: tnc-userdoc@heidenhain.de.
HEIDENHAIN TNC 6405
TNC Model, Software and Features
This manual describes functions and features provided by TNCs as of
the following NC software numbers.
TNC modelNC software number
TNC 640340 590-01
TNC 640 E340 591-01
TNC 640 Programming Station340 594-01
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
TNC Model, Software and Features
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 a separate manual. Please contact
HEIDENHAIN if you need a copy of this User’s Manual.
ID: 892 905-xx
6
Software options
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:
Software option 1 (option number #08)
Cylinder surface interpolation (Cycles 27, 28 and 29)
Feed rate in mm/min for rotary axes: M116
Tilting the machining plane (plane functions, Cycle 19 and 3D-ROT
soft key in the Manual Operation mode)
Circle in 3 axes with tilted working plane
Software option 2 (option number #09)
5-axis interpolation
3-D machining:
M128: Maintaining the position of the tool tip when positioning
with tilted axes (TCPM)
FUNCTION TCPM: Maintaining the position of the tool tip when
positioning with tilted axes (TCPM) in selectable modes
M144: Compensating the machine’s kinematic configuration for
ACTUAL/NOMINAL positions at end of block
LN blocks (3-D compensation)
TNC Model, Software and Features
HEIDENHAIN DNC (option number #18)
Communication with external PC applications over COM
component
Additional conversational language (option number #41)
Function for enabling the conversational languages Slovenian,
Display step (option number #23)
Input resolution and display step:
Linear axes down to 0.01 µm
Rotary axes to 0.00001°
Double speed (option number #49)
Double-speed control loops are used primarily for high-speed
spindles as well as for linear motors and torque motors
HEIDENHAIN TNC 6407
KinematicsOpt software option (option number #48)
Touch-probe cycles for inspecting and optimizing the machine
accuracy
Software option Mill-Turning (option number #50)
Functions for milling/turning mode:
Switching between Milling/Turning mode of operation
Constant cutting speed
Tool-tip radius compensation
Turning cycles
Extended Tool Management software option
(option number #93)
Tool management that can be changed by the machine
manufacturer using Python scripts
TNC Model, Software and Features
8
Feature content level (upgrade functions)
Along with software options, significant further improvements of the
TNC software are managed via the Feature Content Level (FCL)
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
U Programming and Editing operating mode
U MOD function
U LICENSE INFO soft key
TNC Model, Software and Features
HEIDENHAIN TNC 6409
TNC Model, Software and Features
10
Contents
First Steps with the TNC 640
1
Introduction
2
Programming: Fundamentals,
File Management
3
Programming: Programming Aids
4
Programming: Tools
5
Programming: Programming Contours
6
Programming: Subprograms and
Program Section Repeats
7
Programming: Q Parameters
8
Programming: Miscellaneous Functions
9
Programming: Special Functions
10
Programming: Multiple Axis Machining
11
Programming: Pallet Editor
12
Programming: Turning Operations
13
Manual Operation and Setup
14
Positioning with Manual Data Input
15
Test Run and Program Run
16
MOD Functions
17
Tables and Overviews
18
HEIDENHAIN TNC 64011
1 First Steps with the TNC 640 ..... 35
1.1 Overview ..... 36
1.2 Machine Switch-On ..... 37
Acknowledging the power interruption and moving to the reference points ..... 37
1.3 Programming the First Part ..... 38
Selecting the correct operating mode ..... 38
The most important TNC keys ..... 38
Creating a new program/file management ..... 39
Defining a workpiece blank ..... 40
Program layout ..... 41
Programming a simple contour ..... 42
Creating a cycle program ..... 45
1.4 Graphically Testing the First Program ..... 48
Selecting the correct operating mode ..... 48
Selecting the tool table for the test run ..... 48
Choosing the program you want to test ..... 49
Selecting the screen layout and the view ..... 49
Starting the program test ..... 49
1.5 Tool Setup ..... 50
Selecting the correct operating mode ..... 50
Preparing and measuring tools ..... 50
The tool table TOOL.T ..... 50
The pocket table TOOL_P.TCH ..... 51
1.6 Workpiece Setup ..... 52
Selecting the correct operating mode ..... 52
Clamping the workpiece ..... 52
Aligning the workpiece with a 3-D touch probe system ..... 53
Datum setting with a 3-D touch probe ..... 54
1.7 Running the First Program ..... 55
Selecting the correct operating mode ..... 55
Choosing the program you want to run ..... 55
Starting the program ..... 55
HEIDENHAIN TNC 64013
2 Introduction ..... 57
2.1 The TNC 640 ..... 58
Programming: HEIDENHAIN conversational and ISO formats ..... 58
Compatibility ..... 58
2.2 Visual Display Unit and Keyboard ..... 59
Visual display unit ..... 59
Setting the screen layout ..... 60
Operating panel ..... 61
2.3 Operating Modes ..... 62
Manual Operation and El. Handwheel ..... 62
Positioning with Manual Data Input ..... 62
Programming and Editing ..... 63
Test Run ..... 63
Program Run, Full Sequence and Program Run, Single Block ..... 64