JPS6213701B2 - - Google Patents
Info
- Publication number
- JPS6213701B2 JPS6213701B2 JP56152602A JP15260281A JPS6213701B2 JP S6213701 B2 JPS6213701 B2 JP S6213701B2 JP 56152602 A JP56152602 A JP 56152602A JP 15260281 A JP15260281 A JP 15260281A JP S6213701 B2 JPS6213701 B2 JP S6213701B2
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- false response
- output
- block
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
本発明は中央演算装置と端末とのデータ転送時
における偽応答方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a false response method during data transfer between a central processing unit and a terminal.
大規模な制御システムにおいては、中央演算装
置(以下CPUという)が多数の端末を制御して
おり、CPUと端末との間で種々のデータの送受
が行なわれる。ところで端末側がCPUよりデー
タを確実に受取り、又は送出した場合には、デー
タアクノレツジ(確認)信号(以下DTACK信号
という)をCPUに送り出すように構成される
CPUがある。CPUはこのDTACK信号によつて端
末がデータを受取つたことを確認して次のステツ
プに進む。しかるにいずれかの端末が故障した場
合には、CPUからその端末にデータを転送して
もDTACK信号は返送されないので、CPUは
DTACK信号を待つ状態が続き、次の処理が行な
われなくなる。そこでCPU側でDTACK信号が一
定時間内に返送されなかつた場合はエラーと認識
してエラー処理を行なうように構成されていた。
この場合はシステムの停止に近い状態となつて他
の端末の制御が不可能になるという欠点があつ
た。 In a large-scale control system, a central processing unit (hereinafter referred to as CPU) controls a large number of terminals, and various data are exchanged between the CPU and the terminals. By the way, if the terminal side reliably receives or sends data from the CPU, it is configured to send a data acknowledgment signal (hereinafter referred to as DTACK signal) to the CPU.
There is a CPU. The CPU uses this DTACK signal to confirm that the terminal has received the data and proceeds to the next step. However, if one of the terminals fails, the DTACK signal will not be returned even if the CPU transfers data to that terminal, so the CPU will
The state of waiting for the DTACK signal continues, and the next processing is not performed. Therefore, if the DTACK signal is not returned within a certain period of time on the CPU side, it is configured to recognize it as an error and perform error processing.
In this case, the disadvantage is that the system comes to a near-stop state, making it impossible to control other terminals.
又DTACK信号線は各端末の応答回路部とワイ
ヤード・オア接続されているため、端末の故障内
容によつてはDTACK信号線を介して他の端末に
まで故障が波及する可能性があつた。 Furthermore, since the DTACK signal line is wired-OR connected to the response circuit section of each terminal, there is a possibility that the failure may spread to other terminals via the DTACK signal line, depending on the nature of the failure in the terminal.
更に、高い信頼性が要求される場合に二台の
CPUを用い、一方を現有系として各端末に接続
し、他方を待機系として現有系と同様の処理をさ
せるデユアルモードシステムが用いられることが
ある。このような場合DTACK信号の応答を必要
とするCPUを用いると待機系はDTACK信号が得
られないので現有系と同一のプログラムによつて
動作させることはできないという欠点があつた。 Furthermore, when high reliability is required, two
A dual mode system is sometimes used in which one CPU is used as the active system and is connected to each terminal, while the other is used as a standby system and performs the same processing as the current system. In such a case, if a CPU that requires a response to the DTACK signal is used, the standby system cannot receive the DTACK signal and therefore cannot be operated by the same program as the active system.
本発明はこのような欠点を解消することを目的
とするものであつて、CPUと端末との間に設け
た偽応答回路部によつてDTACK信号をCPUに送
るようにしたものである。 The present invention is aimed at solving these drawbacks, and is designed to send a DTACK signal to the CPU using a false response circuit provided between the CPU and the terminal.
以下本発明について実施例につき図面を参照し
つつ説明する。第1図は本発明による大規模な制
御システム、例えば信号機制御システムの概略の
構成を示すブロツク図である。本図において、
CPU1にはデータバス、アドレスバス、及び制
御信号線を含むバスラインを介して重要な入力装
置2、出力装置3及びメモリ4が接続される。こ
こで破線で囲んだ部分は同一シヤーシ内に設けら
れるものとする。5a,5b………はCPU1に
よつて制御される多数の入出力回路ブロツク(以
下I/Oブロツクという)を示しており、例えば
信号機制御システムにおいては個々の信号機等を
示すものである。さて本発明においてはI/Oブ
ロツク5a,5b………とCPU1との間に偽応
答回路部6を設ける。偽応答回路部6はCPU1
と同一シヤーシ内に実装されており、それに接続
されたI/Oブロツク5a,5b………の一つが
アクセスされた場合に、I/Oブロツクの代りに
DTACK信号をCPU1に返送するものである。
CPU1と入出力装置2,3、メモリ4及びこの
偽応答回路部6は主制御部7を構成している。第
2図は高い信頼性を要求される場合に二台の主制
御部7a,7bを用い一方を現有系、他方を待機
系として並列に処理させるデユアルモードシステ
ムを示すものである。この場合I/Oブロツク5
a,5b………と主制御部7a,7bとの間にス
イツチ回路8を設け、スイツチ回路8によつてバ
スラインを切換えている。今主制御部7aを現有
系、主制御部7bを待機系とすると、各I/Oブ
ロツク5a,5b………はスイツチ回路8によつ
て主制御部7aに接続されている。夫々の主制御
部7a,7bは偽応答回路部6をその内部に持つ
ているため、DTACK信号は夫々の偽応答回路部
6から得られる。従つて夫々の主制御部7a,7
bは同一のプログラムを実行することができる。
現有系の主制御部7aが何らかの理由で故障すれ
ば、スイツチ回路8によつてバスラインが切換え
られ、主制御部7bがI/Oブロツク5a,5b
………と接続されることになる。 The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the general configuration of a large-scale control system, such as a traffic light control system, according to the present invention. In this figure,
Important input devices 2, output devices 3, and memory 4 are connected to the CPU 1 via bus lines including a data bus, an address bus, and control signal lines. It is assumed here that the portions surrounded by broken lines are provided within the same chassis. 5a, 5b, . . . indicate a large number of input/output circuit blocks (hereinafter referred to as I/O blocks) controlled by the CPU 1, and for example, in a traffic light control system, they indicate individual traffic lights. In the present invention, a false response circuit section 6 is provided between the I/O blocks 5a, 5b, . . . and the CPU 1. False response circuit section 6 is CPU1
is implemented in the same chassis as the I/O block, and when one of the I/O blocks 5a, 5b, etc. connected to it is accessed, the
This is to send the DTACK signal back to the CPU1.
The CPU 1, input/output devices 2 and 3, memory 4, and this false response circuit section 6 constitute a main control section 7. FIG. 2 shows a dual-mode system in which two main controllers 7a and 7b are used to perform parallel processing, with one as the active system and the other as the standby system, when high reliability is required. In this case, I/O block 5
A switch circuit 8 is provided between the main controllers 7a, 7b, and the main controllers 7a, 7b, and the switch circuit 8 switches the bus line. Assuming that the main control section 7a is the active system and the main control section 7b is the standby system, each I/O block 5a, 5b, . . . is connected to the main control section 7a by a switch circuit 8. Since each main control section 7a, 7b has a false response circuit section 6 therein, the DTACK signal is obtained from each false response circuit section 6. Therefore, each main control section 7a, 7
b can execute the same program.
If the current main control section 7a fails for some reason, the bus line is switched by the switch circuit 8, and the main control section 7b switches to the I/O blocks 5a, 5b.
It will be connected to...
第3図はこの偽応答回路部6の一実施例を示す
ブロツク図である。本図において、CPU1から
与えられるアドレスバス10はアドレスデコーダ
11に接続され、更に後段のI/Oブロツク5
a,5b………に接続されている。アドレスデコ
ーダ11は後段のI/Oブロツクのいずれかが
CPU1によつてアクセスされた場合に出力を発
生するものであつて、その出力はアンド回路12
に与えられる。アンド回路12には又データスト
ロープ信号線(以下DS信号線という)が接続さ
れており、これらの論理積出力はDフリツプフロ
ツプ13にD入力として与えられる。Dフリツプ
フロツプ13にはクロツク信号がクロツク入力端
子Tに与えられており、そのQ出力は遅延回路1
4を介してアンド回路15に伝えられる。遅延回
路14は応答時間の異なる種々のI/Oブロツク
に対応させる為に設けられる。アンド回路15は
遅延回路14の出力とDS信号との論理積出力を
DTACK信号としてCPU1に伝えるものである。
このようにアドレスバス10、データバス16及
びDTACK信号線を除くリードライト信号等の他
の制御信号線17はそのままI/Oブロツク5
a,5b……に伝えられる。 FIG. 3 is a block diagram showing one embodiment of this false response circuit section 6. In this figure, an address bus 10 given from a CPU 1 is connected to an address decoder 11, and further to a subsequent I/O block 5.
a, 5b...... are connected. The address decoder 11 detects whether any of the subsequent I/O blocks
It generates an output when accessed by CPU 1, and the output is output from AND circuit 12.
given to. A data strobe signal line (hereinafter referred to as a DS signal line) is also connected to the AND circuit 12, and the AND output of these lines is applied to a D flip-flop 13 as a D input. A clock signal is applied to the clock input terminal T of the D flip-flop 13, and its Q output is applied to the delay circuit 1.
4 to the AND circuit 15. The delay circuit 14 is provided to correspond to various I/O blocks having different response times. The AND circuit 15 outputs the logical product of the output of the delay circuit 14 and the DS signal.
This is transmitted to the CPU 1 as a DTACK signal.
In this way, the address bus 10, data bus 16, and other control signal lines 17 such as read/write signals other than the DTACK signal line are directly connected to the I/O block 5.
It is transmitted to a, 5b...
次に偽応答回路部6の動作について第4図の波
形図を参照しつつ説明する。CPU1が偽応答回
路部6を介して接続されたI/Oブロツク、例え
ばI/Oブロツク5aをアクセスした場合、その
アドレスがアドレスデコーダ11によりデコード
されて第4図aに示すように出力がアンド回路1
2に与えられる。続いて少し遅れてDS信号がア
ンド回路12に与えられ、論理積出力がDフリツ
プフロツプ13のD入力に加わる。Dフリツプフ
ロツプ13には速いクロツクパルスが与えられて
いるとすると、クロツク周期分だけ遅れてDフリ
ツプフロツプ13のQ出力が第4図cのように得
られる。このQ出力は遅延回路14で所定時間T
だけ遅延した後アンド回路15に伝わる。この遅
延信号とDS信号の論理積が第4図dに示すよう
にDTACK信号としてCPU1に伝えられる。その
ためCPU1はI/Oブロツク5aからDTACK信
号があつたものとして次のステツプに進む。この
ように偽応答回路部6はI/Oブロツクの代わり
にDTACK信号を発生してCPU1に伝えている。 Next, the operation of the false response circuit section 6 will be explained with reference to the waveform diagram of FIG. When the CPU 1 accesses an I/O block connected via the false response circuit section 6, for example, the I/O block 5a, the address is decoded by the address decoder 11 and the output is output as shown in FIG. 4a. circuit 1
given to 2. Subsequently, after a short delay, the DS signal is applied to the AND circuit 12, and the AND output is applied to the D input of the D flip-flop 13. Assuming that a fast clock pulse is applied to the D flip-flop 13, the Q output of the D flip-flop 13 is obtained with a delay of the clock period as shown in FIG. 4c. This Q output is sent to the delay circuit 14 for a predetermined time T.
It is transmitted to the AND circuit 15 after a delay of . The logical product of this delayed signal and the DS signal is transmitted to the CPU 1 as a DTACK signal as shown in FIG. 4d. Therefore, the CPU 1 assumes that the DTACK signal has been received from the I/O block 5a and proceeds to the next step. In this way, the false response circuit section 6 generates the DTACK signal instead of the I/O block and transmits it to the CPU 1.
以上詳細に説明したように本発明においてはバ
スラインに偽応答回路部を接続し、システム全体
から見て重要でないI/Oブロツクをこの偽応答
回路部を介してCPUに接続している。そのため
これらのI/Oブロツクが故障したり、保守、点
検のためI/Oブロツクの電源をオフとし、実際
にはCPUによりそのI/Oブロツクが制御でき
ない場合であつても、偽応答回路部は常にI/O
ブロツクに代つてDTACK信号を発生してCPUに
伝えるようにしている。従つてこのような場合も
CPUによる処理が継続して行なえ、システム全
体が停止状態となる恐れはなくなる。尚I/Oブ
ロツクが故障である場合にはCPUはそのI/O
ブロツクから返送されるデータに基づいて故障で
あると判断することができる。又第2図に示すデ
ユアルモードシステムにおいても夫々の主制御部
に偽応答回路部を設ければ、双方を同一プログラ
ムで作動させることができる。 As described in detail above, in the present invention, a false response circuit is connected to the bus line, and I/O blocks that are unimportant from the perspective of the entire system are connected to the CPU via this false response circuit. Therefore, even if these I/O blocks fail or the power to the I/O block is turned off for maintenance or inspection, and the I/O block cannot actually be controlled by the CPU, the false response circuit section is always I/O
Instead of the block, a DTACK signal is generated and sent to the CPU. Therefore, even in cases like this
Processing by the CPU can continue, eliminating the risk of the entire system stopping. If the I/O block is faulty, the CPU will
A failure can be determined based on the data returned from the block. Also, in the dual mode system shown in FIG. 2, if a false response circuit is provided in each main control section, both can be operated by the same program.
第1図、及び第2図は夫々本発明による制御シ
ステムの構成を示すブロツク図、第3図は偽応答
回路部の一実施例を示すブロツク図、第4図a〜
dは偽応答回路部の各部の波形を示す波形図であ
る。
1……CPU、5a,5b……I/Oブロツ
ク、6……偽応答回路部、10……アドレスバ
ス、11……アドレスデコーダ、13……Dフリ
ツプフロツプ、14……遅延回路。
1 and 2 are block diagrams showing the configuration of a control system according to the present invention, FIG. 3 is a block diagram showing an embodiment of the false response circuit section, and FIGS.
d is a waveform diagram showing waveforms of each part of the false response circuit section. 1...CPU, 5a, 5b...I/O block, 6...False response circuit section, 10...Address bus, 11...Address decoder, 13...D flip-flop, 14...Delay circuit.
Claims (1)
入出力回路ブロツクを含み、該入出力回路ブロツ
クの一部は偽応答回路部を介して中央演算装置と
接続される制御システムであつて、該偽応答回路
部はそれに接続される入出力回路ブロツクがアク
セスされたとき出力を出すアドレスデコーダを含
み、その出力に基づいてデータ確認信号を前記中
央演算装置に与えるものであることを特徴とする
制御システムの偽応答方式。 2 前記中央演算装置と偽応答回路部とは同一の
シヤーシ内に実装されていることを特徴とする特
許請求の範囲第1項記載の制御システムの偽応答
方式。[Claims] The control system includes a central processing unit and an input/output circuit block connected via one bus line, and a part of the input/output circuit block is connected to the central processing unit via a false response circuit section. In the system, the false response circuit section includes an address decoder that outputs an output when an input/output circuit block connected thereto is accessed, and based on the output, provides a data confirmation signal to the central processing unit. A false response method for a control system characterized by: 2. The false response system for a control system according to claim 1, wherein the central processing unit and the false response circuit section are mounted in the same chassis.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56152602A JPS5854423A (en) | 1981-09-26 | 1981-09-26 | False response system for control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56152602A JPS5854423A (en) | 1981-09-26 | 1981-09-26 | False response system for control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5854423A JPS5854423A (en) | 1983-03-31 |
| JPS6213701B2 true JPS6213701B2 (en) | 1987-03-28 |
Family
ID=15543993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56152602A Granted JPS5854423A (en) | 1981-09-26 | 1981-09-26 | False response system for control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5854423A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5789124A (en) * | 1980-11-21 | 1982-06-03 | Fujitsu Ltd | Interface converter of information process system |
-
1981
- 1981-09-26 JP JP56152602A patent/JPS5854423A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5854423A (en) | 1983-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1216367A (en) | Arrangement for optimized utilization of i/o pins | |
| US4747041A (en) | Automatic power control system which automatically activates and deactivates power to selected peripheral devices based upon system requirement | |
| EP0138735A2 (en) | Multiplex control system having enhanced integrity | |
| JPH0157380B2 (en) | ||
| EP0321240B1 (en) | Method and apparatus for interrupt processing | |
| JPS6334494B2 (en) | ||
| JPH0443460B2 (en) | ||
| JPS6213701B2 (en) | ||
| KR920010977B1 (en) | Improved performance memory bus architecture | |
| JPS63228363A (en) | Method of operating computer system and multiple processor system using the same | |
| JPH0343804A (en) | Sequence controller | |
| KR960703250A (en) | PROCESS AND ARRANGEMENT FOR OPERATING A BUS SYSTEM | |
| JPS6162961A (en) | Input/ouput device | |
| JPS61107453A (en) | Module address setting circuit | |
| GB2146810A (en) | Achieving redundancy in a distributed process control system | |
| JPS593775B2 (en) | Bus request processing unit | |
| JPS62103738A (en) | Programmable controller | |
| JPS5844426Y2 (en) | Inter-processor information transfer device | |
| JPS61233857A (en) | Data transfer equipment | |
| JP2555568B2 (en) | Storage program control switch | |
| KR970002522A (en) | Mode detection method of Hot Back Up (HBU) device | |
| JPS61213960A (en) | Data transmission system between cpus | |
| KR19980055992A (en) | Data redundancy device of electronic switch | |
| JPH0664561B2 (en) | Simultaneous writing circuit | |
| JPH038617B2 (en) |