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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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;
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap