JP2020204847A - Test scenario automatic generation method of control software and device and automatic test method, and device and computer program - Google Patents

Test scenario automatic generation method of control software and device and automatic test method, and device and computer program Download PDF

Info

Publication number
JP2020204847A
JP2020204847A JP2019111586A JP2019111586A JP2020204847A JP 2020204847 A JP2020204847 A JP 2020204847A JP 2019111586 A JP2019111586 A JP 2019111586A JP 2019111586 A JP2019111586 A JP 2019111586A JP 2020204847 A JP2020204847 A JP 2020204847A
Authority
JP
Japan
Prior art keywords
test
test scenario
control software
automatic
scenario
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.)
Granted
Application number
JP2019111586A
Other languages
Japanese (ja)
Other versions
JP7226121B2 (en
Inventor
守樹 佐藤
Moritatsu Sato
守樹 佐藤
林也 佐藤
Rinya Sato
林也 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JFE Engineering Corp
Original Assignee
JFE Engineering Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by JFE Engineering Corp filed Critical JFE Engineering Corp
Priority to JP2019111586A priority Critical patent/JP7226121B2/en
Publication of JP2020204847A publication Critical patent/JP2020204847A/en
Priority to JP2022208766A priority patent/JP7392821B2/en
Application granted granted Critical
Publication of JP7226121B2 publication Critical patent/JP7226121B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To reduce costs by reducing the number of inspection man-hours as well as preventing inspection errors by automating creation of test scenarios and testing (debugging) of control software.SOLUTION: There are provided a test scenario automatic generation method of a control software that automatically generates a test scenario 170 by reading a design document (140, 150, 160), modifies the design document (140, 150, 160) using the error information output during scenario generation, and automatically generates the test scenario 170 again using the modified design document (140, 150, 160), and/or an automatic test method of a control software that debugs the control software by reading the test scenario 170, generates the test result report 180 by the debugging, and debugs the test scenario 170 again by making only the NG items in the test result report 180 as the test scenario 170.SELECTED DRAWING: Figure 10

Description

本発明は、制御用ソフトウェアのテストシナリオ自動生成方法、装置及び自動テスト方法、装置ならびにコンピュータプログラムに係り、特に、ごみ焼却炉等のプラントの中央監視制御装置における画面入出力検査に用いるのに好適な、制御用ソフトウェアのテストシナリオ自動生成方法、装置及び自動テスト方法、装置ならびにコンピュータプログラムに関する。 The present invention relates to a control software test scenario automatic generation method, an apparatus and an automatic test method, an apparatus and a computer program, and is particularly suitable for use in a screen input / output inspection in a central monitoring and control apparatus of a plant such as a waste incinerator. Regarding the control software test scenario automatic generation method, device and automatic test method, device and computer program.

ごみ焼却炉等のプラントにおいては、その中央監視制御装置等の制御用ソフトウェアを、現地に納入する前の工場出荷時に実機試験環境で検査する必要がある。 In a plant such as a waste incinerator, it is necessary to inspect the control software such as the central monitoring and control device in the actual machine test environment at the time of shipment from the factory before delivery to the site.

工場出荷時は、現地機器(センサや制御盤、操作端)や、それらの機器との配線が存在しないため、コントローラ、例えばプログラマブル・ロジック・コントローラ(PLC)の入出力を模擬して検査する。 At the time of shipment from the factory, since there is no local equipment (sensor, control panel, operation end) or wiring with those equipment, the input / output of a controller, for example, a programmable logic controller (PLC) is simulated and inspected.

従来、画面入出力(I/O)検査は、チェックする対象の位置を画面内で特定することの自動化が難しく、人間の判断での特定・良否判定を実施していた。画面I/O検査は製品出荷検査であり、品質担保のため、抜き取り(部分)検査が許されず全数確認となる。そこで従来は、図1に例示する如く、入力作業員2が試験用I/Oリスト4を作成入力し、確認作業員6が確認対象画面8で数値や色の変化をチェックするというように、複数の作業員が1点1点人手による検査を実施しており、時間と人手がかかるだけでなく、人為的なチェックミスのおそれもあった。更に、チェックミスが有った場合の原因追求も大変であった。 Conventionally, in the screen input / output (I / O) inspection, it is difficult to automate the identification of the position of the object to be checked on the screen, and the identification / quality judgment is performed by human judgment. The screen I / O inspection is a product shipment inspection, and because of quality assurance, sampling (partial) inspection is not allowed and 100% confirmation is required. Therefore, conventionally, as illustrated in FIG. 1, the input worker 2 creates and inputs the test I / O list 4, and the confirmation worker 6 checks the numerical value and the color change on the confirmation target screen 8. Multiple workers carry out manual inspections one by one, which not only takes time and manpower, but also has the risk of human error in checking. Furthermore, it was difficult to find the cause when there was a check error.

なお、本願に関連する先行技術として、特許文献1や2には、HMI(Human MachineInterface)画面とPLCとの間の通信インターフェイスに関して、自動で擬似信号や模擬プログラムを生成し、試験する技術が記載されている。 As prior art related to the present application, Patent Documents 1 and 2 describe a technique for automatically generating and testing a pseudo signal or a simulated program for a communication interface between an HMI (Human Machine Interface) screen and a PLC. Has been done.

又、特許文献3には、回路図面からPLC用ラダープログラムを作成する技術が記載されている。 Further, Patent Document 3 describes a technique for creating a ladder program for PLC from a circuit drawing.

又、特許文献4には、プラント監視制御装置におけるPLCの機能確認試験を、音声出力により1人で実施可能にする技術が記載されている。 Further, Patent Document 4 describes a technique for enabling a single person to carry out a PLC function confirmation test in a plant monitoring and control device by voice output.

又、特許文献5には、割り当てられた作業項目に従って、チェックリストを自動的に生成し、表示し、追跡する技術が記載されている。 Further, Patent Document 5 describes a technique for automatically generating, displaying, and tracking a checklist according to assigned work items.

又、特許文献6には、テスト仕様書によりテストコードを作成し、該テストコードを用いてテストすると共に、テストの結果を集計してテスト結果レポートを作成する技術が記載されている。 Further, Patent Document 6 describes a technique of creating a test code according to a test specification, testing using the test code, and totaling the test results to create a test result report.

又、特許文献7には、登録したテスト項目を選択し実行すると共に、テスト終了後、テスト結果を解析してレポートを作成する技術が記載されている。 Further, Patent Document 7 describes a technique of selecting and executing a registered test item, analyzing the test result after the test is completed, and creating a report.

又、特許文献8には、テスト入力を自動的に生成するシミュレーション支援ツールが記載されている。 Further, Patent Document 8 describes a simulation support tool that automatically generates a test input.

又、特許文献9には、画面生成プログラムを記憶する検査対象装置が生成するテスト画面の良否を画像照合により判断するソフトウェア自動テストシステムが記載されている。 Further, Patent Document 9 describes a software automatic test system that determines the quality of a test screen generated by an inspection target device that stores a screen generation program by image collation.

特開2017−129957号公報JP-A-2017-129957 特開2017−130139号公報JP-A-2017-130139 特許第5498446号公報Japanese Patent No. 5498446 特許第3713150号公報Japanese Patent No. 3713150 特開2014−225232号公報Japanese Unexamined Patent Publication No. 2014-225232 特許第4777740号公報Japanese Patent No. 4777740 特開2006−215907号公報Japanese Unexamined Patent Publication No. 2006-215907 特許第4379687号公報Japanese Patent No. 4379687 特許第5540413号公報Japanese Patent No. 5540413

しかしながら従来は、断片的な技術が記載されているだけで、総合的な技術は記載されていなかった。 However, conventionally, only fragmentary techniques have been described, and comprehensive techniques have not been described.

本発明は、前記従来の問題点を解消するべくなされたもので、制御用ソフトウェアのテストシナリオ作成やテスト(デバッグ)を自動化して、検査工数の削減によるコストダウンと検査ミスの防止を図ることが可能な技術を提供することを課題とする。 The present invention has been made to solve the above-mentioned conventional problems, and automates test scenario creation and test (debugging) of control software to reduce inspection man-hours, reduce costs, and prevent inspection errors. The challenge is to provide the technology that enables.

本発明は、設計図書を読込んでテストシナリオを自動生成し、シナリオ生成時に出力されるエラー情報(例えば生成されたテストシナリオを用いて前記設計図書間の不整合をチェックし、チェックの結果出力されるエラー情報)を用いて前記設計図書を修正し、修正した設計図書によりテストシナリオを再び自動生成することを特徴とする制御用ソフトウェアのテストシナリオ自動生成方法により、前記課題を解決するものである。 The present invention reads a design document, automatically generates a test scenario, checks error information output at the time of scenario generation (for example, the generated test scenario is used to check inconsistencies between the design documents, and outputs the result of the check. The problem is solved by the test scenario automatic generation method of the control software, which is characterized in that the design document is modified by using the error information) and the test scenario is automatically generated again by the modified design document. ..

ここで、前記設計図書が画面設計用の設計図書であって、入出力信号を記載した入出力リストと、該入出力リストの入出力信号に対応する座標を示した画面イメージと、前記入出力リスト及び前記画面イメージを補間するソフトウェア機能仕様書とを含み、これらに基づいて前記テストシナリオを自動生成するようにできる。 Here, the design document is a design document for screen design, an input / output list describing input / output signals, a screen image showing coordinates corresponding to the input / output signals of the input / output list, and the input / output. The test scenario can be automatically generated based on the list and the software function specification that interpolates the screen image.

又、前記テストシナリオを用いたテストは、アナログ又はデジタルの入力信号を模擬入力して、表示が適正な表示場所に表示されているか、又は、警報メッセージが正しく表示されているかチェックするものとすることができる。 Further, in the test using the test scenario, an analog or digital input signal is simulated and input to check whether the display is displayed at an appropriate display location or whether the alarm message is displayed correctly. be able to.

又、前記テストシナリオを用いた画面確認に際して、入力の正解画像パターンを作り、前記設計図書から画面のチェックすべき場所を検索してエリアを絞り込み、絞り込んだエリア内で正解画像パターンとチェックすべき場所を画像比較して特定し、特定したチェックすべき場所の色、数値、画像形状の変化を読取って良否判断することができる。 In addition, when checking the screen using the test scenario, the correct image pattern of the input should be created, the place to be checked on the screen should be searched from the design document, the area should be narrowed down, and the correct image pattern should be checked within the narrowed down area. It is possible to identify the location by comparing the images and read the change in the color, numerical value, and image shape of the identified location to be checked to judge the quality.

又、前記テストシナリオを用いた信号出力確認に際して、画面操作スイッチ窓を開き、画面操作を実施して、操作信号が制御装置から正しく出力されているか良否判断することができる。 Further, when confirming the signal output using the test scenario, the screen operation switch window can be opened and the screen operation can be performed to determine whether or not the operation signal is correctly output from the control device.

本発明は、又、テストシナリオを読込んで制御ソフトウェアをデバッグし、該デバッグによりテスト結果レポートを生成し、該テスト結果レポートのNG項目のみをテストシナリオとして前記制御ソフトウェアを再デバッグすることを特徴とする制御用ソフトウェアの自動テスト方法を提供することにより、同様に前記課題を解決するものである。 The present invention is also characterized in that the test scenario is read, the control software is debugged, the test result report is generated by the debugging, and the control software is re-debugged with only the NG item of the test result report as the test scenario. By providing an automatic test method for the control software to be used, the above-mentioned problems are similarly solved.

ここで、前記テストシナリオは前記テストシナリオ自動生成方法により作成されたものとすることができる。 Here, the test scenario can be assumed to have been created by the test scenario automatic generation method.

本発明は、又、設計図書を読込んでテストシナリオを自動生成する手段と、生成されたテストシナリオを用いて前記設計図書間の不整合をチェックする手段と、チェックの結果出力されるエラー情報を用いて前記設計図書を修正するための手段と、修正した設計図書によりテストシナリオを再び自動生成する手段と、を備えたことを特徴とする制御用ソフトウェアのテストシナリオ自動生成装置を提供することにより、同様に前記課題を解決するものである。 The present invention also provides means for reading a design document and automatically generating a test scenario, means for checking inconsistencies between the design documents using the generated test scenario, and error information output as a result of the check. By providing a test scenario automatic generation device for control software, which comprises means for modifying the design document by using the design document and means for automatically generating a test scenario again by the modified design document. Similarly, the above problem is solved.

本発明は、又、テストシナリオを読込んで制御ソフトウェアをデバッグする手段と、該デバッグによりテスト結果レポートを生成する手段と、該テスト結果レポートのNG項目のみをテストシナリオとして前記制御ソフトウェアを再デバッグする手段と、を備えたことを特徴とする制御用ソフトウェアの自動テスト装置を提供することにより、同様に前記課題を解決するものである。 The present invention also re-debugs the control software by using only the means for reading the test scenario and debugging the control software, the means for generating the test result report by the debugging, and the NG item of the test result report as the test scenario. Similarly, the above problem is solved by providing an automatic test device for control software, which comprises means and means.

本発明は、又、前記テストシナリオ自動生成方法、又は、前記自動テスト方法をコンピュータに実行させるためのコンピュータプログラムを提供するものである。 The present invention also provides a method for automatically generating a test scenario or a computer program for causing a computer to execute the automatic test method.

本発明は、又、前記テストシナリオ自動生成装置、又は、前記自動テスト装置をコンピュータに実現させるためのコンピュータプログラムを提供するものである。 The present invention also provides the test scenario automatic generation device or a computer program for realizing the automatic test device in a computer.

本発明によれば、制御用ソフトウェアのテストシナリオ作成やテスト(デバッグ)を自動化して、検査工数の削減によるコストダウンと検査ミスの防止を図ることが可能となる。 According to the present invention, it is possible to automate test scenario creation and test (debugging) of control software to reduce inspection man-hours, reduce costs, and prevent inspection errors.

従来の検査の様子を示す概念図Conceptual diagram showing the state of conventional inspection 本発明の実施形態が採用されたデバック試験対象プラントのシステム構成例を示す図The figure which shows the system configuration example of the debug test target plant which adopted the embodiment of this invention. 前記実施形態におけるデバッグ試験の流れを示す図The figure which shows the flow of the debug test in the said embodiment 同じくデバック試験で用いられる詳細設計図書の一つの入出力リストの例を示す図A diagram showing an example of one input / output list of a detailed design document also used in the debug test. 同じく画面入出力リストの例を示す図Similarly, a diagram showing an example of a screen input / output list. 同じくソフトウェア機能仕様書の例を示す図Similarly, a diagram showing an example of software function specifications. 同じくテストシナリオの例を示す図A diagram also showing an example of a test scenario 同じくテスト結果レポートの例を示す図Similarly, a diagram showing an example of a test result report 同じく試験対象画面の例を示す図Similarly, a diagram showing an example of a test target screen 同じく全体フローを示す図Similarly, a diagram showing the overall flow 同じくアナログ入力/表示をチェックするテストシナリオによる自動デバッグの手順を示す流れ図A flow chart showing the procedure of automatic debugging by the test scenario that also checks the analog input / display. 同じくアナログ入力/警報をチェックするテストシナリオによる自動デバッグの手順を示す流れ図Similarly, a flow chart showing the procedure of automatic debugging by a test scenario that checks analog inputs / alarms. 図12の続きを示す流れ図Flow chart showing the continuation of FIG. 前記実施形態におけるデジタル入力/表示をチェックするテストシナリオによる自動デバッグの手順を示す流れ図Flow diagram showing the procedure of automatic debugging by the test scenario for checking the digital input / display in the above embodiment. 同じくデジタル入力/警報をチェックするテストシナリオによる自動デバッグの手順を示す流れ図A flow chart showing the procedure of automatic debugging by the test scenario that also checks the digital input / alarm. 図15の続きを示す流れ図Flow chart showing the continuation of FIG.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。なお、本発明は以下の実施形態及び実施例に記載した内容により限定されるものではない。また、以下に記載した実施形態及び実施例における構成要件には、当業者が容易に想定できるもの、実質的に同一のもの、いわゆる均等の範囲のものが含まれる。更に、以下に記載した実施形態及び実施例で開示した構成要素は適宜組み合わせてもよいし、適宜選択して用いてもよい。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to the contents described in the following embodiments and examples. In addition, the constituent requirements in the embodiments and examples described below include those that can be easily assumed by those skilled in the art, those that are substantially the same, that is, those in a so-called equal range. Further, the components disclosed in the embodiments and examples described below may be appropriately combined or appropriately selected and used.

本発明が対象とするデバッグ試験対象プラント(例えばごみ焼却炉)のシステム構成の一例を図2に示す。このプラントには、1号焼却炉と2号焼却炉(図示省略)があり、それぞれに制御盤11、12、センサ21、22、操作端31、32、配線ケーブル41、42、プログラマブルロジックコントローラ(PLC)51、52が設けられている。又、1号焼却炉と2号焼却炉の共通系についても制御盤13、センサ23、操作端33、配線ケーブル43、PLC53が設けられている。又、1号焼却炉と2号焼却炉と共通系全体の監視操作システムとして、分散制御システム(DCS)71、72、73、モニタ画面91、92、93が設けられている。 FIG. 2 shows an example of the system configuration of the debug test target plant (for example, a waste incinerator) targeted by the present invention. This plant has a No. 1 incinerator and a No. 2 incinerator (not shown), which are control panels 11, 12, sensors 21, 22, operating ends 31, 32, wiring cables 41, 42, and programmable logic controller (not shown). PLC) 51 and 52 are provided. Further, the control panel 13, the sensor 23, the operation end 33, the wiring cable 43, and the PLC 53 are also provided for the common system of the No. 1 incinerator and the No. 2 incinerator. In addition, distributed control systems (DCS) 71, 72, 73 and monitor screens 91, 92, 93 are provided as a monitoring operation system for the entire system common to the No. 1 incinerator and the No. 2 incinerator.

このうち、工場出荷検査対象100は、PLC51、52、53、DCS71、72、73、モニタ画面91、92、93である。 Of these, the factory shipment inspection targets 100 are PLC51, 52, 53, DCS71, 72, 73, and monitor screens 91, 92, 93.

最終形である現地納入システム200に対し、工場出荷時は現地機器(センサ21、22、23、制御盤11、12、13、操作端31、32、33)や、それら機器との配線ケーブル41、42、43が存在しないため、PLC51、52、53の入出力を模擬して検査する必要がある。図1に例示したように、従来は1点1点人手により検査していたため、入力作業員2と確認作業員6の複数の作業員が必要であり、しかも、人間によるチェックであるため、チェックミスの可能性があった。 For the final local delivery system 200, at the time of shipment from the factory, the local equipment (sensors 21, 22, 23, control panels 11, 12, 13, operation ends 31, 32, 33) and the wiring cable 41 with those equipment , 42 and 43 do not exist, so it is necessary to simulate and inspect the input and output of PLCs 51, 52 and 53. As illustrated in FIG. 1, since the inspection was performed manually one by one in the past, a plurality of workers, an input worker 2 and a confirmation worker 6, are required, and the check is performed by a human. There was a possibility of a mistake.

そこで本実施形態においては、DCS71、72、73にそれぞれ模擬信号生成用のソフトウェアである自動デバッグツール81、82、83を組み込み、通信ケーブルで機器接続して、工場検査システム構成を作る。 Therefore, in the present embodiment, the automatic debugging tools 81, 82, and 83, which are software for generating simulated signals, are incorporated in the DCS 71, 72, and 73, respectively, and the devices are connected with a communication cable to create a factory inspection system configuration.

一方、図3に示す如く、設計者用コンピュータ110に、ソフトウェアのテストシナリオ作成ツール120をインストールし、後で詳述する詳細設計図書140、150、160を自動で読込んで、テストシナリオ170を自動生成する。そして、OK/NG判定結果を示す詳細設計図書エラーレポート122を生成し、設計者がNG箇所を確認して、詳細設計図書140、150、160を修正する。そして、できたテストシナリオ170をDCS(図3の例では71)にコピーする。 On the other hand, as shown in FIG. 3, the software test scenario creation tool 120 is installed on the designer computer 110, the detailed design documents 140, 150, and 160 described in detail later are automatically read, and the test scenario 170 is automatically read. Generate. Then, the detailed design document error report 122 showing the OK / NG determination result is generated, the designer confirms the NG portion, and corrects the detailed design documents 140, 150, 160. Then, the created test scenario 170 is copied to DCS (71 in the example of FIG. 3).

このようにして、修正した設計図書を再度自動で読込んで、テストシナリオ170を自動で再生成することによりNGを減らすことができる。これにより、設計図書のチェックもかかり、ソフト作成前に設計図書の精度が上がるため、ソフト作成時のミスが軽減できる。 In this way, NG can be reduced by automatically reading the modified design document again and automatically regenerating the test scenario 170. As a result, the design documents are also checked, and the accuracy of the design documents is improved before the software is created, so that mistakes during software creation can be reduced.

一方、DCS71には、自動デバッグツール81をインストールし、設計者用コンピュータ110によって生成されたテストシナリオ170を自動で読込んで自動デバッグを行う。そして、OK/NG判定結果を含むテスト結果レポート180を生成する。そして、設計者がNG箇所を確認して、DCSソフトを修正する。 On the other hand, the automatic debugging tool 81 is installed in the DCS 71, and the test scenario 170 generated by the designer computer 110 is automatically read to perform automatic debugging. Then, a test result report 180 including the OK / NG determination result is generated. Then, the designer confirms the NG portion and corrects the DCS software.

更に、前記テスト結果レポート180を、テストシナリオ170の代わりに自動で読込んで再デバッグを繰り返す。この際、自動デバッグツール81は、OKとなったシナリオをスキップして、NG項目のみ再デバッグすることにより、再デバッグテストを効率化することができる。 Further, the test result report 180 is automatically read instead of the test scenario 170, and re-debugging is repeated. At this time, the automatic debugging tool 81 can streamline the re-debugging test by skipping the OK scenario and re-debugging only the NG items.

前記テストシナリオ170の生成に用いられる、画面設計用の詳細設計図書140、150、160の一つのハード/通信入出力(I/O)リスト140の例を図4に示す。図4に記載したような主要項目(他にも記載項目あり)を定義・記載しており、これらの項目からテストデータを生成する。図において、AIはアナログ入力、DIはデジタル入力である。 FIG. 4 shows an example of one hard / communication input / output (I / O) list 140 of the detailed design documents 140, 150, and 160 for screen design used for generating the test scenario 170. The main items (there are other items to be described) as shown in FIG. 4 are defined and described, and test data is generated from these items. In the figure, AI is an analog input and DI is a digital input.

又、同じく画面設計用の詳細設計図書140、150、160の他の例である画面入出力(I/O)リスト150の例を図5に示す。これは図下側の座標を示した画面イメージと図上側のリストを組み合わせたものである。図5に記載したような主要項目(他にも記載項目あり)を定義・記載しており、これらの項目からテストデータを生成する。 FIG. 5 also shows an example of the screen input / output (I / O) list 150, which is another example of the detailed design documents 140, 150, and 160 for screen design. This is a combination of a screen image showing the coordinates on the lower side of the figure and a list on the upper side of the figure. The main items (there are other items to be described) as shown in FIG. 5 are defined and described, and test data is generated from these items.

又、同じく画面設計用の詳細設計図書140、150、160の3番目の例であるソフトウェア機能仕様書160の例を図6に示す。図において162は、計器(図の例は温度計)のコントロール画面である計器フェイスプレート(FP)を表す。このソフトウェア機能仕様書160は、ハード/通信入出力リスト140と画面入出力リスト150を補間するものであり、仕様書作成ルールからフェイスプレート情報(フェイスプレートのあるタグ、警報設定値等)を読込み、テストデータを生成する。 FIG. 6 also shows an example of the software function specification 160, which is the third example of the detailed design documents 140, 150, and 160 for screen design. In the figure, 162 represents an instrument face plate (FP) which is a control screen of an instrument (an example of the figure is a thermometer). This software function specification 160 interpolates the hardware / communication input / output list 140 and the screen input / output list 150, and reads face plate information (tags with face plates, alarm setting values, etc.) from the specification creation rules. , Generate test data.

画面確認を自動化する方法としては、リストに基づき信号入力を自動で実施する。具体的には、入力の正解画像パターンを作り、設計者は画面のチェックすべき場所を検索して、ある程度の範囲に絞り込む。絞り込んだエリア内で正解画像パターンとチェックすべき場所の画像比較を行い特定する。特定したチェックすべき場所の色、数値、画像形状の変化を読取って良否判断する。前記エリア内の自動テストの検証対象は、例えば数値、単位、文字色、機器表示シンボルの色、異常表示ラベルの色、警報表示文字及び文字色、FP表示操作、FP画面内の表示(グラフ、数値、色)とすることができる。 As a method of automating screen confirmation, signal input is automatically performed based on a list. Specifically, the correct image pattern of the input is created, and the designer searches the place to be checked on the screen and narrows it down to a certain range. In the narrowed area, compare the correct image pattern with the image of the place to be checked to identify it. The quality is judged by reading the change in the color, numerical value, and image shape of the specified place to be checked. The verification target of the automatic test in the area is, for example, numerical value, unit, character color, device display symbol color, abnormality display label color, alarm display character and character color, FP display operation, display in FP screen (graph, graph, Numerical value, color).

又、信号出力確認を自動化する方法としては、自動で画面操作スイッチ窓を開き、画面操作を自動で実施する。そして、操作信号がPLC51から正しく出力されているか良否判断する。具体的には、例えばFP画面からMV値を入力して、PLCデータで確認したり、運転、停止操作の結果をPLCデータで確認する。 Further, as a method of automating the signal output confirmation, the screen operation switch window is automatically opened and the screen operation is automatically performed. Then, it is determined whether or not the operation signal is correctly output from the PLC 51. Specifically, for example, the MV value is input from the FP screen and confirmed by the PLC data, or the result of the operation / stop operation is confirmed by the PLC data.

例えば4つのテストシナリオ170A、170B、170C、170Dを含むテストシナリオ170の一例を図7に示す。自動デバッグテストを実行するとテスト結果(OK/NG)と、結果詳細(補足説明)が自動埋込みされ、図8に例示するようなテスト結果レポート(検査成績表)180が生成される。 For example, FIG. 7 shows an example of test scenario 170 including four test scenarios 170A, 170B, 170C, and 170D. When the automatic debug test is executed, the test result (OK / NG) and the result details (supplementary explanation) are automatically embedded, and a test result report (inspection report) 180 as illustrated in FIG. 8 is generated.

試験対象画面の一例を図9に示す。破線で囲まれた部分が本ツールでのチェック対象の例(自動入力して画面状態変化を評価)である。なお、ツールからPLC51へ自動入力を行って、画面表示をチェックするだけでなく、ツールから画面を自動操作してPLC51の出力チェックも同様にして実施することができる。具体的には、ツールがFP162等を操作し、画面操作スイッチ窓であるサブウィンドウ(FP162からの操作時ウィンドウ)164を開けて、このサブウィンドウ164から出力を操作する。 An example of the test target screen is shown in FIG. The part surrounded by the broken line is an example of the check target with this tool (automatic input to evaluate the screen state change). It should be noted that not only the tool can automatically input to the PLC 51 to check the screen display, but also the tool can automatically operate the screen to check the output of the PLC 51 in the same manner. Specifically, the tool operates the FP162 or the like, opens a sub-window (window at the time of operation from the FP162) 164 which is a screen operation switch window, and operates the output from the sub-window 164.

全体フローを図10に示す。図に示すように、例えば計算ソフト用データで構成されるハード/通信I/Oリスト140(詳細設計図書の1番目)と、例えば計算ソフト用データ及び画像データで構成される画面I/Oリスト150(詳細設計図書の2番目)と、画像ソフトウェア用データで構成されるソフトウェア機能仕様書160(詳細設計図書の3番目)をテストシナリオ生成ツール120に入力し、例えば計算ソフト用データで構成されるテストシナリオ170を生成する。そして、シナリオ生成結果をみて、詳細設計図書140、150、160の誤記を修正する。 The overall flow is shown in FIG. As shown in the figure, for example, a hardware / communication I / O list 140 composed of calculation software data (first in the detailed design document) and a screen I / O list composed of, for example, calculation software data and image data. Input 150 (second in the detailed design document) and software function specification 160 (third in the detailed design document) composed of data for image software into the test scenario generation tool 120, for example, composed of data for calculation software. Test scenario 170 is generated. Then, by looking at the scenario generation result, the errors in the detailed design documents 140, 150, and 160 are corrected.

このようにして、修正した設計図書を再度自動で読込んで、テストシナリオ170を自動で再生成することによりNGを減らすことができる。これにより、設計図書のチェックもかかり、ソフト作成前に設計図書の精度が上がるため、ソフト作成時のミスが軽減できる。 In this way, NG can be reduced by automatically reading the modified design document again and automatically regenerating the test scenario 170. As a result, the design documents are also checked, and the accuracy of the design documents is improved before the software is created, so that mistakes during software creation can be reduced.

又、テストシナリオ170を自動デバッグツール81に挿入し、例えば計算ソフト用データで構成されるテスト結果レポート180を出力する。ここで、テスト結果レポート180をそのままシナリオとして再検査することにより、ソフトウェアを修正する。この際、自動デバッグツール81は、OKとなったシナリオをスキップして、NG項目のみ再デバッグすることにより、再デバッグテストを効率化することができる。 Further, the test scenario 170 is inserted into the automatic debugging tool 81, and a test result report 180 composed of, for example, calculation software data is output. Here, the software is modified by re-examining the test result report 180 as a scenario as it is. At this time, the automatic debugging tool 81 can streamline the re-debugging test by skipping the OK scenario and re-debugging only the NG items.

アナログ入力/表示(画面、FP)をチェックするテストシナリオ170Aによる自動デバッグの手順の例を図11に示す。 FIG. 11 shows an example of the procedure of automatic debugging by the test scenario 170A for checking the analog input / display (screen, FP).

まずステップ1000で、FPの有無をチェックする。FPが無いと判断された場合にはステップ1010に進み、画面定義ファイルを読込む。 First, in step 1000, the presence or absence of FP is checked. If it is determined that there is no FP, the process proceeds to step 1010 and the screen definition file is read.

次いでステップ1020に進み、試験数値、単位で正解画像(フォント、サイズ、色)を生成する。 Then, the process proceeds to step 1020, and a correct image (font, size, color) is generated in units of test values.

次いでステップ1030に進み、PLCアドレスでテストデータを自動でセットする。 Then, the process proceeds to step 1030, and the test data is automatically set by the PLC address.

次いでステップ1040に進み、画面表示位置エリア内を正解画像でスキャンして画像マッチングを行う。 Next, the process proceeds to step 1040, and the screen display position area is scanned with the correct image to perform image matching.

次いでステップ1050に進み、結果判定を行う。 Then, the process proceeds to step 1050 to determine the result.

判定結果がOKである場合はステップ1060に進み、OKを記録する。一方、ステップ1050の判定結果がNGである場合はステップ1070に進み、NG及びその理由を詳細に記録する。 If the determination result is OK, the process proceeds to step 1060 and OK is recorded. On the other hand, if the determination result of step 1050 is NG, the process proceeds to step 1070, and NG and the reason thereof are recorded in detail.

一方、前記ステップ1000で、FPが有ると判定された場合にはステップ1100に進み、FP定義ファイルを読込む。 On the other hand, if it is determined in step 1000 that there is an FP, the process proceeds to step 1100 and the FP definition file is read.

次いでステップ1110に進み、試験数値、単位で正解FP画像(フォント、サイズ、色)を生成する。 Then, the process proceeds to step 1110, and a correct FP image (font, size, color) is generated in units of test values.

次いでステップ1120に進み、PLCアドレスへテストデータを自動でセットする。 Then, the process proceeds to step 1120, and the test data is automatically set in the PLC address.

次いでステップ1130に進み、FP内を正解FP画像でスキャンして画像マッチングを行う。 Then, the process proceeds to step 1130, and the inside of the FP is scanned with the correct FP image to perform image matching.

次いでステップ1140に進み、結果判定を行う。 Then, the process proceeds to step 1140 to determine the result.

判定結果がOKである場合はステップ1150に進み、OKを記録する。一方、ステップ1140の判定結果がNGである場合はステップ1160に進み、NG及びその理由を詳細に記録する。 If the determination result is OK, the process proceeds to step 1150, and OK is recorded. On the other hand, if the determination result in step 1140 is NG, the process proceeds to step 1160, and NG and the reason thereof are recorded in detail.

なお、ステップ1010以降ステップ1060又は1070までの作業は必ず行われ、同時にFPがシナリオの項目にある場合は、そちらも実施する。即ち、シナリオの項目にFPがある場合は、分岐前後の2つの作業を自動実行して、それぞれの項目についてOK、NGを判定する。 The work from step 1010 to step 1060 or 1070 is always performed, and at the same time, if FP is included in the scenario item, that is also performed. That is, when there is an FP in the item of the scenario, two operations before and after the branch are automatically executed, and OK or NG is determined for each item.

次に、アナログ入力/警報(画面、FP)をチェックするテストシナリオ170Bによる自動デバッグの手順の例を図12、図13に示す。 Next, FIGS. 12 and 13 show an example of the procedure of automatic debugging by the test scenario 170B for checking the analog input / alarm (screen, FP).

この手順では、最初のステップ2000で、FP無しと判定された場合にはステップ2010に進み、警報メッセージの有無を判定する。そして、判定結果が無しである場合にはステップ2020に進み、画面定義ファイルを読込む。 In this procedure, if it is determined in the first step 2000 that there is no FP, the process proceeds to step 2010 to determine the presence or absence of an alarm message. Then, if there is no determination result, the process proceeds to step 2020 and the screen definition file is read.

次いでステップ2030で、試験数値、単位で正解画像(警報色)を生成する。 Next, in step 2030, a correct image (alarm color) is generated in units of test values.

以下、図11のステップ1030〜1070と同様のステップ2040〜2080を実行する。 Hereinafter, steps 2040 to 2080 similar to steps 1030 to 1070 in FIG. 11 are executed.

一方、2番目のステップ2010の判定結果が有りで警報メッセージを表示する場合には、図13のステップ2100に進み、画像定義ファイルを読込んだ後、ステップ2110で、警報メッセージエリア、正解文字画像(フォント、サイズ、色)を生成する。 On the other hand, when the judgment result of the second step 2010 is present and the alarm message is displayed, the process proceeds to step 2100 of FIG. 13, the image definition file is read, and then the alarm message area and the correct character image are displayed in step 2110. Generate (font, size, color).

次いでステップ2120に進み、PLCアドレスへテストデータを自動でセットする。 Then, the process proceeds to step 2120, and the test data is automatically set in the PLC address.

次いでステップ2130に進み、警報メッセージエリア内を正解画像でスキャンして画像マッチングする。 Then, the process proceeds to step 2130, and the inside of the alarm message area is scanned with the correct image to match the images.

次いでステップ2140に進み、結果を判定し、OKである場合にはステップ2150に進み、OKを記録する。一方、ステップ2140の判定結果がNGである場合にはステップ2160に進み、NG及びその理由を詳細に記録する。 Then, the process proceeds to step 2140, the result is determined, and if it is OK, the process proceeds to step 2150, and OK is recorded. On the other hand, if the determination result of step 2140 is NG, the process proceeds to step 2160, and NG and the reason thereof are recorded in detail.

