External Programming; Interfacing With Other Equipment - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

2.6 External programming

In the case of external programming and subsequent transfer, attention should be paid to the
following:
– <CR><LF> or <LF> must be programmed at the start of the program and after each program
block
– After the end-of-program block <CR> <LF> and, in addition, the end-of-text control character must
be programmed (standard setting <ETX> or via MP 5201.x)
– Blank characters between the individual words can be omitted in NC programs.
– When reading in DIN blocks, '*' is not needed at the end of the block
– Comments are separated from the NC block by a semicolon ';'
– Comments located in front of the program are not stored
– Block numbers do not need to be programmed - they are generated by the TNC (only for dialog
programming)

2.7 Interfacing with other equipment

Any other external devices can be interfaced with the TNC by using configurable operating modes
ET1/EXT2/EXT3. For this purpose, machine parameters 5020.x to 5210.x permit relatively free
adjustment of the data format, the data transmission protocol and the control characters.
Consider the example of interfacing EXT1 with a printer using a serial interface (Example: NEC
P7PLUS).
The following setting is selected at the printer itself (see the Operating Manual of the printer
concerned):
– Serial interface
– Data bits
– Even character parity
– XON/XOFF protocol (software handshake)
– 9,600 baud
The following settings (EXT1) are made at the TNC:
MP5000 = 0
MP5020.0 = %10101001 8 data bits
MP5030.0 = 0
In the "RS-232/RS-422 Setup" of the TNC, the EXT1 operating mode must still be assigned to the
RS-232 interface and the baud rate set to 9,600 (see the TNC 407/415 Operating Manual).
01.98
TNC 407/TNC 415/TNC 425
No interface inhibited
Any BCC character
Transfer stop by RTS not active
Transfer stop by DC3 active
Character parity even
Character parity required
1 stop bit
Standard data transfer
2 TNC data interfaces
8-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents

Save PDF