System and method for automatically distributing address via bus

A technology of automatic allocation and communication address, applied in the direction of data exchange, transmission system, bus network, etc. through path configuration, it can solve the problems of unavoidable and increase operation and maintenance costs, and achieve the goal of reducing maintenance costs and saving electronic material costs. Effect

Inactive Publication Date: 2015-11-11
SHENZHEN YIHAOGUI TECH CO LTD
View PDF4 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the hardware binary dial switch is a physical switch, which cannot prevent damage caused by external complex environmental factors such as humidity, wind and rain. At the same time, the operator needs

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
  • System and method for automatically distributing address via bus
  • System and method for automatically distributing address via bus
  • System and method for automatically distributing address via bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] see Figure 4 and Figure 5 A system 100 for automatically assigning addresses through a bus provided by the present invention includes a host computer 10 , a bus 20 and multiple devices 30 connected to the host computer 10 through the bus 20 . In this embodiment, the bus 20 is an RS485 bus. The number of devices 30 is N, where N is a natural number greater than or equal to 2, and each device is provided with an RS485 chip.

[0019] After the host computer 10 and the device 30 are turned on and powered on, the host computer 10 first acts as a host to send RS485 enable and broadcast commands to the first device 30 connected to it to activate the communication of the first device. The device 30 responds according to the command as a slave. The host computer 10 determines whether to continue the work of distributing the device address according to the response situation of the device. If the response of the device 30 is normal, then in the next step, the role of the de...

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 system and a method for automatically distributing an address via a bus. The system comprises a computer mainframe, the bus, and N equipment which are connected with the computer mainframe via the bus. The computer mainframe is used for transmitting an enabling and broadcasting instruction to the first equipment connected with the mainframe and activating the communication of the first equipment; the computer mainframe sets the first equipment as slave equipment and sets the communication address of the first equipment; the first equipment which has been set with the communication address is converted into the mainframe and is used for transmitting the enabling and broadcasting instruction to the second equipment which is connected with the first equipment and which has not been set with the communication address; the first equipment sets the second equipment as the slave equipment and sets the communication address of the second equipment; so iterating until the N-1 equipment sets the communication address of the N equipment. By setting the communication address of the equipment via software, the maintenance cost of an operator is reduced and electronic supplies expenses of a hardware toggle switch are saved.

Description

technical field [0001] The invention relates to the field of industrial control and data communication, in particular to a system and method for automatically assigning addresses through a bus. Background technique [0002] In the field of industrial control and data communication, in order to control several or dozens of devices, buses (such as RS485 bus) are often used to organize these devices into corresponding industrial control device networks, such as figure 1 shown. In order to achieve independent control of each device, it is necessary to set the address of the device, such as 1, 2, 3...N, etc. The address of the device is unique in the industrial control device network. like figure 2 As shown, the traditional address setting method is to use hardware binary DIP switches. The DIP switch is actually composed of 8 small white switches as shown in the figure, and 1 to 8 small white switches respectively represent bits 1 to 8 of an unsigned integer byte. image 3 ...

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
IPC IPC(8): H04L29/12H04L12/40
CPCH04L12/40H04L61/50
Inventor 赵忠义
Owner SHENZHEN YIHAOGUI TECH CO LTD
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