JPH0628377A - Business form output device - Google Patents

Business form output device

Info

Publication number
JPH0628377A
JPH0628377A JP4183474A JP18347492A JPH0628377A JP H0628377 A JPH0628377 A JP H0628377A JP 4183474 A JP4183474 A JP 4183474A JP 18347492 A JP18347492 A JP 18347492A JP H0628377 A JPH0628377 A JP H0628377A
Authority
JP
Japan
Prior art keywords
data
file
output
data collection
business form
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
JP4183474A
Other languages
Japanese (ja)
Inventor
Suehiro Matsuyama
末廣 松山
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4183474A priority Critical patent/JPH0628377A/en
Publication of JPH0628377A publication Critical patent/JPH0628377A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a business form output device can improve the reduction of labor and the maintenance properties for development of a data collecting/ business form output program and also can optionally set the form and the data of the business form by using a spread sheet consisting of the rows and columns. CONSTITUTION:A business form production means 71 has a business form editing function which displays a spread sheet consisting of plural cells including the rows and columns on a display device 3 and inputs and edits the business form elements like the title, the output form, the ruled lines, etc., the data names which collect the tags or symbols for each row, the data types, the data collecting time each row, and the comments through a key input device 2. Thus, the means 71 produces a sheet file 8, an address file 9, a data collecting time file 10, and a process data file 11 based on the contents of the spread sheet inputted by the business form editing function. furthermore, the means 71 has a business form register/dele tion processing function to register the business form control information into a business form control file 12 and also deletes the business form control information with an instruction of a user.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、各種プラント設備のプ
ロセス制御を行なうマルチタスキング処理が可能な計算
機システムにおいて、プロセス制御過程で収集される種
々なデータをリスト出力する帳票出力装置に係り、特に
データ収集/帳票出力用プログラム開発の省力化、保守
性の向上を図りつつ、プロセス制御で用いられる帳票の
形態および収集するプロセスデータをユーザが任意に設
定できかつ簡単に出力し得るようにした帳票出力装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a form output device for outputting a list of various data collected in a process control process in a computer system capable of multitasking processing for process control of various plant equipment, In particular, while saving labor in developing programs for data collection / form output and improving maintainability, the form of forms used in process control and the process data to be collected can be set by the user and output easily. The present invention relates to a form output device.

【0002】[0002]

【従来の技術】近年、各種プラント設備のプロセス制御
を行なう計算機システムにおいては、並列実行可能な複
数のマルチタスク・プログラムを実行するマルチタスキ
ング方式の適用が主流となってきている。そして、この
ようなプラント設備のプロセス制御においては、数多く
の制御プロセス・データを収集/蓄積し、帳票として編
集出力するアプリケーション・プログラムが多数開発さ
れ用いられている。
2. Description of the Related Art In recent years, a multitasking system for executing a plurality of multitask programs that can be executed in parallel has become the mainstream in computer systems for controlling the processes of various plant facilities. In such process control of plant equipment, a large number of application programs that collect / accumulate a large amount of control process data and edit and output as a form have been developed and used.

【0003】ところで、これらプロセス制御で用いられ
る帳票は、プラント設備、制御方式、および取り扱うプ
ロセスデータの種別により、多種多様を極めている。ま
た、制御技術、計算機システムの機能・処理能力の向上
により、取り扱うデータ量も急激な増加傾向にある。
There are a great variety of forms used in these process controls, depending on the plant equipment, control method, and type of process data to be handled. In addition, the amount of data to be handled tends to increase rapidly due to improvements in control technology and computer system functions and processing capabilities.

【0004】従って、データ収集/帳票出力用アプリケ
ーション・プログラムの開発は、開発期間およびコスト
の増大と、運用後に発生するデータ、帳票フォーム等の
変更に伴なうプログラム保守性の悪化を招いている。
Therefore, the development of a data collection / form output application program leads to an increase in development period and cost, and deterioration of program maintainability due to changes in data, form, etc. occurring after operation. .

【0005】[0005]

【発明が解決しようとする課題】以上のように、プロセ
ス制御で用いられるデータ収集/帳票出力用アプリケー
ション・プログラムは、プラント設備、制御方法、およ
び取り扱うプロセスデータの種別・量により、プログラ
ムの開発期間・コストが大きく左右されるばかりでな
く、運用後に発生する収集データの増減、帳票フォーム
の変更等の数々の問題に対するプログラムの保守面にお
いても、迅速な対応が困難であるという問題があった。
As described above, the data collection / form output application program used in the process control depends on the plant equipment, the control method, and the type and amount of the process data to be handled. -Not only was the cost greatly affected, but there was also the problem that it was difficult to quickly respond to the maintenance of the program in response to a number of problems that occurred after the operation, such as increase / decrease in collected data and changes in the form.

【0006】本発明の目的は、各種プラント設備のプロ
セス制御を行なうマルチタスク計算機システムにおい
て、データ収集/帳票出力用プログラム開発の省力化、
保守性の向上を図りつつ、プロセス制御で用いられる帳
票の形態および収集するプロセスデータをユーザが任意
に設定できかつ簡単に出力することが可能な帳票出力装
置を提供することにある。
An object of the present invention is to save labor in developing a program for data collection / form output in a multi-task computer system for controlling processes of various plant facilities.
It is an object of the present invention to provide a form output device which allows a user to arbitrarily set the form of a form used in process control and process data to be collected and easily output it while improving maintainability.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに、キー入力装置、表示装置、プリンタ装置、外部機
器インターフェース装置を備えて、各種プラント設備の
プロセス制御を行なう並列処理が可能なマルチタスク計
算機システム上で動作し、外部制御機器から得られる任
意のプロセスデータ群を任意の時間毎に収集して、全て
のデータ収集が終了した後にあらかじめ設定した帳票フ
ォームに従って帳票を出力するタスクの帳票出力装置に
おいて、まず、請求項1に記載の発明の帳票出力装置
は、表示装置に行・列からなるスプレッドシートを表示
し、キー入力装置よりタイトル,出力形式,罫線等の帳
票フォーム、行毎にタグまたはシンボル等の収集するデ
ータ名称、データ種別、列毎にデータ収集時間、コメン
トを入力/編集する帳票編集機能と、帳票編集機能によ
り入力された行毎のデータ名称、データ種別、列毎のデ
ータ収集時間に関しての整合性のチェックを行ない、そ
の結果エラーがない場合に、帳票編集機能により入力さ
れたスプレッドシートの内容に従って帳票フォーム情
報、データ名称毎の入出力アドレスおよびデータ属性、
サンプリング時間、帳票データ収集用の各ファイルを生
成し、これら帳票の帳票管理情報を帳票管理ファイルに
登録し、またユーザからの指示により帳票の帳票管理情
報を削除する帳票登録/削除処理機能とを有する帳票生
成手段を備えて構成している。
In order to achieve the above object, a multi-input multi-processor capable of performing process control of various plant facilities is provided with a key input device, a display device, a printer device, and an external device interface device. Task form that runs on a task computer system, collects arbitrary process data groups obtained from an external control device at arbitrary time intervals, and outputs a form according to a preset form form after all data collection is completed In the output device, first, the form output device of the invention according to claim 1 displays a spreadsheet consisting of rows and columns on a display device, and a key input device is used to form a form such as a title, an output format, and ruled lines, and each line. Input / edit the data name to be collected such as tags or symbols, data type, data collection time for each column, and comment Checks the consistency between the form edit function and the data name, data type, and data collection time for each row input by the form edit function, and if there is no error as a result, it is input by the form edit function. Form form information, input / output address and data attribute for each data name,
Generates each file for sampling time and form data collection, registers the form management information of these forms in the form management file, and has the form registration / deletion processing function that deletes the form management information of the form according to the instruction from the user. It is configured by including the form generation means that it has.

【0008】また、請求項2に記載の発明の帳票出力装
置は、上記請求項1に記載の発明の帳票出力装置に加え
て、帳票生成手段により生成されて帳票管理ファイルに
登録された各々の帳票の管理情報に基づいて、計算機シ
ステムが有するシステムタイマーが帳票生成手段により
スプレッドシート上に設定されたいずれかのデータ収集
時間に達した場合に、当該スプレッドシート上で指定さ
れた全データ名称のプロセスデータを外部機器インター
フェース装置を介して収集し、該当する帳票データ収集
ファイルに保存するデータ収集タスクを生成するデータ
収集タスク生成機能と、帳票生成手段により帳票管理フ
ァイルに登録された各帳票の出力時間のうちいずれかが
システムタイマーの時間と一致した場合に、帳票管理フ
ァイルに登録された該当帳票フォームファイルおよび帳
票データファイルを参照し、当該帳票フォームファイル
に記述されたフォームに従って帳票データファイル内の
データを編集し、プリンタ装置に出力する帳票出力タス
クを生成する帳票出力タスク生成機能とを有する帳票管
理手段を備えて構成している。
Further, in addition to the form output device of the invention described in claim 1, the form output device of the invention described in claim 2 includes each of the forms generated by the form generation means and registered in the form management file. Based on the management information of the form, when the system timer of the computer system reaches any data collection time set on the spreadsheet by the form generation means, all the data names specified on the spreadsheet A data collection task creation function that creates a data collection task that collects process data via an external device interface device and saves it in the corresponding form data collection file, and outputs each form registered in the form management file by the form creation means. If any of the times matches the time of the system timer, it is registered in the form management file. A form output task generation function that refers to the corresponding form form file and form data file, edits the data in the form data file according to the form described in the form form file, and generates a form output task to output to the printer device. It has a form management means.

【0009】[0009]

【作用】従って、本発明の帳票出力装置においては、帳
票生成手段が有する帳票編集手段により編集されたスプ
レッドシートは、同じく帳票生成手段が有する帳票登録
/削除処理機能により、スプレッドシート上の全てのセ
ル情報から帳票形態、タグ/シンボル情報、プロセスデ
ータ収集時間、プロセスデータ格納形態、および帳票管
理情報が生成され、各々シートファイル、アドレスファ
イル、データ収集時間ファイル、プロセスデータファイ
ルに格納されると共に、これらの帳票に関する帳票管理
情報が帳票管理ファイルに格納される。
Therefore, in the form output device according to the present invention, the spreadsheet edited by the form editing means of the form generating means has the same function as the form registration / deletion processing function of the form generating means. Form form, tag / symbol information, process data collection time, process data storage form, and form management information are generated from the cell information and stored in a sheet file, address file, data collection time file, and process data file, respectively. The form management information regarding these forms is stored in the form management file.

【0010】一方、帳票管理手段では、そのデータ収集
タスク生成機能、帳票出力タスク生成機能により、上記
帳票生成手段により帳票管理ファイルに格納された全て
の帳票管理情報についてプロセスデータ収集時間、帳票
出力時間が監視され、計算機システムが有するシステム
タイマーと、プロセスデータ収集時間、帳票出力時間の
いずれかが合致した場合に、データ収集タスクまたは帳
票出力タスクが生成される。
On the other hand, in the form management means, the data collection task generation function and the form output task generation function cause the process data collection time and the form output time for all the form management information stored in the form management file by the form generation means. Is monitored, and a data collection task or a form output task is generated when the system timer of the computer system matches any of the process data collection time and the form output time.

【0011】次に、帳票管理手段のデータ収集タスク生
成機能で生成されたデータ収集タスクにより、帳票管理
ファイルに格納された全ての帳票管理情報よりアドレス
ファイル名、プロセスデータファイル名、および書き込
み先頭位置が取得され、アドレスファイルに記述された
タグ/シンボル情報の入出力アドレスよりプロセスデー
タが順次収集される。この収集されたプロセスデータ
は、プロセスデータファイルの書き込み先頭位置からタ
グ/シンボル情報順に格納される。そして、全てのプロ
セスデータの収集完了により、帳票管理ファイルに格納
された全ての帳票管理情報の次データ収集時間が、デー
タ収集時間ファイルに記述されている次の収集時間値で
更新されると共に、プロセスデータファイルの書き込み
先頭位置も更新される。
Next, an address file name, a process data file name, and a write start position are obtained from all the form management information stored in the form management file by the data collection task generated by the data collection task generation function of the form management means. Is acquired, and process data is sequentially collected from the input / output address of the tag / symbol information described in the address file. The collected process data is stored in the order of tag / symbol information from the write start position of the process data file. When the collection of all process data is completed, the next data collection time of all the form management information stored in the form management file is updated with the next collection time value described in the data collection time file, The write start position of the process data file is also updated.

【0012】また、帳票管理手段の帳票出力タスク生成
機能で生成された帳票出力タスクにより、帳票管理ファ
イルに格納された全ての帳票管理情報よりシートファイ
ルに格納された帳票形態情報と、帳票管理手段のデータ
収集タスク生成機能により生成されたデータ収集タスク
が収集され、プロセスデータファイルに格納したタグ/
シンボルのプロセスデータが帳票形態情報に従って編集
され、その結果が計算機システムが有するプリント制御
ルーチンへ渡されて、プリンタ装置より帳票出力され
る。
Further, the form output task generated by the form output task generation function of the form management means allows all the form management information stored in the form management file to be included in the form form information stored in the sheet file and the form management means. Data collection tasks generated by the data collection task generation function of
The process data of the symbol is edited according to the form information, and the result is passed to the print control routine of the computer system, and the form is output from the printer.

【0013】[0013]

【実施例】以下、本発明の一実施例について図面を参照
して詳細に説明する。図1は、本発明による帳票出力装
置を適用したプロセス制御システムに用いられるマルチ
タスク計算機システムの全体構成例を示すブロック図で
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing an example of the overall configuration of a multitask computer system used in a process control system to which a form output device according to the present invention is applied.

【0014】図1に示すように、本実施例の計算機シス
テムは、マルチタスクCPU1、キー入力装置2、表示
装置3、プリンタ装置4、外部機器インターフェース装
置5、外部制御機器6を備えたマルチタスク計算機と、
帳票生成手段71および帳票管理手段72を備えた帳票
出力装置7とから構成している。ここで、マルチタスク
計算機は、各種プラント設備のプロセス制御を行なう並
列処理可能なものである。
As shown in FIG. 1, the computer system of this embodiment is a multitasking system including a multitasking CPU 1, a key input device 2, a display device 3, a printer device 4, an external device interface device 5, and an external control device 6. With a calculator,
It is configured by a form output device 7 including a form generation unit 71 and a form management unit 72. Here, the multi-task computer is capable of parallel processing for performing process control of various plant equipment.

【0015】一方、帳票生成手段71は、表示装置3に
行・列からなる複数のセルで構成されるスプレッドシー
トを表示し、キー入力装置2よりタイトル,出力形式,
罫線等の帳票フォーム、行毎にタグまたはシンボル等の
収集するデータ名称、データ種別、列毎にデータ収集時
間、コメントを入力/編集する帳票編集機能と、この帳
票編集機能により入力された行毎のデータ名称、データ
種別、列毎のデータ収集時間に関しての整合性のチェッ
クを行ない、その結果エラーが生じた場合にはそのエラ
ー情報を通知し、エラーがない場合には、帳票編集機能
により入力されたスプレッドシートの内容に従って帳票
フォーム情報、データ名称毎の入出力アドレスおよびデ
ータ属性、サンプリング時間、帳票データ収集用の各フ
ァイル、すなわちシートファイル8、アドレスファイル
9、データ収集時間ファイル10、プロセスデータファ
イル11を生成し、これら帳票の帳票管理情報を帳票管
理ファイル12に登録し、またユーザからの指示により
帳票の帳票管理情報を削除する帳票登録/削除処理機能
とを有するものである。
On the other hand, the form generation means 71 displays a spreadsheet composed of a plurality of cells consisting of rows and columns on the display device 3, and a title, an output format,
Form form such as ruled lines, name of data to be collected such as tags or symbols for each line, data type, data collection time for each column, form editing function for entering / editing comments, and each line entered by this form editing function Check the consistency of the data name, data type, and data collection time for each column. If an error occurs as a result, the error information is notified, and if there is no error, it is input by the form editing function. Form form information, input / output address and data attribute for each data name, sampling time, each file for collecting form data, that is, sheet file 8, address file 9, data collection time file 10, process data according to the contents of the created spreadsheet. Generate the file 11 and put the form management information of these forms in the form management file 12. Recorded, and also those having a form registration / deletion processing function to delete the document management information of the form in accordance with an instruction from the user.

【0016】また、帳票管理手段72は、帳票生成手段
71により生成されて帳票管理ファイル12に登録され
た各々の帳票の管理情報(アドレスファイル9、データ
収集時間ファイル10)に基づいて、計算機システムが
有するシステムタイマーが帳票生成手段71によりスプ
レッドシート上に設定されたいずれかのデータ収集時間
に達した場合に、当該スプレッドシート上で指定された
全データ名称のプロセスデータを外部機器インターフェ
ース装置5を介して収集し、該当するプロセスデータフ
ァイル11に保存するデータ収集タスク13を生成する
データ収集タスク生成機能と、帳票生成手段71により
帳票管理ファイル12に登録された各帳票の出力時間の
うちいずれかがシステムタイマーの時間と一致した場合
に、帳票管理ファイル12に登録された該当シートファ
イル8およびプロセスデータファイル11を参照し、当
該シートファイル8に記述されたフォームに従ってプロ
セスデータファイル11内のデータを編集し、プリンタ
装置4に出力する帳票出力タスク14を生成する帳票出
力タスク生成機能とを有するものである。次に、以上の
ように構成した本実施例の作用について、図2ないし図
7を用いて説明する。
Further, the form management means 72 is a computer system based on the management information (address file 9 and data collection time file 10) of each form generated by the form generation means 71 and registered in the form management file 12. When the system timer included in the spreadsheet generation means 71 reaches any of the data collection times set on the spreadsheet by the form generation means 71, the process data of all the data names designated on the spreadsheet is transferred to the external device interface device 5. Any one of a data collection task generation function for generating a data collection task 13 that is collected via the form and stored in the corresponding process data file 11 and an output time of each form registered in the form management file 12 by the form generation means 71. If the specified time matches the system timer time, the form management file A sheet output task 14 that refers to the sheet file 8 and the process data file 11 registered in the file 12 and edits the data in the process data file 11 according to the form described in the sheet file 8 and outputs the edited data to the printer device 4. And a form output task generation function for generating. Next, the operation of the present embodiment configured as described above will be described with reference to FIGS.

