IP Settings and Port Allocation Methods for Serial to Ethernet Device Server

2023-06-22 usr News
Serial to Ethernet Device Server,USR-N580

There are two common ways to set the IP of a Serial to Ethernet Device Server, one is static IP, and the other is dynamic IP. Static IP requires manual setting of the IP address, subnet mask, and gateway address. It is suitable for the application environment where IP needs one-to-one correspondence. In this way, devices that cannot be assigned IP addresses can be searched, but devices in different LAN segments cannot communicate normally. The dynamic IP setting is DHCP, which is mainly used to dynamically obtain an IP address, Gateway address, DNS server address, etc. From the gateway host. In addition to not being able to access the network without DHCP Server, there is no requirement for IP, and it is suitable for intervening in the environment where the corresponding IP does not need to be specified.


Serial to Ethernet Device Serverip and Port Configuration Method

Serial to Ethernet Device Server not only supports static IP address or DHCP to obtain an IP address automatically, and can query devices in the network through UDP broadcast protocol, but also supports the change of web page port (default 80).

Set the dial switch of the usr-N510 to the default position with both switches facing down.


Open the test software "USR-TCP232-Test. Exe" "and connect the hardware according to.


Select TCP Client mode in the network setting area, input 192.168.0.7 for the server IP address and 8899 for the server port number (confirm that the hardware connection serial port is serial port 1), click Connect to establish TCP connection and set the serial port baud rate to 115200. The serial port parameter is set to None/8/1. Click Open to open the serial port.

Fig.1

What are the connection options for the Serial to Ethernet Device Server

● Direct connection mode

The so-called direct connection is to directly connect the network cable port on the computer with the Ethernet port on the Serial to Ethernet Device Server. This networking mode is simple in wiring and can realize long-distance transmission. This is because the distance from the computer to the Serial to Ethernet Device Server has increased. The production of the network cable is the same as the wiring of the network cable used for general Internet access. The serial port on the Serial to Ethernet Device Server is mapped to COM3, COM4, etc. Through the virtual serial port management software, and then it can be operated like a common serial port. For a Serial to Ethernet Device Server, if a MAX485 chip is added to its TTL serial port, it becomes RS422 or RS485, and it can also be mapped to COM3 or COM4. And so on, for the upper computer, no matter what kind of serial port mode the Serial to Ethernet Device Server outputs, its operation mode is the same as the operation mode of the COM1 and COM2 ports of the computer itself, which greatly simplifies the programming workload of the upper computer. The real advantage and value of Serial to Ethernet Device Server are not reflected in the application of direct connection mode. Connecting devices to Ethernet is an important part of its purpose.


● Ethernet connection mode

The serial device is connected to the Ethernet through the Serial to Ethernet Device Server, and the wiring mode is very simple, and only the Serial to Ethernet Device Server needs to be connected to a router or a switch. By setting the IP of the Serial to Ethernet Device Server. Address (the product of XUNWEI brand obtains DHCP dynamically by default and can obtain an IP address automatically), so that Serial to Ethernet Device Server can become a node on Ethernet. O that the device connected to the Serial to Ethernet Device Server is connected to the Ethernet, and different devices and different forms of serial ports can be connected through the networking mode.(Such as TTL, RS232, RS485 and RS422), connect to Ethernet to realize heterogeneous networking. The networking mode can connect the equipment of the whole company to the network, and in the networking process, besides the expansion of the switch and the router, the industrial Ethernet switch can also be used to expand different types of Serial to Ethernet Device Server to realize the flexible networking of the equipment. The staff can monitor the equipment according to their authority and level. Leaders, chief engineers, technical directors, and ordinary operators can monitor the system within their own authority, realize the sharing of network resources and centralized management of all systems, and build a platform for network manufacturing technology.


Serial to Ethernet Device Server Use Cases:

●Unattended weighing: The Serial to Ethernet Device Server can be used to connect weighing instruments, receipt printers, gates, and other weighing equipment to the LAN, and a LAN computer can be used to complete centralized control and data statistics management.

●Remote attendance: The attendance machine plus the Serial to Ethernet Device Server can transmit the attendance data to the server, which is very convenient for the attendance statistics of offices all over the country.

●Remote control PLC: Serial to Ethernet Device Server is added to the PLC, and the programming software is combined with the virtual serial port, thus realizing the remote programming of the PLC.


Serial to Ethernet Device Server can also be applied to POS, ATM, display screen, access control, gate, card reader, fuel dispenser, CNC machine tool, test instrument, etc.


In a word, a Serial to Ethernet Device Server is a necessary network device to realize the Internet of Things communication, remote control, and data acquisition. An excellent Serial to Ethernet Device Server should have industrial-grade, high-performance, and rich expansion functions.

  • +1 Like
  • Add to Favorites

Recommend

This document is provided by Sekorm Platform for VIP exclusive service. The copyright is owned by Sekorm. Without authorization, any medias, websites or individual are not allowed to reprint. When authorizing the reprint, the link of www.sekorm.com must be indicated.

Contact Us

Email: