JPH07219890A - Method for transmitting data - Google Patents

Method for transmitting data

Info

Publication number
JPH07219890A
JPH07219890A JP1335394A JP1335394A JPH07219890A JP H07219890 A JPH07219890 A JP H07219890A JP 1335394 A JP1335394 A JP 1335394A JP 1335394 A JP1335394 A JP 1335394A JP H07219890 A JPH07219890 A JP H07219890A
Authority
JP
Japan
Prior art keywords
bus
parallel bus
parallel
station
signal
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
JP1335394A
Other languages
Japanese (ja)
Inventor
Hisashi Nagahara
久司 永原
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 JP1335394A priority Critical patent/JPH07219890A/en
Publication of JPH07219890A publication Critical patent/JPH07219890A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable executing transmission at high-speed by outputting a signal to an equipment usage selecting line which is arranged at a parallel bus connecting device itself at the time of selecting the opposite equipment for data transfer. CONSTITUTION:The equipment 8 outputs the recognition number ID=4 of its own station, the recognition number ID=0 of the opposite equipment and the connection number ID=1 of the parallel bus connecting device 1 itself on a parallel bus B to the data bus B2. The parallel bus connecting device 1 inputs a signal outputted to the data bus B2 to an equipment selecting signal converter 13 by way of the equipment usage selecting line 15. The equipment 1 is selected in the parallel bus A through the use of the recognition number of ID=2 and ID=0. ID is also zero in the equipment 5 of the parallel bus B but three ID s are outputted to the parallel bus B and the signal with more than three bits on the data bus comes to be true so that the equipment 5 recongizes that its own station is not selected as the opposite equipment and executes no responce.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、並列バス接続装置によ
って2つの並列バスどうしを接続し、2つの並列バスに
接続された機器の間でデータを伝送するデータ伝送方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission method for connecting two parallel buses by means of a parallel bus connection device and transmitting data between devices connected to the two parallel buses.

【0002】[0002]

【従来の技術】SCSI(Small Compute
r SystemsInterface)バスは、バス
上に接続されている全ての機器がバスマスタとなり得る
バスである。動作環境がANSI X3.131−19
86で制定されているSCSIバスは、バスの使用状態
を大きく分けて、バス・フリーフェーズ、アービトレー
ション・フェーズ、セレクション/リセレクションフェ
ーズ、転送フェーズの4つのフェーズで表している。バ
ス・フリーフェーズではデータバスを使用していない状
態にあり、アービトレーション・フェーズではデータバ
スの使用権を各機器が取り合う。
2. Description of the Related Art SCSI (Small Computer)
The r Systems Interface) bus is a bus in which all devices connected to the bus can be a bus master. Operating environment is ANSI X3.131-19
The SCSI bus established in 86 roughly divides the bus usage state into four phases, a bus free phase, an arbitration phase, a selection / reselection phase, and a transfer phase. In the bus free phase, the data bus is not being used, and in the arbitration phase, each device has a right to use the data bus.

【0003】ここで、アービトレーション・フェーズに
ついて具体的に説明する。各機器がこれからデータバス
を使用しようとするときは、データバスの状態がバス・
フリーであることを確認した後、自局に付けられたID
番号(認識番号)に対応するデータバス(これを機器使
用選択線と称する)上へ信号を出力する。他の機器も所
定の時間間隔内に順次に出力できる。所定の時間が経過
した後に全データバスをチェックする。自局よりも優先
権が高い機器がデータバス上に使用信号を出力していな
いと判断した機器に対してバス使用権が与えられる。バ
ス使用権を取得した機器は次のフェーズへと進む。自局
よりも優先権が高い機器がデータバス上に使用信号を出
力していると判断した機器はデータバスの使用要求を取
り下げる。以上の動作手順をアービトレーション・フェ
ーズと称し、SCSIバスに接続された機器はこの手順
を経てバス使用権を取得する。
Here, the arbitration phase will be specifically described. When each device is about to use the data bus, the state of the data bus is
After confirming that it is free, the ID assigned to your station
A signal is output onto the data bus corresponding to the number (recognition number) (this is called a device use selection line). Other devices can also be sequentially output within a predetermined time interval. Check all data buses after a predetermined time. The bus use right is given to the device that has determined that the device having higher priority than the own station is not outputting the use signal on the data bus. The device that has acquired the bus usage right proceeds to the next phase. The device that determines that the device having a higher priority than the own station is outputting the use signal on the data bus cancels the use request of the data bus. The above operation procedure is called an arbitration phase, and the device connected to the SCSI bus acquires the bus use right through this procedure.

【0004】従来から、上述したバス使用権決定方式を
持ったSCSIバスを並列バスとして用い、並列バスど
うしを並列バス接続装置を介して接続し、異なる2つの
並列バスに接続された機器の間でデータを伝送できるよ
うにしたデータ伝送装置がある。このデータ伝送装置で
は、並列バスには各機器と1:1に対応する機器使用選
択線が設けられている。このようなデータ伝送装置で
は、バス使用権を持っている機器は、自局の機器使用選
択線と、並列バス上で情報をやりとりする相手機器の機
器使用選択線との両方に信号を出力することにより相手
機器を選択する。
Conventionally, a SCSI bus having the above-mentioned bus use right decision system is used as a parallel bus, and the parallel buses are connected to each other via a parallel bus connection device, and between devices connected to two different parallel buses. There is a data transmission device that is capable of transmitting data. In this data transmission device, the parallel bus is provided with a device use selection line corresponding to each device in a ratio of 1: 1. In such a data transmission device, a device having a bus use right outputs a signal to both the device use select line of its own station and the device use select line of the partner device that exchanges information on the parallel bus. This selects the other device.

【0005】しかし、バス使用権を取得した側の並列バ
スから、他方の並列バス上にある相手機器を選択する場
合、1回、バス使用権を取得した側で並列バス接続装置
を選択し、改めて、他方の並列バスにおいてバス使用権
を取得して相手機器を選択しなければならず、機器の選
択が2回必要になる。このため、並列バス接続装置を介
しての機器選択にかかる時間が長くなる。機器選択を高
速化するために、相手機器の選択をバス使用権を取得し
ている並列バス側のみに限定すると、相手機器の選択台
数が少なくなるという問題点がある。また、異なる並列
バスの間では認識番号の重複が許されている。このた
め、例えば、ある並列バス上にID=1の機器があり、
他の並列バス上にもID=1の機器がある場合は、バス
使用権を取得した機器が相手機器としてID=1の機器
を選択すると、相手機器はどちらの並列バス上にあるI
D=1の機器なのか区別がつかなくなるという問題点が
あった。
However, when a partner device on the other parallel bus is selected from the parallel bus on the side which has acquired the bus use right, the parallel bus connecting device is selected once on the side which has acquired the bus use right, Again, the other parallel bus must acquire the bus usage right and select the partner device, and the device must be selected twice. Therefore, it takes a long time to select a device via the parallel bus connection device. If the selection of the partner device is limited to only the parallel bus side that has acquired the bus use right in order to speed up the device selection, there is a problem that the number of selected partner devices decreases. In addition, the identification numbers can be duplicated between different parallel buses. Therefore, for example, there is a device with ID = 1 on a certain parallel bus,
If there is a device with ID = 1 on another parallel bus, and the device that has acquired the bus usage right selects the device with ID = 1 as the partner device, the partner device is on which parallel bus I
There is a problem that it is difficult to distinguish whether the device is D = 1.

【0006】[0006]

【発明が解決しようとする課題】本発明は上述した問題
点を解決するためになされたものであり、並列バス接続
装置に接続された2つの並列バス間の機器選択を従来の
2回から1回に減らすことによって伝送を高速化し、並
列バス接続装置に接続された並列バス上の機器を有効に
使用でき、しかも異なる並列バス上の機器の間で認識番
号が重複して付けられていても相手機器を区別できるデ
ータ伝送方法を実現することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problems, and the device selection between two parallel buses connected to a parallel bus connecting device is selected from the conventional two times. By reducing the number of times, the transmission speed is increased, the devices on the parallel bus connected to the parallel bus connection device can be effectively used, and even if the identification numbers are duplicated among the devices on different parallel buses It is an object of the present invention to realize a data transmission method capable of distinguishing a partner device.

【0007】[0007]

【課題を解決するための手段】本発明は次のとおりのデ
ータ伝送方法である。 (1)複数の機器が接続された並列バスが引かれ、この
並列バスには各機器と1:1に対応する機器使用選択線
が設けられ、並列バス接続装置を介して2つの並列バス
どうしを接続し、2つの並列バスに接続された機器の間
でデータを伝送するデータ伝送方法であって、並列バス
のバス使用権を取得した機器は、データ転送を行う相手
機器を選択する際に、自局が接続されている並列バス上
に相手機器がある場合は、自局の機器使用選択線と相手
機器の機器使用選択線とに信号を出力して機器を選択
し、自局が接続されている並列バス上に相手機器がない
場合は、自局の機器使用選択線と相手機器に対応する機
器使用選択線と並列バス接続装置自身に割り付けられて
いる機器使用選択線に信号を出力して機器を選択し、バ
ス使用権を取得しない機器は、機器使用選択線の信号を
チェックし、自局の機器使用選択線と自局以外の1つの
局の機器使用選択線とに信号が出力されている場合は、
自局が相手機器として選択されたと判断して選択に対し
て応答し、3つ以上の局の機器使用選択線に信号が出力
されている場合は、自局が相手機器として選択されなか
ったと判断して選択に対して応答しないことを特徴とす
るデータ伝送方法。 (2)並列バスに接続された各機器毎には認識番号が割
り付けられていて、異なる並列バスの間では認識番号の
重複が許されていて、並列バスに出力した認識番号に応
じて前記機器使用選択線に信号が出力され、異なる2つ
の並列バスに接続された機器の間でデータを伝送する場
合は、バス使用権を取得した機器は、自局が接続されて
いる一方の並列バスに対して、自局の認識番号と、相手
機器の認識番号と、前記一方の並列バスにおいて並列バ
ス接続装置自身に割り付けられた認識番号とを出力し、
並列バス接続装置は、他方の並列バスに対して、相手機
器の認識番号と、前記他方の並列バスにおいて並列バス
接続装置自身に割り付けられた認識番号とを出力するこ
とを特徴とする(1)記載のデータ伝送方法。
The present invention is a data transmission method as follows. (1) A parallel bus to which a plurality of devices are connected is drawn, and a device use selection line corresponding to each device is provided on the parallel bus, and two parallel buses are connected via a parallel bus connection device. Is a data transmission method for transmitting data between devices connected to two parallel buses, the device having acquired the bus usage right of the parallel bus when selecting a partner device for data transfer. , If there is a partner device on the parallel bus to which the own station is connected, output a signal to the device usage selection line of the own station and the device usage selection line of the partner device, select the device, and connect If there is no other device on the parallel bus, the signal is output to the device use selection line of the local station, the device use selection line corresponding to the partner device, and the device use selection line assigned to the parallel bus connection device itself. Select the device to obtain the bus usage right. Equipment checks the signal of the device used selection line, if the signal to the device using selection line one station other than the apparatus used selection line and the local station of the self station is output,
If the local station judges that it has been selected as the partner device and responds to the selection, and if signals are output to the device usage selection lines of three or more stations, then it judges that the local station has not been selected as the partner device. And a data transmission method characterized by not responding to the selection. (2) An identification number is assigned to each device connected to the parallel bus, and the identification numbers can be duplicated between different parallel buses, and the device is output according to the identification number output to the parallel bus. When a signal is output to the usage selection line and data is transmitted between devices connected to two different parallel buses, the device that has acquired the bus usage right is connected to one of the parallel buses to which its own station is connected. On the other hand, the identification number of the own station, the identification number of the partner device, and the identification number assigned to the parallel bus connection device itself in the one parallel bus are output,
The parallel bus connection device outputs the identification number of the partner device and the identification number assigned to the parallel bus connection device itself on the other parallel bus to the other parallel bus (1). Described data transmission method.

【0008】[0008]

【作用】このような本発明では、並列バスのバス使用権
を取得した機器は、データ転送を行う相手機器を選択す
る際に、自局が接続されている並列バス上に相手機器が
ある場合は、自局の機器使用選択線と相手機器の機器使
用選択線とに信号を出力して機器を選択する。また、自
局が接続されている並列バス上に相手機器がない場合
は、自局の機器使用選択線と相手機器に対応する機器使
用選択線と並列バス接続装置自身に割り付けられている
機器使用選択線に信号を出力して機器を選択する。バス
使用権を取得しない機器は、機器使用選択線の信号をチ
ェックし、自局の機器使用選択線と自局以外の1つの局
の機器使用選択線とに信号が出力されている場合は、自
局が相手機器として選択されたと判断して選択に対して
応答する。もし、3つ以上の局の機器使用選択線に信号
が出力されている場合は、自局が相手機器として選択さ
れなかったと判断して選択に対して応答しない。並列バ
スに接続された各機器毎には認識番号が割り付けられて
いて、異なる並列バスの間では認識番号の重複が許され
ている。並列バスに出力した認識番号に応じて機器使用
選択線に信号が出力される。異なる2つの並列バスに接
続された機器の間でデータを伝送する場合は、バス使用
権を取得した機器は、自局が接続されている一方の並列
バスに対して、自局の認識番号と、相手機器の認識番号
と、一方の並列バスにおいて並列バス接続装置自身に割
り付けられた認識番号とを出力する。並列バス接続装置
は、他方の並列バスに対して、相手機器の認識番号と、
他方の並列バスにおいて並列バス接続装置自身に割り付
けられた認識番号とを出力する。
According to the present invention as described above, when the device that has acquired the bus use right of the parallel bus selects the partner device for data transfer, if the partner device is on the parallel bus to which the own station is connected. Outputs a signal to the device use selection line of its own station and the device use selection line of the partner device to select the device. If there is no partner device on the parallel bus to which the own station is connected, the device usage selection line of the own station and the device usage selection line corresponding to the partner device, and the device usage assigned to the parallel bus connection device itself. A signal is output to the select line to select the device. For devices that do not acquire the right to use the bus, check the signal on the device use select line, and if a signal is output to the device use select line of your own station and the device use select line of one station other than your own station, It judges that its own station is selected as the partner device and responds to the selection. If signals are output to the device use selection lines of three or more stations, it is determined that the own station has not been selected as the partner device and does not respond to the selection. An identification number is assigned to each device connected to the parallel bus, and the identification number can be duplicated between different parallel buses. A signal is output to the device use selection line according to the identification number output to the parallel bus. When transmitting data between devices that are connected to two different parallel buses, the device that has acquired the bus usage right will use the identification number of its own station for one of the parallel buses to which its own station is connected. , The identification number of the partner device and the identification number assigned to the parallel bus connection device itself on one of the parallel buses are output. The parallel bus connection device, for the other parallel bus, the identification number of the other device,
The identification number assigned to the parallel bus connecting device itself on the other parallel bus is output.

【0009】[0009]

【実施例】以下、図面を用いて本発明を説明する。図1
は本発明の実施に用いるデータ伝送装置の構成例を示し
た構成図である。図1で、A及びBは並列バス、1は並
列バスAとBを接続する並列バス接続装置、C1〜C4
及びD1〜D4はそれぞれ並列バスA及びBに接続され
た機器である。並列バスAはデータバスA1と制御バス
A2とからなり、並列バスBはデータバスB1と制御バ
スB2とからなる。並列バスAとBはそれぞれ同一の手
順に従って機器を選択するバスである。すなわち、これ
らの並列バスは、バス使用権を取得した機器が相手機器
を選択する際に、自局に対応するデータバス上のビット
と、選択したい相手機器に対応するデータバス上のビッ
トとの両方を真にすることにより選択が行われる並列バ
スである。ここで、並列バスのデータバスには、並列バ
スに接続された各機器と1:1に対応する機器使用選択
線が設けられている。各機器使用選択線がデータバス上
の各ビットに対応する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. Figure 1
FIG. 1 is a configuration diagram showing a configuration example of a data transmission device used for implementing the present invention. In FIG. 1, A and B are parallel buses, 1 is a parallel bus connecting device for connecting the parallel buses A and B, and C1 to C4.
And D1 to D4 are devices connected to the parallel buses A and B, respectively. The parallel bus A includes a data bus A1 and a control bus A2, and the parallel bus B includes a data bus B1 and a control bus B2. The parallel buses A and B are buses that select devices according to the same procedure. In other words, these parallel buses consist of a bit on the data bus corresponding to the own station and a bit on the data bus corresponding to the partner device to be selected when the device that has acquired the bus use right selects the partner device. It is a parallel bus that is selected by making both true. Here, the data bus of the parallel bus is provided with a device use selection line corresponding to each device connected to the parallel bus in a 1: 1 relationship. Each device use selection line corresponds to each bit on the data bus.

【0010】並列バスA,Bに接続されている機器は、
バス使用権を取得していないときにバス使用権を取得し
ている機器により選択が可能である。その手順を説明す
る。図2はバス使用権を取得していない機器が選択され
る手順を示したフローチャートである。図2に示すよう
に、バス使用権を取得していない機器は、バス使用権を
取得している機器により信号が出力されたデータバス上
の各ビットを確認し、自局と、自局以外に1ビットのみ
が真になっていれば自局が相手機器として選択されたと
認識し、選択に対して応答する。もし、データバス上の
3ビット以上の信号が真であれば、自局が相手機器とし
て選択されなかったと認識し、選択に対して応答しな
い。
The devices connected to the parallel buses A and B are
Selection is possible depending on the device that has acquired the bus usage right when it has not acquired the bus usage right. The procedure will be described. FIG. 2 is a flowchart showing a procedure for selecting a device that has not acquired the bus use right. As shown in Fig. 2, the device that has not acquired the bus usage right checks each bit on the data bus where the signal is output by the device that has acquired the bus usage right, If only 1 bit is true, it recognizes that its own station is selected as the partner device and responds to the selection. If the signal of 3 bits or more on the data bus is true, it recognizes that its own station has not been selected as the partner device and does not respond to the selection.

【0011】図3はバス使用権を取得した機器がデータ
転送を行う相手機器を選択する手順を示したフローチャ
ートである。図3に示すように、バス使用権を取得した
機器は、自局が接続されている並列バス上に相手機器が
ある場合、データバス上の自局に対応するビットと相手
機器に対応するビットとを同時に真にする。また、自局
が接続されている並列バス上に相手機器がない場合、デ
ータバス上の自局に対応するビットと相手機器に対応す
るビットの他に並列バス接続装置に対応するビットとを
真にする。
FIG. 3 is a flowchart showing a procedure in which a device that has acquired the bus use right selects a partner device for data transfer. As shown in FIG. 3, a device that has acquired the bus use right has a bit corresponding to its own station and a bit corresponding to the other device on the data bus when the other device is on the parallel bus to which the own station is connected. And true at the same time. If there is no other device on the parallel bus to which the own station is connected, the bit corresponding to the own station on the data bus and the bit corresponding to the parallel bus connection device in addition to the bit corresponding to the other device are true. To

【0012】図1へ戻り、並列バス接続装置1の具体的
構成を説明する。図1で、並列バスAは、機器1〜機器
4までそれぞれ認識番号ID=0,1,3,4が付けら
れて接続されている。並列バスBも同様に機器5〜機器
8までそれぞれ認識番号ID=0,2,3,4が付けら
れて接続されている。また、並列バス接続装置1は、並
列バスAにおいては認識番号ID=2が付けられ、並列
バスBにおいては認識番号ID=1が付けられている。
なお、図1は一例を示したもので、接続される機器の台
数と認識番号はこれ以外でもよい。
Returning to FIG. 1, the specific configuration of the parallel bus connection device 1 will be described. In FIG. 1, the parallel bus A is connected to devices 1 to 4 with identification numbers ID = 0, 1, 3, and 4, respectively. Similarly, the parallel bus B is also connected to the devices 5 to 8 with the identification numbers ID = 0, 2, 3, and 4, respectively. Further, in the parallel bus connection device 1, the identification number ID = 2 is attached to the parallel bus A, and the identification number ID = 1 is attached to the parallel bus B.
Note that FIG. 1 shows an example, and the number of connected devices and the identification number may be other than this.

【0013】並列バス接続装置1において、11はバス
使用権伝送制御部であり、並列バスAとBに接続されて
いる。この制御部は、並列バスA,Bのバス使用権の取
得手順に基づいて両方のバスのバス使用権を同時に取得
し、信号aによりバス使用権を取得した機器のIDを出
力し、信号bにより認識番号の書き込み信号を出力す
る。12はバス使用権取得記憶部であり、バス使用権伝
送制御部11から出力された認識番号を書き込み信号b
に従って記憶し、信号cより要求された信号により認識
番号を出力する。13は機器選択信号変換器であり、一
方は並列バスAに接続され、他方は並列バスBに接続さ
れている。この変換器は信号d(バス使用権取得記憶部
12から読み出された認識番号)によりバス使用権を取
得した認識番号を知り、信号eとfにより並列バスA側
の認識番号と並列バスB側の認識番号を知り、並列バス
接続装置のおのおののバスの認識番号を出力する。信号
gは機器選択信号変換器13の起動信号である。バス使
用権を取得した機器は、自局の認識番号に対応するデー
タバス上のビットと、自局がある並列バス上で並列バス
接続装置に割り付けられたデータバス上のビットと、相
手機器の認識番号を出力する。これを受けて、機器選択
信号変換器13は信号dによりバス使用権を取得した機
器の認識番号を知り、相手機器の認識番号と、反対側の
並列バスにおける並列バス接続装置自身の認識番号とを
反対側の並列バスに出力する。14及び15はデータバ
スを構成する機器使用選択線であり、機器選択信号変換
器13を並列バスA及び並列バスBに接続する。機器使
用選択線14,15は、それぞれ並列バスに接続された
各機器と1:1に対応する機器使用選択線と並列バス自
身の機器使用選択線とからなる。図1では並列バスAと
並列バスBに機器が4台ずつ接続され、並列バス接続装
置自身も並列バスA用の認識番号と並列バスB用の認識
番号を持っているため、機器使用選択線14と15は0
から4までそれぞれ5本ずつ設けられている。1本の機
器使用選択線の信号はデータバス上の1ビットの信号に
相当する。16及び17は並列バスA及び並列バスBに
おける並列バス接続装置1自身の認識番号が設定された
ID設定部である。18は並列バス接続制御部であり、
並列バスの制御バスから与えられた信号により相手機器
を選択する手順が開始したことを知ると信号gを出力す
る。
In the parallel bus connection device 1, a bus right transfer control unit 11 is connected to the parallel buses A and B. This control unit acquires the bus use right of both buses at the same time based on the acquisition procedure of the bus use right of the parallel buses A and B, outputs the ID of the device that has acquired the bus use right by the signal a, and outputs the signal b. Outputs a write signal of the identification number. Reference numeral 12 denotes a bus usage right acquisition / storage unit, which writes the identification number output from the bus usage right transmission control unit 11 into a write signal b.
Then, the identification number is output according to the signal requested by the signal c. Reference numeral 13 is a device selection signal converter, one of which is connected to the parallel bus A and the other of which is connected to the parallel bus B. This converter knows the identification number for which the bus use right is acquired by the signal d (the identification number read from the bus use right acquisition storage unit 12), and the identification numbers on the parallel bus A side and the parallel bus B are determined by the signals e and f. Knowing the identification number of each side, it outputs the identification number of each bus of the parallel bus connection device. The signal g is a start signal for the device selection signal converter 13. The device that has acquired the bus use right has the bit on the data bus corresponding to the identification number of its own station, the bit on the data bus assigned to the parallel bus connection device on the parallel bus where the own station is, and the device of the other device. Output the identification number. In response to this, the device selection signal converter 13 knows the identification number of the device that has acquired the bus right from the signal d, and the identification number of the partner device and the identification number of the parallel bus connection device itself on the opposite side parallel bus. To the parallel bus on the other side. Reference numerals 14 and 15 are equipment use selection lines that form a data bus, and connect the equipment selection signal converter 13 to the parallel bus A and the parallel bus B. The device use selection lines 14 and 15 are composed of a device use selection line corresponding to each device connected to the parallel bus, and a device use selection line of the parallel bus itself. In FIG. 1, four devices are connected to each of the parallel bus A and the parallel bus B, and the parallel bus connection device itself has the identification number for the parallel bus A and the identification number for the parallel bus B. 14 and 15 are 0
Five to four are provided. The signal of one device use selection line corresponds to a 1-bit signal on the data bus. Reference numerals 16 and 17 are ID setting units in which the identification numbers of the parallel bus connection devices 1 themselves in the parallel buses A and B are set. 18 is a parallel bus connection control unit,
When the signal provided from the control bus of the parallel bus indicates that the procedure for selecting the partner device has started, the signal g is output.

【0014】このように構成したデータ伝送装置の動作
を説明する。並列バスBに接続されている機器8が機器
1を相手機器として選択する場合を例にとって説明す
る。なお、並列バスA用のID設定部16はID=2に
設定され、並列バスB用のID設定部17はID=1に
設定されている。並列バスBに接続された機器8は、並
列バスBのバス使用権を取得するとともに、バス使用権
伝送制御部11により並列バスAの使用権も同時に取得
する。このとき、バス使用権伝送制御部11は、信号a
にID=4を出力し、バス使用権取得記憶部12に記憶
させる。機器8が相手機器を選択する手順を開始する
と、並列バス接続制御部18は信号cと信号gを出力
し、バス使用権取得記憶部12からID=4を信号dを
通して出力させ、機器選択信号変換器13に選択手順が
開始したことを通知する。機器8は機器1を相手機器に
するため、自局の認識番号ID=4と、相手機器の認識
番号ID=0と、並列バスB上における並列バス接続装
置1自身の認識番号ID=1とをデータバスB2上に出
力する。並列バス接続装置1は、データバスB2に出力
された信号を機器使用選択線15を経由して機器選択信
号変換器13に入力する。機器選択信号変換器13は、
信号dにより与えられたID=4と、信号fにより与え
られたID=1がデータバスB2上にあることを確認す
る。ID=1は並列バスB上において並列バス接続装置
1自身に与えられた認識番号であるため、並列バスAへ
は出力しない。ID=4はバス使用権を取得した機器8
の認識番号であるため、機器選択信号変換器13はこれ
を並列バスA上における並列バス接続装置1自身の認識
番号ID=2に変換し、相手機器の認識番号ID=0と
ともに並列バスAに対して出力する。並列バスAではI
D=2とID=0の認識番号を使って機器1が選択され
る。ここで、並列バスB上の機器5もID=0である
が、並列バスB上には3つのIDが出力されてデータバ
ス上の3ビット以上の信号が真になっているため、機器
5は自局が相手機器として選択されなかったと認識し応
答しない。このようにして並列バスAとBの両方にID
=0の機器があっても相手機器を区別して選択できる。
The operation of the thus configured data transmission device will be described. A case where the device 8 connected to the parallel bus B selects the device 1 as the partner device will be described as an example. The ID setting unit 16 for the parallel bus A is set to ID = 2, and the ID setting unit 17 for the parallel bus B is set to ID = 1. The device 8 connected to the parallel bus B acquires the bus use right of the parallel bus B, and simultaneously acquires the use right of the parallel bus A by the bus use right transmission control unit 11. At this time, the bus right-of-use transmission control unit 11 sends the signal a
ID = 4 is output to and is stored in the bus usage right acquisition storage unit 12. When the device 8 starts the procedure of selecting the partner device, the parallel bus connection control unit 18 outputs the signal c and the signal g, causes the bus usage right acquisition storage unit 12 to output ID = 4 through the signal d, and outputs the device selection signal. Notify the converter 13 that the selection procedure has started. Since the device 8 uses the device 1 as the partner device, its own station identification number ID = 4, the partner device identification number ID = 0, and the identification number ID = 1 of the parallel bus connection device 1 itself on the parallel bus B. Is output to the data bus B2. The parallel bus connection device 1 inputs the signal output to the data bus B2 to the device selection signal converter 13 via the device use selection line 15. The device selection signal converter 13 is
Make sure that ID = 4 given by signal d and ID = 1 given by signal f are on the data bus B2. Since ID = 1 is the identification number given to the parallel bus connection device 1 itself on the parallel bus B, it is not output to the parallel bus A. ID = 4 is the device 8 that has acquired the bus usage right
Device identification signal converter 13 converts this to the identification number ID = 2 of the parallel bus connection device 1 itself on the parallel bus A, and the identification number ID = 0 of the partner device is added to the parallel bus A. Output to. I on parallel bus A
The device 1 is selected using the identification number of D = 2 and ID = 0. Here, the device 5 on the parallel bus B also has ID = 0, but since three IDs are output on the parallel bus B and the signal of 3 bits or more on the data bus is true, the device 5 Recognizes that its own station was not selected as the partner device and does not respond. In this way, IDs for both parallel buses A and B
Even if there is a device of = 0, it is possible to distinguish and select the other device.

