Introduction to troubleshooting methods for common exceptions of serial server

The serial port server is like a microcomputer with CPU, real-time operating system and TCP/IP protocol, which facilitates data transmission between serial ports and network devices. In the process of using the serial server, generally following the operation manual can basically solve the problem, but in actual operation there will still be some abnormal failures. Today, the editor of Hangzhou Feichang Technology lists the common abnormalities of the serial server as follows ,for reference only.

1. Using the converter setup program, the device cannot be found.

1. Since the converter setting program is set up using the UDP protocol, it is generally possible that the firewall with the anti-virus software blocks the UDP request, causing the device to be unable to be found.

2. Sometimes customers turn off Rising, Norton and other anti-virus software, but still can’t find the device. In this case, it is possible that the built-in firewall of WINDOWS XP is blocking UDP requests. If you want to turn off the firewall, please follow The steps are as follows: Right-click "Network Neighborhood", select "Properties", right-click "Local Area Connection", select "Properties", then select the "Advanced" option, click "Settings", enter the relevant page, and turn off the firewall.

3. Turn off all firewalls. If you still cannot find the device, you must contact the network administrator. In this case, the IP address set by the serial server may conflict with the IP address of the computer in the LAN, or it may cause The device cannot be found. It may also be because the network administrator manages the local area network and does not allow unregistered IP addresses. MAC addresses are running in the local area network, and the network administrator may be required to open it.

2. After completing the equipment on the converter, it is found that the TCP connection cannot be established.

1. It is possible that the firewall will block the TCP connection and prevent it from establishing a connection. The solution can be solved by referring to some of the above methods.

2. The IP address may be set incorrectly. If the converter is used as the client, the IP address of the server is the IP address of the computer or the network device communicating with the converter. If the converter is used as the server, it is connected to the virtual serial port. When managing the system, there is a setting of "converter as server side" in the setting wizard, and fill in the IP address and port number of the converter.

3. If you use the virtual serial port, you must select "Use virtual serial port" in the "Serial port parameter setting" of "Converter setting program". If this option is not selected, the connection management system cannot establish a TCP connection. But if If the virtual serial port is not used, if it is directly based on the WINSOCKET program, this option must be removed, otherwise the data will appear garbled.

Three. Established a TCP connection, but unable to communicate

This situation is generally reflected in the use of virtual serial ports. It is more common in the case of 485 to TCP/IP. Under normal circumstances, the communication protocol of the 485 bus is to achieve point-to-multipoint communication through polling. If there is no response from the slave machine within a certain period of time, the master is regarded as the slave does not exist, because our default parameters have a certain delay, so modifying the delay can solve this problem. In the "serial port parameter setting" of the "converter setting program" of the serial server, setting the minimum network transmission time and network maximum transmission bytes to 0,0 can basically solve this problem.

Well, the above content is the detailed introduction of Feichang Technology on the troubleshooting methods of serial server abnormalities, I hope it can be helpful to everyone! Feichang Technology , a professional manufacturer of optical transceivers, optical fiber transceivers, industrial switches, and protocol converters, independently researches and develops brands, welcome to come to understand and communicate.

Guess you like

Origin blog.csdn.net/fctel/article/details/114686805