Toggle the display between
machining and programming
modes
Soft keys for selecting functions on
screen
Shifting between soft-key rows
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
Positioning with manual data input
Program run, single block
Program run, full sequence
Programming modes
KeyFunction
Programming
Test run
Go directly to blocks, cycles and
parameter functions
Potentiometer for feed rate
and spindle speed
Feed rateSpindle speed
2
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
Cycles, subprograms and
program section repeats
KeyFunction
Define touch probe cycles
Define and call cycles
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
Call tool data
Special functions
KeyFunction
Show special functions
Select the next tab in forms
Up/down one dialog box or button
Entering and editing coordinate
axes and numbers
KeyFunction
Select coordinate axes or enter
. . . .
. . . .
them in a program
Numbers
Decimal point / Reverse algebraic
sign
Programming path movements
KeyFunction
Approach/depart contour
FK free contour programming
Straight line
Circle center/pole for polar
coordinates
Circular arc with center
Circle with radius
Circular arc with tangential
connection
Chamfer/Corner rounding
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
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
3
Controls of the TNC
4
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
Fundamentals
Fundamentals
About this manual
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 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
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
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: 679 220-xx
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
7
Fundamentals
TNC model, software and features
Software options
The TNC 320 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
HEIDENHAIN DNC (option number 18)
Software option for additional conversational languages (option number 41)
Additional conversational
languages
■
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)
Communication with external PC applications over COM component
■
Slovenian
■
Norwegian
■
Slovak
■
Latvian
■
Korean
■
Estonian
■
Turkish
■
Romanian
■
Lithuanian
■
8
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
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
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
9
Fundamentals
TNC model, software and features
New functions
New functions 34055x-06
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 286).
Writing and reading data in freely definable tables (Freely definable
tables, page 302).
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 342).
New machining cycle 225 ENGRAVING (see User’s Manual for
Cycle Programming)
New manual probing cycle "Center line as datum" (Setting a center
line as datum , page 381).
New function for rounding corners (Rounding corners: M197,
page 292).
External access to the TNC can now be blocked with a MOD
function (External access).
10
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
TNC model, software and features
Modified functions 34055x-06
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 142).
Operation and position behavior of the manual probing cycles has
been improved (Using 3-D touch probes , page 361).
Predefined values can now be entered into a cycle parameter
with the PREDEF function in cycles (see User’s Manual for Cycle
Programming).
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 374)
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
11
Fundamentals
TNC model, software and features
12
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
Contents
1First Steps with the TNC 320......................................................................................................... 39
Acknowledging the power interruption and moving to the reference points........................................... 40
1.3Programming the first part...................................................................................................................41
Selecting the correct operating mode..................................................................................................... 41
The most important TNC keys.................................................................................................................41
Creating a new program/file management.............................................................................................. 42
Defining a workpiece blank......................................................................................................................43
Program layout......................................................................................................................................... 44
Programming a simple contour................................................................................................................45
Creating a cycle program.........................................................................................................................48
1.4Graphically testing the first part..........................................................................................................50
Selecting the correct operating mode..................................................................................................... 50
Selecting the tool table for the test run..................................................................................................50
Choosing the program you want to test................................................................................................. 51
Selecting the screen layout and the view............................................................................................... 51
Starting the test run.................................................................................................................................52
1.5Setting up tools..................................................................................................................................... 53
Selecting the correct operating mode..................................................................................................... 53
Preparing and measuring tools................................................................................................................ 53
The tool table TOOL.T............................................................................................................................. 54
The pocket table TOOL_P.TCH.................................................................................................................55
Selecting the correct operating mode..................................................................................................... 56
Clamping the workpiece.......................................................................................................................... 56
Workpiece alignment with 3-D touch probe............................................................................................57
Datum setting with 3-D touch probe.......................................................................................................58
1.7Running the first program.................................................................................................................... 59
Selecting the correct operating mode..................................................................................................... 59
Choosing the program you want to run.................................................................................................. 59
Start the program.....................................................................................................................................59
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
Setting the screen layout.........................................................................................................................64
Control Panel............................................................................................................................................64
2.3Modes of Operation...............................................................................................................................65
Manual Operation and El. Handwheel..................................................................................................... 65
Positioning with Manual Data Input.........................................................................................................65
Test Run................................................................................................................................................... 66
Program Run, Full Sequence and Program Run, Single Block.................................................................66
Absolute and incremental workpiece positions.......................................................................................81
Selecting the datum.................................................................................................................................82
3.2Opening programs and entering..........................................................................................................83
Organization of an NC program in DIN/ISO format................................................................................. 83
Define the blank: G30/G31...................................................................................................................... 83
Opening a new part program.................................................................................................................. 84
Programming tool movements in DIN/ISO.............................................................................................. 85
Actual position capture.............................................................................................................................86
Editing a program.....................................................................................................................................87
The TNC search function......................................................................................................................... 90
Data Backup............................................................................................................................................. 94
TNC 320 | User's Manual for DIN/ISO Programming | 5/2013
17
Contents
3.4Working with the file manager............................................................................................................ 95
Overview: Functions of the file manager................................................................................................ 96
Calling the file manager........................................................................................................................... 97
Selecting drives, directories and files...................................................................................................... 98
Creating a new directory......................................................................................................................... 99
Creating a new file...................................................................................................................................99
Copying a single file.................................................................................................................................99
Copying files into another directory.......................................................................................................100
Copying a table...................................................................................................................................... 101
Copying a directory................................................................................................................................ 102
Choosing one of the last files selected.................................................................................................102
Deleting a file.........................................................................................................................................103
Deleting a directory................................................................................................................................103
Renaming a file...................................................................................................................................... 105
Generating / not generating graphics during programming................................................................... 120
Generating a graphic for an existing program....................................................................................... 120
Block number display ON/OFF...............................................................................................................121
Erasing the graphic................................................................................................................................ 121
Display of errors.....................................................................................................................................123
Open the error window......................................................................................................................... 123
Closing the error window...................................................................................................................... 123
Saving service files................................................................................................................................ 127
Calling the TNCguide help system........................................................................................................ 128
4.7TNCguide context-sensitive help system..........................................................................................129
Circle center I, J.....................................................................................................................................178
Circular path C around circle center CC................................................................................................ 179
Circle G02/G03/G05 with defined radius............................................................................................... 180
Circle G06 with tangential connection...................................................................................................182
Example: Linear movements and chamfers with Cartesian coordinates............................................... 183
Example: Circular movements with Cartesian coordinates................................................................... 184
Example: Full circle with Cartesian coordinates.................................................................................... 185
Types of nesting.....................................................................................................................................201
A transaction.......................................................................................................................................... 238
Rules for formulas..................................................................................................................................249
10.3 Creating Text Files................................................................................................................................298
Deleting and re-inserting characters, words and lines...........................................................................299
Editing text blocks..................................................................................................................................300
Finding text sections..............................................................................................................................301
Defining the PLANE function.................................................................................................................313
Position display.......................................................................................................................................313
Resetting the PLANE function...............................................................................................................314
Defining the working plane with the spatial angle: PLANE SPATIAL.................................................... 315
Defining the working plane with the projection angle: PLANE PROJECTED........................................ 317
Defining the working plane with the Euler angle: PLANE EULER.........................................................318
Defining the working plane with two vectors: PLANE VECTOR........................................................... 320
Defining the working plane via three points: PLANE POINTS...............................................................322
Defining the working plane via a single incremental spatial angle: PLANE SPATIAL.............................324
Tilting the working plane through axis angle: PLANE AXIAL (FCL 3 function)...................................... 325
Specifying the positioning behavior of the PLANE function.................................................................. 327
11.3 Miscellaneous functions for rotary axes........................................................................................... 332
Feed rate in mm/min on rotary axes A, B, C: M116 (software option 1)............................................... 332
Shortest-path traverse of rotary axes: M126.........................................................................................333
Reducing display of a rotary axis to a value less than 360°: M94.........................................................334