JPS5938608B2 - Data transfer control method - Google Patents
Data transfer control methodInfo
- Publication number
- JPS5938608B2 JPS5938608B2 JP54090754A JP9075479A JPS5938608B2 JP S5938608 B2 JPS5938608 B2 JP S5938608B2 JP 54090754 A JP54090754 A JP 54090754A JP 9075479 A JP9075479 A JP 9075479A JP S5938608 B2 JPS5938608 B2 JP S5938608B2
- Authority
- JP
- Japan
- Prior art keywords
- stop
- processor
- data transfer
- signal
- state
- 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
Landscapes
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
本発明は停止制御方式に関し、特にマイクロプログラム
によつて制御された入出力制御装置において、入出力制
御装置が他との間にデータ転送が行なわれているとき、
他からのストップ信号が来てもそのデータ転送が停止す
ることなく継続するようにしたデータ転送制御方式に関
する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a stop control method, and in particular, in an input/output control device controlled by a microprogram, when data is being transferred between the input/output control device and another,
The present invention relates to a data transfer control method that allows data transfer to continue without stopping even if a stop signal is received from another source.
最近のデータ処理システムでは、入出力制御装置にプロ
セッサを設け、該入出力制御装置に接続された複数台の
入出力装置を制御するように構成されている。Recent data processing systems are configured to include a processor in an input/output control device and to control a plurality of input/output devices connected to the input/output control device.
例えば、第1図に示す如く、プロセッサ3とバッファ4
を具備する入出力制御装置1に入出力装置2−1、2−
2を接続し、これらの入出力装置2−1、2−2を上記
プロセッサ3により制御するように構成する。For example, as shown in FIG.
Input/output devices 2-1, 2-
2 are connected to each other, and these input/output devices 2-1 and 2-2 are configured to be controlled by the processor 3.
そしていま入出力装置2−1と入出力制御装置1との間
にデータ転送が行なわれており、この場合、マイクロプ
ログラムで制御されたプロセッサ3によりこのデータ転
送が制御され、かつ入出力装置2−1から転送されたデ
ータはバッファ4に一時的に保持されているものとする
。Now, data transfer is being performed between the input/output device 2-1 and the input/output control device 1, and in this case, this data transfer is controlled by the processor 3 controlled by a microprogram, and the input/output device 2-1 It is assumed that the data transferred from -1 is temporarily held in buffer 4.
このように入出力制御装置に設けられた、マイクロプロ
グラムにより制御されているプロセッサにより入出力装
置2−1と入出力制御装置との間のデータ転送が行なわ
れているときに、障害調査等の理由で保守用パネルから
プロセッサ3を、ストップ信号により無条件でストップ
させてしまうことがある。In this way, when data is being transferred between the input/output device 2-1 and the input/output control device by the processor provided in the input/output control device and controlled by the microprogram, troubleshooting, etc. For some reason, the processor 3 may be unconditionally stopped by a stop signal from the maintenance panel.
したがつて、データ転送中に、上記の如く、ストップ信
号によつて無条件にプログラムがストップしてしまうと
、もはやプロセッサの運転は行なわれず、入出力制御装
置1と入出力装置2−1とのデータ転送は行なわれなく
なる。これによりオーバ・ランやアンダー ・ランが生
じ、場合によつてはエラー発生となる。それ故デバッグ
とか障害調査のために行なつたプロセッサ3の運転停止
にもとづき、かえつて2次的なエラーが発生することが
ある。したがつて本発明では、このような欠点を改善す
るために、途中に処理が停止しては困るようなデータ転
送を行なうとき、第2図に示す如く、あらかじめストッ
プィンヒビツト制御を行ない、それからデータ転送行程
Aを遂行させ、これが終了したのちに上記ストツプイン
ヒビツト制御を解除するための、ストップイネーブル制
御を行なうような停止制御方式を提供することを目的と
するものである。Therefore, if the program is unconditionally stopped by the stop signal as described above during data transfer, the processor will no longer operate, and the input/output control device 1 and input/output device 2-1 will no longer operate. data transfer will no longer occur. This causes over-runs and under-runs, and in some cases, errors. Therefore, when the processor 3 is stopped for debugging or troubleshooting, a secondary error may occur. Therefore, in the present invention, in order to improve such drawbacks, when data transfer is performed where it would be a problem if the processing stops midway, stop inhibit control is performed in advance as shown in FIG. It is an object of the present invention to provide a stop control method that performs stop enable control to then perform data transfer step A and release the stop inhibit control after the data transfer step A is completed.
そしてこのために本発明の停止制御方式では.マイクロ
プログラム制御された入出力制御装置の停止制御方式に
おいて.データ転送状態か又は停止可能状態かを示す状
態表示手段6該状態表示手段をデータ転送状態に表示す
ることを指令する処理停止禁止信号発生手段6該状態表
示手段を停止可能状態にすることを指令する解除信号発
生手段、プロセツサを停止させることを指令する処理停
止信号発生手段6及び上記処理停止信号発生手段が処理
停止信号を発生しかつ上記状態表示手段が停止可能状態
を表示している時にのみ上記プロセツサを停止するため
の信号を発生するゲート手段を設けたことを特徴とする
。And for this purpose, the stop control method of the present invention. In the stop control method of microprogram-controlled input/output control equipment. Status display means 6 for indicating whether the status display means is in a data transfer state or a stoppable state 6 Processing stop prohibition signal generation means for instructing the state display means to display the data transfer state 6 Commanding the state display means to be in a stoppable state Only when the processing stop signal generating means 6 which instructs the processor to stop, the processing stop signal generating means 6, and the processing stop signal generating means generate a processing stop signal, and the status display means is displaying a stoppable state. The present invention is characterized in that it includes gate means for generating a signal for stopping the processor.
以下本発明の一実施例を第3図にもとづき説明する。An embodiment of the present invention will be described below based on FIG.
図中、5は第1フリツプ・フロツプであつて状態表示手
段として動作するもの.6は第2フリツプ・フロツプで
あつて処理停止信号発生手段として動作するもの67は
ナンド回路、8はストツプ・キーである。In the figure, 5 is a first flip-flop which operates as a status display means. 6 is a second flip-flop which operates as a processing stop signal generating means; 67 is a NAND circuit; and 8 is a stop key.
第1フリツプ・フロツプ5には、途中で処理を中断され
ては困るようなデータ転送を行なうときこれに先立ち処
理停止禁止信号ON STOPINHが印D口される。A processing stop inhibit signal ON STOPINH is applied to the first flip-flop 5 prior to data transfer in which the processing cannot be interrupted midway.
そしてこの処理停止禁止信号がセツト端子に印加された
とき6第1フリツプ・フロツプ5のQ出力は[0」とな
り.この[0」がナンド回路7の一方の出力端子に伝達
される。そして上記処理が終了されて.もはや処理中断
を禁止する必要がなくなつたときに.上記処理停止禁止
状態を解除する処理停止禁止解除信号OFFSTOPI
NHを第1フリツプ・フロツプ5のりセツト端子に印加
する。これにより該第1フリツプ・フロツプ5のQ出力
はそれまでの「O」から「1」に反転する。第2フリツ
プ・フロツプ6にはストツプ・キー8が接続されている
。When this processing stop prohibition signal is applied to the set terminal, the Q output of the first flip-flop 5 becomes [0]. This [0] is transmitted to one output terminal of the NAND circuit 7. The above process is then completed. When it is no longer necessary to prohibit processing interruption. Processing stop prohibition release signal OFFSTOPI to cancel the above processing stop prohibited state
NH is applied to the reset terminal of the first flip-flop 5. As a result, the Q output of the first flip-flop 5 is inverted from "O" to "1". A stop key 8 is connected to the second flip-flop 6.
そして該ストツプ・キー8の固定接点8−1が接地され
ているときは.第2フリツプ・フロツプ6の出力端子Q
から「0」が発生し.これが上記ナンド回路7の他方の
入力端子に伝達される。そして.ストツプ・キー8の固
定接点8−2が接地されるとき.該第2フリツプ・フロ
ツプ6の出力端子Qは「1」を出力するものである。ス
トツプ・キー8は、例えば保守用パネルに設けられてい
る。When the fixed contact 8-1 of the stop key 8 is grounded. Output terminal Q of second flip-flop 6
``0'' is generated. This is transmitted to the other input terminal of the NAND circuit 7. and. When the fixed contact 8-2 of the stop key 8 is grounded. The output terminal Q of the second flip-flop 6 outputs "1". The stop key 8 is provided, for example, on a maintenance panel.
そして保守用員が障害調査等の理由でプロセツサを停止
させたい場合に該ストップキー8を操作するものである
。いま第1図に示す如く、入出力匍脚装置1と入出力装
置2−1との間に6第2図に示すデータ処理Aを実行す
るとき.該データ処理Aがその実行処理の途中で停止し
ては困るようなデータ転送を実行する場合,このデータ
処理Aに先立つて.第2図のA−1に示す如く.プログ
ラムにより処理停止禁止信号を発生させ6該処理停止禁
止信号ON STOPINHが第3図に示す第1フリツ
プ・フロツプ5のセツト端子に印〃口される。When maintenance personnel wish to stop the processor for reasons such as troubleshooting, they operate the stop key 8. Now, as shown in FIG. 1, when executing data processing A shown in FIG. When the data processing A executes a data transfer that would be inconvenient if the data processing A stops in the middle of the execution process, the data processing A must be performed before the data processing A is executed. As shown in A-1 of Figure 2. The program generates a processing stop inhibit signal 6, and the process stop inhibit signal ON STOPINH is printed on the set terminal of the first flip-flop 5 shown in FIG.
これにより該第1フリツプ・フロツプ5の出力端子0か
ら「o」が出力され,この「o」がナンド回路7に伝達
される。それ故該ナンド回路7は、上記「0」が伝達さ
れている間、第2フリツプ・フロツプ6からの出力如何
にかかわらず[1」を出力する。そしてこのナンド回路
7の「1]が、第1図に示すプロセツサ3のラン(RU
N)信号をセツトする信号として昨用するものである。
換言すれば上記ナンド回路7が「1]を出力している間
プロセツサ3はデータ転送動作を続け、停止することは
ない。したがつて.第2図におけるデータ転送Aの実行
中に.ストツプ・キー8を操作して、その固定接点8−
2を接地させ.プロセツサ3の動作停止を実行しようと
しても、以下の如く,プロセツサ3は停止しない。As a result, "o" is output from the output terminal 0 of the first flip-flop 5, and this "o" is transmitted to the NAND circuit 7. Therefore, while the above-mentioned "0" is being transmitted, the NAND circuit 7 outputs "1" regardless of the output from the second flip-flop 6. 1 of this NAND circuit 7 is the run (RU) of the processor 3 shown in FIG.
N) It is used as a signal to set the signal.
In other words, while the NAND circuit 7 is outputting "1", the processor 3 continues the data transfer operation and never stops.Therefore, during the execution of data transfer A in FIG. Operate the key 8 to connect the fixed contact 8-
2 is grounded. Even if an attempt is made to stop the operation of the processor 3, the processor 3 does not stop as described below.
即ち、上記固定接点8−2の接地にもとづき第2フリツ
プ・フロツプ6の出力端子Qから「1」が発生するが.
上記の如く.第1フリツプ・フロツプ5の出力端子Qか
ら「0」が継続して出力されているので,ナンド回路7
はそれまで通り「1」を出力し、プロセツサ3はデータ
処理Aを実行する。そしてデータ転送Aが終了すると、
第2図A−2に示す如く.プログラムにより処理停止禁
止解除信号が発生され、該処理停止禁止解除信?ΩFS
TOPlNHが.第3図に示す第1フリツプ・フロツプ
5のりセツト端子に印加される。That is, based on the grounding of the fixed contact 8-2, "1" is generated from the output terminal Q of the second flip-flop 6.
As above. Since "0" is continuously output from the output terminal Q of the first flip-flop 5, the NAND circuit 7
outputs "1" as before, and processor 3 executes data processing A. And when data transfer A is finished,
As shown in Figure 2 A-2. A processing stop prohibition release signal is generated by the program, and is the processing stop prohibition release signal? ΩFS
TOPlNH. It is applied to the reset terminal of the first flip-flop 5 shown in FIG.
これにより今度は該第1フリツプ・フロツプ5の出力端
子ざ力)ら [1」が出力される。この状態においてプ
ロセツサがデータ転送を実行しているとき、保守パネル
においてプロセツサ3の動作を停止させるため、第3図
において固定接点8−2を接地させると6第2フリツプ
・フロツプ6の出力端子Qから「1」が出力する。As a result, [1] is output from the output terminal of the first flip-flop 5. When the processor is performing data transfer in this state, in order to stop the operation of the processor 3 at the maintenance panel, the fixed contact 8-2 is grounded in FIG. "1" is output from.
それ故、ナンド回路7は2つの入力端子にそれぞれ「1
」が印加されるため.今度は「o」を出力し6これによ
りプロセツサ3は動作状態を一時停止することになる。
かくして例えば保守用員により障害調査等の検点を行な
うことができる。そしてこのような検点が終了し.スト
ツプ・キー−8を、再び固定接点8−1が接地するよう
に切換え.第2フリツプ・フロツプ6の出力端子Qから
「0」を出力させると、ナンド回路7から再び「1」が
出力し、プロセツサ3はデータ処理を実行することにな
る。Therefore, the NAND circuit 7 has two input terminals each with “1”.
” is applied. This time, it outputs "o" 6, which causes the processor 3 to temporarily stop its operating state.
Thus, for example, inspections such as troubleshooting can be carried out by maintenance personnel. And this inspection is completed. Switch the stop key 8 so that the fixed contact 8-1 is grounded again. When "0" is outputted from the output terminal Q of the second flip-flop 6, "1" is outputted again from the NAND circuit 7, and the processor 3 executes data processing.
一般に入出力制御装置におけるプロセツサは、例えば第
4図に示す如く構成されている。Generally, a processor in an input/output control device is configured as shown in FIG. 4, for example.
第4図においてX−X線の矢印側がプロセツサ側である
。いま制御回路10からの指令により.インストラクシ
ヨン・アドレス・レジスタ15に記入されたアドレスの
命令が6コントロール・ストレージ11より読出され、
これBjオペレーシヨン・レジスタ12に出力される。
このオペレーシヨン・レジスタ12に出力されたうち6
命令コードは通常制御回路10に伝達され6これにもと
づき制御回路10は必要な制御動作を行なう。またオペ
レーシヨン・レジスタ12に記入された出力のうち.通
常データ部分は演算回路13により処理され、その結果
がメモリ14や.外部レジスタ18,19,20等に記
入されたりする。また6コントロール・ストレージ11
から読出した命令が分岐命令の場合にはそれがインスト
ラクシヨン゜アドレス・レジスタ15に記入され6これ
によりコントロール・ストレージ11が読出されること
になる。通常、インストラクシヨン・アドレス・レジス
タ15に記入されたアドレスは.+1カウンタ16によ
り+1され,コントロール・ストレージ11の内容が連
続的に読出される。制御回路10は演算回路13を制御
するのみでなく,ゲート17を制御したり、その他各種
の制御動作を行なつO制御回路10には、外部のゲート
回路21より制御信号が印〃口されたとき6例えばラン
信号が与えられたときプロセツサがランし、ストツプ信
号が与えられたときストツプするように構成されている
。In FIG. 4, the arrow side of the line X--X is the processor side. Now, due to a command from the control circuit 10. The instruction at the address written in the instruction address register 15 is read from the control storage 11,
This is output to the Bj operation register 12.
6 of the output to this operation register 12
The instruction code is normally transmitted to the control circuit 10, and based on this, the control circuit 10 performs necessary control operations. Also, among the outputs written in the operation register 12. The normal data portion is processed by the arithmetic circuit 13, and the results are stored in the memory 14 and . It is written in external registers 18, 19, 20, etc. Also 6 control storage 11
If the instruction read from the memory is a branch instruction, it is written into the instruction address register 15, and the control storage 11 is thereby read. Normally, the address written in the instruction address register 15 is . It is incremented by +1 by the +1 counter 16, and the contents of the control storage 11 are continuously read out. The control circuit 10 not only controls the arithmetic circuit 13 but also controls the gate 17 and performs various other control operations.The control circuit 10 receives a control signal from an external gate circuit 21. For example, the processor is configured to run when a run signal is applied and to stop when a stop signal is applied.
この様に構成されたプロセツサについて、本発明に示す
ラン,ストツプの制御を実行する様に構成するには.プ
ロセツサ外の外部レジスタ18の区分18−1を第3図
に示される第1フリツプ・フロップ5に.ゲート回路2
1を同じくナンド回路7に対応させる。つまりコントロ
ールストレージ11から第2図に示す如きステツプA−
1.A−2等のマイクロ命令が読出され.実行される時
、該区分18−1に前記停止禁止信号や6処理停止禁止
解除信号b{記入され.対応信号がゲート回路21に伝
達される事により前の如き制御が実行できる。したがつ
て6以上説明の如く、本発明によれば6処理が途中で停
止しては困るようなデータ転送を実行する場合に、非常
に有効であり6オーバ・ランやアンダー・ランの発生を
防止することができる。How to configure a processor configured in this way to execute the run/stop control shown in the present invention. Section 18-1 of external register 18 outside the processor is placed in first flip-flop 5 shown in FIG. Gate circuit 2
1 corresponds to the NAND circuit 7 as well. That is, from the control storage 11 to step A- as shown in FIG.
1. A microinstruction such as A-2 is read. When executed, the stop prohibition signal and the 6-process stop prohibition release signal b{ are written in the section 18-1. By transmitting the corresponding signal to the gate circuit 21, the above control can be executed. Therefore, as explained above, the present invention is very effective when executing data transfers where it would be a problem if the processing stops midway through, and prevents the occurrence of overruns or underruns. It can be prevented.
かくしてデータ転送を非常に効率的に実行すること/)
Sでき5その結果データ処理効率を高めることができる
。Thus performing the data transfer very efficiently/)
As a result, data processing efficiency can be improved.
第1図は入出力匍脚装置と入出力装置との説明図、第2
図は.本発明に使用されるプログラムの一実施例6第3
図は本発明の一実施例構成図6第4図はプロセツサの構
成図をそれぞれ示す。Figure 1 is an explanatory diagram of the input/output pedestal device and the input/output device;
The diagram is. Example 6 of the program used in the present invention, Part 3
FIG. 6 shows the configuration of an embodiment of the present invention. FIG. 4 shows a configuration diagram of a processor.
Claims (1)
止制御方式において、データ転送状態か又は停止可能状
態かを示す状態表示手段、該状態表示手段をデータ転送
状態に表示することを指令する処理停止禁止信号発生手
段、該状態表示手段を停止可能状態にすることを指令す
る解除信号発生手段、プロセッサを停止させることを指
令する処理停止信号発生手段、及び上記処理停止信号発
生手段が処理停止信号を発生しかつ上記状態表示手段が
停止可能状態を表示している時にのみ上記プロセッサを
停止するための信号を発生するゲート手段を設けたこと
を特徴とする停止制御方式。1. In a stop control method for an input/output control device controlled by a microprogram, a status display means indicating whether the data transfer state or a stop possible state is present, and a processing stop prohibition signal that instructs the state display means to display the data transfer state. generation means, release signal generation means for instructing the status display means to be in a stoppable state, processing stop signal generation means for instructing the processor to stop, and the processing stop signal generation means generating a processing stop signal. A stop control system further comprising gate means for generating a signal for stopping the processor only when the state display means indicates a stoppable state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54090754A JPS5938608B2 (en) | 1979-07-17 | 1979-07-17 | Data transfer control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP54090754A JPS5938608B2 (en) | 1979-07-17 | 1979-07-17 | Data transfer control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5616221A JPS5616221A (en) | 1981-02-17 |
| JPS5938608B2 true JPS5938608B2 (en) | 1984-09-18 |
Family
ID=14007388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP54090754A Expired JPS5938608B2 (en) | 1979-07-17 | 1979-07-17 | Data transfer control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5938608B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61214393A (en) * | 1985-03-19 | 1986-09-24 | 松下電器産業株式会社 | High frequency heating device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050100637A1 (en) | 2003-11-12 | 2005-05-12 | Robert Murray | Carbohydrate and electrolyte replacement composition |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5325747B2 (en) * | 1973-09-20 | 1978-07-28 | ||
| JPS588007B2 (en) * | 1978-08-08 | 1983-02-14 | パナファコム株式会社 | Coupling device between information processing devices |
-
1979
- 1979-07-17 JP JP54090754A patent/JPS5938608B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61214393A (en) * | 1985-03-19 | 1986-09-24 | 松下電器産業株式会社 | High frequency heating device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5616221A (en) | 1981-02-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3916177A (en) | Remote entry diagnostic and verification procedure apparatus for a data processing unit | |
| EP0497380A2 (en) | Microcomputer having a watchdog timer | |
| US5361348A (en) | Debug circuit of a signal processor | |
| US5551051A (en) | Isolated multiprocessing system having tracking circuit for verifyng only that the processor is executing set of entry instructions upon initiation of the system controller program | |
| JP2513417B2 (en) | Information processing device | |
| JPS5938608B2 (en) | Data transfer control method | |
| JPH04248629A (en) | Arithmetic processing system | |
| JPS6363935B2 (en) | ||
| JPH0588933A (en) | Parallel processing system with debugging function | |
| Addy | A case study on isolation of safety-critical software | |
| JPS62241041A (en) | Information processor | |
| JPS63155330A (en) | Microprogram controller | |
| JPH0147818B2 (en) | ||
| JPH0194451A (en) | Program developer | |
| JPH0519745B2 (en) | ||
| JPS62196736A (en) | Pseudo-fault generating system | |
| JPS6214240A (en) | Program inspecting system | |
| JPH01120634A (en) | Interruption controller | |
| JPH01140265A (en) | Multiprocessor system | |
| JPH0373884B2 (en) | ||
| JPS5833737A (en) | Reset controlling system | |
| JPS6326732A (en) | Interruption processing system | |
| JPS6020771B2 (en) | Micro diagnosis method | |
| JPH05100901A (en) | Microcomputer | |
| JPS6143347A (en) | Simulation method of vector instruction |