6 external programming, 7 interfacing with other equipment – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 674
8-27
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 (standard setting
– 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
No interface inhibited
MP5020.0 = %10101001 8 data bits
Any BCC character
Transfer stop by RTS not active
Transfer stop by DC3 active
Character parity even
Character parity required
1 stop bit
MP5030.0 = 0
Standard data transfer
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).