Unlock instant, AI-driven research and patent intelligence for your innovation.

Communication method and system based on RS485 bus, computer equipment and storage medium

A communication method and technology of a communication system, which is applied in the direction of instrumentation, electrical digital data processing, etc., can solve problems such as data loss and communication anomalies, avoid data conflicts, improve communication efficiency and reliability, and solve data loss or communication anomalies Effect

Pending Publication Date: 2022-03-18
重庆德尔星测控技术研究院有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the deficiencies in the prior art, the communication method, system, computer equipment and storage medium based on the RS485 bus provided by the present invention solve the problem of data loss or abnormal communication in the prior art, and realize that the slave station nodes sequentially Communication response, not only reduces the communication interaction frequency but also avoids data conflicts, improving the communication efficiency and reliability of the RS485 bus

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and system based on RS485 bus, computer equipment and storage medium
  • Communication method and system based on RS485 bus, computer equipment and storage medium
  • Communication method and system based on RS485 bus, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0024] figure 1 Shown is a schematic flow chart of a communication method based on the RS485 bus provided by the embodiment of the present invention; as figure 1 As shown, it is applied to a communication system based on the RS485 bus, and the communication system includes a master station and a plurality of slave stations, and the mas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a communication method and system based on an RS485 bus, computer equipment and a storage medium, and the method comprises the steps: generating an address association table according to the address identifiers of a master station and all slave stations; when each slave station receives the broadcast data sent by the master station, whether a response message needs to be sent currently is judged; if the current slave station judges that the response message does not need to be sent currently, the current slave station judges whether the response message sent by the associated station is received or not; if the current slave station receives a response message sent by the associated station, the current slave station sends a target response message, so that the master station receives the target response message sent by the current slave station through the RS485 bus; the problem of data loss or abnormal communication in the prior art is solved, the slave station nodes sequentially carry out communication response, the communication interaction frequency is reduced, data conflicts are avoided, and the communication efficiency and reliability of the RS485 bus are improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a communication method, system, computer equipment and storage medium based on the RS485 bus. Background technique [0002] With the development of automated production lines, intelligent manufacturing, digital factories, etc., universal controllers are more and more widely used, and more and more modules for sampling and control signals need to be connected to the controller, which affects the scalability of the controller. And communication speed puts forward higher requirements. As a two-wire differential bus, RS-485 has the characteristics of supporting multiple nodes, long communication distance, and strong anti-interference. The bus network topology generally adopts a terminal-matched bus structure. At the same time, RS485 communication usually adopts half-duplex mode, and the bus can only handle one communication at the same time. When a station makes a dat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/16
CPCG06F13/1621G06F2213/0002G06F2213/0064Y02P90/02
Inventor 杨泽林张义重
Owner 重庆德尔星测控技术研究院有限公司