JPH0657025B2 - Line scanning method - Google Patents
Line scanning methodInfo
- Publication number
- JPH0657025B2 JPH0657025B2 JP59177563A JP17756384A JPH0657025B2 JP H0657025 B2 JPH0657025 B2 JP H0657025B2 JP 59177563 A JP59177563 A JP 59177563A JP 17756384 A JP17756384 A JP 17756384A JP H0657025 B2 JPH0657025 B2 JP H0657025B2
- Authority
- JP
- Japan
- Prior art keywords
- line
- lines
- scan
- scanning
- priority
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 10
- 230000001174 ascending effect Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L13/00—Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) この発明は異種の複数回線を収容するための複数の回線
アダプタを制御する通信制御装置において、上述の複数
の回線アダプタからの割込を順次制御する回線走査方式
に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a communication control device for controlling a plurality of line adapters for accommodating a plurality of different types of lines, in which interruptions from the plurality of line adapters are sequentially performed. The present invention relates to a line scanning method for controlling.
(従来の技術) 従来、この種の回線走査方式においては、回線走査スキ
ップ機能(以下、スキャンスキップ機能)と優先スキャ
ン機能とが付加されている。(Prior Art) Conventionally, in this type of line scanning method, a line scanning skip function (hereinafter, scan skip function) and a priority scanning function are added.
スキャンスキップ機能とは、収容される回線数がシステ
ムによって異なるため、未使用回線スロットの回線走査
を抑止し、回線走査を効率的に行なう機能をいう。The scan skip function is a function of suppressing line scanning of unused line slots and efficiently performing line scanning because the number of accommodated lines differs depending on the system.
優先スキャン機能とは、収容される回線数が収容最大回
線より小さいとき、スキャンスキップ機能により、スキ
ップされる空スキャンスロットを利用し、高速回線のス
キャンを行ない、他の回線に比し回線スキャンの比率を
高くすることで、高速回線からの割込を優先的に受けつ
ける機能をいう。With the priority scan function, when the number of accommodated lines is smaller than the maximum accommodated line, the scan skip function uses the skipped empty scan slot to scan the high-speed line and to scan the line faster than other lines. By increasing the ratio, it is a function that preferentially receives interrupts from high-speed lines.
第3図に、上述の2つの機能を付加したこの種の従来の
回線走査方式のブロック図の例を示す。第3図は、通信
制御装置における収容最大回線数が16回線で回線アダ
プタを1スロット(1回線基板)当り4回線収容した場
合の回線走査方式のブロック図である。FIG. 3 shows an example of a block diagram of a conventional line scanning system of this type in which the above-mentioned two functions are added. FIG. 3 is a block diagram of the line scanning system when the maximum number of lines accommodated in the communication control device is 16 and four line adapters are accommodated per slot (one line board).
第3図中、1は回線数によらず共通である回線走査回路
である。回線走査回路1は、主に、走査カウンタ1-1、
ROM1-2、セレクトデコーダ1-3及び共通制御回路1-4
から構成されている。走査カウンタ1-1は回線走査クロ
ック毎に計数し、各回線基板に割り当てられるタイムス
ロットの時間間隔を作り出すカウンタである。更に言え
ば、走査カウンタ1-1は4個計数毎に桁上がりして回線
基板に対応した計数を行ない、走査クロック16個(収
容最大回線が16回線という前提による)、すなわち回
線基板に対応した計数で3(第3図S2′が“11”)ま
で計数すると0に戻るバイナリカウンタである。ROM
1-2は、走査カウンタ出力線中23および22の重みを持
つ信号線S2′及び4回線分の回線アダプタを収容して
いる回線基板2-1〜2-4の実装、未実装状態を通知する信
号線a,b,c,dを入力し、上述の信号により実際に回線走
査を行なう回線基板を決定する。具体的には、信号線a,
b,c,dの入力信号がすべて実装状態を示しているとき
は、走査カウンタ1-1に従い、順に各回線基板を選択す
る。また、信号線a,b,c,dの入力信号のうちいずれかが
未実装状態を示しているときは、未実装である回線基板
の回線走査を抑制し(スキャンスキップ機能)、高速回
線の回線基板(予め固定されており、本例では第3図の
回線基板2-1とする)に割り当てる。セレクトデコーダ1
-3はROM1-2の出力線S1′をデコードし、その出力は
各回線基板に対応して信号線S1-1〜S1-4を介して各回
線基板のセレクトデコーダに接続される。共通制御回路
1-4は走査カウンタ1-1、ROM1-2、セレクトデコーダ1
-3により各回線基板に割り当てられる割込許可のタイム
スロットにおいて、各回線基板からの割込信号S3を受
信すると、図示せぬマイクロプロセッサへ、信号線群S
Mを介して割込み、マイクロプロセッサより割込回線、
割込コード等のセンス要求を信号線群SMを介して受信
すると、前述情報をマイクロプロセッサへ送出する。In FIG. 3, 1 is a line scanning circuit which is common regardless of the number of lines. The line scanning circuit 1 is mainly composed of a scanning counter 1-1,
ROM1-2, select decoder 1-3 and common control circuit 1-4
It consists of The scanning counter 1-1 is a counter that counts every line scanning clock and creates a time interval of time slots assigned to each line board. Furthermore, the scanning counter 1-1 carries out a carry every 4 counts and performs counting corresponding to the circuit board, and corresponds to 16 scanning clocks (based on the assumption that the maximum accommodated line is 16 lines), that is, the circuit board. It is a binary counter that returns to 0 when it is counted up to 3 (S 2 ′ in FIG. 3 is “11”). ROM
1-2 is the circuit board 2-1 to 2-4 which accommodates the signal line S 2 ′ having the weight of 2 3 and 2 2 among the scan counter output lines and the line adapters for 4 lines. The signal lines a, b, c, d for notifying the state are input, and the line board on which the line scanning is actually performed is determined by the above signals. Specifically, the signal line a,
When all the input signals b, c, and d indicate the mounted state, the circuit boards are sequentially selected according to the scan counter 1-1. When any of the input signals of the signal lines a, b, c, d indicates the unmounted state, the line scanning of the unmounted circuit board is suppressed (scan skip function) and the high speed line It is assigned to the circuit board (which is fixed in advance and is the circuit board 2-1 in FIG. 3 in this example). Select decoder 1
-3 decodes the output line S 1 ′ of the ROM 1-2, and its output is connected to the select decoder of each circuit board via the signal lines S 1-1 to S 1-4 corresponding to each circuit board. . Common control circuit
1-4 are scan counter 1-1, ROM1-2, select decoder 1
When an interrupt signal S 3 from each circuit board is received in an interrupt permission time slot assigned to each circuit board by -3, a signal line group S is sent to a microprocessor (not shown).
Interrupt via M , interrupt line from microprocessor,
When a sense request such as an interrupt code is received via the signal line group S M , the above information is sent to the microprocessor.
2-1〜2-4はそれぞれ回線基板を示す。尚、2-2〜2-4の詳
細は図示しないが、2-1と同様な回線構成となってい
る。この回線基板2-1〜2-4中、2-aはスロット選択信号
S1-1が有効であるとき、走査カウンタ1-1の下2ビット
(21,20の重み)をデコードし、回線基板内に収容され
る各回線(4回線)のいずれかの割込許可のタイムスロ
ットを作り出すセレクトデコーダである。セレクトデコ
ーダ2-aは、回線基板中、走査カウンタ1-1の2ビットの
値が0のときS5-1を有効とし、以下順に1のとき
S5-2,2のときS5-3,3のときS5-4を有効としてい
る。2-b0〜2-b3は、上述の信号線S5-1〜S5-4が有効、
すなわち回線基板2-1のスロットが選択され、かつ走査
カウンタ値が所定の回線のタイムスロットに割り当てら
れ、かつ上述回線の割込信号S3′が有効であるとき、
共通制御回路1-4への割込信号S3を送出するトライステ
ート付のゲートである。2-c0〜2c3は所定の回線からの
複数の割込のうち、いずれかが発生すると出力信号
S3′を有効とし、共通制御回路1-4より上述回線の割込
コードのセンスを図示せぬ信号線により受信すると、信
号線S4へ割込コードを送出する割込回路である。2-1 to 2-4 are circuit boards, respectively. Although details of 2-2 to 2-4 are not shown, the line configuration is the same as that of 2-1. In this line board 2-1 through 2-4, 2-a when slot selection signal S 1-1 is valid, decodes the lower two bits of the scan counter 1-1 (weight of 2 1, 2 0) , A select decoder that creates an interrupt-enabled time slot for each of the lines (4 lines) accommodated in the line board. The select decoder 2-a validates S 5-1 when the 2-bit value of the scan counter 1-1 is 0 in the circuit board, S 5-2 when it is 1, and S 5-3 when it is 2 in the following order. , 3, S 5-4 is valid. For 2-b 0 to 2-b 3 , the above-mentioned signal lines S 5-1 to S 5-4 are effective,
That is, when the slot of the circuit board 2-1 is selected, the scan counter value is assigned to the time slot of a predetermined circuit, and the interrupt signal S 3 ′ of the circuit is valid,
It is a gate with a tristate that sends an interrupt signal S 3 to the common control circuit 1-4. 2-c 0 to 2c 3 enable output signal S 3 ′ when any of a plurality of interrupts from a predetermined line occurs, and enable common control circuit 1-4 to sense the interrupt code of the above line. This is an interrupt circuit that sends an interrupt code to the signal line S 4 when it is received by a signal line (not shown).
第4図(A)及び(B)は第3図のブロック図の各種タ
イムチャートを示す。タイムチャート上の参照符号は第
3図ブロック図中の参照符号と一致している。4A and 4B show various time charts of the block diagram of FIG. The reference symbols on the time chart correspond to the reference symbols in the block diagram of FIG.
第4図(A)は回線基板2-1〜2-4がすべて実装されてい
る場合の回線走査のタイムチャートであり、走査カウン
タ1-1の計数に従い順に回線走査を行なう。FIG. 4A is a time chart of the line scanning when all the circuit boards 2-1 to 2-4 are mounted, and the line scanning is sequentially performed according to the count of the scan counter 1-1.
第4図(B)は回線基板2-2が未実装であり、第3図の
信号線bが無効となっている場合の回線走査のタイムチ
ャートである。回線基板2-2が未実装であるため、回線
基板2-2の回線走査を抑止し、回線基板2-1のタイムスロ
ット後、回線基板2-3のタイムスロットを割り当て、次
に空スロットを利用して再度回線基板2-1のタイムスロ
ットを割り当て、次に回線基板2-4のタイムスロットを
割り当て回線走査を行なっている。このように未実装基
板のスキャンスキップ機能により、空タイムスロットが
できることを利用し、高速回線が収容されている回線ス
ロットに該空タイムスロットを割り当てることにより、
走査カウンタが一周する間に2回以上高速回線へのタイ
ムスロットを割り当てることが可能である。従って、高
速回線に対する回線走査の比率を高くすることができ
る。すなわち、高速回線以外の回線に対して回線走査タ
イムスロットを1回割り当てる間に、高速回線に対して
2回以上の回線走査タイムスロットを割り当てることが
でき、高速回線に対する優先スキャンが可能である。FIG. 4 (B) is a time chart of line scanning when the circuit board 2-2 is not mounted and the signal line b in FIG. 3 is invalid. Since the circuit board 2-2 is not mounted, the line scanning of the circuit board 2-2 is suppressed, the time slot of the circuit board 2-1 is assigned after the time slot of the circuit board 2-1, and then the empty slot is allocated. The time slot of the circuit board 2-1 is allocated again by using it, and then the time slot of the circuit board 2-4 is allocated and line scanning is performed. By utilizing the fact that an empty time slot is created by the scan skip function of an unmounted board in this way, by assigning the empty time slot to a line slot accommodating a high-speed line,
It is possible to allocate a time slot to a high-speed line more than once during one round of the scan counter. Therefore, the ratio of line scanning to high-speed lines can be increased. That is, while the line scan time slot is assigned once to the line other than the high speed line, the line scan time slot can be assigned to the high speed line more than once, and the priority scan for the high speed line is possible.
ここで若し、第4図(A)の(ア)の時点で割込を検出
((ア)の時点以前に第3図2-c1出力信号S3′が有効とな
っており、(ア)の時点で割込信号S3を検出)した場合、
共通制御回路1-4により走査クロックを一時停止し、マ
イクロプロセッサへ割込み、割込み回線番号(スロット
0から若番順として回線番号1)、割込みコードをマイ
クロプロセッサがセンス終了後、再度走査クロックの作
動を行なう。マイクロプロセッサは上述の情報センス後
割込みコードに従った所定の割込み処理を行なう。上述
の共通制御回路1-4により再度走査クロック作動後、第
4図(A)の(イ)の時点でも割込を検出した場合、同様
に走査クロックを停止し、(ア)の時点での割込処理が終
了するまで待って再度マイクロプロセッサへ割込み、割
込回線番号(スロット0から若番順として回線番号
2)、割込コードをマイクロプロセッサがセンス後、同
様にして走査クロックの作動を行なう。このように、若
し(ア)の時点から順にすべての回線に割込が生じている
場合、(ア)の前の回線番号0のタイムスロットが有効と
なるのは回線番号1〜回線番号15までのマイクロプロ
セッサによる割込処理後である。Here, if an interrupt is detected at the time point (a) in FIG. 4 (A) (the output signal S 3 ′ in FIG. 3 2-c 1 is valid before the time point (a), If the interrupt signal S 3 is detected at the time of a)),
The scan clock is temporarily stopped by the common control circuit 1-4, interrupts the microprocessor, interrupts the line number (line number 1 from the slot 0 as the smallest number), and operates the scan clock again after the microprocessor finishes sensing the interrupt code. Do. The microprocessor performs a predetermined interrupt process according to the interrupt code after the above information sensing. When the common control circuit 1-4 again operates the scan clock, and when an interrupt is detected at the time point (a) in FIG. 4 (A), the scan clock is similarly stopped, and the scan clock signal at the time point (a) is reached. Wait until the interrupt processing is completed, interrupt the microprocessor again, interrupt line number (line number 2 from slot 0 as the smallest number), and after the microprocessor senses the interrupt code, activate the scan clock in the same way. To do. In this way, if all lines are interrupted sequentially from the time point of (A), the time slot of the line number 0 before (A) is valid from the line number 1 to the line number 15 It is after the interrupt processing by the microprocessor up to.
これに対し、第4図(B)においては、回線番号((ア)
の時点)からすべての回線に割込が生じている場合、回
線番号0の走査は回線番号1〜回線番号3と回線番号8
〜回線番号11までのマイクロプロセッサによる割込処
理後である。従って、第4図(A)に比し(回線数の減
少も影響するが)、回線番号0への最大サービス保留時
間が半分以下に減少される。On the other hand, in FIG. 4 (B), the line number ((A)
If all the lines have been interrupted since the time of (1), the scan of the line number 0 is the line number 1 to the line number 3 and the line number 8
After the interrupt processing by the microprocessor up to line number 11. Therefore, the maximum service holding time for the line number 0 is reduced to less than half as compared with FIG. 4A (although the decrease in the number of lines also has an effect).
また第4図(A)において、高速回線に対する優先スキ
ャン機能を付加したい場合は、走査カウンタ1-1を走査
クロック20個まで計数すると0に戻るバイナリカウン
タにし、第4図(A)の(ウ)の時点から走査クロック4
個分スロット0(回線基板2-1)のタイムスロットに割
り当てれば、優先スキャン機能の実現が可能である。Further, in FIG. 4 (A), when it is desired to add a priority scanning function to a high-speed line, the scan counter 1-1 is set to a binary counter that returns to 0 when counting up to 20 scan clocks. ) From the scanning clock 4
The priority scan function can be realized by allocating to the time slot of the individual slot 0 (circuit board 2-1).
以上説明したように、従来の回線走査方式により未使用
回線スロットの回線走査を抑止し、未使用回線の空タイ
ムスロットを利用し、高速回線の優先スキャンが可能で
ある。As described above, the line scanning of the unused line slot is suppressed by the conventional line scanning method, the empty time slot of the unused line is used, and the priority scan of the high speed line is possible.
(発明が解決しようとする問題点) しかしながら、このような従来の回線走査方式にあって
は、以下の問題点がある。(Problems to be Solved by the Invention) However, such a conventional line scanning method has the following problems.
i)回線走査の単位が回線基板(スロット)となってい
るため、次の2つの問題点がある。i) Since the unit of line scanning is the line board (slot), there are the following two problems.
優先スキャン回線(回線走査の比率を高くする回線)
が回線基板単位となり、1回線基板当り4回線で、1回
線のみ高速回線で他の回線は低速回線であっても、4回
線すべてを優先スキャン回線としてしまう。また、優先
スキャン回線が回線基板の構造上複数に存在する場合が
ある。このとき複数の回線基板に対し優先スキャンを行
なう必要があり、本来の優先スキャン機能を充分に果た
せない場合がある。Priority scan line (line to increase the line scan ratio)
Becomes a circuit board unit, and 4 circuits per circuit board, even if only 1 circuit is a high speed circuit and the other circuits are low speed circuits, all 4 circuits are set as priority scan circuits. Also, there may be a plurality of priority scan lines due to the structure of the circuit board. At this time, it is necessary to perform the priority scan on a plurality of circuit boards, and the original priority scan function may not be sufficiently fulfilled.
現在では、インタフェースが種々存在し、回線アダプ
タの種類もそれに従い増加傾向にある。また、1回線基
板当りの回線数が固定できない状況にある。この結果、
例えば回線基板当り4回線及び2回線等、回線数の異な
る回線基板の混合収容をした場合、上述した方式では無
駄な回線走査が行なわれる。例えば、第3図の例で2回
線収容の回線基板を実装した場合、走査クロック2個分
の無駄な回線走査タイムスロットができてしまう。更
に、収容最大回線数に対し、回線走査が不可能となる。
例えば、2回線収容の回路基板1枚、4回線収容の回路
基板3枚のとき、上記従来の方式では14回線分の回線
走査しかできず、残りの2回線は回線走査不可能であ
る。At present, there are various interfaces, and the types of line adapters are increasing accordingly. Moreover, the number of lines per circuit board cannot be fixed. As a result,
For example, when line boards having different numbers of lines, such as 4 lines and 2 lines per line board, are mixed and accommodated, useless line scanning is performed in the above-described method. For example, when a circuit board accommodating two circuits is mounted in the example of FIG. 3, a wasteful circuit scanning time slot for two scanning clocks is created. Furthermore, line scanning is impossible for the maximum number of lines that can be accommodated.
For example, in the case of one circuit board accommodating two lines and three circuit boards accommodating four lines, the above conventional method can scan only 14 lines, and the remaining 2 lines cannot scan lines.
ii)また、回線走査の方法として走査カウンタを使用し
ているため、次の2つの問題点がある。ii) Further, since the scan counter is used as the line scanning method, there are the following two problems.
回線走査1周分のカウンタ値が固定されており、未使
用回線回線基板が多い場合、未使用回線回線基板のスキ
ャンスキップが多くなる。従って優先スキャン回線の回
線走査比率(詳細な定義は後述する)が高くなり過ぎる
場合があり、定速回線へのサービスが極度に悪くなる場
合がある。When the counter value for one round of line scanning is fixed and there are many unused line circuit boards, the number of scan skips of unused line circuit boards increases. Therefore, the line scan ratio (detailed definition will be described later) of the priority scan line may be too high, and the service to the constant speed line may be extremely deteriorated.
項に類似し、優先スキャンの比率が未実装基板の数
により影響される。従って、優先スキャン回線の回線走
査比率を固定できない。また回線走査比率を固定するR
OMを作成する場合、未実装回線に対する無駄な回線走
査を行なうことにより比率を固定する以外に方法がな
く、この場合、無駄な回線走査が増加する。Similar to the term, the priority scan ratio is affected by the number of unmounted boards. Therefore, the line scan ratio of the priority scan line cannot be fixed. R to fix the line scan ratio
When creating an OM, there is no other way than fixing the ratio by performing useless line scanning for unimplemented lines, and in this case, useless line scanning increases.
iii)ii)項と類似し、スキャンスキップ機能と優先ス
キャン機能が独立していない為、上述2つの機能を完全
な形で動作させることが困難である。iii) Similar to the item ii), since the scan skip function and the priority scan function are not independent, it is difficult to operate the above two functions in a complete form.
iv)走査クロックが走査カウンタに供給されている為、
実際に割り当てられたタイムスロットの出力信号(第3
図S1-1〜S1-4)が出るまでROM及びセレクトデコー
ダの遅延時間が加算され、走査クロックの周期に悪影響
を及ぼし、回線走査1周に要し時間の増大につながる1
因となっている。iv) Since the scan clock is supplied to the scan counter,
The output signal of the time slot actually assigned (3rd
The delay times of the ROM and the select decoder are added until the steps S 1-1 to S 1-4 ) appear, which adversely affects the scan clock cycle, and it takes one line scan to increase the time.
It is a cause.
v)セレクトデコーダにより、回線基板毎に回線走査タ
イムスロットを割り当てる信号線(第3図S1-1〜
S1-4)及び回線基板の実装、未実装状態を通知する信
号線(第3図a,b,c,d)が必要である。従って、収容回
線数が多い場合、これらの信号線の本数は増加する。例
えば、第3図の場合で収容回線数が16回線のときは、
上記信号線は8本必要となる。また、収容回線数が64
回線のときは、上記信号線は32本必要となる。v) A signal line for allocating a line scanning time slot to each circuit board by the select decoder ( S1-1 in FIG. 3).
S 1-4 ) and the signal lines (a, b, c, d in FIG. 3) for notifying the mounted / unmounted state of the circuit board are required. Therefore, when the number of accommodated lines is large, the number of these signal lines increases. For example, in the case of FIG. 3, when the number of accommodated lines is 16,
Eight signal lines are required. The number of lines accommodated is 64
In the case of a line, 32 signal lines are required.
従って、この発明の目的は、上記問題点を解決すること
を目的とする。Therefore, an object of the present invention is to solve the above problems.
(問題点を解決するための手段) 上記問題点を解決するためのこの発明の特徴は、複数の
回線を収容するための複数の回線アダプタと、該複数の
回線アダプタから割込要求を順次制御する回線走査回路
とを有する通信制御装置において、前記回線走査回路
は、他の回線より多くスキャンして優先スキャンを行な
う回線に若番から昇順に回線を設定して得た回線数及び
前記回線アダプタ側から得られる各回線の実装、未実装
状態に従って決定されスキップされてスキャンされない
スキャンスキップを行なう回線に老番から降順に回線を
設定して得た回線数とを格納する記憶手段と該記憶手段
からの情報に基づき走査クロックに従って順次走査すべ
き回線番号をすべての回線アダプタに送出する手段とを
有し、前記各回線アダプタはこれに収容される回線の回
線番号と当該回線の実装、未実装状態とを格納する情報
設定手段と、前記回線走査回路から送出された回線番号
と前記情報設定手段から出力された回線番号とを比較す
る比較手段とを有し、両者の回線番号が一致したときに
対応する回線からの割込を許可する回線走査方式にあ
る。(Means for Solving Problems) A feature of the present invention for solving the above problems is to provide a plurality of line adapters for accommodating a plurality of lines and sequentially control interrupt requests from the plurality of line adapters. In the communication control device having a line scanning circuit for performing the priority scanning, the line scanning circuit scans more lines than other lines and sets the lines to be preferentially scanned in ascending order from the smallest line and the line adapter. Storage means and storage means for storing the number of lines obtained by setting the lines in descending order from the oldest number to the lines to be skip-scanned, which is determined according to the mounted / unmounted state of each line obtained from the side Means for sending line numbers to be sequentially scanned in accordance with the scanning clock to all line adapters based on the information from each of the line adapters. Information setting means for storing the line number of the line to be connected and the mounted / unmounted state of the line, and comparing means for comparing the line number sent from the line scanning circuit with the line number output from the information setting means. And a line scanning system which permits interruption from the corresponding line when the line numbers of both match.
(作用) 回線走査回路は、回線アダプタ側から得られる各回線の
実装、未実装状態に応じて決定される走査をスキップす
べき回線数と優先回線数とに基づいて順次走査すべき回
線番号をすべての回線アダプタに送出する。すなわち、
回線走査1周において、優先回線は複数回走査され(換
言すれば、割込み可能とされ)、その他の実装された回
線は1回走査され、未実装の回数はスキップされる。こ
のような回線番号は各回線アダプタに設けられた比較手
段に与えられ、各回線アダプタにもうけらた情報設定手
段からの回線番号と比較される。両者の回線番号が一致
したとき、対応する回線からの割込が許可される。従っ
て、前記問題点は解消される。(Operation) The line scanning circuit determines the line numbers to be sequentially scanned based on the number of lines to skip scanning and the number of priority lines, which is determined according to the mounted / unmounted state of each line obtained from the line adapter side. Send to all line adapters. That is,
In one round of line scanning, the priority line is scanned a plurality of times (in other words, interrupts are enabled), the other mounted lines are scanned once, and the unmounted number is skipped. Such a line number is given to the comparison means provided in each line adapter and compared with the line number from the information setting means provided in each line adapter. When both line numbers match, the interrupt from the corresponding line is permitted. Therefore, the above problems are solved.
(実施例) 第1図は、この発明の一実施例を示すブロック図であ
り、第3図の例と同様、収容最大回線数が16回線で、
回線アダプタを1スロット(1回線基板)当り、4回線
収容した場合のブロック図である。第1図中、第3図と
同記号の回路及び信号線は第3図と同一機能を有する。
第1図において、1-5はスキャンモードレジスタであ
り、優先スキャンを行なう回線数とスキャンスキップを
行なう回線数を保持している。これら優先スキャン回線
数とスキャンスキップ回線数は、システムジェネレーシ
ョン時に設定される優先スキャン回線数(回線走査比率
を高くする回線数)とスキャンスキップ回線数(回線走
査を抑止する回線数)とを記憶するメモリ(図示せず)
と、回線番号毎の実装、未実装状態を図示しないマイク
ロプロセッサがセンス可能なハードウェアよりセンスし
た実際の実装、未実装状態により、スキャンモードレジ
スタ1-5にセットされる。このハードウェアは、第1図
において、後述する情報設定回路2-d01中、信号線S10
を割込コードに付加することにより構成されている。1-
6はROMで、信号線群S6及びS7を介してそれぞれ供
給される優先スキャン回線数及びスキャンスキップ回線
数と、走査レシスタ1-7から信号線群S11及びS8を介し
てそれぞれ供給される優先走査スロット値(後述する回
線走査比率を指定する)及び回線走査タイムスロット番
号(回線走査を行なう回線番号)とを入力し、次の優先
走査スロット値及び回線走査タイムスロット番号を出力
する。1-7はROM1-6の前記出力を走査クロック毎にサ
ンプルし、信号線群S8及びS11にそれぞれ前記信号を
出力する走査レジスタである。(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention. Like the example of FIG. 3, the maximum number of accommodated lines is 16 lines,
It is a block diagram in the case of accommodating four lines per one slot (one line board) of line adapters. In FIG. 1, circuits and signal lines having the same symbols as in FIG. 3 have the same functions as in FIG.
In FIG. 1, reference numeral 1-5 is a scan mode register, which holds the number of lines for which a priority scan is performed and the number of lines for which a scan skip is performed. The number of priority scan lines and the number of scan skip lines store the number of priority scan lines (the number of lines that increase the line scan ratio) and the number of scan skip lines (the number of lines that suppress line scanning) set during system generation. Memory (not shown)
Then, the scan mode register 1-5 is set according to the actual mounted / unmounted state, which is detected by the hardware capable of sensing the mounted / unmounted state of each line number by a microprocessor (not shown). This hardware corresponds to the signal line S 10 in the information setting circuit 2-d 01 described later in FIG.
Is added to the interrupt code. 1-
Reference numeral 6 is a ROM, which is supplied through the signal line groups S 6 and S 7 respectively, and the number of priority scan lines and scan skip lines, and the scan register 1-7 through the signal line groups S 11 and S 8 , respectively. Input priority scanning slot value (specify the line scanning ratio described later) and line scanning time slot number (line number for line scanning), and output the next priority scanning slot value and line scanning time slot number. . Reference numeral 1-7 is a scan register that samples the output of the ROM 1-6 for each scan clock and outputs the signal to the signal line groups S 8 and S 11 , respectively.
ここで回線走査比率とは優先スキャン回線以外の回線に
対して回線走査タイムスロットを1回割り当てる間の優
先スキャン回線に対する回線走査タイムスロットの割り
当て回数の比率である。たとえば、回線走査比率が4の
ときは優先スキャン回線以外の回線に対し回線走査タイ
ムスロットを1回割り当てる間に、優先スキャン回線に
対する回線走査タイムスロットを4回割り当てることに
なる。すなわち、回線走査比率が4のときは、信号線群
S11の優先走査タイムスロット値は回線走査1周ごとに
0→1→2→3と変化する。この場合、優先スキャン回
線は優先走査タイムスロット値が変化するごとに走査さ
れる(この場合、4回走査される)のに対し、それ以外
の回線は回線走査1周するごとに1回走査される。Here, the line scan ratio is the ratio of the number of times the line scan time slot is assigned to the priority scan line while the line scan time slot is assigned once to the lines other than the priority scan line. For example, when the line scan ratio is 4, the line scan time slot is assigned to the priority scan line four times while the line scan time slot is assigned to the lines other than the priority scan line once. That is, when the line scan ratio is 4, the priority scan time slot value of the signal line group S 11 changes in the order of 0 → 1 → 2 → 3 every one line scan. In this case, the priority scan line is scanned every time the priority scan time slot value changes (in this case, it is scanned four times), while the other lines are scanned once every one line scan. It
また、信号線群S8は、本実施例の場合は収容最大回線
数が16回線であるため、それぞれ23,22,21,20の重み
を持つ4本の信号線からなる。Further, in the case of the present embodiment, the signal line group S 8 is composed of four signal lines each having a weight of 2 3 , 2 2 , 2 1 , 2 0 because the maximum number of lines to be accommodated is 16.
2-d01は情報設定回路で、回線アダプタ毎に設けられ、
信号線群S9に自己の回線番号を出力し、信号線S10に
回線の実装、未実装状態を出力する。2-d02は比較回路
で、信号線S10が実装状態を示しているとき、信号線群
S9上の自己の回線番号と信号線群S8上の回線走査タイ
ムスロット番号とを比較する。両者が一致したとき、比
較回路2-d02は信号線S5-1に自回線よりの割込送出を許
可する信号を送出する。このような情報設定回路2-d01
及び比較回路2-d02は、回線アダプタ2-d0〜2-d3ごとに
設けられている。2-d 01 is an information setting circuit, provided for each line adapter,
It outputs its own line number to the signal line group S 9 , and outputs the mounted / unmounted state of the line to the signal line S 10 . 2-d 02 is a comparison circuit, which compares the own line number on the signal line group S 9 with the line scanning time slot number on the signal line group S 8 when the signal line S 10 indicates the mounted state. . When the two match, the comparison circuit 2-d 02 sends a signal to the signal line S 5-1 to permit the interrupt sending from its own line. Such information setting circuit 2-d 01
The comparator circuit 2-d 02 is provided for each of the line adapters 2-d 0 to 2-d 3 .
次に、第1図に示すブロック図の動作について、第2図
(A)〜(C)を参照して説明する。Next, regarding the operation of the block diagram shown in FIG. 1, FIG.
This will be described with reference to (A) to (C).
第2図(A)は、優先スキャン回線数が0で、未使用回
線数が0、すなわち収容最大回線数全実装の場合のタイ
ムチャートである。尚、タイムチャート上の信号の参照
符号は第1図中のものと同一である。この場合、優先ス
キャン回線数及び未使用回線数がいずれも0なので、信
号線群S6及びS7上の信号はいずれも0である。従っ
て、走査クロック毎に順に回線走査が行なわれる。ま
た、優先スキャン回線数が0のため、信号線群S11上の
優先走査タイムスロット値が1周(0→1→2→3)す
る間に、各回線アダプタに対し、信号線群S8を介して
それぞれ1回の回線走査タイムスロットが与えられる。
回線走査タイムスロット番号(回線番号)は各回線の情
報設定回路(回線アダプタ2-d0の場合、2-d01)に格納
された回線番号と比較され、一致した回線アダプタにの
み割込みの権利が与えられる。ここで、各回線アダプタ
の情報設定回路中の回線番号の値はすべて異なる値に設
定されており、この実施例の場合は16回線なので、0
〜15(10)の値が対応する情報設定回路中に格納されてい
る。また、各々の設定情報回路には実装状態を示す信号
が格納されている。FIG. 2A is a time chart when the number of priority scan lines is 0 and the number of unused lines is 0, that is, when the maximum number of accommodated lines is fully implemented. The reference symbols of the signals on the time chart are the same as those in FIG. In this case, since the number of priority scan lines and the number of unused lines are both 0, the signals on the signal line groups S 6 and S 7 are both 0. Therefore, line scanning is sequentially performed for each scanning clock. Further, since the number of priority scan lines is 0, the signal line group S 8 is sent to each line adapter while the priority scan time slot value on the signal line group S 11 makes one round (0 → 1 → 2 → 3). One line scan time slot is provided via each.
The line scan time slot number (line number) is compared with the line number stored in the information setting circuit (2-d 01 in the case of line adapter 2-d 0 ) of each line, and the interrupt right is granted only to the matching line adapter. Is given. Here, the line number values in the information setting circuits of the respective line adapters are all set to different values, and in the case of this embodiment, there are 16 lines, so 0
Values of ~ 15 (10) are stored in the corresponding information setting circuit. Further, a signal indicating the mounting state is stored in each setting information circuit.
また第1図において、1回線基板当りの回線数が異なる
場合、又は回線基板の数が異なる場合でも、各回線アダ
プタの情報設定回路が異なる回線番号を設定すれば、第
2図(A)に示される動作と同様の動作が行なわれる。
たとえば、回線基板2-1〜2-4がそれぞれ4回線、2回
線、5回線及び3回線である場合、又は回線基板の数も
異なり、たとえば回線基板2-1〜2-4がそれぞれ4回線、
2回線、4回線及び4回線で、第1図に示されない回線
基板2-5が2回線の場合でも、各情報設定回路の回線番
号が重複なく0〜15(10)に設定されていれば、その動作
は第2図(A)と同一である。すなわち、回線基板の
数、回線数、回線基板の位置には何ら影響されない。Further, in FIG. 1, even if the number of lines per line board is different, or even if the number of line boards is different, if the information setting circuit of each line adapter sets different line numbers, it becomes as shown in FIG. 2 (A). Operations similar to those shown are performed.
For example, when the circuit boards 2-1 to 2-4 are 4 circuits, 2 circuits, 5 circuits and 3 circuits respectively, or the number of circuit boards is different, for example, the circuit boards 2-1 to 2-4 are 4 circuits respectively. ,
Even if there are 2 lines, 4 lines, and 4 lines, and the line board 2-5 not shown in FIG. 1 has 2 lines, if the line numbers of the information setting circuits are set to 0 to 15 (10) without duplication. The operation is the same as in FIG. 2 (A). That is, the number of circuit boards, the number of circuits, and the position of the circuit boards are not affected at all.
第2図(B)は、第1図のブロック図において、優先ス
キャン回線数が2回線で未使用回線数が4回線、すなわ
ち収容回線数12回線の場合の回線走査タイムチャート
である。FIG. 2B is a line scanning time chart in the case where the number of priority scan lines is 2 and the number of unused lines is 4, that is, the number of accommodated lines is 12 in the block diagram of FIG.
図中、タイムチャート上の信号の参照符号は第1図に示
されるものと同一である。この場合、スキャンモードレ
ジスタ1-5からの信号線群S6及びS7上の信号はそれぞ
れ2(8)及び4(16)となっている。従って、信号線群S
11上の優先走査スロット値が変化する毎に、優先スキャ
ンを行なう回線番号0,1の回線(本実施例の場合、優先
スキャン回線は若番から順に設定されるものとする)に
対し、回線走査タイムスロットが与えられる。一方、他
の使用状態の回線(回線番号3〜11)に対し、優先走査
スロット値が1周する毎に1回の回線走査タイムスロッ
トが与えられる。従って、未使用状態の回線(回線番号
12〜15)に対する回線走査タイムスロットは送出されな
い。尚、この実施例では、スキャンスキップ回線は老番
から順に設定されるものとしている。この結果、優先ス
キャン回線と他の使用状態の回線との回線走査比率は4
であり、かつ未使用状態の回線に対する回線走査は抑止
される。In the figure, the reference numerals of the signals on the time chart are the same as those shown in FIG. In this case, the signals on the signal line groups S 6 and S 7 from the scan mode register 1-5 are 2 (8) and 4 (16) , respectively. Therefore, the signal line group S
Each time the priority scanning slot value in 11 changes, the line for the lines with the line numbers 0 and 1 for performing the priority scanning (in this embodiment, the priority scanning lines are set in order from the smallest number) Scan time slots are provided. On the other hand, with respect to the other used lines (line numbers 3 to 11), one line scan time slot is given every time the priority scan slot value makes one round. Therefore, unused lines (line numbers
No line scan timeslots for 12-15) are sent. In this embodiment, the scan skip lines are set in order from the oldest number. As a result, the line scan ratio between the priority scan line and the other busy lines is 4
, And line scanning for an unused line is suppressed.
尚、本実施例の場合、優先スキャン回線番号は若番から
昇順とし、スキャンスキップ回線は老番から降順する如
く設定されている。しかしながら、これらの順番にとら
われず、他の回線を優先スキャン回線及びスキャンスキ
ップ回線とすることができる。このためには、優先スキ
ャンすべき回線番号に対応する情報設定回路の回線番号
をそれぞれ0,1とし、残りの実装回線の回線番号を任意
に2〜11とすればよい。In the case of this embodiment, the priority scan line numbers are set in ascending order from the smallest number, and the scan skip lines are set in descending order from the oldest number. However, the other lines can be used as the priority scan line and the scan skip line regardless of the order. For this purpose, the line numbers of the information setting circuits corresponding to the line numbers to be preferentially scanned may be set to 0 and 1, respectively, and the line numbers of the remaining mounted lines may be set to 2 to 11.
また、第2図(B)において、優先スキャンを行なう回
線番号0,1の回線走査タイムスロットをほぼ等間隔に設
定しているのは、どの時点においても最悪の回線割込保
留時間を最小限にとどめておくためである。Further, in FIG. 2 (B), the line scanning time slots of the line numbers 0 and 1 for which priority scanning is performed are set at substantially equal intervals to minimize the worst line interrupt hold time at any time. This is to keep it.
第2図(C)は、同様にして優先スキャン回線数が1回
線で、未使用回線数が7回線の場合の回線走査タイムチ
ャートの例である。この場合、スキャンモードレジスタ
1-5からの信号線群S6及びS7上の信号はそれぞれ1(8)
及び7(16)となっている。従って、信号線群S11上の優
先走査スロット値が変化する毎に、優先スキャンを行な
う回線番号0の回線に対し回線走査タイムスロットが与
えられる。一方、他の使用状態の回線(回線番号1〜
8)に対し、優先走査スロット値が1周する毎に1回の
回線走査タイムスロットが与えられる。従って、未使用
状態の回線(回線番号9〜15)に対する回線走査タイム
スロットは送出されない。Similarly, FIG. 2C is an example of a line scanning time chart when the number of priority scanning lines is one and the number of unused lines is seven. In this case, the scan mode register
The signals on the signal line groups S 6 and S 7 from 1-5 are 1 (8) respectively.
And 7 (16) . Therefore, each time the priority scanning slot value on the signal line group S 11 changes, the line scanning time slot is given to the line of line number 0 for which the priority scanning is performed. On the other hand, other lines in use (line numbers 1 to
In contrast to 8), each time the priority scanning slot value makes one round, one line scanning time slot is given. Therefore, the line scanning time slots for the unused lines (line numbers 9 to 15) are not transmitted.
以上の説明からわかるように、上述した実施例によれ
ば、優先スキャン回線を含め回線単位の走査ができ、従
って優先スキャン機能とスキャンスキップ機能が完全に
独立したものとなり、この結果効率良く所望の回線走査
比率を得ることができる。As can be seen from the above description, according to the above-described embodiment, line-by-line scanning including the priority scan line can be performed, so that the priority scan function and the scan skip function become completely independent, which results in efficient and desired operation. The line scan ratio can be obtained.
尚、上述した実施例において、システムジェネレーショ
ン時に設定されるスキャンスキップ回線数と、動作時に
マイクロプロセッサによりセンスされた実装、未実装状
態が異なる場合は、スキャンスキップ回線数は次のとお
り設定される。すなわち、システムジェネレーション時
のスキャンスキップ回線数が実際にセンスされた未実装
状態の回線数より多い場合は、実際にセンスされた情報
がスキャンモードレジスタ1-5にセットされる。逆に少
ない場合は、システムジェネレーション時に設定される
スキャンスキップ回線数がスキャンモードレジスタ1-5
にセットされる。In the above-described embodiment, if the number of scan skip lines set during system generation differs from the mounted / unmounted state sensed by the microprocessor during operation, the number of scan skip lines is set as follows. That is, when the number of scan skip lines during system generation is greater than the number of actually sensed lines in the unmounted state, the actually sensed information is set in the scan mode register 1-5. Conversely, if the number is small, the number of scan skip lines set during system generation is 1-5.
Is set to.
以上、この発明を実施例に基づき詳細に説明した。上記
実施例においては回線走査比率を4に設定したが、この
回線走査比率は信号線群S11の本数及びROM1-6の構
成により自由に設定可能である。また、優先走査スロッ
ト値及び回線走査タイムスロット番号の設定並びに回線
数の単位の設定(たとえば、2回線単位とし、最大1回
線の空スキャンを許す方法)もROM1-6の構成により
自由に設定可能である。更に、ROM1-6をRAMに置
き換えれば、マイクロプロセッサにより任意に回線走査
タイムスロットを設定することができる。The present invention has been described above in detail based on the embodiments. Although the line scanning ratio is set to 4 in the above embodiment, this line scanning ratio can be freely set by the number of signal line groups S 11 and the configuration of the ROM 1-6. In addition, the priority scan slot value, line scan time slot number and line number unit (for example, a method of allowing two lines and allowing a maximum of one idle scan) can be freely set by the ROM1-6 configuration. Is. Further, by replacing the ROM1-6 with a RAM, the line scanning time slot can be arbitrarily set by the microprocessor.
(発明の効果) 以上説明したように、この発明によれば、以下の効果が
得られる。(Effects of the Invention) As described above, according to the present invention, the following effects can be obtained.
i)回線走査の単位が回線単位となっているため、1つ
の回路基板に高速回線と低速回線とが混在していても、
優先スキャンされるべき高速回線に対してのみ優先スキ
ャンを行なうことができる。また、同様の理由により、
回線基板内に収容可能な回線数、回線基板数及び回線基
板位置に影響されることなく、実装された回線のみの回
線走査が可能であり、未実装回線に対する回線走査は抑
制されるので、無駄な回線走査を防止することができ
る。i) Since the line scanning unit is a line unit, even if a high speed line and a low speed line are mixed on one circuit board,
Only the high speed line which should be preferentially scanned can be preferentially scanned. Also, for the same reason,
It is possible to scan only the mounted lines without being affected by the number of lines that can be accommodated in the line board, the number of line boards, and the position of the line board. It is possible to prevent unnecessary line scanning.
ii)走査カウンタから出力される回線走査1周のカウン
タ値は可変であるため、回線走査比率を所望の値に固定
することができる。この結果、無駄な回線走査を防止す
ることができる。ii) Since the counter value for one round of line scan output from the scan counter is variable, the line scan ratio can be fixed to a desired value. As a result, useless line scanning can be prevented.
iii)優先スキャン回線数と回線の実装、未実装に応じ
て決定されるスキャンスキップ回線数とに基づき走査さ
れる回線走査タイムスロット番号が決定されるので、優
先スキャン機能とスキャンスキップ機能とが完全に独立
して動作可能である。iii) Since the line scan time slot number to be scanned is determined based on the number of priority scan lines and the number of scan skip lines determined according to whether or not the lines are installed, the priority scan function and scan skip function are complete. Can operate independently.
iv)回線走査タイムスロット番号の出力の遅延が走査レ
ジスタの出力遅延のみとなり、走査クロック周期に悪影
響を与えることはない。iv) The delay of the output of the line scan time slot number is only the output delay of the scan register and does not adversely affect the scan clock cycle.
v)回線の実装、未実装をマイクロプロセッサによりセ
ンス可能とし、更に回線基板毎に回線走査タイムスロッ
トを割り当てる信号線を設けることなく、すべての回線
基板に接続される共通の信号線群により走査される回線
走査スロット番号を供給することとしたため、個別の信
号線の本数を減少させることができる。具体的には、1
6回線及び64回線のときは、個別の信号線の本数はそ
れぞれ4本及び6本でよい。v) The mounted / unmounted lines can be sensed by a microprocessor, and scanning is performed by a common signal line group connected to all the circuit boards without providing a signal line for allocating a circuit scanning time slot for each circuit board. The number of individual signal lines can be reduced because the line scanning slot number is supplied. Specifically, 1
In the case of 6 lines and 64 lines, the number of individual signal lines may be 4 and 6, respectively.
vi)優先スキャンする回線の設定は、各回線アダプタが
有する情報設定手段に回線番号を若番から昇順に設定
し、優先スキャンする回線数を回線走査回路の記憶手段
に格納することで、簡単に行うことができ、情報設定手
段に設定する回線番号を変更することで容易に変更する
ことができる。また、スキャンスキップする回線の設定
は、各回線アダプタが有する情報設定手段に回線番号を
老番から降順に設定し、スキャンスキップする回線数を
回線走査回路の記憶手段に格納することで、簡単に行う
ことができる。vi) The setting of the line to be preferentially scanned can be done easily by setting the line numbers in ascending order from the smallest number to the information setting means of each line adapter and storing the number of lines to be preferentially scanned in the storage means of the line scanning circuit. This can be done and can be easily changed by changing the line number set in the information setting means. In addition, the setting of the line to be skipped can be done easily by setting the line number in the information setting unit of each line adapter in descending order from the oldest number and storing the number of lines to be skipped in the storage unit of the line scanning circuit. It can be carried out.
第1図はこの発明の一実施例のブロック図、第2図(A)
〜(C)はこのブロック図の動作タイムチャート、第3図
は従来の回線走査方式のブロック図、及び第4図(A),
(B)はこのブロック図の動作タイムチャートである。 1……回線走査回路、1-2……ROM、 1-3……セレクトデコーダ、 1-4……共通制御回路、 1-5……スキャンモードレジスタ、 1-6……ROM、1-7……走査レジスタ、 2-1,2-2,2-3,2-4……回線基板、 2-a……セレクトデコーダ、 2-b0〜3……トライステート付ゲート、 2-c0〜3……割込回路、 2-d01……情報設定回路、 2-d02……比較回路、 2-d0〜3……回線アダプタ。FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 (A).
~ (C) is an operation time chart of this block diagram, Fig. 3 is a block diagram of a conventional line scanning system, and Fig. 4 (A),
(B) is an operation time chart of this block diagram. 1 ... Line scanning circuit, 1-2 ... ROM, 1-3 ... Select decoder, 1-4 ... Common control circuit, 1-5 ... Scan mode register, 1-6 ... ROM, 1-7 ...... Scan register, 2-1,2-2,2-3,2-4 …… Line board, 2-a …… Select decoder, 2-b 0 to 3 …… Tri-state gate, 2-c 0 ~ 3 ... Interrupt circuit, 2-d 01 ... Information setting circuit, 2-d 02 ... Comparison circuit, 2-d 0 ... 3 ... Line adapter.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 田阪 範文 東京都港区虎ノ門1丁目7番12号 沖電気 工業株式会社内 (56)参考文献 特開 昭57−206956(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Norifumi Tasaka 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (56) Reference JP-A-57-206956 (JP, A)
Claims (1)
ダプタと、該複数の回線アダプタからの割込要求を順次
制御する回線走査回路とを有する通信制御装置におい
て、前記回線走査回路は、他の回線より多くスキャンし
て優先スキャンを行なう回線に若番から昇順に回線を設
定して得た回線数及び前記回線アダプタ側から得られる
各回線の実装、未実装状態に従って決定されスキップさ
れてスキャンされないスキャンスキップを行なう回線に
老番から降順に回線を設定して得た回線数とを格納する
記憶手段と、該記憶手段からの情報に基づき走査クロッ
クに従って順次走査すべき回線番号をすべての回線アダ
プタに送出する手段とを有し、前記各回線アダプタは、
これに収容される回線が優先スキャン回線であるときは
若番から昇順に設定され、スキャンスキップ回線である
ときは老番から降順に設定された回線番号と、当該回線
の実装、未実装状態とを格納する情報設定手段と、前記
回線走査回路から送出された回線番号と前記情報設定手
段から出力された回線番号とを比較する比較手段とを有
し、優先スキャンを若番から昇順に行い、スキャンスキ
ップを老番から降順に行うと共に、両者の回線番号が一
致したときに対応する回線からの割込を許可することを
特徴とする回線走査方式。1. A communication control device comprising a plurality of line adapters for accommodating a plurality of lines and a line scanning circuit for sequentially controlling interrupt requests from the plurality of line adapters, wherein the line scanning circuit comprises: It is determined and skipped according to the number of lines obtained by setting the lines in ascending order from the lowest number to the line that scans more than other lines and performs priority scan, and the mounted and unmounted state of each line obtained from the line adapter side. The storage means for storing the number of lines obtained by setting the lines in descending order from the oldest number to the line to be scanned and not scanned, and all the line numbers to be sequentially scanned according to the scanning clock based on the information from the storage means. And a means for sending to the line adapter, each line adapter,
When the line accommodated in this is a priority scan line, it is set in ascending order from the lowest number, and when it is a scan skip line, the line number set in descending order from the oldest number, and whether the line is mounted or not mounted. Having an information setting means for storing, and a comparing means for comparing the line number output from the line scanning circuit with the line number output from the information setting means, performing priority scanning in ascending order from the smallest number, A line scanning method characterized by performing a scan skip in descending order from the old number, and permitting an interrupt from the corresponding line when both line numbers match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59177563A JPH0657025B2 (en) | 1984-08-28 | 1984-08-28 | Line scanning method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59177563A JPH0657025B2 (en) | 1984-08-28 | 1984-08-28 | Line scanning method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6156547A JPS6156547A (en) | 1986-03-22 |
| JPH0657025B2 true JPH0657025B2 (en) | 1994-07-27 |
Family
ID=16033147
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59177563A Expired - Lifetime JPH0657025B2 (en) | 1984-08-28 | 1984-08-28 | Line scanning method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0657025B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0748753B2 (en) * | 1988-06-28 | 1995-05-24 | 沖電気工業株式会社 | Line control device |
| US7204150B2 (en) * | 2005-01-14 | 2007-04-17 | Mks Instruments, Inc. | Turbo sump for use with capacitive pressure sensor |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57206956A (en) * | 1981-06-15 | 1982-12-18 | Fujitsu Ltd | Scanning system |
-
1984
- 1984-08-28 JP JP59177563A patent/JPH0657025B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6156547A (en) | 1986-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4451881A (en) | Data processing system bus for multiple independent users | |
| US4434461A (en) | Microprocessor with duplicate registers for processing interrupts | |
| EP0288636B1 (en) | Network communications adapter | |
| US4814974A (en) | Programmable memory-based arbitration system for implementing fixed and flexible priority arrangements | |
| US4257097A (en) | Multiprocessor system with demand assignable program paging stores | |
| JP2561759B2 (en) | Multiprocessor system and message transmission / reception control device thereof | |
| US3848233A (en) | Method and apparatus for interfacing with a central processing unit | |
| US5414816A (en) | Data transfer apparatus having means for controlling the difference in speed between data input/output ports and memory access | |
| US7373467B2 (en) | Storage device flow control | |
| US5160923A (en) | Priority encoder for resolving priority contention | |
| JPH04211855A (en) | Apparatus and method for controlling communication bus in data processing system | |
| EP0239298B1 (en) | Data processing system having modifiable input/output priority selection | |
| CA1169158A (en) | Communication multiplexer variable priority scheme | |
| EP0454605A2 (en) | Bus request device in a direct memory access (DMA) system | |
| US4922416A (en) | Interface device end message storing with register and interrupt service registers for directing segmented message transfer between intelligent switch and microcomputer | |
| US4559595A (en) | Distributed priority network logic for allowing a low priority unit to reside in a high priority position | |
| US4922410A (en) | Input/output system capable of allotting addresses to a plurality of input/output devices | |
| US6470407B1 (en) | Method for arbitrating interrupt priorities among peripherals in a microprocessor-based system | |
| JPH0657025B2 (en) | Line scanning method | |
| US4802125A (en) | Memory access control apparatus | |
| US5202999A (en) | Access request prioritization and summary device | |
| EP1436710A1 (en) | Interfacing processors with external memory supporting burst mode | |
| CA1169157A (en) | Communication multiplexer having an apparatus for establishing a single line priority | |
| EP0049157A2 (en) | Polling means for communication multiplexer | |
| KR100215572B1 (en) | Interface buffer control method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |