JPS63211449A - Device number setting system - Google Patents

Device number setting system

Info

Publication number
JPS63211449A
JPS63211449A JP62046036A JP4603687A JPS63211449A JP S63211449 A JPS63211449 A JP S63211449A JP 62046036 A JP62046036 A JP 62046036A JP 4603687 A JP4603687 A JP 4603687A JP S63211449 A JPS63211449 A JP S63211449A
Authority
JP
Japan
Prior art keywords
input
output control
control device
output
number setting
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
JP62046036A
Other languages
Japanese (ja)
Inventor
Tetsuo Kawamata
川俣 徹男
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62046036A priority Critical patent/JPS63211449A/en
Publication of JPS63211449A publication Critical patent/JPS63211449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent an erroneous setting by providing an automatic device number setting circuit on an input/output controller, and also, cascading each input/output controller in accordance with a prescribed sequence. CONSTITUTION:An automatic device number setting circuit 507 identifies whether a signal line 6 from a pre-positioned input/output controller 5 is connected or not. When the signal line 6 from the pre-positioned input/output controller 5 is connected, the automatic device number setting circuit 507 counts a number setting pulse transferred from the pre-positioned input/output controller 5 through the signal line 6, sets a device number, based on its counting value, and also, sends out the number setting pulse which is subtracted one pulse from the number setting pulse transferred from the pre-positioned input/output controller 5, to the number setting signal line 6 which reaches the post-position. In such a way, the device number of each input/output controller 5 connected to an input/output bus 4 is set automatically, and an erroneous setting caused by an operation error, etc. is prevented.

Description

【発明の詳細な説明】 〔概要〕 入出力バスを経由してチャネル制御装置から複数の入出
力制御装置を起動した際、最前値の入出力制御装置から
所定数の番号設定パルスを次位の入出力制御装置に伝達
し、次位以降の入出力制御装置は、前位の人出力制御装
置から伝達された番分設定パルスの数を1個減じて次位
の入出力制御装置に伝達し、各入出力制御装置は、次位
入出力制御装置に送出する番号設定パルス数に対応した
装置番号を自動的に設定することにより、装置番号設定
作業を簡易化し、誤設定を防止する。
[Detailed Description of the Invention] [Summary] When a plurality of input/output control devices are activated from a channel control device via an input/output bus, a predetermined number of number setting pulses are sent from the input/output control device with the most recent value to the next one. The next input/output control device reduces the number of number setting pulses transmitted from the previous human output control device by one and transmits the result to the next input/output control device. , each input/output control device automatically sets a device number corresponding to the number of number setting pulses sent to the next input/output control device, thereby simplifying the device number setting work and preventing erroneous settings.

〔産業上の利用分野〕[Industrial application field]

本発明は、入出力バスに接続された複数の入出力制御装
置を、チャネル制御I装置により制御する情報処理シス
テムにおいて、各入出力制御装置に装置番号を付与する
作業を簡易化する装置番号設定方式に関する。
The present invention provides device number setting that simplifies the task of assigning a device number to each input/output control device in an information processing system in which a plurality of input/output control devices connected to an input/output bus are controlled by a channel control I device. Regarding the method.

情報処理システムにおいては、チャネル制御装置が複数
の入出力制御装置の中から制御対象とする入出力制御装
置を指定する為に、各入出力制御装置に固有の装置番号
を付与する必要がある。
In an information processing system, in order for a channel control device to specify an input/output control device to be controlled from among a plurality of input/output control devices, it is necessary to assign a unique device number to each input/output control device.

この種の装置番号は、情報処理システムの初期に設置さ
れる入出力制御装置に付与するのみならず、入出力制御
装置が増設される度に、既設入出力制御装置も含めて新
たな番号の付与が必要となる。
This type of device number is not only assigned to input/output control devices installed at the initial stage of an information processing system, but also new numbers are assigned to input/output control devices, including existing input/output control devices, each time an input/output control device is added. Grant is required.

従って、この種の装置番号の付与作業は、情報処理シス
テムに接続される入出力制御装置数が増加傾向にあるこ
とも考慮し、極力簡易化されることが望ましい。
Therefore, it is desirable that this type of device number assignment work be simplified as much as possible, taking into account the fact that the number of input/output control devices connected to information processing systems is on the rise.

〔従来の技術〕[Conventional technology]

第5図は本発明の対象となる情報処理システムの一例を
示す図であり、第6図は入出力制御装置アドレスの一例
を示す図であり、第7図は従来ある装置番号レジスタの
一例を示す図である。
FIG. 5 is a diagram showing an example of an information processing system to which the present invention is applied, FIG. 6 is a diagram showing an example of an input/output control device address, and FIG. 7 is a diagram showing an example of a conventional device number register. FIG.

