Automatic distributing and setting up address method based on master-slave communication mode

A communication mode and automatic allocation technology, applied in electrical components, transmission systems, etc., can solve the problems of address duplication, high implementation cost, and implementation difficulties.

Inactive Publication Date: 2005-09-28
NANJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Known a kind of method of automatic address distribution in the S7-300 type automatic instrument of Siemens Company, but the realization cost of this method is too high; In addition, there is also a kind of address distribution protocol for the master-slave communication mode, the master station There are so-called physical channels that are separately configured for communication with the slave stations, and the addresses of each communication station are implicitly determined by the connection of the channels; Siemens has also announced a method for automatic address assignment based on distance measurement The method, because this method needs to determine the address of the slave station according to the different distances from the master station to multiple slave stations, there are great defects in the application
[0004] Although the automatic address allocation in the master-slave communication mode is currently technically impossible or very difficult to implement, it is urgently needed in application. For example, adding a slave station device to an existing system may encounter The problem of repeated addresses; similar problems also exist when replacing damaged slave stations, and it is also possible to encounter the problem of repeated addresses

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
  • Automatic distributing and setting up address method based on master-slave communication mode
  • Automatic distributing and setting up address method based on master-slave communication mode
  • Automatic distributing and setting up address method based on master-slave communication mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Example 1: A new communication system is established. There are ten slave stations in the system. These slave stations belong to the virtual address state and the virtual addresses of the slave stations are 1, 3, 6, 10, 15, 23, 27, 28, 90, 100.

[0039] Method 1: The master station sends virtual address query commands to all addresses within the address range one by one, that is, it can send virtual address query commands to addresses 1 to 247 respectively. Send a virtual address query command for virtual address 1, the master station receives a virtual address query response command from a slave station, and then sends a real address setting command to set the real address of the slave station whose virtual address is 1 to 1; Virtual address query command, the master station did not receive a response; for virtual address 3 issued a virtual address query command, the master station received a virtual address query response command from a slave station, and then sent a ...

Embodiment 2

[0041] Embodiment 2: A new communication system is established. There are ten slave stations in the system. These slave stations belong to the virtual address state and the virtual addresses of the slave stations are 1, 1, 6, 10, 15, 23, 27, 28, 90, 100. That is, two slave stations use the same virtual address 1.

[0042] The master station sends virtual address query commands to all addresses within the address range one by one, that is, it can send virtual address query commands to addresses 1 to 247 respectively. Send a virtual address query command for virtual address 1, the master station receives virtual address query response commands from more than one slave station, the master station sends a virtual address reorganization command for virtual address 1, and the slave station with virtual address 1 receives the virtual address reorganization command After the instruction, set their own virtual addresses to 2 and 8 respectively. That is, the virtual addresses of 10 sl...

Embodiment 3

[0043] Embodiment 3: Add a slave station to an existing communication system, and the virtual address of the slave station is assumed to be 168. There are 10 slave stations in the original communication system, and the real addresses are 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 respectively.

[0044] During the working period of the communication system, the master station resends the virtual address query command at a predeterminable moment or within a predeterminable time period. When a system is working, considering that it is impossible to increase the slave station very quickly, the master station sends a virtual address query command to all addresses within the address range at one time, that is, the lower limit of the address is set to 1, and the upper limit of the address is set to 247. Then issue a virtual address query command. After the command is issued, the slave station with the virtual address of 168 sends a virtual address query response command, and the master stati...

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 present invention provides an address automatic distribution setting method based on master / slave communication mode. Said method includes two steps: 1). firstly, main station can find out some slave station on the bus, said slave station is in virtual address state, and its virtual address is not equal to the virtual address of any other slave station being in virtual state on the bus; and 2) main station can distribute and set real adress for said slave station. For vurtual address repetition or real address repetition which can be produced on the bus a command for commanding it implement reformation can be provided, after the address reformation, according to the above-mentioned two steps the address distribution can be implemented again. Said invention can utilize this mode to distribute real address for slave station being in virtual address state.

Description

technical field [0001] The invention relates to a virtual address-based address allocation setting method in a master-slave communication mode. The method can be used for an industrial field bus adopting a master-slave communication mode, and can also be used for a wireless shared medium adopting a master-slave communication mode. This method does not need any electronic or mechanical switching devices for address allocation for the communication station, but adopts a completely communication-protocolized method for address allocation and setting. technical background [0002] Automatic address assignment has hitherto been impossible, or very difficult to implement, for bus systems in master-slave communication mode. It is traditionally believed that in a bus system using master-slave communication mode, the repetition of addresses is not allowed due to layout reasons, otherwise it would be impossible to unambiguously identify communication stations and therefore unambiguous...

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/06H04L29/12
Inventor 戴尔晗林玲
Owner NANJING UNIV OF POSTS & TELECOMM
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