![Waveshare UART TO ETH User Manual Download Page 21](http://html1.mh-extra.com/html/waveshare/uart-to-eth/uart-to-eth_user-manual_3874639021.webp)
RS485 TO ETH ( B)
4 . 6 . VIRTUAL SERIAL PORT TEST
The SSCOM2 in the figure communicates directly with the serial server through TCP. In
order to allow the user to communicate with the serial server as well as the serial software that
has been developed by the user, a virtual serial port needs to be added between the user
program and the serial server. As shown in the figure, Vircom and the user program run on the
same computer, and Vircom virtualizes a COM port, so that this COM port corresponds to the
serial server. When the user program opens the COM communication, it can be sent to the user
serial device through the Vircom serial server. The following demonstrates this operation step:
Figure 12 Application example of virtual serial port
Click "Serial" on the main interface of Vircom, then click "Add", and choose to add COM2,
where COM5 is a COM port that does not exist in the computer.
Add virtual serial port
Then enter the device management, and double-click the device that needs to be bound to
COM2. As shown in the figure, select COM2 in the "Virtual Serial Port" list in the upper left
corner. Then click "Modify Setting", and then click "Restart Dev". And return to the main
interface of Vircom. You can see that COM2 has been connected to the device with IP
192.168.1.200. At this time, COM2 can be used instead of SSCOM2 for communication.
19
/
52