External programming, Interfacing with other equipment, 6 external programming – HEIDENHAIN TNC 335 Technical Manual User Manual
Page 535: 7 interfacing with other equipment
8-28
TNC 360
2 TNC data interfaces
8/95
2.6 External programming
In the case of external programming and subsequent transfer, attention should be paid to the
following:
–
block
– After the end-of-program block
be programmed.
– Blank characters between the individual words can be omitted in NC programs (HEIDENHAIN
dialog).
– 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 are stored only in PLC programs
– 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
EXT. For this purpose, machine parameters 5020 to 5030 permit relatively free adjustment of the
data format, the data transmission protocol and the control characters.
Consider the example of interfacing EXT 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)
– 9600 baud
The following settings (EXT) are made at the TNC:
MP5020 = 169
8 data bits (+1)
Any BCC character (+0)
Transfer stop by RTS not active (+0)
Transfer stop by DC3 active (+8)
Character parity even (+0)
Character parity wanted (+32)
1 stop bit (+128)
MP5030 = 0
Standard data transfer
In the TNC, the EXT operating mode must still be assigned to the RS-232 interface and the baud rate
set to 9600 (see the TNC 360 User's Manual).