beautypg.com

HEIDENHAIN TNC 306 Technical Manual User Manual

Page 430

background image


3/97

TNC 406/TNC 306

2 TNC data interfaces

8-17

Example: protocol for dialog program:

.. 50 times
0 BEGIN PGM 1 MM

1st program block

1 TOOL DEF 1 L+0 R+3

2nd program block

.
.
.
26 END PGM 1 MM

Program end

Close data transfer menu

Example of software handshake:

Peripheral unit

Transmission path

Receiving buffer full

Receiving buffer again

ready to accept data

12 Z+2 F400

13 Z–10 M36

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:

"H" "Name" "M" BCC

(Start of Header): This character indicates the start of the header.

This manual is related to the following products: