User Manual
Your Trustworthy Industrial IoT Partner www.pusr.com
3.2.5. Open web server
Users can visit the web server of the gateway conveniently with configuration tool. Select the device you want to visit and right
click,then click External web config ,you will open the web server with default browser such as Google Chrome. As shown in Fig.34.
4. Operation modes
The USR-M100 gateway provides various operations: TCP Server/ Client mode, UDP mode, HTTP mode and Websocket mode. The
main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an
acknowledgement to the sender. UDP does not require this type of verification, making it possible to offer speedier delivery. UDP also
allows unicast or multicast of data to only one IP or groups of IP addresses. Detailed descriptions of each operation are provided in
following sections. After choosing the proper operation mode in this chapter, refer to Chapter 3 for detailed configuration
parameter definitions.
4.1. TCP Server
4.1.1. Properties
In TCP server mode, the TCP connection is initiated from the host to the USR-M100 gateway. This operation mode supports a
maximum of 16 simultaneous connections for each serial port on the gateway from a single or multiple hosts. After the connection is
established between the gateway and the remote host computer (remote TCP client) , data can be transmitted in both directions. The
serial port on the device will forward requests from all remote connected hosts(Ethernet) to the serial device immediately and reply to
all remote connected hosts once it receives data from the serial device.
The default operation mode of USR-M100 is the TCP Server mode. Fig.35 shows an example of configuration setting for TCP Server
working mode under the Uart1 socket tab. You can configure other serial ports in the same way.
Fig. 35 TCP server work mode
Please follow the following steps to configure connection settings of the work mode for Uart1 port.
1. Click on the “Uart1” tab on the menu frame on the left side of Web UI to go to Uart1 page as shown in Fig.35.
2. For Serial Settings on the Port configuration page, please go to Section 3.1.3.
3. Click on the Socket tab in this page, select TCP Server in the working mode options. The local ports of different serial ports must
be different. After receiving network data, the device determines which serial port the data is sent to based on the local port. For
example, the default port number of the first serial port (Uart1) is 23, the default port number of the second serial port (Uart2) is 26,