JP2009238073A - Control apparatus - Google Patents
Control apparatus Download PDFInfo
- Publication number
- JP2009238073A JP2009238073A JP2008085424A JP2008085424A JP2009238073A JP 2009238073 A JP2009238073 A JP 2009238073A JP 2008085424 A JP2008085424 A JP 2008085424A JP 2008085424 A JP2008085424 A JP 2008085424A JP 2009238073 A JP2009238073 A JP 2009238073A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- data
- setting information
- sets
- result register
- 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
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、プラントの機器との通信を中継するI/O装置に対し、プロセッサよりデータを送信しまたは受信する制御装置に関するものである。 The present invention relates to a control device that transmits or receives data from a processor to an I / O device that relays communication with plant equipment.
図3は、分散型制御システムの構成従来装置の一例を示す機能ブロック図である。制御装置10は、制御バス20を介して操作・監視装置30と通信すると共に、I/O装置40を介して、フィールドバス50に接続されるプラント60に機器61,62,…6nと通信し、これら機器の制御を実行する。
FIG. 3 is a functional block diagram showing an example of a conventional apparatus constituting a distributed control system. The
制御装置10は、制御アプリケーション11の要求でI/O装置40とのデータ通信を実行する場合、プロセッサ12は通信データを通信データ格納メモリ13の所定エリアに書き込むと共に、通信コントローラ14を起動する。
When the
通信コントローラ14は、前記所定エリアのデータにアクセスしてこれを取得し、I/O装置40に送信する。制御アプリケーション11の要求でI/O装置40を介してプラントの機器よりデータを受信する場合は、この逆のルートで通信データ格納メモリ13に指定された所定エリアに受信データを書き込み、プロセッサ12がこのデータを読み出す。
The communication controller 14 accesses and acquires the data in the predetermined area and transmits it to the I /
図4は、データ送受信を実行する従来の制御装置10の具体的な構成例を示す機能ブロック図である。I/O装置40に対しデータ通信を実施する場合、プロセッサ12は通信コントローラ14が持つ設定情報・通信結果レジスタ141に通信のための情報をセットする(A)。
FIG. 4 is a functional block diagram showing a specific configuration example of a
設定を行う情報としては、通信先のI/O装置40のアドレス、通信データサイズ、I/O装置40に対して書き込みであれば通信データ格納メモリ13内での送信対象データの格納アドレス、読み出しであれば読み出してきた受信データの通信データ格納メモリ13内の格納アドレス等である。
The information to be set includes the address of the communication destination I /
I/O装置40への書き込みの場合は、プロセッサ12は通信データ格納メモリ13に対し、書き込みしたいデータを所定の格納エリア131にセットしておく(B)。全ての設定が終了したら、プロセッサ12は設定情報・通信結果レジスタ141に対しアクセスをスタートさせるコマンドを発行する(A)。
In the case of writing to the I /
I/O装置40への書き込み場合は、設定情報・通信結果レジスタ141から要求を受けたアクセスコントローラ142が通信データ格納メモリ13の格納エリア131から書き込み用のデータを読み出して(C)、I/O装置40に送信する(E)。
When writing to the I /
I/O装置40から送信完了が通知され(F)、その通信結果がアクセスコントローラ142から設定情報・通信結果レジスタ141に格納される。プロセッサ12は、設定情報・通信結果レジスタ141をチェックして、通信が終了したことを確認する(A)。
The transmission completion is notified from the I / O device 40 (F), and the communication result is stored in the setting information / communication result register 141 from the
I/O装置40への読み出しの場合は、要求を受けたアクセスコントローラ142がI/O装置40に対し読み出し通信を行い(E)(F)、読み出したデータを通信データ格納メモリ13の格納エリア131に格納する(D)。
In the case of reading to the I /
通信結果は、アクセスコントローラ142から設定情報・通信結果レジスタ141に格納され、プロセッサ12はそれをチェックして、通信が終了したことを確認する(A)。
The communication result is stored in the setting information / communication result register 141 from the
プロセッサ12がI/O装置40に対し通信を行う場合、設定情報や書き込みデータのセットを行って、通信を開始した後は、その通信が完了するまでの間は他の作業は実行できず、無駄な待ち時間が生じてしまう。その結果、通信処理全体のパフォーマンスが通信の速度に引っ張られてしまう問題がある。
When the
本発明は上述した問題点を解決するためになされたものであり、I/O装置に対するデータ通信を開始して完了するまでの待ち時間を別の作業に使用することで、無駄時間を削減し通信処理全体のパフォーマンスを改善した制御装置の実現を目的としている。 The present invention has been made to solve the above-described problems, and by using the waiting time until the data communication for the I / O device is started and completed for another work, the waste time is reduced. The purpose is to realize a control device that improves the overall performance of communication processing.
このような課題を達成するために、本発明は次の通りの構成になっている。
(1)プラントの機器との通信を中継するI/O装置に対し、プロセッサよりデータを送信しまたは受信する制御装置において、
前記データの複数組を格納する通信データ格納メモリと、
前記複数組のデータに順次アクセスし、前記I/O装置とのデータ通信を実行する通信コントローラと、
を備えることを特徴とする制御装置。
In order to achieve such a subject, the present invention has the following configuration.
(1) In a control device that transmits or receives data from a processor to an I / O device that relays communication with plant equipment,
A communication data storage memory for storing a plurality of sets of the data;
A communication controller that sequentially accesses the plurality of sets of data and executes data communication with the I / O device;
A control device comprising:
(2)前記通信コントローラは、前記複数組のデータに夫々選択的にアクセスする複数組の設定情報・通信結果レジスタと、これらレジスタの1個を選択する切換手段と、選択された設定情報・通信結果レジスタと前記I/O装置を接続すると共に前記複数組のデータにアクセスするアクセスコントローラと、を備えることを特徴とする(1)に記載の制御装置。 (2) The communication controller includes a plurality of sets of setting information / communication result registers for selectively accessing the plurality of sets of data, switching means for selecting one of the registers, and the selected setting information / communications. The control device according to (1), further comprising: an access controller that connects the result register and the I / O device and accesses the plurality of sets of data.
(3)前記設定情報・通信結果レジスタは、前記通信データ格納メモリ内のデータサイズ設定機能を備えることを特徴とする(1)または(2)に記載の制御装置。 (3) The control device according to (1) or (2), wherein the setting information / communication result register includes a data size setting function in the communication data storage memory.
(4)前記切換え手段は、現在選択している前記設定情報・通信結果レジスタからの通信要求がなくなった時点で他の設定情報・通信結果レジスタに順次自動的に切換えることを特徴とする(1)乃至(3)のいずれかに記載の制御装置。 (4) The switching means automatically switches to the other setting information / communication result register automatically when there is no communication request from the currently selected setting information / communication result register (1). ) To (3).
本発明の構成によれば、次のような効果を期待することができる。
(1)通信間の無駄時間を次のアクセスの設定時間に使用できるため、通信全体トータルでのパフォーマンスが向上する。
According to the configuration of the present invention, the following effects can be expected.
(1) Since the dead time between communications can be used as the set time for the next access, the performance of the entire communications is improved.
(2)通信情報・通信結果レジスタ及びデータの格納エリアを多重化することで、連続の通信要求が発行可能となり、通信中の待ち時間を有効利用することが可能となる。 (2) By multiplexing the communication information / communication result register and the data storage area, continuous communication requests can be issued, and the waiting time during communication can be used effectively.
(3)通信完了後に自動的に次の通信の設定レジスタに切換わる機能を備えることで、通信を空き時間なく実行することが可能となる。 (3) By providing a function of automatically switching to the next communication setting register after completion of communication, it becomes possible to execute communication without any free time.
(4)受信データ、送信データを格納するエリアのアドレス設定権限を持つレジスタを多重持ちすることで、限られた容量の中で多重に必要な格納エリアを通信量に適したサイズ分確保できる機能を実現することができる。 (4) A function that can secure a storage area necessary for multiplexing within a limited capacity by the size suitable for the communication volume by having multiple registers with the address setting authority of the area for storing received data and transmission data. Can be realized.
以下、本発明を図面により詳細に説明する。図1は、本発明を適用した制御装置の一実施形態を示す機能ブロック図である。プロセッサ100、通信データ格納メモリ200、通信コントローラ300、I/O装置400よりなる基本構成は、図4で説明したプロセッサ12、通信データ格納メモリ13、通信コントローラ14、I/O装置40よりなる構成と同一である。
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram showing an embodiment of a control device to which the present invention is applied. The basic configuration including the processor 100, the communication
図4と比較した通信コントローラ300の特徴は、設定情報・通信結果レジスタ301aと同じ構成のレジスタを設定情報・通信結果レジスタ301bを追加し、それらとアクセスコントローラ302との接続の間に切換手段303を追加した構成にある。
A feature of the
図4と比較した通信データ格納メモリ200の特徴は、格納エリア201に追加して格納エリア202を設けた点にあり、これら格納エリアは設定情報・通信結果レジスタ301a及び301bに夫々対応している。
The communication
設定情報・通信結果レジスタ301aへの設定情報の登録(A)、書き込みデータの通信データ格納メモリ格納エリア201への格納(B)、及び設定情報・通信結果レジスタ301aへのアクセススタートコマンドの発行までは、従来の動作と同様に行う。
Registration of setting information to the setting information /
アクセスコントローラ300は、通信を開始するが、その間にプロセッサ100はもう一つの設定情報・通信結果レジスタ301bに次のI/O通信の設定をセットする(A’)。
このとき、設定情報・通信結果レジスタ301bにセットする格納エリアのアドレスは前回設定した格納エリア201のアドレスとは別の格納エリア202のアドレスに設定する。
While the
At this time, the address of the storage area set in the setting information / communication result register 301b is set to an address of the
次の通信がI/O装置400への書き込みであれば、プロセッサ100は通信データ格納メモリ200の格納エリア202に書き込みデータを予めセットしておく(B’)。
If the next communication is writing to the I /
次の通信の準備が完了した後、プロセッサ100は設定情報レジスタ・通信結果レジスタ301bにアクセススタートコマンドを発行する。このとき、前回の通信が完了している必要はない。 After the preparation for the next communication is completed, the processor 100 issues an access start command to the setting information register / communication result register 301b. At this time, the previous communication need not be completed.
切換手段303は、前回の通信が完了し設定情報・通信結果レジスタ301aからの要求がなくなった時点で設定情報・通信結果レジスタ301b側の接続に自動的に切り換える。
The
その時点で既に発行されている設定情報・通信結果レジスタ301bからのアクセススタート要求が入り、アクセスコントローラ302は通信データ格納メモリ200の格納エリア202を使用した通信処理を続けて実行する。
An access start request from the setting information / communication result register 301b that has already been issued at that time is input, and the
プロセッサ100は、アクセスコントローラ300が通信を行っている間に、設定情報・通信結果レジスタ301aにアクセスすることで前回の通信の結果を確認(A)、またその通信が読み込みであった場合は通信データ格納メモリ200の格納エリア201にある前回の読み取りデータの回収が可能となる。
While the
さらに続けて、次のアクセスのための設定を設定情報・通信結果レジスタ301a及び通信データ格納メモリ200の格納エリア201に対して実行できる。このように、設定情報・通信結果レジスタ301a及び301bと通信データ格納メモリ200の格納エリア201及び202を交互使用することで、通信中の待ち時間を次のアクセスの設定時間に使用し、無駄な待機時間を縮小することができる。
Furthermore, the setting for the next access can be executed for the setting information /
図2は、本発明を適用した制御装置の他の実施形態を示す機能ブロック図である。この実施形態の特徴は、設定情報・通信結果レジスタ301a,301b,301c,301d,…及びこれらに対応する通信データ格納メモリ200の格納エリア201,202,203,204,…を多重に持つ構成とした点にある。これらを切換える切換手段303は、通信が終了次第、順次切換えて通信を継続する。
FIG. 2 is a functional block diagram showing another embodiment of the control device to which the present invention is applied. The feature of this embodiment is that the setting information / communication result registers 301a, 301b, 301c, 301d,... And the
このような構成によりプロセッサ100が多重に持った数の通信要求を連続で発行することができる。I/O装置400への通信速度が遅く、プロセッサ100から通信コントローラ300及び通信データ格納メモリ200へのアクセスが速い場合、通信中の待ち時間中に複数の通信の設定が可能となるため、図1に示した2個実装時よりも効果的となる。
With such a configuration, the number of communication requests that the processor 100 has can be issued continuously. When the communication speed to the I /
設定情報・通信結果レジスタは、通信データ格納メモリ200の格納エリアのサイズを決める権限を備えるため、通信量により自由に使用する格納エリアのサイズを決めることができる。
Since the setting information / communication result register has authority to determine the size of the storage area of the communication
多重化による設定情報・通信結果レジスタの拡張で格納メモリ200の格納エリアも増やす必要があるが、エリアサイズ自体は固定でなく可変のため、限られた容量の中で通信量に応じた自由な配分が可能である。
Although it is necessary to increase the storage area of the
本発明によれば、設定情報・通信結果レジスタのみを増やすことでデータ通信コマンドの連続発行が可能となる。アクセスコントローラ302とI/O装置400との関係は従来と同一であり、通信コントローラ自体を多重化する必要がないので、コントローラの僅かな改造で実現することが可能となる。
According to the present invention, it is possible to continuously issue data communication commands by increasing only the setting information / communication result register. The relationship between the
100 プロセッサ
200 通信データ格納メモリ
201,202 格納エリア
300 通信コントローラ
301a,301b 設定情報・通信結果レジスタ
302 アクセスコントローラ
303 切換え手段
400 I/O装置
DESCRIPTION OF SYMBOLS 100
Claims (4)
前記データの複数組を格納する通信データ格納メモリと、
前記複数組のデータに順次アクセスし、前記I/O装置とのデータ通信を実行する通信コントローラと、
を備えることを特徴とする制御装置。 In a control device that transmits or receives data from a processor to an I / O device that relays communication with plant equipment,
A communication data storage memory for storing a plurality of sets of the data;
A communication controller that sequentially accesses the plurality of sets of data and executes data communication with the I / O device;
A control device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008085424A JP2009238073A (en) | 2008-03-28 | 2008-03-28 | Control apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008085424A JP2009238073A (en) | 2008-03-28 | 2008-03-28 | Control apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009238073A true JP2009238073A (en) | 2009-10-15 |
Family
ID=41251904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008085424A Pending JP2009238073A (en) | 2008-03-28 | 2008-03-28 | Control apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009238073A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068501A (en) * | 2015-08-27 | 2015-11-18 | 四川烟草工业有限责任公司 | Cigarette maker glue supply control system with monitoring early warning |
-
2008
- 2008-03-28 JP JP2008085424A patent/JP2009238073A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068501A (en) * | 2015-08-27 | 2015-11-18 | 四川烟草工业有限责任公司 | Cigarette maker glue supply control system with monitoring early warning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100507886C (en) | Method of direct storage access for non-volatility storage and its device | |
TWI465905B (en) | Memory system having high data transfer efficiency and host controller | |
JP2007207026A (en) | Dma transfer device | |
WO2006051780A1 (en) | Nonvolatile memory device for matching memory controllers of different numbers of banks to be simultaneously accessed | |
JP2006293799A (en) | Information processing device and information processing method | |
JP2004030222A5 (en) | ||
JP2009151752A (en) | Bus switch, electronic equipment and data transfer method | |
JP2009238073A (en) | Control apparatus | |
EP2183663B1 (en) | Mass storage system with improved usage of buffer capacity | |
JP5058890B2 (en) | Bus control device | |
JPWO2013062109A1 (en) | I / O device control system and I / O device control method | |
CN113672172A (en) | Data interaction method and receiving card applied to LED display control system | |
JP2005316781A (en) | Multiple host switching method for storage medium | |
JP2007264751A (en) | Data transfer controller | |
JP2006011926A (en) | Serial data transfer system, serial data transfer device, serial data transfer method and image forming apparatus | |
JP2007193839A5 (en) | ||
JP2007018195A (en) | Information processing method and information processor | |
JP2010134928A (en) | Memory access device including multiprocessor | |
JP2007095025A5 (en) | ||
JP4472402B2 (en) | Bus equipment | |
KR20200134433A (en) | Data processing apparatus | |
JP2826780B2 (en) | Data transfer method | |
JP2004185640A5 (en) | ||
JPS62128341A (en) | Access control system for two port memory | |
JP2001168863A5 (en) | Information processing methods, information processing devices, information processing systems and programs |