Unlock instant, AI-driven research and patent intelligence for your innovation.

Hierarchical modeling of PLC and test method using hierarchical modeling of PLC

A test method and hierarchical technology, applied in the field of hierarchical modeling method and hierarchical model of PLC software testing, can solve the problems of lack of universality and failure to realize fault injection, etc., and achieve the effect of good versatility

Inactive Publication Date: 2016-01-20
BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this test environment is not universal and cannot implement fault injection

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hierarchical modeling of PLC and test method using hierarchical modeling of PLC
  • Hierarchical modeling of PLC and test method using hierarchical modeling of PLC
  • Hierarchical modeling of PLC and test method using hierarchical modeling of PLC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The description of the exemplary embodiments is for the purpose of illustration only, and in no way limits the invention and its application or usage.

[0032] In the prior art, when testing the PLC to be tested, the host computer software simulates the external input signal of the PLC to be tested for one-to-one testing of the PLC to be tested. Fault injection. The present invention pre-establishes the PLC model library and the test resource library, obtains the corresponding PLC model from the PLC model library according to the parameter information of the PLC to be tested, and obtains the test resources corresponding to the PLC to be tested according to the PLC model, thereby being able to target different The PLC to be tested is tested.

[0033] figure 1 It shows the flow chart of the testing method of PLC hierarchical modeling according t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses hierarchical modeling of a PLC and a test method using hierarchical modeling of the PLC. The test method comprises the following steps: querying a preset PLC model library according to parameter information of a to-be-tested PLC, so as to obtain a PLC model corresponding to the to-be-tested PLC; based on the PLC model, querying the connected relation between the preset PLC model library and a preset test resource library, so as to determine the test resource corresponding to the to-be-tested PLC; testing the to-be-tested PLC by utilizing the test resource and CIO information in the to-be-tested PLC. According to hierarchical modeling of the PLC and the test method using hierarchical modeling of the PLC, the PLC model library is established, so that the PLC model can be established quickly according to the parameter information of the to-be-tested PLC; besides, the bus address mapping relation and the connected relation are established, so that the test resource library for software testing of the PLC is established, the test resource corresponding to the PLC equipment can be determined according to the established PLC model, different to-be-tested PLCs can be tested, and the universality of the testing environment is good.

Description

technical field [0001] The invention relates to the technical field of PLC software testing, in particular to a hierarchical modeling method and a hierarchical model for PLC software testing. Background technique [0002] The technical background related to the present invention will be described below, but these descriptions do not necessarily constitute the prior art of the present invention. [0003] At present, PLC is used as the control core unit in some industrial factory control systems. Traditional methods generally use unit testers or system experiment environments to complete one-to-one testing of PLCs. This testing method lacks effective general testing methods. In the past, the PLC testing method was based on the hardware-in-the-loop test of the PLC equipment. The host computer software simulates the external input signal of the actual PLC, and the testing process can cover the normal process. However, this test environment is not universal and cannot implement ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 彭亮王丹钱杰丁名晓阳徽
Owner BEIJING AEROSPACE AUTOMATIC CONTROL RES INST