JPS6046463B2 - Waiting control method - Google Patents

Waiting control method

Info

Publication number
JPS6046463B2
JPS6046463B2 JP55153197A JP15319780A JPS6046463B2 JP S6046463 B2 JPS6046463 B2 JP S6046463B2 JP 55153197 A JP55153197 A JP 55153197A JP 15319780 A JP15319780 A JP 15319780A JP S6046463 B2 JPS6046463 B2 JP S6046463B2
Authority
JP
Japan
Prior art keywords
output
input
terminal
terminal device
waiting
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.)
Expired
Application number
JP55153197A
Other languages
Japanese (ja)
Other versions
JPS5776625A (en
Inventor
光男 鈴木
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP55153197A priority Critical patent/JPS6046463B2/en
Publication of JPS5776625A publication Critical patent/JPS5776625A/en
Publication of JPS6046463B2 publication Critical patent/JPS6046463B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol

Description

【発明の詳細な説明】 本発明は中央制御装置における入出力機器制御命令の待
合せ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a queuing control system for input/output device control commands in a central control unit.

本発明を説明するに当り、その概略のシステム構成図を
第1図に示す。
In explaining the present invention, a schematic system configuration diagram thereof is shown in FIG.

第1図において、中央制御装置100と各端末装置11
0、111〜11nとの間はアドレスバスA0〜A7、
入力機器制御バスIN)出力機器制御バスOUT)デー
タバスD0〜D7を介して各々バス接続されている。中
央制御装置100が入出力機器制御命令を実行すると、
アドレスバスA0〜A7を介してアドレス情報が送信さ
れると、端末機器のうちでそのアドレスバスA0〜A7
と端末機器アhャ激X(番号)とが一致した端末機器11
0のみが制御される。従来、この種の待合せ制御方式と
して第2図に示す方式がある。第2図において、中央制
御装置200が有する中央処理装置210が入力機器制
御命令を実行すると、IN端子がロウレベル、出力機器
制御命令を実行するとOUT端子がロウレ・ベルとなり
、該2端子を各々の入力とするアンドゲート250の出
力は、入出力機器制御命令を実行すると何れかの入力が
ロウレベルとなることからその出力はハイレベルからロ
ウレベルヘと変化する。この立下り(ハイレベルからロ
ウレベルヘの変化)を検出するインバータ204、低抗
205、コンデンサ206及びノアゲート203を有す
る微分回路により、待合せ制御カウンタ202にクリア
信号を送出し、待合せ制御カウンタ202の出力Dをハ
イレベルからロウレベルへ変化させる。待合せ制御カウ
ンタ202の出力Dは、中央処理装置210の待合せ制
御端子RDYに接続され、該カウンタ202の出力Dが
ハイレベルとなり、中央処理装置210への待合せ要求
信号を解除する。待合せ制御カウンタ202のCP端子
には、中央処理装置210の基本クロック端子CLKと
オアゲート201を介して接続され、基本クロックによ
り計数加算を行つて、待合せ制御カウンタ202の出力
Dがハイレベルとなると、オアゲート201の出力はハ
イレベルのままとなり、基本クロックが到来していても
、これ以上計数加算しない。換言すれば、待合せ制御カ
ウンタ202の出力端子Dがロウレベルとなつてからロ
ウレベルとなる迄の時間が、中央処理装置210の待合
せ時間となることに他ならない。
In FIG. 1, a central control device 100 and each terminal device 11
0, 111 to 11n are address buses A0 to A7,
They are connected to each other via an input device control bus IN) and an output device control bus OUT) data buses D0 to D7. When the central control device 100 executes the input/output device control command,
When address information is transmitted via the address buses A0 to A7, the terminal equipment uses the address buses A0 to A7 to
Terminal device 11 that matches the terminal device Aha Geki X (number)
Only 0 is controlled. Conventionally, there is a system shown in FIG. 2 as this type of waiting control system. In FIG. 2, when the central processing unit 210 of the central control unit 200 executes an input device control command, the IN terminal becomes low level, and when the output device control command is executed, the OUT terminal becomes low level, and the two terminals are The output of the AND gate 250, which is used as an input, changes from a high level to a low level because one of the inputs becomes a low level when an input/output device control command is executed. A differentiating circuit including an inverter 204, a low resistor 205, a capacitor 206, and a NOR gate 203 that detects this fall (change from high level to low level) sends a clear signal to the waiting control counter 202, and outputs D of the waiting control counter 202. changes from high level to low level. The output D of the rendezvous control counter 202 is connected to the rendezvous control terminal RDY of the central processing unit 210, and the output D of the counter 202 becomes high level, canceling the rendezvous request signal to the central processing unit 210. The CP terminal of the waiting control counter 202 is connected to the basic clock terminal CLK of the central processing unit 210 via the OR gate 201, and when the basic clock performs counting and addition, and the output D of the waiting control counter 202 becomes high level, The output of the OR gate 201 remains at a high level, and no further counting is performed even if the basic clock arrives. In other words, the time from when the output terminal D of the waiting control counter 202 goes low to when it goes low is the waiting time of the central processing unit 210.

ここで、中央処理装置210が端末機器に入出力機器制
御命令を実行した場合に、安定した制御を実行できるた
めの待合せ時間を設けるためには、各端末機器内の集積
回路等の遅延時間及び中央処理装置210と端末機器と
の間の距離に関する伝搬遅延時間等を考慮して、最大遅
延時間により待合せ時間を設定する必要があり、待合せ
制御カウンタ202の計数加算値を設定する。ここで、
従来技術の欠点としては、前記のごとく中央制御装置2
00と端末機器間の距離が短かく各信号の伝搬遅延時間
が小さく、また端末機器内の集積回路等による遅延時間
が小さい場合にも、システム全体で最も遅延時間を要す
る待合せ時間で待合せ制御カウンタ202の待合せ時間
値を設定してあるために、自動的に最大の待合せ時間を
経過しなければ、中央処理装置210は次の処理を実行
することができない。
Here, in order to provide a waiting time for stable control when the central processing unit 210 executes an input/output device control command for a terminal device, it is necessary to It is necessary to set the waiting time based on the maximum delay time, taking into account the propagation delay time related to the distance between the central processing unit 210 and the terminal equipment, and set the count addition value of the waiting control counter 202. here,
As mentioned above, the drawbacks of the prior art are that the central control unit 2
Even if the distance between 00 and the terminal device is short, the propagation delay time of each signal is small, and the delay time due to the integrated circuit in the terminal device is small, the waiting control counter is set at the waiting time that requires the longest delay time in the entire system. Since the waiting time value 202 is set, the central processing unit 210 cannot execute the next process unless the maximum waiting time automatically elapses.

すなわち、中央処理装置210が、小さい待合せ時間で
充分である端末機器に対して、入出力機器制御命令を実
行した場合に無効(ロス)時間が大となる欠点があり、
中央処理装置210における処理時間に大きな影響を及
ほし、処理能力の低下に大きく起因しているという欠点
があつた。
That is, when the central processing unit 210 executes an input/output device control command for a terminal device for which a short waiting time is sufficient, there is a drawback that the invalidity (loss) time is large.
This has the disadvantage that it has a large effect on the processing time in the central processing unit 210 and is largely attributable to a decrease in processing capacity.

また、端末機器が障害等によつて、中央制御装置200
の制御バスから除かれている場合にも、中央制御装置2
00は該端末機器が存在していないにもかかわらず、該
端末機器に対して入出力機器制御命令を実行してしまう
という欠点があつた。本発明の目的はこれらの欠点をな
くし、中央制御装置と各端末機器との間の遅延時間を各
端末機器毎に検出可能な手段を設け、端末機器毎の遅延
時間のみを待合せ時間として無効となる時間を極力小さ
くすることになり、中央制御装置の処理能力を向上させ
ると同時に、端末機器のうちで中央制御装置の制御下に
ない端末機器をあらかじめ検出して、該端末機器に対し
て無効となる入出力機器制御命令を実行させないことに
より、正確でよりきめ細から入出力制御を実行させるこ
とを考慮した待合せ制御方式を供給することにある。
In addition, the central control unit 200 may
central control unit 2 even if it is excluded from the control bus of
00 had the drawback that an input/output device control command was executed for the terminal device even though the terminal device did not exist. The purpose of the present invention is to eliminate these drawbacks, provide a means that can detect the delay time between the central control unit and each terminal device for each terminal device, and make it possible to invalidate only the delay time of each terminal device as the waiting time. This reduces the amount of time it takes for the central control unit to operate, improving the processing capacity of the central control unit, and at the same time detecting terminal devices that are not under the control of the central control unit in advance and disabling them. The purpose of the present invention is to provide a queuing control system that takes into consideration accurate and more detailed input/output control by not executing input/output device control commands.

この目的を達成するため本発明の待合せ制御方式は後述
の本発明の実施例においては、中央制御装置がその制御
下にある複数の端末機器のうち選択された端末機器にの
み入出力機器制御命令を実行するシステムにあつて、上
記中央制御装置から制御される入出力機器制御命令の後
にデータ取込及びデータ取出を行う迄の待合せ時間を制
御する待合せ制御方式において、上記中央制御装置に設
けられた中央処理装置が入出力機器制御命令を実行中で
ない間に計数加算され端末機器アドレスを送出する手段
と、前記端末機器アドレスと一致する端末機器からの応
答信号が返信される迄の時間値を計数加算し記憶する手
段とによつて、端末機器に対して入出力機器制御命令を
実行する毎に前記端末機器毎の待合せ時間値を計数加算
し記憶する手段から待合せ時間値を読出し計数減算し待
合せ時間を決定する手段と、前記手段に記憶された時間
値があらかじめ定められた一定時間値を越えた端末機器
に対しては上記入出力機器制御命令を実行しない手段と
を併せ備える構成とする。本発明の特徴は、中央処理装
置の制御信号バスとは無関係に、待合せ制御時間検出用
のバスを設け、該バスは中央処理装置が入出力機器制御
命令を実行していない間(すなわち(メモリ制御命令を
実行している間)に計数加算されるカウンタの値によつ
て出力され、カウンタの値と一致する端末機器アドレス
を有する端末機器が応答する迄の時間を中央制御装置内
のメモリに記憶しておき、中央処理装置が端末機器に対
して入出力機器制御命令実行時に前記メモリの内容に相
当する時間値を待合せ時間値とするようにし、中央制御
装置と端末機器との間のデータ転送遅延時間を検出する
ことにより、各端末機器毎に必要な遅延時間のみを待合
せ時間とするようにし、中央制御装置の無効時間を減ら
し処理能力が低下しないようにし、さらに前記メモリを
読出すことにより、中央制御装置のバスから切離されて
いる端末機器を検出して再び端末機器がバスに接続され
る迄の間、中央処理装置は該端末機器に対して入出力機
器制御命令を実行して無効処理を行わないようにしても
中央処理装置の処理能力を向上させるように構成する。
次に本発明の実施例を第3図及び第4図を用いて説明す
る。
In order to achieve this purpose, the waiting control method of the present invention is such that, in the embodiments of the present invention described later, the central control unit issues input/output device control commands only to selected terminal devices from among the plurality of terminal devices under its control. In a system that executes the above, in a waiting control method that controls a waiting time until data import and data retrieval is performed after an input/output device control command controlled from the central controller, the system is provided in the central controller. means for adding and transmitting a terminal device address while the central processing unit is not executing an input/output device control command, and a time value until a response signal from the terminal device matching the terminal device address is returned. Each time an input/output device control command is executed for a terminal device, the waiting time value is read out and subtracted from the means for counting and storing the waiting time value for each terminal device. The system is configured to include means for determining a waiting time, and means for not executing the input/output device control command for a terminal device whose time value stored in the means exceeds a predetermined fixed time value. . A feature of the present invention is that a bus for detecting waiting control time is provided independently of the control signal bus of the central processing unit. It is output based on the value of the counter that is incremented during the execution of the control command (while executing the control command), and the time until the terminal device with the terminal device address that matches the counter value responds is stored in the memory in the central control unit. The time value corresponding to the contents of the memory is set as the waiting time value when the central processing unit executes an input/output device control command to the terminal device, and the data between the central control unit and the terminal device is stored. By detecting the transfer delay time, only the delay time necessary for each terminal device is set as the waiting time, reducing the invalid time of the central control unit so that the processing capacity does not decrease, and further reading the memory. The central processing unit executes input/output device control commands to the terminal device until it detects a terminal device that has been disconnected from the bus of the central control device and connects the terminal device to the bus again. The processing capacity of the central processing unit is improved even if invalidation processing is not performed.
Next, an embodiment of the present invention will be described using FIGS. 3 and 4.

第3図は本発明の実施例のシステム構成図で、300は
中央制御装置、310,311・・・・・・31nは端
末機器である。
FIG. 3 is a system configuration diagram of an embodiment of the present invention, where 300 is a central control unit and 310, 311, . . . , 31n are terminal devices.

第3図において、中央制御装置300は、端末機器31
0,311・・・・・・,31nとの間を端末機器アド
レス生成バスTAO〜TA7及び端末機器アドレスー致
応答バスANSを介して各々バス接続される。中央制御
装置300が、その内部処理により端末機器アドレスに
一致する機器アドレスをTAO〜TA7のバス上に出力
すると、該アドレスに一致した端末機器のみが中央制御
装置300に対して、前記端末機器アドレスー致応答バ
スANSを介して、応答情報を出力するようにし、入力
機器制御命令はIN,出力機器制御命令は0UT、アド
レスAO〜A7、データDO〜D7その各々のバスを介
して、各端末機器310〜31nを制御するように構成
される。次に第4図により本発明の詳細な説明を行う。
In FIG. 3, the central control device 300 includes a terminal device 31
0, 311 . When the central control device 300 outputs a device address that matches the terminal device address on the bus of TAO to TA7 through its internal processing, only the terminal device that matches the address sends the terminal device address to the central control device 300. The response information is output via the response response bus ANS, and the input device control command is IN, the output device control command is 0UT, addresses AO to A7, data DO to D7, and each terminal device is 310-31n. Next, the present invention will be explained in detail with reference to FIG.

第4図において、第3図における中央制御装置300、
端末機器310に対応するものは、400の中央制御装
置及び410の端末機器である。中央処理装置400を
有する中央処理装置420が入出力機器制御命令を実行
していない場合、すなわちメモリ制御命令を実行してい
る場合には中央処理装置420のMEMR(メモリ読出
し命令)MEMW(メモリ書き込み命令)の何れかの出
力はハイレベルとなることにより、オアゲート436の
出力もまたハイレベルとなり、アンドゲートの一方の入
力もまたハイレベルとなる。ここで、メモリ制御命令の
うちでアドレスの上位のA8〜Al5が全てハイレベル
以外の場合には、ナンドゲート438の出力はハイレベ
ルとなり、前記アンドゲート437のもう一方の入力も
またハイレベルとなり、出力もまたハイレベルとなる。
次に、各命令の区切毎に出力される(換言すれば各命令
の最初に出力される)ハイレベルのSTSTB信号とア
ンドゲート437の出力とを入力とするナンドゲート4
21の出力はロウレベルとなり、フリップフロップ42
2の出力0をハイレベルからロウレベルへと変化させる
。このハイレベルからロウレベルへの変化を入力とする
次段の端末機器アドレス生成用カウンタ423は計数加
算されることになる。端末機器アドレス生成用カウンタ
423の出力は、バツフアゲート424を介して中央制
御装置400の出力端子TAO〜TA7から端末機器ア
ドレス生成バス425を構成する。次に、前記端末機器
アドレス生成バス425上に端末機器410の有する機
器アドレスと一致したアドレスが出力された場合に、端
末機器410は端末機器アドレスー致応答バス426上
にロウレベルを出力することにより、中央制御装置40
0はANS端子を介して、レシーバゲート427に入力
されるところのレシーバゲート427の出力は、アンド
ゲート428の一方に入力され、該出力がロウレベルと
なることにより、待合せ時間ノ計数加算用カウンタ42
9の計数加算値を待合せ時間一時蓄積レジスタ430に
蓄積する。
In FIG. 4, the central control device 300 in FIG.
Corresponding to the terminal device 310 is a central control device 400 and a terminal device 410. When the central processing unit 420 including the central processing unit 400 is not executing an input/output device control command, that is, when executing a memory control command, the MEMR (memory read command) and MEMW (memory write command) of the central processing unit 420 are executed. When the output of any one of the commands becomes high level, the output of the OR gate 436 also becomes high level, and one input of the AND gate also becomes high level. Here, if the upper addresses A8 to Al5 of the memory control commands are all other than high level, the output of the NAND gate 438 becomes high level, and the other input of the AND gate 437 also becomes high level, The output also becomes high level.
Next, a NAND gate 4 receives the high-level STSTB signal output at each instruction break (in other words, output at the beginning of each instruction) and the output of the AND gate 437.
The output of 21 becomes low level, and the output of flip-flop 42
Change the output 0 of 2 from high level to low level. The terminal device address generation counter 423 at the next stage, which receives this change from high level to low level as input, performs counting and addition. The output of the terminal device address generation counter 423 forms a terminal device address generation bus 425 from output terminals TAO to TA7 of the central control unit 400 via a buffer gate 424. Next, when an address that matches the device address of the terminal device 410 is output on the terminal device address generation bus 425, the terminal device 410 outputs a low level on the terminal device address-match response bus 426. Central control device 40
0 is input to the receiver gate 427 via the ANS terminal.The output of the receiver gate 427 is input to one side of the AND gate 428, and when the output becomes low level, the waiting time count addition counter 42
The count addition value of 9 is accumulated in the waiting time temporary accumulation register 430.

待合せ時間計数加算用カウンタ429のCL端子は、前
記フリップフロップ422の出力0と接続されており、
該フリップフロップ422の出力0がハイ7レベルから
ロウレベルに変化すると、待合せ時間計数加算用カウン
タ429のCL端子もまたロウレベルとなり、中央処理
装置420から到来する基本クロックに同期して計数加
算を開始する。次に、フリップフロップ422の出力0
がハイフレベルからロウレベルに変化することにより、
端末機器アドレス生成用カウンタ423を計数加算する
と同時に、待合せ時間計数加算用カウンタ429もまた
中央処理装置420の基本クロックに同期して計数加算
することになり、本計数加算値は端末機器410から端
末機器アドレスー致応答バス426上に、ロウレベルで
ある応答信号が到来することにより、待合せ時間一時蓄
積レジスタ430に蓄積されることに他ならない。レジ
スタ430に蓄積された待合せ計数加算値は、端末機器
アドレス生成カウンタ423の出力を一方の入力とし、
他の入力が中央処理装置420のデータバスDO〜D7
と接続されたセレクタ431の出力をアドレスとするラ
ンダムアクセスメモリ432に、待合せ処理回路433
の制御により書込まれる。
The CL terminal of the waiting time counting addition counter 429 is connected to the output 0 of the flip-flop 422,
When the output 0 of the flip-flop 422 changes from high 7 level to low level, the CL terminal of the waiting time counting addition counter 429 also becomes low level, and counting and addition starts in synchronization with the basic clock coming from the central processing unit 420. . Next, the output of flip-flop 422 is 0
By changing from high level to low level,
At the same time as the terminal equipment address generation counter 423 is counted and added, the waiting time counting and addition counter 429 is also counted and added in synchronization with the basic clock of the central processing unit 420, and the added value is transferred from the terminal equipment 410 to the terminal. When a low level response signal arrives on the device address match response bus 426, the waiting time is simply stored in the temporary storage register 430. The waiting count addition value accumulated in the register 430 uses the output of the terminal device address generation counter 423 as one input, and
Other inputs are data buses DO to D7 of the central processing unit 420.
A queue processing circuit 433 is stored in a random access memory 432 whose address is the output of a selector 431 connected to
Written under the control of

ここで、待合せ処理回路433は、待合せ時間一時蓄積
レジスタ430に蓄積されたことを、アンドゲート42
8の出力と接続されたLD入力により検出して、中央処
理装置420が入出力機器制御命令を実行していない場
合に、MREO端子がハイレベルとなる間にセレクタ4
31を介して端末機器アドレス生成カウンタ423の出
力をランダムアクセスメモリ432のアドレス入力とし
て、待合せ時間一時蓄積レジスタ430の出力をデータ
取出入力として書込制御を実行する。
Here, the queuing processing circuit 433 uses the AND gate 42 to store information accumulated in the queuing time temporary storage register 430.
If the central processing unit 420 is not executing an input/output device control command as detected by the LD input connected to the output of selector 4 while the MREO terminal is at a high level,
31, the output of the terminal device address generation counter 423 is used as the address input of the random access memory 432, and the output of the temporary waiting time storage register 430 is used as the data retrieval input to perform write control.

このことにより、ランダムアクセスメモリ432の端末
機器毎の待合せ時間が記憶される。ランダムアクセスメ
モリ432への書込み処理の終了で待合せ処理回路43
3は、S端子からロウレベルを出力することにより、フ
リップフロップ422の出力0をハイレベルとするが、
この時にフリップフロップ422のもう一方の入力端R
にナンドゲート421からロウレベルが倒来しても該フ
リップフロップ422の出力0はハイレベールのままと
なる性質を有しており誤動作防止を行つている。
As a result, the waiting time for each terminal device is stored in the random access memory 432. Upon completion of the write process to the random access memory 432, the waiting processing circuit 43
3 makes the output 0 of the flip-flop 422 a high level by outputting a low level from the S terminal, but
At this time, the other input terminal R of the flip-flop 422
Even if a low level falls from the NAND gate 421, the output 0 of the flip-flop 422 remains at a high level, thereby preventing malfunction.

ここで、フリップフロップ422の出力0がハイレベル
となることにより、前記バツフアゲート424の出力を
ハイインピーダンスとすることに.よつて、端末機器ア
ドレス生成バス425は全てハイレベルとなる。
Here, since the output 0 of the flip-flop 422 becomes high level, the output of the buffer gate 424 becomes high impedance. Therefore, all of the terminal device address generation buses 425 become high level.

全てのビットがハイレベルとなる端末機器アドレスは存
在しないように構成しておくことから、何れの端末機器
も端末機器アドレスー致応答バス・426上にロウレベ
ルを送出せず、ハイレベルとなる。
Since the configuration is such that there is no terminal device address in which all bits are high level, no terminal device sends a low level onto the terminal device address match response bus 426 and becomes high level.

この端末機器アドレスー致応答バス426がハイレベル
となることを、中央制御装置400のANS端子を介し
て、レシーバゲート427、アンドゲート428と伝達
し、待合せ処理回路433のDL端子迄伝達される。待
合せ処理回路433は、LD端子がロウレベルからハイ
レベルに変化したことにより、S端子のロウレベル出力
をハイレベルと変化させる。
The fact that the terminal device address-match response bus 426 becomes high level is transmitted to the receiver gate 427 and the AND gate 428 via the ANS terminal of the central control unit 400, and then to the DL terminal of the rendezvous processing circuit 433. The waiting processing circuit 433 changes the low level output of the S terminal to high level when the LD terminal changes from low level to high level.

次いで、中央処理装置420が入出力機器制御命令を実
行しない場合で、さらに命令の最初であれば、MEMR
端子またはMQr!4w端子及びSTSTB端子がハイ
レベルとなり、ナンドゲート)42の出力をロウレベル
とし、本説明の最初で述べた内容へと続くことになり、
ランダムアクセスメモリの内容は、全ての端末機器に対
する待合せ時間を記憶する。次に、中央処理装置420
が入出力機器制御命・令を実行すると、MEMR信号、
MEMW信号ともロウレベルであり、オアゲート436
の出力及びアンドゲート437の出力もまたロウレベル
となり、セレクタ31のゲートもロウレベルとなり、そ
の出力は中央処理装置420のAO〜A7が選゛択され
る。
Next, if the central processing unit 420 does not execute the input/output device control instruction and is the first instruction, the MEMR
Terminal or MQr! The 4w terminal and the STSTB terminal become high level, the output of NAND gate) 42 becomes low level, and the contents described at the beginning of this explanation are continued.
The contents of the random access memory store the waiting times for all terminal devices. Next, the central processing unit 420
When executes an input/output device control instruction/instruction, the MEMR signal,
Both MEMW signals are at low level, and the OR gate 436
and the output of the AND gate 437 are also at a low level, the gate of the selector 31 is also at a low level, and AO to A7 of the central processing unit 420 are selected for the output.

中央処理装置420のAO〜A7出力は、前記ランダム
アクセスメモリ432のアドレスとなると同時に、AO
B−AO7Bのバスを介して、端末機器に入出力機器制
御命令と実行する端末機器アドレスを供給する。
The AO to A7 outputs of the central processing unit 420 become the addresses of the random access memory 432, and at the same time
The input/output device control command and the terminal device address to be executed are supplied to the terminal device via the B-AO7B bus.

ランダムアクセスメモリ432のアドレスに対応する端
末機器待合せ時間値がランダムアクセスメモリ432の
DOO〜DO7端子から出力される。
The terminal equipment waiting time value corresponding to the address of random access memory 432 is output from terminals DOO to DO7 of random access memory 432.

この値を中央処理装置420の出力機器制御命令実行信
号10Wまたは入力機器制御命令実行信号10Rの何れ
かが実行されたときに、ロウレベルとなるアンドゲート
435の出力に接続された計数加算(カウントダウン)
カウンタ434のLD端子により、同計数減算カウンタ
434内に入力させる。計数加算カウンタ434は、中
央処理装置420のCLK端子から到来する基本クロッ
クに同期して計数減算される。
This value is added by a count (countdown) connected to the output of an AND gate 435 that becomes low level when either the output device control command execution signal 10W or the input device control command execution signal 10R of the central processing unit 420 is executed.
The LD terminal of the counter 434 causes the same count to be input into the subtraction counter 434. The counting addition counter 434 is decremented in synchronization with the basic clock coming from the CLK terminal of the central processing unit 420.

