CN214623921U - Communication device and communication circuit - Google Patents

Communication device and communication circuit Download PDF

Info

Publication number
CN214623921U
CN214623921U CN202120693621.8U CN202120693621U CN214623921U CN 214623921 U CN214623921 U CN 214623921U CN 202120693621 U CN202120693621 U CN 202120693621U CN 214623921 U CN214623921 U CN 214623921U
Authority
CN
China
Prior art keywords
communication
address
terminal
bus
main control
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
Application number
CN202120693621.8U
Other languages
Chinese (zh)
Inventor
贾永锋
郭小健
曹震廷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai 3D Medicines Co Ltd
Original Assignee
Shanghai 3D Medicines Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai 3D Medicines Co Ltd filed Critical Shanghai 3D Medicines Co Ltd
Priority to CN202120693621.8U priority Critical patent/CN214623921U/en
Application granted granted Critical
Publication of CN214623921U publication Critical patent/CN214623921U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model provides a communication device and communication circuit, reducible serial ports resource to the main control board occupy. The communication device comprises a main control board, a communication bus and a plurality of communication circuits; the main control board is connected with the plurality of communication circuits through the same communication bus and is used for sending control instructions to the plurality of communication circuits; the communication circuit includes: the system comprises a terminal interface, an address input module, a processing chip and a communication conversion chip; the terminal interface is used for accessing the execution terminal; the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by a terminal interface; the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute the operation when the target communication address carried by the control instruction is the same as the communication address; the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.

Description

Communication device and communication circuit
Technical Field
The utility model relates to the field of communication technology, especially, relate to a communication device and communication circuit.
Background
In some communication devices, the main control board needs to control the execution terminal to execute corresponding operations, such as the main control board controlling a code scanning gun to scan codes, and the like, which inevitably involves connection and communication between the main control board and the execution terminal.
At present, the main control board and the execution terminal are usually connected through a serial port. For example, in the full-automatic storehouse appearance of building of multi-flux slot box, the design has four card box business turn over hole sites, set up one on every hole site and sweep a yard rifle, need the two-dimensional code on the automatic scanning card box when the card box gets into the instrument, it is connected with the full-automatic main control board of building the appearance of multi-flux slot box through the serial ports respectively to sweep a yard rifle, then, four sweep a yard rifle just need occupy four serial ports resources of main control board, this is heavier with limited main control board to serial ports resource originally, also do not benefit to the function extension that the main control board need serial ports resource to other.
SUMMERY OF THE UTILITY MODEL
The utility model provides a communication device and communication circuit, reducible serial ports resource to the main control board occupy.
A first aspect of the present invention provides a communication device, including a main control board, a communication bus, and a plurality of communication circuits; the main control board is connected with the plurality of communication circuits through the same communication bus, and is used for sending control instructions to the plurality of communication circuits, wherein the control instructions carry target communication addresses;
wherein, the communication circuit includes at least: the terminal interface is connected with the processing chip, the address input module is connected with the processing chip, and the communication conversion chip is connected with the terminal interface, the processing chip and the communication bus;
the terminal interface is used for accessing an execution terminal;
the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by the terminal interface;
the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute operation when the target communication address carried by the control instruction is the same as the communication address;
the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.
According to an embodiment of the present invention, the terminal interfaces in different communication circuits are used for accessing different execution terminals;
and the corresponding communication addresses of different execution terminals are different.
According to an embodiment of the present invention, the address input module comprises a dial switch;
the number N of the dial switch is greater than or equal to 1.
According to an embodiment of the present invention, the communication address is composed of data on each bit of the dial switch;
or the communication address corresponds to a code consisting of data on each bit of the dial switch.
According to an embodiment of the present invention, the number of bits of the dial switches in different communication circuits is the same.
According to an embodiment of the present invention, the number of communication circuits to which the communication bus is connectable is less than or equal to 2 to the power N.
According to an embodiment of the present invention, the terminal interface in the communication circuit is connected to the communication conversion chip through a first serial communication line;
the communication bus is a second serial communication line, and the second serial communication line is different from the first serial communication line.
According to an embodiment of the present invention, the communication bus is a 485 bus.
According to an embodiment of the present invention, the execution terminal is a code scanning gun;
and when the execution terminal executes the operation, the execution terminal is specifically used for executing code scanning operation.
A second aspect of the present invention provides a communication circuit, which may be connected to a main control board via a communication bus, wherein the main control board is configured to send a control command, and the control command carries a target communication address;
wherein, the communication circuit includes at least: the terminal interface is connected with the processing chip, the address input module is connected with the processing chip, the communication conversion chip is connected with the terminal interface and the processing chip, and the communication conversion chip is connected with the communication bus;
the terminal interface is used for accessing an execution terminal;
the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by the terminal interface;
the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute operation when the target communication address carried by the control instruction is the same as the communication address;
the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.
According to an embodiment of the present invention, the terminal interfaces in different communication circuits are used for accessing different execution terminals;
and the corresponding communication addresses of different execution terminals are different.
According to an embodiment of the present invention, the address input module comprises a dial switch;
the number N of the dial switch is greater than or equal to 1.
According to an embodiment of the present invention, the communication address is composed of data on each bit of the dial switch;
or the communication address corresponds to a code consisting of data on each bit of the dial switch.
According to an embodiment of the present invention, the number of bits of the dial switches in different communication circuits is the same.
According to an embodiment of the present invention, the number of communication circuits to which the communication bus is connectable is less than or equal to 2 to the power N.
According to an embodiment of the present invention, the terminal interface in the communication circuit is connected to the communication conversion chip through a first serial communication line;
the communication bus is a second serial communication line, and the second serial communication line is different from the first serial communication line.
According to an embodiment of the present invention, the communication bus is a 485 bus.
According to an embodiment of the present invention, the execution terminal is a code scanning gun;
and when the execution terminal executes the operation, the execution terminal is specifically used for executing code scanning operation.
The utility model discloses following beneficial effect has:
in the embodiment of the present invention, the communication circuit is arranged and connected to the main control board through the communication bus, the execution terminal can be connected to the terminal interface, the address input module can input the communication address corresponding to the execution terminal, so the processing chip can determine whether to trigger the execution terminal to execute the operation according to the communication address and the target communication address carried by the control command sent by the main control board, under the condition of executing the operation, the operation result data of the execution terminal can be converted into the target data suitable for the transmission of the communication bus through the communication conversion chip, so that the main control board can obtain the target data transmitted by the communication bus from the execution terminal needing to communicate, based on the communication circuit, a plurality of communication circuits (also representing a plurality of execution terminals) can communicate with the main control board through the same communication bus, and a plurality of execution terminals only need to occupy one path of serial port resources of the main control board, the burden of the main control board can be reduced, serial port resources are saved and used for other serial port devices, the wiring difficulty of assembly and wiring can be simplified due to the reduction of serial port wiring, the anti-interference capability is improved, and the stability of the system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a block diagram of a communication device according to an embodiment of the present invention;
fig. 2 is a block diagram of a communication circuit according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a communication circuit according to an embodiment of the present invention.
Description of reference numerals:
a main control board 100;
a communication bus 200;
communication circuit 300-600;
a terminal interface 301;
an address input module 302;
a processing chip 303;
a communication conversion chip 304;
a first serial communication line 305;
a bus interface 306;
a program download interface 307.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The utility model provides a communication device, communication device can be any one kind and need one-way or two-way communication's device, for example can be for the full-automatic storehouse appearance of building of multi-flux draw-in groove box, data acquisition device etc. specifically do not restrict.
Referring to fig. 1, in an embodiment, the communication device includes a main control board 100, a communication bus 200, and 4 communication circuits 300 and 600, wherein the main control board 100 is connected to the 4 communication circuits 300 and 600 through the same communication bus 200. It is understood that only 4 communication circuits are shown, and actually, the number is not limited to 4, and may be 2, 3, 5, etc., the communication device may include any number of communication circuits, the main control board 100 may be connected to a plurality of communication circuits through the communication bus 200, and of course, in some cases, the main control board 100 may be connected to only one communication circuit through the communication bus 200.
The main control board 100 may send a control command to the plurality of communication circuits 300 and 600, where the control command carries a target communication address. The main control board 100 can communicate with any one of the communication circuits connected to the communication bus 200, and the target communication address corresponds to the communication circuit that the main control board 100 needs to communicate currently, so that the communication circuit can determine whether the object that the main control board 100 needs to communicate currently is the communication circuit according to the target communication address carried by the control instruction.
While fig. 1 shows 4 communication circuits 300, one of the communication circuits 300 is taken as an example for explanation, and it is understood that the following is also applicable to other communication circuits.
Referring to fig. 2 and 3, the communication circuit 300 at least includes: a terminal interface 301, an address input module 302, a processing chip 303 and a communication conversion chip 304. It is understood that the communication circuit may also include other modules, and is not limited in particular.
The terminal interface 301 is connected to the processing chip 303, as shown in fig. 3, the terminal interface 301 and the processing chip 303 are connected via a trigger line TR and a reset line RST, the terminal interface 301 may send a trigger signal to the terminal interface 301 via the trigger line TR to trigger the connected terminal to operate, and may also send a reset signal to the terminal interface 301 via the reset line RST to control the connected terminal to reset, etc. The address input module 302 is connected to the processing chip 303. The communication conversion chip 304 is connected to the terminal interface 301, the processing chip 303 and the communication bus 200 shown in fig. 1.
The terminal interface 301 is used for accessing the executive terminal. Optionally, the execution terminal here may be, for example, a code scanning gun, a data acquisition device, and the like, and the specific type is not limited. The types of the execution terminals connected to different communication circuits may be the same, for example, the execution terminals connected to the 4 communication circuits 300 and 600 shown in fig. 1 may all be code scanning guns; or, the types of the execution terminals connected by different communication circuits may also be different, for example, in the 4 communication circuits 300-600 shown in fig. 1, part of the execution terminals connected may be code scanning guns, and part of the execution terminals connected may be data acquisition devices, etc., which are not limited specifically and may be determined according to specific application scenarios.
The address input module 302 is configured to input a communication address, where the communication address corresponds to an execution terminal accessed by the terminal interface 301.
Preferably, the terminal interfaces in different communication circuits are used for accessing different execution terminals, wherein the communication addresses corresponding to the different execution terminals are different. Different execution terminals can be different code scanning guns, specifically, the same code scanning gun cannot be connected with different terminal interfaces at the same time, but the same code scanning gun can be connected with different terminal interfaces sequentially.
The main control board may store in advance a communication address corresponding to each accessed execution terminal. The address input module is used for inputting a communication address, the communication address cannot be changed in the communication process, certainly, the communication address can be changed when the communication is not needed, the communication address can be changed by inputting a new communication address again, and the main control board needs to know the change and update the pre-stored communication address in time.
The communication addresses input by the address input modules in different communication circuits need to be different, once an execution terminal accesses a certain address input module, the execution terminal corresponds to the communication address input by the address input module, and the subsequent main control board 100 can communicate with the execution terminal based on the communication address.
Optionally, the address input module includes a dial switch, where the number N of bits of the dial switch is greater than or equal to 1.
When the number of bits N of the dial switch is equal to 1, the data on each bit of the dial switch can be 0 or 1, and 2 communication addresses can be represented. When the number of bits N of the dial switch is equal to 2, the data on each bit of the dial switch may be 00, 01, 10, or 11, and may represent 4 communication addresses. When the number of bits N of the dial switch is equal to 3, data on each bit of the dial switch can be 000, 001, 010, 011, 100, 101, 110 or 111, and 8 communication addresses can be characterized. For the following, details are not repeated for example.
Therefore, the data on each bit of the dial switch can have 2N-power combinations, and can represent 2N-power communication addresses respectively.
Optionally, the number of the communication circuits connectable to the communication bus is less than or equal to 2 to the power of N, and each communication circuit may be connected to an execution terminal. That is, all combinations of data on each bit of the dial switch may be used up, or only a part of them may be used.
Optionally, the number of bits of the dial switches in different communication circuits is the same, for example, the main control board is connected to 4 communication circuits, each communication circuit includes one dial switch, the number of bits of each dial switch may be 2, and others are similar and are not described in detail.
Optionally, the communication address is composed of data on each bit of the dial switch. For example, when the number N of bits of the dial switch is equal to 2, the data on each bit of the dial switch may be 00, 01, 10, or 11, and correspondingly, the communication address may be 00, 01, 10, or 11, and in the case that the communication bus is connected to 4 communication circuits, the communication addresses corresponding to the execution terminals accessed by the four communication circuits may be 00, 01, 10, or 11, and the other cases are similar, and are not described herein again.
Or the communication address corresponds to a code consisting of data on each bit of the dial switch. For example, when the number N of bits of the dial switch is equal to 2, data on each bit of the dial switch may be 00, 01, 10, or 11, and accordingly, a communication address may be, for example, 1000, 1001, 1010, or 1011, and in a case where the communication bus connects 4 communication circuits, communication addresses corresponding to execution terminals accessed by the four communication circuits may be 1000, 1001, 1010, or 1011, respectively, and the communication addresses have a prefix "10" greater than the data on each bit of the dial switch.
With continued reference to fig. 3, on the basis that the address input module 302 includes a dial switch, one end of each channel of the dial switch, which is connected to the processing chip, may also be connected to the power supply voltage VCC through a pull-up resistor, and the other end may be grounded, so that when a certain channel of the dial switch is turned on, the processing chip may detect a low level, and when a certain channel of the dial switch is turned off, the processing chip may detect a high level.
The processing chip 303 is configured to obtain the communication address and the control instruction received by the communication conversion chip, and trigger the execution terminal to execute an operation when a target communication address carried by the control instruction is the same as the communication address.
Optionally, the processing chip 303 may be an MCU (micro controller Unit) chip, and the specific type is not limited.
The processing chip 303 may obtain a communication address from the address input module 302. Optionally, the processing chip 303 may obtain the communication address from the address input module 302 each time when the communication address is needed, or may store the communication address after obtaining the communication address from the address input module 302, and subsequently only needs to obtain the stored communication address, which is not limited specifically.
The processing chip 303 may obtain a control instruction sent by the main control board 100 through the communication bus, where the control instruction carries a target communication address, and the control instruction may be used to instruct the trigger execution terminal to execute an operation. The processing chip 303 may obtain the target communication address, compare the target communication address with the communication address, and trigger the execution terminal to execute the operation when the target communication address is the same as the communication address.
Optionally, the execution terminal accessed by the terminal interface 301 may be a code scanning gun. In this case, the execution terminal is specifically configured to perform a code scanning operation when performing an operation. Of course, this is merely an example and may actually be determined according to the specific type of the executing terminal.
The communication conversion chip 304 is configured to convert an operation result of the execution terminal into target data suitable for transmission by the communication bus 200, and send the target data to the main control board 100 through the communication bus 200.
In the conversion process, the data content is not changed, but only the format of the data is changed, for example, TTL serial data can be converted into data transmitted from the 485 bus, in other words, the target data can still represent the operation result of the execution terminal, and is only available for communication bus transmission in form.
Optionally, the communication converting chip 304 may be, for example, a chip with a model of MAX485, and a dedicated serial TTL and 485 communication converting chip, and of course, the specific type of the communication converting chip 304 is not limited thereto.
In the embodiment of the present invention, the communication circuit is arranged and connected to the main control board through the communication bus, the execution terminal can be connected to the terminal interface, the address input module can input the communication address corresponding to the execution terminal, so the processing chip can determine whether to trigger the execution terminal to execute the operation according to the communication address and the target communication address carried by the control command sent by the main control board, under the condition of executing the operation, the operation result data of the execution terminal can be converted into the target data suitable for the transmission of the communication bus through the communication conversion chip, so that the main control board can obtain the target data transmitted by the communication bus from the execution terminal needing to communicate, based on the communication circuit, a plurality of communication circuits (also representing a plurality of execution terminals) can communicate with the main control board through the same communication bus, and a plurality of execution terminals only need to occupy one path of serial port resources of the main control board, the burden of the main control board can be reduced, serial port resources are saved and used for other serial port devices, the wiring difficulty of assembly and wiring can be simplified due to the reduction of serial port wiring, the anti-interference capability is improved, and the stability of the system is improved.
When using foretell communication device in the full-automatic storehouse appearance of building of multi-flux draw-in groove box, four card box business turn over hole sites of the full-automatic storehouse appearance of building of multi-flux draw-in groove box can set up one respectively and sweep a yard rifle, can sweep a yard rifle communication connection with four with the main control board through a communication bus, no longer need four serial ports resources of main control board.
Optionally, the terminal interface 301 in the communication circuit 300 is connected to the communication conversion chip 304 through a first serial communication line 305; the communication bus 200 is a second serial communication line different from the first serial communication line 305.
Thus, the main control board 100 can communicate with a plurality of execution terminals only by providing an interface connected to the second serial communication line, and does not need to connect a plurality of execution terminals for communication through a plurality of first serial communication lines. Preferably, the first serial communication line 305 may be a TTL serial communication line, the communication bus is a 485 bus, the execution terminals support TTL serial communication, and the communication conversion chip 304 may be a chip for converting a TTL signal into a 485 signal, so that the plurality of execution terminals are connected to their respective communication conversion chips through the TTL serial communication line, and these communication conversion chips may be connected to the main control board through the 485 bus, thereby saving serial resources of the main control board 100.
In one embodiment, the processing chip is further configured to: when the communication conversion chip is started, the communication conversion chip is set to be in a receiving mode, and the communication conversion chip can receive an instruction sent by a main control board in the receiving mode;
when the target communication address carried by the control instruction is the same as the communication address, the processing chip is further configured to: switching the communication conversion chip from the receiving mode to a sending mode, wherein the communication conversion chip can send data to a main control board in the sending mode;
the processing chip is further configured to: and when the communication conversion chip is determined to finish the transmission of the target data, switching the communication conversion chip from the transmission mode to the receiving mode.
Specifically, when the processing chip is started, the communication address of the address input module can be read, and the communication conversion chip is set to be in a receiving mode so as to monitor the communication of the communication bus; when the communication bus transmits a control instruction, the communication conversion chip can receive the control instruction and send the control instruction to the processing chip; the processing chip compares whether the target communication address carried by the control instruction is the same as the acquired communication address, if so, the execution terminal is triggered to execute the operation, and the communication conversion chip can be switched from the receiving mode to the sending mode; the execution terminal can convert the operation result through the communication conversion chip and send the operation result to the main control board; and when the processing chip determines that the communication conversion chip completes the sending of the target data, the processing chip switches the communication conversion chip from the sending mode to the receiving mode again so as to monitor the communication of the communication bus and wait for the next instruction. Of course, if the result of comparing whether the target communication address carried by the control instruction is the same as the acquired communication address by the processing chip is different, it indicates that the control instruction is not sent to the communication circuit, and the control instruction can be ignored and is not processed.
Optionally, with continued reference to fig. 3, the communication circuit 300 may further include a bus interface 306, where the bus interface 306 is connected to the communication converting chip 304, and is used for connecting the communication converting chip 304 and the communication bus 200.
Optionally, with continued reference to fig. 3, the communication circuit 300 may further include a program downloading interface 307 for downloading a program for the processing chip 303.
It is understood that the communication circuit 300 may also include other components, modules, etc. such as some capacitors, resistors, etc. shown in fig. 3, which may be set according to the requirement, and are not limited in particular.
Optionally, the main control board may be designed to be a dual-MCU architecture, and the main MCU communicates with the auxiliary MCU through the SPI or IIC bus. When the main MCU needs to control which execution terminal, corresponding information is sent to the auxiliary MCU; and after receiving the message, the auxiliary MCU generates a control command and sends the control command to a corresponding communication circuit so as to control a corresponding execution terminal to execute operation, and after receiving data obtained by the execution terminal operation, the auxiliary MCU forwards the data to the main MCU. The main MCU communicates with the auxiliary MCU to better control the multi-path execution terminal.
The utility model also provides a communication circuit, the communication circuit can be connected with a main control board through a communication bus, the main control board is used for sending a control instruction, and the control instruction carries a target communication address;
wherein, the communication circuit includes at least: the terminal interface is connected with the processing chip, the address input module is connected with the processing chip, the communication conversion chip is connected with the terminal interface and the processing chip, and the communication conversion chip is connected with the communication bus;
the terminal interface is used for accessing an execution terminal;
the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by the terminal interface;
the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute operation when the target communication address carried by the control instruction is the same as the communication address;
the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.
In one embodiment, the terminal interfaces in different communication circuits are used for accessing different execution terminals;
and the corresponding communication addresses of different execution terminals are different.
In one embodiment, the address input module comprises a dial switch;
the number N of the dial switch is greater than or equal to 1.
In one embodiment, the communication address is composed of data on each bit of the dial switch;
or the communication address corresponds to a code consisting of data on each bit of the dial switch.
In one embodiment, the number of bits of the dip switches in different communication circuits is the same.
In one embodiment, the number of communication circuits to which the communication bus can be connected is less than or equal to 2 to the power of N.
In one embodiment, the terminal interface in the communication circuit is connected with the communication conversion chip through a first serial communication line;
the communication bus is a second serial communication line, and the second serial communication line is different from the first serial communication line.
In one embodiment, the communication bus is a 485 bus.
In one embodiment, the execution terminal is a code scanning gun;
and when the execution terminal executes the operation, the execution terminal is specifically used for executing code scanning operation.
For details of the communication circuit, reference may be made to the description of the foregoing embodiments, which are not repeated herein.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention.

Claims (10)

1. A communication device is characterized by comprising a main control board, a communication bus and a plurality of communication circuits; the main control board is connected with the plurality of communication circuits through the same communication bus, and is used for sending control instructions to the plurality of communication circuits, wherein the control instructions carry target communication addresses;
wherein, the communication circuit includes at least: the terminal interface is connected with the processing chip, the address input module is connected with the processing chip, and the communication conversion chip is connected with the terminal interface, the processing chip and the communication bus;
the terminal interface is used for accessing an execution terminal;
the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by the terminal interface;
the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute operation when the target communication address carried by the control instruction is the same as the communication address;
the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.
2. The communication device of claim 1, wherein the terminal interfaces in different communication circuits are used for accessing different execution terminals;
and the corresponding communication addresses of different execution terminals are different.
3. The communication device of claim 1, wherein the address input module comprises a dial switch;
the number N of the dial switch is greater than or equal to 1.
4. The communication device of claim 3, wherein the communication address is comprised of data on each bit of the dial switch;
or the communication address corresponds to a code consisting of data on each bit of the dial switch.
5. The communication device of claim 3, wherein the number of bits of the dip switches in different communication circuits is the same.
6. The communication device of claim 3, wherein the number of communication circuits connectable to the communication bus is less than or equal to 2 to the power of N.
7. The communication device according to claim 1, wherein the terminal interface of the communication circuit is connected to the communication conversion chip via a first serial communication line;
the communication bus is a second serial communication line, and the second serial communication line is different from the first serial communication line.
8. The communication device of claim 1, wherein the communication bus is a 485 bus.
9. The communication device of claim 1, wherein the execution terminal is a code scanning gun;
and when the execution terminal executes the operation, the execution terminal is specifically used for executing code scanning operation.
10. A communication circuit is characterized in that the communication circuit can be connected with a main control board through a communication bus, the main control board is used for sending a control instruction, and the control instruction carries a target communication address;
wherein, the communication circuit includes at least: the terminal interface is connected with the processing chip, the address input module is connected with the processing chip, the communication conversion chip is connected with the terminal interface and the processing chip, and the communication conversion chip is connected with the communication bus;
the terminal interface is used for accessing an execution terminal;
the address input module is used for inputting a communication address, and the communication address corresponds to an execution terminal accessed by the terminal interface;
the processing chip is used for acquiring the communication address and the control instruction received by the communication conversion chip, and triggering the execution terminal to execute operation when the target communication address carried by the control instruction is the same as the communication address;
the communication conversion chip is used for converting the operation result of the execution terminal into target data suitable for transmission of the communication bus and sending the target data to the main control board through the communication bus.
CN202120693621.8U 2021-04-06 2021-04-06 Communication device and communication circuit Active CN214623921U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120693621.8U CN214623921U (en) 2021-04-06 2021-04-06 Communication device and communication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120693621.8U CN214623921U (en) 2021-04-06 2021-04-06 Communication device and communication circuit

Publications (1)

Publication Number Publication Date
CN214623921U true CN214623921U (en) 2021-11-05

Family

ID=78399374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120693621.8U Active CN214623921U (en) 2021-04-06 2021-04-06 Communication device and communication circuit

Country Status (1)

Country Link
CN (1) CN214623921U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115171363A (en) * 2021-04-06 2022-10-11 上海思路迪生物医学科技有限公司 Communication device and communication circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115171363A (en) * 2021-04-06 2022-10-11 上海思路迪生物医学科技有限公司 Communication device and communication circuit

Similar Documents

Publication Publication Date Title
CN108270883B (en) Can automatic dispensing device address code method, breaker and storage medium
CA1193023A (en) Programmable controller with expandable i/o interface circuitry
CN112988495B (en) Multifunctional test method, device and system for SOC chip multiplex pin
WO2003005050B1 (en) Method and apparatus for optimized parallel testing and access of electronic circuits
CN214623921U (en) Communication device and communication circuit
CN110750402A (en) Debugging device and remote debugging system
CN109582623A (en) One kind can be realized the cascade expansion board circuit of muti-piece different type expansion board
CN111880513A (en) Test circuit and test method of device to be tested
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
CN108885435B (en) Control method, host, slave, mobile terminal and control system
CN115171363A (en) Communication device and communication circuit
CN100476778C (en) Master module, function module, electronic device and identification data setting method thereof
CN101267350B (en) Debugging method and debugging system
CN114500598A (en) Equipment access method, system and proxy service equipment
CN111104361B (en) Serial port number query method and device, computer equipment and storage medium
CN113765749A (en) Electric port module, method for acquiring working state of electric port module and computer storage medium
CN107918074A (en) The hardware pulse time series stereodata system and method for multiple instruments device test system
JP4005675B2 (en) Telecommunications equipment
CN111427525A (en) Synchronous control method and device for cluster equipment, computer equipment and storage medium
CN210629552U (en) Circuit for automatically configuring MAC address of network card by utilizing single chip microcomputer
CN115695405B (en) Equipment control method, device, control terminal, execution terminal and service terminal
CN217157453U (en) One-to-many communication wireless remote control device and engineering equipment
CN110708403B (en) Circuit and method for automatically configuring MAC address of network card by utilizing singlechip
CN111382100A (en) Data acquisition method and system of I2C bus
RU209503U1 (en) RCS IO signal input/output device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant