Low-load communication method based on RS485 bus

A communication method and low-load technology, applied in the field of communication, can solve the problems of high system cost and high slave load, and achieve the effect of low system cost, low slave load, and high system cost

Active Publication Date: 2021-03-26
GUANGZHOU QINGTIAN INDAL
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the technical defects of high slave load and high system cost in the above-mentioned existing communication method, the present invention provides a low-load communication method based on RS485 bus with low slave load and low system cost

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
  • Low-load communication method based on RS485 bus
  • Low-load communication method based on RS485 bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0028] Such as Figure 1 ~ Figure 2 As shown, a kind of low-load communication method based on RS485 bus of the present invention is characterized in that, the method comprises:

[0029] 101. Start and initialize the master and each slave, and each slave enters a ready state.

[0030] Said starting and initializing the master and each slave, each slave enters the ready state, specifically, the master and each slave complete the necessary initialization work in the initialization state, and then each slave will switch to the ready state, said The ready state includes: the slave machine starts the function of receiving data and waits for the data from the host machin...

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 relates to a communication method, in particular to a low-load communication method based on an RS485 bus. The method comprises the following steps: starting and initializing a host andeach slave, and enabling each slave to enter a preparation state; enabling a host sequentially to send messages to slaves at fixed polling intervals; if the slave receives the effective message withinthe response time, analyzing the message of the host; if the received message is a request message for the current slave, switching the current slave to a sending state; if the received message is not the request message for the current slave, switching the current slave to a dormant state; if each slave does not receive the effective message within the response time, the slave is switched to anoffline state; and enabling the host to skips the slaves in the offline state and continuously polls the remaining slaves. The communication method has the advantages of lower slave load and lower system cost, solves the problems of high slave load and high system cost in the existing communication method, and meets the communication requirements of the host and the slaves.

Description

technical field [0001] The invention relates to a communication method, in particular to a low-load communication method based on an RS485 bus. Background technique [0002] The RS485 bus is an internal communication standard commonly used between programmable logic controllers in industrial environments. It adopts a half-duplex working mode and supports multi-point data communication. The RS485 bus also has the characteristics of balanced transmission and differential reception, so it has the ability to suppress common-mode interference. Generally speaking, the network topology of the RS485 bus adopts a terminal-matched bus structure, that is, a bus is used to connect each node in series. , in this kind of network system, there is usually a host with relatively powerful performance, which is used to receive and process data, and there are many slave machines on each node, and the performance of the slave machines is poor, so as to meet the basic data interaction function a...

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): H04L12/40H04L12/02
CPCH04L12/40006H04L12/02Y02D30/50
Inventor 杨康佳秦茂张兴旺孙君光解建伟赖前程
Owner GUANGZHOU QINGTIAN INDAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products