TNC 320
The Compact Contouring
Control for Milling, Drilling, andBoring Machines
Information for the
Machine Tool Builder

03/2019

TNC contouring control from HEIDENHAIN
General information

TNC 320• Compact contouring control for milling, drilling, and boringmachines• Axes: 6 control loops, of which up to 2 are configurable asspindles• Analog nominal-value interface to the drives (± 10 V)• Compact design: Screen, keyboard, and main computer all in
one unit• Dimensions: 400 mm x 470 mm x 105 mm• Integrated 15-inch TFT color flat-panel display• Storage medium for NC programs: CompactFlash memory card
• Programming in HEIDENHAIN Klartext format• Standard milling, drilling, and boring cycles• Touch probe cycles• Short block processing time
System test

Controls, motors, and encoders from HEIDENHAIN are in mostcases integrated as components in larger systems. In thesecases, comprehensive tests of the complete system are required,irrespective of the specifications of the individual devices.

Parts subject towear

Controls from HEIDENHAIN include parts subject to wear,
particularly the backup battery and fans.

Standards

Standards (ISO, EN, etc.) apply only where explicitly stated in thebrochure.

Note

Microsoft, Windows 7, 8, 10 and Internet Explorer are registeredtrademarks of Microsoft Corporation. Intel, Intel Core, and Celeron
are registered trademarks of Intel Corporation.

Validity

The features and specifications described here apply to thefollowing control and NC software versions:
TNC 320 with NC software version
771851-06 (no export license required)This brochure supersedes all previous editions, which thereby
become invalid. Subject to change without notice.

Requirements

2

Some of these specifications require particular machine
configurations. Please also note that, for some functions, a special
PLC program must be created by the manufacturer.

Contents

TNC contouring control from HEIDENHAIN

2

Overview tables

4

Control components

12

Accessories

17

Cable overview

27

Technical description

29

Data transfer and communication

46

Mounting information

49

Overall dimensions

51

General information

63

Other HEIDENHAIN controls

65

Subject index

66

Please refer to the page references in the tables with thespecifications.

3Overview tables
Overview of TNC 320 components

Control system

TNC 320

Page

Main computer

MC 321

12

Memory medium

CFR CompactFlash memory card

12

NC software license

On SIK component

12

Screen15-inch color flat-panel display (integrated)

Operating panel

Integrated

Machine operating panel

MB 521

15

Encoder input board

Necessary as of 4 axes and closed-loop spindle

13

Connecting cables

✓

27

4

Accessories

Accessory
Electronic handwheels

Workpiece touch probes

Tool touch probes

TNC 320• HR 510 FS portable handwheel, or• HR 520 FS portable handwheel with display, or• HR 550 FS portable wireless handwheel with display, or• HR 130 panel-mounted handwheel, or• Up to three HR 150 panel-mounted handwheels via HRA 110 handwheel adapter• TS 260 touch trigger probe with cable connection, or• TS 460 touch trigger probe with radio and infrared transmission, or• TS 740 touch trigger probe with infrared transmission• TT 160 touch trigger probe with cable connection, or• TT 460 touch trigger probe with radio and infrared transmission, or

Page
19

17

18

PLC input/output system

For additional internal PLC inputs and outputs
PL 510 consisting of PLB 51x basic module and I/O modules

16

USB hub✓

47

Programming station

Control software for PCs for programming, archiving, and training• Single-station license with original control keyboard• Single-station license with virtual keyboard• Network license with virtual keyboard• Demo version with virtual keyboard or PC keyboard—free of charge

Snap-on keys

For controls and handwheels

23

Accessories / Software

TNC 320Page

PLCdesign1)

PLC development software

42

KinematicsDesign1)

Software for creation of kinematic models

36

TNCremo2), TNCremoPlus2)

Data transfer software (TNCremoPlus with “live” screen)

47

ConfigDesign1)

Software for configuring the machine parameters

38

CycleDesign1)

Software for creating cycle structures

45

TNCkeygen1)

Software for enabling SIK options for a limited time, and for single-day access to the
OEM area

12

TNCscope1)

Software for data recording

39

TeleService1)3)

Software for remote diagnostics, monitoring, and operation

39

RemoTools SDK1)

Function library for developing customized applications for communication with
HEIDENHAIN controls

48

TNCtest1)

Software for creation and execution of an acceptance test

39

TNCanalyzer1)

Software for the analysis and evaluation of service files

401) Available to registered customers for downloading from the Internet

2) Available to all customers (without registration) for downloading from the Internet
3) Software release module required5Specifications

Specifications

TNC 320

Page

Axes

6 control loops, of which up to 2 are configurable as spindles

30

PLC axes✓

30

Central drive✓30Open-loop axes✓

30

Main spindles

Milling: max. 2; second spindle can be controlled by PLC alternately with the first

Analog nominal speed value

Up to 100 000 rpm

Digital control over PLC outputs✓

Position-controlled spindle✓

32

Oriented spindle stop✓

32

Gear shifting✓

32

NC program memory

1.8 GB

32

Input resolution and display step
Linear axes

0.1 μm30

Rotary axes

0.0001°

30

Interpolation
Straight line

4 of 5 axes

Circular2 of 5 axes

Helical

✓Axis feedback control

Analog speed command interface ± 10 V (X8)With following error✓

With feedforward✓

34

Cycle times
Block processing

3 ms

Path interpolation

3 ms

Permissible temperature range

Operation:
In electrical cabinet: 5 °C to 40 °C
In operating panel: 0 °C to 50 °C
Storage: –20 °C to 60 °C

635

Interfacing to the machineInterfacing to the machine

TNC 320

Page

Error compensation✓

37

Linear axis error✓

37

Nonlinear axis error✓

37

Backlash✓37

Hysteresis✓

37

Thermal expansion✓

37

Static friction✓

37

Sliding friction✓

37

Integrated PLC✓

41

Program format

Statement list

41

Program input at the control

By external USB keyboard

41

Program input via PC✓

41

Symbolic PLC-NC interface✓

41

PLC memory

350 MB41

PLC cycle time

9 ms to 30 ms (adjustable)

41

PLC inputs, DC 24 V1)

31 (expandable via PL); additional 25 on the machine operating panel

16

PLC outputs, DC 24 V1)

31 (expandable by PL)

16

Inputs for PT 100 thermistors

Via PL16

PLC functions✓

41

Small PLC window✓

41

PLC soft keys✓

41

PLC positioning✓

42

PLC basic program✓

44

Integration of applications

43

High-level language programming Python programming language used in combination with the PLC (option 46)

43

User interfaces can be customdesigned

43

Create specific user interfaces of the machine tool builder with the programminFg
language Python. The standard version provides 10 MB of memory for programs.
Additional memory can be enabled via option 46.

1) Further PLC inputs/outputs over PL 510 for connection to MC

7

Interfacing to the machine

TNC 320

Page
38

Commissioning anddiagnostic aids
ConfigDesign

Software for creating the machine configuration

38

Integrated oscilloscope✓

38

Trace function✓

39

API DATA function✓

39

Table function✓

39

OLM (online monitor)

✓

39

Log

✓

39

TNCscope✓

39

Commissioning wizard

For analog axes

38

Data interfaces✓

Ethernet

1000BASE-T

46

USB

Rear: 2 x USB 3.0
Front: USB 2.0

46

V.24/RS-232-C

✓

46
46

Protocols
Standard data transmission✓

46

Blockwise data transfer

✓

46

LSV2

✓

46
33

Encoder inputs
Position

4 (optional: 6)

33

Incremental

1 VPP

33

Absolute

EnDat 2.1

331) Further PLC inputs/outputs over PL 510 for connection to MC

8

Short description✓

TNC 320
OptionUser function

Standard

User functions

0
1

Basic version: 3 axes plus closed-loop spindle
1st additional axis for 4 axes plus closed-loop or open-loop spindle
2nd additional axis for 5 axes plus closed-loop or open-loop spindle

Program entry✓✓

HEIDENHAIN Klartext
ISO via soft keys or via external USB keyboard

Position values✓✓✓

Nominal positions for lines and arcs in Cartesian coordinates or polar coordinates
Incremental or absolute dimensions
Display and entry in mm or inches

Tool compensation✓✓

Tool radius in the working plane and tool length
Radius compensated contour look ahead for up to 99 blocks (M120)

Tool tables✓Multiple tool tables with any number of tools

Cutting data✓

Automatic calculation of spindle speed, cutting speed, feed per tooth, and feed per revolution

Constant contour
speed

✓
✓

Relative to the path of the tool center
Relative to the tool’s cutting edge

Parallel operation✓

Creating a program with graphical support while another program is being run
8
8

Rotary tablemachining

Programming of cylindrical contours as if in two axes
Feed rate in distance per minuteContour elements

✓
✓
✓
✓
✓
✓
✓

Straight line
Chamfer
Circular path
Circle center
Circle radius
Tangentially connecting circular arc
Corner rounding

Contour approachand departure✓✓

Via straight line: tangential or perpendicular
Via circular arc

FK free contour
programming✓

FK free contour programming in HEIDENHAIN Klartext format with graphic support for workpiecedrawings not dimensioned for NC

Fixed cycles

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

Drilling, conventional and rigid tapping
Rectangular and circular pockets
Face milling
Peck drilling, reaming, boring, counterboring, centering
Milling internal and external threads
Clearing level and oblique surfaces
Multi-operation machining of straight and circular slots
Multi-operation machining of rectangular and circular pockets, and rectangular and circular studs
Cartesian and polar point patterns
Contour train, contour pocket
Engraving cycle: Engrave text or numbers in a straight line or on an arc
OEM cycles (special cycles developed by the machine tool builder) can be integrated

9

Program jumps✓✓✓

Coordinatetransformation✓

Q parameters
Programming withvariables✓

TNC 320
OptionStandard

User function

Subprograms
Program-section repeats
Calling any program as a subprogram
8

Shifting, rotating, mirroring, scaling (axis-specific)
Tilting the working plane, PLANE function✓

Mathematical functions =, +, –, *, /, sin α, cos α, tan α, arc sin, arc cos, arc tan, an, en, ln, log, angle α
from sin α and cos α, square root of a, square root of (a2 + b2)
Logical operations (=, = /, <, >)Calculating with parentheses
Absolute value of a number, constant π, negation, truncation of digits before or after the decimal
point
Functions for calculation of circles

Programming aids

✓
✓
✓
✓
✓
✓

Calculator
Complete list of all current error messages
Context-sensitive help function for error messages
TNCguide: the integrated help system. User information available directly on the TNC
Graphical support for programming cycles
Comment and structure blocks in the NC program

CAD viewer✓

Display of standardized CAD file formats on the TNC

Teach-In✓

Actual positions can be transferred directly into the NC program

Test graphics
Depictions✓✓✓

Graphical simulation before a program run, even while another program is running
Plan view / projection in 3 planes / 3-D view, also in tilted working plane / 3-D line graphics
Detail zoom

Programming
graphics✓

In Programming and Editing mode, the contours of entered NC blocks are rendered (2-D pencil-tracegraphics), even while another program is running

Program-run
graphics
Display modes✓

Graphical simulation during real-time machining✓

Plan view / projection in 3 planes / 3-D view

Machining time✓✓

Calculation of machining time in the Test Run operating mode
Display of the current machining time in the Program Run operating modes

Returning to thecontour✓Mid-program startup in any block in the program, returning the tool to the calculated nominal position
to continue machining
Program interruption, contour departure and return

✓
✓
✓

✓

Preset management ✓For saving any reference points

Datum tables✓Multiple datum tables for storing workpiece-specific datums

Touch probe cycles

✓
✓
✓
✓

Calibrating the touch probe
Compensation of workpiece misalignment, manual or automatic
Reference-point setting, manual or automatic
Automatic tool and workpiece measurement

Conversational
languages✓

English, German, Czech, French, Italian, Spanish, Portuguese, Dutch, Swedish, Danish, Finnish,
Norwegian, Slovenian, Slovak, Polish, Hungarian, Russian (Cyrillic), Romanian, Turkish, Chinese(traditional and simplified), Korean

10Options

OptionnumberOptionAs of NC
software771851-ID

Comment

Page

0

Additional Axis 101354540-01

Additional control loop 1

131Additional Axis 201353904-01

Additional control loop 2

138Advanced Function
Set 1

01

536164-01

Rotary table machining• Programming of cylindrical contours as if in two axes
• Feed rate in distance per minute30

Coordinate transformation• Tilting the working plane, PLANE function

31

Interpolation• Circular in 3 axes with tilted working plane
18

HEIDENHAIN DNC

01526451-01

Communication with external PC applications over COM
component

24

Gantry axes

01

634621-01

Gantry axes in master-slave torque control

42

CAD import

01

526450-01

Importing of contours from 2-D and 3-D models, e.g.
STEP, IGES, DXF

46

Python OEM process

01579650-01

Execute Python applications

93

Extended tool
management02676938-01

Extended tool management

133

Remote Desktop
Manager

04894423-01

Display and remote operation of external computer units(e.g., a Windows PC)

137

State Reporting

06

1232242-01 State Reporting Interface (SRI): provision of operating
statuses

31

43

48

11

Control components
Main computer

TNC 320

The standard version of the TNC 320 features four inputs for
position encoders. It can be enhanced with options.
The TNC 320 includes the MC 321 main computer with:• Intel Celeron 1047 processor (1.4 GHz, dual-core)• 2 GB SDRAM main memory• 15-inch TFT color flat-panel display; resolution 1024 x 768 pixels• TNC keyboard• PLC• Interface to handwheel and touch probes• Further interfaces (PLC expansion, Ethernet, USB 2.0 on front,
two USB 3.0 on rear, RS-232-C/V.24
To be ordered separately, and installed in the main computer by
the OEM:• CFR CompactFlash memory card with the NC software• The System Identification Key component (SIK) for enabling
control loops and options

MC 321

Position inputs
Mass

Power supply

Supply voltage1)
Power consumption

4 x 1 VPP or EnDat(optional 5 x 1 VPP or EnDat)
8 kg
ID 824012-xx
24 V DC60 W

1) PELV according to EN 61800-5-1 for low voltage electricalseparation

Memory medium

The storage medium is a CFR (= CompactFlash Removable)compact flash memory card. It contains the NC software andis used to store NC and PLC programs. The storage medium
is removable and must be ordered separately from the main
computer.
This CFR uses the fast SATA protocol (CFast).
CFR CompactFlash 8 GB
Free capacity for NC programs
Free capacity for PLC programs
No export license required

SIK component

1.8 GB
350 MB
ID 1097497-56

The SIK component contains the NC software license forenabling control loops and software options. It provides the main
computer with an unambiguous ID code—the SIK number. The
SIK component is ordered and shipped separately. It must be
inserted into a special slot in the MC main computer.
The SIK component with the NC software license is available invarious versions, depending on the enabled control loops andoptions. Additional control loops can be enabled later by entering a
keyword. HEIDENHAIN provides the keyword, which is based on
the SIK number.
When ordering, please provide the SIK number of your control.
When the keywords are entered in the control, they are savedin the SIK component. This enables and activates the options.
Should servicing become necessary, the SIK component must be
inserted into the replacement control in order to enable all of therequired options.

12

CFR CompactFlashSIK component

Master keyword(general key)

For the commissioning of the TNC 320, there is a master keyword(general key) that enables all options for a single 90-day period.
After this period, only those options with the correct keywords will
be active. The general key is activated via a soft key.

TNCkeygen(accessory)

TNCkeygen is a collection of PC software tools for generating
enabling keys for HEIDENHAIN controls for a limited period oftime.
With OEM Key Generator, you can generate enabling keys forsoftware options by entering the SIK number, the option to beenabled, the duration, and a manufacturer-specific password. The
enabling period is limited to 10 to 90 days. Each option can be
enabled only once. This option enabling is independent of thegeneral key.
The OEM daily key generator generates an enabling key for theprotected OEM area. The operator is thereby given access to thearea on the day the key was generated.

NC software
licenseSIK with software license and enabling for

Axis options

With the NC software license for three axes, two additional control
loops can be enabled later:

4 control loops (3 axes plus closed-loop spindle)
5 control loops (4 axes plus closed-loop spindle)

1st additional axis
2nd additional axis
Encoder input
board

ID 533093-51
ID 533093-52

ID 354540-01
ID 353904-01

An additional encoder input board is required for axis
configurations with four or more axes plus closed-loop spindle.
Encoder input board

ID 554296-xx

13

Possible
configurations

Closed-loop axes

Spindle1)

NC software license for

Necessary options

3

Closed loop

4 control loops–

4Open loop

4 control loops

1st additional axis

5 control loops–

4 control loops

1st additional axis
Encoder input board

5 control loops

Encoder input board

4 control loops

1st additional axis
2nd additional axis
Encoder input board

5 control loops

2nd additional axis
Encoder input board

4 control loops

1st additional axis
2nd additional axis
2 encoder input boards

5 control loops

2nd additional axis
2 encoder input boards

4

5

5

