User's Manual Part 1

NPort W2004 User’s Manual Choosing the Proper Operation Mode
4-3
TCP Client Mode
In TCP Client mode, NPort W2004 can
actively establish a TCP connection to a
pre-defined host computer when serial
data arrives.
After the data has been transferred,
NPort W2004 can disconnect
automatically 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 W2004 requests a
connection to the host.
TCP Client Mode
Request a
connection
Proceed with
data transmission
1
2
1
2
NPort W2004
TCP/IP
WLAN
RS-232
Console
Device Serv
er
NPort W2004
WLAN
P1
P3
P2
P4
P1
P2
P3
P4
Signal
Strength
Ready
RS-232/422/485
Ethernet
Serial (TTL)
Serial Device
2. Once the connection is established, data can be transmitted in both directions—from the
host to the NPort W2004, and from the NPort W2004 to the host.
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 more host
computers. The serial device can also
receive data from multiple host computers,
making this mode ideal for message
display applications.
UDP Mode
Proceed directly with data
transmission (connection
request not required)
NPort W2004
TCP/IP
WLAN
RS-232
Console
Device Serv
er
NPort W2004
WLAN
P1
P3
P2
P4
P1
P2
P3
P4
Signal
Strength
Ready
RS-232/422/485
Ethernet
Serial (TTL)
Serial Device