8-4
IM 755601-01E
8.3 Handshaking
When using the serial (RS-232) interface for transferring data, it is necessary for
equipment on both sides to agree on a set of rules to ensure the proper transfer of data.
The set of rules is called handshaking. Because there are many handshaking methods
that can be used between the instrument and the PC, one must make sure that the same
method is chosen by both the instrument and the PC.
You can choose any of the four methods shown in the following table.
Data Transmission Control
(Control used to send data to a PC)
Data Reception Control
(Control used to receive data from a PC)
Software
handshaking
Software
handshaking
Table of Handshaking Methods ( indicates that it is supported)
HA. 0
HA. 1
HA. 2
HA. 3
OFF-OFF
XON-XON
XON-RS
CS-RS
Handshaking method
Stops
transmission
when X-OFF is
received.
Resume when
X-ON is received.
Stops transmission
when CB(CTS) is
false. Resume when
it is true.
No
handshaking
No
handshaking
Send X-OFF
when thereceived
data buffer is
3/4th filled. Send
X-ON when the
received data
buffer becomes
1/4th filled.
Set CA(RTS) to False
when the received
data buffer is 3/4th
filled. Set to True
when the received
data buffer becomes
1/4th filled.
Hardware
handshaking
Hardware
handshaking
Instrument's
menu
OFF-OFF
Data transmission control
There is no handshaking between the instrument and the PC. The X-OFF and X-ON
signals are treated as data, and the CS signal is ignored.
Data reception control
There is no handshaking between the instrument and the PC. When the received buffer
becomes full, all overflow data are discarded.
The RS signal is fixed to True.
XON-XON
Data transmission control
Software handshaking is performed between the instrument and the PC. When an X-
OFF code is received while sending data to the PC, the instrument stops the data
transmission. When it receives the next X-ON code, it resumes the data transmission.
The CS signal received from the PC is ignored.
Data reception control
Software handshaking is performed between the instrument and the PC. When the free
area of the receive buffer decreases to 64 bytes, the instrument sends an X-OFF code.
When the free area increases to 192 bytes, it sends an X-ON code.
The RS signal is fixed to True.