JP2004199265A - Tracking function automatic generation system of process control and automatic generation system of control program - Google Patents

Tracking function automatic generation system of process control and automatic generation system of control program Download PDF

Info

Publication number
JP2004199265A
JP2004199265A JP2002365390A JP2002365390A JP2004199265A JP 2004199265 A JP2004199265 A JP 2004199265A JP 2002365390 A JP2002365390 A JP 2002365390A JP 2002365390 A JP2002365390 A JP 2002365390A JP 2004199265 A JP2004199265 A JP 2004199265A
Authority
JP
Japan
Prior art keywords
tracking
program
information
function
automatic generation
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.)
Pending
Application number
JP2002365390A
Other languages
Japanese (ja)
Inventor
Atsushi Hakabe
篤史 波壁
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002365390A priority Critical patent/JP2004199265A/en
Priority to CNB031381472A priority patent/CN1320448C/en
Publication of JP2004199265A publication Critical patent/JP2004199265A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a tracking function automatic generation system of a process control which realizes creation of a tracking function program, decreasing number of man-hours for testing, leveling of a generation program level and improvement of maintenanability of an automatic generation program. <P>SOLUTION: The tracking function automatic generation system has a tracking information display/input part 18 for acquiring tracking basic information and tracking operation information as input information 19 and displaying in a tabular form and program automatic generation parts 11 to 15. A secondary storage device 13 for structuring the program automatic generation part is provided with the program automatic generation part for automatically generating a tracking function program source by storing a tracking function standard part 17 corresponding to the input information 19 and analyzing the input information 19 to combine from the tracking function standard part 17. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、たとえば鉄鋼プラントなどのプロセス制御ラインにおける計算機制御プログラムのうち、トラッキング機能に関するプログラムソースを自動作成するプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムに関するものである。
【0002】
【従来の技術】
従来のプロセス制御のトラッキング機能自動生成システムにおいては、ソースプログラムを自動生成するために、生成対象となるプログラムを構成する処理の組合せを定義した処理組合せ仕様ライブラリと、各処理の内容を定義した処理仕様ライブラリと、データの入出力の対象となる画面・ファイルなどの入出力媒体のデータ項目名ならびに属性などの仕様を定義する入出力仕様ライブラリと、サブプログラムを使用するためのインタフェース仕様を定義するサブプログラム仕様ライブラリと、生成ソースプログラムを格納するプログラムソースライブラリとを備えている。
【0003】
また、複数のデータ項目に基づいて構成される処理および分岐構造、繰返し構造といった制御構造などの処理についても、処理組合せ仕様に対して処理の順序情報および階層情報として定義し、処理組合せのもととなる処理仕様を、処理組合せ仕様、入出力仕様およびサブプログラム仕様から定義する構造となっている(たとえば、特許文献1参照)。
【0004】
【特許文献1】
特開平11−24911号公報(図1)
【0005】
【発明が解決しようとする課題】
従来のプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムは以上のように、処理組合せ仕様ライブラリ、入出力仕様ライブラリ、複数のデータ項目に基づいて構成される処理および分岐構造、ならびに、繰返し構造といった制御構造などの処理についての処理組合せ仕様に対して、処理の順序情報および階層情報など、プログラムのアルゴリズムを検討した上での入力が必要となるので、製作工数の低減が限定されたものとなり、生成されたプログラムの完成度も作成者の能力に左右されてしまうという問題点があった。
【0006】
また、すべての機能をライブラリという形態で登録しているので、標準部分とシステム特化部分との切り分けが明確にすることができず、プログラム修正時などの保守性が低くなるという問題点があった。
また、自動生成されたプログラムソースが、データの入出力対象となる画面・ファイルなどの入出力媒体のデータ項目名と、属性などの仕様を定義する入出力仕様ライブラリとに依存した構造となるので、異なるシステム間、特にプロセス制御のようなライン特性が異なるシステム間でのアプリケーションプログラムの流用を困難にするという問題点があった。
さらに、分岐、繰り返しなどを階層情報として定義しているので、自動生成されるプログラムソースが複雑な構造となり、ウォーターフォール型の開発にならざるを得ず、このため、機能確認やプログラム改修時において、大きな工数を発生させるという問題点があった。
【0007】
この発明は上記のような問題点を解決するためになされたもので、トラッキング機能プログラムの製作、試験工数削減、作成プログラムレベルの平準化、および自動生成プログラムの保守性向上を実現したプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムを得ることを目的とする。
【0008】
また、この発明は、ライン特性を意識せず、異なるライン間での流用性向上を実現したプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムを得ることを目的とする。
さらに、この発明は、プログラム改修時の調整容易化を実現したプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムを得ることを目的とする。
【0009】
【課題を解決するための手段】
この発明に係るプロセス制御のトラッキング機能自動生成システムは、トラッキング基本情報およびトラッキング動作情報を入力情報として取り込み且つ表形式で表示させるためのトラッキング情報表示/入力部と、入力情報に対応したトラッキング機能標準部品を格納するとともに、入力情報を解析してトラッキング機能標準部品からの結合を行うことにより、トラッキング機能プログラムソースを自動生成するプログラム自動生成部とを備えたものである。
【0010】
【発明の実施の形態】
実施の形態1.
以下、図面を参照しながら、この発明の実施の形態1について詳細に説明する。
図1はこの発明の実施の形態1によるプロセス制御のトラッキング機能自動生成システムを概略的に示すブロック構成図である。
図1において、プロセス制御のトラッキング機能自動生成システムは、主記憶装置11、CPU12、2次記憶装置13、キーボード14およびCRT15により構成されている。
主記憶装置11および2次記憶装置13は、CPU12と関連しており、キーボード14およびCRT15は、2次記憶装置13と関連している。
2次記憶装置13には、トラッキング基本情報およびトラッキング動作情報などを含むトラッキング入力情報19が入力される。
【0011】
主記憶装置11は、トラッキング情報解析処理部16を含む。
2次記憶装置13は、磁気記憶装置などにより構成されており、トラッキング機能標準部品17およびトラッキング情報表示/入力部18を含む。
2次記憶装置13内のトラッキング情報表示/入力部18には、トラッキング入力情報19が含まれる。
キーボード14およびCRT15は、トラッキング情報表示/入力部18と関連している。
キーボード14は、システムごとに定義されたトラッキング入力情報19をトラッキング情報表示/入力部18に入力させ、CRT15は、トラッキング情報表示/入力部18内のトラッキング入力情報19を表形式で表示させる。
【0012】
主記憶装置11、CPU12および2次記憶装置13は、キーボード14およびCRT15と関連して、プログラム自動生成部を構成しており、2次記憶装置13内に格納されたトラッキング機能標準部品17(トラッキング入力情報19に対応している)を用いて、入力情報19を解析してトラッキング機能標準部品17からの結合を行うことにより、トラッキング機能プログラムソースを自動生成するようになっている。
【0013】
図2は2次記憶装置13に含まれるトラッキング入力情報19の構成を示す説明図である。
図2入力において、トラッキング入力情報19は、トラッキング機能が動作するために必要な基本情報を入力するトラッキング基本情報定義部20と、トラッキング機能が動作を実行するために必要な情報を入力するトラッキング動作情報定義部23とにより構成されている。
【0014】
トラッキング基本情報定義部20は、エリア名称入力部21およびエリア情報入力部22を含む。
トラッキング動作情報定義部23は、処理名称入力部24、トラッキング動作入力部25、動作対象エリア入力部26およびシステム特化処理関数コールバック定義部27を含む。
【0015】
図3は主記憶装置11内のトラッキング情報解析処理部16を具体的に示すブロック構成図であり、CPU12および2次記憶装置13と関連させて示している。
図3において、トラッキング情報解析処理部16は、入力処理機能28、入力データ整合性チェック機能29、トラッキング基本情報定義ファイル自動生成機能30、トラッキング標準部品結合機能31およびプログラムソース自動生成機能32により構成されている。
【0016】
入力処理機能28は、2次記憶装置13内のトラッキング情報表示/入力部18を通してトラッキング入力情報19の入力処理を行う。
入力データ整合性チェック機能29は、CPU12を介して入力される入力データの整合性チェックを行う。
トラッキング基本情報定義ファイル自動生成機能30は、トラッキング入力情報19内のトラッキング基本情報定義部20(図2参照)での入力情報に基づいて、トラッキング機能の動作に必要な基本情報定義ファイルを自動生成する。
トラッキング標準部品結合機能31は、トラッキング入力情報19内のトラッキング動作情報定義部23(図2参照)での入力情報に基づいて、トラッキング機能標準部品17の群から適当な部品を結合する。
プログラムソース自動生成機能32は、トラッキング標準部品結合機能31での結合情報に基づいて、トラッキング機能を達成するプログラムソースを自動生成する。
【0017】
次に、図4のフローチャートを参照しながら、図1〜図3に示したこの発明の実施の形態1によるプロセス制御のトラッキング機能自動生成システムの動作について説明する。
図4はもっぱらトラッキング情報解析処理部16の動作を示しており、各機能28、29、31、32に対応するステップについては、破線で囲って示している。
まず、図1において、トラッキング機能自動生成システムの使用者は、キーボード14を通して、あらかじめ各鉄鋼プラントに対応して決められたトラッキング入力情報19を入力し、同様に、キーボード14から、ボタン押下操作によりプログラム自動生成指示を行う。
【0018】
トラッキング入力情報19は、図2に示すように、大きく分けて、トラッキング基本情報定義部20とトラッキング動作情報定義部23とに分けられる。
トラッキング基本情報定義部20においては、トラッキング機能で用いるエリア名称となるエリア名称入力部21と、各エリアに関する定義情報を入力するエリア情報入力部22とを記述する。
また、トラッキング動作情報定義部23においては、トラッキング処理名称を定義する処理名称入力部24と、各イベントに対してトラッキング対象物の移動や消滅などのトラッキング動作を定義するトラッキング動作入力部25と、動作を行う対象エリアを指定する動作対象エリア入力部26とを記述する。
【0019】
トラッキング情報解析処理部16は、使用者からのプログラム自動生成指示を受けて、図4に示す処理を実行する。
図4において、まず、使用者が入力した情報を2次記憶装置13から取り込む入力処理機能28を実行する(ステップS1)。
次に、入力データ整合性チェック機能29により、トラッキング動作チェックを行う(ステップS2)。
続いて、トラッキング入力情報19内のトラッキング動作入力部25(図2参照)にて定義された動作を、2次記憶装置13内のトラッキング機能標準部品17と比較し、標準部品として定義されたものであるか否かを判定する(ステップS3)。
【0020】
以下、標準部品として定義されたものであるか否かによって処理が異なる。
ステップS3において、標準部品として定義されていない(すなわち、NO)と判定されれば、プログラム生成は不可と判断して、アラームをCRT15に出力し(ステップS4)、使用者への修正を促して、図4の処理を終了する。
一方、ステップS3において、標準部品として定義されたものである(すなわち、YES)と判定されれば、続いて、動作対象エリア入力部26で定義された対象エリアが、エリア名称入力部21で定義されたものの1つと一致する(対象エリアが定義されている)か否かを判定する(ステップS5)。
【0021】
ステップS5において、両者が一致せず、対象エリアが定義されていない(すなわち、NO)と判定されれば、上記と同様に、プログラム生成は不可と判断して、アラーム出力ステップS4に進み、使用者への修正を促して図4の処理を終了する。
一方、ステップS5において、両者が一致し、対象エリアが定義されている(すなわち、YES)と判定されれば、トラッキング標準部品結合機能31により、2次記憶装置13に格納されたトラッキング機能標準部品17から必要な処理を抜き取り結合し、トラッキング機能標準部品17の結合処理を実行する(ステップS6)。
最後に、プログラムソース自動生成機能32により、トラッキングプログラムソースの自動生成処理を実行し(ステップS7)、ソースコードを生成して、図4の処理を終了する。このソースコードは、2次記憶装置13内に生成される。
【0022】
このように、トラッキング基本情報およびトラッキング動作情報を表形式で入力するとともに、主記憶装置11内のトラッキング情報解析処理部16にトラッキング機能プログラムソースを自動生成する機能を設けることにより、トラッキング機能のプログラム製作工数の低減を達成することができる。
また、ユーザが作成するプログラムから関数としてプログラムを呼び出す構成とすることにより、トラッキングアプリケーションプログラムの簡素化を実現することができる。
さらに、生成されたプログラムソースは、処理名称を与えることによりトラッキング動作を達成するものであり、使用者が作成するプログラムにおいては、処理名称を与えるのみでトラッキング処理を実現することができるので、トラッキングアプリケーションプログラムの簡素化を実現することができる。
【0023】
実施の形態2.
なお、上記実施の形態1では、システム特化処理関数コールバック定義部27を特に考慮せずに、トラッキング情報解析処理部16内のプログラムソース自動生成機能32において、トラッキングプログラムソースの自動生成(ステップS7)のみを実行したが、トラッキング情報表示/入力部18内のトラッキング入力情報19に含まれるシステム特化処理関数コールバック定義部27からの入力情報に基づいて、システム特化処理関数をコールバックすることにより、トラッキング機能標準部品以外の処理を実行可能なプログラムソースをトラッキング機能プログラムソースとして自動生成してもよい。
【0024】
以下、図1〜図3とともに、図5のフローチャートを参照しながら、システム特化処理関数コールバック定義部27を参照してトラッキングプログラムソースを自動生成するようにしたこの発明の実施の形態2について説明する。
図5はこの発明の実施の形態2によるプロセス制御のトラッキング機能自動生成システムの動作を示しており、特にトラッキング情報解析処理部16の処理を示している。
図5において、前述(図4参照)と同様の処理については、前述と同一符号を付して、または符号の後に「A」を付して詳述を省略する。
この場合、トラッキング情報解析処理部16内のプログラムソース自動生成機能32Aが一部異なるのみである。
【0025】
まず、前述と同様に、使用者により、入力処理およびプログラム自動生成指示が行われるが、このとき、トラッキング入力情報19内のトラッキング動作情報定義部23には、トラッキング機能標準部品17には含まれないシステム特化処理を定義するシステム特化処理関数コールバック定義部27(図2参照)が記述されている。
図5において、トラッキング情報解析処理部16は、使用者からのプログラム自動生成指示を受けて処理を実行する。
まず、前述と同様に、使用者が入力した情報を2次記憶装置13から取り込み(ステップS1)、トラッキング動作チェックを行い(ステップS2)、トラッキング動作入力部25で定義された動作が標準部品として定義されているか否かを判定し(ステップS3)、標準部品として定義されていなければ、アラームをCRT15に出力する(ステップS4)。
【0026】
また、トラッキング動作入力部25で定義された動作が標準部品として定義されたものであれば、動作対象エリア入力部26で定義された対象エリアが、エリア名称入力部21で定義されたものと一致するか否かを判定し(ステップS5)、両者が一致していなければステップS4に進み、両者が一致すれば、トラッキング機能標準部品17の結合処理を行い(ステップS6)、プログラムソース自動生成機能32Aの処理に進む。
【0027】
プログラムソース自動生成機能32Aにおいては、まず、システム特化処理関数コールバック定義部27に関数が定義されているか否かを判定し(ステップS17)、システム特化処理関数コールバック定義部27に何も関数が定義されていない(すなわち、NO)と判定されれば、直ちにステップS7に進み、トラッキングプログラムソースの自動生成処理を行う。
このときの生成プログラムソースは、トラッキング機能標準部品17のみから構成されるものとなる。
【0028】
一方、ステップS17において、システム特化処理関数コールバック定義部27に或る関数が定義されている(すなわち、YES)と判定されれば、ステップS6で結合されたトラッキング処理に対して、システム特化処理関数の追加を行い(ステップS18)、その後、ステップS7に進み、トラッキングプログラムソースの自動生成処理を行い、図5の処理を終了する。
いずれの場合も、ステップS7で生成されたプログラムソースは、2次記憶装置13内に生成される。
【0029】
図5のようにして生成されたプログラムソースは、トラッキング機能標準部品17からシステム特化処理関数をコールバックする形式となっており、標準部分とシステム特化部分とが明確に分割されている。
このように、トラッキング入力情報19内のシステム特化処理関数コールバック定義部27に特化処理関数を定義するとともに、自動生成プログラム内においてシステム特化処理関数をコールバックする構造となる機能を設けることにより、プログラム改修時においては、システム特化関数部分のみに着目すればよく、自動生成プログラムを手作業で修正することもなくなるので、プログラムの保守性を向上させることができる。
また、システム特化処理関数コールバックを定義することができるので、生成されたプログラムは、標準部分とシステム特化部分とが明確に分離されており、プログラムの保守性を向上させることができる。
【0030】
実施の形態3.
なお、上記実施の形態1、2では、入力処理機能28および入力データ整合性チェック機能29に加えて、トラッキング標準部品結合機能31およびプログラムソース自動生成機能32(32A)を設けたが、入力処理機能および入力データ整合性チェック機能に加えて、トラッキング基本情報定義ファイル自動生成機能を設けてもよい。
以下、図1〜図3とともに、図6のフローチャートを参照しながら、入力情報を解析してトラッキング基本情報定義ファイルを自動生成するようにしたこの発明の実施の形態3について説明する。
【0031】
図6はこの発明の実施の形態3によるプロセス制御のトラッキング機能自動生成システムの動作を示しており、特にトラッキング情報解析処理部16の処理を示している。
図6において、前述(図4、図5参照)と同様の処理については、前述と同一符号を付して、または符号の後に「B」を付して詳述を省略する。
この場合、トラッキング情報解析処理部16(図1参照)は、入力処理部28、入力データ整合性チェック機能29Bおよびトラッキング基本情報定義ファイル自動生成機能30を備えている。
【0032】
まず、使用者は、あらかじめ決められたトラッキング機能仕様に基づいて、トラッキング入力情報19の入力を、キーボード14を通して行い、同様に、キーボード14から、ボタン押下操作によりトラッキング基本情報定義ファイルの自動生成指示を行う。
このとき、トラッキング基本情報定義部20(図2参照)においては、前述と同様に、トラッキング機能で用いるエリア名称となるエリア名称入力部21と、各エリアに関する定義情報を入力するエリア情報入力部22とを記述する。
また、トラッキング情報解析処理部16は、使用者からのトラッキング基本情報定義ファイル生成指示を受けて、処理を実行する。
【0033】
図6において、まず、使用者が入力した情報を2次記憶装置13から取り込む入力処理機能28を実行する(ステップS1)。
続いて、エリア情報入力部22(図2参照)に入力された特にトラッキング定義情報のチェックを行い(ステップS22)、トラッキング定義情報が正常であるか否かを判定する(ステップS23)。
ステップS23において、入力されたトラッキング定義情報が正常でなく不正である(すなわち、NO)と判定されれば、定義情報ファイルの生成は不可と判断してステップS4に進み、アラームをCRT15に出力する。
一方、トラッキング定義情報が正常である(すなわち、YES)と判定されれば、トラッキング基本情報定義ファイル自動生成機能30により、トラッキング基本情報定義ファイルの自動生成処理を実行し(ステップS25)、図6の処理を終了する。この定義ファイルは、2次記憶装置13内に生成される。
【0034】
このようにして生成されたトラッキング基本情報定義ファイルは、従来システムで実行されていたテキスト入力により発生する入力誤りを未然に防止しているので、トラッキング基本情報を定義する際の間違いを防止することができる。
また、表形式での情報表示および情報入力を行う機能により、トラッキング基本情報を表形式で入力するとともに、トラッキング情報表示/入力部18と関連してトラッキング基本情報入力機能を設け、トラッキング基本情報定義ファイルを自動生成することにより、トラッキング基本情報の保守性の向上を達成することができる。
【0035】
実施の形態4.
なお、上記実施の形態1〜3では、特に言及しなかったが、ライン特性(バッチラインや連続ラインなど)に依存しない構造のトラッキングアプリケーションプログラムを構成する上で必要なトラッキング機能プログラムソースを、制御プログラムとして自動生成してもよい。
以下、図1〜図3とともに、図7の説明図を参照しながら、ライン特性に依存しないようにトラッキング機能プログラムソースを自動生成するこの発明の実施の形態4による制御プログラム自動生成システムについて説明する。
【0036】
図7はこの発明の実施の形態4による制御プログラム自動生成システムによって達成されるトラッキング機能プログラムソースのソフトウエア構成を示している。
図7において、トラッキング機能プログラムソースは、トラッキングアプリケーションプログラム33と、トラッキング処理自動生成プログラム34、トラッキングアプリケーションインターフェース35、バッチライン用トラッキング基本ソフトウエア36および連続ライン用トラッキング基本ソフトウエア37により構成されている。
【0037】
トラッキング処理自動生成プログラム34は、前述の実施の形態1により自動生成されたものである。プログラム製作者は、自身が作成するトラッキングアプリケーションプログラム33内で、トラッキング処理自動生成プログラム34を使用する。
また、トラッキングアプリケーションインターフェース35は、トラッキング処理自動生成プログラム34を含む関数群からなり、トラッキングアプリケーションプログラム33に対するアプリケーションインターフェースを提供する。
【0038】
さらに、バッチライン用トラッキング基本ソフトウエア36は、鉄鋼熱延ラインなどに適用され、連続ライン用トラッキング基本ソフトウエア37は、鉄鋼焼鈍ラインや連続めっきラインなどに適用される。
バッチライン用トラッキング基本ソフトウエア36および連続ライン用トラッキング基本ソフトウエア37は、それぞれ、プロセスラインの特性に応じて使い分けられる基本ソフトウエアである。
【0039】
プログラム製作者は、トラッキング処理自動生成プログラム34およびトラッキングアプリケーションインターフェース35を用いて、トラッキングアプリケーションプログラム33を製作する。これにより、バッチライン用トラッキング基本ソフトウエア36および連続ライン用トラッキング基本ソフトウエア37が提供するアプリケーションインターフェースは、いずれも使用されないソフトウエア構造としている。
【0040】
これに対して、従来システムによるトラッキング機能プログラムソースのソフトウエア構成(図示せず)は、トラッキングアプリケーションプログラム33、バッチライン用トラッキング基本ソフトウエア36および連続ライン用トラッキング基本ソフトウエア37のみにより構成されており、トラッキングアプリケーションプログラム33は、バッチライン用トラッキング基本ソフトウエア36または連続ライン用トラッキング基本ソフトウエア37が提供するアプリケーションインターフェースを使用するようになっている。
【0041】
図7のようなプログラミング構成を採用して、生成されたトラッキング機能プログラムを、ライン特性に応じた基本ソフトウエアの上に設けたアプリケーションインターフェースとして活用することにより、従来と比べて、ライン特性の違いを意識することなく、トラッキングアプリケーションプログラムを作成することができるので、個別ラインの経験不足により発生するプログラム製作所用工数を短縮することができる。
また、自動生成されるトラッキング機能プログラムは、ライン特性に応じた基本ソフトウエアの上に設けたアプリケーションインターフェースとして活用するので、ライン特性を意識しないプログラム作成が可能なうえ、トラッキングアプリケーションプログラム33のライン特性(連続ラインやバッチラインなど)に依存することがなく、ライン特性を越えてトラッキングプログラムの流用性向上を実現し、異なるシステム間での流用を容易にすることができる。
【0042】
実施の形態5.
なお、上記実施の形態1〜4では、特に言及しなかったが、トラッキングアプリケーションプログラムの改修機能を設けてもよい。
以下、図1〜図3および図7とともに、図8のフローチャートを参照しながら、トラッキングアプリケーションプログラムの改修機能を設けたこの発明の実施の形態5による制御プログラム自動生成システムについて説明する。
この場合、改修時の入替プログラムが自動生成部分のみとなるトラッキングアプリケーションプログラム構造を成立させるために必要なトラッキング機能プログラムソースを、前述の実施の形態1と同様の方法で自動生成する機能を備えているものとする。
【0043】
図8はこの発明の実施の形態5により生成されたプログラムを用いたアプリケーションプログラムの改修処理動作を示しており、このシステムにより自動生成されたトラッキング処理自動生成プログラム34(図7参照)を含むトラッキングアプリケーションプログラム33の改修フローを示している。
図8において、まず、使用者は、キーボード14によりトラッキング入力情報19の修正入力を行い、トラッキング動作情報を修正する(ステップS31)。次に、自動生成指示を行い(ステップS32)、これにより、前述の実施の形態1と同様に、改修プログラムが自動生成される。
【0044】
こうして生成された改修プログラムは、入替処理が行われ(ステップS33)、続いて、動作確認が行われる(ステップS34)。
このとき、ステップS33の入替処理の際には、トラッキング処理自動生成プログラム34を置き換えてプログラムモジュールを再生成する処理のみで済み、トラッキングアプリケーションプログラム33を改修する必要はない。
【0045】
次に、動作確認(ステップS34)に続いて、動作が正常か否かの判定を行い(ステップS35)、動作が正常(すなわち、YES)と判定されれば、図8の改修処理は完了となる。
一方、ステップS35において、動作が不良(すなわち、NO)と判定されれば、不具合原因の究明を実行し(ステップS36)、その後、ステップS31に戻り、再度トラッキング入力情報19の修正を行う。
以後、再び上記と同様の処理フローを繰り返すことにより、改修が完了するまで調整が行われる。
【0046】
従来のトラッキング機能調整においては、改修時に必ずトラッキングアプリケーションプログラム33のコード修正が必要なうえ、プログラム内でロジックが複雑に絡み合っているので、改修時のさらなる不具合や、改修のための多大な工数を発生させていた。
これに対して、この発明の実施の形態5による制御プログラム自動生成システムを用いてトラッキング機能を製作することにより、スパイラルな調整が可能となり、これにより、製作、試験および改修を短周期の循環で行うことができる。また、トラッキング機能標準部品17から結合されたトラッキング処理プログラムという構造を採用し、プログラム改修時の手作業修正部分を不要とする機能を設けることにより、自動生成されたプログラムは、トラッキング機能標準部品17から結合され、且つプログラム改修時の手作業修正部分が不要となるので、機能調整およびプログラム改修時の工数を低減することができる。
【0047】
【発明の効果】
以上のように、この発明によれば、トラッキング基本情報およびトラッキング動作情報を入力情報として表形式で表示させるとともに入力するためのトラッキング情報表示/入力部と、入力情報に対応したトラッキング機能標準部品を格納するとともに、入力情報を解析してトラッキング機能標準部品からの結合を行うことにより、トラッキング機能プログラムソースを自動生成するプログラム自動生成部とを備えたので、トラッキング機能プログラムの製作、試験工数削減、作成プログラムレベルの平準化、および自動生成プログラムの保守性向上を実現したプロセス制御のトラッキング機能自動生成システムおよび制御プログラム自動生成システムが得られる効果がある。
【図面の簡単な説明】
【図1】この発明の実施の形態1によるプロセス制御のトラッキング機能自動生成システムを示すブロック構成図である。
【図2】図1内のトラッキング入力情報の具体的な構成を示す説明図である。
【図3】図1内のトラッキング情報解析処理部を具体的に示すブロック構成図である。
【図4】この発明の実施の形態1によるプロセス制御のトラッキング機能自動生成システムの処理動作を示すフローチャートである。
【図5】この発明の実施の形態2によるプロセス制御のトラッキング機能自動生成システムの処理動作を示すフローチャートである。
【図6】この発明の実施の形態3によるプロセス制御のトラッキング機能自動生成システムの処理動作を示すフローチャートである。
【図7】この発明の実施の形態4による制御プログラム自動生成システムにより達成されるトラッキング機能プログラムソースのソフトウエア構成を示す説明図である。
【図8】この発明の実施の形態5により生成されたプログラムを用いたアプリケーションプログラムの改修処理動作を示すフローチャートである。
【符号の説明】
11 主記憶装置、12 CPU、13 2次記憶装置、14 キーボード、15 CRT、16 トラッキング情報解析処理部、17 トラッキング機能標準部品、18 トラッキング情報表示/入力部、19 トラッキング入力情報、20 トラッキング基本情報定義部、21 エリア名称入力部、22 エリア情報入力部、23 トラッキング動作情報定義部、24 処理名称入力部、25 トラッキング動作入力部、26 動作対象エリア入力部、27 システム特化処理関数コールバック定義部、28 入力処理機能、29、29B 入力データ整合性チェック機能、30 トラッキング基本情報定義ファイル自動生成機能、31 トラッキング標準部品結合機能、32、32A プログラムソース自動生成機能、33 トラッキングアプリケーションプログラム、34 トラッキング処理自動生成プログラム、35 トラッキングアプリケーションインターフェース、36 バッチライン用トラッキング基本ソフトウエア、37 連続ライン用トラッキング基本ソフトウエア。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a tracking function automatic generation system and a control program automatic generation system for automatically creating a program source for a tracking function among computer control programs in a process control line of a steel plant or the like.
[0002]
[Prior art]
In the conventional process control tracking function automatic generation system, in order to automatically generate a source program, a process combination specification library that defines the combination of processes that make up the program to be generated, and a process that defines the contents of each process Defines a specification library, an input / output specification library that defines specifications such as data item names and attributes of input / output media such as screens and files for which data is input / output, and an interface specification for using subprograms It has a subprogram specification library and a program source library for storing a generated source program.
[0003]
Processes based on multiple data items and processes such as a control structure such as a branch structure and a repetition structure are also defined as process order information and hierarchical information in the process combination specification, and are defined based on the process combination. Is defined from the processing combination specification, the input / output specification, and the subprogram specification (for example, see Patent Document 1).
[0004]
[Patent Document 1]
JP-A-11-24911 (FIG. 1)
[0005]
[Problems to be solved by the invention]
As described above, the conventional tracking function automatic generation system and the control program automatic generation system of the process control have a processing combination specification library, an input / output specification library, a processing and branching structure configured based on a plurality of data items, and a repetitive processing. For processing combination specifications for processing such as control structure such as structure, it is necessary to input after examining the algorithm of the program, such as processing order information and hierarchy information, so that reduction in manufacturing man-hours is limited. Therefore, there is a problem that the degree of perfection of the generated program depends on the ability of the creator.
[0006]
Also, since all functions are registered in the form of a library, it is not possible to clarify the distinction between the standard part and the system-specific part, and there is a problem that maintainability when modifying programs is reduced. Was.
In addition, since the automatically generated program source has a structure that depends on the data item names of input / output media such as screens and files to which data is input / output, and the input / output specification library that defines specifications such as attributes. There has been a problem that it is difficult to divert an application program between different systems, particularly between systems having different line characteristics such as process control.
In addition, since branching and repetition are defined as hierarchical information, the automatically generated program source has a complicated structure, which inevitably leads to waterfall-type development. However, there is a problem that large man-hours are generated.
[0007]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has been made in consideration of a process control method which realizes the production of a tracking function program, reduction of test man-hours, leveling of a creation program level, and improvement of maintainability of an automatically generated program. It is an object to obtain a tracking function automatic generation system and a control program automatic generation system.
[0008]
Another object of the present invention is to provide a process control automatic generation system and a control program automatic generation system which realize improvement of applicability between different lines without considering line characteristics.
A further object of the present invention is to provide an automatic generation function of a tracking function for process control and an automatic generation system of a control program, which realizes easy adjustment at the time of program modification.
[0009]
[Means for Solving the Problems]
A tracking function automatic generation system for process control according to the present invention includes: a tracking information display / input unit for capturing basic tracking information and tracking operation information as input information and displaying the information in a table format; and a tracking function standard corresponding to the input information. It has a program automatic generation unit that automatically generates a tracking function program source by storing parts and analyzing input information and combining them with tracking function standard parts.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiment 1 FIG.
Hereinafter, Embodiment 1 of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram schematically showing a tracking control automatic generation system for process control according to Embodiment 1 of the present invention.
In FIG. 1, the tracking function automatic generation system for process control includes a main storage device 11, a CPU 12, a secondary storage device 13, a keyboard 14, and a CRT 15.
The main storage device 11 and the secondary storage device 13 are associated with the CPU 12, and the keyboard 14 and the CRT 15 are associated with the secondary storage device 13.
Tracking input information 19 including basic tracking information and tracking operation information is input to the secondary storage device 13.
[0011]
The main storage device 11 includes a tracking information analysis processing unit 16.
The secondary storage device 13 is configured by a magnetic storage device or the like, and includes a tracking function standard component 17 and a tracking information display / input unit 18.
The tracking information display / input section 18 in the secondary storage device 13 includes tracking input information 19.
The keyboard 14 and the CRT 15 are associated with the tracking information display / input unit 18.
The keyboard 14 causes the tracking input information 19 defined for each system to be input to the tracking information display / input unit 18, and the CRT 15 causes the tracking input information 19 in the tracking information display / input unit 18 to be displayed in a table format.
[0012]
The main storage device 11, the CPU 12, and the secondary storage device 13 constitute an automatic program generation unit in association with the keyboard 14 and the CRT 15, and include a tracking function standard component 17 (tracking function component) stored in the secondary storage device 13. (Corresponding to the input information 19), the input information 19 is analyzed and coupled with the tracking function standard component 17, so that the tracking function program source is automatically generated.
[0013]
FIG. 2 is an explanatory diagram showing the configuration of the tracking input information 19 included in the secondary storage device 13.
2, the tracking input information 19 includes a tracking basic information definition unit 20 for inputting basic information necessary for the operation of the tracking function, and a tracking operation for inputting information necessary for executing the operation of the tracking function. And an information definition unit 23.
[0014]
The tracking basic information definition unit 20 includes an area name input unit 21 and an area information input unit 22.
The tracking operation information definition unit 23 includes a processing name input unit 24, a tracking operation input unit 25, an operation target area input unit 26, and a system-specific processing function callback definition unit 27.
[0015]
FIG. 3 is a block diagram specifically showing the tracking information analysis processing unit 16 in the main storage device 11, which is shown in relation to the CPU 12 and the secondary storage device 13.
3, the tracking information analysis processing unit 16 includes an input processing function 28, an input data consistency check function 29, a tracking basic information definition file automatic generation function 30, a tracking standard component combining function 31, and a program source automatic generation function 32. Have been.
[0016]
The input processing function 28 performs input processing of the tracking input information 19 through the tracking information display / input unit 18 in the secondary storage device 13.
The input data consistency check function 29 performs a consistency check on input data input via the CPU 12.
The tracking basic information definition file automatic generation function 30 automatically generates a basic information definition file necessary for the operation of the tracking function based on input information in the tracking basic information definition section 20 (see FIG. 2) in the tracking input information 19. I do.
The tracking standard component combining function 31 combines suitable components from the group of the tracking function standard components 17 based on the input information in the tracking operation information defining section 23 (see FIG. 2) in the tracking input information 19.
The program source automatic generation function 32 automatically generates a program source for achieving the tracking function based on the connection information in the tracking standard component connection function 31.
[0017]
Next, the operation of the tracking function automatic generation system for process control according to the first embodiment of the present invention shown in FIGS. 1 to 3 will be described with reference to the flowchart of FIG.
FIG. 4 shows the operation of the tracking information analysis processing section 16 exclusively, and the steps corresponding to the functions 28, 29, 31, and 32 are shown by dashed lines.
First, in FIG. 1, a user of the tracking function automatic generation system inputs tracking input information 19 determined in advance for each steel plant through the keyboard 14, and similarly, by pressing a button from the keyboard 14, Instructs automatic program generation.
[0018]
The tracking input information 19 is roughly divided into a basic tracking information definition unit 20 and a tracking operation information definition unit 23, as shown in FIG.
The tracking basic information definition section 20 describes an area name input section 21 which is an area name used in the tracking function, and an area information input section 22 for inputting definition information on each area.
In the tracking operation information definition unit 23, a processing name input unit 24 for defining a tracking processing name, a tracking operation input unit 25 for defining a tracking operation such as movement or disappearance of a tracking target object for each event, An operation target area input unit 26 for designating an operation target area is described.
[0019]
The tracking information analysis processing unit 16 executes the processing shown in FIG. 4 in response to a program automatic generation instruction from the user.
In FIG. 4, first, an input processing function 28 for fetching information input by a user from the secondary storage device 13 is executed (step S1).
Next, a tracking operation check is performed by the input data consistency check function 29 (step S2).
Subsequently, the operation defined by the tracking operation input unit 25 (see FIG. 2) in the tracking input information 19 is compared with the tracking function standard component 17 in the secondary storage device 13 and the operation defined as the standard component is performed. Is determined (step S3).
[0020]
Hereinafter, the processing differs depending on whether or not the component is defined as a standard component.
If it is determined in step S3 that the part is not defined as a standard part (that is, NO), it is determined that the program cannot be generated, and an alarm is output to the CRT 15 (step S4) to urge the user to make a correction. 4 ends.
On the other hand, if it is determined in step S3 that the part is defined as a standard part (that is, YES), the target area defined by the operation target area input unit 26 is subsequently defined by the area name input unit 21. Then, it is determined whether or not it matches one of the items (the target area is defined) (step S5).
[0021]
If it is determined in step S5 that the two do not match and the target area is not defined (that is, NO), it is determined that the program cannot be generated, and the process proceeds to the alarm output step S4, as described above. Then, the process of FIG. 4 is terminated.
On the other hand, if it is determined in step S5 that they match and the target area is defined (ie, YES), the tracking function standard component stored in the secondary storage device 13 by the tracking standard component combining function 31 Necessary processes are extracted from and combined with the tracking function standard component 17 (step S6).
Finally, the automatic generation of the tracking program source is executed by the program source automatic generation function 32 (step S7), the source code is generated, and the processing in FIG. 4 is completed. This source code is generated in the secondary storage device 13.
[0022]
As described above, the tracking basic information and the tracking operation information are input in the form of a table, and the tracking information analysis processing unit 16 in the main storage device 11 is provided with the function of automatically generating the tracking function program source. A reduction in the number of manufacturing steps can be achieved.
Further, by adopting a configuration in which a program created by a user calls a program as a function, the tracking application program can be simplified.
Further, the generated program source achieves a tracking operation by giving a processing name. In a program created by a user, tracking processing can be realized only by giving a processing name. Application programs can be simplified.
[0023]
Embodiment 2 FIG.
In the first embodiment, the tracking program source automatic generation function 32 in the tracking information analysis processing unit 16 automatically generates the tracking program source (step Although only S7) is executed, the system-specific processing function is called back based on the input information from the system-specific processing function callback definition unit 27 included in the tracking input information 19 in the tracking information display / input unit 18. By doing so, a program source capable of executing processes other than the tracking function standard component may be automatically generated as the tracking function program source.
[0024]
Hereinafter, a second embodiment of the present invention in which a tracking program source is automatically generated with reference to the system-specific processing function callback definition unit 27 while referring to the flowchart of FIG. 5 together with FIGS. explain.
FIG. 5 shows the operation of the automatic tracking function generation system for process control according to the second embodiment of the present invention, and particularly shows the processing of the tracking information analysis processing unit 16.
In FIG. 5, the same processes as those described above (see FIG. 4) are denoted by the same reference numerals as those described above, or “A” is added after the reference numerals, and detailed description is omitted.
In this case, only the program source automatic generation function 32A in the tracking information analysis processing unit 16 is partially different.
[0025]
First, in the same manner as described above, the user performs an input process and a program automatic generation instruction. At this time, the tracking operation information definition unit 23 in the tracking input information 19 includes the tracking function standard component 17. A system-specific processing function callback definition unit 27 (see FIG. 2) that defines a non-system-specific processing is described.
In FIG. 5, a tracking information analysis processing unit 16 executes a process in response to a program automatic generation instruction from a user.
First, as described above, the information input by the user is fetched from the secondary storage device 13 (step S1), a tracking operation check is performed (step S2), and the operation defined by the tracking operation input unit 25 is used as a standard component. It is determined whether or not it is defined (step S3). If it is not defined as a standard part, an alarm is output to the CRT 15 (step S4).
[0026]
If the operation defined by the tracking operation input unit 25 is defined as a standard part, the target area defined by the operation target area input unit 26 matches the one defined by the area name input unit 21. It is determined whether or not to perform the process (step S5). If the two do not match, the process proceeds to step S4. If the two match, the tracking function standard component 17 is combined (step S6), and the program source automatic generation function is performed. It proceeds to the process of 32A.
[0027]
In the program source automatic generation function 32A, first, it is determined whether or not a function is defined in the system-specific processing function callback definition unit 27 (step S17). If it is determined that the function is not defined (that is, NO), the process immediately proceeds to step S7, and the tracking program source is automatically generated.
At this time, the generation program source is composed of only the tracking function standard component 17.
[0028]
On the other hand, if it is determined in step S17 that a certain function is defined in the system-specific processing function callback definition unit 27 (that is, YES), the system-specific processing function callback processing unit 27 determines whether the tracking processing combined in step S6 has the system specific function. A conversion processing function is added (step S18), and thereafter, the process proceeds to step S7, where a tracking program source is automatically generated, and the processing in FIG. 5 ends.
In any case, the program source generated in step S7 is generated in the secondary storage device 13.
[0029]
The program source generated as shown in FIG. 5 has a format in which a system-specific processing function is called back from the tracking function standard component 17, and the standard part and the system-specific part are clearly divided.
As described above, the system-specific processing function callback definition unit 27 in the tracking input information 19 defines a special-purpose processing function and provides a function having a structure for callback of the system-specific processing function in the automatically generated program. Thus, at the time of program modification, it is only necessary to pay attention to the system-specific function portion, and it is not necessary to manually modify the automatically generated program, so that the maintainability of the program can be improved.
In addition, since a system-specific processing function callback can be defined, the generated program has a standard part and a system-specific part that are clearly separated, thereby improving the maintainability of the program.
[0030]
Embodiment 3 FIG.
In the first and second embodiments, in addition to the input processing function 28 and the input data consistency check function 29, the tracking standard component combining function 31 and the program source automatic generation function 32 (32A) are provided. A tracking basic information definition file automatic generation function may be provided in addition to the function and the input data consistency check function.
Hereinafter, a third embodiment of the present invention in which input information is analyzed and a tracking basic information definition file is automatically generated will be described with reference to the flowchart of FIG. 6 together with FIGS.
[0031]
FIG. 6 shows the operation of the tracking control automatic generation system for process control according to the third embodiment of the present invention, and particularly shows the processing of the tracking information analysis processing unit 16.
In FIG. 6, the same processes as those described above (see FIGS. 4 and 5) are denoted by the same reference numerals as those described above, or “B” is added after the reference numerals, and a detailed description thereof is omitted.
In this case, the tracking information analysis processing unit 16 (see FIG. 1) includes an input processing unit 28, an input data consistency check function 29B, and a tracking basic information definition file automatic generation function 30.
[0032]
First, the user inputs the tracking input information 19 through the keyboard 14 based on a predetermined tracking function specification, and similarly issues an instruction to automatically generate a tracking basic information definition file by pressing a button from the keyboard 14. I do.
At this time, in the tracking basic information definition unit 20 (see FIG. 2), similarly to the above, an area name input unit 21 which is an area name used for the tracking function, and an area information input unit 22 which inputs definition information on each area. Is described.
Further, the tracking information analysis processing unit 16 executes a process upon receiving a tracking basic information definition file generation instruction from the user.
[0033]
In FIG. 6, first, an input processing function 28 for fetching information input by a user from the secondary storage device 13 is executed (step S1).
Subsequently, particularly, the tracking definition information input to the area information input unit 22 (see FIG. 2) is checked (step S22), and it is determined whether the tracking definition information is normal (step S23).
If it is determined in step S23 that the input tracking definition information is not normal but is incorrect (that is, NO), it is determined that generation of the definition information file is not possible, and the process proceeds to step S4 to output an alarm to the CRT 15. .
On the other hand, if it is determined that the tracking definition information is normal (that is, YES), the tracking basic information definition file automatic generation function 30 executes automatic tracking basic information definition file generation processing (step S25), and FIG. Is completed. This definition file is generated in the secondary storage device 13.
[0034]
Since the tracking basic information definition file generated in this way prevents input errors caused by text input that has been performed in the conventional system, it is necessary to prevent errors when defining the tracking basic information. Can be.
A function of displaying and inputting information in a tabular format allows input of basic tracking information in a tabular format, and provides a basic tracking information input function in association with the tracking information display / input unit 18 to define the basic tracking information. By automatically generating the file, the maintainability of the tracking basic information can be improved.
[0035]
Embodiment 4 FIG.
In the first to third embodiments, although not particularly mentioned, a tracking function program source required to configure a tracking application program having a structure independent of line characteristics (batch line, continuous line, etc.) is controlled. It may be automatically generated as a program.
Hereinafter, a control program automatic generation system according to a fourth embodiment of the present invention for automatically generating a tracking function program source without depending on line characteristics will be described with reference to FIGS. 1 to 3 and an explanatory diagram of FIG. .
[0036]
FIG. 7 shows a software configuration of a tracking function program source achieved by the control program automatic generation system according to the fourth embodiment of the present invention.
In FIG. 7, the tracking function program source includes a tracking application program 33, a tracking processing automatic generation program 34, a tracking application interface 35, a batch line basic tracking software 36, and a continuous line tracking basic software 37. .
[0037]
The tracking processing automatic generation program 34 is automatically generated according to the first embodiment. The program maker uses the tracking processing automatic generation program 34 in the tracking application program 33 created by itself.
The tracking application interface 35 includes a group of functions including a tracking processing automatic generation program 34, and provides an application interface to the tracking application program 33.
[0038]
Further, the batch line basic tracking software 36 is applied to a steel hot rolling line and the like, and the continuous line tracking basic software 37 is applied to a steel annealing line and a continuous plating line.
The batch line basic tracking software 36 and the continuous line tracking basic software 37 are basic software that can be selectively used according to the characteristics of the process line.
[0039]
The program maker produces the tracking application program 33 using the tracking processing automatic generation program 34 and the tracking application interface 35. Thus, the application interface provided by the batch line tracking basic software 36 and the continuous line tracking basic software 37 has a software structure in which neither is used.
[0040]
On the other hand, the software configuration (not shown) of the tracking function program source according to the conventional system is composed of only the tracking application program 33, the batch line basic tracking software 36, and the continuous line tracking basic software 37. The tracking application program 33 uses an application interface provided by the batch line basic tracking software 36 or the continuous line tracking basic software 37.
[0041]
By adopting the programming function as shown in FIG. 7 and utilizing the generated tracking function program as an application interface provided on the basic software corresponding to the line characteristics, the difference in the line characteristics compared to the conventional one is obtained. Since the tracking application program can be created without being conscious of the problem, the man-hours for the program maker, which occurs due to lack of experience in individual lines, can be reduced.
In addition, since the automatically generated tracking function program is used as an application interface provided on the basic software corresponding to the line characteristics, it is possible to create a program without considering the line characteristics. It does not depend on (such as a continuous line or a batch line), but can improve the diversification of the tracking program beyond the line characteristics and can be easily diverted between different systems.
[0042]
Embodiment 5 FIG.
Although not particularly mentioned in the first to fourth embodiments, a modification function of the tracking application program may be provided.
Hereinafter, a control program automatic generation system according to a fifth embodiment of the present invention having a function of modifying a tracking application program will be described with reference to the flowchart of FIG. 8 together with FIGS. 1 to 3 and 7.
In this case, there is provided a function of automatically generating a tracking function program source necessary for establishing a tracking application program structure in which a replacement program at the time of repair is only an automatically generated portion in the same manner as in the first embodiment. It is assumed that
[0043]
FIG. 8 shows a modification processing operation of an application program using a program generated according to the fifth embodiment of the present invention. Tracking including a tracking processing automatic generation program 34 (see FIG. 7) automatically generated by this system. 9 shows a repair flow of the application program 33.
In FIG. 8, first, the user performs correction input of the tracking input information 19 by using the keyboard 14, and corrects the tracking operation information (step S31). Next, an automatic generation instruction is issued (step S32), whereby the repair program is automatically generated as in the first embodiment.
[0044]
The repair program thus generated is subjected to a replacement process (step S33), and subsequently, an operation check is performed (step S34).
At this time, in the replacement process of step S33, only the process of replacing the tracking process automatic generation program 34 and regenerating the program module is required, and there is no need to modify the tracking application program 33.
[0045]
Next, following the operation check (step S34), it is determined whether or not the operation is normal (step S35). If the operation is determined to be normal (ie, YES), the repair process in FIG. 8 is completed. Become.
On the other hand, if it is determined in step S35 that the operation is defective (that is, NO), the cause of the defect is determined (step S36), and the process returns to step S31 to correct the tracking input information 19 again.
Thereafter, by repeating the same processing flow as above, adjustment is performed until the repair is completed.
[0046]
In the conventional tracking function adjustment, it is necessary to correct the code of the tracking application program 33 at the time of repair, and the logic is complicatedly intertwined in the program, so further defects at the time of repair and a great deal of man-hour for repair are required. Had been raised.
On the other hand, by making the tracking function by using the control program automatic generation system according to the fifth embodiment of the present invention, spiral adjustment becomes possible, whereby the production, testing and repair can be performed in a short cycle. It can be carried out. Also, by adopting a structure of a tracking processing program combined from the tracking function standard component 17 and providing a function that eliminates the need for a manual correction portion at the time of program modification, the automatically generated program can be implemented by the tracking function standard component 17. And the need for a manual correction portion at the time of program modification is eliminated, so that the number of steps required for function adjustment and program modification can be reduced.
[0047]
【The invention's effect】
As described above, according to the present invention, the tracking information display / input unit for displaying and inputting the basic tracking information and the tracking operation information in the form of a table as the input information, and the tracking function standard component corresponding to the input information A tracking function program source is automatically generated by storing and analyzing the input information and combining with the tracking function standard parts. There is an effect that a tracking function automatic generation system and a control program automatic generation system that achieve leveling of a creation program level and improvement of maintainability of an automatic generation program can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an automatic tracking function generation system for process control according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a specific configuration of tracking input information in FIG.
FIG. 3 is a block diagram specifically showing a tracking information analysis processing unit in FIG. 1;
FIG. 4 is a flowchart showing a processing operation of the tracking function automatic generation system for process control according to the first embodiment of the present invention;
FIG. 5 is a flowchart showing a processing operation of a tracking control automatic generation system for process control according to Embodiment 2 of the present invention;
FIG. 6 is a flowchart showing a processing operation of a tracking control automatic generation system for process control according to a third embodiment of the present invention.
FIG. 7 is an explanatory diagram showing a software configuration of a tracking function program source achieved by a control program automatic generation system according to a fourth embodiment of the present invention.
FIG. 8 is a flowchart showing a modification processing operation of an application program using a program generated according to the fifth embodiment of the present invention.
[Explanation of symbols]
Reference Signs List 11 main storage device, 12 CPU, 13 secondary storage device, 14 keyboard, 15 CRT, 16 tracking information analysis processing section, 17 tracking function standard parts, 18 tracking information display / input section, 19 tracking input information, 20 tracking basic information Definition section, 21 area name input section, 22 area information input section, 23 tracking operation information definition section, 24 processing name input section, 25 tracking operation input section, 26 operation target area input section, 27 system-specific processing function callback definition Part, 28 input processing function, 29, 29B input data consistency check function, 30 tracking basic information definition file automatic generation function, 31 tracking standard component connection function, 32, 32A program source automatic generation function, 33 tracking application program 34 tracking process automatically generating program, 35 tracking application interface, 36 Batch line tracking basic software, tracking basic software for 37 consecutive lines.

Claims (5)

トラッキング基本情報およびトラッキング動作情報を入力情報として取り込み且つ表形式で表示させるためのトラッキング情報表示/入力部と、
前記入力情報に対応したトラッキング機能標準部品を格納するとともに、前記入力情報を解析して前記トラッキング機能標準部品からの結合を行うことにより、トラッキング機能プログラムソースを自動生成するプログラム自動生成部と
を備えたプロセス制御のトラッキング機能自動生成システム。
A tracking information display / input unit for capturing basic tracking information and tracking operation information as input information and displaying the information in a table format;
A program automatic generation unit that stores a tracking function standard component corresponding to the input information, and automatically generates a tracking function program source by analyzing the input information and performing coupling from the tracking function standard component. Tracking function automatic generation system for process control.
トラッキング情報表示/入力部は、システム特化処理関数コールバック定義部を含み、
前記システム特化処理関数コールバック定義部からの入力情報に基づいて、システム特化処理関数をコールバックすることにより、前記トラッキング機能標準部品以外の処理を実行可能なプログラムソースを前記トラッキング機能プログラムソースとして自動生成することを特徴とする請求項1に記載のトラッキング機能自動生成システム。
The tracking information display / input unit includes a system-specific processing function callback definition unit,
Based on the input information from the system-specific processing function callback definition unit, by calling back a system-specific processing function, a program source capable of executing processing other than the tracking function standard component is converted to the tracking function program source. 2. The tracking function automatic generation system according to claim 1, wherein the tracking function is automatically generated.
トラッキング基本情報を入力情報として取り込み且つ表形式で表示させるためのトラッキング情報表示/入力部と、
前記入力情報を解析してトラッキング基本情報定義ファイルを自動生成するトラッキング基本情報定義ファイル自動生成部と
を備えたプロセス制御のトラッキング機能自動生成システム。
A tracking information display / input unit for capturing basic tracking information as input information and displaying the information in a table format;
A tracking function automatic generation system for process control, comprising: a tracking basic information definition file automatic generation unit that analyzes the input information and automatically generates a tracking basic information definition file.
トラッキングアプリケーションプログラムを含む制御プログラム自動生成システムであって、ライン特性に依存しない構造のトラッキングアプリケーションプログラムを構成する上で必要なトラッキング機能プログラムソースを、請求項1から請求項3までのいずれか1項に記載のプロセス制御のトラッキング機能自動生成システムを用いて生成することを特徴とする制御プログラム自動生成システム。4. A control program automatic generation system including a tracking application program, wherein a tracking function program source required to configure a tracking application program having a structure independent of line characteristics is provided. A control program automatic generation system characterized by using the process control tracking function automatic generation system according to (1). 改修時の入替プログラムが自動生成部分のみとなるトラッキングアプリケーションプログラム構造を成立させるために必要となるトラッキング機能プログラムソースを、請求項1から請求項3までのいずれか1項に記載のプロセス制御のトラッキング機能自動生成システムを用いて生成することを特徴とする制御プログラム自動生成システム。4. The process control tracking according to claim 1, wherein a tracking function program source required for establishing a tracking application program structure in which a replacement program at the time of repair is only an automatically generated portion is provided. An automatic control program generation system characterized by using a function automatic generation system.
JP2002365390A 2002-12-17 2002-12-17 Tracking function automatic generation system of process control and automatic generation system of control program Pending JP2004199265A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002365390A JP2004199265A (en) 2002-12-17 2002-12-17 Tracking function automatic generation system of process control and automatic generation system of control program
CNB031381472A CN1320448C (en) 2002-12-17 2003-05-30 Tracing function automatic generation system of course control and control programe automatic generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002365390A JP2004199265A (en) 2002-12-17 2002-12-17 Tracking function automatic generation system of process control and automatic generation system of control program

Publications (1)

Publication Number Publication Date
JP2004199265A true JP2004199265A (en) 2004-07-15

Family

ID=32762955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002365390A Pending JP2004199265A (en) 2002-12-17 2002-12-17 Tracking function automatic generation system of process control and automatic generation system of control program

Country Status (2)

Country Link
JP (1) JP2004199265A (en)
CN (1) CN1320448C (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02271435A (en) * 1989-04-13 1990-11-06 Mitsubishi Electric Corp Task tracing device
US6751626B2 (en) * 2001-05-03 2004-06-15 International Business Machines Corporation Method, system, and program for mining data in a personal information manager database

Also Published As

Publication number Publication date
CN1508671A (en) 2004-06-30
CN1320448C (en) 2007-06-06

Similar Documents

Publication Publication Date Title
US10303581B2 (en) Graphical transaction model
US5799193A (en) Scenario based iterative method for development of an object oriented system model
US5130932A (en) Generating device for production system simulator
US8527254B2 (en) Simulator engine development system and simulator engine development method
CN110543301B (en) Method and device for generating jenkins code file
WO2004010360A1 (en) Consulting system using network, content making method and recording medium for storing a program to perform the system and method
US9116708B2 (en) Program creation support apparatus, program, and information system
JP5026925B2 (en) Control program creation device and control program creation method
US9177277B2 (en) Workflow modeling with worklets and transitions
JP4977681B2 (en) Data pattern / test data generation / storage method and system
JP2004199265A (en) Tracking function automatic generation system of process control and automatic generation system of control program
CN112256978B (en) Data processing method, device and medium based on data model
JPH08190476A (en) Development assisting device for interactive program
JP6265030B2 (en) Application development system, development device data processing method, and program
JP6097231B2 (en) Program generating apparatus and method
CN101110028A (en) System and methods for generating runtime messages
JP2007115155A (en) Program structure management device and program structure management program
JP2007122230A (en) Input error item display device, method, and program
US8151242B1 (en) Description support apparatus and method for requisition sheet, and recording medium
JP7359218B2 (en) Management device, management method and management program
JP2007094453A (en) Program development support system, program development support method and program
JP2005043931A (en) System for automatically generating program and method for automatically generating program
JP2004054595A (en) System, method and program for supporting repair, and recording medium recording this program
JP4525877B2 (en) Screen-coupled program-linked test support apparatus and support method
JPH05127878A (en) Program design system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051212

A977 Report on retrieval

Effective date: 20080421

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20081202

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090331