EasyManua.ls Logo

Comsoft XPS - Handshake Flow Control; Xoff_Timeout - Timeout of Software Handshake

Default Icon
46 pages
Print Icon
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...
XPS/XPS-E User's Manual Contents
COMSOFT 11
2.4.3.3 Handshake Flow Control
If data is exchanged via the serial interface, XPS/XPS-E supports the following
modes for the handshake:
No Handshake
Hardware Handshake. The receive data flow can be controlled at the
respective device by setting or re-setting the RTS-/CONTROL signal
(CTS/INDICATION=0 -> no sending). A corresponding example for
cabling can be found under chapter 5.2.2 and 5.2.3.
Software Handshake. The receive data flow can be stopped by the
respective device by sending the control character XOFF (0x13). The
sending procedure will only be re-started if a XON character (0x11) is
received or a Timeout (XOFF-Timeout) for the receipt of the XON
character.
The interruption of the sending procedure or the XOFF timeout is shown in the
status byte of XPS/XPS-E (see chapter 4.2) by means of the bit
XOFF_CTS_FLAG.
Handshake Mode Value (dec) Value (hex)
Hardware Handshake (CTS, RTS for RS232
and CONTROL/INDICATION for RS422)
72 0x48
Software Handshake 83 0x53
No Handshake * 78 0x4E
Table 5: Handshake Modes Octet 14
2.4.3.4 XOFF_timeout – Timeout of Software Handshake
The XOFF timeout is calculated by means of VALUE * 100ms. This value is
entered into Octet15 of the parameterisation data. If no software handshake is
entered, this value is insignificant.
If the value 0 is given, the timeout is set to 10 seconds.
Note

Table of Contents