Home
SHB Data Interfaces for HEIDENHAIN Controls
Contents
1. 60 Machine Parameters for TNC 426 430 u 63 6 7 1 ias mE 63 6 7 2 Description of the machine parameters reste a et d esee he otf e poteet ede be dE Ree 64 Ethernet Card Option in TNC 426 430 Controls Installing the Ethernet inei Heu unu ecu UID Ie Biens 65 Connecting the Ethernet Hardware REENEN 66 Ethernet Configuration in the 68 7 3 1 Settings MBEFINE NE KEE 68 7 3 2 Settings im DERNE MOUNT sirere aa bee coe dieere tte ben a is blew at asa Tas 72 Checking the Connection to the Server u u 79 Finding the Hardware Address of the Ethernet Card U 80 Working with the Ethernet Interface u u 81 7 6 1 Establish network connection mount u unay AQ S 81 7 6 2 Unrouritinig ametwork CONAECTON EE 83 Error Messages and their Causes Error Messages Related to the RS 232C and RS 422 2 4 85 8 1 1 Error messages at the TNC in the ME mode 85 8 1 2 Etrrorimessages at the ee su aate ti se Mast ebessi erter 86 8 1 3 Error messages at the FE in the ME mode 87 8 1 4 Error thessages at the TNC in the FE modes eee d ete crecer rae Ue e ENTER 89 8 1 5 Error messages during datartransfer a uc a ne Gr e est a e eee ds 90 Ethernet Error
2. Ribbon cable to processor board KS 7 2 Connecting the Ethernet Hardware X26 10Base2 The maximum cable length is 185 m If longer cables are required an additional amplifier must be used The minimum distance between two T connectors is 0 5 m The number of T connectors must not exceed 30 Cable ends not in use must be terminated by 50 ohms resistors 50 Q resistor Connection to next TNC T joints 7 66 HEIDENHAIN Service Manual for Data Interfaces X25 10BaseT A transposed cable must be used to realize a direct connection from the computer to the TNC via 10BaseT Transposed cable 10BASET D Pin layouts of 10Base2 10BaseT connections see chapter 3 2 April 2010 7 3 Ethernet Configuration in the TNC 7 3 1 Settings in DEFINE NET Press key TNC in operating mode PROGRAMMING EDITING a Prepare TNC for input of code number N T E c Enter code number confirm with ENT Manual Network configuration operation DEF INE DEF INE DEF INE SHOW pna NET MOUNT PRINT ERROR e DEF INE Call menu DEFINE NET The following settings are made in DEFINE NET ADDRESS Information on the address of your TNC in the network Internet MASK SUBNET MASK to save addresses in the network ROUTER ROUTER addresses only have to be specified if a branch into another network leve
3. 40 Machine Parameters for for TNC 122 124 u 48 6 2 1 evi p LAURI E 48 6 2 2 Description of the machine paramelers 0000000 48 Juni 2011 6 3 6 4 6 5 6 6 6 7 7 1 7 2 7 3 7 4 7 5 7 6 8 2 9 1 9 2 Machine Parameters for TNC 232 246 recreo er a oes gos eus c me E e a a sa voe AR 49 6 3 EE DIEN E 49 6 3 2 Description of the machine parameters eoe ee eed d t Pt d FER e d iile a 50 Machine Parameters for TNC 306 335 360 2500 CNC 234 TNC 370 51 6 4 iiu M ERE UE UU UE UD UU UM 51 6 4 2 Description of the machine ee tb tle eee atico e e pets lace La brem bo aan 52 Machine Parameters for TNC 310 410 u nnn nennen nnn nnns 54 6 5 Ee DIEN EC 54 6 5 2 Description of the machine parameters 02 00 000000000000 nnne 55 Machine Parameters for 406 407 415 425 4 401 56 6 6 aun a Buta 56 6 6 2 Description of the machine parameters of 406 407 415 57 6 6 3 Description of the machine parameters of TNC 415 425
4. nicht benutzt not used nicht benutzt not used 1 Customer wiring or part available on market HEIDENHAIN 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 Peripherieger t 25 pol Peripheral 25 pin CGND TXD RXD RTS CTS DSR SGND DTR ID 274 545 01 ID 242 869 01 ws br wh br 1 2 3 4 5 6 7 8 9 V 24 Adapter Block komplett mit Kabel ID 214001 01 V 24 adapter block complete with cable ID 214001 01 max 17m Ee E RXD RIS ws wh WS WI DSR ON TNC V 24 RS 232 14 pol 14 pin GND Chassis CGnD xD GND Signal ground SGnD DTR Data terminal ready June 2011 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 TNC Chassis GND TXD RXD RTS CTS DTR 20 DSR 6 8 SignalGND 7 GND
5. PAGE PAGE SELECT COPY DIR SELECT UINDOU CIL L 1 418 9 9 FES Z 210354 311236 2311240 37565 D a a a a a a a a a HEIDENHAIN Service Manual for Data Interfaces 7 6 2 Unmounting a network connection Press key TNC in operating mode PROGRAMMING EDITING Call program management Switch soft key row Press soft key NET 3 DEMO 3 EXAMPLES SEMINAR O TEST1 MOUNT UNMOUNT AUTO ara DEVICE DEVICE MOUNT MOUNT The network line must now be disconnected from the Ethernet card UNMOUNT DEVICE Disconnect Press soft key to exit the submenu END April 2010 HEIDENHAIN Service Manual for Data Interfaces 8 Error Messages and their Causes 8 1 Error Messages Related to the RS 232C and RS 422 Interfaces 8 1 1 Error messages at the TNC in the ME mode WRONG OPERATING MODE No operating mode or wrong operating mode set on the external data medium FAULTY PROGRAM DATA Wrong or faulty program data have been detected during data transfer The control attempted three times to read from the magnetic tape before aborting the process DATA MEDIUM MISSING No cassette has been inserted into the drive DATA MEDIUM EMPTY No programs are stored on the data medium cassette DATA MEDIUM WRITE PROTECTED The write enable plug in the cassette is missing PROGAM INCOMPLETE
6. Blockwise transfer 110 Bd 150 300 600 1200 2400 4800 9600 19200 38400 without function o oo O Q o N O I Graphic printout Us without function Block check number sequence 5990 NC PGM with block numbers with data transfer from interface z NC PGM without block numbers accessible via code number 123 Example for the calculation of these machine parameters decimal code 1st character 256 x decimal code 2nd character input value 3 ETX 256 x STX 515 April 2010 6 53 6 5 Machine Parameters for TNC 310 410 6 5 1 Overview Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC Transfer mode for EXT1 EXT2 EXT3 PLC Data transfer rate for 5040 5040 PLC coupling EXT3 6 54 HEIDENHAIN Service Manual for Data Interfaces 6 5 2 Description of the machine parameters Function Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 7 or 8 data bits Block check character Transmission stop by RTS Transmission stop by DC3 Character parity even odd Character parity on off Number of stop bits Activation of RTS signal Control sends EOT after having received ETX Transfer mode for 1 2 Data transfer rate for PLC coupling EXT3 0 7 data bits bit 8 parity 1 8 data bits bi
7. RS 422 RS 422 25 pin SUB D female 3 25 pol SUB D Stift 25 pol SUB D Stift 9 pol SUB D Bu 9 pol SUB D Stift PC at control X22 15 SUB D male 25 pin SUB D male 25 SUB D male 9 pin SUB D fem 9 pin SUB D male on PC gt lt m m Adapter WuT RS422 nach RS232 3186000 WuT adapter RS422 to RS232 Stecker Bridge connector 86000 Br cken im Stecker Bridges in connector Gender changer Bu Bu fem fem Nicht aufgef hrte Pins nicht belegen Do not assign pins not shown Bei allen Kabeln beidseitig Aussenschirm mit Steckergehduse ber die Zugentlastungsschelle verbinden Connect the external shield of all cables to the connector housing via the strain relief device Note The adapter can be ordered e g from WIESEMANN amp THEIS GmbH www wut de June 2011 4 33 HEIDENHAIN Service Manual for Data Interfaces 5 Operating Modes of the Data Interfaces 5 1 Operating Modes on TNC 125 131 135 145 150 151 155 One or several operating modes are available depending on the control model Control model Operating mode ME FE EXT TNC 125 131 135 145 150 TNC 151 155 1 x x TNC 151 155 A P 2 For connection of the HEIDENHAIN magnetic tape unit MP 101 102 or other peripheral units
8. 5010 1 5010 1 for data input 2 ASCII character for input code E 1 ASCII character for file type 5010 2 5010 2 5010 2 5010 2 5010 2 for data output 2 ASCII character for output code 1 control character for end of command block ETB 5010 3 5010 3 5010 3 5010 3 5010 3 2 control character for start of command block 1 control character for pos acknowledge ACK 5010 4 5010 4 5010 4 5010 4 5010 4 2 control character for neg acknowledge NAK Control character for end of data transfer EOT 5010 5 5011 5010 5 5010 5 5010 5 5010 5 22 1 Transfer mode for EXT 5030 5030 5030 5030 5030 Data transfer rate for PLC coupling are 5040 5040 L EE EC Block check number sequence with data transfer 5990 from interface Data format and transmission stop for the data 5020 5020 5020 5020 5020 interface RS 232 C EXT April 2010 6 51 6 4 2 Description of the machine parameters Function MP TNC TNC NC CNC Input Bit 2500 360 306 234 Control character for end of text ETX ae s ER 0 255 1 control character f end of text 0 32382 2 control character f start of text 5 1 ASCII character for file type 5010 11 0 32382 for data input 2 ASCII character for input code E 1 ASCII character for file type 5010 2 0 32382
9. 72 16712 MP 219 5010 2 16712 The LSB can be selected as in the above example however it must be the same for both machine parameter and identifier The MSB is as in the FDE TNC program 15 MSB 8 T LSB 0 MP 220 5010 3 SOH 1 23 1 256 23 279 MP 220 5010 3 279 and ETB are fixed for the FDE TNC program Otherwise a substitute character be selected which must match the data transfer software 15 MSB 8 7 LSB 0 MP 221 5010 4 NAK 21 ACK 6 21 x 256 6 5382 MP 221 5010 4 5382 ACK NAK is defined for the FDE TNC program otherwise a matching substitute character can be selected in the data transfer software April 2010 MP 224 5010 5 EOT 4 MP 224 5010 5 4 Prescribed for the FDE TNC program otherwise selectable as above For our example the following values must be entered in the machine parameter list MP 71 5010 0 515 STX ETX MP 218 5010 1 17736 MP 219 5010 2 16712 A H MP 220 5010 3 279 SOH ETB MP 221 5010 4 5382 NAK ACK 222 5020 168 7 data bits 1 stop bit even parity xon xoff MP 223 5030 1 blockwise transfer active MP 224 50105 4 EOT Printer adaptation General information on graphic output Note Your printer manual is absolutely required Proceeding Via the DIP switches the printer must be configured such that it matches the configuration of the cont
10. HEIDENHAIN Service Manual for Data Interfaces Control model Operating mode LSV2 Screen Host DNC Log dump operation MANUALplus MANUALplus 3110 CNC PILOT 3190 7 CNC PILOT 6xx 7 x x x x GrindPlusIT 7 x MillPlus 7 x MillPlusIT V600 x x x x x x The transfer rate must be set to 9600 baud Change of directory is not possible Machine must support LSV2 DNC operation gt File server LSV2 as of software versions 280 462 05 280 470 01 280 472 01 only 5 TNC 155B Via Ethernet as of software 280476 xx For further information refer to the respective Technical Manual User s Manual and Service Manual For internals settings please refer to the User s Manuals and Technical Manuals of the controls and DROs FE 1 For connection of HEIDENHAIN floppy disk unit FE 401 B or floppy disk unit FE 401 software 230 626 03 and later or other peripheral units Data format and protocol adapted to FE 401 B Protocol Blockwise transfer Data format 7 data bits 1 stop bit even parity Baud rate 110 115 200 bauds depending on the hardware of the HEIDENHAIN product Fixed Software handshake with DC3 Interface parameters Transfer stop FE 2 For connection of the HEIDENHAIN floppy disk unit FE 401 or other peripheral units Data format and protocol adapted to FE 401 B Protocol Blockwise transfer Data format 7 data bits 1 stop bit ev
11. INTERFACE IS ETHERNET XX XX XX XX XX XX operation INTERFRCE 1 INTERFACE NAME ETH 1 INTERFACE IS ETHERNET 00 R0 CD 00 01 24 INTERFACE IS ACTIVE ARP IS IN USE INTERNET ADDRESS 160 1 180 1 990 Exit menu HEIDENHAIN Service Manual for Data Interfaces 7 6 Working with the Ethernet Interface 7 6 1 Establish network connection mount TNC in operating mode PROGRAMMIING EDITING wer Call program management Switch soft key row NET Press soft key NET EXAMPLES SEMINAR O TEST1 MOUNT UNMOUNT AUTO NO AUTO DEVICE DEVICE MOUNT MOUNT April 2010 The network line must be connected to the Ethernet card MOUNT DEVICE Establish connection The letter M below Mnt shows that the device has been mounted EXAMPLES SEMINAR D TEST1 UNMOUNT AUTO NO AUTO DEVICE MOUNT MOUNT On the left half of the screen the mounted drive is displayed in the example YR Function Press soft key to exit the submenu Press arrow keys to select the network drive The directory READ DIR is loaded Programming and editing Path i waw 03 12 1997 37687 28 11 1997 A_KRANI 03 12 1997 casmulti 28 11 1997 dunp disk i 28 11 1997 hp cattile 4 17 12 1996 hp cat lock a 17 12 1996 reinhold 145 03 12 199 RIERO 36 03 12 1997 8769 rs 7057 03 12 1997 37708 hXXXXXXX 65536 18 11 1997 alois 135 tile s 83405 kbyte vacant
12. ue e 11 2 3 3 Connecting the TNC to data etWorkS L anus aaa 12 Connector Designations and Layouts Connector Designations and Layouts of TNC 125 131 135 145 150 151 155 13 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 D sub Flang socketwith female Insert n t e s 14 3 22 RS 232 C V 24 data interface 9 D sub Flange socket with female 15 3 213 RS 422 V 11 data interface 15 D sub Flange socketwith REENEN 16 Wiring Diagrams of the Data Interfaces RS 232 C V 24 e ET 19 HS 422 V 11 Overview GUN EI IRIURE 20 antris iA 20 HS 232 C V 24 KEE TE 20 RS 422 V 11 Diagram NEE 33 M11 AT Ren EE 33 Operating Modes of the Data Interfaces Operating Modes on TNC 125 131 135 145 150 151 155 u 35 Operating Modes TNC 122 to TNC 430 u 36 Machine Parameters for the Data Interfaces Machine Parameters for TNC 125 131 135 145 150 151 155 351 355 39 6 1 1 EE 39 6 1 2 Description of the machine 22 2 999 9
13. 0 Bit 3 Bit 3 Bit 4 Bit4 e etc up to 511 Bit 5 Bit 5 Bit 6 Bit 6 Bit 7 Bit 7 Bit 0 Bit 0 Bit 1 Bit 1 Bit 2 Bit 2 ee Bit 3 Bit 3 Bit 4 Bit 4 Bit 5 Bit 5 Bit 6 Bit 6 Bit 7 Bit 7 etc up to 490 bits Line 61 The parameters are subdivided into two blocks The first block MP 226 5110 0 to MP 229 5110 3 is sent once before each block It serves to initialize the printer and to set the general parameters for graphic output e g line spacing carriage return line feed and possibly form feed to reach the beginning of the print paper The line feed must be specified such that the graphic lines are printed without blanks in between For this reason the line spacing should be 72 216 inches The second parameter block MP 230 5120 0 to MP 233 5120 3 is output before each graphic line to perform carriage return and line feed at the printer and to set it to the graphics mode The control outputs 512 data bytes per line i e 512 bytes must be displayed as graphics on paper before the printer automatically switches from the graphics mode to ASCII mode The commands for the printer are described in escape sequences which may vary from printer to printer The EPSON command set for printers is a quasi standard supported by most printer manufacturers Therefore this manual refers to these EPSON ESCAPE SEQUENCES April 2010 The following escape sequences and ASCII characters must be transferred to the printer for initializat
14. 1 1 LINE LINE LINE EE Exit menu After configuring the interface switch the control off and on again to activate the data in the control HEIDENHAIN Service Manual for Data Interfaces 7 4 Checking the Connection to the Server Press key TNC in operating mode PROGRAMMING EDITING e Prepare TNC for input of code number m NA NI UI Enter code number 0 MONO as of NC software 280 472 NET123 ENT and confirm input Press soft key NC 280 470 471 only PROTOCOL Press soft key PING As INTERNET ADDRESS enter the address stored in DEFINE MOUNT ADDRESS Enter address ENT Confirm input Network configuration operation PING MONITOR INTERNET ADDRESS 142 HOST RESPOND The TNC now transmits a cyclic signal ping to the server and waits for confirmation The number of attempts and the status of the confirmation is displayed in theline TRY xx yy xx Number of attempts yy Status TIMEOUT gt gt no connection HOST RESPOND properly connected F Exit menu April 2010 7 79 7 5 Finding the Hardware Address of the Ethernet Card TNC in operating mode PROGRAMMIING EDITING Prepare TNC for input of code number N E M N Enter code number ENT and confirm input INTERFRCE Press soft key INTERFRCE Press soft key 1 hardware address of the Ethernet card is now displayed the screen
15. 3 V to 3 V is not defined as a logic level and can therefore not be evaluated U IV Data signals i Control message signals 15 it o HIGH SPACE 1 ON June 2011 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 be run 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 EE Convenient data transfer and management functions that operated from the 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 selec
16. 5201 1 5201 2 5202 0 5202 1 5202 2 5203 0 5203 1 5203 2 5207 0 5207 1 5207 2 5208 0 5208 1 5208 2 5209 0 5209 1 5209 2 5210 0 5210 1 5210 2 p Ae m 5 2400 Bd 6 4800 Bd 7 9600 Bd 8 19200 Bd 9 38400 Bd April 2010 6 6 3 Description of the machine parameters of TNC 415 B 425 Machine parameters The following list contains the machine parameters for all software variants Since however several machine parameters are only valid for a certain software or have been introduced or eliminated as of a certain software version there are columns with symbols for differentiation Meaning of the symbols The machine parameter applies for all software versions of this control 04 The machine parameter has been introduced with a certain software version e g with version 04 104 The machine parameter is inactive The parameter does not exist on this control Explanation of the columns A TNC 415 B F BR FR and TNC 425 E with NC software 259 93 or 259 94 B TNC 415 B F BR FR and TNC 425 E with NC software 280 54 or 280 56 special software for future use HEIDENHAIN Service Manual for Data Interfaces Function Inhibiting a data interface Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC 7 or 8 data bits Block check character Transmission
17. C Adapter block ID 239 758 01 3m Adapter TNC V 24 RS 232 C Peripheriegerat PC 9 pol SE Get LI m i3 9 pol 9 pin Peripheral PC 9 s eripheral 9 pin 9 25 pin ID 274 545 01 4 ID 286 998 ID 242 869 01 Sep m CGND TXD TXD Transmit data RXD RXD Receive data RTS RTS Request to send CTS Clear to send DSR Data set ready GND Signal ground Data carrier detect DCD DTR Data terminal ready DTR Ring indicator RI o a o i 010 0 oder Kundenverdrahtung gt or customer wiring nicht benutzt 1 2 3 4 5 6 T 8 9 1 Customer wiring or part available on market HEIDENHAIN Service Manual for Data Interfaces 4 5 RS 422 V 11 Diagram Diagram no 16 RS 422 V 11 data interface V 11 Adapter Block max 1000 m ES E 1 7 X22 V 11 RS 422 ID 249 819 01 ID 250 478 1 1 1 GND Chassis 2 2 2 RxD 3 3 cts 5 s 5 RTS 6 6 el DSR 7 7 7 DIR 8 8 8 GND Signal 81 s Signa rs O 0 0 CTS 1 1 xD 2 ge 2 RTS 3 DSR 4 DTR 5 The RS 422 V 11 data interface has the same pin layout at the logic unit X22 and at the V 11 adapter block Note 4 6 V 11 V 24 Converter Diagram no 17 RS422 RS232 RS 422 RS 232 RS 422 25 pol SUB D Buchse RS 422 der Steuerung X22 15 pol SUB D Stift
18. Data format 7 data bits 1 stop bit even parity and baud rate 2400 are adapted to the FE FE For connection of the HEIDENHAIN floppy disk unit FE 401 or other peripheral units Data transfer is executed with a special protocol blockwise transfer to back up data Data format 7 data bits 1 stop bit even parity baud rate 9600 and transfer protocol are adapted to the FE EXT For adaptation of data transfer in standard data format and for blockwise transfer to peripheral units The interface for data transfer is adapted via machine parameters any baud rate can be selected 1 Selection via MOD 2 Selection via machine parameter April 2010 5 35 5 2 Operating Modes on TNC 122 to TNC 430 One or several operating modes are available depending on the model Control model Operating mode ME FE EXT LSV2 Screen dump Host operation DNC Log 22 24 31 35 45 50 O O O O O O O 51 1 TNC 155 C 232 1 232B 1 C 2341 C 234 xxx C 332 246 C 306 C 310 C 320 C 335 C 351 355 C 360 C C C C C T TNC 2500 B C T T T T T T C ONTOUR 12 TNC 370 TNC 406 2 TNC 407 TNC 410 TNC 415 415 425 TNC 426 430 530 7 TNC 6xx 7
19. Messages olores Ie asua BI dH IDE IERI 91 Tables pe eve Code EP 93 Powets 0F 2t council eI ee 97 HEIDENHAIN Service Handbuch Datenschnittstellen 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 1 3 Other Documentation on Data Interfaces 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 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 2011 14 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 Failure to comply with this information could result in injuries and interruptions of operation including material damage Note Attention These boxes contain important and useful informa
20. TXD RXD RTS CTS 20 DTR 6 DSR Auftrennen 8 7 Signal GND WN HEIDENHAIN 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 V 24 Adapter Block komplett mit Kabel ID 214001 01 V 24 adapter block complete with cable ID 214001 01 e x 3m max 17m Peripherieger t 25 pol 2 1 TNC V 24 RS 232 C Peripheral 25 14 pol 14 pin Kundenverdrahtung Customer wiring 1 TX i 2 GND Chassis CGnD RXD 3 3 TXD RTS 4 4 RXD CIS 5 5 RIS DSR 6 6 CTS SGND 7 7 DSR 8 8 GND Signal ground SGnD 9 9 DTR Data terminal ready DTR Diagram no 9 RS 232 C V 24 direct connection TNC 14 pi n peripheral 9 pin 14 pol 14 pin an der Steuerung on the control TNC 9 pol 9 pin COM 1 PC Diagram no 10 RS 232 C V 24 direct connection TNC 25 pi n peripheral 9 pin 25 pol 25 pin der Steuerung on the control TNC 9 pol 9 pin COM 1 PC June 2011 Diagram no 11 RS 232 C V 24 direct connection for hardware handshake TNC 25 pin peripheral 25 pin 1 1 Peripherieger t 25 pol TNC V 24 RS 232 C Peripheral 25 pin 25 pol 25 pin CGND 1 1 1 1 GND Chassis TXD 2 2 2 2 RXD RXD 3 3 3 3 TXD RTS 4 4 4 4 CTS CTS 5 5 5 5 RTS DSR 6 6 6 6 DTR SGND 7 7 7 7 GND Signal ground 8 8 8 8 9 9 9 9
21. V 24 Adapter Block V 24 adapter block i 3m max 17m Peripherieger t 25 pol CE ET TNC V 24 RS 232 C Peripheral unit 25 pin E 25 pol 25 pin ID 274545 01 ID 239760 ID 242869 01 ID 239758 01 ws br ws br wh bn wh bn CGND 1 1 1 GND Chassis ground TXD 2 2 2 RXD RXD 3 3 3 TXD RTS 4 4 4 5 CTS 5 5 5 RTS DSR 6 6 6 DTR SGND 7 Se 7 GND Signal ground 8 8 8 9 9 9 DTR DSR Data set ready Note If the pin layout of your peripheral unit differs from the above layout the HEIDENHAIN connecting cable cannot be used June 2011 Diagram no 3 RS 232 C V 24 with adapter block for hardware handshake TNC 25 pin peripheral 9 pin Peripheriegerat 9 pol Adapter Peripheral unit 9 9 25 pol 9 25 pin Data carrier detect DCD DTR Ring indicator RI o QD Qi 010 0 N o not used nicht benutzt 3m I ID 274545 01 ID 242869 01 ws br ws br wh bn wh bn ID 368 017 xx nicht benutzt notused V 24 Adapter Block V 24 adapter block max 17m TNC V 24 RS 232 C ES Th DI ID 239758 01 ID 239760 GND Chassis CGnD RXD GND Signal ground SGr DSR Data set ready brbn ws wh 1 Customer wiring or part available on market HEIDENHAIN 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 V 24 Adapter Block V 24 adapter bl
22. cases Manual Network configuration operation Protocol File P4 NQG NR ADDRESS MASK ROUTER PROT H 160 1 180 1 255 255 0 0 CEND Ka T NEXT LINE a Switch to next column HW Hardware configuration of the connection 10BaseT twisted pair 10Base2 COAX B Network configuration Connection C180BRSET 18BASE2 File IP4 NQQ NR PROT HL HOST H RFC 10BASET CEND 7 Y TI NEXT LINE Exit menu 1 This information can be provided by your network specialist April 2010 7 3 2 Settings in DEFINE MOUNT Network configuration operation DEF INE DEF INE DEF INE SHOW NET MOUNT PRINT ERROR DEF INE MOUNT Call menu DEFINE MOUNT The following settings can be made in DEFINE MOUNT ADDRESS 5 2 ws TIMEOUT HM DEVICENAME PATH DOMAIN UID DCM PROT Address Internet address of the server Packet size for data input Packet size for data output A Remote Procedure Call that is not answered by the NFS server is repeated after expiration of the time defined here 0 700 standard 1 YES 0 NO With a hard mount the Remote Procedure Call is repeated until answer is received from the NFS server This has the advantage that after a server crash you can continue normal operation as soon as the server is up again Use a soft mount 0 only if the NFS server is not always available T
23. data interface Via this interface 426 TNC 430 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 system Network Software WIN 2000 CIMCO NFS WIN XP available from HEIDENHAIN under ID 339737 WIN Vista WIN 7 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 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 12 HEIDENHAIN 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 ins
24. defined levels Ug M Output Input 2 0 2 0 2 2 5 6 2 2 3 HEIDENHAIN data transfer software 2 3 Ethernet See chapter 2 1 3 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 10Baseb 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 10 HEIDENHAIN Service Manual for Data Interfaces 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 n
25. for data output 2 ASCII character for output code A 1 control character for end of 5010 3 0 32382 command block ETB 2 control character for start of command block SOH 1 control character for positive 0 32382 acknowledge ACK 2 control character for negative acknowledge NAK Control character for end of data 5010 5 0 32282 transfer EOT Control character for end of data 5011 04 0 32382 transfer EOT Data format and transmission stop for the RS 232 C EXT data interface 7 or 8 data bits 7 databits bit 8 parity 8 databits bit 8 0 and bit 9 parity Block check character BCC BCC not control character Transmission stop by RTS not active active Transmission stop by DC3 not active active Character parity even odd even Character parity on off Number of stop bits gt bit 7 1 1 1 2 stop bits ze stop bits stop bit 1 stop bit Activation of RTS signal 0 RTSsignalalways active 256 RTS signal is set active when data transfer is activated and set inactive at the end of data transfer Control sends EOT after having 0 EOT is transmitted received ETX 512 EOT is not transmitted Accessible via code number 123 6 52 HEIDENHAIN Service Manual for Data Interfaces Function MP aq TNC NC CNC Input No Bit 360 306 234 Transfer mode for EXT 5030 Data transfer rate for 5040 PLC coupling Graphic printout Standard data interface
26. name was entered for the protocol Errors detected by the network layer IP4 E INTERFACE NOT PRESENT The Ethernet card could not be found IP4 E INTERNET ADDRESS NOT VALID The control was assigned an invalid Internet address e g a class D or E address a loop back address or a broadcast address IP4 E SUBNETMASK NOT VALID The specified subnet mask does not match the Internet address or only 1 bit was provided for the subnet ID or the host ID IP4 E SUBNETMASK OR HOST ID NOT VALID Input of Internet address or subnet mask faulty or all bits of the host ID are 0 or 1 IP4 E SUBNET MASK OR SUBNET ID NOT VALID All bits of the SUBNET ID are 0 or 1 IP4 E DEFAULTROUTERADRESS NOT VALID For the default router an invalid Internet address was entered e g a class D or E address a loop back address or a broadcast address 4 E CANNOT USE DEFAULT ROUTER The net ID and the subnet ID of the default router are not identical to those of the control IP4 E NOT A ROUTER The Internet address of the default router is identical to that of the control Errors detected by the mount system call MOUNT Device name E DEVICENAME NOT VALID The device name is either too long or it contains illegal characters MOUNT Device name E DEVICENAME ALREADY ASSIGNED A device with the same name already exists MOUNT Device name E DEVICETABLE OVERFLOW The device table is full the device cannot be mounted any more Ap
27. output code for EXT1 A 5205 0 for EXT2 5205 1 for EXT3 PLC 5205 2 ASCII character for start of command block for EXT1 SOH 5206 0 for EXT2 5206 1 for EXT3 PLC 5206 2 ASCII character for end of command block for EXT1 ETB for EXT2 for EXT3 PLC ASCII character for positive acknowledge for EXT1 ACK for EXT2 for EXT3 PLC ASCII character for negative acknowledge EXT1 NAK 5209 0 EXT2 5209 1 PLC 5209 2 ASCII character for end of transmission EXT1 EOT EXT2 PLC Accessible via code number 123 HEIDENHAIN Service Manual for Data Interfaces 6 7 Machine Parameters for TNC 426 430 6 7 1 Overview Function Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC Transfer mode for EXT1 EXT2 EXT3 PLC Data transfer rate for 5040 5040 PLC coupling EXT3 April 2010 6 7 2 Description of the machine parameters Inhibiting a data interface Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC 7 or 8 data bits Block check character Transmission stop by RTS Transmission stop by DC3 Character parity even odd Character parity on off Number of stop bits Transfer mode for 1 2 PLC Data transfer rate for PLC coupling EXT3 no interface inhibited RS 2
28. 1 stop bit e HEIDEHAIN data transfer software in the EXT mode the data 7 data bits 1 stop bit even parity software handshake 7 6 5 4 3 2 1 0 Bit 1 0 1 0 1 0 0 0 Binary v v v 128 32 8 168 Decimal In the FE ME mode the data format in MP 222 is not active in this case the format is always set to 7 data bits 1 stop bit even parity and software handshake HEIDENHAIN Service Manual for Data Interfaces Program end and program start The control characters for program end and program start are defined in MP 71 5010 0 MP 71 5010 0 LSB Bit 0 7 character for program end MSB Bit 8 15 character for program start In the example the standard values ETX and STX are used i e MP 71 515 program start program end 15 MSB EE LSB 0 STX 2 ETX 3 2 gt 256 3 515 For serial data transfer only the character for program end is transmitted in our example MP 71 3 would be sufficient for ETX Both characters program start and program end are only sent with blockwise transfer In our example 17 515 would be required for STX and for ETX To select the characters for program start and program end via MP 71 the RS 232 C interface must be set to EXT mode In the FE and ME modes the control characters and STX are automatically set i e MP 71 must be 515 In old control models TNC 150 TNC 151 A P TNC 155 A P the machi
29. 12 2 1 0 0 3 4 HW Wiring diagram for data transfer with hardware handshake SW Wiring diagram for data transfer with software handshake June 2011 4 19 4 2 RS 422 V 11 Overview Control model Connection diagram TNC 406 16 TNC 407 TNC 415 B TNC 425 TNC 426 TNC 430 V 11 gt V 24 converter NIL O O O O 4 3 Ethernet Overview Control model Connection diagram TNC 426 Chapter 7 2 TNC 430 Chapter 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 Peripheriegerat 25 pol CK Peripheral unit 25 pin Kundenverdrahtung Customer wiring 4 2 3 4 5 6 TZ 8 9 DTR V 24 Adapter Block V 24 adapter block D La ID 239758 01 max 17m TNC V 24 RS 232 C 25 pol 25 pin ID 239760 ws br ws br wh b d GND Chassis ground RXD DTR GND Signal ground OoOO P gt PL ON DSR Note This wiring only allows transfer stop with DC3 software handshake HEIDENHAIN Service Manual for Data Interfaces e The RS 232 C V 24 data interface has different pin layouts at the logic unit and the V 24 adapter block Diagram no 2 RS 232 C V 24 with adapter block for hardware handshake TNC 25 pin peripheral 25 pin
30. 32 inhibited RS 422 inhibited 7 data bits bit 8 parity 8 data bits bit 8 0 and bit 9 parity not control character inactive active inactive active even 64 Pbit6 1 128 bit 7 1 bit 6 bit 7 0 1 1 stop bits 1 stop bits D Ts stop bit 1 4 stop bit Standard data transfer Blockwise transfer 110Bd 5 2400Bd 10 57600 Bd 150Bd 6 4800Bd 11 15200 Bd 300 7 2 9600 600Bd 8 19200 Bd 4 1200 9 38400 Bd Accessible via code number 123 6 64 HEIDENHAIN Service Manual for Data Interfaces 7 Ethernet Card Option in TNC 426 430 Controls 7 1 Installing the Ethernet Card Danger to internal components When handling components that can be damaged by electrostatic discharge ESD observe the safety recommendations in EN 100 015 Use only antistatic packaging material Be sure that the work station and the technician are properly grounded during installation Attention The Ethernet kit may only be mounted by trained personnel X14 Id Nr 311 647 xx X38 Id Nr 311 537 xx April 2010 Function of the green LEDs on the ETHERNET board BS D1 Bus Select Access to the Ethernet controller by the CPU of the TNC This LED must blink when the control is started LN D2 Link Link signal received from server RX D3 Received Data are received TX D4 Transmitted Data are transmitted
31. 3D gt 062 076 3E 063 077 3F 064 100 40 A 065 101 41 B 066 102 42 C 067 103 43 HEIDENHAIN Service Manual for Data Interfaces Character Decimal Octal Hexadecimal D 068 104 44 E 069 105 45 F 070 106 46 G 071 107 47 H 072 110 48 073 111 49 J 074 112 4A K 075 113 4B L 076 114 4 077 115 4D N 078 116 AE 079 117 4F P 080 120 50 081 121 51 R 082 122 52 S 083 123 53 T 084 124 54 U 085 125 55 V 086 126 56 W 087 127 57 X 088 130 58 Y 089 131 59 Z 090 132 5A 091 133 5B N 092 134 5C 093 135 5D ix 094 136 z 095 137 5F 096 140 60 a 097 141 61 b 098 142 62 C 099 143 63 d 100 144 64 e 101 145 65 f 102 146 66 g 103 147 67 April 2010 Character Decimal Octal Hexadecimal h 04 50 68 i 05 51 69 j 06 52 6A k 07 53 6B 08 54 6 m 09 55 6D n 0 56 6E o 1 57 6F p 2 60 70 q 3 61 71 r 4 62 72 s 5 63 73 t 6 64 74 u 7 65 75 V 8 66 76 w 9 67 77 x 20 70 78 y 21 71 79 2 22 72 7 23 73 7 24 74 7G 25 75 7D 26 76 7E DEL 27 77 7F HEIDENHAIN Service Manual for Data Interfaces 9 2 Powers of 2 2 16 32 64 128 256 512 1024 2 048 4 096 8 192 16 384 32 768 65 536 O ol 131 072 262 144 20 524 288 1 048 576 April 2010 HEIDENHAIN Service Manual for Data Interface
32. 8 5110 2 6963 MP 229 5110 3 18432 Machine parameter block 2 230 5120 0 to MP 233 5120 3 HEIDENHAIN Service Manual for Data Interfaces Output of control characters at the beginning of each graphic line Required Character 1 Carriage Return CR 2 Line Feed LF 3 Graphics mode with 8 ESC 4 needles 5 72 dpi and 5 DEC 6 512 data bytes 0 DEC 7 per line 2 DEC Byte counter 7 CR LF ESC Result 15 MSB MP 230 5120 0 Byte counter 7 Byte 0 7 256 MP 231 5120 1 LF 10 Byte 2 10 256 MP 232 5120 2 x 42 Byte 4 42 256 MP 233 5120 3 0 DEC 0 Byte 6 0 256 Input values MP 230 5120 0 1805 231 5120 1 2587 232 5120 2 10757 233 5120 3 2 ASCII code 13 DEC 10 DEC 27 DEC 42 DEC 5 DEC 0 DEC 2 DEC LSB CR 13 Byte 1 13 ESC 27 Byte 3 27 5 DEC 5 Byte 5 5 2 DEC 2 Byte 7 2 Result Carriage Return Line Feed Escape Asterisk Decimal 5 Decimal 0 Decimal 2 1805 2587 10757 IN April 2010 6 2 Machine Parameters for TNC 122 124 6 2 1 Overview Function TNC 122 124 Data transfer rate 5040 6 2 2 Description of the machine parameters The following list contains the machine parameters for all software variants Since however several machine parameters are not valid for certain controls or have been introduced or eliminated as of a certain software version there
33. DTR DSR Data set ready Diagram no 12 RS 232 C V 24 direct connection for software handshake TNC 25 pin peripheral 25 pin 1 1 Peripherieger t 25 pol TNC V 24 RS 232 C Peripheral 25 pin 25 pol 25 pin GND Chassis RXD DTR GND Signal ground DSR HEIDENHAIN Service Manual for Data Interfaces e Diagram no 13 RS 232 C V 24 direct connection TNC 14 pin peripheral 25 pin 14 pol 14 pin 25 pol 25 pin an der Steuerung at the control COM 1 TNC Peripheriegerat Peripheral Diagram no 14 RS 232 C V 24 with adapter block for hardware handshake TNC 9 pin peripheral 25 pin V 24 Adapter Block RS 232 C Adapter block ID 239758 01 e 3m Peripheriegerat 25 pol E TNC V 24 RS 232 C Peripheral 25 pin C 9 pol 9 pin ID 274 545 01 ID 286 998 242 869 01 gt ws br 1 1 3 1 1 Kn 2 12 2 2 2 TXD Transmit data RXD 3 3 3 3 RXD Receive data RTS 4 H 4 4 8 8 RTS Request to send CTS 5 1 45 5 7 7 CTS Clear to send DSR 6 ISS 6 4 4 DSR Data set ready SGND 7 mum 7 5 5 GND Signal ground 8 4 8 6 6 DTR Data terminal ready 9 9 9 9 9 DTR Note If the pin layout of your peripheral unit differs from the above layout the HEIDENHAIN connecting cable may not be used June 2011 Diagram no 15 RS 232 C V 24 with adapter block for hardware handshake TNC 9 pin peripheral 9 pin RS 232
34. Data transfer was aborted before the program was completely loaded EXT IN OUTPUT NOT READY The DSR signal is missing at the TNC ME not connected Transmission cable defective or incorrect Wrong interface assignment ME TAPE END The cassette is full To continue data transfer turn over or exchange the cassette April 2010 8 85 8 1 2 Error messages at the ME In the ME the electronics is tested and the external operating conditions are checked If an error is detected the lamps of the operating mode display start blinking In the table below the error types are listed O LED off LED blinks Indicator lamps Error message OOO Faulty data during transfer OO O OOOO No cassette inserted OO OOOO Write enable plug in cassette is missing O OO OOOO Wrong operating mode selected O O Data of magnetic tape faulty O O Magnetic tape empty OOO OOOO OO OOOO HO HH OOOO OO OOOO OOOO Error in ME electronics HEH End of tape O OOOO Peripheral unit is not connected HH O OOOO DEL Data transfer between TNC and ME or peripheral interrupted by rl Pressing clears the error messages HEIDENHAIN Service Manual for Data Interfaces 8 1 3 Error messages at the FE in the ME mode
35. ERR 107 Disk controller defective 3 ERR 108 DMA error 2 ERR 109 Disk exchanged during program loading 1 be eliminated by reformatting the disk 2 3 Hardware defect These error messages indicate that the disk is defective in most cases they can only If this error message comes up while the disk is inserted the drive is probably defective April 2010 8 1 5 Error messages during data transfer TRANSFERRED VALUE INCORRECT X X A Faulty character frame B Character overflow C Faulty character frame or character overflow D Parity error E Faulty character frame or parity error F Character overflow or parity error G Faulty character frame or character overflow or parity error Receiving buffer overflow Incorrect ESC sequence only in ME mode Incorrect ESC sequence only in ME mode TAL DATA TRANSFER ERRONEOUS X X A Faulty character frame D Parity error M The control has received the character for Negative Acknowledgement NAK more than 3 times N The control has transmitted the character for Negative Acknowledgement NAK more than 3 times P Timeout ACK NAK BAUD RATE NOT POSSIBLE If both data interfaces RS 232 RS 422 are active simultaneously the baud rate of both data interfaces must be the same INTERFACE ALREADY ASSIGNED A data interface cannot be used for two operating modes at atime e g DNC mode and simultane
36. HEIDENHAIN Service Manual Data Interfaces for HEIDENHAIN Controls of the Series TNC 122 TNC 351 355 TNC 124 TNC 360 TNC 125 TNC 370 TNC 131 135 TNC 406 TNC 145 TNC 407 415 TNC 150 151 155 TNC 410 TNC 246 TNC 425 TNC 2500 TNC 426 430 TNC 306 CNC 232B TNC 310 CNC 234 xx TNC 335 CNC 332 July 2011 1 1 1 2 1 3 1 4 2 2 2 3 3 1 3 2 4 1 4 2 4 3 4 4 4 5 4 6 5 1 5 2 6 2 How to Use this Service Manual Target Group EE 5 Abo t this EU LEI 5 Other Documentation on Data Interfaces u u 5 Meaning of the symbols used in this manual U 6 General Information on the Data Interfaces RS 232 C V 24 Int erfac ul a uu editis ec sai 7 2 1 1 HateWarete cas b s EE EEN 7 2 1 2 Signal levels a mun utan 7 2 1 3 HEIDENHAIN data transfer SOTEWare ee tee 8 6 422 11 u hakupata amuk oie a Qa 9 2 2 1 rcc e EE a TAD pete EE 9 2 2 2 aate 10 2 2 3 HEIDENFHAIN data transfer Software inne eee eee eei re e eee EES 10 Ethernet eebe eeh e oro edd trenes EE dee 10 2 3 1 POLO ra r2 s EE 11 2 3 2 Signal Structures eee ot NM pe De
37. In the ME mode errors are displayed by the indicator lamps LEDs of the control buttons blinking O LED off e LEID on LED blinks Indicator lamps Error message OOOe Disk is missing or error in the electronics O OO OOO Disk cannot be formatted as it is currently being used O OO ooe Disk is missing or not formatted OOO OO Disk cannot be copied as a read write process is active OOO eO xe External device not ready or not connected Oee Disk is missing or not formatted OOOO ooe Disk is missing or not formatted or no program is available OOeO HOOK Program cannot be output as data transfer via the TNC interface is in OOOO process OO Program cannot be output as data transfer via the PRT interface is in 0101 10 process OO e External device not ready or not connected OOee Disk is missing or not formatted OOO oooe Disk is missing or not formatted oeo OOe Program cannot be output as data transfer via the TNC interface is in OOO process OOO Program cannot be output as data transfer via the PRT interface is in Oeo process Oeoce External device not ready or not connected OO O Ox oe Disk is missing or error in the electronics OOeO O O Table of contents cannot be output as data transfer via the PRT interface OOeO is in process April 2010 OOO No interface couplin
38. are columns with symbols for differentiation Meaning of the symbols The parameter applies for all software versions of this control 04 The parameter was introduced as of a certain software version e g as of version 04 104 The parameter was eliminated as of a certain software version e g as of version 04 or replaced by a new parameter The parameter is not active with this software control Explanation of the columns TNC 124 TNC 124 with NC software 246 16 Function T TNC Input Bit 124 Data transfer rate 5040 300 600 1200 2400 4800 9600 19200 38400 HEIDENHAIN Service Manual for Data Interfaces 6 3 Machine Parameters for TNC 232 246 6 3 1 Overview Control character for Blockwise Transfer 5010 0 5010 0 Character for beginning and end of program the character for program end also applies for standard data interface ASCII character fordatainput_ 5010 1 so101 02 ASCII character for beginning and end of 5010 3 command block ASCII character for pos and neg acknowledge 5010 4 ASCII character for data transfer finished 010 5 Data format and transfer stop for the data interface Transfer mode for EXT 5030 5030 April 2010 6 3 2 Description of the machine parameters MP TNC CNC No Bit 246B 232 B Control character for Blockwise Transfer Character for beginning and end of 0 65 535 program the character for progra
39. en parity Baud rate 110 115 200 bauds depending on the hardware of the HEIDENHAIN product Fixed Software handshake with DC3 Interface parameters Transfer stop April 2010 EXT For adaptation of data transfer in standard data format and for blockwise transfer to peripheral units Protocol Data format Baud rate Interface parameters Transfer stop LSV 2 Standard protocol or blockwise transfer Adaptation via machine parameters from MP 5000 Adaptation via machine parameters from MP 5000 110 115 200 bauds depending the hardware of the HEIDENHAIN product Adaptation via machine parameters from MP 5000 Software handshake with DC3 or hardware handshake with RTS selectable via machine parameters from MP 5000 With the appropriate software TNCremo V 3 0 the LSV 2 protocol allows various functions such as file management remote control and diagnosis of the TNC to be executed from the PC Protocol Data format Baud rate Interface parameters Transfer stop Bidirectional data transfer in accordance with DIN 66019 8 data bits 1 stop bit no parity 110 115 200 bauds depending on the hardware of the HEIDENHAIN product Fixed Software handshake via protocol HEIDENHAIN Service Manual for Data Interfaces 6 Machine Parameters for the Data Interfaces 6 1 Machine Parameters for TNC 125 131 135 145 150 151 155 351 355 6 1 1 Overview P j Gene
40. ert 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 H 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 June 2011 3 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 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 2 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 3 14 HEIDENHAIN 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 A
41. etwork 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 100m 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 High 1 0 mA 0 V Low 0 82 mA 2 05 V Bit time Low 1 t 1 T 0 0 75 1 25 100 ns Carrier sense definition Manchester encoding The network settings of the TNC are described in the Technical Manual and in chapter 7 Ethernet of this Service Manual June 2011 2 11 2 3 3 Connecting the TNC to data networks The HEIDENHAIN control models TNC 426 TNC 430 can optionally be equipped with an Ethernet
42. for output code for EXT1 A for EXT2 for PLC ASCII character for start of command block for EXT1 SOH for EXT2 for PLC ASCII character for end of command block for EXT1 ETB for EXT2 for EXT3 PLC ASCII character for positive acknowledge for EXT1 ACK for EXT2 for EXT3 PLC ASCII character for negative acknowledge EXT1 NAK EXT2 PLC ASCII character for end of transmission EXT1 EOT EXT2 EXT3 PLC 6 56 HEIDENHAIN Service Manual for Data Interfaces 6 6 2 Description of the machine parameters of TNC 406 407 415 Machine parameters The following list contains the machine parameters for all software variants Since however several machine parameters are only valid for a certain software or have been introduced or eliminated as of a certain software version there are columns with symbols for differentiation Meaning of the symbols The machine parameter or entry value applies for all software versions of this control 04 The machine parameter has been introduced with a certain software version e g with version 04 I04 The machine parameter is inactive The parameter does not exist on this control Explanation of the columns TNC 407 with NC software 243 07 without digitizing function TNC 415 with NC software 243 05 or 259 91 without digitizing function TNC 407 with NC software 243 02 with digitizing function TNC 415 w
43. g is possible as data transfer via the TNC interface is OOeO in process OOe No interface coupling is possible as data transfer via the PRT interface is OOOO in process OO e External device not ready or not connected OOOO Pressing Mili clears the error messages HEIDENHAIN Service Manual for Data Interfaces 8 1 4 Error messages at the TNC in the FE mode In this operating mode the floppy disk unit outputs errors in the following format SOH ERR SP SP SP XXX Error number The following errors may be displayed nput Output Errors ERR 001 Incorrect command code ERR 002 Illegal program name ERR 003 Faulty data transfer ERR 004 Program incomplete ERR 005 Receiving buffer overflow ERR 006 Function currently disabled ERR 007 Data buffer overflow Errors during Program Write or Read ERR 010 Program not on disk ERR 011 Program erase protected ERR 012 Program is being written to ERR 013 Program directory is full ERR 014 Disk is full ERR 015 Text not found ERR 016 Program name already exists ERR 017 Disk access active ERR 018 Program currently being read Disk Drive Controller Errors ERR 100 Disk not initialized ERR 101 Sector number too large 1 ERR 102 Drive not ready 2 ERR 103 Disk is write protected ERR 104 Faulty data on disk 1 ERR 105 Sector cannot be found ERR 106 Check sum is incorrect 1
44. his name TNC device name is displayed in the TNC program management for the mounted network Directory path of the NFS server to be mounted e g world home test input depends on the server software Name used by the TNC to log onto the server As of NC software 280 472 and 473 this information is not required USER ID identifies the user GROUP ID identifies the group Directory create mode to define access rights to the directory for OWNER GROUP and other USERS As of NC software 280 472 and 473 The data transfer protocol is specified here e g UDP HEIDENHAIN Service Manual for Data Interfaces d 2 Example 111101000 111 101 000 Read Write Search OWNER GROUP USER FileCreateMode here you assign access rights to files for OWNER GROUP and other USERs OWNER GROUP other USERs lt Example 111101000 111 101 000 Read Write Execute AM Here you can set whether AUTOMOUNT is possible 1 This information can be provided by your network specialist 2 An entry of zero standard means that the optimum transfer size as indicated by the NFS server is used Do not enter any other input values unless you have encountered throughput problems Input range 512 4096 bytes On the next pages please find and example of the settings listed above April 2010 ADDRESS Address Internet address of the server YE Network configuration Inte
45. identifies the user Manual Network configuration operation User id File 4 00 UTO GID OCH FCM 9 HIER 100 BEGIN END PAGE PAGE INSERT DELETE NEXT i 1 1 LINE LINE LINE Switch to next column AM 111111111 111111111 0 1 This information can be provided by your network specialist HEIDENHAIN Service Manual for Data Interfaces GID GROUP ID identifies the group Manual Network configuration operation 5 Group File IP4 MGG UID GID DCH FCM AM 100 4111111111 7111111111 0 Switch to next column DCM Directory create mode to define access rights to the directory for OWNER GROUP and other USERS Manual Network configuration operation z Directory create mode File IP4 MQQ UID cp DCH FCM AM 190 100 111111111 0 T 1 T HES INSERT DELETE NEXT LINE LINE LINE Switch to next column 1 This information can be provided by your network specialist April 2010 7 77 FCM File create mode to define access rights to the files for OWNER GROUP and other USERS OWNER GROUP other USERS Example 111101000 111 101 000 Read Write Execute E Switch to next column AM Here you can set whether AUTOMOUNT is possible pis PP Network configuration Auto mount Yes 1 No 0 D SICHENN UID GID DCM FCM AM 100 100 X111111111 2111111111 BEGIN END PAGE PREE INSERT DELETE NEXT 1
46. ion The machine parameters MP 226 5110 0 to MP 233 5120 3 are present as 16 bit values and are output in decimal format The input value may be between 0 and 65535 These machine parameters are subdivided into bytes The most significant byte from MP 226 5110 0 and MP 230 5120 0 defines the number of bytes the control outputs via RS 232 C The entry values 0 to 7 are advisable as up to 7 bytes can be transferred The next bytes are output individually in ascending order Example The escape sequences stated below are not generally valid they must be defined individually for each printer with the help of the printer manual Machine parameter block 1 226 5110 0 to MP 229 5110 3 Output of control characters at the beginning of each graphics Required Character ASCII code Result 1 Form feed FF 12 DEC Form Feed 2 Carriage return CR 13 DEC Carriage Return 3 Line feed LF 10 DEC Line Feed 4 Line spacing ESC 27 DEC Escape 5 set to 3 51 DEC 3 in ASCII code 6 72 216 H 72 DEC H in ASCII code L Byte counter gt 6 FF CR LF ESC 3 H Result 15 MSB 8 7 LSB 0 MP 226 5110 0 Byte counter 6 EF 12 Byte 0 Byte 1 6 256 12 1548 MP 227 5110 1 CR 13 LF 10 Byte 2 Byte 3 13 256 10 3338 MP 228 5110 2 ESC 27 8 51 Byte 4 Byte 5 27 256 51 6963 MP 229 5110 3 H 72 0 Byte 6 Byte 7 72 256 0 18432 Input values 226 5110 0 1548 MP227 5110 1 3338 22
47. ith NC software 259 96 or 259 97 with digitizing function TNC 407 with NC software 243 03 software equivalent to TNC 415B 425 407 with NC software 280 58 special software gt April 2010 Function Inhibiting a data interface Control characters for Blockwise transfer Character for program end and start the character for program end is also valid for the standard data interface ASCII character for data input ASCII character for data output ASCII character for start and end of command block ASCII character for pos and neg acknowledge ASCII character data transfer finished Data format and transmission stop for the operating mode EXT for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC 7 or 8 data bits Block check character Transmission stop by RTS Transmission stop by DC3 Character parity even odd Character parity on off Number of stop bits Transfer mode for EXT EXT1 EXT2 EXT3 PLC Bit no interface 5000 07 inhibited RS 232 inhibited 2 RS 422 inhibited 5010 0 105 s 5010 1 tos op 2 soro 2 tos op Iesse ola ha all Be esl ba RK e EE il MS ina BARRE ui 0 5020 0 5020 1 5020 2 7 data bits bit 8 parity 8 data bits bit 8 0 and 1 bit 9 parit 0 anyBCC 2 n
48. l is required to reach the SERVER PROT Here the format for data transfer is specified RFC in most cases HW Hardware configuration of the connection 10BaseT twisted pair 10Base2 COAX HEIDENHAIN Service Manual for Data Interfaces HOST 1 As of NC software 280 472 and 280 473 Here the name is entered under which the control registers itself at the SERVER 160 1 1604 SERVER 160 3 0 2 e g address 160 2 0 2 ROUTER 160 2 0 3 boxes represent for example controls personal computers Please note that a can never be a ROUTER since it does not feature the second connection for feeding signals through 1 This information can be provided by your network specialist On the next pages please find and example of the settings listed above ADDRESS Information on the address of your TNC in the network Internet poles Network configuration Internet address of TNC File NR ADDRESS MASK ROUTER 2 255 255 0 0 LENDJ April 2010 MASK SUBNET MASK to save addresses in the network Manual Network configuration operation Subnet mask File NR ADDRESS MASK ROUTER 160 1 180 1 BEGIN END PAGE PAGE NEXT 7 1 I 1 This information be provided by your network specialist HEIDENHAIN Service Manual for Data Interfaces PROT Here the format for data transfer is specified RFC in most
49. m end also applies for standard data interface ASCII character for data input 5010 1 0 65 535 ASCII character for data output 5010 2 ASCII character for beginning and end 5010 3 0 65 535 of command block ASCII character for pos and 5010 4 0 65 535 neg acknowledge ASCII character Data transfer finished 5010 5 Ir 0 65 535 zb O O Data format and transmission stop 0 255 for the data interface RS 232 C V 24 0 7 data bits ASCII code 7 or 8 data bits 8th bit parity 1 8 data bits ASCII code 8th bit 0 and 9th bit parity Block check character 0 any BCC 2 not control character Transmission stop by RTS 0 gt not active 4 active Transmission stop by DC3 0 gt not active 8 active Character parity even 0 gt active or odd 16 active Character parity desired 0 even 32 odd 1 1 2 stop bits 2 stop bits 1 stop bit 1 stop bit Bit6 64 Bit 7 128 Operating mode of the data interface 5030 0 Standard data transfer RS 232 C V 24 1 Transfer blockwise accessible via code number 123 6 50 HEIDENHAIN Service Manual for Data Interfaces 6 4 Machine Parameters for TNC 306 335 360 2500 CNC 234 TNC 370 6 4 1 Overview um eee 1 control character for end of text 5010 0 5010 0 5010 0 5010 0 5010 0 2 control character for start of text STX 1 ASCII character for file type 5010 1 5010 1 5010 1
50. ne parameter MP 71 is always active Machine parameters of TNC 145 C and TNC 150 MP 70 Decimal point or comma ON decimal point OFF decimal comma If numerical values in programs are to be output with decimal points the parameter MP 70 must be programmed if output with decimal comma is required it must be programmed OFF MP 71 Character for end of program 1 126 MP 76 By means of the parameter 71 TNC 159 or 76 TNC 145 C an additional ASCII character for program end can be selected for remote programming The input depends on the significance of the character and is derived from the pattern on the punched tape without parity bit MP 92 Decimal point or comma 0 decimal comma 1 decimal point If numerical values in programs are to be output with decimal points the parameter MP 70 must be programmed if output with decimal comma is required it must be programmed OFF Operating mode of the data interface The operating mode of the data interface is defined in the machine parameter MP 223 5030 MP 223 5030 0 blockwise transfer inactive 1 blockwise transfer active April 2010 Machine parameters for blockwise transfer With Blockwise Transfer in the Program Run operating mode machine programs in general created on a remote computer aided workstation of any desired length can be downloaded and machined via the serial interface Blocks already machined are deleted from the memory and the ne
51. ngth 180 m BNC connection female Assignment Inner conductor core Data RXI TXD Shield GND Control model Ethernet connector option X25 TNC 426 B X TNC 430 A X TNC 426M 430M x Ethernetplatine Ethernet board Option ID 293890 51 June 2011 317 3 18 HEIDENHAIN Service Manual for Data Interfaces 4 Wiring Diagrams of the Data Interfaces 4 1 RS 232 C V 24 Overview Connection of peripheral 25 pin Wiring diagram for connection Connection of peripheral 9 pin Wiring diagram for connection via adapterand via adapterand direct JH cable direct 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 135 13 13 7 8 9 9 5 6 145 13 13 7 8 9 9 5 6 150 13 13 7 8 9 9 5 6 151 155 13 13 7 8 9 9 5 6 246 11 12 2 1 0 4 2500 B C 11 12 2 1 3 4 TNC 306 11 12 2 1 0 0 3 4 TNC 310 14 14 15 15 TNC 335 11 12 2 1 0 0 3 4 TNC 351 355 11 12 2 1 0 0 3 4 TNC 360 11 12 2 1 0 0 3 4 TNC 370 14 14 0 0 15 15 TNC 406 11 12 2 1 0 0 3 4 TNC 407 11 12 2 1 0 0 3 4 TNC 410 11 12 2 1 0 0 3 4 TNC 415 B 11 12 2 1 0 0 3 4 TNC 425 11 12 2 1 0 0 3 4 TNC 426 11 12 2 1 0 0 3 4 TNC 430 11 12 2 1 0 0 3 4 CNC 232B 11 12 2 1 0 0 3 4 CNC 234 XXX 11 12 2 1 0 0 3 4 CNC 332 11
52. ock 1 3m max 17m Peripherieger t 9 pol Adapter EL Ej TNC V 24 RS 232 C Peripheral 9 pin 9 25 pol 25 pol 25 pin 9 25 pin Kundenverdrahtung Customer wiring ID 239758 01 ID 239760 ws br_ws br wh bi CGND GIE GND Chassis CGnD TXD 3 RXD RXD 2 TXD RTS CTS DSR 6 DIR 6 SGND 5 GND Signal ground SGnD Data carrier detect DCD 1 DTR 4 Ring indicator RI 9 DSR Data set ready oder Kundenverdrahtung or customer wiring nicht benutzt not used EE nicht benutzt not used 1 Customer wiring or part available on market June 2011 Diagram no 5 RS 232 C V 24 with adapter block for software handshake TNC 25 pin peripheral 9 pin Peripherieger t 9 pol Adapter 7 Ct 3m i Peripheral unit 9 pin 9 25 pol 9 25 pin Kundenverdrahtung Customer wiring i CGND TXD RXD RTS CTS DSR SGND Data carrier detect DCD DTR Ring indicator RI i 000 NoO oder Kundenverdrahtung gt or customer wiring nicht benutzt 1 2 3 4 5 6 7 8 9 nicht benutzt not used V 24 Adapter Block komplett mit Kabel ID 314001 01 V 24 adapter block complete with cable max 17 TNC V 24 RS 232 C p es pot 14 GND Chassis ground TXD RXD RTS GND Signal ground DTR Data terminal ready KRASNOW 1 Customer wiring or part available on market HEIDENHAIN Service Manual for Data Interface
53. ot control character 4 active 18 E 8 active pa 0 even 16 odd 5 6 7 64 bit6 1 128 gt bit 7 1 bit 6 bit 7 1 stop bits 2 stop bits 1 stop bit 1 stop bit 5030 5030 0 5030 1 0 Standard data transfer 1 Blockwise transfer 5030 2 Accessible via code number 123 HEIDENHAIN Service Manual for Data Interfaces Function Data transfer rate for PLC coupling EXT3 Control characters for Blockwise transfer ASCII character for start of program EXT 1 STX EXT 2 PLC ASCII character for end of program for EXT1 ETX for EXT2 for EXT3 PLC ASCII character for file type for data input for EXT1 for EXT2 for EXT3 PLC ASCII character for input code for EXT1 E for EXT2 for EXT3 PLC ASCII character for file type for data output for EXT1 for EXT2 for PLC ASCII character for output code for EXT1 A for EXT2 for EXT3 PLC ASCII character for start of command block for EXT1 SOH for EXT2 for PLC ASCII character for end of command block for EXT1 ETB for EXT2 for EXT3 PLC ASCII character for positive acknowledge for EXT1 ACK for EXT2 for EXT3 PLC ASCII character for negative acknowledge EXT1 NAK EXT2 EXT3 PLC ASCII character for end of transmission EXT1 EXT2 PLC Accessible via code number 123 5200 1 5200 2 5201 0
54. ous programming is not possible with one data interface EXT NOT READY DSR signal missing at the TNC Transmission cable defective or incorrect Wrong interface assignment PROGAMI INCOMPLETE Data transfer was aborted before the program was completely loaded 8 90 HEIDENHAIN Service Manual for Data Interfaces 8 2 Ethernet Error Messages Errlnternetor messages or warnings that are generated when a device is mounted are stored in plain language in an ERROR file When the control is switched off and on the contents of this file is deleted The entries in this file can be viewed by entering the code number NET123 and pressing the soft key SHOW ERROR Structure of an Error Message A message starts with the program part that detected the error this element is terminated by a colon Then the name of the device to be mounted can follow in lt gt angle brackets The software differentiates between errors E and warnings W In the event of an error the network cannot be activated and the device cannot be mounted When a warning is generated the network could be activated or the device mounted however inappropriate entry values were corrected Errors reported by the link layer LL W CONNECTION error string UNKNOWN USING DEFAULT 10BASE2 An unknown name was entered for the connection 10BASE2 Thin Ethernet is used LL E PROTOCOL error string UNKNOWN An unknown
55. r substitute character decimal code 1 47 transferred at the beginning of the program block 221 e ACK or substitute character decimal code 1 47 ACK 5010 4 positive acknowledge transferred if the data block 5382 was been correctly received NAK or substitute character decimal code 1 47 negative acknowledge transferred if the data block was not correctly received 224 or 0557 EOT or substitute character decimal code 1 47 EOT 5010 5 transferred at the end of data transfer 4 For MP 218 5010 1 and MP 219 5010 2 H HEIDENHAIN conversational program D ISO program M Machine parameter list P PLC program S Non linear compensation list 99999967 For all programs stored in the ME mode HEIDENHAIN Service Manual for Data Interfaces Machine parameter calculation Examples MP 218 5010 1 MP 221 5010 4 and MP 224 5010 5 15 MSB B 7 LSB 0 MP 218 5010 1 E 69 H 72 69 256 72 17736 MP 218 5010 1 17736 The LSB must correspond to the transfer program Change identifier in FDE program X 88 User parameter general ME mode H 72 Programs in HEIDENHAIN plain language D 68 ISO programs P 80 PLC programs M 77 Machine parameters S 83 Non linear compensation table The MSB must correspond to the transfer program E is prescribed in the FDE TNC program 15 MSB 8 g LSB 0 MP 219 5010 2 A 65 H 72 65 x 256
56. ral information Data format MP 222 MP 222 Bit 0 Bit 0 76 MP71 71 71 70 nu M 218 218 219 219 220 220 ASCII characters for beginning and end of program Decimal point or comma Blockwise transfer Operating mode of RS 232 C ASCII characters for data input and data output Command block Start End Pos neg acknowledge FEET SSES Data transfer finished eg Printer adaptation Output of control charac ters at the beginning of each graphics Output of control charac ters at the beginning of each graphic line Character parity Transfer stop MP 222 MP 222 Bit4 7 Bit 4 7 MP 222 MP 222 Bit 2 3 Bit 2 3 April 2010 6 1 2 Description of the machine parameters Machine parameters general information Data format As of TNC 151 B Q the data format can be set in the machine parameter 222 222 5020 BitO Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 7 6 Example For Blockwise transfer with th format must be as follows 0 00 01 0 1 Il I gt I Ho go Ho Ho Ho Io Ho Ino no no 7 data bits ASCII code bit 8 parity 8 data bits ASCII code bit 8 0 bit 9 parity no BCC check BCC check Transfer stop by hardware handshake Transfer stop by software handshake Even character parity Odd character parity Character parity desired 11 2 stop bits 2 stop bits 1 stop bit
57. ril 2010 Errors NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 NFS2 and warnings generated by the network file system version 2 lt Device name gt W READSIZE SMALLER THEN x SET TO x The selected read size Is too small it is set to the smallest permissible value lt Device name gt W READSIZE LARGER THEN x SET TO x The selected read size is too large it is set to the highest permissible value lt Device name gt W WRITESIZE SMALLER THEN x SET TO x The selected write size is too small it is set to the smallest permissible value lt Device name gt W WRITESIZE LARGER THEN x SET TO x The selected write size is too large it is set to the highest permissible value lt Device name gt E MOUNTPATH TOO LONG The specified mount path is too long the device cannot be mounted lt Device name gt E NOT ENOUGH MEMORY The memory available for the driver is insufficient to provide the management data for the device lt Device name gt E HOSTNAME TOO LONG The specified host name is too long the device cannot be mounted lt Device name gt E CANNOT OPEN PORT A port required for mounting cannot be opened lt Device name gt E ERROR FROM PORTMAPPER The data received from the port mapper are not plausible or no data were received lt Device name gt E ERROR FROM MOUNTSERVER The data received from the mount server are not plausible or no data were received lt De
58. rnet address of server File 4 00 NR ADDRESS RS J TIMEOUT HM DEV ICENAME 0 160 1 13 4 H H 1 WORLD CEND BEGIN END PAGE PAGE INSERT DELETE NEXT 1 LINE LINE LINE 1 5 0 TUR Network configuration Hard mount Yes 1 No 2 SS EN EET TIMEOUT HM DEVICENAME H WORLD BEGIN END KAGE PAGE INSERT DELETE NEXT 1 1 D LINE LINE LINE ei Switch to next column 1 This information can be provided by your network specialist HEIDENHAIN Service Manual for Data Interfaces DEVICENAME This name is displayed in the TNC program management for the mounted network Manual Network configuration operation gt device name 160 1 13 4 1 1 7 1 T INSERT DELETE NEXT LINE LINE LINE a Switch to next column PATH Directory path e g world home test input depends on the server software Manual Network configuration operation Directory File IP4 MQQ NR PATH UID GID 0 world 100 100 7 T EE INSERT DELETE NEXT LINE LINE LINE a Switch to next column April 2010 7 75 DOMAIN Name used by the TNC to log onto the server As of NC software 280 472 and 473 this information is not required eege NETZWERK EINSTELLUNG DOMAINNAME NR DOMRIN UID GID 0 100 100 CEND BEGIN END PAGE PAGE INSERT DELETE NEXT TABLE TABLE 1 ii LINE LINE LINE Switch to next column UID USER ID
59. rol Control settings 1 Atthe control the RS 232 C interface must be set to EXT The interface can be selected with the MOD key pressing ENT changes the setting 2 The baud rate must also be selected via MOD and a value entered Observe the settings of the DIP switches at the printer 3 Data format 8 data bits 1 stop bit even parity software handshaking The data format is set in 222 5020 169 4 The EXT control character for end of program is set in the machine parameter 71 MP 5010 0 3 5 Blockwise transfer must be deactivated in MP 223 MP 5030 0 6 Enter MP 226 MP 5110 0 to MP 233 MP 5120 3 Machine parameter calculation is explained on the following pages The printer manual is required to define the escape sequences The values determined must be entered in the machine parameter list HEIDENHAIN Service Manual for Data Interfaces Machine parameter calculation for graphic output In the graphics mode the display of the TNC 155 355 consists of 512 x 490 pixels For graphic data output the data is output line by line in 8 bit format via the serial interface A line consists of 8 pixels and 512 bytes Byte 0 Byte no 1 etc DUT HIT HHHH DST ET Line 0 TL TE GTA HUTT CT D RRR ER ETE 61 HHHHHHHHHHHHHHHHH RH represents one byte on the screen Byte no 0 Byte no 1 etc Bit 0 Bit 0 Bit 1 Bit 1 Graphics Bit 2 Bit 2 line
60. s 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 TNC PC Chassis GND 1 1 Chassis GND TXD 2 2 TXD RXD 3 3 RXD RTS 4 4 RTS CTS 5 5 CTS DTR 20 20 DTR DSR 6 6 DSR 8 Auftrennen 8 Cut Signal GND 7 7 Signal GND June 2011 Diagram no 6 RS 232 C V 24 with adapter block for software handshake TNC 14 pin peripheral 9 pin V 24 Adapter Block komplett mit Kabel ID 314001 01 V 24 adapter block complete with cable 3m max 17m Peripherieger t Adapter 7 CL TNC V 24 RS 232 C 9pol 9 25 pol 1 14 pol 14 pin Peripheral PC 9 9 25 pin Kundenverdrahtung Customer wiring CGND GND Chassis CGnD TXD 3 TXD RXD 2 RXD RTS 7 RTS CTS 8 CTS DSR 6 DSR SGND 5 GND Signal ground SGnD Data carrier detect DCD 1 DIR 4 Ring indicator RI 9 DTR Data terminal ready 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 WS oder Kundenverdrahtung gt or customer wiring
61. s HEIDENHAIN DR JOHANNES HEIDENHAIN GmbH Dr Johannes Heidenhain Stra e 5 83301 Traunreut Germany 49 8669 31 0 49 8669 5061 E mail info heidenhain de www heidenhain com The HEIDENHAIN Helpline in Traunreut consist of qualified multi lingual specialists who support you in solving your problems Especially if you need technical support the HEIDENHAIN Helpline team can provide qetailed advice and information on measuring systsems controls as well as NC and PLC programming Your HEIDENHAIN Helpline TNC support 49 8669 31 3101 E mail service nc support heidenhain de PLC programming TNC 49 8669 31 3102 E mail service plc heidenhain de TNC programming 49 8669 31 3103 E mail service nc pgm heidenhain de Measuring systems machine measurement 49 8669 31 3104 E mail service ms support heidenhain de Lathe controls amp 49 86 31 3105 E mail service hsf heidenhain de Service order processing Domestic team lt 49 8669 31 3121 Foreign team 49 8669 31 3123 E mail service order heidenhain de Service coordination Complaints and returned goods team 49 8669 31 3135 E mail service order heidenhain de Documentation E mail service docu heidenhain de Technical training 49 8669 31 2293 31 1695 49 8669 31 1999 E mail mtt heidenhain de Mai 2006 HEIDENHAIN Service Handbuch 530
62. ssignment 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 Not assigned Chassis External shield Chassis Control model RS 232 C V 24 connector X21 TNC 124 x TNC 310 x TNC 370 x June 2011 3 15 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 3 16 HEIDENHAIN Service Manual for Data Interfaces X25 Ethernet interface RJ45 connection 10BaseT Maximum cable length non shielded 100 m shielded 400 m RJ45 connection female 8 pin Assignment 1 TX 2 TX 3 REC 4 Not assigned 5 Not assigned 6 REC 7 Not assigned 8 Not assigned X26 Ethernet interface BNC connection 10Base2 coaxial cable Maximum cable le
63. stop by RTS Transmission stop by DC3 Character parity even odd Character parity on off Number of stop bits Transfer mode for EXT1 EXT2 PLC Data transfer rate for PLC coupling EXT3 Control character for Blockwise transfer ASCII character for start of program EXT 1 STX EXT2 EXT 3 PLC ASCII character for end of program for EXT1 ETX for EXT2 for PLC ASCII character for file type for data input for EXT1 for EXT2 for PLC 5020 0 5020 1 5020 2 5030 0 5030 1 5030 2 5040 5200 0 5200 1 5200 2 5201 0 5201 1 5201 2 5202 0 5202 1 5202 2 no interface inhibited RS 232 inhibited RS 422 inhibited 7 data bits bit 8 parity 8 data bits bit 8 0 and bit 9 parity 0 any BCC 2 BCC not control character 0 inactive 4 active 0 inactive 8 active 0 even 16 odd 64 bit6 1 128 bit 7 1 bit 6 bit 7 1 stop bits 2 stop bits 1 stop bit 1 stop bit Standard data transfer Blockwise transfer 5 2400 Bd 10 57600 Bd 6 4800 11 115200 7 9600 8 19200 150 2 300 3 600 4 1200 9 38400 Bd April 2010 Function ASCII character for input code for EXT1 E 5203 0 for EXT2 5203 1 for PLC 5203 2 ASCII character for file type for data output for EXT1 for EXT2 5204 0 for EXT3 PLC 5204 1 5204 2 ASCII character for
64. t 8 0 and bit 9 pari sees eae 2 not control character EE Ss active 2 32 on 64 bit6 1 128 bit7 1 bit 6 bit 7 1 stop bits 2 stop bits 1 stop bit 1 stop bit RTS signal always active RTS signal is set active when data transfer is activated and set inactive at the end of data transfer 0 EOT is transmitted 512 EOT is not transmitted 0 Standard data transfer 1 Blockwise transfer 0 110Bd 5 2400Bd 10 57600 Bd 1 150Bd 6 4800Bd 11 115200 Bd 2 300 Bd 7 9600 Bd 3 600Bd 8 19200 Bd 4 1200 Bd 9 38400 Bd April 2010 6 6 Machine Parameters for TNC 406 407 415 425 6 6 1 Overview Function 4o as s Inhibiting a data interface 500 500 500 sooo Data format and transmission stop for the operating mode EXT1 for the operating mode EXT2 for the operating mode EXT3 PLC Transfer mode for EXT1 EXT2 EXT3 PLC PLC coupling EXT3 Control characters for Blockwise transfer ASCII character for start of program EXT1 STX EXT2 EXT3 PLC ASCII character for end of program for EXT1 ETX for EXT2 for PLC ASCII character for file type for data input for EXT1 for EXT2 for PLC ASCII character for input code for EXT1 E for EXT2 for PLC ASCII character for file type for data output for EXT1 for EXT2 for PLC ASCII character
65. tion 1 6 HEIDENHAIN Service Manual for Data Interfaces 2 General Information on the Data Interfaces 2 1 RS 232 C V 24 Interface 2 1 1 Hardware 2 1 2 Signal levels RS 232 C 15 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 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 Transmitter Receiver I I I I L I I H Transmission distance I 1 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
66. tion of features you can use in TNCremoNT depends on your control Refer to the overview of features for more detailed information 2 8 HEIDENHAIN Service Manual for Data Interfaces 2 2 RS 422 V 11 Interface 2 2 1 Hardware 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 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 Transmitter Receiver June 2011 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 Uqmin 2 V and Ugmax 5 V are output the control detects the differential voltages between Udmin 0 2 V and Ugmax 6 V as logically
67. vice name gt E CANT GET ROOTDIRECTORY The mount server does not permit the mounting of the specified directory lt Device name gt E UID OR GID 0 NOT ALLOWED User ID 0 and group ID 0 are not permitted they may exclusively be used by the super user or the system administrator HEIDENHAIN Service Manual for Data Interfaces 9 Tables 9 1 7 Bit ASCII Code Character Decimal Octal Hexadecimal NUL 000 000 00 SOH 001 001 01 STX 002 002 02 ETX 003 003 03 EOT 004 004 04 005 005 05 006 006 06 BEL 007 007 07 BS 008 010 08 HT 009 011 09 LF 010 012 0A VT 011 013 0B FF 012 014 0 013 015 0D 50 014 016 0 51 015 017 DLE 016 020 10 DC1 X ON 017 021 11 DC2 018 022 12 DC3 019 023 13 DC4 020 024 14 AK 021 025 15 SYN 022 026 16 ETB 023 027 17 024 030 18 025 031 19 SUB 026 032 1A ESC 027 033 1B FS 028 034 1 GS 029 035 1D RS 030 036 1E US 031 037 1 April 2010 Character Decimal Octal Hexadecimal SP 032 040 20 033 041 21 034 042 22 035 043 23 036 044 24 037 045 25 amp 038 046 26 039 047 27 040 050 28 041 051 29 042 052 2 043 053 2B 044 054 2C 045 055 2D 046 056 2E 047 057 2F 0 048 060 30 1 049 061 31 2 050 062 32 3 051 063 33 4 052 064 34 5 053 065 35 6 054 066 36 055 067 37 8 056 070 38 9 057 071 39 058 072 059 073 3B lt 060 074 3C 061 075
68. xt program blocks requested from the external memory With BLOCKWISE TRANSFER the data flow is not stopped by RTS or DC3 but only by the control characters ACK acknowledge positive and NAK not acknowledge negative Each transferred block is checked by means of a BCC block check character i e the received data are checked for longitudinal parity If both values are the same positive acknowledgment is transmitted if they are not identical negative acknowledgment is transmitted This block is repeated up to three times If the result is negative in each case data transfer is aborted and an error message generated Parameter No Bit Function i Entry values for 71 or m ETX or any ASCII character ETX and STX 5010 0 character for End of Program 515 si STX or any ASCII character character for Start Program 218 or es or any ASCII character H and E 5010 1 transmitted in the a command block for data input 17736 before the program number ie E or any ASCII character transmitted in the a command block for data input after the program number 219 or D H or any ASCII character H and A 5010 2 transmitted in the a command block for data 16712 output before the program number Y A or any ASCII character transmitted in the a command block for data output after the program number 220 or or substitute character decimal code 1 47 ETB SOH 5010 3 transferred at the end of the command block 279 dr SOH o
Download Pdf Manuals
Related Search
Related Contents
Final version. User Manual - Projector Central Decisión 2005/343/CE, de 11 de abril, por la que se establecen los CC Viewer User Manual R&S CMS Radiocommunication Service Monitor pilot information manual 取扱説明書(PDF:3104KB) Copyright © All rights reserved.
Failed to retrieve file