JP2004062362A - Bus interface device and input/output communication interface device using the bus interface device - Google Patents

Bus interface device and input/output communication interface device using the bus interface device Download PDF

Info

Publication number
JP2004062362A
JP2004062362A JP2002217502A JP2002217502A JP2004062362A JP 2004062362 A JP2004062362 A JP 2004062362A JP 2002217502 A JP2002217502 A JP 2002217502A JP 2002217502 A JP2002217502 A JP 2002217502A JP 2004062362 A JP2004062362 A JP 2004062362A
Authority
JP
Japan
Prior art keywords
bus
access
interface
interface device
communication
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
JP2002217502A
Other languages
Japanese (ja)
Inventor
Tatsumi Azuma
東 龍巳
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2002217502A priority Critical patent/JP2004062362A/en
Publication of JP2004062362A publication Critical patent/JP2004062362A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)
  • Control By Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that a control unit can not access an I/O bus when a mode is switched to a maintenance mode in order to perform the maintenance of an I/O module and can not control the I/O module. <P>SOLUTION: A bus interface device is provided with an access arbitration circuit for arbitrating the operation of an I/O bus interface circuit to which a processor unit is connected and the operation of an I/O bus interface circuit to which an external terminal is connected, so that data do not collide with each other on the I/O bus. A flag indicating the access of an I/O bus communication controller to the I/O bus is used for arbitrating a plurality of I/O bus communication controllers. Thereby the processor unit can control the I/O module on the I/O bus even in the maintenance mode. In addition, the duplication of I/O bus communication controllers can be simply performed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、フィールドコントロールユニット等に用いるバスインターフェイス装置およびそれを用いたIO通信インターフェイス装置に関するものである。
【0002】
【従来の技術】
図4にフィールドコントロールユニットの構成を示す。このフィールドコントロールユニットは制御演算を行う制御ユニット6とフィールド機器との信号の入出力を行うIOユニット7、およびこれら2つのユニットを接続するIO通信バス8で構成される。
【0003】
制御ユニット6はプロセッサユニット61およびIOバス通信マスターインターフェイス62で構成される。また、IOユニットはIOバス通信スレーブインターフェイス71およびIOモジュール72で構成される。
【0004】
プロセッサユニット61で行われた制御演算結果はIOバス通信マスターインターフェイス62、IO通信バス8およびIOバス通信スレーブインターフェイス71を介してIOモジュール72に入力される。
【0005】
また、IOモジュール72に入力されたフィールドデータは、逆にIOバス通信スレーブインターフェイス71、IO通信バス8およびIOバス通信マスターインターフェイス62を介してプロセッサユニット61に入力される。このようにして、フィールドデータに基づいて制御演算を行い、その結果をフィールドに返すことによって、制御を実行する。
【0006】
このようなフィールドコントロールユニットにおいて、IOモジュール72のメンテナンスを行うときには、IOバス通信スレーブインターフェイス71をメンテナンスモードに切り替え、外部ターミナル9をIOバス通信スレーブインターフェイス71に設けられた通信ポートに接続する。
【0007】
【発明が解決しようとする課題】
しかしながら、このようなフィールドコントロールユニットには次のような課題があった。
【0008】
上述したように、メンテナンスを行うときにはIOバス通信スレーブインターフェイス71をメンテナンスモードに切り替えて外部ターミナル9に接続するが、そうすると制御ユニット6とIOモジュール72との通信ができなくなり、制御ユニット6がIOモジュール72を制御することができなくなるという課題があった。
【0009】
従って本発明が解決しようとする課題は、複数のアクセスを調停してバスが衝突することがないバスインターフェイス装置およびこれを用いてメンテナンス中でも制御動作を続行できるIO通信インターフェイス装置を提供することにある。
【0010】
【課題を解決するための手段】
このような課題を解決するために、本発明のうち請求項1記載の発明は、バス3と、このバス3に接続される少なくとも2つのインターフェイス部52,57と、これら複数のインターフェイス部52,57の動作を調停する調停部55とを有し、この調停部55は複数のインターフェイス部52,57が同時にバス3にアクセスしようとしたときに、そのアクセスを調停して複数のインターフェイス部52,57が同時にバス3をアクセスしないようにしたものである。バスの衝突がなくなる。
【0011】
請求項2記載の発明は、請求項1記載の発明において、調停部55は、複数のインターフェイス部52,57のうち、現にバス3をアクセスしているインターフェイス部を優先してバス3にアクセスさせるようにしたものである。制御が簡単になる。
【0012】
請求項3記載の発明は、請求項1または請求項2記載の発明において、バス3はIOバスであることを特徴としたものである。多数のモジュールや外部ターミナルが接続されるIOバスに用いて好適である。
【0013】
請求項4記載の発明は、請求項1ないし請求項3のいずれかに記載の発明において、複数のインターフェイス部52、57の少なくとも1つにプロセッサユニット13が接続され、このプロセッサユニット13が接続されていない複数のインターフェイス部52,57のうちの少なくとも1つに外部ターミナル2が接続されていることを特徴としたものである。制御動作を継続しながらメンテナンスができる。
【0014】
請求項5記載の発明は、IOバス3と、このIOバス3に接続されるIOインターフェイス部52,57と、IOインターフェイス部57に接続される通信ポートインターフェイス部56と、IOインターフェイス部52,57に接続され、それらの動作を調停する調停部55とを有し、この調停部55はIOインターフェイス部52,57が同時にIOバス3にアクセスしようとしたときに、そのアクセスを調停してインターフェイス部52,57が同時にIOバス3をアクセスしないようにしたものである。IOバス3が衝突することがなくなる。
【0015】
請求項6記載の発明は、請求項5記載の発明において、調停部55は、インターフェイス部52,57のうち、現にバス3をアクセスしているインターフェイス部を優先してIOバス3にアクセスさせるようにしたものである。制御が簡単になる。
【0016】
請求項7記載の発明は、請求項5または請求項6記載の発明において、通信ポートインターフェイス部56に外部ターミナル2が接続されていることを特徴としたものである。制御動作を継続しながらメンテナンスできる。
【0017】
請求項8記載の発明は、請求項5ないし請求項7のいずれかに記載の発明において、IOバス3にアクセスしているかどうかを示すフラグ53,54を内蔵したものである。簡単にアクセス中かどうかを判断することができる。
【0018】
請求項9記載の発明は、請求項8記載の発明において、前記フラグはIOバス3へのアクセス要求を表すアクセス制御フラグ53と、IOバス3に現にアクセスしていることを表すアクセス状態フラグ54とから構成されていることを特徴としたものである。簡単にアクセス中かどうかを判断することができる。
【0019】
請求項10記載の発明は、請求項8または請求項9記載の発明において、バックボードバス14と、このバックボードバス14に接続されているプロセッサユニット13と、バックボードバス14に接続されている少なくとも2つのIO通信インターフェイス装置11,12とを有し、プロセッサユニット13はIO通信インターフェイス装置11,12がIOバス3をアクセスしようとしたときに、他のIO通信インターフェイス装置のフラグ53,54を参照してこれらのIO通信インターフェイス装置がIOバス3をアクセスしていないことを確認して、IOバス3にアクセスしようとしているIO通信インターフェイス装置にIOバス3へのアクセスを許可するようにしたものである。IOバスの衝突を避け、かつ簡単にバスインターフェイス部を2重化できる。
【0020】
請求項11記載の発明は、請求項9または請求項10記載の発明において、プロセッサユニット13は、IO通信インターフェイス装置11,12がIOバス3をアクセスしようとしたときに、そのIO通信インターフェイス装置のアクセス制御フラグ53をセットするようにしたものである。アクセスを要求しているかを簡単に判断できる。
【0021】
【発明の実施の形態】
以下に、図に基づいて本発明を詳細に説明する。
図1は本発明に係るIO通信インターフェイス装置の一実施例を示す構成図である。図1において、1は制御ユニットであり、IOバス通信コントローラ11,12およびプロセッサユニット13で構成される。IOバス通信コントローラ11,12にはそれぞれ外部ターミナル2が接続される。この図からわかるように、IOバス通信コントローラは2台用いられ、2重化されている。
【0022】
プロセッサユニット13はバックボードバスインターフェイス131およびマイクロプロセッサ132で構成されており、制御演算を実行する。14はバックボードバスであり、プロセッサユニット13とIOバス通信コントローラ11および12を接続する。
【0023】
3はIOバスであり、IOバス通信コントローラ11,12およびIOモジュール4が接続される。IOバス通信コントローラ11,12はIOバス3を介してIOモジュール4と通信を行う。
【0024】
このような構成において、マイクロプロセッサ132はバックボードバスインターフェイス131、バックボードバス14,IOバス通信インターフェイス11または12,IOバス3を介してIOモジュール4と通信を行って制御を実行する。また、外部ターミナル2を使用してメンテナンスを行う。
【0025】
図2にIOバス通信コントローラ11、12の構成を示す。なお、図1と同じ要素には同一符号を付し、説明を省略する。図2において、5はIOバス通信コントローラであり、図1のIOバス通信コントローラ11,12と同じものである。51はバックボードバスインターフェイスであり、図示しないバックボードバス14に接続される。このバックボードバスインターフェイス51はバックボードバス14のインターフェイスとして機能する。
【0026】
52はIOバスインターフェイス回路であり、バックボードバスインターフェイス51およびIOバス3に接続される。このIOバスインターフェイス回路52はIOバス3のインターフェイスとして機能する。
【0027】
56は通信ポートインターフェイスであり、外部ターミナル2が接続される。57はIOバスインターフェイス回路であり、通信ポートインターフェイス56およびIOバス3に接続される。IOバスインターフェイス回路57はIOバス3のインターフェイスとして機能する。55はアクセス調停回路であり、IOバスインターフェイス回路52と同57のアクセスが競合したときに調停を行う。
【0028】
すなわち、アクセス調停回路55はIOバスインターフェイス回路52および同57の動作を監視し、IOバス3に対するアクセスが競合したときに、どちらのアクセスを優先させるかを決定して実行する。IOバス3をアクセスする時間は短いので、これによって見かけ上プロセッサユニット13と外部ターミナル2の両方が同時にIOバス3をアクセスすることができる。
【0029】
53は通信ポートアクセス制御フラグであり、プロセッサユニット13によってセットおよびリセットされる。54は通信ポートアクセス状態フラグであり、IOバス通信コントローラ5がIOバス3をアクセスしているときにセットされ、アクセスが終了するとリセットされる。通信ポートアクセス制御フラグ53は、もう一方のIOバス通信コントローラがIOバス3を使用することがないように、そのIOバス通信コントローラがIOバス3をアクセスしようとするときにセットされる。
【0030】
図3はIOバス通信コントローラ11または12がIOバス3をアクセスするときの動作を表したフローチャートである。なお、図2と同じ要素には同一符号を付し、説明を省略する。また、説明を簡単にするために、IOバス通信コントローラ11がIOバス3をアクセスしようとする場合について説明するが、IOバス通信コントローラ12がIOバス3をアクセスする場合も同じである。
【0031】
図3において、IOバス通信コントローラ11がIOバス3をアクセスしようとすると、プロセッサユニット13はIOバス通信コントローラ11内の通信ポートアクセス制御フラグ53をセットする。次に、IOバス通信コントローラ12内の通信ポートアクセス状態フラグ54を参照して、IOバス通信コントローラ12がIOバス3をアクセスしているかどうかをチェックする。IOバス通信コントローラ12がIOバスをアクセスしていると、終了するまでIOバス通信コントローラ11を待機させる。
【0032】
IOバス通信コントローラ12によるIOバス3のアクセスが終了すると、プロセッサユニット13はIOバス通信コントローラ11がIOバス3をアクセスすることを許可する。そして、アクセスが終了すると、IOバス通信コントローラ11内の通信ポート制御フラグ53をリセットする。
【0033】
このようにすることにより、2つのIOバス通信コントローラ11,12が同時にIOバス3をアクセスすることを防止することができ、簡単にIOバス通信コントローラを2重化することができる。なお、前述したように、同一IOバス通信コントローラ内のIOバスインターフェイス回路52と同57のアクセスが競合した場合は、アクセス調停回路55が同時にIOバス3をアクセスしないように調停を行う。
【0034】
なお、図1実施例ではIOバス通信コントローラ11,12を2重化した場合について説明したが、IOバス通信コントローラをさらに増やしても、これらのIOバス通信コントローラ間のアクセスの競合を避けることができる。この場合、IOバス通信コントローラはバックボードバス14とIOバス3に接続するだけでよい。
【0035】
また、通信ポートインターフェイス56としてはRS232Cやイーサネット(登録商標)などの汎用的な通信バスを用意し、制御系とは別のデータサーバを接続するようにしてもよい。この場合は、IOの情報を収集することによってイベントレコーダとしての機能を持たせることもできる。
【0036】
【発明の効果】
以上説明したことから明らかなように、本発明によれば、次の効果が期待できる。
請求項1記載の発明によれば、バス3と、このバス3に接続される少なくとも2つのインターフェイス部52,57と、これら複数のインターフェイス部52,57の動作を調停する調停部55とを有し、この調停部55は複数のインターフェイス部52,57が同時にバス3にアクセスしようとしたときに、そのアクセスを調停して複数のインターフェイス部52,57が同時にバス3をアクセスしないようにした。
【0037】
バス上でのデータの衝突がなくなるという効果がある。また、一般にバスにアクセスしている時間は短いので、見かけ上複数のインターフェイス部が同時に動作しているようにすることもできる。例えば、1つのインターフェイス部にプロセッサユニットを接続し、他方のインターフェイス部に外部ターミナルを接続すると、制御を継続しながらメンテナンスを行うこともできる。
【0038】
請求項2記載の発明によれば、請求項1記載の発明において、調停部55は、複数のインターフェイス部52,57のうち、現にバス3をアクセスしているインターフェイス部を優先してバス3にアクセスさせるようにした。調停のための制御が簡単になり、かつアクセスが途中で中断されることがなくなるという効果がある。
【0039】
請求項3記載の発明によれば、請求項1または請求項2記載の発明において、バス3はIOバスであることを特徴とした。多数のモジュールや外部ターミナルが接続されるIOバスに用いて好適である。
【0040】
請求項4記載の発明によれば、請求項1ないし請求項3のいずれかに記載の発明において、複数のインターフェイス部52、57の少なくとも1つにプロセッサユニット13が接続され、このプロセッサユニット13が接続されていない複数のインターフェイス部52,57のうちの少なくとも1つに外部ターミナル2が接続されていることを特徴とした。制御動作を継続しながらメンテナンスができるという効果がある。
【0041】
請求項5記載の発明によれば、IOバス3と、このIOバス3に接続されるIOインターフェイス部52,57と、IOインターフェイス部57に接続される通信ポートインターフェイス部56と、IOインターフェイス部52,57に接続され、それらの動作を調停する調停部55とを有し、この調停部55はIOインターフェイス部52,57が同時にIOバス3にアクセスしようとしたときに、そのアクセスを調停してインターフェイス部52,57が同時にIOバス3をアクセスしないようにした。
【0042】
IOインターフェイス部52と57が同時にIOバスをアクセスすることがなくなるので、データの衝突を避けることができるという効果がある。また、バックボードバスに接続されるプロセッサなどと通信ポートインターフェイス部に接続される外部ターミナルなどが、見かけ上同時に動作しているようにすることができるという効果もある。
【0043】
請求項6記載の発明によれば、請求項5記載の発明において、調停部55は、インターフェイス部52,57のうち、現にバス3をアクセスしているインターフェイス部を優先してIOバス3にアクセスさせるようにした。調停のための制御が簡単になり、かつアクセスが途中で中断されることがなくなるという効果がある。
【0044】
請求項7記載の発明によれば、請求項5または請求項6記載の発明において、通信ポートインターフェイス部56に外部ターミナル2が接続されていることを特徴とした。制御動作を継続しながらメンテナンスできるという効果がある。
【0045】
請求項8記載の発明によれば、請求項5ないし請求項7のいずれかに記載の発明において、IOバス3にアクセスしているかどうかを示すフラグ53,54を内蔵した。簡単にアクセス中かどうかを判断することができるという効果がある。
【0046】
請求項9記載の発明によれば、請求項8記載の発明において、前記フラグはIOバス3へのアクセス要求を表すアクセス制御フラグ53と、IOバス3に現にアクセスしていることを表すアクセス状態フラグ54とから構成されていることを特徴とした。簡単にアクセス中かどうかを判断することができるという効果がある。
【0047】
請求項10記載の発明によれば、請求項8または請求項9記載の発明において、バックボードバス14と、このバックボードバス14に接続されているプロセッサユニット13と、バックボードバス14に接続されている少なくとも2つのIO通信インターフェイス装置11,12とを有し、プロセッサユニット13はIO通信インターフェイス装置11,12がIOバス3をアクセスしようとしたときに、他のIO通信インターフェイス装置のフラグ53,54を参照してこれらのIO通信インターフェイス装置がIOバス3をアクセスしていないことを確認して、IOバス3にアクセスしようとしているIO通信インターフェイス装置にIOバス3へのアクセスを許可するようにした。
【0048】
アクセスが競合しなくなるので、IOバス上でデータが衝突することがなくなるという効果がある。また、簡単にバスインターフェイス部を増設、2重化できるという効果もある。
【0049】
請求項11記載の発明によれば、請求項9または請求項10記載の発明において、プロセッサユニット13は、IO通信インターフェイス装置11,12がIOバス3をアクセスしようとしたときに、そのIO通信インターフェイス装置のアクセス制御フラグ53をセットするようにした。アクセスを要求しているかを簡単に判断できるという効果がある。
【図面の簡単な説明】
【図1】本発明の一実施例を示す構成図である。
【図2】本発明の一実施例であるIOバス通信コントローラの構成図である。
【図3】本発明の一実施例を示すフローチャートである。
【図4】従来のフィールドコントロールユニットの構成図である。
【符号の説明】
1 制御ユニット
5,11,12 IOバス通信コントローラ
13 プロセッサユニット
14 バックボードバス
2 外部ターミナル
3 IOバス
51 バックボードバスインターフェイス
52,57 IOバスインターフェイス回路
53 通信ポートアクセス制御フラグ
54 通信ポートアクセス状態フラグ
55 アクセス調停回路
56 通信ポートインターフェイス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a bus interface device used for a field control unit and the like, and an IO communication interface device using the same.
[0002]
[Prior art]
FIG. 4 shows the configuration of the field control unit. This field control unit is composed of a control unit 6 for performing a control operation, an IO unit 7 for inputting and outputting signals to and from a field device, and an IO communication bus 8 for connecting these two units.
[0003]
The control unit 6 includes a processor unit 61 and an IO bus communication master interface 62. The IO unit includes an IO bus communication slave interface 71 and an IO module 72.
[0004]
The result of the control operation performed by the processor unit 61 is input to the IO module 72 via the IO bus communication master interface 62, the IO communication bus 8, and the IO bus communication slave interface 71.
[0005]
Conversely, the field data input to the IO module 72 is input to the processor unit 61 via the IO bus communication slave interface 71, the IO communication bus 8, and the IO bus communication master interface 62. In this way, control is performed based on the field data, and the result is returned to the field to execute the control.
[0006]
In such a field control unit, when maintenance of the IO module 72 is performed, the IO bus communication slave interface 71 is switched to the maintenance mode, and the external terminal 9 is connected to the communication port provided in the IO bus communication slave interface 71.
[0007]
[Problems to be solved by the invention]
However, such a field control unit has the following problems.
[0008]
As described above, when the maintenance is performed, the IO bus communication slave interface 71 is switched to the maintenance mode and connected to the external terminal 9. However, the communication between the control unit 6 and the IO module 72 cannot be performed. 72 cannot be controlled.
[0009]
Accordingly, an object of the present invention is to provide a bus interface device that arbitrates a plurality of accesses so that a bus does not collide, and an IO communication interface device that can use the bus interface device to continue a control operation even during maintenance. .
[0010]
[Means for Solving the Problems]
In order to solve such a problem, the invention according to claim 1 of the present invention provides a bus 3, at least two interface units 52 and 57 connected to the bus 3, and a plurality of interface units 52 and 57. And an arbitration unit 55 that arbitrates the operation of the bus 3 when the plurality of interface units 52 and 57 try to access the bus 3 at the same time. Numeral 57 designates that the bus 3 is not accessed at the same time. Eliminate bus collisions.
[0011]
According to a second aspect of the present invention, in the first aspect of the invention, the arbitration unit 55 gives priority to the interface unit currently accessing the bus 3 among the plurality of interface units 52 and 57 to access the bus 3. It is like that. Control becomes simple.
[0012]
According to a third aspect of the present invention, in the first or second aspect, the bus 3 is an IO bus. It is suitable for use in an IO bus to which a large number of modules and external terminals are connected.
[0013]
According to a fourth aspect of the present invention, in the first aspect of the present invention, the processor unit 13 is connected to at least one of the plurality of interface units 52 and 57, and the processor unit 13 is connected thereto. The external terminal 2 is connected to at least one of the plurality of interface units 52 and 57 that are not connected. Maintenance can be performed while continuing the control operation.
[0014]
According to a fifth aspect of the present invention, the IO bus 3, the IO interface units 52 and 57 connected to the IO bus 3, the communication port interface unit 56 connected to the IO interface unit 57, and the IO interface units 52 and 57 And an arbitration unit 55 for arbitrating their operations. When the IO interface units 52 and 57 try to access the IO bus 3 at the same time, the arbitration unit 55 arbitrates the access. Numerals 52 and 57 prevent access to the IO bus 3 at the same time. The collision of the IO bus 3 does not occur.
[0015]
According to a sixth aspect of the present invention, in the fifth aspect of the present invention, the arbitration section 55 gives priority to the interface section which is currently accessing the bus 3 among the interface sections 52 and 57 so as to access the IO bus 3. It was made. Control becomes simple.
[0016]
The invention according to claim 7 is characterized in that, in the invention according to claim 5 or 6, the external terminal 2 is connected to the communication port interface unit 56. Maintenance can be performed while continuing the control operation.
[0017]
The invention according to claim 8 is the one according to any one of claims 5 to 7, wherein flags 53 and 54 indicating whether or not the IO bus 3 is accessed are built in. It can be easily determined whether or not access is being made.
[0018]
According to a ninth aspect of the present invention, in the invention of the eighth aspect, the flags are an access control flag 53 indicating an access request to the IO bus 3 and an access state flag 54 indicating that the IO bus 3 is currently accessed. And characterized in that it is composed of It can be easily determined whether or not access is being made.
[0019]
According to a tenth aspect of the present invention, in the eighth or ninth aspect, the backboard bus, the processor unit 13 connected to the backboard bus, and the backboard bus are connected. The processor unit 13 has at least two IO communication interface devices 11 and 12. When the IO communication interface devices 11 and 12 try to access the IO bus 3, the processor unit 13 sets the flags 53 and 54 of the other IO communication interface devices. By referring to these IO communication interface devices, it is confirmed that these IO communication interface devices are not accessing the IO bus 3, and the IO communication interface device trying to access the IO bus 3 is allowed to access the IO bus 3. It is. The collision of the IO bus can be avoided, and the bus interface can be easily duplicated.
[0020]
According to an eleventh aspect of the present invention, in the ninth or tenth aspect of the present invention, when the IO communication interface devices 11 and 12 try to access the IO bus 3, the processor unit 13 is provided with the IO communication interface device. The access control flag 53 is set. You can easily determine if you are requesting access.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a configuration diagram showing one embodiment of an IO communication interface device according to the present invention. In FIG. 1, reference numeral 1 denotes a control unit, which includes IO bus communication controllers 11 and 12 and a processor unit 13. External terminals 2 are connected to the IO bus communication controllers 11 and 12, respectively. As can be seen from this figure, two IO bus communication controllers are used and are duplicated.
[0022]
The processor unit 13 includes a backboard bus interface 131 and a microprocessor 132, and executes a control operation. A backboard bus 14 connects the processor unit 13 and the IO bus communication controllers 11 and 12.
[0023]
Reference numeral 3 denotes an IO bus to which the IO bus communication controllers 11 and 12 and the IO module 4 are connected. The IO bus communication controllers 11 and 12 communicate with the IO module 4 via the IO bus 3.
[0024]
In such a configuration, the microprocessor 132 performs control by communicating with the IO module 4 via the backboard bus interface 131, the backboard bus 14, the IO bus communication interface 11 or 12, and the IO bus 3. Further, maintenance is performed using the external terminal 2.
[0025]
FIG. 2 shows the configuration of the IO bus communication controllers 11 and 12. The same elements as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. In FIG. 2, reference numeral 5 denotes an IO bus communication controller, which is the same as the IO bus communication controllers 11 and 12 in FIG. Reference numeral 51 denotes a backboard bus interface, which is connected to the backboard bus 14 (not shown). This backboard bus interface 51 functions as an interface of the backboard bus 14.
[0026]
Reference numeral 52 denotes an IO bus interface circuit, which is connected to the backboard bus interface 51 and the IO bus 3. The IO bus interface circuit 52 functions as an interface of the IO bus 3.
[0027]
56 is a communication port interface to which the external terminal 2 is connected. An IO bus interface circuit 57 is connected to the communication port interface 56 and the IO bus 3. The IO bus interface circuit 57 functions as an interface of the IO bus 3. An access arbitration circuit 55 arbitrates when the access of the IO bus interface circuit 52 and that of the access bus 57 conflict.
[0028]
That is, the access arbitration circuit 55 monitors the operations of the IO bus interface circuits 52 and 57, and when access to the IO bus 3 competes, determines and executes which access has priority. Since the time for accessing the IO bus 3 is short, both the processor unit 13 and the external terminal 2 can apparently access the IO bus 3 at the same time.
[0029]
A communication port access control flag 53 is set and reset by the processor unit 13. Numeral 54 denotes a communication port access state flag, which is set when the IO bus communication controller 5 is accessing the IO bus 3 and is reset when the access is completed. The communication port access control flag 53 is set when the IO bus communication controller attempts to access the IO bus 3 so that the other IO bus communication controller does not use the IO bus 3.
[0030]
FIG. 3 is a flowchart showing the operation when the IO bus communication controller 11 or 12 accesses the IO bus 3. The same elements as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted. For the sake of simplicity, a case where the IO bus communication controller 11 attempts to access the IO bus 3 will be described, but the same applies to a case where the IO bus communication controller 12 accesses the IO bus 3.
[0031]
In FIG. 3, when the IO bus communication controller 11 attempts to access the IO bus 3, the processor unit 13 sets a communication port access control flag 53 in the IO bus communication controller 11. Next, it is checked whether or not the IO bus communication controller 12 is accessing the IO bus 3 with reference to the communication port access state flag 54 in the IO bus communication controller 12. If the IO bus communication controller 12 is accessing the IO bus, the IO bus communication controller 11 waits until the operation is completed.
[0032]
When the access to the IO bus 3 by the IO bus communication controller 12 ends, the processor unit 13 permits the IO bus communication controller 11 to access the IO bus 3. When the access is completed, the communication port control flag 53 in the IO bus communication controller 11 is reset.
[0033]
By doing so, it is possible to prevent the two IO bus communication controllers 11 and 12 from accessing the IO bus 3 at the same time, and it is possible to easily duplicate the IO bus communication controllers. As described above, when the access of the IO bus interface circuit 52 and the access of the same 57 conflicts in the same IO bus communication controller, the access arbitration circuit 55 arbitrates so as not to access the IO bus 3 at the same time.
[0034]
Although the case where the IO bus communication controllers 11 and 12 are duplicated has been described in the embodiment of FIG. 1, even if the number of IO bus communication controllers is further increased, it is possible to avoid contention of access between these IO bus communication controllers. it can. In this case, the IO bus communication controller need only be connected to the backboard bus 14 and the IO bus 3.
[0035]
A general-purpose communication bus such as RS232C or Ethernet (registered trademark) may be prepared as the communication port interface 56, and a data server different from the control system may be connected. In this case, a function as an event recorder can be provided by collecting information on IO.
[0036]
【The invention's effect】
As is clear from the above description, according to the present invention, the following effects can be expected.
According to the first aspect of the present invention, there is provided the bus 3, the at least two interface units 52 and 57 connected to the bus 3, and the arbitration unit 55 for arbitrating the operation of the plurality of interface units 52 and 57. The arbitration unit 55 arbitrates the access when the plurality of interface units 52 and 57 try to access the bus 3 at the same time so that the plurality of interface units 52 and 57 do not access the bus 3 at the same time.
[0037]
This has the effect of eliminating data collision on the bus. Further, since the time for accessing the bus is generally short, a plurality of interface units can be apparently operating simultaneously. For example, when a processor unit is connected to one interface unit and an external terminal is connected to the other interface unit, maintenance can be performed while continuing control.
[0038]
According to the second aspect of the present invention, in the first aspect of the invention, the arbitrating unit 55 gives priority to the bus 3 that is currently accessing the bus 3 among the plurality of interface units 52 and 57. I made it accessible. There is an effect that control for arbitration is simplified and access is not interrupted halfway.
[0039]
According to a third aspect of the present invention, in the first or second aspect, the bus 3 is an IO bus. It is suitable for use in an IO bus to which a large number of modules and external terminals are connected.
[0040]
According to the invention described in claim 4, in the invention described in any one of claims 1 to 3, the processor unit 13 is connected to at least one of the plurality of interface units 52 and 57, and the processor unit 13 is The external terminal 2 is connected to at least one of the plurality of unconnected interface units 52 and 57. There is an effect that maintenance can be performed while the control operation is continued.
[0041]
According to the fifth aspect of the present invention, the IO bus 3, the IO interface units 52 and 57 connected to the IO bus 3, the communication port interface unit 56 connected to the IO interface unit 57, and the IO interface unit 52 , 57, and arbitrates their operations. This arbitration unit 55 arbitrates the access when the IO interface units 52, 57 try to access the IO bus 3 at the same time. The interface units 52 and 57 are prevented from accessing the IO bus 3 at the same time.
[0042]
Since the IO interface units 52 and 57 do not access the IO bus at the same time, there is an effect that data collision can be avoided. Another effect is that a processor connected to the backboard bus and an external terminal connected to the communication port interface unit seemingly operate simultaneously.
[0043]
According to the invention described in claim 6, in the invention described in claim 5, the arbitration unit 55 accesses the IO bus 3 by giving priority to the interface unit currently accessing the bus 3 among the interface units 52 and 57. I tried to make it. There is an effect that control for arbitration is simplified and access is not interrupted halfway.
[0044]
According to a seventh aspect of the present invention, in the fifth or sixth aspect, the external terminal 2 is connected to the communication port interface unit 56. There is an effect that maintenance can be performed while the control operation is continued.
[0045]
According to the invention described in claim 8, in the invention described in any one of claims 5 to 7, flags 53 and 54 indicating whether or not the IO bus 3 is accessed are built in. There is an effect that it is possible to easily determine whether or not access is being made.
[0046]
According to the ninth aspect of the present invention, in the invention of the eighth aspect, the flag is an access control flag 53 indicating an access request to the IO bus 3 and an access state indicating that the IO bus 3 is currently being accessed. And a flag 54. There is an effect that it is possible to easily determine whether or not access is being made.
[0047]
According to the tenth aspect of the present invention, in the eighth aspect or the ninth aspect, the backboard bus, the processor unit 13 connected to the backboard bus, and the backboard bus are connected to the backboard bus. The processor unit 13 has at least two IO communication interface devices 11 and 12 when the IO communication interface devices 11 and 12 try to access the IO bus 3. With reference to 54, it is confirmed that these IO communication interface devices are not accessing the IO bus 3, and the access to the IO bus 3 is permitted to the IO communication interface device that is trying to access the IO bus 3. did.
[0048]
Since access does not conflict, there is an effect that data does not collide on the IO bus. Also, there is an effect that the bus interface unit can be easily added and duplicated.
[0049]
According to the eleventh aspect of the present invention, in the ninth or tenth aspect of the present invention, when the IO communication interface devices 11 and 12 try to access the IO bus 3, the processor unit 13 provides the IO communication interface. The access control flag 53 of the device is set. The effect is that it can be easily determined whether access is requested.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing one embodiment of the present invention.
FIG. 2 is a configuration diagram of an IO bus communication controller according to an embodiment of the present invention.
FIG. 3 is a flowchart showing an embodiment of the present invention.
FIG. 4 is a configuration diagram of a conventional field control unit.
[Explanation of symbols]
1 Control Units 5, 11, 12 IO Bus Communication Controller 13 Processor Unit 14 Backboard Bus 2 External Terminal 3 IO Bus 51 Backboard Bus Interface 52, 57 IO Bus Interface Circuit 53 Communication Port Access Control Flag 54 Communication Port Access Status Flag 55 Access arbitration circuit 56 Communication port interface

Claims (11)

バスと、このバスに接続される少なくとも2つのインターフェイス部と、これら複数のインターフェイス部の動作を調停する調停部とを有し、この調停部は前記複数のインターフェイス部が同時に前記バスにアクセスしようとしたときに、そのアクセスを調停して前記複数のインターフェイス部が同時に前記バスをアクセスしないようにしたことを特徴とするバスインターフェイス装置。A bus, at least two interface units connected to the bus, and an arbitration unit for arbitrating operation of the plurality of interface units, wherein the arbitration unit tries to access the bus simultaneously by the plurality of interface units A bus interface device arbitrating the access so that the plurality of interface units do not access the bus at the same time. 前記調停部は、前記複数のインターフェイス部のうち、現に前記バスをアクセスしている前記インターフェイス部を優先して前記バスにアクセスさせるようにしたことを特徴とする請求項1記載のバスインターフェイス装置。2. The bus interface device according to claim 1, wherein the arbitration unit accesses the bus by giving priority to the interface unit that is currently accessing the bus among the plurality of interface units. 3. 前記バスはIOバスであることを特徴とする請求項1または請求項2記載のバスインターフェイス装置。3. The bus interface device according to claim 1, wherein the bus is an IO bus. 前記複数のインターフェイス部の少なくとも1つにプロセッサユニットが接続され、このプロセッサユニットが接続されていない前記複数のインターフェイス部のうちの少なくとも1つに外部ターミナルが接続されていることを特徴とする請求項1ないし請求項3のいずれかに記載のバスインターフェイス装置。A processor unit is connected to at least one of the plurality of interface units, and an external terminal is connected to at least one of the plurality of interface units to which the processor unit is not connected. The bus interface device according to any one of claims 1 to 3. IOバスと、このIOバスに接続される第1および第2のIOインターフェイス部と、前記第2のIOインターフェイス部に接続される通信ポートインターフェイス部と、前記第1および第2のIOインターフェイス部に接続され、それらの動作を調停する調停部とを有し、この調停部は前記第1および第2のIOインターフェイス部が同時に前記IOバスにアクセスしようとしたときに、そのアクセスを調停して前記第1および第2のインターフェイス部が同時に前記IOバスをアクセスしないようにしたことを特徴とするIO通信インターフェイス装置。An IO bus, first and second IO interfaces connected to the IO bus, a communication port interface connected to the second IO interface, and a first and second IO interface. And an arbitration unit for arbitrating their operations, wherein the arbitration unit arbitrates the access when the first and second IO interface units try to access the IO bus at the same time. An IO communication interface device wherein the first and second interface units do not access the IO bus at the same time. 前記調停部は、前記第1および第2のインターフェイス部のうち、現に前記IOバスをアクセスしている前記インターフェイス部を優先して前記IOバスにアクセスさせるようにしたことを特徴とする請求項5記載のIO通信インターフェイス装置。6. The arbitration unit according to claim 5, wherein, of the first and second interface units, the interface unit that is currently accessing the IO bus is given priority to access the IO bus. 10. The IO communication interface device according to claim 1. 前記通信ポートインターフェイス部に外部ターミナルが接続されていることを特徴とする請求項5または請求項6記載のIO通信インターフェイス装置。7. The IO communication interface device according to claim 5, wherein an external terminal is connected to the communication port interface unit. 前記IOバスにアクセスしているかどうかを示すフラグを内蔵したことを特徴とする請求項5ないし請求項7のいずれかに記載のIO通信インターフェイス装置。The IO communication interface device according to any one of claims 5 to 7, further comprising a flag indicating whether or not the IO bus is being accessed. 前記フラグは前記IOバスへのアクセス要求を表すアクセス制御フラグと、前記IOバスに現にアクセスしていることを表すアクセス状態フラグとから構成されていることを特徴とする請求項8記載のIO通信インターフェイス装置。9. The IO communication according to claim 8, wherein the flag comprises an access control flag indicating a request to access the IO bus, and an access state flag indicating that the IO bus is currently being accessed. Interface device. バックボードバスと、このバックボードバスに接続されているプロセッサユニットと、前記バックボードバスに接続されている少なくとも2つの前記IO通信インターフェイス装置とを有し、前記プロセッサユニットは前記IO通信インターフェイス装置が前記IOバスをアクセスしようとしたときに、他の前記IO通信インターフェイス装置内の前記フラグを参照してこれらのIO通信インターフェイス装置が前記IOバスをアクセスしていないことを確認して、前記IOバスにアクセスしようとしている前記IO通信インターフェイス装置に前記IOバスへのアクセスを許可するようにしたことを特徴とする請求項8または請求項9記載のIO通信インターフェイス装置。A backboard bus, a processor unit connected to the backboard bus, and at least two of the IO communication interface devices connected to the backboard bus, wherein the processor unit includes the IO communication interface device; When trying to access the IO bus, referring to the flags in the other IO communication interface devices, confirming that these IO communication interface devices are not accessing the IO bus, 10. The IO communication interface device according to claim 8, wherein the IO communication interface device trying to access the IO bus is permitted to access the IO bus. 前記プロセッサユニットは、前記IO通信インターフェイス装置が前記IOバスをアクセスしようとしたときに、そのIO通信インターフェイス装置のアクセス制御フラグをセットするようにしたことを特徴とする請求項9または請求項10記載のIO通信インターフェイス装置。11. The processor unit according to claim 9, wherein when the IO communication interface device attempts to access the IO bus, the processor unit sets an access control flag of the IO communication interface device. IO communication interface device.
JP2002217502A 2002-07-26 2002-07-26 Bus interface device and input/output communication interface device using the bus interface device Withdrawn JP2004062362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002217502A JP2004062362A (en) 2002-07-26 2002-07-26 Bus interface device and input/output communication interface device using the bus interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002217502A JP2004062362A (en) 2002-07-26 2002-07-26 Bus interface device and input/output communication interface device using the bus interface device

Publications (1)

Publication Number Publication Date
JP2004062362A true JP2004062362A (en) 2004-02-26

Family

ID=31938927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002217502A Withdrawn JP2004062362A (en) 2002-07-26 2002-07-26 Bus interface device and input/output communication interface device using the bus interface device

Country Status (1)

Country Link
JP (1) JP2004062362A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2427723A (en) * 2005-06-29 2007-01-03 Sigmatel Inc Controlling clock speed in a system having plural master devices.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2427723A (en) * 2005-06-29 2007-01-03 Sigmatel Inc Controlling clock speed in a system having plural master devices.
GB2427723B (en) * 2005-06-29 2010-11-17 Sigmatel Inc System and method of managing clock speed in an electronic device

Similar Documents

Publication Publication Date Title
CN101710314B (en) High-speed peripheral component interconnection switching controller and realizing method thereof
JP2558393B2 (en) Multi-cluster signal processor
JPS5837585B2 (en) Keisan Kisouchi
JPH02293959A (en) Interface apparatus
WO2001035210A3 (en) Bus architecture and shared bus arbitration method for a communication processor
JP2003006143A (en) System, device and method of sharing bus
JPH10222458A (en) Connector
US6959354B2 (en) Effective bus utilization using multiple bus interface circuits and arbitration logic circuit
US9003092B2 (en) System on chip bus system and a method of operating the bus system
CN101169774B (en) Multiprocessor system, sharing control device and method for starting slave processor
US20020126660A1 (en) Effective bus utilization using multiple buses and multiple bus controllers
JP2004062362A (en) Bus interface device and input/output communication interface device using the bus interface device
KR0137020B1 (en) Method for unblocking a multibus multiprocessor system
JP2003030042A (en) Microcomputer with cores
JPS63175962A (en) Direct memory access controller
CN112134814B (en) Board-level internet structure and communication method
JP4097847B2 (en) Bus bridge arbitration method
KR100475438B1 (en) Data bus system and method for performing cross-access between buses
JPH02178753A (en) System bus extender
WO2024146242A1 (en) Camera sharing method, system and device, and computer readable storage medium
JPS60173602A (en) Decetralized type process controller
CN115525596A (en) Multi-master switching type high-speed interconnection backplane bus, control method thereof and processing system thereof
KR100249523B1 (en) An arbitor logic for the communication between cpu and multi i/o controllers
JPH0535698A (en) Information processor
JP3768581B2 (en) Plant control device

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20060511

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20060523

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20060721

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070220

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070420