beautypg.com

Tcp server mode, Tcp server mode -14 – Moxa Technologies NPort 5400 User Manual

Page 39

background image

NPort 5400 Series User’s Manual

Web Console Configuration

5-14

If the user wants to send the series of characters in a packet, the serial device attached to NPort
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 NPort’s internal buffer size. The serial
communication buffer size of NPort is 1 Kbytes per port.

TCP Server 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: NPort automatically closes the TCP connection if there is no TCP activity for the
given time. After the connection is closed, NPort starts listening for another host’s TCP
connection.

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: NPort automatically closes the TCP connection if there is no serial data activity for
the given time. After the connection is closed, NPort starts listening for another host’s TCP
connection.
This parameter defines the maintenances 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 there is
connection close request. Although inactivity time is disabled, the NPort will check the connection
status between the NPort and remote host by sending “keep alive” packets periodically. If the
remote host does not respond to the packet, it assumes that the connection was closed down
unintentionally. NPort will then force the existing TCP connection to close.