Serial port communication system and communication method
A technology of serial communication and communication method, which is applied in the field of industrial data communication and can solve the problems of inability to solve the data communication of the main equipment and the occasions where the communication equipment cannot be applied.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Serial port communication is a widely used single-bus data communication, which is widely used in computer serial interface and data communication between devices. It is easy to use, fast, and is a full-duplex communication method, and two devices can initiate data transmission and reception at the same time. Among them, the serial port usually adopts the RS232 standard. The serial port communication allows one-to-one connection, and does not allow one-to-many and many-to-many networking. Therefore, when there is a master device and multiple slave devices, and each device only has a serial port communication interface, this How to implement data communication between the master device and multiple slave devices through a single serial port communication interface becomes a problem to be solved. The serial port communication system disclosed in this embodiment includes a master device and multiple slave devices, and the master device and multiple slave devices are connec...
Embodiment 2
[0048] attached figure 2 This embodiment discloses a communication method for a serial port communication system, wherein the communication system includes a master device and a plurality of slave devices, and the master device and the plurality of slave devices are connected in series through serial ports step by step. This communication method can also be applied to various serial communication systems disclosed in Embodiment 1 above. The method specifically includes the following steps:
[0049] Step S1, the master device sends an address setting instruction to the first-level slave device, and the address setting instruction includes the configuration address of the first-level slave device.
[0050]In some embodiments, the master device has at least one serial port, and the slave device has at least two serial ports. First connect the TX and RX of one serial port of the master device, and connect the TX and RX of the two serial ports of the slave device respectively. ....
Embodiment 3
[0090] attached Figure 10 This embodiment discloses a method for allocating addresses for serial communication devices, and the method is used for slave devices with at least two serial ports. The slave device can be used in a serial port communication system, which includes a master device and multiple slave devices, wherein the master device is connected in series with multiple slave devices through a serial port, where the serial port can be an RS232 bus, and of course it can also be other Serial bus, of course, this communication method can also be applied to slave devices of various serial communication systems disclosed in Embodiment 1 above. In this embodiment, the address allocation method can be used in a serial port communication system. The serial port communication system has at least one serial port, and the slave device has at least two serial ports. The TX and RX of the two serial ports of the device are connected. And connect the serial port of the master de...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com