JP2838588B2 - Process data processing system - Google Patents

Process data processing system

Info

Publication number
JP2838588B2
JP2838588B2 JP2315096A JP31509690A JP2838588B2 JP 2838588 B2 JP2838588 B2 JP 2838588B2 JP 2315096 A JP2315096 A JP 2315096A JP 31509690 A JP31509690 A JP 31509690A JP 2838588 B2 JP2838588 B2 JP 2838588B2
Authority
JP
Japan
Prior art keywords
data
memory
process data
input
control device
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.)
Expired - Fee Related
Application number
JP2315096A
Other languages
Japanese (ja)
Other versions
JPH04184501A (en
Inventor
統 安保
敏文 山本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2315096A priority Critical patent/JP2838588B2/en
Publication of JPH04184501A publication Critical patent/JPH04184501A/en
Application granted granted Critical
Publication of JP2838588B2 publication Critical patent/JP2838588B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Control By Computers (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プロセスデータ処理システムに係り、特
に、複数の通信制御装置を伝送路で接続し通信制御装置
相互間のデータ交換にサイクリック通信方式を採用した
プロセスデータ処理システムに関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process data processing system, and more particularly, to a communication system in which a plurality of communication control devices are connected by a transmission line to exchange data between the communication control devices. The present invention relates to a process data processing system employing a method.

〔従来の技術〕[Conventional technology]

従来のサイクリック通信方式は、送信側通信制御装置
がメモリ内の情報を一定時間間隔で送信し、各受信側通
信制御装置が一定の遅れ時間をもってその情報を受信す
るようになっていた。各受信側通信制御装置に接続して
ある計算機は、受信データがメモリ上で常に更新される
ため、そのデータを必要とする時に自由に使用でき、送
信側通信制御装置が送信したデータは、他の全ての受信
側通信制御装置で受信可能であるから、送信側通信制御
装置に接続してある計算機が、各受信局に対して一つず
つデータを送信する必要が無く、送信側の計算機の処理
を軽減できるという利点があった。
In the conventional cyclic communication system, a transmitting communication control device transmits information in a memory at fixed time intervals, and each receiving communication control device receives the information with a fixed delay time. The computer connected to each receiving communication control device always uses the received data in the memory, so it can be used freely when the data is needed. Can be received by all the receiving communication control devices, the computer connected to the transmitting communication control device does not need to transmit data to each receiving station one by one. There is an advantage that processing can be reduced.

サイクリック通信の対象となるデータは、特開昭62−
258534号や特開昭57−206924号等に見られるように、例
えばプロセス制御用のプロセスデータである。
The data subject to cyclic communication is disclosed in
For example, as shown in 258534 and JP-A-57-206924, this is process data for process control.

特開昭62−258534号では、計算機が、プロセスデータ
を一定周期で送信しまたは受信するサイクリック通信方
式を採用している。プロセスデータの収集は、ネットワ
ーク内の各通信制御装置に接続してある計算機が実行す
る。
Japanese Patent Application Laid-Open No. 62-258534 employs a cyclic communication system in which a computer transmits or receives process data at regular intervals. The collection of process data is executed by a computer connected to each communication control device in the network.

一方、特開昭57−206924号では、各プロセス監視制御
対象毎に専用の制御装置を設置し、それらの制御装置を
通信ネットワークで接続し、負荷を分散処理する構成を
採用している。プロセス制御対象は、複数のプロセス入
出力装置を介して通信ネットワークに接続され、各制御
装置は、配下のプロセス入出力装置から必要なプロセス
制御データを取り込んで演算処理する一方、自己の配下
にないプロセス入出力装置のデータが必要になったとき
は、そのプロセス入出力装置を支配する制御装置との間
でゼータ通信を実行し、必要なデータを取得する。
On the other hand, Japanese Patent Laying-Open No. 57-206924 employs a configuration in which a dedicated control device is installed for each process monitoring and control target, the control devices are connected via a communication network, and the load is distributed. The process control target is connected to a communication network via a plurality of process input / output devices, and each control device takes in necessary process control data from a subordinate process input / output device to perform arithmetic processing, but is not under its own control When data of a process input / output device is required, zeta communication is performed with a control device that controls the process input / output device to obtain necessary data.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

従来のサイクリック通信によるプロセス制御方法で
は、ネットワークを構成する通信制御装置に接続した計
算機が、プロセス入出力装置との間でデータ入出力を行
うので、計算機とプロセス入出力装置とが遠く離れてい
る場合、プロセス入出力装置とのデータ入出力に介在す
る別の計算機を必要とし、コスト高となる欠点があっ
た。
In a conventional process control method using cyclic communication, a computer connected to a communication control device constituting a network performs data input / output with a process input / output device, so that the computer and the process input / output device are far apart. In such a case, another computer is required for data input / output with the process input / output device, resulting in high cost.

一方、従来の分散処理型プロセス制御装置は、各制御
装置が自己配下のプロセス入出力装置についてのデータ
のみを保有する構成になっているので、他の制御装置の
保有するデータが必要になった場合、所要のタイミング
で、そのデータを保有する計算機との間でデータ通信を
行う必要がある。このデータ通信処理中は、システムの
応答性が低下し、制御性能を損ねるという問題があっ
た。
On the other hand, in the conventional distributed processing type process control device, each control device is configured to hold only data on the process input / output devices under its control, so data held by other control devices is required. In this case, it is necessary to perform data communication with a computer having the data at a required timing. During this data communication process, there has been a problem that the responsiveness of the system is reduced and control performance is impaired.

また、従来のプロセス制御システムでは、プロセス入
出力装置を取りはずす等の変更の際、制御装置がデータ
の入出力を直接行なっていたので、プロセス入出力装置
を取りはずす等の処理が、当該プロセス入出力装置が実
装されていないことを示す未実装エラー等を招き、制御
装置の計算機にとって致命的な障害になるという問題が
あった。
Further, in the conventional process control system, when the process input / output device is changed, for example, when the process input / output device is removed, the control device directly performs data input / output. There is a problem that a non-mounting error or the like indicating that the device is not mounted is caused, which is a fatal obstacle for the computer of the control device.

本発明の目的は、多様に配置された制御対象へのデー
タ入出力に専用計算機を必要とせず安価なプロセス制御
システムを提供することである。
An object of the present invention is to provide an inexpensive process control system that does not require a dedicated computer for inputting and outputting data to and from various control targets.

本発明の他の目的は、プロセス入出力装置等の更新等
の場合にも制御装置側で未実装エラー等の障害を生ずる
ことなく、高い応答性と柔軟な運転形態およびシステム
構築性とを有するプロセス制御システムを提供すること
である。
Another object of the present invention is to provide high responsiveness and a flexible operation mode and system structurability even when updating a process input / output device or the like without causing a failure such as an unmounted error on the control device side. It is to provide a process control system.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、上記目的を達成するために、プロセスのデ
ータを入出力するプロセス入出力装置と、プロセス入出
力装置を介してプロセスを制御する計算機と、プロセス
入出力装置および計算機に対応して設置され通信路によ
り接続された通信制御装置と、計算機と通信制御装置と
の間にそれぞれに接続されたプロセスデータメモリと、
プロセスデータメモリの入出力およびサイクリック通信
の周期をそれぞれ管理するメモリ制御装置とを含み、少
なくとも1つの通信制御装置からプロセスデータをサイ
クリックに送信し、送信側通信制御装置以外の通信制御
装置がプロセスデータを受信するサイクリック通信方式
のプロセスデータ処理システムにおいて、前記制御用計
算機が、プロセスデータとして使用しているプロセスデ
ータメモリのエリア内に制御コマンド/レスポンスエリ
アを定義する手段を備え、前記プロセスデータメモリお
よびメモリ制御装置とプロセス入出力装置との間にスキ
ャン装置をそれぞれ設置したプロセスデータ処理システ
ムを提案する。
In order to achieve the above object, the present invention provides a process input / output device for inputting / outputting process data, a computer for controlling a process via the process input / output device, and a process input / output device and a computer installed in correspondence with the computer. A communication control device connected by a communication path, and a process data memory respectively connected between the computer and the communication control device;
A memory control device that manages the input / output of the process data memory and the cycle of the cyclic communication, respectively, cyclically transmits process data from at least one communication control device, and a communication control device other than the transmission side communication control device In a cyclic communication type process data processing system for receiving process data, the control computer includes means for defining a control command / response area in an area of a process data memory used as process data. A process data processing system in which a scanning device is installed between a data memory and a memory control device and a process input / output device is proposed.

スキャン装置は、より具体的には、計算機側からのコ
マンドによりプロセスデータメモリのアドレスデータを
受け取りこのデータを順番に格納するアドレスメモリ
と、計算機からのコマンドによりプロセス入出力装置の
アドレスと入出力方向とを示すデータを受け取りそのデ
ータを順番に格納する方向メモリとを備えている。
More specifically, the scanning device receives the address data of the process data memory in accordance with a command from the computer, stores the address data in order, the address of the process input / output device and the input / output direction in accordance with the command from the computer. And a direction memory for receiving data indicating the above and storing the data in order.

スキャン装置は、アドレスメモリと方向メモリとを同
時にアクセスし、方向メモリの入出力方向が入力側の
時、方向メモリに示されたプロセス入出力装置のアドレ
スから読み出されたデータをアドレスメモリに示された
プロセスデータメモリのアドレスに書き込む。一方、方
向メモリの入出力方向が出力側の時、アドレスメモリに
示されるプロセスデータメモリのアドレスからプロセス
データを読み出し、方向メモリに示されるプロセス入出
力装置のアドレスに書き込む。
The scanning device simultaneously accesses the address memory and the direction memory, and when the input / output direction of the direction memory is the input side, indicates the data read from the address of the process input / output device indicated in the direction memory to the address memory. To the specified process data memory address. On the other hand, when the input / output direction of the direction memory is the output side, the process data is read from the address of the process data memory indicated by the address memory and written to the address of the process input / output device indicated by the direction memory.

〔作用〕[Action]

本発明において、各計算機は、プロセス入出力装置が
持つ制御対象の全データを持つため、自己のメモリを参
照すれば、必要なデータを取得できる。したがって、デ
ータ取得のための計算機間データ通信が不要となり、シ
ステムの応答性と制御性能が向上する。
In the present invention, since each computer has all the data to be controlled of the process input / output device, it can obtain necessary data by referring to its own memory. Therefore, data communication between computers for data acquisition becomes unnecessary, and the responsiveness and control performance of the system are improved.

スキャン装置に対し、プロセス入出力装置の実装情報
を計算機からのコマンドにより設定することとし、プロ
セス入出力装置の変更時は、前記実装情報を変更する。
そこでコマンドを再発行すれば、未実装エラーは発生し
ない。計算機は、スキャン装置が送ってきたデータを自
分用の通信制御装置とプロセスデータメモリとを経由し
て取り込むため、計算機側では未実装エラーが全く発生
しない。
The mounting information of the process input / output device is set in the scanning device by a command from the computer. When the process input / output device is changed, the mounting information is changed.
Then, if the command is reissued, the unmounted error does not occur. Since the computer takes in the data sent from the scanning device via its own communication control device and process data memory, no unmounted error occurs on the computer side.

計算機は、プロセス制御対象からのデータを取得する
場合、取得するデータのプロセス入出力制御装置上のア
ドレスとそのデータを格納するメモリ上のアドレスとを
同時に順序よくアクセスし、サイクリック通信により所
定周期で送信する。その周期をプロセスの変化速度より
も充分に短くすると、必要な精度で最新のデータを取得
できる。
When acquiring data from a process control target, the computer simultaneously accesses the address of the acquired data on the process input / output control device and the address of the memory for storing the data in order, and performs cyclic communication at predetermined intervals. Send. If the period is sufficiently shorter than the changing speed of the process, the latest data can be obtained with the required accuracy.

計算機は、プロセス制御装置と直接接続されず、プロ
セスデータメモリを介して間接的に接続されるため、シ
ステム構築性が良くなり、プロセス制御装置を保守のた
めに切り離すことができ、保守性も良好となる。
The computer is not directly connected to the process control device, but is connected indirectly via the process data memory, so that the system construction is improved, the process control device can be separated for maintenance, and the maintainability is good. Becomes

〔実施例〕〔Example〕

次に、図面を参照して、本発明によるプロセス制御シ
ステムの一実施例を説明する。
Next, an embodiment of a process control system according to the present invention will be described with reference to the drawings.

第1図は、本発明によるコマンド制御装置を含むプロ
セス制御システムの一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of a process control system including a command control device according to the present invention.

プロセス制御システムは、プロセス制御対象60のプロ
セスを分散して制御する複数の計算機1,2と、通信路70
により例えば環状に接続されている通信制御装置30,31,
32,33と、各計算機1,2と通信制御装置30,31との間にそ
れぞれに接続されたプロセスデータメモリ10,11と、プ
ロセスデータメモリ10,11の入出力およびサイクリック
通信の周期をそれぞれ管理するメモリ制御装置20,21と
を含んでいる。
The process control system includes a plurality of computers 1 and 2 for controlling the processes of the process control target 60 in a distributed manner, and a communication path 70.
Thus, for example, the communication control devices 30, 31,
32, 33, the process data memories 10, 11 connected between the computers 1, 2 and the communication control devices 30, 31, respectively, and the input / output and cyclic communication cycles of the process data memories 10, 11 And memory control devices 20 and 21 for managing the respective devices.

プロセス制御システムは、また、通信制御装置32,33
と制御対象60との間にそれぞれ設けられたプロセス入出
力装置50,51と、プロセス入出力装置50,51をそれぞれ走
査するスキャン装置40,41と、各スキャン装置40,41と通
信制御装置32,33との間にそれぞれに接続されたプロセ
スデータメモリ12,13と、プロセスデータメモリ12,13の
入出力およびサイクリック通信の周期をそれぞれ管理す
るメモリ制御装置22,23とを含んでいる。
The process control system also includes communication control devices 32, 33
Process input / output devices 50, 51 provided between the control input and the control target 60, scanning devices 40, 41 for scanning the process input / output devices 50, 51, respectively, the scanning devices 40, 41 and the communication control device 32 , 33, respectively, and memory control devices 22, 23 for managing the input / output of the process data memories 12, 13 and the cycle of the cyclic communication, respectively.

第2図は、計算機1とプロセスデータメモリ10と通信
制御装置30の部分の接続をより詳細に示すブロック図で
ある。
FIG. 2 is a block diagram showing the connection between the computer 1, the process data memory 10, and the communication control device 30 in more detail.

計算機1は、中央処理装置(CPU)80と、データモメ
リ81と、プログラムメモリ82と、これらを接続するアド
レスバス83およびデータバス84とを備えている。アドレ
スバス83とデータバス84とは、プロセスデータメモリ10
とメモリ制御装置20にも接続してある。プロセスデータ
メモリ10とメモリ制御装置20は、それぞれもう一組のア
ドレスバスおよびデータバスにより、通信制御装置30に
接続されている。
The computer 1 includes a central processing unit (CPU) 80, a data memory 81, a program memory 82, and an address bus 83 and a data bus 84 connecting these. The address bus 83 and the data bus 84 are connected to the process data memory 10
Are also connected to the memory controller 20. The process data memory 10 and the memory control device 20 are connected to the communication control device 30 by another set of address bus and data bus, respectively.

なお、計算機2,プロセスデータメモリ11,通信制御装
置31の部分の構成は、計算機1,プロセスデータメモリ1
0,通信制御装置30と同じである。
The configuration of the computer 2, the process data memory 11, and the communication control device 31 is the same as that of the computer 1, the process data memory 1,
0, the same as the communication control device 30.

CPU80は、プロクラムメモリ82に格納されているプロ
グラムに従い、データメモリ81に格納されている制御対
象60のプロセスデータ等を用いて必要な演算を実行し、
通信制御装置30を介してプロセス制御対象60のプロセス
を制御する。この制御を実現するには、プロセスデータ
メモリ10中の送信エリアと受信エリアおよび転写周期を
決定する必要がある。
The CPU 80 executes a necessary operation using the process data of the control target 60 stored in the data memory 81 according to the program stored in the program memory 82,
The process of the process control target 60 is controlled via the communication control device 30. To realize this control, it is necessary to determine the transmission area and the reception area in the process data memory 10 and the transfer cycle.

CPU80は、プログラムメモリ82のプログラムに従い、
第4図に示すように、プロセスデータメモリ10をエリア
に区分する。プロセスデータメモリ10の中に図示したA,
E等の大文字は送信エリアを表し、b,c,d等の小文字は受
信エリアを表している。この大文字と小文字による表記
方式は、他のプロセスデータメモリ11,12,13についても
同様であり、大文字は送信エリアを表し、小文字は受信
エリアを表している。CPU80は、エリアを区分するため
の制御データと転写周期とをメモリ制御装置20に書き込
む。
The CPU 80 follows the program in the program memory 82,
As shown in FIG. 4, the process data memory 10 is divided into areas. A, shown in the process data memory 10,
Uppercase letters such as E indicate transmission areas, and lowercase letters such as b, c, and d indicate reception areas. This notation system using uppercase and lowercase letters is the same for the other process data memories 11, 12, and 13. The uppercase letter indicates a transmission area, and the lowercase letter indicates a reception area. The CPU 80 writes the control data for dividing the area and the transfer cycle into the memory control device 20.

通信制御装置30は、メモリ制御装置20に書き込まれた
設定情報に従い、プロセスデータメモリ10からデータを
取り出し、送信する。また、通信路70で送られてきた受
信フレーム中のデータを取り込み、このデータをプロセ
スデータメモリ10に書き込む。
The communication control device 30 extracts data from the process data memory 10 according to the setting information written in the memory control device 20, and transmits the data. Further, it takes in the data in the received frame sent through the communication path 70 and writes this data into the process data memory 10.

したがって、計算機1は、プロセスデータ・メモリ10
にデータを書き込みまたはプロセスデータ・メモリ10か
ら所定のタイミングでデータを読み出すことにより、プ
ロセスデータを送受信し、プロセス制御対象60を制御で
きる。
Therefore, the computer 1 has the process data memory 10
By writing data to or reading data from the process data memory 10 at a predetermined timing, process data can be transmitted and received, and the process control target 60 can be controlled.

第3図は、プロセス入出力装置50とスキャン装置40と
プロセスデータメモリ12とメモリ制御装置22と通信制御
装置32の部分の接続をより詳細に示すブロック図であ
る。
FIG. 3 is a block diagram showing the connection between the process input / output device 50, the scanning device 40, the process data memory 12, the memory control device 22, and the communication control device 32 in more detail.

スキャン装置40においては、処理装置42,プログラム
データメモリ43,アドレスメモリ44,方向メモリ45が、ア
ドレスバス83とデータバス84とにより接続されている。
アドレスバス83とデータバス84とは、外部のプロセスデ
ータメモリ12とメモリ制御装置22とに接続されている。
外部のプロセスデータメモリ12とメモリ制御装置22と
は、転送制御装置47に接続されている。転送制御装置47
は、さらに送信タイミングを知るためにカウンタ46に接
続されている。転送制御装置47は、プロセスデータメモ
リ12とプロセス入出力装置50との間のデータの読み出し
および書き込みを制御する。
In the scanning device 40, a processing device 42, a program data memory 43, an address memory 44, and a direction memory 45 are connected by an address bus 83 and a data bus 84.
The address bus 83 and the data bus 84 are connected to the external process data memory 12 and the memory controller 22.
The external process data memory 12 and the memory control device 22 are connected to a transfer control device 47. Transfer control device 47
Is further connected to a counter 46 to know the transmission timing. The transfer control device 47 controls reading and writing of data between the process data memory 12 and the process input / output device 50.

スキャン装置40は、電源が投入されたら、第4図の12
に示すa,b,C,dのように、送信エリアと受信エリアとを
区分しておく。例えば、aエリアは計算機1からのコマ
ンド受信エリア、Cエリアはコマンドに対するレスポン
ス送信エリアと予め決めておく。他のe,f,g,hエリア
は、コマンドによりこれから区分するため、電源投入時
はまだ未区分状態である。スキャン装置40に接続したメ
モリ制御装置22にコマンドレスポンスエリアの区分情報
を設定し、計算機1からのコマンドを受信可能な状態に
しておく。
When the scanning device 40 is turned on,
As shown in a, b, C, and d shown in FIG. For example, the area a is determined in advance as a command reception area from the computer 1 and the area C is determined in advance as a response transmission area for a command. The other e, f, g, and h areas are to be separated from each other by a command. The section information of the command response area is set in the memory control device 22 connected to the scanning device 40 so that the command from the computer 1 can be received.

コマンドのフォーマットの一例を第5図に示す。本実
施例では、コマンドフォーマット内に、相手装置番号A
1,コマンドA2,コマンド識別番号A3,データA4を持ち、コ
マンド発行相手A1とコマンド処理内容A2,A3とコマンド
に付随するデータA4とを伝えることにする。
FIG. 5 shows an example of a command format. In this embodiment, the partner device number A is included in the command format.
It has 1, a command A2, a command identification number A3, and data A4, and communicates a command issuing partner A1, command processing contents A2, A3, and data A4 accompanying the command.

スキャン装置40側では、第6図に示す手順でコマンド
フォーマットを参照し、コマンドを処理する。第6図の
フローチャートにおいて、スキャン装置40は、コマンド
が自分宛かどうか判断し、自分宛のコマンドの場合は、
コマンド識別番号が前回のコマンド識別番号と違うかど
うか判断する。この処理は、同一コマンドを複数回処理
するのを防止する。コマンド識別番号が前回と異なって
いれば、コマンドを処理し、その処理結果をレスポンス
として第4図中のエリアGに書き込む。書き込む内容
は、コマンドの処理が正常に終了したか,異常があった
か,コマンドパラメータの異常があった等の情報であ
る。
The scanning device 40 processes the command by referring to the command format in the procedure shown in FIG. In the flowchart of FIG. 6, the scanning device 40 determines whether or not the command is addressed to itself.
It is determined whether the command identification number is different from the previous command identification number. This process prevents the same command from being processed multiple times. If the command identification number is different from the previous one, the command is processed, and the processing result is written to area G in FIG. 4 as a response. The contents to be written are information indicating whether the processing of the command has been completed normally, whether there has been an error, or whether there has been an error in the command parameters.

コマンドによる制御内容を次に述べる。 The control contents by the command will be described below.

まず、アドレスメモリ44および方向メモリ45にデータ
を設定する。プロセスデータメモリ12のX番地とプロセ
ス入出力装置50のY番地とを対応付けるデータをアドレ
スメモリ44に設定する。また、アクセスの方向がX番地
からY番地なのかY番地からX番地なのかという方向デ
ータを方向メモリ45に設定する。次に、別コマンドで、
e,f,g,hエリアの区分データ、および転写周期を設定す
る。スキャン装置40は、そのコマンドにより、e,f,g,h
エリアの送信受信の区分と周期と決定するデータをメモ
リ制御装置22に書き込む。通信制御装置32は書き込まれ
た区分と周期とのデータをもとに、この時点からエリア
e,f,g,hの送信受信の動作を開始する。最初に、スキャ
ン装置40に対し、プロセスデータメモリ12とプロセス入
出力装置50との間のデータ転送の開始を指示するコマン
ドを発行し、プロセスデータメモリ12とプロセス入出力
装置50との間でプロセス制御対象60のプロセスデータを
交換させる。
First, data is set in the address memory 44 and the direction memory 45. Data for associating the address X of the process data memory 12 with the address Y of the process input / output device 50 is set in the address memory 44. Also, direction data indicating whether the access direction is from address X to address Y or from address Y to address X is set in the direction memory 45. Then, with another command,
Set the division data of the e, f, g, h areas and the transfer cycle. The scanning device 40, according to the command, e, f, g, h
Data for determining the area and period of transmission and reception of the area is written in the memory control device 22. The communication control device 32 determines the area from this point based on the written data of the division and the cycle.
The operation of transmitting and receiving e, f, g, and h is started. First, a command is issued to the scanning device 40 to start the data transfer between the process data memory 12 and the process input / output device 50, and the process is executed between the process data memory 12 and the process input / output device 50. The process data of the control target 60 is exchanged.

以上の処理を各計算機1,2とスキャン装置40,41とのす
べてに対して実施すると、各プロセスデータメモリ10,1
1,12,13は、第4図に示す様に区分される。また、各ス
キャン装置40と41は、各々プロセス制御対象60とプロセ
スデータメモリ12,13との間のデータ転送を実行でき
る。
When the above processing is performed on all the computers 1 and 2 and the scanning devices 40 and 41, the process data memories 10 and 1
1, 12, and 13 are classified as shown in FIG. Further, each of the scanning devices 40 and 41 can execute data transfer between the process control target 60 and the process data memories 12 and 13, respectively.

この状態では、例えば計算機1が送信エリアEにデー
タを設定すれば、各スキャン装置40,41は、送信エリア
Eに設定されたデータを転送する。したがって、各スキ
ャン装置40,41内の転送制御装置47が、プロセス入出力
装置50,51を経由して、プロセス制御対象60への制御信
号を転送する。
In this state, for example, if the computer 1 sets data in the transmission area E, each of the scanning devices 40 and 41 transfers the data set in the transmission area E. Therefore, the transfer control device 47 in each of the scanning devices 40 and 41 transfers a control signal to the process control target 60 via the process input / output devices 50 and 51.

逆方向の転送については、転送制御装置47が、プロセ
ス制御対象60のプロセスデータをプロセスデータメモリ
12,13の各送信エリアG,Hに書き込み、計算機1,2のエリ
アg,hに送信するため、計算機側ではそのプロセスデー
タを自由に使用できる。プロセスデータメモリ10,11,1
2,13を第4図のように設定すると、各計算機1,2は全プ
ロセスデータを各々保有し、計算機間のデータ通信が不
要となるので、計算機の処理の負担が軽減される。
For the transfer in the reverse direction, the transfer control device 47 stores the process data of the process control target 60 in the process data memory.
Since the data is written into the transmission areas G and H of the areas 12 and 13 and transmitted to the areas g and h of the computers 1 and 2, the computer can freely use the process data. Process data memory 10, 11, 1
When 2, 13 are set as shown in FIG. 4, each of the computers 1 and 2 has all the process data, and the data communication between the computers becomes unnecessary, so that the processing load on the computers is reduced.

〔発明の効果〕〔The invention's effect〕

本発明によれば、各計算機は、プロセス入出力装置が
持つ制御対象の全データを持つため、自己のメモリを参
照すれば、必要なデータを取得できる。したがって、デ
ータ取得のための計算機間データ通信が不要となり、シ
ステムの応答性と制御性能が向上する。
According to the present invention, since each computer has all the data to be controlled of the process input / output device, it is possible to acquire necessary data by referring to its own memory. Therefore, data communication between computers for data acquisition becomes unnecessary, and the responsiveness and control performance of the system are improved.

プロセス制御対象からのデータの取得は、取得するデ
ータのプロセス入出力制御装置上のアドレスとそのデー
タを格納するメモリ上のアドレスとを同時に順序よくア
クセスし、サイクリック通信により所定周期で送信す
る。その周期をプロセスの変化速度よりも充分に短くす
ると、必要な精度で最新のデータを取得できる。
To acquire data from the process control target, the address of the acquired data on the process input / output control device and the address of the memory for storing the data are simultaneously accessed in order, and transmitted at a predetermined cycle by cyclic communication. If the period is sufficiently shorter than the changing speed of the process, the latest data can be obtained with the required accuracy.

計算機は、プロセス制御装置と直接接続されないた
め、システム構築性が良くなり、プロセス制御装置を保
守のために切り離すことができ、保守性も良好となる。
Since the computer is not directly connected to the process control device, the system construction is improved, the process control device can be separated for maintenance, and the maintainability is also improved.

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

第1図は本発明によるプロセス制御システムの一実施例
の全体構成を示すブロック図、第2図は第1図実施例の
計算機とプロセスデータメモリとメモリ制御装置の部分
のより詳細な構成を示すブロック図、第3図は第1図実
施例のスキャン装置の詳細な構成を示すブロック図、第
4図はサイクリック通信のコマンドの転送方法とプロセ
スデータの転送方法とを説明する図、第5図は本発明に
よるコマンドデータの構成の一実施例を示す図、第6図
は第1図実施例のスキャン装置のコマンド取り込みとコ
マンド実行との処理手順を示すフローチャートである。 1,2……計算機、 10〜13……プロセスデータメモリ、 20〜23……メモリ制御装置、 30〜33……通信制御装置、 40,41……スキャン装置、 42……処理装置、 43……プログラムデータメモリ、 44……アドレスメモリ、 45……方向メモリ、 46……カウンタ、 47……転送制御装置、 50,51……プロセス入出力装置、 60……プロセス制御対象、 70……通信路、 83……アドレスバス、 84……データバス。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of a process control system according to the present invention, and FIG. 2 shows a more detailed configuration of a computer, a process data memory, and a memory control device of the embodiment of FIG. FIG. 3 is a block diagram showing a detailed configuration of the scanning apparatus of the embodiment shown in FIG. 1, FIG. 4 is a view for explaining a method of transferring a command of cyclic communication and a method of transferring process data, FIG. FIG. 6 is a diagram showing an embodiment of the configuration of command data according to the present invention, and FIG. 6 is a flowchart showing a processing procedure for command fetching and command execution of the scanning device of the embodiment of FIG. 1,2 Computer, 10-13 Process data memory, 20-23 Memory control device, 30-33 Communication control device, 40,41 Scan device, 42 Processing device, 43 ... Program data memory, 44 ... Address memory, 45 ... Direction memory, 46 ... Counter, 47 ... Transfer control device, 50,51 ... Process input / output device, 60 ... Process control object, 70 ... Communication Road, 83 ... address bus, 84 ... data bus.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G05B 15/02 G06F 13/00──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G05B 15/02 G06F 13/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プロセスのデータを入出力するプロセス入
出力装置と、前記プロセス入出力装置を介して前記プロ
セスを制御する計算機と、前記プロセス入出力装置およ
び前記計算機に対応して設置され通信路により接続され
た通信制御装置と、前記計算機と前記通信制御装置との
間にそれぞれに接続されたプロセスデータメモリと、前
記プロセスデータメモリの入出力およびサイクリック通
信の周期をそれぞれ管理するメモリ制御装置とを含み、
少なくとも1つの前記通信制御装置からプロセスデータ
をサイクリックに送信し、前記送信側通信制御装置以外
の通信制御装置が前記プロセスデータを受信するサイク
リック通信方式のプロセスデータ処理システムにおい
て、 前記制御用計算機が、プロセスデータとして使用してい
るプロセスデータメモリのエリア内に制御コマンド/レ
スポンスエリアを定義する手段を備え、 入力時に前記プロセス入出力装置から読み出されたデー
タを前記プロセスデータメモリのアドレスに書き込み、
出力時に前記プロセスデータメモリから読み出されたプ
ロセスデータをプロセス入出力装置に書き込む手段とを
有するスキャン装置を前記プロセスデータメモリおよび
メモリ制御装置と前記プロセス入出力装置との間にそれ
ぞれ設置した ことを特徴とするプロセスデータ処理システム。
1. A process input / output device for inputting / outputting process data, a computer for controlling the process via the process input / output device, and a communication channel installed corresponding to the process input / output device and the computer Communication control device, a process data memory respectively connected between the computer and the communication control device, and a memory control device for managing the input / output of the process data memory and the cycle of cyclic communication, respectively. And
In a process data processing system of a cyclic communication system in which process data is cyclically transmitted from at least one of the communication control devices and a communication control device other than the transmission side communication control device receives the process data, the control computer Has a means for defining a control command / response area in an area of a process data memory used as process data, and writes data read from the process input / output device at the time of input to an address of the process data memory. ,
A scanning device having means for writing process data read from the process data memory to the process input / output device at the time of output is provided between the process input / output device and the memory control device and the process input / output device, respectively. Characterized process data processing system.
【請求項2】請求項1に記載のプロセスデータ処理シス
テムにおいて、 上記スキャン装置が、上記制御コマンド/レスポンスエ
リア内のデータに含まれた制御コマンドの識別番号が前
回と同一であるときは当該制御コマンドを無視する手段
を備えた ことを特徴とするプロセスデータ処理システム。
2. The process data processing system according to claim 1, wherein when the identification number of the control command included in the data in the control command / response area is the same as the previous time, the scanning device performs the control. A process data processing system comprising means for ignoring commands.
JP2315096A 1990-11-20 1990-11-20 Process data processing system Expired - Fee Related JP2838588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2315096A JP2838588B2 (en) 1990-11-20 1990-11-20 Process data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2315096A JP2838588B2 (en) 1990-11-20 1990-11-20 Process data processing system

Publications (2)

Publication Number Publication Date
JPH04184501A JPH04184501A (en) 1992-07-01
JP2838588B2 true JP2838588B2 (en) 1998-12-16

Family

ID=18061367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2315096A Expired - Fee Related JP2838588B2 (en) 1990-11-20 1990-11-20 Process data processing system

Country Status (1)

Country Link
JP (1) JP2838588B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11282698A (en) * 1998-03-27 1999-10-15 Sanwa Sansho Fudosan:Kk Control system for peripheral device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63197144A (en) * 1987-02-12 1988-08-16 Hitachi Ltd Information communication system
JPS63236103A (en) * 1987-03-25 1988-10-03 Toshiba Corp Plant control system

Also Published As

Publication number Publication date
JPH04184501A (en) 1992-07-01

Similar Documents

Publication Publication Date Title
US4371926A (en) Input/output information indication system
JP2838588B2 (en) Process data processing system
JP2920441B2 (en) Process data processing system and processing method
CA1252573A (en) Dual bus system
JPS633351B2 (en)
JP3840028B2 (en) Control system
JPH0736840A (en) Device and method for interface
JPH0586582B2 (en)
JP2000172307A (en) Method for updating process data collection device
JPH06230806A (en) Remote i/o system for programmable controller
JPH0114616B2 (en)
JP2883091B2 (en) Multiprocessor system
JPH079469Y2 (en) Communication control circuit
JP3207329B2 (en) Bus controller and bus transfer method
JP2982811B2 (en) Access control device
JP3098550B2 (en) Bus control method
JPH0527146B2 (en)
JPH1029477A (en) Electronic control device and electronic controlling method
JP2824890B2 (en) SCSI protocol controller
JPH0589036A (en) Slave information processor
JP2005084820A (en) Controller comprising simulating functions of input/output unit
JPS6028459B2 (en) Data transmission method
JPS61262876A (en) Multiprocessor system
JPH0573509A (en) Inter-processor communication system
JPS636892B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees