TNC 128
The Compact Straight-Cut
Control for Milling, Drilling, andBoring Machines
Information for the
Machine Tool Builder

03/2019

TNC straight-cut control from HEIDENHAIN
General information

TNC 128• Straight cut control for milling, drilling, and boring machines• 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 450 mm x 91 mm• Integrated 12.1-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 128 with NC software version
771841-07 (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 straight-cut control from HEIDENHAIN

2

Overview tables

4

Control components

12

Accessories

16

Cable overview

24

Technical description

26

Data transfer and communication

41

Mounting information

44

Overall dimensions

46

General information

57

Subject index

59

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

3Overview tables
Overview of TNC 128 components

Control system

TNC 128

Page

Main computer

MC 128

12

Memory medium

CFR CompactFlash memory card

12

NC software license

On SIK component

12

Screen12.1-inch color flat-panel display (integrated)

Operating panel

Integrated

Machine operating panel

Integrated

14

Encoder input board

Necessary starting with 4 axes and closed-loop spindle

13

Connecting cables

✓

24

4

Accessories

Accessory
Electronic handwheels

Workpiece touch probes
Tool touch probes

TNC 128• 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• KT 130 edge finder with cable connection• TT 160 touch trigger probe

Page
17

16
16

PLC input/output system

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

15

USB hub✓

42

Snap-on keys

For controls and handwheels

20

Accessories / Software

TNC 128

Page

PLCdesign1)

PLC development software

37

KinematicsDesign1)

Software for creation of kinematic models

31

TNCremo2), TNCremoPlus2)

Data transfer software (TNCremoPlus with “live” screen)

42

ConfigDesign1)

Software for configuring the machine parameters

33

CycleDesign1)

Software for creating cycle structures

40

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

34

TeleService1)3)

Software for remote diagnostics, monitoring, and operation

34

RemoTools SDK1)

Function library for developing customized applications for communication with
HEIDENHAIN controls

43

TNCtest1)

Software for creation and execution of an acceptance test

35

TNCanalyzer1)

Software for the analysis and evaluation of service files

351) 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 128

Page

Axes

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

27

PLC axes✓

27

Central drive✓27

Open-loop axes✓

27

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✓

28

Oriented spindle stop✓28

Gear shifting✓28

NC program memory

1.8 GB

28

Input resolution and display step
Linear axes

0.1 μm27

Rotary axes

0.0001°

27

Axis feedback control

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

With feedforward✓

Cycle times
Block processing

6 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

6Interfacing to the machineInterfacing to the machine

TNC 128

Page

Error compensation✓

32

Linear axis error✓

32

Nonlinear axis error✓

32

Backlash✓32

Hysteresis✓

32

Thermal expansion✓

32

Static friction✓

32

Sliding friction✓

32

Integrated PLC✓

36

Program format

Statement list

36

Program input at the control

By external USB keyboard

36

Program input via PC✓

36

Symbolic PLC-NC interface✓

36

PLC memory

350 MB36

PLC cycle time

9 ms to 30 ms (adjustable)

36

PLC inputs, DC 24 V1)

31 (expandable via PL)

15

PLC outputs, DC 24 V1)

31 (expandable by PL)

15

Inputs for PT 100 thermistors

Via PL15

PLC functions✓

36

Small PLC window✓

36

PLC soft keys✓

36

PLC positioning✓

37

PLC basic program✓

39

Integration of applications

38

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

38

User interfaces can be customdesigned

38

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 128

Page
33

Commissioning anddiagnostic aids
ConfigDesign

Software for creating the machine configuration

33

Integrated oscilloscope✓

33

Trace function✓

34

API DATA function✓

34

Table function✓

34

OLM (online monitor)

✓

34

Log

✓

34

Commissioning wizard

For analog axes

33

Data interfaces✓

Ethernet

1000BASE-T

41

USB

Rear: 2 x USB 3.0
Front: USB 2.0

41

V.24/RS-232-C

✓

41
41

Protocols
Standard data transmission✓

41

Blockwise data transfer

✓

41

LSV2

✓

41
29

Encoder inputs
Position

4 (optional: 5)29

Incremental

1 VPP

29

Absolute

EnDat 2.1

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

8

Short description✓

TNC 128
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 open-loop spindle

Program entry✓

HEIDENHAIN Klartext

Position values✓✓✓

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

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

Fixed cycles

✓
✓
✓
✓
✓
✓
✓

Drilling, conventional and rigid tapping
Rectangular pockets
Face milling
Peck drilling, reaming, boring, counterboring, centering
Multi-operation machining of rectangular pockets
Cartesian and polar point patterns
OEM cycles (special cycles developed by the machine tool builder) can be integrated

Program jumps✓✓✓

Subprograms
Program-section repeats
Calling any program as a subprogram

Coordinatetransformation✓

Shifting, mirroring, scaling (axis-specific)

Q parameters
Programming withvariables✓✓

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

✓
✓
✓

9

TNC 128
OptionStandard

User function

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
Reference-point setting

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
software771841-ID

Comment

Page

0

Additional Axis 101354540-01

Additional control loop 1

131Additional Axis 201353904-01

Additional control loop 2

13

17

Touch probe functions

01

634063-01

Touch probe cycles• Setting of presets• Tool and workpiece measurement• Touch probe input enabled for non-HEIDENHAIN
systems

40

18

HEIDENHAIN DNC

01526451-01

Communication with external PC applications over COM
component

43

46

Python OEM process

01579650-01

Execute Python applications

38

137

State Reporting

07

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

Control components
Main computer

TNC 128

The standard version of the TNC 128 features four inputs for
position encoders. It can be enhanced with options.
The TNC 128 includes the MC 128 main computer with:• Intel Celeron 1047 processor (1.4 GHz, dual-core)• 2 GB SDRAM main memory• 12.1-inch TFT color flat-panel display; resolution 1024 x 768
pixels• TNC keyboard• Machine operating panel• 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 128

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 803344-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 1038498-57

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 128, 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)
4 control loops and option 17 (touch probe)
5 control loops (4 axes plus closed-loop spindle)
6 control loops (5 axes plus open-loop spindle)

ID 354540-01
ID 353904-01

1st additional axis
2nd additional axis
Encoder input
board

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

Encoder input board

Possible
configurations

ID 822102-51
ID 822102-55
ID 822102-52
ID 822102-53

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

5

Closed loop

Open 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.

13

Options

The capabilities of the TNC 128 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 128.

Machineoperating panel

The TNC 128 features an integrated machine operating panel.
• 24 snap-on keys, which can be addressed directly via the PLC;
3 snap-on keys can be wired as desired(pre-assigned as per PLC basic program):• Operating elements
control voltage on1); emergency stop, NC start1); NC stop1);
4 axis keys; rapid traverse; unlock door; spindle start; spindle
stop; coolant; rinse-water jet; chip removal (for other key
symbols, see Snap-on keys)• Additional connections:
Terminals for 8 PLC inputs and 8 PLC outputs (pre-assigned bydefault)
1)

14

Keys illuminated, addressable via PLC

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

For unused slots of thesystem PL

ID 383022-xx

15Accessories
Touch probes

Overview

The standard TNC 128 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 and the KT edge finders feature astylus for probing workpieces. HEIDENHAIN controls feature
standard routines for aligning and measuring workpieces, andfor 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:

KT 130Edge finder for manual and controlled machines

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

TS 260Tool
measurement

The touch probes for tool measurement from HEIDENHAIN
are suited for probing stationary or rotating tools directly on
the machine. The TNC 128 features standard cycles for themeasurement of tool length and diameter, as well as of individual
teeth. The TNC 128 automatically saves the measured tool
dimensions in a tool table. It is also possible to measure tool wear
between two machining steps.
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 128.

TT 160

New generation touch probe; signal transmission to the control
over connecting cableTT 16016

Electronic handwheels

Overview

Support for electronic handwheels is standard on the TNC 128:
• 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

17

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
ID 1119052-xx≈ 1.0 kg

HRA 551 FS
Mass

For more information, see the HR 550 FS Product Information
sheet.
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

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

18

HR 510

HR 510 FS

HR 520HR 520 FS

HR 550 FS
with
HRA 551 FS

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–

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 24.
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 150

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≈ 1.5 kg

ID 261097-xx
HRA 11019

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
Gray

Black

Green

Black

Red

Black

Green

20

Red

Green

Black

Overview for HR 510 and HR 510 FS
Axis keys

OrangeGray

Machinefunctions

Spindlefunctions

Other keys

Black

Black

Black

Green

Red

Black

Gray

Red

Black
Green
Red

Green

Orange21

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

22

Red

Spindlefunctions

Green
Green

Red

Other keys

Black

Gray
Black

Red

Orange

Black
Black

Green

Special keys

Red

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.

23

TNC 12815.05.2014

Cable overview
TNC 12824

582884-xx

745454-xx

1070793-xx

1070793-xx

Upon request

745454-xx

274543-xx

X26(Ethernet)

TS 260TS 248Adapter 15 pin

660042-xx

368330-xx

368330-xx

747400-xx

TT 1601218563-01

1161072-xx

1218563-01

1161072-xx

20m

271958-03-051117855-xx

1117853-xx

1117852-03

296687-xx

296467-xx

312879-01

HRA 551 FS
1119052-xx

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

HR 520 FS
670304-xx
670305-xx

15.03.2019

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

HR 520670302-xx
670303-xx

HR 550 FS
1200495-xx
1183021-xx

Accessories

25

Technical description
Operating system

HEROS 5The TNC 128 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

26

Axes

Linear axes

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

Display andprogramming–99 999.999 to +99 999.999 [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.999 to +99 999.999 [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 128 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.999 to +99 999.999 [°]Feed rate in degrees per minute [°/min]Traverse range–99 999.999 to +99 999.999 [°]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).

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.

27

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.

28

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 128 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 128.
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

29Servo control

Analog speedcommandinterface

The position controller is integrated in the TNC 128. 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 128 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

Axis clamping

The control loop can be opened through the PLC in order to clamp
specific 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.

30

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
128 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

31

Error compensation

Overview

The TNC 128 automatically compensates mechanical errors of themachine.

Linear error

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

Nonlinear error

The TNC 128 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.

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 128 can compensate for thisproblematic behavior.

Sliding friction

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

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 128. The PLC evaluates the temperature
information and passes the compensation value to the NC.

32

Commissioning and diagnostic aids

Overview

The TNC 128 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 128 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

33

Online Monitor(OLM)

The online monitor is a component of the TNC 128 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

34

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

TNCtest

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.

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 file35

Integrated PLC

Overview

The PLC program is created by the machine manufacturer either
at the control 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 128 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 128 can display PLC error messages in the dialog line
during operation.

Small PLC window

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

Small PLC window

PLC soft keys

36

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

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

37

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.

38

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
– 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
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

39

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 128.

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.

40

Data transfer and communication
Data interfaces

Overview

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

Ethernet

The TNC 128 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 128 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 128 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 128 features USB ports for the connection of standard
USB devices, such as a mouse, drives, etc. On the back panel ofthe MC 128 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.

ID 354770-xx
ID 624775-xx

41

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 128 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

42

ID 340447-xx

DNC applications

Overview

The development environments on Windows operating systems
are particularly well suited as flexible platforms for application
development in order to come to terms with the increasingly
complex requirements of the machine’s environment. The
flexibility of the PC software and the large selection of ready-touse software components and standard tools in the development
environment enable you to develop PC applications of 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

HEIDENHAIN
DNC(option 18)

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.

43

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 128 (when properly installed)• Machine operating panel (when properly installed)• Handwheel

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

44

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

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

45

Overall dimensions
Main computer

MC 128Front panel opening
Mounting surface
Space for air circulation

46

PLC inputs and outputs

PL 510Space for air circulation47

Electronic handwheels

3

46

76.5

HR 510278
296

HR 520, HR 520 FS48

Holder for HR 520, HR 520 FS

73.5
72

69.3

70.3

HR 550 FS

49

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

50

HR 130, HR 150 with control knob

51

HRA 11052

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)

53

Adapter cable for handwheels (angled)

X2

Mounting opening

36

X1









 

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

54Interface accessories

Line-drop compensator for encoders with EnDat interface

Connection to KTY

USB hub
Cover cap (accessory)

Mounting surface

55

USB extension cable with hubs

Ordering length

56General information
Documentation

Technical
documentation

User
documentation

Other
documentation• TNC 128 Technical Manual• TS 260 Mounting Instructions• TT 160 Mounting Instructions

ID 1109223-xx; in PDF format on HESIS-Web
including FilebaseID
ID 808652-9x
ID 808654-xx

TNC 128• HEIDENHAIN Klartext Programming User’s Manual

ID 819494-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 128 brochure• Touch Probes brochure• RemoTools SDK virtualTNC brochure• Remote Diagnosis with TeleService Product Overview• Touch Probes DVD• HR 550 FS Product Information document

ID 827137-xx
ID 1113984-xx
ID 628968-xx
ID 348236-xx
ID 344353-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.

57

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:

58

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Subject index

A

Hysteresis........................................... 32

Absolute encoders.............................. 29
Accessories........................................... 5
Analog nominal speed value................ 28
Analog speed command interface........ 30
API DATA............................................ 34
Axes................................................... 27
Axis clamping...................................... 30
Axis feedback control.......................... 30

I

BBacklash.............................................. 32
Basic modules..................................... 15

C
Cable overview................................... 24
Commissioning and diagnostic aids...... 33
Commissioning wizard........................ 33
ConfigDesign...................................... 33
Connecting cables............................... 18
Context-sensitive help......................... 31
Control components............................ 12D
Data interfaces.................................... 41
Degrees of protection......................... 44
DNC applications................................. 43

E
Electromagnetic compatibility.............. 44
Electronic handwheels........................ 17
Empty housing.................................... 15
Encoder inputs.................................... 29
Error compensation............................. 32
Ethernet.............................................. 41

F
Feedforward control............................ 30
Following error.................................... 30

G
Gear ranges........................................ 28

H
HEROS 5............................................ 26
HR 130......................................... 19, 51
HR 150......................................... 19, 51
HR 510......................................... 17, 48
HR 510 FS........................................... 17
HR 520......................................... 17, 48
HR 520 FS.......................................... 17
HR 550 FS.................................... 18, 49
HRA 110........................................ 19, 52
HRA 551 FS.................................. 18, 50

I/O modules........................................ 15
Incremental encoders.......................... 29
Installation elevation............................ 45
Integrated PLC.................................... 36
Interfacing to the machine..................... 7

K
KinematicsDesign................................ 31

L
Linear axes.......................................... 27
Linear error......................................... 32
Log..................................................... 34

M
Master keyword.................................. 13
MC 128......................................... 12, 46
Memory medium................................ 12
Monitoring functions........................... 31
Mounting and electrical installation....... 44
Multiple main spindles......................... 28

N
Nonlinear error.................................... 32

O
Online Monitor.................................... 34
Operating system................................ 26
Options............................................... 11
Oscilloscope........................................ 33

P

RemoTools SDK.................................. 43
Rotary axes......................................... 27
RS-232-C/V.24..................................... 41

S
Servo control....................................... 30
SIK component................................... 12
Sliding friction..................................... 32
Snap-on keys................................. 20, 22
Software............................................... 5
Specifications........................................ 6
Spindle................................................ 28
Spindle orientation............................... 28
Spindle override.................................. 28
Static friction....................................... 32

T
Table function...................................... 34
Tapping............................................... 28
TeleService.......................................... 34
Thermal expansion.............................. 32
TNCanalyzer........................................ 35
TNCkeygen......................................... 13
TNCremo............................................ 42
TNCremoPlus...................................... 42
TNCscope........................................... 34
TNCtest.............................................. 35
Tool measurement.............................. 16
Touch probes....................................... 16
Trace function...................................... 34

U
USB.................................................... 41
USB hub....................................... 42, 55
User administration............................. 26

W
Workpiece measurement.................... 16

PL 510................................................ 15
PLA 4-4............................................... 15
PLC axes...................................... 27, 37
PLC basic program.............................. 39
PLCdesign........................................... 37
PLC expansion.................................... 36
PLC positioning................................... 37
PLC programming............................... 36
PLC soft keys...................................... 36
PLC window....................................... 36
PLD 16-8............................................. 15
Position-controlled spindle................... 28
Proper minimum clearance.................. 44
Python OEM Process.......................... 38

R
Rated operating current....................... 3659

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
827228-26 · 3 · 03/2019 · H · Printed in Germany

HEIDENHAIN
worldwide