JPS62190953A - Control circuit for communication control unit of communication control equipment - Google Patents

Control circuit for communication control unit of communication control equipment

Info

Publication number
JPS62190953A
JPS62190953A JP61032518A JP3251886A JPS62190953A JP S62190953 A JPS62190953 A JP S62190953A JP 61032518 A JP61032518 A JP 61032518A JP 3251886 A JP3251886 A JP 3251886A JP S62190953 A JPS62190953 A JP S62190953A
Authority
JP
Japan
Prior art keywords
circuit
address
line control
control device
communication control
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.)
Pending
Application number
JP61032518A
Other languages
Japanese (ja)
Inventor
Shoichi Kikukawa
菊川 昇一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61032518A priority Critical patent/JPS62190953A/en
Publication of JPS62190953A publication Critical patent/JPS62190953A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To eliminate an artificial accident and to shorten the time required to confirm whether or not there is a response to an instruction by counting the I/O address of each communication control unit by the counting circuit in a central processor and setting the value automatically in the register circuit in each communication control unit right after a system is reset. CONSTITUTION:The I/O address counting circuit 101 of the central processor 1 starts counting up with a clock signal CP after the reset signal of the system rises, and its outputs CA0-CA3 are sent out to the respective communication control units 2-5. Register circuits 201 of the control units 2-5 latch the values of the CA0-CA3 from the central processor by one of STB0-STB3 corresponding to the control units to set an I/O address corresponding to the control unit. Further, the setting of the I/O address in the register circuit 201 is ANDed with its strobe signal STB and a response signal RES is outputted. Consequently, there is no response signal if the I/O address of an unmounted communication control unit 4 is set, so software knows the mounted/unmounted state at any time.

Description

【発明の詳細な説明】 [産業上の利用分野]    ゛ 本発明は複数の通信回線の制御を行なう通信制御装置に
関し、特に各回線制御装置へのI/Oアドレスの自動設
定およびそのI/Oアドレス値による回線制御装置の実
装あるいは未実装の管理を行う回路構成に関する。
[Detailed Description of the Invention] [Field of Industrial Application] ゛The present invention relates to a communication control device that controls a plurality of communication lines, and in particular to automatic setting of I/O addresses to each line control device and its I/O This invention relates to a circuit configuration for managing whether a line control device is installed or not installed using address values.

[従来の技術] 従来、この種の通信制御装置では各回線制御装置のI/
Oアドレスの設定はハードウェアでのスイッチ設定等に
より行ない、また各回線制御装置の実装あるいは未実装
の確認はソフトウェアによる各回線制御装置への命令に
対する応答の有無を確認するなどの方式により行なって
いた。
[Prior Art] Conventionally, in this type of communication control device, each line control device's I/
The O address is set by hardware switch settings, etc., and whether each line control device is installed or not is confirmed by checking whether there is a response to a command to each line control device by software, etc. Ta.

[発明が解決しようとする問題点] 上述した従来の通信制御装置では、各回線制御装置に対
するI/Oアドレスの設定は人手によるスイッチ設定等
で行なっているので、設定しないで実装したりおるいは
誤った値を設定したりして通信制御装置そのものが正常
な動作ができないという人為的な事故が発生するという
欠点がある。
[Problems to be Solved by the Invention] In the conventional communication control device described above, the setting of the I/O address for each line control device is performed by manual switch setting, etc., so it is possible to implement the I/O address without setting it or to There is a drawback that human-induced accidents may occur, such as setting incorrect values and causing the communication control device itself to malfunction.

また従来の通信制御装置では、各回線制御装置の実装あ
るいは未実装を管理するのにソフトウェアによる命令に
対する応答の有無を確認するなどの方法で行なっている
ので、未実装の場合、つまり応答がない場合、ある程度
の待時間が必要であり、無駄な時間をかけるという欠点
がある。
In addition, with conventional communication control devices, to manage whether each line control device is installed or not, it is done by checking whether there is a response to a command by software. In this case, a certain amount of waiting time is required, which has the disadvantage of wasting time.

本発明の目的は人為的な事故をなくし、かつ命令に対す
る応答の有無の確認時間を短縮する管理回路を提供する
ことにあ−る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a management circuit that eliminates human-induced accidents and shortens the time required to confirm whether or not a response to a command has been received.

[問題点を解決するための手段] 本発明はI/Oアドレス値を記憶するレジスタ回路及び
I/Oアドレス値の設定指示に応答する信号を作成する
グー1〜回路を備えた各通信回路毎の回線制御装置と、
複数の前記回線制御装置を制御する中央処理装置とを有
し、 前記中央処理装置内に前記回線制御装置内のレジスタ回
路に設定するI/Oアドレス値を計数する計数回路と、
前記各回線制御装置内のレジスタ回路にI/Oアドレス
値を設定するときのストローブ信号を作成するデコード
回路と、前記各回線制御装置からのI/Oアドレス設定
に応答する信号の有無を記憶するレジスタ回路とを設け
、かつ前記各回線制御装置内に中央処理装置からのI/
Oアドレス値を設定するレジスタ回路と、各I/Oアド
レス値に対応する信号を作成するゲート回路とを設けた
ことを特徴とする通信制御装置における回線制御装置の
管理回路である。
[Means for Solving the Problems] The present invention provides for each communication circuit equipped with a register circuit for storing an I/O address value and a circuit for generating a signal responsive to an instruction to set an I/O address value. a line control device,
a central processing unit that controls a plurality of the line control devices, and a counting circuit that counts an I/O address value to be set in a register circuit in the line control device in the central processing unit;
A decoding circuit that creates a strobe signal when setting an I/O address value in a register circuit in each of the line control devices, and stores the presence or absence of a signal responsive to the I/O address setting from each of the line control devices. A register circuit is provided, and I/O from the central processing unit is provided in each line control device.
This is a management circuit for a line control device in a communication control device, characterized in that it includes a register circuit for setting an O address value and a gate circuit for creating a signal corresponding to each I/O address value.

[実施例] 次に本発明の一実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の通信制御装置のシステム構
成図であり、通信制御装置は各通信回線毎に設置した回
線制御装置2〜5と、各回線制御装置2〜5を制御する
中央処理装置1とを有する。
FIG. 1 is a system configuration diagram of a communication control device according to an embodiment of the present invention, and the communication control device controls line control devices 2 to 5 installed for each communication line and each line control device 2 to 5. It has a central processing unit 1.

中央処理装置1は通信制御装置仝体を制御するソフトウ
ェアを実行するCPUやその周辺回路等により構成され
、更に第2図に示すような本発明の特徴であるI/Oア
ドレスの計数回路/O1とストローブ信号を作成するデ
コード回路/O2と応答信号の有無を設定するレジスタ
回路/O3〜/OBとを有している。また第1図では通
信回線を4本と想定して4個の回線制御装置2〜5を有
するものとする。ただし、ここでは説明の便宜上回線制
御装置4を未実装、他の3個の回線制御装置を実装とい
う形に想定する。尚、これらの各回線制御装置2〜5に
は第3図に示すよう/i I/Oアドレスを設定してお
くレジスタ回路201とレジスタ回路201へI/Oア
ドレスを設定したときに第1図の中央処理装置1に返す
応答信号を作成するゲート回路202とを含む。
The central processing unit 1 is composed of a CPU that executes software that controls the communication control unit body, its peripheral circuits, etc., and further includes an I/O address counting circuit /O1, which is a feature of the present invention, as shown in FIG. , a decoding circuit /O2 that creates a strobe signal, and register circuits /O3 to /OB that set the presence or absence of a response signal. Further, in FIG. 1, it is assumed that there are four communication lines, and four line control devices 2 to 5 are provided. However, for convenience of explanation, it is assumed here that the line control device 4 is not installed and the other three line control devices are installed. As shown in FIG. 3, each of these line control devices 2 to 5 has a register circuit 201 in which the /i I/O address is set, and when the I/O address is set in the register circuit 201, and a gate circuit 202 that generates a response signal to be returned to the central processing unit 1 of the controller.

第2図は第1図の中央処理装置1の中にあるI/Oアド
レス計数回路/O1とストローブ信号を作成するデコー
ド回路/O2と応答信号の有無を設定するレジスタ回路
/O3〜/O6との回路接続を示す回路図である。I/
Oアドレス計数回路/O1はシステムのリセット信号R
3Tの立上り以後のクロック信号CPにより計数を開始
しその出力CAO−CA3を第1図の各回線料m+装置
2〜5に送り出す。また第2図のデコード回路/O2は
I/Oアドレス計数回路/O1の出力CAOとCAIと
をデコードしてストローブ信号5TBO−3TB3を順
次出力し、第1図の回線制御装置2〜5に各々送り出す
Figure 2 shows the I/O address counting circuit /O1, the decoding circuit /O2 that creates a strobe signal, and the register circuits /O3 to /O6 that set the presence or absence of a response signal in the central processing unit 1 of Figure 1. FIG. 2 is a circuit diagram showing circuit connections. I/
O address counting circuit/O1 is system reset signal R
Counting is started by the clock signal CP after the rising edge of 3T, and the output CAO-CA3 is sent to each line charge m+ device 2 to 5 in FIG. Further, the decoding circuit /O2 in FIG. 2 decodes the outputs CAO and CAI of the I/O address counting circuit /O1 and sequentially outputs strobe signals 5TBO-3TB3 to the line control devices 2 to 5 in FIG. send out.

