06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If the two BCCs are not identical, the receiver sends character (= Not AcKnowledged), i.e.<br />

the data block has been incorrectly transferred and the same block must be sent again. This process<br />

is repeated up to three times. An error message ("TRANSFERRED DATA INCORRECT N") is<br />

displayed, and transfer is aborted.<br />

If, however, this header is acknowledged with , the first data block can be transmitted:<br />

0 BEGIN PGM 1 MM BCC .<br />

The start of a data block is always indicated by control character . The other control<br />

characters in this block are identical to the control characters of the header.<br />

If the block is acknowledged with , the next program block is sent. In the event of a ,<br />

the same block must be repeated, and so on...<br />

If the last program block has been sent successfully (acknowledged with ), transmission<br />

ends with characters (End of Text) and (End of Transmission).<br />

Table of control characters:<br />

Character Meaning Description<br />

SOH Start of Header SOH indicates the start of the<br />

transfer of the data header. The<br />

header is a sequence of characters<br />

which contains the program number<br />

and information concerning the type<br />

of program and transmission mode.<br />

STX Start of Text STX indicates the start of the<br />

program block.<br />

ETB End of Text Block ETB ends a data transfer block. The<br />

character following ETB is used for<br />

data checking (BCC).<br />

DC1 Start data transfer (XON) DC1 starts data transfer after a stop.<br />

DC3 Stop data transfer (XOFF) DC3 stops data transfer.<br />

ETX End of Text ETX is sent at the end of the<br />

program.<br />

EOT End of Transmission EOT ends data transmission and<br />

produces the quiescent state. This<br />

character is sent by the <strong>TNC</strong> at the<br />

end of program input, and as an error<br />

to external devices<br />

ACK ACKnowledged ACK is sent by receiver when a data<br />

block has transferred without error.<br />

NAK Not AcKnowledged NAK is sent by the receiver when a<br />

data block has transferred<br />

incorrectly. The transmitter must<br />

transmit the data block again.<br />

8/95 <strong>TNC</strong> <strong>360</strong> 2 <strong>TNC</strong> data interfaces 8-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!