Moxa Technologies 5400 user manual TCP Client Mode, UDP Mode, Real COM Mode

Models: 5400

1 96
Download 96 pages 46.55 Kb
Page 25
Image 25

Choosing the Proper Operation Mode

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.

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.

Real COM Mode

NPort comes equipped with COM drivers that work with Windows 95/98/ME/NT/2000/XP systems, and also TTY drivers for Linux systems. The driver establishes a transparent connection between host and serial device by mapping the IP:Port of the NPort’s serial port to a local COM/TTY port on the host computer. This operation mode also supports up to 4 simultaneous connections, so that multiple hosts can collect data from the same serial device at the same time.

NPort 5400 Series User’s Manual 4-3

Page 25
Image 25
Moxa Technologies 5400 user manual TCP Client Mode, UDP Mode, Real COM Mode, Choosing the Proper Operation Mode