System and method for automatically allocating communication addresses for slave nodes of industrial bus

An industrial bus, communication address technology, applied in transmission systems, electrical components, etc., can solve the problems of inconvenient unified management and maintenance of program versions, error-prone, and heavy workload of manual setting of DIP switches, to improve flexibility and reliability. performance, reduce workload, and save hardware costs

Active Publication Date: 2017-07-14
SHANGHAI ELECTRICGROUP CORP
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to overcome the disadvantages in the prior art that too many program versions are inconvenient for unified management and maintenance when setting the communication address of the slave node of the industrial 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
  • System and method for automatically allocating communication addresses for slave nodes of industrial bus
  • System and method for automatically allocating communication addresses for slave nodes of industrial bus

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0057] Example 1

[0058] Such as figure 1 As shown, a system for automatically assigning communication addresses of slave nodes of an industrial bus includes a master node 1, a decoder module, and four slave nodes. The four slave nodes are slave node 1, slave node 2, and slave node. 3 and slave node 4. Among them, the master node 1 includes two master node output terminals A and B and a master node chip selection terminal S; the decoder module includes a decoder 2, which is a 2-4 decoder, and a decoder 2 Including two decoder input terminals A', B', a decoder chip select terminal S'and four decoder output terminals S1, S2, S3, S4; each slave node includes a slave node Energy ends S1', S2', S3', S4'. The chip select terminal S of the main node is electrically connected to the chip select terminal S'of the decoder. The two main node output terminals A and B are electrically connected to the two decoder input terminals A'and B'in a one-to-one correspondence. Four decoders The ou...

Example Embodiment

[0064] Example 2

[0065] Such as figure 2 As shown, a method for automatically assigning communication addresses of slave nodes of an industrial bus uses the system for automatically assigning communication addresses of slave nodes of an industrial bus of Embodiment 1. The method includes the following steps:

[0066] Step S100, the master node 1 obtains an address table from the EEPROM, and the address table is used to store the addresses to be allocated of all slave nodes;

[0067] Step S101, the master node 1 selects the slave nodes to be allocated in sequence according to the order of the ports of the decoder output terminal on the decoder 2, that is, the slave node 1 is selected first, and the slave node 2 is set in sequence after the slave node 1 is set. From node 3 and from node 4;

[0068] Step S102: The master node 1 obtains the target address from the address table, where the target address is the address to be allocated corresponding to the slave node to be allocated;

[...

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 system and method for automatically allocating communication addresses for slave nodes of an industrial bus. The system comprises a master node and a plurality of slave nodes, and is characterized in that the master node and each of the slave nodes are respectively connected to the industrial bus; the master node sends a first chip selection signal to each of the slave nodes, and the slave nodes acquire data on the industrial bus; the master node is used for sequentially selecting one slave node to act as a slave node to be allocated, driving the first chip selection signal corresponding to the slave node to be allocated to be at effective state, enabling a target address to act as bus data and sending the target address to the industrial bus; and the slave node to be allocated is used for acquiring data on the industrial bus when the corresponding first chip selection signal is detected to be at an effective state and setting the data to be a communication address. The invention realizes a novel mode for automatically allocating communication addresses for the slave nodes of the industrial bus, and automatic allocation of the communication addresses can be realized simply and quickly through maintaining one program.

Description

technical field [0001] The invention relates to the technical field of industrial bus communication, in particular to a system and method for automatically assigning communication addresses of slave nodes of the industrial bus. Background technique [0002] An industrial bus communication system is generally composed of a master node and several slave nodes. With the growth of the system scale, there are more and more nodes in the system. How to effectively distinguish the nodes in the system is particularly important. In the master-slave communication mode of the bus, the communication address information of each slave node must be determined to ensure the reliability and stability of the system communication. At present, there are mainly two ways to realize the communication address setting of the slave nodes of the bus: fixed address and hardware dial code. The fixed address is that each slave node stores the communication address information in EEPROM (Electrically Erasa...

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/12
CPCH04L61/5038
Inventor 张思文陆宇周实王子健孙华
Owner SHANGHAI ELECTRICGROUP CORP
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