また第2図のレジスタ回路/O3〜/O6は後述する各
回線制御装置からの応答信@RESをそれぞれの回線制
御装置に対応するストローブ信@5TBO〜STB 3
によりラッチして応答信号の有無を設定しておく。尚、
このレジスタ回路/O3〜/O6の状態をラフ1−ウェ
アにより読み取るには通常の汎用レジスタと同様な方法
を用いるため、ここではその説明を省略する。
Further, the register circuits /O3 to /O6 in FIG. 2 send response signals @RES from each line control device, which will be described later, to strobe signals @5TBO to STB3 corresponding to each line control device.
The presence/absence of a response signal is set by latching the response signal. still,
In order to read the states of these register circuits /O3 to /O6 by rough 1-ware, a method similar to that for ordinary general-purpose registers is used, so the explanation thereof will be omitted here.

第3図は第1図の回線制御装置2〜5の各々の回路構成
におけるI/Oアドレスを設定するレジスタ回路201
と応答信号を作成するゲート回路202およびラフ1〜
ウエアによる命令実行時のI/Oアドレス一致検出を行
なう比較回路203との回路接続を示す回路図である。
FIG. 3 shows a register circuit 201 that sets the I/O address in the circuit configuration of each of the line control devices 2 to 5 shown in FIG.
and the gate circuit 202 that creates a response signal and the rough 1~
FIG. 2 is a circuit diagram showing a circuit connection with a comparison circuit 203 that performs I/O address match detection when an instruction is executed by software.

レジスタ回路201は中央処理装置からのCAQ〜C八
3の値へその回線制御装置に対応する5TBO−3TB
3のうちのひとつによりラッチしてその回線制御装置に
対応するI/Oアドレスを設定する。またゲート回路2
02はレジスタ回路201にI/Oアドレスが設定され
たことをそのストローブ信号STBと論理積をとって応
答信号RESを出力する。
The register circuit 201 inputs the values of CAQ to C83 from the central processing unit to 5TBO-3TB corresponding to the line control device.
3 to set the I/O address corresponding to that line control device. Also, gate circuit 2
02 outputs a response signal RES by ANDing the fact that the I/O address has been set in the register circuit 201 with the strobe signal STB.

実施例において、第1図の回線制御装置4が未実装とい
う想定をしていることから、この回線制御装置4に対す
るI/Oアドレスを設定しようとしても第3図のゲート
回路202が存在していないため、第2図のレジスタ/
O5はOFFのままでONにセットされない。ところが
、他のレジスタ/O3゜/O4、/O6はセットされる
ことから、ソフトウェアはいつでもこれらの実装/未実
装の状態をこれらのレジスタの状態を読むことにより管
理することができる。
In the embodiment, it is assumed that the line control device 4 shown in FIG. 1 is not installed, so even if an attempt is made to set an I/O address for this line control device 4, the gate circuit 202 shown in FIG. 3 does not exist. Since there is no register/
O5 remains OFF and is not set to ON. However, since the other registers /O3°/O4 and /O6 are set, software can manage their implemented/unimplemented states at any time by reading the states of these registers.

[発明の効果] 以上説明したように本発明は各回線制御装置のI/Oア
ドレスを中央処理装置内の計数回路で計数し、その値を
各回線装置内のレジスタ回路にハードウェアによりシス
テムのリセット直後に自動的に設定するようにしたので
、各回線料till装置にスイッチ設定等によるI/O
アドレスの設定の必要がなく、また各回線制御装置はた
がいに全く同じものであるので、完全に互換性があり、
またスイッチ設定誤りということもないため、設置工事
、保守作業などの時間を短縮することができる。また、
各回線制御装置からの応答信号の有無を設定するレジス
タ回路を中央処理装置内に設けることにより、各回線制
御装置の実装/未実装の情報をレジスタの状態を読み出
し処理のみで瞬時に読み取ることができ、その処理時間
を短縮することができる効果を有するものである。
[Effects of the Invention] As explained above, the present invention counts the I/O address of each line control device using the counting circuit in the central processing unit, and stores the value in the register circuit in each line device by hardware in the system. Since the settings are made automatically immediately after a reset, I/O settings can be made by setting switches etc. to each line charge till device.
There is no need to set addresses, and each line control device is exactly the same, so it is completely compatible.
Furthermore, since there is no possibility of incorrect switch settings, the time required for installation work, maintenance work, etc. can be shortened. Also,
By providing a register circuit in the central processing unit that sets the presence or absence of a response signal from each line control device, information on whether each line control device is installed or not can be instantly read by simply reading the register status. This has the effect of shortening the processing time.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の実施例に係る通信制御装置を示すシス
テム構成図、第2図は本発明に係る中央処理装置を示す
回路図、第3図は本発明に係る回線制御装置を示す回路
ζである。 1・・・中央処理装置 2〜5・・・回線制御装置 /O1・・・I/Oアドレス計数回路 /O2・・・デコード回路 /O3〜/OB・・・レジスタ回路 201・・・レジスタ回路 202・・・ゲート回路 203・・・比較回路
FIG. 1 is a system configuration diagram showing a communication control device according to an embodiment of the present invention, FIG. 2 is a circuit diagram showing a central processing unit according to the present invention, and FIG. 3 is a circuit diagram showing a line control device according to the present invention. It is ζ. 1...Central processing unit 2-5...Line control device/O1...I/O address counting circuit/O2...Decoding circuit/O3-/OB...Register circuit 201...Register circuit 202... Gate circuit 203... Comparison circuit

Claims (1)

【特許請求の範囲】[Claims] (1)I/Oアドレス値を記憶するレジスタ回路及びI
/Oアドレス値の設定指示に応答する信号を作成するゲ
ート回路を備えた各通信回路毎の回線制御装置と、複数
の前記回線制御装置を制御する中央処理装置とを有し、 前記中央処理装置内に前記回線制御装置内のレジスタ回
路に設定するI/Oアドレス値を計数する計数回路と、
前記各回線制御装置内のレジスタ回路にI/Oアドレス
値を設定するときのストローブ信号を作成するデコード
回路と、前記各回線制御装置からのI/Oアドレス設定
に応答する信号の有無を記憶するレジスタ回路とを設け
、かつ前記各回線制御装置内に中央処理装置からのI/
Oアドレス値を設定するレジスタ回路と、各I/Oアド
レス値に対応する信号を作成するゲート回路とを設けた
ことを特徴とする通信制御装置における回線制御装置の
管理回路。
(1) Register circuit and I that store I/O address values
a line control device for each communication circuit including a gate circuit that generates a signal responsive to an instruction to set a /O address value; and a central processing unit that controls a plurality of the line control devices; a counting circuit that counts an I/O address value to be set in a register circuit in the line control device;
A decoding circuit that creates a strobe signal when setting an I/O address value in a register circuit in each of the line control devices, and stores the presence or absence of a signal responsive to the I/O address setting from each of the line control devices. A register circuit is provided, and I/O from the central processing unit is provided in each line control device.
1. A management circuit for a line control device in a communication control device, comprising a register circuit for setting an O address value and a gate circuit for creating a signal corresponding to each I/O address value.
JP61032518A 1986-02-17 1986-02-17 Control circuit for communication control unit of communication control equipment Pending JPS62190953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61032518A JPS62190953A (en) 1986-02-17 1986-02-17 Control circuit for communication control unit of communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61032518A JPS62190953A (en) 1986-02-17 1986-02-17 Control circuit for communication control unit of communication control equipment

Publications (1)

Publication Number Publication Date
JPS62190953A true JPS62190953A (en) 1987-08-21

Family

ID=12361186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61032518A Pending JPS62190953A (en) 1986-02-17 1986-02-17 Control circuit for communication control unit of communication control equipment

Country Status (1)

Country Link
JP (1) JPS62190953A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155561A (en) * 1990-10-19 1992-05-28 Fujitsu Ltd Control system for setting equipment number

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155561A (en) * 1990-10-19 1992-05-28 Fujitsu Ltd Control system for setting equipment number

Similar Documents

Publication Publication Date Title
US5021950A (en) Multiprocessor system with standby function
US3818447A (en) Priority data handling system and method
US5497501A (en) DMA controller using a predetermined number of transfers per request
JPS6142306B2 (en)
US5070476A (en) Sequence controller
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
JPS6242306B2 (en)
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
US5500946A (en) Integrated dual bus controller
EP0225720B1 (en) Integrated circuit devices
JPS6361697B2 (en)
EP0657046B1 (en) Fault tolerant three port communications module
JPS6273358A (en) Control method for microcomputer and its peripheral device
JPH05282244A (en) Information processor
SU1116432A1 (en) Firmware processor with fast interruption tools
JPH0465781A (en) Input/output port control circuit
JPS6252336B2 (en)
SU1765813A2 (en) Device for outputting data from computer
JPH0789347B2 (en) Bus priority determination circuit
JPH05298266A (en) Inter-processor communication system for multiprocessor
SU1674140A2 (en) Input-output interface controller
JPS6155769A (en) Bus control system
JPS6117012B2 (en)
JPS59173827A (en) Direct memory access control device
JPS6320633A (en) Information processor