NPort W2150A-W4/W2250A-W4 Series User Manual
69
Settings for TCP Server Mode
When
Operation Mode
is set to
TCP Server
on a serial port’s
Operation Modes
page, configure
additional settings such as
TCP alive check time
,
Inactivity time
,
Max connection, Ignore jammed
IP, Allow driver control, TCP port, Cmd port, Connection goes down, Packet length, Delimiter 1,
Delimiter 2, Delimiter process,
and
Force transmit.
TCP alive check time
Default
7 min
Options
0 to 99 min
Description
This field specifies how long the NPort will wait for a response to “keep-alive” packets
before closing the TCP connection. The NPort checks connection status by sending periodic
“keep-alive” packets.
0: The TCP connection will remain open even if there is no response to the “keep-alive”
packets.
1 to 99: If the remote host does not respond to the packet within the specified time, the
NPort will force the existing TCP connection to close.
Inactivity time
Default
0 ms
Options
0 to 65535 ms
Description
This field specifies the time limit for keeping the connection open if no data flows to or
from the serial device.
0: The connection will remain open even if data is never received. For many applications,
the serial device may be idle for long periods of time, so 0 is an appropriate setting.
1 to 65535: If there is no activity for the specified time, the connection will be closed.
When adjusting this field, make sure that it is greater than the Force transmit time.
Otherwise, the TCP connection may be closed before data in the buffer can be transmitted.