Gateway

By designing a gateway that includes a housing, circuit board, and serial port conversion chip, it is possible to quickly acquire and upload RS485 signals with various parameters to the PLC. This solves the problems of slow data acquisition speed and low protection level in the existing technology, improves the transmission speed and applicability, and reduces the size of the equipment and the complexity of wiring.

CN223652282UActive Publication Date: 2025-12-09YANTAI DERONG IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423121600.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-12-09
Estimated Expiration
2034-12-18

AI Technical Summary

Technical Problem

In existing technologies, the master station has a slow data acquisition speed for multiple slave stations, low protection level, poor waterproof and dustproof effect, large size, and narrow application range, which cannot meet the requirement of slave station signals being quickly uploaded to the PLC.

Method used

Design a gateway comprising a housing, circuit board, serial port conversion chip, and multiple RS485 communication ports. The gateway controller, which is independently electrically connected, converts RS485 signals into Ethernet protocol signals and uploads them quickly to a PLC via a bus. It supports the acquisition and transmission of RS485 signals with various parameters.

Benefits of technology

It enables rapid acquisition and uploading of RS485 signals with various parameters to the PLC, with fast transmission speed, wide applicability, improved protection level, smaller size, and simpler wiring, reducing PLC wiring costs and logic control time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223652282U_ABST
    Figure CN223652282U_ABST
Patent Text Reader

Abstract

The utility model provides a gateway, comprising a housing which is provided with a plurality of installation ports; the circuit board is arranged in the shell; the serial port conversion chip is arranged in the shell; the at least two RS485 communication ports are arranged in the mounting port in a penetrating manner and are electrically connected with the circuit board; the RS485 communication port is connected with a signal transmission line, and the other end of the signal transmission line is connected with slave station equipment; the slave station device outputs an RS485 signal; the at least one bus communication port is electrically connected with the circuit board; the bus communication port is connected with a bus, and the other end of the bus is connected with the PLC; each RS485 communication port of the gateway controller is independently and electrically connected with the gateway controller, each bus communication port is independently and electrically connected with the gateway controller, the gateway controller is electrically connected with the serial port conversion chip, signals collected by the RS485 communication ports are transmitted to the serial port conversion chip to be converted into signals of an Ethernet protocol, and then the signals are output to the PLC through a bus. Each RS48 communication port can independently acquire RS485 signals with different parameters, and the RS485 signals with different parameters are transmitted to the PLC together, so that the transmission speed is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of information transmission technology, and in particular to a gateway. Background Technology

[0002] Currently, most control systems use programmable logic control systems (PLCs) as control cabinets, and people are placing higher demands on the speed of signal transmission from industrial communication products to PLCs.

[0003] In existing technologies, a master station is typically set up, which connects to multiple slave stations. The master station then uploads the collected data to a programmable logic control system (PLC). The slave stations use the RS-485 communication protocol and all slave stations have the same baud rate, parity check, and stop bits. The slave stations can be configured as communication products that use the RS-485 communication protocol, such as frequency converters, pressure sensors, and electronic scales.

[0004] The master station collects data by using serial port polling with different station numbers. This results in one master station corresponding to multiple slave stations, which requires them to collect data in turn. The data collection is slow and cannot meet the speed requirements of the slave station signals to be quickly uploaded to the programmable logic control system (PLC). The existing master station has a low protection level, poor waterproof and dustproof performance, high environmental requirements, large size, and narrow application range. Utility Model Content

[0005] The purpose of this invention is to provide a gateway that solves the technical problems of slow data acquisition and poor waterproof and dustproof performance in the prior art.

[0006] The gateway provided by this utility model includes: a housing with multiple mounting ports; a circuit board disposed inside the housing; a serial port conversion chip disposed inside the housing; at least two RS485 communication ports passing through the mounting ports and electrically connected to the circuit board; the RS485 communication ports being connected to a signal transmission line, the other end of which is connected to a slave device; at least one bus communication port passing through the mounting ports and electrically connected to the circuit board; the bus communication port being connected to a bus, the other end of which is connected to a programmable logic control system; each RS485 communication port being independently electrically connected to the gateway controller, each bus communication port being independently electrically connected to the gateway controller, and the gateway controller being electrically connected to the serial port conversion chip.

[0007] In some embodiments of this application, the gateway further includes a solid adhesive, which is adhered inside the housing and located on the side of the circuit board away from the mounting port; the housing includes a mounting side with a mounting port, and the projection of the solid adhesive on the mounting side can cover the projection of the circuit board on the mounting side.

[0008] In some embodiments of this application, the gateway further includes an LED viewing window, which is electrically connected to the gateway controller and is used to display parameters.

[0009] In some embodiments of this application, the bus is a network cable using the Ethernet protocol, so that the signals collected by the gateway are uploaded to the programmable logic control system through the network cable.

[0010] In some embodiments of this application, at least one power port connected to a power source is also included. The power port passes through the mounting port and is electrically connected to the circuit board. The RS485 communication port is electrically connected to the power port so that the RS485 communication interface is connected to the power source.

[0011] In some embodiments of this application, there are 8n RS485 communication ports, where n is a positive integer.

[0012] In some embodiments of this application, there are two or more bus communication ports, and the multiple bus communication ports are powered independently; there are two or more power ports, and the multiple power ports are connected to the power supply through independent power lines.

[0013] In some embodiments of this application, a gateway status indicator, an RS485 communication port communication status indicator, and an RS485 communication port power supply status indicator are also included.

[0014] In some embodiments of this application, the housing is elongated and includes a mounting side with a mounting opening and an extension side. The mounting side has a mounting opening, and the edge of the mounting side extends rearward to form an extension side. The mounting side has a connection opening for inserting a connecting extension post.

[0015] In some embodiments of this application, the circuit board and the mounting side are threaded together by a threaded component to fix the circuit board and the mounting side together.

[0016] This application has at least the following positive effects:

[0017] This utility model provides a gateway, including a housing with multiple mounting ports; a circuit board located inside the housing; a serial port conversion chip located inside the housing; at least two RS485 communication ports passing through the mounting ports and electrically connected to the circuit board; the RS485 communication ports are connected to a signal transmission line, the other end of which is connected to a slave device; the slave device outputs RS485 signals; at least one bus communication port is electrically connected to the circuit board; the bus communication port is connected to a bus, the other end of which is connected to a PLC; each RS485 communication port and the gateway controller are independently electrically connected, each bus communication port and the gateway controller are independently electrically connected, and the gateway controller is electrically connected to the serial port conversion chip. The signals collected by the RS485 communication ports are transmitted to the serial port conversion chip, converted into Ethernet protocol signals, and then output to the PLC via the bus. Each RS485 communication port can independently collect RS485 signals with different parameters, and RS485 signals with different parameters are transmitted to the PLC together, resulting in fast transmission speed. Attached Figure Description

[0018] To more clearly illustrate the specific embodiments of this utility model or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 A schematic diagram of a gateway provided in an embodiment of this utility model;

[0020] Figure 2 A schematic diagram of a gateway without adhesive backing provided in an embodiment of this utility model;

[0021] Figure 3 A schematic diagram of the adhesive used to attach the gateway according to an embodiment of this utility model;

[0022] Figure 4 A split diagram of the gateway provided in an embodiment of this utility model;

[0023] Icons: 100, Gateway; 1, Housing; 11, Mounting Port; 13, Mounting Side; 121, Gateway 100 Status Indicator; 122, RS485 Communication Port Communication Status Indicator; 123, RS485 Communication Port Power Supply Status Indicator; 131, Connection Opening; 14, Connection Side; 2, Circuit Board; 3, RS485 Communication Port; 4, Bus Communication Port; 5, Solid Glue; 6, Power Port; 7, Threaded Parts; 8, LED Viewing Window. Detailed Implementation

[0024] The technical solution of this utility model will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0025] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this utility model, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this utility model without creative effort are within the scope of protection of this utility model. Therefore, the following detailed description of the embodiments of this utility model provided in the accompanying drawings is not intended to limit the scope of the claimed utility model, but merely represents selected embodiments of this utility model. All other embodiments obtained by those skilled in the art based on the embodiments of this utility model without creative effort are within the scope of protection of this utility model.

[0026] In this utility model, unless otherwise explicitly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances. Furthermore, the terms "first," "second," and "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0027] In this invention, unless otherwise expressly specified and limited, "above or below" the first feature may include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on" the first feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the first feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0028] Currently, most control systems use Programmable Logic Controllers (PLCs) as control cabinets. Higher demands are being placed on the speed of signal transmission from industrial communication products to the PLC. To enable signals from RS-485 communication products to be uploaded to the PLC, a master station is typically set up, connecting multiple slave stations. The master station then uploads the collected data to the PLC. The slave stations use the RS-485 communication protocol, and all slave stations share the same baud rate, parity check, and stop bits. Slave stations can be configured with communication products using the RS-485 protocol, such as frequency converters, pressure sensors, and electronic scales.

[0029] The current technology uses serial port polling to collect data from different station numbers, which means that one master station has to collect data from multiple slave stations in turn. This results in slow data collection and cannot meet the speed requirements of the slave station to quickly upload signals to the programmable logic control system (PLC). The existing master stations have low protection levels, poor waterproof and dustproof performance, high environmental requirements, large size, and narrow application range.

[0030] Reference Figure 1-4 The gateway 100 includes a housing 1 with multiple mounting ports 11; a circuit board 2 is located inside the housing 1, a serial port conversion chip is located inside the housing 1, at least two RS485 communication ports 3 are inserted through the mounting ports 11 and electrically connected to the circuit board 2, the RS485 communication ports 3 are connected to a signal transmission line, the other end of the signal transmission line is connected to a slave device; the slave device outputs an RS485 signal; at least one bus communication port 4 is electrically connected to the circuit board 2; the bus communication port 4 is connected to a bus, the other end of the bus is connected to a PLC; each RS485 communication port 3 of the gateway 100 controller is independently electrically connected to the gateway 100 controller, and each bus... Communication port 4 is electrically connected independently to the gateway 100 controller. The gateway 100 controller is electrically connected to the serial port conversion chip. The signal collected by RS485 communication port 3 is transmitted to the serial port conversion chip and converted into an Ethernet protocol signal. Then, it is output to the PLC via the bus. Each RS485 communication port can independently collect RS485 signals with different parameters, and RS485 signals with different parameters are transmitted to the PLC together. The transmission speed is fast. This application provides a gateway 100 that can quickly collect signals from RS-485 communication products and upload them to the PLC control system. In this application, the gateway 100 is used to replace the master station in the prior art.

[0031] In this application, a gateway 100 has different communication ports that can connect to slave devices that emit RS-485 signals with different communication parameters. Each RS-485 communication port communicates independently, and the signals with different RS-485 communication parameters are aggregated to the gateway 100 controller inside the gateway 100. Then, the different signals are converted into Ethernet protocol signals through a serial port conversion chip and uploaded to the PLC. In the prior art, a master station can only collect RS-485 signals with the same parameters, which has a narrow range of applications and requires the addition of multiple master stations. In this application, a single gateway 100 can collect multiple RS-485 signals with different parameters, convert them into Ethernet signals, and upload them to the PLC. The communication speed is faster, which is a significant improvement compared to the prior art.

[0032] Gateway 100 includes a housing 1, inside which is a circuit board 2 and a serial port conversion chip. The back of the circuit board 2 is covered with adhesive that solidifies at room temperature. The serial port conversion chip is used to convert the serial port signals collected by the gateway 100 into standard Ethernet signals, or to convert the Ethernet signals into MODBUS-RTU protocol RS-485 serial port signals.

[0033] The housing 1 of the gateway 100 is provided with multiple mounting ports 11, which are used to install various power-conducting components and to solder the power-conducting components to the circuit board 2.

[0034] Gateway 100 includes a bus communication port 4, a power port 6, and an RS485 communication port 3. The bus communication port 4, power port 6, and RS485 communication port 3 are housed within mounting port 11 and soldered to circuit board 2.

[0035] The slave devices using the RS-485 communication protocol are connected to RS485 communication port 3, which is a communication port using the RS-485 communication protocol. There are at least two RS485 communication ports 3, enabling at least two slave devices to be connected to one gateway 100.

[0036] Bus communication port 4 connects to the bus, which is a network cable using the Ethernet protocol. The other end of the bus connects to the programmable logic controller (PLC). Bus communication port 4 sends signals out to the bus, which then transmits the signals to the PLC. Bus communication port 4 uses the Ethernet protocol to transmit data to the PLC, resulting in faster transmission speeds and more stable transmission.

[0037] Gateway 100 also includes an LED viewing window 8, which is used to display basic information such as MAC address and IP address.

