CN108462621A - A kind of method of the distribution of communication apparatus address and number of devices statistics - Google Patents
A kind of method of the distribution of communication apparatus address and number of devices statistics Download PDFInfo
- Publication number
- CN108462621A CN108462621A CN201810171500.XA CN201810171500A CN108462621A CN 108462621 A CN108462621 A CN 108462621A CN 201810171500 A CN201810171500 A CN 201810171500A CN 108462621 A CN108462621 A CN 108462621A
- Authority
- CN
- China
- Prior art keywords
- equipment
- address
- input terminal
- monitoring system
- devices
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5038—Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to the methods of a kind of distribution of communication apparatus address and number of devices statistics, including several equipment and monitoring system, the connection of each equipment is divided into input terminal IN and output end OUT, each equipment line style connection, the input terminal IN of first equipment is connected with monitoring system, and the input terminal IN of subsequent every equipment connects the output end OUT of an equipment;Every equipment by switch J control output end OUT break-make;The method of the communication apparatus address distribution and number of devices statistics includes step 1:Monitoring system sends switch-off command;Step 2:Monitoring system sends address setting command and first equipment is arranged into row address;Step 3:Equipment of the repetition step 2 up to communication line end;Step 4:Carry out quantity statistics.The present invention ensures that every equipment is uniquely corresponding with address signal, address signal is carried out at the same time the statistics of number of devices during distributing, reduce the huge workload of manual confirmation by being gradually allocated to the address signal of equipment.
Description
Technical field
The present invention relates to communication apparatus address assignment techniques fields, and in particular to a kind of distribution of communication apparatus address and equipment
The method of quantity statistics.
Background technology
When using RS485 or CAN bus, need to be numbered with unique address to the equipment hung in bus
Code.Existing application encodes the address of equipment, generally has following several:
Mode one:Use toggle switch.When manufacture, address toggle switch pushes the address of acquiescence.When site installation test,
It is carried out manually dialling the address at needs at one's side by commissioning staff to equipment.The disadvantage is that:It spends manually, while if equipment is mounted on
The places such as roof or smallpox are arranged also very inconvenient when address.If there is when the address of two machines, which is arranged, to be repeated, investigating
It is difficult.
Mode two:It is arranged using the R485 of communication or CAN.When manufacture, the address of an acquiescence is arranged in machine.This
It needs using computer and equipment one-to-one be arranged into row address.Disadvantage such as mode one is identical.
In actual engineer application, a scene may be simultaneously present a plurality of communication bus, confirm every communication bus
Equipment sum be also prodigious workload.
Invention content
It is an object of the invention to aiming at the deficiencies in the prior art, provide it is a kind of orderly distributed into row address it is same
The method of a kind of distribution of communication apparatus address and number of devices statistics of Shi Jinhang number of devices statistics.
For this purpose, the present invention uses following technical scheme:
A kind of method of the distribution of communication apparatus address and number of devices statistics, including several equipment and monitoring system, each
The connection that equipment is drawn from CPU is divided into input terminal IN and output end OUT, each equipment line style connection, the input of first equipment
End IN is connected with monitoring system, and the input terminal IN of subsequent every equipment connects the output end OUT of an equipment;It is set described in every
The standby break-make by switch J control output end OUT, when device power works, relay J acquiescences are closed;The communication apparatus address
The method of distribution and number of devices statistics includes the following steps:
Step 1:Monitoring system sends instruction, informs that equipment all on connection enters automatic address distribution state;Into
The equipment for entering automatic address distribution state stops transmission data, while internal switch J being disconnected;
Step 2:Monitoring system sends address setting command and first equipment is arranged into row address;First equipment receives
Address date therein is preserved after the setting command of address, while relay J being closed, then by after cyclic address change, shape
The address setting command of Cheng Xin is sent to next equipment, while by feedback signal transmission to the monitoring system;
Step 3:Second device repeats steps two, until the equipment of communication line end;Address distribution terminates;
Step 4:The monitoring system counts the number of devices on connection according to the quantity of feedback signal, leads to
Number of devices on news line is equal to the number that the monitoring system receives feedback signal;Number of devices statistics terminates.
Further description, if having the input terminal that the output end of equipment connects multiple other equipments, to communication apparatus
Should also include pre-treatment step when address is distributed and number of devices counts:
Step A:The output end of one equipment connects the input terminal of multiple other equipments, in input terminal by remaining connection
It disconnects, ensures that the output end is only connected with the input terminal of a follow-up equipment;
Step B:It is examined in subsequent communications circuit, only retains an output end and is connected with an input terminal, disconnect it
His connecting communication line;All devices are divided into the equipment of several sections of line styles connection by this method;
Step C:To first segment line style connection equipment execute the step 1 to step 4 operating method;
Step D:Monitoring system is sequentially connected to the equipment of follow-up each section of line style connection and executes the step successively
One arrives the operating method of step 4,
Step E:The input terminal connecting line that will be switched off after the completion of whole address distribution and quantity statistics is connected by original mode
It connects.
Further description, the switch J are relay, contactor or other electric control switch.
Beneficial effects of the present invention:By being gradually allocated to the address signal of equipment, ensure every equipment and address
Signal uniquely corresponds to, and address signal is carried out at the same time the statistics of number of devices during distributing, reduce the huge work of manual confirmation
It measures.
Description of the drawings
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is the equipment line style connection schematic diagram of one embodiment of the present of invention;
Fig. 2 is another connection schematic diagram of one embodiment of the present of invention;
Fig. 3 is the schematic diagram of the address distribution of one embodiment of the present of invention;
Fig. 4 is the schematic diagram of the address distribution of one embodiment of the present of invention.
Specific implementation mode
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.
As Figure 1-Figure 4, the method for a kind of distribution of communication apparatus address and number of devices statistics, including several equipment and
Monitoring system, the connection that each equipment is drawn from CPU are divided into input terminal IN and output end OUT, and each equipment line style connection is first
The input terminal IN of a equipment is connected with monitoring system, and the input terminal IN of subsequent every equipment connects the output end of an equipment
OUT;Every equipment is by the break-make of switch J control output end OUT, and when device power works, relay J acquiescences are closed;Institute
The method for stating the distribution of communication apparatus address and number of devices statistics includes the following steps:
Step 1:Monitoring system sends instruction, informs that equipment all on connection enters automatic address distribution state;Into
The equipment for entering automatic address distribution state stops transmission data, while internal switch J being disconnected;
Step 2:Monitoring system sends address setting command and first equipment is arranged into row address;First equipment receives
Address date therein is preserved after the setting command of address, while relay J being closed, then by after cyclic address change, shape
The address setting command of Cheng Xin is sent to next equipment, while by feedback signal transmission to the monitoring system;
Step 3:Second device repeats steps two, until the equipment of communication line end;Address distribution terminates;
Step 4:The monitoring system counts the number of devices on connection according to the quantity of feedback signal, leads to
Number of devices on news line is equal to the number that the monitoring system receives feedback signal;Number of devices statistics terminates.
Further description, if having the input terminal that the output end of equipment connects multiple other equipments, to communication apparatus
Should also include pre-treatment step when address is distributed and number of devices counts:
Step A:The output end of one equipment connects the input terminal of multiple other equipments, in input terminal by remaining connection
It disconnects, ensures that the output end is only connected with the input terminal of a follow-up equipment;
Step B:It is examined in subsequent communications circuit, only retains an output end and is connected with an input terminal, disconnect it
His connecting communication line;All devices are divided into the equipment of several sections of line styles connection by this method;
Step C:To first segment line style connection equipment execute the step 1 to step 4 operating method;
Step D:Monitoring system is sequentially connected to the equipment of follow-up each section of line style connection and executes the step successively
One arrives the operating method of step 4,
Step E:The input terminal connecting line that will be switched off after the completion of whole address distribution and quantity statistics is connected by original mode
It connects.
Further description, the switch J are relay, contactor or other electric control switch.
As shown in figs 2-4, the input terminal company of the output end and multiple devices of an equipment is illustrated by taking eight equipment as an example
The address distribution connect and quantity statistics method:
First a connection therein is disconnected at equipment c, the equipment for forming the connection of two sections of line styles;It is opened from equipment a
Begin to distribute into row address, can know that the number of devices on this root connection is 5, address is from 1 to 5;Then by monitoring system
Be connected to equipment f and continue address distribution, can know and know that number of devices on this root connection is 3, address from 6 to
8;All devices are finally restored to the connection type such as Fig. 2.
The above content is only presently preferred embodiments of the present invention, for those of ordinary skill in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention
Limitation.
Claims (3)
1. a kind of method of the distribution of communication apparatus address and number of devices statistics, it is characterised in that:Including several equipment and monitoring
System, the connection that each equipment is drawn from CPU are divided into input terminal IN and output end OUT, and each equipment line style connection is first to set
Standby input terminal IN is connected with monitoring system, and the input terminal IN of subsequent every equipment connects the output end OUT of an equipment;Often
Equipment described in platform is by the break-make of switch J control output end OUT, and when device power works, relay J acquiescences are closed;The communication
Device address is distributed and the method for number of devices statistics includes the following steps:
Step 1:Monitoring system sends instruction, informs that equipment all on connection enters automatic address distribution state;Into certainly
The equipment of dynamic address distribution state stops transmission data, while internal switch J being disconnected;
Step 2:Monitoring system sends address setting command and first equipment is arranged into row address;First equipment receives address
Address date therein is preserved after setting command, while relay J being closed, then after cyclic address change, will be formed new
Address setting command be sent to next equipment, while by feedback signal transmission to the monitoring system;
Step 3:Second device repeats steps two, until the equipment of communication line end;Address distribution terminates;
Step 4:The monitoring system counts the number of devices on connection according to the quantity of feedback signal, connection
On number of devices be equal to the monitoring system and receive the number of feedback signal;Number of devices statistics terminates.
2. the method for a kind of distribution of communication apparatus address and number of devices statistics according to claim 1, it is characterised in that:
If there is the output end of equipment to connect the input terminal of multiple other equipments, when being counted to the distribution of communication apparatus address and number of devices
It should also include pre-treatment step:
Step A:The output end of one equipment connects the input terminal of multiple other equipments, remaining connection breaks in input terminal
It opens, ensures that the output end is only connected with the input terminal of a follow-up equipment;
Step B:It is examined in subsequent communications circuit, only retains an output end and is connected with an input terminal, is disconnected other
Connecting communication line;All devices are divided into the equipment of several sections of line styles connection by this method;
Step C:To first segment line style connection equipment execute the step 1 to step 4 operating method;
Step D:It is sequentially connected to the equipment of follow-up each section of line style connection by monitoring system and executes the step 1 successively arrive
The operating method of step 4,
Step E:The input terminal connecting line that will be switched off after the completion of whole address distribution and quantity statistics is connected by original mode.
3. the method for a kind of distribution of communication apparatus address and number of devices statistics according to claim 1, it is characterised in that:
The switch J is relay, contactor or other electric control switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810171500.XA CN108462621B (en) | 2018-03-01 | 2018-03-01 | Method for communication equipment address allocation and equipment quantity statistics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810171500.XA CN108462621B (en) | 2018-03-01 | 2018-03-01 | Method for communication equipment address allocation and equipment quantity statistics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108462621A true CN108462621A (en) | 2018-08-28 |
CN108462621B CN108462621B (en) | 2020-12-29 |
Family
ID=63217009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810171500.XA Active CN108462621B (en) | 2018-03-01 | 2018-03-01 | Method for communication equipment address allocation and equipment quantity statistics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462621B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541794A (en) * | 2020-04-07 | 2020-08-14 | 广西松贤科技有限公司 | IPV6 protocol-based address automatic allocation method and device |
CN111865745A (en) * | 2020-06-12 | 2020-10-30 | 深圳拓邦股份有限公司 | Non-delay polling method and system for automatically identifying slave equipment |
CN113852699A (en) * | 2021-08-19 | 2021-12-28 | 依米康软件技术(深圳)有限责任公司 | System and method for automatically distributing bus address |
CN114002994A (en) * | 2021-12-30 | 2022-02-01 | 菲尼克斯(南京)智能制造技术工程有限公司 | PLC-based system and networking and communication method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213918A (en) * | 1997-09-20 | 1999-04-14 | 阿尔卡塔尔公司 | Process and devices for establishing point-to-multipoint connections and multipoint-to-point connections |
CN101635637A (en) * | 2008-07-21 | 2010-01-27 | 江森自控楼宇设备科技(无锡)有限公司 | Method and system for distributing intelligent addresses based on serial bus |
CN102868780A (en) * | 2012-09-07 | 2013-01-09 | 深圳睿立方智能科技有限公司 | RS-485 slave computer addressing network system and addressing method thereof |
-
2018
- 2018-03-01 CN CN201810171500.XA patent/CN108462621B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1213918A (en) * | 1997-09-20 | 1999-04-14 | 阿尔卡塔尔公司 | Process and devices for establishing point-to-multipoint connections and multipoint-to-point connections |
CN101635637A (en) * | 2008-07-21 | 2010-01-27 | 江森自控楼宇设备科技(无锡)有限公司 | Method and system for distributing intelligent addresses based on serial bus |
CN102868780A (en) * | 2012-09-07 | 2013-01-09 | 深圳睿立方智能科技有限公司 | RS-485 slave computer addressing network system and addressing method thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541794A (en) * | 2020-04-07 | 2020-08-14 | 广西松贤科技有限公司 | IPV6 protocol-based address automatic allocation method and device |
CN111865745A (en) * | 2020-06-12 | 2020-10-30 | 深圳拓邦股份有限公司 | Non-delay polling method and system for automatically identifying slave equipment |
CN111865745B (en) * | 2020-06-12 | 2022-02-01 | 深圳拓邦股份有限公司 | Non-delay polling method and system for automatically identifying slave equipment |
CN113852699A (en) * | 2021-08-19 | 2021-12-28 | 依米康软件技术(深圳)有限责任公司 | System and method for automatically distributing bus address |
CN114002994A (en) * | 2021-12-30 | 2022-02-01 | 菲尼克斯(南京)智能制造技术工程有限公司 | PLC-based system and networking and communication method thereof |
CN114002994B (en) * | 2021-12-30 | 2022-04-22 | 菲尼克斯(南京)智能制造技术工程有限公司 | PLC-based system and networking and communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108462621B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108462621A (en) | A kind of method of the distribution of communication apparatus address and number of devices statistics | |
US11051385B2 (en) | Ethernet lighting control system and method for stage lights | |
CN105049551A (en) | System and method for automatically distributing address via bus | |
CN206115264U (en) | Multibus multi -channel control ware tester | |
CN105743108A (en) | 10kV low-voltage intelligent power distribution network system with three-phase unbalanced monitoring function | |
CN104486180A (en) | Method used for automatically distributing secondary units ID in BMS | |
CN102324793A (en) | Method and system for realizing a plurality of virtual power distribution terminals | |
CN205178934U (en) | MCC switch board and have its MCC control system | |
CN110830967A (en) | LoRa communication equipment with one-key networking function and networking method | |
CN104410447A (en) | Optical module testing system and optical module testing method | |
CN105634132A (en) | 10kV low-voltage intelligent distribution network system with reactive compensation function | |
CN104267301B (en) | Power consumer electricity consumption information acquisition control system | |
CN104683209B (en) | Coupling device and EtherCAT network coupled system between a kind of EtherCAT network main website | |
CN105403792A (en) | Solid state power distribution device reset function testing system and testing method | |
CN103544104A (en) | Testing method for power distribution terminal remote control functional software module | |
CN106338938A (en) | Backplane bus communication addressing system and method | |
CN102176147A (en) | Stage control system and method for digital multiplex (DMX) 512 intelligent distribution isolating amplifier | |
CN102263836B (en) | Address automatic identification device of communication module | |
CN203965544U (en) | A kind of belt current regulates distribution line failure analogue means | |
CN204517854U (en) | A kind of fieldbus node circuit based on Modbus agreement | |
CN105139903A (en) | Nuclear safety classification digital control system (DCS) maintenance method, device and system | |
CN101499682A (en) | Improved implementation method for power distribution automation | |
DE102013109090B9 (en) | Power distribution unit, computer arrangement and method for acquiring connection information | |
CN201690273U (en) | Automatic management system for power matching network | |
CN206818757U (en) | A kind of segmented 2M lane testing insert rows |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method of address allocation and equipment quantity statistics of communication equipment Effective date of registration: 20220712 Granted publication date: 20201229 Pledgee: Industrial and Commercial Bank of China Limited Foshan Shiwan sub branch Pledgor: AEROSPACE BAYKEE (GUANGDONG) TECHNOLOGY Co.,Ltd. Registration number: Y2022980010313 |