HEIDENHAIN Data Interfaces for Controls User manual

Type
User manual
Data Interfaces
for HEIDENHAIN
Controls of the Series
March 2017
Service Manual
TNC 122
TNC 124
TNC 125
TNC 131/135
TNC 145
TNC 150/151/155
TNC 246
TNC 2500
TNC 306
TNC 310
TNC 335
TNC 351/355
TNC 360
TNC 370
TNC 406
TNC 407/415
TNC 410
TNC 425
TNC 426/430
CNC 232 B
CNC 234.xx
CNC 332
SH_Datenschnittstellen.indd 1SH_Datenschnittstellen.indd 1 29.07.2011 10:47:1129.07.2011 10:47:11
638142_00_a_01.pdf 2 11.12.2007 08:07:01
March 2017
1 How to Use this Service Manual
1.1 Target Group .......................................................................................................................................................... 5
1.2 About this Manual ................................................................................................................................................. 5
1.3 Other Documentation on Data Interfaces ........................................................................................................... 5
1.4 Meaning of the symbols used in this manual ..................................................................................................... 6
2 General Information on the Data Interfaces
2.1 RS-232-C/V.24 Interface ........................................................................................................................................ 7
2.1.1 Hardware.................................................................................................................................................. 7
2.1.2 Signal levels ............................................................................................................................................. 7
2.1.3 HEIDENHAIN data transfer software....................................................................................................... 8
2.2 RS-422/V.11 Interface............................................................................................................................................ 9
2.2.1 Hardware.................................................................................................................................................. 9
2.2.2 Signal levels ........................................................................................................................................... 10
2.2.3 HEIDENHAIN data transfer software..................................................................................................... 10
2.3 Ethernet ................................................................................................................................................................ 10
2.3.1 Hardware................................................................................................................................................ 11
2.3.2 Signal structure ...................................................................................................................................... 11
2.3.3 Connecting the TNC to data networks................................................................................................... 12
3 Connector Designations and Layouts
3.1 Connector Designations and Layouts of TNC 125, 131, 135, 145, 150, 151/155 ............................................ 13
3.2 Connector Designations and Layouts of TNC 122, TNC 2xx, TNC 3xx,
TNC 4xx, CNC xxx................................................................................................................................................ 14
3.2.1 RS-232-C/V.24 data interface, 25-pin, D-sub
Flange socket with female insert........................................................................................................... 14
3.2.2 RS-232-C/V.24 data interface, 9-pin, D-sub
Flange socket with female insert........................................................................................................... 15
3.2.3 RS-422/V.11 data interface, 15-pin, D-sub
Flange socket with female insert........................................................................................................... 16
4 Wiring Diagrams of the Data Interfaces
4.1 RS-232-C/V.24 Overview.................................................................................................................................... 19
4.2 RS-422/V.11 Overview ........................................................................................................................................ 20
4.3 Ethernet Overview............................................................................................................................................... 20
4.4 RS-232-C/V.24 Diagrams..................................................................................................................................... 20
4.5 RS-422/V.11 Diagram .......................................................................................................................................... 33
4.6 V.11 -> V.24 Converter......................................................................................................................................... 33
5 Operating Modes of the Data Interfaces
5.1 Operating Modes on TNC 125, 131, 135, 145, 150, 151/155............................................................................. 35
5.2 Operating Modes on TNC 122 to TNC 430 ........................................................................................................ 36
6 Machine Parameters for the Data Interfaces
6.1 Machine Parameters for TNC 125, 131, 135, 145, 150, 151/155, 351/355 ....................................................... 39
6.1.1 Overview................................................................................................................................................ 39
6.1.2 Description of the machine parameters................................................................................................. 40
6.2 Machine Parameters for TNC 122/124 ............................................................................................................... 48
6.2.1 Overview................................................................................................................................................ 48
6.2.2 Description of the machine parameters................................................................................................. 48
6.3 Machine Parameters for TNC 232/246 ............................................................................................................... 49
HEIDENHAIN Service-Handbuch Datenschnittstellen
6.3.1 Overview................................................................................................................................................ 49
6.3.2 Description of the machine parameters................................................................................................. 50
6.4 Machine Parameters for TNC 306/335/360/2500/CNC 234/TNC 370 ............................................................. 51
6.4.1 Overview................................................................................................................................................ 51
6.4.2 Description of the machine parameters................................................................................................. 52
6.5 Machine Parameters for TNC 310/410 ............................................................................................................... 54
6.5.1 Overview................................................................................................................................................ 54
6.5.2 Description of the machine parameters................................................................................................. 55
6.6 Machine Parameters for TNC 406/407/415/425................................................................................................ 56
6.6.1 Overview................................................................................................................................................ 56
6.6.2 Description of the machine parameters of TNC 406/407/415 .............................................................. 57
6.6.3 Description of the machine parameters of TNC 415 B/425 ................................................................... 60
6.7 Machine Parameters for TNC 426/430 ............................................................................................................... 63
6.7.1 Overview................................................................................................................................................ 63
6.7.2 Description of the machine parameters................................................................................................. 64
7 Ethernet Card (Option) in TNC 426/430 Controls
7.1 Installing the Ethernet Card................................................................................................................................ 65
7.2 Connecting the Ethernet Hardware ................................................................................................................... 66
7.3 Ethernet Configuration in the TNC .................................................................................................................... 68
7.3.1 Settings in DEFINE NET......................................................................................................................... 68
7.3.2 Settings in DEFINE MOUNT .................................................................................................................. 72
7.4 Checking the Connection to the Server............................................................................................................. 79
7.5 Finding the Hardware Address of the Ethernet Card ....................................................................................... 80
7.6 Working with the Ethernet Interface ................................................................................................................. 81
7.6.1 Establish network connection (mount) .................................................................................................. 81
7.6.2 Unmounting a network connection........................................................................................................ 83
8 Error Messages and their Causes
8.1 Error Messages Related to the RS-232C and RS-422 Interfaces...................................................................... 85
8.1.1 Error messages at the TNC in the ME mode ......................................................................................... 85
8.1.2 Error messages at the ME ..................................................................................................................... 86
8.1.3 Error messages at the FE in the ME mode............................................................................................ 87
8.1.4 Error messages at the TNC in the FE mode .......................................................................................... 89
8.1.5 Error messages during data transfer...................................................................................................... 90
8.2 Ethernet Error Messages..................................................................................................................................... 91
9Tables
9.1 7-Bit ASCII Code................................................................................................................................................... 93
9.2 Powers of 2........................................................................................................................................................... 97
March 2017 1 – 5
1 How to Use this Service Manual
1.1 Target 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.2 About 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.
TNC 122
TNC 124
TNC 125
TNC 131/135
TNC 145
TNC 150/151/155
TNC 246
TNC 2500
TNC 306
TNC 310
TNC 335
TNC 351/355
TNC 360
TNC 370
TNC 406
TNC 407/415
TNC 410
TNC 425
TNC 426/430
CNC 232B
CNC 234.xx
CNC 332
1.3 Other Documentation on Data Interfaces
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.
1 – 6 HEIDENHAIN Service Manual for Data Interfaces
1.4 Meaning of the symbols used in this manual
DANGER
Failure to comply with this information could result in most serious or fatal injuries, and/or
in substantial material damage.
Attention
Failure to comply with this information could result in injuries and interruptions of operation,
including material damage.
Note
These boxes contain important and useful information.
March 2017 2 – 7
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.
2 – 8 HEIDENHAIN Service Manual for Data Interfaces
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.
The TNCremoNT software package includes:
Functions of
TNCremoNT
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.
March 2017 2 – 9
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:
2 – 10 HEIDENHAIN Service Manual for Data Interfaces
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
Udmin = 2 V and Udmax = 5 V are output; the control detects the differential voltages
between
Udmin = 0.2 V and Udmax = 6 V as logically defined levels.
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
March 2017 2 – 11
2.3.1 Hardware
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.
X26 Ethernet interface, BNC connection (coaxial cable, 10Base2)
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.
2.3.2 Signal structure
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.
2 – 12 HEIDENHAIN Service Manual for Data Interfaces
2.3.3 Connecting the TNC to data networks
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:
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.
Operating system Network Software
WIN 2000
WIN XP
WIN Vista
WIN 7
CIMCO NFS
available from HEIDENHAIN under ID 339737-xx
Note
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.
March 2017 3 – 13
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. Assignment Designation
1 GND Chassis ground
2 Not assigned
3 Not assigned
4 Not assigned
5 RTS Request to Send
6 DSR Data Set Ready
7 Not assigned
8 Not assigned
9 Not assigned
10 Not assigned
11 DTR Data Terminal Ready
12 TxD Transmit Data
13 CTS Clear to Send
14 RXD Receive Data
Chassis Ext. shield
3 – 14 HEIDENHAIN Service Manual for Data Interfaces
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. Assignment Designation
1 Shield Chassis Ground
2 RxD Receive Data
3 TxD Transmit Data
4 CTS Clear to Send
5 RTS Request to Send
6 DTR Data Terminal Ready
7 GND (0 V *2) Signal Ground
8 to 19 Not assigned
20 DSR Data Set Ready
21 to 25 Not assigned
Chassis External shield = Chassis
Control model RS-232-C/V.24 connector
X21 X25 X6 X26
TNC 122 x
TNC 246 x
TNC 2500/B/C x
TNC 306 x
TNC 335 x
TNC 351/355 x
TNC 360 x
TNC 406 x
TNC 407 x
TNC 410 x
TNC 415/B x
TNC 425 x
TNC 426 x
TNC 430 x
CNC 232B x
CNC 234.xxx x
CNC 332 x
March 2017 3 – 15
3.2.2 RS-232-C/V.24 data interface, 9-pin, D-sub
Flange socket with female insert
Pin no. Assignment Designation
1 Shield Chassis Ground
2 TxD Transmit Data
3 RxD Receive Data
4 DSR Data Set Ready
5 GND Signal Ground
6 DTR Data Terminal Ready
7 CTS Clear to Send
8 RTS Request to Send
9 Not assigned
Chassis External shield = Chassis
Control model RS-232-C/V.24 connector
X21
TNC 124 x
TNC 310 x
TNC 370 x
3 – 16 HEIDENHAIN Service Manual for Data Interfaces
3.2.3 RS-422/V.11 data interface, 15-pin, D-sub
Flange socket with female insert
Pin no. Assignment Designation
1 Shield Chassis Ground
2 RxD Receive Data
3 CTS Clear to Send
4 TxD Transmit Data
5 RTS Request to Send
6 DSR Data Set Ready
7 DTR Data Terminal Ready
8 GND Signal Ground
9 RxD Receive Data
10 CTS Clear to Send
11 TxD Transmit Data
12 RTS Request to Send
13 DSR Data Set Ready
14 DTR Data Terminal Ready
15 Do not assign
Control model RS-422/V.11 connector
X22
TNC 406 x
TNC 407 x
TNC 415/B x
TNC 425 x
TNC 426 x
TNC 430 x
March 2017 3 – 17
X25 Ethernet interface, RJ45 connection, 10BaseT
Maximum cable length: non-shielded: 100 m
shielded: 400 m
X26 Ethernet interface, BNC connection, 10Base2 (coaxial cable)
Maximum cable length: 180 m
RJ45 connection (female) 8-pin Assignment
1TX+
2TX
3REC+
4 Not assigned
5 Not assigned
6REC
7 Not assigned
8 Not assigned
BNC connection (female) Assignment
Inner conductor (core) Data (RXI, TXD)
Shield GND
Control model Ethernet connector
(option)
X25 X26
TNC 426.B x x
TNC 430.A x x
TNC 426M/430M x x
3 – 18 HEIDENHAIN Service Manual for Data Interfaces
March 2017 4 – 19
4 Wiring Diagrams of the Data Interfaces
4.1 RS-232-C/V.24 Overview
HW: Wiring diagram for data transfer with hardware handshake
SW: Wiring diagram for data transfer with software handshake
Connection of peripheral, 25-pin Connection of peripheral, 9-pin
Wiring diagram for connection Wiring diagram for connection
direct
via adapter and
JH cable
direct
via adapter and
JH cable
Control HW SW HW SW HW SW HW SW
TNC 122 11 12 2 1 10 10 3 4
TNC 124 - - 14 14 - - 15 15
TNC 125 13 13 7 8 9 9 5 6
TNC 131 13 13 7 8 9 9 5 6
TNC 135 13 13 7 8 9 9 5 6
TNC 145 13 13 7 8 9 9 5 6
TNC 150 13 13 7 8 9 9 5 6
TNC 151/155 13 13 7 8 9 9 5 6
TNC 246 11 12 2 1 10 10 3 4
TNC 2500/B/C 11 12 2 1 10 10 3 4
TNC 306 11 12 2 1 10 10 3 4
TNC 310 - - 14 14 - - 15 15
TNC 335 11 12 2 1 10 10 3 4
TNC 351/355 11 12 2 1 10 10 3 4
TNC 360 11 12 2 1 10 10 3 4
TNC 370 - - 14 14 - - 15 15
TNC 406 11 12 2 1 10 10 3 4
TNC 407 11 12 2 1 10 10 3 4
TNC 410 11 12 2 1 10 10 3 4
TNC 415/B11122 1 10103 4
TNC 425 11 12 2 1 10 10 3 4
TNC 426 11 12 2 1 10 10 3 4
TNC 430 11 12 2 1 10 10 3 4
CNC 232B 11 12 2 1 10 10 3 4
CNC 234.XXX 11 12 2 1 10 10 3 4
CNC 332 11 12 2 1 10 10 3 4
4 – 20 HEIDENHAIN Service Manual for Data Interfaces
4.2 RS-422/V.11 Overview
4.3 Ethernet Overview
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
Control model Connection diagram
TNC 406 16
TNC 407 16
TNC 415/B 16
TNC 425 16
TNC 426 16
TNC 430 16
V.11 -> V.24 converter 17
Control model Connection diagram
TNC 426 Chapter 7.2
TNC 430 Chapter 7.2
Note
This wiring only allows transfer stop with DC3 (software handshake).
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98

HEIDENHAIN Data Interfaces for Controls User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI