HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 688

Advertising
background image


01.98

TNC 407/TNC 415/TNC 425

2 TNC data interfaces

8-41

Request external directory

If the soft key "Show ext. directory" is operated, the TNC outputs a header without a program name.
The peripheral then starts to output the files to the TNC, but, after the first file block has been sent,
the TNC immediately requests the next file.

Peripheral unit

<ACK>

<STX> Name 1 <ETB> BCC <DC1>

<ACK>

<STX> Name 2 <ETB> BCC <DC1>

.
.

.

<STX> Last name <ETB> BCC <DC1>

Transmission path

<ACK>

TNC

<EOT>

<SOH> <N> <E> <ETB> BCC <DC1>

<ACK>

<SOH> <N> <E> <ETB> BCC <DC1>

<ETX>

.
.

.

<SOH> <N> <E> <ETB> BCC <DC1>

The program names read in are displayed in the TNC.

In FE1 mode, the following 'Escape' sequence is sent to request the external directory:

<DC3><ESC><DC1><0><SP><D><CR><LF>

The TNC expects the following input to this request:
The first four lines, each ending in <CR><LF>, are ignored. In subsequent lines ending with
<CR><LF>, only the program name and, after any number of blank characters, the number of
occupied sectors are stored.

xxxxxx"Name" "Sectors"xxxxxx<CR><LF>

If the character combination 'FREE:' is detected, only a number (= number of free sectors) will be
read in.

Advertising