beautypg.com

External programming, Interfacing with other equipment, 6 external programming – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 439: 7 interfacing with other equipment

background image


8-26

TNC 406/TNC 306

2 TNC data interfaces

3/97

For the control characters (, ), any other ASCII characters can be chosen using the
following machine parameters (for table of ASCII characters, see Appendix). If these machine
parameters are set to 0 (zero), no character will be sent.

MP5010

EXT mode: ASCII character for end of data (EXT)
Input range: 0 to 127

MP5011

EXT mode: ASCII character for end of transmission (EOT)
Input range: 0 to 127

When selecting ASCII characters, it must be ensured that the control characters are not arbitrarily
mixed and that no numbers or letters which occur in the transferred text are used.

2.6 External programming

In the case of external programming and subsequent transfer, attention should be paid to the
following:

or must be programmed at the start of the program and after each program

block

and the end-of-text control character must be programmed after the end-of-program

block.

– Blank characters between the individual words can be omitted in NC programs (HEIDENHAIN

dialog).

– Comments are separated from the NC block by a semicolon
– Comments are stored only in PLC programs
– Comments located before the program are not stored
– Block numbers do not need to be programmed. They are generated automatically by the TNC

(only for dialog programming and MP5990 = 1)

2.7 Interfacing with other equipment

Any other external devices can be interfaced with the TNC by using configurable operating modes
EXT. For this purpose, machine parameters MP5010 to MP5020 permit relatively free adjustment of
the data format and the control characters.

Consider the example of interfacing EXT with a printer using a serial interface (Example: NEC P7
PLUS).

The following settings are made at the printer (see the operating manual of the printer concerned):

– Serial interface
– 8 data bits
– Even character parity
– XON/XOFF protocol (software handshake)
– 9600 baud

This manual is related to the following products: