記事コンテンツ画像

What is the difference between Ethernet and serial communication?

  1. The configuration of Ethernet devices is more flexible and convenient

The communication between multiple RS232 serial devices and the computer is generally achieved through the multi-serial card on the computer PCI slot or through the USB serial port connected to the USB-to-serial hub to realize the expansion of the RS232 serial port. Each PCI slot or USB interface of the computer has a A certain number limit, so that the number of RS232 serial port devices sx1276 lora module communicating with the computer is subject to a corresponding limit. Although the RS485 bus has simple wiring, many load devices, and a communication distance of up to 1200 meters, its wiring must adopt a hand-in-hand daisy chain topology. Adding devices to the RS485 bus requires laying out the line or adding a 485 repeater or 485 The hub is used to solve the wiring problem, but the Ethernet is different. As long as there is a network information port, the relevant Ethernet device can be directly connected to the Ethernet, and the number of connected devices is basically unlimited.

  2. Support hot swap work

  Be able to configure related equipment when the system is working without stopping the system. For example, when the computer needs to add a multi-serial port card to expand the number of RS232 serial ports, it is necessary to stop the computer and open the chassis to add a multi-serial port card. In the same way, when adding a corresponding 485 device to the RS485 bus, it is also necessary to interrupt the line. The corresponding equipment can be added, and to add the corresponding Ethernet equipment on the Ethernet, it only needs to connect the network cable to the nearby information port, and then configure it through the relevant software on the computer to work normally.

  3. Simple and easy to use, convenient and simple maintenance in the later period

  Regardless of RS232 equipment or RS485 bus communication, they generally only communicate with a single computer, and it is difficult to form a dual-server redundant hot backup system, but it is very easy to configure a dual-server redundant hot backup system on Ethernet. In the same way, redundant links cannot be formed based on RS232 serial port communication or RS485 bus communication. Once a problem occurs, the entire system may collapse, especially on the RS485 bus. programmable bluetooth module A problem (such as a short circuit) on the RS485 bus can easily cause the entire system to fail. The system cannot be used, and it is very difficult to find the fault point on the RS485 bus, and it needs to be checked one by one. However, based on industrial Ethernet as a means of communication, similar problems can be avoided. The industrial network using industrial Ethernet switches to lay out ring redundant links, once a link has a problem, it can recover within 20ms and give an alarm in time for maintenance. .

この記事をシェア