WO2023184554A1 - 一种plc测试系统及方法 - Google Patents
一种plc测试系统及方法 Download PDFInfo
- Publication number
- WO2023184554A1 WO2023184554A1 PCT/CN2022/085161 CN2022085161W WO2023184554A1 WO 2023184554 A1 WO2023184554 A1 WO 2023184554A1 CN 2022085161 W CN2022085161 W CN 2022085161W WO 2023184554 A1 WO2023184554 A1 WO 2023184554A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- plc
- virtual device
- fault
- preset
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/058—Safety, monitoring
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13174—Pc, computer connected to plc to simulate machine
Definitions
- This application belongs to the field of testing technology, and specifically relates to a PLC testing system and method.
- the existing technology provides a testing method, which is as follows: S1. According to the test task of the PLC to be tested, select the PLC control instruction corresponding to the test task from the preset PLC test script library; S2. Based on the PLC control instructions and TCL (Tool Command Language, Tool Command Language) built-in instructions construct test cases, and send the test cases to the lower computer system; S3, the lower computer system generates excitation signals based on the test cases, and sends The excitation signal is sent to the PLC under test; S4. Test the PLC under test based on the excitation signal.
- TCL Tool Command Language, Tool Command Language
- This prior art builds a PLC peripheral device equivalent based on TCL scripts to replace the real peripheral environment of the PLC. Although it simplifies the complexity of the real environment and the cumbersome test steps, it also simplifies the motion mechanism of the external device. , and the main function of the motion mechanism of the external device is to execute the control commands of the PLC and feed back signals related to the control commands to the PLC through the sensors. Since the motion mechanism of the external device is simplified, the motion control of the external device by the PLC is not closed loop. , which leads to low test reliability.
- the purpose of this application is to provide a PLC testing system and method to improve the existing testing scheme's problem of non-closed loop motion control of external equipment, which in turn leads to low test reliability.
- embodiments of the present application provide a PLC testing system, including: a virtual device that simulates a real device on site, a testing tool, and a PLC device.
- a testing tool for initiating a preset test case to inject faults into the virtual device; a PLC device for executing the preset fault processing logic when receiving a fault signal generated by the virtual device simulating a field fault according to the injected fault,
- the preset fault processing logic includes sending alarm information to the virtual device; the test tool is also used to test whether the alarm information forwarded by the virtual device meets the expectations of the preset test case to inject the fault. Check whether the fault handling logic of the PLC equipment is normal.
- virtual devices are used to simulate real devices on site, so that on-site faults can be simulated to generate corresponding fault signals and sent to the PLC device, so that the PLC device executes the corresponding fault processing logic, thereby achieving closed-loop verification of the PLC fault processing logic. effect, thereby improving test reliability.
- the test tool is further configured to, after detecting whether the alarm information forwarded by the virtual device meets the expectation of injecting a fault into the preset test case, to the virtual device.
- the device sends a manual switching signal that simulates on-site manual intervention; accordingly, the PLC device is also configured to control the virtual device to switch to manual mode when receiving the manual switching signal forwarded by the virtual device.
- the virtual device is switched to manual mode by simulating on-site manual intervention actions, thereby preventing the virtual device from continuing to run automatically and causing errors.
- manual intervention is facilitated.
- the test tool is further configured to, after detecting whether the alarm information forwarded by the virtual device meets the expectation of injecting a fault into the preset test case, to the virtual device.
- the device sends a short reset signal that simulates on-site manual intervention; accordingly, the PLC device is also configured to reset and clear the preset fault processing logic when receiving the short reset signal forwarded by the virtual device, and control all The virtual device clears the alarm information.
- a short reset signal is sent by simulating on-site manual intervention actions, so as to reset and clear the preset fault processing logic of the PLC equipment and the alarm information on the virtual equipment, so as to facilitate subsequent automated continuous testing, thereby improving testing efficiency.
- the test tool is further configured to send a start signal simulating on-site manual intervention to the virtual device when detecting that the virtual device clears the alarm information.
- the PLC device is also used to control the normal operation of the virtual device according to the preset automated production process when receiving the startup signal forwarded by the virtual device.
- the on-site manual intervention action is simulated to send a start signal, so that the PLC device controls the normal operation of the virtual device according to the preset automated production process, which provides a guarantee for the realization of automated continuous testing. And ensure the reliability of subsequent continuous testing.
- the test tool is also configured to start a new preset test case to inject a new fault into the virtual device when it is detected that the virtual device has resumed normal operation, To continue testing whether the remaining fault handling logic of the PLC device is normal.
- a new preset test case is started to inject a new fault into the virtual device to continue to test whether the remaining fault processing logic of the PLC device is normal, thereby efficiently realizing automated continuous test.
- the test tool is further configured to, after sending the manual switching signal to the virtual device, send an automatic switching signal to the virtual device that simulates an on-site manual intervention action. signal; correspondingly, the PLC device is also configured to control the virtual device to switch from the manual mode to the automatic mode when receiving the automatic switching signal forwarded by the virtual device.
- an automatic switching signal is sent to the virtual device to simulate the on-site manual intervention action, so that the virtual device switches from the manual mode to the automatic mode, so as to facilitate subsequent control of the virtual device automatically according to the The build process works fine.
- the PLC test system further includes a display module; the display module is used to display the running status of the virtual device, and/or display the operating status of the PLC device. Alarm information sent when executing preset fault handling logic.
- the operating status of the virtual device is displayed through the display module, so that the entire operation of the virtual device is visible during the entire test process; and/or the alarm information sent by the PLC device when executing the preset fault processing logic is displayed.
- the display module so that the entire operation of the virtual device is visible during the entire test process; and/or the alarm information sent by the PLC device when executing the preset fault processing logic is displayed.
- the virtual device and the test tool are deployed on an industrial computer, and both the industrial computer and the PLC device include the display module.
- the virtual device and the test tool are deployed on the same industrial computer, which is more conducive to the signal interaction between the test tool and the virtual device.
- the PLC device and the industrial computer including the display module are used, so that the virtual device can be displayed at the same time.
- the virtual device and the test tool are deployed on an industrial computer, and the PLC device and the industrial computer are both connected to the display module.
- the virtual device and the test tool are deployed on the same industrial computer, which is more conducive to the signal interaction between the test tool and the virtual device.
- the PLC device and the industrial computer are connected to the display module, so that even When the PLC equipment and industrial computer do not include a display screen, the operating status of the virtual equipment and the alarm information sent by the PLC equipment when executing the preset fault processing logic can also be displayed.
- the virtual device and the test tool are deployed on an industrial computer.
- the virtual device and the test tool are deployed on the same industrial computer, which is more conducive to signal interaction between the test tool and the virtual device.
- the virtual device and the test tool are deployed on an industrial computer, and the industrial computer includes the PLC device.
- the virtual device and the test tool are deployed on the same industrial computer, which is more conducive to the signal interaction between the test tool and the virtual device.
- the PLC device is set As a part of the industrial computer, it is possible to complete the test of the PLC's fault handling logic through an industrial computer, greatly simplifying the hardware resources required to complete the test.
- the preset test cases are generated based on historical fault data and can be continuously updated.
- faults that have actually occurred on past equipment are converted into test cases and continuously updated to improve test fault coverage.
- embodiments of the present application also provide a PLC testing method, including: the testing tool starts a preset test case to inject faults into a virtual device that simulates a real device on site; the PLC device responds to the injected fault after receiving the virtual device.
- the preset fault processing logic is executed.
- the preset fault processing logic includes sending alarm information to the virtual device; the test tool detects whether the alarm information forwarded by the virtual device meets the required requirements.
- the preset test case injects the expectation of fault and tests whether the fault processing logic of the PLC device is normal.
- the method further includes: the testing tool The virtual device sends a manual switching signal that simulates on-site manual intervention; when the PLC device receives the manual switching signal forwarded by the virtual device, it controls the virtual device to switch to manual mode.
- the method further includes: the testing tool The virtual device sends a short reset signal that simulates on-site manual intervention; when the PLC device receives the short reset signal forwarded by the virtual device, it resets and clears the preset fault processing logic, and controls the virtual device to clear all Describe the alarm information.
- the method further includes: when the testing tool detects that the virtual device clears the alarm information, sending a message simulating on-site manual intervention action to the virtual device. Start signal; when the PLC device receives the start signal forwarded by the virtual device, it controls the normal operation of the virtual device according to the preset automated production process.
- the method further includes: when the testing tool detects that the virtual device has resumed normal operation, starting a new preset test case to inject new data into the virtual device. fault to continue testing whether the remaining fault handling logic of the PLC device is normal.
- the method further includes: the testing tool sending to the virtual device a message simulating an on-site manual intervention action. Automatic switching signal; when receiving the automatic switching signal forwarded by the virtual device, the PLC device controls the virtual device to switch from manual mode to automatic mode.
- Figure 1 shows a schematic module diagram of a PLC testing system provided by an embodiment of the present application.
- FIG. 2 shows a schematic diagram of the testing principle of a PLC testing system provided by an embodiment of the present application.
- Figure 3 shows a schematic diagram of the hardware structure involved in a PLC testing system provided by an embodiment of the present application.
- Figure 4 shows a schematic flow chart of a PLC testing method provided by an embodiment of the present application.
- an embodiment means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application.
- the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art understand, both explicitly and implicitly, that the embodiments described herein may be combined with other embodiments.
- the term "and/or” is only an association relationship describing associated objects, indicating that there can be three relationships.
- a and/or B can mean: A exists alone, and at the same time There are three situations: A and B, and B alone.
- the term "plurality" refers to two or more (including two).
- this application provides a new PLC test system and method.
- Use virtual equipment Provides Simulate (PS) software running on an industrial computer) to simulate real equipment on site, so that when simulating on-site faults, corresponding fault signals can be generated and sent to the PLC equipment, so that the PLC equipment executes the corresponding fault Processing logic, thereby achieving the effect of closed-loop testing of the fault processing logic of PLC equipment, thereby solving the problem of low reliability of existing testing methods.
- PS Process Simulate
- the technical solution provided in this application can be applied to any automated control system or intelligent equipment controlled by PLC, and has universal applicability.
- PLC test system includes: virtual equipment (PS) that simulates real equipment on site, test tools (such as Ignition tools) and PLC equipment.
- PS virtual equipment
- test tools such as Ignition tools
- the virtual device in this application is a 3D digital model that simulates the real device on site and has the same functions as the real device on site. It contains motion mechanisms and logic blocks and can perform relevant actions according to the control signals of the PLC and feed back the execution results to the PLC device. And when receiving fault injection, it can simulate the fault and generate the corresponding fault signal, and send it to the PLC device.
- the production equipment involved mainly includes: tab-adapter ultrasonic welding equipment, adapter-top cover laser welding equipment, Mylar packaging equipment, top cover-casing laser welding equipment, Air tightness helium inspection equipment, etc., these equipment cooperate with each other under the control of PLC equipment to finally complete the assembly of lithium batteries.
- Simulation software with the same functions as these real devices can be built through 3D modeling technology to simulate the operation of these real devices. It should be understood that in different application scenarios, the real devices on site are different, and the corresponding virtual devices are also different, so the execution logic is also different.
- the tab-adapter ultrasonic welding equipment is used to weld the tab and adapter piece together.
- Adapter sheet-top cover laser welding equipment is used to weld the adapter sheet and top cover together.
- Mylar equipment is included for lamination.
- Top cover-enclosure laser welding equipment is used to weld top covers and enclosures together.
- Air tightness helium testing equipment is used to detect the air tightness behind lithium batteries.
- PLC equipment Because PLC equipment has good programmability, it is widely used in various automation control systems. It is a digital computing operation electronic system specially designed for application in industrial environments. PLC equipment will control various types of mechanical equipment or production processes according to preset automated production processes. The functions and performance of PLC equipment are related to the correctness and stability of automatic control. Therefore, the functions and performance of PLC equipment need to be tested. For example, the fault handling logic of PLC equipment needs to be tested.
- the testing tool When testing PLC equipment, you can use the testing tool to start preset test cases to inject faults into the virtual device, so that the virtual device simulates on-site faults to generate fault signals based on the injected faults, and sends the generated fault signals to the PLC device.
- the PLC device receives a fault signal generated by the virtual device according to the injected fault simulation on-site fault, it executes the preset fault processing logic, and the preset fault processing logic includes sending alarm information to the virtual device.
- the testing tool By using the testing tool to detect whether the alarm information forwarded by the virtual device meets the expectations of fault injection by the preset test case, it is possible to test whether the fault handling logic of the PLC device is normal. Among them, if it is detected that the alarm information forwarded by the virtual device meets the expectation of fault injection by the preset test case, then the fault processing logic of the corresponding PLC device is normal.
- testing tool for testing PLC equipment, such as the Ignition tool, it is mainly used to start preset test cases to inject faults into virtual devices, so that the virtual devices can simulate on-site faults and generate fault signals based on the injected faults, and send the generated fault signals to the PLC. equipment.
- the testing tool is also used to test whether the fault handling logic of the PLC device is normal by detecting whether the alarm information forwarded by the virtual device meets the expectations of fault injection by the preset test case.
- the test tool determines whether the fault injection test start condition is met.
- the test tool starts the preset test case to inject the fault into the virtual device. Fault.
- the PLC equipment will be started first.
- the PLC equipment controls the normal operation of the virtual equipment according to the preset automated production process. At this time, the three-color lights in the virtual equipment are green, indicating that the virtual equipment is in normal operation.
- Test Tools When the three-color light of the virtual device is monitored to be green, it is determined that the fault injection test startup conditions are met, and a preset test such as preset test case 1 is started to inject fault 1 into the virtual device.
- Test cases are used to inject faults into virtual devices. Since the automated control system controlled by the PLC device will perform various actions during the automatic production process, various faults may occur, and accordingly, various test cases will be involved.
- the preset test cases correspond to the injected faults one-to-one. Different preset test cases inject different faults, so the simulated on-site faults are also different. For example, test case 1 corresponds to fault 1, test case 2 corresponds to fault 2, test case 3 corresponds to fault 3...
- the preset test cases are generated based on historical fault data, that is, the preset test cases are generated based on actual faults that have occurred in the equipment controlled by the PLC equipment.
- the preset test cases can be continuously updated to cover all faults that have actually occurred on the device in the past. Since field equipment is in the operation and maintenance stage, in addition to the faults considered in the design stage, faults beyond the design considerations will also occur, and they will continue to accumulate over the life cycle of the equipment. These continuously accumulated faults will be converted into test cases for Continuously improve fault coverage.
- the above-mentioned preset test cases can be imported in the form of files, such as importing files in excel format into industrial computers.
- the test tools running on the industrial computers can start corresponding test cases according to the user's configuration to inject faults into the virtual device to test PLC faults. Whether the processing logic is normal.
- the testing tool is also used to: after detecting whether the alarm information forwarded by the virtual device meets the preset test case expectations for injecting faults, for example, after detecting that the alarm information forwarded by the virtual device meets the preset
- a short reset signal that simulates on-site manual intervention is sent to the virtual device.
- This short reset signal is used to reset the PLC device and clear the preset fault processing logic.
- the PLC device is also used to reset and clear the preset fault processing logic when receiving the short reset signal forwarded by the virtual device, and control the virtual device to clear the alarm information.
- the test tool is also used to send a start signal to the virtual device to simulate on-site manual intervention when it detects that the virtual device clears the alarm information.
- the PLC device is also used to control the normal operation of the virtual device according to the preset automated production process when receiving the start signal forwarded by the virtual device.
- the test tool is also used to start a new preset test case when it detects that the virtual device has resumed normal operation. It injects new faults into the virtual device to continue to test whether the rest of the fault handling logic of the PLC is normal.
- the test tool starts a preset test case. 2. Inject fault 2 into the virtual device; the PLC device is used to execute preset fault processing logic 2 when receiving a fault signal 2 generated by the virtual device simulating an on-site fault according to the injected fault 2.
- the preset fault processing logic 2 includes injecting fault data into the virtual device. Send alarm information 2, and the test tool is also used to test whether the fault processing logic 2 of the PLC device is normal by detecting whether the alarm information 2 forwarded by the virtual device meets the expectations of the preset test case to inject fault 2.
- the test tool detects whether the alarm information forwarded by the virtual device meets the expectations of a preset test case to inject a fault, for example, when it detects that the alarm information forwarded by the virtual device meets the expectations of a preset test case to inject a fault. , and also sends a manual switching signal to the virtual device to simulate on-site manual intervention actions; accordingly, the PLC device is also used to control the virtual device to switch to manual mode when receiving the manual switching signal forwarded by the virtual device. It is understandable that even when the test tool detects that the alarm information forwarded by the virtual device does not meet the expectations of the preset test case to inject faults, it can still send a switching manual signal to the virtual device to simulate on-site manual intervention actions.
- the test tool is also used to send an automatic switching signal to the virtual device that simulates on-site manual intervention after sending a manual switching signal to the virtual device; correspondingly, the PLC device is also used to control the automatic switching signal forwarded by the virtual device when receiving it.
- the virtual device switches from manual mode to automatic mode.
- the operating modes of intelligent devices in automated control systems include manual mode and automatic mode.
- manual mode the virtual device stops running automatically, and you need to manually trigger the buttons on the device before the device can perform the corresponding operation.
- automatic mode the device can automatically perform corresponding operations according to the control of the PLC device.
- manual intervention may not be possible. At this time, if you want to perform manual intervention such as performing a short reset, you need to switch the device to manual mode and then perform a short reset on the device to clear all alarms. information.
- the test tool when the test tool detects that the alarm information forwarded by the virtual device meets the expectations of the preset test case injection fault, the test tool sends a simulated on-site manual intervention action to the virtual device. Switch manual signal so that when the PLC device receives the manual switch signal forwarded by the virtual device, it controls the virtual device to switch to manual mode. Afterwards, the test tool sends a short reset signal to the virtual device that simulates on-site manual intervention, so that when the PLC device receives the short reset signal forwarded by the virtual device, it resets and clears the preset fault processing logic and controls the virtual device to clear the alarm information.
- test tool when the test tool detects the virtual device clearing alarm information, it sends an automatic switching signal to the virtual device that simulates on-site manual intervention actions, so that when the PLC device receives the automatic switching signal forwarded by the virtual device, it controls the virtual device to switch from manual mode. to automatic mode. Afterwards, the test tool sends a startup signal to the virtual device that simulates on-site manual intervention actions, so that when receiving the startup signal forwarded by the virtual device, the virtual device can be controlled to operate normally according to the preset automated production process. Afterwards, when the test tool detects that the virtual device has resumed normal operation, it starts a new preset test case to inject new faults into the virtual device to continue testing whether the remaining fault handling logic of the PLC device is normal.
- the PLC equipment runs automatic logic to control the normal operation of the virtual equipment according to the preset automated production process.
- the three-color lights in the virtual equipment are green, indicating that the virtual equipment is in normal operation.
- the test tool monitors the color of the three-color lights of the virtual device to determine whether the fault injection test startup conditions are met. If the three-color lights of the virtual device are monitored to be green, it is determined that the fault injection test startup conditions are met.
- the test tool determines that the fault injection test startup conditions are met, starts a preset test such as preset test case 1, and injects fault 1 into the virtual device; the virtual device simulates an on-site fault to generate a fault signal based on the injected fault, and sends the generated fault signal to PLC equipment.
- the PLC device executes the preset fault processing logic 1, which includes sending alarm information 1 to the virtual device and controlling the three-color light of the virtual device to turn red.
- the virtual device sends the alarm information 1 to the test tool.
- the test tool monitors the alarm information 1 and detects whether the alarm information 1 forwarded by the virtual device meets the expectations of the preset test case 1 to inject fault 1, thereby testing whether the fault processing logic 1 of the PLC device is normal.
- the test tool performs delayed clearing alarm logic after detecting whether the alarm information 1 forwarded by the virtual device meets the expectations of the preset test case 1 to inject fault 1, such as sending a switch to the virtual device to simulate on-site manual intervention actions.
- Manual signal and short reset signal The virtual device sends the manual switching signal and the short reset signal to the PLC device.
- the PLC device receives the manual switching signal, it controls the virtual device to switch to manual mode, and when it receives the short reset signal, it controls the reset to clear the preset fault processing.
- Logic 1 controls the virtual device to clear alarm information 1.
- the three-color light of the virtual device is yellow.
- the test tool When the test tool detects the virtual device clearing alarm information 1, it sends an automatic switching signal and a start signal to the virtual device that simulate on-site manual intervention actions.
- the virtual device sends the automatic switching signal and the start signal to the PLC device.
- the PLC device receives the automatic switching signal, it controls the virtual device to switch to the automatic mode, and when it receives the start signal, it runs the automatic logic according to the preset automated production process. Control the virtual device to operate normally. At this time, the three-color light of the virtual device returns to green.
- the test tool monitors that the three-color light of the virtual device is green, determines that the preset test case 1 has passed, and is ready to start the next preset test case, such as the preset test case 2, to inject a new fault 2 into the virtual device to continue testing the PLC Whether the remaining fault handling logic of the device is normal.
- the above-mentioned virtual device and test tool can be deployed on the same industrial computer to facilitate signal interaction between the test tool and the virtual device.
- the PLC test system may only include an industrial computer. At this time, the above-mentioned virtual device and testing tool are deployed on the industrial computer.
- the industrial computer includes the above-mentioned PLC device.
- the PLC device is an industrial control device. part of the machine.
- the PLC test system may only include an industrial computer and a PLC device.
- the PLC device and the industrial control machine are electrically connected and are independent devices.
- the above-mentioned virtual devices and testing tools are deployed on the industrial computer.
- neither the industrial computer nor the PLC equipment may contain a display module.
- the PLC test system also includes a display module.
- the display module is used to display the running status of the virtual device so that the operation of the virtual device is visible during the entire test process; and/or to display the alarm information sent by the PLC device when executing the preset fault processing logic. According to the displayed alarm information, you can Humans subjectively judge whether the fault handling logic of PLC equipment is normal.
- both the industrial computer and the PLC device include a display module.
- the PLC test system includes an industrial computer and PLC equipment, and the PLC equipment is electrically connected to the industrial control machine.
- the display module on the industrial computer is used to display the running status of the virtual device and the test interface of the test tool.
- the display module on the PLC device can be used to display the alarm information sent by the PLC when executing the preset fault processing logic.
- the PLC test system may include an industrial computer, a PLC device, and a display module.
- the industrial computer, the PLC device, and the display module are electrically connected, and the three are independent devices.
- the number of display modules may be two.
- the industrial computer is electrically connected to one of the display modules, and the PLC device is electrically connected to another display module.
- the hardware connection schematic diagram of the PLC test system is shown in Figure 3.
- the preset fault processing logic also includes controlling the display module to display alarm information sent by the PLC device when executing the preset fault processing logic.
- embodiments of the present application also provide a PLC testing method.
- the principle and technical effects produced by the PLC testing method are the same as the implementation principles and technical effects produced by the aforementioned PLC testing system.
- the PLC testing method provided by the embodiment of the present application will be described below with reference to Figure 4.
- the testing tool starts preset test cases to inject faults into the virtual device that simulates the real device on site.
- test tool when the test tool determines that the fault injection test startup conditions are met, for example, when the test tool monitors that the three-color light of the virtual device is green, it can start a preset test, such as preset test case 1, Injecting faults into virtual devices1.
- preset test such as preset test case 1, Injecting faults into virtual devices1.
- the PLC device When the PLC device receives the fault signal generated by the virtual device according to the injected fault simulation on-site fault, it executes the preset fault processing logic.
- the preset fault processing logic includes sending alarm information to the virtual device.
- test tool tests whether the fault handling logic of the PLC device is normal by detecting whether the alarm information forwarded by the virtual device meets the expectations of fault injection by the preset test case.
- the method after detecting whether the alarm information forwarded by the virtual device meets the expectations of the preset test case to inject the fault, the method also includes: the test tool sends a switching manual signal to the virtual device to simulate on-site manual intervention actions; the PLC device receives the virtual When the device forwards the switch manual signal, the control virtual device switches to manual mode.
- the method After sending the manual switching signal to the virtual device, the method also includes: the test tool sends an automatic switching signal to the virtual device that simulates on-site manual intervention; when the PLC device receives the automatic switching signal forwarded by the virtual device, it controls the virtual device to switch from the manual mode to the virtual device. Switch to automatic mode.
- the method after detecting whether the alarm information forwarded by the virtual device meets the expectations of the preset test case to inject the fault, the method also includes: the test tool sends a short reset signal to the virtual device to simulate on-site manual intervention actions; When the device forwards a short reset signal, the reset clears the preset fault processing logic and controls the virtual device to clear alarm information.
- the method also includes: when the test tool detects that the virtual device clears the alarm information, it sends a start signal to the virtual device that simulates on-site manual intervention; when the PLC device receives the start signal forwarded by the virtual device, it controls the preset automated production process.
- the virtual device operates normally.
- the method also includes: when the test tool detects that the virtual device has resumed normal operation, start a new preset test case to inject a new fault into the virtual device to continue testing whether the remaining fault handling logic of the PLC device is normal.
- the method further includes:
- the test tool sends a manual switching signal that simulates on-site manual intervention to the virtual device; when the PLC device receives the manual switching signal forwarded by the virtual device, it controls the virtual device to switch to manual mode; after that, the test tool sends a simulated on-site manual intervention to the virtual device
- the short reset signal of the action when the PLC device receives the short reset signal forwarded by the virtual device, it resets and clears the preset fault processing logic and controls the virtual device to clear the alarm information; after that, when the test tool detects that the virtual device clears the alarm information, Send an automatic switching signal that simulates on-site manual intervention to the virtual device; when the PLC device receives the automatic switching signal forwarded by the virtual device, it controls the virtual device to switch from manual mode to automatic mode; after that, the test tool sends a simulated on-site manual intervention signal to the virtual device.
- the start signal of the intervention action when receiving the start signal forwarded by the virtual device, control the normal operation of the virtual device according to the preset automated production process; then, when the test tool detects that the virtual device resumes normal operation, it starts a new preset test
- the use case injects new faults into the virtual device to continue testing whether the remaining fault handling logic of the PLC device is normal.
- the PLC testing method provided by the embodiments of this application has the same implementation principles and technical effects as the aforementioned PLC testing system embodiments. This is a brief description. For matters not mentioned in the method embodiments, please refer to the aforementioned PLC testing system embodiments. corresponding content.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more components for implementing the specified logical function(s).
- Executable instructions may also occur out of the order noted in the figures. For example, two consecutive blocks may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or acts. , or can be implemented using a combination of specialized hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Programmable Controllers (AREA)
Abstract
本申请涉及一种PLC测试系统及方法,属于测试技术领域。该PLC测试系统包括:模拟现场真实设备的虚拟设备、测试工具、PLC设备;测试工具用于启动预设测试用例向虚拟设备注入故障;PLC设备用于在接收到虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,预设故障处理逻辑包括向虚拟设备发送报警信息;测试工具还用于通过检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期,测试PLC的故障处理逻辑是否正常。采用虚拟设备来模拟现场真实设备,以便能模拟现场故障产生对应的故障信号并发给PLC设备,使得PLC设备执行对应的故障处理逻辑,从而达到闭环的效果,从而提高了测试可靠性。
Description
本申请属于测试技术领域,具体涉及一种PLC测试系统及方法。
在基于真实外部环境对PLC(Programmable Logic Controller,可编程逻辑控制器)进行测试的过程中,常常采用单元测试仪或系统联调试验或系统综合试验。由于测试过程所需的信号和激励均来源于真实的外部设备,导致测试环境复杂、测试效率低、测试覆盖率差、缺少故障注入方式。
为此,现有技术提供了一种测试方法,具体如下:S1、根据待测PLC的测试任务,从预先设置的PLC测试脚本库中选取与测试任务对应的PLC控制指令;S2、基于所述PLC控制指令及TCL(Tool Command Language,工具命令语言)内建指令构建测试用例,并将所述测试用例下发到下位机系统;S3、下位机系统根据所述测试用例产生激励信号,并将所述激励信号发送给待测PLC;S4、基于所述激励信号对待测PLC进行测试。
该现有技术基于TCL脚本构建PLC外围设备等效器,以替代PLC的真实外围环境,虽然简化了真实环境的复杂度和测试步骤的繁琐,但是同时也一并简化掉了外部设备的运动机构,而外部设备的运动机构的主要作用是执行PLC的控制命令,并通过传感器反馈与控制命令相关的信号给PLC,由于简化掉了外部设备的运动机构,导致PLC对外部设备的运动控制不闭环,进而导致测试可靠性不高。
发明内容
本申鉴于此,本申请的目的在于提供一种PLC测试系统及方法,以改善现有测试方案对外部设备的运动控制不闭环,进而导致测试可靠性不高的问题。
本申请的实施例是这样实现的:
第一方面,本申请实施例提供了一种PLC测试系统,包括:模拟现场真实设备的虚拟设备、测试工具以及PLC设备。测试工具,用于启动预设测试用例向所述虚拟设备注入故障;PLC设备,用于在接收到所述虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,所述预设故障处理逻辑包括向所述虚拟设备发送报警信息;所述测试工具,还用于通过检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期,测试所述PLC设备的故障处理逻辑是否正常。
本申请实施例中,采用虚拟设备来模拟现场真实设备,以便能模拟现场故障产生对应的故障信号并发给PLC设备,使得PLC设备执行对应的故障处理逻辑,从而达到闭环的验证PLC的故障处理逻辑的效果,从而提高了测试可靠性。
结合第一方面实施例的一种可能的实施方式,所述测试工具,还用于在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,向所述虚拟设备发送模拟现场人工干预动作的切换手动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的切换手动信号时,控制所述虚拟设备切换到手动模式。
本申请实施例中,通过模拟现场人工干预动作,将虚拟设备切换到手动模式,从而防止虚拟设备继续自动运行而出错,同时,通过将虚拟设备切换到手动模式后,方便对其进行人工干预。
结合第一方面实施例的一种可能的实施方式,所述测试工具,还用于在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,向所述虚拟设备发送模拟现场人工干预动作的短复位信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的短复位信号时,复位清除所述预设故障处理逻辑,并控制所述虚拟设备清除所述报警信息。
本申请实施例中,通过模拟现场人工干预动作发送短复位信号,以便能复位清除PLC设 备的预设故障处理逻辑以及虚拟设备上的报警信息,以便于后续实现自动化连续测试,以此可以提高测试效率。
结合第一方面实施例的一种可能的实施方式,所述测试工具,还用于在检测到所述虚拟设备清除所述报警信息时,向所述虚拟设备发送模拟现场人工干预动作的启动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的启动信号时,按照预设的自动化生产流程控制所述虚拟设备正常运转。
本申请实施例中,在检测到虚拟设备清除报警信息时,模拟现场人工干预动作发送启动信号,以便PLC设备按照预设的自动化生产流程控制虚拟设备正常运转,为实现自动化连续测试提供了保证,并保证后续连续测试的可靠性。
结合第一方面实施例的一种可能的实施方式,所述测试工具,还用于在检测到所述虚拟设备恢复正常运转时,启动新的预设测试用例向所述虚拟设备注入新故障,以继续测试所述PLC设备的其余故障处理逻辑是否正常。
本申请实施例中,在检测到虚拟设备恢复正常运转时,启动新的预设测试用例向虚拟设备注入新故障,以继续测试PLC设备的其余故障处理逻辑是否正常,从而可高效的实现自动化连续测试。
结合第一方面实施例的一种可能的实施方式,所述测试工具,还用于在向所述虚拟设备发送所述切换手动信号之后,向所述虚拟设备发送模拟现场人工干预动作的切换自动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的切换自动信号时,控制所述虚拟设备从手动模式切换到自动模式。
本申请实施例中,在向虚拟设备发送切换手动信号之后,再向虚拟设备发送模拟现场人工干预动作的切换自动信号,使虚拟设备从手动模式切换到自动模式,以便于后续控制虚拟设备自动按照生成流程正常运转。
结合第一方面实施例的一种可能的实施方式,所述PLC测试系统还包括显示模块;所述显示模块,用于显示所述虚拟设备的运行状态,和/或,显示所述PLC设备在执行预设故障处理逻辑时发送的报警信息。
本申请实施例中,通过显示模块显示虚拟设备的运行状态,使得整个测试过程中,虚拟设备的运行全程可见;和/或,显示PLC设备在执行预设故障处理逻辑时发送的报警信息,一方面便于工作人员更直观以及便捷的了解测试的效果,另一方面,通过显示的报警信息,工作人员可以人为主观判断PLC设备的故障处理逻辑是否正常。
结合第一方面实施例的一种可能的实施方式,所述虚拟设备和所述测试工具部署于工控机上,所述工控机、所述PLC设备均包括所述显示模块。
本申请实施例中,将虚拟设备和测试工具部署于同一个工控机上,更利于测试工具与虚拟设备之间的信号交互,同时,采用包含显示模块的PLC设备和工控机,使得可以同时显示虚拟设备的运行状态和PLC设备在执行预设故障处理逻辑时发送的报警信息。
结合第一方面实施例的一种可能的实施方式,所述虚拟设备和所述测试工具部署于工控机上,所述PLC设备和所述工控机均与所述显示模块连接。
本申请实施例中,将虚拟设备和测试工具部署于同一个工控机上,更利于测试工具与虚拟设备之间的信号交互,同时,采用PLC设备和工控机均与显示模块连接的方式,使得即便PLC设备和工控机不包含显示屏时,也可以实现显示虚拟设备的运行状态和PLC设备在执行预设故障处理逻辑时发送的报警信息。
结合第一方面实施例的一种可能的实施方式,所述虚拟设备和所述测试工具部署于工控机上。
本申请实施例中,将虚拟设备和测试工具部署于同一个工控机上,更利于测试工具与虚拟设备之间的信号交互。
结合第一方面实施例的一种可能的实施方式,所述虚拟设备和所述测试工具部署于工控机上,所述工控机包括所述PLC设备。
本申请实施例中,将虚拟设备和测试工具部署于同一个工控机上,更利于测试工具与虚拟设备之间的信号交互,同时,通过将虚拟设备和测试工具部署于工控机上,将PLC设备设置为工控机的一部分,使得通过一个工控机便可完成对PLC的故障处理逻辑的测试,极大的简化了完成测试所需的硬件资源。
结合第一方面实施例的一种可能的实施方式,所述预设测试用例基于历史故障数据生成,并可持续更新。
本申请实施例中,将过往设备上真实发生过的故障转化成测试用例,并持续更新,以提升测试故障覆盖率。
第二方面,本申请实施例还提供了一种PLC测试方法,包括:测试工具启动预设测试用例向模拟现场真实设备的虚拟设备注入故障;PLC设备在接收到所述虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,所述预设故障处理逻辑包括向所述虚拟设备发送报警信息;所述测试工具通过检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期,测试所述PLC设备的故障处理逻辑是否正常。
结合第二方面实施例的一种可能的实施方式,在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,所述方法还包括:所述测试工具向所述虚拟设备发送模拟现场人工干预动作的切换手动信号;所述PLC设备在接收到所述虚拟设备转发的切换手动信号时,控制所述虚拟设备切换到手动模式。
结合第二方面实施例的一种可能的实施方式,在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,所述方法还包括:所述测试工具向所述虚拟设备发送模拟现场人工干预动作的短复位信号;所述PLC设备在接收到所述虚拟设备转发的短复位信号时,复位清除所述预设故障处理逻辑,并控制所述虚拟设备清除所述报警信息。
结合第二方面实施例的一种可能的实施方式,所述方法还包括:所述测试工具在检测到所述虚拟设备清除所述报警信息时,向所述虚拟设备发送模拟现场人工干预动作的启动信号;所述PLC设备在接收到所述虚拟设备转发的启动信号时,按照预设的自动化生产流程控制所述虚拟设备正常运转。
结合第二方面实施例的一种可能的实施方式,所述方法还包括:所述测试工具在检测到所述虚拟设备恢复正常运转时,启动新的预设测试用例向所述虚拟设备注入新故障,以继续测试所述PLC设备的其余故障处理逻辑是否正常。
结合第二方面实施例的一种可能的实施方式,在向所述虚拟设备发送所述切换手动信号之后,所述方法还包括:所述测试工具向所述虚拟设备发送模拟现场人工干预动作的切换自动信号;所述PLC设备在接收到所述虚拟设备转发的切换自动信号时,控制所述虚拟设备从手动模式切换到自动模式。
其中,第二方面以及第二方面的各个实施方式所能实现的技术效果,参照第一方面中对应的技术效果,此处不重复说明。
本申请的其他特征和优点将在随后的说明书阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例而了解。本申请的目的和其他优点可通过在所写的说明书以及附图中所特别指出的结构来实现和获得。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。通过附图所示,本申请的上述及其它目的、特征和优势将更加清晰。在全部附图中相同的附图标记指示相同的部分。并未刻意按实际尺寸等比例缩放绘制附图,重点在于示出本申请的主旨。
图1示出了本申请实施例提供的一种PLC测试系统的模块示意图。
图2示出了本申请实施例提供的一种PLC测试系统的测试原理示意图。
图3示出了本申请实施例提供的一种PLC测试系统所涉及的硬件结构示意图。
图4示出了本申请实施例提供的一种PLC测试方法的流程示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中诸如“第一”、“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
在本申请实施例的描述中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,在本申请实施例的描述中,术语“多个”指的是两个以上(包括两个)。
鉴于当前测试方法,通过基于TCL脚本构建PLC(Programmable Logic Controller,可编程逻辑控制器)外围设备等效器来替代PLC的真实外围环境,虽然简化了真实环境的复杂度和测试步骤的繁琐,但是同时也一并简化掉了外部设备的运动机构,导致PLC对外部设备的运动控制不闭环,进而导致测试可靠性不高的问题。
经过申请人的仔细思考,如果PLC对外部设备的运动控制是闭环的,那么便可提高测试可靠性,因此,为解决上述技术问题,本申请提供了一种全新的PLC测试系统及方法,通过采用虚拟设备(为运行在工控机上的工艺仿真(Process Simulate,PS)软件)来模拟现场真实设备,以便在模拟现场故障时能产生对应的故障信号并发给PLC设备,使得PLC设备执行对应的故障处理逻辑,从而达到闭环的测试PLC设备的故障处理逻辑的效果,以此解决现有测试方法存在的可靠性不高的问题。
本申请所提供的技术方案可以应用于任一由PLC控制的自动化控制系统或智能设备中,具有普适性。为了更好的理解,下面结合图1所示的PLC测试系统进行说明。该PLC测试系统包括:模拟现场真实设备的虚拟设备(PS)、测试工具(如Ignition工具)和PLC设备。
本申请中的虚拟设备为模拟现场真实设备的3D数模,与现场真实设备具有相同功能,其包含运动机构和逻辑块,能够根据PLC的控制信号执行相关动作,并反馈执行结果给PLC设备,以及在接收到故障注入时能够模拟故障产生对应的故障信号,并发给PLC设备。
例如,在锂电池后工序装配阶段,涉及到的生产设备主要包含:极耳-转接片超声波焊接设备、转接片-顶盖激光焊接设备、包Mylar设备、顶盖-外壳激光焊接设备、气密性氦检设备等,这些设备在PLC设备的控制下,相互配合,最终完成对锂电池的装配。可以通过3D建模技术来构建与这些真实设备具有相同功能的仿真软件,以此来模拟这些真实设备的运行。应当理解的是,不同应用场景下的现场真实设备不同,对应的虚拟设备也不同,从而执行的逻辑也不同。
其中,极耳-转接片超声波焊接设备用于将极耳和转接片焊接在一起。转接片-顶盖激光焊 接设备用于将转接片和顶盖焊接在一起。包Mylar设备用于覆膜。顶盖-外壳激光焊接设备用于将顶盖和外壳焊接在一起。气密性氦检设备用于检测锂电池后的气密性。
由于PLC设备具备良好的可编程性,被广泛应用于各种自动化控制系统中,是一种专门为在工业环境下应用而设计的数字运算操作电子系统。PLC设备会按照预设的自动化生产流程控制各种类型的机械设备或生产过程。PLC设备的功能及性能关系着自动控制的正确性以及稳定性,因此,需要对PLC设备的功能及性能进行测试,例如,需要对PLC设备的故障处理逻辑进行测试。
在对PLC设备进行测试时,可以利用测试工具启动预设测试用例向虚拟设备注入故障,以便虚拟设备根据注入的故障模拟现场故障产生故障信号,并将产生的故障信号发送给PLC设备。PLC设备在接收到虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,该预设故障处理逻辑包括向虚拟设备发送报警信息。通过利用测试工具检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期,来测试PLC设备的故障处理逻辑是否正常。其中,若检测到虚拟设备转发的报警信息符合预设测试用例注入故障的预期,则对应的PLC设备的故障处理逻辑正常。
作为对PLC设备进行测试的测试工具如Ignition工具,主要用于启动预设测试用例向虚拟设备注入故障,以便虚拟设备根据注入的故障模拟现场故障产生故障信号,并将产生的故障信号发送给PLC设备。测试工具还用于通过检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期,测试PLC设备的故障处理逻辑是否正常。
测试工具在启动预设测试用例向虚拟设备注入故障时,一种实施方式下,测试工具判断是否符合故障注入测试启动条件,在符合故障注入测试启动条件时,启动预设测试用例向虚拟设备注入故障。在即将要测试时,会先启动PLC设备,PLC设备按照预设的自动化生产流程控制虚拟设备正常运转,此时,虚拟设备中的三色灯为绿色,代表虚拟设备处于正常运行状态,测试工具监控到虚拟设备的三色灯为绿色,判定满足故障注入测试启动条件,启动预设测试用例如预设测试用例1,向虚拟设备注入故障1。
测试用例用于向虚拟设备注入故障,由于PLC设备所控制的自动化控制系统在自动生产过程中会执行各种动作,可能会出现各种故障,相应地,会涉及各种测试用例。预设测试用例与注入的故障一一对应,不同的预设测试用例注入的故障不同,从而模拟的现场故障也不同。例如,测试用例1对应故障1、测试用例2对应故障2、测试用例3对应故障3……。
本申请实施例中,预设测试用例基于历史故障数据生成,也即预设测试用例基于PLC设备所控制的设备真实发生过的故障生成。为了能提升测试故障覆盖率,该预设测试用例可以持续更新,以此覆盖过往设备上真实发生过的所有故障。由于现场设备在运营维护阶段,除了会发生设计阶段考虑到的故障外,还会发生超出设计考虑以外的故障,而且随设备生命周期持续积累,将这些持续积累的故障转化成测试用例,用于持续提升故障覆盖率。
上述的预设测试用例可以以文件形式导入,如以excel格式的文件导入工控机,运行在工控机上的测试工具,可以根据用户的配置启动相应测试用例向虚拟设备注入故障,以测试PLC的故障处理逻辑是否正常。
由于PLC设备所控制的自动化控制系统在自动生产过程中会执行各种动作,可能会出现各种故障,不同的故障对应PLC设备的故障处理逻辑可能不同,因此需要逐一对PLC设备的不同故障处理逻辑进行测试。
为了能加快测试效率,可选地,测试工具还用于:在通过检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期之后,如在检测到虚拟设备转发的报警信息符合预设测试用例注入故障的预期时,向虚拟设备发送模拟现场人工干预动作的短复位信号,该短复位信号用于PLC设备复位清除预设故障处理逻辑。相应地,PLC设备还用于在接收到虚拟设备转发的短复位信号时,复位清除预设故障处理逻辑,并控制虚拟设备清除报警信息。
当然,可以理解的是,即便是检测到虚拟设备转发的报警信息不符合预设测试用例注入故障的预期,也可以向虚拟设备发送模拟现场人工干预动作的短复位信号,因此,不能将上述示例中的“测试工具在检测到虚拟设备转发的报警信息符合预设测试用例注入故障的预期时,向虚拟设备 发送模拟现场人工干预动作的短复位信号”的情形,理解成是对本申请的限制。
测试工具还用于在检测到虚拟设备清除报警信息时,向虚拟设备发送模拟现场人工干预动作的启动信号。相应地,PLC设备还用于在接收到虚拟设备转发的启动信号时,按照预设的自动化生产流程控制虚拟设备正常运转。
测试工具还用于在检测到虚拟设备恢复正常运转时,启动新的预设测试用例向虚拟设备注入新故障,以继续测试PLC的其余故障处理逻辑是否正常,例如,测试工具启动预设测试用例2向虚拟设备注入故障2;PLC设备用于在接收到虚拟设备根据注入的故障2模拟现场故障产生的故障信号2时,执行预设故障处理逻辑2,预设故障处理逻辑2包括向虚拟设备发送报警信息2,测试工具还用于通过检测虚拟设备转发的报警信息2是否符合预设测试用例注入故障2的预期,测试PLC设备的故障处理逻辑2是否正常。
一种可选实施方式下,测试工具在检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期之后,如在检测到虚拟设备转发的报警信息符合预设测试用例注入故障的预期时,还会向虚拟设备发送模拟现场人工干预动作的切换手动信号;相应地,PLC设备还用于在接收到虚拟设备转发的切换手动信号时,控制虚拟设备切换到手动模式。可以理解的是,测试工具即便在检测到虚拟设备转发的报警信息不符合预设测试用例注入故障的预期时,也可以向虚拟设备发送模拟现场人工干预动作的切换手动信号。
测试工具还用于在向虚拟设备发送切换手动信号之后,向虚拟设备发送模拟现场人工干预动作的切换自动信号;相应地,PLC设备还用于在接收到虚拟设备转发的切换自动信号时,控制虚拟设备从手动模式切换到自动模式。
其中,通常自动化控制系统中的智能设备的运行模式包括手动模式和自动模式。在手动模式下,虚拟设备停止自动运行,需要人工手动触发设备上的按钮,设备才能执行相应操作。当设备处于自动模式下,设备可根据PLC设备的控制自动执行相应操作。通过将虚拟设备切换到手动模式,避免虚拟设备继续自动运行而出错。此外,在自动模式下,有可能无法进行人工干预,此时,若要想进行人工干预如进行短复位,需要将设备切换到手动模式,之后再对设备进行短复位,这样才能清除所有的报警信息。
因此,为实现自动化连续测试,一种可选实施方式下,可以是测试工具在检测到虚拟设备转发的报警信息符合预设测试用例注入故障的预期时,向虚拟设备发送模拟现场人工干预动作的切换手动信号,以便PLC设备在接收到虚拟设备转发的切换手动信号时,控制虚拟设备切换到手动模式。之后,测试工具向虚拟设备发送模拟现场人工干预动作的短复位信号,以便PLC设备在接收到虚拟设备转发的短复位信号时,复位清除预设故障处理逻辑,并控制虚拟设备清除报警信息。之后,测试工具在检测到虚拟设备清除报警信息时,向虚拟设备发送模拟现场人工干预动作的切换自动信号,以便PLC设备在接收到虚拟设备转发的切换自动信号时,控制虚拟设备从手动模式切换到自动模式。之后,测试工具向虚拟设备发送模拟现场人工干预动作的启动信号,以便在接收到虚拟设备转发的启动信号时,按照预设的自动化生产流程控制虚拟设备正常运转。之后,测试工具在检测到虚拟设备恢复正常运转时,启动新的预设测试用例向虚拟设备注入新故障,以继续测试PLC设备的其余故障处理逻辑是否正常。
为了更好的理解,本申请实施例所示的PLC测试系统的测试原理,下面结合图2所示的原理示意图进行说明。
在开始时,PLC设备运行自动逻辑,按照预设的自动化生产流程控制虚拟设备正常运转,此时,虚拟设备中的三色灯为绿色,代表虚拟设备处于正常运行状态。测试工具通过监控虚拟设备的三色灯颜色来判定是否满足故障注入测试启动条件,若监控到虚拟设备的三色灯为绿色,判定满足故障注入测试启动条件。
测试工具判定满足故障注入测试启动条件,启动预设测试用例如预设测试用例1,向虚拟设备注入故障1;虚拟设备根据注入的故障模拟现场故障产生故障信号,并将产生的故障信号发送给PLC设备。PLC设备在接收到虚拟设备反馈的故障信号后,执行预设故障处理逻辑1,其中包括向虚拟设备发送报警信息1,并控制虚拟设备的三色灯变为红色。虚拟设备将该报警信息1发送给 测试工具。测试工具监控到报警信息1,检测虚拟设备转发的报警信息1是否符合预设测试用例1注入故障1的预期,以此来测试PLC设备的故障处理逻辑1是否正常。
为了达到自动化持续测试,测试工具在检测虚拟设备转发的报警信息1是否符合预设测试用例1注入故障1的预期之后,执行延时清除报警逻辑,如向虚拟设备发送模拟现场人工干预动作的切换手动信号以及短复位信号。虚拟设备将该切换手动信号以及短复位信号发送给PLC设备,PLC设备在接收到切换手动信号时,控制虚拟设备切换到手动模式,以及在接收到短复位信号时,控制复位清除预设故障处理逻辑1,并控制虚拟设备清除报警信息1,此时,虚拟设备的三色灯为黄色。
测试工具在检测到虚拟设备清除报警信息1时,向虚拟设备发送模拟现场人工干预动作的切换自动信号和启动信号。虚拟设备将切换自动信号和启动信号发送给PLC设备,PLC设备在接收到切换自动信号时,控制虚拟设备切换到自动模式,以及在接收到启动信号时,运行自动逻辑按照预设的自动化生产流程控制虚拟设备正常运转,此时,虚拟设备的三色灯恢复为绿色。测试工具监控到虚拟设备的三色灯为绿色,判定预设测试用例1通过,并准备启动下一个预设测试用例,如预设测试用例2,向虚拟设备注入新故障2,以继续测试PLC设备的其余故障处理逻辑是否正常。
一种实施方式下,上述的虚拟设备以及测试工具可以均部署在同一个工控机上,以便于测试工具与虚拟设备之间的信号交互。
一种实施方式下,该PLC测试系统可以仅包括工控机,此时,工控机上部署有上述的虚拟设备和测试工具,该工控机包括上述的PLC设备,在该实施方式下,PLC设备为工控机的一部分。
一种实施方式下,该PLC测试系统可以仅包括工控机和PLC设备,此时,PLC设备与工控机电连接,为彼此独立的设备。工控机上部署有上述的虚拟设备和测试工具。此时,工控机和PLC设备可以均不包含显示模块。
为了让整个测试过程直观可见,该PLC测试系统还包括显示模块。显示模块用于显示虚拟设备的运行状态,使得整个测试过程中,虚拟设备的运行全程可见;和/或,显示PLC设备在执行预设故障处理逻辑时发送的报警信息,根据显示的报警信息可以人为主观判断PLC设备的故障处理逻辑是否正常。
一种可选实施方式下,工控机、PLC设备均包括显示模块。此时,该PLC测试系统包括工控机和PLC设备,PLC设备与工控机电连接。工控机上的显示模块用于显示虚拟设备的运行状态,以及测试工具的测试界面。PLC设备上的显示模块,可以用于显示PLC在执行预设故障处理逻辑时发送的报警信息。
一种可选实施方式下,PLC测试系统可以包括工控机、PLC设备和显示模块,工控机、PLC设备与显示模块电连接,三者彼此为相互独立的设备。在该种实施方式下,显示模块的数量可以是2个,如工控机与其中一个显示模块电连接,PLC设备与另外一个显示模块电连接。此时,该PLC测试系统的硬件连接原理图如图3所示。
在PLC设备包括显示模块或PLC测试系统还包括与PLC设备电连接的显示模块时,预设故障处理逻辑还包括控制显示模块显示PLC设备在执行预设故障处理逻辑时发送的报警信息等。
基于同样的发明构思,本申请实施例还提供了一种PLC测试方法,该PLC测试方法的原理及产生的技术效果与前述PLC测试系统实现原理及产生的技术效果相同。下面将结合图4,对本申请实施例提供的PLC测试方法进行说明。
S1:测试工具启动预设测试用例向模拟现场真实设备的虚拟设备注入故障。
一种可选实施方式下,可以是测试工具在判断符合故障注入测试启动条件时,如测试工具在监控到虚拟设备的三色灯为绿色时,启动预设测试用例如预设测试用例1,向虚拟设备注入故障1。
S2:PLC设备在接收到虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,预设故障处理逻辑包括向虚拟设备发送报警信息。
S3:测试工具通过检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期,测试PLC设备的故障处理逻辑是否正常。
可选地,在检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期之后,方法还包括:测试工具向虚拟设备发送模拟现场人工干预动作的切换手动信号;PLC设备在接收到虚拟设备转发的切换手动信号时,控制虚拟设备切换到手动模式。
在向虚拟设备发送切换手动信号之后,方法还包括:测试工具向虚拟设备发送模拟现场人工干预动作的切换自动信号;PLC设备在接收到虚拟设备转发的切换自动信号时,控制虚拟设备从手动模式切换到自动模式。
可选地,在检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期之后,方法还包括:测试工具向虚拟设备发送模拟现场人工干预动作的短复位信号;PLC设备在接收到虚拟设备转发的短复位信号时,复位清除预设故障处理逻辑,并控制虚拟设备清除报警信息。
方法还包括:测试工具在检测到虚拟设备清除报警信息时,向虚拟设备发送模拟现场人工干预动作的启动信号;PLC设备在接收到虚拟设备转发的启动信号时,按照预设的自动化生产流程控制虚拟设备正常运转。
方法还包括:测试工具在检测到虚拟设备恢复正常运转时,启动新的预设测试用例向虚拟设备注入新故障,以继续测试PLC设备的其余故障处理逻辑是否正常。
例如,一种可选实施方式下,在检测虚拟设备转发的报警信息是否符合预设测试用例注入故障的预期之后,方法还包括:
测试工具向虚拟设备发送模拟现场人工干预动作的切换手动信号;PLC设备在接收到虚拟设备转发的切换手动信号时,控制虚拟设备切换到手动模式;之后,测试工具向虚拟设备发送模拟现场人工干预动作的短复位信号;PLC设备在接收到虚拟设备转发的短复位信号时,复位清除预设故障处理逻辑,并控制虚拟设备清除报警信息;之后,测试工具在检测到虚拟设备清除报警信息时,向虚拟设备发送模拟现场人工干预动作的切换自动信号;PLC设备在接收到虚拟设备转发的切换自动信号时,控制虚拟设备从手动模式切换到自动模式;之后,测试工具向虚拟设备发送模拟现场人工干预动作的启动信号;在接收到虚拟设备转发的启动信号时,按照预设的自动化生产流程控制虚拟设备正常运转;之后,测试工具在检测到虚拟设备恢复正常运转时,启动新的预设测试用例向虚拟设备注入新故障,以继续测试PLC设备的其余故障处理逻辑是否正常。
本申请实施例所提供的PLC测试方法,其实现原理及产生的技术效果和前述PLC测试系统实施例相同,为简要描述,方法实施例部分未提及之处,可参考前述PLC测试系统实施例中相应内容。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
在本申请所提供的几个实施例中,应该理解到,所揭露的方法,也可以通过其它的方式实现。以上所描述的实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的多个实施例的方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。
Claims (13)
- 一种PLC测试系统,其特征在于,包括:模拟现场真实设备的虚拟设备;测试工具,用于启动预设测试用例向所述虚拟设备注入故障;PLC设备,用于在接收到所述虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,所述预设故障处理逻辑包括向所述虚拟设备发送报警信息;所述测试工具,还用于通过检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期,测试所述PLC设备的故障处理逻辑是否正常。
- 根据权利要求1所述的PLC测试系统,其特征在于,所述测试工具,还用于在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,向所述虚拟设备发送模拟现场人工干预动作的切换手动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的切换手动信号时,控制所述虚拟设备切换到手动模式。
- 根据权利要求1所述的PLC测试系统,其特征在于,所述测试工具,还用于在检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期之后,向所述虚拟设备发送模拟现场人工干预动作的短复位信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的短复位信号时,复位清除所述预设故障处理逻辑,并控制所述虚拟设备清除所述报警信息。
- 根据权利要求3所述的PLC测试系统,其特征在于,所述测试工具,还用于在检测到所述虚拟设备清除所述报警信息时,向所述虚拟设备发送模拟现场人工干预动作的启动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的启动信号时,按照预设的自动化生产流程控制所述虚拟设备正常运转。
- 根据权利要求4所述的PLC测试系统,其特征在于,所述测试工具,还用于在检测到所述虚拟设备恢复正常运转时,启动新的预设测试用例向所述虚拟设备注入新故障,以继续测试所述PLC设备的其余故障处理逻辑是否正常。
- 根据权利要求2所述的PLC测试系统,其特征在于,所述测试工具,还用于在向所述虚拟设备发送所述切换手动信号之后,向所述虚拟设备发送模拟现场人工干预动作的切换自动信号;相应地,所述PLC设备,还用于在接收到所述虚拟设备转发的切换自动信号时,控制所述虚拟设备从手动模式切换到自动模式。
- 根据权利要求1-6任一项所述的PLC测试系统,其特征在于,所述PLC测试系统还包括显示模块;所述显示模块,用于显示所述虚拟设备的运行状态,和/或,显示所述PLC设备在执行预设故障处理逻辑时发送的报警信息。
- 根据权利要求7所述的PLC测试系统,其特征在于,所述虚拟设备和所述测试工具部署于工控机上,所述工控机、所述PLC设备均包括所述显示模块。
- 根据权利要求7所述的PLC测试系统,其特征在于,所述虚拟设备和所述测试工具部署于工控机上,所述PLC设备和所述工控机均与所述显示模块连接。
- 根据权利要求1-6任一项所述的PLC测试系统,其特征在于,所述虚拟设备和所述测试工具部署于工控机上。
- 根据权利要求9所述的PLC测试系统,其特征在于,所述虚拟设备和所述测试工具部署于工控机上,所述工控机包括所述PLC设备。
- 根据权利要求1-6任一项所述的PLC测试系统,其特征在于,所述预设测试用例基于历史故障数据生成,并可持续更新。
- 一种PLC测试方法,其特征在于,包括:测试工具启动预设测试用例向模拟现场真实设备的虚拟设备注入故障;PLC设备在接收到所述虚拟设备根据注入的故障模拟现场故障产生的故障信号时,执行预设故障处理逻辑,所述预设故障处理逻辑包括向所述虚拟设备发送报警信息;所述测试工具通过检测所述虚拟设备转发的报警信息是否符合所述预设测试用例注入故障的预期,测试所述PLC设备的故障处理逻辑是否正常。
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202280006560.0A CN117178236A (zh) | 2022-04-02 | 2022-04-02 | 一种plc测试系统及方法 |
| PCT/CN2022/085161 WO2023184554A1 (zh) | 2022-04-02 | 2022-04-02 | 一种plc测试系统及方法 |
| EP22899599.9A EP4280069B1 (en) | 2022-04-02 | 2022-04-02 | Plc testing system and method |
| ES22899599T ES3049001T3 (en) | 2022-04-02 | 2022-04-02 | Plc testing system and method |
| US18/301,808 US20230315617A1 (en) | 2022-04-02 | 2023-04-17 | Plc testing system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/085161 WO2023184554A1 (zh) | 2022-04-02 | 2022-04-02 | 一种plc测试系统及方法 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/301,808 Continuation US20230315617A1 (en) | 2022-04-02 | 2023-04-17 | Plc testing system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023184554A1 true WO2023184554A1 (zh) | 2023-10-05 |
Family
ID=88194426
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/085161 Ceased WO2023184554A1 (zh) | 2022-04-02 | 2022-04-02 | 一种plc测试系统及方法 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20230315617A1 (zh) |
| EP (1) | EP4280069B1 (zh) |
| CN (1) | CN117178236A (zh) |
| ES (1) | ES3049001T3 (zh) |
| WO (1) | WO2023184554A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024065350A1 (zh) * | 2022-09-29 | 2024-04-04 | 宁德时代新能源科技股份有限公司 | 一种测试控制软件的方法、装置和计算机可读存储介质 |
| CN118210297B (zh) * | 2024-03-25 | 2025-11-25 | 中国人民解放军63921部队 | 一种plc控制系统性能测试方法 |
| CN121325648A (zh) * | 2025-12-18 | 2026-01-13 | 宁德时代新能源科技股份有限公司 | 仿真系统及基于仿真系统的测试方法、装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102495580A (zh) * | 2011-11-25 | 2012-06-13 | 中国一冶集团有限公司 | 施工现场plc调试模拟装置及其模拟方法 |
| CN104765279A (zh) * | 2014-01-07 | 2015-07-08 | 基伊埃冷冻技术(苏州)有限公司 | 工业制冷机组仿真测试系统及应用其的测试方法 |
| CN105426302A (zh) * | 2015-10-30 | 2016-03-23 | 北京航天自动控制研究所 | 一种基于tcl脚本构建plc外围设备等效器的方法与装置 |
| EP3273315A1 (de) * | 2016-07-19 | 2018-01-24 | ABB Schweiz AG | Plattform zur weiternutzung bestehender software für die ansteuerung industrieller feldgeräte |
| CN110083074A (zh) * | 2019-04-23 | 2019-08-02 | 珠海汉迪自动化设备有限公司 | 虚拟实体调试方法、实体调试装置及计算机可读存储介质 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001053841A1 (en) * | 2000-01-24 | 2001-07-26 | Fluor Corporation | Control system simulation, testing, and operator training |
| JP5962088B2 (ja) * | 2012-03-15 | 2016-08-03 | オムロン株式会社 | Plcシミュレーションシステム、plcシミュレータ、制御プログラム、および記録媒体 |
| EP3742313A1 (en) * | 2019-05-24 | 2020-11-25 | Siemens Aktiengesellschaft | Method and system for provisioning simulation model generation in a cloud computing environment |
-
2022
- 2022-04-02 ES ES22899599T patent/ES3049001T3/es active Active
- 2022-04-02 EP EP22899599.9A patent/EP4280069B1/en active Active
- 2022-04-02 CN CN202280006560.0A patent/CN117178236A/zh active Pending
- 2022-04-02 WO PCT/CN2022/085161 patent/WO2023184554A1/zh not_active Ceased
-
2023
- 2023-04-17 US US18/301,808 patent/US20230315617A1/en not_active Abandoned
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102495580A (zh) * | 2011-11-25 | 2012-06-13 | 中国一冶集团有限公司 | 施工现场plc调试模拟装置及其模拟方法 |
| CN104765279A (zh) * | 2014-01-07 | 2015-07-08 | 基伊埃冷冻技术(苏州)有限公司 | 工业制冷机组仿真测试系统及应用其的测试方法 |
| CN105426302A (zh) * | 2015-10-30 | 2016-03-23 | 北京航天自动控制研究所 | 一种基于tcl脚本构建plc外围设备等效器的方法与装置 |
| EP3273315A1 (de) * | 2016-07-19 | 2018-01-24 | ABB Schweiz AG | Plattform zur weiternutzung bestehender software für die ansteuerung industrieller feldgeräte |
| CN110083074A (zh) * | 2019-04-23 | 2019-08-02 | 珠海汉迪自动化设备有限公司 | 虚拟实体调试方法、实体调试装置及计算机可读存储介质 |
Non-Patent Citations (2)
| Title |
|---|
| See also references of EP4280069A4 * |
| ZHANG GUANGHONG, SUWEN SHI: "Development of Virtual Device based on PLC and Configuration Software", MODULAR MACHINE TOOL & AUTOMATIC MANUFACTURING TECHNIQUE, 20 September 2009 (2009-09-20), pages 29 - 32, XP093076645, ISSN: 1001-2265 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20230315617A1 (en) | 2023-10-05 |
| EP4280069C0 (en) | 2025-08-06 |
| EP4280069A4 (en) | 2024-04-24 |
| EP4280069B1 (en) | 2025-08-06 |
| ES3049001T3 (en) | 2025-12-12 |
| EP4280069A1 (en) | 2023-11-22 |
| CN117178236A (zh) | 2023-12-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023184554A1 (zh) | 一种plc测试系统及方法 | |
| KR101136408B1 (ko) | 신뢰성 있는 cps 개발을 위한 cps 시뮬레이터, 이를 이용한 cps 시뮬레이션 시스템 및 방법 | |
| CN102323502A (zh) | 用于继电保护的在线闭环测试系统及其测试方法 | |
| CN117277552A (zh) | 一种智能电网一键顺控校核系统及方法 | |
| CN116893624A (zh) | 一种生产线安全级控制系统运维仿真机及仿真方法 | |
| CN110968517B (zh) | 自动测试方法、装置、平台和计算机可读存储介质 | |
| CN105179156A (zh) | 抽水蓄能机组控制程序离线测试系统及方法 | |
| CN118915487A (zh) | 一种轨道交通车辆巡检机器人虚拟仿真系统 | |
| CN118938791A (zh) | 基于仓储物流产线的plc虚拟调试方法和系统 | |
| CN104765279A (zh) | 工业制冷机组仿真测试系统及应用其的测试方法 | |
| CN110853450B (zh) | 工业机器人实训平台及故障诊断方法 | |
| CN114826954A (zh) | 一种车载以太网监测系统以及监测方法 | |
| CN210199577U (zh) | 一种发动机控制器测试用故障注入模块及系统 | |
| CN204961152U (zh) | 抽水蓄能机组控制程序离线测试系统 | |
| JP2012248055A (ja) | シミュレーション装置及びシミュレーション方法 | |
| US12072787B2 (en) | Method and apparatus for testing control software by injecting fault signals into a simulation environment, and computer-readable storage medium | |
| CN112988533A (zh) | 安全保护测试系统及方法 | |
| CN110471397A (zh) | 一种抽水储能机组控制流程的仿真测试系统及方法 | |
| CN111708316A (zh) | 一种plc工业自动化控制系统 | |
| JP5212508B2 (ja) | デバッグ装置 | |
| JP4676900B2 (ja) | 分散制御システム用シミュレータ | |
| CN116224924A (zh) | 一种核电dcs教控指令与状态交互方法 | |
| CN221992742U (zh) | 一种测试系统 | |
| CN113740631B (zh) | 联锁测试系统及方法 | |
| CN113867312B (zh) | 采集驱动控制模块检测系统及方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2022899599 Country of ref document: EP Effective date: 20230712 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWG | Wipo information: grant in national office |
Ref document number: 2022899599 Country of ref document: EP |