beautypg.com

Moxa Technologies 5400 User Manual

Page 39

background image

Web Console Configuration

Max Connection

Setting

Factory Default

Necessity

1, 2, 3, 4

1

Required

Max Connection is usually used when the user needs to receive data from different hosts
simultaneously. The factory default only allows 1 connection at a same. When Max Connection is set
to 1, the Real COM driver on the specific host has the full control.

Max. Connection 1:

Allows only 1 host’s Real COM driver to open the specific NPort serial port.

Max Connection 2 to 4:

Allows 2 to 4 host’s Real COM drivers to open the specific NPort 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. That is, this serial port parameter will use firmware’s
settings, not depend on your application program (AP).

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 NPort from the Ethernet interface.

When Max Connection is not 1, it also means that NPort will be in “multi connection application”. In
the “multi connection application”, when one of two to four host close the COM port, NPort will
suspend to receive or send serial data until the host successfully close the COM port.

In multi connection application, NPort will use the serial communication parameters set in console. If
the host open COM with different parameters to NPort’s console setting, data communication may not
work properly



Delimiter 1

Setting

Factory Default

Necessity

00 to FF

None

Optional

Delimiter 2

Setting

Factory Default

Necessity

00 to FF

None

Optional

Once the NPort receives both delimiters through its serial port, it immediately packs all data currently
in its buffer and sends it to the NPort’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 NPort 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.

NPort 5400 Series User’s

Manual

5-13