Communication test device and method for RS485 electrical equipment

By designing an RS485 electrical equipment test device compatible with different communication protocols and using the PLC module to screen and perform communication tests, the problem of low testing efficiency in the existing technology is solved and efficient communication testing is achieved.

CN120658661APending Publication Date: 2025-09-16CSSC HUANGPU WENCHONG SHIPBUILDING CO LTD

Patent Information

Application Number
CN202510894684.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In the prior art, communication testing of RS485 electrical equipment is inefficient because electrical equipment with different communication protocols requires different testing devices for testing.

Method used

A communication test device for RS485 electrical equipment is designed, which includes a PLC module, a display module and an electrical equipment wiring module. The PLC module stores several alternative electrical equipment test schemes. The communication protocol test parameters are obtained through the display module. The PLC module selects the electrical equipment test schemes and performs communication tests. The display module displays the test results.

Benefits of technology

It realizes the compatibility test of RS485 electrical equipment with different communication protocols, improves the communication test efficiency, and avoids the low efficiency problem caused by different protocols requiring different test devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658661A_ABST
    Figure CN120658661A_ABST
Patent Text Reader

Abstract

The invention discloses a communication testing device and method for RS485 electrical equipment, and belongs to the technical field of equipment testing. The communication test device of the RS485 electrical equipment comprises a PLC module, a display module and an electrical equipment wiring module, and a plurality of alternative electrical equipment test schemes are stored in the PLC module; a plurality of alternative electrical equipment test schemes are stored in the PLC module, and the acquisition of the communication protocol test parameters of the display module is combined, so that the alternative electrical equipment test schemes can be screened based on different communication protocol test parameters, and the electrical equipment test scheme corresponding to the RS485 electrical equipment to be tested is obtained; communication testing of RS485 electrical equipment with different communication protocols is realized, and low communication testing efficiency caused by the fact that the RS485 electrical equipment with different communication protocols needs to use different testing devices in the prior art is avoided. The system can be compatible with tests of different communication protocols, and improves the communication test efficiency of the ship RS485 electrical equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of equipment testing, and in particular relates to a communication testing device and method for RS485 electrical equipment. Background Art

[0002] The RS485 communication mode (EIA-485) is a serial communication standard primarily used in industrial automation, process control, and equipment automation scenarios, enabling reliable data communication over long distances (up to 1,200 meters) and in environments with electrical noise. On current ships, the RS485 communication mode is commonly used between electrical equipment, also known as RS485 electrical equipment. However, due to the existence of multiple different communication protocols within the RS485 communication mode, these electrical equipment cannot be directly connected.

[0003] In order to ensure that RS485 electrical equipment with different communication protocols based on the RS485 communication mode can connect and communicate normally, the manufacturer of the electrical equipment usually sets the test parameters of the communication protocol, then uses independent testing equipment to test whether the communication output signal of each electrical equipment is correct according to the corresponding test plan stored in the testing equipment. Then, by comparing the communication protocols, it is determined which electrical equipment has a communication problem. This current testing method requires that different testing devices be used to test electrical equipment with different communication protocols. This method of using different testing devices to test leads to low communication test efficiency of RS485 electrical equipment on ships. Therefore, there is an urgent need for a communication testing device and method for RS485 electrical equipment to address the shortcomings of the existing technology. Summary of the Invention

[0004] The present invention aims to provide a communication test device and method for RS485 electrical equipment, thereby improving the communication test efficiency of RS485 electrical equipment.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a communication test device for RS485 electrical equipment, comprising: a PLC module, a display module and an electrical equipment wiring module;

[0006] The PLC module stores several alternative electrical equipment testing schemes;

[0007] The electrical equipment wiring module is communicatively connected to the RS485 electrical equipment to be tested;

[0008] The display module is used to obtain communication protocol test parameters;

[0009] The PLC module is used to receive the communication protocol test parameters output by the display module, and screen the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme;

[0010] The PLC module is further configured to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result;

[0011] The display module is also used to receive the communication test result output by the PLC module and display the communication test result.