Closed loop

Open loop

Closed loop

1) For the open-loop spindle, the TNC specifies the spindle speed as an analog nominal speed value. For theclosed-loop spindle, position feedback is provided, for example, for oriented spindle stop.

Options

The capabilities of the TNC 320 can also be adapted at a latertime with options to meet new requirements. These options aredescribed on page 11. They are enabled by entering keywords
based on the SIK number and are saved in the SIK component.
Please provide your SIK number when ordering new options.

TNC keyboard

The keys for the Z axis, axis IV, and axis V are designed as snap-on
keys and can be replaced by keys with other symbols (see Snapon keys).

Export license

An export license is generally not required for the TNC 320
because the NC software limits the number of interpolatable axes
to four. The 5th axis can be used for the spindle or as an auxiliary
axis.

14

Machine operating panel

MB 521machineoperating panel• 36 exchangeable snap-on keys, freely definable via PLC• Operating elements

12 axis keys, 18 function keys, NC start1), NC stop1), spindle
start, spindle stop (snap-on)
emergency stop, control voltage On1)
2 holes for additional keys or keylock switches• Additional connections:
Terminals for 7 PLC inputs and 8 PLC outputs
1)

Keys illuminated, addressable via PLC

MB 521Mass

ID 823882-xx≈ 1 kg15

PL 510 PLC input/output system

PL 510If the PLC inputs/outputs of the control do not suffice, you canconnect additional PL 51x PLC input/output systems. These
external modular I/O systems consist of a PLB 51x basic moduleand one or more PLD 16-8 and PLA 4-4 input/output modules.

PL 510

Basic modules

Basic modules feature slots for 4, 6 or 8 I/O modules. Mounted onstandard NS 35 rails (DIN 46 227 or EN 50 022).
Supply voltage
Power consumptionMass

DC 24 V≈ 20 W
0.36 kg (bare)

Basic modules with HEIDENHAIN PLC interface
PLB 510
Slots for 4 I/O modules
PLB 511
Slots for 6 I/O modules
PLB 512
Slots for 8 I/O modules

ID 358849-01
ID 556941-01
ID 557125-01

Up to four PLB 510 modules and up to two PLB 511 or PLB 512
modules can be connected to the control. The maximum cable
length to the last PLB 51x is 30 m.
I/O modules

The I/O modules consist of one module with digital inputs/outputs
and one analog module. For partially occupied basic modules, theunused slots must be occupied by an empty housing.
PLD 16-8
ID 360916-11
I/O module for PL 5x0 with
16 digital inputs and8 digital outputs.
The maximum power output per module is 200 W. A load of up to
2 A can be placed on each output. No more than four outputs may
be loaded with 2 A at any given time.
Mass
0.2 kg
PLA 4-4
ID 366423-01
Analog module for PL 5x0 with
4 analog inputs for PT 100 thermistors
4 analog inputs for ±10 V
Mass
0.2 kgEmpty housing

16

For unused slots of thesystem PL

ID 383022-xx

Accessories
Touch probes

Overview

The standard TNC 320 is equipped for the connection of touchprobes for tool and workpiece measurement. These touch probes
generate a trigger signal that saves the current position value
to the NC. The EnDat interface makes touch probes intelligent
and allows for greater convenience when connecting them to
HEIDENHAIN controls. For more information on touch probes,
please refer to the Touch Probes for Machine Tools brochure(ID 1113984).

Workpiece
measurement

The TS touch trigger probes feature a stylus for probing
workpieces. HEIDENHAIN controls feature standard routines foraligning and measuring workpieces, and for setting presets. The
touch probes are available with various clamping shanks. Assorted
styli are available as accessories.
Touch probes with cable connection for signal transmission formachines with manual tool change:

TS 260TS 268TS 260: new generation touch probe for NC machines
TS 268: like the TS 260, but with reduced deflection forces

TS 260Touch probe with radio and infrared transmission for machineswith an automatic tool changer (for the appropriate transceiver, seepage 18):
TS 460

New generation touch probe with compact dimensions• Hybrid technology: Signal transmission via radio and infrared
signals• Large transmission range and long operating time
• Mechanical collision protection and thermal decoupling• With EnDat functionality

TS 460Touch probes with infrared transmission for machines with anautomatic tool changer (for the appropriate transceiver, see page18):
TS 642

Activation via switch in taper shank

TS 740High probing accuracy and reproducibility, low probing force

17

Tool
measurement

The touch probes for tool measurement from HEIDENHAIN
are suited for probing stationary or rotating tools directly on
the machine. The TNC 320 features standard cycles for themeasurement of tool length and diameter, as well as of individual
teeth. The TNC 320 automatically saves the measured tool
dimensions in a tool table. It is also possible to measure tool wear
between two machining steps. For the next machining operation,
the TNC 320 automatically compensates for the tool dimensions
or inserts a replacement tool (as when a tool breaks).
With the TT touch trigger probes, the disk-shaped probe contact
is deflected from its resting position by contact with the stationary
or rotating tool, and a trigger signal is transmitted to the TNC 320.

TT 160

New generation touch probe; signal transmission to the control
over connecting cableTT 160TT 460

New generation touch probe, with hybrid technology: signaltransmission via radio or infrared beam (see below for theappropriate transceiver unit). Optionally available with EnDat
functionality.

TransceiverRadio and infrared communication is established between the TS
or TT touch probe and the SE transceiver.
SE 660 for radio and infrared transmission (hybrid technology);
SE unit for both the TS 460 and TT 460;
SE 540 for infrared transmission; for installation in the spindle
head
SE 642 for infrared transmission; SE for both the TS and TT

SE 661

The following combinations are possible:
SE 660*18

SE 661*

SE 540SE 642

InfraredInfraredInfraredInfrared

TS 460Radio/infrared

TS 642

Infrared

TS 740–InfraredInfrared

TT 460Radio/infrared

InfraredInfraredWith EnDat interface–

Electronic handwheels

Overview

Support for electronic handwheels is standard on the TNC 320:
• One HR 550 FS wireless handwheel, or• One HR 510 or HR 520 portable handwheel, or• One HR 130 panel-mounted handwheel, or• Up to three HR 150 panel-mounted handwheels via HRA 110

HR 510Portable electronic handwheel with:• Keys for actual-position capture and the selection of five axes
• Keys for traverse direction and three preset feed rates• Three keys for machine functions (see below)• Emergency stop button and two permissive buttons (24 V)• Magnetic holding pads
All keys are designed as snap-on keys and can be replaced by keys
with other symbols (see overview for HR 510 in Snap-on keys for
handwheels).

HR 510HR 510 FS

Keys

Without
detentWith detent

NC start/stop,
spindle start(for basic PLC
program)

ID 1119971-xx

ID 1120313-xx

FCT A, FCT B,
FCT C

ID 1099897-xx –Spindle right/left/
stop

ID 1184691-xx–

NC start/stop,
spindle start(for basic PLC
program)

ID 1120311-xx

ID 1161281-xx

FCT A, FCT B,
FCT C

–

ID 1120314-xx

Spindle start,
FCT B, NC start–

ID 1119974-xx

HR 510Mass ≈ 0.6 kg
HR 520Portable electronic handwheel with:• Display for operating mode, actual position value, programmed
feed rate and spindle speed, error messages• Override potentiometers for feed rate and spindle speed• Selection of axes via keys or soft keys
• Actual position capture• NC start/stop• Spindle on/off• Keys for continuous traverse of the axes
• Soft keys for machine functions of the machine manufacturer• Emergency stop button
Without detent With detent
HR 520ID 670302-xx

ID 670303-xx

HR 520 FS

ID 670304-xx

ID 670305-xx

Mass ≈ 1 kg
Holder for HR 520

For attaching to a machine

HR 520ID 591065-xx

19

HR 550 FS

Electronic handwheel with wireless transmission. Display,
operating elements, and functions are like those of the HR 520
In addition:• Functional safety (FS)• Radio transmission range of up to 20 m (depending on
environment)
HR 550 FS

Without detentWith detent

ID 1200495-xx
ID 1183021-xx

Replacement
battery

For HR 550 FS

ID 623166-xx

HR 550 FS with HRA 551 FS

HRA 551 FS

Handwheel holder for HR 550 FS• For docking the HR 550 FS onto the machine• Integrated battery charger for HR 550 FS• Connections to the control and the machine• Integrated transceiver• HR 550 FS magnetically held to front of HRA 551 FS
HRA 551 FS
Mass

ID 1119052-xx≈ 1.0 kg

For more information, see the HR 550 FS Product Information
sheet.

20

Connecting cables

