User's Manual Part 1

NPort W2004 User’s Manual Web Console Configuration
5-16
0-65535 ms: NPort W2004 automatically closes the TCP connection if there is no serial data
activity for the given time. After the connection is closed, NPort W2004 starts listening for another
host’s TCP connection.
This parameter defines the maintenance status as Closed or Listen for 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 Inactivity time is set to 0, the current TCP connection is kept active until a connection close
request is received. Although Inactivity time is disabled, the NPort W2004 will check the
connection status between the NPort W2004 and remote host by sending “keep alive” packets
periodically. If the remote host does not respond to the packet, NPort W2004 assumes that the
connection was closed down unintentionally. NPort W2004 will then force the existing TCP
connection to close.
ATTENTION
The Inactivity time should be set at least larger than that of 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 can be completed.
ATTENTION
Inactivity time is ONLY active when “TCP connect on” is set to “Any character.”
Data Packing
Delimiter 1/2
Setting Factory Default Necessity
00 to FF (hex) None Optional
Once the NPort W2004 receives both delimiters through its serial port, it immediately packs all
data currently in its buffer and sends it to the NPort W2004’s Ethernet port.
ATTENTION
Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size
of the serial data received is greater than 1 KB, the NPort W2004 will automatically pack the
data and send it to the Ethernet. However, to use the delimiter function, you must at least enable
Delimiter 1. If Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not
work properly.