cnc programing for heidenhein and arduino thb416.pdf
TRANSCRIPT
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
1/509
March 2000 208 829-21 2.1 3/2000 S Printed in Germany Subject to change without notice (208 829-E8)
Technical Manual
TNC 416
TNC 406
TNC 306
For the NC software types
286 18x up to version 04 (TNC 416)
280 62x up to version 10 (TNC 406)
260 03x up to version 16 (TNC 306)
260 05x up to version 16 (TNC 306)
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
2/509
3/97 TNC 406/TNC 306
Preface
This Technical Manual is intended for manufacturers and distributors of machine tools. It contains all
necessary information for assembly, electrical installation, commissioning and PLC-programming for
the HEIDENHAIN TNC 406 and TNC 306 contouring controls.
Whenever HEIDENHAIN improves the hardware or software in these controls you will receive a free
delivery of updated information. Please insert this updated information into your manual withoutdelay. This will ensure that your manual always reflects the current revision level.
You can use excerpts from this manual for your machine documentation. Enlarging the manual
format (17 cm x 24 cm) by a factor of 1.225 will produce pages in A4 format.
No documentation can be perfect. This manual undergoes continual change and will benefit 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
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
3/509
1
2
34
5
6
7
8
9
10
11
Contents Technical Manual TNC 416, TNC 406, TNC 306
Update InformationNo. 15 - 11
Introduction
Mounting and Electrical Installation
Machine Integration
Machine Parameters
Markers andWords
PLC Programming
Data interfaces
OEM Cycles
Appendix
Subject Index
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
4/509
3/2000 TNC 416/TNC 406/TNC 306 Hardware concept 2-1
Introduction Contents
1 Hardware concept 2-2
2 Technical data TNC 416/406/TNC 306 2-3
3 Software 2-83.1 NC Software 2-8
3.1.1 NC Software number 2-8
3.1.2 Software types and hardware 2-9
3.1.3 Software releases 2-9
3.2 PLC Software 2-10
3.3. EPROM sockets 2-11
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
5/509
2-2 TNC 416/TNC 406/TNC 306 Hardware concept 3/2000
1
Hardware concept
The HEIDENHAIN TNC 416/TNC 406/TNC 306 controls are designed for ram-type electrical
discharge machines.
The TNCs consists of several different assemblies. The main component is the logic unit.
The logic unit is connected to the other assemblies and to peripheral equipment by means of
connecting cables.
Encoders
Nominal valueoutputs
PLC I/0 unit
Visual display unit
TNC keyboard unit
Short circuit/touch probe
Electronic handwheel
Data interfaces
NC PLCCommondata area
Machine operating panel
PLC outputs
PLC inputs
Analogue inputfor gap control
The logic unit contains the circuitry for both the NC and the PLC sections of the control. The
common data area contains the machine parameters, PLC markers and words. The machine
parameters define the machine hardware configuration (traverse ranges, acceleration, number of
axes, etc.). The PLC markers and words are used for the exchange of information between the NC
and the PLC.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
6/509
3/2000 TNC 416/TNC 406/TNC 306 Technical data TNC 416/TNC 406/TNC 306 2-3
2
Technical data TNC 416/TNC 406/TNC 306
TNC 416/TNC 406 TNC 306
ComponentsLE 406:
LE 406 logic unit
TE 400 keyboard unit
BC 110 14 color CRT
640 x 400 pixels
LE 416:
LE 416 logic unit
TE 420 keyboard unit
BF120 color flat screen 10,4
or
BC 120 15 color CRT
640 x 480 pixels
LE 360C logic unit
TE 355 keyboard unit
BF 110 mono chrome flat
screen (192 x 120mm)
or
BE 212 12 monochrome
CRT512 x 256 pixels
Control type Contouring control for 5 axes
with eroding gap control
Linear interpolation in 3 out of
5 axes
Circular interpolation in 2 out
of 4 axes
Helical interpolation with
simultaneous C-axis motion
Contouring control for 4 axes
with eroding gap control
Linear interpolation in 3 out of
4 axes
Circular interpolation in 2 out of
4 axes
Helical interpolation with
simultaneous C-axis motion
Program memory 10 000 program blocks 5000 program blocks
for up to 100 files for up to 32 files
(NC programs, EDM parameters tables, one datum shift table)
PLC program (if not contained in EPROM)
EPROM 128 Kbytes for PLC program, user cycles, EDM parameter
tables, dialogs for user cycles, PLC error messages
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
7/509
2-4 TNC 416/TNC 406/TNC 306 Technical data TNC 416/TNC 406/TNC 306 3/2000
TNC 416/TNC 406 TNC 306
Operating modes Manual
Electronic handwheel
Jog positioning
Positioning with MDI
Program run, single block Program run, full sequence
Programming and editing
Test run (logical and graphical)
Program input In HEIDENHAIN plain language format
Manually on keyboard
Externally over data interface
Input resolution 1 m
display resolution 0,1 m 1 m
Programmable functions Nominal position (absolute or incremental) in Cartesian or polar
coordinates
Linear path in 3 out of 4 axes
Circular path in 2 out of 4 axes
Helical path with simultaneous C-axis motion
Corner rounding, chamfer Tangential contour approach and departure
Tool number and length, radius compensation, tool undersize
Spindle speed for axis C
Rapid traverse
Feed rate
Insertion of programs into other programs
Subprograms and program section repeats
Fixed cycles: disk pocket, EDM polishing, tool definition,
generator definition Datum shift, coordinate system rotation, mirror image, scaling
Dwell time, miscellaneous functions M, program stop
Remote control via LSV2 protocol (only TNC 416/406)
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
8/509
3/2000 TNC 416/TNC 406/TNC 306 Technical data TNC 416/TNC 406/TNC 306 2-5
TNC 416/TNC 406 TNC 306
Parameter programming Mathematical functions (=, +, , , , sin, cos,
angle from r * sin and r * cos , ,
______a + b;
variable parameter comparison (=,,>,
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
9/509
2-6 TNC 416/TNC 406/TNC 306 Technical data TNC 416/TNC 406/TNC 306 3/2000
TNC 416/TNC 406 TNC 306
Encoders HEIDENHAIN incremental linear encoders, optionally with distance-
coded reference marks, grating period 0.01/0.02/0.1 mm (or rotary
encoders)
Control inputs LE 406:
6 encoder inputs (4 sinusoidal,2 square-wave inputs)
LE 416:
5 sinusoidal encoder inputs
1 analog input for eroding gap
signal
1 input for electronic handwheel
1 input for short circuit
detection
56 PLC inputs + 1 input for
EMERGENCY STOP signal
Additional 64 PLC inputs on
PLC board PL 410 B (optional)
5 encoder inputs (4 sinusoidal,1 square-wave input)
1 analog input for eroding gap
signal
1 input for electronic handwheel
1 input for short circuit detection
55 PLC inputs + 1 input for
EMERGENCY STOP signal
Additional 64 PLC inputs on PLC
board PL 410 B (optional)
Control outputs 5 analog outputs for axes 4 analog outputs for axes
31 PLC outputs
Additional 31 PLC outputs on PLC board PL 410 B (optional)
Integral PLC Programming according to instruction list, 4000 PLC commands
(Entry on HEIDENHAIN keyboard or over data interface)
Power supply for LE 24 Vdc
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
10/509
3/2000 TNC 416/TNC 406/TNC 306 Technical data TNC 416/TNC 406/TNC 306 2-7
TNC 416/TNC 406 TNC 306
Power consumption NC: 6W
PLC: 6W
BC110: 70W
BC120: 80W
BF 120: 15W
PL 410 B: 25W (approx.)
NC: 27W (approx.) with
BE 212
BF 110: 33 W
PLC : 24W (approx.)
Ambient temperature Operation: 0 to 45 C (BF 110: 0 to 40 C)
Storage: 30 to 70 C
Weight LE 416 6 kg
LE 406 8.5 kg
TE 400 2.4 kg
BC 110 11 kg
BC 120 14 kg
BF 120 3 kg
PL 410 B 1.5 kg
LE 360C 8 kg
TE 355 1.6 kg
BF 110 1.7 kg
BE 212 11 kg
PL 410 B 1.5 kg
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
11/509
2-8 TNC 416/TNC 406/TNC 306 Software 3/2000
3
SoftwareThe logic unit contains separate software for the NC section and the PLC section.
The software is identified by an 8-digit number. After the control is switched on, the NC and
PLC software numbers are displayed on the screen. The software number can also be directly requested
with the aid of the MOD function.
3.1 NC Software
3.1.1
NC Software number
The 8-digit NC software number identifies the control model, the dialog language
(language of the country) and the software version.
2 8 6 1 8 x -01
Software type
TNC 416National language
0= English 1= English 2= English
German German GermanFrench Swedish Czech
talian Finnish res.
Software version
2 8 0 6 2 x -01
Software type
TNC 406National language
0= English 1= English 2= English
German German GermanFrench Swedish Czech
Italian Finnish res.
Software version
2 6 0 0 3 x -01
Software type
TNC 306National language
0= English
1= Czech
2= French3= Italian
Software version
In addition to the above languages the TNC 306 can always use German, which may be
selected via machine parameter MP7230.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
12/509
3/2000 TNC 416/TNC 406/TNC 306 Software 2-9
3.1.2 Software types and hardware
HEIDENHAIN has up to now offered several different versions of the LE 360 and LE 360C logic units
and a new LE 406. The following table shows which software type will run on which hardware
version. Since the TNC 306 and TNC 406 are not subject to export restrictions, special export
versions are not necessary.
Control Hardware Id.-Nr. Software type
TNC 416 336 487 3x (for flat panel display BF)
336 486 3x (for CRT color screen BC)
286 18x
TNC 406 288 513 15 280 62x
TNC 306 for BE 212 264 085 96 260 03x
TNC 306 C for BE 212 270 641 25 260 03x
TNC 306 C for BF 110 270 642 25 260 05x
3.1.3
Software releases
New NC software versions are periodically released by HEIDENHAIN.
Software version Release date
TNC 416286 18x-01
286 18x-02
286 18x-03
286 18x-04
3/99
4/99
4/99
2/2000
Software version Release date
TNC 406280 62x-01
280 62x-02
280 62x-03
280 62x-04
280 62x-05
280 62x-06
280 62x-07
280 62x-08
280 62x-09
280 62x-10
3/94
10/94
11/95
11/96
2/97
10/98
12/98
3/99
12/99
2/2000
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
13/509
2-10 TNC 416/TNC 406/TNC 306 Software 3/2000
Software version Release date Software version Release date
TNC 306 TNC 306260 03x-03 2/92 260 05x-03 2/92
260 03x-04 3/93 260 05x-04 3/93
260 03x-05 8/93 260 05x-05 8/93
260 03x-06 11/93 260 05x-06 11/93
260 03x-07 3/94 260 05x-07 3/94260 03x-08 6/94 260 05x-08 6/94
260 03x-09 6/94 260 05x-09 6/94
260 03x-10 11/94 260 05x-10 11/94
260 03x-11 2/95 260 05x-11 2/95
260 03x-12 6/95 260 05x-12 6/95
260 03x-13 11/95 260 05x-13 11/95
260 03x-14 2/96 260 05x-14 2/96
260 03x-15 11/96 260 05x-15 11/96
260 03x-16 1/97 260 05x-16 1/97
3.2 PLC Software
The PLC software is produced by the machine manufacturer. Either HEIDENHAIN or the machine
manufacturer 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
database, so that the installation of the correct PLC program is assured if a control has to be
exchanged.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
14/509
3/2000 TNC 416/TNC 406/TNC 306 Software 2-11
3.3 EPROM sockets
EPROM sockets LE 416
EPROM sockets LE 406
EPROM sockets LE 306
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
15/509
2-12 TNC 416/TNC 406/TNC 306 Software 3/2000
Danger of electrical shock!Unplug the power cord before opening the housing.
Danger to internal components!When handling components that can be damaged by electrostatic discharge (E D),
observe the safety recommendations in DIN EN 100 015. Use only antistatic
packaging material. Be sure that the work station and the technician are properly
grounded during installation.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
16/509
3/99 TNC 416/TNC 406/TNC 306 Hardware components 31
Mounting and electrical installation Contents
1 Hardware components 34
1.1 Components of the TNC 416 34
1.2 Components of the TNC 406 34
1.3 Components of the TNC 306 34
1.4 Options 34
2 Installation 36
2.1 Electrical noise immunity 36
2.2 Heat generation and cooling 37
2.3 Humidity 38
2.4 Mechanical vibration 38
2.5 Mounting position 38
2.5.1 Logic unit 39
2.5.2 Visual display unit 312
2.5.3 PLC Input/Output board PL 410 B 312
2.6 Degree of protection 312
3 Overview of connections 313
4 Power supply 317
4.1 Overview 317
4.1.1 NC power supply 318
4.1.2 PLC power supply 319
4.1.3 Buffer battery 3214.2 Power supply for the visual display unit 322
4.3 Grounding plans 324
4.3.1 Grounding plan TNC 416 324
4.3.2 Grounding plan TNC 406 325
4.3.3 Grounding plan TNC 306 326
5 Measuring systems 329
5.1 Linear measuring systems 329
5.2 Angular measuring systems 3295.3 Measuring system inputs for sinusoidal signals 330
5.3.1 Connector assignments 330
5.4 Measuring system input for square-wave signals 332
5.4.1 Connector assignments 332
6 Nominal value output / Gap signal input 333
6.1 Connector assignment 334
7 Visual display unit (VDU) 337
7.1 Connector assignment 337
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
17/509
32 TNC 416/TNC 406/TNC 306 Hardware components 3/99
8 Short-circuit signal/Touch probe input 340
8.1 Connection of the short-circuit signals 341
8.2 Connection of the touch probe system 341
9 Data interface 343
9.1 RS-232-C/V.24 data interface 343
9.2 RS 422/V.11 data interface 344
10 Handwheel input 345
10.1 Portable handwheel HR 410 345
10.2 Panel-mounted handwheel HR 130 348
11 PLC inputs/outputs 350
11.1 Technical data 350
11.2 Connector assignment 351
11.2.1 PLC output 352
11.3 PLC I/O expansion board PL 410 B 35411.3.1 PLC inputs/PLC outputs on the PL 410 B 355
12 Machine control panel 358
13 TNC keyboard 360
14 Cable overview 362
14.1 Cable overview TNC 416 362
14.2 Cable overview TNC 406 363
14.3 Cable overview TNC 306 364
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
18/509
3/99 TNC 416/TNC 406/TNC 306 Hardware components 33
15 Mounting dimensions 366
15.1 LE 416 366
15.2 LE 406 367
15.3 TE 420 368
15.4 TE 400 369
15.5 BC 120 370
15.6 BF 120 371
15.7 BC 110 B 372
15.7.1 LE 360 C 373
15.8 Keyboards for TNC 306 374
15.8.1 TE 355 A 374
15.8.2 TE 355 B 375
15.9 Visual display units for TNC 306 376
15.9.1 BE 212 376
15.9.2 BF 110 377
15.10 Input/Output boards PL 410B 378
15.11 Handwheel HR 379
15.11.1 Panel-mounted handwheel HR 130 379
15.11.2 Portable handwheels HR 410 383
15.11.3 Touchprobe system TS 220 383
15.12 Cable adapter 384
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
19/509
34 TNC 416/TNC 406/TNC 306 Hardware components 3/99
1
Hardware components
1.1
Components of the TNC 416
LE 416 Logic Unit for BC 120 Id.-Nr. 336 486-3x
for BF 120 Id.-Nr. 336 487-3x
TE 420 Keyboard Unit Id.-Nr. 313 038-01
BC 120 Visual Display Unit Id.-Nr. 313 037-01
(15-inch color monitor)
BF 120 Visual Display Unit Id.-Nr. 313 506-01
(10.4-inch color flat panel display)
1.2
Components of the TNC 406
LE 406 Logic Id.-Nr. 288 513-19
TE 400 Keyboard Unit Id.-Nr. 250 517-03
BC 110 B Visual Display Unit Id.-Nr. 260 520-01
(14-inch color monitor)
1.3
Components of the TNC 306
LE 306 Logic Unit for BE 212 Id.-Nr. 270 641-2x
for BF 110 Id.-Nr. 270 642-2x
TE 355A Keyboard Unit Id.-Nr. 255 015-06
TE 355 B Keyboard Unit Id.-Nr. 255 016-04
BF 110 Visual Display Unit Id.-Nr. 267 209-01
(9-inch monochrome flat panel display)
BE 212 Visual Display Unit Id.-Nr. 242 370-01
(12-inch monochrome monitor)
1.4
Options
PL 410 B PLC I/O board Id. Nr. 263 371-12
Handwheel HR 410 Id. Nr. 296 469-01
Touch Probe System TS 220 Id. Nr. 293 488-xx
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
20/509
3/99 TNC 416/TNC 406/TNC 306 Hardware components 35
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
21/509
36 TNC 416/TNC 406/TNC 306 Installation 3/99
2
Installation
2.1
Electrical noise immunity
Please note that the vulnerability of electronic equipment to noise increases with faster signal
processing rates and higher sensitivity. Please protect your equipment by observing the following
rules and recommendations.
Noise voltages are mainly produced and transmitted by capacitive and inductive coupling. Electricalnoise can be picked up by the inputs and outputs to the equipment, and by the cabling.
Possible sources of interference are:
Strong magnetic fields from transformers and electric motors
Relays, contactors and solenoid valves
High-frequency equipment, pulse equipment and stray magnetic fields from switch-mode
power supplies
Mains leads and leads to the above equipment
Electrical interference can be avoided by:
A minimum distance between the logic unit (and its leads) and interfering equipment > 20 cm.
A minimum distance between the logic unit (and its leads) and cables carrying interference
signals > 10 cm.
(Where signal cables and cables which carry interference signals are laid together in metallic
ducting, adequate decoupling can be achieved by using a grounded separation shield)
Screening according to DIN VDE 0160.
Potential compensating lines 6 mm (see grounding plan).
Use of original HEIDENHAIN cables, connectors and couplings.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
22/509
3/99 TNC 416/TNC 406/TNC 306 Installation 37
2.2
Heat generation and cooling
Please note that the reliability of electronic equipment is greatly reduced by continuous operation at
elevated temperatures. Please take the necessary measures to maintain the permissible ambient
temperature range.
Permissible ambient temperature during operation: 0 to 45 C (BF 110: 0 to 40 C)
The following means may be employed to ensure adequate heat removal:
Provide sufficient space for air circulation.
Build in a ventilator fan to circulate the air inside the control cabinet. The fan must reinforce the
natural convection. It must be mounted so that the warm air is extracted from the logic unit
and no pre-warmed air is blown into the unit. The warm air should flow over surfaces
that have good thermal conductivity to the external surroundings (e.g. sheet metal).
For a closed steel housing without assisted cooling, the figure for heat conduction is 3 watt/m
of surface per C air temperature difference between inside and outside.
Use a heat exchanger with separate internal and external circulation.
Forced-air cooling by blowing external air through the control cabinet to replace the internal air. In
this case the ventilator fan must be mounted so that the warm air is extracted from the control
cabinet and only filtered air can be drawn in. HEIDENHAIN advises against this method of
cooling, since the functioning and reliability of electronic assemblies are adversely affected by
contaminated air (fine dust, vapors, etc.). In addition to these disadvantages, an inadequately
serviced filter can lead to a loss in cooling efficiency. Regular servicing is therefore essential.
Obstructiveelements
Heat generating
elements
Incorrect
LE
LE
Correct
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
23/509
38 TNC 416/TNC 406/TNC 306 Installation 3/99
2.3
Humidity
Permissible humidity: < 75% in continuous operation,
< 95% for not more than 30 days p.a. (randomly distributed).
In tropical areas it is recommended that the TNC remain permanently switched on to prevent
condensation on the circuit boards.
2.4
Mechanical vibration
Permissible vibration: < 5 m/s2; 0-500 Hz
2.5
Mounting position
Note the following fundamental points on mounting:
Mechanical accessibility
Permissible environmental conditions
Electrical noise immunity
The electrical regulations which are in force in your country
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
24/509
3/99 TNC 416/TNC 406/TNC 306 Installation 39
2.5.1
Logic unit
HEIDENHAIN recommends the following mounting position of LE 416
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
25/509
310 TNC 416/TNC 406/TNC 306 Installation 3/99
HEIDENHAIN recommends the following mounting position of LE 406
Air inlet
C
C
C C
145
C Measuring point forambient temperature
Free space for air circulation
Free space for servicing
Illustration ofmax. swivel range.
The minimum angle ofswivel for exchangeof subassembly shouldbe at least 90.
>577
80
40
30
100
160
30 1
00
C
Air outlet
C
PL
R32
5
40
40
270
40
40
60
30
83
>110
80
40
Minimum clearance
for servicing!recommended: =approx. 250 mm
Maintain clearancefor screwdriver
Connecting cablesmust not hinderswivel movementof the control
C
246
160
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
26/509
3/99 TNC 416/TNC 406/TNC 306 Installation 311
HEIDENHAIN recommends the following mounting position of LE 306
Airinlet
C C
C C
145
C Measuring point forambient temperature
Free space for air circulation
Free space for servicing
Illustration ofmax. swivel range.
The minimum angle ofswivel for exchangeof subassembly shouldbe at least 90.
>577
80
40
30
100
16
0
30 1
00
C
Airoutlet
C
PL
R32
5
40
40
270
40
40
60
30
83
>110
80
40
Minimum clearancefor servicing!
recommended:=approx. 250 mm
Maintain clearancefor screwdriver
Connecting cablesmust not hinderswivel movementof the control
C
218.5
132.5
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
27/509
312 TNC 416/TNC 406/TNC 306 Installation 3/99
2.5.2
Visual display unit
Permissible ambient temperature:
BC 120/BC 110/BE 212/BF 120: max. 45CBF 110: max. 40C
The VDU must be installed with a minimum clearance of 25 mm to the housing. It is particularlyrecommended that a large area is left free above the unit for heat escape.
Temperature is measured at a distance of 25 mm to the housing. The above mentioned
temperatures must not be exceeded.
When installing the BC 120/BC 110/BE 212, remember that this VDU is very sensitive
to magnetic interference. The image position and geometry can be disturbed by stray
magnetic fields; alternating fields can cause periodic movement or image distortion.
For this reason, keep a minimum distance of 0.5 m between the VDU housing and sources ofinterference (permanent magnets, motors, transformers, etc.)
2.5.3
PLC Input/Output board PL 410 B
One PL 410 B can be connected to the LE 406 or LE 360 C, if desired. There is no preferred
mounting position for heat removal.
2.6
Degree of protection
Visual display unit when mounted Protection class IP54
Keyboard unit when mounted Protection class IP54
HR 410 handwheel Protection class IP54
IP54 = Protection against dust and splashwater
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
28/509
3/99 TNC 416/TNC 406/TNC 306 Overview of connections 313
3
Overview of connections
LE 416
X1 Measuring system 1 (1Vss/11A)
X2 Measuring system 2 (1Vss/11A)
X3 Measuring system 3 (1Vss/11A)
X4 Measuring system 4 (1Vss/11A)
X6 Measuring system 5 (1Vss/11A)
X8 Nominal value outputs 1,2,3,4,5,
gap signal input
X12 Triggering touch probe for workpiece
measurement
X13 Triggering touch probe for tool
measurement
X21 RS-232-C/V24 data interface
X22 RS-422/V11 data interface
X23 Handwheel interface
X41 PLC output
X42 PLC input
X43 BC 120 VDU (alternative to BF 120)
X44 PLC power supply
X45 TNC keyboard
X46 Machine operating panel
X47 PLC expansion
X48 PLC analog inputX49 BF 120 flat panel (alternative to BC
120)
X31 NC power supply
X13, X30 Do not use
X65 not installed
B Signal ground
Protective ground (YL/GN)
Interfaces X1, X2, X3, X4, X6, X8, X12, X21, X22, X23, X41, X42, X43, X45, X46, X47, X49comply with the recommendations in VDE 0160, 5. 88 for separation from line power.
Danger to internal components!Do not engage or disengage any connections while the unit is under power.
The outputs at connection X.... (indicate pin number if appropriate) are metallically isolated
from the device electronics by means of optocouplers.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
29/509
314 TNC 416/TNC 406/TNC 306 Overview of connections 3/99
LE 406
X1
X2
X3
X4
X5
X6
X12
X8
X21
X22
X23
B
X43
X47
X42 X46
X41 X45
X44
24V
X31
X1 Measuring system 1 (11A)
X2 Measuring system 2 (11A)
X3 Measuring system 3 (11A)
X4 Measuring system 4 (11A)
X5 Measuring system 5 ( )
X6 Measuring system 6 ( )
X8 Nominal value outputs 1,2,3,4,5
gap signal input
X12 Touch probe system;
Short-circuit signal input
X21 Data interface RS-232-C/V.24
X22 Data interface RS-422/V.11
X23 Electronic handwheel HR 130/HR 410
X41 PLC output
X42 PLC input
X43 VDU BC 110
X45 TNC keyboard TE 400
X46 Machine operating panel
X47 PLC I/O board PL 410 B
X31 Power supply 24 V for NC
X44 Power supply 24 V for PLC
B Signal ground
Interfaces X1, X2, X3, X4, X5, X6, X8, X12, X21, X22, X23, X41, X42, X43, X45, X46 and X47
comply with the recommendations in VDE 0160, 5. 88 for separation from line power.
Danger to internal components!Do not engage or disengage any connections while the unit is under power.
The outputs at connection X.... (indicate pin number if appropriate) are metallically isolated
from the device electronics by means of optocouplers.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
30/509
3/99 TNC 416/TNC 406/TNC 306 Overview of connections 315
LE 306
X1
X2
X3
X4
X6
X11
X12
X8
B
X24
24V
X31
X9
X21
X22
X23 X27
X26
X25
X1 Measuring system 1 (11A)
X2 Measuring system 2 (11A)
X3 Measuring system 3 (11A)
X4 Measuring system 4 (11A)
X6 Measuring system ( )
X8 Nominal value outputs 1,2,3,4;
gap signal input
X9 VDU BE212/BF110
X11 Electronic handwheel HR 130/HR 410
X12 Touch probe system
Short-circuit signal input
X21 PLC output
X22 PLC input
X23 TNC keyboard TE355
X25 Data interface RS-232-C/V.24
X26 PLC I/O board PL 410 B
X27 Machine operating panel
X31 Power supply 24 V for NC
X24 Power supply 24 V for PLC
B Signal ground
Interfaces X1, X2, X3, X4, X6, X8, X9, X11, X12, X21, X22, X23, X25, X26, and X27 comply
with the recommendations in VDE 0160, 5.88 for separation from line power.
Danger to internal components!Do not engage or disengage any connections while the unit is under power.
The outputs at connection X.... (indicate pin number if appropriate) are metallically isolated
from the device electronics by means of optocouplers.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
31/509
316 TNC 416/TNC 406/TNC 306 Overview of connections 3/99
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
32/509
3/99 TNC 416/TNC 406/TNC 306 Power supply 317
4
Power supply
4.1
Overview
The supply voltages must meet the following specifications:
Unit Supply
voltage
Voltage range Max. current
consumption
Power
consumption
LE 416 400 Vac 330 Vac450 Vac 35 W
LE 406
LE 306
NC 24 V DC
(VDE 0551)
lower limit
20.4 V - - -
LE 406 1.3 A
LE 306 1.5 A
24 W
28.8 to 36 W
(the BE 212 is
also supplied)
upper limit
PLC 24 V DC
Base
insulation acc.
to VDE 0160)
31 V - - - 1) 1.8 A
when half of the
inputs/ outputs
are switched onsimultaneously
Approx. 6 W
when approx. 1/3 of
inputs/ outputs are
switched onsimultaneously
PL 410 B 21 A
when half of the
inputs/ outputs
are switched on
simultaneously
Approx. 25 W
when approx. 1/3 of
inputs/ outputs are
switched on
simultaneously
BF 110 Approx. 1 Awith full display
24 W typical
32 W max.
BF 120 Approx. 1 Awith full display
24 W typical
BC 110 110 V / 230 V 85 - 132 V/170 -264 V 70 W
BC 120 110 V / 230 V 85264 V 80 W
BE 212 Powered through the LE 306
1) Voltage surges up to 36 V - - - for t < 100 ms are permissible.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
33/509
318 TNC 416/TNC 406/TNC 306 Power supply 3/99
4.1.1
NC power supply
LE 416
TerminalX31
Assignment
Protective ground (YL/GN)
U1 Phase 1 330 Vac to 450 Vac;
U2 Phase 2 50 to 60 Hz
UZ Do not use
+UZ Do not use
LE 406/LE 306
Pin number
X 31
Assignment
1 + 24 V DC
2 0 V
The NC section of the LE must not be supplied
from the control voltage of the machine. It
requires its individual, external and separately
generated supply voltage according to
VDE 0551. Use 24 V DC with a permissible AC
component of 1.5 Vpp (recommended filter
capacitor 10 000 F/40 V DC).
24 V
U
t
1.5 Vpp
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
34/509
3/99 TNC 416/TNC 406/TNC 306 Power supply 319
4.1.2
PLC power supply
Power supply for the PLC on board
LE 416/LE 406 X44LE 306 X24
Pin number Assignment
1 + 24 V DC, switched off by EMERGENCY STOP2 + 24 V DC, not switched off by EMERGENCY STOP
3 0 V
Power supply for the PL 410 B
The PLC outputs are powered in groups.
Terminal Assignment PLC output
X9 0V
X10 +24 V power for logic and for "Control is operational"
X11 +24 V power for outputs O32 to O39
X12 +24 V power for outputs O40 to O47
X13 +24 V power for outputs O48 to O55
X14 +24 V power for outputs O56 to O62
The PLC inputs and outputs on the LE and PL 410 B are powered by the 24 V machine control voltage
supply.
Danger to internal components!Voltage sources for external circuitry must conform to the recommendations in VDE
0160, 5.88 for low-voltage electrical separation.
Superimposed AC components, such as those caused by a three-phase bridge rectifier without smoothing,
are permissible up to a ripple factor of 5% (see DIN 40110/10.75, Section 1.2). This means an absolute
upper voltage limit of 32.6 V and an absolute lower voltage limit of 18.5 V:
32.6 V31 V
20.4 V18.5 V
U
t
The 0 V line of the PLC power supply must be grounded with a ground lead (6 mm2) to the main
signal ground of the machine.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
35/509
320 TNC 416/TNC 406/TNC 306 Power supply 3/99
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
36/509
3/99 TNC 416/TNC 406/TNC 306 Power supply 321
4.1.3
Buffer battery
The buffer battery is the voltage source for the RAM memory for NC-programs, PLC-programs
and machine parameters when the control is switched off.
If the message "EXCHANGE BUFFER BATTERY" appears, the batteries must be exchanged.
The 3 batteries may be found behind a screw cap in the power supply section of the logic unit.
As well as the batteries, the logic unit contains an additional energy store, mounted on the
processor board, for buffering the memory contents.
This means that the mains can be switched off when replacing the batteries. The energy
store will ensure that the memory is retained while the batteries are exchanged.
LE 416
Battery type:
Three AA-size batteries, leak-proof
IEC designation: LR6
LE 406/LE306
Battery type:
Three AA-size batteries, leak-proof
IEC designation: LR6
Danger of electrical shock!Power of before opening the housing.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
37/509
322 TNC 416/TNC 406/TNC 306 Power supply 3/99
4.2
Power supply for the visual display unit
BC 120
Mains supply voltage
Supply voltage range 85 V to 264 V
Fuse rating F 3.15 A
Frequency range 50 to 60 HzPower consumption 80 W
BC 110
X3 = Mains supply connection
Mains supply voltage 110 V 220 V
Supply voltage range 85V to 132 V 170V to 264 V
Fuse rating F 3.15 A F 3.15 A
Frequency range 50 to 60 Hz
Power consumption 70 W
Connection Assignment
L1 Live (BK)
N Neutral (BL)
Protective earth (GN/YL)
X4 = DC connections(only for BC 110, Id.-Nr. 254 740 01)
Pin Number Assignment
1 Do not use
2 Do not use
Power supply for integral fan:The power supply for the fan must be connected separately to the BC 110 (Id.-Nr. 254 740 01).
The connection to the +24 V machine control voltage must be according to VDE 0550.
Permissible voltage range +18 to +28 V; power consumption 5 W at +24 V DC.
The power supply for the fan is taken internally from the main supply voltage.
BE 212
The BE 212 visual display unit is powered through the LE 306 (connector X9).
Danger of electrical shock!The BE 212 and BC 110 generate high voltages.
Unplug the power cord before opening the housing.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
38/509
3/99 TNC 416/TNC 406/TNC 306 Power supply 323
BF 120/BF 110
X1 power supply
Pin number Assignment
1 + 24 V
2 0 V
Danger to internal components!Voltage sources of external circuitry must conform to the recommendations in VDE
0160, 5.88 for low-voltage electrical separation.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
39/509
3/99 TNC 416/TNC 406/TNC 306 Grounding plans
4.3 Grounding plans
4.3.1 Grounding plan TNC 416
Danger of electrical shock!
Connect a protective ground. This connection must never be interrupted.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
40/509
3/99 TNC 416/TNC 406/TNC 306 Grounding plans
4.3.2 Grounding plan TNC 406
Danger of electrical shock!
Connect a protective ground. This connection must never be interrupted.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
41/509
3/99 TNC 416/TNC 406/TNC 306 Grounding plans
4.3.3 Grounding plan TNC 306
Danger of electrical shock!
Connect a protective ground. This connection must never be interrupted.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
42/509
3/99 TNC 416/TNC 406/TNC 306 Power supply 327
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
43/509
328 TNC 416/TNC 406/TNC 306 Power supply 3/99
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
44/509
3/99 TNC 416/TNC 406/TNC 306 Measuring systems 329
5
Measuring systems
HEIDENHAIN contouring controls are designed for the installation of incremental linear and angular
measuring systems.
The control measures the actual position with a measuring step of 0.001 mm or 0.001. Measuring
systems with a graduation period of 0.001 mm or 0.001to 1 mm or 1may be used.
It does notmatter whether the measuring system has one or several reference marks. However,HEIDENHAIN recommends measuring systems with distance-coded reference marks, since this
reduces the traversing distance when homing on the reference marks to a minimum. See chapter
"Machine Integration."
5.1
Linear measuring systems
Measurement of length is best performed by a linear measuring system. Insofar as it is compatible
with the accuracy requirements, linear measurement can also be made using a rotary encoder on
the ballscrew.
HEIDENHAIN recommends use of the following linear measuring systems:
LS 103 C, LS 106 C, LS 405 C, LS 406 C, LS 706 C, LB 326, ULS 300 C
For linear measurement using a rotary encoder and a ballscrew it would be possible to use, for
example, the ROD 450.
5.2 Angular measuring systems
For direct angular measurement in the A, B or C axes the following incremental angular measuring
systems are available: ROD 250 C, ROD 700 C, RON 255 C, and RON 705 C.
To meet accuracy requirements HEIDENHAIN recommends line counts of at least 18000.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
45/509
330 TNC 416/TNC 406/TNC 306 Measuring systems 3/99
5.3
Measuring system inputs for sinusoidal signals
The LE 406/LE306 can have measuring systems with sinusoidal inputs 11 APP.
The LE 416 can have measuring systems with sinusoidal inputs 11 APPor 1VPPswitched over via
MP115.0.
MP115.0Axis-specific encoder setting 11A or 1VPP(LE 416)
Input: %xxxxx
0 = 1VPP1 = 11A
Maximum input frequencyLE 416The maximum input frequency of the position encoder inputs of LE 416 depends on MP115.2.
MP115.2Low/high input frequency of the position encoder inputs (LE 416)Input: %xxxxx
0 = 50 kHz for 1VPP; 50 kHz for 11A
1 = 350 kHz for 1VPP;150 kHz for 11A
(recommended input value for linear encoders 50 kHz)
Maximum input frequencyLE 406 50 kHzMaximum input frequencyLE 306 30 kHz
5.3.1
Connector assignments
LE 406/LE306X1, X2, X3, X4 measuring system 1, 2, 3, 4Flange socket with female connector insert (9-pin)
Pin number Assignment
1 I1+
2 I1
5 I2+
6 I2
7 I0+
8 I0
3 + 5 V (UP)
4 0 V (UN)
9 Inner shield
Housing Outer shield = unit housing
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
46/509
3/99 TNC 416/TNC 406/TNC 306 Measuring systems 331
LE 416
X1, X2, X3, X4 and X6 Encoder (1 VPP/11A)
Logic unit Encoder cable
D-subterminal(male) 15-pin
Assignment1 VPP
Assignment11A
D-subconnector(female) 15-
pin
1 VPP 11A
1 + 5 V (UP) + 5 V 1 Brown/Green Brown
2 0 V (UN) 0 V 2 White/Green White
3 A+ I1+ 3 Brown Green
4 A I1 4 Green Yellow
5 0 V 0 V 5 White/Brown
(internal shield)
6 B+ I2+ 6 Gray Blue
7 B I2 7 Pink Red8 0 V 0 V 8
9 + 5 V + 5 V 9 Blue
10 R+ I0+ 10 Red Gray
11 0 V 0 V 11 White
12 R I0 12 Black Pink
13 0 V 0 V 13
14 Do not use Do not use 14 Violet
15 Do not use Do not use 15Housing External
shield
External shield Housing External shield External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
47/509
332 TNC 416/TNC 406/TNC 306 Measuring systems 3/99
5.4
Measuring system input for square-wave signals
One measuring system with square-wave signals can be connected to the LE 306 at input X6, two
such systems can be connected to the LE 406 at input X5 and X6.
The maximum input frequency:
LE 406 300 kHzLE 306 200 kHz
5.4.1
Connector assignments
X5 (only LE 406), X6 measuring system 5, 6 (only LE 406/LE 306)
Flange socket with female insert (12-pin)
Pin number Assignment
5 Ua1
6 Ua1
8 Ua2
1Ua2
3 Ua0
4Ua0
7UaS
2 + 5 V (UP)
12 + 5 V (UP)
11 0 V (UN)
10 0 V (UN)
9 (contact spring) shield = housing
Use only HEIDENHAIN measuring system cables, connectors and couplings.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
48/509
3/99 TNC 416/TNC 406/TNC 306 Nominal value output / Gap signal input 333
6
Nominal value output / Gap signal input
Nominal value output
The HEIDENHAIN contouring controls regulate the position loop servo with a nominal value potential
of 10 volts.
Maximum loading of the nominal value outputs: 2 mA
Maximum load capacitance: 2 nF
Gap signal input
The gap signal (voltage) is connected to analog input X8 of the logic unit. The gap signal voltage
must be between 0V and + 5V. The TNC uses the gap signal to calculate new nominal values for the
analog outputs. (For a detailed description, see "Gap control").
The following RC circuit is integrated in the logic unit at the analog input for filtering of surge pulses
and for storing the analog signal.
Pin 2 220
Pin 10
Ra
0 V100 nF
LE
X8
Time constant:
T = 22 s (220 100 F)
5T= 110 s
Since the output impedance Raof the driver stage affects the entire time constant, a low output
impedance is necessary (for example 33 ).
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
49/509
334 TNC 416/TNC 406/TNC 306 Nominal value output / Gap signal input 3/99
6.1
Connector assignment
X8 nominal value output/Gap signal inputD-sub connector (15-pin female insert)
X8 Nominal Value Output
Logic unit Connecting Cable
D-sub terminal
(female) 15-pin
Assignment D-sub
connector(male) 15-pin
Color
1 Nominal value output 1 1 BN
2 Analog input, gap signal 2 BN/GN
3 Nominal value output 2 3 YL
4 Nominal value output 5 4 RD/BL
5 Nominal value output 3 5 PK
6 0V Nominal value output 5 6 GY/PK
7 Nominal value output 4 7 RD
8 Nominal value output 6 8 VI
9 0V Nominal value output 1 9 WH
10 0V Analog input 10 WH/GY
11 0V Nominal value output 2 11 GN
12 Not used 12
13 0V Nominal value output 3 13 GY
14 0V Nominal value output 4 14 BL
15 0V Nominal value output 6 15 BK
Housing External shield Housing External shield
No more than one intermediate terminal clamp is allowed on the connecting cable to the nominal
value outputs. The clamp must be made in a grounded connection box. This is necessary when the
cable must branch to physically separate servo inputs. It is only possible to ground the shielding of
the servo leads in this way. If required, suitable connection boxes are available from HEIDENHAIN
with the Id.-Nr. 251 249 01.
Connection box
The casing of the connection box must be electrically connected with the frame of the machine.
The 0 V of the nominal value differential input must be joined to signal ground, (cable cross-section
6 mm, see also under "Grounding plan").
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
50/509
3/99 TNC 416/TNC 406/TNC 306 Nominal value output / Gap signal input 335
Suggested solution for connecting and wiring the shielding in the connection box:
Insulated against housing
Leads are provided
with end sleeves.
Cable screens are led onto 0.14 mm2
insulated strands via crimp eyelets.
SERVO
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
LE
X Y Z SIV
GAP
Pin number Assignment
1 Analog output X-axis
2 Analog output 0V X-axis
3 Analog output Y-axis
4 Analog output 0V Y-axis
5 Analog output Z-axis
6 Analog output 0V Z-axis
7 Analog output IVth axis
8 Analog output 0V IVth axis
11 Analog input Gap signal
12 Analog input 0V Gap signal
13 Screen connection
14 Screen connection
15 Screen connection
16 Screen connection
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
51/509
336 TNC 416/TNC 406/TNC 306 Nominal value output / Gap signal input 3/99
6 Nominal value output / Gap signal input
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
52/509
3/99 TNC 416/TNC 406/TNC 306 Visual display unit (VDU) 337
7
Visual display unit (VDU)
The LE 406 is prepared for connecting the BC 110 CRT screen, the LE 306C for connecting the BE
212 CRT screen or BF 110 flat luminescent screen. The status is indicated by the Id.-Nr. on the ID
label (Id.-Nr. 270 641 for BE 212 and Id.-Nr. 270 642 for BF 110).
7.1
Connector assignment
X9 Visual display unit BE 212 and BF 110X43 Visual display unit BC 110Flange socket with female insert
Pin number BE 212 BF 110 BC 110 BC 120
1 0 V power supply GND R
2 +12 V power supply Not used G
3 Not used Not used Not used B
4 +12 V power supply Not used Do not use
5 Not used Not used Not used Do not use
6 Not used Not used Not used GND
7 Video R GND
8 0 V power supply GND GND
9 V SYNC V SYNC V SYNC Do not use
10 H SYNC1 H SYNC1 GND
11 0 V Signal GND GND
12 0 V Signal Not used Do not use
13 Video Not used HSYNC
14 H SYNC 2 G VSYNC15 CLOCK B Do not use
Housing Outer shield = Unit housing
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
53/509
338 TNC 416/TNC 406/TNC 306 Visual display unit (VDU) 3/99
X49 Visual Display Unit BF 120 (option for LE 416)
Logic unit Connecting cable Id. Nr.312 875../Extension cable
Id. Nr.312 876.. or Connecting cable Id.-Nr.312 874..
BF 120
D-sub terminal
(female) 62-pin
3-row
Assignment D-sub connector
(male) 62-pin
3-row
Assignment D-sub connector
(female) 62-pin
3-row
D-sub connector
(male) 62-pin 3-row
1 0 volt 1 1 1
2 CLK.P 2 2 2
3 HSYNC 3 3 3
4 BLANK 4 4 4
5 VSYNC 5 5 5
6 0 volt 6 6 6
7 R0 7 7 7
8 R1 8 8 8
9 R2 9 9 9
10 R3 10 10 10
11 0 volt 11 11 11
12 G0 12 12 12
13 G1 13 13 13
14 G2 14 14 14
15 G3 15 15 15
16 0 volt 16 16 16
17 B0 17 17 17
18 B1 18 18 18
19 B2 19 19 19
20 B3 20 20 20
21 0 volt 21 21 21
22 0 volt 22 22 22
23 CLK.P 23 23 23
24 HSYNC 24 24 24
25 BLANK 25 25 25
26 VSYNC 26 26 26
27 0 volt 27 27 27
28 R0 28 28 28
29 R1 29 29 29
30 R2 30 30 30
31 R3 31 31 31
32 0 volt 32 32 32
33 G0 33 33 33
34 G1 34 34 34
35 G2 35 35 35
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
54/509
3/99 TNC 416/TNC 406/TNC 306 Visual display unit (VDU) 339
D-sub terminal
(female) 62-pin
3-row
Assignment D-sub connector
(male) 62-pin
3-row
Assignment D-sub connector
(female) 62-pin
3-row
D-sub connector
(male) 62-pin 3-row
36 G3 36 36 36
37 0 volt 37 37 37
38 B0 38 38 38
39 B1 39 39 39
40 B2 40 40 40
41 B3 41 41 41
42 0 volt 42 42 42
43 DISP.LOW 43 43 43
44 DISP.LOW 44 44 44
45 DISP.ON 45 45 45
46 DISP.ON 46 46 46
47 C0 47 47 47
48 C1 48 48 48
49 C2 49 49 49
50 C3 50 50 50
51 C4 51 51 51
52 C5 52 52 52
53, 54, 55, 56, 57,
58, 59, 60, 61, 62
Do not use 53, 54, 55, 56, 57,
58, 59, 60, 61, 62
53, 54, 55, 56, 57,
58, 59, 60, 61, 62
53, 54, 55, 56, 57,
58, 59, 60, 61, 62
Housing External shield Housing External shield Housing Housing
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
55/509
340 TNC 416/TNC 406/TNC 306 Short-circuit signal/Touch probe input 3/99
8
Short-circuit signal/Touch probe input
This input allows detection of short circuits during the eroding process (see the chapter "Machine
integration", section "Gap control with feed forward control"). In addition, workpieces can be
measured or set up electronically with the manual or programmable probing functions (see the
User's Manual for the TNC 416/TNC 406/TNC 306).
Either electrodes or 3D probe systems TS 220 from HEIDENHAIN can be used for such functions.
For start-up and adjustment of the "Probing" function or of a 3D-touch probe system, see the chapter
"Machine integration."
X12 Short circuit signal/Touch probe system TS 220
Flange socket with female connector insert (15-pin)
Pin number Signal designation
1 Inner shield (0 V)3 Ready/standby
4 Start
5 +15 V 10 % (UP)
6 + 5 V 5 % (UP)
8 0 V (UN)
9 Trigger signal
10
2, 11 to 15 not used
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
56/509
3/99 TNC 416/TNC 406/TNC 306 Short-circuit signal/Touch probe input 341
8.1
Connection of the short-circuit signals
The short-circuit signal line must be connected according to the diagram, otherwise a short-circuit
message will result. If you do not wish evaluation of the short-circuit signal, set PLC Marker M2622
(see chapter "Machine integration", section "Gap control with feed forward control ").
1
2
34
5
67
89
101112
13
1415
1
2
34
5
67
89
101112
13
1415
Standby
+15V 10% (UP)
+ 5V 5% (U P)Battery warning
0V (UN)
Trigger signal
Trigger signal
1)
2.2 k2.2 kShort-circuit-signal1)
1)Contact closed means no short circuit, HIGH level on pin 10
8.2
Connection of the touch probe system
The TS 220 touch probe systems are connected directly to the logic unit via a cable adapter.
See also section "Cable overview".
Adapter cable Id. Nr.274 543 TS220 Id. Nr. 293 488 ..(TS120 Id. Nr. 265 348 ..)
D-sub
connector(male) 15-pin
Coupling on
mounting base6-pin
Quick
disconnect6-pin
3 Pink 4 4 Gray
5 Gray
6 Brown/Green 2 2 Brown
7 Gray 3 3 Gray
8 White/Green 1 1 White
9 Green 5 5 Green
10 Yellow 6 6 Yellow
Housing External shield Housing Housing External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
57/509
342 TNC 416/TNC 406/TNC 306 Short-circuit signal/Touch probe input 3/99
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
58/509
3/99 TNC 416/TNC 406/TNC 306 Data interface 343
9
Data interface
9.1
RS-232-C/V.24 data interface
HEIDENHAIN guarantees that, if properly connected, the serial data interface RS-232-C/V.24 will
transmit data correctly up to a distance of 20 m between the logic unit and the peripheral unit.
The connection to the peripheral unit is made via a cable adapter which is attached to either the
operating console or the control cabinet. See also section "Cable overview".
For connection to the peripheral unit HEIDENHAIN offers a standard connecting cable
(Id.-Nr. 274 545 01), length 3 m.
LE 416/LE 406 X21
LE 306 X25
Connecting cable
Id. Nr. 239 760 ..
Adapter block
Id. Nr. 239 758 01
Connecting cable
Id. Nr. 274 545 01
D-sub
terminal
(female)
25-pin
Assignment D-sub
connector
(male)
25-pin
D-sub
connector
(female) 25-
pin
D-sub
terminal
(male)
25-pin
D-sub
terminal
(female)
25-pin
D-sub
connector
(male)
25-pin
D-sub
connector
(female)
25-pin
1 GND 1 WH/BN
External
shield
1 1 1 1 WH/BN
External
shield
1
2 RXD 2 Green 3 3 3 3 Yellow 2
3 TXD 3 Yellow 2 2 2 2 Green 3
4 CTS 4 Gray 5 5 5 5 Pink 4
5 RTS 5 Pink 4 4 4 4 Gray 5
6 DTR 6 Blue 20 20 20 20 Brown 6
7 Signal GND 7 Red 7 7 7 7 Red 7
20 DSR 20 Brown 6 6 6 6 Blue 20
8 to 19,
21 to 25
Do not use 8 8 8 8 8
Housing External
shield
Housing External
shield
Housing Housing Housing Housing External
shield
Housing
The interface complies with the recommendations in IEC 742 EN 50 178 for separation from
line power.
If your peripheral unit has a connector layout that differs from the above, the HEIDENHAIN
connecting cable cannot be used.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
59/509
344 TNC 416/TNC 406/TNC 306 Data interface 3/99
9.2
RS 422/V.11 data interface
The RS-422/V.11 data interface is only integrated in the logic unit LE 416 and LE 406. It is
designated to control the generator.
If used correctly, the RS-422/V.11 serial data interface will ensure error-free data transmission up to
a distance of 1000 m between logic unit and peripheral unit.
The connection to the peripheral unit is made via a cable adapter which is attached to either the
operating console or the control cabinet. See also under the heading "Mounting dimensions" andCable Overview.
The cable adapter Id.-Nr. 249 819 01 is connected to the logic unit with the HEIDENHAIN
connecting cable Id.-Nr. 250 478 ..
LE416/LE 406 X22 Connecting Cable
Id. Nr. 289 208 ..
Adapter Block
Id. Nr. 311 086 01
D-sub
terminal
(female)
15-pin
Assignment D-sub
connector
(male)
15-pin
D-sub
connector
(female)
15-pin
D-sub
terminal
(male)
15-pin
D-sub
terminal
(female)
15-pin
1 Chassis GND 1 Black
External
shield
1 1 1
2 RXD 2 Blue 2 2 2
3 CTS 3 Gray 3 3 3
4 TXD 4 White 4 4 4
5 RTS 5 Green 5 5 5
6 DSR 6 White/Green 6 6 6
7 DTR 7 Green/Pink 7 7 7
8 Signal GND 8 Black 8 8 8
9 RXD 9 Red 9 9 9
10 CTS 10 Pink 10 10 10
11 TXD 11 Brown 11 11 11
12 RTS 12 Yellow 12 12 12
13 DSR 13 Brown/Green 13 13 13
14DTR
14 Red/Blue 14 14 14
15 Do not assign 15 Violet 15 15 15
Housing External
shield
Housing Housing Housing Housing
The interfaces complies with the recommendations in IEC 742 EN 50 178 for separation
from line power.
The following cable type must be used for the connection to the peripheral unit:
LIYCY 7 x 2 x 0.14 Cu
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
60/509
3/99 TNC 416/TNC 406/TNC 306 Handwheel input 345
10
Handwheel input
The HR 130, HR 410 handwheels can be connected to the TNC 416/TNC 406 and
TNC 306. See also chapter "Machine Integration."
LE 416/LE 406 connector X23LE 306 connector X11
Pin number LE X23 or X111 CTS
2 0 V (UN)
3 RTS
4 + 12 V (UP)
5
6 DTR
7 TxD
8 RxD9 DSR
Housing Outer shield
10.1
Portable handwheel HR 410
The HR 410 is a portable electronic handwheel with:
Five axis-selection keys
Two traverse direction keys
Three keys with predefined traverse speeds (slow, medium, fast)
Actual-position-capture key
Three keys for machine functions to be determined by the machine tool builder
Two permissive keys
EMERGENCY STOP button
Holding magnets
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
61/509
346 TNC 416/TNC 406/TNC 306 Handwheel input 3/99
Dummy plug for EMERGENCY STOP circuit (option) Id. Nr. 271 958 03
Connecting cable (spiral cable) Id. Nr. 312 879 01
Connecting cable (normal cable) Id. Nr. 296 467 ..
Connecting cable (with metal armor) Id. Nr. 296 687 ..
Extension cable
Id. Nr. 281 429..
Adapter cable
Id. Nr. 296 466..
Connecting cable
Id. Nr. 296 467 05
HR 410
Id. Nr. 296 469 01
D-subconnec-
tor
(male)
9-pin
D-subconnec-
tor
(female)
9-pin
D-subconnec-
tor
(male)
9-pin
Couplingon mount-
ing base
(female)
18-pin
Connec-tor
(male)
18-pin
Connec-tor
(female)
18-pin
Connec-tor
(male)
18-pin
Housing Shield Housing Housing Shield Housing Housing Shield Housing Housing Shield
2 White 2 2 White E E White E E
4 Brown 4 4 Brown D D Brown D D
6 Yellow 6 6 Yellow B B Yellow B B
7 Gray 7 7 Gray A A Gray A A
8 Green 8 8 Green C C Green C C
6 6 WH/BK 6 6
7 7 YL/BK 7 7
5 5 WH/RD 5 5
4 4 WH/BL 4 4
2 2 WH/GN 2 2
3 3 WH/YL 3 3
1 1 WH/BN 1 1
WH/BN 3 Contact 1 + 2
WH/YL 2 Contact 2 (left) Permissive button
WH/GN 1 Contact 1 (right)
WH/BL 1 Contact 1
WH/RD 2 Contact 1 EMERGENCY STOP
YL/BK 3 Contact 2
WH/BK 4 Contact 2
The adapter includes plug-in terminal strips for the contacts of the EMERGENCY STOP button and
permissive button (maximum load 1.2 A, 24 V).
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
62/509
3/99 TNC 416/TNC 406/TNC 306 Handwheel input 347
Internal wiring of contacts to permissive buttons and EMERGENCY STOP button of the HR 410:
The plug-in terminal strips are included in delivery with the adapter cable. If you have an immediate
need for these terminal strips before the adapter cable, they can be ordered separately:
Plug-in terminal strip, 3-pin Id. Nr. 266 364 06
Plug-in terminal strip, 4-pin Id. Nr. 266 364 12
Right Left
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
63/509
348 TNC 416/TNC 406/TNC 306 Handwheel input 3/99
10.2
Panel-mounted handwheel HR 130
The HR 130 is the panel-mount version of the HR 330 without axis keys, rapid traverse keys, etc. It
is connected to the logic unit directly or by extension cable.
The HR 130 is available in various versions (standard cable length 1 meter):
Small knob, axial cable outlet: Id. Nr. 254 040 01
Small knob, radial cable outlet: Id. Nr. 254 040 02
Large knob, axial cable outlet: Id. Nr. 254 040 03
Large knob, radial cable outlet: Id. Nr. 254 040 04
Ergonomic knob, radial cable outlet: Id. Nr. 254 040 05
(See also the "Dimensions" section in the Appendix)
Extension cable Id. Nr. 281 429 .. HR 130 Id. Nr. 254 040 ..
D-sub connector(male) 9-pin
D-sub connector(female) 9-pin
D-sub connector(male) 9-pin
Housing Shield Housing Housing Shield
2 White 2 2 White
4 Brown 4 4 Brown
6 Yellow 6 6 Yellow
8 Green 8 8 Green
7 Gray 7
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
64/509
3/99 TNC 416/TNC 406/TNC 306 Handwheel input 349
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
65/509
350 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 3/99
11
PLC inputs/outputs
The HEIDENHAIN contouring control TNC 416/TNC 406 has a capacity of max. 56 PLC inputs and 31
PLC outputs, the TNC 306 has a capacity of max. 55 PLC inputs and 31 PLC outputs.
These, PLC inputs and PLC outputs can be connected directly to the logic unit.
In addition, one PLC I/O-board PL 410 B, with 64 PLC inputs and 31 PLC outputs, can be connected
to the logic unit.
11.1
Technical data
PLC inputs
PL 410B/logic unit
Potential range:
1-signal: Ue 13 V to 30.2 V
0-signal: Ue 20 V to 3.2 V
Current range:1-signal: Ie 3.8 mA to 8.9 mA0-signal: Ie 1.0 mA at Ue= 3.2 V
PLC outputs
Open-collector outputs with current limiting
Logic unit PL 410B
Min. output potential
for 1-signal 3 V below supply voltage
Nominal operating
current per output 0.1 A 1.2 A
Danger to internal components!Connect inductive loads only with a quenching diode parallel to the inductance.
It is not permissible to short-circuit more than one output from the logic unit simultaneously.
A short-circuit of one output will not cause an overload.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
66/509
3/99 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 351
11.2
Connector assignment
The PLC inputs I128 to I151 are on connector X46 (LE 416/LE 406) or X27 (LE 306) for the machine
control panel.
LE416/LE 406 connector X42
LE 306 connector X22
Con. cable Id.-Nr 244 005 .. / Id. Nr. 263 954
..
D-sub connector
(female) 37-pin
Assignment D-sub connector
(male) 37-pin
1 I0 1 Gray/Red
2 I1 2 Brown/Black
3 I2 3 White/Black
4 I3 acknowledge "control-is-ready"; main processor 4 Green/Black
5 I4 5 Brown/Red
6 I5 6 White/Red
7 I6 7 White/Green
8 I7 8 Red/Blue
9 I8 9 Yellow/Red
10 I9 10 Gray/Pink
11 I10 11 Black
12 I11 12 Pink/Brown
13 I12 13 Yellow/Blue
14 I13 14 Green/Blue
15 I14 15 Yellow
16 I15 16 Red
17 I16 17 Gray
18 I17 18 Blue
19 I18 19 Pink20 I19 20 White/Gray
21 I20 21 Yellow/Gray
22 I21 22 Green/Red
23 I22 23 White/Pink
24 I23 24 Gray/Green
25 I24 25 Yellow/Brown
26 I25 26 Gray/Brown
27 I26 27 Yellow/Black
28 I27 28 White/Yellow
29 I28 29 Gray/Blue
30 I29 30 Pink/Blue
31 I30 31 Pink/Red
32 I31 32 Brown/Blue
33 Do not use 33 Pink/Green
34 Do not use 34 Brown
35 Do not use 35 Yellow/Pink
36 Do not use 36 Violet
37 Do not use 37 White
Housing External shield Housing External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
67/509
352 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 3/99
11.2.1
PLC output
The PLC outputs O0 to O7 are also to be found on the connector X46 (LE416/LE 406) or X27
(LE 306) for the machine control panel. See also section "Machine control panel."
LE 416/LE406 X41
LE 306 X21
Connecting cable
Id. Nr 244 005 .. / Id. Nr. 263 954 ..
D-sub terminal
(female) 37-pin
Assignment D-sub connector
(male) 37-pin
1 O0 1 Gray/Red
2 O1 2 Brown/Black
3 O2 3 White/Black
4 O3 4 Green/Black
5 O4 5 Brown/Red
6 O5 6 White/Red
7 O6 7 White/Green
8 O7 8 Red/Blue
9 O8 9 Yellow/Red
10 O9 10 Gray/Pink
11 O10 11 Black
12 O11 12 Pink/Brown
13 O12 13 Yellow/Blue
14 O13 14 Green/Blue
15 O14 15 Yellow
16 O15 16 Red
17 O16 17 Gray
18 O17 18 Blue
19 O18 19 Pink20 O19 20 White/Gray
21 O20 21 Yellow/Gray
22 O21 22 Green/Red
23 O22 23 White/Pink
24 O23 24 Gray/Green
25 O24 25 Yellow/Brown
26 O25 26 Gray/Brown
27 O26 27 Yellow/Black
28 O27 28 White/Yellow
29 O28 29 Gray/Blue
30 O29 30 Pink/Blue
31 O30 31 Pink/Red
32 Do not use 32 Brown/Blue
33 Do not use 33 Pink/Green
34 Control-is-ready signal 34 Brown
35 24 V (PLC) test output; Do not use 35 Yellow/Pink
36 24 V (PLC) test output; Do not use 36 Violet
37 24 V (PLC) test output; Do not use 37 White
Housing External shield Housing External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
68/509
3/99 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 353
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
69/509
354 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 3/99
11.3
PLC I/O expansion board PL 410 B
One PL 410 B board with 64 PLC inputs, 31 PLC outputs and the "Control is operational" output can
be connected to the logic unit. The PL 410 B can be mounted directly on the logic unit. See section
"Power supply" for the power connection.
LE416/LE 406 connector X47
LE 306 connector X26
Connecting cable Id. Nr. 289 111 .. 1st PL 410 B
X47 D-sub
terminal
(male)
25-pin
Assignment D-sub
connector
(female)
25-pin
D-sub
connector
(male)
25-pin
X1 D-sub
terminal
(female)
25-pin
Assignment
1 0 V 1 Brown, Yellow, Pink, Red,
Violet
1 1 0 V
2 0 V 2 Red/Blue, Brown/Green,
Yellow/Brown, Gray/Brown,
Pink/Brown
2 2 0 V
3 0 V 3 Brown/Blue, Brown/Red,
Brown /Black, Yellow/Gray,
Yellow/Pink
3 3 0 V
4 Do not use 4 Gray/Green 4 4 Serial IN 2
5 Address 6 5 White/Green 5 5 Address 6
6 INTERRUPT 6 Pink/Green 6 6 INTERRUPT
7 RESET 7 Green/Blue 7 7 RESET
8 WRITE EXTERNAL 8 White/Blue 8 8 WRITE
EXTERNAL
9 WRITE EXTERNAL 9 White/Red 9 9 WRITE EXTERNAL
10 Address 5 10 Gray/Pink 10 10 Address 5
11 Address 3 11 Blue 11 11 Address 312 Address 1 12 Green 12 12 Address 1
13 Do not use 13 13 13 Do not use
14 PCB identifier 4 14 Yellow/Blue, Pink/Blue,
Yellow/Black
14 14 + 12 V
15 PCB identifier 3 15 Yellow/Red, Gray/Red,
Pink/Red
15 15 + 12 V
16 Do not use 16 Gray/Blue 16 16 PCB identifier 2
17 Do not use 17 Green/Black 17 17 PCB identifier 1
18 Address 7 18 White/Yellow 18 18 Address 7
19 Serial IN 1 19 White/Black 19 19 Serial IN 1
20 EMERGENCY STOP 20 Green/Red 20 20 EMERGENCY STOP
21 Serial OUT 21 White/Gray 21 21 Serial OUT
22 Serial OUT 22 White/Pink 22 22 Serial OUT
23 Address 4 23 Black 23 23 Address 4
24 Address 2 24 Gray 24 24 Address 2
25 Address 0 25 White 25 25 Address 0
Housing External shield Housing External shield Housing Housing External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
70/509
3/99 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 355
11.3.1
PLC inputs/PLC outputs on the PL 410 B
The PLC inputs and outputs on the PL 410 B are distributed over 6 switches. The 16-pin connectors
are arranged in vertical pairs.
PLC inputs
X3 X4
Pin number Assignment Pin number Assignment
1 I64 1 I80
2 I65 2 I81
3 I66 3 I82
4 I67 4 I83
5 I68 5 I84
6 I69 6 I85
7 I70 7 I86
8 I71 8 I87
9 I72 9 I8810 I73 10 I89
11 I74 11 I90
12 I75 12 I91
13 I76 13 I92
14 I77 14 I93
15 I78 15 I94
16 I79 16 I95
X5 X6
Pin number Assignment Pin number Assignment
1 I96 1 I112
2 I97 2 I113
3 I98 3 I114
4 I99 4 I115
5 I100 5 I116
6 I101 6 I117
7 I102 7 I118
8 I103 8 I119
9 I104 9 I12010 I105 10 I121
11 I106 11 I122
12 I107 12 I123
13 I108 13 I124
14 I109 14 I125
15 I110 15 I126
16 I111 16 I127
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
71/509
356 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 3/99
PLC outputs
Assignment of the grouped power supply:
Terminal Assignment
X9 0 V
X10 +24V PL supply and "Control is operational"
X11 +24 V Supply O32 - O39X12 +24 V Supply O40 - O47
X13 +24 V Supply O48 - O55
X14 +24 V Supply O56 - O62
X7 X8
Pin number Assignment Pin number Assignment
1 O32 1 O48
2 O33 2 O49
3 O34 3 O50
4 O35 4 O51
5 O36 5 O52
6 O37 6 O53
7 O38 7 O54
8 O39 8 O55
9 O40 9 O56
10 O41 10 O57
11 O42 11 O58
12 O43 12 O59
13 O44 13 O6014 O45 14 O61
15 O46 15 O62
16 O47 16 "Control is operational"
The analog inputs (X15 to X22) of the PL 410 cannot be evaluated in the LE 360 C! The PLC outputs
are powered in groups and are therefore switched off via EMERGENCY STOP in groups.
Danger to internal components!Connect inductive loads only with a quenching diode parallel to the inductance.
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
72/509
3/99 TNC 416/TNC 406/TNC 306 PLC inputs/outputs 357
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
73/509
358 TNC 416/TNC 406/TNC 306 Machine control panel 3/99
12
Machine control panel
A separate 37-pin female connector is mounted on the logic unit for the connection to the
manufacturer's proprietary machine control panel. This connector includes the 0 V and +24 V of the
PLC power supply. The PLC inputs I128 to I151 may be connected only with the power supply from
pins 36 and 37, since this power supply is internally secured as required.
LE416/LE 406 connector X46LE 306 connector X27
Connecting cable Id. Nr. 263 954 ..
D-sub terminal(female) 37-pin
Assignment D-sub connector(male) 37-pin
1 I128 1 Gray/Red
2 I129 2 Brown/Black
3 I130 3 White/Black
4 I131 4 Green/Black
5 I132 5 Brown/Red
6 I133 6 White/Red
7 I134 7 White/Green
8 I135 8 Red/Blue
9 I136 9 Yellow/Red
10 I137 10 Gray/Pink
11 I138 11 Black
12 I139 12 Pink/Brown
13 I140 13 Yellow/Blue
14 I141 14 Green/Blue
15 I142 15 Yellow
16 I143 16 Red
17 I144 17 Gray
18 I145 18 Blue
19 I146 19 Pink
20 I147 20 White/Gray
21 I148 21 Yellow/Gray
22 I149 22 Green/Red
23 I150 23 White/Pink
24 I151 24 Gray/Green
25 I152 25 Yellow/Brown
26 O0 26 Gray/Brown
27 O1 27 Yellow/Black
28 O2 28 White/Yellow
29 O3 29 Gray/Blue
30 O4 30 Pink/Blue
31 O5 31 Pink/Red
32 O6 32 Brown/Blue
33 O7 33 Pink/Green
34 0 V (PLC) 34 Brown
35 0 V (PLC) 35 Yellow/Pink
36 +24 V (PLC) 36 Violet
37 +24 V (PLC) 37 White
Housing External shield Housing External shield
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
74/509
3/99 TNC 416/TNC 406/TNC 306 Machine control panel 359
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
75/509
360 TNC 416/TNC 406/TNC 306 TNC keyboard 3/99
13
TNC keyboard
The TNC keyboard TE 420/TE 400 and TE 355 A/B are connected to the logic unit by a connecting
cable.
LE 416/LE 406 connector X45
LE 306 connector X23
Connecting cable Id. Nr. 263 954 .. TE 420/TE 400
TE 355
D-sub terminal
(female) 37-pin
Assignment
X45
Assignment
X23
D-sub
connector
(male) 37-pin
D-sub connector
(female) 37-pin
X2 D-sub terminal
(male) 37-pin
1 RL0 RL0 1 Gray/Red 1 1
2 RL1 RL1 2 Brown/Black 2 2
3 RL2 RL2 3 White/Black 3 3
4 RL3 RL3 4 Green/Black 4 4
5 RL4 RL4 5 Brown/Red 5 5
6 RL5 RL5 6 White/Red 6 6
7 RL6 RL6 7 White/Green 7 7
8 RL7 RL7 8 Red/Blue 8 8
9 RL8 Do not use 9 Yellow/Red 9 9
10 RL9 Do not use 10 Gray/Pink 10 10
11 RL10 Do not use 11 Black 11 11
12 RL11 Do not use 12 Pink/Brown 12 12
13 RL12 Do not use 13 Yellow/Blue 13 13
14 RL13 Do not use 14 Green/Blue 14 14
15 RL14 Do not use 15 Yellow 15 15
16 RL15 Do not use 16 Red 16 16
17 RL16 Do not use 17 Gray 17 17
18 RL17 Do not use 18 Blue 18 18
19 RL18 Do not use 19 Pink 19 19
20 SL0 SL0 20 White/Gray 20 20
21 SL1 SL1 21 Yellow/Gray 21 21
22 SL2 SL2 22 Green/Red 22 22
23 SL3 SL3 23 White/Pink 23 23
24 SL4 SL4 24 Gray/Green 24 24
25 SL5 SL5 25 Yellow/Brown 25 25
26 SL6 SL6 26 Gray/Brown 26 26
27 SL7 SL7 27 Yellow/Black 27 27
28 RL19 Do not use 28 White/Yellow 28 28
29 RL20 Do not use 29 Gray/Blue 29 29
30 Not used Do not use 30 Pink/Blue 30 30
31 RL21 Do not use 31 Pink/Red 31 31
32 RL22 Do not use 32 Brown/Blue 32 32
33 RL23 Do not use 33 Pink/Green 33 33
34 Spindle override (wiper) 34 Brown 34 34
35 Feed rate override (wiper) 35 Yellow/Pink 35 35
36 +5 V override potentiometer 36 Violet 36 36
37 0 V override potentiometer 37 White 37 37Housing External shield Housing External shield Housing Housing
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
76/509
3/99 TNC 416/TNC 406/TNC 306 TNC keyboard 361
X1 on the TNC keyboard TE 420/TE 400 for the connecting the soft keys on the VDU
Pin Number Assignment
1 SL0
2 SL1
3 SL2
4 SL3
5 Do not use
6 RL15
7 RL14
8 RL13
9 RL12
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
77/509
3/99 TNC 416/TNC 406/TNC 306 Cable overview
14 Cable overview
14.1Cable overview TNC 416
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
78/509
3/99 TNC 416/TNC 406/TNC 306 Cable overview
14.2Cable overview TNC 406
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
79/509
3/99 TNC 416/TNC 406/TNC 306 Cable overview
14.3Cable overview TNC 306
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
80/509
3/99 TNC 416/TNC 406/TNC 306 Cable overview 365
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
81/509
366 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15
Mounting dimensions
15.1
LE 416
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
82/509
3/99
TNC41
6/TNC406/TNC306
Mountingdimensions
367
392
15.43"
10
.4"
7.28"
M3 (Einschraublnge max.3)
M3 (LENGTH OF ENGAGEMENT .12")
476+5
18.7"+.2" 456+2
17.95"+.08"
Befestigungsmglichkeit
PL 400
MOUNTING POSSIBILITY
PL 400
2670.2
1
0.5".0
08"
20
.79"
3260.5
12.83.0
2"
12.5
.5
"
10,5
.41
"
9
.35"
25
1"
427
16.8"
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
83/509
368 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15.3
TE 420
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
84/509
3/99
TNC41
6/TNC406/TNC306
Mountingdimensions
369
5.5
.217"
251
"
36+5
1.4"+.2
"
10DIA.4"
2.08"
8+1
DIA.3+.04"
M59.5
.37"
26
20.2
10.3
15"0.2
"
2
42+0.5
9.
53"+.0
2"
Montageflche
MOUNTING SURFACE
2620.2
10.315".0
08"
274
10.8"
400
15.75" 3880.2
15.276".008"
60.2
.236".008"60.2
.236".0
08"
0.5
.02"
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
85/509
370 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15.5
BC 120
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
86/509
3/99 TNC 416/TNC 406/TNC 306 Mounting dimensions 371
15.6
BF 120
12
.47"
238
9.37"
M 5
0
10 .39"
400
15.75"
3760.3
14.803.012"
2460.3
9.685.012"
264
10.39"
5.6
DIA .22" 20.79"
25.98"
380+1
14.96+.039"
248+
1
9.763+.039"
M 5
0.5
.02"M
FF
3760.2
14.803.008"
2460.2
9.685.008
"
34
1.34"
252
9.92"
367
14.45"
5.18"
11.5.45"
R70
R2.76"
12x45.47"x45
803.15"
8.315"
2
.08"
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
87/509
372
TNC41
6/TNC406/TNC306
Mountingdimensions
3/99
1120.2
4.41".008"
2760.2
10.866".008"
3880.2
15.275".008"
60.2
.236".008"
400
15.75"0
320
12.6"
3080.2
12.162".008"
365
14.37"16
.63"
19
.75"
max.275
MAX.10.83"
375
14.76"
14
.55"
15
.59"
20
.79"
A60.2
.236".00
8"
Ansicht A
VIEW A
X 1X 2
X 4
X 3
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
88/509
3/99
TNC41
6/TNC406/TNC306
Mountingdimensions
373
Schutzerde M5PROTECTION EARTH M5
272.5
10.7
3"
45
1.7
7"
145
5.7
"
Sch
FIE
160
6.3
4"
20
.78"
8
.31"
Befestigungsmglichkeit PL 400
(Befestigungsschrauben M3x5)
MOUNTING POSSIBILITY PL 400
(FIXING SCREWS M3x5)
100.5
3.95"
311.5
12.26"
411.5
16.2"
010
.4"
84
3.3"
476+5
18.8"+.02" 456+2
18"+.08"
560
22"
3260.5
12.9
3".0
2"
134
5.3
"
8
DIA
.32"
R40R1.58"
10,3
DIA.4"
R50R2.4"
10
4"
392
15.43"
36
1.42"
800.2
3.15".008"
2100.2
8.26".008"
3400.2
13.39".008"
328
12.9
"
280o.2
9.2
5".0
08"
2350,2
9.2
5".0
08"
2670,2
10.5
".0
08"
13
.51"
15
.6"
36
7.2
8"
M3 (Einschraublnge max. 3)
M3 (LENGTH OF ENGAGEMENT .12")
Anschlukabel drfen Schwenkbereich der
Steuerung nicht beeintrchtigen!
CONNECTION CABELS SHOULD NOT INTERFERE
WITH TILTING RANGE OF CONTROL UNIT!
12.5
.5"
10.5
.41"
9
.35"
25
1"
427
16.8"
0
7.3
0.3
.29.0
12"
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
89/509
374 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15.8
Keyboards for TNC 306
15.8.1
TE 355 A
5.5
.217"
112
4.409"
55
2.165"0
60.2
.236".008"
281
11.063"2690.2
10.591".008"60.2
.236".008"
262
10.315"
274
10.787"
31+5
1.16"+.19"
25.98"
25.98"
1.039"
4.157"2.079"
10
DIA.394"
8+1
DIA.315"+.039"
Frontplattenausschnitt 236+0.5 x 224+0.5
FRONT PANEL OPENING 9.21"+.020" x 8.819"+0.20"
234+2
9.212"+.079"
23.5
0.925"
MassenanschluM5
GROUND CONNECTION M5
222+2
8.740"+.079"
X2
R60R2.36
Dichtung 3 dick, im eingebauten Zustand 2 dickGASKET .118" THICK INCORPORATED .079 THICK
224+0.5
8.819"+.020"
236+0.5
9.291"+.020"
Frontplattenausschnitt
FRONT PANEL OPENING
18
.708"
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
90/509
3/99 TNC 416/TNC 406/TNC 306 Mounting dimensions 375
15.8.2
TE 355 B
50+5
1.97"+.20"
10
DIA .394"
8+1
DIA.351"+.04"
31+5
1.16+.19"
25
.98"
1.40"
4.157"
2.079"
Dichtung 3 dick, im eingebauten Zustand 2 dick
GASKET .118" THICK INCORPORATED .079 THICK
Montageflche
MOUNTING SURFACE .02"
19
.748"
1
930.2
7.5
98".008"
3000.5
11.81".020"
0.5
1910.5
752".020"
3380.2
13.307".008"
248+1
9.76"+.040"
750.4
2.95".016"8.5
0.4
.335".016"
18
7.5+1
7.3
8"+.04"
R60R2.36"
X2
X1
1.040"
51
2.01"
66.5
2.62"
350
13.78" 3380.2
13.307".008"
60.2
.236".008"
96.5
3.80"
5.5
.217"
60.2
.236".008"
1930.2
7.598".008"
205
8.07"
Frontplattenausschnitt
FRONT PANEL OPENING
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
91/509
376 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15.9
Visual display units for TNC 306
15.9.1
BE 212
301.18"
26
1.02"min.20
MIN..79"
max. 303
MAX. 11.93"
max.160
MAX.6.30"
max.242
MAX.9.53"
94
3.20"
min.12
MIN..47"
301.18"
20.5
.08".02"
1
.040"
5
.197"
10
DIA.394"
7.8
DIA.307"+.008"
Dichtung 3 dickim eingebauten Zustand 2 dick
GASKET .118" THICKINCORPORATED CONDITION .079" THICK
max. 326
MAX. 12.83"
47.5
1.87"
Z
Z
Freiraum fr Belftung
FREESPACE FOR AIR VENTILATION
20
.79"
20
.79"
max. 300
MAX. 11.80"
40
1.58"
2
80
11
.02"
Freiraum fr Belftung
FREESPACE FOR AIR VENTILATION
350
13.78"60.2
.236".008" 3380.2
13.307".008"
60.2
.236".00
8"
274
10.79" 2620.2
10.315".008"
196
7.72"
322.5
12.70"
5.5
.217"
2440.5
9.61".020"
6.236"
5
.197"
328+0.5
12.91"+.020"
Montageflche
MOUNTING SURFACE .02"
0.5 Frontplattenausschnitt
FRONT PANEL OPENING
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
92/509
3/99 TNC 416/TNC 406/TNC 306 Mounting dimensions 377
15.9.2
BF 110
8+1
.32"+.04"
201
.79".04"
55+5
2.2"+.2"
1651
6.5".04"
10
4.1
6"
1.04"
Dichtung3dick
GASKET.12"THICK
141
.55".04"
2531
9.96".04"
R40
R1.6"
8
DIA
.32"
MasseanschluM
5
GROUNDCONNEC
TIONM5
281
11.06"
2690.2
10.59".008"
205
8.07"
60.2
.236".008"
5.5
.22"
60.2
.236".008"
1930.2
7.598".008"
Montageflche
MOUNTINGSURFACE
.02"
0,5
11,50.5
.45".02"
170+1
6.7"+.04"
M5
256+1
10.03"+.04"
6.50.5
.26".02"
Frontplat
tenausschnitt
FRONTP
ANELOPENING
-
7/25/2019 CNC PROGRAMING FOR HEIDENHEIN AND ARDUINO thb416.pdf
93/509
378 TNC 416/TNC 406/TNC 306 Mounting dimensions 3/99
15.10
Input/Output boards PL 410B
47.5
1.87"
23.5
.93"
180.5
.7.02"
3.6
.14"
MasseanschluM5
GROUND CONNECTION M5
2350.2
9.252.008"