HEIDENHAIN TNC 306 Technical Manual User Manual
Page 430

3/97
TNC 406/TNC 306
2 TNC data interfaces
8-17
Example: protocol for dialog program:
<NUL><NUL><NUL><NUL><NUL><NUL><NUL>.. 50 times
0 BEGIN PGM 1 MM<CR><LF>
1st program block
1 TOOL DEF 1 L+0 R+3<CR><LF>
2nd program block
.
.
.
26 END PGM 1 MM <CR><LF>
Program end
<ETX><EOT>
Close data transfer menu
Example of software handshake:
Peripheral unit
Transmission path
Receiving buffer full
<DC3>
Receiving buffer again
ready to accept data
<DC1>
12 Z+2 F400 <CR> <LF>
13 Z10 M36 <CR> <LF>
TNC
.
.
.
.
.
.
Hardware handshake (see Section "Freely configurable interfaces").
2.4.2 Data transfer with Block Check Character (FE1 mode)
This protocol, specific to HEIDENHAIN, works with different control characters and with additional
data checking when transmitting.
When a file is transferred, the first block, called the
header
, is sent. It consists of the following
characters:
<SOH>"H" "Name" "M" <ETB>BCC<DC1>
<SOH> (Start of Header): This character indicates the start of the header.