Tcp client mode – Moxa Technologies NE-4100 User Manual

Page 48

Advertising
background image

NE-4100 Series User’s Manual

Web Console Configuration

6-13

If the user wants to send the series of characters in a packet, the serial device attached to the
NE-4100 should send characters without time delay larger than Force Transmit timeout between
characters and the total length of data must be smaller than or equal to NE-4100’s internal buffer
size. The serial communication buffer size of NE-4100 series is 1 Kbyte per port.

TCP Client Mode

TCP alive check time

Setting

Factory Default

Necessity

0 to 99 min

7 min

Optional

0 min: TCP connection is not closed due to an idle TCP connection.

1 to 99 min: NE-4100 automatically closes the TCP connection if there is no TCP activity for the
given time.

Inactivity time

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

0 ms: TCP connection is not closed due to an idle serial line.

0-65535 ms: NE-4100 automatically closes the TCP connection, if there is no serial data activity
for the given time.

This parameter defines the maintenance status as Closed or Listen on the TCP connection. The
connection is closed if there is no incoming or outgoing data through the serial port during the
specific Inactivity time.

If the value of inactivity time is set to 0, the current TCP connection is maintained until a
connection close request is received. Although the inactivity time is disabled, the NE-4100 will
check the connection status between the NE-4100 and remote host by sending “keep alive”
packets periodically. If the remote host does not respond to the packets, it treats the connection as
being down unintentionally. NE-4100 will then force the existing TCP connection to close.

The Inactivity time should at least be set larger than that of the Force Transmit timeout. To prevent the
unintended loss of data due to the session being disconnected, it is highly recommended that this value
is set large enough so that the intended data transfer is completed.

Advertising