JPH0526380B2 - - Google Patents
Info
- Publication number
- JPH0526380B2 JPH0526380B2 JP58135548A JP13554883A JPH0526380B2 JP H0526380 B2 JPH0526380 B2 JP H0526380B2 JP 58135548 A JP58135548 A JP 58135548A JP 13554883 A JP13554883 A JP 13554883A JP H0526380 B2 JPH0526380 B2 JP H0526380B2
- Authority
- JP
- Japan
- Prior art keywords
- line
- lines
- scanning
- speed
- binary counter
- 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
- 238000006243 chemical reaction Methods 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 24
- 208000032005 Spinocerebellar ataxia with axonal neuropathy type 2 Diseases 0.000 claims 2
- 208000033361 autosomal recessive with axonal neuropathy 2 spinocerebellar ataxia Diseases 0.000 claims 2
- 230000000717 retained effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 230000004308 accommodation Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】
この発明は複数の異速度のデータ通信回線を制
御する通信制御装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control device that controls a plurality of data communication lines having different speeds.
<従来技術>
従来のこの種の装置には、回線上のビツトシリ
アルデータを、通信制御装置内でとり扱うパラレ
ルデータ(キヤラクタ)に変換する直並列変換回
路が回線対応に設けられている。1文字のキヤラ
クタを受信する毎に、あるいはキヤラクタを送信
する毎に、1文字受信表示あるいは次送信文字要
求表示(処理要求)を前記直並列変換回路が出力
することにより、通信制御装置内の制御回路は、
1文字受信であればその直並列変換回路から1文
字を読出してメモリへ転送し、次送信文字要求で
あれば、メモリから次に送信すべき送信データを
読出してその直並列変換回路に書込む。この動作
を繰返すことによりデータ通信回線との間でのデ
ータの送受信が正しく行われる。<Prior Art> A conventional device of this type is provided with a serial-to-parallel conversion circuit corresponding to the line, which converts bit serial data on the line into parallel data (characters) handled within the communication control device. Each time a character is received or transmitted, the serial/parallel conversion circuit outputs a one character reception indication or a next transmission character request indication (processing request), thereby controlling the control within the communication control device. The circuit is
If one character is received, one character is read from the serial/parallel conversion circuit and transferred to the memory, and if the next transmission character is requested, the next transmission data to be sent is read from the memory and written to the serial/parallel conversion circuit. . By repeating this operation, data can be transmitted and received correctly with the data communication line.
ところで複数の異なる通信速度をもつデータ通
信回線を制御する場合、高速度の回線は低速度の
回線に比べ直並列変換回路からの1文字受信表示
あるいは送信文字要求表示の出力間隔が短かくな
るので、制御回路は高速回線の直並列変換回路の
処理要求チエツクを頻繁に行わなければならな
い。この処理要求のチエツク方法には直並列変換
回路において処理要求が発生すると、制御回路へ
割込みを行う割込方式と、制御回路が一定時間毎
にすべての回線の直並列変換回路の処理要求の有
無を個々にチエツクする走査方式とがある。この
発明は処理要求チエツクを走査方式によるものに
関するものであるから、割込方式については以後
説明を省略する。 By the way, when controlling data communication lines with multiple different communication speeds, the output interval of single character reception display or transmission character request display from the serial-to-parallel converter circuit is shorter for high-speed lines than for low-speed lines. , the control circuit must frequently check the processing requirements of the high-speed line serial-to-parallel conversion circuit. This method of checking processing requests includes an interrupt method in which when a processing request occurs in the serial-to-parallel conversion circuit, an interrupt is sent to the control circuit, and the control circuit checks whether or not there is a processing request for the serial-to-parallel conversion circuit for all lines at regular intervals. There is a scanning method that checks each individual item. Since the present invention relates to a processing request check based on a scanning method, a description of the interrupt method will be omitted hereinafter.
前記処理要求を走査方式によりチエツクする場
合は、回線速度が例えば毎秒9600ビツト
(9600bps)の回線と毎秒1200ビツト(1200bps)
の回線を混在する装置においては、9600bpsの回
線については1200bpsの回線に比べ、8倍の速さ
で直並列変換回路の処理要求の有無をチエツクし
なければならない。従来高速回線を収容する方法
としては、収容回線数を制限する方式(走査制限
方式)がある。例えば1200bps64回線の収容能力
をもつ通信制御装置において、9600bps回線を収
容する時はその9600bpsの回線を1200bpsの回線
よりも8倍の速度でチエツクする必要があるか
ら、特定の8回線(64回線/8)の回線番号(例
えば0番から7番)にのみ収容可能とする。この
場合9600bps回線は1回線のみ収容する場合で
も、制御回路にはその他に1200bps回線を56回線
分処理できる余力があるにもかかわらず、残りの
7回線しか収容できないという欠点があつた。 When checking the processing request using the scanning method, the line speed is, for example, 9600 bits per second (9600bps) and 1200 bits per second (1200bps).
In a device that uses a mixture of lines, it is necessary to check whether there is a processing request for the serial/parallel converter circuit for a 9600 bps line at a rate eight times faster than for a 1200 bps line. As a conventional method for accommodating high-speed lines, there is a method (scanning restriction method) that limits the number of accommodated lines. For example, in a communication control device that has the capacity to accommodate 64 lines at 1200 bps, when accommodating a 9600 bps line, it is necessary to check the 9600 bps line at a speed eight times faster than the 1200 bps line. 8) can be accommodated only in the line numbers (for example, numbers 0 to 7). In this case, even if only one 9600bps line was accommodated, the control circuit had the disadvantage that it could only accommodate the remaining seven lines, even though it had the capacity to handle 56 other 1200bps lines.
この欠点を解決する方式として一定の回線番号
に走査順序がきたとき、その回線番号を高速回線
用の番号に変換するアドレス置換方式がある。こ
の方式は例えば9600bps1回線を0番回線に収容
したとき1番から63番までの回線番号のうち8j
(j=1〜7)番に走査順序がきたときその番号
を0番に置換するものである。この方式では収容
する9600bps回線が1回線の場合は、64回線のう
ち使用不可となるのは7回線(8、16、24、32、
40、48、56)のみであり、9600bpsを2回線収容
する場合は、8jと8j+1(j=1〜7)の14回線
が使用不可となる。このようにアドレス置換方式
では使用可能な回線番号にぬけが生じる。 As a method for solving this drawback, there is an address replacement method in which when a certain line number comes in the scanning order, that line number is converted to a number for a high-speed line. For example, when one 9600bps line is accommodated in line 0, 8j of the line numbers 1 to 63 is used.
When the scanning order reaches number (j=1 to 7), that number is replaced with number 0. In this method, if only one 9600bps line is accommodated, 7 out of 64 lines (8, 16, 24, 32,
40, 48, 56), and when accommodating two lines of 9600 bps, 14 lines, 8j and 8j+1 (j = 1 to 7), become unusable. In this way, in the address substitution method, there is a gap in usable line numbers.
ところで直並列変換回路を収容して、直接回線
インタフエースを収容するプリント基板(回線ア
ダプタ)は一般に1枚当り2、4あるいは8回線
を収容しており、回線アダプタ内の回線番号は回
線アダプタの回路構成上連続した番号が割当てら
れるのが普通である。そのため前記アドレス置換
方式においては、ぬけが生じた回線番号に対応す
る回線アダプタ内の直並列変換回路等が使われ
ず、使用効率が悪くなるという欠点があつた。ま
た高速回線収容数あるいは高速種別に対応したア
ドレス置換の変換回路が複雑となり、アドレス置
換モードの数を増加するとハードウエア量が大幅
に増加するという欠点もあつた。更にアドレス置
換式が布線論理で作られている場合、アドレス置
換式を変更する必要が生じた場合、回路の再設計
が必要になるという欠点があつた。従来の通信制
御装置の中には、上記2方式を組合せて複数の走
査パターンを設定可能としているものもあるが、
本質的な問題解決にはなつていなかつた。 By the way, printed circuit boards (line adapters) that accommodate serial-to-parallel converter circuits and direct line interfaces generally accommodate 2, 4, or 8 lines per board, and the line numbers in the line adapter are the same as those of the line adapter. Normally, consecutive numbers are assigned due to the circuit configuration. Therefore, the address replacement method has the disadvantage that the serial/parallel converter circuit, etc. in the line adapter corresponding to the line number where the line number has been left out is not used, resulting in poor usage efficiency. Another disadvantage is that the conversion circuit for address substitution corresponding to the number of high-speed lines accommodated or the type of high-speed line becomes complicated, and increasing the number of address substitution modes significantly increases the amount of hardware. Furthermore, if the address replacement formula is created using wiring logic, there is a drawback that if it becomes necessary to change the address replacement formula, the circuit must be redesigned. Some conventional communication control devices are capable of setting multiple scanning patterns by combining the above two methods.
It didn't really solve the problem.
<発明の概要>
この発明の目的は制御回路の処理能力を充分使
用でき、かつ回線番号が途中で抜けるようなこと
がなく、連続した番号の回線を使用でき、従つて
回線アダプタの使用効率が良く、しかも高速回線
収容数、速度種別に対応するアドレス置換を簡単
なハードウエアで構成することができる通信制御
装置を提供することにある。<Summary of the Invention> The purpose of the present invention is to fully utilize the processing capacity of a control circuit, prevent line numbers from being dropped midway through, use lines with consecutive numbers, and improve the efficiency of line adapter usage. It is an object of the present invention to provide a communication control device capable of configuring address replacement corresponding to the number of high-speed lines accommodated and the speed type with simple hardware.
この発明によれば外部回路からレジスタにアド
レス変換種別を示す情報が入力保持され、このレ
ジスタの出力とバイナリカウンタの出力とをアド
レスとして記憶部が読出され、この記憶部にはア
ドレス変換種別毎に走査回線番号が記憶されてお
り、その読出された出力番号の直並列変換回路に
処理要求があるか否かをチエツクし、前記バイナ
リカウンタは更新指示によりインクリメントさ
れ、かつ前記記憶部の出力のうちの1ビツトは前
記バイナリカウンタに対する初期化指示とする。 According to this invention, information indicating the type of address conversion is input and held in the register from an external circuit, and the storage section is read out using the output of this register and the output of the binary counter as an address. A scanning line number is stored, and it is checked whether or not there is a processing request for the serial/parallel conversion circuit of the read output number, the binary counter is incremented by an update instruction, and one of the outputs of the storage section 1 bit is used as an initialization instruction for the binary counter.
前記走査回路番号を、すべてのデータ通信回線
の速度が等しい時には、すべての回線を均一に走
査するように設定し、データ通信回線が2m本(m
は自然数)の低速回線とその2n倍(nは自然数で
n≦m)の速度をもつ2m-n本の高速回線とが共存
する時には前記バイナリカウンタからの出力信号
の最下位ビツトが0の時に、高速回線を、1の時
に低速回線を順に走査するように設定する。 The scanning circuit number is set so that all data communication lines are scanned uniformly when the speeds of all data communication lines are equal.
When the lowest bit of the output signal from the binary counter is 0 , when a low-speed line with a speed of , the high-speed line is set to scan the low-speed line in order when it is 1.
<実施例>
第1図はこの発明の実施例を示し、上位装置1
に通信制御装置2が接続され、通信制御装置2内
において制御回路20に走査モード保持レジスタ
21、6ビツトのバイナリカウンタ22が接続さ
れ、バイナリカウンタ22は制御回路20からリ
セツト信号線23を通じてリセツト信号をバイナ
リカウンタ22のリセツト入力端子24の与える
ことができ、また制御回路20は線25を通じて
バイナリカウンタ22へカウンタ更新信号を与え
ることができる。走査番号記憶部26はアドレス
変換種別ごとに走査回線番号を記憶した読出し専
用あるいは書込み読出し可能なメモリであり、レ
ジスタ21及びバイナリカウンタ22の出力をア
ドレス入力261として読出される。記憶部26
から走査番号262が出力される。記憶部26に書
込み読出メモリ適用時に必要な制御回路20から
の書込みデータ信号線及びアドレス信号線は省略
している。読出された走査番号262の下位2ビツ
トであつて直並列変換回路301の4回線分のア
ドレスはアドレス信号線27へ供給され、走査番
号262中の下位2ビツトと上位1ビツトを除くビ
ツトは、回線アダプタ30を区別するためのデコ
ード回路28へ供給され、走査番号262の上位1
ビツトはリセツト信号線29を通じてバイナリカ
ウンタ22のリセツト入力端子24へ供給され
る。回線アダプタ301〜308はそれぞれ4回線
分の直並列変換回路3010〜3013を収容し、
各直並列変換回路301からの処理要求表示はデ
ータバス信号線31を通じて制御回路20へ供給
される。又各回線アダプタ301〜308内には直
並列変換回路用デコーダ302が設けられ、信号
線27のアドレスをデコードする。<Embodiment> FIG. 1 shows an embodiment of the present invention, in which a host device 1
A communication control device 2 is connected to the control circuit 20 in the communication control device 2, and a scanning mode holding register 21 and a 6-bit binary counter 22 are connected to the control circuit 20. The binary counter 22 receives a reset signal from the control circuit 20 through a reset signal line 23. can be applied to the reset input terminal 24 of the binary counter 22, and the control circuit 20 can provide a counter update signal to the binary counter 22 over line 25. The scanning number storage section 26 is a read-only or write-readable memory that stores scanning line numbers for each address conversion type, and the outputs of the register 21 and the binary counter 22 are read out as the address input 261. Storage section 26
Scan number 262 is output from. The write data signal line and address signal line from the control circuit 20, which are necessary when applying a write/read memory to the storage section 26, are omitted. The lower 2 bits of the scan number 262 that have been read out and the address for 4 lines of the serial/parallel conversion circuit 301 are supplied to the address signal line 27, and the bits of the scan number 262 other than the lower 2 bits and the upper 1 bit are as follows. It is supplied to the decoding circuit 28 for distinguishing the line adapter 30, and the top 1 of the scanning number 262 is
The bit is provided to the reset input terminal 24 of the binary counter 22 via a reset signal line 29. Line adapters 30 1 to 30 8 each accommodate serial-to-parallel conversion circuits 301 0 to 301 3 for four lines,
Processing request indications from each serial-parallel conversion circuit 301 are supplied to the control circuit 20 through the data bus signal line 31. Further, a decoder 302 for serial/parallel conversion circuit is provided in each of the line adapters 30 1 to 30 8 to decode the address of the signal line 27 .
第2図は走査モードの種別、そのコード(レジ
スタ21に設定される)、収容(走査対象)回線
番号、収容可能回線速度、収容回線数及び走査番
号記憶部26へ設定する走査番号生成式を示す。
この実施例では4つの走査モードを設けている。
走査番号生成式はバイナリカウンタ22の出力
X4,X3,X2,X1,X0を記憶部26のアドレスと
する時に記憶部26に記憶されるデータを示し、
X0は最下位ビツト(LSB)である。走査モード
コードは走査モード保持レジスタ21に設定され
る。1200bpsの回線のみを収容する場合の収容回
線数は32であるから、4800bpsの回線を4回線収
容する場合は4800bpsの1回線で1200bpsの4回
線分を必要とするため、1200bps回線を収容でき
る数は32−4×4=16となる。 FIG. 2 shows the type of scanning mode, its code (set in the register 21), the line number accommodated (scanning target), the line speed that can be accommodated, the number of lines accommodated, and the scanning number generation formula to be set in the scanning number storage section 26. show.
In this embodiment, four scanning modes are provided.
The scanning number generation formula is the output of the binary counter 22.
Indicates the data stored in the storage unit 26 when X 4 , X 3 , X 2 , X 1 , and X 0 are the addresses of the storage unit 26,
X0 is the least significant bit (LSB). The scan mode code is set in the scan mode holding register 21. When accommodating only 1200bps lines, the number of lines that can be accommodated is 32, so when accommodating 4 lines of 4800bps, one 4800bps line requires 4 lines of 1200bps, so the number of lines that can accommodate 1200bps lines. becomes 32-4×4=16.
第3図は走査番号記憶部26の記憶内容例を示
し、出力の第6ビツト目(上位1ビツト)はバイ
ナリカウンタ22へのリセツト指示情報、出力ビ
ツト5〜1が走査回線番号を示している。モード
0においては第2図の走査番号生成式で示すよう
にバイナリカウンタ22の出力X5,X4,X3,
X2,X1,X0中の下位X4,X3,X2,X1,X0がそ
のまま記憶され、32の回線の走査番号が割当てら
れる。モード1の場合はX0=0の時のX2,X1に
対し4800bpsの回線に対する走査番号が割当てら
れる。つまりアドレスの0、2、4、6に対しそ
れぞれの各X2,X1を示す値00、01、10、11が記
憶される。以下のアドレスの8、10、12、14に対
し同様の番号がそれぞれ記憶される。つまり
4800bpsの回線の走査番号は0、1、2、3の4
回線が割当てられ、アドレスが8進むごとに
4800bps回線の同一回番号が読出され、従つて
1200bps回線の32/8=4倍の速度で同一回線番
号が読出される。一方1200bpsの回線に対しては
アドレスがX0=1の時にアドレスのX4,X3,
X2,X1に0100が加算されたものが走査番号とな
るため、アドレス1、3、5……に対し4=
00100、5=00101、6=00110、……がそれぞれ
走査番号となる。つまり1200bpsの回線に対して
は走査番号4〜19の16回線が割当てられる。記憶
部26は4つの走査モードに対応して4つのメモ
リ領域に分割して使用される。第4図は走査番号
記憶部のマツプであり、第3図の内容が第4図の
それぞれ該当する領域に設定される。 FIG. 3 shows an example of the storage contents of the scanning number storage unit 26, where the 6th bit of the output (higher 1 bit) is reset instruction information to the binary counter 22, and output bits 5 to 1 indicate the scanning line number. . In mode 0, the outputs of the binary counter 22 are X 5 , X 4 , X 3 ,
The lower order X 4 , X 3 , X 2 , X 1 , and X 0 among X 2 , X 1 , and X 0 are stored as they are, and 32 line scanning numbers are assigned. In mode 1, a scanning number for a 4800 bps line is assigned to X 2 and X 1 when X 0 =0. That is, for addresses 0, 2, 4, and 6, values 00, 01, 10, and 11 indicating respective X 2 and X 1 are stored. Similar numbers are stored for the following addresses 8, 10, 12, and 14, respectively. In other words
The scanning numbers of the 4800bps line are 0, 1, 2, and 3.
Every time a line is assigned and the address advances by 8,
The same line number of the 4800bps line is read out, so
The same line number is read out at 32/8=4 times the speed of a 1200bps line. On the other hand, for a 1200 bps line, when the address is X 0 = 1, the addresses X 4 , X 3 ,
The scan number is 0100 added to X 2 and X 1 , so 4= for addresses 1, 3, 5...
00100, 5=00101, 6=00110, . . . are the scanning numbers, respectively. In other words, 16 lines with scan numbers 4 to 19 are allocated to a 1200 bps line. The storage unit 26 is used by being divided into four memory areas corresponding to four scanning modes. FIG. 4 is a map of the scan number storage section, and the contents of FIG. 3 are set in the respective corresponding areas of FIG.
動作例は以下の通りである。制御回路20は上
位装置1から走査モード(例えばモード1)を指
示される(走査モードは当該通信制御装置2で提
供している4種類の走査モードのうちの一つが選
択される)と、走査モード保持レジスタ21に
“01”を設定し、バイナリカウンタ22をリセツ
ト信号線23を通じてクリアする。するとバイナ
リカウンタ22からはオール0が出力されるの
で、走査番号記憶部26のアドレス入力261は
“01000000”となる。制御回路20が直並列変換
回路301の処理要求表示を読出す入力命令発行
時、第3図から前記アドレス“01000000”に対応
する記憶部26の内容はオール0であり、記憶部
26の出力262にはオール0が出力されるので
デコーダ回路28及び302により、0番回線に
対応する回線アダプタ301の直並列変換回路3
010が選択され、その直並列変換回路3010の
処理要求表示情報がバス線31を通じて制御回路
20に読込まれる。 An example of operation is as follows. When the control circuit 20 is instructed to select a scanning mode (for example, mode 1) from the host device 1 (one of the four types of scanning modes provided by the communication control device 2 is selected), the control circuit 20 starts scanning. The mode holding register 21 is set to "01" and the binary counter 22 is cleared through the reset signal line 23. Then, the binary counter 22 outputs all 0s, so the address input 261 of the scanning number storage section 26 becomes "01000000". When the control circuit 20 issues an input command to read the processing request display of the serial/parallel conversion circuit 301, the contents of the storage section 26 corresponding to the address "01000000" are all 0s as shown in FIG. 3, and the output 262 of the storage section 26 Since all 0s are output, the decoder circuits 28 and 302 output the serial/parallel converter circuit 3 of the line adapter 30 1 corresponding to line 0.
01 0 is selected, and the processing request display information of the serial/parallel conversion circuit 301 0 is read into the control circuit 20 via the bus line 31.
制御回路20は読込んだ処理要求表示をチエツ
クし、例えば1文字受信表示が有意であれば、受
信データ読出しの入力命令を発行することにより
前に述べたと同様に選択された直並列変換回路3
010から受信データを読出すことができる。制
御回路20は当該受信データを上位装置へ送出し
て当該回線の走査処理を終了する。次に制御回路
20は線25にカウンタ更新信号を出してバイナ
リカウンタ22を更新(+1)して、次の回線の
走査処理に移る。読込んだ処理要求表示をチエツ
クした結果、いずれの処理要求もなければ、当該
回線の走査処理を終了する。 The control circuit 20 checks the read processing request display, and if, for example, the one-character reception display is significant, the control circuit 20 issues an input command to read the received data, thereby changing the selected serial/parallel conversion circuit 3 in the same manner as described above.
Received data can be read from 01 0 . The control circuit 20 sends the received data to the host device and finishes the scanning process for the line. Next, the control circuit 20 outputs a counter update signal to the line 25, updates the binary counter 22 (+1), and moves on to the scanning process for the next line. As a result of checking the read processing request display, if there is no processing request, the scanning processing for the line in question is terminated.
バイナリカウンタ22を更新したことにより、
記憶部26のアドレス入力261が“01000001”
になり、記憶部26から該当する内容“000100”
が出力される。制御回路20が処理要求表示の入
力命令を発行すると、前記と同様の経路で今度は
4番回線が選択され、該当する直並列変換回路の
内容が読込まれる。 By updating the binary counter 22,
Address input 261 of storage unit 26 is “01000001”
and the corresponding content “000100” from the storage unit 26
is output. When the control circuit 20 issues an input command to display a processing request, line No. 4 is selected this time through the same route as above, and the contents of the corresponding serial-to-parallel conversion circuit are read.
以上のように順次バイナリカウンタ22が更新
された結果、走査番号記憶部26出力のビツト6
が“1”であると、バイナリカウンタ22のリセ
ツト信号線29が有意になり、ビツト6が“1”
である記憶部26の出力の回線番号の走査処理終
了後の制御回路20からのバイナリカウンタ更新
指示時、バイナリカウンタ22はクリアされるの
で、0番回線から走査が再スタートする。以下上
記処理が繰返される。他の走査モードを設定した
場合も同様である。 As a result of sequentially updating the binary counter 22 as described above, bit 6 of the scan number storage section 26 output
is “1”, the reset signal line 29 of the binary counter 22 becomes significant, and bit 6 becomes “1”.
When the control circuit 20 issues an instruction to update the binary counter after scanning the line number output from the storage unit 26, the binary counter 22 is cleared, so scanning restarts from line 0. Thereafter, the above process is repeated. The same applies when other scanning modes are set.
この実施例では4800bps回線と、1200bps回線
とを混在収容したが、任意の回線速度を混在する
場合でも通信制御装置の収容能力を無駄なく利用
して最大数の回線を収容可能とすることができ
る。また走査番号記憶部26を書込み読出し可能
メモリ(RAM)とすることにより利用者がこの
通信制御装置の速度混在条件を、処理能力の範囲
内で任意に設定することができる。上述では高速
回線を0番から割当てたが、任意の走査番号を割
当ててもよい、たゞし第2図に示したようにする
と走査番号の生成が容易である。 In this example, a 4800 bps line and a 1200 bps line are mixedly accommodated, but even if any line speed is mixed, the capacity of the communication control device can be used without wasting the capacity to accommodate the maximum number of lines. . Furthermore, by making the scan number storage section 26 a readable/writable memory (RAM), the user can arbitrarily set the speed mixing conditions of this communication control device within the range of processing capability. In the above description, high-speed lines are assigned starting from number 0, but any scanning number may be assigned; however, it is easier to generate scanning numbers by doing as shown in FIG.
<効果>
以上説明したように走査回線番号の生成箇所に
記憶部26を適用することにより、走査回線番号
生成の柔軟性が増すので異速度回線を混在収容す
る通信制御装置において、その走査番号を0番か
ら途中で番号を抜くことなく、連続した番号を利
用することができ、回線収容効率を向上でき、そ
のハードウエアも簡単である利点がある。<Effects> As explained above, by applying the storage unit 26 to the location where the scanning line number is generated, flexibility in generating the scanning line number is increased, so that the scanning number can be stored in a communication control device that accommodates a mixture of different speed lines. It has the advantage that consecutive numbers can be used without dropping numbers from 0 onwards, line accommodation efficiency can be improved, and the hardware is simple.
第1図はこの発明の一実施例を示すブロツク
図、第2図は走査モードの種類と走査番号生成式
の例を示す図、第3図は第2図の走査モードに対
応した走査番号記憶部26の内容を示す図、第4
図は記憶部26のマツプを示す図である。
1:上位装置、2:通信制御装置、20:制御
回路、21:走査モード保持レジスタ、22:バ
イナリカウンタ、23:リセツト信号線、24:
リセツト入力、25:バイナリカウンタの更新信
号、26:走査番号記憶部、261:アドレス入
力端子、262:26の出力、27:直並列変換
回路のアドレス信号線、28:回線アダプタ用デ
コード回路、29:リセツト信号線、30:回線
アダプタ(301〜308)、301:直並列変換
回路(3010〜3013)、302:デコード回
路。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing types of scanning modes and examples of scanning number generation formulas, and FIG. 3 is a scanning number storage corresponding to the scanning mode shown in FIG. Diagram showing the contents of section 26, No. 4
The figure shows a map of the storage section 26. 1: Host device, 2: Communication control device, 20: Control circuit, 21: Scanning mode holding register, 22: Binary counter, 23: Reset signal line, 24:
Reset input, 25: Binary counter update signal, 26: Scanning number storage section, 261: Address input terminal, 262: Output of 26, 27: Address signal line of serial/parallel conversion circuit, 28: Line adapter decoding circuit, 29 : reset signal line, 30: line adapter ( 301 to 308 ), 301: serial/parallel conversion circuit ( 3010 to 3013 ), 302: decoding circuit.
Claims (1)
回路からの処理要求の有無を回線単位に走査する
ことにより検出する通信制御装置において、外部
回路から入力されるアドレス変換種別を示す情報
を保持するレジスタと、更新指示によりインクリ
メントされ、初期化指示によりクリアされるバイ
ナリカウンタと、アドレス変換種別毎の走査回線
番号が記憶され、前記レジスタの出力をアドレス
の上位ビツトとして前記バイナリカウンタの出力
を下位アドレスビツトとして読出され、走査対象
の直並列変換回路の番号を出力し、その出力のう
ちの1ビツトを前記バイナリカウンタに対する初
期化指示とする記憶部とを具備し、前記記憶部に
記憶された前記走査回線番号を、すべてのデータ
通信回路の速度が等しい時には、すべての回線を
均一に走査するように設定し、データ通信回路が
2m本(mは自然数)の低速回線とその2n倍(nは
自然数でn≦m)の速度をもつ2m-n本の高速回線
とからなる時には前記バイナリカウンタからの出
力信号の最下位ビツトが0の時に2m-n本の高速回
線を順に走査し、1の時に2m本の低速回線を順に
走査するように設定することを特徴とする通信制
御装置。1. In a communication control device that detects the presence or absence of a processing request from a serial/parallel conversion circuit provided for each of a plurality of data communication lines by scanning each line, information indicating the address conversion type input from an external circuit is retained. A register, a binary counter that is incremented by an update instruction and cleared by an initialization instruction, and a scanning line number for each type of address conversion are stored.The output of the register is used as the upper bit of the address, and the output of the binary counter is used as the lower address. a storage section that outputs the number of the serial/parallel conversion circuit to be scanned as a bit, and uses one bit of the output as an initialization instruction for the binary counter; When the speed of all data communication circuits is equal, the scanning line number is set so that all lines are scanned uniformly.
When the circuit consists of 2 m low-speed lines (m is a natural number) and 2 mn high-speed lines with a speed 2 n times faster (n is a natural number and n≦m), the least significant bit of the output signal from the binary counter is A communication control device characterized in that the communication control device is set to sequentially scan 2 mn high-speed lines when is 0, and to sequentially scan 2 mn low-speed lines when it is 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58135548A JPS6027257A (en) | 1983-07-25 | 1983-07-25 | Communication control equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58135548A JPS6027257A (en) | 1983-07-25 | 1983-07-25 | Communication control equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6027257A JPS6027257A (en) | 1985-02-12 |
JPH0526380B2 true JPH0526380B2 (en) | 1993-04-15 |
Family
ID=15154354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58135548A Granted JPS6027257A (en) | 1983-07-25 | 1983-07-25 | Communication control equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6027257A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5323202A (en) * | 1976-08-17 | 1978-03-03 | Mitsubishi Electric Corp | Scan system |
JPS5793751A (en) * | 1980-12-03 | 1982-06-10 | Oki Electric Ind Co Ltd | Line scanning method in communication controller |
-
1983
- 1983-07-25 JP JP58135548A patent/JPS6027257A/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5323202A (en) * | 1976-08-17 | 1978-03-03 | Mitsubishi Electric Corp | Scan system |
JPS5793751A (en) * | 1980-12-03 | 1982-06-10 | Oki Electric Ind Co Ltd | Line scanning method in communication controller |
Also Published As
Publication number | Publication date |
---|---|
JPS6027257A (en) | 1985-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4213176A (en) | System and method for increasing the output data throughput of a computer | |
CA1194608A (en) | Direct memory access interface arrangement | |
US4807282A (en) | Programmable P/C compatible communications card | |
JPS58127259A (en) | Memory module selection and reproduction apparatus for data processing system | |
JPS5810236A (en) | Interface circuit | |
US4899274A (en) | Dynamic terminal address allocation by the terminal itself in a data processing system | |
US4755934A (en) | System for selecting an address in an input/output board | |
US5598540A (en) | Memory module including read-write memory and read-only configuration memory accessed only sequentially and computer system using at least one such module | |
US5245705A (en) | Functional addressing method and apparatus for a multiplexed data bus | |
US5987533A (en) | Automatically configuring SCSI device addresses using SCSI controller storing predetermined ID and, producing address signals for transferring to peripheral device via SCSI ID input means | |
US5579490A (en) | Expanded address bus system | |
US4685769A (en) | Display drive circuit | |
DK166174B (en) | STORAGE UNIT EXTENSIBILITY FOR A COMPUTER | |
JPS63116258A (en) | Data processing system | |
US5630167A (en) | Electronic apparatus having a plurality of connectors each connecting one of a plurality of kinds of cards | |
JPH0526380B2 (en) | ||
US5564059A (en) | Simplified protocol for expanding a fixed width bus in an industrial controller | |
EP0173746A1 (en) | System of selecting address in input/output board | |
US5671434A (en) | Microprocessor controlled apparatus | |
EP0060535A2 (en) | Multiprocessor network | |
EP0076408A2 (en) | Functional addressing method for a multiplexed data bus | |
KR100225531B1 (en) | Apparatus for interfacing between peripheral processor and device in the switching system | |
KR20240163511A (en) | Method for memory id allocation, memory, memory module and memory system | |
JPH0823740B2 (en) | Font control method in terminal system | |
KR100496479B1 (en) | Address signal decoding circuit |