Valid for the NC software types
259 96 (TNC 415 A)
259 97 (TNC 415 E)
243 02 (TNC 407)
up to version 09
and
259 93 (TNC 415 B/TNC 425)
259 94 (TNC 415 F/TNC 425 E)
243 03 (TNC 407)
up to version 12
and
280 54 (TNC 415 B/TNC 425)
280 56 (TNC 415 F/TNC 425 E)
280 58 (TNC 407)
up to version 06
January 98208 732 21 · 6.5 · 1/98 · S · Printed in Germany · Subject to change without notice
(208 732 E2)
Preface
This Technical Manual is intended for manufacturers and distributors of machine tools.
It contains all the necessary information for the assembly, electrical installation, start-up and
PLC-programming for the HEIDENHAIN contouring controls.
When hardware or software is improved in these HEIDENHAIN contouring controls you will
receive a free delivery of updated information. Please arrange and insert this updated information
in your manual without delay. This will ensure that your manual always remains at the current
revision level.
You can use extracts from this manual for your machine documentation. An enlargement of the
manual format (17 cm x 24 cm) by a factor of 1.225 will produce pages in DIN A4 format.
No documentation can be perfect. Like all living things it must grow and change. Among other
things, it lives from your impulses and suggestions for improvement. Please help us by letting
us know your ideas.
DR. JOHANNES HEIDENHAIN GmbH
Department PE
PO Box 1260
D-83292 Traunreut
Germany
In May 1996 the following new NC software versions were released:
TNC 407280 58x 06
280 590 06
TNC 415B / TNC 425280 54x 06
280 550 06
TNC 415F / TNC 425E 280 56x 06
280 570 06
Hardware
New Design for TNC 407
A new hardware design was introduced with the new TNC 410, TNC 426 and TNC 430 controls.
This changed design can also be used for the TNC 407. The visual display unit and keyboard unit
with the new design are gray in color and require a larger front-panel cutout.
The new BC 120 visual display unit is connected to the TNC 407 with a new cable
(Id. Nr. 312 878 ..) and adapter (Id. Nr. 313 434 02). The matching TE 400 B keyboard unit has the
Id Nr. 313 038 02. A matching gray MB 420 machine operating panel (Id. Nr. 293 757 12) is also
available.
Documentation
No replacement pages will be issued for this Technical Manual. You will find the updated
documentation on the CD-ROM entitled “TNCguide OEM” (Id. Nr. 208 935 92), available from
January 1998. Please contact HEIDENHAIN if you have not yet received this CD-ROM.
01/98TNC 407/TNC 415/TNC 425Update Information No. 201-1
Introduction – Contents 2
1Hardware concept2-2
2 Technical data TNC 407/TNC 415 B/TNC 4252-3
3 Software2-7
3.1 NC-Software2-7
3.1.1 NC-Software number2-7
3.1.2 Software types2-7
3.1.3 Software option2-8
3.1.4 Software/Hardware2-9
3.2 PLC-Software2-11
3.3 EPROM sockets2-11
3.3.1 TNC 415 A/TNC 415 E2-11
3.3.2 TNC 415 B/TNC 415 F and TNC 425 A/TNC 425 E2-12
3.3.3 TNC 4072-13
3.4 Software replacement2-13
3.5 Releases2-14
3.5.1 Software types 243 05, 259 91 and 243 072-14
3.5.2 Software types 259 96, 259 97 and 243 022-14
3.5.3 Software types 259 93, 259 94 and 243 032-18
3.5.4 Software types 280 54, 280 56 and 280 582-23
01.98TNC 407/TNC 415/TNC 4252-1
1 Hardware concept
The HEIDENHAIN-contouring controls TNC 407 and TNC 415 are designed for use with drilling and
milling machines.
The HEIDENHAIN-TNCs consist of several units. The principal subassembly is the logic unit. The logic
unit is joined to the other units and the TNC accessories by connecting cables.
Noml. value outputs
Encoders
• • •• • •
Visual display unit
TNC keyboard unit
PLC I/0 unit
Machine operating panel
Touch probe
Electronic handwheel
Data interfaces
NC
Common
data area
PLC
PLC inputs
• • •• • •
PLC outputs
The logic unit contains the electronics for both the NC and the PLC sections of the control.
The common data area contains the machine parameters and the PLC markers and words. The
machine parameters define the hardware configuration of the machine (ranges of travel, acceleration,
number of axes etc.). The PLC markers and words are used for the exchange of information between
the NC and the PLC.
2-2TNC 407/TNC 415/TNC 4251 Hardware concept01.98
2 Technical data TNC 407/TNC 415 B/TNC 425
TNC 407TNC 415B/TNC 425
1
Axes3, 4 or 5 plus spindle S
)
(NC axes and PLC axes can be defined as desired)
Program inputIn HEIDENHAIN Plain Language and to DIN/ISO
Memory for 6000 blocks approx.12 000 blocks approx.
part program
PositionsNominal positions in Cartesian or polar coordinates,
dimensions absolute and incremental
Input and display to 1 µmto 0.1 µm
resolution
Interpolation
Linear interpolation3 of 5 axes5 of 5 axes
Circular interpolation2 of 5 axes3 of 5 axes
1)
HelixYes
1
Rigid Tapping Yes
Block processing time
2
)
) 25 ms4 ms
Look Ahead• Defined rounding of discontinuous contour transitions (e.g. 3D surfaces)
• Collision viewing with the SL cycle for "open" contours
• Advance calculation of geometry for feed-rate adjustment
Free contourIn HEIDENHAIN Plain Language with graphic support
programming FK
Q-ParametersMathematical functions (=, +, -, x, ÷, sin α, cos α, angle α from sin α
and cos α, a, a2 + b2, tan α, arcsin, arctan, arccos, an, en, ln,
log, absolute value of a number, the constant π, negation, truncate places
before or after the decimal point)
logical comparisons (=,≠, >, <),
Parenthetical calculations
Program testBy graphic simulation of the part program
Parallel operationYes, no graphicsYes, with graphics
File managementup to 100 files: programs in HEIDENHAIN and DIN/ISO format, also tool 1),
PLC datum shift, pallet tables1) and text files
Tool compensationTool length, tool radius in machining plane
–Three-dimensional tool
compensation with surface
normal vectors
Central tool file Various tool tables for 254 tools max. each, with flexible pocket coding,
tool life monitoring and sister tool organization
1)
Data interfacesV.24/RS 232 C and V.11/RS 422
•"Blockwise transfer": programs that exceed the control capacity can be
downloaded block by block and simultaneously executed.
• Extended data interface with LSV/2 protocol for external TNC operation
across the data interface
PLC program memoryApprox. 8 000 logic commands
PLC cycle time24 ms20 ms
Error compensation• linear axis error compensation
• non-linear axis error compensation
• compensation of reversal spikes in circular movements
• compensation of thermal expansion
• backlash compensation
• stiction compensation
• offset compensation
Position encodersHEIDENHAIN incremental linear and angle encoders (preferably with
distance-coded reference marks)
also HEIDENHAIN incremental rotary encoders
Reference mark Following a power interruption, automatic reference value input if
evaluationreference marks are traversed
Max. traverse± 100 000 mm
Max. traversing 300 m/min
speed
Feed-rate and0 to 150% with two potentiometers at the control panel
spindle override
Accessories
Electronic handwheel1 x HR 330Portable handwheel
or1 x HR 130Integral handwheel
orup to 3 x HR 150Integral handwheel with adapter HRA 110
Diskette unitFE 401
Touch trigger 3D probeTS 120/TS 511
Measuring 3D probe—TM 110
Touch probe for tool TT 110
inspection
*)
PL 410 B: Active analog inputs reduce the number of PLC inputs by 8 and the number of PLC outputs by 2.
The logic unit contains separate software for the NC section and the PLC section. The software is
identified by an 8-figure number.
After switching on the control, the NC, PLC and Software-Options software numbers are displayed on
the screen. The software number can also be directly requested with the aid of the MOD function.
3.1NC-Software
3.1.1 NC-Software number
The 8-figure NC software number identifies the type of control, the dialog language (language of the
country) and the version of the software.
259 96 0 01
Software type
National language
0 = German
1 = Czech
2 = French
3 = Italian
4 = Spanish
6 = Swedish
7 = Danish
8 = Finnish
9 = Dutch
Software version
In addition to the above-listed languages, the TNC can always use English, which may be selected via
the machine parameter MP7230.
3.1.2 Software types
Due to restrictions on the export of the TNC 415 B, HEIDENHAIN can also deliver a special export
version. This export version is differentiated from the standard control through the installed software
type. With this software type, the control offers different features in respect of linear interpolation and
the entry/display resolutions.
Linear interpolationEntry/Display
Resolution
TNC 415 B (Standard)5 of 5 axesup to 0.1 µm
TNC 415 F (Export)4 of 5 axesup to 1 µm
The TNC 407 does not fall under the export restrictions, therefore no export version is necessary.
01.98TNC 407/TNC 415/TNC 4253 Software2-7
New functions will be introduced only in the following software types:
These software types are therefore supplied as standard.
3.1.3 Software option
HEIDENHAIN offers the "Digitising with TS 120" function as a software option (see chapter "Machine
integration"). An additional software protection module is installed in controls supplied with this
software option. The Id.-Nr. of the logic unit indicates another version. If the software module is
installed, the option is indicated on the screen under the NC and PLC software numbers.
Logic units that have already been delivered can be retrofitted with the software protection module.
Please contact HEIDENHAIN if you wish to buy this option for your existing control. The proper
component model must be ordered for a specific hardware model.
Digitizing with TS 120:
Id.-Nr. of the installation kitId.-Nr. of software moduleNC software
TNC 407265 313 01243 02, 243 03, 280 58
TNC 415A265 314 01246 051 01259 96
TNC 415B
TNC 425
286 405 01280 54
Digitizing with TM 110:
Id.-Nr. of the installation kitId.-Nr. of software moduleNC software
TNC 415B
TNC 425
2-8TNC 407/TNC 415/TNC 4253 Software01.98
286 405 02246 051 03280 54
3.1.4 Software/Hardware
Various hardware versions of the logic units LE 407 and LE 415 have until now been delivered (please
refer to the chapter 3 ”Mounting and electrical installation” section 1). The new software types are not
compatible with all hardware versions. The valid combinations are shown in the following tables.
3 = Export version with software module "Digitizing with TS 120"
4 = Standard version with software module "Digitizing with TS 120"
7 = Standard version with software module "Digitizing with TS 120"
8 = Export version without option
9 = Standard version without option
The PLC software is produced by the manufacturer of the machine. Either HEIDENHAIN or the
manufacturer of the machine can store this software in EPROMs. HEIDENHAIN assigns PLC software
numbers to the machine manufacturers on request. HEIDENHAIN can archive the specific PLC
programs in a data bank, so that the installation of the correct PLC program is assured if a control has
to be exchanged.
The PLC EPROM must be written in the format of the corresponding software type!
Beginning with software types 280 54, 280 56 and 280 58, either a 1 MB or a 2 MB
EPROM can be used for the PLC.
3.3EPROM sockets
3.3.1 TNC 415 A/TNC 415 E
Sockets on processor board:
IC 3
NC
Sockets on CLP board:
1 MB1 MB
IC 1IC 2
1 MB1 MBNC1 MB1 MB
IC 4
NC
NC
IC S
SW-Module
IC 8
PLC
IC 7
Language
IC 5
NC
1 MB
1 MB
IC 6
NC
IC 9
Boot
01.98TNC 407/TNC 415/TNC 4253 Software2-11
3.3.2 TNC 415 B/TNC 415 F and TNC 425 A/TNC 425 E
Sockets on processor board:
IC 3
NC
or
Sockets on processor board:
1 MB1 MB
IC 1IC 2
2 MB2 MBNC1 MB1 MB
IC 4
NC
NC
Set jumper to 2M
IC 8
PLC
IC 7
Language
NC
IC 8
PLC
IC 7
Language
1 MB
1 MB
IC 5
1 MB
1 MB
IC 6
NC
IC 1IC 2
4 MB4 MBNC1 MB1 MB
Sockets on CLP board:
2-12TNC 407/TNC 415/TNC 4253 Software01.98
NC
Set jumper to 4M
NC
IC 5
NC
IC 9
Boot
IC S
SW-Modul
IC 6
3.3.3 TNC 407
Sockets on processor board:
IC 5
PLC1MB
IC 4
IC 3
Language
IC 1
1MB
Language
NC
2MB
IC S
SW-Module
1MB
IC 2
2MB
3.4Software replacement
Before replacing the software on a TNC the data of all file types, the machine parameter list, the nonlinear axis error compensation table and the PLC program (if in the RAM) must be backed up.
You can use the TNC BACKUP routine to do this. In the "Machine Parameter Editor" mode (code
number 95 148) press the MOD key to display the menu for configuring the data interface. The
"BACKUP DATA" and "RESTORE DATA" soft keys will be offered.
Use "BACKUP DATA" to transmit all operating parameters and the data of all file types across the data
interface and store them in the $BACKUP.ANC file. When software replacement is complete, use
"RESTORE DATA" to download the data to the TNC again.
01.98TNC 407/TNC 415/TNC 4253 Software2-13
3.5Releases
New NC software versions are released by HEIDENHAIN at irregular intervals.
– Digitising with TS 120
– Rigid tapping
– Input resolution and display step 0.0001 mm for TNC 415 A
– Re-approaching the contour
– Compensation of reversal spikes in circular movements
– New format for PLC-EPROM
– Machine parameter editor
– FN15: PRINT
– New machine parameter for setting screen colours
2-14TNC 407/TNC 415/TNC 4253 Software01.98
– Thermal expansion compensation
– Machine datum
– "Free rotation"
– Changing the gear range through the PLC
– RPM upper limit per gear range
– Change in the organisation of PLC error messages
– Marker for special tool
– Interruption of PLC positioning
– Fast PLC input
– Arc end-point tolerance
– Locking of file types
– D596 rapid traverse from PLC
– D276 code number
– Axis-specific monitoring functions
– Compensation of tool length in the position display
– PLC: module 7031, module 9032, module 9083, module 9093, module 9094
– If MP7490 = 0, the datum is effective for all traverse ranges
– Non-linear characteristic curve for override potentiometer
– New process for traversing reference marks (MP1350.x = 3)
– ROT display in the status window
– PLC error messages if more than one of the markers M2485 to M2487 is set
– MP4070 has been added
– Handwheel symbol on screen for selected axis
– MP7640 (machine with handwheel) has new input values
– MP340 has been added (only for TNC 407)
– Module 9041 has been introduced (only for TNC 415 A)
– Dialog texts in Czech
– Multipoint axis error compensation: the maximum distance between compensation points was
increased to 2
– The maximum input range for position values was increased to –99 999.9999 mm to
+99 999,9999 mm.
– The override adjustment in 2 % steps was dropped.
– The minimum input value for MP6130 was changed to 1 mm and for MP6140 to 0.001 mm.
– MP440 was dropped.
– Mid-program startup (block scan) now works for ISO programs during blockwise transfer with
A new marker 2826 has been introduced. Setting this marker disables the evaluation of the
counting pulses received by the handwheel. The handwheel cannot be used to position when the
marker is set.
Transfer values to PLC
−
Numerical values can be entered in the new machine parameters MP4230.00 to MP4230.31 and
MP4231.0 to MP4231.31 which the PLC can read with module 9032.
MP4230.0 to MP4230.31Transfer value to PLC with module 9032
MP4231.0 to MP4231.31
Entry: –99999.9999 to +99999.9999
DIN/ISO Programming
−
The maximum permitted length of an NC block in DIN/ISO has been increased from 130 to 150
characters.
Because it is run from standstill, the spindle orientation at the beginning of the "Rigid Tapping"
−
cycle is always executed in the direction of rotation that reaches the target by the shortest route.
Previously the direction of rotation with each spindle orientation was selected by marker M2656.
If the PLC simultaneously issues two commands from memory areas PLC positioning (M2704 to
−
M2708), confirm Q parameter (M2713) and PLC datum shift (M2716), then the NC flashes the
message "Error in PLC program 1R" as these commands use the same memory areas for data
transfer.
PLC positioning in more than one axis counts as a single command. If marker M2719 (switch-over
from word processing to TNC 355 mode) has the value 0, the same checks will be run with the
corresponding TNC 355 strobes.
Status information can now be read with module 9035. See "TNC 407/TNC 415 B/TNC 425
−
Description of the Differences from TNC 415".
The minimum input range of machine parameters MP6120, MP6350, MP6360 has been changed
−
from 80 mm/min to 10 mm/min.
MP7300 has been extended as follows:
−
MP7300Delete status display, Q parameter and tool data
Entry: 0 to 7
0 = delete status display, Q parameter and tool data when selecting a program
1 = delete status display, Q parameter and tool data with M02, M30, END PGM
and selecting a program
2 = delete status display and tool data when selecting a program
3 = delete status display and tool data with M02, M30, END PGM and selecting a
program
4 = delete status display and Q parameter when selecting a program
5 = delete status display and Q parameter with M02, M30, END PGM and
selecting a program
6 = delete status display when selecting a program
7 = delete status display with M02, M30, END PGM and selecting a program
2-18TNC 407/TNC 415/TNC 4253 Software01.98
TNC 407:243 03x 05Release 11/92
New functions:
All functions as for TNC 415 B except "Working Plane" cycle and three-dimensional tool compensation.
PLC module 9033 has been introduced. This module allows the user to select a particular machine
−
parameter file in a SUBMIT job and then execute a Reset so the control system boots up with this
MP file.
If the PLC simultaneously issues two commands from memory areas PLC positioning (M2704 to
−
M2708), confirm Q parameter (M2713) and PLC datum shift (M2716), then the NC flashes the
message "Error in PLC program 1R" as these commands use the same memory areas for data
transfer.
PLC positioning in more than one axis counts as a single command. If marker M2719 (switch-over
−
from word processing to TNC 355 mode) has the value 0, the same checks will be run with the
corresponding TNC 355 strobes.
The offset for a variable-speed spindle is now adjusted with a new algorithm. A single offset
−
adjustment is made two seconds after the nominal value has reached target position. Every
second thereafter the offset voltage is increased by 0.152 mV or decreased by 0.152 mV when
servo lag is greater or less than zero respectively, and if the voltage computed from the product of
servo lag and Kv factor is greater than 0.152 mV. This means that the offset voltage changes by 1
mV in 7 seconds approx.
01.98TNC 407/TNC 415/TNC 4253 Software2-19
TNC 415 B/TNC 425:259 93x 08
TNC 415 F/TNC 425 E:259 94x 08This versions was supplied from 6/93 only when
TNC 407:243 03x 08expressly requested by the customer.
New functions:
LSV2 protocol
−
PLC axes
−
Help files
−
Synchronized axes
−
New compensation value table (simultaneous compensation of sag and ballscrew pitch error)
−
Cycle 3 "Slot Milling" modified
−
Cycle 27 "Cylinder Surface" new
−
"Working Plane": Displays are referenced to the tilted coordinate system; Touch probe functions in
−
the tilted coordinate system: Datum setting in the tilted system
M94 new (modulo 360°)
−
M103 new (reduced feed rate during plunge cutting)
−
M105/M106 new (second set of kv factors)
−
M112 new (Tolerance field for "Look ahead")
−
M116 new (feed rate for rotary axes in mm/min)
−
M118 new (Handwheel overlapping)
−
Min. and max. memory for DNC operation
−
Calculation with parentheses and expanded parameter functions
−
MP7470 was eliminated
−
Graphic depiction of the workpiece blank in the working space
−
M114 new (automatic compensation of machine geometry during machining with tilted axes)
−
Module 9150 new
−
Input/Output of tool and pocket tables
−
Module 9035 was expanded
−
TNC 415 B/TNC 425:259 93x 09
TNC 415 F/TNC 425 E:259 94x 09This version was supplied from 8/93 only
TNC 407:243 03x 09when expressly requested by the customer.
New functions:
The export versions TNC 415F and TNC 425E were improved with linear interpolation in 4 of 5
TNC 415 B/TNC 425:259 93x 11
TNC 415 F/TNC 425 E:259 94x 11This version was supplied from 4/94 only
TNC 407:243 03x 11when expressly requested by the customer.
New functions:
The PLC module 9036 was expanded. The handwheel assignment can now be switched through
−
the PLC to any desired axis; the assignment is indicated in the status window by the position of
the handwheel symbol.
–After activation of Cycle 19 "Working plane" the offset is corrected only in the axis that is moved.
Previously the offset was corrected simultaneously in all axes during execution of the first block.
–With M112 it is now possible to enter a limit angle A in addition to the tolerance T.
–A “PLC” column was added to the tool table. As in the pocket table, relevant PLC data can be
entered here. This column is activated with machine parameter MP7266.17.
–A datum, tool, or pocket table can be searched for to certain values using Module 9092.
–The PLC can activate the geometry data of the tool from W264 with the new marker M2717.
–The elements “Number of cutting edges“, ”Tolerance for tool length”, “Tolerance for tool
radius”, “Cutting direction of the tool” and “PLC status” were added to Modules 9093 and 9094.
–During feed pre-control, the positioning window is not evaluated until the current velocity is less
than MP1525. In the previous software versions, the positioning window was not evaluated until
the velocity fell below 0.5 mm/min. Increasing the input value in MP1525 increases the block
processing time.
–Feed pre-control can be activated for all modes of operation with machine parameter MP1391.
This becomes necessary when stiction compensation is to be active in the manual modes of
operation.
–The maximum permissible positional difference between the two gantry axes is defined in
MP855. When this value is exceeded, the blinking error message GROSS POSITIONING ERROR
<AXIS> # A appears. The current positional deviation appears in the LAG display of the slave
axis.
–Module 9171 makes it possible to orient the spindle at a rotational speed defined by the PLC.
–Modules 9040 and 9041 make it possible to read coordinates referenced to a shifted coordinate
system.
–The jog increment can now be limited with Module 9036.
–With the new marker M2827 an EMERGENCY STOP (control-is-ready PLC input signal) can be
suppressed and, instead, all control loops opened and an NC stop executed.
–The new marker M2830 opens all control loops and stops the NC.
–In a digitized data file that has been produced with the TM 110 touch probe, the BLK FORM is
enlarged in the working plane by double the value of the deflection depth (MP6310).
–The radius compensation in the working plane is now also effective in NC blocks with 5-axis
interpolation. The NC block can contain, besides the three non-parallel linear axes, also two rotary
axes.
–Tool measurement with the TT 110 is possible only on machines with controlled spindle
(Spindle orientation).
01.98TNC 407/TNC 415/TNC 4253 Software2-23
TNC 415 B/TNC 425:280 54x 03
TNC 415 F/TNC 425 E:280 56x 03
TNC 407:280 58x 03This version was never released.
− To make changes to the tool table it is no longer necessary to transfer the entire tool table. It now
suffices to transfer only those tool data that have changed. These partial data can be transferred in
the Program Run mode of operation
− For a rotary table display that is set to modulo 360°, the M function M 126 positions the table by
the shortest path. M 127 positions the table, as before, by the path that does not cross over the 0°
position.
The function for automatic tool measurement was expanded with the TT 110. The new fields
L-OFFS, R-OFFS, LBREAK and RBREAK were introduced to the tool table (MP7266.19 to MP7266.21).
In addition, in Cycle 31 the radius is no longer entered and the fields L-OFFS, R-OFFS, LBREAK and
RBREAK were added to the modules 9092, 9093 and 9094. The new marker M2393 is set whenever
the break tolerance is exceeded.