beautypg.com

External data transfer -3 – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 300

background image

11-3

11

Tables, Overviews and Diagrams

TNC 426/TNC 425/TNC 415 B/TNC 407

External data transfer

11.1 General User Parameters

Integrating TNC interfaces EXT1 (5020.0) and EXT2 (5020.1) to an external
device:

MP5020.x

7 data bits (ASCII code, 8th bit = parity):

+0

8 data bits (ASCII code, 9th bit = parity):

+1

Block Check Character (BCC) any BCC:

+0

Block Check Character (BCC) BCC control character not permitted:

+2

Transmission stop through RTS active:

+4

Transmission stop through RTS inactive:

+0

Transmission stop through DC3 active:

+8

Transmission stop through DC3 inactive:

+0

Character parity even:

+0

Character parity odd:

+16

Character parity not desired:

+0

Character parity desired:

+32

1

1

/

2

Stop bits:

+0

2 Stop bits:

+64

1 Stop bit:

+128

1 Stop bit:

+192

Example:
Use the following setting to adjust the TNC interface EXT2 (MP 5020.1)
to an external non-HEIDENHAIN device:
8 data bits, any BCC, transmission stop through DC3, even character
parity, character parity desired, 2 stop bits
Input value: 1+0+8+0+32+64 = 105 (entry value for MP 5020.1)

Interface type for EXT1 (5030.0) and EXT2 (5030.1):

MP5030.x

Standard transmission:

0

Interface for blockwise transfer:

1

Define data transfer through EXT1 (xxxx.0) and EXT2 (xxxx.1):

MP5200.x

Start transmission (STX):

Decimal value for ASCII character (0 to 127)

MP5201.x

End transmission (ETX)

MP5202.x

Data input (1st character) H

MP5203.x

Data input (2nd character) E

MP5204.x

Data output (1st character) H

MP5205.x

Data output (2nd character) A

MP5206.x

Start of heading (SOH)

MP5207.x

End of transmission block (ETB)

MP5208.x

Positive acknowledgement (ACK)

MP5209.x

Negative acknowledgement (NAK)

MP5210.x

End of transmission (EOT)

426