JPH0635837A - Process input/output control system - Google Patents

Process input/output control system

Info

Publication number
JPH0635837A
JPH0635837A JP18558192A JP18558192A JPH0635837A JP H0635837 A JPH0635837 A JP H0635837A JP 18558192 A JP18558192 A JP 18558192A JP 18558192 A JP18558192 A JP 18558192A JP H0635837 A JPH0635837 A JP H0635837A
Authority
JP
Japan
Prior art keywords
data
input
output
address
access
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.)
Withdrawn
Application number
JP18558192A
Other languages
Japanese (ja)
Inventor
Akio Yamamiya
明男 山宮
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18558192A priority Critical patent/JPH0635837A/en
Publication of JPH0635837A publication Critical patent/JPH0635837A/en
Withdrawn legal-status Critical Current

Links

Abstract

(57)【要約】 (修正有) 【目的】 一定の利用者プログラムにより、各プロセス
とのデータの入力,出力を行い、上位装置からのデータ
の電文をそのまま処理し、複数のプロセスデータへのア
クセスを行うことが出来る流用性と拡張性の良いプロセ
ス入出力制御方式の実現する。 【構成】 制御装置と外部の複数のプロセスとの間で、
データの入力/出力を装置内蔵の各プリント板を介して
行うプロセス制御装置のデータ入出力制御方式におい
て、該各プロセスとの間の入出力データのアクセスを、
各プリント板の物理アドレスに対応した論理アドレスを
使用して利用者プログラムからアクセスさせるように構
成する。また、利用者プログラムからのアクセス要求の
中に、実際にはアクセス処理を行わない無効の論理アド
レス(NOPアドレス)を有し、複数の入出力データの
アクセス依頼を行うように構成する。
(57) [Summary] (Correction) [Purpose] A certain user program inputs and outputs data to and from each process, processes the data telegram from the higher-level device as is, and outputs it to multiple process data. Realize a process I / O control method that can be accessed and has good diversion and expandability. [Configuration] Between the control device and multiple external processes,
In a data input / output control system of a process control device for inputting / outputting data via each printed board built in the device, access of input / output data to / from each process is performed.
The user program is configured to access using a logical address corresponding to the physical address of each printed board. Further, the access request from the user program has an invalid logical address (NOP address) for which access processing is not actually performed, and is configured to request access to a plurality of input / output data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、制御装置と外部のプロ
セス(制御設備,センサーなど)との間で、データの入
力/出力を行うプロセス制御装置のデータ入出力制御方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input / output control system for a process control device for inputting / outputting data between a control device and an external process (control equipment, sensor, etc.).

【0002】各プロセスとの間のデータの入力/出力
は、そのデータの種別に合った入力,出力の制御を行い
ながら、データの収集や設備の制御を行う必要がある。
For inputting / outputting data to / from each process, it is necessary to collect data and control equipment while controlling input / output according to the type of the data.

【0003】[0003]