[0038] Power port 6 is connected to a power source to supply power to gateway 100. Circuit board 2 is optionally electrically connected to RS485 communication port 3 to transmit power from RS485 communication port 3 to slave devices, such as frequency converters, pressure sensors, electronic scales, temperature sensors, and humidity sensors. The slave devices are products that use the RS-485 communication protocol.

[0039] Users connect the RS-485 communication slave devices to RS485 communication port 3 of gateway 100. If the slave devices require power (DC24V), the gateway 100's communication port can directly power them. Then, the gateway 100 is connected to a PLC or host computer control system via Ethernet. After powering the gateway 100, parameters are downloaded to the gateway 100 controller inside the gateway 100 to collect data from the eight slave devices.

[0040] In some embodiments, an RS485 communication port 3 can connect to multiple slave devices with the same communication parameters, which can increase the number of slave devices connected to a gateway 100, reduce the number of gateways 100, and reduce the programming workload.

[0041] In some embodiments, mounting port 11 includes bus mounting port 11, which has one or more.

[0042] In some embodiments, the bus communication port 4 is installed in the bus mounting port 11, and the number of bus communication ports 4 is the same as the number of bus mounting ports 11. There are one or more bus communication ports 4; when there are multiple bus communication ports 4, they serve as backups for each other. Users can connect multiple bus communication ports 4 to the bus simultaneously, or connect only one bus communication port 4 to the bus. When one bus communication port 4 fails, the user can use another bus communication port 4 to connect to the bus, reducing the probability of gateway 100 maintenance and enabling gateway 100 to reliably transmit data to the PLC via the bus.

[0043] Appendix to this application Figure 1 In this embodiment, there are two bus mounting ports 11. Optionally, there are two bus communication ports 4, each connected to one of the two bus mounting ports 11. The gateway 100 converts the acquired RS-485 protocol signal into an Ethernet protocol signal via a serial port converter chip, and then transmits the Ethernet protocol signal to the PLC via the bus. The two ends of the bus connect the PLC and the gateway 100. Only one or two buses are needed to transmit signals from multiple RS-485 communication slave stations to the PLC, reducing the number of transmission cables and simplifying the PLC wiring.

[0044] In some embodiments, the bus is a network cable using the Ethernet protocol, and the gateway 100 transmits signals to the PLC via the network cable. Compared with the prior art scheme using the RS-485 communication protocol, the bus transmission using the Ethernet protocol in this application is faster and the signal is more stable.

[0045] In some embodiments, the mounting port 11 includes a slave communication mounting port 11, and the slave communication mounting port 11 has at least two ports.

[0046] In some embodiments, an RS485 communication port 3 is installed in a slave communication mounting port 11. The RS485 communication port 3 is used to connect an RS-485 communication line, and the other end of the RS-485 communication line is connected to the slave device. The number of RS485 communication ports 3 is equal to the number of slave communication mounting ports 11, so that each slave communication mounting port 11 is provided with an RS485 communication port 3.

[0047] This application Figure 1 The embodiment has eight slave communication mounting ports 11 and eight RS485 communication ports 3. The eight RS485 communication ports 3 are installed one-to-one in the eight slave communication mounting ports 11. Each RS485 communication port 3 can receive one digital signal, i.e. Figure 1 In this embodiment, one gateway 100 can receive eight RS-485 signals, increasing the number of RS-485 signals that can be acquired. This allows the RS-485 signals to be acquired by the gateway 100 first, and then uploaded to the PLC via the bus. This enhances the speed of RS-485 signal acquisition and reduces the number of wires that need to be directly connected to the PLC, making the PLC's wiring connection simpler. Only one gateway 100 is needed to acquire eight RS-485 signals. The gateway 100 is smaller, more compact, easier to wire, and has a faster signal acquisition speed. Since the gateway 100 is located outside the PLC, it helps to reduce the size of the PLC, decrease wiring costs, shorten logic control time, and increase equipment operating efficiency.

[0048] When the baud rate, parity, and stop bits of the slave devices are the same, they can be connected to a gateway 100. The gateway 100 converts RS-485 communication signals with the same parameters into Ethernet signals and uploads them to the PLC simultaneously.

