Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bus address automatic allocation and identification method, electronic equipment, storage medium and program product

An automatic allocation and bus address technology, applied in the field of data communication, can solve the problems of inflexible RS485 bus address allocation method, inability to add new equipment, lack of identification mechanism, etc., to avoid equipment loss, low error rate, and high flexibility. Effect

Pending Publication Date: 2022-05-24
RENOGY NEW ENERGY CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the deficiencies in the prior art, the object of the present invention is to provide a bus address automatic allocation and identification method, which solves the inflexibility of the existing RS485 bus address allocation method, the high requirements for on-site operators, and the easy occurrence of equipment loss , new devices cannot be added, and there is a lack of related identification mechanisms

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
  • Bus address automatic allocation and identification method, electronic equipment, storage medium and program product
  • Bus address automatic allocation and identification method, electronic equipment, storage medium and program product
  • Bus address automatic allocation and identification method, electronic equipment, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Hereinafter, the present invention will be further described with reference to the accompanying drawings and specific embodiments. It should be noted that, on the premise of no conflict, the embodiments or technical features described below can be arbitrarily combined to form new embodiments. .

[0027] A method of automatic bus address allocation and identification, such as figure 1 , figure 2 shown, including the following steps:

[0028] Standardize the protocol, set unified commands on the master and slave, so that the master and slave can realize the functions of cascading, configuration and handshake in the same bus network. As shown in Table 1, the unified command includes start character, address code, function code, start address, data length, CRC check, and end character.

[0029] Table 1 Unified commands for master and slave settings

[0030]

[0031] Standard physical interface, connecting both master and slave to the first bus ( figure 1 A bus), co...

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 bus address automatic allocation and identification method, which comprises the following steps that: a host sends a cascade command to a first bus, so that all slaves connected to the first bus are subjected to address reset; the host circularly and sequentially sends broadcast, configuration and handshake commands to the first bus and waits for response of the slave; according to a device connection sequence on the second bus, the host sends an address command to the first slave through the second bus, the first slave receiving the address command responds to the first bus, and after the first slave completes allocation, the first slave sends the address command to the second slave through the second bus, and the second slave receiving the address command responds to the first bus, and loop execution is carried out until all the slaves complete address configuration. The invention relates to an electronic device, a storage medium, and a program product. The method is flexible, low in requirement for field operation personnel and low in error rate, and the situation that equipment is lost due to a bus competition mode is avoided.

Description

technical field [0001] The present invention relates to the technical field of data communication, and in particular, to a method for automatic allocation and identification of bus addresses, an electronic device, a storage medium and a program product. Background technique [0002] Before using the RS485 bus, you need to configure the device address for networking communication. At present, the RS485 bus address allocation methods include manual allocation and automatic allocation. Manual allocation refers to the need for personnel to assign addresses to each slave machine one by one, and then connect all devices through the bus. The required operations are relatively complex, this method is inflexible, and the requirements for on-site operators are too high. . Automatic allocation means that each device on the bus can automatically complete the address configuration work in a non-manual way; this method has low requirements for personnel and low error rate. In order to 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): H04L61/5038H04L12/40G06F13/42
CPCH04L12/40006G06F13/4282G06F13/4286
Inventor 黄峰
Owner RENOGY NEW ENERGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products