【従来の技術】従来のプロセス制御装置には、各プロセ
ス毎に種類の異なるデータを実際に入力/出力するプリ
ント板が並列に用意されており、各プリント板へのデー
タの入力/出力を制御しながら、各プロセスとのデータ
の入力,出力を行っていた。つまり、実装されている各
プリント板の物理アドレス(IOアドレス, Process IO
に実装されているLSI番号等)とプロセスの種類で互
に種類の異なるデータにより、各プリント板の入出力制
御に必要なコマンド出力やステータス入力などを行いな
がら、利用者プログラムの入出力とプロセスデータの入
出力とを行っていた。
2. Description of the Related Art In a conventional process control device, printed boards for actually inputting / outputting different types of data for each process are prepared in parallel, and the input / output of data to each printed board is controlled. However, data was input and output with each process. In other words, the physical address (IO address, Process IO
I / O and process of the user program while performing command output and status input required for I / O control of each printed board by using different data depending on the type of LSI and the process type. I did data input and output.

【0004】[0004]

【発明が解決しようとする課題】従来は、上述の如く、
各プリント板の物理アドレスに依存した制御を行ってい
たので、システムの追加や拡張時のプロセスの数の増減
や内容の変更が発生した場合には、制御に使用するプリ
ント板の物理アドレスの変更やデータ種別(プリント板
に依存)の変更が発生し、利用者プログラムの変更作業
が必要となり流用性に欠けるという問題があった。ま
た、プロセス制御装置が、上位装置から制御データを受
信し、その受信データを解析しながらプロセス制御を行
う場合や、プロセスデータを収集データとして編集し上
位装置へ送信する場合には、その送受信のデータは、予
め上位装置と取決めたフォーマットを使用しなければな
らない。その上位装置とのデータの送受信も、プロセス
数の増減や内容の変更による電文が変更になった場合に
は、データの解析部分やデータの編集部分のプログラム
変更の作業が必要となり拡張性に乏しいという問題もあ
った。本発明の目的は、制御に使用する物理アドレスや
データ種別などを意識せず、一定の利用者プログラムに
より、各プロセスとのデータの入力,出力を行うことが
出来るとともに、上位装置からのデータの電文をそのま
ま処理することが出来て複数のプロセスデータへのアク
セスを行うことが出来る流用性と拡張性の良いプロセス
入出力制御方式を実現することにある。
Conventionally, as described above,
Since the control depends on the physical address of each printed board, if the number of processes is increased or decreased or the contents are changed when a system is added or expanded, change the physical address of the printed board used for control. There is a problem in that the data type (depending on the printed board) is changed and the user program needs to be changed, resulting in lack of diversion. In addition, when the process control device receives control data from the host device and performs process control while analyzing the received data, or when the process data is edited as collected data and sent to the host device, the process The data must use a format agreed with the host device in advance. Even when sending and receiving data to and from the host device, if the telegram changes due to an increase or decrease in the number of processes or changes in the contents, it is necessary to change the program for the data analysis part and the data edit part, and the scalability is poor. There was also a problem. An object of the present invention is to allow data to be input to and output from each process by a fixed user program without being aware of the physical address or data type used for control, and to transfer the data from the host device. It is to realize a process input / output control method that can process a message as it is and can access multiple process data with good diversion and extensibility.

【0005】[0005]

【課題を解決するための手段】この目的達成のための本
発明の基本構成を、図1の原理図に示す。図中、1はプ
ロセス制御装置、2はセンサであり,感知したデータを
ディジタル値やアナログ値に変換して前記プロセス制御
装置の入力となるもの、3は外部装置であり,プロセス
制御装置からのディジタル値やアナログ値のデータに基
づいて制御する装置、4はプリント板であり,前記セン
サや外部装置とのデータの入出力を実際に行うもの。5
が本発明で新設する論理アドレス/物理アドレス/デー
タ種別の管理テーブルであり,物理アドレスと論理アド
レスとデータ種別の間の対応及び各入力データ,出力デ
ータを格納するもの。6はプロセス入出力制御部であ
り,利用者プログラム(編集処理や解析処理など)から
の依頼パラメータを解析しながら、出力の依頼データを
プリント板を介し外部装置へ出力したり、センサからの
データをプリント板を介し利用者プログラムへ通知する
もの、7は上位装置であり,プロセス制御装置から収集
データを受信したり,プロセス制御装置へ制御データを
送信するもの、8は送信データであり,上位装置へセン
サからのデータを送信する電文、9は編集処理であり,
プロセス入出力制御部から通知されたセンサの出力デー
タを送信データに編集するもの、10は受信データであ
り、上位装置からの制御を依頼された制御データの電
文、11は解析処理であり,上位装置からの受信データを
解析しながら,外部装置へのデータをプロセス入出力制
御部に依頼するものである。図2は、本発明のプロセス
入出力制御部の利用者プログラム(編集処理や解析処理
など)からの依頼パラメータのフォーマットであり、1
ワード単位の論理アドレス列の記述領域と其の論理アド
レスに対応したプロセスデータ列で順に処理を行う。図
3は、本発明で論理アドレスとして無効のNOPアドレ
スを設けた時の依頼パラメータのフォーマットであり、
図2の論理アドレス列にNOPアドレスを記述すること
で、送信データと受信データをそのまま、プロセス入出
力制御部の依頼パラメータとして使用できることを示し
ている。つまり、送信受信に必要な情報の依頼アドレス
の領域に,実際には無効のNOP (Not Operative)アド
レスを対応させることで、プログラムの変更が無いよう
にしている。
The basic configuration of the present invention for achieving this object is shown in the principle diagram of FIG. In the figure, 1 is a process control device, 2 is a sensor, which serves as an input to the process control device by converting sensed data into a digital value or an analog value, and 3 is an external device from the process control device. A device 4 for controlling on the basis of digital value or analog value data is a printed board, which actually inputs / outputs data to / from the sensor or an external device. 5
Is a logical address / physical address / data type management table newly established in the present invention, and stores correspondence between physical addresses, logical addresses and data types, and input data and output data. A process input / output control unit 6 outputs output request data to an external device via a printed board or data from a sensor while analyzing request parameters from a user program (editing process, analysis process, etc.). Is sent to the user program via the printed board, 7 is a higher-level device, receives collected data from the process control device and sends control data to the process control device, 8 is transmission data, A telegram for transmitting data from the sensor to the device, 9 is an editing process,
The output data of the sensor notified from the process input / output control unit is edited into the transmission data, 10 is the reception data, the telegram of the control data requested to be controlled by the higher-level device, and 11 is the analysis process. It analyzes the received data from the device and requests the process input / output control unit for the data to the external device. FIG. 2 shows a format of request parameters from the user program (editing process, analyzing process, etc.) of the process input / output control unit of the present invention.
Processing is performed in order in the description area of the logical address string in word units and the process data string corresponding to the logical address. FIG. 3 is a request parameter format when an invalid NOP address is provided as a logical address in the present invention.
By describing the NOP address in the logical address sequence of FIG. 2, it is shown that the transmission data and the reception data can be used as they are as request parameters of the process input / output control unit. In other words, a program is not changed by associating a NOP (Not Operative) address that is actually invalid with the requested address area of information required for transmission and reception.

【0006】[0006]

【作用】本発明では、論理アドレス/物理アドレス/デ
ータ種別の管理テーブル5により、物理アドレスに対応
した1ワードデータをアクセスすることが出来る論理ア
ドレスを使用して、利用者プログラムが、各プロセスか
らのデータの入力,出力を行う。また、利用者プログラ
ムは、複数の論理アドレスを同時に依頼出来るようにす
ると共に、無効のNOPアドレスを設けることで、上位
装置との間の送信データや受信データをそのまま、使用
できるようにしているので、物理アドレスの変更,デー
タ種別の変更,プロセス数の増減に対して、プログラム
の変更を行う必要が無くなる。
According to the present invention, the user program can execute the process from each process by using the logical address capable of accessing the 1-word data corresponding to the physical address by the management table 5 of the logical address / physical address / data type. Input and output the data. In addition, the user program can request a plurality of logical addresses at the same time, and by providing an invalid NOP address, it is possible to use the transmission data and the reception data with the host device as they are. It becomes unnecessary to change the program for changing the physical address, changing the data type, and increasing or decreasing the number of processes.

【0007】[0007]

【実施例】図4は本発明の実施例の利用者プログラムの
フローチャートである。ステップ101 の生成処理依頼
で、論理アドレスと物理アドレスとデータ種別の対応を
行い、その論理アドレスを用いて、102 の各プロセスと
のデータの入力処理依頼と103 の出力処理依頼とを行
う。図5は、生成処理のフローチャートであり、先ず 2
01の論理アドレスがNOPアドレスか否かの質問で、否
NOならば、202 の管理テーブルの調査を行い、203 で目
的の論理アドレスと同一の論理アドレスの有無を問う。
そして無NOならば、204 で管理テーブルに登録し其の論
理アドレスに対応するプリント板へのデータの入出力を
制御する。そして 205で次の依頼の有無を問い、無NOな
らば終了し、有YES ならば前記 201に戻る。なお、201
の質問でYES のNOPアドレスであるならば、直接 205
の質問に跳び、203 の質問でYES の同一論理アドレス有
りである場合も、直接 205の質問に跳ぶ。
FIG. 4 is a flow chart of a user program according to an embodiment of the present invention. In the generation processing request of step 101, the logical address, the physical address, and the data type are associated with each other, and the logical address is used to request the input processing of data with each process of 102 and the output processing request of 103. FIG. 5 is a flowchart of the generation process.
When asked whether the logical address of 01 is a NOP address,
If NO, the management table of 202 is investigated, and in 203, the presence or absence of the same logical address as the target logical address is asked.
Then, if there is no NO, it is registered in the management table at 204 and the input / output of data to / from the printed board corresponding to the logical address is controlled. Then, in 205, the presence or absence of the next request is inquired. If there is no NO, the process ends, and if YES, the process returns to 201. Note that 201
If it is YES NOP address in the question
Jump to the question No. 203, and even if the question No. 203 has the same logical address of YES, it jumps directly to the question No. 205.

【0008】図6は、入力処理のフローチャートであ
り、先ずステップ301の論理アドレスがNOPアドレス
か否かの質問で、否NOならば、302 の管理テーブルの調
査を行い、303 で目的の論理アドレスの有無を問う。そ
して有YESならば、304 で其の論理アドレスに対応する
プリント板へのデータの入力を制御する。無NOならば 3
05のエラー処理をする。そして 306で次の依頼の有無を
問い、無NOならば終了し、有YES ならば前記 301に戻
る。なお、301 の質問でYES のNOPアドレスであるな
らば、直接 306の質問に跳ぶ。
FIG. 6 is a flow chart of the input processing. First, in step 301, a question is asked as to whether the logical address is a NOP address. If the answer is NO, the management table of 302 is checked and the target logical address of 303 is checked. Ask whether or not. If YES is determined, 304 controls the input of data to the printed board corresponding to the logical address. 3 if no
Performs 05 error handling. Then, in 306, the presence or absence of the next request is inquired, and if there is no NO, the process ends, and if YES, the process returns to 301. If the 301 question has a NOP address of YES, the question directly jumps to the 306 question.

【0009】図7は、出力処理のフローチャートであ
り、先ずステップ401の論理アドレスがNOPアドレス
か否かの質問で、否NOならば、402 の管理テーブルの調
査を行い、403 で目的の論理アドレスの有無を問う。そ
して有YESなら、404 で其の論理アドレスに対応するプ
リント板からのデータの出力を制御する。無NOならば 4
05のエラー処理をする。そして 406で次の依頼の有無を
問い、無NOならば終了し、有YES ならば前記 401に戻
る。なお、401 の質問でYES のNOPアドレスであるな
らば、直接 406の質問に跳ぶ。
FIG. 7 is a flow chart of the output process. First, in step 401, a question is asked as to whether the logical address is a NOP address. If the answer is NO, the management table of 402 is checked, and the target logical address of 403 is checked. Ask whether or not. Then, if YES, 404 controls the output of data from the printed board corresponding to the logical address. 4 if no
Performs 05 error handling. Then, in 406, a question is asked as to whether or not there is a next request. If there is no NO, the process ends, and if YES, the process returns to 401. If the 401 question has a NOP address of YES, the question directly jumps to the 406 question.

【0010】[0010]

【発明の効果】以上説明した如く、本発明によれば、物
理アドレスの変更,PIOの種別の変更,上位装置の電
文の変更に対して柔軟に対応することが出来る流用性の
高い優れたシステムを構築できる効果が得られる。
As described above, according to the present invention, it is possible to flexibly cope with the change of the physical address, the change of the PIO type, and the change of the electronic message of the host device. The effect that can be built is obtained.

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

【図1】 本発明のプロセス入出力制御方式の基本構成
を示す原理図
FIG. 1 is a principle diagram showing a basic configuration of a process input / output control system of the present invention.

【図2】 本発明の利用者プログラムからの依頼パラメ
ータのフォーマット
FIG. 2 is a format of a request parameter from the user program of the present invention.

【図3】 本発明の論理アドレスとしてNOPアドレス
を設けた時の依頼パラメータのフォーマット
FIG. 3 is a format of a request parameter when a NOP address is provided as a logical address of the present invention.

【図4】 本発明の実施例の利用者プログラムのフロー
チャート
FIG. 4 is a flowchart of a user program according to the embodiment of this invention.

【図5】 本発明の実施例の生成処理のフローチャートFIG. 5 is a flowchart of generation processing according to the embodiment of this invention.

【図6】 本発明の実施例の入力処理のフローチャートFIG. 6 is a flowchart of input processing according to the embodiment of this invention.

【図7】 本発明の実施例の出力処理のフローチャートFIG. 7 is a flowchart of output processing according to the embodiment of this invention.

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

1はプロセス制御装置、2はセンサ、3は外部装置、4
はプリント板、5が論理アドレス/物理アドレス/デー
タ種別の管理テーブル、6はプロセス入出力制御部、7
は上位装置、8は送信データ、9は編集処理、10は受信
データ、11は解析処理である。
1 is a process control device, 2 is a sensor, 3 is an external device, 4
Is a printed board, 5 is a management table of logical address / physical address / data type, 6 is a process input / output control unit, 7
Is a host device, 8 is transmission data, 9 is edit processing, 10 is reception data, and 11 is analysis processing.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 制御装置と外部の複数のプロセスとの間
で、データの入力/出力を装置内蔵の各プリント板を介
して行うプロセス制御装置のデータ入出力制御方式にお
いて、該各プロセスとの間の入出力データのアクセス
を、各プリント板の物理アドレスに対応した論理アドレ
スを使用して利用者プログラムからアクセスさせること
を特徴とするプロセス入出力制御方式。
1. A data input / output control system for a process control device, wherein data is input / output between a control device and a plurality of external processes via respective printed boards built in the device, A process input / output control method characterized in that the user program accesses the input / output data between the access points using the logical address corresponding to the physical address of each printed board.
【請求項2】 前記利用者プログラムからのアクセス要
求の中に、実際にはアクセス処理を行わない無効の論理
アドレス(NOPアドレス)を有し、複数の入出力デー
タのアクセス依頼を行うことを特徴とする請求項1記載
のプロセス入出力制御方式。
2. The access request from the user program has an invalid logical address (NOP address) for which access processing is not actually performed, and requests access to a plurality of input / output data. The process input / output control method according to claim 1.
JP18558192A 1992-07-14 1992-07-14 Process input/output control system Withdrawn JPH0635837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18558192A JPH0635837A (en) 1992-07-14 1992-07-14 Process input/output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18558192A JPH0635837A (en) 1992-07-14 1992-07-14 Process input/output control system

Publications (1)

Publication Number Publication Date
JPH0635837A true JPH0635837A (en) 1994-02-10

Family

ID=16173315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18558192A Withdrawn JPH0635837A (en) 1992-07-14 1992-07-14 Process input/output control system

Country Status (1)

Country Link
JP (1) JPH0635837A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606051B1 (en) 1984-12-03 2003-08-12 Time Domain Corporation Pulse-responsive dipole antenna

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606051B1 (en) 1984-12-03 2003-08-12 Time Domain Corporation Pulse-responsive dipole antenna

Similar Documents

Publication Publication Date Title
JPH0635837A (en) Process input/output control system
US7251248B2 (en) Connection device
JP3768561B2 (en) Multiprocessor system
JP3356268B2 (en) Control system equipment
JP3297099B2 (en) I/O signal allocation device
EP1282287A2 (en) A connection device
JP3704469B2 (en) IO port connection method
JP2000172307A (en) Method of updating process data collection device
JP2973811B2 (en) Distributed control device
JP2641892B2 (en) How to change the adapter identification number
JPH0736374A (en) Data link system
JPH04305752A (en) Network system
JPH0591114A (en) Data communication system
JP2629938B2 (en) Virtual I/O Methods
JP2003223381A (en) Control device data transfer device
JPH01155593A (en) Rom writer device control system
JPH04162857A (en) Software processing system for digital for digital instrumentation system communication unit
JPH04245341A (en) Information processor
JPH04245795A (en) Facility management controller
JPS61195446A (en) terminal control device
JPH09128172A (en) Printer server
JPH01171960A (en) Printer apparatus
JPH0823853B2 (en) Data transfer device
JPH07271698A (en) Computer network system
JPH04119443A (en) Computer network system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005