A PLC remote IO module single board test equipment and a test method thereof

By designing a PLC remote I/O module single-board testing device, software and hardware verification can be performed in the board state, which solves the problems of low testing efficiency and material waste in the existing technology, and improves production efficiency and board quality.

CN117741395BActive Publication Date: 2026-11-24SHANDONG XINSONG IND SOFTWARE RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311662046.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-06
Publication Date
2026-11-24
Estimated Expiration
2043-12-06

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify fault points in PLC remote I/O module testing, leading to low production efficiency, material waste, and secondary damage. It also makes it impossible to quickly assess board quality during the R&D and production stages.

Method used

Design a PLC remote I/O module single-board testing device, including a programming system, power consumption measurement and control system, and board installation device. It can perform software program verification and hardware reliability verification in the board state, display test results through indicator lights, detect power consumption in real time, and perform backplane communication and port testing.

Benefits of technology

It improved the R&D and production efficiency of PLC remote I/O modules, reduced defect rates and material losses, ensured board quality, and saved costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117741395B_ABST
    Figure CN117741395B_ABST
Patent Text Reader

Abstract

This invention relates to a PLC remote I / O module single-board testing device and its testing method. The device system includes self-control verification, board software programming, board testing, and board power consumption verification. During the initial power-on phase, the device completes a self-test to ensure normal operation. Based on the set board model, after detecting board access, the device programs the corresponding board. If the board program programming is successful, corresponding function tests are performed, and the board's power consumption is measured during the testing process. During the R&D phase, software program verification and board hardware reliability verification of the PLC remote I / O module can be performed without assembly or the use of other PLCs and microcontrollers; all can be done in the board state. This significantly accelerates R&D efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of research and development and testing of IO modules in PLC applications, specifically a PLC remote IO module single-board testing device and method. Background Technology

[0002] As a supporting module for PLC remote acquisition and control modules, the PLC remote I / O module is a key component in distributed control systems. It is widely used in the industrial field due to its advantages such as convenient remote acquisition and control wiring, high hardware reliability, and strong anti-interference ability.

[0003] During the research and development process, PLC remote I / O modules require continuous debugging, correction, and upgrading of both software and hardware to ensure that the system functions properly and that user software programs can perform the corresponding functions.

[0004] Currently, testing of PLC remote I / O modules is mainly performed after assembly, often requiring the assistance of other PLCs or microcontrollers. While this method can detect software and hardware issues with the remote I / O module, the delays introduced during assembly prevent accurate identification of the fault location on the module's board. Furthermore, the secondary damage and time wasted during repair and disassembly lead to material waste and low production efficiency. Summary of the Invention

[0005] The purpose of this invention is to provide a single-board testing device and testing method for PLC remote I / O modules to overcome the above-mentioned defects.

[0006] The technical solution adopted by the present invention to achieve the above objectives is: a PLC remote I / O module single-board testing device, comprising:

[0007] The programming system is used to program the module under test and to send feedback information on whether the programming was successful or not to the control system so that the information can be displayed on the display interface.

[0008] Power consumption measurement is used to detect the operating voltage, signal transmission voltage, and operating current of the module under test in real time and feed them back to the control system; and to issue alarms based on the upper and lower limits set by the control system to determine whether the board is damaged.

[0009] The control system is used to control the test program according to the type of module under test, and to control the programming system to program the module, and to display the feedback information on the display interface with corresponding indicator lights; after the module under test is successfully programmed, backplane communication, input or output port tests are performed in sequence, and the indicator lights on the display interface are lit according to the corresponding test results; at the same time, the power consumption of the module under test is detected in real time during the test and displayed on the display interface.

[0010] The control system includes:

[0011] B01 module, configured to determine whether the programming is successful according to the feedback information sent by the programming system, and control a digital output module DO to perform result output to control the on and off of corresponding indicator lights on a display interface; compare a feedback result of a power consumption measurement module with upper and lower limit values of a set range for judgment: when a working voltage, a signal transmission voltage, and a working current all conform to the set range, the module is considered qualified; otherwise, an alarm is issued; and the judgment result is output through the digital output module DO to control the on and off of the corresponding indicator lights on the display interface; perform module configuration communication testing, and output a communication test result through the digital output module DO to control the on and off of the corresponding indicator lights on the display interface; after the communication test is successful, control each port of a module under test to perform input or output channel detection, feed back data of the module under test through an auxiliary test module, compare the data with original set data, perform function judgment on each port of the module under test, and display the detection result through the digital output module DO;

[0012] a digital input module DI, connected to the B01 module through a backplane, configured to input a trigger signal, select a board card type to be tested, receive a board card installation trigger signal, a programming system feedback signal, and a power consumption measurement feedback signal;

[0013] a digital output module DO, including a first digital output module DO1, a second digital output module DO2, and a third digital output module DO3, all connected to the B01 module through a backplane; the first digital output module DO1 is configured to perform self-inspection result feedback, programming trigger control, programming result display control, communication test result display control, power consumption test result display, and overall test result display; the second digital output module DO2 is configured to display successful detection of an input or output channel of the module under test; the third digital output module DO3 is configured to display failed detection of an input or output channel of the module under test;

[0014] a module under test, configured to set a board card to be tested, and provided with ports corresponding to interfaces of the board card to be tested, so that the board card to be tested is separated from the module under test, and configured to play a role of communication connection configuration in the control system; a backplane of the third digital output module DO3 is connected to a communication interface probe on a lower side of a board card installation device through the module under test, so that the third digital output module DO3 communicates with a front backplane of the module under test; a rear backplane of the module under test is connected to backplane communication of the auxiliary test module through an IO interface probe on an upper side of the board card installation device;

[0015] The companion test module is used to connect each IO port of the companion test module to the corresponding IO port of the module under test, receive input and output signals from the board under test, and compare them in real time with the signals emitted by the B01 module to determine whether the input and output functions of the port of the module under test are correct.

[0016] The board mounting device is used to place I / O boards to enable the inspection and testing of bare boards;

[0017] The board mounting device includes a base plate and a bracket vertically mounted on the base plate. The bracket has a T-shaped cross-section. The bracket is used to support the board under test of the module under test and is equipped with a photoelectric detection switch connected to a digital input module (DI) to determine whether the board under test of the module under test is installed.

[0018] The base plate is provided with different slots according to the shape of the module under test board. The slots are provided with interfaces that match the module under test board and corresponding communication interface probes. The communication interface probes are connected to the communication interfaces of different modules. The board mounting device is also provided with IO interface probes and program writing port probes, which are used to connect to the IO interface and program writing port of the board under test board, respectively.

[0019] The IO interface probe is connected to the IO interface of the test module, and the program programming port probe is connected to the programming system; the communication interface probe is connected to the backplane of the module under test, and is connected to the backplane of the third digital output module DO3 and the backplane of the test module to realize configuration communication.

[0020] A method for testing a PLC remote I / O module board includes the following steps:

[0021] The programming system programs the module under test and sends feedback information on whether the programming was successful or not to the control system, so that the information is displayed on the display interface.

[0022] The power consumption measurement system detects the operating voltage, signal transmission voltage, and operating current of the module under test in real time and feeds them back to the control system. It also issues alarms based on the upper and lower limits set by the control system to determine whether the board is damaged.

[0023] The control system controls the test program according to the type of module under test, and controls the programming system to program the module. The feedback information is displayed on the display interface with corresponding indicator lights. After the module under test is successfully programmed, the backplane communication, input or output port tests are performed in sequence, and the indicator lights on the display interface are lit according to the test results. At the same time, the power consumption of the module under test is detected in real time during the test and displayed on the display interface.

[0024] Connect each IO port of the module under test to the IO port of the accompanying module, and detect the actual input or output data of each IO port of the board under test in real time. Compare the data with the data sent by the control system B01 module and determine whether they are consistent, so as to realize the testing and detection of the function of each IO port of the module under test.

[0025] When the comparison results are consistent, the function test success indicator light on a certain port of the first digital output module DO1 is lit up on the display interface; at the same time, the test success indicator light on the corresponding test channel of all output ports of the second digital output module DO2 is lit up on the display interface.

[0026] When the comparison results of a certain channel are inconsistent, the output of a certain port of the first digital output module DO1 will light up the function test failure indicator on the display interface; at the same time, the corresponding output port of the second digital output module DO2 will light up the test success indicator on the display interface for the channel with the same comparison result; and at the same time, the corresponding output port of the third digital output module DO3 will light up the test failure indicator on the display interface for the channel with the different comparison result.

[0027] The present invention has the following beneficial effects and advantages:

[0028] 1. During the R&D phase, software program verification and board hardware reliability verification of the PLC remote I / O module can be performed without assembly or the use of other PLCs and microcontrollers, all while the board is in its original state. This significantly accelerates R&D efficiency.

[0029] 2. During the incoming material inspection stage of the PLC remote I / O module, full-function inspection can be achieved without the need for other tools and equipment, and the quality of the incoming boards can be quickly determined. This saves inspection time, improves the efficiency and effectiveness of inspection, and ensures the quality of the boards after surface mount technology (SMT) production.

[0030] 3. The production and assembly process of the PLC remote I / O module has been improved and optimized. The relevant software program and functional testing procedures have been moved to the front end to ensure the quality of the boards used in the production of the PLC remote I / O module. Defective boards are picked out in advance, reducing the defect rate of the assembled products, reducing maintenance, and reducing material loss, thereby achieving the goal of saving costs and improving production efficiency. Attached Figure Description

[0031] Figure 1 Schematic diagram of the equipment's external structure;

[0032] The components include: 1. Power interface; 2. Board mounting device; 3. Programming system; 4. Power consumption measurement module; 5. Display interface.

[0033] Figure 2 A schematic diagram of the internal control system of the device of the present invention;

[0034] Figure 3 A schematic diagram of the structure of the module board under test according to the present invention;

[0035] Figure 4 Schematic diagram of equipment connection and control configuration;

[0036] Figure 5 Diagram of the equipment workflow during board testing. Detailed Implementation

[0037] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.

[0038] This invention discloses a PLC remote I / O module single-board testing device and method. The device system includes self-control verification, board software programming, board testing, and board power consumption verification. During the initial power-on phase, the device completes a self-test to ensure normal operation. Based on the set board model, after detecting board access, the device programs the corresponding board. If the board program programming is successful, corresponding function tests are performed, and the board's power consumption is measured during the testing process.

[0039] The solution of this invention is based on the functional verification test of the PLC remote IO module at the board stage (semi-finished product stage), which improves the efficiency and reliability verification of the product development stage, as well as the yield rate and testing efficiency after production assembly, thereby improving the product assembly efficiency.

[0040] The solution of this invention is based on the PLC remote I / O module at the board stage (a semi-finished product before assembly), which involves firmware burning, functional verification, and inspection testing.

[0041] The device of this invention includes an internal power supply system, a control system, a switching module, a power consumption measurement module, a board mounting device, a board programming system, and a test result display interface. The system mainly performs automatic control verification, board software programming, board testing, and board power consumption verification.

[0042] During the initial power-on phase, the device completes a self-test to ensure normal operation. Based on the PLC remote I / O module model (digital, analog, output, input, etc.), the corresponding test program is selected for the appropriate board. After the self-test is complete, the device awaits connection to the PLC remote I / O module board.

[0043] like Figure 4 As shown, the present invention includes:

[0044] The programming system is used to program the module under test; the success or failure of programming is fed back to the control system and displayed on the display interface.

[0045] Power consumption measurement is used to detect the working voltage, signal transmission voltage and working current of the module under test in real time, and feed it back to the control system; alarm according to the upper and lower limit values set by the control system, to judge the quality of the board itself.

[0046] The control system is used to control the test program according to the type of the module under test, control the programming system to program the program, and display the feedback information on the corresponding indicator light on the control interface; after the module under test is successfully programmed, perform backplane communication and input / output port tests in sequence, and control the indicator lights on the display interface to light up according to the corresponding test results. At the same time, during the test, the power consumption of the module under test is detected in real time and displayed on the control interface.

[0047] The control system includes:

[0048] The PLC module, i.e. B01 module, is used to judge whether the programming is successful according to the feedback information from the programming system, and control the digital output module DO to output the result to control the on / off of the corresponding indicator light on the display interface; compare the feedback result of the power consumption measurement module with the upper and lower limit values of the set range: when the working voltage, signal transmission voltage and working current all meet the set range, it is considered qualified; otherwise, alarm; and output the judgment result through the control digital output module DO to control the on / off of the corresponding indicator light on the display interface; perform module configuration communication test, and output the communication test result through the control digital output module DO to control the on / off of the corresponding indicator light on the display interface; after the communication test is successful, control each port of the module under test to perform input / output, and feed back the data of the module under test through the companion test module, compare the result with the original set data, and judge the function of each port of the module under test;

[0049] The digital input module DI is connected to the PLC module through the backplane, and connected to input trigger signals, such as the selection of the type of the board under test, the board installation trigger signal, the programming system feedback signal, the power consumption measurement feedback signal, etc.

[0050] The digital output module DO is connected to the PLC module through the backplane, including the DO1 module for self-test result feedback, programming trigger control, programming result display control, communication test result display control, power consumption test result display, and total test result display; the DO2 module for successful detection display of the input / output channel of the module under test; the DO3 module for failed detection display of the input / output channel of the module under test;

[0051] The module under test (DUT) corresponds to the board under test (BUT) and serves as the communication connection configuration in the control system. Specifically, the backplane of DO3 is connected to the lower probe of the board mounting device via the "DUT," and finally communicates with the front backplane of the BUT; the rear backplane of the BUT is connected to the backplane of the accompanying module via the upper probe of the board mounting device.

[0052] The test module is used to connect each IO port of the test module to the corresponding IO port of the module under test (board under test), receive input and output signals from the board under test, and compare them with the signals sent by the system in real time to determine whether the input and output functions of the port of the module under test are correct.

[0053] The I / O boards can be placed directly on the board mounting device, allowing for inspection and testing without assembly. The board mounting device includes a base plate and a bracket vertically mounted on the base plate, forming a T-shaped structure. On the base plate of the device...

[0054] The board under test includes I / O interfaces, a program writing port, and a communication interface.

[0055] Based on the shape of the board under test (DUT), different slot types are set on the board mounting device, and probes corresponding to each interface are installed. The IO interface probes connect to the IO interfaces of the accompanying module, the program writing port probes connect to the writing system, and the communication interface probes, divided into upper and lower parts, connect to the backplane of the control system's "DUT," thereby connecting to the backplane of DO3 and the accompanying module to achieve configuration communication. Simultaneously, the board mounting device is equipped with a photoelectric detection switch connected to the DI1-8 interface to determine whether the DUT is installed.

[0056] Each I / O port of the board under test is connected to the corresponding I / O port of the auxiliary test module. The actual input / output data of each I / O port of the board under test is detected in real time, and compared with the data sent by the control system to determine whether they are consistent. This enables the testing and detection of the function of each I / O port of the board under test.

[0057] When the comparison results are consistent, the function test success indicator light on port 7 of digital output module DO1 illuminates on the display interface; at the same time, the corresponding test channel test success indicator light on all output ports of digital output module DO2 illuminates on the display interface.

[0058] When the comparison results of a certain channel are inconsistent, the output of port 8 of digital output module DO1 will light up the function test failure indicator on the display interface; at the same time, the corresponding output port of digital output module DO2 will light up the corresponding test channel test success indicator on the display interface for the channel with the same comparison result, and the corresponding output port of digital output module DO3 will light up the corresponding test channel test failure indicator on the display interface for the channel with different comparison results.

[0059] like Figure 1 As shown, the PLC remote I / O module board is placed on the external device 2 (board mounting device). A photoelectric detection signal is input to the DI1-8 port of the internal control system. After signal processing, the internal control system outputs a trigger signal to the programming system through the D01-2 port to write the board's firmware. When the firmware is successfully programmed, a success signal is input to the device, and the device outputs a successful programming signal. When programming fails, a failure signal is input to the device, and the device outputs a failed programming signal. The board that failed programming is then removed. At this point, the device operation ends, and it returns to the self-test completion stage. The cause of failure is determined from the removed board.

[0060] like Figure 5 As shown, for boards whose firmware has been successfully programmed, the device outputs a successful programming signal and simultaneously initiates testing of the corresponding PLC remote I / O module board. The board testing consists of communication function scan test, I / O port input / output function test, and corresponding power consumption test. If any test fails, a failure phase is output, and the program is interrupted. The board that failed the test is then removed. At this point, the device operation ends, resuming the self-test completion phase, and the cause of failure is determined for the removed board.

[0061] For PLC remote I / O module boards that have successfully passed the test, the equipment will stop running after disassembly and return to the self-test completion stage. The removed boards will then be used for other processes such as production.

[0062] For PLC remote I / O modules under the same bus control, different firmware and different test programs are required. To ensure test accuracy, the test program is run three times. The test program mainly includes the following:

[0063] DI / DO test: Flowing lights, all on (1 second), all off (1 second), flickering (20ms), flickering off (10ms);

[0064] AI / AO testing includes: setpoint testing (1% error), stability testing, step testing, and alarm testing.

[0065] The specific working process of the equipment is as follows:

[0066] After pressing the 220V button, the 24V power supply is activated, and the power indicator light illuminates; the internal control system of the equipment... Figure 2 As shown, the default B01 pre-configuration is complete. The device performs a self-test. DI1, DO1, DO2, and DO3 can work normally and pass the self-test. 24V is output through DO1-1, illuminating the self-test indicator light on the device display interface 5. The external 3 programming system is in the power-on waiting state.

[0067] Based on the status of input ports 1 to 4 on the DI1 internal control system of the equipment, the type of the board under test is determined, and the test program is selected. Ten types of boards can be tested. The DI11-4 interface is used for selecting the type of board under test / test program (a total of 10 modules), as shown in Table 1.

[0068] Table 1

[0069] DI1-1 DI1-2 DI1-3 DI1-4 Module model under test 1 0 0 0 Digital input signal board (such as TDI8100) 1 0 0 1 -10V to 10V analog input circuit board (such as TAI4300) 1 0 1 0 0V~10V analog input board (such as TAI4400) 1 0 1 1 0-20mA analog input signal board (e.g., TAI4500) 1 1 0 0 4-20mA analog input signal board (such as TAI4600) 0 0 0 0 Digital output boards (such as TDO8100) 0 0 0 1 -10V to 10V analog output board (such as TAO4300) 0 0 1 0 0V~10V analog output board (such as TAO4400) 0 0 1 1 0-20mA analog output board (e.g., TAO4500) 0 1 0 0 4-20mA analog output board (such as TAO4600)

[0070] Equipment internal control system such as Figure 2 As shown, the modules under test (DUT) and the companion modules are of the same type of input / output modules, such as TDI8100 and TDO8100 for mutual testing. The order of configuration must be determined. The corresponding ports of the two sets of modules are short-circuited. Each I / O port of the DUT board is directly connected to the corresponding port of the companion module via a wire for feedback.

[0071] The DI / DO port function test program includes: 1. DO sequentially runs LEDs from port 1 to 8 twice each; 2. Full illumination (1 second); 3. Flashing (20ms) and then turning off (10ms) twice each; 4. The entire program is repeated twice.

[0072] The -10V to 10V analog signal board port function test program includes: 1. Outputting fixed voltage values ​​of -10V, -7.5V, -5V, -2.5V, 0V, 2.5V, 5V, 7.5V, and 10V, holding each value for 0.5 seconds; 2. Stepping from -10V to 10V in 0.1V increments, with a step period of 50ms; 3. Over-value alarm test.

[0073] The 0V~10V analog signal board port function test program includes: 1. Outputting fixed voltage values ​​of 0V, 0.5V, 1V, 2.5V, 3.5V, 5V, 7.5V, 9V, and 10V, holding each value for 0.5S; 2. Stepping from 0V to 10V in 0.1V increments, with a stepping period of 50ms (100 times in 5s increments); 3. Over-value alarm test.

[0074] The 0-20mA analog signal board port function test program includes: 1. Outputting current values ​​of 0mA, 0.5mA, 1mA, 4mA, 5mA, 10mA, 12.5mA, 15mA, and 20mA, holding each value for 0.5 seconds; 2. Stepping from 0mA to 20mA in 0.1mA increments, with a step period of 50ms; 3. Over-value alarm test.

[0075] The 4-20mA analog signal board port function test program includes: 1. Outputting current values ​​of 4mA, 4.5mA, 5mA, 7.5mA, 10mA, 12.5mA, 15mA, 17.5mA, and 20mA (9 times), with each current value held for 0.5 seconds; 2. Stepping from 4mA to 20mA in 0.1mA increments, with a stepping period of 50ms (160 times in 8 seconds); 3. Over-value alarm test.

[0076] After the module under test is connected, the backplane communication is disconnected by default. The photoelectric signal is connected to pin DI1-8. After the internal control system signal is processed, the external 3 programming system switch is triggered through the output of DO1-2. The programming indicator light on the device display interface 5 is lit through the output of DO1-3, and automatic programming is performed at this time.

[0077] After the external firmware programming system completes and successfully programs the firmware onto the board under test, a feedback signal is sent to the DI1-5 and DI1-6 pins. The internal control system judges and processes the input signal through the DI1 interface. If DI1-5 input indicates successful programming, the system outputs DO1-3 to illuminate the successful programming indicator on the device's display interface 5, and simultaneously controls the backplane communication connection of the board under test, with the internal control system performing communication detection. If DI1-6 input indicates failed programming, the system outputs DO1-4 to illuminate the failed programming indicator on the device's display interface 5, and the test ends.

[0078] When the internal control system performs communication testing, it is reconfigured via device B01. If the information of the board module under test and the accompanying module are scanned, the communication test is successful. The test results are then displayed on device display interface 5 via DO1-5 and DO1-6 interfaces, illuminating the communication success and failure indicator lights. If communication fails, the program is interrupted, and the test ends.

[0079] If the communication test is successful, the internal control system automatically performs functional tests on the input and output ports of the module under test (DUT) according to the module's model. Once all channels have passed the test, the success indicator light on device display interface 5 is illuminated via DO1-7, and simultaneously, all corresponding success indicator lights on device display interface 5 are illuminated via DO2. If any channel fails the test, the failure indicator light on device display interface 5 is illuminated via DO1-8, and simultaneously, the success indicator light for the channel that passed the test is illuminated via the corresponding output of DO2, while the failure indicator light for the channel that failed the test is illuminated via the corresponding output of DO3.

[0080] The external power consumption measurement module 4 of the equipment detects the operating voltage, signal transmission voltage and operating current required by the board in real time after the board is connected; a limit value range is set for all operating results; the measurement results are displayed in real time and fed back to the internal control system of the equipment. After receiving the feedback results, the control system compares them with the limit range values and lights up the corresponding indicators on the equipment display interface 5 for qualification and alarm outputs.

[0081] After the test is completed, all indicator lights on the equipment display interface 5 show success (green) to determine that the board is qualified; if there is any failure (red), the board is determined to be unqualified. After the test is finished, remove the board to be tested. The photoelectric signal automatically disconnects the input signal at port 8 of DI1 of the internal control system of the equipment; B01, DI1, DO1, DO2 and DO3 of the internal control system of the equipment are reconfigured in the initial stage and self-inspected; if the self-inspection is qualified, the output of port 1 of DO1 lights up the self-inspection indicator light on the equipment display interface 5. The test is carried out cyclically.

[0082] The invention provides a single-board testing device and method for a PLC remote IO module, including:

[0083] After the external power interface 1 of the equipment is connected to the power supply, when the internal power supply is normal, the power indicator light on the equipment display interface 5 lights up; the internal control system of the equipment is as Figure 2 shown, composed of a self-developed PLC and IO modules of the company, including a PLC (B01), a digital input module (DI1), digital output modules (DO1, DO2, DO3), a module to be tested (determined according to the board of the module to be tested---ports 1-4 of DI1 are used for board type / test program selection of the module to be tested), and an auxiliary test module (determined according to the module to be tested), among which B01, DI1, DO1, DO2 and DO3 are initially configured and self-inspected; if the self-inspection is qualified, the output of port 1 of DO1 lights up the self-inspection indicator light on the equipment display interface 5.

[0084] The external part 2 of the equipment is a board mounting device, taking Figure 3 as an example (commercially available boards can be structurally adjusted according to their appearance). After the board is installed, a photoelectric signal is used to determine whether the board is inserted, and the photoelectric signal on the device is connected to port 8 of the DI1 module; the IO interface, programming port, and backplane communication connection port on the board are respectively connected to the auxiliary test module of the internal control system of the equipment, the external programming system 3 of the equipment, and the front and rear ends of the backplane of the module to be tested of the internal control system of the equipment through probes on the device. After the board to be tested is placed in the mounting device, the photoelectric signal is transmitted to port 8 of DI1 of the internal control system of the equipment; after the internal control system of the equipment judges and processes it, the output of port 2 of DO1 sends a single pulse signal to control the external programming system 3 of the equipment to program the firmware of the module to be tested.

[0085] After the external programming system completes the firmware programming of the board under test, it determines whether the programming is successful and sends feedback to port 5 of the internal control system DI1. If it fails, it sends feedback to port 6 of the internal control system DI1. The internal control system judges based on the input values ​​of ports 5 and 6 of DI1 and controls the output of ports 3 and 4 of the internal DO1 to light up the programming success and failure indicator lights on the device display interface 5.

[0086] Based on the successful programming result, the internal control system of the device controls the output of port 3 of DO1 to illuminate the "Programming Success" indicator on the device display interface 5, and simultaneously controls the switching between programming and testing. The internal control system B01 is reconfigured to scan and test the module under test and the accompanying module. Based on the communication scan results, the output of ports 5 and 6 of DO1 is controlled to illuminate the communication success and failure indicator lights on the device display interface 5.

[0087] Based on the successful communication result, the equipment's internal control system runs the test programs for the module under test (DUT) and the accompanying module. Taking the DUT as a digital input module as an example, the accompanying module is a digital output module. The test module sequentially runs program codes for sequential light cycles, full illumination (1 second), full extinguishing (1 second), flickering (20ms), and flickering extinguishing (10ms), connecting each port output of the test module to the corresponding module under test (DUT). The DUT also receives the corresponding input information. The internal control system compares the input data of the DUT with the output data of the test module and judges each port of the DUT. When the comparison results are consistent, the output of port 7 of DO1 inside the control device illuminates the detection success indicator on the device display interface 5; the output of ports 1-8 of DO2 inside the control device illuminates the detection success indicator of the corresponding test channel on the device display interface 5. When the comparison results are inconsistent, the output of port 8 of DO1 inside the control device illuminates the detection failure indicator on the device display interface 5; the output of ports 1-8 of DO2 inside the control device illuminates the detection success indicator of the corresponding test channel on the device display interface 5; the output of ports 1-8 of DO3 inside the control device illuminates the detection failure indicator of the corresponding test channel on the device display interface 5.

[0088] The device has four external power consumption measurement modules. When the board is connected, it will detect the working voltage, signal transmission voltage and working current required by the board in real time. All working results will be set to a limit range. The measurement results will be displayed and fed back to the internal control system of the device. After receiving the feedback results, the control system will compare them with the limit range values ​​and output the corresponding indicators on the device display interface 5 if they are qualified or alarm.

[0089] After the test, remove the board from the external board mounting device 2 and disconnect the input signal of port 8 of the internal control system DI1. Reconfigure the B01, DI1, DO1, DO2, and DO3 of the internal control system and perform a self-test. If the self-test is successful, the output of port 1 of DO1 will light up the self-test indicator light on the device display interface 5.

[0090] After inserting another board, the device will repeat the test.

[0091] Two digital voltmeters: one for measuring the voltage at pins 1 / 2 and 5 / 2 of the board under test. One digital ammeter: connected in series with the front 5V side of the backplane of the board under test to measure power consumption.

[0092] This invention is mainly applied to the research, testing and production stages of PLC remote I / O modules.

[0093] The board mounting device uses probes to bring out the I / O ports, program writing ports, and backplane communication ports of the module under test, connecting them to the corresponding functional modules. This overcomes the delay and limitations of only being able to achieve detection and measurement via the assembled PLC remote I / O module; thus accelerating R&D efficiency, optimizing production processes, improving product quality, and reducing material loss, thereby achieving the goals of cost savings and increased production efficiency.

[0094] The internal control system was independently developed, and the integrated testing solution solves the limitations of requiring different tests for the same PLC remote I / O module and the inability to provide timely feedback on test results. This allows for faster module testing.

[0095] Improvements to the production and assembly process involve bringing forward the relevant software programs and functional testing procedures. This ensures the quality of the boards used in the production of PLC remote I / O modules, removes defective boards in advance, reduces the defect rate of assembled products, decreases maintenance, and reduces material waste, thereby achieving the goals of cost savings and improved production efficiency.

Claims

1. A PLC remote I / O module single-board testing device, characterized in that, comprising: a programming system, configured to perform program programming on the module under test, and feed back success or failure information of the programming to a control system, so that the information is displayed on a display interface; a power consumption measurement unit, configured to detect a working voltage, a signal transmission voltage, and a working current of the module under test in real time, and feed back detection results to the control system; and perform an alarm according to an upper limit value and a lower limit value set by the control system, to determine whether a board is damaged; the control system, configured to control a test procedure according to a type of the module under test, and control the programming system to perform program programming, and display feedback information of the programming on the display interface through a corresponding indicator light; after the module under test is successfully programmed, sequentially perform backplane communication and input or output port tests, and control an indicator light on the display interface to turn on according to a corresponding test result; simultaneously detect power consumption of the module under test in real time during a test process, and display the power consumption on the display interface; the control system comprises: a B01 module, configured to determine whether programming is successful according to feedback information sent by the programming system, and control a digital output (DO) module to perform result output to control on / off of a corresponding indicator light on the display interface; compare a feedback result of the power consumption measurement unit with an upper limit value and a lower limit value of a set range for determination: when the working voltage, the signal transmission voltage, and the working current all meet the set range, determining that the module is qualified; otherwise, performing an alarm; and outputting a determination result through the DO module to control the on / off of the corresponding indicator light on the display interface; perform a module configuration communication test, and output a communication test result through the DO module to control the on / off of the corresponding indicator light on the display interface; after the communication test is successful, control each port of the module under test to perform input or output channel detection, feed back data of the module under test through a companion test module, compare the data with originally set data, perform function determination on each port of the module under test, and display a detection result through the DO module; a digital input (DI) module, connected to the B01 module through a backplane, and configured to input a trigger signal, a type selection signal of a board to be tested, a board installation trigger signal, a programming system feedback signal, and a power consumption measurement feedback signal; the DO module, comprising a first digital output module DO1, a second digital output module DO2, and a third digital output module DO3, all connected to the B01 module through a backplane; the first digital output module DO1 is configured to perform self-inspection result feedback, programming trigger control, programming result display control, communication test result display control, power consumption test result display, and overall test result display; the second digital output module DO2 is configured to perform successful detection display of an input or output channel of the module under test; the third digital output module DO3 is configured to perform failed detection display of the input or output channel of the module under test; The module under test (DUT) is used to set up the board under test (BUT) and has ports corresponding to each interface of the BUT, allowing the BUT to be disconnected from the DUT and serving as a communication connection configuration in the control system. The backplane of the third digital output module (DO3) is connected to the communication interface probes on the lower side of the board mounting device via the BUT, enabling the third digital output module (DO3) to communicate with the front backplane of the BUT. The rear backplane of the BUT is connected to the backplane of the auxiliary module under test via the IO interface probes on the upper side of the board mounting device. The companion test module is used to connect each IO port of the companion test module to the corresponding IO port of the module under test, receive input and output signals from the board under test, and compare them in real time with the signals emitted by the B01 module to determine whether the input and output functions of the port of the module under test are correct.

2. The PLC remote I / O module single-board testing equipment according to claim 1, characterized in that, The board mounting device is used to place I / O boards to enable the inspection and testing of bare boards; The board mounting device includes a base plate and a bracket vertically mounted on the base plate. The bracket has a T-shaped cross-section. The bracket is used to support the board under test of the module under test and is equipped with a photoelectric detection switch connected to a digital input module (DI) to determine whether the board under test of the module under test is installed. The base plate is provided with different slots according to the shape of the module under test board. The slots are provided with interfaces that match the module under test board and corresponding communication interface probes. The communication interface probes are connected to the communication interfaces of different modules. The board mounting device is also provided with IO interface probes and program writing port probes, which are used to connect to the IO interface and program writing port of the board under test board, respectively. The IO interface probe is connected to the IO interface of the test module, and the program programming port probe is connected to the programming system; the communication interface probe is connected to the backplane of the module under test, and is connected to the backplane of the third digital output module DO3 and the backplane of the test module to realize configuration communication.

3. A method for testing a PLC remote I / O module board, wherein the method is applied to the PLC remote I / O module board testing equipment described in claim 1, characterized in that, Includes the following steps: The programming system programs the module under test and sends feedback information on whether the programming was successful or not to the control system, so that the information is displayed on the display interface. The power consumption measurement system detects the operating voltage, signal transmission voltage, and operating current of the module under test in real time and feeds them back to the control system. It also issues alarms based on the upper and lower limits set by the control system to determine whether the board is damaged. The control system controls the test program according to the type of module under test, and controls the programming system to program the module. The feedback information is displayed on the display interface with corresponding indicator lights. After the module under test is successfully programmed, the backplane communication, input or output port tests are performed in sequence, and the indicator lights on the display interface are lit according to the test results. At the same time, the power consumption of the module under test is detected in real time during the test and displayed on the display interface.

4. The method for testing a single board of a PLC remote I / O module according to claim 3, characterized in that, Connect each IO port of the module under test to the IO port of the accompanying module, and detect the actual input or output data of each IO port of the board under test in real time. Compare the data with the data sent by the control system B01 module and determine whether they are consistent, so as to realize the testing and detection of the function of each IO port of the module under test. When the comparison results are consistent, the function test success indicator light on a certain port of the first digital output module DO1 is lit up on the display interface; at the same time, the test success indicator light on the corresponding test channel of all output ports of the second digital output module DO2 is lit up on the display interface. When the comparison results of a certain channel are inconsistent, the output of a certain port of the first digital output module DO1 will light up the function test failure indicator on the display interface; at the same time, the corresponding output port of the second digital output module DO2 will light up the test success indicator on the display interface for the channel with the same comparison result; and at the same time, the corresponding output port of the third digital output module DO3 will light up the test failure indicator on the display interface for the channel with the different comparison result.

Citation Information

Patent Citations

  • A method and apparatus for testing a board card

    CN109086175A

  • C8051F single-chip microcomputer program burning device

    CN209086915U