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 a possibly dangerous situation
that may cause light 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.
6
HEIDENHAIN Conversational Programming | 5/2013
TNC 640 | User's Manual
TNC model, software and features
TNC model, software and features
This manual describes functions and features provided by TNCs as
of the following NC software numbers.
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
■
Three warning levels in manual operation
■
Program interrupt during automatic operation
■
Includes monitoring of 5-axis movements
■
Slovenian
■
Norwegian
■
Slovak
■
Latvian
■
Korean
■
Estonian
■
Turkish
■
Romanian
■
Lithuanian
■
HEIDENHAIN Conversational Programming | 5/2013
TNC 640 | User's Manual
TNC model, software and features
DXF Converter software option (option number 42)
Extracting contour
programs and machining
positions from DXF data.
Extracting contour sections
from plain-language
programs.
Adaptive Feed Control (AFC) software option (option number 45)
Function for adaptive feed-
rate control for optimizing
the machining conditions
during series production
KinematicsOpt software option (option number 48)
Touch-probe cycles for
automatic testing and
optimization of the machine
kinematics
Mill-Turning software option (option number 50)
Functions for milling/turning
mode
Supported DXF format: AC1009 (AutoCAD R12)
■
For contours and point patterns
■
Simple and convenient specification of reference points
■
Select graphical features of contour sections from conversational
■
programs
Recording the actual spindle power by means of a teach-in cut
■
Defining the limits of automatic feed rate control
■
Fully automatic feed control during program run
■
Backup/restore active kinematics
■
Test active kinematics
■
Optimize active kinematics
■
Switching between Milling/Turning mode of operation
■
Constant cutting speed
■
Tool-tip radius compensation
■
Turning cycles
■
Extended Tool Managment software option (option number 93)
Extended tool management, python-based
■
Remote Desktop Manager software option (option number 133)
Windows on a separate computer unitRemote operation of
■
external computer units
(e.g. Windows PC) via the
TNC user interface
Cross Talk Compensation (CTC) software option (option number 141)
TNC model, software and features
Compensation of axis
couplings
Position Adaptive Control (PAC) software option (option number 142)
Changing control
parameters
Load Adaptive Control (LAC) software option (option number 143)
parameters
Active Chatter Control (ACC) software option (option number 145)
Fully automatic function for chatter control during machining
Determination of dynamically caused position deviation through axis
■
acceleration
Compensation of the TCP
■
Changing of the control parameters depending on the position of the
■
axes in the working space
Changing of the control parameters depending on the speed or
■
acceleration of an axis
Automatic determination of workpiece weight and frictional forcesDynamic changing of control
■
Continuous adaptation of the parameters of the adaptive precontrolling
■
to the actual weight of the workpiece during machining
10
HEIDENHAIN Conversational Programming | 5/2013
TNC 640 | User's Manual
TNC model, software and features
Feature Content Level (upgrade functions)
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 DXF
files or plain-language contours, page 243).
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 360).
The machine manufacturer can now define any areas on the
machine for collision monitoring (Dynamic Collision Monitoring
(software option), page 371).
Writing and reading data in freely definable tables (Freely definable
tables, page 402).
The Adaptive Feed Control (AFC) function has been integrated
(Adaptive Feed Control Software Option (AFC), page 377)
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 490).
New machining cycle 225 ENGRAVING (see User’s Manual for
Cycle Programming)
New Active Chatter Control (ACC) software option (Active Chatter
Control (ACC; software option), page 389).
New manual probing cycle "Center line as datum" (Setting a center
line as datum , page 535).
New function for rounding corners (Rounding corners: M197,
page 366).
External access to the TNC can now be blocked with a MOD
function (External access, page 584).
12
HEIDENHAIN Conversational Programming | 5/2013
TNC 640 | User's Manual
TNC model, software and features
Modified functions 34059x-02
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 160).
The columns AFC and ACC were added to the tool table (Enter tool
data into the table, page 160).
Operation and position behavior of the manual probing cycles has
been improved (Using 3-D touch probes , page 514).
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 76).
The FUNCTION TURNDATA SPIN rotational function has been
expanded with an input option for maximum speed (Program
spindle speed, page 464).
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 528)
Acknowledging the power interruption and moving to the reference points...........................................48
1.3Programming the first part...................................................................................................................49
Selecting the correct operating mode..................................................................................................... 49
The most important TNC keys.................................................................................................................49
Creating a new program/file management.............................................................................................. 50
Defining a workpiece blank......................................................................................................................51
Program layout......................................................................................................................................... 52
Programming a simple contour................................................................................................................53
Creating a cycle program......................................................................................................................... 56
1.4Graphically testing the first part..........................................................................................................58
Selecting the correct operating mode..................................................................................................... 58
Selecting the tool table for the test run..................................................................................................58
Choosing the program you want to test................................................................................................. 59
Selecting the screen layout and the view............................................................................................... 59
Starting the test run.................................................................................................................................60
1.5Setting up tools..................................................................................................................................... 61
Selecting the correct operating mode..................................................................................................... 61
Preparing and measuring tools................................................................................................................ 61
The tool table TOOL.T............................................................................................................................. 62
The pocket table TOOL_P.TCH.................................................................................................................63
Selecting the correct operating mode..................................................................................................... 64
Clamping the workpiece.......................................................................................................................... 64
Workpiece alignment with 3-D touch probe............................................................................................ 65
Datum setting with 3-D touch probe....................................................................................................... 66
1.7Running the first program.................................................................................................................... 67
Selecting the correct operating mode..................................................................................................... 67
Choosing the program you want to run.................................................................................................. 67
Start the program.....................................................................................................................................67
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.................................................................74
Absolute and incremental workpiece positions....................................................................................... 93
Selecting the datum.................................................................................................................................94
3.2Opening programs and entering.......................................................................................................... 95
Organization of an NC program in HEIDENHAIN Conversational format.................................................95
Define the blank: BLK FORM.................................................................................................................. 95
Opening a new part program.................................................................................................................. 96
Programming tool movements in conversational.....................................................................................97
Actual position capture.............................................................................................................................99
Editing a program...................................................................................................................................100
The TNC search function....................................................................................................................... 103
Displaying externally generated files on the TNC..................................................................................107
Data Backup........................................................................................................................................... 107
Overview: Functions of the file manager.............................................................................................. 109
Calling the file manager......................................................................................................................... 110
Selecting drives, directories and files....................................................................................................111
Creating a new directory....................................................................................................................... 112
Creating a new file.................................................................................................................................112
Copying a single file...............................................................................................................................112
Copying files into another directory.......................................................................................................113
Copying a table...................................................................................................................................... 114
Copying a directory................................................................................................................................ 115
Choosing one of the last files selected.................................................................................................115
Deleting a file.........................................................................................................................................116
Deleting a directory................................................................................................................................116
Renaming a file...................................................................................................................................... 118
Generating / not generating graphics during programming................................................................... 138
Generating a graphic for an existing program....................................................................................... 138
Block number display ON/OFF...............................................................................................................139
Erasing the graphic................................................................................................................................ 139
Display of errors.....................................................................................................................................141
Open the error window......................................................................................................................... 141
Closing the error window...................................................................................................................... 141
Saving service files................................................................................................................................ 145
Calling the TNCguide help system........................................................................................................ 146
4.7TNCguide context-sensitive help system..........................................................................................147
Overview of path functions................................................................................................................... 206
Straight line L.........................................................................................................................................207
Inserting a chamfer between two straight lines....................................................................................208
Circle center CC..................................................................................................................................... 210
Circular path C around circle center CC................................................................................................ 211
Circle CR with defined radius................................................................................................................ 212
Circle CT with tangential connection.....................................................................................................214
Example: Linear movements and chamfers with Cartesian coordinates............................................... 215
Example: Circular movements with Cartesian coordinates................................................................... 216
Example: Full circle with Cartesian coordinates.................................................................................... 217
Zero point for polar coordinates: pole CC..............................................................................................219
Straight line LP.......................................................................................................................................219
Circular path CP around pole CC........................................................................................................... 220
Circle CTP with tangential connection...................................................................................................220
FK programming graphics...................................................................................................................... 227
Initiating the FK dialog........................................................................................................................... 229
Pole for FK programming....................................................................................................................... 229
Free straight line programming..............................................................................................................230
Types of nesting.....................................................................................................................................269
9.5Calculation of circles............................................................................................................................285
A transaction.......................................................................................................................................... 312
Rules for formulas..................................................................................................................................323