[0012] It can be understood that, compared with the prior art, the present invention provides a communication test device for RS485 electrical equipment, including: a PLC module, a display module and an electrical equipment wiring module, and the PLC module stores several alternative electrical equipment test schemes; by storing several alternative electrical equipment test schemes in the PLC module, combined with the acquisition of the communication protocol test parameters of the display module, the alternative electrical equipment test schemes can be screened based on different communication protocol test parameters, and the electrical equipment test scheme corresponding to the RS485 electrical equipment to be tested is obtained, thereby realizing communication testing of RS485 electrical equipment with different communication protocols, avoiding the low communication test efficiency caused by the need to use different test devices for RS485 electrical equipment with different communication protocols in the prior art; it is compatible with tests of different communication protocols, thereby improving the communication test efficiency of ship RS485 electrical equipment.

[0013] As a preferred solution, the communication test device further includes a power supply module;

[0014] The power module includes: a power supply and a power socket;

[0015] The live wire end of the input end of the power supply is electrically connected to the live wire end of the power socket;

[0016] The neutral terminal of the input terminal of the power supply is electrically connected to the neutral terminal of the power socket;

[0017] The ground terminal of the input terminal of the power supply is electrically connected to the ground terminal of the power socket;

[0018] The output end of the power supply is electrically connected to the power supply input end of the display module, and the output end of the power supply is electrically connected to the power supply input end of the PLC module;

[0019] The power supply is used to supply power to the display module and the PLC module;

[0020] The power socket serves as a power supply interface of the communication test device, and is used to receive external power supply.

[0021] This preferred solution ensures the power supply stability of the communication test device and ensures that the test process of RS485 electrical equipment can be implemented normally by setting up a power supply and a power socket, and receives external power supply through the power socket, and supplies power to the display module and PLC module through the power supply; receiving external power supply through the power socket can improve the applicability and flexibility of the communication test device; supplying power to the display module and PLC module through the power supply avoids damage to the display module and PLC module caused by voltage mismatch caused by direct external power supply, improves the stability and reliability of the communication test device, thereby reducing electrical failures of the communication test device and improving the communication test efficiency of the communication test device on RS485 electrical equipment.

[0022] As a preferred solution, the display module includes: a touch screen and a touch screen control power supply;

[0023] The input end of the touch screen control power supply serves as the power supply input end of the display module, and is electrically connected to the output end of the power supply;

[0024] The output end of the touch screen control power supply is electrically connected to the power supply input end of the touch screen, and the touch screen control power supply is used to supply power to the touch screen;

[0025] The communication port of the touch screen is communicatively connected to the first communication port of the PLC module;

[0026] The touch display surface of the touch screen is used to obtain communication protocol test parameters;

[0027] The touch screen is further used to receive the communication test result output by the PLC module and display the communication test result through the touch display surface.

[0028] This preferred solution provides an intuitive and convenient human-computer interaction method by setting up a display module including a touch screen and a touch screen control power supply, and integrating the input of communication protocol test parameters and the display of communication test results through the touch screen. It can simplify the use process of the communication test device, thereby improving the communication test efficiency of RS485 electrical equipment; by setting up the touch screen control power supply, it can provide an independent and stable operating voltage for the touch screen, improve the durability of the communication test device and the continuity of the test process, avoid the situation where the communication test device is prone to test interruption, and thus improve the communication test efficiency of RS485 electrical equipment.

[0029] As a preferred solution, the electrical equipment wiring module includes: electrical equipment wiring terminals;

[0030] The electrical equipment terminal blocks are PCB plug-in terminal blocks;

[0031] The first end of the PCB pluggable terminal block is communicatively connected to the second communication port of the PLC module;

[0032] The second end of the PCB plug-in terminal is communicatively connected to the RS485 electrical device to be tested.

[0033] This preferred solution provides an electrical equipment wiring module including electrical equipment wiring terminals, which are PCB plug-in wiring terminals, and a communication connection between the PCB plug-in wiring terminals, the PLC module and the RS485 electrical equipment to be tested. The PCB plug-in terminals have the characteristics of firm connection and low contact resistance, thereby ensuring the differential signal transmission quality of the RS485 electrical equipment, reducing test misjudgments and repeated tests caused by poor connections, and making the connection and disconnection of the equipment faster and more convenient in a plug-in manner, thereby improving the efficiency of communication testing of the RS485 electrical equipment.

[0034] As a preferred solution, the PLC module includes: a power input port, a first communication port and a second communication port;

[0035] The first communication port and the second communication port are both 9-pin D-type ports;

[0036] The first communication port and the second communication port are both dual-channel ports;

[0037] The power supply input port serves as the power supply input end of the PLC module and is electrically connected to the output end of the power supply.

[0038] This preferred solution sets the first communication port and the second communication port to be both 9-pin D-type ports and dual-channel ports. The selection of 9-pin D-type ports can be compatible with more RS485 electrical equipment with different communication protocols, thereby improving the practicality and applicability of the communication test device; the dual-channel port can improve the data transmission efficiency, thereby improving the communication test efficiency of RS485 electrical equipment.

[0039] As a preferred solution, the communication test device further includes: a box;

[0040] The power supply and PLC module are both installed at the bottom of the box;

[0041] The power socket and electrical equipment connection terminals are both installed on the side of the box;

[0042] The touch screen and the touch screen control power supply are both installed on the upper surface of the box.

[0043] This preferred solution provides protection for specific components of the PLC module, display module and electrical equipment wiring module by setting up a box, thereby avoiding damage to components in the communication test device under different complex test environments and improving the reliability and service life of the communication test device.

[0044] As a preferred solution, the communication test device further comprises: a guide rail;

[0045] The guide rail is arranged at the bottom of the box;

[0046] The power supply and the PLC module are both arranged on the guide rail, so that the power supply and the guide rail are slidably connected, and the PLC module and the guide rail are slidably connected.

[0047] This preferred solution sets a guide rail at the bottom of the box and sets the power supply and PLC module on the guide rail. The design of the guide rail allows the power supply and PLC module to be easily moved and adjusted within the box, facilitating operations during installation, maintenance, and replacement of components. It optimizes the layout and structure of the communication test device, enhances the practicality and adaptability of the communication test device, and can better meet the various needs of ship RS485 electrical equipment communication testing.

[0048] As a preferred solution, the power socket is a three-hole socket in a triangle shape;

[0049] The power socket is integrated with a socket, a switch, a fuse and an indicator light.

[0050] This preferred solution sets the power socket as a three-hole socket in the shape of a triangle, and integrates the socket, switch, fuse and indicator light. The integrated switch can conveniently and quickly control the on and off of the power supply, the fuse can protect the power supply from overload, and the indicator light can intuitively display the working status of the power supply, thereby enhancing the functionality and safety of the power socket and providing more reliable protection for the power supply of the communication test device.

[0051] As a preferred solution, a carrying handle is provided on the side of the box.

[0052] This preferred solution facilitates the transportation and carrying of the communication test device by providing a carrying handle on the side of the box, thereby greatly improving the convenience of the communication test device.

[0053] Accordingly, an embodiment of the present invention provides a communication test method for RS485 electrical equipment, comprising:

[0054] Obtain the communication test device as described above and the RS485 electrical device to be tested;

[0055] Connecting the signal line of the RS485 electrical equipment to be tested to the electrical equipment wiring module of the communication test device;

[0056] Based on the communication protocol type of the RS485 electrical equipment to be tested, inputting communication protocol test parameters into a display module, so that a PLC module of the communication testing device receives the communication protocol test parameters output by the display module, and screening the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme, and then causing the PLC module to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result;

[0057] The communication test result of the RS485 electrical equipment to be tested output by the PLC module is obtained based on the display module.

[0058] It can be understood that, compared with the prior art, the present invention connects the signal line of the RS485 electrical equipment to be tested with the electrical equipment wiring module of the communication test device, and then inputs the communication protocol test parameters to the display module based on the communication protocol type of the RS485 electrical equipment to be tested, so that the PLC module of the communication test device receives the communication protocol test parameters output by the display module, and screens the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain the electrical equipment test scheme, and then enables the PLC module to test the RS485 electrical equipment to be tested based on the electrical equipment test scheme. The communication test is performed to obtain the communication test result; the communication test result of the RS485 electrical equipment to be tested output by the PLC module is then obtained through the display module, and the alternative electrical equipment test schemes can be screened based on different communication protocol test parameters to obtain the electrical equipment test scheme corresponding to the RS485 electrical equipment to be tested, thereby realizing the communication test of RS485 electrical equipment with different communication protocols, avoiding the low communication test efficiency caused by the need to use different test devices for RS485 electrical equipment with different communication protocols in the prior art; the test is compatible with different communication protocols, thereby improving the communication test efficiency of RS485 electrical equipment on ships. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic structural diagram of a communication test device for RS485 electrical equipment provided by an embodiment of the present invention;

[0060] Figure 2 An overall schematic diagram of a communication test device for RS485 electrical equipment provided by an embodiment of the present invention;

[0061] Figure 3The present invention provides a flow chart of the steps of a communication test method for RS485 electrical equipment. DETAILED DESCRIPTION

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0063] Example 1

[0064] Please refer to Figure 1 and Figure 2 , Figure 1 A schematic diagram of a communication test device for RS485 electrical equipment provided by an embodiment of the present invention is provided. Figure 2 An overall schematic diagram of a communication test device for RS485 electrical equipment provided by an embodiment of the present invention; Figure 2 The schematic diagram shown is a schematic diagram of the box in the open state. In order to simplify the description, only the corresponding positions and components are illustrated, and the connections between them are not shown.

[0065] The communication test device includes: a PLC module 1, a display module 2 and an electrical equipment wiring module 3;

[0066] The PLC module 1 stores several alternative electrical equipment testing schemes;

[0067] The electrical equipment wiring module 3 is communicatively connected to the RS485 electrical equipment to be tested;

[0068] The display module 2 is used to obtain communication protocol test parameters;

[0069] The PLC module 1 is used to receive the communication protocol test parameters output by the display module 2, and screen the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme;

[0070] The PLC module 1 is further configured to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result;

[0071] The display module 2 is further configured to receive the communication test result output by the PLC module 1 and display the communication test result.

[0072] It should be noted that a PLC (Programmable Logic Controller) is a digital computing and control device designed specifically for industrial environments. It uses programmable memory to execute logical operations, sequential control, timing, counting, and other instructions to control machinery or production processes. The PLC module integrates and stores communication test plans corresponding to multiple different communication protocols. These communication test plans can be directly derived from the communication test plans commonly used by ship crews. This embodiment does not elaborate on the specific content of the communication test plans.

[0073] In this embodiment, if Figure 2 As shown, the communication test device further includes a power supply module 4;

[0074] The power module includes: a power supply 41 and a power socket 42;

[0075] The live wire end of the input end of the power supply 41 is electrically connected to the live wire end of the power socket 42;

[0076] The neutral terminal of the input terminal of the power supply 41 is electrically connected to the neutral terminal of the power socket 42;

[0077] The ground terminal of the input terminal of the power supply 41 is electrically connected to the ground terminal of the power socket 42;

[0078] The output end of the power supply 41 is electrically connected to the power supply input end of the display module 2 , and the output end of the power supply 41 is electrically connected to the power supply input end of the PLC module 1 ;

[0079] The power supply 41 is used to supply power to the display module 2 and the PLC module 1;

[0080] The power socket 42 serves as a power supply interface of the communication test device, and is used to receive external power supply.

[0081] In an optional embodiment, a 2*1+E power cord is selected, and the 1# core wire at one end of the power cord is connected to the L terminal (live wire terminal) of the power socket, the 2# core wire at one end is connected to the N terminal (neutral wire terminal) of the power socket, and the E core wire at one end is connected to the PE terminal (ground terminal) of the power socket; the 1# core wire at the other end of the power cord is connected to the L terminal (live wire terminal) of the power supply, the 2# core wire at the other end is connected to the N terminal (neutral wire terminal) of the power supply, and the E core wire at the other end is connected to the PE terminal (ground terminal) of the power supply.

[0082] This embodiment, through the provision of a power supply and a power socket, receives external power supply through the power socket, and supplies power to the display module and the PLC module through the power supply, thereby ensuring the power supply stability of the communication test device and ensuring that the test process of the RS485 electrical equipment can be implemented normally; receiving external power supply through the power socket can improve the applicability and flexibility of the communication test device; supplying power to the display module and the PLC module through the power supply avoids damage to the display module and the PLC module caused by voltage mismatch due to direct external power supply, thereby improving the stability and reliability of the communication test device, thereby reducing electrical faults of the communication test device and improving the communication test efficiency of the communication test device on RS485 electrical equipment.

