CN215818204U - Addressing device based on binary system - Google Patents
Addressing device based on binary system Download PDFInfo
- Publication number
- CN215818204U CN215818204U CN202121957179.1U CN202121957179U CN215818204U CN 215818204 U CN215818204 U CN 215818204U CN 202121957179 U CN202121957179 U CN 202121957179U CN 215818204 U CN215818204 U CN 215818204U
- Authority
- CN
- China
- Prior art keywords
- terminal
- slave
- coding unit
- addressing
- utility
- 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.)
- Active
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
The utility model relates to an addressing device based on binary system, comprising a switching device unit and a coding unit; the control end of the switching device unit is connected with the controlled end of the coding unit; the first resistance terminal of the coding unit is connected with the first control end of the switch device unit and serves as a first terminal for detection, and the second resistance terminal of the coding unit serves as a second terminal for detection. The utility model can realize the automatic addressing of the slave machine by one-time configuration by utilizing the series connection relationship of the resistors; the circuit of the utility model has simple structure, only two connecting wires are arranged at the port, the automatic coding of the slave machine has no cascade characteristic, the addressing of other slave machines is not influenced when any slave machine has a problem, the reliability is strong, and the cost is low; the utility model can realize that all the slave machines can simultaneously identify the local addresses when being electrified, has small time delay, and does not need to be configured with addresses again when the slave machines change positions or are replaced by new slave machines.
Description
The technical field is as follows:
the utility model relates to the technical field of communication, in particular to an addressing device based on binary system.
Background art:
in a master-slave mode communication network, each slave is required to have a definite non-repeating address. The existing addressing method is divided into a manual addressing method and an automatic addressing method. The manual addressing has certain requirements on an operator, when the slave needs to be replaced, the address of the newly installed slave needs to be reset according to the original address, the process is complicated, and the labor is consumed. One of the existing automatic addressing methods is to sequentially address all the slaves in a cascade order, the slave which completes the addressing task sends a signal to the secondary, and the secondary slave continues addressing for the local according to the address of the superior slave. Addressing in cascade order depends on the reliability of the connection, and if a slave in a certain level is disconnected, the addressing tasks of all slave in the next level are influenced. Alternatively, a binary coded switching variable is identified by the processing unit, the on/off states of which form a unique address code. The problem of this method is that the wiring is large, and the resource of the processing unit is occupied.
The utility model has the following contents:
the utility model aims to overcome the defects of the prior art, resistors with different resistance values are used, a switch device is used for permutation and combination, the total resistance values of all the resistors form a resistance value truth table with regular distribution, the resistors which are permutated and combined are connected into a communication slave, the communication slave detects the resistance values and compares the resistance values with the truth table which is recorded in advance to determine the address of the communication slave. The resistor is fixedly arranged on the detachable connector of the communication slave in advance, so that the purposes that all the slaves can simultaneously identify the addresses of the slaves when the system is powered on and works and the newly accessed communication slave automatically acquires the address of the position when the communication slave is replaced can be achieved.
The technical scheme for realizing the purpose of the utility model is as follows: a binary-based addressing device includes a switching device unit and a coding unit; the control end of the switching device unit is connected with the controlled end of the coding unit; the first resistor terminal of the coding unit is connected with the first control end of the switching device unit and is used as a first terminal for detection; the second resistance terminal of the coding unit is a second terminal for detection.
In the above technical solution, the coding unit includes one or more resistors for coding, and the number of output nodes of the control end of the switching device unit is the same as the number of resistors included in the coding unit. Selecting the resistance value of the resistor for coding inside the coding unit based on the binary coding rule is an optimal method.
After the technical scheme is adopted, the utility model has the following positive effects:
(1) the utility model can realize the automatic addressing of the slave machine by one-time configuration by utilizing the series connection relationship of the resistors;
(2) the circuit of the utility model has simple structure, only two connecting wires are arranged at the port, the automatic coding of the slave machine has no cascade characteristic, the addressing of other slave machines is not influenced when any slave machine has a problem, the reliability is strong, and the cost is low;
(3) the utility model can realize that all the slave machines can simultaneously identify the local addresses when being electrified, has small time delay, and does not need to be configured with addresses again when the slave machines change positions or are replaced by new slave machines.
Description of the drawings:
in order that the present disclosure may be more readily and clearly understood, reference is now made to the following detailed description of the present disclosure taken in conjunction with the accompanying drawings, in which
FIG. 1 is a functional block diagram of a binary-based addressing device of the present invention;
FIG. 2 is a circuit diagram of the present invention;
the reference numbers in the drawings are as follows: 1. switching device unit, 2, coding unit.
The specific implementation mode is as follows:
the following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the utility model more readily understood by those skilled in the art, and thus will more clearly and distinctly define the scope of the utility model.
A binary based addressing device as shown in fig. 1 comprises a switching device unit 1, a coding unit 2.
The control end of the switching device unit 1 is connected with the controlled end of the coding unit 2. The first resistance terminal of the coding unit 2 is connected to the first control terminal of the switching device unit 1 and serves as a first terminal for detection. The second resistance terminal of the encoding unit 2 is a second terminal for detection.
Referring to fig. 2, the switchgear unit 1 includes dip switches S1, S2, S3, S4 that control the coding unit 2; the coding unit 2 includes a resistor R1, a resistor R2, a resistor R3 and a resistor R4. One end of the resistor R1 is electrically connected to the first terminal of the toggle switch S1 and is also connected to the first terminal for detection. The other end of the resistor R1 is electrically connected with the second terminal of the toggle switch S1, the first terminal of the toggle switch S2 and one end of the resistor R2; the other end of the resistor R2 is electrically connected with the second terminal of the toggle switch S2, the first terminal of the toggle switch S3 and one end of the resistor R3; the other end of the resistor R3 is electrically connected with the second terminal of the toggle switch S3, the first terminal of the toggle switch S4 and one end of the resistor R4; the other end of the resistor R4 is electrically connected to the second connection of the dial switch S4, and the other end is connected to the second terminal for detection.
As shown in table 1 below, all the permutation combinations of the resistors of this embodiment are generated by opening or closing the toggle switch S1, the toggle switch S2, the toggle switch S3 and the toggle switch S4 for controlling the resistors in the coding unit 2, and the results of all the permutation combinations are summarized as a truth table of a binary-based addressing device of this embodiment.
TABLE 1
The resistor R1, the resistor R2, the resistor R3 and the resistor R4 select 8, 4, 2 and 1 as base numbers, 8 is equal to the binary code 1000, 4 is equal to the binary code 0100, 2 is equal to the binary code 0010, and 1 is equal to the binary code 0001, and the base numbers are respectively obtained by the binary code 0001 through shift calculation. May be 8 kilo-ohms, 4 kilo-ohms, 2 kilo-ohms, 1 kilo-ohms or each multiplied or divided by the same multiple.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (2)
1. A binary-based addressing device, characterized by: comprises a switch device unit and a coding unit;
the control end of the switching device unit is connected with the controlled end of the coding unit;
the first resistance terminal of the coding unit is connected with the first control end of the switch device unit and serves as a first terminal for detection, and the second resistance terminal of the coding unit serves as a second terminal for detection.
2. The binary-based addressing device of claim 1, wherein: the coding unit comprises one or more resistors for coding, and the number of output nodes of the control end of the switching device unit is the same as that of the resistors contained in the coding unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202121957179.1U CN215818204U (en) | 2021-08-19 | 2021-08-19 | Addressing device based on binary system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202121957179.1U CN215818204U (en) | 2021-08-19 | 2021-08-19 | Addressing device based on binary system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN215818204U true CN215818204U (en) | 2022-02-11 |
Family
ID=80133896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202121957179.1U Active CN215818204U (en) | 2021-08-19 | 2021-08-19 | Addressing device based on binary system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN215818204U (en) |
-
2021
- 2021-08-19 CN CN202121957179.1U patent/CN215818204U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6889282B2 (en) | Fieldbus connecting system for actuators or sensors | |
CA1193023A (en) | Programmable controller with expandable i/o interface circuitry | |
US4418312A (en) | Apparatus for testing multi-conductor cables | |
CN107070731B (en) | Master-slave arbitration method and system | |
US4164730A (en) | Externally controllable binary interrogation and decoding circuit, particularly for a remote control load selection system | |
JPS5927930B2 (en) | Process control method and control device | |
WO2003085899A1 (en) | Automatic, successive configuring of slave modules in a data bus network | |
CN215818204U (en) | Addressing device based on binary system | |
CN206135956U (en) | Automatic switch CAN node of terminating resistance | |
JPS6111869A (en) | Distribution type input/output unit | |
CN103414574B (en) | PoE equipment and output power control method thereof | |
US3515815A (en) | Resistance controlled pulse generator | |
CN107948106A (en) | A kind of method and apparatus of the main power board of selection for interchanger | |
CN211742256U (en) | 16-way bus linkage device | |
CN113848466A (en) | Detection circuit and detection method for realizing rapid response of knob | |
US2306087A (en) | Key pulsing register circuit | |
RU23685U1 (en) | DEVICE FOR CONTROL OF ELECTRIC CIRCUITS | |
CN100417068C (en) | Ethernet signal processor and Ethernet signal processing method | |
CN213688717U (en) | Multiplex detection circuitry and electrical apparatus of many temperature sensing package | |
CN107861443B (en) | Intelligent configuration system for communication circuit terminal resistor | |
CN109164733B (en) | High-efficiency programmable controller power supply and signal transmission system and method | |
JP2847957B2 (en) | Extension system | |
EP0120640B1 (en) | Data distribution network | |
CN209372926U (en) | Resistance capacitance matrix | |
CN115051327A (en) | Method and device for judging loop connection of three-in-two wiring structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |