CN211378040U - MODBUS network card - Google Patents

MODBUS network card Download PDF

Info

Publication number
CN211378040U
CN211378040U CN202020531120.5U CN202020531120U CN211378040U CN 211378040 U CN211378040 U CN 211378040U CN 202020531120 U CN202020531120 U CN 202020531120U CN 211378040 U CN211378040 U CN 211378040U
Authority
CN
China
Prior art keywords
module
power supply
network card
interface
modbus network
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
CN202020531120.5U
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.)
Guangzhou Protectwell Electronic & Technology Co ltd
Original Assignee
Guangzhou Protectwell Electronic & Technology 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 Guangzhou Protectwell Electronic & Technology Co ltd filed Critical Guangzhou Protectwell Electronic & Technology Co ltd
Priority to CN202020531120.5U priority Critical patent/CN211378040U/en
Application granted granted Critical
Publication of CN211378040U publication Critical patent/CN211378040U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses a MODBUS network card. The technical scheme that this application embodiment provided connects host system and fire control host computer through 485 communication module, and receive the register command of writing that the fire control host computer sent through 485 communication module, host system responds to the register command and updates the equipment state buffer value in the module of registering, and provide modbusTCP agreement through the net gape, host system sends equipment state buffer value to third party's equipment through ethernet communication module, so that third party's equipment responds to equipment state buffer value and carries out corresponding action, and simultaneously, expand a plurality of MODBUS network cards through the extension module, establish the communication connection between a plurality of MODBUS network cards, make between a plurality of MODBUS network cards update equipment state buffer value in step, satisfy the connection needs of a plurality of third party's equipment, thereby expand the net gape quantity of fire control host computer, optimize the buildding of automatic fire alarm system.

Description

MODBUS network card
Technical Field
The embodiment of the application relates to the field of equipment communication, in particular to an MODBUS network card.
Background
Automatic fire alarm systems play an important role in the field of fire protection, and typically comprise: smoke detector, temperature-sensing detector, manual alarm, alarm equipment and fire-fighting host computer that has the remote notice ability. The fire-fighting host is the heart of the fire automatic alarm system, and can realize the centralized control of the whole fire alarm system.
In some fire-fighting projects, a fire-fighting host is required to be provided with a plurality of independent network segment network ports to provide a ModbusTCP protocol, a plurality of third-party devices (such as CRT display devices) are connected with the fire-fighting host through the network ports, and the states of all the devices in a host detection area are read.
However, in general, the fire-fighting host only provides one path of network port, and when a plurality of third-party devices are to be configured, a plurality of fire-fighting hosts are to be configured correspondingly, which is not beneficial to building a system.
SUMMERY OF THE UTILITY MODEL
The embodiment of the application provides an MODBUS network card to the net gape quantity of extension fire control host computer optimizes the buildding of automatic fire alarm system.
In a first aspect, an embodiment of the present application provides an MODBUS network card, including a main control module, a 485 communication module, an ethernet communication module, an expansion module, and a register module, wherein:
the 485 communication module is electrically connected with the main control module and is used for providing an RS485 communication interface for communicating with the main control module;
the Ethernet communication module is electrically connected with the main control module and is used for providing an Ethernet communication interface for communicating with the main control module;
the expansion module is electrically connected with the 485 communication module and is used for being connected with expansion modules of other MODBUS network cards so as to establish the electrical connection of the 485 communication module among the MODBUS network cards;
the register module is electrically connected to the main control module and used for storing the device state buffer value, and the main control module receives and sends the device state buffer value through the 485 communication module and the Ethernet communication module respectively.
Further, the expansion module includes a first expansion interface, a second expansion interface, and a connection module, wherein:
the first expansion interface or the second expansion interface is electrically connected to the 485 communication module;
the connection module is electrically connected between the first expansion interface and the second expansion interface and used for connecting or disconnecting the first expansion interface and the second expansion interface;
and the second expansion interface is used for being connected with the first expansion interface of the next MODBUS network card.
Furthermore, the connecting module is a jumper cap.
Further, the MODBUS network card further comprises a power module for supplying power, wherein the power module is electrically connected to the first expansion interface and the second expansion interface;
first MODBUS network card connect the module and set up to the disconnection first expansion interface with second expansion interface's state, first MODBUS network card passes through first expansion interface does power module inserts the power, second expansion interface inserts the power through the power module of next MODBUS network card to the next MODBUS network card.
Further, the power supply module comprises a first power supply circuit, a second power supply circuit and a third power supply circuit, which are respectively used for providing a first voltage power supply, a second voltage power supply and a third voltage power supply with sequentially reduced voltage levels;
the first power circuit is electrically connected to the first expansion interface and the second expansion interface, the second power circuit is electrically connected to the first power circuit and is used for converting a first voltage power supply of the first power circuit into a second voltage power supply, and the third power circuit is electrically connected to the second power circuit and is used for converting the second voltage power supply of the second power circuit into a third voltage power supply.
Further, the 485 communication module comprises an RS485 transceiver with a chip model number of SP3485 and an RS485 interface for providing the RS485 communication interface, an RO pin and a DI pin of the RS485 transceiver are electrically connected to the main control module, and an A pin and a B pin of the RS485 transceiver are electrically connected to the RS485 interface.
Further, the ethernet communication module includes an ethernet controller with a chip model DM9000 and an RJ45 interface for providing an ethernet communication interface, the ethernet controller is connected to the FSMC controller of the main control module, and a TX pin and an RX pin of the ethernet controller are electrically connected to an RD pin and a TD pin of the RJ45 interface, respectively.
Further, the MODBUS network card further comprises an address configuration module, wherein the address configuration module is electrically connected to the main control module and is used for configuring a network card address of the MODBUS network card.
Further, the address configuration module is a dial switch.
Furthermore, the MODBUS network card further comprises a USB to serial port module electrically connected to the main control module for providing a USB communication interface for programming the program to the main control module.
In the embodiment of the application, the master control module is connected with the fire-fighting host through the 485 communication module, and receives a register writing command sent by the fire-fighting host through the 485 communication module, the master control module responds to the register command to update the device state buffer value in the register module and is connected with the master control module and a third-party device through the Ethernet communication module, the ModbusTCP protocol is provided through the network port, the main control module sends the equipment state buffer value to the third-party equipment through the Ethernet communication module, so that the third-party equipment responds to the equipment state buffer value and executes corresponding action, meanwhile, the plurality of MODBUS network cards are expanded through the expansion module, communication connection among the plurality of MODBUS network cards is established, the equipment state buffer values among the plurality of MODBUS network cards are enabled to be updated synchronously, the connection requirements of a plurality of third-party equipment are met, the number of net openings of the fire fighting host is expanded, and the building of an automatic fire alarm system is optimized.
Drawings
Fig. 1 is a block diagram of an MODBUS network card according to an embodiment of the present application;
fig. 2 is a schematic diagram of a circuit connection of a main control module of another MODBUS network card according to the embodiment of the present application;
fig. 3 is a schematic circuit connection diagram of a power module of another MODBUS network card according to the embodiment of the present application;
fig. 4 is a schematic circuit connection diagram of an ethernet controller of another MODBUS network card according to the embodiment of the present application;
fig. 5 is a schematic circuit connection diagram of an RJ45 interface of another MODBUS network card according to the embodiment of the present disclosure;
fig. 6 is a schematic circuit connection diagram of a 485 communication module of another MODBUS network card according to the embodiment of the present application;
fig. 7 is a schematic circuit connection diagram of an expansion module of another MODBUS network card according to the embodiment of the present application;
fig. 8 is a schematic circuit connection diagram of a register module of another MODBUS network card according to the embodiment of the present application;
fig. 9 is a schematic circuit connection diagram of an address configuration module of another MODBUS network card according to the embodiment of the present application;
fig. 10 is a USB to serial port module of another MODBUS network card according to the embodiment of the present application.
Reference numerals: 1. a main control module; 2. a 485 communication module; 3. an Ethernet communication module; 4. an expansion module; 41. a first expansion interface; 42. a second expansion interface; 43. a connection module; 5. a registering module; 6. a power supply module; 7. an address configuration module; 8. USB changes serial port module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 shows a block diagram of a MODBUS network card according to an embodiment of the present application. As shown in fig. 1, the MODBUS network card includes a main control module 1, a 485 communication module 2, an ethernet communication module 3, an expansion module 4, a register module 5 and a power supply module 6. The power module 6 is electrically connected to the expansion module 4, and is connected to a power supply through the expansion module 4 and provides power for each module of the MODBUS network card.
Wherein, a set of data receiving and dispatching end (receiver output and driver input) of 485 communication module 2 electricity is connected in the serial communication interface of host system 1, another set of data receiving and dispatching end (driver output and receiver input) electricity is connected in extension module 4 and provides the RS485 communication interface with host system 1 communication, and fire control host computer accessible RS485 communication interface communicates with host system 1.
Further, the ethernet communication module 3 and the register module 5 are both electrically connected (communicatively connected) to the main control module 1, and the ethernet communication module 3 is configured to provide an ethernet communication interface (RJ45 interface) for communicating with the main control module 1. The third party device may communicate with the main control module 1 through an ethernet communication interface.
The register module 5 is used for storing the device state buffer value, and the main control module 1 receives the device state buffer value through the 485 communication module 2 and sends the device state buffer value through the ethernet communication module 3. The device state buffer value is collected by the fire-fighting host computer according to the device state in the detection area, a write register command reflecting the device state or state change is generated, and the write register command is sent to the main control module 1 through the 485 communication module 2. The main control module 1 updates the device status buffer value in the register module 5 according to the register writing command. The third-party device circularly reads the device state buffer value in the register module 5 through the Ethernet communication module 3, and executes corresponding action according to the device state buffer value.
The expansion module 4 is used for being connected with the expansion modules 4 of other MODBUS network cards to establish the electrical connection of the 485 communication module 2 between the MODBUS network cards, realize the expansion of a plurality of Ethernet communication modules 3, and provide a plurality of Ethernet interfaces for the access of third-party equipment. After the 485 communication modules 2 of the MODBUS network cards are connected, the 485 communication module 2 of one of the MODBUS network cards is connected with a fire host, the fire host synchronously writes a register command in a broadcasting mode, and the MODBUS network cards can synchronously respond to the register writing command and update the equipment state buffer value. At this time, the third-party device connected to different MODBUS network cards can execute corresponding actions according to the device status buffer value.
Further, the expansion module 4 includes a first expansion interface 41, a second expansion interface 42, and a connection module 43. The first expansion interface 41 or the second expansion interface 42 is electrically connected to the 485 communication module 2, that is, the 485 communication module 2 is electrically connected to one of the first expansion interface 41 and the second expansion interface 42, and the embodiment is described by taking the 485 communication module 2 as an example to be electrically connected to the second expansion interface 42.
Specifically, the connection module 43 is electrically connected between the first expansion interface 41 and the second expansion interface 42, and is used for connecting or disconnecting the first expansion interface 41 and the second expansion interface 42, so as to implement the electrical connection between the 485 communication module 2 and the second expansion interface 42 or the first expansion interface 41 (in this embodiment, the electrical connection between the 485 communication module 2 and the first expansion interface 41 is taken as an example).
Further, the second expansion interface 42 is configured to be connected to the first expansion interface 41 of the next MODBUS network card, that is, after the second expansion interface 42 is electrically connected to the first expansion interface 41 of the next MODBUS network card, the 485 communication module 2 is electrically connected to the first expansion interface 41 of the next MODBUS network card.
It can be understood that, after the connection module 43 communicates the first expansion interface 41 and the second expansion interface 42, the first expansion interface 41, the second expansion interface 42 and the 485 communication module 2 corresponding to the MODBUS network card are electrically connected to each other, and meanwhile, the 485 communication module 2 of the MODBUS network card is electrically connected to the second expansion interface 42 of the previous MODBUS network card through the first expansion interface 41, so as to realize the electrical connection between the 485 communication modules 2 of the two MODBUS network cards. Furthermore, the synchronous data receiving of the plurality of 485 communication modules 2 can be realized through the connection of the first expansion module 4 and the second expansion module 4 among the plurality of MODBUS network cards. Optionally, the expansion interfaces may be connected by a flat cable.
The first expansion interface 41 of the first MODBUS network card can be used for connecting with a fire-fighting host, and power is taken from the fire-fighting host to provide power for the power module 6. Meanwhile, the second expansion interface 42 provides power for the first expansion interface 41 of the next MODBUS network card connected thereto.
Specifically, the first expansion interface 41 and the second expansion interface 42 each include a power supply portion and a communication portion, wherein the communication portion is used for connecting the 485 communication module 2, and the communication portion electrically connected to the first expansion interface 41 is electrically connected between the communication portions of the second expansion interface 42 by the connection module 43. The power supply part of the first expansion interface 41 in the same MODBUS network card is electrically connected to the power supply part of the second expansion interface 42. The power supply part of the first expansion interface 41 is used for accessing a power supply from the fire-fighting host (host output card) or the second expansion interface 42 of the previous MODBUS network card, and the power supply part of the second expansion interface 42 is used for accessing the power supply part of the first expansion interface 41 of the next MODBUS network card. It can be understood that the connection module 43 of the first MODBUS network card disconnects the first expansion interface 41 from the second expansion interface 42, so as to avoid confusion between the 485 communication module 2 and the host output card.
In other embodiments, the power source of the power module 6 may also be directly accessed from the fire-fighting host or the power adapter, and the expansion interface is only used for realizing the connection of the 485 communication module 2. Or adjacent MODBUS network cards still provide power through the expansion interface, but the first MODBUS network card is connected to the power through the fire-fighting host or the power adapter.
Further, the MODBUS network card further comprises an address configuration module 7 and a USB serial port conversion module 8 electrically connected to the main control module 1. The address configuration module 7 is used for configuring the network card address of the MODBUS network card, determining the network card address according to the position of the MODBUS network card in the network cards connected side by side, setting by the address configuration module 7, and distinguishing the MODBUS network card according to the network card address when the configuration is modified or the equipment is patrolled. The USB-to-serial port is used for providing a USB communication interface for burning programs to the main control module 1.
The master control module 1 is connected with the fire-fighting host through the 485 communication module 2, the master control module 1 receives a register writing command sent by the fire-fighting host through the 485 communication module 2, the master control module 1 updates the device state buffer value in the register module 5 in response to the register writing command, the master control module 1 is connected with a third-party device through the Ethernet communication module 3, a ModbusTCP protocol is provided through a network port, the master control module 1 sends the device state buffer value to the third-party device through the Ethernet communication module 3 so that the third-party device responds to the device state buffer value and executes corresponding actions, meanwhile, the plurality of MODBUS network cards are expanded through the expansion module 4, communication connection among the plurality of MODBUS network cards is established, the device state buffer value is synchronously updated among the plurality of MODBUS network cards, the connection requirement of the plurality of third-party devices is met, and the number of the network ports of the fire-fighting host is expanded, and (5) optimizing the construction of an automatic fire alarm system.
Fig. 2 to fig. 10 are schematic circuit structures of modules in another MODBUS network card according to an embodiment of the present application, and the present embodiment is further configured on the basis of the foregoing embodiment.
Specifically, fig. 2 is a schematic circuit connection diagram of a main control module of another MODBUS network card provided in the embodiment of the present application, and fig. 3 is a schematic circuit connection diagram of a power module of another MODBUS network card provided in the embodiment of the present application. Referring to fig. 2 and fig. 3, the main body of the main control module provided in this embodiment is a microcontroller of the model STM32F103Zet6, and the main control module has interfaces such as 64KB SRAM, 512KB FLASH, 2 basic timers, FSMC interface, and 112 general IO ports, and peripheral circuits thereof may be configured based on the prior art, which is not described again in this embodiment.
The power module comprises a first power circuit, a second power circuit and a third power circuit, which are respectively used for providing a first voltage power supply, a second voltage power supply and a third voltage power supply with different voltage levels, wherein in the embodiment, the first voltage power supply, the second voltage power supply and the third voltage power supply are specifically a 24V voltage power supply, a 5V voltage power supply and a 3.3V voltage power supply. That is, the first power supply circuit includes a 24V voltage access circuit, the second power supply circuit includes a 24V to 5V voltage converter IC1 of chip model number TPS54340, and the third power supply circuit includes a 5V to 3.3V voltage converter IC2 of chip model number AMS 1117.
Specifically, the 24V voltage access circuit (first power supply circuit) includes a diode D2, a polarity capacitor C6 and a transient suppression diode Z1, an anode terminal of the diode D2 is connected to a power supply VIN/24V through a fuse F1, the power supply VIN/24V is accessed to a 24V power supply through a power adapter, a cathode terminal of the polarity capacitor C6 is connected to a cathode terminal of the diode D2, a cathode terminal of the polarity capacitor C6 is grounded, a cathode terminal of the diode D2 is used as an output VDD/24V of the 24V voltage access circuit, one end of the transient suppression diode Z1 is connected to VDD/24V, and the other end of the transient suppression diode Z1 is grounded to provide stable 24V power supply.
The VIN pin of a 24V-to-5V voltage converter IC1 in the second power supply circuit is connected to the output end VDD/24V of the 24V voltage access circuit, the BOOT pin of an IC1 is connected with a series capacitor C1 and an inductor L1 to serve as the 5V output end VDD/5V of the second power supply circuit, and the VDD/5V end is grounded through a transient suppression diode Z2 to provide stable 5V power supply. The peripheral circuits of the TPS54340 may be configured based on the prior art, and this embodiment is not described again.
The IN pin of the 5V-to-3V voltage converter IC2 IN the third power supply circuit is connected to the output end VDD/5V of the second power supply circuit, and the OUT pin thereof is led OUT to be used as the 3.3V output end VDD/3V3 of the third power supply circuit, and the end VDD/3V3 is grounded through a transient suppression diode Z3 to provide stable 3.3V power supply. The peripheral circuits of the AMS1117 may be configured based on the prior art, and the detailed description thereof is omitted here.
Fig. 4 is a schematic circuit connection diagram of an ethernet controller of another MODBUS network card provided in the embodiment of the present application, and fig. 5 is a schematic circuit connection diagram of an RJ45 interface of another MODBUS network card provided in the embodiment of the present application. As shown in fig. 2, 4 and 5, the ethernet communication module includes an ethernet controller U1 with a chip model DM9000 and an RJ45 interface J1 for providing an ethernet communication interface, the ethernet controller U1 is connected to the FSMC controller of the main control module, and the FSMC controller in the main control module can drive the DM 9000.
Further, a TX pin and an RX pin of the ethernet controller U1 are electrically connected to an RD pin and a TD pin of the RJ45 interface J1, respectively, specifically, a TX pin and a TX + pin of the ethernet controller U1 are connected to an RD pin and an RD + pin of the RJ45 interface J1, respectively, and an RX pin and an RX + pin of the ethernet controller U1 are connected to a TD pin and a TD + pin of the RJ45 interface J1, respectively. The third party device can access the ethernet controller U1 through the RJ45 interface J1, thereby realizing communication with the active module, and provides ModbusTCP protocol to the third party device through the DM 9000. It is understood that the peripheral circuits of the DM9000 and the RJ45 interfaces may be configured based on the prior art, and the detailed description thereof is omitted here.
Fig. 6 is a schematic circuit connection diagram of another 485 communication module of a MODBUS network card according to the embodiment of the present application. As shown in fig. 2 and fig. 6, in this embodiment, the 485 communication module includes an RS485 transceiver U5 with a chip model SP3485 and an RS485 interface P4 for providing an RS485 communication interface, an RO pin and a DI pin of the RS485 transceiver U5 are electrically connected to the main control module, and an a pin and a B pin of the RS485 transceiver U5 are electrically connected to the RS485 interface P4. Specifically, the RO pin and the DI pin of the RS485 transceiver U5 are electrically connected to the No. 37 pin and the No. 36 pin of the main control module, respectively. The pin A and the pin B of the RS485 transceiver U5 are electrically connected to the pin 3 and the pin 4 and the pin 1 and the pin 2 of the RS485 interface P4 respectively. And a terminal resistor R31 is connected between the RS485/A and the RS485/B, the terminal resistor R31 is connected with a wiring terminal P5 in series, and the wiring terminal P5 is short-circuited or disconnected through a jumper cap. The fire-fighting host can be connected to the RS485 transceiver U5 through an RS485 interface P4, so that communication with the active module is realized. It is understood that the peripheral circuits of the SP3485 and RS485 interfaces may be configured based on the prior art, and the detailed description of this embodiment is omitted.
Fig. 7 is a schematic circuit connection diagram of an expansion module of another MODBUS network card according to the embodiment of the present application. As shown in fig. 6 and 7, the expansion module includes a first expansion interface P1, a second expansion interface P2 and a connection module Px, wherein each of the first expansion interface P1 and the second expansion interface P2 includes a power supply portion (pins No. 1-10 in P1 and P2) and a communication portion (pins No. 11-14, pin No. 11 and pin No. 12, pin No. 13 and pin No. 14 in P1 and P2 communicate with each other), wherein the communication portion is used for connecting the 485 communication module, and the power supply portion of the first expansion interface P1 is electrically connected to the power supply portion of the second expansion interface P2.
Specifically, the pin 12 and the pin 14 of the first expansion interface are electrically connected to the pin 1 and the pin 3 of the connection module Px, the pin 12 and the pin 14 of the second expansion interface are electrically connected to the pin 2 and the pin 4 of the connection module Px, and the pin 12 and the pin 14 of the second expansion interface are also electrically connected to the pin B and the pin a of the RS485 transceiver U5, respectively. The connection module Px is specifically a jumper cap, and when the jumper cap is connected, pins 1 and 2 are connected, and pins 3 and 4 are connected, so that the connection and disconnection of the first expansion interface P1 and the second expansion interface P2 can be realized through the connection or disconnection of the jumper cap at the connection module Px, and further the connection and disconnection of the first expansion interface P1 and the RS485 transceiver U5 can be realized.
Furthermore, the MODBUS network cards can be connected side by side through the connection between the first expansion interface P1 and the second expansion interface P2. Specifically, the second expansion interface P2 of the MODBUS network card is connected with the first expansion interface P1 of the next MODBUS network card through a flat cable, and the power supply part of the second expansion interface P2 provides 24V power to the power supply part of the first expansion interface P1 of the next MODBUS network card. After the connection module Px of the next MODBUS network card is connected, the RS485 transceivers U5 of the two network cards establish connection (the pins with the same labels are in common). The first MODBUS network card is connected to the output card of the fire-fighting host through a flat cable, power is obtained from the fire-fighting host output card, 24V power is provided for the power module and the next network card, and the connection module Px of the first network card is disconnected, so that confusion between the 485 communication module and the host output card is avoided.
Fig. 8 is a schematic circuit connection diagram of a register module of another MODBUS network card according to the embodiment of the present application. As shown in fig. 2 and fig. 8, the register module of this embodiment includes an IS62WV51216 chip U2, and an IS62WV51216 chip U2 IS connected to the FSMC controller of the main control module, and IS configured to store the device state buffer value, and the main control module receives the device state buffer value through a 485 communication module and buffers the device state buffer value in the register module, and sends the device state buffer value buffered in the register module through an ethernet communication module. Peripheral circuits of the IS62WV51216 chip can be configured based on the prior art, and the detailed description IS omitted here.
Fig. 9 is a schematic circuit connection diagram of an address configuration module of another MODBUS network card according to the embodiment of the present application. With reference to fig. 2 and fig. 9, the address configuration module is specifically a dial switch S2, and in this embodiment, a description is given by taking an extended 4-way network port as an example, so that a four-bit dial switch is adopted. In other embodiments, the number of bits of the dial switch can be selected according to the number of the network ports needing to be expanded, and different combinations of the dial switches can be used. Specifically, pins 1-4 of the dial switch S2 are grounded, and pins 2-8 are respectively connected to pins 137-134 of the main control module.
The network card addresses of the MODBUS network cards can be configured through dial setting of the dial switch S2, for example, the dials of the first to fourth MODBUS network cards (the first MODBUS network card closest to the fire host) are respectively set to 0001, 0010, 0100 and 1000, and the MODBUS network cards can be distinguished according to the network card addresses when configuration modification or equipment inspection is performed.
Fig. 10 is a USB to serial port module of another MODBUS network card according to the embodiment of the present application. Referring to fig. 2 and 10, the USB to serial port module includes a USB to serial port chip U4 with a chip model of CH340G and a USB interface P3, wherein a D-pin and a D + pin of the USB interface PS are connected to a D-pin and a D + pin of the USB to serial port chip U4, a VCC pin is connected to a 5V power supply, and a GND pin is grounded. The TXD pin and the RXD pin of the USB to serial port chip U4 are connected to pins 102 and 101 of the main control module. And the USB-to-serial port module is used for providing a USB communication interface for burning programs to the main control module. The peripheral circuit of CH340G can be configured based on the prior art, and is not described in detail in this embodiment.
In addition, this application embodiment still provides and is used for SWD debugging interface, and SWD debugging interface electricity is connected in host system for provide the debugging interface of debugging MODBUS network card. The embodiment of the application further provides an LED lamp for displaying the working state of the MODBUS network card, wherein the LED-power1 is used for indicating the power supply connection condition, the LED-run1 is used for indicating the program running condition, the LED-net1 is used for indicating the working mode of the MODBUS network card, and the LED-RS1 is used for indicating the 485 communication condition.
The master control module is connected with the fire-fighting host through the 485 communication module, receives a register writing command sent by the fire-fighting host through the 485 communication module, responds to the register command to update the device state buffer value in the register module, is connected with the master control module and third-party devices through the Ethernet communication module, the ModbusTCP protocol is provided through the network port, the main control module sends the equipment state buffer value to the third-party equipment through the Ethernet communication module, so that the third-party equipment responds to the equipment state buffer value and executes corresponding action, meanwhile, the plurality of MODBUS network cards are expanded through the expansion module, communication connection among the plurality of MODBUS network cards is established, the equipment state buffer values among the plurality of MODBUS network cards are enabled to be updated synchronously, the connection requirements of a plurality of third-party equipment are met, the number of net openings of the fire fighting host is expanded, and the building of an automatic fire alarm system is optimized. In addition, the network card address is configured through the dial switch, so that the MODBUS network card can be conveniently distinguished according to the network card address when the configuration is modified or equipment is patrolled, the on-off of the first expansion interface and the second expansion interface is controlled through the jumper cap, and the situation of confusion between the 485 communication module and the host output card is effectively avoided.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. The utility model provides a MODBUS network card, its characterized in that includes host system (1), 485 communication module (2), ethernet communication module (3), expansion module (4) and deposits module (5), wherein:
the 485 communication module (2) is electrically connected to the main control module (1) and is used for providing an RS485 communication interface for communicating with the main control module (1);
the Ethernet communication module (3) is electrically connected to the main control module (1) and is used for providing an Ethernet communication interface for communicating with the main control module (1);
the expansion module (4) is electrically connected with the 485 communication module (2) and is used for being connected with the expansion modules (4) of other MODBUS network cards so as to establish the electrical connection of the 485 communication module (2) among the MODBUS network cards;
the register module (5) is electrically connected to the main control module (1) and is used for storing the device state register value, and the main control module (1) receives and sends the device state register value through the 485 communication module (2) and the Ethernet communication module (3) respectively.
2. The MODBUS network card of claim 1, wherein the expansion module (4) comprises a first expansion interface (41), a second expansion interface (42) and a connection module (43), wherein:
the first expansion interface (41) or the second expansion interface (42) is electrically connected to the 485 communication module (2);
the connecting module (43) is electrically connected between the first expansion interface (41) and the second expansion interface (42) and is used for connecting or disconnecting the first expansion interface (41) and the second expansion interface (42);
and the second expansion interface (42) is used for being connected with the first expansion interface (41) of the next MODBUS network card.
3. The MODBUS network card of claim 2, wherein the connection module (43) is a jumper cap.
4. The MODBUS network card of claim 2, wherein the first expansion interface (41) and the second expansion interface (42) each comprise a power supply part and a communication part, wherein the communication part is used for connecting the 485 communication module (2), and the power supply part of the first expansion interface (41) is electrically connected to the power supply part of the second expansion interface (42);
the power supply part of the first expansion interface (41) is used for being connected with a power supply, and the power supply part of the second expansion interface (42) is used for being connected with the power supply part of the first expansion interface (41) of the next MODBUS network card.
5. The MODBUS network card of claim 4, further comprising a power module (6) for supplying power, wherein the power module (6) comprises a first power circuit, a second power circuit and a third power circuit for providing a first voltage power, a second voltage power and a third voltage power with sequentially reduced voltage levels, respectively;
the first power supply circuit is connected with a power supply through a power supply part of the first expansion interface (41), the second power supply circuit is electrically connected with the first power supply circuit and used for converting a first voltage power supply of the first power supply circuit into a second voltage power supply, and the third power supply circuit is electrically connected with the second power supply circuit and used for converting the second voltage power supply of the second power supply circuit into a third voltage power supply.
6. The MODBUS network card of claim 1, wherein the 485 communication module (2) comprises an RS485 transceiver with a chip model number of SP3485 and an RS485 interface for providing the RS485 communication interface, the RO pin and the DI pin of the RS485 transceiver are electrically connected to the main control module (1), and the A pin and the B pin of the RS485 transceiver are electrically connected to the RS485 interface.
7. The MODBUS network card of claim 1, wherein the ethernet communication module (3) comprises an ethernet controller with a chip model DM9000 and an RJ45 interface for providing an ethernet communication interface, the ethernet controller is connected to the FSMC controller of the main control module (1), and a TX pin and an RX pin of the ethernet controller are electrically connected to an RD pin and a TD pin of the RJ45 interface, respectively.
8. The MODBUS network card of any one of claims 1-7, wherein said MODBUS network card further comprises an address configuration module (7), said address configuration module (7) being electrically connected to said main control module (1) for configuring the network card address of the MODBUS network card.
9. The MODBUS network card of claim 8, wherein the address configuration module (7) is a dial switch.
10. The MODBUS network card of any one of claims 1-7, further comprising a USB to serial module (8), wherein said USB to serial module (8) is electrically connected to said main control module (1) for providing a USB communication interface for programming programs to said main control module (1).
CN202020531120.5U 2020-04-10 2020-04-10 MODBUS network card Active CN211378040U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020531120.5U CN211378040U (en) 2020-04-10 2020-04-10 MODBUS network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020531120.5U CN211378040U (en) 2020-04-10 2020-04-10 MODBUS network card

Publications (1)

Publication Number Publication Date
CN211378040U true CN211378040U (en) 2020-08-28

Family

ID=72150944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020531120.5U Active CN211378040U (en) 2020-04-10 2020-04-10 MODBUS network card

Country Status (1)

Country Link
CN (1) CN211378040U (en)

Similar Documents

Publication Publication Date Title
US7747804B2 (en) Method and system for setting addresses for slave devices in data communication
CN205193835U (en) A external management system of intelligence for network distribution system
CN108616610A (en) Address distribution method, host, slave and bus system
CN100504688C (en) Private chip for implementing bus controller function in ring bus numerical control system
CN101013311A (en) Bus controller for numerical control system of full digital ring bus
CN112669590B (en) Tandem plug-and-play intelligent sensing communication system and automatic addressing method thereof
CN102724093A (en) Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof
CN111371566A (en) MODBUS network card
CN106713094B (en) 1394 data acquisition module
CN211378040U (en) MODBUS network card
CN104699055A (en) Field bus controller and method
CN204406186U (en) A kind of fieldbus controller
CN102710025A (en) Power system communication device and method
CN111177804A (en) System and method based on multi-platform data security isolation and service cooperative work
CN214042304U (en) Main board circuit for remotely updating BIOS chip on line based on server
CN107320893A (en) The device of monitoring and writing function is changed with fire-fighting controlling switch
CN114545222A (en) Intelligent substation relay protection debugging expander
CN204065816U (en) A kind of PROFIBUS-DPV1 communication main station
CN112597732A (en) Method and system for changing IIC device address through software configuration
CN110022255A (en) The ubiquitous electric power platform of internet of things of modularization based on mixing communication network data exchange
CN2653793Y (en) Household network intelligent terminal
CN105577415B (en) Intelligent optical distribution network equipment
CN110647079A (en) Monitoring system with main-standby machine switching function and monitoring host machine thereof
CN220455831U (en) Communication conversion card and redundant communication device
CN214067633U (en) Multi-path steering engine network controller

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant