2 data transfer with block check character (bcc) – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 524

Advertising
background image


8/95

TNC 360

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+Z FMAX <CR> <LF>

13 Z–10 F100 M03 <CR> <LF>

TNC

.

.

.

.

.

.

Hardware handshake (see Section "Freely configurable interfaces").

2.4.2 Data transfer with Block Check Character (BCC)

This protocol, specific to HEIDENHAIN, works with different control characters and with additional
data checking when transmitting.

In the freely configurable operating modes (EXT), the following control characters - <SOH>,
<ETB>, <STX>, <ACK>, <NAK>, <ETX>, <EOT> - can be defined as arbitrary ASCII characters
(see Section "Freely configurable interfaces").

Advertising