中央処理装置420は、計数減算カウンタ434のボロ
ウ(繰り下げ)端子BRとインバータ436を介して接
続されていることにより、計数減算カウンタ434が計
数減算を開始してポロウ(繰り下げ)端子BRより、ロ
ウレベルの繰下げ信号を送出する迄中央処理装置420
の待合せ制御端子RDYをロウレベルとして、中央制御
装置420を待合せ状態とする。
The central processing unit 420 is connected to the borrow terminal BR of the counting subtraction counter 434 via the inverter 436, so that the counting subtraction counter 434 starts counting and the low level is reached from the borrow terminal BR. The central processing unit 420
The central control unit 420 is placed in a waiting state by setting the waiting control terminal RDY of the central controller 420 to a low level.

次に、計数減算カウンタ434が計数減算を実行して、
ポロウ(繰り下げ)端子BRよりロウレベルを出力する
と、インバータ436の出力はハイレベルとなり、中央
制御装置420の待合せ制御端子RDYもハイレベルと
なり、待合せ状態から命令実行状態へと処理が進行して
、端末機器に対して入出力命令を実行することができる
Next, the count subtraction counter 434 performs count subtraction,
When a low level is output from the pollo terminal BR, the output of the inverter 436 becomes a high level, and the queue control terminal RDY of the central controller 420 also becomes a high level, and the process progresses from the waiting state to the command execution state, and the terminal It is possible to execute input/output commands to the device.

このことは、中央処理装置420が入出力命令を実行し
ていない間に、各端末機器への入出力命令アドレスと一
致する各端末機器アドレス対応に中央制御装置からの入
出力機器制御命令を安定して実行可能な待合せ時間を記
憶するランダムアクセスメモリ432を設け、入出力命
令実行時には該メモリ432の待合せ値に応じた待合せ
時間を設けるようにする。次に、端末機器が存在しない
アドレスが、前記端末機器アドレス生成バス425上に
出力されて来た場合には、何れの端末機器からも、端末
機器アドレスー致応答バス426上にはロウレベルを出
力して来ない。
This means that while the central processing unit 420 is not executing input/output commands, the input/output device control commands from the central controller are stabilized for each terminal device address that matches the input/output command address to each terminal device. A random access memory 432 is provided for storing an executable waiting time, and when an input/output command is executed, a waiting time is set according to the waiting value of the memory 432. Next, when an address where no terminal device exists is output on the terminal device address generation bus 425, a low level is output on the terminal device address-match response bus 426 from any terminal device. It doesn't come.

従つて待合せ時間計数加算用カウンタ429は、繰上げ
(キャリー)端子CRよりロウレベルの繰上げ信号が出
力されることによつてのみ、前記待合せ時間計数加算用
カウンタ429の値(全てのビットがハイレベル)が待
合せ時間一時蓄積レジスタ430に蓄積される。待合せ
処理回路433は、待合せ時間計数加算用カウンタ42
9から繰上げ(キャリー)信号を、ALM端子により受
信して、待合せ時間一時蓄積レジスタ430の内容をラ
ンダムアクセスメモリ432内に書込む。このことによ
り、ある端末機器が障害等により各種バスから切離され
た場合において、その待合せ時間はランダムアクセスメ
モリ432内に全ビットがハイレベルとして蓄積される
Therefore, the waiting time counting addition counter 429 changes the value of the waiting time counting addition counter 429 (all bits are at high level) only when a low level carry signal is output from the carry terminal CR. is accumulated in the waiting time temporary accumulation register 430. The waiting processing circuit 433 includes a waiting time counting addition counter 42.
A carry signal from 9 is received by the ALM terminal to write the contents of the waiting time temporary storage register 430 into the random access memory 432. As a result, when a certain terminal device is disconnected from various buses due to a failure or the like, all bits are stored at a high level in the random access memory 432 during the waiting time.

ここで、中央処理装置420は定期的にその上位メモリ
アドレスA8〜Al5が全てハイレベルであり、下位メ
モリアドレスAO〜A7のうち1ビットずつ変化させる
メモリ読出し名令を実行すると、中央処理装置420の
アドレスA8〜Al5がハイレベルであることから、ナ
ンドゲート438の出力はロウレベルとなることより、
インバータ439の出力は本発明■ハ恨端子もまたハイ
レベルとなることによりナンドゲート440の出力はロ
ウレベルとなる。
Here, if the central processing unit 420 periodically executes a memory read name instruction that changes one bit at a time among the lower memory addresses AO to A7 while the upper memory addresses A8 to Al5 are all at a high level, the central processing unit 420 Since addresses A8 to Al5 are at high level, the output of NAND gate 438 is at low level.
Since the output of the inverter 439 also goes to the high level according to the present invention (1), the output of the NAND gate 440 goes to the low level.

一方、ナンドゲート438の出力がロウレベルであるこ
とから、アンドゲート437の出力はロウレベルとるこ
とにより、セレクタ431は中央処理装置420のアド
レスAO〜A7端子の信号を選択することによつて、ラ
ンダムアクセスメモリ432のデータ端子DOO〜DO
7から端末機器アドレス対応の待合せ時間値を出力する
ことによ″つて、前記スリーステタスゲート441の入
力端子迄伝達され、ナンドゲート440の出力と接続さ
れたスリーステータスゲート441のゲートコントロー
ル部は、ナンドゲート440がロウレベルとなることに
より、スリーステータスゲート441の入力情報(待合
せ時間値)が中央処理装置420のデータ入力DO〜D
7となり、中央処理装置420内に取込まれる。
On the other hand, since the output of the NAND gate 438 is at a low level, the output of the AND gate 437 is at a low level, and the selector 431 selects the signals at the address AO to A7 terminals of the central processing unit 420, thereby controlling the random access memory. 432 data terminals DOO~DO
7 to the input terminal of the three status gate 441, and is connected to the output of the NAND gate 440. 440 becomes low level, the input information (waiting time value) of the three status gate 441 becomes the data input DO~D of the central processing unit 420.
7 and is taken into the central processing unit 420.

このように、定期的にランダムアクセスメモリ432の
内容を読出すことにより、端末機器が障害等の原因によ
り、中央制御装置400の制御バスから切離されている
場合には、前記ランダムアクセスメモリ432の待合せ
時間値が全てハイレベルであることから検出可能である
In this way, by periodically reading the contents of the random access memory 432, when the terminal equipment is disconnected from the control bus of the central control unit 400 due to a failure or the like, the contents of the random access memory 432 can be read out. This can be detected because all of the waiting time values are at a high level.

端末機器が中央制御装置400の制御バスから切離され
ていることを検出した時点から以後、再び定期的にラン
ダムアクセスメモリ432の内容を読出し、該端末機器
が中央制御装置400の制御バスに接続されることを検
出する迄の間に、該端末機器に対して入出力命令を実行
して、無効処理を実行させないようにすることにより、
全端末機器に対する処理をきめ細く制御させるようにさ
れている。
From the time when it is detected that the terminal device is disconnected from the control bus of the central control device 400, the contents of the random access memory 432 are periodically read again, and the terminal device is connected to the control bus of the central control device 400. By executing input/output commands to the terminal device and preventing it from executing invalidation processing until it is detected that the
Processing for all terminal devices is finely controlled.

本発明は以上説明したように、中央処理装置が入出力機
器制御命令を実行していない間に、端末機器が必要とす
る待合せ時間を検出して、端末機器毎にその待合せ時間
値をメモリしておき、中央処理装置が端末機器に対して
入出力機器制御命令を実行時に、前記待合せ時間値を読
出し、それに応じた待合せ時間を設けるようにすること
により各端末機器毎に必要な遅延時間を待合せ時間とす
ることができる。
As explained above, the present invention detects the waiting time required by the terminal equipment while the central processing unit is not executing input/output equipment control commands, and stores the waiting time value for each terminal equipment. Then, when the central processing unit executes an input/output device control command to a terminal device, it reads the waiting time value and sets a corresponding waiting time, thereby reducing the delay time required for each terminal device. It can be a waiting time.

これにより、中央制御装置の無効(ロス)時間をなくす
ことができ、処理能率を著しく向上することができる。
This makes it possible to eliminate ineffective (loss) time of the central control unit, and to significantly improve processing efficiency.

また、端末機器が中央処理装置の制御下ではなくなつた
楊合には、前記メモリの内容があるため定められた一定
値以上となることにより検出して、該端末機器に対して
入出力機器制御命令を実行させないことによつてもきめ
細い制御が可能とできる等の効果を有する。
In addition, when a terminal device is no longer under the control of the central processing unit, it is detected when the content of the memory exceeds a predetermined value, and the input/output device for the terminal device is detected. This has the advantage that fine control can be achieved even by not executing control commands.

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

第1図は従来の待合せ制御方式の1例のシステム構成図
で、100は中央制御装置、110〜11nは端末機器
である。 第2図は従来の待合せ制御方式の1例の主要部の回路図
で、200は中央制御装置、210は中央処理装置、2
04はオアゲート、202はカウンタ、203はノアゲ
ート、204はインバータ、250はアンドゲート、2
05は抵抗、206はコンデンサである。 第3図は本発明の実施例のシステム構成図で、300は
中央制御装置、310〜31nは端末機器である。 第4図は本発明の実施例の主要部の回路図で、400は
中央制御装置、420は中央処理装置、432は待合せ
時間記憶用ランダムアクセスメモリ、424はバスドラ
イバ、427,441はバスレシーバ(スリーステタス
ゲート)、433は待合せ処理回路、423,429,
434はカウンタ、430はラッチレジスタ、438,
440,421はナンドゲート、436はオアゲート、
437,435,428はアンドゲート、436,43
9はインバータ、431はセレクタである。
FIG. 1 is a system configuration diagram of an example of a conventional waiting control system, in which 100 is a central control unit and 110 to 11n are terminal devices. FIG. 2 is a circuit diagram of the main parts of an example of a conventional waiting control system, in which 200 is a central control unit, 210 is a central processing unit, 2
04 is an OR gate, 202 is a counter, 203 is a NOR gate, 204 is an inverter, 250 is an AND gate, 2
05 is a resistor, and 206 is a capacitor. FIG. 3 is a system configuration diagram of an embodiment of the present invention, where 300 is a central control unit and 310 to 31n are terminal devices. FIG. 4 is a circuit diagram of the main parts of the embodiment of the present invention, in which 400 is a central control unit, 420 is a central processing unit, 432 is a random access memory for storing waiting time, 424 is a bus driver, and 427 and 441 are bus receivers. (three status gate), 433 is a waiting processing circuit, 423, 429,
434 is a counter, 430 is a latch register, 438,
440, 421 is Nand Gate, 436 is Or Gate,
437, 435, 428 are AND gates, 436, 43
9 is an inverter, and 431 is a selector.

Claims (1)

【特許請求の範囲】 1 中央制御装置の制御下にある複数の端末機器のうち
の選択された端末機器にのみ前記中央制御装置が入出力
機器制御命令を実行するシステムにあつて、前記中央制
御装置に設けられる中央処理装置により制御される前記
入出力機器制御命令の後にデータ取込及びデータ取出を
行う迄の待合せ時間を制御する待合せ制御方式において
、前記中央処理装置が前記入出力機器制御命令を実行中
でない間に計数加算され端末機器アドレスを送出する手
段と複数端末機器アドレスに一致する端末機器からの応
答信号が返信される迄の時間値を計数加算し記憶する記
憶手段とによつて、前記端末機器に対して前記入出力機
器制御命令を実行する毎に前記端末機器毎の待合せ時間
値を計数加算し記憶する手段から読出し計数減算し待合
せ時間を決定する手段を備えることを特徴とする待合せ
制御方式。 2 中央制御装置の制御下にある複数の端末機器のうち
の選択された端末機器にのみ前記中央制御装置が入出力
機器制御命令を実行するシステムにあつて、前記中央制
御装置に設けられる中央処理装置により制御される前記
入出力機器制御命令の後にデータ取込及びデータ取出を
行う迄の待合せ時間を制御する待合せ制御方式において
、前記中央処理装置が前記入出力機器制御命令を実行中
でない間に計数加算され端末機器アドレスを送出する手
段と、前記端末機器アドレスに一致する端末機器からの
応答信号が返信される迄の時間値を計数加算し記憶する
記憶手段と、前記記憶手段から定期的に読出される値が
所定の時間値を越える端末機器に対して前記入出力機器
制御命令を実行しない手段とを備えることを特徴とする
待合せ制御方式。
[Scope of Claims] 1. In a system in which the central controller executes an input/output device control command only for a selected terminal device out of a plurality of terminal devices under the control of the central controller, the central controller In a waiting control method that controls a waiting time until data import and data retrieval is performed after the input/output equipment control command is controlled by a central processing unit provided in the device, the central processing unit executes the input/output equipment control command. means for counting and transmitting the terminal equipment address while not being executed, and storage means for counting and storing the time value until the response signal from the terminal equipment matching the plurality of terminal equipment addresses is returned. , comprising means for determining the waiting time by reading and subtracting the waiting time value from the means for adding and storing the waiting time value for each terminal device each time the input/output device control command is executed for the terminal device. Waiting control method. 2. In a system in which the central controller executes input/output device control commands only for selected terminal devices out of a plurality of terminal devices under the control of the central controller, a central processing unit provided in the central controller In a waiting control method that controls a waiting time until data import and data retrieval is performed after the input/output equipment control command controlled by the device, while the central processing unit is not executing the input/output equipment control command, means for counting and adding and transmitting a terminal device address; a storage means for counting and storing a time value until a response signal from a terminal device matching the terminal device address is returned; and means for not executing the input/output device control command for a terminal device whose read value exceeds a predetermined time value.
JP55153197A 1980-10-31 1980-10-31 Waiting control method Expired JPS6046463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55153197A JPS6046463B2 (en) 1980-10-31 1980-10-31 Waiting control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55153197A JPS6046463B2 (en) 1980-10-31 1980-10-31 Waiting control method

Publications (2)

Publication Number Publication Date
JPS5776625A JPS5776625A (en) 1982-05-13
JPS6046463B2 true JPS6046463B2 (en) 1985-10-16

Family

ID=15557157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55153197A Expired JPS6046463B2 (en) 1980-10-31 1980-10-31 Waiting control method

Country Status (1)

Country Link
JP (1) JPS6046463B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62127056U (en) * 1986-02-05 1987-08-12
JPS63203448A (en) * 1987-02-17 1988-08-23 Toshihiko Iwatani Electronic alarm lock device for automobile
JPS63219452A (en) * 1987-03-07 1988-09-13 Fumio Hayakawa Antishift device for vehicle
JPH0587417B2 (en) * 1987-07-24 1993-12-16 Yazaki Corp

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5917623A (en) * 1982-07-21 1984-01-28 Matsushita Electric Ind Co Ltd Device for detecting mounting state of printed board
JPS59202531A (en) * 1983-05-02 1984-11-16 Hitachi Ltd Unit for processing information capable of changing machine cycle time
JPS60222946A (en) * 1984-04-20 1985-11-07 Fujitsu Ltd Check system of channel mounting

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62127056U (en) * 1986-02-05 1987-08-12
JPS63203448A (en) * 1987-02-17 1988-08-23 Toshihiko Iwatani Electronic alarm lock device for automobile
JPS63219452A (en) * 1987-03-07 1988-09-13 Fumio Hayakawa Antishift device for vehicle
JPH0587417B2 (en) * 1987-07-24 1993-12-16 Yazaki Corp

Also Published As

Publication number Publication date
JPS5776625A (en) 1982-05-13

Similar Documents

Publication Publication Date Title
US4214305A (en) Multi-processor data processing system
US5630145A (en) Method and apparatus for reducing power consumption according to bus activity as determined by bus access times
JPS60258671A (en) Processor
JPH0481932A (en) Interruption controller
JPS6046463B2 (en) Waiting control method
JPH0556543B2 (en)
JPH0140432B2 (en)
JPS59103155A (en) Data processing module
JPS5932815B2 (en) data processing system
JP2847920B2 (en) Bus relay device
JPS63293660A (en) Communication controller
JPS63280364A (en) Data transfer control system
JP2978626B2 (en) DMA controller
JPS5845050B2 (en) Bus centralized monitoring system
JP2619124B2 (en) Pipeline access memory
JP2507634B2 (en) Information processing device
JP3022906B2 (en) Communication method of programmable controller
JPS5919375B2 (en) Data buffer control method
JP2594673B2 (en) Data processing method
JP2001005636A (en) Buffer memory control circuit
JPH0395652A (en) Storage device for duplex system
JPH0417492B2 (en)
JPS60238963A (en) Supervision and control system for buffer state
JPH02311943A (en) Wait action control circuit for cpu
JPH05265942A (en) Data inputting and outputting method for dma control part