Link mode: configure se5001a as a tcp client – Atop Technology SE5001A User manual User Manual

Page 36

Advertising
background image

User Manual Version 1.0

SE5001A Serial Device Server

34

3.3.7. LINK Mode: Configure SE5001A as a TCP Client

By selecting the TCP Client mode, it means that a TCP Server program should be prepared to connect to SE5001A.
Figure 3.24 shows all the settings provided for the TCP Client.

 Click on the

COM1 link on the left hand side.

 Select TCP Client.
 Enter the preferred Destination IP and Port. This should match the IP settings of the TCP Server program.
Connect Rule: Decide how SE5001A should connect to the TCP Server here. If SE5001A should always

keep the connection, select TCP Connect on Power-on. This means SE5001A would connect to the TCP
Server program when SE5001A is powered on. By default, TCP Connect on Any Serial Character is
selected. This means that SE5001A would only connect to the TCP Server program when it receives data
from its serial interface. If TCP Connect on Any Serial Character is selected, there are two additional
options to change, which are Serial Inactivity Time Before Disconnect and Waiting Time Between
Re-connect Attempts
. Serial Inactivity Time Before Disconnect determines how long SE5001A should
wait before closing a TCP connection if there is no incoming serial data. The default value is 40 seconds.
Waiting Time Between Re-connect Attempts determines the time SE5001A should wait before it tries to
establish a connection with a TCP Server again if it fails to connect to the TCP Server. The default value is 1
minute.

TCP Keep-Alive:

Specify the interval in the “Idle Time Before Sending TCP Alive Packet” to force

SE5001A to send TCP Keep-Alive packets in the set interval to prevent disconnection from the client. Note
that this field has a multiplier of 10, so the default value 4 means to send Keep-Alive packets every 40
seconds.

TCP Inactivity Timeout:

Specify the value in “TCP Inactivity Time Before Disconnect” to force SE5001A

actively close a TCP connection after some specific inactivity time (no packets). The default value is 0,
which means the SE5001A would never actively close an established connection.

 Scroll to the bo

ttom of the page and click on “Save Configuration” button to save the changes.

 Go to the Application Configuration section starting from

3.3.11

to apply Virtual COM, Pair Connection, or

Reverse Telnet application if applicable. Otherwise go to the COM Configuration (section

3.3.19

) for serial

settings directly.

Advertising