第5図において、複数の入出力制御装置(IOC)5 
(以後特定の入出力制御装置は、5−1.5−2、等と
称する、以下同様)が、入出力バス4に接続されている
In FIG. 5, a plurality of input/output control devices (IOC) 5
(Hereinafter, specific input/output control devices will be referred to as 5-1, 5-2, etc., and the same will apply hereinafter) are connected to the input/output bus 4.

各入出力制御装置5には、それぞれ固有の入出力制御装
置アドレスaが付与されている。
Each input/output control device 5 is assigned a unique input/output control device address a.

各入出力制御装置アドレスaは、第6図に示す如く、各
入出力制御装置5に接続される入出力装置の種別等(例
えば磁気テープ装置、磁気ディスク装置、或いはタイプ
ライタ装置等)の属性を示す属性情報m(8ビツト)と
、同一属性情報mを有する入出力制御装置5相互を識別
する装置番号n (4ビツト)と、各入出力制御装置5
内に設けられている各種レジスタを識別する内部レジス
タ番号0 (4ピント)とから構成されている。
Each input/output control device address a, as shown in FIG. Attribute information m (8 bits) indicating the same attribute information m, device number n (4 bits) for mutually identifying input/output control devices 5 having the same attribute information m, and each input/output control device 5
It consists of an internal register number 0 (4 pinto) that identifies various registers provided within the register.

各入出力制御装置5内においては、属性レジスタ(ZR
)501および装置番号レジスタ(NR)502に、そ
れぞれ付与された属性情報mおよび装置番号nが設定さ
れている°。
In each input/output control device 5, an attribute register (ZR
) 501 and device number register (NR) 502 are set with attribute information m and device number n, respectively.

チャネル制御装置(CHC)3が任意の入出力制御装置
5を制御する場合には、入出力バス4を構成するアドレ
スバス41に、制御対象とする入出力制御装置5に付与
されたアドレスaを送出する。
When the channel control device (CHC) 3 controls an arbitrary input/output control device 5, the address a assigned to the input/output control device 5 to be controlled is sent to the address bus 41 constituting the input/output bus 4. Send.

送出された入出力制御装置アドレスaに含まれる属性情
報m、装置番号nおよび内部レジスタ番号Oは、アドレ
スバス41を経由して各入出力制御装置5内の一致検出
回路(MC)503.504およびデコーダ(OCR)
505にそれぞれ伝達される。
The attribute information m, device number n, and internal register number O included in the sent input/output control device address a are sent to the coincidence detection circuit (MC) 503, 504 in each input/output control device 5 via the address bus 41. and decoder (OCR)
505 respectively.

各一致検出回路503は、アドレスバス41がら到着す
る属性情報mと、属性レジスタ501に設定されている
属性情報mとを照合し、両者が一致したことを検出する
と、出力信号を論理“1”に設定する。
Each coincidence detection circuit 503 compares the attribute information m arriving from the address bus 41 with the attribute information m set in the attribute register 501, and when it detects that the two match, it sets the output signal to logic "1". Set to .

また各一致検出回路504は、アドレスバス41から到
着する装置番号nと、装置番号レジスタ502に設定さ
れている装置番号nとを照合し、両者が一致したことを
検出すると、出力信号を論理“1”に設定する。
Furthermore, each coincidence detection circuit 504 compares the device number n arriving from the address bus 41 with the device number n set in the device number register 502, and when it detects that the two match, it outputs a logic “ Set to 1”.

更にデコーダ505は、アドレスバス41から到着する
内部レジスタ番号0に該当する内部レジスタを指定する
Furthermore, decoder 505 specifies the internal register corresponding to internal register number 0 arriving from address bus 41.

一致検出回路503および504からの出力信号が共に
論理“1”に設定された入出力制御装置5においては、
起動信号作成器506がチャネル制御装置3から制御線
43を経由して伝達される起動信号が論理“1”に設定
されると、論理“1”の入出力制御装置内起動信号を出
力し、チャネル制御装置3の制御を受付は可能状態とす
る。
In the input/output control device 5 in which the output signals from the coincidence detection circuits 503 and 504 are both set to logic "1",
When the activation signal transmitted from the channel control device 3 via the control line 43 is set to logic "1", the activation signal generator 506 outputs an input/output control device internal activation signal of logic "1", Control of the channel control device 3 is enabled to accept control.

−数構出回路503または504が不一致を検出し、出
力信号が論理“0”に設定された入出力制御装置5にお
いては、起動信号作成器506が論理“0”の入出力制
御装置内起動信号を出力する為、チャネル制御装置3の
制御を受付は不可能状態に設定する。
- In the input/output control device 5 where the number output circuit 503 or 504 detects a mismatch and the output signal is set to logic "0", the activation signal generator 506 activates the input/output control device with logic "0". In order to output the signal, control of the channel control device 3 is set to a state in which reception is disabled.

装置番号レジスタ502は第7図に示す如き構成を有し
、スイッチ511乃至514を導通状態、遮断状態の何
れに設定するかにより、装置番号nを構成する各ビット
を、論理“0″ (地電位)、または論理“1” (+
電位)に設定する。
The device number register 502 has a configuration as shown in FIG. potential), or logic “1” (+
potential).

従って、各入出力制御装置5の入出力制御装置アドレス
aを設定或いは変更する際は、各入出力〔発明が解決し
ようとする問題点〕 以上の説明から明らかな如く、従来ある装置番号設定方
式におしては、各入出力制御装置5に装置番号nを設定
する為には、装置番号レジスタ502に設けられている
各スイッチ511乃至514を操作する必要があり、入
出力制御装置5数の増加に伴って装置番号nの設定工数
も増加し、また操作誤りにより装置番号nを誤設定する
恐れもある。
Therefore, when setting or changing the input/output control device address a of each input/output control device 5, each input/output [problem to be solved by the invention] As is clear from the above explanation, the conventional device number setting method is used. In order to set the device number n to each input/output control device 5, it is necessary to operate each switch 511 to 514 provided in the device number register 502, which increases the number of input/output control devices 5. Accordingly, the number of man-hours required for setting the device number n increases, and there is also a risk that the device number n may be set incorrectly due to an operational error.

C問題点を解決するための手段〕 第1図は本発明の原理を示す図である。Measures to solve problem C] FIG. 1 is a diagram showing the principle of the present invention.

第1図において、3はチャネル制御装置、4は入出力バ
ス、5はそれぞれ入出力制御装置である。
In FIG. 1, 3 is a channel control device, 4 is an input/output bus, and 5 is an input/output control device.

6は、本発明により各入出力制御袋N5を所定の順序に
従って縦続接続する信号線である。
Reference numeral 6 denotes a signal line that cascades the input/output control bags N5 according to the present invention in a predetermined order.

507は、本発明により各入出力制御袋W5に設けられ
た装置番号自動設定回路である。
507 is a device number automatic setting circuit provided in each input/output control bag W5 according to the present invention.

〔作用〕[Effect]

装置番号自動設定回路507は、前位の入出力制御装置
5からの信号線6が接続されているか否かを識別し、前
位の入出力制御装置5からの信号線6が接続されていな
い場合には、予め定められた数の番号設定パルスiを、
後位の入出力制御装置5に至る信号線6に送出すると共
に、送出した番号設定パルスiに対応した装置番号nを
自装置に設定する。
The device number automatic setting circuit 507 identifies whether or not the signal line 6 from the preceding input/output control device 5 is connected, and determines whether the signal line 6 from the preceding input/output control device 5 is not connected. In this case, a predetermined number of number setting pulses i,
It is sent to the signal line 6 leading to the downstream input/output control device 5, and the device number n corresponding to the sent number setting pulse i is set in the own device.

一方前位の入出力制御装置5からの信号線(6)が接続
されている場合には、装置番号自動設定回路507は信
号′fa6を経由して前位の入出力制御装置5から伝達
される番号設定パルスiを計数し、該計数値に基づき装
置番号nを設定すると共に、前位の入出力制御袋W5か
ら伝達された番号設定パルスiより1パルスを減じた番
号設定パルスiを後位に至る番号設定信号線6に送出す
る。
On the other hand, when the signal line (6) from the preceding input/output control device 5 is connected, the device number automatic setting circuit 507 receives the signal from the preceding input/output control device 5 via the signal 'fa6. The number setting pulse i is counted and the device number n is set based on the counted value, and the number setting pulse i is set after subtracting one pulse from the number setting pulse i transmitted from the preceding input/output control bag W5. It is sent to the number setting signal line 6 leading to the number.

従って、入出力バスに接続された各入出力制御装置の装
置番号が自動的に設定されることとなり、装諌番号設定
用の作業が不要となり、また操作誤り等による誤設定の
恐れも防止される。
Therefore, the device number of each input/output control device connected to the input/output bus is automatically set, eliminating the need for setting the device number, and also preventing the possibility of incorrect settings due to operational errors. Ru.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による情報処理システムを示
す図であり、第3図は本発明の一実施例による装置番号
自動設定回路を示す図であり、第4図は第3図における
各種信号波形を例示する図であり、第4図fa)は最前
位入出力制御装置に関係し、第4図(blは次位入出力
制御装置に関係する図である。なお、全図を通じて同一
符号は同一対象物を示す。
FIG. 2 is a diagram showing an information processing system according to an embodiment of the present invention, FIG. 3 is a diagram showing a device number automatic setting circuit according to an embodiment of the present invention, and FIG. 4 is a diagram showing an information processing system according to an embodiment of the present invention. FIG. 4 is a diagram illustrating various signal waveforms, and FIG. 4 (fa) is a diagram related to the foremost input/output control device, and FIG. The same reference numerals indicate the same objects.

第2図においては、入出力バス4に接続された複数の入
出力制御装置(IOC)5−1.5−2.5−3、・・
・・・・には、それぞれ装置番号自動設定回路(NST
)507が設けられている。
In FIG. 2, a plurality of input/output control devices (IOC) 5-1.5-2.5-3, . . . are connected to the input/output bus 4.
... are each equipped with a device number automatic setting circuit (NST).
) 507 is provided.

チャネル制御装置(CHC)3に最も近い最前位入出力
制@装置5−1から、順次後位の入出力制御装置5−2
.5−3、・・・・・・に対し、番号設定信号線61お
よび62が接続されている。
From the most advanced input/output control device 5-1 closest to the channel control device (CHC) 3, to the succeeding input/output control device 5-2
.. 5-3, . . . are connected to number setting signal lines 61 and 62.

各入出力制御装置5において、前位入出力制御装置5と
の間を接続する番号設定信号線61および62は、それ
ぞれ装置番号自動設定回路507の端子IIおよびR1
に接続され、また後位入出力制御装置5との間を接続す
る番号設定信号線61および62は1.それぞれ装置番
号自動設定回路507の端子IOおよびROに接続され
る。
In each input/output control device 5, number setting signal lines 61 and 62 connecting with the preceding input/output control device 5 are connected to terminals II and R1 of the device number automatic setting circuit 507, respectively.
The number setting signal lines 61 and 62 which are connected to the rear input/output control device 5 are 1. They are respectively connected to terminals IO and RO of device number automatic setting circuit 507.

なお最前位の入出力制御装置5内にある装置番号自動設
定回路507−1の端子IIおよびRIには、前位入出
力制御装置5からの番号設定信号線61および62は接
続されていない。
Note that the number setting signal lines 61 and 62 from the preceding input/output control device 5 are not connected to the terminals II and RI of the device number automatic setting circuit 507-1 in the foremost input/output control device 5.

なお各装置番号自動設定回路507にある装置内クロッ
ク信号Ciは、各入出力制御装置5内から常時供給され
ている。
Note that the internal clock signal Ci in each device number automatic setting circuit 507 is constantly supplied from within each input/output control device 5.

かかる状態で、チャネル制御装置3から入出力バス4を
経由して各入出力制御装置5に伝達されているリセット
信号rが論理“1” (リセット信号rnは論理“0”
)に設定されている間は、各装置番号自動設定回路50
7のフリップフロップ522および523は共にセット
状態、フリップフロップ529.531543および計
数回路538はリセット状態にある。
In this state, the reset signal r transmitted from the channel control device 3 to each input/output control device 5 via the input/output bus 4 is at logic "1" (the reset signal rn is at logic "0").
), each device number automatic setting circuit 50
Both flip-flops 522 and 523 of No. 7 are in a set state, and flip-flops 529, 531,543 and counting circuit 538 are in a reset state.

第3図および第4図(alにおいて、最前位入出力制御
装置5−1内の装置番号自動設定回路507−1におい
ては、端子IIおよびR1には番号設定信号線61およ
び62が接続されておらず、ドライバ526および52
8の入力端子には抵抗525および527を介して十電
位が供給される為、論理“l”の出力信号が出力されて
おり、ゲート524および544を導通状態としている
In FIGS. 3 and 4 (al), in the device number automatic setting circuit 507-1 in the frontmost input/output control device 5-1, number setting signal lines 61 and 62 are connected to terminals II and R1. driver 526 and 52
Since ten potentials are supplied to the input terminals of 8 through resistors 525 and 527, an output signal of logic "1" is output, making gates 524 and 544 conductive.

その結果、端子ROから後位入出力制御装置5−シに至
る番号設定信号線62には、論理“1”の番号設定リセ
ット信号roが出力される。
As a result, a number setting reset signal ro of logic "1" is outputted to the number setting signal line 62 extending from the terminal RO to the rear input/output control device 5-S.

人出力制御装置5に装置番号nを自動設定する為に、チ
ャネル制御装置3から各入出力制御装置(IOC:)5
に論理“0”のリセット信号rが伝達されると、各装置
番号自動設定回路507のフリップフロップ522が装
置内クロック信号Ciに同期してリセットされ、出力信
号q1を論理“0”に設定し、続いてフリップフロップ
523が否定回路521により反転された装置内クロッ
ク信号Ciに同期してリセットされ、出力信号q2を論
理“0”に設定する。
In order to automatically set the device number n to the human output control device 5, from the channel control device 3 to each input/output control device (IOC:) 5
When the reset signal r of logic "0" is transmitted to the device, the flip-flop 522 of each device number automatic setting circuit 507 is reset in synchronization with the device internal clock signal Ci, and sets the output signal q1 to logic "0". Then, the flip-flop 523 is reset in synchronization with the internal clock signal Ci inverted by the NOT circuit 521, and the output signal q2 is set to logic "0".

装置番号自動設定回路507−1においては、出力信号
q1が論理“O”に設定されてから、出力信号q2が論
理“0”に設定される迄の間、ゲ−ト524からの出力
信号g1は論理“1”となる。
In the device number automatic setting circuit 507-1, the output signal g1 from the gate 524 is output from the time when the output signal q1 is set to logic "O" until the output signal q2 is set to logic "0". becomes logic “1”.

出力信号g1が論理“1”から論理“0”に変化するこ
とにより、フリップフロップ529はセットされ、出力
信号q3を論理“1”に設定する。
As the output signal g1 changes from logic "1" to logic "0", the flip-flop 529 is set and sets the output signal q3 to logic "1".

論理“1”の出力信号q3は、ゲート533を導通状態
とすると共に、ゲート535を介して計数回路538に
イネーブル信号として入力される。
The output signal q3 of logic "1" turns on the gate 533 and is inputted to the counting circuit 538 via the gate 535 as an enable signal.

その結実装置内クロック信号C1は、ゲート533.5
34およびドライバ537を介して端子ROから、番号
設定パルスitとして後位入出力制御装置5−2に至る
番号設定信号線61上に送出されると共に、計数回路5
38に入力される。
The internal clock signal C1 of the fruiting device is connected to the gate 533.5.
34 and the driver 537 from the terminal RO as a number setting pulse it onto the number setting signal line 61 that reaches the rear input/output control device 5-2.
38.

計数回路538は、入力される番号設定パルスifを計
数し、計数結果を端子QO乃至Q3に二進形式で出力し
、計数値が“F” (16進表示)に達すると、論理“
1”の桁上信号crを出力する。
The counting circuit 538 counts the input number setting pulses if, outputs the counting results to the terminals QO to Q3 in binary format, and when the counted value reaches "F" (hexadecimal display), the logic "
A carry signal cr of 1" is output.

フリップ−フロップ543は、論理“1”の桁上信号c
rを入力されると、反転装置内クロック信号Cinに同
期してセットされ、出力信号q5を論理“0”に設定す
る。
The flip-flop 543 receives a carry signal c of logic “1”.
When r is input, it is set in synchronization with the internal clock signal Cin of the inverter, and sets the output signal q5 to logic "0".

出力信号q5が論理“0゛に設定されると、フリップフ
ロップ529がリセットされ、出力信号q3が論理“0
”に設定され、ゲート533を遮断状態とすると共に、
計数回路538へのイネーブル信号を入力停止する。
When the output signal q5 is set to logic "0", the flip-flop 529 is reset and the output signal q3 is set to logic "0".
”, the gate 533 is set to a cutoff state, and
The input of the enable signal to the counting circuit 538 is stopped.

その結果、端子IOから番号設定信号線61に送出され
ていた番号設定パルスioは15パルスで送出停止され
、また計数回路538の計数値は、“F” (16進表
示)で保持される。
As a result, the number setting pulse io sent from the terminal IO to the number setting signal line 61 is stopped at 15 pulses, and the count value of the counting circuit 538 is held at "F" (in hexadecimal notation).

また端子ROから出力される番号設定リセット信号ro
は論理“0”となる。
In addition, the number setting reset signal ro output from the terminal RO
becomes logic “0”.

装置番号自動設定回路507−1は、計数回路538の
端子QO乃至Q3から出力されている計数値“F” (
16進表示)を、否定回路539乃至542により論理
値反転し10°を、最前位入出力制御装置5−1の装置
番号nとして出力する。
The device number automatic setting circuit 507-1 receives the count value "F" (
(in hexadecimal notation) is logically inverted by the NOT circuits 539 to 542, and 10° is outputted as the device number n of the foremost input/output control device 5-1.

次に第3図および第4図(b)において、入出力制御装
置5−2にある装置番号自動設定回路507−2の端子
IIおよびR1は、装置番号自動設定回路507−1の
端子10およびROとそれぞれ接続されており、チャネ
ル制御装置3から入出力バス4を経由して伝達されるリ
セット信号rが論理“1” (リセット信号rnが論理
“0”)に設定されいる間は、装置番号自動設定回路5
07−1から出力される番号設定パルス10は論理“O
“に、番号設定リセット信号roは論理”1゛に設定さ
れている為、ドライバ526からは論理“0”の出力信
号が出力されてゲート524を導通状態としており、ま
たドライバ528からは論理″l゛の出力信号が出力さ
れてゲート544を導通状態とし、端子ROから後位入
出力制御装置5−3に至る番号設定信号線62に、論理
“1゛の番号設定リセット信号roを出力する。
Next, in FIG. 3 and FIG. 4(b), terminals II and R1 of the device number automatic setting circuit 507-2 in the input/output control device 5-2 are connected to terminals 10 and R1 of the device number automatic setting circuit 507-1. While the reset signal r transmitted from the channel control device 3 via the input/output bus 4 is set to logic "1" (reset signal rn is logic "0"), the device Number automatic setting circuit 5
The number setting pulse 10 output from 07-1 is logic “O”.
Since the number setting reset signal ro is set to logic "1", the driver 526 outputs a logic "0" output signal, making the gate 524 conductive, and the driver 528 outputs a logic "0" output signal. An output signal of "1" is output to turn on the gate 544, and a number setting reset signal ro of logic "1" is output to the number setting signal line 62 extending from the terminal RO to the rear input/output control device 5-3. .

チャネル制御装置3から各入出力制御装置5に論理“0
”のリセット信号rが伝達されると、入出力制御装置5
−2内の装置番号自動設定回路507−2においても、
フリップフロップ522および523が順次リセットさ
れ、出力信号q1およびq2を順次論理“0”に設定す
るが、ゲート524が遮断状態にある為、出力信号g1
は論理“O”に保持され、フリップフロップ529もリ
セット状態を保持する。
A logic “0” is sent from the channel control device 3 to each input/output control device 5.
” When the reset signal r is transmitted, the input/output control device 5
-2 also in the device number automatic setting circuit 507-2,
The flip-flops 522 and 523 are sequentially reset and the output signals q1 and q2 are sequentially set to logic "0", but since the gate 524 is in the cutoff state, the output signal g1 is
is held at logic "O", and flip-flop 529 also holds the reset state.

続いて、装置番号自動設定回路507−1から番号設定
信号+4iA61を経由して端子IIに、第1の番号設
定パルスiiが到着すると、フリップフロップ531が
セットされ、出力信号q4を論理“1”に設定する。
Subsequently, when the first number setting pulse ii arrives at the terminal II from the device number automatic setting circuit 507-1 via the number setting signal +4iA61, the flip-flop 531 is set and the output signal q4 is set to logic "1". Set to .

出力信号q4は、ゲート536を導通状態とすると共に
、ゲート535を介して計数回路538にイネーブル信
号として入力される。
The output signal q4 turns on the gate 536 and is inputted to the counting circuit 538 via the gate 535 as an enable signal.

その結実装置第2乃至第14の番号設定パルスiiは、
ゲート536.534およびドライバ537を介して端
子ROから、番号設定パルスi。
The second to fourteenth number setting pulses ii of the fruiting device are:
Number setting pulse i from terminal RO via gate 536,534 and driver 537.

として後位入出力制御装置5−3に至る番号設定信号線
61上に送出されると共に、計数回路538に入力され
る。
The signal is sent out onto the number setting signal line 61 leading to the rear input/output control device 5-3 as well as input into the counting circuit 538.

計数回路538は、入力される第2乃至第15の番号設
定パルスitを計数し、計数結果“E”(16進表示)
を端子QO乃至Q3に二進形式で出力する。
The counting circuit 538 counts the input second to fifteenth number setting pulses it, and displays the counting result "E" (in hexadecimal notation).
is output in binary format to terminals QO to Q3.

第15の番号設定パルスifが到着し終わると、装置番
号自動設定回路507−1から到着する番号設定リセッ
ト信号riが論理″0”となり、ドライバ528の出力
信号も論理“0”となり、ゲート532および544が
遮断状態となる。
When the fifteenth number setting pulse if has finished arriving, the number setting reset signal ri arriving from the device number automatic setting circuit 507-1 becomes logic "0", the output signal of the driver 528 also becomes logic "0", and the gate 532 and 544 are in a cut-off state.

その結果、フリップフロップ531はリセットされ、出
力信号q4を論理“0”に設定し、また端子ROから後
位入出力制御装置5−3に至る番号設定信号線62に送
出されている番号設定リセット信号roは論理°O″に
設定される。
As a result, the flip-flop 531 is reset, setting the output signal q4 to logic "0", and the number setting reset signal being sent to the number setting signal line 62 from the terminal RO to the rear input/output control device 5-3. Signal ro is set to logic °O''.

出力信号q4が論理“0”に設定されると、ゲ=ト53
6を遮断状態とすると共に、計数回路538へのイネー
ブル信号を入力停止する。 その結果、計数回路538
の計数値は、“E” (16進表示)で保持される。
When output signal q4 is set to logic “0”, gate 53
6 is cut off, and input of an enable signal to the counting circuit 538 is stopped. As a result, the counting circuit 538
The count value is held as “E” (hexadecimal notation).

装置番号自動設定回路507−2は、計数回路538の
端子QO乃至Q3から出力されている計数値“E”を、
否定回路539乃至542により論理値反転した“1”
を、人出力制御装置5−2の装置番号nとして出力する
The device number automatic setting circuit 507-2 receives the count value “E” output from the terminals QO to Q3 of the counting circuit 538.
“1” whose logical value is inverted by the NOT circuits 539 to 542
is output as the device number n of the human output control device 5-2.

以下同様にして、入出力制御装置5−3乃至5−15に
は、それぞれ13パルス乃至Oパルスの番号設定パルス
ii、および番号設定リセット信号riが伝達され、各
装置番号°自動設定回路507−3乃至507−15が
それぞれ装置番号nとして“2”乃至“15”を設定す
る。
Thereafter, in the same manner, number setting pulses ii of 13 pulses to O pulses and number setting reset signals ri are transmitted to the input/output control devices 5-3 to 5-15, respectively, and each device number ° automatic setting circuit 507- 3 to 507-15 set "2" to "15" as the device number n, respectively.

以上の説明から明らかな如く、本実施例によれば、チャ
ネル制御装置3から各入出力制御装置5に論理“0”の
リセット信号rが伝達されると、各入出力制御装置5内
の装置番号自動設定回路507が順次各装置番号nを自
動的に設定する。
As is clear from the above description, according to this embodiment, when the reset signal r of logic "0" is transmitted from the channel control device 3 to each input/output control device 5, the devices in each input/output control device 5 The number automatic setting circuit 507 automatically sets each device number n in sequence.

なお、第2図乃至第4図(blはあく迄本発明の一実施
例に過ぎず、例えば装置番号nは0乃至15に限定され
ることは無く、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。
Note that FIGS. 2 to 4 (BL are only one embodiment of the present invention; for example, the device number n is not limited to 0 to 15, and many other modifications may be considered. In either case, the effects of the present invention remain the same.

〔発明の効果〕〔Effect of the invention〕

以上、本発明によれば、入出力バスに接続された各人出
力制御装置の装置番号が自動的に設定されることとなり
、装置番号設定用の作業が不要となり、また操作誤り等
による誤設定の恐れも防止される。
As described above, according to the present invention, the device number of each individual output control device connected to the input/output bus is automatically set, eliminating the need for device number setting work, and erroneous setting due to operational error etc. The fear of this is also prevented.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による情報処理システムを示す図、第3図は本発明
の一実施例による装置番号自動設定回路を示す図、第4
図は第3図における各種信号波形を例示する図で、第4
図(a)は最前位にある入出力制御装置に関係し、第4
図(blは次位にある入出力制御装置に関係する、第5
図は本発明の対象となる情報処理システムの一例を示す
図、第6図は入出力制御装置アドレスの一例を示す図、
第7図は従来ある装置番号レジスタの一例を示す図であ
る。 図において、1は中央処理装置(CPU) 、2は主記
憶装置(MM) 、3はチャネル制御装置(CHC) 
、4は入出力バス、5は入出力制御装置(IOC) 、
6.61および62は番号設定信号線、41はアドレス
バス、42はデータバス、43は制御線、501は属性
レジスタ(Z R)、502は装置番号レジスタ(NR
)、503および504は一致検出回路(MC)、50
5はデコーダ(DCR,) 、506は起動信号作成器
、511乃至514はスイッチ、507は装置番号自動
設定回路(NST) 、515乃至518.525およ
び527は抵抗、521および539乃至542は否定
回路、522.523.529.531および543は
フリップフロップ、524.530.5321.533
.534.535.536および544はゲート、52
6.528および5木谷吐の原理閃 箒 1 圀 $2図り釧y嶽j里藺&曖目各 第 3 図 rσ C! y′7 欝               ・ 第 4 聞(し〕
FIG. 1 is a diagram showing the principle of the invention, FIG. 2 is a diagram showing an information processing system according to an embodiment of the invention, and FIG. 3 is a diagram illustrating an automatic device number setting circuit according to an embodiment of the invention. Fourth
The figure is a diagram illustrating various signal waveforms in Figure 3.
Figure (a) relates to the input/output control device at the forefront, and the fourth
Figure (bl is the 5th one related to the next input/output control device)
FIG. 6 is a diagram showing an example of an information processing system to which the present invention is applied, FIG. 6 is a diagram showing an example of an input/output control device address,
FIG. 7 is a diagram showing an example of a conventional device number register. In the figure, 1 is the central processing unit (CPU), 2 is the main memory (MM), and 3 is the channel control unit (CHC).
, 4 is an input/output bus, 5 is an input/output control device (IOC),
6. 61 and 62 are number setting signal lines, 41 is an address bus, 42 is a data bus, 43 is a control line, 501 is an attribute register (ZR), and 502 is a device number register (NR
), 503 and 504 are coincidence detection circuits (MC), 50
5 is a decoder (DCR), 506 is a start signal generator, 511 to 514 are switches, 507 is a device number automatic setting circuit (NST), 515 to 518, 525 and 527 are resistors, 521 and 539 to 542 are negative circuits , 522.523.529.531 and 543 are flip-flops, 524.530.5321.533
.. 534.535.536 and 544 are gates, 52
6.528 and 5 Kitani's principle flash broom 1 圀$2 圀釧 ytake j りいい & ふくめ each 3rd figure rσ C! y′7 Depression・4th hearing

Claims (1)

【特許請求の範囲】 複数の入出力制御装置(5)を入出力バス(4)に接続
し、チャネル制御装置(3)から前記各入出力制御装置
(5)に付与された装置番号(n)を指定して制御を行
う情報処理システムにおいて、 前記各入出力制御装置(5)を所定の順序に従って縦続
接続する信号線(6)と、 前記各入出力制御装置(5)に装置番号自動設定回路(
507)とを設け、 該装置番号自動設定回路(507)では、前位の入出力
制御装置(5)からの信号線(6)が接続されているか
否かを識別し、前記信号線(6)が接続されていない場
合には、予め定められた数の番号設定パルス(i)を、
前記後位の入出力制御装置(5)に至る信号線(6)に
送出すると共に、該送出した番号設定パルス(i)に対
応した装置番号(n)を自己の装置番号(n)として設
定し、 前記信号線(6)が接続されている場合には、該信号線
(6)を経由して前記前位の入出力制御装置(5)から
伝達される前記番号設定パルス(i)を計数し、該計数
値に基づき装置番号(n)を設定すると共に、前位の入
出力制御装置(5)から伝達された前記番号設定パルス
(i)より1パルスを減じた番号設定パルス(i)を前
記後位に至る番号設定信号線(6)に送出することを特
徴とする装置番号設定方式。
[Claims] A plurality of input/output control devices (5) are connected to an input/output bus (4), and a device number (n ) in an information processing system that specifies and controls a signal line (6) that cascades each of the input/output control devices (5) in a predetermined order; Setting circuit (
The device number automatic setting circuit (507) identifies whether or not the signal line (6) from the preceding input/output control device (5) is connected, and ) is not connected, a predetermined number of number setting pulses (i) are
It is sent to the signal line (6) leading to the downstream input/output control device (5), and the device number (n) corresponding to the sent number setting pulse (i) is set as its own device number (n). If the signal line (6) is connected, the number setting pulse (i) transmitted from the preceding input/output control device (5) via the signal line (6) is The device number (n) is set based on the counted value, and a number setting pulse (i) is generated by subtracting one pulse from the number setting pulse (i) transmitted from the preceding input/output control device (5). ) is sent to the number setting signal line (6) leading to the downstream device.
JP62046036A 1987-02-27 1987-02-27 Device number setting system Pending JPS63211449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62046036A JPS63211449A (en) 1987-02-27 1987-02-27 Device number setting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62046036A JPS63211449A (en) 1987-02-27 1987-02-27 Device number setting system

Publications (1)

Publication Number Publication Date
JPS63211449A true JPS63211449A (en) 1988-09-02

Family

ID=12735813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62046036A Pending JPS63211449A (en) 1987-02-27 1987-02-27 Device number setting system

Country Status (1)

Country Link
JP (1) JPS63211449A (en)

Similar Documents

Publication Publication Date Title
US3470542A (en) Modular system design
KR100196091B1 (en) Peripheral unit selection system
JPH0754466B2 (en) Data source system
US5327362A (en) System for detecting a runaway of a microcomputer
JPS63211449A (en) Device number setting system
EP0283230B1 (en) A register circuit
JPS6242306B2 (en)
US3710326A (en) Preferential offering signal processing system
US5563905A (en) Network communication system having time-sliced protocol
JPH01290040A (en) Digital signal switching circuit
JPS59106057A (en) Address stop system
JP3401729B2 (en) Split bus control circuit
JP2517943B2 (en) Timer device
JPS6273358A (en) Control method for microcomputer and its peripheral device
JPS6246897B2 (en)
SU930274A1 (en) Device for programme-control of actuators
SU1451707A1 (en) Device for interfacing computer with peripherals
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
JP2674858B2 (en) DMA controller with function capable of multiple operations
JPH02249054A (en) Data processor
JPH0213882A (en) Subscription timer circuit
JPS63155330A (en) Microprogram controller
JPS60113392A (en) Semiconductor memory device
JPS61289749A (en) Serial data transmitter
JPS58121432A (en) Memory control circuit