Standard Transmission Protocol - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

8.4.2 Standard Transmission Protocol

General
information
December 2001
To set the standard data transmission protocol in the operating modes EXT1/
EXT2/EXT3:
7 7 7 7
Select MP5030.0-2 = 0.
When outputting a file, the <NUL> character is sent exactly 50 times at the
start of file. When reading in, however, the control unit ignores this character,
regardless of how often the peripheral sends the <NUL> character before the
file.
The program blocks are not checked for correctness but are transmitted one
after the other.
If you wish to signal an error to the TNC in the standard data transmission
protocol, you must send the following sequence of instructions:
<ESC><1><Error number>
If the receiver's data buffer is full, the transfer can be stopped and resumed in
one of two ways:
n
Software handshaking
• Stop transfer by sending the character <DC3> (XOFF)
• Continue by transmitting the character <DC1> (XON)
n
Hardware handshaking
• By suitable levels on the control and message lines RTS and CTS of
interfaces RS-232-C/V.24 or RS-422/V.11
Twelve characters before the receiving buffer is full, the TNC transmits the
character <DC3> to the transmitter in order to terminate transmission.
Example: Protocol for conversational NC program
<NUL><NUL><NUL><NUL><NUL> 50 times
0 BEGIN PGM 1 MM<CR><LF>
1 TOOL DEF 1 L+0 R+3<CR><LF> 2nd program block
26 END PGM 1 MM <CR><LF>
...
<ETX><EOT>
Example of software handshake
TNC to peripheral
12 Z + 2 FMAX<CR><LF>
13 Z -10 FMAX<CR><LF>
Data Transmission Protocols
1st program block
End of program
...
Close the data transmission menu
Peripheral to TNC
Receiving buffer full: <DC3>
Receiving buffer ready again: <DC1>
...
8 – 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents