EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Handshaking

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
July 2013 10.8 Data Transmission Protocols 1911
At the end of every block, the receiver checks whether it has been transferred
correctly.
To do this, the receiver computes a BCC from the received block and
compares it with the received BCC. If the received BCC and the computed
BCC are identical, the receiver transmits the character <ACK> for positive
acknowledgment. If the two BCCs are not identical, the data block was not
transmitted correctly. The receiver transmits the character <NAK> for
negative acknowledgment. The block must be re-transmitted. This process is
repeated up to 15 times, then the error message Transferred data incorrect
E is output. Transmission is aborted.
If the header is acknowledged with <ACK>, the first file block can be
transmitted:
The beginning of a file block is identified by the control character <STX>. The
remaining control characters in this block are identical with the control
characters in the header. If this block is acknowledged by <ACK>, then the
next program block is transmitted. If <NAK> is transmitted, the same block
has to be re-transmitted, etc. Once the last program block has been
acknowledged by <ACK>, the transmission is terminated by the characters
<ETX> (end of text) and <EOT> (end of transmission).
Handshaking The character <DC1> (XON) follows the BCC. This character is required by
many devices to explicitly request the transmission once again from the
transmitter.
The <DC1> character is not required for reading in a file in the BCC format.
The transmitter waits and only resumes data transmission when the receiver
has transmitted a positive (ACK) or negative (NAK) acknowledgment to
indicate that the receiving buffer is ready.
To disable transmission of the <DC1> character in the EXT1, EXT2, EXT3 and
EXT4 modes:
Set MP5020.x bit 3 = 0.
Example:
To read out a pallet file with the name PPP to a peripheral device (e.g. FE 401).
iTNC to peripheral Peripheral to iTNC
<SOH><L>PPP<A><ETB>BCC <ACK>
<STX> "1st line"<ETB>BCC <ACK>
... ...
<STX> "10th line"<ETB>BCC <NAK>
<STX> "10th line"<ETB>BCC <ACK>
<STX> "11th line"<ETB>BCC <ACK>
... ...
<STX> "last line"<ETB>BCC <ACK>
<ETX><EOT>

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals