JP2017129957A - Interface test device and interface test system - Google Patents
Interface test device and interface test system Download PDFInfo
- Publication number
- JP2017129957A JP2017129957A JP2016007794A JP2016007794A JP2017129957A JP 2017129957 A JP2017129957 A JP 2017129957A JP 2016007794 A JP2016007794 A JP 2016007794A JP 2016007794 A JP2016007794 A JP 2016007794A JP 2017129957 A JP2017129957 A JP 2017129957A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output signal
- interface
- screen
- ladder program
- 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
Links
Images
Abstract
Description
本発明の実施形態は、HMI画面とPLCとの間における通信インタフェースの試験を自動化するインタフェース試験装置およびインタフェース試験システムに関する。 Embodiments described herein relate generally to an interface test apparatus and an interface test system that automate a test of a communication interface between an HMI screen and a PLC.
HMI(Human Machine Interface)とは、人間が機械に対して操作を行い、その機械が現在の状態や処理の結果を人間に知らせる手段のことを指し、そのための装置やソフトウェア等を含む。たとえば人間が機械に対して操作を行うための手段としては、スイッチやボタン、キーボード、マウスなどがある。また、機械が人間に対して情報を伝える手段としては、ディスプレイの液晶画面やメータ等の表示機器、ランプ、スピーカなどがある。製鉄所等のプラントでは、各種機械を制御するために、制御機器であるプログラマブルロジックコントローラ(Programmable Logic Controller、以下、PLCという。)が用いられる。PLCは、センサ等からの信号を入力し、ラダープログラムにしたがって、アクチュエータ等に対して信号を出力することにより、これら各種機械に対する制御を自動的に行う。PLCは、通信ネットワークを介して、コンピュータに接続することができるので、このコンピュータとPLCとの通信インタフェースを行うことにより、HMIを、コンピュータのディスプレイ画面上で行うようにすることができる。コンピュータのディスプレイ画面上で、制御対象の機械の状態等の情報の取得や機械の操作等を行うことができ、このときのディスプレイ画面をHMI画面という。 HMI (Human Machine Interface) refers to means for a human to operate a machine, and the machine informs the human of the current state and processing results, and includes devices, software, and the like. For example, there are switches, buttons, a keyboard, a mouse, and the like as means for a human to operate a machine. Means for the machine to convey information to humans include a display device such as a liquid crystal screen of a display and a meter, a lamp, and a speaker. In plants such as steelworks, a programmable logic controller (hereinafter referred to as “PLC”), which is a control device, is used to control various machines. The PLC automatically controls these various machines by inputting a signal from a sensor or the like and outputting a signal to an actuator or the like according to a ladder program. Since the PLC can be connected to a computer via a communication network, the HMI can be performed on the display screen of the computer by performing a communication interface between the computer and the PLC. On the display screen of the computer, information such as the state of the machine to be controlled can be obtained and the machine can be operated. The display screen at this time is called an HMI screen.
HMI画面とPLCとの通信インタフェースを行うにあたり、適切に通信が行われているかを試験する必要がある。HMI画面とPLCとの通信インタフェースの接続試験を行う場合、PLCのためのエンジニアリングツールを用いて、人間がマニュアルでHMI画面中の表示用品を動作させるための信号をラダープログラムを解析して抽出し、その信号をラダープログラムの接点に入力して、HMI画面の表示用品の表示を確認している。マニュアルによるラダープログラムの解析では生産性が低く、人為的なミスを生じる等の問題がある。 In performing a communication interface between the HMI screen and the PLC, it is necessary to test whether communication is being performed appropriately. When conducting a connection test of the communication interface between the HMI screen and the PLC, using the engineering tool for the PLC, humans manually extract signals for operating the display products on the HMI screen by analyzing the ladder program. Then, the signal is input to the contact point of the ladder program, and the display of the display article on the HMI screen is confirmed. Manual ladder program analysis has problems such as low productivity and human error.
実施形態は、自動的に擬似出力信号を生成することによって、HMI画面とPLCとの間の通信インタフェースの試験を自動化し、生産性を向上させ、人為的なミスを低減するインタフェース試験装置を提供する。 Embodiments provide an interface test device that automatically generates a pseudo output signal to automatically test a communication interface between an HMI screen and a PLC, improve productivity, and reduce human error. To do.
実施形態に係るインタフェース試験装置は、ラダープログラムにしたがって処理するコントローラを含むプログラマブルロジックコントローラとの通信インタフェースを試験する。インタフェース試験装置は、前記ラダープログラムの接点に入力される第1信号を生成する擬似信号生成部と、前記第1信号を入力された前記ラダープログラムによって生成される第2信号を入力して、前記第2信号の状態を出力する画面出力部と、を備える。前記画面出力部は、前記第2信号が前記第1信号に応答して変化するか否かを出力する。 The interface test apparatus according to the embodiment tests a communication interface with a programmable logic controller including a controller that performs processing according to a ladder program. The interface test apparatus receives a pseudo signal generation unit that generates a first signal input to a contact point of the ladder program, and a second signal generated by the ladder program that receives the first signal, A screen output unit for outputting the state of the second signal. The screen output unit outputs whether the second signal changes in response to the first signal.
本実施形態では、ラダープログラムの出力信号を変化させる接点に入力する第1信号を生成する擬似出力信号生成部と、ラダープログラムから出力された第2信号を入力してその状態を表示する画面出力部を備えているので、第1信号の変化に応じてラダープログラムから出力される第2信号が変化するか否かをHMI画面上で確認することができる。したがって、HMI画面とPLCとの通信インタフェースが適切に行われているか否かを自動的に試験することができる。 In the present embodiment, a pseudo output signal generation unit that generates a first signal input to a contact that changes an output signal of the ladder program, and a screen output that displays the state of the second signal output from the ladder program. Since the second signal is provided, it can be confirmed on the HMI screen whether or not the second signal output from the ladder program changes in accordance with the change in the first signal. Therefore, it is possible to automatically test whether the communication interface between the HMI screen and the PLC is properly performed.
以下、図面を参照しつつ、本発明の実施形態について説明する。
なお、図面は模式的または概念的なものであり、各部分の厚みと幅との関係、部分間の大きさの比率などは、必ずしも現実のものと同一とは限らない。また、同じ部分を表す場合であっても、図面により互いの寸法や比率が異なって表される場合もある。
なお、本願明細書と各図において、既出の図に関して前述したものと同様の要素には、同一の符号を付して詳細な説明を適宜省略する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The drawings are schematic or conceptual, and the relationship between the thickness and width of each part, the size ratio between the parts, and the like are not necessarily the same as actual ones. Further, even when the same part is represented, the dimensions and ratios may be represented differently depending on the drawings.
In the present specification and drawings, the same elements as those described above with reference to the previous drawings are denoted by the same reference numerals, and detailed description thereof is omitted as appropriate.
(第1の実施形態)
図1は、本実施形態に係るインタフェース自動試験装置およびこれを用いた自動試験システムを例示するブロック図である。
図1に示すように、本実施形態のインタフェース自動試験システム1は、インタフェース自動試験装置10と、プログラマブルロジックコントローラ20と、を備える。インタフェース自動試験装置10は、通信ネットワーク40を介してゲートウェイサーバ50に接続されている。プログラマブルロジックコントローラ(Programmable Logic Controller、以下PLCという。)20は、専用の通信ネットワーク42を介してゲートウェイサーバ50に接続されている。つまり、インタフェース自動試験装置10と、PLC20とは、通信ネットワーク40,42を介して相互に接続されている。通信ネットワーク40は、たとえば汎用のイーサネット(登録商標)等である。専用の通信ネットワーク42は、たとえば産業用のイーサネット(登録商標)等である。ゲートウェイサーバは、異なる通信ネットワーク上の各ノードを相互に接続することを可能にする、たとえばHMIサーバである。なお、通信ネットワーク40,42は、有線であっても、無線であっても、これらが混在してもかまわない。また、通信ネットワーク40あるいは通信ネットワーク42という場合に、単独の通信ネットワークに限定されるものではなく、複数のネットワークによって構成されたネットワークであってもよい。
(First embodiment)
FIG. 1 is a block diagram illustrating an interface automatic test apparatus and an automatic test system using the same according to the present embodiment.
As shown in FIG. 1, the interface
インタフェース自動試験装置10は、擬似出力信号生成部11と、擬似出力信号出力部12と、HMI画面出力部13と、を含む。擬似出力信号生成部11は、用品リスト記憶部18に接続されている。用品リスト記憶部18は、たとえばインタフェース自動試験装置10の外部記憶装置である。用品リスト記憶部18は、通信ネットワーク40に接続されたデータベースサーバの記憶装置等であってもよい。用品リスト記憶部18に格納されている用品リスト18aは、HMI画面上で用いるために登録されている表示用品等のタグやそのタグの接続情報等を含むデータベースである。擬似出力信号生成部11は、用品リスト記憶部18に格納された用品リスト18aにもとづいて擬似出力信号を生成する。生成された擬似出力信号は、擬似出力信号生成部11に接続された擬似出力信号出力部12によって、通信ネットワーク40を介してPLC20に供給される。
The interface
HMI画面出力部13は、擬似出力信号出力部12に接続されている。HMI画面出力部13は、通信ネットワーク40,42を介してラダープログラム24の出力信号を受信する。HMI画面出力部13は、擬似出力信号出力部12から出力される擬似出力信号およびラダープログラムの出力信号を、たとえば出力インタフェース部14に供給し、これらの信号を出力インタフェース部14を介してディスプレイ等に表示する。
The HMI
インタフェース自動試験装置10は、たとえばコンピュータ端末等の情報処理装置である。インタフェース自動試験装置10は、図示しないが、キーボードやマウス等の入力装置のための入力インタフェース部を含んでいる。たとえば、擬似出力信号生成部11、擬似出力信号出力部12およびHMI画面出力部13は、情報処理装置のCPU(Central Processing Unit)によって実行されるプログラムであってもよい。この場合には、プログラムは、図示しない記憶装置に格納されており、プログラムの各ステップに応じて、処理を実行する。
The interface
PLC20は、コントローラ22と、入力モジュール26a,26bと、出力モジュール28a,28bと、を含む。コントローラ22、入力モジュール26a,26bおよび出力モジュール28a,28bは、たとえば専用の通信ネットワーク42にそれぞれ接続される。コントローラ22は、記憶部23に接続されている。記憶部23には、ラダープログラム24格納されている。コントローラ22は、入力モジュール26a,26bのデータを、ラダープログラム24の手順にしたがって処理し、結果を出力モジュール28a,28bに出力する。なお、記憶部23は、通信ネットワーク42を介してコントローラ22と接続されるようにしてもよい。
The
入力モジュール26a,26bには、それぞれ入力機器32a,32bが接続される。入力機器32a,32bは、たとえば温度センサや近接センサ等を含む。入力モジュール26a,26bは、これら各種センサ等の入力機器32a,32bからデータを取得し、所定の形式に変換して、変換されたデータをコントローラ22に送信する。入力モジュール26a,26bでは、たとえばセンサにより取得したアナログデータをデジタルデータに変換し、デジタルデータが所定のしきい値以上のときに“1”を出力し、デジタルデータが所定のしきい値よりも小さいときに“0”を出力する。
出力モジュール28a,28bには、それぞれ出力機器34a,34bが接続される。出力機器34a,34bは、たとえばランプ、リレー、各種アクチュエータ等が含まれる。出力モジュール28a,28bは、これら出力機器34a,34bに適切な電流を供給し、あるいは適切な電圧を印加して所望の結果を得る。
本実施形態のインタフェース自動試験システム1では、入力モジュール26a,26bおよび出力モジュール28a,28bは、コントローラ22から切断された状態で動作するため、図1では破線によって示している。
In the interface
本実施形態のインタフェース自動試験装置の動作について説明する。
図2は、インタフェース自動試験システムにおけるラダープログラムの例である。
図3は、本実施形態のインタフェース自動試験装置における画面表示例である。
図4は、本実施形態のインタフェース自動試験装置の動作を説明するためのフローチャートである。
本実施形態のインタフェース自動試験装置10では、PLC20のコントローラ22で動作する試験用のラダープログラム24に応じた擬似出力信号を生成する。インタフェース自動試験装置10は、生成された擬似出力信号を試験用のラダープログラム24の各接点に入力して、ラダープログラム24の応答をコントローラ22から出力される試験信号として検出する。なお、試験用のラダープログラム24は、PLC1の動作用のラダープログラムと別に作成されて、記憶部23に格納されていてもよく、動作用のラダープログラムと一体として、あるいは動作用のラダープログラムのモジュールの一部として作成されていてもよい。
The operation of the interface automatic test apparatus of this embodiment will be described.
FIG. 2 is an example of a ladder program in the interface automatic test system.
FIG. 3 is a screen display example in the interface automatic test apparatus of the present embodiment.
FIG. 4 is a flowchart for explaining the operation of the interface automatic test apparatus of this embodiment.
In the interface
図2に示す試験用のラダープログラム24の例では、ラダープログラム24は、接点Aを含んでおり、接点Aの状態によって出力信号Xの状態が決定される。接点Aは、たとえばスイッチ(入力機器)32aである。Xは、たとえばランプ(出力機器)34aである。本実施形態のインタフェース自動試験装置10では、スイッチ32aの状態に応じて、ランプ34aが点灯するか否かを、ラダープログラム24の動作によって擬似的に試験する。
In the example of the
本実施形態のインタフェース自動試験装置10では、HMI画面出力部13の出力に応じて、たとえばディスプレイにHMI画面60を表示する。図3に示すように、この例では、HMI画面60上に表示用品61,62,63が表示されている。表示用品61,62,63は、たとえばランプである。これら表示用品61,62,63には、擬似出力信号生成部11で生成された擬似出力信号に応じて、ラダープログラム24から出力された出力信号X,Y,Zの状態が表示される。なお、HMI画面には、表示用品のほか、他の部品をたとえばアイコンで表現して表示することもできる。
In the interface
図2のラダープログラムの場合に、表示用品61であるランプを点灯させるためには、接点Aであるスイッチ32aを閉じればよい。つまり、擬似出力信号として、接点Aに対するオンオフの信号を生成することによって、表示用品61を点灯し、消灯させることができる。接点Aをオンしたときに、表示用品61であるランプが点灯したときには、HMI画面60とPLC20との通信インタフェースはとれていると判定することができる。
In the case of the ladder program of FIG. 2, the
図4のフローチャートを用いて、本実施形態のインタフェース自動試験装置10の一連の動作を説明する。
ステップS1において、擬似出力信号生成部11は、擬似出力信号を生成する。擬似出力信号は、用品リスト18aから表示用品等のタグの情報を抽出することによって生成される。図2の例では、ランプ34aを表す出力信号のタグを抽出して、擬似出力信号は、これをオンオフさせる信号とする。
A series of operations of the interface
In step S1, the pseudo output
ステップS2において、擬似出力信号出力部12は、擬似出力信号生成部11によって生成された擬似出力信号をPLC20へ送信するために通信ネットワーク40に出力する。
In step S <b> 2, the pseudo output
ステップS3において、擬似出力信号出力部12は、擬似出力信号を通信ネットワーク40,42を介してコントローラ22に供給する。コントローラ22は、擬似出力信号を受信する。
In step S <b> 3, the pseudo output
ステップS4において、コントローラ22は、擬似出力信号を試験用のラダープログラム24の接点に入力する。図2の例では、擬似出力信号は、接点Aに入力される。
In step S4, the
ステップS5において、コントローラ22は、ラダープログラム24から出力信号を出力する。図2の例では、出力される出力信号はXである。
In step S <b> 5, the
ステップS6において、HMI画面出力部13は、コントローラ22から出力された出力信号Xを受信する。
In step S <b> 6, the HMI
ステップS7において、HMI画面出力部13は、出力信号Xに応じた表示用品61の状態を表示する(図3)。
In step S7, the HMI
ステップS8において、出力インタフェース部14を介してディスプレイに表示された表示用品61の状態を、人間の目で確認する。擬似出力信号の変化によって、表示用品61の状態が変化(点灯または消灯)したときには、通信インタフェース試験は合格と判定され、擬似出力信号の変化によって表示用品61が変化しないときには、試験不合格と判定される。
In step S8, the state of the
このようにして、インタフェース自動試験装置10では、PLC20の出力信号に関するタグのデータを用品リスト18aから抽出して、その接点に入力する擬似出力信号を生成し、その応答が適切であるか否かを表示する。抽出されるタグのデータは、そのタグの接点に入力される擬似出力信号が、“1”のときに出力信号が“1”になり、擬似出力信号が、“0”のときに出力信号が“0”になる場合に限らず、その逆であってももちろんよい。
In this way, the interface
本実施形態のインタフェース自動試験装置10の作用および効果について説明する。
本実施形態のインタフェース自動試験装置10では、PLC20の出力信号に関するタグのデータを抽出して、そのタグの接点に入力する擬似出力信号を生成し、PLC20がその擬似出力信号に応答して変化することによって、通信インタフェースの動作の可否を判定することができる。つまり、擬似出力信号の生成およびPLC20への送信を自動で行うことができる。そのため、ラダープログラム24を解析しながら入力すべき接点をマニュアルで探すよりも効率よく作業を進めることができる。したがって、HMI画面60とPLC20との間の通信インタフェースの試験を自動化することによって、生産性を向上させることができる。適切な接点の抽出を自動的に行うことができるので、人為的なミスが発生しにくくなり、システムの信頼性を向上させることができる。
The operation and effect of the interface
In the interface
(第2の実施形態)
図5は、本実施形態に係るインタフェース自動試験装置を例示するブロック図である。
上述の実施形態の場合では、すべての表示用品が正常に動作するか否かをHMI画面60上で検査をすることができるが、どの表示用品がどの擬似出力信号によって動作しているか否かを合わせて検査することができることが望ましい。本実施形態のインタフェース自動試験装置10aでは、擬似出力信号、表示用品、およびその表示用品を動作させる出力信号を関連付けることによって、信号と表示との関連性を明確にする。
(Second Embodiment)
FIG. 5 is a block diagram illustrating an interface automatic test apparatus according to this embodiment.
In the case of the above-described embodiment, it is possible to check on the
図5に示すように、本実施形態のインタフェース自動試験装置10aは、変数名設定部15をさらに含む。変数名設定部15は、用品リスト記憶部18に接続されている。変数名設定部15では、試験用のラダープログラムを含め、PLC1上で動作するラダープログラムで用いられているすべてのタグの変数名が設定されている。本実施形態のインタフェース自動試験装置10aでは、試験用のラダープログラム24のスイッチ32a,32bの変数名は、ランプ34a,34bの変数名10X,11Xとそれぞれ関連付けられるように設定されている。この例では、スイッチ32a,32bの変数名は、それぞれ10A,11Aに設定される。つまり、変数名設定部15によって、擬似出力信号の変数名および接点の変数名は、出力信号の変数名に関連付けられている。このように、擬似出力信号の変数名および接点の変数名を出力信号の変数名に関連付けることによって、どの接点に入力される擬似出力信号によって、どの出力信号が応答しているか否かを判定することができる。
As shown in FIG. 5, the interface
本実施形態のインタフェース自動試験装置10aの動作について説明する。
図6は、本実施形態のインタフェース自動試験システムにおけるラダープログラムの例である。
図7は、本実施形態のインタフェース自動試験装置における画面表示例である。
図8は、本実施形態のインタフェース自動試験装置の動作を説明するためのフローチャートである。
図6に示すように、ラダープログラム24aは、スイッチ(入力機器)32aを含み、スイッチ32aによって出力されるランプ(出力機器)34aを含む。ラダープログラム24aは、ランプ34aの出力信号を出力した後、さらに処理を行う。すなわち、ラダープログラム24aは、スイッチ(入力機器)32bを含んでおり、スイッチ32bによって制御されるランプ(出力機器)34bを含んでいる。
The operation of the interface
FIG. 6 is an example of a ladder program in the interface automatic test system of this embodiment.
FIG. 7 is a screen display example in the interface automatic test apparatus of this embodiment.
FIG. 8 is a flowchart for explaining the operation of the interface automatic test apparatus of this embodiment.
As shown in FIG. 6, the
ここで、変数名設定部15は、ランプ34aに対応する出力信号について、変数名10Xを割り当てる。出力信号10Xに関連するスイッチ32aについて、変数名10Aを割り当てる。変数名設定部15は、ランプ34bに対応する出力信号について、変数名11Xを割り当てる。出力信号11Xに関連するスイッチ32bについて、変数名11Aを割り当てる。つまり、変数名設定部15では、変数名の上位2ケタによって、出力信号ごとに各接点(スイッチ)を関連付ける。出力信号との関連付けの方法には、ケタ数を変える場合等他の方法を用いてももちろんよい。
Here, the variable
本実施形態のインタフェース自動試験装置10aでは、擬似出力信号生成部11によって生成された擬似出力信号は、変数名設定部15において、出力信号ごとの変数名に関連付けられる。
In the interface
図7に示すように、本実施形態のインタフェース自動試験装置10aでは、HMI画面出力部13は、出力信号ごとに関連付けられた表示用品を出力する。たとえば、出力信号10Xに対応するランプ34aである表示用品67は、出力信号10Xに関連付けられているスイッチ10A(表示用品64)を切り替えることによって、点灯状態を切り替えることができる。出力信号11Xに対応するランプ34bである表示用品69は、出力信号11Xに関連付けられているスイッチ11A(表示用品68)を切り替えることによって、点灯状態を切り替えることができる。
As shown in FIG. 7, in the interface
図8のフローチャートを用いて、本実施形態のインタフェース自動試験装置10aの一連の動作について説明する。
ステップS1では、上述の実施形態の場合と同様に動作する。
A series of operations of the interface
In step S1, the operation is the same as in the above-described embodiment.
ステップS1aにおいて、変数名設定部15は、出力信号ごとに接点および擬似出力信号の関連付けを行う。
In step S1a, the variable
ステップS2において、擬似出力信号出力部12は、出力信号に関連付けられた擬似出力信号をPLCに送信するために通信ネットワーク40に出力する。
In step S2, the pseudo output
以降のステップS3〜S8は、第1の実施形態の場合と同様に動作する。 Subsequent steps S3 to S8 operate in the same manner as in the first embodiment.
本実施形態のインタフェース自動試験装置10aの作用および効果について説明する。
本実施形態のインタフェース自動試験装置10aでは、出力信号ごとに、接点および擬似出力信号の関連付けを行うので、どの接点に対する擬似出力信号によって出力信号が変換しているのかHMI画面60a上で判断することができる。したがって、より複雑なラダープログラムが組まれているときであっても、効率的に試験を進めることができる。また、インタフェース試験に用いた擬似出力信号と、ラダープログラムから出力された出力信号との関係を明瞭に表示することができるので、問題発生時の解析を容易にすることができる。
The operation and effect of the interface
In the interface
(第3の実施形態)
図9は、本実施形態に係るインタフェース自動試験装置を例示するブロック図である。
上述の実施形態の場合には、HMI画面60,60a上で表示用品が変化することを、人間が目視によって判断している。人的判断をさらに自動化することができる。
図9に示すように、本実施形態のインタフェース自動試験装置10bは、画面判定部16をさらに含む。画面判定部16は、HMI画面出力部13の出力に接続されている。画面判定部16は、HMI画面出力部13の初期画面データと、擬似出力信号によってHMI画面の操作が行われた後の画面データとを比較して、相違点があるときには、相違点を検出した座標を計算し、その座標に対応する表示用品を特定する。特定された表示用品が操作対象の表示用品である場合には、試験合格であり、相違点が検出されない場合や、特定された表示用品が操作対象の表示用品ではないときには、試験不合格とする。
(Third embodiment)
FIG. 9 is a block diagram illustrating an interface automatic test apparatus according to this embodiment.
In the case of the above-described embodiment, a human determines visually that the display article changes on the HMI screens 60 and 60a. Human judgment can be further automated.
As shown in FIG. 9, the interface
図10は、本実施形態のインタフェース自動試験装置の動作を説明するためのフローチャートである。
図11は、画面判定部の動作を説明するためのフローチャートである。
図10を用いて、本実施形態のインタフェース自動試験装置10bの一連の動作について説明する。
ステップS1〜S7においては、上述の実施形態の場合と同様である。
FIG. 10 is a flowchart for explaining the operation of the interface automatic test apparatus of this embodiment.
FIG. 11 is a flowchart for explaining the operation of the screen determination unit.
A series of operations of the interface
Steps S1 to S7 are the same as those in the above-described embodiment.
ステップS8aにおいて、画面判定部16は、HMI画面出力部13の初期画面データと、擬似出力信号によって出力信号の操作を行った後の画面データとの画面比較を行い、差分データから適切な相違を検出することによって試験の合否判定を行う。
In step S8a, the
画面判定部16の動作について、図11を用いて説明する。
ステップS11において、画面判定部16は、HMI画面出力部13の初期画面データを取得し、擬似出力信号によって出力信号の操作を行った後の画面データを取得する。画面判定部16は、取得されたそれぞれの画面データを比較して、差分データを生成する。なお、画面データの取得、比較等については、周知の画像認識プログラム等を用いることができる。
The operation of the
In step S11, the
ステップS12において、画面判定部16は、生成された差分データから位置座標を抽出してテキストデータに変換する。
In step S12, the
ステップS13において、画面判定部16は、ステップS12で抽出された位置座標のテキストデータを、HMI画面の初期画面データにもとづいて生成された位置座標のテキストデータと比較する。画面判定部16は、比較の結果、初期の位置座標が擬似出力信号によって操作された表示用品の位置座標と一致するか否かを判定して、結果を出力する。比較の結果、表示用品の位置座標と一致した場合には、試験合格とし、表示用品の位置座標と一致しない場合には試験不合格とする。
In step S13, the
本実施形態のインタフェース自動試験装置10bの作用および効果について説明する。
本実施形態のインタフェース自動試験装置10bでは、画面判定部16を有するので、HMI画面上に生じた、擬似出力信号による操作結果を自動的に判定することができる。したがって、試験工程の省力化が可能になり、生産性の向上をはかることができるとともに、合否判定に人為的判断が入らないので、より客観的な結果を得ることができる。
The operation and effect of the interface
Since the interface
(第4の実施形態)
図12は、本実施形態に係るインタフェース自動試験システムを例示するブロック図である。
上述したインタフェース自動試験装置10〜10bおよびPLC20は、通信ネットワーク40,42上に接続されて、互いにデータの交換を行うことにより、自動的にインタフェース試験を行うことを可能にする。通信ネットワーク40,42は、上述したとおり、一般的に用いられているイーサネット(登録商標)等のネットワークシステムを用いることができるので、複数のインタフェース自動試験装置および複数のPLC20を通信ネットワーク40,42に接続することができる。
図12に示すように、本実施形態のインタフェース自動試験システム101は、複数のインタフェース自動試験装置10,…,10と、複数のPLC20,…,20と、を備える。インタフェース自動試験装置10,…,10は、上述した各実施形態のインタフェース自動試験装置であり、すべて同一のものでもよく、異なる装置であってもよい。PLC20,…,20は、上述したPLCであり、すべて同一の構成に限らず、さまざまな構成のものであってもよい。
(Fourth embodiment)
FIG. 12 is a block diagram illustrating an interface automatic test system according to this embodiment.
The interface
As shown in FIG. 12, the interface
インタフェース自動試験装置10は、通信ネットワーク40,42を介してPLC20と接続され、たとえば通信に用いるパケットのIDによって、互いを識別し、認識することができる。したがって、通信ネットワーク40,42に接続された複数のインタフェース自動試験装置10,…,10は、それぞれ異なるPLC20,…,20に接続することもできるし、1つのインタフェース自動試験装置によって、複数のPLCに接続することもできる。あるいは、複数のインタフェース自動試験装置によって、1つのPLCに接続することもできる。
The interface
以上説明した実施形態によれば、HMI画面とPLCとの通信インタフェースを自動的に試験することができるインタフェース自動試験装置およびインタフェース自動試験システムを実現することができる。 According to the embodiment described above, an interface automatic test apparatus and an interface automatic test system that can automatically test the communication interface between the HMI screen and the PLC can be realized.
以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他のさまざまな形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明およびその等価物の範囲に含まれる。また、前述の各実施形態は、相互に組み合わせて実施することができる。 As mentioned above, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the scope of the invention described in the claims and the equivalents thereof. Further, the above-described embodiments can be implemented in combination with each other.
1 インタフェース自動試験システム、10,10a,10b インタフェース自動試験装置、11 擬似出力信号生成部、12 擬似出力信号出力部、13 HMI画面出力部、14 出力インタフェース部、15 変数名設定部、16 画面判定部、18 用品リスト記憶部、18a 用品リスト、20 PLC、22 コントローラ、23 記憶部、24 ラダープログラム、26a,26b 入力モジュール、28a,28b 出力モジュール、32a,32b 入力機器、34a,34b 出力機器、40,42 通信ネットワーク、50 ゲートウェイサーバ、60,60a HMI画面、61〜69 表示用品、101 インタフェース自動試験システム
DESCRIPTION OF
Claims (5)
前記ラダープログラムの接点に入力される第1信号を生成する擬似信号生成部と、
前記第1信号を入力された前記ラダープログラムによって生成される第2信号を入力して、前記第2信号の状態を出力する画面出力部と、
を備え、
前記画面出力部は、前記第2信号が前記第1信号に応答して変化するか否かを出力するインタフェース試験装置。 An interface test apparatus for testing a communication interface with a programmable logic controller including a controller that processes according to a ladder program,
A pseudo signal generator for generating a first signal input to the contact point of the ladder program;
A screen output unit that inputs a second signal generated by the ladder program that has received the first signal and outputs a state of the second signal;
With
The interface test apparatus, wherein the screen output unit outputs whether or not the second signal changes in response to the first signal.
通信インタフェースを試験するための試験用ラダープログラムの接点に入力する第1信号を生成する擬似信号生成部と、前記第1信号を入力された前記試験用ラダープログラムによって生成される第2信号を入力して前記第2信号の状態を出力する画面出力部と、を含むインタフェース試験装置と、
前記プログラマブルロジックコントローラと、前記インタフェース試験装置とを接続する通信ネットワークと、
を備え、
前記第2信号は、前記第1信号に応答して変化するインタフェース試験システム。 The input signal supplied from the input module that generates the input signal based on the signal from the input device is input, processed according to the ladder program, and the output signal supplied to the output module for operating the output device is generated. A programmable logic controller including a controller to
A pseudo signal generator for generating a first signal to be input to a contact point of a test ladder program for testing a communication interface, and a second signal generated by the test ladder program to which the first signal is input And a screen output unit that outputs the state of the second signal,
A communication network connecting the programmable logic controller and the interface test device;
With
The interface test system, wherein the second signal changes in response to the first signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016007794A JP6551937B2 (en) | 2016-01-19 | 2016-01-19 | Interface test apparatus and interface test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016007794A JP6551937B2 (en) | 2016-01-19 | 2016-01-19 | Interface test apparatus and interface test system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017129957A true JP2017129957A (en) | 2017-07-27 |
JP6551937B2 JP6551937B2 (en) | 2019-07-31 |
Family
ID=59396685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016007794A Active JP6551937B2 (en) | 2016-01-19 | 2016-01-19 | Interface test apparatus and interface test system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6551937B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445373A (en) * | 2018-12-10 | 2019-03-08 | 武汉钢铁有限公司 | The device and its detection method of emulation detection PLC module |
KR102282850B1 (en) * | 2020-04-24 | 2021-07-27 | 주식회사 포스코아이씨티 | System for Evaluating Communication Performance Between Soft PLC and IO Device Using Robot Process Automation |
WO2024013922A1 (en) * | 2022-07-14 | 2024-01-18 | ファナック株式会社 | Display support equipment and control equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08305418A (en) * | 1995-04-28 | 1996-11-22 | Omron Corp | Device and method for debugging sequence program |
JP2000276212A (en) * | 1999-03-23 | 2000-10-06 | Digital Electronics Corp | System and method for simulating control program for industrial controller and recording medium recording software therefor |
JP2003162318A (en) * | 2001-11-26 | 2003-06-06 | Toshiba Corp | Plant controlling system |
JP2005251016A (en) * | 2004-03-05 | 2005-09-15 | Digital Electronics Corp | Control system, and display and controller for constituting the same |
JP2006004035A (en) * | 2004-06-16 | 2006-01-05 | Digital Electronics Corp | Control system, portable terminal, program, and recording medium with the program recorded thereon |
JP2009290852A (en) * | 2008-04-30 | 2009-12-10 | Japan Novel Corp | Function checking apparatus for equipment and device |
WO2010125793A1 (en) * | 2009-04-28 | 2010-11-04 | 株式会社アドバンテスト | Testing apparatus and testing method |
JP2011081661A (en) * | 2009-10-08 | 2011-04-21 | Toshiba Mitsubishi-Electric Industrial System Corp | Testing device |
KR20130079046A (en) * | 2012-01-02 | 2013-07-10 | 엘에스산전 주식회사 | A simulation system of communication between hmi simulator and plc simulator |
-
2016
- 2016-01-19 JP JP2016007794A patent/JP6551937B2/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08305418A (en) * | 1995-04-28 | 1996-11-22 | Omron Corp | Device and method for debugging sequence program |
JP2000276212A (en) * | 1999-03-23 | 2000-10-06 | Digital Electronics Corp | System and method for simulating control program for industrial controller and recording medium recording software therefor |
JP2003162318A (en) * | 2001-11-26 | 2003-06-06 | Toshiba Corp | Plant controlling system |
JP2005251016A (en) * | 2004-03-05 | 2005-09-15 | Digital Electronics Corp | Control system, and display and controller for constituting the same |
JP2006004035A (en) * | 2004-06-16 | 2006-01-05 | Digital Electronics Corp | Control system, portable terminal, program, and recording medium with the program recorded thereon |
JP2009290852A (en) * | 2008-04-30 | 2009-12-10 | Japan Novel Corp | Function checking apparatus for equipment and device |
WO2010125793A1 (en) * | 2009-04-28 | 2010-11-04 | 株式会社アドバンテスト | Testing apparatus and testing method |
JP2011081661A (en) * | 2009-10-08 | 2011-04-21 | Toshiba Mitsubishi-Electric Industrial System Corp | Testing device |
KR20130079046A (en) * | 2012-01-02 | 2013-07-10 | 엘에스산전 주식회사 | A simulation system of communication between hmi simulator and plc simulator |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445373A (en) * | 2018-12-10 | 2019-03-08 | 武汉钢铁有限公司 | The device and its detection method of emulation detection PLC module |
KR102282850B1 (en) * | 2020-04-24 | 2021-07-27 | 주식회사 포스코아이씨티 | System for Evaluating Communication Performance Between Soft PLC and IO Device Using Robot Process Automation |
WO2024013922A1 (en) * | 2022-07-14 | 2024-01-18 | ファナック株式会社 | Display support equipment and control equipment |
Also Published As
Publication number | Publication date |
---|---|
JP6551937B2 (en) | 2019-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11500349B2 (en) | Method for parameterizing an automation field device | |
JP6551937B2 (en) | Interface test apparatus and interface test system | |
EP3385797A1 (en) | Monitoring device, monitoring system, monitoring program and recording medium | |
CN104266671A (en) | Automobile instrument driving information automatic testing system based on CAN bus and vision detection | |
US9632496B2 (en) | Engineering apparatus which associates programmable logic controller data with human machine interface data | |
US20170147427A1 (en) | System and method for software simulation for testing a safety manager platform | |
EP3355142A1 (en) | Device, program, and method for creating monitoring image | |
Costa et al. | Empowering humans in a cyber-physical production system: human-in-the-loop perspective | |
US11625147B2 (en) | Automation management interface with multiple asset display | |
CN103838213B (en) | A kind of information cooperative monitoring system | |
US11009848B2 (en) | Scalable intelligent query-based interface to navigate and find industrial information on a visual interface | |
JP2021111234A (en) | Display device, display method, and display program | |
JP2017107467A (en) | Engineering tool | |
EP3046061B1 (en) | Method of obtaining at least one operating parameter of an electrical substation component | |
JP2021018586A (en) | Simulated process controller | |
JP2018180094A (en) | Hmi screen testing device | |
US20220147005A1 (en) | Combinatorics of digital output data for autonomous determination of process cycles and of individual process steps | |
JP2017130139A (en) | Interface test system | |
JP6821271B2 (en) | Verification device | |
US10090705B2 (en) | Plant facilities testing apparatus | |
US20180095435A1 (en) | Systems and methods for rapid industrial network troubleshooting for automation systems | |
US20170373875A1 (en) | Point-to-point checkout automation | |
KR20120035794A (en) | System for testing applying an electric current of electric device and method for testing therof | |
KR101744942B1 (en) | Handy terminal for electronic protection relay/meter | |
KR101744285B1 (en) | Performance simulation system and system of parallel operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181119 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190117 |
|
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: 20190626 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190626 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6551937 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |