NPort 5200 Series User’s Manual
Choosing the Proper Operation Mode
4-4
TCP Client Mode
In
TCP Client Mode
, NPort 5200 can actively
establish a TCP connection with a pre-determined
host computer when serial data arrives.
After the data has been transferred, NPort 5200
can disconnect automatically from the host
computer by using the
TCP alive check time
or
Inactivity time
settings. Refer to Chapter 5 for
detailed configuration instructions.
As illustrated in the figure, data transmission
proceeds as follows:
1.
The NPort 5200 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 5200, and from the NPort
5200 to the host.
TCP Client Mode
1
Request a
connection
2
Proceed with
data transmission
TCP/IP
Ethernet
TCP Client
RS-232
Device
1
2
10/100M
Ethernet
V+
V-
P1 RS-232
P2 RS-232
Ready
Link
P1
P2
Industrial RS-232
Device Server
5210
RESET
12-30V
UDP Mode
Compared to TCP communication, UDP is faster
and more efficient. In UDP mode, you can unicast
or multicast data from the serial device to one or
multiple host computers, and the serial device can
also receive data from one or multiple host
computers, making this mode ideal for message
display applications.
UDP Mode
Directly proceed with
data transmission
(no connection required)
TCP/IP
Ethernet
RS-232
Device
10/100M
Ethernet
V+
V-
P1 RS-232
P2 RS-232
Ready
Link
P1
P2
Industrial RS-232
Device Server
5210
RESET
12-30V
Pair Connection Mode
Pair Connection Mode employs two NPort 5200 in tandem, and can be used to remove the
15-meter distance limitation imposed by the RS-232 interface. One NPort 5200 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 5200.
The two NPort 5200 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.