Method and system for locally realizing automatic address allocation of RS485 slave equipment

A technology of RS485 and address allocation, applied in the transmission system, electrical components, etc., can solve the problems of increasing on-site human intervention, external force damage of the DIP switch, strong support, etc., to reduce the participation of on-site personnel debugging and background technical personnel, The effect of reducing the link of controlling power supply and querying group class, and shortening the time of assigning addresses

Active Publication Date: 2020-05-12
HAIFENG NAVIGATION TECH
View PDF11 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There may be two situations: (a) carry out independent RS485 communication for each group, expand the RS485 communication port, and carry out one-to-one correspondence between the communication between the host and the slave device, and put forward the requirements for the cost of hardware chips and external wiring and the space required for the circuit board Special requirements; (b) Select the DIP switch; it is easy for on-site personnel to operate and implement, but the disadvantage is that it generally needs to dismantle the shell for configuration, and the DIP switch is also easily damaged by external force, causing unnecessary trouble
This method also has two deficiencies: (1) On-site record feedback is required, and each record needs to be set separately, which increases the on-site human intervention and raises the requirements for the site; (2) The parameters set according to the site needs are handed over to the background The operation and processing of the management personnel increases the communication link and requires greater support; each device also needs clear statistical record parameters

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
  • Method and system for locally realizing automatic address allocation of RS485 slave equipment
  • Method and system for locally realizing automatic address allocation of RS485 slave equipment
  • Method and system for locally realizing automatic address allocation of RS485 slave equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0081] A project has a control panel, and the slave devices of the system are divided into multiple groups. Among them, group 1 has a maximum of 8 devices, and the minimum response time for communication between the master and slave devices needs to be 2ms. Set the group type of slave devices, the actual number of devices in the group, local number. Then the host device waits for the local numbering time of the slave device feedback = 8*3*2ms=48ms, the host device sends the command frame, loops 5 times, and does not receive any feedback information that meets the requirements, then it is considered that the process of configuring the address is over. The response results of the above process are shown in Table 2.

[0082] The specific method flow is as follows:

[0083] Press the combined key combination of light test and silence (combination key command information to start assigning addresses), the host device receives the panel combination key to automatically assign addre...

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 discloses a method and a system for locally realizing automatic address allocation of RS485 slave equipment. The method comprises the following steps that: host equipment selects one setof slave equipment to issue an address allocation instruction to the slave equipment; the slave equipment acquires the random number, waits for an interval, and returns the random number, the local number and the group number to which the slave equipment belongs; and the host equipment checks the random number and the local number, determines a group address and a local address after the random number and the local number are correct, and sends the group address and the local address to the slave equipment, and if the group address and the local address are correct, the next slave equipment of the to-be-processed group repeatedly executes the above steps until all slave equipment in the group are successfully allocated, and the next group is changed to repeatedly execute the above steps.The method is easy to operate and implement, the specific method process can be modified and cut according to the actual situation, localization can be truly achieved, background remote record checking is not needed, and on-site personnel debugging and background technician participation are reduced.

Description

technical field [0001] The invention belongs to the application field of electronic communication engineering, and in particular relates to a method and a system for locally realizing group address and local address automatic distribution of RS485 slave equipment. Background technique [0002] The RS485 communication bus has the characteristics of strong anti-common-mode interference ability, multi-party parallel communication in the field, and long distance transmission signal. It is widely used in the field of engineering wired communication. [0003] In the communication system, the host performs grouping and individual query functions for each slave device, requiring RS485 devices to have grouping and independent address attributes. Its usual practice is as follows: [0004] Hardware Configuration. There may be two situations: (a) carry out independent RS485 communication for each group, expand the RS485 communication port, and carry out one-to-one correspondence betwe...

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): H04L29/12
CPCH04L61/5038H04L61/5069
Inventor 魏丹吕垒平刘志强肖巍许英张斌
Owner HAIFENG NAVIGATION TECH
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