Enter and call labels for subprogramming
and program section repeats
POSITIONING WITH MANUAL DATA INPUT
PROGRAM RUN, SINGLE BLOCK
PROGRAM RUN, FULL SEQUENCE
Programming Modes
PROGRAMMING AND EDITING
TEST RUN
Program and File Management
PGM
PGM
PGM
CALL
EXT
MOD
NR
CL
Select programs and files
Delete programs and files
Enter program call in a program
External data transfer
Supplementary modes
Cursor and GOTO keys
Move cursor (highlight)
GOTO
Go directly to blocks, cycles and parameter functions
Graphics
MOD
Graphic operating modes
BLK
Define blank form, reset blank form
FORM
MAGN
START
Magnify detail
Start graphic simulation
STOP
TOUCH
PROBE
Abort an interrupted program run or
enter a program stop in a program
Set a datum with the 3D touch probe or
enter touch probe functions in a program
Entering Numbers and Coordinate Axes, Editing
X
...
0
...
.
+
/
P
Select or enter coordinate axes
IV
in a program
9
Numbers
Decimal point
Algebraic sign
Polar coordinates
Incremental values
Q
in mathematical functions
Q parameters for part families or
Q
DEF
Actual position capture
NO
ENT
ENT
END
CE
DEL
Ignore dialog queries, delete words
Confirm entry and resume dialog
Conclude block
Clear numerical entry
or TNC message
Abort dialog; delete program sections
TNC Guideline:
From workpiece drawing to
program-controlled machining
StepTaskTNCRefer to
operating modeSection
Preparation
1Select tools————
2Set workpiece datum
for coordinate system————
3Determine spindle speeds
and feed rates——12.4
4Switch on machine——1.3
5Traverse reference marks
6Clamp workpiece————
7Set the datum /
Reset position display ...
7a... with the 3D touch probe
7b... without the 3D touch probe or2.3
Entering and testing part programs
8Enter part program
or download
over external 5 to 8
data interface
9Test part program for errors3.1
10Test run: Run program
block by block without tool 3.2
or1.3, 2.1
or2.5
EXT
oror 10
11If necessary: Optimize
part program 5 to 8
Machining the workpiece
12Insert tool and
run part program3.2
Sequence of Program Steps
Milling an outside contour
Program step Key Refer to Section
1 Create or select program4.4
Input:Program number
PGM
NR
Unit of measure for programming
2 Define workpiece blank4.4
3 Define tools4.2
Input:Tool number
BLK
FORM
TOOL
DEF
Tool length
Tool radius
4 Call tool data4.2
Input:Tool number
TOOL
CALL
Spindle axis
Spindle speed
5 Tool changee.g. 5.4
L
Input:Coordinates of the tool change position
Radius compensation
Feed rate (rapid traverse)
Miscellaneous function (tool change)
6 Move to starting position5.2/5.4
L
Input:Coordinates of the starting position
Radius compensation (R0)
Feed rate (rapid traverse)
Miscellaneous function (spindle on, clockwise)
7 Move tool to (first) working depth5.4
L
Input:Coordinate of the (first) working depth
Feed rate (rapid traverse)
8 Move to first contour point5.2/5.4
Input:Coordinates of the first contour point
L
Radius compensation for machining
Machining feed rate
if desired, with smooth approach: RND after this block
9 Machining to last contour point5 to 8
Input:Enter all necessary values for
each contour element
10 Move to end position5.2/5.4
Input:Coordinates of the end position
L
Radius compensation (R0)
Miscellaneous function (spindle stop)
if desired, with smooth departure: RND after this block
11 Retract tool in spindle axis
Input:Coordinates above the workpiece5.2/5.4
L
Feed rate (rapid traverse)
Miscellaneous function (end of program)
12 End of program
How to use this manual
This manual describes functions and features available on the TNC 360
from NC software number 259 900 11.
This manual describes all available TNC functions. However, since the
machine builder has modified (with machine parameters) the available
range of TNC functions to interface the control to his specific machine,
this manual may describe some functions which are not available on your
TNC.
TNC functions which are not available on every machine are, for example:
• Probing functions for the 3D touch probe system
• Digitizing
• Rigid tapping
If in doubt, please contact the machine tool builder.
TNC programming courses are offered by many machine tool builders as
well as by HEIDENHAIN. We recommend these courses as an effective
way of improving your programming skill and sharing information and
ideas with other TNC users.
TNC 360
The TNC beginner
the manual deals with the basics of NC technology and describes the TNC
functions. It then introduces the techniques of conversational programming. Each new function is thoroughly described when it is first introduced, and the numerous examples can be tried out directly on the TNC.
The TNC beginner should work through this manual from beginning to end
to ensure that he is capable of fully exploiting the features of this powerful
tool.
can use the manual as a workbook. The first part of
For the TNC expert,
work. The table of contents and cross references enable him to quickly
find the topics and information he needs. Easy-to-read dialog flowcharts
show him how to enter the required data for each function.
The dialog flow charts consist of sequentially arranged instruction boxes.
Each key is illustrated next to an explanation of its function to aid the
beginner when he is performing the operation for the first time. The
experienced user can use the key sequences illustrated in the left part of
the flowchart as a quick overview. The TNC dialogs in the instruction
boxes are always presented on a gray background.
Note: Placeholders in the program on the screen for entries which are not
always programmed (such as the abbreviations R, F, M and REP) are not
indicated in the programming examples.
Layout of the dialog flowcharts
Dialog initiation key
L
DIALOG PROMPT (ON TNC SCREEN)
Answer the prompt with
these keys
this manual serves as a comprehensive reference
e.g.
ENT
3
The functions of the keys are explained here.
NEXT DIALOG QUESTION
Press this key
+
/
Or press this key
.
.
.
Function of the key.
A dashed line means that either
the key above or below it can be
TNC error messages during programming ..................................................................... 12-21
TNC error messages during test run and program run................................................... 12-22
TNC error messages with digitizing ............................................................................... 12-25
TNC 360
1Introduction
1.1The TNC 360
Control
The TNC 360 is a shop-floor programmable contouring control for milling
machines, boring machines and machining centers with up to four axes.
The spindle can be rotated to a given angular stop position (oriented
spindle stop).
Visual display unit and operating panel
The monochrome screen clearly displays all information necessary for
operating the TNC. In addition to the CRT monitor (BE 212), the TNC 360
can also be used with a flat luminescent screen (BF 110). The keys on the
operating panel are grouped according to their functions. This
simplifies programming and the application of the TNC functions.
Programming
The TNC 360 is programmed directly at the machine with the easy to
understand HEIDENHAIN plain language dialog format. Programming in
ISO or in DNC mode is also possible.
Graphics
The graphic simulation feature allows programs to be tested before actual
machining. Various types of graphic representation can be selected.
Compatibility
Any part program can be run on the TNC 360 as long as the commands in
the program are within the functional scope of the TNC 360.
TNC 3601-2
1Introduction
1.1 The TNC 360
The Operating Panel
The keys on the TNC operating panel are identified with easy-toremember abbreviations and symbols. The keys are grouped according to function:
• Program selection
• Path function keys
• External data transfer
• Probing functions
• Editing functions
• GOTO statement
• Arrow keys
• STOP key
• Programming of cycles,
program section repeats
and subprograms
• NO ENT key
• Tool-related entries
Graphic operating
modes
PGM
NR
CR
EXT
GOTO
STOP
NO
ENT
MOD
50
PGM
CL
CALL
PGM
RND
CT
DEL
TOUCH
PROBE
CYCL
CYCL
CALL
DEF
TOOL
TOOL
CALL
DEF
GRAPHICS
BLK
MAGN START
FORM
100
150
F %
0
L
CC
C
ENT
LBL
LBL
CALL
SET
L
R
R
R
-
+
IV
CE
78
X
4
Y
1
Z
0
Q
5
2 3
.
Q
DEF
9
6
• Numerical entries
• Axis selection
• Q parameter
+
/
END
programming
• Operating modes
• Incremental and
100
50
150
S %
0
MOD
P
HEIDENHAIN
polar coordinates
Override controls
for spindle speed
and feed rate
The machine operating buttons, such as for NC start, are described in the manual for your machine tool.
I
The functions of the individual keys are described on the inside front cover.
In this manual they are shown in gray.
The Screen
Brightness control
(BE 212 only)
Header
The header of the screen shows the selected operating mode. Dialog
questions and TNC messages also appear there.
TNC 3601-3
1Introduction
1.1 The TNC 360
Screen Layout
MANUAL and EL. HANDWHEEL operating modes:
A machine operating mode has been selected
• Coordinates
• Selected axis
• * means: control
is in operation
• Status display,
e.g. feed rate F,
miscellaneous
function M
A program run operating mode has been selected
Section of
selected
program
Status display
The screen layout is the same in the operating modes PROGRAM RUN,
PROGRAMMING AND EDITING and TEST RUN. The current block is
surrounded by two horizontal lines.
TNC 3601-4
1Introduction
1.1 The TNC 360
TNC Accessories
3D Probe Systems
The TNC features the following functions for the
HEIDENHAIN 3D touch probe systems:
• Automatic workpiece alignment (compensation
of workpiece misalignment)
• Datum setting
• Measurements of the workpiece can be performed during program run
• Digitizing 3D forms (optional)
The TS 120 touch probe system is connected to the
control via cable, while the TS 510 communicates
by means of infrared light.
Fig. 1.5:HEIDENHAIN 3D Probe Systems TS 120 and TS 511
Floppy Disk Unit
The HEIDENHAIN FE 401 floppy disk unit serves as
an external memory for the TNC, allowing you to
store your programs externally on diskette.
The FE 401 can also be used to transfer programs
that were written on a PC into the TNC. Extremely
long programs which exceed the TNC's memory
capacity are “drip fed” block by block. The machine
executes the transferred blocks and erases them
immediately, freeing memory for further blocks
from the FE.
Electronic Handwheels
Electronic handwheels provide precise manual
control of the axis slides. As on conventional
machines, turning the handwheel moves the axis
by a defined amount. The traverse distance per
revolution of the handwheel can be adjusted over a
wide range.
Fig. 1.6:HEIDENHAIN FE 401 Floppy Disk Unit
Portable handwheels, such as the HR 330, are
connected to the TNC by cable. Built-in handwheels, such as the HR 130, are built into the
machine operating panel.
An adapter allows up to three handwheels to be
connected simultaneously. Your machine manufacturer can tell you more about the handwheel
configuration of your machine.
Fig. 1.7:The HR 330 Electronic Handwheel
TNC 3601-5
1Introduction
1.2Fundamentals of Numerical Control (NC)
Introduction
This chapter addresses the following topics:
• What is NC?
• The part program
• Conversational programming
• Cartesian coordinate system
• Additional axes
• Polar coordinates
• Setting a pole at a circle center (CC)
• Datum setting
• Absolute workpiece positions
• Programming tool movements
• Position encoders
• Reference mark evaluation
What is NC?
NC stands for Numerical Control. Simply put, numerical control is the
operation of a machine by means of coded instructions. Modern controls
such as the HEIDENHAIN TNCs have a built-in computer for this purpose.
Such a control is therefore also called a CNC (Computer Numerical
Control).
The part program
A part program is a complete list of instructions for machining a workpiece. It contains such information as the target position of a tool movement, the tool path — i.e. how the tool should move towards the target
position — and the feed rate. The program must also contain information
on the radius and length of the tools, the spindle speed and the tool axis.
Conversational programming
Conversational programming is a particularly easy way of writing and
editing part programs. From the very beginning, HEIDENHAIN numerical
controls were designed for the machinist who keys in his programs
directly at the machine. This is why they are called TNCs, or "Touch
Numerical Controls."
You begin programming each machining step by simply pressing a key.
The control then asks for all further information required to execute the
step. You can also program the TNC in ISO format or download programs
from a central host computer for DNC operation.
TNC 3601-6
1Introduction
0° 90°90°
0°
30°
30°
60°
60°
Greenwich
+X
+Y
+Z
+X
+Z
+Y
1.2 Fundamentals of NC
Reference system
In order to define positions, one needs a reference system. For example,
positions on the earth's surface can be defined "absolutely" by their
geographic coordinates of longitude and latitude. The term "coordinate"
comes from the Latin word for "that which is arranged". The network of
horizontal and vertical lines around the globe constitute an "absolute
reference system" — in contrast to the "relative" definition of a position
that is referenced, for example, to some other, known location.
Cartesian coordinate system
A workpiece is normally machined on a TNC controlled milling machine
according to a workpiece-reference Cartesian coordinate system (a
rectangular coordinate system named after the French mathematician and
philosopher Renatus Cartesius; 1596 to 1650). The Cartesian
coordinate system is based on three coordinate axes X, Y and Z, which are
parallel to the machine guideways. The figure to the right illustrates the
"right hand rule" for remembering the three axis directions: the
middle finger is pointing in the positive direction of the tool axis from the
workpiece toward the tool (the Z axis), the thumb is pointing in the
positive X direction, and the index finger in the positive Y direction.
Fig. 1.9:The geographic coordinate system
is an absolute reference system
Fig. 1.10: Designations and directions of the
axes on a milling machine
TNC 3601-7
1Introduction
1.2Fundamentals of NC
Additional axes
The TNC can control machines which have more than three axes. U, V
and W are secondary linear axes parallel to the main axes X, Y and Z,
respectively (see illustration). Rotary axes are also possible. They are
designated as axes A, B and C.
W+
Z
Y
C+
B+
V+
A+
Polar coordinates
The Cartesian coordinate system is especially
useful for parts whose dimensions are mutually
perpendicular. But when workpieces contain
circular arcs, or when dimensions are given in
degrees, it is often easier to use polar coordinates.
In contrast to Cartesian coordinates, which are
three-dimensional, polar coordinates can only
describe positions in a plane.
The datum for polar coordinates is the circlecenter CC. To describe a position in polar coordinates, think of a scale whose datum point is rigidly
connected to the pole but which can be freely
rotated in a plane around the pole.
Positions in this plane are defined by:
• Polar Radius (PR): The distance from circle
center CC to the defined position.
• Polar Angle (PA): The angle between the
reference axis and the scale.
U+
Fig. 1.11: Arrangement and designation of
the auxiliary axes
Y+
PR
PA
3
PR
10
30
Fig. 1.12: Positions on an arc with polar coordinates
PA
CC
PR
2
PA
1
X
0
°
X+
TNC 3601-8
1Introduction
Y
X
Z
1.2 Fundamentals of NC
Setting a pole at circle center CC
The pole (circle center) is defined by setting two Cartesian coordinates.
These two coordinates also determine the reference axis for the polar
angle PA.
Coordinates of the pole Reference axis of the angle
X Y+X
Y Z+Y
Z X+Z
Z
Z
Y
CC
+
CC
0°
X
Fig. 1.13: Polar coordinates and their associated reference axes
Setting the datum
The workpiece drawing identifies a certain prominent point on the workpiece (usually a corner) as the "absolute datum" and perhaps one or more
other points as relative datums. The process of datum setting establishes
these points as the origin of the absolute or relative coordi-nate systems:
The workpiece, which is aligned with the machine axes, is moved to a
certain position relative to the tool and the display is set either to zero or
to another appropriate position value (e.g. to compen-sate the tool radius).
+
Z
Y
Y
0°
0°
+
CC
X
X
Fig. 1.14: The workpiece datum serves as
the origin of the Cartesian
coordinate system
TNC 3601-9
1Introduction
Y
X
Z
1
10
5
1.2Fundamentals of NC
Example:
Drawings with several relative datums
(according to ISO 129 or DIN 406, Part 11; Figure 171)
1225
750
320
125
250
216,5
216,5
250
-250
-125
-216,5
0
125
0
-125
-216,5
-250
150
0
-150
300±0,1
0
0
0
325
450
700
900
950
Example:
Coordinates of the point 1:
X = 10 mm
Y = 5 mm
Z = 0 mm
The datum of the Cartesian coordinate system is located 10 mm away
from point 1 on the X axis and 5 mm on the Y axis.
The 3D Touch Probe System from HEIDENHAIN is an especially
convenient and efficient way to find and set datums.
Fig. 1.16: Point 1 defines the coordinate
system.
TNC 3601-10
1Introduction
Y
X
Z
1
20
10
Z=15mm
X=20mm
Y=10mm
15
I
Z=–15mm
Y
X
Z
2
10
5
5
15
20
10
10
I
X=10mm
I
Y=10mm
3
0
0
1.2Fundamentals of NC
Absolute workpiece positions
Each position on the workpiece is clearly defined by its absolute coordinates.
Example: Absolute coordinates of the position ➀:
X = 20 mm
Y = 10 mm
Z = 15 mm
If you are drilling or milling a workpiece according to a workpiece drawing
with absolute coordinates, you are moving the tool to the coordinates.
Incremental workpiece positions
A position can be referenced to the previous nominal position: i.e. the
relative datum is always the last programmed position. Such coordinates
Fig. 1.17: Position definition through
absolute coordinates
are referred to as incremental coordinates (increment = growth), or also
incremental or chain dimensions (since the positions are defined as a
chain of dimensions). Incremental coordinates are designated with the
prefix I.
Example: Incremental coordinates of the position ➂
referenced to position ➁
Absolute coordinates of the position ➁ :
X = 10 mm
Y = 5 mm
Z = 20 mm
Incremental coordinates of the position ➂ :
IX = 10 mm
IY = 10 mm
IZ = –15 mm
If you are drilling or milling a workpiece according to a workpiece drawing
with incremental coordinates, you are moving the tool by the coordinates.
Fig. 1.18: Position definition through
incremental coordinates
An incremental position definition is therefore intended as an immediately
relative definition. This is also the case when a position is defined by the
distance-to-go to the target position (here the relative datum is located at
the target position). The distance-to-go has a negative algebraic sign if the
target position lies in the negative axis direction from the actual position.
The polar coordinate system can also express both
types of dimensions:
• Absolute polar coordinates always refer to the
pole (CC) and the reference axis.
Y+
• Incremental polar coordinates always refer to
the last programmed nominal position of the
tool.
PR
10
+IPR
PR
+IPA+IPA
CC
PR
PA
0°
TNC 3601-11
Fig. 1.19: Incremental dimensions in polar coordinates (designated
with an "I")
30
X+
1Introduction
1.2Fundamentals of NC
Example:
Workpiece drawing with coordinate dimensioning
(according to ISO 129 or DIN 406, Part 11; Figure 179)