EasyManuals Logo

Waveshare UART TO ETH User Manual

Waveshare UART TO ETH
51 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
RS485 TO ETH ( B)
Figure 17 Acting as both a client and a server
By default, when using Vircom for configuration, if you change the working mode to " TCP
client", the port (that is, the local port) will automatically become 0 (0 means a free port is
randomly selected). In order to be able to support the TCP server mode, the computer software
must know the local port of the device, so a value needs to be specified here. As shown in Figure
17, the computer software can now connect to the 1024 port of 192.168.1.200 for
communication, and the device will also act as a client Connect to the 1024 port of
1 92.168.1.189. It should be noted that since the local port 1024 is occupied by the server, the
local port when used as a client is "port+1", that is, the software on 192. 168.1.189 sees that the
incoming port of the device is 1024+1 =1025.
5 . 2 . 5 . UDP MODE
In UDP mode, the parameter configuration is shown in Figure 18. The left side is the
configuration of the serial server in Vircom, and the right side is the setting of the serial
debugging tool SSCOM. First of all, both must be UDP working modes. In addition, indicated by
the red arrow, the destination IP and destination port of the network tool must point to the local
IP and local port of the serial server. As indicated by the blue arrow, the destination IP of the
serial server must be the IP address of the computer where the network tool is located, and the
destination port of the serial server must be the local port of the network debugging tool. Only
after these network parameters are configured can two-way UDP data communication be
ensured.
30 / 52 www.waveshare.com

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Waveshare UART TO ETH and is the answer not in the manual?

Waveshare UART TO ETH Specifications

General IconGeneral
BrandWaveshare
ModelUART TO ETH
CategoryControl Unit
LanguageEnglish

Related product manuals