【0017】図1において、帳票生成手段71が有する
帳票編集機能により任意の帳票形態に編集された、図2
に示すようなスプレッドシートc1は、行、列からなる
複数のセルc2で構成され、セルc2は各々セル情報c
32を有している。
In FIG. 1, the form editing function of the form generating means 71 is used to edit the form into an arbitrary form.
A spreadsheet c1 as shown in FIG. 2 is composed of a plurality of cells c2 each consisting of rows and columns, and each cell c2 has cell information c.
Has 32.

【0018】この場合、図2に示すように、セル情報c
3は、列毎のセル幅を決定する列幅、セルの書き込み許
可/禁止を表わす保護、セル値が何で有るかを表わす属
性、罫線有無/位置を表わす罫線、セル値が数値である
場合の表示形態を表わす書式、セル値の表示位置を表わ
すアジャスト、セル値の格納位置を格納するセル値ポイ
ンタ等で構成されている。
In this case, as shown in FIG. 2, cell information c
Reference numeral 3 denotes a column width that determines the cell width for each column, protection that indicates write permission / prohibition of cells, attributes that indicate what the cell value is, ruled lines that indicate the presence / absence of a ruled line / position, and if the cell value is a numeric value It is composed of a format indicating the display form, an adjustment indicating the display position of the cell value, a cell value pointer for storing the storage position of the cell value, and the like.

【0019】セル値ポインタが指し示す実際のセル値
は、文字、数式、タグ/シンボル名称からなる文字列、
列毎に決まる列の見出し文字、プロセスデータを収集す
る時間、スプレッドシートを帳票として出力する時間か
らなる列見出し、数値および収集したプロセスデータの
ファイル格納位置を示すプロセスデータポインタからな
る数値等が有る。ユーザは、これらセル情報c3を帳票
形態に作成しながら任意に決定することができる。
The actual cell value pointed to by the cell value pointer is a character string consisting of characters, mathematical expressions, tag / symbol names,
There is a column heading character that is determined for each column, a column heading that consists of the time to collect process data, a time to output a spreadsheet as a form, and a numeric value that consists of a numerical value and a process data pointer that indicates the file storage location of the collected process data. . The user can arbitrarily determine the cell information c3 while creating the cell information c3 in a form.

【0020】図2において、“TAG NO. ”は、プロセス
制御システムで用いられるシンボル名を表わす見出し文
字列である。この列のセルに入力された“A18205”,
“F18210S ”……は、セル属性として“タグ”を持つ。
また、“9:00”,“12:00 ”,“15:00 ”……は、プロ
セスデータ収集時間または帳票出力時間を表わす“収集
時間”または“帳票出力時間”見出し文字列である。な
お、セル属性として“タグ”を持つ行と“収集時間見出
し”を持つ列との交点に位置するセルc4は、プロセス
データファイル11に格納されたプロセスデータ値への
位置属性を持つ。
In FIG. 2, "TAG NO." Is an index character string representing a symbol name used in the process control system. “A18205” entered in the cell of this column,
"F18210S" ... has "tag" as a cell attribute.
Further, “9:00”, “12:00”, “15:00” ... Are “collection time” or “form output time” heading character strings representing process data collection time or form output time. The cell c4 located at the intersection of the row having the “tag” as the cell attribute and the column having the “collection time header” has the position attribute to the process data value stored in the process data file 11.

【0021】次に、上記帳票編集機能により編集された
スプレッドシートc1は、同じく帳票生成手段71が有
する帳票登録/削除処理機能により、スプレッドシート
c1上の全てのセル情報c3から、帳票形態情報21、
タグ/シンボル情報22、プロセスデータ収集時間2
3、プロセスデータ格納形態24、および帳票管理情報
25が生成され、各々シートファイル8、アドレスファ
イル9、データ収集時間ファイル10、プロセスデータ
ファイル11に格納されると共に、これらの帳票に関す
る帳票管理情報25が帳票管理ファイル12に格納され
る。
Next, the spreadsheet c1 edited by the above-mentioned form editing function is processed by the form registration / deletion processing function of the form generating means 71, from all the cell information c3 on the spreadsheet c1 to the form form information 21. ,
Tag / symbol information 22, process data collection time 2
3, the process data storage form 24, and the form management information 25 are generated and stored in the sheet file 8, the address file 9, the data collection time file 10, and the process data file 11, respectively, and the form management information 25 related to these forms is generated. Is stored in the form management file 12.

【0022】次に、帳票管理手段72では、データ収集
タスク生成機能、帳票出力タスク生成機能により、上記
帳票生成手段71の帳票登録/削除処理機能により帳票
管理ファイル12に格納された全ての帳票管理情報25
について、プロセスデータ収集時間、帳票出力時間が監
視され、計算機システムが有するシステムタイマーと、
プロセスデータ収集時間、帳票出力時間のいずれかが合
致した場合に、データ収集タスク13または帳票出力タ
スク14が生成される。
Next, in the form management means 72, all the form management stored in the form management file 12 is performed by the data collection task generation function and the form output task generation function, and the form registration / deletion processing function of the form generation means 71. Information 25
, The process data collection time and the form output time are monitored, and the system timer that the computer system has,
When either the process data collection time or the form output time matches, the data collection task 13 or the form output task 14 is generated.

【0023】次に、帳票管理手段71のデータ収集タス
ク生成機能で生成されたデータ収集タスク13により、
帳票管理ファイル12に格納された全ての帳票管理情報
25より、アドレスファイル名、プロセスデータファイ
ル名、および書き込み先頭位置が取得され、アドレスフ
ァイル9に記述されたタグ/シンボル情報22の入出力
アドレスよりプロセスデータが順次収集される。この収
集されたプロセスデータは、プロセスデータファイル1
1の書き込み先頭位置から、タグ/シンボル情報22順
に格納される。そして、全てのプロセスデータの収集完
了により、帳票管理ファイル12に格納された全ての帳
票管理情報20の次データ収集時間が、データ収集時間
ファイル10に記述されている次の収集時間値で更新さ
れると共に、プロセスデータファイル11の書き込み先
頭位置も更新される。
Next, by the data collection task 13 generated by the data collection task generation function of the form management means 71,
The address file name, the process data file name, and the write start position are acquired from all the form management information 25 stored in the form management file 12, and the input / output address of the tag / symbol information 22 described in the address file 9 is acquired. Process data is collected sequentially. This collected process data is the process data file 1
The tag / symbol information 22 is stored in order from the write start position of 1. Then, when the collection of all process data is completed, the next data collection time of all the form management information 20 stored in the form management file 12 is updated with the next collection time value described in the data collection time file 10. At the same time, the write start position of the process data file 11 is updated.

【0024】また、帳票管理手段71の帳票出力タスク
生成機能で生成された帳票出力タスク14により、帳票
管理ファイル12に格納された全ての帳票管理情報20
より、シートファイル8に格納された帳票形態情報21
と、帳票管理手段72のデータ収集タスク生成機能で生
成されたデータ収集タスク13が収集され、プロセスデ
ータファイル11に格納したタグ/シンボルのプロセス
データ24が帳票形態情報21に従って編集され、その
結果が当該計算機システムが有するプリント制御ルーチ
ンへ渡されて、プリンタ装置4より帳票出力される。図
3は、帳票編集機能により帳票形態に編集されたスプレ
ッドシートc1を帳票登録/削除処理機能により生成し
た概念図である。
All the form management information 20 stored in the form management file 12 is generated by the form output task 14 generated by the form output task generation function of the form management means 71.
Form form information 21 stored in the sheet file 8
And the data collection task 13 generated by the data collection task generation function of the form management means 72 is collected, the tag / symbol process data 24 stored in the process data file 11 is edited according to the form form information 21, and the result is It is passed to the print control routine of the computer system, and the form is output from the printer device 4. FIG. 3 is a conceptual diagram in which the spreadsheet c1 edited in the form form by the form editing function is generated by the form registration / deletion processing function.

【0025】図3において、シートファイル8は、帳票
形態情報21を格納する。また、アドレスファイル9
は、スプレッドシートc1内のセル属性“タグ”を持つ
全てのセルのタグ名称から、あらかじめ当該計算機シス
テムが保有するタグ/シンボル情報22を取得し、スプ
レッドシートc1で設定された順に格納する。さらに、
データ収集時間ファイル10は、スプレッドシートc1
内のセル属性“収集時間見出し”を持つ全てのセルの時
間23を取り出して格納する。さらにまた、プロセスデ
ータファイル11は、アドレスファイル9に格納された
タグ/シンボル情報22およびその件数と、データ収集
時間ファイル10に格納されたデータ収集時間の件数か
らファイル構造を決定する。
In FIG. 3, the sheet file 8 stores form form information 21. Also, address file 9
Acquires the tag / symbol information 22 held in advance by the computer system from the tag names of all cells having the cell attribute "tag" in the spreadsheet c1 and stores them in the order set in the spreadsheet c1. further,
The data collection time file 10 is the spreadsheet c1.
The time 23 of all cells having the cell attribute "collection time header" in is extracted and stored. Furthermore, the process data file 11 determines the file structure from the tag / symbol information 22 and its number stored in the address file 9, and the number of data collection times stored in the data collection time file 10.

【0026】これら帳票登録/削除処理機能により生成
された各ファイルの管理情報と、スプレッドシートc1
内で唯一つの“帳票出力時間見出し”属性を持つセルよ
り取り出した帳票出力時間から帳票管理情報25が生成
され、帳票管理ファイル12に登録される。
The management information of each file generated by these form registration / deletion processing functions and the spreadsheet c1
The form management information 25 is generated from the form output time extracted from the cell having the only “form output time index” attribute in the table, and registered in the form management file 12.

【0027】なお、本実施例中の帳票管理手段72は帳
票生成機能手段71により生成され、帳票管理ファイル
12に登録された帳票管理情報25を基に、登録された
各帳票毎のプロセスデータ収集タイミングおよび帳票出
力タイミングを監視する。
The form management means 72 in the present embodiment collects process data for each registered form based on the form management information 25 generated by the form generation function means 71 and registered in the form management file 12. Monitor the timing and output timing of forms.

【0028】図4は、帳票管理手段72が有するデータ
収集タスク生成機能、帳票出力タスク生成機能の動作を
示すフローチャート図である。また、図5は、帳票毎に
データ収集タスク生成機能により生成されたプロセスデ
ータを収集するデータ収集タスク13の動作を示すフロ
ーチャート図である。さらに、図6は、帳票毎に帳票出
力タスク生成機能により生成された帳票を出力するため
の帳票出力タスク14の動作を示すフローチャート図で
ある。
FIG. 4 is a flow chart showing the operation of the data collection task generation function and the form output task generation function of the form management means 72. Further, FIG. 5 is a flowchart showing the operation of the data collection task 13 that collects the process data generated by the data collection task generation function for each form. Further, FIG. 6 is a flowchart showing the operation of the form output task 14 for outputting the form generated by the form output task generation function for each form.

【0029】一方、図7は帳票管理手段72が有するデ
ータ収集タスク生成機能および帳票出力タスク生成機能
により生成された、データ収集タスク13および帳票出
力タスク14の実行結果として出力された帳票の一例を
示す図である。図7において、f1はタグ見出し、f2
は列見出し、f3は収集時間見出し、f4はタグ名、f
5は9:00に収集されたタグのプロセスデータをそれぞれ
示している。
On the other hand, FIG. 7 shows an example of a form output as an execution result of the data collection task 13 and the form output task 14 generated by the data collection task generation function and the form output task generation function of the form management means 72. FIG. In FIG. 7, f1 is a tag heading and f2
Is a column heading, f3 is a collection time heading, f4 is a tag name, f
5 shows the process data of the tags collected at 9:00.

【0030】上述したように、本実施例のマルチタスク
計算機システムにおける帳票出力装置は、表示装置3に
行・列からなる複数のセルで構成されるスプレッドシー
トを表示し、キー入力装置2よりタイトル,出力形式,
罫線等の帳票フォーム、タグまたはシンボル等の収集す
るデータ名称、データ種別、列毎にデータ収集時間、コ
メントを入力/編集する帳票編集機能、この帳票編集機
能により入力されたデータ名称、データ種別、列毎のデ
ータ収集時間に関しての整合性のチェックを行ない、そ
の結果エラーが生じた場合にはそのエラー情報を通知
し、エラーがない場合には、帳票編集機能により入力さ
れたスプレッドシートの内容に従って帳票フォーム情
報、データ名称毎の入出力アドレスおよびデータ属性、
サンプリング時間、帳票データ収集用の各ファイル、す
なわちシートファイル8、アドレスファイル9、データ
収集時間ファイル10、プロセスデータファイル11を
生成し、これら帳票の帳票管理情報を帳票管理ファイル
12に登録し、またユーザからの指示により帳票の帳票
管理情報を削除する帳票登録/削除処理機能を有する帳
票生成手段71と、帳票生成手段71により生成されて
帳票管理ファイル12に登録された各々の帳票の管理情
報(アドレスファイル9、データ収集時間ファイル1
0)に基づいて、計算機システムが有するシステムタイ
マーが帳票生成手段71によりスプレッドシート上に設
定されたいずれかのデータ収集時間に達した場合に、当
該スプレッドシート上で指定された全データ名称のプロ
セスデータを外部機器インターフェース装置5を介して
収集し、該当するプロセスデータファイル11に保存す
るデータ収集タスク13を生成するデータ収集タスク生
成機能、帳票生成手段71により帳票管理ファイル12
に登録された各帳票の出力時間のうちいずれかがシステ
ムタイマーの時間と一致した場合に、帳票管理ファイル
12に登録された該当シートファイル8およびプロセス
データファイル11を参照し、当該シートファイル8に
記述されたフォームに従ってプロセスデータファイル1
1内のデータを編集し、プリンタ装置4に出力する帳票
出力タスク14を生成する帳票出力タスク生成機能を有
する帳票管理手段72とから構成したものである。
As described above, the form output device in the multi-task computer system of this embodiment displays a spreadsheet composed of a plurality of cells consisting of rows and columns on the display device 3, and the title is input from the key input device 2. , Output format,
Form form such as ruled lines, data name to be collected such as tags or symbols, data type, data collection time for each column, form editing function to enter / edit comments, data name, data type input by this form editing function, Check the consistency of the data collection time for each column, notify the error information if an error occurs as a result, and if there is no error, follow the spreadsheet contents input by the form editing function. Form form information, input / output address and data attribute for each data name,
Sampling time, each file for form data collection, that is, a sheet file 8, an address file 9, a data collection time file 10, and a process data file 11 are generated, and form management information of these forms is registered in the form management file 12. A form generation unit 71 having a form registration / deletion processing function for deleting form management information of a form according to an instruction from a user, and management information of each form generated by the form generation unit 71 and registered in the form management file 12 ( Address file 9, data collection time file 1
Based on 0), when the system timer of the computer system reaches any data collection time set on the spreadsheet by the form generation means 71, the process of all data names specified on the spreadsheet A data collection task generation function for collecting data via the external device interface device 5 and generating a data collection task 13 to be stored in the corresponding process data file 11, and the form management file 12 by the form generation means 71.
If any of the output times of the respective forms registered in the table matches the time of the system timer, the corresponding sheet file 8 and process data file 11 registered in the form management file 12 are referred to Process data file 1 according to the described form
It is configured by a form management means 72 having a form output task generation function for editing the data in 1 and outputting the form output task 14 to be output to the printer device 4.

【0031】従って、一般的に利用されているスプレッ
ドシート形式を用いて、ユーザが簡単かつ任意の帳票形
態を作成することが可能となるばかりではなく、プロセ
ス制御システムで用いられるタグ/シンボル等の制御情
報と時間情報を、スプレッドシートで取り扱うセル属性
に付加することにより、プロセス制御に適用することが
可能となる。また、従来では多種多様な帳票毎に開発さ
れていたデータ収集/帳票出力プログラム開発の省力
化、ならびに保守性の向上を図ることが可能となる。
Therefore, not only is it possible for the user to easily and arbitrarily create a form form using the spreadsheet format that is generally used, but also the tags / symbols and the like used in the process control system can be created. By adding the control information and the time information to the cell attributes handled by the spreadsheet, it becomes possible to apply them to the process control. In addition, it is possible to save labor in developing a data collection / form output program that has been conventionally developed for various forms, and to improve maintainability.

【0032】尚、上記実施例では、帳票出力装置7とし
て、帳票生成手段71と帳票管理手段72の双方を備え
て構成する場合について説明したが、必要に応じて、帳
票出力装置7を帳票生成手段71のみから構成するよう
にしてもよいものである。
In the above embodiment, the case in which the form output device 7 includes both the form generation means 71 and the form management means 72 has been described. However, the form output device 7 can be used to generate a form, if necessary. It may be configured to include only the means 71.

【0033】[0033]

【発明の効果】以上説明したように本発明によれば、各
種プラント設備のプロセス制御を行なうマルチタスク計
算機システムにおいて、データ収集/帳票出力用プログ
ラム開発の省力化、保守性の向上を図りつつ、プロセス
制御で用いられる帳票の形態および収集するプロセスデ
ータをユーザが任意に設定できかつ簡単に出力すること
が可能な帳票出力装置が提供できる。
As described above, according to the present invention, in a multi-task computer system for controlling the processes of various plant equipment, while saving labor in developing a program for data collection / form output and improving maintainability, It is possible to provide a form output device in which the user can arbitrarily set the form of the form used in process control and the process data to be collected and can easily output it.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明による帳票出力装置を適用したプロセス
制御システムに用いられるマルチタスク計算機システム
の一実施例を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a multitask computer system used in a process control system to which a form output device according to the present invention is applied.

【図2】同実施例で用いられるスプレッドシートの一例
を示す概念図。
FIG. 2 is a conceptual diagram showing an example of a spreadsheet used in the same embodiment.

【図3】同実施例におけるスプレッドシートを用いて生
成された帳票を帳票登録/削除処理により帳票管理情報
に展開した状態の一例を示す概念図。
FIG. 3 is a conceptual diagram showing an example of a state in which a form generated using a spreadsheet in the embodiment is expanded into form management information by a form registration / deletion process.

【図4】同実施例における帳票管理手段の動作を示すフ
ローチャート図。
FIG. 4 is a flowchart showing the operation of the form management means in the embodiment.

【図5】同実施例における帳票管理手段により生成され
たデータ収集タスクの動作を示すフローチャート図。
FIG. 5 is a flowchart showing the operation of the data collection task generated by the form management means in the embodiment.

【図6】同実施例における帳票管理手段により生成され
た帳票出力タスクの動作を示すフローチャート図。
FIG. 6 is a flowchart showing the operation of the form output task generated by the form management means in the embodiment.

【図7】同実施例における帳票出力装置により出力され
る帳票の一例を示す図。
FIG. 7 is a diagram showing an example of a form output by the form output device in the embodiment.

【符号の説明】[Explanation of symbols]

1…マルチタスクCPU、2…キー入力装置、3…表示
装置、4…プリンタ装置、5…外部機器インターフェー
ス装置、6…外部制御機器、7…帳票出力装置、71…
帳票生成手段、72…帳票管理手段、8…シートファイ
ル、9…アドレスファイル、10…データ収集時間ファ
イル、11…プロセスデータファイル、12…帳票管理
ファイル、13…データ収集タスク、14…帳票出力タ
スク、21…帳票形態情報、22…タグ/シンボル情
報、23…プロセスデータ収集時間、24…プロセスデ
ータ格納形態、25…帳票管理情報、c1…スプレッド
シート、c2,c4…セル、c3…セル情報、f1…タ
グ見出し、f2…列見出し、f3…収集時間見出し、f
4…タグ名、f5…9:00に収集されたタグのプロセスデ
ータ。
1 ... Multitask CPU, 2 ... Key input device, 3 ... Display device, 4 ... Printer device, 5 ... External device interface device, 6 ... External control device, 7 ... Form output device, 71 ...
Form generation means, 72 ... Form management means, 8 ... Sheet file, 9 ... Address file, 10 ... Data collection time file, 11 ... Process data file, 12 ... Form management file, 13 ... Data collection task, 14 ... Form output task , 21 ... Form form information, 22 ... Tag / symbol information, 23 ... Process data collection time, 24 ... Process data storage form, 25 ... Form management information, c1 ... Spreadsheet, c2, c4 ... Cell, c3 ... Cell information, f1 ... tag heading, f2 ... column heading, f3 ... collection time heading, f
4 ... Tag name, f5 ... Tag process data collected at 9:00.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 キー入力装置、表示装置、プリンタ装
置、外部機器インターフェース装置を備えて、各種プラ
ント設備のプロセス制御を行なう並列処理が可能なマル
チタスク計算機システム上で動作し、外部制御機器から
得られる任意のプロセスデータ群を任意の時間毎に収集
して、全てのデータ収集が終了した後にあらかじめ設定
した帳票フォームに従って帳票を出力するタスクの帳票
出力装置において、 前記表示装置に行・列からなるスプレッドシートを表示
し、前記キー入力装置よりタイトル,出力形式,罫線等
の帳票フォーム、行毎にタグまたはシンボル等の収集す
るデータ名称、データ種別、列毎にデータ収集時間、コ
メントを入力/編集する帳票編集機能と、前記帳票編集
機能により入力された行毎のデータ名称、データ種別、
列毎のデータ収集時間に関しての整合性のチェックを行
ない、その結果エラーがない場合に、前記帳票編集機能
により入力されたスプレッドシートの内容に従って帳票
フォーム情報、データ名称毎の入出力アドレスおよびデ
ータ属性、サンプリング時間、帳票データ収集用の各フ
ァイルを生成し、これら帳票の帳票管理情報を帳票管理
ファイルに登録し、またユーザからの指示により前記帳
票の帳票管理情報を削除する帳票登録/削除処理機能と
を有する帳票生成手段を備えて成ることを特徴とする帳
票出力装置。
1. A key input device, a display device, a printer device, and an external device interface device are provided to operate on a multitasking computer system capable of parallel processing for process control of various plant equipment, and to obtain from an external control device. In a form output device for a task that collects an arbitrary process data group that is collected every arbitrary time and outputs a form according to a form form that has been set after all data collection is completed, the display device includes rows and columns. Display a spreadsheet and enter / edit titles, output formats, form forms such as ruled lines, data names to be collected such as tags or symbols for each row, data collection time, data collection time for each column, and comments from the key input device. Form editing function, and the data name, data type for each line input by the form editing function,
The consistency of the data collection time for each column is checked, and if there is no error as a result, the form form information, the input / output address for each data name, and the data attribute according to the contents of the spreadsheet input by the form editing function. , A sample registration / deletion processing function that creates files for sampling time and form data collection, registers the form management information of these forms in the form management file, and deletes the form management information of the form according to an instruction from the user. A form output device comprising: a form generation unit having
【請求項2】 キー入力装置、表示装置、プリンタ装
置、外部機器インターフェース装置を備えて、各種プラ
ント設備のプロセス制御を行なう並列処理が可能なマル
チタスク計算機システム上で動作し、外部制御機器から
得られる任意のプロセスデータ群を任意の時間毎に収集
して、全てのデータ収集が終了した後にあらかじめ設定
した帳票フォームに従って帳票を出力するタスクの帳票
出力装置において、 前記表示装置に行・列からなるスプレッドシートを表示
し、前記キー入力装置よりタイトル,出力形式,罫線等
の帳票フォーム、行毎にタグまたはシンボル等の収集す
るデータ名称、データ種別、列毎にデータ収集時間、コ
メントを入力/編集する帳票編集機能と、前記帳票編集
機能により入力された行毎のデータ名称、データ種別、
列毎のデータ収集時間に関しての整合性のチェックを行
ない、その結果エラーがない場合に、前記帳票編集機能
により入力されたスプレッドシートの内容に従って帳票
フォーム情報、データ名称毎の入出力アドレスおよびデ
ータ属性、サンプリング時間、帳票データ収集用の各フ
ァイルを生成し、これら帳票の帳票管理情報を帳票管理
ファイルに登録し、またユーザからの指示により前記帳
票のと帳票管理情報を削除する帳票登録/削除処理機能
とを有する帳票生成手段と、 前記帳票生成手段により生成されて前記帳票管理ファイ
ルに登録された各々の帳票の管理情報に基づいて、前記
計算機システムが有するシステムタイマーが前記帳票生
成手段によりスプレッドシート上に設定されたいずれか
のデータ収集時間に達した場合に、当該スプレッドシー
ト上で指定された全データ名称のプロセスデータを前記
外部機器インターフェース装置を介して収集し、該当す
る帳票データ収集ファイルに保存するデータ収集タスク
を生成するデータ収集タスク生成機能と、前記帳票生成
手段により帳票管理ファイルに登録された各帳票の出力
時間のうちいずれかが前記システムタイマーの時間と一
致した場合に、前記帳票管理ファイルに登録された該当
帳票フォームファイルおよび帳票データファイルを参照
し、当該帳票フォームファイルに記述されたフォームに
従って帳票データ・ファイル内のデータを編集し、前記
プリンタ装置に出力する帳票出力タスクを生成する帳票
出力タスク生成機能とを有する帳票管理手段と、 を備えて成ることを特徴とする帳票出力装置。
2. A key input device, a display device, a printer device, and an external device interface device are provided to operate on a multitasking computer system capable of parallel processing for process control of various plant equipment, and to obtain from an external control device. In a form output device for a task that collects an arbitrary process data group that is collected every arbitrary time and outputs a form according to a form form that has been set after all data collection is completed, the display device includes rows and columns. Display a spreadsheet and enter / edit titles, output formats, form forms such as ruled lines, data names to be collected such as tags or symbols for each row, data collection time, data collection time for each column, and comments from the key input device. Form editing function, and the data name, data type for each line input by the form editing function,
The consistency of the data collection time for each column is checked, and if there is no error as a result, the form form information, the input / output address for each data name, and the data attribute according to the contents of the spreadsheet input by the form editing function. , Sampling time, each file for collecting form data, register form management information of these forms in the form management file, and form registration / deletion process to delete the form management information of the form according to the user's instruction. A form generation unit having a function, and a system timer included in the computer system based on the management information of each form generated by the form generation unit and registered in the form management file by the form generation unit. If any of the data collection times set above are reached, the sp A data collection task generation function that collects the process data of all data names specified on the red sheet through the external device interface device and generates a data collection task to save in the corresponding form data collection file, and the form generation When any of the output times of each form registered in the form management file by means matches the time of the system timer, refer to the corresponding form form file and form data file registered in the form management file, A form management unit having a form output task generation function for editing data in the form data file according to the form described in the form form file and generating a form output task to be output to the printer device. A form output device characterized by the above.
JP4183474A 1992-07-10 1992-07-10 Business form output device Pending JPH0628377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4183474A JPH0628377A (en) 1992-07-10 1992-07-10 Business form output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4183474A JPH0628377A (en) 1992-07-10 1992-07-10 Business form output device

Publications (1)

Publication Number Publication Date
JPH0628377A true JPH0628377A (en) 1994-02-04

Family

ID=16136433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4183474A Pending JPH0628377A (en) 1992-07-10 1992-07-10 Business form output device

Country Status (1)

Country Link
JP (1) JPH0628377A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011020387A (en) * 2009-07-17 2011-02-03 Jc Libero International:Kk Slip evaluation determiner, preparation apparatus of the same, and supporting apparatus for slip evaluation
JP2012027864A (en) * 2010-07-27 2012-02-09 Axissoft Corp Spreadsheet control program, spreadsheet control device and spreadsheet control method
US9551395B2 (en) 2014-06-17 2017-01-24 Koganei Corporation Shock absorber

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011020387A (en) * 2009-07-17 2011-02-03 Jc Libero International:Kk Slip evaluation determiner, preparation apparatus of the same, and supporting apparatus for slip evaluation
JP2012027864A (en) * 2010-07-27 2012-02-09 Axissoft Corp Spreadsheet control program, spreadsheet control device and spreadsheet control method
US9551395B2 (en) 2014-06-17 2017-01-24 Koganei Corporation Shock absorber

Similar Documents

Publication Publication Date Title
Tocher et al. The automatic programming of simulations
JP3181994B2 (en) How to automatically create job flow specifications
EP1835434A1 (en) Data processing device and data processing method
JPH0554043A (en) Process management system for information processing system development
EP1768034A1 (en) Document processing device and document processing method
JPS60163156A (en) Document forming and editing system
JPH096628A (en) Method and device for parallel processing procedure selection
JPH0628377A (en) Business form output device
JPH11265368A (en) Working procedure management system
JPH11224186A (en) Device and method for analyzing software
JPH08249397A (en) Data gathering, management, and recording device
JPH08255012A (en) Plant operation recording and report generating device
JP3018427B2 (en) Method and apparatus for processing graphic data having a hierarchical structure
US20220237364A1 (en) Click to document
JPS6254337A (en) Specification displaying system for program hierarchy
JPH07141187A (en) Data analysis supporting system and its method
JP2000353124A (en) Hypertext display system
JPH11242706A (en) Data processing support system, data processing supporting method and spreadsheet system
JP2003108405A (en) Device and program for supporting preparation of test specification
JPS61160139A (en) Automatic stepping editor of program list
JPH05265828A (en) Journal sampling device for batch processing program
Glushkov et al. Methodical instructions for laboratory work on discipline" Mathematical Methods of Operations Research" for the 3rd year students of the full-time education
Liu et al. The SCA statistical system
JPH05265731A (en) Global job network diagram producer
JPH01236324A (en) Program design supporting system