Moxa Technologies NE-4100 Network Card User Manual


 
NE-4100 Series User’s Manual Web Console Configuration
6-12
The Force transmit field is typically used in conjunction with the Delimiter fields to specify how
data in the module’s buffer is packed for network transmission. When delimiters are used, the
module accumulates data in its buffer as it waits to receive a delimiter. If there is a break in
communication, data will be held in the buffer as the module continues to wait for a delimiter. The
Force transmit field allows you to specify the maximum amount of time that the module will wait
for data. With Force transmit enabled, the module will automatically pack the data in the buffer for
network transmission if no data is received for the specified time.
When set to 0, Force transmit is disabled, which means there is no time limit for how long the
module will wait to receive data. When set between 1 and 65535, the module will pack data as
soon as there has been no serial communication for the specified time.
The optimal force transmit time depends on your application, but it should be larger than one
character interval within the specified baud rate to have any effect. For example, assume that the
serial port is set to 1200 bps, 8 data bits, 1 stop bit, and no parity. In this case, the total number of
bits needed to send one character is 10 bits, and the time required to transfer one character is
(10 bits / 1200 bits/s) × 1000 ms/s = 8.3 ms.
Since it requires about 9 ms to send one character, the Force transmit should be 10 ms or more to
have any effect. At 9 ms or less, the module will simply pack every character as it is received,
which would be the same as if no delimiter characters or Force transmit time were specified at all.
Local TCP port
Setting Factory Default Necessity
1 to 65535 4001 Required
Use this field to indicate the TCP port that the module will use to listen to connections, and that
other devices must use to contact the module. To avoid conflicts with well known TCP ports, the
default is set to 4001.
Real COM Mode
Note: “Serial Command Mode” is supported in firmware version 3.0 and above.
TCP alive check time
Setting Factory Default Necessity
0 to 99 min 7 min Optional
0 min: The TCP connection is not closed due to an idle TCP connection.
1 to 99 min: The module automatically closes the TCP connection if there is no TCP activity for
the given time. After the connection is closed, the module starts listening for another host’s TCP
connection.