1.1Target Group .......................................................................................................................................................... 5
1.2About this Manual ................................................................................................................................................. 5
1.3Other Documentation on Data Interfaces ........................................................................................................... 5
1.4Meaning of the symbols used in this manual..................................................................................................... 6
6.7.2Description of the machine parameters................................................................................................. 64
7Ethernet Card (Option) in TNC 426/430 Controls
7.1Installing the Ethernet Card................................................................................................................................ 65
7.2Connecting the Ethernet Hardware ................................................................................................................... 66
7.3Ethernet Configuration in the TNC .................................................................................................................... 68
7.3.1Settings in DEFINE NET......................................................................................................................... 68
7.3.2Settings in DEFINE MOUNT.................................................................................................................. 72
7.4Checking the Connection to the Server............................................................................................................. 79
7.5Finding the Hardware Address of the Ethernet Card ....................................................................................... 80
7.6Working with the Ethernet Interface ................................................................................................................. 81
9.2Powers of 2........................................................................................................................................................... 97
HEIDENHAIN Service-Handbuch Datenschnittstellen
1How to Use this Service Manual
1.1Target Group
This Service Manual has been written for specialist electricians for service, maintenance and
commissioning as well as for end users of machine tools with HEIDENHAIN controls.
1.2About this Manual
This manual provides support for connecting, machine parameter setting and troubleshooting
the data interfaces RS-232-C, RS-422 and Ethernet of the following HEIDENHAIN controls.
For information on the data interfaces of the HEIDENHAIN controls as of iTNC 530, TNC 320,
TNC 620, etc., please refer to the respective Technical Manual, User's Manual and Service
Manual.
June 20111 – 5
1.4Meaning of the symbols used in this manual
DANGER
Attention
Note
Failure to comply with this information could result in most serious or fatal injuries, and/or
in substantial material damage.
Failure to comply with this information could result in injuries and interruptions of operation,
including material damage.
These boxes contain important and useful information.
1 – 6HEIDENHAIN Service Manual for Data Interfaces
2 General Information on the Data Interfaces
2.1 RS-232-C/V.24 Interface
RS-232-C is the designation of a serial interface for transfer rates of up to 19,200 bps based on
the American EIA standard of the same name. Data transfer is executed asynchronously, with a
start bit before each character and one or two stop bits after each character.
The interface is designed for transmission distances of up to 30 meters.
The RS-232-C interface has been adopted with slight modifications and introduced into Europe
as the V.24 interface. The relevant German standard is DIN 66020.
2.1.1 Hardware
The physical connection between two RS-232-C/V.24 interfaces is an asymmetrical line, i.e. the
common ground connection between transmitter and receiver is used as a return wire.
Physical connections:
2.1.2 Signal levels
With the RS-232-C/V.24 interface one must differentiate between two different signal lines and
their levels.
Data lines:
The data signals are defined as being logical one (MARK) over the range –3 V to +15 V and
logical zero (SPACE) over the range +3 V to +15 V.
Control and signal lines:
These signals are defined as being ON (High) over the range +3 V to +15 V and as OFF (Low)
over the range –3 V to –15 V.
For all of the signals, the voltage range from –3 V to +3 V is not defined as a logic level and can
therefore not be evaluated.
June 20112 – 7
2.1.3 HEIDENHAIN data transfer software
TNCremoNT is a software package for communication between PCs and HEIDENHAIN controls
or programming stations.
Data transfer is carried out over the Ethernet network or the serial interface.
TNCremoNT can be run on all common personal computers.
A version of Windows 2000, XP, Vista or 7 must be used as operating system.
Windows 2000, Windows XP, Windows Vista and Windows 7 are registered trademarks of
the Microsoft Corporation.
Functions of
TNCremoNT
The TNCremoNT software package includes:
TNCremoNT
Convenient data transfer and management functions that are operated from the PC
Screendump of the control’s screen
Read-out of the control’s log
Pallet management for creating, editing and transmitting pallet tables
Creating a service file
TNCserver
Transfer via the serial interface with operation on the control for all HEIDENHAIN controls
and many HEIDENHAIN position displays.
Support of all HEIDENHAIN protocols including simple data input/output.
TNCbackup
Features for data backup and restoration
TNCcmd
Command line tool for all transfer functions
TNClog
Log viewer to view and filter the control's log file
TNCremoPlus (available for a fee)
View control screen (live screen)
The selection of features you can use in TNCremoNT depends on your control. Refer to the
overview of features for more detailed information.
2 – 8HEIDENHAIN Service Manual for Data Interfaces
2.2 RS-422/V.11 Interface
As the features of the V.24/RS-232-C interface are limited, the V.11/RS-422 interface was
developed. This interface is also standardized, but operates symmetrically.
The RS-422/V.11 serial interface is suitable for data transfer rates up to 10 Mbps.
At a baud rate of 38,400 bauds, data can be transferred over 1 km cable.
2.2.1 Hardware
The V.11/RS-422 standard operates with differential voltages. This offers the advantage that
interferences act on both signal lines equally and simultaneously over the transmission distance.
As the receiver only evaluates the differential voltages of the two signal lines, interferences are
not relevant. By this means, considerably longer lines can be installed, and the transfer rate is
much higher, as interferences are limited.
Physical connections:
June 20112 – 9
2.2.2 Signal levels
With the V.11/RS-422 interface the signals are both transmitted and received as differential
voltage.
A positive differential voltage means a logical zero (OFF), a negative differential voltage means
a logical one (ON).
Differential voltages between
U
= 2 V and U
dmin
= 5 V are output; the control detects the differential voltages
dmax
between
U
= 0.2 V and U
dmin
= 6 V as logically defined levels.
dmax
2.2.3 HEIDENHAIN data transfer software
See chapter 2.1.3
2.3 Ethernet
Ethernet technology is most frequently used in local networks. It was developed by Digital
Equipment, Intel and Xerox in 1982. Ethernet operates at a data transfer rate of up to 100 Mbps
(Fast Ethernet); the hardware versions most frequently used - such as 10Base2 (Thin Ethernet,
Cheapernet), 10Base5 (Thick Ethernet, Yellow Cable) or 10BaseT (Twisted Pair) - operate at
10 Mbps. They differ in price, routing complexity or network topology, but not in the method of
accessing media.
The data transfer rate strongly depends on the amount of traffic at the time on the net.
Realistic values:NC program up to 200 Kbps
ASCII file up to 1 Mbps
2 – 10HEIDENHAIN Service Manual for Data Interfaces
2.3.1 Hardware
2.3.2 Signal structure
The integrated Ethernet expansion card provides you with both the 10Base2 (BNC) port and the
10BaseT (twisted pair). You can only use one of the two connections at one time. Both
connections are electrically isolated from the control electronics.
Connection and wiring diagrams see chapter 7.2, pin layouts see chapter 3.2.
The 10Base2 connection is also commonly known as ThinEthernet or CheaperNet.
You connect the TNC with your network via BNC-T connector. The maximum cable length is
185 m (coaxial cable). The network topology is a linear bus. The "open" ends of the bus must be
terminated with terminating resistors.
X25 Ethernet interface, RJ45 connection (10BaseT)
The twisted-pair cable of the 10BaseT connector may be either shielded or non-shielded.
Maximum cable length:non-shielded:100 m
shielded:400 m
The network topology is a star connection. This means a central node establishes the connection
to the other participants.
Ethernet frames are transferred in Manchester code which is a self-clocking code. The
synchronization or the transfer of a transmit clock pulse is executed such that each bit is
transmitted inverted in the first half of the transfer period, i.e. the bit rate is half the baud rate.
A data rate of 10 Mbps results in a bit time of 100 ns. Carrier detect (activity on the cable) is
indicated by the presence of signal level changes. If the signal level does not change in a bit time
interval between 0.75 and 1.25 after the last transition, no carrier is detected (see figure).
The network settings of the TNC are described in the Technical Manual and in chapter 7
(Ethernet) of this Service Manual.
June 20112 – 11
2.3.3 Connecting the TNC to data networks
Note
The HEIDENHAIN control models TNC 426/TNC 430 can optionally1) be equipped with an
Ethernet data interface. Via this interface, TNC 426/TNC 430 can be integrated into data
networks as client.
The TNC transfers data using the TCP/IP protocol (Transmission Control Protocol / Internet
Protocol) and with the aid of the NFS, version 2 (Network File System). Since TCP/IP and NFS
have been implemented in UNIX systems in the first place, you can usually connect the TNC in
the UNIX world without any additional software.
The PC world with Microsoft operating systems, however, also works with TCP/IP, but not with
NFS. For this reason, additional software is usually required for PC networks. HEIDENHAIN
recommends the following network software:
Operating systemNetwork Software
WIN 2000
WIN XP
CIMCO NFS
available from HEIDENHAIN under ID 339737-xx
WIN Vista
WIN 7
In principle, other NFS servers can be used as well.
However, due to the great variety of software providers, HEIDENHAIN is not a in position to
provide technical support in adapting other NFS servers.
1)
Control models that can be operated with the Ethernet card: see chapter 2.
The network settings of the TNC are described in the Technical Manual and in
chapter 7 (Ethernet) of this Service Manual.
2 – 12HEIDENHAIN Service Manual for Data Interfaces
3 Connector Designations and Layouts
3.1 Connector Designations and Layouts of TNC 125, 131, 135, 145, 150, 151/155
RS-232-C/V.24 data interface, 14-pin, Amphenol
Flange socket with female insert
Pin no.AssignmentDesignation
1GNDChassis ground
2Not assigned
3Not assigned
4Not assigned
5RTSRequest to Send
6DSRData Set Ready
7Not assigned
8Not assigned
9Not assigned
10Not assigned
11DTRData Terminal Ready
12TxDTransmit Data
13CTSClear to Send
14RXDReceive Data
ChassisExt. shield
June 20113 – 13
3.2 Connector Designations and Layouts of TNC 122, TNC 2xx, TNC 3xx,
TNC 4xx, CNC xxx
3.2.1 RS-232-C/V.24 data interface, 25-pin, D-sub
Flange socket with female insert
Pin no.AssignmentDesignation
1ShieldChassis Ground
2RxDReceive Data
3TxDTransmit Data
4CTSClear to Send
5RTSRequest to Send
6DTRData Terminal Ready
7GND (0 V *2)Signal Ground
8 to 19Not assigned
20DSRData Set Ready
21 to 25Not assigned
ChassisExternal shield = Chassis
Control modelRS-232-C/V.24 connector
X21X25X6X26
TNC 122x
TNC 246x
TNC 2500/B/Cx
TNC 306x
TNC 335x
TNC 351/355x
TNC 360x
TNC 406x
TNC 407x
TNC 410x
TNC 415/Bx
TNC 425x
TNC 426x
TNC 430x
CNC 232Bx
CNC 234.xxxx
CNC 332x
3 – 14HEIDENHAIN Service Manual for Data Interfaces
3.2.2 RS-232-C/V.24 data interface, 9-pin, D-sub
Flange socket with female insert
Pin no.AssignmentDesignation
1ShieldChassis Ground
2TxDTransmit Data
3RxDReceive Data
4DSRData Set Ready
5GNDSignal Ground
6DTRData Terminal Ready
7CTSClear to Send
8 RTSRequest to Send
9Not assigned
ChassisExternal shield = Chassis
Control modelRS-232-C/V.24 connector
X21
TNC 124x
TNC 310x
TNC 370x
June 20113 – 15
3.2.3 RS-422/V.11 data interface, 15-pin, D-sub
Flange socket with female insert
Pin no.AssignmentDesignation
1ShieldChassis Ground
2RxDReceive Data
3CTSClear to Send
4TxDTransmit Data
5RTSRequest to Send
6DSRData Set Ready
7DTRData Terminal Ready
8GNDSignal Ground
9RxDReceive Data
10CTSClear to Send
11TxDTransmit Data
12RTSRequest to Send
13DSRData Set Ready
14DTRData Terminal Ready
15Do not assign
Control modelRS-422/V.11 connector
X22
TNC 406x
TNC 407x
TNC 415/Bx
TNC 425x
TNC 426x
TNC 430x
3 – 16HEIDENHAIN Service Manual for Data Interfaces
HW: Wiring diagram for data transfer with hardware handshake
SW: Wiring diagram for data transfer with software handshake
June 20114 – 19
4.2 RS-422/V.11 Overview
Note
Control modelConnection diagram
TNC 40616
TNC 40716
TNC 415/B16
TNC 42516
TNC 42616
TNC 43016
V.11 -> V.24 converter17
4.3 Ethernet Overview
Control modelConnection diagram
TNC 426Chapter 7.2
TNC 430Chapter 7.2
4.4 RS-232-C/V.24 Diagrams
Diagram no. 1
RS-232-C/V.24 with adapter block for software handshake,
TNC 25-pin / peripheral 25-pin
This wiring only allows transfer stop with DC3 (software handshake).
4 – 20HEIDENHAIN Service Manual for Data Interfaces
The RS-232-C-/V.24 data interface has different pin layouts at the logic unit and the V.24 adapter
Note
block.
Diagram no. 2
RS-232-C/V.24 with adapter block for hardware handshake,
TNC 25-pin / peripheral 25-pin
If the pin layout of your peripheral unit differs from the above layout, the HEIDENHAIN
connecting cable cannot be used.
June 20114 – 21
Diagram no. 3
RS-232-C/V.24 with adapter block for hardware handshake,
TNC 25-pin / peripheral 9-pin
1)
Customer wiring or part available on market
4 – 22HEIDENHAIN Service Manual for Data Interfaces
Diagram no. 4
RS-232-C/V.24 with adapter block for software handshake,
TNC 25-pin / peripheral 9-pin
1)
Customer wiring or part available on market
June 20114 – 23
Diagram no. 5
RS-232-C/V.24 with adapter block for software handshake,
TNC 25-pin / peripheral 9-pin
1)
Customer wiring or part available on market
4 – 24HEIDENHAIN Service Manual for Data Interfaces
Attention
This modification applies for hardware handshake with TNC 145 to TNC 155. In these
control models, the RTS pin is not connected but tied high internally.
The following modification is required for hardware handshake:
Cut the line on both sides between DRS and DTR and short-circuit DSR with DTR
(at the PC: pin 6 with pin 20).
Without this modification, data transfer using hardware handshake is not only stopped but
aborted immediately (like "power off).
Do not use this configuration for TNC 335 with new hardware.
June 20114 – 25
Diagram no. 6
RS-232-C/V.24 with adapter block for software handshake,
TNC 14-pin / peripheral 9-pin
1)
Customer wiring or part available on market
4 – 26HEIDENHAIN Service Manual for Data Interfaces
Diagram no. 7
RS-232-C/V.24 with adapter block for hardware handshake,
TNC 14-pin / peripheral 25-pin
June 20114 – 27
Attention
This modification applies for hardware handshake with TNC 145 to TNC 155. In these
control models, the RTS pin is not connected but tied high internally.
The following modification is required for hardware handshake:
Cut the line on both sides between DRS and DTR and short-circuit DSR with DTR
(at the PC: pin 6 with pin 20).
Without this modification, data transfer using hardware handshake is not only stopped but
aborted immediately (like "power off).
Do not use this configuration for TNC 335 with new hardware.
4 – 28HEIDENHAIN Service Manual for Data Interfaces
Diagram no. 8
RS-232-C/V.24 with adapter block for software handshake,
TNC 14-pin / peripheral 25-pin