[0083] In this embodiment, the power socket 42 is a three-hole socket in a triangle shape;

[0084] The power socket is integrated with a socket, a switch, a fuse and an indicator light.

[0085] This embodiment sets the power socket as a three-hole socket in the shape of a triangle, and integrates a socket, a switch, a fuse and an indicator light. The integrated switch can conveniently and quickly control the on and off of the power supply, the fuse can protect the power supply from overload, and the indicator light can intuitively display the working status of the power supply, thereby enhancing the functionality and safety of the power socket and providing more reliable protection for the power supply of the communication test device.

[0086] In an optional embodiment, the power supply 41 is a model EDR-120-24 (24V5A), an AC220V to DC24V switching power supply with a power of 120W, an input of AC220V, and an output of DC24V; the power socket 42 is a single-phase AC-01A triangle socket, which integrates a socket, a switch, a fuse and an indicator light, and the fuse is a 0.5A fuse.

[0087] In this embodiment, if Figure 2 As shown, the display module 2 includes: a touch screen 21 and a touch screen control power supply 22;

[0088] The input end of the touch screen control power supply 22 serves as the power supply input end of the display module 2 and is electrically connected to the output end of the power supply 41;

[0089] The output end of the touch screen control power supply 22 is electrically connected to the power supply input end of the touch screen 21, and the touch screen control power supply 22 is used to supply power to the touch screen 21;

[0090] The communication port of the touch screen 21 is communicatively connected to the first communication port of the PLC module 1;

[0091] The touch display surface of the touch screen 21 is used to obtain communication protocol test parameters;

[0092] The touch screen 21 is further configured to receive the communication test result output by the PLC module 1 and display the communication test result through the touch display surface.

[0093] In an optional embodiment, the touch screen 21 is a 9-inch capacitive touch screen, model MT8000, the touch screen control power supply 22 is DC24V, and the communication port of the touch screen 21 is a 9-pin D-type port.

[0094] In an optional embodiment, a communication wire is used, whose model is a DB9 needle elbow 90-degree serial cable DB9, with a length of 0.5 meters, both ends of which are DB9 male connectors (pin type), and straight 90-degree male-to-male upward outlets; one end of the communication wire is connected to the first communication port of the PLC module, and the other end is connected to the communication port of the touch screen 21, and is locked with screws to prevent the communication wire from falling off.

[0095] In an optional embodiment, a 2*1+E power cord is selected, and the 1# core wire at one end of the power cord is connected to the + terminal of the touch screen control power supply, the 2# core wire at one end of the power cord is connected to the - terminal of the touch screen control power supply, and the E core wire at one end of the power cord is connected to the PE terminal of the touch screen control power supply; the 1# core wire at the other end of the power cord is connected to the +V terminal of the output end of the power supply, the 2# core wire at the other end of the power cord is connected to the -V terminal of the output end of the power supply, and the E core wire at the other end of the power cord is connected to the PE terminal of the output end of the power supply.

[0096] It should be noted that the models and specifications of the above-mentioned communication wires are only examples for this embodiment, and their specific models and specifications can be replaced according to actual needs.

[0097] This embodiment provides a display module including a touch screen and a touch screen control power supply, and integrates the input of communication protocol test parameters and the display of communication test results through the touch screen, providing an intuitive and convenient human-computer interaction method, which can simplify the use process of the communication test device, thereby improving the communication test efficiency of RS485 electrical equipment; by providing a touch screen control power supply, it can provide an independent and stable operating voltage for the touch screen, improve the durability of the communication test device and the continuity of the test process, avoid the situation where the communication test device is prone to test interruption, and thus improve the communication test efficiency of RS485 electrical equipment.

[0098] In this embodiment, if Figure 2 As shown, the electrical equipment connection module 3 includes: an electrical equipment connection terminal 31;

[0099] The electrical equipment terminal 31 is a PCB plug-in terminal;

[0100] The first end of the PCB pluggable terminal block 31 is communicatively connected to the second communication port of the PLC module 1;

[0101] The second end of the PCB plug-in terminal 31 is communicatively connected to the RS485 electrical device to be tested.

[0102] In an optional embodiment, the electrical equipment terminal 31 is a PCB plug-in terminal, model EC350VM-3P.

[0103] In an optional embodiment, a communication wire is selected, one end of the communication wire is communicatively connected to the second communication port of the PLC module, the plug at the other end of the communication wire is cut off, and the 3#, 5# and 8# core wires are respectively connected to the +, GND and - terminals of the PCB plug-in terminal 31, thereby realizing a communication connection between the first end of the PCB plug-in terminal 31 and the second communication port of the PLC module 1.

[0104] This embodiment provides an electrical equipment wiring module including electrical equipment wiring terminals, which are PCB plug-in wiring terminals, and a communication connection between the PCB plug-in wiring terminals, the PLC module, and the RS485 electrical equipment to be tested. The PCB plug-in terminals have the characteristics of firm connection and low contact resistance, thereby ensuring the differential signal transmission quality of the RS485 electrical equipment, reducing test misjudgments and repeated tests caused by poor connections, and making the connection and disconnection of the equipment faster and more convenient in a plug-in manner, thereby improving the efficiency of communication testing of the RS485 electrical equipment.

[0105] In this embodiment, the PLC module 1 includes: a power input port, a first communication port and a second communication port;

[0106] The first communication port and the second communication port are both 9-pin D-type ports;

[0107] The first communication port and the second communication port are both dual-channel ports;

[0108] The power supply input port serves as the power supply input end of the PLC module and is electrically connected to the output end of the power supply.

[0109] In an optional embodiment, the model of the PLC module 1 is PLC S7-200.

[0110] In an optional embodiment, a 2*1+E power cord is selected, and the 1# core wire at one end of the power cord is connected to the L+ terminal of the PLC module, the 2# core wire at one end is connected to the 0V terminal of the PLC module, and the E core wire at one end is connected to the PE terminal (ground terminal) of the PLC module; the 1# core wire at the other end of the power cord is connected to the +V terminal of the output end of the power supply, the 2# core wire at the other end is connected to the -V terminal of the output end of the power supply, and the E core wire at the other end is connected to the PE terminal (ground terminal) of the power supply.

[0111] In this embodiment, the first communication port and the second communication port are both 9-pin D-type ports, and both are dual-channel ports. The selection of 9-pin D-type ports can be compatible with more RS485 electrical equipment with different communication protocols, thereby improving the practicality and applicability of the communication test device; the dual-channel port can improve the data transmission efficiency, thereby improving the communication test efficiency of the RS485 electrical equipment.

[0112] In this embodiment, if Figure 2 As shown, the communication test device further includes: a box 5;

[0113] The power supply 41 and the PLC module 1 are both installed at the bottom of the box;

[0114] The power socket 42 and the electrical equipment terminal 31 are both installed on the side of the box;

[0115] The touch screen 21 and the touch screen control power supply 22 are both installed on the upper surface of the box.

[0116] In an optional embodiment, the box body 5 has a specification of 300 mm in length, 200 mm in width, and 100 mm in height.

[0117] This embodiment provides a box body to provide protection for specific components of the PLC module, display module and electrical equipment wiring module, thereby avoiding damage to components in the communication test device under different complex test environments and improving the reliability and service life of the communication test device.

[0118] In this embodiment, if Figure 2 As shown, the communication test device further includes: a guide rail 6;

[0119] The guide rail is arranged at the bottom of the box;

[0120] The power supply and the PLC module are both arranged on the guide rail, so that the power supply and the guide rail are slidably connected, and the PLC module and the guide rail are slidably connected.

[0121] In this embodiment, a guide rail is provided at the bottom of the box, and the power supply and PLC module are both arranged on the guide rail. The design of the guide rail allows the power supply and PLC module to be easily moved and adjusted within the box, facilitating operations during installation, maintenance, and replacement of components. This optimizes the layout and structure of the communication test device, enhances the practicality and adaptability of the communication test device, and can better meet various needs of ship RS485 electrical equipment communication testing.

[0122] In this embodiment, if Figure 2 As shown, a carrying handle 7 is provided on the side of the box.

