JPH11272601A - Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus - Google Patents

Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus

Info

Publication number
JPH11272601A
JPH11272601A JP7551398A JP7551398A JPH11272601A JP H11272601 A JPH11272601 A JP H11272601A JP 7551398 A JP7551398 A JP 7551398A JP 7551398 A JP7551398 A JP 7551398A JP H11272601 A JPH11272601 A JP H11272601A
Authority
JP
Japan
Prior art keywords
card
value
bus
cards
common bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7551398A
Other languages
Japanese (ja)
Inventor
Fumihiko Anzai
文彦 安西
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.)
Fuji Electric Co Ltd
FFC Ltd
Original Assignee
Fuji Electric Co Ltd
FFC 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 Fuji Electric Co Ltd, FFC Ltd filed Critical Fuji Electric Co Ltd
Priority to JP7551398A priority Critical patent/JPH11272601A/en
Publication of JPH11272601A publication Critical patent/JPH11272601A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an ID allocation method for automatically allocating an ID to cascade-connected respective cards and the bus using right priority judgement method of a common bus. SOLUTION: The respective cards 10A-10D are cascade-connected and the card 10A of the most front stage is connected to a start end value setting part 2. The respective cards 10 are provided with an ID storage part 11 and an adder 12. The card 10A inputs a prescribed start end value (O) outputted from the start end value setting part 2 and stores the input value (0) in the ID storage part 11 as its own ID first. Also, the input value (0) is also inputted to the adder 12 and a value (1) for which +1 is added by the adder 12 is outputted to the card 10B of a poststage. Thereafter, similarly in the cards 10B, 10C and 10D, the input value from the card of their preceding stage is obtained as their own ID, +1 is added to the input value and it is outputted to the card of their poststage. Also, from an output value from the card 10D of a last stage, the number of the connected cards is detected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のカードをカ
スケード接続して共通バスを形成するシステムにおける
ID割付け方法、及び共通バスのバス使用権優先判定方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ID assigning method in a system in which a plurality of cards are cascade-connected to form a common bus, and a bus use right priority determining method for the common bus.

【0002】[0002]

【従来の技術】各々所定の回路を実装した小型基板ボー
ド(以下、カードという)を複数枚用いてシステムを構
築する場合、通常、この複数枚のカードの入出力信号を
インタフェースする共通バスが必要である。従来、共通
バスを実装したベースボード(マザーボード)に各カー
ドを接続する方法と、上記ベースボードを用いずに各カ
ードをカスケード接続することで共通バスを構成する方
法とがある(以下、このカードをカスケード接続カード
ともいう)。
2. Description of the Related Art When a system is constructed using a plurality of small board boards (hereinafter, referred to as cards) each mounting a predetermined circuit, a common bus for interfacing input / output signals of the plurality of cards is usually required. It is. Conventionally, there are a method of connecting each card to a base board (motherboard) on which a common bus is mounted, and a method of configuring a common bus by cascading each card without using the base board (hereinafter, this card is referred to as this card). Is also called a cascade connection card).

【0003】そして、各カードに識別用のIDをユニー
クに割り付け、このIDを元にして、バス使用権の調停
や、バス上でのアドレスの割り付けを行っている。図7
は、ベースボードを用いる場合の構成の一例を示し、そ
のID割付け方法を説明する為の図である。
[0003] An ID for identification is uniquely assigned to each card, and arbitration of the right to use the bus and assignment of addresses on the bus are performed based on the ID. FIG.
FIG. 3 is a diagram showing an example of a configuration in the case of using a base board and explaining an ID assignment method thereof.

【0004】同図において、共通バスを実装したベース
ボード100上には、複数のコネクタ101〜104が
設けられており、予め各コネクタ毎にIDが割り付けら
れている。同図に示す例では、コネクタ101にはID
=1、コネクタ102にはID=2、コネクタ103に
はID=3、コネクタ104にはID=4が割り付けら
れている。これにより、各カード110〜140を(各
コネクタ111〜141により)ベースボード100上
のいずれかのコネクタに接続することによって、そのカ
ードは接続先のコネクタに割り当てられているIDを取
得することができるようになっている。同図に示す例で
は、コネクタ101に接続したカード110は、このコ
ネクタ101に予め割り当てられているID=1を取得
する。同様にして、カード120はID=2、カード1
30はID=3、カード140はID=4をそれぞれ取
得する。
In FIG. 1, a plurality of connectors 101 to 104 are provided on a base board 100 on which a common bus is mounted, and an ID is assigned to each connector in advance. In the example shown in FIG.
= 1, ID = 2 for connector 102, ID = 3 for connector 103, and ID = 4 for connector 104. Thus, by connecting each of the cards 110 to 140 (by each of the connectors 111 to 141) to any one of the connectors on the base board 100, the card can acquire the ID assigned to the connection destination connector. I can do it. In the example shown in the drawing, the card 110 connected to the connector 101 acquires ID = 1 assigned to the connector 101 in advance. Similarly, card 120 has ID = 2, card 1
30 acquires ID = 3, and the card 140 acquires ID = 4.

【0005】図8は、カスケード接続カードを用いる場
合の構成の一例を示し、そのID割付け方法を説明する
為の図である。同図において、各カード150〜180
は、各々、バス152〜182を備えており、コネクタ
153〜184によって各カードをカスケード接続して
上記各バスを接続することによって、共通バス190を
構成する。
FIG. 8 shows an example of a configuration when a cascade connection card is used, and is a diagram for explaining an ID assignment method. In FIG.
Have buses 152 to 182, and cascade-connect each card by connectors 153 to 184 to connect the buses, thereby forming a common bus 190.

【0006】各カード150〜180は、各々、ロータ
リースイッチ151〜181を備えており、設計者等が
これらロータリースイッチを操作して各カードのIDを
設定する。
The cards 150 to 180 have rotary switches 151 to 181 respectively, and a designer or the like operates the rotary switches to set the ID of each card.

【0007】上記のようにして構築したシステムの動作
時には、上記各カード毎に割り付けられたIDを用い
て、バス使用権の調停等が行われる。バス使用権調停方
法には、バス使用権優先判定を各カード内で行う方法と
カード外で行う方法とがある。
At the time of operation of the system constructed as described above, arbitration of the right to use the bus is performed using the ID assigned to each card. The bus use right arbitration method includes a method of performing the bus use right priority determination within each card and a method of performing the bus use right outside the card.

【0008】各カード内でバス使用権優先判定を行う方
法として、MULTIBUS II(IEEE/ANSI1296)が知られてい
る。これは、共通バスを使用してデータの入出力を行い
たいカードが、ワイヤードオアで構成された調停用バス
を用いて、バス使用権の優先判定を行う方法である。こ
の方法では、自らのIDを調停用バスに出力し、このバ
ス上でワイヤードオアを行いながらその値を入力して、
自らのIDと一本ずつ比較し、調停に負けたカードから
ID出力を止めていき、最後までID出力が続いたカー
ドが勝者となって、バスの使用権を得る。この方法で
は、調停用のバスの本数の2のべき乗で表わされるカー
ド数まで接続できる。
MULTIBUS II (IEEE / ANSI1296) is known as a method of making a bus use right priority determination in each card. This is a method in which a card that wants to input and output data using a common bus uses a wired or configured arbitration bus to make a priority determination on the right to use the bus. In this method, the own ID is output to an arbitration bus, and the value is input while performing wired OR on this bus,
The IDs are compared one by one, and the ID output is stopped from the card that lost the arbitration, and the card that has continued the ID output to the end becomes the winner and obtains the right to use the bus. In this method, it is possible to connect up to the number of cards represented by a power of 2 of the number of arbitration buses.

【0009】図9は、カード外でバス使用権優先判定を
行う方法を説明する為の図である。同図では、特に図示
していないが、図8の場合と略同様に、各カード210
〜240は内部バスを有しており、各カードをカスケー
ド接続して各内部バスを接続することによって、共通バ
ス190を形成するようになっている。
FIG. 9 is a diagram for explaining a method of making a bus use right priority determination outside a card. Although not particularly shown in the figure, each card 210 is substantially similar to the case of FIG.
240 have an internal bus, and the common bus 190 is formed by cascading the respective cards and connecting the respective internal buses.

【0010】図9においては、更に、カード外でバス使
用権優先判定を行う為の優先判定部200を有する。そ
して、各カード毎に、優先判定部200に対する要求線
と応答線とを有する。すなわち、優先判定部200に要
求信号を出力する為の要求線A〜Dと、優先判定部20
0が優先判定結果を各カードに通知する為の応答線E〜
Hを有する。優先判定部200におけるバス使用権優先
判定方法については、種々あるが、ここでは特に説明し
ない。
[0010] FIG. 9 further includes a priority judging section 200 for judging a bus use right priority outside the card. Each card has a request line and a response line for the priority determination unit 200. That is, the request lines A to D for outputting a request signal to the priority determination unit 200 and the priority determination unit 20
0 is a response line E to notify each card of the priority determination result.
H. There are various methods of determining the priority of using the bus in the priority determination section 200, but they are not specifically described here.

【0011】[0011]

【発明が解決しようとする課題】上記ID割付け方法に
おいて、ベースボード上の各コネクタに予めIDを割り
付けておく方法では、予め、カードの最大実装枚数に合
わせてベースボードを作っておく必要がある。この為、
特に少ない枚数のカードでシステムを構築する場合であ
っても、ベースボードの大きさで全体の大きさが決まっ
てしまう為、システムを小型化できないという問題があ
った。
In the method of assigning IDs in the above-mentioned ID assigning method, IDs are assigned to the respective connectors on the base board in advance, and it is necessary to prepare the base board in advance according to the maximum number of mounted cards. . Because of this,
In particular, even when a system is constructed with a small number of cards, there is a problem that the system cannot be downsized because the overall size is determined by the size of the base board.

【0012】一方、カスケード接続カードでシステムを
構成する場合は、システムの大きさはカードの枚数で決
められるが、予めコネクタにIDを割り付けるようには
できないので、例えば上記のようにスイッチの設定でI
Dを割り付けるようにしていた。この為、スイッチの操
作等を人手で行わなければならず、手間が掛かるうえ
に、人為的ミスによるID重複が起こる虞があった。
On the other hand, when a system is constituted by cascaded cards, the size of the system is determined by the number of cards, but it is not possible to assign IDs to the connectors in advance. I
D was assigned. For this reason, the switch operation and the like must be performed manually, which is troublesome, and there is a risk that ID duplication due to human error may occur.

【0013】また、バス使用権優先判定方法において、
上記 MULTIBUS IIによる方法では、比較的低速度なワイ
ヤードオアを用いて、一本ずつ調停用のバスの値を判定
する機能が必要となり、回路構成が複雑になってしまう
という問題があった。
[0013] In the bus use right priority determination method,
The method using the MULTIBUS II requires a function of determining the value of the arbitration bus one by one using a wired OR at a relatively low speed, and has a problem that the circuit configuration becomes complicated.

【0014】一方、カード外でバス使用権優先判定を行
う方法では、各カード毎に要求線と応答線が1本ずつ必
要である為、接続するカードの枚数の倍の調停用信号線
が必要となってしまう。これは、逆に言えば、調停用の
バスの本数の半分しかカードを接続できないという問題
になっていた。
On the other hand, in the method of performing the bus use right priority determination outside the card, since one request line and one response line are required for each card, an arbitration signal line twice as many as the number of connected cards is required. Will be. Conversely, there has been a problem that only half of the number of arbitration buses can be connected to the card.

【0015】本発明の課題は、複数のカードをカスケー
ド接続して共通バスを形成するシステムにおいて、カス
ケード接続した各カードに自動的にIDを割り付けるI
D割り付け方法、及び簡単な構成で各カードの共通バス
使用権の公平な配分が行えるバス使用権優先判定方法を
提供することである。
An object of the present invention is to automatically assign an ID to each cascaded card in a system in which a plurality of cards are cascaded to form a common bus.
It is an object of the present invention to provide a D assignment method and a bus use right priority determination method capable of fairly distributing the common bus use right of each card with a simple configuration.

【0016】[0016]

【課題を解決するための手段】本発明によるカスケード
接続カードは、複数のカードをカスケード接続して共通
バスを形成するシステムにおける前記各カードにおい
て、前段のカードから入力する入力値を、所定の変化規
則に従って変化させ、該変化後の値を後段のカードに出
力する変化手段と、前記入力値または前記変化手段によ
る変化後の値を自己のIDとして格納するID格納手段
とを有する。
According to the present invention, there is provided a cascade connection card according to the present invention, wherein a plurality of cards are cascaded to form a common bus, and in each of the cards, an input value input from a preceding card is changed by a predetermined value. There are changing means for changing the value according to the rules and outputting the changed value to a subsequent card, and ID storage means for storing the input value or the value changed by the changing means as its own ID.

【0017】本発明は、上記構成のカスケード接続カー
ドを用いることにより、該カードをカスケード接続して
共通バスを形成するシステムにおいて各カードに自動的
にIDを割り付けるID割り付け方法、及び簡単な構成
で各カードのバス使用権の公平な配分が行えるバス使用
権優先判定方法を実現できる。
According to the present invention, there is provided an ID assigning method for automatically assigning an ID to each card in a system in which the cards are cascaded to form a common bus by using the cascade-connected cards having the above-described structure, and a simple structure. It is possible to realize a bus usage right priority determination method capable of fairly distributing the bus usage right of each card.

【0018】本発明によるID割付け方法は、複数のカ
ードをカスケード接続して共通バスを形成するシステム
におけるID割付け方法であって、カスケード接続され
た最前段のカードに所定の初期値を入力させ、該最前段
のカードにおいて、前記入力した初期値を所定の変化規
則に従って変化させた変化後の値または前記初期値を自
己のIDとして格納すると共に該変化後の値を後段のカ
ードに出力し、最後段のカードに至るまで、各カードに
おいて、順次、前段のカードより入力する値を前記所定
の変化規則に従って変化させた値または前記入力値を自
己のIDとして格納すると共に該変化後の値を後段のカ
ードに出力していくことにより、カスケード接続された
各カードにIDを割り付ける。
An ID assigning method according to the present invention is an ID assigning method in a system in which a plurality of cards are cascaded to form a common bus, in which a predetermined initial value is input to the cascaded front-end card, In the first-stage card, a value after change obtained by changing the input initial value according to a predetermined change rule or the initial value is stored as its own ID, and the changed value is output to a subsequent card, Until the last card, in each card, a value obtained by sequentially changing a value input from the previous card according to the predetermined change rule or the input value is stored as its own ID, and the value after the change is stored. An ID is assigned to each card connected in cascade by outputting the data to the subsequent card.

【0019】上記ID割付け方法によれば、システムを
小型化できる(ベースボードの大きさに制限されない)
方式であるカスケード接続カードによるシステム構成方
式において、人手によるID設定等を行う必要なく、自
動的に各カードにIDが割付けられる。これより、手間
が掛からずミスが生じないID割付けが行えるようにな
る。
According to the above-described ID assignment method, the system can be downsized (the size of the base board is not limited).
In a system configuration using a cascade connection card, which is a system, an ID is automatically assigned to each card without having to manually set an ID or the like. As a result, it is possible to perform ID assignment without any trouble and no mistake.

【0020】更に、例えば、前記最後段のカードの出力
値、及び前記初期値と所定の変化規則とに基づいて、前
記カスケード接続されたカードの枚数を自動的に検出す
ることができる。これは、例えば、初期値と所定の変化
規則が分かっていれば、最後段のカードの出力値と接続
枚数との関係を示すテーブル等を格納しておくことによ
り、最後段のカードの出力値を検出して上記テーブル等
を参照すればカード接続枚数が判別できる。
Further, for example, the number of cards in the cascade connection can be automatically detected based on the output value of the last card, the initial value, and a predetermined change rule. This is because, for example, if the initial value and a predetermined change rule are known, a table or the like showing the relationship between the output value of the last card and the number of connected cards is stored, so that the output value of the last card is stored. Is detected and the number of connected cards can be determined by referring to the table or the like.

【0021】本発明によるバス使用権優先判定方法は、
複数のカードをカスケード接続して共通バスを形成する
システムにおける該共通バスのバス使用権優先判定方法
であって、バス使用権調停制御手段によって、カスケー
ド接続された最前段のカードに入力する初期値を、所定
の規則に従って所定の周期で変化させることにより、各
カードが保持する値を順次変化させていき、予め定めら
れた所定の値を保持するカスケード接続カードが、その
ときの共通バスのバス使用権を有する。
The bus use right priority judging method according to the present invention comprises:
A bus use right priority determination method for a common bus in a system in which a plurality of cards are cascaded to form a common bus, wherein the bus use right arbitration control means inputs an initial value to be input to a cascaded front-end card. Is changed in a predetermined cycle in accordance with a predetermined rule, so that the value held by each card is sequentially changed, and a cascade connection card holding a predetermined value is set as a bus of the common bus at that time. Have the right to use.

【0022】上記バス使用権優先判定方法によれば、回
路構成が複雑になってしまうことなく、簡単な回路構成
で各カードにバス使用権の公平は配分が行える。また、
上記バス使用権優先判定方法において、例えば、前記バ
ス使用権調停制御手段は、特定の事象が発生したとき、
該特定の事象に対処する専用の機能を有するカードに共
通バスのバス使用権が渡るように初期値を変化させる。
According to the above bus use right priority determination method, the fairness of the bus use right can be distributed to each card with a simple circuit structure without complicating the circuit structure. Also,
In the bus use right priority determination method, for example, the bus use right arbitration control means, when a specific event occurs,
The initial value is changed so that the right to use the common bus passes to a card having a function dedicated to the specific event.

【0023】上記特定の事象が発生したときとは、例え
ば異常が発生したときであり、この異常に対処する専用
の機能を有するカードに共通バスのバス使用権を一時的
に渡すようにすることができる。
The occurrence of the above-mentioned specific event is, for example, the occurrence of an abnormality. The right to use the common bus is temporarily transferred to a card having a function dedicated to dealing with the abnormality. Can be.

【0024】[0024]

【発明の実施の形態】以下、図面を参照して、本発明の
各実施形態について説明する。図1は、本実施形態によ
るID割り付け方法を説明する為の図であり、各カード
をカスケード接続して成るシステムの一例を示してい
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram for explaining an ID assignment method according to the present embodiment, and shows an example of a system in which each card is cascaded.

【0025】同図では、始端値設定部2にカード10A
が接続され、カード10Aにカード10Bが接続され、
以下同様にカード10C、カード10Dがカスケード接
続されている。
In FIG. 1, the card 10A is stored in the starting value setting unit 2.
Is connected, the card 10B is connected to the card 10A,
Hereinafter, similarly, the card 10C and the card 10D are cascaded.

【0026】各カード10A〜10Dは、従来と略同様
に、各々内部バス16を有しており、各コネクタ(コネ
クタ17、18)によって各カード10A〜10Dをカ
スケード接続することによって共通バス1を形成する。
Each of the cards 10A to 10D has an internal bus 16 in substantially the same manner as in the related art, and cascade-connects the cards 10A to 10D by connectors (connectors 17 and 18) to connect the common bus 1. Form.

【0027】各カード10A〜10Dは、更に、ID格
納部11、加算器12、入力用コネクタ13、出力用コ
ネクタ14、及び調停バス15を有する。入力用コネク
タ13は、自己の前段のカードの出力用コネクタ14
(最前段のカードのみ始端値設定部2)に接続し、自己
の前段のカード(最前段のカードのみ始端値設定部2)
より出力されるデータを入力するものである。入力され
たデータは、調停バス15を介して、ID格納部11及
び加算器12に入力される。ID格納部11は、自己の
ID格納用の記憶領域であり、ここに格納された値を自
己のIDとして認識するようになっている。加算器12
は、例えばその入力値に+1加算して出力するものであ
り、この加算結果は出力用コネクタ14より後段のカー
ドに出力される。同図では調停バス15(調停バス3)
は2ビットとなっており、最大4枚のカードを接続可能
(ID割付け可能)となっている。調停バス15を3ビ
ットにすれば最大8枚、4ビットにすれば最大16枚の
カードを接続可能にすることができる。
Each of the cards 10A to 10D further includes an ID storage unit 11, an adder 12, an input connector 13, an output connector 14, and an arbitration bus 15. The input connector 13 is an output connector 14 of the preceding card.
(Only the first card is connected to the start value setting unit 2), and is connected to its own previous card (only the first card is set to the start value setting unit 2).
The data to be output is input. The input data is input to the ID storage unit 11 and the adder 12 via the arbitration bus 15. The ID storage unit 11 is a storage area for storing its own ID, and recognizes the value stored here as its own ID. Adder 12
Is output by adding +1 to the input value, for example, and the addition result is output from the output connector 14 to a card at a subsequent stage. In the figure, arbitration bus 15 (arbitration bus 3)
Has two bits, and a maximum of four cards can be connected (ID can be assigned). When the arbitration bus 15 is 3 bits, a maximum of 8 cards can be connected, and when the arbitration bus 15 is 4 bits, a maximum of 16 cards can be connected.

【0028】始端値設定部2は、上記カスケード接続の
最前段のカード(10A)に入力させるべき値(始端
値)が設定/格納され、必要に応じてこの始端値を出力
するものである。
The start value setting unit 2 sets / stores a value (start value) to be input to the card (10A) at the first stage of the cascade connection, and outputs this start value as necessary.

【0029】上記構成において、始端値設定部2より始
端値(例えば‘0’)が出力されカード10Aに入力す
ると、カード10A内においてこの入力値‘0’はID
格納部11に格納される。これより、カード10Aは、
自己のID値として‘0’を取得したことになる。ま
た、上記入力値‘0’は加算器12にも入力される。加
算器12は、この入力値‘0’に対して+1加算する動
作を実行する。この加算処理後の値‘1’は、自己の後
段のカード10Bに出力される。カード10Bにおいて
も、同様にして、そのID格納部11に入力値‘1’を
格納することにより自己のID値として‘1’を取得と
共に、加算器12において入力値‘1’に+1加算した
値‘2’を、後段のカード10Cに出力する。以下、同
様にして、カード10Cは自己のID値として‘2’を
取得し、カード10Dは自己のID値として‘3’を取
得する。
In the above configuration, when the start value (for example, “0”) is output from the start value setting unit 2 and input to the card 10A, the input value “0” is stored in the card 10A as an ID.
Stored in the storage unit 11. From this, the card 10A is
This means that “0” has been acquired as the self ID value. The input value “0” is also input to the adder 12. The adder 12 performs an operation of adding +1 to the input value “0”. The value “1” after the addition processing is output to the card 10B at the subsequent stage of the self. Similarly, in the card 10B, by storing the input value "1" in the ID storage unit 11, "1" is acquired as its own ID value, and the adder 12 adds +1 to the input value "1". The value “2” is output to the card 10C at the subsequent stage. Hereinafter, similarly, the card 10C acquires "2" as its own ID value, and the card 10D acquires "3" as its own ID value.

【0030】尚、同図では各カード10内に加算器12
を備えて入力値に+1加算するものとしたが、これに限
るものではなく、例えば加算器12の替わりに減算器を
設けて−1減算するようにしてもよい。要は、入力値を
一定の規則で変化させて(以下、変化規則という)後段
のカードに出力する構成であればよい。また、尚、同図
は、本実施形態の説明に係わる各カードに共通の構成の
み示しているのであり、他の回路等については特に図示
していないだけであり、例えば共通バス1へのアクセス
を行う為のドライバ等も存在する。
In FIG. 1, an adder 12 is provided in each card 10.
Is provided to add +1 to the input value. However, the present invention is not limited to this. For example, a subtractor may be provided instead of the adder 12 to subtract -1. In short, any configuration may be used as long as the input value is changed according to a certain rule (hereinafter, referred to as a change rule) and output to a subsequent card. In addition, FIG. 1 shows only a configuration common to each card related to the description of the present embodiment, and does not particularly show other circuits and the like. There is also a driver or the like for performing the above.

【0031】上述したように、本実施形態のID割り付
け方法によれば、各カードをカスケード接続して共通バ
スを形成する構成において、自動的に各カードのID割
付けが行われるようにしたので、システムの大きさがベ
ースボードの大きさによって決まってしまうことなく、
人手による手間が掛からず、人為ミスによるID重複も
生じない。
As described above, according to the ID assigning method of the present embodiment, in a configuration in which the cards are cascaded to form a common bus, the ID assigning of each card is automatically performed. The size of the system is not determined by the size of the baseboard,
There is no need for manual labor, and no ID duplication due to human error occurs.

【0032】また、上述したように、接続可能なカード
の最大枚数を多くしたい場合には、調停バス15のビッ
ト数を増やすだけで対応できるので、とりわけ、例えば
1ビット増やして3ビットとするだけで最大数を上記4
枚から8枚に増やすことができる(2のべき乗で増やす
ことができる)ので、取扱いたいカード数が非常に多く
なってもハードウェア量の増加はほとんど無くて済む。
Further, as described above, when it is desired to increase the maximum number of connectable cards, it is possible to cope only by increasing the number of bits of the arbitration bus 15. The maximum number is 4
Since the number of cards can be increased from eight to eight (the power can be increased by a power of 2), the amount of hardware can be hardly increased even if the number of cards to be handled becomes very large.

【0033】上記図1に示す構成において、IDの自動
割付けだけではなく、接続したカードの枚数を検出する
こともできる。すなわち、上記“変化規則”が分かって
いれば、カスケード接続された最後段のカード10の出
力値に基づいて、カード接続枚数を判別することができ
る。これについて、以下に、図2を参照して説明する。
In the configuration shown in FIG. 1, the number of connected cards can be detected in addition to the automatic assignment of IDs. That is, if the "change rule" is known, the number of connected cards can be determined based on the output value of the last card 10 connected in cascade. This will be described below with reference to FIG.

【0034】図2は、カード接続枚数検出方法を説明す
る為の図であり、上記“変化規則”に応じて作成され例
えば不図示の記憶領域に格納される対応テーブルの一例
を示している。同図(a)は変化規則が1加算の場合、
(b)が1減算の場合の例である。尚、同図には、図1
に示す例のように調停バス15が2ビットである場合に
ついて示してある。
FIG. 2 is a diagram for explaining a card connection number detection method, and shows an example of a correspondence table created in accordance with the "change rule" and stored in, for example, a storage area (not shown). FIG. 9A shows the case where the change rule is 1 addition.
(B) is an example of the case of 1 subtraction. It should be noted that FIG.
2 shows a case where the arbitration bus 15 has 2 bits as in the example shown in FIG.

【0035】図2(a)に示す対応テーブルは、始端値
設定部2の出力が‘0’であって変化規則が1加算の場
合の例であり、この場合には、最後段のカード10の出
力値(終端値という)がそのままカード接続枚数となっ
ている。但し、接続し得る最大数までカードが接続され
ている場合のみ、終端値は‘0’に戻っているので(始
端値設定部2の出力値と同じ)、終端値‘0’に対応す
るカード接続枚数は‘4’となる。
The correspondence table shown in FIG. 2A is an example in which the output of the start value setting unit 2 is "0" and the change rule is "1". In this case, the last card 10 The output value (referred to as a terminal value) is the number of cards connected as it is. However, only when the maximum number of connectable cards has been connected, the terminal value returns to “0” (the same as the output value of the start value setting unit 2), so that the card corresponding to the terminal value “0” is used. The number of connections is '4'.

【0036】図2(b)に示す対応テーブルは、始端値
設定部2の出力が‘0’であって変化規則が1減算の場
合の例である。上記「終端値」を、特に図示しない端末
や、共通バス1に接続されているカード等に入力するこ
とにより、実装されたカード枚数に応じた処理(例えば
内部データの等値化処理等)を行わせるようにすること
ができる。
The correspondence table shown in FIG. 2B is an example when the output of the start value setting unit 2 is "0" and the change rule is 1 subtraction. By inputting the “termination value” to a terminal (not shown), a card connected to the common bus 1, or the like, processing according to the number of mounted cards (for example, equalization processing of internal data) is performed. Can be done.

【0037】また、変化規則に関係なく(加算であって
も減算であっても)、接続し得る最大数までカードが接
続されたとき、終端値は始端値設定部2の出力値と同じ
になる。これを利用して、始端値設定部2の出力値と終
端値を比較して両者が一致したときにはそれ以上カード
を接続させないようにする(警告する等)構成を加える
ようにしてもよい。
Regardless of the change rule (whether addition or subtraction), when the maximum number of connectable cards has been connected, the end value is the same as the output value of the start value setting unit 2. Become. By utilizing this, a configuration may be added in which the output value of the start-end value setting unit 2 is compared with the end value, and when both match, the card is not connected any more (warning, etc.).

【0038】このように、上記カード接続枚数検出方法
によれば、初期値と“変化規則”とに基づいて上記対応
テーブルを作成/格納しておくことで、新たなハードウ
ェアの追加の必要なく、カスケード接続されたカードの
枚数を知ることができる。
As described above, according to the card connection number detection method, the correspondence table is created / stored based on the initial value and the "change rule", so that it is not necessary to add new hardware. , The number of cards connected in cascade.

【0039】尚、始端値設定部2の出力値、すなわち始
端値は‘0’に限るものではなく、また“変化規則”も
“1加算”、“1減算”に限るものではないので、図2
(a)、(b)に示す対応テーブルはあくまでも一例で
あり、対応テーブルの内容は始端値と“変化規則”とに
応じて設定されるものである。
The output value of the start value setting unit 2, that is, the start value is not limited to “0”, and the “change rule” is not limited to “1 addition” or “1 subtraction”. 2
The correspondence tables shown in (a) and (b) are merely examples, and the contents of the correspondence tables are set according to the starting value and the “change rule”.

【0040】図3、図4は、バス使用権優先判定方法を
説明する為の図(その1、その2)である。図3、図4
において、各カード20A〜20Dの構成は、図1のカ
ード10と略同様であるが、各カード20から始端値設
定部4にバス使用中信号5を出力する構成を有する点が
異なる。このバス使用中信号5を出力する構成は、特に
図示しないが、各カード20のいずれかが共通バス1を
使用中であることを始端値設定部4が認識できる構成で
あればよい。例えば、全てのカードの出力を入力する多
入力1出力のORゲートを用いる構成等であればよい。
FIGS. 3 and 4 are diagrams (parts 1 and 2) for explaining the method of determining the priority of using the bus. 3 and 4
The configuration of each of the cards 20A to 20D is substantially the same as that of the card 10 in FIG. 1 except that the configuration is such that the bus in-use signal 5 is output from each card 20 to the start value setting unit 4. Although the configuration for outputting the bus busy signal 5 is not particularly shown, any configuration may be used as long as the start value setting unit 4 can recognize that any one of the cards 20 is using the common bus 1. For example, a configuration using a multi-input / one-output OR gate for inputting the outputs of all the cards may be used.

【0041】始端値設定部4は、各カード20A〜20
Dのいずれも共通バス1を使用していないときには、周
期的に順次その出力値を変化させる。例えば、0→3→
2→1→0→3というように所定周期で「1減算」する
ことで、始端値をサイクリックに変化させていく。尚、
始端値の変化規則は「1減算」に限らず、例えば「1加
算」等であってもよい。そして、いずれかのカード20
によってバス使用中信号5がオンされたときには、上記
始端値の変化動作を一時停止する。そして、バス使用中
信号5がオフになると、次にバス使用中信号5がオンに
なるまでの間、再び始端値をサイクリックに変化させて
いく。
The start-end value setting unit 4 is provided for each of the cards 20A to 20A.
When none of D uses the common bus 1, the output value is periodically changed sequentially. For example, 0 → 3 →
By subtracting “1” in a predetermined cycle such as 2 → 1 → 0 → 3, the starting end value is changed cyclically. still,
The change rule of the starting end value is not limited to “1 subtraction”, and may be, for example, “1 addition”. And one of the cards 20
When the bus busy signal 5 is turned on, the changing operation of the starting value is temporarily stopped. Then, when the bus busy signal 5 is turned off, the starting value is cyclically changed again until the next bus busy signal 5 is turned on.

【0042】一方、各カード20A〜20Dは、各々、
前段のカード(または始端値設定部4)からの出力値
を、入力用コネクタ23、調停バス25を介して、ID
格納部21に一時的に格納する。そして、始端値設定部
4によって始端値が変化される毎に、新たな入力値をI
D格納部21に格納/更新する。
On the other hand, each of the cards 20A to 20D
The output value from the preceding card (or the starting value setting unit 4) is transmitted to the ID via the input connector 23 and the arbitration bus 25.
It is temporarily stored in the storage unit 21. Each time the start value is changed by the start value setting unit 4, a new input value is set to I
The data is stored / updated in the D storage unit 21.

【0043】ここで、予め、「共通バスの使用権」を示
す値が設定されており、同図ではこの値は‘0’である
ものとしている。各カード20A〜20Dでは、自己の
ID格納部21に格納された値が‘0’であるとき、自
己に共通バスの使用権がまわってきたものと認識する。
そして、共通バスの使用権があるときにバス使用要求が
発生した場合には、バス使用中信号5をオンすること
で、共通バス使用中であることを始端値設定部4に知ら
せる。
Here, a value indicating "the right to use the common bus" is set in advance, and this value is assumed to be "0" in FIG. When the value stored in its own ID storage unit 21 is “0”, each of the cards 20A to 20D recognizes that the right to use the common bus has been transferred to itself.
When a bus use request is issued while the user has the right to use the common bus, the start value setting unit 4 is informed that the common bus is being used by turning on the bus busy signal 5.

【0044】例えば、図3に示す例では、カード20A
に「共通バスの使用権」が渡っているので、このときカ
ード20Aにおいてバス使用要求が発生していれば、カ
ード20Aは共通バス1を使用することができる。そし
て、カード20Aにおいてバス使用要求がなかったとき
には、図4に示すように始端値設定部4の出力を0から
3に変化させることにより、「共通バスの使用権」はカ
ード20Bに移る。
For example, in the example shown in FIG.
Since the "common bus use right" has been passed to the card 20A, the card 20A can use the common bus 1 if a bus use request has occurred in the card 20A at this time. When there is no bus use request in the card 20A, the "common bus use right" is transferred to the card 20B by changing the output of the start value setting unit 4 from 0 to 3 as shown in FIG.

【0045】尚、勿論、「共通バスの使用権」を示す値
は‘0’に限るものではない。上述した本実施形態のバ
ス使用権優先判定方法によれば、従来の MULTIBUS IIに
よる方法のように回路構成が複雑になってしまうことは
なく、また従来のカード外でバス使用権優先判定を行う
方法のように接続するカードの枚数の倍の調停用信号線
が必要となってしまうようなこともない。
The value indicating "the right to use the common bus" is not limited to "0". According to the above-described bus usage right priority determination method of the present embodiment, the circuit configuration is not complicated as in the conventional MULTIBUS II method, and the bus usage right priority determination is performed outside the conventional card. The method does not require an arbitration signal line twice as many as the number of cards to be connected.

【0046】次に、本実施形態のバス使用権優先判定方
法に係わり、例えば異常発生時等にこの異常に対処する
機能を有する特定のカードに優先的にバス使用権を割り
当てる例について説明する。
Next, an example in which the bus use right is preferentially assigned to a specific card having a function to cope with the abnormality, for example, when an abnormality occurs, according to the bus use right priority determination method of the present embodiment will be described.

【0047】図5、図6は、共通バスでパリティ異常が
生じた場合の対応処理について説明する為の図(その
1、その2)である。尚、ここでは、上記対応処理を行
う特定のカードは、カード30Aであるものとする。
FIGS. 5 and 6 are diagrams (Nos. 1 and 2) for explaining a process performed when a parity error occurs in the common bus. Here, it is assumed that the specific card on which the corresponding process is performed is the card 30A.

【0048】図5、6に示すシステムにおいて、各カー
ド30A〜30Dの内部構成は、図3、4のカード20
の構成と略同様である。また、始端値設定部41が周期
的にその出力(始端値)を変化させていきバス使用中信
号5がオンされたとき始端値変化を一時停止する構成に
ついても、図3、4に示すシステムと略同様である。
In the system shown in FIGS. 5 and 6, the internal structure of each of the cards 30A to 30D is the same as that of the card 20 shown in FIGS.
The configuration is substantially the same as 3 and 4, the start value setting unit 41 periodically changes its output (start value) and temporarily stops the change of the start value when the bus busy signal 5 is turned on. Is substantially the same as

【0049】図5、6のシステムでは、更に、始端値設
定部41がある時点で出力している始端値を一時的に退
避させるスタック42(以下、始端値設定部41、スタ
ック42を含む処理部を始端値一時設定部40という)
と、共通バス1でパリティ異常が生じたことを検知して
始端値一時設定部40に通知する異常通知部50を設け
ている。
In the systems shown in FIGS. 5 and 6, the start value setting unit 41 temporarily saves the start value output at a certain point in time (hereinafter, the processing including the start value setting unit 41 and the stack 42). (The unit is referred to as a starting end value temporary setting unit 40)
And an abnormality notifying unit 50 for detecting that a parity error has occurred in the common bus 1 and notifying the starting end value temporary setting unit 40 of the error.

【0050】以下、図5、図6を参照しながら、共通バ
ス1でパリティ異常が生じた場合の処理動作について説
明する。まず、最初、図5に示すように、「共通バスの
使用権」はカード30Cが有しており(始端値=2)、
カード30Cが共通バス1を使用中であったものとす
る。そして、この状態において共通バス1でパリティ異
常が生じたものとする。
The processing operation when a parity error occurs in the common bus 1 will be described below with reference to FIGS. First, as shown in FIG. 5, the "right to use the common bus" is owned by the card 30C (starting value = 2).
It is assumed that the card 30C is using the common bus 1. It is assumed that a parity error has occurred in the common bus 1 in this state.

【0051】異常通知部50は、パリティ異常を検知す
ると、始端値一時設定部40に「異常発生」を通知す
る。通知を受けた始端値一時設定部40では、バス使用
中信号5がオフすると、予め設定された値、すなわち上
記対応処理を行う特定のカードにバス使用権が渡るよう
に予め設定されている値(この例では対応処理はカード
30Aが行うものとしているので、値‘0’)を、始端
値設定部41に書込むと共に、その時の始端値‘2’を
スタック42に退避させる。
Upon detecting a parity error, the error notification unit 50 notifies the start value temporary setting unit 40 of "error occurrence". In response to the notification, the starting end value temporary setting unit 40 sets the preset value when the bus busy signal 5 is turned off, that is, the preset value such that the bus use right is passed to a specific card that performs the corresponding processing. (In this example, since the corresponding process is performed by the card 30A, the value “0”) is written in the starting value setting unit 41, and the starting value “2” at that time is saved in the stack.

【0052】これより、図6に示す状態となり、カード
30Aがバス使用権を得る。カード30Aは、例えばパ
リティ異常時の対応処理を行う為の専用の処理機能を有
するカードであり、パリティ異常時にはバス使用要求が
発生するようになっている。これより、カード30A
は、バス使用権を得ると、バス使用中信号5をオンし
て、上記パリティ異常時の対応処理を実行する。
As a result, the state shown in FIG. 6 is reached, and the card 30A obtains the right to use the bus. The card 30A is a card having a dedicated processing function for performing, for example, a process when a parity error occurs, and a bus use request is generated when the parity error occurs. From this, card 30A
When the bus usage right is obtained, the bus in-use signal 5 is turned on, and the above-described processing when a parity error occurs is executed.

【0053】そして、カード30Aが、パリティ異常時
の対応処理を完了して、バス使用中信号5をオフする
と、始端値一時設定部40は、スタック42に退避させ
てあった値‘2’を始端値設定部41に復帰させて、バ
ス使用権をカード30Cに戻す。
When the card 30A completes the processing for dealing with the parity error and turns off the bus busy signal 5, the starting end value temporary setting unit 40 stores the value '2' saved in the stack 42. The start right value setting unit 41 is returned to return the right to use the bus to the card 30C.

【0054】尚、上記実施形態では、パリティ異常時の
対応処理完了後にバス使用権をカード30Cに戻すもの
としたが、これに限るものではなく、例えばバス使用権
が次のカード30Dに移るようにしてもよい。
In the above-described embodiment, the right to use the bus is returned to the card 30C after the processing for dealing with the parity error is completed. However, the present invention is not limited to this. For example, the right to use the bus may be transferred to the next card 30D. It may be.

【0055】尚、図1〜図6に示す例では、各カード1
0、20、30は、前段のカード等からの入力値を格納
し(例えば自己のIDとして格納し)、この入力値を所
定の変化規則に従って変化させた値を後段のカードに出
力する構成としたが、これに限るものではなく、例えば
前段のカード等からの入力値を所定の変化規則に従って
変化させた値を(自己のIDとして)格納すると共に後
段のカードへ出力する構成であってもよい。
In the example shown in FIGS. 1 to 6, each card 1
0, 20, and 30 store an input value from a preceding card or the like (for example, store as an own ID) and output a value obtained by changing the input value according to a predetermined change rule to a subsequent card. However, the present invention is not limited to this. For example, a configuration may be employed in which a value obtained by changing an input value from a preceding card or the like according to a predetermined change rule is stored (as its own ID) and output to a subsequent card. Good.

【0056】[0056]

【発明の効果】以上、詳細に説明したように、本発明の
ID割付け方法によれば、システムを小型化できる(ベ
ースボードの大きさに制限されない)方式であるカスケ
ード接続カードによるシステム構成方式において、人手
によるID設定等は行う必要はなく、自動的に各カード
にIDが割付けられる。これより、手間が掛からずミス
が生じないID割付けが行えるようになる。
As described above in detail, according to the ID assignment method of the present invention, in the system configuration system using a cascade connection card, which is a system in which the system can be miniaturized (not limited by the size of the baseboard). It is not necessary to manually set an ID, and the ID is automatically assigned to each card. As a result, it is possible to perform ID assignment without any trouble and no mistake.

【0057】更に、例えば、初期値と変化規則とに基づ
いて終端値とカード接続枚数との対応を示すテーブル等
を格納しておく等することにより、上記ID割付け方法
において、最後段のカードの出力値を検出することでカ
ードの接続枚数を自動的に判別できる。
Further, for example, by storing a table or the like indicating the correspondence between the terminal value and the number of connected cards based on the initial value and the change rule, in the above-mentioned ID assignment method, By detecting the output value, the number of connected cards can be automatically determined.

【0058】また、本発明の共通バスのバス使用権優先
判定方法によれば、回路構成が複雑になってしまうこと
なく、簡単な回路構成で各カードにバス使用権の公平な
配分が行える。更に、接続するカードの枚数の倍の調停
用信号線が必要となってしまうことなく、調停バスの本
数の2のべき乗で表わされる枚数のカードが接続可能に
なる。
Further, according to the bus use right priority determination method of the present invention, the bus use right can be fairly distributed to each card with a simple circuit structure without complicating the circuit structure. Further, the number of cards represented by a power of 2 of the number of arbitration buses can be connected without requiring an arbitration signal line twice as many as the number of cards to be connected.

【0059】更に、例えば、異常検出時にこの異常に対
処する特定のカードに一時的に共通バスの使用権を与え
るようにすること等もできる。これより、例えば、特権
的な処理を特定のカードに行わせて、他のカードには通
常のアプリケーションの実行を割り当てたシステムを構
築すること等もできる。
Further, for example, when an abnormality is detected, a right to use the common bus can be temporarily given to a specific card dealing with the abnormality. Thus, for example, a system in which privileged processing is performed on a specific card and execution of a normal application is assigned to another card can be constructed.

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

【図1】ID割り付け方法を説明する為の図である。FIG. 1 is a diagram for explaining an ID assignment method.

【図2】カード接続枚数検出方法を説明する為の図であ
る。
FIG. 2 is a diagram for explaining a card connection number detection method.

【図3】バス使用権優先判定方法を説明する為の図(そ
の1)である。
FIG. 3 is a diagram (part 1) for explaining a bus use right priority determination method;

【図4】バス使用権優先判定方法を説明する為の図(そ
の2)である。
FIG. 4 is a diagram (part 2) for describing a bus use right priority determination method;

【図5】共通バスでパリティ異常が生じた場合の対応処
理について説明する為の図(その1)である。
FIG. 5 is a diagram (part 1) for describing a process performed when a parity error occurs in the common bus.

【図6】共通バスでパリティ異常が生じた場合の対応処
理について説明する為の図(その2)である。
FIG. 6 is a diagram (part 2) for describing a process performed when a parity error occurs in the common bus.

【図7】従来のベースボードを用いる構成の一例を示す
図である。
FIG. 7 is a diagram showing an example of a configuration using a conventional base board.

【図8】従来のカスケード接続カードを用いて共通バス
を構成する一例を示す図である。
FIG. 8 is a diagram showing an example of configuring a common bus using a conventional cascade connection card.

【図9】従来のカード外でバス使用権優先判定を行う方
法を説明する為の図である。
FIG. 9 is a diagram for explaining a conventional method of making a bus use right priority determination outside a card.

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

1 共通バス 2 始端値設定部 3 調停バス 4 始端値設定部 5 バス使用中信号 10A〜10D カード 11 ID格納部 12 加算器 13 入力用コネクタ 14 出力用コネクタ 15 調停バス 16 内部バス 17 コネクタ 18 コネクタ 20A〜20D カード 21 ID格納部 22 加算器 23 入力用コネクタ 24 出力用コネクタ 25 調停バス 26 内部バス 27 コネクタ 28 コネクタ 30A〜30D カード 31 ID格納部 32 加算器 33 入力用コネクタ 34 出力用コネクタ 35 調停バス 36 内部バス 37 コネクタ 38 コネクタ 40 始端値一時設定部 41 始端値設定部 42 スタック DESCRIPTION OF SYMBOLS 1 Common bus 2 Start value setting part 3 Arbitration bus 4 Starting value setting part 5 Bus busy signal 10A-10D card 11 ID storage part 12 Adder 13 Input connector 14 Output connector 15 Arbitration bus 16 Internal bus 17 Connector 18 Connector 20A-20D Card 21 ID Storage Unit 22 Adder 23 Input Connector 24 Output Connector 25 Arbitration Bus 26 Internal Bus 27 Connector 28 Connector 30A-30D Card 31 ID Storage Unit 32 Adder 33 Input Connector 34 Output Connector 35 Arbitration Bus 36 Internal bus 37 Connector 38 Connector 40 Starting value temporary setting unit 41 Starting value setting unit 42 Stack

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数のカードをカスケード接続して共通
バスを形成するシステムにおける前記各カードにおい
て、 前段のカードから入力する入力値を、所定の変化規則に
従って変化させ、該変化後の値を後段のカードに出力す
る変化手段と、 前記入力値または前記変化手段による変化後の値を自己
のIDとして格納するID格納手段と、 を有することを特徴とするカスケード接続カード。
1. A system in which a plurality of cards are cascaded to form a common bus in each system, an input value input from a preceding card is changed according to a predetermined change rule, and a value after the change is changed to a subsequent step. A cascade connection card, comprising: a change unit that outputs the input value or a value changed by the change unit as its own ID.
【請求項2】 複数のカードをカスケード接続して共通
バスを形成するシステムにおけるID割付け方法であっ
て、 カスケード接続された最前段のカードに所定の初期値を
入力させ、 該最前段のカードにおいて、前記入力した初期値を所定
の変化規則に従って変化させた変化後の値または前記初
期値を自己のIDとして格納すると共に該変化後の値を
後段のカードに出力し、 最後段のカードに至るまで、各カードにおいて、順次、
前段のカードより入力する値を前記所定の変化規則に従
って変化させた値または前記入力値を自己のIDとして
格納する共に該変化後の値を後段のカードに出力してい
くことにより、カスケード接続された各カードにIDを
割り付けることを特徴とするID割付け方法。
2. An ID assigning method in a system in which a plurality of cards are cascaded to form a common bus, wherein a predetermined initial value is input to a cascaded front-end card. And storing the changed value obtained by changing the input initial value in accordance with a predetermined change rule or the initial value as its own ID, and outputting the changed value to a subsequent card to reach the last card. Up to each card,
By storing the value obtained by changing the value input from the preceding card in accordance with the predetermined change rule or the input value as its own ID and outputting the changed value to the subsequent card, the cascade connection is established. An ID assignment method for assigning an ID to each card.
【請求項3】 前記最後段のカードの出力値、及び前記
初期値と所定の変化規則とに基づいて、前記カスケード
接続されたカードの枚数を検出することを特徴とする請
求項2記載のID割付け方法。
3. The ID according to claim 2, wherein the number of cards in the cascade connection is detected based on an output value of the last card, the initial value, and a predetermined change rule. Assignment method.
【請求項4】 複数のカードをカスケード接続して共通
バスを形成するシステムにおける該共通バスのバス使用
権優先判定方法であって、 バス使用権調停制御手段によって、カスケード接続され
た最前段のカードに入力する初期値を、所定の規則に従
って所定の周期で変化させることにより、各カードが保
持する値を順次変化させていき、 予め定められた所定の値を保持するカスケード接続カー
ドが、そのときの共通バスのバス使用権を有することを
特徴とする共通バスのバス使用権優先判定方法。
4. A bus usage right priority determination method for a common bus in a system in which a plurality of cards are cascaded to form a common bus, wherein the bus usage right arbitration control means controls the first card in a cascade connection. The value held by each card is sequentially changed by changing the initial value to be input to at a predetermined cycle according to a predetermined rule, and the cascade connection card holding a predetermined value is A bus use right priority determination method for a common bus.
【請求項5】 前記共通バスのバス使用権を有するカー
ドが共通バスを使用する場合には、該カードは共通バス
を使用中であることを前記バス使用権調停制御手段に通
知し、 該バス使用権調停制御手段は、該通知中は、前記初期値
の変化を停止することを特徴とする請求項4記載の共通
バスのバス使用権優先判定方法。
5. When the card having the right to use the common bus uses the common bus, the card notifies the bus use right arbitration control means that the card is using the common bus. 5. The method according to claim 4, wherein the right-of-use arbitration control unit stops changing the initial value during the notification.
【請求項6】 前記バス使用権調停制御手段は、特定の
事象が発生したとき、該特定の事象に対処する専用の機
能を有するカードに共通バスのバス使用権が渡るように
初期値を変化させることを特徴とする請求項4記載の共
通バスのバス使用権優先判定方法。
6. The bus use right arbitration control means changes an initial value such that, when a specific event occurs, a bus having a common bus is transferred to a card having a function dedicated to the specific event. 5. The method according to claim 4, wherein the priority is determined.
JP7551398A 1998-03-24 1998-03-24 Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus Pending JPH11272601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7551398A JPH11272601A (en) 1998-03-24 1998-03-24 Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7551398A JPH11272601A (en) 1998-03-24 1998-03-24 Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus

Publications (1)

Publication Number Publication Date
JPH11272601A true JPH11272601A (en) 1999-10-08

Family

ID=13578402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7551398A Pending JPH11272601A (en) 1998-03-24 1998-03-24 Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus

Country Status (1)

Country Link
JP (1) JPH11272601A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003107198A1 (en) * 2002-06-14 2003-12-24 Huawei Technologies Co., Ltd. A method for recognizing the frame number of multiframe cascade
JP2009231970A (en) * 2008-03-19 2009-10-08 Fujitsu Ltd Radio control device, radio device, and communication system
JP2009301310A (en) * 2008-06-13 2009-12-24 Yokogawa Electric Corp Module system
JP2010076191A (en) * 2008-09-25 2010-04-08 Fujifilm Corp Liquid droplet discharge control apparatus and liquid droplet dischrging apparatus
US8166230B2 (en) 2008-01-31 2012-04-24 Samsung Electronics Co., Ltd. Memory systems and methods of initializing the same
JP2013101704A (en) * 2008-09-12 2013-05-23 Hitachi Ltd Semiconductor device
JP2015043244A (en) * 2006-05-23 2015-03-05 コンバーサント・インテレクチュアル・プロパティ・マネジメント・インコーポレイテッドConversant Intellectual Property Management Inc. Device and method for establishing device identifier for serially interconnected device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003107198A1 (en) * 2002-06-14 2003-12-24 Huawei Technologies Co., Ltd. A method for recognizing the frame number of multiframe cascade
JP2015043244A (en) * 2006-05-23 2015-03-05 コンバーサント・インテレクチュアル・プロパティ・マネジメント・インコーポレイテッドConversant Intellectual Property Management Inc. Device and method for establishing device identifier for serially interconnected device
US8166230B2 (en) 2008-01-31 2012-04-24 Samsung Electronics Co., Ltd. Memory systems and methods of initializing the same
US8539143B2 (en) 2008-01-31 2013-09-17 Samsung Electronics Co., Ltd. Memory systems and methods of initiallizing the same
JP2009231970A (en) * 2008-03-19 2009-10-08 Fujitsu Ltd Radio control device, radio device, and communication system
JP2009301310A (en) * 2008-06-13 2009-12-24 Yokogawa Electric Corp Module system
JP2013101704A (en) * 2008-09-12 2013-05-23 Hitachi Ltd Semiconductor device
JP2010076191A (en) * 2008-09-25 2010-04-08 Fujifilm Corp Liquid droplet discharge control apparatus and liquid droplet dischrging apparatus

Similar Documents

Publication Publication Date Title
US4622633A (en) Object building method for self configuring computer network
US4635192A (en) Self configuring bus structure for computer network
US4562535A (en) Self-configuring digital processor system with global system
JPS6160443B2 (en)
JPH11272601A (en) Cascade-connected card, id allocation method in system constituted of the card and bus using right priority judgement method for common bus
JP3740746B2 (en) Programmable controller with expansion unit
US7000052B2 (en) System and method for configuring and deploying input/output cards in a communications environment
EP2725499A1 (en) Method for assigning dynamically an identifier to a slave device in I2C data bus
JP3220026B2 (en) Master / slave automatic setting system
JP2003099164A (en) Method for connecting substrates
US4356404A (en) Circuit for equipping a variable number of bus units on a closed loop bus
JP2005051507A (en) Communication system and address setup method therefor
JPH04107608A (en) Sequence controller
CN113645067A (en) Network management system and method of multi-node substrate management controller
KR19990037480U (en) ID setting circuit of fisheye device
JPH0132143Y2 (en)
JP2001092775A (en) Compact pci board
JPH02272664A (en) Information processor
JPH10105287A (en) Connection system for extension board
JPH02121049A (en) Input/output device
KR20030062900A (en) Method and apparatus of preventing collision for iic system
JPH02135560A (en) Address allocating method
JPH0475154A (en) Address setting system for cascade-connected terminal equipment
JPS61288250A (en) Device packaged with plural logic circuit boards
JPH04232556A (en) Mounted board management system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A02 Decision of refusal

Effective date: 20061212

Free format text: JAPANESE INTERMEDIATE CODE: A02