【0015】機器8が機器2を相手機器として選択した
場合は、機器2の認識番号ID=1と並列バス接続装置
1の並列バスB上における認識番号ID=1とが重複す
る。この場合は、機器8は、ID=4とID=1とをデ
ータバスB2上に出力する。並列バス接続装置1は、デ
ータバスB2上に2つのIDしか出力されていないこと
を認識し、ID=4をID=2に変換して並列バスAへ
出力するとともに、もう1つのIDであるID=1はそ
のまま並列バスAへ出力する。
When the device 8 selects the device 2 as the partner device, the identification number ID = 1 of the device 2 and the identification number ID = 1 of the parallel bus connecting device 1 on the parallel bus B overlap. In this case, the device 8 outputs ID = 4 and ID = 1 on the data bus B2. The parallel bus connection device 1 recognizes that only two IDs are output on the data bus B2, converts ID = 4 to ID = 2, outputs the ID to the parallel bus A, and outputs another ID. ID = 1 is output to the parallel bus A as it is.

【0016】[0016]

【発明の効果】本発明によれば次の効果が得られる。 並列バスのバス使用権を取得した機器は、データ転送
を行う相手機器を選択する際に、自局が接続されている
並列バス上に相手機器がない場合は、自局の機器使用選
択線と相手機器の機器使用選択線の他に並列バス接続装
置自身に割り付けられている機器使用選択線に信号を出
力する。これによって、並列バス接続装置に接続された
2つの並列バス間の機器選択が従来の2回から1回に減
らされるため、伝送を高速化することができる。また、
並列バス接続装置に接続された並列バス上の機器を有効
に使用できる。 並列バス接続装置自身も並列バス上で認識番号を持っ
ていて、バス使用権を取得した機器の認識番号を並列バ
ス接続装置自身の認識番号に変換して異なる2つの並列
バスに接続された機器の間でデータを伝送している。こ
れによって、2つの並列バス上の機器の間で認識番号が
重複して付けられていても相手機器を区別できる。
According to the present invention, the following effects can be obtained. When a device that has acquired the bus usage right for the parallel bus selects the partner device for data transfer, if there is no partner device on the parallel bus to which the own station is connected, In addition to the device use select line of the partner device, the signal is output to the device use select line assigned to the parallel bus connection device itself. As a result, the device selection between the two parallel buses connected to the parallel bus connection device is reduced from the conventional two times to one time, so that the transmission speed can be increased. Also,
Devices on the parallel bus connected to the parallel bus connection device can be effectively used. The parallel bus connection device itself has an identification number on the parallel bus, and the identification number of the device that has acquired the bus usage right is converted into the identification number of the parallel bus connection device itself, and the device is connected to two different parallel buses. Data is being transmitted between. As a result, even if the identification numbers are duplicated between the devices on the two parallel buses, the counterpart device can be distinguished.

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

【図1】本発明の一実施例を示した構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】バス使用権を取得していない機器が選択される
手順を示したフローチャートである。
FIG. 2 is a flowchart showing a procedure for selecting a device that has not acquired a bus use right.

【図3】バス使用権を取得した機器がデータ転送を行う
相手機器を選択する手順を示したフローチャートであ
る。
FIG. 3 is a flowchart showing a procedure in which a device that has acquired the bus use right selects a partner device for data transfer.

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

A,B 並列バス C1〜C4,D1〜D4 機器 1 並列バス接続装置 11 バス使用権伝送制御部 12 バス使用権取得記憶部 13 機器選択信号変換器 14,15 機器使用選択線 16,17 ID設定部 18 並列バス接続制御部 A, B Parallel buses C1 to C4, D1 to D4 Devices 1 Parallel bus connection device 11 Bus usage right transmission control unit 12 Bus usage right acquisition storage unit 13 Device selection signal converter 14, 15 Device usage selection line 16, 17 ID setting Part 18 Parallel bus connection control unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の機器が接続された並列バスが引か
れ、この並列バスには各機器と1:1に対応する機器使
用選択線が設けられ、並列バス接続装置を介して2つの
並列バスどうしを接続し、2つの並列バスに接続された
機器の間でデータを伝送するデータ伝送方法であって、 並列バスのバス使用権を取得した機器は、データ転送を
行う相手機器を選択する際に、自局が接続されている並
列バス上に相手機器がある場合は、自局の機器使用選択
線と相手機器の機器使用選択線とに信号を出力して機器
を選択し、自局が接続されている並列バス上に相手機器
がない場合は、自局の機器使用選択線と相手機器に対応
する機器使用選択線と並列バス接続装置自身に割り付け
られている機器使用選択線に信号を出力して機器を選択
し、 バス使用権を取得しない機器は、機器使用選択線の信号
をチェックし、自局の機器使用選択線と自局以外の1つ
の局の機器使用選択線とに信号が出力されている場合
は、自局が相手機器として選択されたと判断して選択に
対して応答し、3つ以上の局の機器使用選択線に信号が
出力されている場合は、自局が相手機器として選択され
なかったと判断して選択に対して応答しないことを特徴
とするデータ伝送方法。
1. A parallel bus to which a plurality of devices are connected is drawn, and a device use selection line corresponding to each device 1: 1 is provided on the parallel bus, and two parallel buses are provided through a parallel bus connection device. A data transmission method for connecting buses to each other and transmitting data between devices connected to two parallel buses, wherein a device that has acquired the bus usage right of the parallel bus selects a partner device for data transfer. If there is a partner device on the parallel bus to which your station is connected, select a device by outputting a signal to the device usage selection line of your station and the device usage selection line of your partner device If there is no partner device on the parallel bus connected to, the signal is sent to the device usage select line of the local station, the device usage selection line corresponding to the partner device, and the device usage selection line assigned to the parallel bus connection device itself. Output, select the device, and For the equipment that does not obtain, check the signal on the equipment use selection line, and if the signal is output to the equipment use selection line of the own station and the equipment use selection line of one station other than the own station, the own station is the partner. If it is judged that it has been selected as a device and responds to the selection, and if a signal is output to the device usage selection lines of three or more stations, it is judged that the local station was not selected as the partner device and selected. A data transmission method characterized by not responding to the request.
【請求項2】 並列バスに接続された各機器毎には認識
番号が割り付けられていて、異なる並列バスの間では認
識番号の重複が許されていて、並列バスに出力した認識
番号に応じて前記機器使用選択線に信号が出力され、異
なる2つの並列バスに接続された機器の間でデータを伝
送する場合は、 バス使用権を取得した機器は、自局が接続されている一
方の並列バスに対して、自局の認識番号と、相手機器の
認識番号と、前記一方の並列バスにおいて並列バス接続
装置自身に割り付けられた認識番号とを出力し、 並列バス接続装置は、他方の並列バスに対して、相手機
器の認識番号と、前記他方の並列バスにおいて並列バス
接続装置自身に割り付けられた認識番号とを出力するこ
とを特徴とする請求項1記載のデータ伝送方法。
2. An identification number is assigned to each device connected to the parallel bus, and the identification number can be duplicated between different parallel buses, and the identification number output to the parallel bus is allowed. When a signal is output to the device use selection line and data is transmitted between the devices connected to two different parallel buses, the device that has acquired the bus use right is the one connected to the local station. The identification number of the local station, the identification number of the partner device, and the identification number assigned to the parallel bus connection device itself on the one parallel bus are output to the bus, and the parallel bus connection device 2. The data transmission method according to claim 1, wherein the identification number of the partner device and the identification number assigned to the parallel bus connecting device itself in the other parallel bus are output to the bus.
JP1335394A 1994-02-07 1994-02-07 Method for transmitting data Pending JPH07219890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1335394A JPH07219890A (en) 1994-02-07 1994-02-07 Method for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1335394A JPH07219890A (en) 1994-02-07 1994-02-07 Method for transmitting data

Publications (1)

Publication Number Publication Date
JPH07219890A true JPH07219890A (en) 1995-08-18

Family

ID=11830746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1335394A Pending JPH07219890A (en) 1994-02-07 1994-02-07 Method for transmitting data

Country Status (1)

Country Link
JP (1) JPH07219890A (en)

Similar Documents

Publication Publication Date Title
US5941973A (en) Bus control system incorporating the coupling of two split-transaction busses of different hierarchy
US4128883A (en) Shared busy means in a common bus environment
JPH1196090A (en) I2c bus circuit and bus control method
JP3444623B2 (en) Hierarchical connection method, device and protocol
JP2996440B2 (en) Diagnosis method of data processing system
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
JPH04328936A (en) Communication system
JPH0337221B2 (en)
JPH07219890A (en) Method for transmitting data
JPH07200432A (en) Data communication method and system-linking device
JPH05282242A (en) Bus control system
US5987558A (en) Method and apparatus for resolving over lapping selection and reselection operations of SCSI bus protocols
JPH11184805A (en) Bus system
JPH0562384B2 (en)
JPH10303948A (en) Communication device and its method
JP4154678B2 (en) Information processing device
JP3086245B2 (en) Other system access designation device
US20050165988A1 (en) Bus communication system
JPS6074848A (en) Serial data transfer system
JP2002041448A (en) Bus system
JP2573790B2 (en) Transfer control device
JPH03105656A (en) Bus control system
JPH06149728A (en) I/o bus extension device and its control method
JPH07334453A (en) Memory access system
JPH076129A (en) Communication bus connecting device