JP2011065436A - Program preparation support apparatus and method - Google Patents
Program preparation support apparatus and method Download PDFInfo
- Publication number
- JP2011065436A JP2011065436A JP2009215707A JP2009215707A JP2011065436A JP 2011065436 A JP2011065436 A JP 2011065436A JP 2009215707 A JP2009215707 A JP 2009215707A JP 2009215707 A JP2009215707 A JP 2009215707A JP 2011065436 A JP2011065436 A JP 2011065436A
- Authority
- JP
- Japan
- Prior art keywords
- input
- signal
- virtual
- output signal
- actual
- 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
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000012937 correction Methods 0.000 claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims abstract description 11
- 238000001514 detection method Methods 0.000 claims abstract description 10
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
- Programmable Controllers (AREA)
Abstract
Description
本発明は、プログラマブルコントローラに実装される制御プログラムのプログラム作成支援装置及び方法に関する。 The present invention relates to a program creation support apparatus and method for a control program mounted on a programmable controller.
従来、プラントエンジニアリング業務では、プラント内に配置されたプラント機器を制御するために、プログラマブルコントローラを使用する。オペレータの指示に基づいて、プラント機器の操作指令信号は入力信号としてプログラマブルコントローラに入力される。プラント機器を制御する制御信号はプログラマブルコントローラからの出力信号としてプラント機器に出力される。入力信号及び出力信号は、プログラマブルコントローラに実装される入出力カードに割付情報として割り付けられる。割付情報は、展開接続図といわれるドキュメントに記載される。また、ネットワーク等の伝送路を通してプログラマブルコントローラ及びプラント機器の間で入出力される信号については、伝送リスト等のドキュメントに記載される。これらのドキュメントには、各信号の用途を示す信号コメントと共に、プログラマブルコントローラがこれらの信号を認識できるように予め定められた規則に従って割り付けられたプラント機器のアドレス情報も記載されている。入出力信号の信号コメント及びアドレス情報は、制御対象プラントを構成するプラント機器の種類、プラント内におけるプラント機器の配置、プラントが生産する製品、プラント機器を制御するプログラマブルコントローラの違いにより、制御対象プラント毎に異なる。そこで、プログラマブルコントローラに実装する制御プログラムを作成するプログラマは、展開接続図及び伝送リスト等のドキュメントを参照することにより、制御プログラム内で使用する入出力信号の信号コメント及びアドレス情報を把握した上で制御プログラムを作成する必要がある。 Conventionally, in a plant engineering business, a programmable controller is used to control plant equipment arranged in a plant. Based on an operator instruction, an operation command signal for the plant equipment is input to the programmable controller as an input signal. A control signal for controlling the plant equipment is output to the plant equipment as an output signal from the programmable controller. The input signal and the output signal are allocated as allocation information to an input / output card mounted on the programmable controller. The allocation information is described in a document called a development connection diagram. Signals input / output between the programmable controller and the plant equipment through a transmission line such as a network are described in a document such as a transmission list. These documents also include address information of plant equipment assigned according to a predetermined rule so that the programmable controller can recognize these signals, together with signal comments indicating the use of each signal. The signal comments and address information of the input / output signals depend on the type of plant equipment that constitutes the control target plant, the arrangement of the plant equipment in the plant, the products produced by the plant, and the difference between the programmable controllers that control the plant equipment. Different for each. Therefore, a programmer who creates a control program to be mounted on a programmable controller grasps signal comments and address information of input / output signals used in the control program by referring to documents such as an expanded connection diagram and a transmission list. You need to create a control program.
このように、制御プログラムの作成は、プログラマに対して高度なスキルを要求するため、文法的な誤りをはじめ、機器が目標とする仕様通りに動作しないなどのバグを含む。制御対象プラント機器が多い場合は、制御プログラムの大きさも膨大となり、プログラムの修正を行うのも非常に困難である。 As described above, the creation of the control program requires a high level of skill from the programmer, and thus includes bugs such as a grammatical error and the fact that the device does not operate according to the target specification. When there are many plant devices to be controlled, the size of the control program becomes enormous and it is very difficult to modify the program.
そこで、制御プログラムの実行状況、実行結果を必要に応じて出力し、プログラムバグの存在する箇所の特定を容易にするプログラマブルコントローラのデバッグツールが提案されている、(例えば、特許文献1参照)。しかし、複雑な修正を必要とする場合には、修正作業に膨大な時間的な負担が強いられる。また、大規模プラントでは、作成する制御プログラムの量が多くなるため、複数のプログラマが分担して作成作業を実施する。この場合、複数の制御プログラムそれぞれにおいてプログラマブルコントローラの入出力信号の整合性が取れるように予め規定する必要があるという問題がある。さらに、新たな制御プログラム作成時において、過去に作成された制御プログラムを流用する場合、流用元制御プログラムで使用されている入出力信号の信号コメント及びアドレス情報は、流用元制御プログラムが制御対象としたプラント機器等のものであるため、プログラマは流用元制御プログラムの信号コメント及びアドレス情報等を、新たな制御プログラムが制御対象とするプラント機器等の信号コメント及びアドレス情報等に手作業で置き換えなければならないという問題もある。またさらに、制御プログラムが含む、信号の用途を明示するために入出力信号へ付与される信号コメントは、プラント内に配置されたプラント機器の呼称が記載される。プラント機器の呼称は、オペレータの習慣等によって各プラント毎で異なる場合が多い。制御プログラムのメインテナンスのためには、プログラマブルコントローラが制御対象とするプラント機器の配置されたプラントで適用されているプラント機器の呼称を使用して制御プログラムは作成されなければならないという問題もある。 Thus, a debugging tool for a programmable controller has been proposed that outputs the control program execution status and execution result as necessary, and makes it easy to identify a location where a program bug exists (see, for example, Patent Document 1). However, when a complicated correction is required, a huge time burden is imposed on the correction work. In a large-scale plant, since the amount of control programs to be created increases, a plurality of programmers share the creation work. In this case, there is a problem that it is necessary to preliminarily define the input / output signals of the programmable controller in each of the plurality of control programs. In addition, when diverting a control program created in the past when creating a new control program, the diversion source control program sets the signal comments and address information of the input / output signals used in the diversion source control program as control targets. Therefore, the programmer must manually replace the signal comment and address information of the diversion source control program with the signal comment and address information of the plant equipment to be controlled by the new control program. There is also the problem of having to. Still further, in the signal comment included in the control program and given to the input / output signal in order to clearly indicate the use of the signal, the name of the plant equipment arranged in the plant is described. The names of plant equipment are often different for each plant depending on the habits of the operator. For maintenance of the control program, there is also a problem that the control program must be created using the name of the plant equipment applied in the plant where the plant equipment to be controlled by the programmable controller is arranged.
上記問題点を鑑み、本発明は、プログラマブルコントローラが制御対象とするプラント機器に対する実在の入出力信号を認識せずに制御プログラムの作成を促すプログラム作成支援装置及び方法を提供することを目的とする。 In view of the above problems, an object of the present invention is to provide a program creation support apparatus and method that prompts creation of a control program without recognizing an actual input / output signal for a plant device to be controlled by a programmable controller. .
上記目的を達成するために、本発明の第一の様態は、プラント機器を制御するプログラムの作成を支援するプログラム作成支援装置に関する。すなわち、プログラム作成支援装置は、プログラムが含む、プラント機器を制御する仮想信号を取得する仮想信号取得部と、プラント機器を正常に制御する実信号を取得する実信号取得部と、仮想信号及び実信号をの整合性を検証する整合部と、仮想信号及び実信号が不整合であるとき、仮想信号を実信号と整合するように修正し、修正した仮想信号に対応するようにプログラムを修正する修正部と、仮想信号及び実信号の対応を示す整合情報を検出する検出部と、整合情報に基づいて、プログラムの仮想信号を実信号に置換する変換部とを備えること要旨とする。 In order to achieve the above object, a first aspect of the present invention relates to a program creation support apparatus that supports creation of a program for controlling plant equipment. That is, the program creation support device includes a virtual signal acquisition unit that acquires a virtual signal that controls the plant equipment, a real signal acquisition unit that acquires a real signal that normally controls the plant equipment, a virtual signal and an actual When the matching unit for verifying the consistency of the signal and the virtual signal and the real signal are mismatched, the virtual signal is corrected to match the real signal, and the program is corrected to correspond to the corrected virtual signal. The gist is to include a correction unit, a detection unit that detects matching information indicating correspondence between the virtual signal and the real signal, and a conversion unit that replaces the virtual signal of the program with the real signal based on the matching information.
また、本発明の第二の様態は、プラント機器を制御するプログラマブルコントローラに実装された制御プログラムをデバッグするプログラム作成支援装置に関する。すなわち、プログラム作成支援装置は、制御プログラムが含む、仮想的に想定したプラント機器を制御する入出力信号である仮想入出力信号において、複数の仮想入出力信号を取得する仮想信号取得部と、プラント機器を制御する入出力信号である実入出力信号において、複数のプラント機器にそれぞれ対応した複数の実入出力信号を取得する実信号取得部と、記複数の仮想入出力信号と複数の実入出力信号との整合性を検証する整合部と、仮想入出力信号と実入出力信号との間で不整合が生じた際、整合するように仮想入出力信号を修正し、修正した仮想入出力信号に対応するように制御プログラムを修正する修正部と、仮想入出力信号と実入出力信号との間で整合が完了後、仮想入出力信号と実入出力信号との対応関係を示す整合情報を検出する検出部と、整合情報に基づいて、制御プログラムが含む仮想入出力信号を実入力信号に変換する変換部とを備えることを要旨とする。 Moreover, the 2nd aspect of this invention is related with the program creation assistance apparatus which debugs the control program mounted in the programmable controller which controls plant equipment. That is, the program creation support apparatus includes a virtual signal acquisition unit that acquires a plurality of virtual input / output signals in a virtual input / output signal that is an input / output signal that controls a virtually assumed plant device included in the control program, and a plant In the actual input / output signal that is the input / output signal that controls the equipment, the actual signal acquisition unit that acquires the plurality of actual input / output signals respectively corresponding to the plurality of plant equipment, the plurality of virtual input / output signals and the plurality of actual inputs When a mismatch occurs between the matching unit that verifies the consistency with the output signal and the virtual input / output signal and the actual input / output signal, the virtual input / output signal is corrected so that it matches, and the corrected virtual input / output The correction unit that corrects the control program to correspond to the signal, and the matching information indicating the correspondence between the virtual input / output signal and the real input / output signal after the matching between the virtual input / output signal and the real input / output signal is completed. The A detection unit for output, based on the consistency information, and summarized in that and a converter for converting the virtual output signal control program contains the actual input signal.
つぎに、本発明の第三の様態は、プラント機器を制御するプログラムの作成を支援するプログラム作成支援方法に関する。すなわち、プログラム作成支援方法は、仮想信号取得部は、プログラムが含む、プラント機器を制御する仮想信号を取得するステップと、実信号取得部は、プラント機器を正常に制御する実信号を取得するステップと、整合部は、仮想信号及び実信号をの整合性を検証するステップと、修正部は、仮想信号及び実信号が不整合であるとき、仮想信号を実信号と整合するように修正し、修正した仮想信号に対応するようにプログラムを修正するステップと、検出部は、仮想信号及び実信号の対応を示す整合情報を検出するステップと、変換部は、整合情報に基づいて、プログラムの仮想信号を実信号に置換するステップとを含むことを要旨とする。 Next, a third aspect of the present invention relates to a program creation support method for supporting creation of a program for controlling plant equipment. That is, in the program creation support method, the virtual signal acquisition unit acquires a virtual signal that controls the plant equipment included in the program, and the real signal acquisition unit acquires a real signal that normally controls the plant equipment. The matching unit verifies the consistency between the virtual signal and the real signal, and the correction unit corrects the virtual signal to match the real signal when the virtual signal and the real signal are mismatched, The step of correcting the program so as to correspond to the corrected virtual signal, the detecting unit detecting the matching information indicating the correspondence between the virtual signal and the real signal, and the converting unit, based on the matching information, And replacing the signal with a real signal.
さらにまた、本発明の第四の様態は、プラント機器を制御するプログラマブルコントローラに実装された制御プログラムをデバッグするプログラム作成支援方法に関する。すなわち、プログラム作成支援方法は、仮想信号取得部は、制御プログラムが含む、仮想的に想定したプラント機器を制御する入出力信号である仮想入出力信号において、複数の仮想入出力信号を取得するステップと、実信号取得部は、プラント機器を制御する入出力信号である実入出力信号において、複数のプラント機器にそれぞれ対応した複数の実入出力信号を取得するステップと、整合部は、複数の仮想入出力信号と複数の実入出力信号との整合性を検証するステップと、修正部は、仮想入出力信号と実入出力信号との間で不整合が生じた際、整合するように仮想入出力信号を修正し、修正した仮想入出力信号に対応するように制御プログラムを修正するステップと、検出部は、仮想入出力信号と実入出力信号との間で整合が完了後、仮想入出力信号と実入出力信号との対応関係を示す整合情報を検出するステップと、変換部は、整合情報に基づいて、制御プログラムが含む仮想入出力信号を実入力信号に変換するステップとを含むことを要旨とする。 Furthermore, a fourth aspect of the present invention relates to a program creation support method for debugging a control program mounted on a programmable controller that controls plant equipment. That is, in the program creation support method, the virtual signal acquisition unit acquires a plurality of virtual input / output signals in a virtual input / output signal that is an input / output signal for controlling a virtually assumed plant device included in the control program. And the real signal acquisition unit acquires a plurality of actual input / output signals respectively corresponding to a plurality of plant devices in the actual input / output signal that is an input / output signal for controlling the plant devices, and the matching unit includes a plurality of The step of verifying the consistency between the virtual input / output signal and the plurality of actual input / output signals, and the correction unit are configured to match the virtual input / output signal and the actual input / output signal so that they match when a mismatch occurs. The step of correcting the input / output signal, correcting the control program so as to correspond to the corrected virtual input / output signal, and the detecting unit after the matching between the virtual input / output signal and the actual input / output signal is completed, Detecting the matching information indicating the correspondence between the virtual input / output signal and the actual input / output signal, and converting the virtual input / output signal included in the control program into the actual input signal based on the matching information. It is made to include.
本発明によれば、プログラマブルコントローラが制御対象とするプラント機器に対する実在の入出力信号を認識せずに制御プログラムの作成を促すプログラム作成支援装置及び方法を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the program creation assistance apparatus and method which accelerate | urge | promote creation of a control program can be provided, without recognizing the actual input / output signal with respect to the plant apparatus which a programmable controller controls.
次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。但し、図面は模式的なものであり、装置やシステムの構成等は現実のものとは異なることに留意すべきである。したがって、具体的な構成は以下の説明を参酌して判断すべきものである。また、図面相互間においても互いの構成の異なる部分が含まれていることは勿論である。 Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, it should be noted that the drawings are schematic and the configuration of the apparatus and system is different from the actual one. Therefore, a specific configuration should be determined in consideration of the following description. In addition, it is a matter of course that portions having different configurations are included between the drawings.
また、以下に示す本発明の実施の形態は、本発明の技術的思想を具体化するための装置や方法を例示するものであって、本発明の技術的思想は、構成部品の材質、形状、構造、配置等を下記のものに特定するものではない。本発明の技術的思想は、特許請求の範囲に記載された技術的範囲内において、種々の変更を加えることができる。 The following embodiments of the present invention exemplify apparatuses and methods for embodying the technical idea of the present invention, and the technical idea of the present invention is the material and shape of the component parts. The structure, arrangement, etc. are not specified as follows. The technical idea of the present invention can be variously modified within the technical scope described in the claims.
(実施の形態)
<プログラム作成支援装置の構成>
本発明の実施の形態に係るプログラム作成支援装置は、図1に示すように、制御プログラムが含む、仮想的に想定したプラント機器を制御する入出力信号である仮想入出力信号において、複数の仮想入出力信号を取得する仮想信号取得部10と、プラント機器を制御する入出力信号である実入出力信号において、複数のプラント機器にそれぞれ対応した複数の実入出力信号を取得する実信号取得部20と、複数の仮想入出力信号と複数の実入出力信号との整合性を検証する整合部30と、仮想入出力信号と実入出力信号との間で不整合が生じた際、整合するように仮想入出力信号を修正し、修正した仮想入出力信号に対応するように制御プログラムを修正する修正部40と、仮想入出力信号と実入出力信号との間で整合が完了後、仮想入出力信号と実入出力信号との対応関係を示す整合情報を検出する検出部50と、整合情報に基づいて、制御プログラムが含む仮想入出力信号を実入力信号に変換する変換部60とを備える。
(Embodiment)
<Configuration of program creation support device>
As shown in FIG. 1, the program creation support apparatus according to the embodiment of the present invention includes a plurality of virtual input / output signals included in a control program, which are input / output signals that control virtually assumed plant equipment. A virtual
また、プログラム作成支援装置100は、図2に示すように、第1のプラント機器200、第2のプラント機器201、第3のプラント機器202、・・・、第nのプラント機器203を制御するプログラマブルコントローラ300に実装された制御プログラムをデバッグする。
Further, as shown in FIG. 2, the program
図1に示す仮想信号取得部10は、プログラマブルコントローラ300に実装される図3に示す制御プログラムの中で定義された入出力信号である仮想入出力信号を取得する。仮想入出力信号は、制御プログラムで試験的に定義されたアドレス情報及び信号コメントを含む。図3に示す制御プログラムが含む仮想入出力信号は、I−1DOWNMAN,I−2DOWNMAN,I−3DOWNMAN,I−4DOWNMAN,O−5DOWNMODE,O−DOWNMANである。
The virtual
実信号取得部20は、プログラマブルコントローラ300が第1のプラント機器200〜第nのプラント機器203と送受信する入出力信号である実入力信号を取得する。実入出力信号は、第1のプラント機器200〜第nのプラント機器203それぞれが有するアドレス情報及び信号コメントを取得する。実信号取得部20は、プログラマブルコントローラ300に実装される入出力カードの種類及び枚数、入出力カードへの電源線の結線情報、入出力カードのアドレス及び割り付けられる信号名称等から第1のプラント機器200〜第nのプラント機器203それぞれの実入力信号のアドレス情報及び信号コメントを取得する。図4に示すように、実入出力信号は、RI380,RI381,RI382,RI383,RI384,RO19C,RO820である。,
整合部30は、図4に示すように、仮想入出力信号と実入出力信号との整合性を検証する。整合部30は、仮想入力信号及び実入出力信号が有するそれぞれの信号コメントの関連性に基づいて検証を実行する。図4に示すように、仮想入力信号I−1DOWNMANの信号コメントNo.1STD手動圧下命令に関連する実入力信号の信号コメントはF1 手動圧力下指令であるため、仮想入力信号I−1DOWNMANに対応する実入力信号はRI380であることがわかる。同様にして、仮想入出力信号に対応する実入出力信号が検出され、それぞれの信号間の整合が検証される。図4に示す仮想入出力信号及び実入出力信号の整合状況から、実入力信号RI384に対応する仮想入力信号が欠落していることがわかる。
The actual
As shown in FIG. 4, the matching
修正部40は、整合部30による仮想入出力信号及び実入出力信号の整合性検証の結果、不整合が発生した場合、不整合情報を特定し、両信号が整合するよう仮想入出力信号及び制御プログラムを修正する。すなわち、修正部40は、仮想入出力信号が有するアドレス情報である入力情報及び出力情報、さらに対応する信号コメントを生成及び削除する。図4に示すように、整合部30が仮想入出力信号と実入出力信号との整合性を検証した結果、実入力信号に対する仮想入力信号が欠落している場合、修正部40は、図5に示すように、対応する仮想入力信号を生成する。すなわち、RI384に対応する入力情報としてI−5DOWNMANを、F5 手動圧力下指令に対応する信号コメントとしてNo.5STD手動圧下命令を生成する。これによって、仮想入出力信号及び実入出力信号が整合する。また、図6に示すように、仮想入力信号の入力情報I−6DOWNMANに対応する実入力信号が検出されない場合、修正部40は、入力情報I−6DOWNMAN及び信号コメントNo.6STD手動圧下命令を含む仮想入力信号を削除する。図5に示すように、これによって、仮想入出力信号及び実入出力信号が整合する。つぎに、図7に示すように、仮想入出力信号及び実入出力信号が整合した結果、修正部40はプログラマブルコントローラ300に実装される制御プログラムを修正する。
When a mismatch occurs as a result of the consistency verification between the virtual input / output signal and the real input / output signal by the matching
検出部50は、修正部40によって整合性のある仮想入出力信号及び実入出力信号の整合情報を検出する。整合情報は、仮想入出力信号及び実入出力信号との対応関係を示す情報であり、例えば図5のような形式で形成することができる。
The
変換部60は、図5に示す整合情報を用いて、図8に示すように、制御プログラムが含む仮想入出力信号を実入出力信号に変換する。
The
<プログラム作成支援装置によるプログラム作成支援方法>
つぎに、本発明の実施の形態に係るプログラム作成支援装置が、制御プログラムの作成を支援する方法について図9のフローチャートを参照しながら説明する。
<Program creation support method by program creation support device>
Next, a method for supporting the creation of the control program by the program creation support apparatus according to the embodiment of the present invention will be described with reference to the flowchart of FIG.
(イ)ステップS101において、仮想信号取得部10は、制御プログラムから仮想入出力信号を取得する。ステップS102において、実信号取得部20は、プラント機器から実入出力信号を取得する。
(A) In step S101, the virtual
(ロ)ステップS103において、整合部30は、仮想入出力信号と実入出力信号の整合性を検証する。ステップS104において、整合部30による検証の結果、仮想入出力信号及び実入出力信号が整合であった場合、ステップS105において、検出部50は、仮想入出力信号及び実入出力信号の整合情報を検出する。
(B) In step S103, the matching
(ハ)ステップS106において、変換部60は、整合情報を用いて制御プログラムの仮想入出力信号を実入出力信号に変換する。ステップS104において、仮想入出力信号及び実入出力信号が不整合であった場合、修正部40は、ステップS107において、不整合である情報を特定し、ステップS108において、修正部40は、仮想入出力信号及び制御プログラムを修正し、ステップS103に移行する。
(C) In step S106, the
以上説明したように、本発明の実施の形態に係るプログラム作成支援装置は、プログラマが実在するプラント機器のために用意された入出力信号である実入出力信号が含むアドレス情報及び信号コメントを認識することなくプログラムを作成することを可能とする。これによって、プログラマによる制御プログラム作成作業の効率は向上する。 As described above, the program creation support apparatus according to the embodiment of the present invention recognizes address information and signal comments included in an actual input / output signal that is an input / output signal prepared for an actual plant device by a programmer. It is possible to create a program without doing it. This improves the efficiency of the control program creation work by the programmer.
また、プログラム作成支援装置は、制御プログラム内で制御対象として定義されていない実入出力信号を制御対象として新たに定義することで、漏れのない制御をすることが可能となる。 In addition, the program creation support apparatus can perform control without omission by newly defining an actual input / output signal that is not defined as a control target in the control program as a control target.
さらに、プログラム作成支援装置は、大規模プラント等、複数のプログラマにより制御プログラムを分担して作成する場合、実入出力信号の使用漏れを防止することができ、制御プログラムの品質向上に貢献することができる。 Furthermore, the program creation support device can prevent omissions in the use of actual input / output signals and contributes to improving the quality of the control program when the control program is created by a plurality of programmers such as a large-scale plant. Can do.
さらにまた、過去の制御プログラムあるいはテンプレート的に予め準備されている標準制御プログラムを流用して新たな制御プログラムを作成する際、流用元の制御プログラムとは異なった入出力信号を用いて作成しても、プログラム作成支援装置は、それぞれの制御プログラムで使用されている入出力信号を全て自動的に実入出力信号に変換するため、制御プログラムの作成効率が向上し、プログラマの負担を軽減することができる。 Furthermore, when a new control program is created by diverting a past control program or a standard control program prepared in advance as a template, it is created using an input / output signal different from that of the diversion source control program. However, since the program creation support device automatically converts all input / output signals used in each control program to actual input / output signals, control program creation efficiency is improved and the burden on the programmer is reduced. Can do.
(その他の実施の形態)
上記のように、本発明は本発明の実施の形態によって記載したが、この開示の一部をなす論述及び図面は本発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例及び運用技術が明らかとなろう。本発明はここでは記載していない様々な実施の形態等を含むことは勿論である。したがって、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。
(Other embodiments)
As mentioned above, although this invention was described by embodiment of this invention, it should not be understood that the statement and drawing which make a part of this indication limit this invention. From this disclosure, various alternative embodiments, examples and operational techniques will be apparent to those skilled in the art. It goes without saying that the present invention includes various embodiments not described herein. Therefore, the technical scope of the present invention is defined only by the invention specifying matters according to the scope of claims reasonable from the above description.
10…仮想信号取得部
20…実信号取得部
30…整合部
40…修正部
50…検出部
60…変換部
100…プログラム作成支援装置
DESCRIPTION OF
Claims (6)
前記プログラムが含む、前記プラント機器を制御する仮想信号を取得する仮想信号取得部と、
前記プラント機器を正常に制御する実信号を取得する実信号取得部と、
前記仮想信号及び前記実信号をの整合性を検証する整合部と、
前記仮想信号及び前記実信号が不整合であるとき、前記仮想信号を前記実信号と整合するように修正し、修正した前記仮想信号に対応するように前記プログラムを修正する修正部と、
前記仮想信号及び前記実信号の対応を示す整合情報を検出する検出部と、
前記整合情報に基づいて、前記プログラムの前記仮想信号を前記実信号に置換する変換部
とを備えることを特徴とするプログラム作成支援装置。 A program creation support device for supporting creation of a program for controlling plant equipment,
A virtual signal acquisition unit for acquiring a virtual signal for controlling the plant equipment, included in the program;
An actual signal acquisition unit for acquiring an actual signal for normally controlling the plant equipment;
A matching unit for verifying consistency between the virtual signal and the real signal;
When the virtual signal and the real signal are mismatched, the virtual signal is corrected to match the real signal, and the correction unit corrects the program to correspond to the corrected virtual signal;
A detection unit that detects matching information indicating correspondence between the virtual signal and the real signal;
A program creation support apparatus comprising: a conversion unit that replaces the virtual signal of the program with the real signal based on the matching information.
前記制御プログラムが含む、仮想的に想定したプラント機器を制御する入出力信号である仮想入出力信号において、複数の前記仮想入出力信号を取得する仮想信号取得部と、
前記プラント機器を制御する入出力信号である実入出力信号において、複数の前記プラント機器にそれぞれ対応した複数の前記実入出力信号を取得する実信号取得部と、
前記複数の仮想入出力信号と前記複数の実入出力信号との整合性を検証する整合部と、
前記仮想入出力信号と前記実入出力信号との間で不整合が生じた際、整合するように前記仮想入出力信号を修正し、修正した前記仮想入出力信号に対応するように前記制御プログラムを修正する修正部と、
前記仮想入出力信号と前記実入出力信号との間で整合が完了後、前記仮想入出力信号と前記実入出力信号との対応関係を示す整合情報を検出する検出部と、
前記整合情報に基づいて、前記制御プログラムが含む前記仮想入出力信号を前記実入力信号に変換する変換部
とを備えることを特徴とするプログラム作成支援装置。 A program creation support device for debugging a control program mounted on a programmable controller that controls plant equipment,
In a virtual input / output signal that is an input / output signal for controlling a virtually assumed plant device included in the control program, a virtual signal acquisition unit that acquires a plurality of the virtual input / output signals;
In an actual input / output signal that is an input / output signal that controls the plant equipment, an actual signal acquisition unit that acquires the plurality of actual input / output signals respectively corresponding to the plurality of plant equipment;
A matching unit for verifying consistency between the plurality of virtual input / output signals and the plurality of real input / output signals;
When a mismatch occurs between the virtual input / output signal and the actual input / output signal, the virtual input / output signal is corrected to match, and the control program is adapted to correspond to the corrected virtual input / output signal. A correction section for correcting
After the matching between the virtual input / output signal and the real input / output signal is completed, a detection unit that detects matching information indicating a correspondence relationship between the virtual input / output signal and the real input / output signal;
A program creation support apparatus comprising: a conversion unit that converts the virtual input / output signal included in the control program into the actual input signal based on the matching information.
前記整合部は、前記特有情報の内容を比較して前記仮想入出力信号及び前記実入力信号における対応関係の整合性を検証することを特徴とする請求項2に記載のプログラム作成支援装置。 The virtual input / output signal and the actual input / output signal each include specific information that defines the control content, control conditions, and control state to the plant equipment by the virtual input / output signal and the actual input signal,
3. The program creation support apparatus according to claim 2, wherein the matching unit verifies the consistency of the correspondence relationship between the virtual input / output signal and the actual input signal by comparing the contents of the specific information.
前記修正部は、第1の仮想入出力信号に対応する前記実入力信号がない場合、前記第1の仮想入出力信号を削除し、前記第1の実入出力信号に対応する前記仮想入出力信号がない場合、前記第1の実入出力信号に対応する新たな仮想入出力信号を生成することを特徴とする請求項2又は3に記載のプログラム作成支援装置。 In the first virtual input / output signal included in the plurality of virtual input / output signals and the first real input / output signal included in the plurality of actual input / output signals,
The correction unit deletes the first virtual input / output signal when there is no real input signal corresponding to the first virtual input / output signal, and the virtual input / output corresponding to the first real input / output signal. 4. The program creation support apparatus according to claim 2, wherein when there is no signal, a new virtual input / output signal corresponding to the first actual input / output signal is generated.
仮想信号取得部は、前記プログラムが含む、前記プラント機器を制御する仮想信号を取得するステップと、
実信号取得部は、前記プラント機器を正常に制御する実信号を取得するステップと、
整合部は、前記仮想信号及び前記実信号をの整合性を検証するステップと、
修正部は、前記仮想信号及び前記実信号が不整合であるとき、前記仮想信号を前記実信号と整合するように修正し、修正した前記仮想信号に対応するように前記プログラムを修正するステップと、
検出部は、前記仮想信号及び前記実信号の対応を示す整合情報を検出するステップと、
変換部は、前記整合情報に基づいて、前記プログラムの前記仮想信号を前記実信号に置換するステップ
とを含むことを特徴とするプログラム作成支援方法。 A program creation support method for supporting creation of a program for controlling plant equipment,
The virtual signal acquisition unit includes a step of acquiring a virtual signal included in the program for controlling the plant equipment;
The real signal acquisition unit acquires a real signal for normally controlling the plant equipment; and
The matching unit verifies consistency between the virtual signal and the real signal;
A correcting unit, when the virtual signal and the real signal are inconsistent, correcting the virtual signal so as to match the real signal, and correcting the program so as to correspond to the corrected virtual signal; ,
A detecting unit detecting matching information indicating correspondence between the virtual signal and the real signal;
The conversion unit includes a step of replacing the virtual signal of the program with the real signal based on the matching information.
仮想信号取得部は、前記制御プログラムが含む、仮想的に想定したプラント機器を制御する入出力信号である仮想入出力信号において、複数の前記仮想入出力信号を取得するステップと、
実信号取得部は、前記プラント機器を制御する入出力信号である実入出力信号において、複数の前記プラント機器にそれぞれ対応した複数の前記実入出力信号を取得するステップと、
整合部は、前記複数の仮想入出力信号と前記複数の実入出力信号との整合性を検証するステップと、
修正部は、前記仮想入出力信号と前記実入出力信号との間で不整合が生じた際、整合するように前記仮想入出力信号を修正し、修正した前記仮想入出力信号に対応するように前記制御プログラムを修正するステップと、
検出部は、前記仮想入出力信号と前記実入出力信号との間で整合が完了後、前記仮想入出力信号と前記実入出力信号との対応関係を示す整合情報を検出するステップと、
変換部は、前記整合情報に基づいて、前記制御プログラムが含む前記仮想入出力信号を前記実入力信号に変換するステップ
とを含むことを特徴とするプログラム作成支援方法。 A program creation support method for debugging a control program mounted on a programmable controller that controls plant equipment,
The virtual signal acquisition unit includes a plurality of the virtual input / output signals in a virtual input / output signal that is an input / output signal for controlling a virtually assumed plant device included in the control program;
The actual signal acquisition unit, in an actual input / output signal that is an input / output signal for controlling the plant equipment, obtaining a plurality of the actual input / output signals respectively corresponding to the plurality of plant equipment;
The matching unit verifies the consistency between the plurality of virtual input / output signals and the plurality of real input / output signals;
The correction unit corrects the virtual input / output signal so as to match when a mismatch occurs between the virtual input / output signal and the actual input / output signal, and corresponds to the corrected virtual input / output signal. Modifying the control program to:
The detection unit detects matching information indicating a correspondence relationship between the virtual input / output signal and the real input / output signal after matching between the virtual input / output signal and the real input / output signal is completed.
The conversion unit includes a step of converting the virtual input / output signal included in the control program into the actual input signal based on the matching information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009215707A JP5277126B2 (en) | 2009-09-17 | 2009-09-17 | Program creation support apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009215707A JP5277126B2 (en) | 2009-09-17 | 2009-09-17 | Program creation support apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011065436A true JP2011065436A (en) | 2011-03-31 |
JP5277126B2 JP5277126B2 (en) | 2013-08-28 |
Family
ID=43951611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009215707A Active JP5277126B2 (en) | 2009-09-17 | 2009-09-17 | Program creation support apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5277126B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014002560A (en) * | 2012-06-18 | 2014-01-09 | Yaskawa Electric Corp | Machine control program creation device, machine control program creation method, program, and information storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002024042A (en) * | 2000-07-06 | 2002-01-25 | Kawasaki Steel Corp | Updating method of processor for process control and its device |
JP2004280786A (en) * | 2003-02-28 | 2004-10-07 | Denso Corp | Control program inspection method, inspection device and inspection program |
JP2007188367A (en) * | 2006-01-16 | 2007-07-26 | Meidensha Corp | Function verification system of plc (programmable logic controller) |
-
2009
- 2009-09-17 JP JP2009215707A patent/JP5277126B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002024042A (en) * | 2000-07-06 | 2002-01-25 | Kawasaki Steel Corp | Updating method of processor for process control and its device |
JP2004280786A (en) * | 2003-02-28 | 2004-10-07 | Denso Corp | Control program inspection method, inspection device and inspection program |
JP2007188367A (en) * | 2006-01-16 | 2007-07-26 | Meidensha Corp | Function verification system of plc (programmable logic controller) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014002560A (en) * | 2012-06-18 | 2014-01-09 | Yaskawa Electric Corp | Machine control program creation device, machine control program creation method, program, and information storage medium |
US9395710B2 (en) | 2012-06-18 | 2016-07-19 | Kabushiki Kaisha Yaskawa Denki | Machine control program generation device, machine control program generation method, and information storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP5277126B2 (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106933609B (en) | Android application program installation package generation method and device | |
CN104007958B (en) | Program editor and method for creating and processing the program for industrial automation arrangement | |
US8056062B2 (en) | Methods and systems for converting application code in turbine control systems | |
JP5821793B2 (en) | Program creation support apparatus and method | |
JP5489958B2 (en) | Test table generation apparatus and method | |
JP2008165399A (en) | Simulation data generation support device | |
CN103064988A (en) | Abnormal data detection method and device | |
JP5277126B2 (en) | Program creation support apparatus and method | |
JP2011113277A (en) | Apparatus, method and program for testing program | |
JP6346450B2 (en) | Engineering apparatus and control logic verification method | |
JP5353063B2 (en) | Coping knowledge generation program, coping knowledge generation device, and coping knowledge generation method | |
JP2005309593A (en) | Program preparation device and program preparation method | |
JP5295469B1 (en) | Numerical controller | |
JP5212508B2 (en) | Debug device | |
JP2008165324A (en) | Program creation support device | |
JP6632692B1 (en) | Control program creation support tool and control program creation method | |
JP6840656B2 (en) | Test script modifiers and programs | |
JP6072714B2 (en) | Program verification device | |
JP2006163657A (en) | Playback simulator | |
JP2016200872A (en) | Control program creation device, control program debug method | |
JP2009070322A (en) | Data processor, system, program and method | |
JP2011192213A (en) | Design support device and design support method | |
JP2012212286A (en) | Program development tool | |
CN109766076B (en) | Flow control method, device and storage medium | |
JP2013235381A (en) | Data editing apparatus and data editing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130408 |
|
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: 20130423 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130520 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5277126 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |