beautypg.com

Tcp client mode, Udp mode, Pair connection mode – Moxa Technologies NPort 5600 User Manual

Page 28: Tcp client mode -4, Pair connection mode -4

background image

NPort 5600 Series User’s Manual

Web Console Configuration

4-4

TCP Client Mode

In TCP Client mode, NPort can actively establish
a TCP connection to a pre-defined host computer
when serial data arrives.

After the data has been transferred, NPort can
automatically disconnect from the host computer
by using the TCP alive check time or Inactivity
time
settings. Refer to chapter 5 for more details.

As illustrated in the figure, data transmission
proceeds as follows:

1. The NPort configured for TCP Client Mode

requests a connection from the host.

2. Once the connection is established, data can be

transmitted in both directions—from the host
to the NPort, and from the NPort to the host.

TCP Client Mode

1Request a
connection

2Proceed with
data transmission

TCP Client

1

2

TCP/IP

Ethernet

RS-232/422/485

Device

5610-16

UDP Mode

Compared to TCP communication, UDP is faster
and more efficient. In UDP mode, you can
multicast data from the serial device to multiple
host computers, and the serial device can also
receive data from multiple host computers, making
this mode ideal for message display applications.

TCP/IP

Ethernet

Directly proceed with
data transmission
(no connection required)

UDP Mode

RS-232/422/485

Device

5610-16

Pair Connection Mode

Pair Connection Mode employs two NPort 5600 in tandem, and can be used to remove the
15-meter distance limitation imposed by the RS-232 interface. One NPort 5600 is connected from
its RS-232 port to the COM port of a PC or other type of computer, such as hand-held PDAs that
have a serial port, and the serial device is connected to the RS-232 port of the other NPort 5600.
The two NPort 5600 units are then connected to each other with a cross-over Ethernet cable, both
are connected to the same LAN, or in a more advanced setup, they communicate with each other
over a WAN (i.e., through one or more routers). Pair Connection Mode transparently transfers
both data and modem control signals (although it cannot transmit the DCD signal) between the
two NPorts.