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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.2 Handshaking<br />

A "handshake" procedure is often used in connection with interfaces. This means that two devices<br />

are, as it were, working "hand in hand" in order to control data transfer. A distinction is drawn<br />

between "software handshaking" and "hardware handshaking".<br />

Either hardware or software handshaking can be chosen for communication between two units.<br />

1.2.1 Hardware handshaking<br />

With this procedure, control of data transfer is executed by electrical signals. Important information,<br />

such as "Clear To send" (CTS), "Clear to receive", "Start transmission" and "Stop transmission", is<br />

signaled by the hardware.<br />

For example, when a computer character is to be transmitted, the CTS signal line (see Section 2.2<br />

"RS-232-C/V.24 interface") is checked to see whether it is active (ON). If it is, the character is<br />

transmitted. Otherwise the computer will delay transmission until the CTS line is switched to active.<br />

Hardware handshaking requires, as a minimum, two data lines - TxD and RxD, the RTS control line<br />

and the CTS signal line and a ground connection.<br />

1.2.2 Software handshaking<br />

With software handshake, control of data transfer is achieved by appropriate control characters<br />

transmitted via the data line. One such handshake is the XON/XOFF method, which is in widespread<br />

use on the RS-232-C/V.24 interface. The meaning "XON" is assigned to an ASCII code control<br />

character (DC1) and the meaning "XOFF" to another (DC3). Before transmitting a character, the<br />

computer checks whether the receiving unit is transmitting the XOFF character. If it is, it delays<br />

transmission until it receives the character XON, indicating that the connected unit is ready to<br />

receive further characters.<br />

Apart from the data lines (TxD, RxD), and ground, no other lines are needed for software<br />

handshaking.<br />

8/95 <strong>TNC</strong> <strong>360</strong> 1 Introduction 8-9

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

Saved successfully!

Ooh no, something went wrong!