[0123] In this embodiment, a carrying handle is provided on the side of the box body, thereby facilitating the transportation and carrying of the communication test device, and greatly improving the convenience of the communication test device.

[0124] Example 2

[0125] Please refer to Figure 3 , Figure 3 A flow chart of a communication test method for RS485 electrical equipment provided by an embodiment of the present invention includes steps S801 to S804.

[0126] Step S801: Acquire a communication test device and an RS485 electrical device to be tested.

[0127] Step S802: connecting the signal line of the RS485 electrical device to be tested to the electrical device wiring module of the communication test device.

[0128] Step S803: Based on the communication protocol type of the RS485 electrical equipment to be tested, input communication protocol test parameters to the display module, so that the PLC module of the communication test device receives the communication protocol test parameters output by the display module, and screens the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme, and then enables the PLC module to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result.

[0129] Step S804: obtaining the communication test result of the RS485 electrical device to be tested output by the PLC module based on the display module.

[0130] This embodiment connects the signal line of the RS485 electrical equipment to be tested to the electrical equipment wiring module of the communication test device, and then inputs the communication protocol test parameters into the display module based on the communication protocol type of the RS485 electrical equipment to be tested, so that the PLC module of the communication test device receives the communication protocol test parameters output by the display module, and screens the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain the electrical equipment test scheme, and then enables the PLC module to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result; then, the communication test result of the RS485 electrical equipment to be tested output by the PLC module is obtained through the display module, and the alternative electrical equipment test schemes can be screened based on different communication protocol test parameters to obtain the electrical equipment test scheme corresponding to the RS485 electrical equipment to be tested, thereby realizing communication testing of RS485 electrical equipment with different communication protocols, avoiding the low communication test efficiency caused by the need to use different test devices for RS485 electrical equipment with different communication protocols in the prior art; and being compatible with tests of different communication protocols, thereby improving the communication test efficiency of RS485 electrical equipment on ships.

[0131] Example 3

[0132] Based on the above-mentioned embodiment of the communication test method for RS485 electrical equipment, a third embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, a communication test method for RS485 electrical equipment according to an embodiment of the present invention is implemented.

[0133] For example, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The one or more module elements may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0134] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0135] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.

[0136] Based on the above method embodiments, an embodiment of the present invention provides a computer-readable storage medium, including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a communication test method for RS485 electrical equipment described in any one of the above method embodiments of the present invention.

[0137] Wherein, the module / unit integrated in the device / terminal equipment, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0138] In summary, the embodiment of the present invention connects the signal line of the RS485 electrical equipment to be tested to the electrical equipment wiring module of the communication test device, and then inputs the communication protocol test parameters to the display module based on the communication protocol type of the RS485 electrical equipment to be tested, so that the PLC module of the communication test device receives the communication protocol test parameters output by the display module, and screens the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain the electrical equipment test scheme, and then enables the PLC module to perform communication testing on the RS485 electrical equipment to be tested based on the electrical equipment test scheme. , and obtain the communication test result; then, the communication test result of the RS485 electrical equipment to be tested output by the PLC module is obtained through the display module, and the alternative electrical equipment test schemes can be screened based on different communication protocol test parameters to obtain the electrical equipment test scheme corresponding to the RS485 electrical equipment to be tested, thereby realizing the communication test of RS485 electrical equipment with different communication protocols, avoiding the low communication test efficiency caused by the need to use different test devices for RS485 electrical equipment with different communication protocols in the prior art; it can be compatible with tests of different communication protocols, thereby improving the communication test efficiency of RS485 electrical equipment on ships.

[0139] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A communication test device for RS485 electrical equipment, characterized in that: include: PLC modules, display modules and electrical equipment wiring modules; The PLC module stores several alternative electrical equipment testing schemes; The electrical equipment wiring module is communicatively connected to the RS485 electrical equipment to be tested; The display module is used to obtain communication protocol test parameters; The PLC module is used to receive the communication protocol test parameters output by the display module, and screen the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme; The PLC module is further configured to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result; The display module is also used to receive the communication test result output by the PLC module and display the communication test result.

