JPS605985B2 - Input/Output Interface Control Method - Google Patents
Input/Output Interface Control MethodInfo
- Publication number
- JPS605985B2 JPS605985B2 JP51016100A JP1610076A JPS605985B2 JP S605985 B2 JPS605985 B2 JP S605985B2 JP 51016100 A JP51016100 A JP 51016100A JP 1610076 A JP1610076 A JP 1610076A JP S605985 B2 JPS605985 B2 JP S605985B2
- Authority
- JP
- Japan
- Prior art keywords
- sequence
- input
- signal
- signals
- output interface
- 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
- Communication Control (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
この発明は、データ処理装置における入出刀インターフ
ェース制御を行うチャネル装置に関するものである。Description: The present invention relates to a channel unit for controlling an input/output interface in a data processing device.
データ処理装置において、チャネル装置と入出力制御装
置間の入出力インターフェース上での信号の送受を行う
場合、インターフェースの制御シーケンスが誤動作した
とき、その全てを検出するのは組合せが多く実現が困難
であった。In a data processing device, when signals are sent and received over an input/output interface between a channel device and an input/output control device, if the control sequence of the interface malfunctions, it is difficult to detect all of the malfunctions due to the large number of combinations involved.
更に、割込み信号等の非同期信号の受付け許可時間帯の
設定の難しさ及び非同期信号に対するチャネル応答時間
がかかりすぎる欠点があった。更に同時に、インターフ
ェース上に上った信号に対する優先順位決定の為の論理
が固定化されてしまう欠点もあつた。この発明の目的は
、上記した従来技術の欠点を解決するため、インターフ
ェース制御信号及びチェック信号をコード化し、シーケ
ンスの誤動作に関しては、特に、チャネル装置から制御
装置に信号(OUT信号)を送ったが、その信号を送っ
た時点で既にOUT信号に対応するW信号(制御装置か
らチャネル装置への信号)が上っていた場合と、非同期
のIN信号が本来送られてはならないのにシーケンスの
途中で上った場合と、期待している信号が制御装瞳から
上ったが「同時にそれ以外の予期しない信号が上った場
合とのチェックをきめ細かく行うことにある。Furthermore, there are drawbacks in that it is difficult to set the time period during which asynchronous signals such as interrupt signals are permitted to be accepted, and that the channel response time for asynchronous signals is too long. At the same time, there is also a drawback in that the logic for determining the priority of signals sent to the interface is fixed. The object of the present invention is to solve the drawbacks of the prior art described above by coding the interface control signal and the check signal, and to perform detailed checks for sequence malfunctions, particularly for the case where a signal (OUT signal) is sent from the channel device to the control device, but the W signal (signal from the control device to the channel device) corresponding to the OUT signal has already been sent at the time the signal was sent, the case where an asynchronous IN signal is sent in the middle of the sequence even though it should not be sent, and the case where an expected signal is sent from the control device, but at the same time another unexpected signal is sent.
更に、この発明の他の目的は、ブランチの多い入出力イ
ンターフェースの制御を容易にすることにある。A further object of the present invention is to facilitate the control of an input/output interface having many branches.
上記の目的を達成するため、この発明では、入出力イン
ターフェース制御信号とチェック信号とをコード化した
ものをシーケンス語と定義し、そのシーケンス語をイン
ターフェースシーケンスの順序に従ってシーケンススタ
ック内に、チャネルが入出力制御装置に起動をかける前
に用意しておく。In order to achieve the above object, in this invention, a sequence word is defined as a coded input/output interface control signal and a check signal, and the sequence word is prepared in a sequence stack in accordance with the order of the interface sequence before a channel starts the input/output control device.
そして、チャネルが起動をかけた後は、−シーケンスカ
ウンタの示すシーケンス語をシーケンスレジスタに読み
込んで入出力インターフェース信号の制御とチェックを
順次行っていく。又、シーケンスカウンタの更新は十1
を原則とし、非同期信号や同時に複数個の信号が上った
時はブランチ制御を行うためシ−ケンスレジスタのビッ
ト位置に対応してシーケンスカウンタの更新を行い、以
後の処理はブランチ先のシーケンス語の指示に従って行
う。以下、図面を参照して本発明の内容を詳細に説明す
ることにする。After the channel is started, the sequence word indicated by the sequence counter is read into the sequence register to control and check the input/output interface signals in sequence. Also, the sequence counter is updated every 10 seconds.
In principle, when an asynchronous signal or multiple signals are raised at the same time, a sequence counter is updated according to the bit position of the sequence register in order to perform branch control, and subsequent processing is performed according to the instructions of the sequence word of the branch destination. The contents of the present invention will be described in detail below with reference to the drawings.
第1図はこの発明に使用されるシーケンス語のビット構
成の例を示すものである。FIG. 1 shows an example of the bit structure of a sequence word used in the present invention.
この例では、12ビットのビット構成のうちビット位置
0から4まではそれぞれのビット位置がOUT信号又は
m信号を示す。ビット位置5はOUT/IN制御ビット
で、これが“0”のとき、ビット位置0から4までのそ
れらに対応する信号は凪信号(SIo〜SL)であるこ
とを意味し、“1”のとき、ビット位置0から4までの
それらに対応する信号はOUT信号(S0o〜S04)
であることを意味する。ビット位置6のBRビットは、
IN信号が該当するビット位置のいずれから釆るか不明
のとき、W信号の種類によって後述するシーケンスカウ
ンタを更新してよいかどうかの許可を与える判断に使用
する。ビット位置7から11まではチェック信号を指定
するものであり、C4からCoまでのそれぞれがS04
からS○o又はSI4からSIoまでの信号に対応する
。第2図は本発明の一実施例で非同期信号を扱わない場
合の構成を示すものである。In this example, bit positions 0 to 4 of the 12-bit bit configuration indicate either an OUT signal or an m signal. Bit position 5 is an OUT/IN control bit, and when this bit is "0", it means that the signals corresponding to bit positions 0 to 4 are calm signals (SIo to SL), and when this bit is "1", the signals corresponding to bit positions 0 to 4 are OUT signals (S0o to S04).
The BR bit in bit position 6 means
When it is unclear from which bit position the IN signal comes, the type of W signal is used to determine whether or not to give permission to update the sequence counter (described later). Bit positions 7 to 11 specify the check signal, and each of C4 to Co is S04.
2 shows a configuration in which asynchronous signals are not handled in one embodiment of the present invention.
チャネルプログラムにおいて、プログラムから入出力動
作の指示が発せられて実際に入出力制御装置に起動をか
ける前に、一連のィンタ−フェース制御のOUT信号、
瓜信号とチェック信号とをコード化した第1図で説明し
たシーケンス語をシーケンススタック1内に所定の順序
で、主記憶装置あるいは制御記憶装置から移しておく。
その後、実際に入出力制御装置に起動をかけるとき、シ
ーケンスカウンタ2の指示するスタツクアドレスに対応
するシーケンス語をシーケンススタック1から読み出し
シーケンスレジスタ3にセットする。第2図の例では、
シ−ケンスレジスタ3のビット位置5のOUT/IN制
御ビットが“0”であるからIN信号の待ちを指定し、
ビット位置0が“1”であるからSI。信号を待つこと
を指定する。又、ビット位置8,9が両方とも“1”で
あるからチャネルがSL信号の待ちを指定したとき、S
I,又はSI2信号が不当に上っていたり、SI。信号
を待っている間にSI,又はSI2信号が不当に立上っ
た場合、T2のタイミングでエラーフリツプフロツプ7
をセットすることによりシーケンスの誤動作をチェック
できる。ビット位置7から11までのチェック信号の指
定は任意であり、きめ細かいチェックが可能であり、E
RROR−P信号6が発生した場合エラーフリップフロ
ップ7を凍結することにより、ェフー分析が容易となる
。正常にSL信号が制御装置から送られて釆た場合は、
T,のタイミングでADDI−P信号5が出てアダ−回
路10の働きでシーケンスカウンタ2を十1し、次のス
タツクアドレスに記憶されているシーケンス語をシーケ
ンススタツク1からシーケンスレジスタ3にセットし、
次のインターフェース制御へと処理を進めていく。ビッ
ト位置5が“1”即ちOUT信号の指定を行う場合の制
御方法は、シ−ケンスレジスタ3のビット位置0から4
の指定に従ってSO。からSQまでの任意の信号を送出
し、T.のタイミングでADDI−P信号を出し次のシ
ーケンスへと処理を進めていく。この場合、チェックコ
ードを利用することによりIN信号の状態をテストする
ことも可能である。なお、4はOUT/IN制御ゲート
、11はT,およびT2のタイミング信号を作成するタ
イミング発生回路である。第3図は本発明の他の実施例
で、第2図のm信号の待ち指定が複数の信号に適用でき
る様に拡張したものである。In the channel program, before an input/output operation instruction is issued from the program and the input/output control device is actually started, a series of interface control OUT signals,
The sequence words, which are the coded signals and the check signals and which are explained in FIG. 1, are transferred from the main memory or the control memory into the sequence stack 1 in a predetermined order.
Thereafter, when the input/output control device is actually started, the sequence word corresponding to the stack address indicated by the sequence counter 2 is read from the sequence stack 1 and set in the sequence register 3. In the example of FIG.
Since the OUT/IN control bit at bit position 5 of the sequence register 3 is "0", it specifies waiting for the IN signal.
Since bit position 0 is "1", it specifies waiting for the SI signal. Also, since bit positions 8 and 9 are both "1", when the channel specifies waiting for the SL signal, S
If the SI or SI2 signal rises improperly or if the SI or SI2 signal rises improperly while waiting for the SI signal, an error flip-flop 7 is performed at the timing of T2.
By setting the , you can check for sequence malfunctions. The check signals in bit positions 7 to 11 can be specified arbitrarily, allowing for detailed checking.
When the RROR-P signal 6 is generated, the error flip-flop 7 is frozen, which makes it easier to analyze the error. When the SL signal is normally sent from the control device,
At the timing T, the ADDI-P signal 5 is output, and the adder circuit 10 increments the sequence counter 2, and the sequence word stored in the next stack address is set from the sequence stack 1 to the sequence register 3.
The process proceeds to the next interface control. When bit position 5 is "1", that is, when an OUT signal is specified, the control method is as follows:
According to the designation of SO. to SQ, any signal from SO. to SQ is sent, and at the timing of T., the ADDI-P signal is output and the process proceeds to the next sequence. In this case, it is also possible to test the state of the IN signal by using a check code. 4 is an OUT/IN control gate, and 11 is a timing generation circuit that creates the timing signals T, and T2. Figure 3 shows another embodiment of the present invention, in which the wait designation of the m signal in Figure 2 is expanded so that it can be applied to multiple signals.
なお、チェックコード関係の回路は省略してある。便宜
上、こ)では以下の説明を簡単にするために、待ち指定
が複数であっても実際に制御装置から送られてくる信号
は1つであるとする。第2図の場合と同様に、一連のシ
ーケンス語はシーケンススタック12に格納されており
、実際に入出力制御装置に起動をかけるとき、シ−ケン
スカウンタ13の指示するスタツクアドレスに対応する
シーケンス語がシーケンスレジスタ14にセットされる
。第3図の例では、シーケンスレジスタ14にセットさ
れたシーケンス語のビット位置5が“0”及びビット位
置2,3,4が“1”であるからSI2、SI3、SL
の3個の信号のうちいずれか1つが制御装置から送られ
てくることを期待している。ビット位置6が“1”であ
るからブランチ制御ゲート16の働きで、SI2、SI
3、SI4信号のうちいずれかが送られてくると、それ
ぞれADD4−P信号19、ADD8一P信号18、A
DD16一P信号17がT3のタイミングで発生する。
前記のいずれかの信号が発生すると、アダー回路20の
働きでシーケンスカウンタ13を更新する。更新された
シーケンスカウンタは、チャネルプログラムが入出力動
作を行うのに先立ってシーケンススタック12のうちに
用意していたシーケンス語のアドレスと一致している。
タイミング信号T,,T3はタイミング発生回路22で
作成される。なお、第3図ではインターフェース信号の
タイムオーバー監視を省略しているが、所定のシーケン
ススタックのアドレスにタイムアウト後の処理を指示す
るシーケンス語群を用意しておき、瓜信号がタイムオー
バーとなった場合、所定のカウントだけシーケンスカウ
ンタ13をアップさせ、前もってシーケンススタック1
2に記憶していたシーケンス語をアクセスすれば処理が
続行できることは明らかである。Circuits related to check codes are omitted. For the sake of convenience, in order to simplify the following explanation, it is assumed that even if there are multiple wait specifications, only one signal is actually sent from the control device. As in the case of FIG. 2, a series of sequence words are stored in the sequence stack 12, and when the input/output control device is actually started, the sequence word corresponding to the stack address indicated by the sequence counter 13 is set in the sequence register 14. In the example of FIG. 3, bit position 5 of the sequence word set in the sequence register 14 is "0" and bit positions 2, 3, and 4 are "1", so SI2, SI3, SL
Since bit position 6 is "1", the branch control gate 16 operates to send one of the three signals SI1, SI2, and SI3.
When any of the SI3 and SI4 signals is sent, the ADD4-P signal 19, the ADD8-P signal 18, and the A
The DD 16-P signal 17 is generated at the timing of T3.
When any of the above signals occurs, the adder circuit 20 updates the sequence counter 13. The updated sequence counter matches the address of the sequence word that the channel program prepared in the sequence stack 12 before performing an I/O operation.
The timing signals T, T2, and T3 are generated by a timing generation circuit 22. Although the time-over monitoring of the interface signal is omitted in FIG. 3, a group of sequence words instructing the processing after a time-out is prepared at a predetermined sequence stack address, and when the I/O signal times out, the sequence counter 13 is incremented by a predetermined count, and the sequence stack 1 is reset in advance.
It is clear that processing can continue by accessing the sequence word stored in .2.
又、実施例において、エラー発生時タイミングを止める
かどうかは外部スイッチあるいはシーケンス語に外部ス
イッチに該当する制御ビットを設けることにより決定さ
れうるが、詳細は省略する。In addition, in the embodiment, whether or not to stop timing when an error occurs can be determined by an external switch or by providing a control bit corresponding to the external switch in the sequence word, but details will be omitted.
以上の説明から明らかな如く、本発明によれば、入出力
インターフェースの信号の送受における信号のチェック
が期待される信号と期待信号とを信号単位に指定できる
ことにより、きめ細かく行える。As is clear from the above description, according to the present invention, the checking of signals in the transmission and reception of signals in an input/output interface can be performed in a detailed manner by specifying the expected signals and the expected signals on a signal-by-signal basis.
更に、非同期信号を任意の期間容易にマスクで禁止する
ことも許可することもできる。Additionally, asynchronous signals can be easily masked out or enabled for any period of time.
第1図は本発明の入出力インターフェース制御方式に使
用されるシーケンス語のビット構成を示す図、第2図は
非同期信号を扱わない場合の本発明の一実施例を示す図
、第3図は非同期信号を扱う本発明の一実施例を示す図
である。
第2図において:1……シーケンススタック、2……シ
ーケンスカウンタ、3……シーケンスレジスタ、4…・
・・OUT/IN制御ゲート、7…・・・エラーフリツ
プフロツプ、10…・・・アダー回路、11・・・・・
・タイミング発生回路、第3図において:12……シー
ケンススタツク、13……シーケンスカウンタ、14…
…シーケンスレジスタ、15…・・・OUT//IN制
御ゲート、16・・・・・・ブランチ制御ゲート、20
・・・・・・アダー回路、21…・・・タイミング発生
回路。
第1図
第2図
第3図
Fig. 1 shows the bit structure of a sequence word used in the input/output interface control method of the present invention, Fig. 2 shows an embodiment of the present invention when asynchronous signals are not handled, and Fig. 3 shows an embodiment of the present invention when asynchronous signals are handled. In Fig. 2: 1... sequence stack, 2... sequence counter, 3... sequence register, 4...
OUT/IN control gate, 7: error flip-flop, 10: adder circuit, 11:
Timing generation circuit, in FIG. 3: 12... sequence stack, 13... sequence counter, 14...
. . sequence register, 15 . . . OUT//IN control gate, 16 . . . branch control gate, 20
. . . adder circuit, 21 . . . timing generation circuit.
Claims (1)
、該チヤネル装置と前記入出力制御装置間の入出力イン
ターフエースの制御信号及びそのチエツク信号からなる
シーケンス語を入出力インターフエース制御シーケンス
の順序に従って記憶手段に記憶しておき、アドレス手段
によって前記記憶手段のシーケンス語を順次読み出し、
その制御信号を前記入出力インターフエースに送出する
と同時に、当該シーケンス語中のチエツク信号と入出力
制御装置から送られくる信号とを比較して、入出力イン
ターフエース動作をチエツクすることを特徴とする入出
力インターフエース制御方式。 2 前記シーケンス語中の制御信号線と入出力制御装置
から送られくる信号との一致をとり、それによって前記
アドレス手段の更新を制御することを特徴とする特許請
求の範囲第1項記載の入出力インターフエース制御方式
。[Claims] 1. In a channel device which controls an input/output control device, sequence words consisting of control signals and check signals of an input/output interface between said channel device and said input/output control device are stored in a memory means in accordance with the order of the input/output interface control sequence, and the sequence words in said memory means are read out sequentially by an address means;
An input/output interface control system as claimed in claim 1, characterized in that, while sending the control signal to said input/output interface, the check signal in said sequence word is compared with the signal sent from the input/output control device to check the operation of the input/output interface. 2. An input/output interface control system as claimed in claim 1, characterized in that a match is found between the control signal line in said sequence word and the signal sent from the input/output control device, thereby controlling the updating of said address means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51016100A JPS605985B2 (en) | 1976-02-17 | 1976-02-17 | Input/Output Interface Control Method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51016100A JPS605985B2 (en) | 1976-02-17 | 1976-02-17 | Input/Output Interface Control Method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5299029A JPS5299029A (en) | 1977-08-19 |
| JPS605985B2 true JPS605985B2 (en) | 1985-02-15 |
Family
ID=11907087
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP51016100A Expired JPS605985B2 (en) | 1976-02-17 | 1976-02-17 | Input/Output Interface Control Method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS605985B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4445176A (en) * | 1979-12-28 | 1984-04-24 | International Business Machines Corporation | Block transfers of information in data processing networks |
-
1976
- 1976-02-17 JP JP51016100A patent/JPS605985B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5299029A (en) | 1977-08-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5947905B2 (en) | Information transmission method using a common transmission path | |
| JPS63149939A (en) | Token passing method for communication network and the communication network | |
| CA1147421A (en) | Data-transfer controlling system | |
| US4095268A (en) | System for stopping and restarting the operation of a data processor | |
| JPS605985B2 (en) | Input/Output Interface Control Method | |
| JPS6363935B2 (en) | ||
| JPS6246897B2 (en) | ||
| JPS61151746A (en) | Processing method of data error | |
| JPH0442633A (en) | Line control system | |
| JPH0119680B2 (en) | ||
| JPH0232645B2 (en) | ||
| JPS5922582Y2 (en) | Transmission control circuit | |
| JPS6314538B2 (en) | ||
| JPH05336082A (en) | Detection of response data validity | |
| JPS6311701B2 (en) | ||
| JPS62109136A (en) | Logic circuit simulation method | |
| JPS59119940A (en) | Spare collation system | |
| JPH05143510A (en) | Pseudo channel device | |
| JPS58192123A (en) | Device for transferring and controlling input and output data | |
| JPH02302855A (en) | Memory control system | |
| JPH07295806A (en) | Timer reading controller | |
| JPH02116933A (en) | Control system for maneuvering apparatus | |
| JPS58134349A (en) | State history storage device | |
| JPS62190953A (en) | Control circuit for communication control unit of communication control equipment | |
| JPS61501360A (en) | Telephone system port communication methods and equipment |