又、最初のステップ2000でFP有りと判定された場合にはステップ2200に進み、FP定義ファイルを読込む。 If it is determined in the first step 2000 that there is an FP, the process proceeds to step 2200 and the FP definition file is read.

次いで、ステップ2210で、試験数値、単位で正解FP画像(警報色)を生成する。 Next, in step 2210, a correct FP image (alarm color) is generated in units of test values.

以下、図11のステップ1120〜1160と同様のステップ2220〜2260を実行する。 Hereinafter, steps 2220 to 2260 similar to steps 1120 to 1160 in FIG. 11 are executed.

なお、ステップ2020以降ステップ2070又は2080までの作業は必ず行われ、同時にFPや警報メッセージがシナリオの項目にある場合は、そちらも実施する。例えば、シナリオの項目にFPがあり、警報メッセージがあると判定された場合は、分岐前後の3つの作業を自動実行して、それぞれの項目についてOK、NGを判定する。 The work from step 2020 to step 2070 or 2080 is always performed, and at the same time, if an FP or an alarm message is included in the scenario item, that is also performed. For example, when it is determined that there is an FP in the item of the scenario and there is an alarm message, three operations before and after the branch are automatically executed, and OK and NG are determined for each item.

デジタル入力/表示(画面、FP)をチェックするテストシナリオ170Cによる自動デバッグの手順の例を図14に示す。 FIG. 14 shows an example of the procedure of automatic debugging by the test scenario 170C for checking the digital input / display (screen, FP).

ステップ2320で、シンボル種別、ラベル入替表示内容で正解画像(運転/停止:形、色)を生成する点、及び、ステップ2410で、ラベル入替表示内容で正解FP画像(文字、色)を生成する点を除き、実質的に図11と同じであるので、詳細な説明は省略する。 In step 2320, a correct answer image (run / stop: shape, color) is generated with the symbol type and label replacement display contents, and in step 2410, a correct answer FP image (character, color) is generated with the label replacement display contents. Except for the points, it is substantially the same as FIG. 11, and detailed description thereof will be omitted.

デジタル入力/警報(画面、FP)をチェックするテストシナリオ170Dによる自動デバッグの手順の例を図15、図16に示す。 An example of the procedure of automatic debugging by the test scenario 170D for checking the digital input / alarm (screen, FP) is shown in FIGS. 15 and 16.

ステップ2530で、シンボル種別、ラベル入替表示内容で正解画像(運転/停止:形、色)を生成する点、及び、ステップ2610で、警報メッセージエリア、正解文字画像(フォント、サイズ、色)を生成する点、及び、ステップ2710で、ラベル入替表示内容で正解FP画像(文字、色)を生成する点を除き、実質的に図12、図13と同じであるので、詳細な説明は省略する。 In step 2530, a correct answer image (run / stop: shape, color) is generated with the symbol type and label replacement display contents, and in step 2610, an alarm message area and correct character image (font, size, color) are generated. Since it is substantially the same as in FIGS. 12 and 13, except that the correct FP image (character, color) is generated from the label replacement display content in step 2710, detailed description thereof will be omitted.

本実施形態においては、画面I/O検査時の効果だけでなく、自動検査を行うためのリストを自動生成する際に、自動的に設計図書の不整合チェックもレポート出力・判定するようにしているので、設計図書のチェックもかかり、ソフト作成前に設計図書の精度が上がるため、ソフト作成時のミスが削減できる。 In this embodiment, not only the effect at the time of screen I / O inspection but also the inconsistency check of the design document is automatically output / judged when the list for performing the automatic inspection is automatically generated. Therefore, the design documents are also checked, and the accuracy of the design documents is improved before the software is created, so that mistakes when creating the software can be reduced.

又、デバッグに際して、出力した検査成績表を基にソフトウェア設計者がNGとなった部分のソフト修正を行う際、検査成績表をそのままテストシナリオとして使用すると共に、自動テストツールにより検査OKの項目をスキップし、NGのみの部分のみを自動テストすることで再検査の効率化が図れる。例えばNGの割合が1/10の場合には、テスト時間も1/10となる。 In addition, when debugging, when the software designer makes a software correction of the part that was NG based on the output test report card, the test report card is used as it is as a test scenario, and the item of inspection OK is displayed by the automatic test tool. By skipping and automatically testing only the NG part, the efficiency of re-inspection can be improved. For example, when the ratio of NG is 1/10, the test time is also 1/10.

実際のごみ焼却施設において、従来の人手による画面I/O検査方法に対し、同じ設計仕様で本実施形態により自動デバッグ試験を行ったところ、人間による検査を従来の1/5程度として自動化率80%を達成でき、且つ、間違いを正解とする誤判定は自動検査により0となり、検査工数の80%削減によるコストダウン及び検査ミスの防止ができ、有効性を確認できた。 In an actual waste incineration facility, when an automatic debug test was conducted according to this embodiment with the same design specifications for the conventional manual screen I / O inspection method, the automation rate was 80, with human inspection being about 1/5 of the conventional method. % Was achieved, and the false judgment that the error was the correct answer became 0 by the automatic inspection, and the cost reduction and inspection error could be prevented by reducing the inspection man-hours by 80%, and the effectiveness could be confirmed.

なお、本発明の適用対象はごみ焼却施設に限定されず、プラント一般に同様に適用できることは明らかである。制御装置もDCSやPLCに限定されない。 It is clear that the application of the present invention is not limited to waste incineration facilities and can be applied to plants in general as well. The control device is not limited to DCS and PLC.

又、炉やDCS、PLCの数も実施形態の2〜3に限定されず、例えば1つであってもよい。 Further, the number of furnaces, DCS, and PLC is not limited to 2 to 3 of the embodiment, and may be one, for example.

11、12、13…制御盤
21、22、23…センサ
31、32、33…操作端
41、42、43…配線ケーブル
51、52、53…プログラマブルロジックコントローラ(PLC)
71、72、73…分散制御システム(DCS)
81、82、83…自動デバッグツール
91、92、93…モニタ画面
100…工場出荷検査対象
110…設計者用コンピュータ
120…テストシナリオ生成ツール
122…エラーレポート
140…ハード/通信入出力(I/O)リスト(詳細設計図書)
150…画面入出力(I/O)リスト(詳細設計図書)
160…ソフトウェア機能仕様書(詳細設計図書)
162…(計器)フェイスプレート(FP)
164…サブウィンドウ(画面操作スイッチ窓)
170、170A、170B、170C、170D…テストシナリオ
180…テスト結果レポート
200…現地納入システム
11, 12, 13 ... Control panel 21, 22, 23 ... Sensor 31, 32, 33 ... Operation end 41, 42, 43 ... Wiring cable 51, 52, 53 ... Programmable logic controller (PLC)
71, 72, 73 ... Distributed Control System (DCS)
81, 82, 83 ... Automatic debugging tool 91, 92, 93 ... Monitor screen 100 ... Factory inspection target 110 ... Designer computer 120 ... Test scenario generation tool 122 ... Error report 140 ... Hard / communication input / output (I / O) ) List (detailed design book)
150 ... Screen input / output (I / O) list (detailed design document)
160 ... Software function specifications (detailed design documents)
162 ... (Instrument) Face plate (FP)
164 ... Sub-window (screen operation switch window)
170, 170A, 170B, 170C, 170D ... Test scenario 180 ... Test result report 200 ... Local delivery system

Claims (16)

設計図書を読込んでテストシナリオを自動生成し、
シナリオ生成時に出力されるエラー情報を用いて前記設計図書を修正し、
修正した設計図書によりテストシナリオを再び自動生成することを特徴とする制御用ソフトウェアのテストシナリオ自動生成方法。
Read the design document, automatically generate the test scenario,
Correct the design document using the error information output when the scenario is generated.
A method for automatically generating a test scenario for control software, which comprises automatically generating a test scenario again based on a modified design document.
前記設計図書が画面設計用の設計図書であって、
入出力信号を記載した入出力リストと、
該入出力リストの入出力信号に対応する座標を示した画面イメージと、
前記入出力リスト及び前記画面イメージを補間するソフトウェア機能仕様書とを含み、
これらに基づいて前記テストシナリオを自動生成するようにしたことを特徴とする請求項1に記載の制御用ソフトウェアのテストシナリオ自動生成方法。
The design document is a design document for screen design,
An input / output list that describes input / output signals and
A screen image showing the coordinates corresponding to the input / output signals of the input / output list and
Includes the input / output list and software function specifications that interpolate the screen image.
The method for automatically generating a test scenario of the control software according to claim 1, wherein the test scenario is automatically generated based on these.
前記テストシナリオを用いたテストが、アナログ又はデジタルの入力信号を模擬入力して、表示が適正な表示場所に表示されているか、又は、警報メッセージが正しく表示されているかチェックするものであることを特徴とする請求項1又は2に記載の制御用ソフトウェアのテストシナリオ自動生成方法。 The test using the test scenario is to imitate an analog or digital input signal to check whether the display is displayed at an appropriate display location or whether the alarm message is displayed correctly. The method for automatically generating a test scenario of the control software according to claim 1 or 2. 前記テストシナリオを用いた画面確認に際して、入力の正解画像パターンを作り、前記設計図書から画面のチェックすべき場所を検索してエリアを絞り込み、絞り込んだエリア内で正解画像パターンとチェックすべき場所を画像比較して特定し、特定したチェックすべき場所の色、数値、画像形状の変化を読取って良否判断することを特徴とする請求項1乃至3のいずれかに記載の制御用ソフトウェアのテストシナリオ自動生成方法。 When checking the screen using the test scenario, create a correct image pattern for input, search the design document for the location to be checked on the screen, narrow down the area, and search for the correct image pattern and the location to be checked within the narrowed down area. The test scenario of the control software according to any one of claims 1 to 3, wherein the image is compared and specified, and the change in the color, numerical value, and image shape of the specified place to be checked is read to judge whether the image is good or bad. Automatic generation method. 前記テストシナリオを用いた信号出力確認に際して、画面操作スイッチ窓を開き、画面操作を実施して、操作信号が制御装置から正しく出力されているか良否判断することを特徴とする請求項1乃至3のいずれかに記載の制御用ソフトウェアのテストシナリオ自動生成方法。 The first to third aspects of claim 1 to 3, wherein when the signal output is confirmed using the test scenario, the screen operation switch window is opened, the screen operation is performed, and it is determined whether or not the operation signal is correctly output from the control device. The control software test scenario automatic generation method described in either. テストシナリオを読込んで制御ソフトウェアをデバッグし、
該デバッグによりテスト結果レポートを生成し、
該テスト結果レポートのNG項目のみをテストシナリオとして前記制御ソフトウェアを再デバッグすることを特徴とする制御用ソフトウェアの自動テスト方法。
Load the test scenario, debug the control software,
A test result report is generated by the debugging.
An automatic test method for control software, characterized in that the control software is re-debugged using only the NG item of the test result report as a test scenario.
前記テストシナリオが請求項1乃至5のいずれかに記載のテストシナリオ自動生成方法により作成されたものであることを特徴とする請求項6に記載の制御用ソフトウェアの自動テスト方法。 The automatic test method for control software according to claim 6, wherein the test scenario is created by the test scenario automatic generation method according to any one of claims 1 to 5. 設計図書を読込んでテストシナリオを自動生成する手段と、
生成されたテストシナリオを用いて前記設計図書間の不整合をチェックする手段と、
チェックの結果出力されるエラー情報を用いて前記設計図書を修正するための手段と、
修正した設計図書によりテストシナリオを再び自動生成する手段と、
を備えたことを特徴とする制御用ソフトウェアのテストシナリオ自動生成装置。
A means to read design documents and automatically generate test scenarios,
A means of checking for inconsistencies between the design documents using the generated test scenario,
A means for modifying the design document using the error information output as a result of the check, and
A means to automatically generate test scenarios again with modified design documents,
A test scenario automatic generator for control software, which is characterized by being equipped with.
前記設計図書が画面設計用の設計図書であって、
入出力信号を記載した入出力リストと、
該入出力リストの入出力信号に対応する座標を示した画面イメージと、
前記入出力リスト及び前記画面イメージを補間するソフトウェア機能仕様書とを含み、
これらに基づいて前記テストシナリオを自動生成するようにされていることを特徴とする請求項8に記載の制御用ソフトウェアのテストシナリオ自動生成装置。
The design document is a design document for screen design,
An input / output list that describes input / output signals and
A screen image showing the coordinates corresponding to the input / output signals of the input / output list and
Includes the input / output list and software function specifications that interpolate the screen image.
The test scenario automatic generation device for control software according to claim 8, wherein the test scenario is automatically generated based on these.
前記テストシナリオを用いたテストが、アナログ又はデジタルの入力信号を模擬入力して、表示が適正な表示場所に表示されているか、又は、警報メッセージが正しく表示されているかチェックするものとされていることを特徴とする請求項8又は9に記載の制御用ソフトウェアのテストシナリオ自動生成装置。 A test using the above test scenario is to imitate an analog or digital input signal to check whether the display is displayed at an appropriate display location or whether the alarm message is displayed correctly. The automatic test scenario generation device for the control software according to claim 8 or 9. 前記テストシナリオを用いた画面確認に際して、入力の正解画像パターンを作り、前記設計図書から画面のチェックすべき場所を検索してエリアを絞り込み、絞り込んだエリア内で正解画像パターンとチェックすべき場所を画像比較して特定し、特定したチェックすべき場所の色、数値、画像形状の変化を読取って良否判断するようにされていることを特徴とする請求項8乃至10のいずれかに記載の制御用ソフトウェアのテストシナリオ自動生成装置。 When checking the screen using the test scenario, create a correct image pattern for input, search the design document for the location to be checked on the screen, narrow down the area, and search for the correct image pattern and the location to be checked within the narrowed down area. The control according to any one of claims 8 to 10, wherein the control is specified by comparing images, and the change in the color, numerical value, and image shape of the specified place to be checked is read to determine the quality. Software test scenario automatic generator for. 前記テストシナリオを用いた信号出力確認に際して、画面操作スイッチ窓を開き、画面操作を実施して、操作信号が制御装置から正しく出力されているか良否判断するようにされていることを特徴とする請求項8乃至10のいずれかに記載の制御用ソフトウェアのテストシナリオ自動生成装置。 When confirming the signal output using the test scenario, the claim is characterized in that the screen operation switch window is opened, the screen operation is performed, and it is determined whether or not the operation signal is correctly output from the control device. Item 4. The automatic test scenario generation device for the control software according to any one of Items 8 to 10. テストシナリオを読込んで制御ソフトウェアをデバッグする手段と、
該デバッグによりテスト結果レポートを生成する手段と、
該テスト結果レポートのNG項目のみをテストシナリオとして前記制御ソフトウェアを再デバッグする手段と、
を備えたことを特徴とする制御用ソフトウェアの自動テスト装置。
A way to read test scenarios and debug control software,
A means of generating a test result report by the debugging,
A means for re-debugging the control software using only the NG item of the test result report as a test scenario,
An automatic test device for control software that features.
前記テストシナリオが請求項8乃至12のいずれかに記載のテストシナリオ自動生成装置により作成されたものであることを特徴とする請求項13に記載の制御用ソフトウェアの自動テスト装置。 The automatic test apparatus for control software according to claim 13, wherein the test scenario is created by the automatic test scenario generator according to any one of claims 8 to 12. 請求項1乃至5のいずれかに記載のテストシナリオ自動生成方法、又は、請求項6又は7に記載の自動テスト方法をコンピュータに実行させるためのコンピュータプログラム。 A computer program for causing a computer to execute the test scenario automatic generation method according to any one of claims 1 to 5 or the automatic test method according to claim 6 or 7. 請求項8乃至12のいずれかに記載のテストシナリオ自動生成装置、又は、請求項13又は14に記載の自動テスト装置をコンピュータに実現させるためのコンピュータプログラム。 A computer program for realizing the test scenario automatic generation device according to any one of claims 8 to 12 or the automatic test device according to claim 13 or 14 on a computer.
JP2019111586A 2019-06-14 2019-06-14 AUTOMATIC TEST SCENARIO GENERATION METHOD AND DEVICE FOR CONTROL SOFTWARE, AND COMPUTER PROGRAM Active JP7226121B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019111586A JP7226121B2 (en) 2019-06-14 2019-06-14 AUTOMATIC TEST SCENARIO GENERATION METHOD AND DEVICE FOR CONTROL SOFTWARE, AND COMPUTER PROGRAM
JP2022208766A JP7392821B2 (en) 2019-06-14 2022-12-26 Automatic testing method and device for control software and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019111586A JP7226121B2 (en) 2019-06-14 2019-06-14 AUTOMATIC TEST SCENARIO GENERATION METHOD AND DEVICE FOR CONTROL SOFTWARE, AND COMPUTER PROGRAM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022208766A Division JP7392821B2 (en) 2019-06-14 2022-12-26 Automatic testing method and device for control software and computer program

Publications (2)

Publication Number Publication Date
JP2020204847A true JP2020204847A (en) 2020-12-24
JP7226121B2 JP7226121B2 (en) 2023-02-21

Family

ID=73838404

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019111586A Active JP7226121B2 (en) 2019-06-14 2019-06-14 AUTOMATIC TEST SCENARIO GENERATION METHOD AND DEVICE FOR CONTROL SOFTWARE, AND COMPUTER PROGRAM
JP2022208766A Active JP7392821B2 (en) 2019-06-14 2022-12-26 Automatic testing method and device for control software and computer program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022208766A Active JP7392821B2 (en) 2019-06-14 2022-12-26 Automatic testing method and device for control software and computer program

Country Status (1)

Country Link
JP (2) JP7226121B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289162A (en) * 2008-05-30 2009-12-10 Toshiba Mitsubishi-Electric Industrial System Corp Apparatus for automatically creating control program and testing method plan
JP2011075824A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Monitoring screen testing device
JP2013097640A (en) * 2011-11-02 2013-05-20 Mitsubishi Electric Corp Monitoring operation screen testing support device
JP2017130139A (en) * 2016-01-22 2017-07-27 東芝三菱電機産業システム株式会社 Interface test system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271151A (en) * 1986-05-20 1987-11-25 Nec Corp Automatic testing system for computer main body
JP2008165399A (en) 2006-12-27 2008-07-17 Fanuc Ltd Simulation data generation support device
JP2012103874A (en) 2010-11-10 2012-05-31 Nec Commun Syst Ltd Software test device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289162A (en) * 2008-05-30 2009-12-10 Toshiba Mitsubishi-Electric Industrial System Corp Apparatus for automatically creating control program and testing method plan
JP2011075824A (en) * 2009-09-30 2011-04-14 Mitsubishi Electric Corp Monitoring screen testing device
JP2013097640A (en) * 2011-11-02 2013-05-20 Mitsubishi Electric Corp Monitoring operation screen testing support device
JP2017130139A (en) * 2016-01-22 2017-07-27 東芝三菱電機産業システム株式会社 Interface test system

Also Published As

Publication number Publication date
JP2023024762A (en) 2023-02-16
JP7392821B2 (en) 2023-12-06
JP7226121B2 (en) 2023-02-21

Similar Documents

Publication Publication Date Title
US7433801B2 (en) Identifying and visualizing faults in PLC-based manufacturing systems
EP3220222B1 (en) Evaluation system, evaluation method, and evaluation program
JP5628086B2 (en) Display device screen all-point test method and all-point test device
EP2040135A2 (en) Automated validation of application code for an industrial control environment
US6275955B1 (en) Diagnostic software for facilitating flowchart programming
Ibrahim et al. State of the Art in Software Tool Qualification with DO-330: A Survey.
Fischer et al. Measuring the overall complexity of graphical and textual iec 61131-3 control software
Ulewicz et al. Guided semi-automatic system testing in factory automation
US7698245B2 (en) Applying rules to validating data for a machine arrangement
JP7226121B2 (en) AUTOMATIC TEST SCENARIO GENERATION METHOD AND DEVICE FOR CONTROL SOFTWARE, AND COMPUTER PROGRAM
Hoffmann On Virtual Commissioning of Manufacturing Systems: Proposals for a systematic VC simulation study methodology and a new simulation model building approach
CN111680463A (en) File checking method and device
Zeller et al. An industrial roadmap for continuous delivery of software for safety-critical systems
JPH09244921A (en) Automation system for software test
Boring et al. Baseline Human Factors and Ergonomics in Support of Control Room Modernization at Nuclear Power Plants
KR20190094779A (en) Automatically Generate Device for PLC Instruction Compiler Test-Case
KR101716480B1 (en) Apparatus for inputting test-case using gui
CN111552263B (en) Method, computer-readable storage medium and system for inspecting industrial facilities
JP2005069859A (en) Inspection device and waveform display
Yang et al. An effective model-based development process using simulink/stateflow for automotive body control electronics
CN111752823A (en) Method, device and equipment for testing vehicle-mounted power supply application software
US20200050709A1 (en) System design support apparatus and system design support method
Stürmer et al. Modeling Guidelines and Model Analysis Tools in Embedded Automotive Software Development.
Kececi et al. Software development life cycle Model to ensure software quality
US20240037016A1 (en) Computer readable storage medium, debugging support device, debugging support method, and machine learning device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221226

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230123

R150 Certificate of patent or registration of utility model

Ref document number: 7226121

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150