2. A communication test device for RS485 electrical equipment as claimed in claim 1, characterized in that, Also includes a power module; The power module includes: a power supply and a power socket; The live wire end of the input end of the power supply is electrically connected to the live wire end of the power socket; The neutral terminal of the input terminal of the power supply is electrically connected to the neutral terminal of the power socket; The ground terminal of the input terminal of the power supply is electrically connected to the ground terminal of the power socket; The output end of the power supply is electrically connected to the power supply input end of the display module, and the output end of the power supply is electrically connected to the power supply input end of the PLC module; The power supply is used to supply power to the display module and the PLC module; The power socket serves as a power supply interface of the communication test device, and is used to receive external power supply.

3. A communication test device for RS485 electrical equipment as claimed in claim 2, characterized in that, The display module includes: a touch screen and a touch screen control power supply; The input end of the touch screen control power supply serves as the power supply input end of the display module, and is electrically connected to the output end of the power supply; The output end of the touch screen control power supply is electrically connected to the power supply input end of the touch screen, and the touch screen control power supply is used to supply power to the touch screen; The communication port of the touch screen is communicatively connected to the first communication port of the PLC module; The touch display surface of the touch screen is used to obtain communication protocol test parameters; The touch screen is further used to receive the communication test result output by the PLC module and display the communication test result through the touch display surface.

4. A communication test device for RS485 electrical equipment as claimed in claim 3, characterized in that, The electrical equipment wiring module includes: electrical equipment wiring terminals; The electrical equipment terminal blocks are PCB plug-in terminal blocks; The first end of the PCB pluggable terminal block is communicatively connected to the second communication port of the PLC module; The second end of the PCB plug-in terminal is communicatively connected to the RS485 electrical device to be tested.

5. A communication test device for RS485 electrical equipment as claimed in claim 4, characterized in that, The PLC module includes: a power supply input port, a first communication port and a second communication port; The first communication port and the second communication port are both 9-pin D-type ports; The first communication port and the second communication port are both dual-channel ports; The power supply input port serves as the power supply input end of the PLC module and is electrically connected to the output end of the power supply.

6. A communication test device for RS485 electrical equipment as claimed in claim 4, characterized in that, Also includes: Box; The power supply and PLC module are both installed at the bottom of the box; The power socket and electrical equipment connection terminals are both installed on the side of the box; The touch screen and the touch screen control power supply are both installed on the upper surface of the box.

7. A communication test device for RS485 electrical equipment as claimed in claim 6, characterized in that, Also includes: guide; The guide rail is arranged at the bottom of the box; The power supply and the PLC module are both arranged on the guide rail, so that the power supply and the guide rail are slidably connected, and the PLC module and the guide rail are slidably connected.

8. A communication test device for RS485 electrical equipment as claimed in claim 2, characterized in that, The power socket is a three-hole socket in a triangle shape; The power socket is integrated with a socket, a switch, a fuse and an indicator light.

9. A communication test device for RS485 electrical equipment as claimed in claim 6, characterized in that: A carrying handle is provided on the side of the box body.

10. A communication test method for RS485 electrical equipment, characterized in that: include: Obtain the communication test device according to any one of claims 1 to 9 and the RS485 electrical equipment to be tested; Connecting the signal line of the RS485 electrical equipment to be tested to the electrical equipment wiring module of the communication test device; Based on the communication protocol type of the RS485 electrical equipment to be tested, inputting communication protocol test parameters into a display module, so that a PLC module of the communication testing device receives the communication protocol test parameters output by the display module, and screening the alternative electrical equipment test schemes based on the communication protocol test parameters to obtain an electrical equipment test scheme, and then causing the PLC module to perform a communication test on the RS485 electrical equipment to be tested based on the electrical equipment test scheme to obtain a communication test result; The communication test result of the RS485 electrical equipment to be tested output by the PLC module is obtained based on the display module.

Citation Information

Patent Citations

  • Multi-position automatic detection system of intelligent power distribution terminal and detection method of multi-position automatic detection system

    CN107402332A

  • Protocol robustness test method and apparatus

    CN107888446A

  • Test case screening method and device

    CN115640230A

  • Interface testing method and device

    CN115827484A

  • An automatic testing device for multiple types of signals

    CN218829996U

Cited By

  • Method for interfering RS485 communication link, related product and evaluation system

    CN121486238A