HR 510HR 510 FS

HR 520HR 520 FS

HR 550 FS
with
HRA 551 FS

–

–

✓

✓

–

ID 312879-01

✓

✓

–

–

–

ID1117852-03

Connecting cable with –metal armor
✓

–

✓

✓

–

ID 296687-xx

✓

–

–

–

ID 1117855-xx

Connecting cablewithout metal armor

–

–

✓

✓

✓ (max. 2 m)

ID 296467-xx

✓

✓

–

–

–

ID 1117853-xx

Adapter cable for
HR/HRA to MC,straight connector

✓

✓

✓

✓

✓1)

ID 1161072-xx

Adapter cable for
HR/HRA to MC,
angled connector
(1 m)

✓

✓

✓

✓

✓1)

ID 1218563-01

Extension cable toadapter cable

✓

✓

✓

✓

✓1)

ID 281429-xx

Adapter cable for HRA –
to MC

–

–

–

✓2)

ID 749368-xx

Extension cable toadapter cable

–

–

–

–

✓2)

ID 749369-xx

Adapter connector for ✓handwheels without
functional safety

–

✓

–

–

ID 271958-03

Adapter connector
for handwheels withfunctional safety

✓

–

✓

✓

ID 271958-05

Connecting cable(spiral cable) to HR
(3 m)

–

1) For maximum cable lengths up to 20 m between the MB and HRA 551 FS
2) For maximum cable lengths up to 50 m between the MB and HRA 551 FS

See also Cable overview on Page 27.
HR 130Panel-mounted handwheel with ergonomic control knob.
It is attached to the MB 7x0 or the TE 7x5 either directly or via an
extension cable.
HR 130
Mass

Without detentWith detent≈ 0.7 kg

ID 540940-03
ID 540940-01

HR 130

HR 150Panel-mounted handwheel with ergonomic control knob forconnection to the HRA 110 handwheel adapter.
HR 150
Mass

Without detentWith detent≈ 0.7 kg

ID 540940-07
ID 540940-06

HR 15021

HRA 110

Handwheel adapter for connection of up to three HR 150 panelmounted handwheels and two step switches for axis selection
and configuration of the subdivision factor. The first and second
handwheels are assigned to axes 1 and 2. The third handwheel isassigned to the axes via a step switch or via machine parameters.
The position of the second step switch is evaluated over the PLC(e.g., to select the subdivision factor).
HRA 110Mass

22≈ 1.5 kg

ID 261097-xx
HRA 110

Snap-on keys for handwheels

Snap-on keys

The snap-on keys make it easy to replace the key symbols. In thisway, the HR handwheel can be adapted to different requirements.
The snap-on keys are available in packs of five keys.

Overview for HR 520, HR 520 FS, and HR 550 FS
Axis keys

OrangeGray

Machinefunctions
Black
Black
Black
Black

Spindlefunctions

Other keys

Red

Red

Green

Green

Black

Red

Gray

Black

Green

Black

Red

Black

Green

Black

Green

23

Overview for HR 510 and HR 510 FS
Axis keys

OrangeGray

Machinefunctions

Spindlefunctions

Other keys

Black

Black

Green

Red

Black

Gray

Red

Black
Green
Red

24

Black

Green

OrangeSnap-on keys for controls

Snap-on keys

The snap-on keys make it easy to replace the key symbols. In thisway, the keyboard can be adapted to different requirements. The
snap-on keys are available in packs of five keys.

Overview of control keys
Keys

OrangeGray

Machinefunctions

Black
Green

Black

Red

Black
Black

25

Red

Spindlefunctions

Green
Green

Red

Other keys

Black

Gray
Black

Red

Orange

Black
Black

Green

Special keys

26

Snap-on keys can also be made with special key symbols for
special applications. The laser labeling differs in appearance fromthe labeling of the standard keys. If you need keys for special
applications, please consult your contact person at HEIDENHAIN.

Red

X3

MB 521
823882-01

629663-xx

X10251250-01

08.01.2018

Cable overview
TNC 320

27

30m

28

PLC

354770-xx

5m371046-xx

X147

X13

X12

X27

X23

1070793-xx

TNC 320

X141/X142

624775-xx

25m

USB hub
582884-xx

371046-xx

PL 5104 x max.

1070793-xx

663511-xx

660042-xx

368330-xx

745454-xx
745454-xx

274543-xx

368330-xx

747400-xx

663508-xx

517376-xx

310197-xx

TT 160366964-xx

TS 260TS 2481218563-01

1161072-xx

1218563-01

1161072-xx

20m

UTI 240658883-xx

20m

663631-xx

HR 5101119971-xx
1120313-xx
1099897-xx
1184691-xx

HR 520670302-xx
670303-xx

HR 550 FS
1200495-xx
1183021-xx

HR 510 FS
1119974-xx
1120311-xx
1120314-xx
1161281-xx

HR 520 FS
670304-xx
670305-xx

TS 44x

TS 640620189-xx

SE 660SE 642TT

TS

With SE 660:
TT 460 and TS 460

15.03.2019

VL: Extension cable– for separation points with connecting cable– for extending existing connecting cableWith SE 642:
TT 460 or TT 449 and TS 460,
TS 740, TS 64x or TS 44x50m

SE 640631225-xx

SE 540626001-xx

517375-xx

0.5m

V.24/RS-232-C

PC

271958-03-051117855-xx

1117853-xx

1117852-03

296687-xx

296467-xx

312879-01

1119052-xx

Accessories

Technical description
Operating system

HEROS 5The TNC 320 works with the real-time capable HEROS 5 operating
system (HEIDENHAIN Realtime Operating System). This futureoriented operating system contains the following powerful
functions as part of its standard repertoire:
Network– Network: management of network settings– Printer: management of printers– Shares: management of network shares– VNC: virtual network computing server
Safety– Portscan (OEM): port scanner– Firewall: protection against undesired network access– SELinux: protection against unauthorized changes to system
files– Sandbox: running applications in separated environments
System– Backup/Restore: function for backing-up and restoring thecontrol– HELogging: evaluation and creation of log files– Perf2: system monitor– User administration: define users with different roles andaccess permissions
Tools– Web browser: Firefox®*– Document Viewer: display PDF, TXT, XLS, and JPEG files– File Manager: file explorer for managing files and memory
media– Gnumeric: spreadsheet calculations– Leafpad: text editor for creating notes– Ristretto: display of image files– Orage Calendar: simple calendar function– Screenshot: creation of screendumps– Totem: media player for playing audio and video files

Useradministration

The improper operation of a control often leads to unplannedmachine downtime and costly scrap. The user administration
feature can significantly improve process reliability throughthe systematic avoidance of improper operation. Through theconfigurable tying of permissions to user roles, access rights canbe tailored to the given responsibilities of each operator.

• Logging on to the control with a user account• User-specific HOME folder for simplified data management• Role-based access to the control and network data*

Firefox is a registered trademark of the Mozilla Foundation

29

Axes

Linear axes

The TNC 320 can control linear axes with any axis designation(X, Y, Z, U, V, W, ...).

Display andprogramming–99 999.9999 to +99 999.9999 [mm]Feed rate in mm/min relative to the workpiece contour, or mm perspindle revolution
Feed rate override: 0 % to 150 %Traverse range–99 999.9999 to +99 999.9999 [mm]The machine tool builder defines the traverse range. The user can
set additional limits to the traverse range if he wishes to reduce
the working space. Three different traverse ranges can be defined(selection via PLC).

Rotary axes

The TNC 320 can control rotary axes with any axis designation(A, B, C, U, ...). Special parameters and PLC functions are available
for rotary axes with Hirth coupling.

Display andprogramming

0° to 360° or–99 999.9999 to +99 999.9999 [°]Feed rate in degrees per minute [°/min]Traverse range–99 999.9999 to +99 999.9999 [°]The machine tool builder defines the traverse range. The user can
set additional limits to the traverse range if he wishes to reduce
the working space. Various traverse ranges can be defined per axis
using parameter sets (selection by PLC).

Cylinder surface
interpolation(option 8)30

A contour defined in the working plane is machined on a cylindricalsurface.

Tilting theworking plane(option 8)

The TNC 320 has special coordinate transformation cycles forcontrolling swivel heads and tilting tables. The tool lengths andoffset of the tilting axes are compensated by the TNC.
The TNC can manage more than one machine configuration (e.g.,different swivel heads).

Tilting table
Swivel head

Synchronizedaxes(option 24)

Synchronized axes move in synchronism and are programmedwith the same axis designation.
With HEIDENHAIN controls, parallel axis systems (gantry axes)
such as on portal-type machines or tilting tables can be moved
synchronously to each other through high-accuracy and dynamic
position control.
In the case of gantry axes, multiple gantry slave axes can be
assigned to a single master axis. They may also be distributed tomultiple controller units.

PLC axes

Axes can be defined as PLC axes. Programming is performed
through M functions or OEM cycles. The PLC axes are positioned
independently of the NC axes and are therefore designated asasynchronous axes.

31

Spindle

Analog nominal
speed value

Up to 100 000 rpm

Positioncontrolled spindle

The position of the spindle is monitored by the control.

Encoder

HEIDENHAIN rotary encoder with sinusoidal voltage signals (1 VPP)
or EnDat interface.

Tapping

There are special cycles for tapping with or without floating tap
holder. For tapping without floating tap holder, the spindle must be
operated under position control.

Spindleorientation

With a position-controlled spindle, the spindle can be positioned
exactly to 0.1°.

Spindle override

0 % to 150 %Gear ranges

A separate nominal speed is defined for each gear range. The gearstages are controlled by the PLC.

Multiple main
spindlesUp to two spindles can be controlled alternately. The spindles are
switched by the PLC. One control loop is required for each active
spindle.

32

Encoders

Overview

For speed and position control of the axes and spindle,
HEIDENHAIN offers both incremental and absolute encoders.

Incremental
encoders

Incremental encoders have as their measuring standard a grating
consisting of alternating lines and spaces. Relative movement
between the scanning head and the scale causes the output ofsinusoidal scanning signals. The measured value is calculated bycounting the signals.

Reference markWhen the machine is switched on, the machine axes needto traverse a reference mark for an accurate reference to beestablished between the measured value and the machine
position. For encoders with distance-coded reference marks,
the maximum travel until automatic reference mark evaluation
for linear encoders is only 20 mm or 80 mm, depending on themodel, or 10° or 20° for angle encoders.

Evaluation ofreference marks

The routine for traversing the reference marks can also be started
for specific axes via the PLC during operation (reactivation ofparked axes).

Output signals

Incremental encoders with sinusoidal output signals with ~ 1 VPP
levels are suitable for connection to HEIDENHAIN numericalcontrols.

Absolute
encoders

With absolute encoders, the position information is contained
in several coded tracks. Thus, an absolute reference is available
immediately after switch-on. A reference-mark traverse is notnecessary. Additional incremental signals are output for highly
dynamic control loops.

EnDat interface

The TNC 320 features the serial EnDat 2.1 interface for theconnection of absolute encoders.
Note: The EnDat interface on HEIDENHAIN encoders differs in
its pin assignment from the interface on Siemens motors withintegrated absolute ECN/EQN rotary encoders. Special adapter
cables are available.

Encoder inputs for
position control

Incremental and absolute linear, angle, or rotary encoders from
HEIDENHAIN can be connected to encoder inputs of the
TNC 320.
Channel inputs

Signal level/Interface1)

Input frequency1)

Incremental~1 VPP

33 kHz/350 kHz

Absolute

EnDat 2.1
~1 VPP–
33 kHz/350 kHz

1) Switchable

33

Servo control

Analog speedcommandinterface

The position controller is integrated in the TNC 320. The motor
speed controller and the current controller are located in the
servo amplifier. The nominal speed command signal (= velocity)
is sent by the TNC to the servo amplifier through an analog ±10 V
interface (connection X8).

Axis feedback
control

The TNC 320 can be operated with following error or feedforward
control.

Operation withfollowing error

The term “following error” denotes the distance between the
momentary nominal position and the actual position of the axis.
The velocity is calculated as follows:v = kv · sa

v
kv
sa

= Velocity= Position loop gain
= Following error

Operation withfeedforward
controlFeedforward means that a given velocity and acceleration are
adapted to the machine. Together with the values calculated fromthe following error, this given velocity and acceleration becomesthe nominal value. A much lower following error thereby manifests
itself (in the range of only a few microns). Feedforward isadjustable from 0 % to 100 % by means of a machine parameter.

Central drive

It is possible to use one common drive for several or all machineaxes. The NC software allows the user to use the same nominal
position value output for more than one axis.
The most important basic requirements for realizing a machinewith central drive:• Common drive package with an analog nominal position value
input for all axes
• The PLC must treat the machine axes as clamping axes
• The PLC monitors the drive regarding movement in multiple
axes and outputs an error message if necessary

34

Control loop cycle
times

The cycle time for path interpolation is defined as the timeinterval during which interpolation points on the path arecalculated. The control-loop cycle time of the TNC 320 is 3 ms.

Axis clamping

The control loop can be opened through the PLC in order to clamp
specific axes.

Block processing
time

When running long programs from the internal memory, the TNC
has a short block processing time of only 3 ms. This means that
the TNC can even mill contours made of 0.25 mm line segments
at feed rates as high as 5 m/min.

Look-ahead

The TNC 320 calculates the geometry ahead of time in order toadjust the feed rate. In this way, directional changes are detected
in time to accelerate or decelerate the appropriate NC axes.

Open-loop axes

One or more axes can be defined as open-loop axes (manual axes,
counter axes). They have position encoders for determining anddisplaying the current position value, but no nominal-value outputs.
The target position is reached manually (e.g., through mechanicalhandwheels). If an NC block with the open-loop axis is reached, adialog window prompts the machine operator to move the axis tothe nominal coordinates.

35

Monitoring functions

Description

During operation the control monitors the following details*:• Amplitude of the encoder signals• Edge separation of the encoder signals• Absolute position from encoders with distance-coded referencemarks• Current position (following error monitoring)• Actual distance traversed (movement monitoring)• Position deviation at standstill• Checksum of safety-related functions• Supply voltage• Voltage of the backup battery• Operating temperature of the MC and CPU• Run time of the PLC program
In the event of hazardous errors, an emergency stop message issent to the external electronics via the control-is-ready output, andthe axes are brought to a stop. The correct connection of the TNC
320 in the machine’s emergency stop loop is checked when thecontrol system is switched on. In the event of an error, the control
displays a message in plain language.

Context-sensitivehelp

The HELP and ERR keys provide the user with context-sensitive
help. This means that in the event of an error message, the control
displays information on the cause of the error and proposes
solutions. The machine tool builder can also use this function for
PLC error messages.

KinematicsDesign(accessory)

KinematicsDesign is a PC program for creating adaptablekinematic configurations. It supports the following:• Complete kinematic configurations• Transfer of configuration files between control and PC• Description of tool-carrier kinematics
Kinematic descriptions created for the iTNC 530 can
also be transferred into kinematic descriptions for the
TNC 640/620/320/128.
If KinematicsDesign is connected to a control online (operationis also possible with the programming station software), thenmachine movements can be simulated, and the axes are moved.
The visualization possibilities range from the pure depiction of thetransformation chain and a wire model to a depiction of the entire
working space.

*

No safety functions

36

Error compensation

Overview

The TNC 320 automatically compensates mechanical errors of themachine.

Linear error

Linear error can be compensated over the entire travel range foreach axis.

Nonlinear error

The TNC 320 can compensate for ball-screw pitch errors and sag
errors simultaneously. The compensation values are stored in atable. Nonlinear axis-error compensation also makes it possible tocompensate for position-dependent backlash.

Backlash

The play between table movement and rotary encoder movement
during direction changes can be compensated in length
measurements by spindle and rotary encoder. This backlash isoutside the controlled system.

Hysteresis

The hysteresis between table movement and motor movement isalso compensated in direct length measurements. In this case, thehysteresis is within the controlled system.

Reversal spikes

In circular movements, reversal spikes can occur at quadranttransitions due to mechanical influences. The TNC 320 cancompensate for these reversal spikes.

Static friction

At very low feed rates, high static friction can cause the slide tostop and start repeatedly for short periods. This is commonly
known as stick-slip. The TNC 320 can compensate for thisproblematic behavior.

Sliding friction

Sliding friction is compensated for by the speed controller of the
TNC 320.

Thermalexpansion

To compensate for thermal expansion, the machine’s expansion
behavior must be known.
The temperature is ascertained by thermistors connected to theanalog inputs of the TNC 320. The PLC evaluates the temperature
information and passes the compensation value to the NC.

37

Commissioning and diagnostic aids

Overview

The TNC 320 provides comprehensive internal commissioning anddiagnostic aids. It also includes highly effective PC software fordiagnostics, optimization, and remote control.

ConfigDesign(accessory)

PC software for configuring the machine parameters• Stand-alone machine-parameter editor for the control; all support
information, additional data, and input limits are shown for theparameters• Configuration of machine parameters• Comparison of parameters from different controls• Importing of service files: easy testing of machine parameters in
the field• Rule-based creation and management of machine configurations
for multiple controls (together with PLCdesign)

Oscilloscope

The TNC 320 features an integrated oscilloscope. Both X/t and X/Ygraphs are possible. The following characteristic curves can berecorded and stored in six channels:• Actual value and nominal value of the axis feed rate
• Contouring feed rate
• Nominal and actual position• Following error of the position controller• Nominal values for speed, acceleration, and jerk
• Actual values for acceleration and jerk
• Nominal value of analog output• Content of PLC operands• Encoder signal (0°–A) and (90°–B)• Nominal velocity value

Logic signals

Simultaneous graphic representation of the logic states of up to 16
operands (markers, words, inputs, outputs, counters, timers)• Marker (M)(I)• Input• Output (O)• Timer (T)• Counter (C)• IpoLogic (X)Commissioning
wizardIn order to simplify the adaptation of the axes and spindle, thecommissioning wizard for analog axes guides you step-by-stepthrough the commissioning of any axis parameter set. You candefine the following machine parameters with the aid of thecommissioning wizard:• Ascertain the algebraic sign of the axis
• Ascertain the axis traverse direction• Ascertain the velocity with 9 V analog voltage• Ascertain the maximum acceleration of the axis
• Ascertain the kv factor of the axis
• Ascertain acceleration feedforward control for the axis

38Online Monitor(OLM)

The online monitor is a component of the TNC 320 and is calledover a code number. It supports commissioning and diagnosis ofcontrol components through the following:• Display of control-internal variables for axes and channels• Display of controller-internal variables (if a CC is present)• Display of hardware signal states• Various trace functions• Activation of spindle commands• Enabling of control-internal debug outputs

TNCscope(accessory)

PC software for transferring the oscilloscope files to a PC.
With TNCscope you can record and save up to 16 channels
simultaneously.
Note: The trace files are saved in the TNCscope data format.

API DATAThe API DATA function enables the control to display the states
or contents of the symbolic API markers and API double words.
This function requires that your PLC program use the symbolic
memory interface.
Note: The API DATA function does not provide usable display
values with the iTNC 530-compatible memory interface (API 1.0)

Table function

The current conditions of the markers, words, inputs, outputs,
counters, and timers are displayed in tables. The conditions can bechanged through the keyboard.

Trace function

The current content of the operands and the accumulators isshown in the statement list in each line in hexadecimal or decimalcode. The active lines of the statement list are marked.

Log

For the purpose of error diagnostics, all error messages andkeystrokes are recorded in a log. The entries can be read using the
PLCdesign or TNCremo software for PCs.

TeleService(accessory)

PC software for remote diagnostics, remote monitoring, andremote operation of the control. For more information, please ask
for the Remote Diagnosis with TeleService Technical Information
sheet.
Single station license
Network license For 14 workstations
For 20 workstations

TNCtestID 340449-xx
ID 340454-xx
ID 340455-xx

Acceptance tests on machine tools with external or integratedfunctional safety (FS) must be conducted reproducibly andverifiably.
The TNCtest and TestDesign program packages can be used
to plan and perform acceptance tests for machine tools with
HEIDENHAIN controls. The acceptance tests are planned with
TestDesign and run with TNCtest.
The TNCtest programs are designed to provide support during
acceptance testing, provide required information, and perform
automatic configurations, as well as record data and evaluate thedata semiautomatically. A tester must evaluate manually whether
a test case passed or failed.

39

TNCanalyzer

The TNCanalyzer application from HEIDENHAIN provides for
simple and intuitive evaluation of service files and log files.
Function:• Loading of service and log files• Analysis of temporal sequences and static states• Filters and search functions• Data export (HELogger, CSV and JSON formats)• Definition of application-specific analysis profiles• Preconfigured analysis profiles• Graphic display of signals via TNCscope• Interaction with other tools that are intended for the display of
special sections of the service file40

Integrated PLC

Overview

The PLC program is created by the machine manufacturer
either at the control (through an external PC keyboard with USB
connection) or with the PLC development software PLCdesign(accessory). Machine-specific functions are activated andmonitored via the PLC inputs/outputs. The number of PLC inputs/
outputs required depends on the complexity of the machine.

PLC expansion

If the PLC inputs/outputs of the TNC 320 do not suffice, you canconnect the external PLC input/output system PL 510.

Rated operating
current

MC main computer: 0.15 A per output
PL 510: see PL 510 PLC input/output systems

PLC programming

FormatStatement list

Memory350 MB

Cycle time

9 ms to 30 ms (adjustable)

Commandset• Bit, byte, and word commands• Logical operations• Arithmetic commands• Comparisons• Bracketed terms• Jump commands• Subprograms• Stack operations• Submit programs• Timers• Counters• Comments• PLC modules• Strings

PLC window

The TNC 320 can display PLC error messages in the dialog line
during operation.

Small PLC window

The TNC 320 can show additional PLC messages and bar
diagrams in the small PLC window.

Small PLC window

PLC soft keys

The machine manufacturer can display his own PLC soft keys inthe vertical soft-key row on the screen.

41

PLC positioning

All closed-loop axes can also be positioned
via the PLC. PLC positioning of theNC axes cannot be superimposed on
NC positioning.

PLC axes

Axes can be defined as PLC axes. They are programmedby means of M functions or OEM cycles. The PLC axes are
positioned independently of the NC axes.

PLCdesign(accessory)

PC software for PLC program development.
The PC program PLCdesign can be used for easy creation of
PLC programs. Extensive examples of PLC programs are included
with the product.
Functions:• Easy-to-use text editor• Menu-guided operation• Programming of symbolic operands• Modular programming techniques• “Compiling” and “linking” of PLC source files• Operand commenting, creation of the documentation file• Comprehensive help system• Data transfer between the PC and control• Creation of PLC soft keys

42

Python OEM
Process(option 46)

The Python OEM Process option is an effective tool for themachine tool builder to use an object-oriented high-level
programming language in the control (PLC). Python is an easy-tolearn script language that supports the use of all necessary highlevel language elements.
Python OEM Process can be used universally for machinefunctions and complex calculations, as well as to display special
user interfaces. User-specific or machine-specific solutions can be
efficiently implemented. Numerous libraries on the basis of Python
and GTK are available, regardless of whether you want to create
special algorithms for special functions, or separate solutions suchas an interface for machine maintenance software.
The applications you create can be included via the PLC in thefamiliar PLC windows, or they can be displayed in separate freewindows that can be expanded to the control’s full screen size.
Simple Python scripts (e.g., for display masks) can also be
executed without enabling Python OEM Process (software option
46). For this function, 10 MB of dedicated memory is reserved. For
more information, refer to the Python in HEIDENHAIN Controls
Technical Manual.

43

PLC basic
program

The PLC basic program serves as a basis for adapting thecontrol to the requirements of the respective machine. It can be
downloaded from the Internet.
These essential functions are covered by the PLC basic program:
Axes– Control of analog– Axes with clamping mode
– Axes with central drive– Axes with Hirth grid
– Synchronized axes
– 3-D head with C-axis mode
– Reference run, reference end position– Axis lubrication
Spindles– Control and orientation of the spindles– Spindle clamping– Alternative double-spindle operation– Parallel spindle operation– Conventional 2-stage gear system– Wye/delta connection switchover (static, dynamic)
Tool changers– Manual tool changer– Tool changer with pick-up system– Tool changer with dual gripper– Tool changer with positively driven gripper– Rotating tool magazine with closed-loop axis
– Rotating tool magazine with controlled axis
– Servicing functions for the tool changer– Python tool management
Pallet changers– Translational pallet changer– Rotatory pallet changer– Servicing functions for the pallet changer
Safety functions– Emergency stop test (EN 13849-1)– Brake test (EN 13849-1)– Repeated switch-on test for new generation of handwheel
General functions– Feed rate control– Control of the coolant system (internal, external, air)– Temperature compensation– Activation of tool-specific torque monitoring– Hydraulic control– Chip conveyor– Indexing fixture– Touch probes– PLC support for handwheels– Control of doors– Handling of M functions– PLC log
– Display and management of PLC error messages– Diagnostics screen (Python)– Python example applications– Status display in the small PLC window

44Interfacing to the machine

OEM cycles

The machine tool builder can create and store his own cycles forrecurring machining tasks. These OEM cycles are used in thesame way as standard HEIDENHAIN cycles.

CycleDesign(accessory)

The soft-key structure for the cycles is managed using the
CycleDesign PC program. In addition, CycleDesign can be used
to store help graphics and soft keys in BMP format in the TNC.
Graphic files can be compressed to ZIP format to reduce theamount of memory used.

Toolmanagement

With integral PLC, the tool changer is moved either via proximity
switch or as a controlled axis. Tool management including tool life
monitoring and replacement tool monitoring is carried out by the
TNC 320.

Tool calibration

Tool touch probes can be measured and checked with the TT tool
touch probe system (accessory). Standard cycles for automatic
tool measurement are available in the control. The control
calculates the probing feed rate and the optimal spindle speed.
The measured data are stored in a tool table.

Touch-probe
configuration

All touch-probe data can be configured conveniently through atable. All HEIDENHAIN touch probe systems are preconfigured
and can be selected through a drop-down menu.

45

Data transfer and communication
Data interfaces

Overview

The TNC 320 is connected to PCs, networks, and other data
storage devices via data interfaces.

Ethernet

The TNC 320 can be interconnected via the Ethernet interface.
For connection to the data network, the control features a
1000BASE-T (twisted pair Ethernet) connection.
Maximum transmission distance:
Unshielded: 100 m
Shielded: 400 m

ProtocolThe TNC 320 communicates using the TCP/IP protocol.

Network
connection• NFS file server• Windows networks (SMB)

Data transmission
speed

Approx. 400 to 800 Mbps (depending on file type and network
utilization)

RS-232-C/V.24

Data interface according to DIN 66 020 or EIA standard RS-232-C.
Maximum transmission distance: 20 m

Data transmission
speed

115 200; 57 600; 38 400; 19 200; 9600; 4800; 2400; 1200; 600;
300; 150; 110 bps

Protocols

The TNC 320 can transfer data using various protocols.

Standard datatransmission

The data is transferred character by character. The number of data
bits, stop bits, the handshake, and character parity must be set by
the user.

Blockwise datatransfer

The data is transferred blockwise. A block check character (BCC) is
used for data backup. This method improves data security.

LSV2

Bidirectional transfer of commands and data as per DIN 66 019.
The data is divided into telegrams (blocks) and transmitted.

USB

The TNC 320 features USB ports for the connection of standard
USB devices, such as a mouse, drives, etc. On the back panel ofthe MC 321 there are two USB 3.0 ports. The USB ports are rated
for a maximum of 0.5 A.

USB cables

Cable length of up 5 m
Cable length of 6 m to 30 m with integrated
amplifier; limited to USB 1.1.

46

ID 354770-xx
ID 624775-xx

USB hubIf you need further USB ports or if the supply current is not
sufficient, a USB hub is required. The USB hub from HEIDENHAIN
offers four free USB 2.0 ports.
USB hub
Power supply: DC 24 V/max. 300 mA

Cover

ID 582884-xx

The USB hub can be installed in the operating panel in such a
way that two USB ports can be accessed from the outside. An
optionally available cover cap can be used to protect the ports
from contamination.
Cover

ID 508921-xx

Software for datatransfer

We recommend using HEIDENHAIN software to transfer files
between the TNC 320 and a PC.

TNCremo(accessory)

This PC software package helps the user to transfer data fromthe PC to the control. The software transfers data blockwise withblock check characters (BCC).
Functions:• Data transfer (also blockwise)• Remote control (only serial)• File management and data backup of the control• Reading out the log• Print-out of screen contents• Text editor• Managing more than one machine

TNCremoPlus(accessory)

In addition to the features already familiar from TNCremo,
TNCremoPlus can also transfer the current content of the control’s
screen to the PC (live screen). This makes it very simple tomonitor the machine.
Additional functions:• Interrogation of DNC data (NC uptime, machine uptime,machine running time, spindle running time, pending errors, datafrom the data servers—e.g., symbolic PLC operands)• Targeted overwriting of tool data using the values of a tool
presetter
TNCremoPlus

ID 340447-xx

47Connected Machining

Overview

Connected Machining makes uniformly digital job management
possible in networked manufacturing. You also profit from:• Easy data usage• Time-saving procedures• Transparent processes

Remote Desktop
Manager(option 133)

Remote control and display of external computers over an
Ethernet connection (e.g., Windows PC). The information isdisplayed on the control’s screen. Remote Desktop Manager
allows you to access important applications, such as CAD/CAM
applications or order management, from the control.
Remote Desktop Manager

HEIDENHAIN
DNC(option 18)

ID 894423-xx

The development environments on Windows operating systems
are particularly well suited as flexible platforms for application
development in order to handle the increasingly complex
requirements of the machine’s environment.
The flexibility of the PC software and the large selection ofready-to-use software components and standard tools in thedevelopment environment enable you to develop PC applicationsof great use to your customers in a very short time, for example:• Error reporting systems that, for example, send the customer
a text message to his cell phone reporting problems on thecurrently running machining process• Standard or customer-specific PC software that decidedly
increases process reliability and equipment availability• Software solutions controlling the processes of manufacturingsystems• Information exchange with job management software
The HEIDENHAIN DNC software interface is an attractive
communication platform for this purpose. It provides all the dataand configuration capabilities needed for these processes so thatan external PC application can evaluate data from the control and,if required, influence the manufacturing process.

RemoTools SDK(accessory)

To enable you to use HEIDENHAIN DNC effectively, HEIDENHAIN
offers the RemoTools SDK development package. It contains the
COM component and the ActiveX control for integration of the
DNC functions in development environments.
RemoTools SDK

ID 340442-xx

For more information, refer to the HEIDENHAIN DNC brochure.

48

Mounting information
Clearances and mounting

Proper minimum
clearance

When mounting the control components,
please observe proper minimum
clearances and space requirements,
as well as length and position of theconnecting cables.

Air inAir out

Leave space for air circulation and servicing

Mounting
and electricalinstallation

Observe the following points during mounting and electricalconnection:• National regulations for low-voltage installations at the operatingsite of the machine or components• National regulations regarding interference and noise immunity
at the operating site of the machine or components• National regulations regarding electrical safety and operating
conditions at the operating site of the machine or components• Specifications for the installation position• Specifications of the Technical Manual

Degrees ofprotection

The following components fulfill the requirements for IP54 (dust
protection and splash-proof protection):• TNC 320 (when properly installed)• Machine operating panel (when properly installed)• Handwheel

49

Electromagnetic
compatibility

Protect your equipment from interference by observing the rules
and recommendations specified in the Technical Manual.

Intended place of
operation

This unit fulfills the requirements for EN 50370-1 and is intended
for operation in industrially zoned areas.

Likely sources ofinterference

Interference is produced by capacitive and inductive coupling into
electrical conductors or into device connections, caused by, e. g.:• Strong magnetic fields from transformers or electric motors• Relays, contactors, and solenoid valves• High-frequency equipment, pulse equipment, and straymagnetic fields from switch-mode power supplies• Power lines and leads to the above equipment

Protective
measures• Ensure that the MC, CC, and signal lines are at least 20 cm
away from interfering devices• Ensure that the MC, CC, and signal lines are at least 10 cm awayfrom cables carrying interfering signals• Shielding according to EN 50178• Use equipotential bonding lines according to the grounding plan.
Please refer to the Technical Manual of your control• Use only genuine HEIDENHAIN cables and connecting
elements

Installation
elevation

50

The maximum altitude for installation of HEIDENHAIN control
components (MC, CC, PLB, MB, TE, BF, IPC, etc.) is 3000 m
above sea level.

Overall dimensions
Main computer

MC 321

Front panel opening
Mounting surface
Space for air circulation

51

Keyboard42

319.5 359.5

26

94+1

0

= Front panel opening= Mounting surface

52

384+1

78

MB 52155+5
30+5PLC inputs and outputs

PL 510Space for air circulation

53

Electronic handwheels

3

46

76.5

HR 510, HR 510 FS

278
296

HR 520, HR 520 FS

54

Holder for HR 520, HR 520 FS

73.5
72

69.3

70.3

HR 550 FS

55

HRA 551 FS
122
68.6

12
180

48.6
4

83±0.2320

6192±0.2

210

204

120

32

116

5.5
4x

56

HR 130, HR 150 with control knob

57

HRA 11058

Adapter cable for handwheels (straight)

X1

X2







 





 





 

Mounting opening up to wall thickness S = 4
Mounting opening for wall thickness S = 4 or more

HR/HRA adapter cable to MC (straight connector)

59

Adapter cable for handwheels (angled)

X2

Mounting opening

36

X1









 

Adapter cable for HR/HRA to MC (angled connector)

60

Interface accessories

Line-drop compensator for encoders with EnDat interface

Connection to KTY

USB hub
Cover cap (accessory)

Mounting surface

61

USB extension cable with hubs

Ordering length62General information
Documentation

Technical
documentation

User
documentation

Other
documentation• TNC 320 Technical Manual• TS 260 Mounting Instructions• TS 460 Mounting Instructions• TS 740 Mounting Instructions• TT 160 Mounting Instructions• TT 460 Mounting Instructions

ID 1109226-xx; in PDF format on HESIS-Web
including Filebase
ID 808652-9x
ID 808653-9x
ID 632761-9x
ID 808654-xx
ID 808655-xx

TNC 320• HEIDENHAIN Klartext Programming User’s Manual• Cycle Programming User’s Manual• DIN/ISO Programming User’s Manual

ID 1096950-xx
ID 1096959-xx
ID 1096983-xx

Miscellaneous• TNCremo User’s Manual• TNCremoPlus User’s Manual• PLCdesign User’s Manual• CycleDesign User’s Manual• KinematicsDesign User’s Manual

As integrated help
As integrated help
As integrated help
As integrated help
As integrated help

• TNC 320 brochure• Touch Probes brochure• RemoTools SDK virtualTNC brochure• Remote Diagnosis with TeleService Product Overview• Touch Probes DVD• Programming station DVD; TNC 320, TNC 620 demo version• HR 550 FS Product Information document

ID 1113511-xx
ID 1113984-xx
ID 628968-xx
ID 348236-xx
ID 344353-xx
ID 741708-xx
PDF

Safetyparameters

For HEIDENHAIN products (such as control components,
encoders, or motors), the safety characteristics (such as failure
rates or statements on fault exclusion) are available on productspecific request from your HEIDENHAIN contact person.

Basic circuit
diagramMore information on basic circuit diagrams can be requested fromyour HEIDENHAIN contact person.

63Service and training

Technical support

HEIDENHAIN offers the machine manufacturer technical support
to optimize the adaptation of the control to the machine, including
on-site support.

Exchange control

In the event of a malfunction, HEIDENHAIN guarantees thetimely shipment of an exchange control (usually within 24 hours in
Europe).

Helpline

Our service engineers are available by phone if you have any
questions regarding adaptation or malfunctions:
NC support
PLC programming
NC programming
Encoders / machine
calibration
APP programming+49 8669 31-3101
E-mail: service.nc-support@heidenhain.de+49 8669 31-3102
E-mail: service.plc@heidenhain.de+49 8669 31-3103
E-mail: service.nc-pgm@heidenhain.de+49 8669 31-3104
E-mail: service.ms-support@heidenhain.de+49 8669 31-3106
E-mail: service.app@heidenhain.de

If you have questions about repairs, spare parts, or exchange units,
please contact our Service department:
Customer service,
Germany
Customer service,international+49 8669 31-3121
E-mail: service.order@heidenhain.de+49 8669 31-3123
E-mail: service.order@heidenhain.deMachinecalibration

On request, HEIDENHAIN engineers will calibrate your machine’s
geometry (e.g., with a KGM grid encoder).

Technical courses

HEIDENHAIN provides technical customer training in the following
subjects:• NC programming• PLC programming• TNC optimization• TNC servicing• Encoder servicing• Special training for specific customers
For more information on dates or registration:

64

Technical training courses inGermany+49 8669 31-3049

Technical training courses
outside of Germany

www.heidenhain.deEN  Company  Contact 
HEIDENHAIN worldwide

E-Mail: mtt@heidenhain.deOther HEIDENHAIN controls
ExamplesTNC 620

Information:
TNC 620 brochure• Compact contouring control for milling, drilling, and boringmachines• Axes: 8 control loops, of which up to 2 are configurable asspindles• For operation with HEIDENHAIN inverter systems andpreferably HEIDENHAIN motors• Uniformly digital with HSCI interface and EnDat interface• Compact size
• Storage medium: CompactFlash memory card
• Programming in HEIDENHAIN Klartext format or according toISO• Standard milling, drilling, and boring cycles• Touch probe cycles• Short block processing time (1.5 ms)
Version with touchscreen:• 19-inch screen (vertical), keyboard, and main computer in one
unit (MC 8410)• Integration of the keyboard in the lower screen area
• Multi-touch operation• MC 8410 is compatible in its installation dimensions with theMC 7410
Version with operating keys:• 15-inch screen, keyboard, and main computer in one unit
(MC 7410)• Screen and main computer in one unit (MC 7420) and separate
keyboard with integrated ASCII keys

65

Subject index

A
Absolute encoders.............................. 33
Accessories........................................... 5
Analog nominal speed value................ 32
Analog speed command interface........ 34
API DATA............................................ 39
Axes................................................... 30
Axis clamping...................................... 35
Axis feedback control.......................... 34

B

HR 520 FS.......................................... 19
HR 550 FS.................................... 20, 55
HRA 110........................................ 22, 58
HRA 551 FS.................................. 20, 56
Hysteresis........................................... 37

I
I/O modules........................................ 16
Incremental encoders.......................... 33
Installation elevation............................ 50
Integrated PLC.................................... 41
Interfacing to the machine..................... 7

Backlash.............................................. 37
Basic modules..................................... 16

KC

KinematicsDesign................................ 36

Cable overview................................... 27
Commissioning and diagnostic aids...... 38
Commissioning wizard........................ 38
ConfigDesign...................................... 38
Connected Machining.......................... 48
Connecting cables............................... 21
Context-sensitive help......................... 36
Control components............................ 12
Control loop cycle times...................... 35
Cylinder surface interpolation............... 30

L
Linear axes.......................................... 30
Linear error......................................... 37
Log..................................................... 39
Look-ahead.......................................... 35

M

Data interfaces.................................... 46
Degrees of protection......................... 49
DNC applications................................. 48

Master keyword.................................. 13
MB 521........................................ 15, 52
MC 321........................................ 12, 51
Memory medium................................ 12
Monitoring functions........................... 36
Mounting and electrical installation....... 49
Multiple main spindles......................... 32

E

N

Electromagnetic compatibility.............. 50
Electronic handwheels........................ 19
Empty housing.................................... 16
Encoder inputs.................................... 33
Error compensation............................. 37
Ethernet.............................................. 46

Nonlinear error.................................... 37

D

F
Feedforward control............................ 34
Following error.................................... 34

G
Gantry axes......................................... 31
Gear ranges........................................ 32

H
HEROS 5............................................ 29
HR 130......................................... 21, 57
HR 150......................................... 21, 57
HR 510......................................... 19, 54
HR 510 FS........................................... 19
HR 520......................................... 19, 54

66

O
Online Monitor.................................... 39
Operating system................................ 29
Options............................................... 11
Oscilloscope........................................ 38

P
PL 510................................................ 16
PLA 4-4............................................... 16
PLC axes...................................... 31, 42
PLC basic program.............................. 44
PLCdesign........................................... 42
PLC expansion.................................... 41
PLC positioning................................... 42
PLC programming............................... 41
PLC soft keys...................................... 41
PLC window....................................... 41
PLD 16-8............................................. 16
Position-controlled spindle................... 32

Proper minimum clearance.................. 49
Python OEM Process.......................... 43

R
Rated operating current....................... 41
Remote Desktop Manager.................. 48
RemoTools SDK.................................. 48
Reversal spikes................................... 37
Rotary axes......................................... 30
RS-232-C/V.24..................................... 46

S
SE 660/SE 661/SE 540/SE 642............ 18
Servo control....................................... 34
SIK component................................... 12
Sliding friction..................................... 37
Snap-on keys................................. 23, 25
Software............................................... 5
Specifications........................................ 6
Spindle................................................ 32
Spindle orientation............................... 32
Spindle override.................................. 32
Static friction....................................... 37
Synchronized axes............................... 31

T
Table function...................................... 39
Tapping............................................... 32
TeleService.......................................... 39
Thermal expansion.............................. 37
Tilting the working plane...................... 31
TNCanalyzer........................................ 40
TNCkeygen......................................... 13
TNCremo............................................ 47
TNCremoPlus...................................... 47
TNCscope........................................... 39
TNCtest.............................................. 39
Tool measurement.............................. 18
Touch probes....................................... 17
Trace function...................................... 39
Transceiver.......................................... 18

U
USB.................................................... 46
USB hub....................................... 47, 61
User administration............................. 29

W
Workpiece measurement.................... 17

Mastering nanometer accuracy

DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 583301 Traunreut, Germany +49 8669 31-0
 +49 8669 32-5061
info@heidenhain.dewww.heidenhain.com
1113513-25 · 3 · 03/2019 · H · Printed in Germany

HEIDENHAIN
worldwide