Home

Data Interfaces of HEIDENHAIN Devices

image

Contents

1. Transmission stop by RTS 0 inactive 4 active Transmission stop by DC3 0 inactive 8 active Character parity even odd 0 even 16 odd Character parity on off 0 off 32 on Number of stop bits 64 gt bit6 1 128 gt bit 7 1 bit 6 bit 7 1 1 stop bits O 2 stop bits 1 1 stop bit 1 1 stop bit Transfer mode for EXT1 5030 0 EXT2 5030 1 Standard data transfer EXT3 PLC 5030 2 Blockwise transfer Data transfer rate for nn PLC coupling EXT3 5 2400 Bd 10 57600 Bd 6 4800 Bd 11 115200 Bd 7 9600 Bd 8 19200 Bd Control character for Blockwise transfer ASCII character for start of program 5200 0 EXT 1 STX 5200 1 EXT 2 5200 2 EXT 3 PLC ASCII character for end of program for EXT1 ETX 5201 0 for EXT2 5201 1 for PLC 5201 2 ASCII character for file type for data input for EXT1 5202 0 for EXT2 5202 1 for PLC 5202 2 MPs for TNC 406 407 415 425 5 25 ASCII character for input code for EXT1 for EXT2 for PLC ASCII character for file type for data output for EXT1 for EXT2 for EXT3 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 EXT3 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 acknowledg
2. 16 32 64 bit6 1 128 gt bit7 1 bit 6 bit 7 1 stop bits 2 stop bits 1 stop bit 1 stop bit 0 Standard data transfer 1 Blockwise transfer Data Interfaces aE Data transfer rate for O PLC coupling EXT3 5 2400 Bd 6 4800 Bd 7 9600 Bd 8 19200 Bd 4 1200 Bd 9 38400 Bd Control characters for Blockwise transfer ASCII character for start of program EXT 1 STX 5200 0 EXT 2 5200 1 EXT3 PLC 5200 2 ASCII character for end of program for EXT1 ETX 5201 0 for EXT2 5201 1 for EXT3 PLC 5201 2 ASCII character for file type for data input for EXT1 5202 0 for EXT2 5202 1 for EXT3 PLC 5202 2 ASCII character for input code for EXT1 E 5203 0 for EXT2 5203 1 for EXT3 PLC 5203 2 ASCII character for file type for data output for EXT1 5204 0 for EXT2 5204 1 for EXT3 PLC 5204 2 ASCII character for 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 5207 0 for EXT2 5207 1 for EXT3 PLC 5207 2 ASCII character for positive acknowledge 5208 0 for EXT1 ACK 5208 1 for EXT2 5208 2 for EXT3 PLC ASCII character for negative acknowledge 5209 0 EXT1 NAK 5209 1 EXT2 5209 2 EXT3 PLC ASCII character for end of transmission EXT1 5210 0
3. 279 SOH and ETB are prescribed for the FDE TNC program Otherwise a substitute character can be selected which must match the data transfer software MPs for TNC 125 131 135 145 150 151 155 351 355 5 5 i 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 MP 224 5010 5 EOT 4 gt ll I gt MP 224 5010 5 4 Prescribed for 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 E H MP 219 5010 2 16712 A H MP 220 5010 3 279 SOH ETB MP 221 5010 4 5382 NAK ACK MP 222 5020 168 7 data bits 1 stop bit even parity xon xoff MP 223 5030 1 blockwise transfer active MP 224 5010 5 4 EOT 5 6 Service Manual Data Interfaces i Printer adaptation General information for graphic output at Important Your printer manual is absolutely required Proceeding Via the DIP switches the printer must be configured such that it matches the configuration of the control Control settings 1 2 At the control the RS 232 C interface must be set to EXT the interface can be selected by pressing MOD pressing ENT changes the setting The baud rate must also be selected via MOD a
4. 5 O de 3 3 O p O D O Co D N 9 2 Q gt 2 D Z O gt i a Q 3 gt 2 D D gt m 3 O O gt Q p D D x D gt w Q o Q 3 D 2 Cc 3 Wrong program data have been detected during data transfer The control attempted three times to read the data from the magnetic tape before interrupting 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 PROGRAM INCOMPLETE Data transfer was interrupted before the program was transferred completely EXT INPUT OUTPUT NOT READY The DSR signal is missing at the TNC ME not connected I I O a amp D gt ag lt O Oo gt V a D oO 3 2 D oo J 7 TO a oO D ME TAPE END The cassette is full To continue data transfer turn over or exchange the cassette Error messages related to the RS 232C and RS 422 interface 7 1 il 7 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 following table the error types are listed O LED off LED blinks Indicator lamps Error message O00 OOOO Faulty
5. HEIDENHAIN Data Interfaces of HEIDENHAIN Devices Service Manual i May 2000 Foreword Changes further development We are constantly working on technical improvements of our products For this reason details described in this manual may slightly differ from your model In this case please order a revised serivce manual from us Duplication This service manual is provided subject to the condition that no part of it shall be duplicated in any form without our prior consent DR JOHANNES HEIDENHAIN GmbH Kundendienst Schulung und Dokumentation Postfach 12 60 83292 Traunreut Contents Service Manual Data Interfaces of HEIDENHAIN Devices 3eneral information on the data interfaces Connectors and pin layouts Wiring diagrams of the data interfaces Operating modes of the data interfaces Maschine parameters of the data interfaces Ethernet card in TNC controls option L Eror messages and their causes Table of Contents 1 General information on the data interfaces ccccsscseeeeesseeseeeeeeeeeseeeeeeeeenseeeesenenseeeeseoeneeeesees 1 1 1 1 V 24 RS 232 C interface ccccccscccccccesseeeeccseeeeeeeccensueceeeceeaueeeesaeeeeceeseeaaeeesesaasseeeesssagaeees 1 1 Wie Wal u 2106 ANC RENNER NNEEEENL A PR PLERNEDENTEIEEEENERDERELT E EE 1 1 1 1 2 Signal levels see a ee ee 1 2 1 1 3 HEIDENHAIN data transfer software uuunuesnsnnnsnnnennnnnnnnnnnnnnnnnnn nennen nnnnnnn nennen nennen 1 3 12 VI
6. Byte 6 Byte 7 72 256 0 18432 Entry values MP 226 5110 0 1548 MP 227 5110 1 3338 MP 228 5110 2 6963 MP 229 5110 3 18432 5 10 Service Manual Data Interfaces i Machine parameter block 2 MP 230 5120 0 to MP 233 5120 3 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 gt 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 i 42 Byte 4 42 256 MP 233 5120 3 0 DEC 0 Byte 6 O 256 Entry values MP 230 5120 0 1805 MP 231 5120 1 2587 MP 232 5120 2 10757 MP 233 5120 3 2 MPs for TNC 125 131 135 145 150 151 155 351 355 ASCII code Result 13 DEC Carriage Return 10 DEC Line Feed 27 DEC Escape 42 DEC Asterisk 5 DEC Decimal 5 0 DEC Decimal 0 2 DEC Decimal 2 5 0 2 LSB 0 CR 13 Byte 1 13 1805 ESC 27 Byte 3 27 2587 5 DEC 5 Byte 5 5 10757 2 DEC 2 Byte 7 2 2 i 5 2 MPs for TNC 122 124 5 2 1 Overview eee Data transferrate de dewo 5 2 2 Description of the machine parameters Machine parameters The following list contains the machine parameters for all software versions Since however several machine parameters are not valid for certain controls
7. OOnN om h WH A OMOna opadn On Oo OM Diagrams V 24 RS 232 C 3 13 Diagram no 13 V 24 RS 232 C direct connection TNC 14 pin peripheral unit 25 pin 14polig direkt an der Steuerung 14 pin 25polig directly on the control TNC Peripheriegerat Peripheral unit 3 14 Service Manual Data Interfaces Diagram no 14 V 24 RS 232 C with adapter block for hardware handshake TNC 9 pin peripheral unit 25 pin V 24 Adapter Block V 24 adapter block Id Nr 239 758 01 3m Peripheriegerat 25pol __ ud eripheral unit 25 pin Id Nr 274 545 01 Id Nr 286 998 TNC V 24 RS 232 C 9pol 242 869 01 ji Y TXD Transmit data RXD Receive data RTS Request to send CTS Clear to send DSR Data set ready GND Signal ground DTR Data terminal ready 1 1 1 2 27 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 OOO nhsALoOWN oma PS OWN a If the pin layout of your peripheral unit differs from the above the HEIDENHAIN connecting cable cannot be used Diagrams V 24 RS 232 C 3 15 Diagram no 15 V 24 RS 232 C with adapter block for hardware handshake TNC 9 pin peripheral unit 9 pin V 24 Adapter Black RS 232 C Adapter block eripherieger t PC 9pol el 3m eripheral unit PC 9 pin a Id Nr 274 545 01 242 869 01 Id Nr 286 998 TNC V 24 RS 232 C 9pol Y TXD RXD RTS CTS DSR TXD Transmit data RXD Receive data RTS Request to send CTS Clear to send DSR Data set re
8. TNC 426 TNC 430 creation of palette tables editing and testing Dialog language selectable German English Italian Spanish Not all controls are featured with every function Which function is available on which control please see section Operating modes V 24 RS 232 C interface 1 3 i 1 2 V 11 RS 422 interface The interface V 11 RS 422 has been developed since V 24 RS 232 C only offers limited functions This model is standardized too but it operates symmetrically The V 11 RS 422 interface is suitable for data transfer rates up to 10 Mbits sec At a rate of 38400 baud the maximum cable length is 1 km 1 2 1 Hardware The standard V 11 RS 422 operates with differential voltages This technology offers the advantage that interferences act uniformly and in the same way on both signal lines of the transmission path Since only the differential voltages of both signal lines are evaluated in the receiver these interfer ences can be neglected This technology allows for much longer lines and due to the consequences of interferences being of less influence for a considerably higher data transfer rate Principle of the physical connection Sender Empf nger Transmitter Receiver Ubertragungsstrecke Transmission path en Dee g 1 2 2 Signal levels With the V 11 RS 422 interface the signals are transferred in both directions in the form of a differential voltage A positive differential voltage corresponds to
9. in this case the format is always set to 7 data bits 1 stop bit even parity and software handshake 5 2 Service Manual Data Interfaces i 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 BitO 7 character for program end MSB _ Bit 8 15 character for program start For this example the standard values ETX and STX are used i e MP 71 515 program start program end 15 MSB 8 7 LSB O STX 2 ETX 3 2 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 EXT Both characters for program start and program end are only transmitted with blockwise transfer in our example it would be MP 71 515 for STX and ETX To select the characters for program start and program end via MP 71 the RS 232 C must be set to ETX mode In the FE and ME modes the control characters STX and ETX 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 machine 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 70 must be programmed ON if output with decimal comma is required this parameter must be programme
10. 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 2A 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 7 055 067 37 8 056 070 38 9 057 071 39 058 072 3A 059 073 3B lt 060 074 3C 061 075 3D gt 062 076 3E 063 077 3F 064 100 40 A 065 101 41 B 066 102 42 C 067 103 43 8 2 Service Manual Data Interfaces i Character Decimal _ Octl 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 AA K 075 113 4B L 076 114 4C M 077 115 4D N 078 116 4E O 079 117 4F P 080 120 50 Q 081 121 51 R 082 122 52 S 083 123 53 T 084 124 54 U 085 125 55 V 086 126 56 Ww 087 127 57 X 088 130 58 Y 089 131 59 Z 090 132 5A 091 133 5B 092 134 5C 093 135 5D 094 136 5E u 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 7 bit ASCII code 8 3 il Character h an x Mle ae ele ao Solo Ss 3 DEL 8 4 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 Octal Hexadecimal 150 68 151 69 152 6A 153 6B 154 6C 155 6D 156 6E 157 6F 160 70 161 71 162 72 163 73 164 74 165 75 166 76 167 77 170 78 171 79 172 7A 173 7B 174 7C 175 7D 176 7E
11. 16 5 5 MPS for ING 310 4 T0 en ee ie nennen here 5 18 Hom EONIA EAN ELSE RNNIENENR EINEN EINEIRLREESCHEN ZEILE TEE IIERUEHENE REIENIRKONERHREIRIEIEHRLERRDR EEREEBRREURARS 5 18 5 5 2 Description of the machine parameters ccccseeeeeceeeeeeeceeeceeeseueeeeseeeeeeeseueeeesuaneessaaees 5 19 5 6 MPs for TNC 406 407 415 425 neeennneennnennnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnennnnnnnnnennnnnennennnnn 5 20 3 0 T OVENIOW ee ee een 5 20 5 6 2 Description of the machine parameters of TNC 406 407 415 222uuusnnnnnnennennenennnnnenenn 5 21 5 6 3 Description of the machine parameters of TNC 415B 428 2uuuussnnenennneennnnnnnnnee en 5 24 5 MPs for ING A264 30 2a en ee ae 5 27 BER IVETVIOW en a Da ee erben ee ee 5 27 5 7 2 Description of the machine parameters 4uu40444440Rnnnnnnn nennen nnnnnnn nennen nennen nennen nenn 5 28 Contents Service Manual Data Interfaces 1 i 6 Ethernet card in TNC controls Option ee 6 1 6 1 Installing the Ethernet Card cccccccccseeesseeeeeeeeeeeaeeeeeceeeeeeeeeeeaaesceeeeeeeeeeaaeaaaeeeeeeeeeesseasnsneeeees 6 1 6 2 Connecting the Ethernet hardware ussssnssssnsnnneennnnnnnnnnnnnnnnnnnnnnnnennnnnnennnnnnnnnnnnennnnnnnnenn 6 3 6 3 Ethernet configuration in the TNC usssssnnnensnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnn 6 4 6 3 1 Settings ih DEFINE NET sen ea are 6 4 6 3 2 Settings in DEFINE MOUNT 22uuunsss
12. 3 Connecting the TNC to data networks The HEIDENHAIN control models TNC 426 TNC 430 can be equipped with an Ethernet data inter face option Via this data interface the TNC 426 TNC 430 can be connected in data networks as client The TNC transfers data in TCP IP protocol transmission control protocol Internet protocol and with the aid of the NFS version 2 network file system TCP IP and NFS have above all been imple mented in UNIX systems Therefore in most cases TNCs can be operated in a UNIX network environment without additional software PC network environments with Microsoft operating systems also use TCP IP but not NFS For this reason additional software is usually required for operation in PC networks HEIDENHAIN recom mends the following network software Operating systems Network software WIN 95 CIMCO NFS WIN 98 Available at HEIDENHAIN Id No 339737 xx WIN NT Note In principle also other NFS servers can be used However due to the great variety of software manufacturers HEIDENHAIN is not in a position to provide technical support when adapting other NFS servers 1 The control models that can be operated with the Ethernet card are listed in section 2 The network settings of the TNC are described in the TECHNICAL MANUAL and in section 6 Ethernet of this service manual Sevan Damer g 2 Connectors and pin layouts 2 1 Connectors and pin layouts of TNC 125 131 135 145 150 151 155 V 2
13. 4 Diagrams V 24 R5 232 0 un ee aa 3 3 35 Diagram VI VRS 222 nen nennen 3 18 4 Operating modes of the data interfaces neuuu00000nnan0nnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 4 1 4 1 Operating modes on TNC 125 131 135 145 150 151 155 2uuusss222nnnnnennnenennnnennenennnnnn 4 1 4 2 Operating modes on TNC 122 to TNC 430 and ND 2XX PT 8XX nnnenssnnnnennennennnnnnnnnnnn nn 4 2 5 Machine parameters for the data interfaces uu uuuuu0nnnnan0onnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnnennnn 5 1 5 1 MPs for TNC 125 131 135 145 150 151 155 351 355 uussssssnnssssnnnnnnennnnnnnnnnnnnnnnn nn 5 1 SAT OVS We en ea kan een see nee are een malen 5 1 5 1 2 Description of the machine parameters uu0404444s nennen nnennn nn nnnnnn nennen nnnnnnn nennen 5 2 5 2 MFS for ING 122 124 es ee ee ee ee eee eee 5 12 DA OVEN OW ee ee een 5 12 5 2 2 Description of the machine parameters us 2 4uus04444nnnnnnnnn nennen nnnnnnn nennen nennen nennen 5 12 53 MPS f r ING 2820246 nee 5 13 5 3 1 VER acest ected nee ee 5 13 5 3 2 Description of the machine parameters 2 44us044444nnnnnnnn nennen nennen nennen nennen nennen 5 14 5 4 MPs for TNC 306 335 360 2500 CNC 234 TNC 370 ccccccccccsseeeeeeeeseeeeeesseneeeeeeeeeaeeeeeeees 5 15 SA 1 2102 ee ee ee 5 15 5 4 2 Description of the machine parameters 4uus4444440Rnnnnnnnnnnnnnn nennen nennen nennen nennen nenn 5
14. EXT2 5210 1 EXT3 PLC 5210 2 accessible via code number 123 MPs for TNC 406 407 415 425 5 23 5 6 3 Description of the machine parameters of TNC 415B 425 Machine parameters The following list contains the machine parameters for all software versions Since however several machine parameters are not valid for certain controls or have been intro duced or eliminated with a certain software version there are columns with symbols for differentiation belonging to the parameter number Explanation of the symbols The parameter applies for all software versions of this control 04 The parameter has been introduced with a certain software version e g with version 04 104 The 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 and 259 94 B TNC 415 B F BR FR and TNC 425 E with NC software 280 54 and 280 56 special software C for future use 5 24 Service Manual Data Interfaces i Inhibiting a data interface 0 no interface inhibited RS 232 inhibited RS 422 inhibited Data format and transmission stop for the operating mode EXT1 5020 0 for the operating mode EXT2 5020 1 for the operating mode EXT3 PLC 5020 2 7 or 8 data bits 7 data bits bit 8 parity 8 data bits bit 8 0 and bit 9 parity Block check character 0 any BCC 2 BCC not control character
15. VR 422 Wen ee ee er Bee 1 4 121 FIAT WARE es E chute onsachannacdadasaeccenscaedesiededstcosnmmesenetacseie 1 4 Lez INN gt cc sce anuactonsbeasoatexasnenentensaaee eedeansiaasutdauebanteeenauecise uaden lt hameaneteatedeatacammanceteuceunccateane 1 5 1 2 3 HEIDENHAIN data transfer software uuuuunesnensnssnnnnnnnnnnnnnnnnnnnnnn nennen nennen nennen nennen 1 5 Te EN 1 1 gt a a N ENEN HIENIPEREEEDENERLEHEHEREURERREREENASNSEREDEINEEEENERLRELBEREEEREUELERDR 1 6 1 31 WMO AT ee E 1 6 1 9 gnal Street ra Bee een 1 7 1 3 3 Connecting the TNC to data networks uuuuussssnnnessnnnnnnnnennnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnn 1 8 2 Connectors and pin layouts az naeh tan anne ann aan enden nnmnnn nnmnnn nnna 2 1 2 1 Connectors and pin layouts of TNC 125 131 135 145 150 151 158 ennneeo 2 1 2 2 Connectors and pin layouts of TNC 122 2uuusssnnennnnenennennnnnnnnnennnnnnnnnnnennnnnnnnnnnnnnennennennnnnnn 2 2 2 3 Connectors and pin layouts of ND 2xx and PT 8XxX uuueessnnsnnnnnennnennnnnnnnnnnennnnnnnnnennnnennnnnnnnnnnn 2 6 3 Wiring diagrams of the data interfaces uuuu000n 00000nnnnnuonnnnnnunnnnnnunnnnnnnnnnnnnnnnnnnnnnunnnnnnennnnn 3 1 3 1 Overview NV ZA Re ee ee een 3 1 3 2 DVEVIEWV 1V PS 422 uussesssensssednasnentni eines eeistetenie een erneuern 3 2 3 3 Overview Ethernet ccccccssseeecccceesseeceeceeuseeeeccsauseeeeeeseauseeeeeeeeaseeeeessaaaeeeeeeseaeeeeeeseageeseeessags 3 2 3
16. data interface Blockwise transfer Data transfer rate for 5040 110 Bd PLC coupling 150 19200 38400 Graphic printout without function Graphic printout without function Block check number sequence 5990 0 NC PGM with block numbers with data transfer from interface j NC PGM without block numbers accessible via code number 123 1 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 MPs for TNC 306 335 360 2500 CNC 234 TNC 370 5 17 5 5 MPs for TNC 310 410 5 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 5 18 Service Manual Data Interfaces i 5 5 2 Description of the machine parameters 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 0 7 data bits bit 8 parity 1 8 data bits bit 8 0 and bit 9 parity Block check character 1 0 any BCC 2 BCC not control character Transmission stop by RTS inactive t active Transmission stop by DC3 inactive ee active Character parity even odd 05 even odd Character parity on off 0 off 32 on Number of stop bits 64 gt bit6 1 12
17. network was activated or the device mounted but non permissible entry values were corrected Errors recognized 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 name was entered for the protocol Errors recognized by the network layer IP4 E INTERFACE NOT PRESENT No Ethernet interface card was detected IP4 E INTERNET ADDRESS NOT VALID The internet address of the control is not valid e g D class or E class address loop back address or broadcast address IP4 E SUBNET MASK NOT VALID The subnet mask does not match the internet address or only 1 bit specified for the subnet ID or the host ID IP4 E SUBNET MASK OR HOST ID NOT VALID Input of the internet address or the subnet mask faulty or all bits of the host ID are O or 1 IP4 E SUBNET MASK OR SUBNET ID NOT VALID All bits of the subnet ID are O or 1 IP4 E DEFAULT ROUTER ADDRESS NOT VALID The internet address specified for the default router is not valid e g D class or E class address loop back address or broadcast address 7 6 Service Manual Data Interfaces i IP4 E CAN NOT USE DEFAULT ROUTER The net ID and subnet ID of the default router is not identical to that of the control IP4 E AM NOT A ROUTER The internet address of the default router is identic
18. not used IK zu BSsouwumw j nicht benutzt not used 0 Customer wiring or prefabricated part Diagrams V 24 RS 232 C 3 7 CAUTION 3 8 TNC GND TXD RXD RTS SIGNAL GND TNC 145 to TNC 155 PC CHASSIS GND TXD RXD 20 Bridge Bridge Br cke Br cke 6 f F Auftrennen 8 Open 7 SIGNAL GND 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 handshaking Cut the line on both sides between DSR and DTR and short circuit DSR with DTR PC pin6 with pin20 Without this modification data transfer using hardware handshaking is not only stopped but aborted immediately like power off Do not use this configuration for TNC 355 with new hardware Service Manual Data Interfaces i Diagram no 6 V 24 RS 232 C with adapter block for software handshake TNC 14 pin peripheral unit 9 pin V 24 Adapter Block komplett mit Kabel V 24 adapter block complete with cable Id Nr 214001 01 a 3m max 17 Peripherieger t PC 9pol Adapter 1 a TNC V 24 RS 232 C 14pol Peripheral unit PC 9 pin 9 25pol Kundenverdrahtung Customer wiring TD RXD RTS CTS DSR GND Signal ground SGnD GOON OAL WN COON ONMNAWH SGND Data Currier Detect DCD DTR Ring Indicator RI OA NDONYA OOO NOAA WN DTR Data terminal rea
19. or have been intro duced or eliminated with a certain software version there are columns with symbols for differentiation belonging to the parameter number Explanation of the symbols The parameter applies for all software versions of this controls 04 The parameter has been introduced with a certain software version e g with version 04 104 The parameter was eliminated from a certain software version on e g 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 de TNC Bit 124 l giii 5 12 Service Manual Data Interfaces i 5 3 MPs for TNC 232 246 5 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 for data input 5010 1 5010 1 ASCII character for data output 5010 2 5010 2 a ASCII character for beginning and end of 5010 3 5010 3 command block ASCII character for pos and neg acknowledge 5010 4 5010 4 KH ASCII character for data transfer finished 5010 5 5010 5 pf Data format and transfer stop for the data 5020 5020 interface Transfer mode for EXT 5030 5030 MPs for TNC 232 246 5 13 il MP TNC CNC No Bit 246B 232B the character for program end also neg acknowledge
20. part Diagrams V 24 RS 232 C 3 5 Diagram no 4 V 24 RS 232 C with adapter block for software handshake TNC 25 pin peripheral unit 9 pin Peripheriegerat PC 9pol Peripheral unit PC 9 pin CGND TXD RXD RTS CTS DSR SGND Data Currier Detect DCD DTR Ring Indicator RI Opn NDUNDU OON OMA WN V 24 Adapter Block V 24 adapter block 3m 9 25pol Kundenverdrahtung Customer wiring SOON DGS WN COON OMNA WH oder Kundenverdrahtung or customer wiring nicht benutzt not used zuaBsoum ji nicht benutzt not used 0 Customer wiring or prefabricated part 3 6 max 17 pona TNC V 24 RS 232 C 25pol Id Nr 23975801 Id Nr 239 760 ODnAOAAWND GND Chassis CGnD RXD TXD CTS RTS DTR GND Signal ground SGnD DSR Data set ready Service Manual Data Interfaces Diagram no 5 V 24 RS 232 C with adapter block for hardware handshake TNC 14 pin peripheral unit 9 pin V 24 Adapter Block komplett mit Kabel V 24 adapter block complete with cable Id Nr 214001 01 Peripherieger t PC 9pol Adapter ng E ee 77 Et TNC V 24 RS 232 C 14pol Peripheral unit PC 9 pin 9 25pol Id Nr 274 545 01 242 869 01 TXD RXD RTS CTs DSR GND Signal ground SGnD SGND Data Currier Detect DCD DTR Ring Indicator RI OA NDUNDU COON DAA WN COON OMA WH OTR Data terminal ready oder Kundenverdrahtung or customer wiring nicht benutzt
21. properly connected 58 Exit menu Checking the connection to the server 6 15 i 6 5 Finding the hardware address of the Ethernet card TNC in operating mode PROGRAMMIING EDITING amp Prepare TNC for input of code number N E T M O N Enter code number aai and confirm input INTERFACE Press soft key INTERFACE Press soft key 1 The hardware address of the Ethernet card is now displayed on the screen INTERFACE IS ETHERNET XX XX XX XX XX XX operation INTERFACE INTERFACE NAME ETH_1 INTERFACE IS ETHERNET AG CO 06 61 24 INTERFACE IS ACTIVE ARP IS IN USE INTERNET ADDRESS 168 1 180 1 BEG 6 16 Service Manual Data Interfaces i 6 6 Working with the Ethernet interface 6 6 1 Establishing the network connection mounting TNC in operating mode PROGRAMMIING EDITING Call program management gt Switch soft key row NET Press soft key NET Manua Programming and editing operation Im RS232 Gl psa4zeis E TNE ak TMC gt O DEMO O EXAMPLES O SEMINAR O TESTI MOUNT UNMOUNT AUTO No AUTO END DEVICE DEVICE MOUNT MOUNT Working with the Ethernet interface 6 17 i The network line must now be connected to the Ethernet card MOUNT DEVICE Establish connection The letter M below Mnt shows that the device has been mounted Manual Programming and editing operation O EXAMPLES O SEMINAR O TESTI MOUNT UNMOUNT DEVICE DEVICE 6 18 Service Manual Data Interface
22. substitute character decimal code 1 47 negative acknowledge transferred if the data block was not correctly received 224 or 0 7 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 plain language D DIN ISO programs M Machine parameter list P PLC program S Multipoint error compensation list X99999967 For all programs stored in the ME mode 5 4 Service Manual Data Interfaces i Calculation of machine parameters Examples for MP 218 5010 1 MP 221 5010 4 and MP 224 5010 5 15 MSB 8 7 LSB 0 MP 218 5010 1 E 69 H 72 69 x 256 72 17736 MP 218 5010 1 17736 LSB must match the data transfer program Change identifier in FDE program X 88 User parameters general ME mode H 72 Programs in HEIDENHAIN plain language D 68 DIN ISO programs P 80 PLC programs M 77 Machine parameters S 83 Multipoint error compensation list MSB must match the data transfer program E is prescribed in the FDE TNC program 15 MSB 8 7 LSB 0 MP 219 5010 2 A 65 H 72 65 x 256 72 16712 MP 219 5010 2 16712 LSB can be selected as in the above example but must be the same for both machine parameter and identifier A is prescribed in the FDE TNC program for MSB 15 MSB 8 7 LSB 0 MP 220 5010 3 SOH 1 ETB 23 1x 256 23 279 MP 220 5010 3
23. 0 472 or 473 this information is not required UID USER ID identifies the user GID GROUP ID figure to identify the group DCM Directory create mode to define access rights to the directory for OWNER GROUP and other USERS PROT This information can only be entered in the NC software versions 280 472 and 473 The data transfer protocol is specified here e g UDP OWNER GROUP USER Example 111101000 111 101 000 Read Write Search FCM FileCreateMode definition of the access rights to files for OWNER GROUP and other USERs a Example 111101000 111 101 000 Read Write Execute AM Definition whether AUTOMOUNT is possible This information will be provided by your network administrator 2 Ifthe entry value is zero standard the optimum transfer size determined by the NFS server is used Other entry values should only be used in the case of problems regarding the data transfer rate Entry range 512 4096 bytes On the following pages please find an example of the settings listed above Ethernet configuration in the TNC 6 9 i ADDRESS Address Internet of the server Network configuration Internet address of server HM 1 YES 0 NO Manual Network configuration operation Hard mount Yes 1 Z7 No J H WORLD T T pi nee INSERT DELETE NEXT LINE LINE LINE gt Switch to next column 1 This information will be provided by your network administrator 6 10 Service Manual Data Interfaces i D
24. 0BASE2 connection is also known as Thin Ethernet or CheapterNet Connect the TNC to your network via the BNC T connector The maximum cable length is 185 m coaxial cable The network topology is a linear bus The unconnected ends of the bus must be equipped with terminating resistors X25 Ethernet interface RJ45 connection 10BaseT The twisted pair cable of the 1OBASET 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 The center of the star is a hub enabling a connection to the other clients Seve ani Damer g 1 3 2 Signal structure Ethernet frames are transferred in Manchester code which is a so called self clocking code The synchronization or the transfer of a transmit clock pulse is executed such that each bit is transmitted invertedly in the first half of the transfer period i e the bit rate is half the baud rate A data rate of 10 Mbits sec results in a bit duration of 100 ns Carrier detect activity on the cable is indicated by the presence of signal edges If the signal level does not change in a bit duration interval between 0 75 and 1 75 after the last transition no carrier is detected see figure below High Low Bit duration Carrier sense defintion Manchester coding The network settings of the TNC are described in the TECHNICAL MANUAL and in section 6 Ethernet of this service manual Ethernet 1 7 i 1 3
25. 177 7F Service Manual Data Interfaces i 8 2 Powers of 2 n an 0 1 1 2 2 4 3 8 4 16 5 32 6 64 7 128 8 256 9 512 10 1 024 11 2 048 12 4 096 13 8 192 14 16 384 15 32 768 16 65 536 17 131 072 18 262 144 19 524 288 20 1 048 576 Powers of 2 a
26. 219 MP 219 Command block MP 220 MP 220 Start End rn ee fe TMP 221 MP 221 oc re 7 Printer adaptation Output of control charac MP 226 MP 226 ters at the beginning of MP 227 MP 227 each graphics MP 228 MP 228 MP 229 MP 229 Output of control charac MP 230 MP 230 ters at the beginning of each graphic line MP 232 MP 232 MP 233 MP 233 Character parity MP 222 MP 222 Bit 4 7 Bit 4 7 Transfer stop MP 222 MP 222 Bit 2 3 Bit 2 3 MPs for TNC 125 131 135 145 150 151 155 351 355 5 1 il 5 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 machine parameter MP 222 MP 222 5020 Bito 0 7databits ASCII code bit 8 parity 1 8databits ASCII code bit 8 0 bit 9 parity Bit 1 0 no BCC check 1 BCC check Bit 2 1 transfer stop by hardware handshaking Bit 3 1 transfer stop by software handshaking Bit 4 0 even character parity 1 odd character parity Bit 5 1 character parity desired Bit 7 6 00 11 2 stop bits 01 2 stop bits 10 1 stop bit 1 1 stop bit Example For blockwise transfer with the HEIDENHAIN data transfer software in the EXT mode the data format must be as follows 7 data bits 1 stop bit even parity software handshake 7 6 5 A 3 2 1 0 Bit 1 0 1 0 1 0 0 0 binary J 128 32 8 168 decimal In the FE ME mode the data format in MP 222 is not active
27. 232 C with adapter block for software handshake TNC 14 pin peripheral unit 25 pin V 24 Adapter Block komplett mit Kabel V 24 adapter block complete with cable Id Nr 214001 01 o 3m max 17 Peripheriegerat 25pol IT TNC V 24 RS 232 C 14pol eripheral unit 25 pin Kundenverdrahtung Customer wiring TXD RXD RTS CTS DSR GND Signal ground SGnD 7 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 OTR Data terminal ready Diagrams V 24 RS 232 C gag Diagram no 9 V 24 RS 232 C direct connection TNC 14 pin peripheral unit 9 pin 14polig direkt an der Steuerung l 14 pin Qpolig directly on the control COM 1 TNC PC Diagram no 10 V 24 RS 232 C direct connection TNC 25 pin peripheral unit 9 pin 25polig direkt an der Steuerung l 25 pin Qpolig directly on the control COM 1 TNC PC 3 12 Service Manual Data Interfaces Diagram no 11 V 24 RS 232 C direct connection for hardware handshake TNC 25 pin peripheral unit 25 pin 1 1 Peripheriegerat 25pol TNC V 24 RS 232 C 25pol Peripheral unit 25 pin GND Chassis RXD TXD CTS RTS DTR GND Signal ground 1 l 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 DSR Data set ready Diagram no 12 V 24 RS 232 C direct connection for software handshake TNC 25 pin peripheral unit 25 pin 1 1 eripherieger t 25pol TNC V 24 RS 232 C 25pol eripheral unit 25 pin GND Chassis RXD TXD GiS RTS DTR GND Signal ground
28. 4 RS 232 C data interface 14 pin Amphenol Flange socket with female insert PIN No Assignment Designation Chassis ground Clear to Send Externalshield Connectors and pin layouts of TNC 125 131 135 145 150 151 155 2 1 i 2 2 Connectors and pin layouts as of TNC 122 V 24 RS 232 C data interface 25 pin D SUB Flange socket with female insert Pin No Assignment Designation SS aooo Sena o T Chasis croa O Clear to Send 8 to 19 pmotassigned o 20 211025 potassigned PO Chassis extemal shield chassis en pes Ins pe me p P OR mo k TNC 2500 8 6 gt o o HE TNC 306 o o oo TNC 335 o oo TNC 351 355 HE HE ES TNC 360 gt o p ooo TNC 406 pm TNC 407 EEE ee HE TNC 410 EEE ee HE TNC 415 8 ee ee HE TNC 426 EEE ee HE TNC 426 pm TNC 430 EEE ee HE CNC 2328 tm CNC 234 00 gt o p oo CNC 332 EEE HE ES 2 2 Service Manual Data Interfaces il V 24 RS 232 C data interface 9 pin D SUB Flange socket with female insert PINNo Assignment Designation Shi FT Chassis Ground ata Terminal Ready fs as Requesttosed 2 motassigned o External shield chassis Cd Control modei xw moa KR em mn Km mern p D 1 Connectors and pin layouts as of TNC 122 2 3 i V 11 RS 422 data interface 15 pin D SUB Flange socket with female insert PINNo Assignment Designation 3 lets i Clearto Send a nn Transmit Data 5 RTS Requestto Send 6 DR si Datta Set Ready 8 GND id Sign
29. 8 bit 7 1 bit 6 bit 7 0 1 stop bits 2 stop bits 1 stop bit 1 stop bit Activation of RTS signal RTS signal always active RTS signal is set active when data transfer is activated and set inactive at the end of data transfer Control sends EOT after having EOT is transmitted received ETX EOT is not transmitted Transfer mode for EXT1 Standard data transfer EXT2 f Blockwise transfer EXT3 Data transfer rate for PLC coupling EXT3 0 110Bd 5 2400 Bd 10 57600 Bd 1 150 Bd 6 4800 Bd 11 115200 Bd 2 300 Bd 7 9600 Bd 3 600 Bd 8 19200 Bd 4 1200 Bd 9 38400 Bd MPs for TNC 310 410 5 19 5 6 MPs for TNC 406 407 415 425 5 6 1 Overview a Inhibitingadatainterface 5000 5000 5ooo 5o00 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 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 for EXT2 for PLC ASCII character for file type for data output for EXT1 for EXT2 for EXT3 PLC ASCII character for output code for EXT1 for EXT2 for EXT3 PLC ASCII character for start of command block f
30. Control character for Blockwise 5010 0 applies for standard data interface ASCII character Data transfer finished 5010 5 Foe Transfer Character for beginning and end of ASCII character for data input 5010 1 ASCII character for data output 5010 2 ASCII character for beginning and end 5010 3 of command block Data format and transmission stop for the data interface Operating mode of the data interface 5030 RS 232 C V 24 accessible via code number 123 5 3 2 Description of the machine parameters program ASCII character for pos and 5010 4 RS 232 C V 24 7 or 8 data bits Block check character Transmission stop by RTS Transmission stop by DC3 even odd desired Character parity or Character parity 5 14 Service Manual 0 65 535 7 data bits ASCII code 8th bit parity 8 data bits ASCII code 8th bit 0 and 9th bit parity any BCC BCC not control character not active active not active 8 active 0 not active 16 active 0 even 32 odd 0 2 0 4 0 4 1 stop bits stop bits stop bit stop bit O0 Oj N 2 4 4 Bit6 64 Bit 7 128 0 Standard data transfer 1 Transfer blockwise Data Interfaces 5 4 MPs for TNC 306 335 360 2500 CNC 234 TNC 370 5 4 1 Overview ae BE BE mE Emm 1 control character for end of text ER BIER 0 BERN 0 BERN 0 BERN 0 BEER 0 2 control character for st
31. EVICENAME This name is displayed in the TNC program manager for the network mounted Manual Network configuration operation TNC device name Switch to next column PATH Definition of the directory path e g world home test input depends on the server software T T 2 Tone INSERT DELETE NEXT LINE LINE LINE gt Switch to next column ene DOMAIN With this name the TNC registers at the server When using NC software 280 472 or 473 this information is not required ale NETZWERK EINSTELLUNG DOMAINNAME NR DOMAIN UIO GID a 168 160 CEND BEGIN END PAGE PAGE INSERT DELETE NEXT TABLE TABLE Il ii LINE LINE LINE Switch to next column UID USER ID identifies the user Manual Network configuration operation User id UID GID DCH FEM AM 188 4111111111 111111111 8 T T pi WES INSERT DELETE NEXT LINE LINE LINE gt Switch to next column 1 This information will be provided by your network administrator 6 12 Service Manual Data Interfaces i GID GROUP ID figure to identify the group Manual Network configuration operation Group id GID DCH FEH AM 188 111111111 111111111 G DCM Directory Create Mode definition of the access rights to the directory for OWNER GROUP and other USERS Switch to next column DCH FEM AM 188 BEE 111111111 G T T 2 Tone INSERT DELETE NEXT LINE LINE LINE gt Switch to next column 1 This information will be provided by y
32. EXT3 PLC Blockwise transfer Data transfer rate for a PLC coupling EXT3 5 2400Bd 10 57600 Bd 6 4800Bd 11 15200 Bd 300 Bd 7 9600 Bd 600 Bd 8 19200 Bd 1200 Bd 9 38400 Bd accessible via code number 123 5 28 Service Manual Data Interfaces 6 Ethernet card in TNC controls option 6 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 Only use antistatic packaging material Be sure that the work station and the technician are properly grounded during installation a The assembly may only be installed by especially trained staff REN RU ve ETHERNET BOARD option Id No 293 890 51 Installing the Ethernet Card 6 1 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 r BS LN RX HH gt Oo E T LED p THER Re SZ E 279163 02 ul u en el PRET 10K a ka oe P H Doa Flat cable to 3 fe TE processor board SMCSIC92 ne ee P ee a JE En A 3 DASA AAAS AAA
33. G 168 1 186 1 255 405 0 0 CEND Switch to next column HW Hardware configuration of the connection 10BaseT twisted pair 10Base2 COAX HR PROT HOST RFC IGBASET T T T om NEXT LINE Exit menu This information will be provided by your network administrator Ethernet configuration in the TNC i 6 3 2 Settings in DEFINE MOUNT Network configuration operation DEF INE DEF INE DEF INE SHOL MET MOUNT PRINT ERROR one DEF INE MOUNT Call menu DEFINE MOUNT 6 8 Service Manual Data Interfaces i The following settings can be made in DEFINE MOUNT ADDRESS Address Internet of the server RS 2 Packet size for data input WS 2 Packet size for data output TIMEOUT After the defined period a remote procedure call not responded by the NFS server is repeated O 700 standard HM 1 YES 0 NO During the hardmount a remote procedure call is repeated until an answer is received from the NFS server The advantage is that if the server crashed and was restarted operation can be continued without any problem Soft mount 0 should only be used if the server is only available at times DEVICENAME This name TNC device name is displayed in the TNC program manager for the network mounted PATH Directory path of the NFS server to be mounted e g world home test input depends on the server software DOMAIN With this name the TNC registers at the server When using NC software 28
34. RK in the range from 3 to 15V and as logical 0 SPACE between 3 and 15V Control and message lines These signals are defined as ON high in the range from 3 to 15V and as OFF low between 3 and 15V The voltage range from 3 to 3V of all signals is not defined as logic level and therefore cannot be evaluated UM Datensignale li Steuer und Meldesignal Data signals Control and message signal Service Manual Data Interfaces 1 1 3 HEIDENHAIN data transfer software For the data transfer between PC and control or ND or VRZ HEIDENHAIN offers the following transmission programs For testing purposes a shareware version is available TNCremo for the operating systems MS DOS Windows 3 1 Windows for workgroups 3 11 Windows 95 TNCremoNT for the operating systems Windows 95 Windows 98 Windows NT Functions of TNCremo Data transfer in LSV2 FE or ME protocol PC as file server Creation of TNC screen dumps storage of TNC screen contents on the PC Download of the control log Remote control of TNC from the PC Data backup of the control hard disk TNC 426 TNC 430 Text editor Blockwise transfer of long programs File management of control on the PC Modem operation Functions of TNCremoNT Data transfer in LSV2 FE or ME protocol PC as file server Download of the control log Text editor Blockwise transfer of long programs File management of control on the PC
35. S ASAE Hy 6 2 Service Manual Data Interfaces 6 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 joints is 0 5 m up to 30 T joints may be used Cable ends not in use must be terminated by 500 resistors ast 50 Q resistor Connection to next TNC T joints m L else De EN zu PC TNC X25 10BaseT A transposed cable must be used to realize a direct connection from PC to TNC via 10BaseT Transposed cable 10BASET PC TNC The pin layouts of 10Base2 and 10BaseT connections please see from section 2 2 Connecting the Ethernet hardware 6 3 i 6 3 Ethernet configuration in the TNC 6 3 1 Settings in DEFINE NET Press key TNC in operating mode PROGRAMMING EDITING Prepare TNC for input of code number Enter code number confirm with ENT NETOBSB Network configuration operation DEF INE DEF INE DEF INE SHOL NET MOUNT PRINT ERROR rane DEF INE NET Call menu DEFINE NET 6 4 Service Manual Data Interfaces i The following settings can be 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 level is required to the SERVER PROT Her
36. a logical 0 OFF a negative one to a logical 1 ON Differential voltages are output between Ugmin 2V and Uymax 9V the control recognizes the differential voltages between Ugmin 0 2V and Ugmax 6V as logically defined levels Ug V Ausgang Eingang Output Input 6 5 4 1 2 3 HEIDENHAIN data transfer software See section 1 1 3 V 11 RS 422 interface 1 5 1 3 Ethernet Most of the local networks are based on Ethernet technology It was designed in 1982 by DIGITAL EQUIPMENT INTEL and XEROX The Ethernet can operate at a data transfer rate of up to 100 Mbits sec fast Ethernet the hardware versions most frequently used operate at 10 Mbits sec e g 1OBASE2 thin Ethernet Cheapernet 10BASE5 thick Ethernet yellow cable or 1OBASET twisted pair They differentiate in price installation and network topology but not in the access to the medium The data transfer rate highly depends on the work load of the network Realistic values NC program up to 200 kBits sec ASCII file up to 1Mbit sec 1 3 1 Hardware As soon as you have installed the Ethernet card the 10BASE2 connector BN and the 1OBASET connector twisted pair are available Only one connector can be used at a time The connectors are metallically isolated from the control electronics Connection and wiring diagrams please see section 6 2 Connector layout section 2 2 X26 Ethernet interface BNC connection coaxial cable 10Base2 The 1
37. acters must be transmitted to the printer for initialization The machine parameters MP 226 5110 0 to MP 233 5120 3 are noted as 16 bit values and output as decimal values The input value may be between O and 65535 These machine para meters 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 O to 7 are advisable since up to 7 bytes can be transferred The next bytes are output individually in ascending order MPs for TNC 125 131 135 145 150 151 155 351 355 5 9 i 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 MP 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 Byte counter gt 6 FF CR LF ESC 3 H Result 15 MSB 8 7 LSB 0 MP 226 5110 0 Byte counter 6 FF 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 3 51 Byte 4 Byte 5 27 256 51 6963 MP 229 5110 3 H 72 0
38. ady SGND GND Signal ground Data Currier Detect DCD DTR Data terminal ready DTR Ring Indicator RI ODN DUP W DH OOn oO MA WH Omna ah UUN oAaAnNn a nhaNn oan PR OWN e eombs DWN A210 DO SIDW oder Kundenverdrahtung or customer wiring nicht benutzt not used OMAN Oma Wh AUS NOwWwN nicht benutzt not used 0 Customer wiring or prefabricated part 3 16 Service Manual Data Interfaces Diagram no 16 V 24 RS 232 C direct connection for hardware handshake ND PT 25 pin peripheral unit 25 pin De Id Nr 274 545 01 CHASSIS GND 1 CHASSIS GND TxD 2 TAD RXD 3 RAD RTS 4 RTS CTS 5 CTS DSR 6 DSR SIGNAL GND 7 SIGNAL GND DIR 20 DTR ERLITTEN PTT TTT TAR TEE Diagram no 17 V 24 RS 232 C direct connection for softw handshake ND PT 25 pin peripheral unit 25 pin Kundenverdrahtung Customer wiring CHASSIS GND 1 CHASSIS GND TxD 2 TAD RAD 3 RxD RTS 4 RTS CTS 5 CTS DSR 5 DSR SIGNAL GND 7 BIR 20 SIGNAL ND j Gaa nage ee Diagrams V 24 RS 232 C 3 17 3 5 Diagram V 11 RS 422 Diagram no 18 V 11 RS 422 data interface 11 Adapter Block max TOGO m ee og Id Fir 249 819 01 ld Nr 250 475 oan wsfon gr sw J D E 1 2 l 4 5 6 G 9 X22 V 11 R5 422 GND Chassis RXD CIs TXD RTS DSR DTR GND Signal RAD CTS TxD RTS DSR DTR Mo Woo F ah a The pin layout of the RS 422 V 11 data inte
39. al Ground 9 RxD Receive Data 14 DTR Data Terminal Ready 15 donotassign Control model V 11 RS 422 connector TNC 406 TNC 407 2 4 Service Manual Data Interfaces i X25 Ethernet interface RJ45 connector 10BaseT Maximum cable length non shielded 100 m shielded 400 m RJ45 connector Assignment female 8 pin E 1 e eo a roas 5 rorassignea e ee o 7 roas 8 rorassignea Z Z a X26 Ethernet interface BNC connector 10Base2 coaxial cable Maximum cable length 180m BNC connector Assignment female Internal conductor Data RXI TXD core Shield Control model Ethernet connector TNC 430A TNC 426M A30M ETHERNET BOARD option Id No 293 890 51 2 5 Connectors and pin layouts as of TNC 122 2 3 Connectors and pin layouts of ND 2xx and PT 8xx V 24 RS 232 C data interface 25 pin D SUB Flange socket with female insert Assignment Designation Shield Chassis Ground 5 OS Ceatsnd 6 DR DataSetReady Data Terminal Ready Ext shield chassis es xt T Ni OCS mox po Op 2 6 Service Manual Data Interfaces il 3 Wiring diagrams of the data interfaces 3 1 Overview V 24 RS 232 C Connection of peripheral unit Connection of peripheral unit 25 pin 9 pin Wiring diagram for connection Wiring diagram for connection Control model e o eree pee JH cable JH cable Hw sw Hw sw Hw sw IHw sw tTNci24 o e de te tt mnci2 431378 meist 13 fis 7 Je Je Je J5 Je ne
40. al to that of the control Errors recognized by the mount system call MOUNT lt device name gt E DEVICE NAME NOT VALID The device name is too long or contains non permissible characters MOUNT lt device name gt E DEVICE NAME ALREADY ASSIGNED A device with this name already exists MOUNT lt device name gt E DEVICE TABLE OVERFLOW The device table is full the device cannot be mounted any more Errors and warnings generated by the driver of the network file system version 2 NFS2 lt device name gt W READ SIZE SMALLER THEN x SET TO x The read size selected is too small it is set to the smallest permissible value NFS2 lt device name gt W READ SIZE LARGER THEN x SET TO x The read size selected is too large it is set to the highest permissible value NFS2 lt device name gt W WRITE SIZE SMALLER THEN x SET TO x The write size selected is too small it is set to the smallest permissible value NFS2 lt device name gt W WRITE SIZE LARGER THEN x SET TO x The write size selected is too large it is set to the highest permissible value NFS2 lt device name gt E MOUNT PATH TOO LONG The specified mount path is too long the device cannot be mounted NFS2 lt device name gt E NOT ENOUGH MEMORY The memory available for the driver is insufficient to provide the management data for the device NFS2 lt device name gt E HOST NAME TO LONG The specified host name is too long the devic
41. art of text STX 1 ASCII character for file type 5010 1 5010 1 5010 1 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 A 1 control character for end of command block ETB 5010 3 5010 3 5010 3 3 Eu 3 2 control character for start of command block SOH 1 control character for pos acknowledge ACK 5010 4 5010 4 5010 4 kasad haa 2 control character for neg acknowledge NAK Control character for end of data transfer EOT 5010 5 5011 50105 50105 50105 50105 Transfer mode for EXT 5030 5030 5030 5030 5030 Data transfer rate for PLC coupling f 5040 so Te Graphic printout printout Block check number sequence with data transfer gt from interface Data format and transmission stop for the data 5020 5020 5020 5020 5020 interface RS 232 C EXT MPs for TNC 306 335 360 2500 CNC 234 TNC 370 5 15 5 4 2 Description of the machine parameters MP TNC TNC NC CNC No Bit 2500 360 306 234 Control character for end of text ETX 5010 BEE 0 255 1 control character f end of text ETX 5010 0 0 32382 2 control character f start of text STX 1 ASCII character for file type 5010 1 0 32382 for data input 2 ASCII character for input code E 1 ASCII character for file type 5010 2 0 32382 for data output 2 ASCII c
42. blockwise transfer to external peripheral units Protocol Standard or blockwise transfer Adaptation via machine parameter MP 5000 and following Data format Adaptation via machine parameter MP 5000 and following Baud rate 110 115 200 Baud depending on the hardware of the HEIDENHAIN unit Interface parameter Adaptation via machine parameter MP 5000 and following Transfer stop Software handshake with DC3 or hardware handshake with RTS selectable in machine parameter MP5000 and following LSV 2 With the appropriate software TNCremo V 3 0 various functions can be executed in the LSV 2 protocol e g file management remote control and TNC diagnosis from a PC Protocol Bi directional transfer according to DIN 66019 Data format 8 data bits 1 stop bit no parity Baud rate 110 115 200 Baud depending on the hardware of the HEIDENHAIN unit Interface parameter fixed Transfer stop Software handshake via protocol Operating modes on TNC 122 to TNC 430 and ND 2XX PT 8XX 4 3 i 5 Machine parameters for the data interfaces 5 1 MPs for TNC 125 131 135 145 150 151 155 351 355 5 1 1 Overview a General information Data format MP 222 MP 222 Bit O Bit O ASCII characters for MP 76 MP 71 MP 71 MP 71 beginning and end of program Decimal point or MP 70 MP 92 comma Blockwise transfer Operating mode of MP 223 MP 223 RS 232 C ASCII characters for data input and MP 218 MP 218 data output MP
43. d OFF MP 71 Character for end of program 1 126 MP 76 By means of the parameter 71 TNC 150 or 76 TNC 145C 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 decimal comma MP 92 Decimal point or comma 0 1 decimal point If numerical values in programs are to be output with decimal points the parameter 70 must be programmed ON if output with decimal comma is required this parameter 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 MPs for TNC 125 131 135 145 150 151 155 351 355 5 3 i Machine parameters for blockwise transfer With BLOCKWISE TRANSFER in the operating mode PROGRAM RUN machine programs in general created on a remote computer aided workstation of any desired length can be down loaded and machined via the serial data interface Blocks already machined are deleted from the memory and the next program blocks are 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
44. data during transfer OO O OOOO No cassette inserted OO OOOO Write enable plug in cassette missing O OO OOOO Wrong operating mode selected O O OOOO Data of magnetic tape faulty O O OOOO Magnetic tape empty OOO OOOO 00 OOOO OHO OOOO Errors in ME electronics 2 O k HK OOOO HOO OOOO k HO HK OOOO He HE He OOOO End of tape O HK OOOO Peripheral unit not connected HH HO O A Data transfer between TNC and ME or peripheral unit interrupted by Pressing fae clears the error messages 7 2 Service Manual Data Interfaces i 7 1 3 Error messages at the FE in the ME mode In the ME mode errors are displayed by the indicator lamps LEDs of the control buttons blinking O LED off LED on LED blinks Indicator lamps Error message OO0 OxOO Disk missing or error in the ME electronics OOO OxOO Disk cannot be formatted as it is currently being used OO x OOO Disk missing or not formatted OO OOO Disk cannot be copied as a read write process is active 0O e OOOO External device not ready or not connected x OC OOOO Disk missing or not formatted OO OO0eO Disk missing or not formatted or no program available 200 OOOO Program cannot be output as data transfer via TNC interface in process 00 O00600 Program cannot be output as data transfer via PRT interface in process OO e000 External device not ready or not connected O0eC e x OOO Disk mis
45. dy EI w oder Kundenverdrahtung or customer wiring nicht benutzt not used OMAN OMA Wh ji nicht benutzt not used 0 Customer wiring or prefabricated part Diagrams V 24 RS 232 C 3 9 Diagram no 7 V 24 RS 232 C with adapter block for hardware handshake TNC 14 pin peripheral unit 25 pin V 24 Adapter Block komplett mit Kabel V 24 adapter block complete with cable Id Nr 214001 01 Peripherieger t 25pol 3m max 17 hen 25 pin D L TNC V 24 RS 232 C 14pol CAUTION Id Nr 274 545 01 242 869 01 Pal GND Chassis CGnD TXD RXD RTS CTS DSR GND Signal ground SGnD 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 DTR Data terminal ready bl bl br bn ge yl gn gn gr gy rs pk t rd sw bk ws wh with TNC 145 to TNC 155 TNC PC CHASSIS GND q CHASSIS GND Auftrennen Open SIGNAL GND SIGNAL GND 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 handshaking Cut the line on both sides between DSR and DTR and short circuit DSR with DTR PC pin6 with pin20 Without this modification data transfer using hardware handshaking is not only stopped but aborted immediately like power off Do not use this configuration for TNC 355 with new hardware 3 10 Service Manual Data Interfaces Diagram no 8 V 24 RS
46. e EXT1 NAK EXT2 EXT3 PLC ASCII character for end of transmission EXT1 EOT EXT2 EXT3 PLC accessible via code number 123 5 26 5203 0 5203 1 5203 2 5204 0 5204 1 5204 2 5205 0 5205 1 5205 2 5206 0 5206 1 5206 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 Service Manual Data Interfaces 5 7 MPs for TNC 426 430 5 7 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 MPs for TNC 426 430 5 27 i 5 7 2 Description of the machine parameters Inhibiting a data interface no interface inhibited RS 232 inhibited RS 422 inhibited 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 7 data bits bit 8 parity 8 data bits bit 8 0 and bit 9 parity Block check character any BCC BCC not control character Transmission stop by RTS inactive 4 active Transmission stop by DC3 3 0 inactive 8 active Character parity even odd 4 0 even 16 odd Character parity on off off Number of stop bits 0 1 stop bits 1 0 stop bits 0 1 stop bit 1 1 stop bit Transfer mode for EXT1 EXT2 l Standard data transfer
47. e cannot be mounted NFS2 lt device name gt E CAN NOT OPEN PORT A port required for mounting cannot be opened NFS2 lt device name gt E ERROR FROM PORT MAPPER The data received from the port mapper are not plausible or no data were received Ethernet error messages 7 7 i NFS2 lt device name gt E ERROR FROM MOUNT SERVER The data received from the mount server are not plausible or no data were received NFS2 lt device name gt E CANT GET ROOT DIRECTORY The mount server does not permit the mounting of the specified directory NFS2 lt device name gt E UID OR GID 0 NOT ALLOWED User ID O and group ID O are not permitted they may exclusively by used by the super user or the system administrator 7 8 Service Manual Data Interfaces i 8 Tables 8 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 ENQ 005 005 05 ACK 006 006 06 BEL 007 007 07 BS 008 010 08 HT 009 011 09 LF 010 012 OA VT 011 013 OB FF 012 014 OC CR 013 015 OD SO 014 016 OE SI 015 017 OF DLE 016 020 10 DC1 X ON 017 021 11 DC2 018 022 12 DC3 X OFF 019 023 13 DC4 020 024 14 NAK 021 025 15 SYN 022 026 16 ETB 023 027 17 CAN 024 030 18 EM 025 031 19 SUB 026 032 1A ESC 027 033 1B FS 028 034 1C GS 029 035 1D RS 030 036 1E US 031 037 1F 7 bit ASCII code 8 1 i Character Deciml _ Octl Hexadecimal SP 032 040 20 033 041 21
48. e the format for data transfer is specified RFC in most cases HW Hardware configuration of the connection 10BaseT twisted pair 10Base2 COAX HOST Only valid for the NC software versions 280 472 and 280 473 Here the name is entered under which the control registers itself at the server 160 1 1603 SERVER 160 3 0 2 Zz 0 1 0 2 0 2 0 2 0 3 Z 160 2 e g TNC address 160 2 0 2 ROUTER 160 2 0 3 The boxes represent for example TNCs or personal computers Please observe that a TNC can never be a ROUTER since it does not feature the second connector for feeding signals through This information will be provided by your network administrator On the following pages please find an example of the settings listed above Ethernet configuration in the TNC 6 5 i ADDRESS Information on the address of your TNC in the network Internet Manual Network configuration operation Internet address of TNC ADDRESS MASK ROUTER 166 1 1860 14 250 255 0 0 Switch to next column MASK SUBNET MASK to save addresses in the network Network configuration Subnet mask ADDRESS MASK ROUTER 166 1 180 1 255 255 08 6 BEGIN END PAGE PAGE NEXT Jej t pe 1 This information will be provided by your network administrator 6 6 Service Manual Data Interfaces i PROT Here the data transfer protocol is specified RFC in most cases Manual Network configuration aperation Protocol HR ADDRESS MASK ROUTER
49. haracter for negative acknowledge 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 rates of both interfaces must be the same INTERFACE ALREADY ASSIGNED A data interface cannot be used for two operating modes simultaneously e g DNC mode and pro gramming at the same time is not possible with one data interface EXT INPUT OUTPUT NOT READY DSR signal missing at the TNC Defective or wrong transfer cable Wrong interface assignment PROGRAM INCOMPLETE Data transfer was aborted before the program was completely loaded MTXIoO9Nn1mMIOU gt D Zz zZUD gt Error messages related to the RS 232C and RS 422 interface 7 5 i 7 2 Ethernet error messages Error messages or warnings output during mounting of a device are stored in plain language in an ERROR file If the control is switched off and on the contents of this file are erased 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 The first information is the program part that has detected the error it is followed by a colon Next there may be the name of the device to be mounted in lt gt brackets The software differentiates between errors E and warnings W If an error has occurred it is not possible to activate the network or to mount the device In the case of a warning the
50. haracter 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 5010 4 0 32382 acknowledge ACK 2 control character for negative acknowledge NAK 16 17 Control character for end of data 5010 5 0 32282 transfer EOT Control character for end of data 5011 0 32382 transfer EOT 5 16 Service Manual Data Interfaces 64 gt bit6 1 128 gt bit7 1 6 7 0 1 11 2 stop bits 1 0 2 stop bits 0 1 stop bit 1 1 1 stop bit 0 RTS signal always active 256 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 Number of stop bits Activation of RTS signal Control sends EOT after having received ETX Data format and transmission stop for the RS 232 C EXT data interface 7 or 8 data bits Block check character Transmission stop by RTS Transmission stop by DC3 Character parity even odd Character parity on off 11 11 0 255 0 7 databits bit 8 parity 1 8 databits bit 8 0 and bit 9 parity 0 anyBCC 2 BCC not control character 0 not active 4 active 0 not active 8 active 0 even 16 odd 0 off 32 on accessible via code number 123 a TNC TNC NC CNC Bit 2500 360 306 234 Transfer mode for EXT 5030 Standard
51. i Jis fis 7 Je Je J9 T ncis5 o os Jis 7 Je Je J9 tTNciso o Jis fis 7 Je Je J9 Nc151 4155 J13 Jis 7 Je Je J9 mucsio o e deo oda a ee bo T Nes70o o Je eo of jn CE O1 1 xx number of the wiring diagram on the following pages HW wiring diagram for data transfer with hardware handshake SW wiring diagram for data transfer with software handshake Overview V 24 RS 232 C i 3 2 Overview V 11 RS 422 Control model Wiring diagram TNG 406 TNC 407 3 3 Overview Ethernet Control model Wiring diagram TNC 426 8 TNC 430 A TNC 426M 430M 1 xx number of the wiring diagram on the following pages 3 2 Service Manual Data Interfaces i 3 4 Diagrams V 24 RS 232 C Diagram no 1 V 24 RS 232 C with adapter block for software handshake TNC 25 pin peripheral unit 25 pin V 24 Adapter Block V 24 adapter block 3m max 17 Peripherieger t 25pol I DI TNC V 24 RS 232 C 25pol eripheral unit 25 pin P P Kundenverdrahtung jq Nr 23975801 Id Nr 239 760 Customer wiring f GND Chassis ground RXD TXD CTS RTS DTR GND Signal ground 1 1 2 2 3 3 41 4 5 5 6 7 7 Bt 8 9i 9 OOnAaopwn COnanhWN aA OOnN Ooh WN Oona a ROM bl br N A ah ab 2 od ml 0 se Md OO JOINT POP O0O0O IAM AUAN u With this wiring type only transfer stop with DC3 software handshake is possible The pin layouts of the RS 232 C V 24 data interface are differe
52. 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 incorrect 1 ERR 107 Disk controller defective 3 ERR 108 DMA error 3 ERR 109 Disk exchanged during program loading 1 These error messages indicate that the disk is defective in most cases they can only be eliminated by reformatting the disk 2 If this error message comes up while the disk is inserted the drive is probably defective 3 Hardware defect 7 4 Service Manual Data Interfaces i 7 1 5 Error messages on data transfer TRANSFERRED VALUE INCORRECT X Faulty character frame Character overflow Faulty character frame or character overflow Parity error Faulty character frame or parity error Character overflow or parity error 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 DATA TRANSFER ERRONEOUS X Faulty character frame Parity error Control has received the character for negative acknowledge NAK more than 3 times Control has sent the c
53. line 0 Bit 3 Bit 3 Bit 4 Bit4 Hr eee eee eee etc up to 511 Bit 5 Bit 5 Bit 6 Bit 6 Bit 7 Bit 7 Bit O Bit O Bit 1 Bit 1 Bit 2 Bit 2 aa 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 5 8 Service Manual Data Interfaces i The parameters are subdivided into two blocks The first parameter block MP 226 5110 0 to MP 229 5110 3 is transmitted once before each block It initializes the printer and sets the general printer parameters for graphic output e g line spacing carriage return line feed and possibly form feed to reach the beginning of the printer paper The line feed must be specified such that the graphic lines are printed without blank lines in between For this reason the line spacing should be set to 72 216 The second parameter block MP 230 5120 0 to MP 233 5120 3 is output before each graphic line to perform a Carriage return and a 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 the ASCII mode The commands for the printer are displayed in ESCAPE sequences which may vary from printer to printer The EPSON command block for printers is a quasi standard supported by most printer manufacturers Therefore we refer to these EPSON ESCAPE SEQUENCES The following escape sequences and ASCII char
54. nd a value entered Observe the setting of the DIP switches at the printer Data format 8 data bits 1 stop bit even parity software handshaking the data format is set in MP 222 MP 5020 169 The control character for the end of program is EXT it is set in machine parameter MP 71 MP 5010 0 3 Blockwise transfer must be deactivated in MP 223 MP 5030 0 Values must be entered for the machine parameters MP 226 MP 5110 0 to MP 233 MP 5120 3 The calculation of the machine parameters 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 MPs for TNC 125 131 135 145 150 151 155 351 355 5 7 il Machine parameter calculation for graphic output In the graphics mode the screen of TNC 155 355 consists of 512 490 picture elements For graphics data output the data are output line by line in 8 bit format via the serial interface A line consists of 8 pixels and 512 bytes per line Byte no 0 Byte no 1 etc HREBGHRRRRHRHH REE HH HH Bit 0 Bit 0 ME TEVITititiiiiele et Bit 1 Bit 1 HEHHHHRERRHER RHA RRHH Bit 2 Bit 2 HHERHBHARAPRERR EHH ES Line 0 ap a HEAHHHEHHHRRHRR RHEE ane ave MIELE ELELEL EC LUCULE ne ae HHERHHHHHRRRHRRR RHEE ae o SOUL LLLLLLLLLLLLL 51 REHRRATARAHARERERH represents one byte on the screen Byte no 0 Byte no 1 etc Bit O Bit O Bit 1 Bit 1 Graphics Bit 2 Bit 2
55. nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnen 7 5 7 2 Ethernet error messages unerkannt este 7 6 o LADOS eiaei ene cunap sing ceeds qee E E E E a E AE 8 1 I PRM a Code een 8 1 o 2 OW CNS Ol 2 nesrecna r PEUEERER EEE CUEFECEENELSERUE EURE TEEBIEEBESEITHEBERUECHEL SCHERE EEE EERUEEBER 8 5 2 Service Manual Data Interfaces Contents i 1 General information on the data interfaces Depending on the type of equipment controls counters one or several of the data interfaces stated below are available 1 1 V 24 RS 232 C interface The name of the RS 232 C serial interface is derived from the American EIA standard for data transfer rates up to 19200 bps Data transfer is asynchronous with one start bit before and one or two stop bits after each character The interface is designed for transmission paths of up to 30 m RS 232 C was slightly modified and introduced in Europe as V 24 interface The German standard is DIN 66020 1 1 1 Hardware Two V 24 RS 232 C interfaces are physically connected by a non symmetrical line i e the central ground connection between transmitter and receiver is used as return line Principle of the physical connection Sender Empfanger Transmitter Receiver Ubertragungsstrecke Transmission path ARA a Ti 1 1 2 Signal levels With the V 24 RS 232 C interface two different signal lines and the corresponding levels must be differentiated Data lines The data signals are defined as logical 1 MA
56. nt at the logic unit and at the V 24 adapter block Diagrams V 24 RS 232 C 3 3 Diagram no 2 V 24 RS 232 C with adapter block for hardware handshake TNC 25 pin peripheral unit 25 pin V 24 Adapter Block V 24 adapter block 3m max 17 Peripherieger t 25pol I I TNC V 24 RS 232 C 25pol Peripheral unit 25 pin id Nr 27454501 Id Nr 23975801 Id Nr 239 760 242 869 01 GND Chassis ground RXD TXD CTS RTS DTR GND Signal ground OOnN Of WOH SON Oa hwWn 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 7 8 8 8 8 9 9 9 9 DSR Data set ready a If the pin layout of your peripheral unit differs from the above the HEIDENHAIN connecting cable cannot be used 3 4 Service Manual Data Interfaces Diagram no 3 V 24 RS 232 C with adapter block for hardware handshake TNC 25 pin peripheral unit 9 pin V 24 Adapter Block V 24 adapter block DE 3m max 17 Peripherieger t PC pol Adapter F T DI ne v 24RS 232 C 25pol Peripheral unit PC 9 pin Id Nr 27454501 iq Nr 23975801 ld Nr 239 760 242 869 01 GND Chassis CGnD RXD TXD CTS RTS DTR SGND GND Signal ground SGnD Data Currier Detect DCD DTR Ring Indicator RI OA NDUNDU OONO AWN COON OO NA WH CON DAS WN OOO NOAA DSR Data set ready oder Kundenverdrahtung or customer wiring nicht benutzt not used ODNIOMAWHN aadS sown nicht benutzt not used 1 Customer wiring or prefabricated
57. of a BCC block check character the received data are checked for block parity If both values are the same positive acknowledge is transmitted if they are not the same negative acknowledge is transmitted This block is repeated up to three times If the result is a negative acknowledge in each case data transfer is aborted and an error message displayed Parameter No Bit Function Cd Entry values for 71 oF bus ETX or any ASCII character ETX and STX 5010 0 character for End of Program 515 STX or any ASCII character character for Start Program 218 or oe H or any ASCII character H and E 5010 1 transmitted in the a command block for data input 17736 before the program number Br E or any ASCII character transmitted in the a command block for data input after the program number 219 or RN H or any ASCII character H and A 5010 2 transmitted in the a command block for data 16712 output before the program number one A or any ASCII character transmitted in the a command block for data output after the program number 220 or er ETB or substitute character decimal code 1 47 ETB or SOH 5010 3 transferred at the end of the command block 279 en SOH or substitute character decimal code 1 47 transferred at the beginning of the program block 221 or ACK or substitute character decimal code 1 47 ACK or NAK 5010 4 positive acknowledge transferred if the data block 5382 was been correctly received NAK or
58. or EXT1 SOH for EXT2 for EXT3 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 EOT EXT2 EXT3 PLC 5 20 Service Manual Data Interfaces 5 6 2 Description of the machine parameters of TNC 406 407 415 Machine parameters The following list contains the machine parameters for all software versions Since however several machine parameters are not valid for certain controls or have been intro duced or eliminated with a certain software version there are columns with symbols for differentiation belonging to the parameter number Explanation of the symbols The parameter or the entry value applies for all software versions of this control 04 The parameter has been introduced with a certain software version e g with version 04 104 The 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 and 259 91 without digitizing function TNC 407 with NC software 243 02 with digitizing function TNC 415 with NC software 259 96 and 259 97 with digitizing function TNC 407 with NC software 243 03 software e
59. our network administrator Ethernet configuration in the TNC 6 13 i FCM File Create Mode definition of the access rights to files for OWNER GROUP other USERS A Example 111101000 111 101 000 7 N Read Write Execute Switch to next column AM Definition whether AUTOMOUNT is possible er Network configuration Auto mount Yes 1 Z No 08 GID OCH FEM AM 188 4111111111 4111111111 BEGIN END PAGE PAGE INSERT DELETE NEXT iii A if a LINE LINE LINE clo Exit menu After having configured the interface the control must be switched off and on to activate the data in the control 6 14 Service Manual Data Interfaces i 6 4 Checking the connection to the server TNC in operating mode PROGRAMMING EDITING amp Prepare TNC for input of code number N E T M O N Enter code number for NC software 280 472 NET123 al and confirm input Press soft key not with NC 280 472 PROTOCOL Press soft key As INTERNET ADDRESS enter the address stored in DEFINE MOUNT ADDRESS Enter address ENT Confirm input Network configuration operation PING MONITOR INTERNET ADDRESS MERRE 142 HOST RESPOND II i tT ft ty 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 inthe line TRY xx yy xx Number of attempts yy Status TIMEOUT no connection HOST RESPOND
60. quivalent to TNC 415B 425 TNC 407 with NC software 280 58 special software m MmMOUOQOW gt MPs for TNC 406 407 415 425 5 21 i Control characters for Blockwise transfer Character for program end and start the character for program end is also valid for the standard data interface 5010 0 105 MP C No Bit Inhibiting a data interface no interface inhibited RS 232 inhibited 2 RS 422 inhibited GERRON o ASCII character for data input 5010 1 105 LO 0 32 382 ASCII character for data output 5010 2 105 ios 0 32382 ASCII character for start and end 5010 3 105 0 32 382 of command block ASCII character for pos and neg 5010 4 105 0 32 382 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 5020 0 5020 1 5020 2 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 5030 5030 0 5030 1 5030 2 accessible via code number 123 5 22 Service Manual 7 data bits bit 8 parity 8 data bits bit 8 0 and bit 9 parity BCC not control character 0 4 0 8 inactive active inactive active even odd off
61. rface is the same at the logic unit X22 and at the V 11 adapter block 3 18 Service Manual Data Interfaces i Diagram V 11 RS 422 3 19 i 4 Operating modes of the data interfaces 4 1 Operating modes on TNC 125 131 135 145 150 151 155 One or several operating modes may be available depending on the control model Control model ME FE ET Remark S TNC 125 EEE HE S S meisi e e e T mo KK mo oo o oo ncs eo o Selection via MOD Selection via machine parameter ME For connection of the HEIDENHAIN magnetic tape unit ME 101 102 or other peripheral units Data format 7 data bits 1 stop bit even parity and baud rate 2400 are adapted to the ME 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 Operating modes on TNC 125 131 135 145 150 151 155 4 1 i 4 2 Operating modes on TNC 122 to TNC 430 and ND 2XX PT 8XX One or several operating modes may be available depending on the unit ee ee ee dump operation morz h h ne BE Bu S mcas h h h Nc2soo c x J
62. s On the left half of the screen the drive mounted is displayed now here IRRHINER Press key END Press soft key to exit the submenu Press arrow keys to select the network drive The directory READ DIR is loaded Er Programming and editing Path INES gt WORLD 0000 m RS232 E RS422 El TNC WORLD File name 19200 37687 A_KRANI 8123 4561 318354 311236 311248 arbbb casmulti dump_disk hp_catfile hp_cat lock reinhold_ RIERO 36 anbar rs 7057 37788 HXX XXX 65536 135 filets 83465 kbyte vacant O O DO O O DO O O DO O Working with the Ethernet interface 83 12 1997 28 11 1997 83 12 1997 28 11 1997 28 11 1997 17 12 1996 17 12 1996 83 12 1397 83 12 1997 83 12 1997 19 11 1997 6 19 6 6 2 Unmounting a network connection TNC in operating mode PROGRAMMING EDITING Call program management Switch soft key row NET Press soft key NET Im RS 32 Gl R3422 El TNC ae TNC 5 O DEMO O EXAMPLES O SEMINAR O TESTI MOUNT UNMOUNT AUTO NO AUTO END DEVICE DEVICE MOUNT MOUNT The network line must now be disconnected from the Ethernet card ED Disconnect DEVICE Press soft key to exit the submenu END 6 20 Service Manual Data Interfaces i 7 Error messages and their causes N 1 Error messages related to the RS 232C and RS 422 interface WRONG OPERATING MOPE PROGRAM DATA ERRONEOUS zZ N O oh O _ E 9 m
63. sing or not formatted OO0 000 Disk missing or not formatted 000 x OOO Program cannot be output as data transfer via TNC interface in process OOO 000 Program cannot be output as data transfer via PRT interface in process Oe0e OO O External device not ready or not connected O O O0eO Disk missing or error in the ME electronics O O O0eO Table of contents cannot be output as data transfer via PRT interface in process OOO O0eO No interface coupling possible as data transfer via TNC interface in process 000 OOOO No interface coupling possible as data transfer via PRT interface in process OO OOOO External device not ready or not connected Pressing Bi clears the error messages Error messages related to the RS 232C and RS 422 interface 7 3 i 7 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 ETB BCC XXX error number The following errors may be displayed Input output errors ERR 001 Wrong 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
64. snnnensennnnnnnnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnennnnnnnnssnnnnnn 6 8 6 4 Checking the connection to the server ccecceeeeeeeeeeeseeeeeeeeeeeeeeesecseeeeeeesessaaaseeseeeeesenaanas 6 15 6 5 Finding the hardware address of the Ethernet card uunnsnnnrnennnnnnnnnnnnnnnnnnnnnennn nn 6 16 6 6 Working with the Ethernet interface 4444444444nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 6 17 6 6 1 Establishing the network connection Mounting rusnsssnennennnnnnnnnnnnnnnnnnen nn 6 17 6 6 2 Unmounting a network CONNECTION cece cece eee eee eee ee eee ater sear eee aaae ee eeaaneeeeaaaeeeeeaaees 6 20 7 Error messages and their causes uussusnnnunennnnnnnonnnnnnnonnnnnnnnnnnnnennnnnnnennnnnnnnnnnnnennnnnnnennnnnnnennnn 7 1 7 1 Error messages related to the RS 232C and RS 422 interface u00nnnen nennen 7 1 7 1 1 Error messages at the TNC in the ME mode ccccccccsseeeeeeeeeeeeeeeaeeaeeeeeeeeeeeeeeaaeseeeeees 7 1 7 1 2 Error messages at the ME ec teeceesesseeeeseseneecaeserencaeeeeescueeesenaeesescaeeeseneueeeeseaneeessoaeers 7 2 7 1 3 Error messages at the FE in the ME Mode cccseeceecceeeeeecenereneeaeereneseeeenaeneensaeeees 7 3 7 1 4 Error messages at the TNC in the FE mode 44444444HBnnnnnnnnnnn nenne nnnenennnnnne nenn 7 4 7 1 5 Error messages on data transfer uu 44444snnnnnnnnnnennnnn
65. x x x ncsoe Jx de Je 1 The data transfer rate must be set to 9600 baud 2 Change directory not possible 3 The machine must support the LSV2 DNC mode 4 File server LSV2 as from software versions 280 462 05 280 470 01 280 472 01 x X x xX yep x x x x x Xx x XxX Xx x x lt gt x gt EEE EEE BEE x BEE BEE BEE BEE a a E x HE J a __d T J x o e e x p J xo o e e x I T x d For internal settings please refer to the User s Manuals and Technical Manuals of the controls or display units en Daner g FE 1 For connection of the HEIDENHAIN floppy disk unit FE 401 B or floppy disk unit FE 401 as from software 230 626 03 or other peripheral units at Data format and protocol are adapted to FE 401 B Protocol Blockwise transfer Data format 7 data bits 1 stop bit even parity Baud rate 110 115 200 Baud depending on the hardware of the HEIDENHAIN unit Interface parameter fixed Transfer stop software handshake with DC3 FE2 For connection of the HEIDENHAIN floppy disk unit FE 401 or other peripheral units a Data format and protocol are adapted to FE 401 B Protocol Blockwise transfer Data format 7 data bits 1 stop bit even parity Baud rate 110 115 200 Baud depending on the hardware of the HEIDENHAIN unit Interface parameter fixed Transfer stop software handshake with DC3 EXT For adaptation of data transfer in standard data format and for

Download Pdf Manuals

image

Related Search

Related Contents

Knoppix Hacks, Second Edition (O`Reilly, 2008)  方向判別ユニット ー  TSAM-R1620  User Manual - The University of Sydney  46/2 S B&S - Utilul.ro  Samsung Beat DJ Manual de Usuario  Edge® 1000  取扱説明書 構成部品一覧  Manual de usuario de Kiva  

Copyright © All rights reserved.
Failed to retrieve file