RS485 based multi-host machine wired serial communication method
A RS485, serial communication technology, applied in the field of communication, can solve the problems of wasting communication lines and time, the slave cannot communicate directly, and the host is strongly dependent, so as to save communication time and lines, improve communication and processing efficiency, and improve The effect of efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] Figure 2 to Figure 7 Shown is an embodiment of the invention. Such as figure 2As shown, each device is connected through RS485, each device is a host, and has the same status in communication. For example: host A sends data to host B, only need to send directly through RS485. This structure gets rid of the dependence on one host, even if one or more of the connected hosts crashes, the rest of the hosts can still communicate normally. If hosts B, C, and D all want to communicate with host A, hosts B, C, and D compete for control of the bus before sending data. Once the bus is free, they can start sending until the sending is complete. The method of judging whether the bus is idle is as follows: Is the machine in the process of receiving a data packet at the moment before sending the data packet? If it is in the process of receiving a data packet, it means that the bus is busy and cannot send data that interferes with other hosts. If the bus is busy when sending, y...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 