[0049] When slave devices have different baud rates, parity, and stop bits, slave devices with the same type of RS-485 communication signal can be connected to one RS485 communication port 3 of gateway 100, and slave devices with the same type of RS-485 communication signal can be connected to another RS485 communication port 3 of gateway 100. This allows both types of RS-485 communication signals to be uploaded to the PLC simultaneously, requiring only one gateway 100 and eliminating the need for multiple master stations, thus reducing the number of gateways 100 required. In this application, different communication ports of a single gateway 100 can connect to slave devices emitting RS-485 signals with different communication parameters. Each RS485 communication port 3 communicates independently, and signals with different RS-485 communication parameters are aggregated to the gateway 100 controller inside the gateway 100. The different signals are then converted into Ethernet protocol signals via a serial port conversion chip and uploaded to the PLC together. In existing technologies, a single master station can only collect RS-485 signals with the same parameters, which has a narrow range of applications and requires the addition of multiple master stations. In this application, a single gateway 100 can collect RS-485 signals with multiple different parameters and convert them into Ethernet signals for uploading to the PLC, resulting in faster communication speeds and representing a significant improvement over existing technologies.

[0050] The gateway 100 of this application has 8 RS485 communication ports 3, which can connect to 8 different RS-485 communication parameters.

[0051] RS-485 communication signals are digital signals. The unit of digital quantity in electrical control is generally one word, and one word is equal to two bytes, or 16 bits. Eight signals correspond to eight bits, or one byte. The RS485 communication port 3 of this application has eight signals, corresponding to one byte. This is more convenient in use and does not cause a waste of data space.

[0052] If two bytes of RS485 communication port 3 are required, a module with 16 RS485 communication port 3s can be made. The number of RS485 communication port 3s can be changed to meet different signal count requirements.

[0053] In some embodiments, the mounting port 11 includes a power port 6 mounting port 11, and there may be one or more power ports 6 mounting ports 11.

[0054] In some embodiments, the power port 6 passes through the power mounting port 11 and is soldered to the circuit board 2. The number of power ports 6 is equal to the number of power mounting ports 11. Each power port mounting port 11 has one power port 6, which can be plugged into an industry-specific power cord, the other end of which is connected to a power source.

[0055] This application Figure 1The power port 6 of the device has two installation ports 11. As long as one of them is plugged into a power cord, it can supply power to the gateway 100, enabling the gateway 100 to collect RS-485 signals, convert them into Ethernet signals, and upload them to the PLC. The two power ports 6 can serve as backups for each other to reduce the probability of the gateway 100 becoming unusable due to damage to the power port 6.

[0056] It should be noted that when the gateway 100 of this application is connected to the power supply, it can provide power to the slave device connected to the RS485 communication port 3, without the need to connect an additional power cord to the slave device, so as to simplify the wire connection and reduce the number of wires.

[0057] The mounting port 11 also includes an indicator light mounting port 11, which is used to mount indicator lights.

[0058] The indicator lights include gateway status indicator light 121, RS485 communication port 3 communication status indicator light 122, and RS485 communication port 3 power supply status indicator light.

[0059] The gateway status indicator light 121 is used to indicate whether the gateway 100 is currently working normally. The gateway status indicator light 121 is located between the bus communication port 4 and the RS485 communication port 3, and is positioned close to the bus communication port 4 to indicate the communication status of the bus communication port 4. Installers or users can use the gateway status indicator light 121 to determine the physical connection status and communication status of the bus communication port 4, which is convenient for later maintenance or repair.

[0060] The number of gateway status indicator lights 121 is the same as the number of bus communication ports 4, so that each gateway status indicator light 121 can reflect the status of its corresponding bus communication port 4.

[0061] The RS485 communication port 3 communication status indicator 122 and RS485 communication port 3 power supply status indicator are placed near RS485 communication port 3 to provide feedback on the communication status and power supply status of RS485 communication port 3, so that people can directly observe whether RS485 communication port 3 is in normal communication and power supply.

[0062] When the RS485 communication port 3 communication status indicator 122 displays the first color, the communication status of RS485 communication port 3 is normal. Any other color different from the first color indicates that the communication is abnormal.

[0063] When the power supply status indicator light for RS485 communication port 3 displays the second color, the communication status of RS485 communication port 3 is normal. Any other color different from the second color indicates that the communication is abnormal.

[0064] In some embodiments, the first color and the second color are the same color.

[0065] The RS485 communication port 3 communication status indicator 122 and RS485 communication port 3 power supply status indicator are positioned in the middle of the two rows of RS485 communication ports 3, so that the correspondence between the RS485 communication port 3 communication status indicator 122, RS485 communication port 3 power supply status indicator and RS485 communication port 3 is more obvious and convenient for users to judge.

[0066] In some embodiments, the indicator light also includes a power status indicator light corresponding to the power port 6.

[0067] In some embodiments of this application, the housing 1 is a high-precision component manufactured as an integral part of a CNC machine tool, and is generally a long rectangular parallelepiped. It includes a mounting side 13 with a mounting port 11, and four extended side surfaces connected to the edge of the mounting side 13. The included angle between the extended side surfaces and the mounting side 13 is 90 degrees, and the mounting side 13 is provided with multiple mounting ports 11.

[0068] The circuit board 2 and the mounting side 13 are fastened together with screws so that the circuit board 2 is securely fixed inside the housing 1 and will not fall off as the gateway 100 moves.

[0069] The mounting side 13 has a top opening for inserting screws, which can be driven into the top opening to fix the digital acquisition module gateway 100 to the mounting surface.

[0070] The four extended sides are rounded at the joints to make the joints smooth and reduce the probability of scratches during installation and maintenance by installers and users, and also to make the gateway 100 more aesthetically pleasing.

[0071] In some embodiments of this application, the adhesive can be a solid adhesive 55 that solidifies in air and is insoluble in water. After the circuit board 2, indicator lights, bus communication port 4, power port 6 and RS485 communication port 3 are soldered, the adhesive is poured into the space behind the circuit board 2 inside the housing 1, and the adhesive covers the entire circuit board 2. After the adhesive solidifies, the solid adhesive 5 adheres tightly to the back of the circuit board 2, which can greatly reduce the probability of water contacting the circuit board 22 and various electrically conductive circuit components. The waterproof rating can reach IP67, which is a significant improvement compared to the IP20 waterproof rating of digital modules in the prior art.

Claims

1. A gateway, characterized in that, include: A housing, wherein the housing is provided with multiple mounting ports; A circuit board, which is disposed inside the housing; A serial port conversion chip is disposed inside the housing; At least two RS485 communication ports are provided, which are inserted into the mounting port and electrically connected to the circuit board; the RS485 communication ports are connected to a signal transmission line, and the other end of the signal transmission line is connected to the slave device; At least one bus communication port is disposed in the mounting port and electrically connected to the circuit board; the bus communication port is connected to a bus, and the other end of the bus is connected to a programmable logic control system. The gateway controller is independently electrically connected to each of the RS485 communication ports and each of the bus communication ports. The gateway controller is also independently electrically connected to the serial port conversion chip.

2. The gateway according to claim 1, characterized in that, The gateway also includes a solid adhesive, which is adhered inside the housing and located on the side of the circuit board away from the mounting port; the housing includes a mounting side with a mounting port, and the projection of the solid adhesive on the mounting side can cover the projection of the circuit board on the mounting side.

3. The gateway according to claim 2, characterized in that, The gateway also includes an LED viewing window, which is electrically connected to the gateway controller and is used to display parameters.

4. The gateway according to claim 1, characterized in that, The bus is a network cable using the Ethernet protocol, so that the signals collected by the gateway can be uploaded to the programmable logic control system through the network cable.

5. The gateway according to claim 1 or 2, characterized in that, It also includes at least one power port connected to a power source, the power port passing through the mounting port, the power port being electrically connected to the circuit board, and the RS485 communication port being electrically connected to the power port, so that the RS485 communication interface is connected to the power source.

6. The gateway according to claim 1, characterized in that, The RS485 communication ports are 8n, where n is a positive integer.

7. The gateway according to claim 5, characterized in that, There are two or more bus communication ports, and each of the multiple bus communication ports is powered independently; there are two or more power ports, and each of the multiple power ports is connected to a power source through an independent power cable.

8. The gateway according to claim 1, 2, 3, or 4, characterized in that, It also includes gateway status indicator, RS485 communication port communication status indicator and RS485 communication port power supply status indicator.

9. The gateway according to claim 1, 2, 3, or 4, characterized in that, The housing is elongated and includes a mounting side with a mounting port and an extension side. The mounting side has a mounting port, and the edge of the mounting side extends backward to form an extension side. The mounting side has a connection opening for inserting a connecting extension post.

10. The gateway according to claim 9, characterized in that, The circuit board and the mounting side are connected by a threaded connection to fix the circuit board and the mounting side in place.