Moxa Technologies NE-4100 User Manual

Page 47

Advertising
background image

NE-4100 Series User’s Manual

Web Console Configuration

6-12

Max. connection 1:
Allows only 1 host’s Real COM driver to open the specific NE-4100 serial port.

Max connection 2 to 4:
Allows 2 to 4 host’s Real COM drivers to open the specific NE-4100 serial port, at the same time.
When multiple hosts’ Real COM drivers open the serial port at the same time, the COM driver
only provides a pure data tunnel without control ability.

Application software that is based on the COM driver will receive a driver response of “success”
when the software uses any of the Win32 API functions. The firmware will only send the data
back to the driver on the host.

Data will be sent first-in-first-out when data comes into the NE-4100 from the Ethernet interface.

When Max Connection is not 1, it also means that NE-4100 will be in “multi connection application.”
In the “multi connection application,” when one of two to four hosts closes the COM port, NE-4100
will suspend receiving or sending serial data until the host successfully closes the COM port.

In multi connection applications, NE-4100 will use the serial communication parameters set in the
console. If the host opens the COM with parameters different from NE-4100’s console setting, data
communication may not work properly.


Delimiter 1

Setting

Factory Default

Necessity

00 to FF

“0” for None

Optional

Delimiter 2

Setting

Factory Default

Necessity

00 to FF

“0” for None

Optional

Once the NE-4100 receives both delimiters through its serial port, it immediately packs all data
currently in its buffer and sends it out the NE-4100’s Ethernet port.

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 1K, the NE-4100 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.

Force Transmit

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

0: Disable the force transmit timeout.

1 to 65535: Forces the NE-4100’s TCP/IP protocol software to try to pack serial data received
during the specified time into the same data frame.

This parameter defines the time interval during which NE-4100 fetches the serial data from its
internal buffer. If data is incoming through the serial port, NE-4100 stores the data in the internal
buffer. NE-4100 transmits data stored in the buffer via TCP/IP, but only if the internal buffer is
full or if the force transmit time interval reaches the time specified under Force Transmit timeout.

Optimal force transmit timeout differs according to your application, but it must be at least larger
than one character interval within the specified baud rate. 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 a character is 10 bits, and the time required to transfer one character is

( 10 bits / 1200 bits/s ) * 1000 = 8.3 ms.

Therefore, you should set Force Transmit timeout to be larger than 8.3 ms. Force Transmit
timeout is specified in milliseconds and must be larger than 10 ms.

Advertising