JPH02304660A - Controller - Google Patents

Controller

Info

Publication number
JPH02304660A
JPH02304660A JP1125728A JP12572889A JPH02304660A JP H02304660 A JPH02304660 A JP H02304660A JP 1125728 A JP1125728 A JP 1125728A JP 12572889 A JP12572889 A JP 12572889A JP H02304660 A JPH02304660 A JP H02304660A
Authority
JP
Japan
Prior art keywords
signal line
circuit
time counting
instruction
controlled
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.)
Granted
Application number
JP1125728A
Other languages
Japanese (ja)
Other versions
JP2522051B2 (en
Inventor
Hisao Hashimoto
橋本 久雄
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 JP1125728A priority Critical patent/JP2522051B2/en
Publication of JPH02304660A publication Critical patent/JPH02304660A/en
Application granted granted Critical
Publication of JP2522051B2 publication Critical patent/JP2522051B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To know the degree of a load of the controller by transferring the contents of a first time counting circuit and a second time counting circuit to a host device by a data transfer means. CONSTITUTION:When a controller 21 is not executing an instruction to a device 31 to be controlled or 32 from a host device 11, an instruction execution control circuit 204 in the device 21 effectuates a signal line 317, and supports to execute a time counting operation to a second time counting circuit 203. When the device 11 starts to execute an instruction to the device 31 or 32, the device 11 transfers an instruction code and an address of the device to be controlled to the device 21 through a signal line 301. The circuit 204 receives the instruction code and the address of the device to be controlled on the signal line 301 through a data transfer circuit 201 and a signal line 313, selects the device to be controlled which is supported through a signal line 321, executes a processing designated by the instruction code, and also effectuates the signal line 317 and allows a second time counting circuit 203 to stop its time counting operation, and simultaneously, effectuates a signal line 315 and allows a first time counting circuit 202 to start its time counting operation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク装置、光デイスク装置、磁気テー
プ装置、カードリーダ、プリンタなどの電子計算機シス
テムにおける外部記憶装置あるいは入出力装置などの制
御を行う制御装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is applicable to the control of external storage devices or input/output devices in computer systems such as magnetic disk devices, optical disk devices, magnetic tape devices, card readers, and printers. The present invention relates to a control device that performs operations.

〔従来の技術〕[Conventional technology]

従来、電子計算機システムにおいては処理量の増加など
により処理能力の限界に達したとき、その原因となる外
部記憶サブシステムあるいは入出力サブシステムを特定
することが困難であった。
Conventionally, in electronic computer systems, when the processing capacity reaches its limit due to an increase in the amount of processing, it has been difficult to identify the external storage subsystem or input/output subsystem that is the cause.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

したがって従来は電子計算機システムにどの制御装置を
増設すれば処理能力を改善できるかを判定することが困
難であった。
Therefore, in the past, it has been difficult to determine which control device should be added to an electronic computer system to improve its processing capacity.

本発明の目的は外部記憶装置、入出力装置などの制御装
置かが使用されている時間と使用されていない時間とを
上位装置に通知することにより電子計算機システムにお
ける処理能力の限界の原因となっている制御装置を特定
することを可能にした制御装置を提供することにある。
The purpose of the present invention is to eliminate the cause of processing capacity limitations in computer systems by notifying a host device of the time when a control device such as an external storage device or an input/output device is used and the time when it is not used. An object of the present invention is to provide a control device that makes it possible to specify a control device that is currently being used.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、被制御装置に対する処理を実行中であるとき
計時動作を行う第1計時手段と、被制御装置に対する処
理を実行中でないとき計時動作を行う第2計時手段と、
上位装置からの命令により前記第1計時手段及び第2計
時手段の内容を上位装置に転送するデータ転送手段と、
上位装置からの命令により前記第1計時手段及び第2計
時手段を初期値に設定する初期設定手段とを具備するこ
と特徴とする。
The present invention includes: a first timer that performs a timekeeping operation when processing is being performed on a controlled device; a second timer that performs a timekeeping operation when no processing is being performed on the controlled device;
data transfer means for transmitting the contents of the first timekeeping means and the second timekeeping means to the host device according to a command from the host device;
The present invention is characterized by comprising initial setting means for setting the first time measuring means and the second time measuring means to initial values in response to a command from a host device.

〔実施例〕〔Example〕

次に本発明をその実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図を参照すると、本発明の制御装置21はデータ転
送回路201、第1計時回路202、第2計時路203
及び命令実行制御回路204を含む。また、本発明の制
御装置21は信号線301を通して上位装置11に、信
号線321を通して被制御装置31及び32に接続され
ている。このように本発明の実施例では制御装置21に
1つの上位装置及び2つの被制御装置が接続されている
が、接続されるこれらの装置の数は任意で良い。
Referring to FIG. 1, the control device 21 of the present invention includes a data transfer circuit 201, a first clock circuit 202, a second clock circuit 203,
and an instruction execution control circuit 204. Further, the control device 21 of the present invention is connected to the host device 11 through a signal line 301 and to the controlled devices 31 and 32 through a signal line 321. As described above, in the embodiment of the present invention, one host device and two controlled devices are connected to the control device 21, but the number of connected devices may be arbitrary.

次に本発明の実施例の動作について詳細に説明する。Next, the operation of the embodiment of the present invention will be explained in detail.

制御装置21が上位装置11からの被制御装置31又は
32に対する命令を実行していないとき、制御装置21
内の命令実行制御回路204は信号線317を有効にし
、第2計時回路20Bに計時動作を行うことを支持する
When the control device 21 is not executing a command from the host device 11 to the controlled device 31 or 32, the control device 21
The instruction execution control circuit 204 in the second clock circuit 204 enables the signal line 317 and supports the second clock circuit 20B to perform a clock operation.

上位装置11が被制御装置31又は32に対する命令の
実行を開始するとき、上位装置11は信号線301を通
して命令コード及び被制御装置アドレスを制御装置21
に転送する。命令実行制御回路204は信号線301上
の命令コード及び被制御装置アドレスをデータ転送回路
201及び信号線313を通して受取り、信号線321
を通して支持された被制御装置を選択し、命令コードに
より指定された処理を実行すると共に、信号線317を
有効にし第2計時回路203に計時動作を停止させると
同時に信号線315を有効にして第1計時回路202に
計時動作を開始させる。命令実行制御回路204は命令
コードにより指定された被制御装置に対する一連の処理
が終了すると、信号線3143デ一タ転送回路201、
信号線301を通して上位装置11に命令の実行が終了
したことを通知する。上位装置11は直前に実行された
命令に続いて実行すべき命令が存在すれば同様にして命
令コード及び被制御装置アドレスを信号線301を通し
て制御装置21に転送し、直前に実行された命令が一連
の命令のチェインの中の最後の命令であれば実行すべき
命令をすべて転送したことを信号線301を通して制御
装置21に通知する。
When the host device 11 starts executing an instruction to the controlled device 31 or 32, the host device 11 sends the instruction code and the controlled device address to the control device 21 through the signal line 301.
Transfer to. The instruction execution control circuit 204 receives the instruction code and controlled device address on the signal line 301 through the data transfer circuit 201 and the signal line 313, and receives the instruction code and the controlled device address on the signal line 321.
selects the controlled device supported through the instruction code, executes the process specified by the instruction code, enables the signal line 317, causes the second clock circuit 203 to stop timing, and at the same time enables the signal line 315 to 1. The clock circuit 202 is caused to start clocking operation. When the instruction execution control circuit 204 completes a series of processing for the controlled device specified by the instruction code, the instruction execution control circuit 204 connects the signal line 3143 to the data transfer circuit 201,
The host device 11 is notified through the signal line 301 that the execution of the command has ended. If there is an instruction to be executed following the immediately previous executed instruction, the host device 11 similarly transfers the instruction code and controlled device address to the control device 21 through the signal line 301, and the immediately preceding instruction is executed. If it is the last command in a chain of commands, the controller 21 is notified through the signal line 301 that all commands to be executed have been transferred.

命令実行制御回路204は信号線301、データ転送回
路201、信号線313を通して一連の命令の実行がす
べて終了したことを通知されると、信号線315を無効
にして第1計時回路202に計時動作を停止させると同
時に、信号線317を有効にして第2計時回路203に
計時動作を再び開始させる。
When the instruction execution control circuit 204 is notified through the signal line 301, the data transfer circuit 201, and the signal line 313 that the execution of a series of instructions has been completed, the instruction execution control circuit 204 disables the signal line 315 and causes the first clock circuit 202 to perform a timing operation. At the same time, the signal line 317 is enabled to cause the second clock circuit 203 to restart the clock operation.

また、例えば磁気ディスク装置におけるシーク動作、磁
電テシプ装置における゛リワインド動作のように、被制
御装置が制御装置と切離されて独立に処理を実行できる
動作を行っている間、命令実行制御回路204は信号線
315を無効にして第1計時回路202に計時動作を一
時停止させると共に信号線317を有効にして第2計時
回路203に計時動作を行うことを指示する。
In addition, while the controlled device is performing an operation that can be separated from the control device and execute processing independently, such as a seek operation in a magnetic disk device or a rewind operation in a magneto-electric device, the instruction execution control circuit 204 disables the signal line 315 to cause the first timekeeping circuit 202 to temporarily stop the timekeeping operation, and enables the signal line 317 to instruct the second timekeeping circuit 203 to perform the timekeeping operation.

上記説明かられかるように制御装置21が被制御装置3
1又は32に対する処理を行っているとき第1計時回路
202が計時動作を行い、処理を行っていないとき第2
計時回路203が計時動作を行う。
As can be seen from the above explanation, the control device 21 is the controlled device 3
1 or 32, the first clock circuit 202 performs a time measurement operation, and when no processing is performed, the second clock circuit 202 performs a time measurement operation.
A clock circuit 203 performs a clock operation.

命令実行制御回路204は、上位装置11から信号線3
01、データ転送回路201、信号線313を通して計
時回路の内容を転送するための命令を受取ると、信号線
314を通してデータ転送回路201に第1計時回路2
02及び第2計時回路203の内容を上位装置11に転
送するよう指示する。データ転送回路201はそれぞれ
信号線312.311を通して第1計時回路202及び
第2計時回路203の内容を信号線301を通して上位
装置11に転送する。命令実行制御回路204は第1計
時回路202及び第2計時回路203の内容が上位装置
11に転送された後、信号線316を通して第1計時回
路202及び第2掲示回路203の内容をリセットする
ことを指示する。
The instruction execution control circuit 204 is connected to the signal line 3 from the host device 11.
01, when the data transfer circuit 201 receives a command to transfer the contents of the timer circuit through the signal line 313, the data transfer circuit 201 transfers the contents of the timer circuit 2 to the data transfer circuit 201 through the signal line 314.
02 and the contents of the second clock circuit 203 are instructed to be transferred to the host device 11. The data transfer circuit 201 transfers the contents of the first clock circuit 202 and the second clock circuit 203 to the host device 11 through the signal line 301 through the signal line 312 and 311, respectively. The instruction execution control circuit 204 resets the contents of the first clock circuit 202 and the second bulletin board circuit 203 through the signal line 316 after the contents of the first clock circuit 202 and the second clock circuit 203 are transferred to the host device 11. instruct.

本発明の実施例においては第1計時回路及び第2計時回
路の内容を上位装置に転送する命令とリセットする命令
は同一の命令で実施するものとしたが、これらは別々の
命令であっても良い。
In the embodiment of the present invention, the instruction to transfer the contents of the first timer circuit and the second timer circuit to the host device and the instruction to reset the contents are executed by the same instruction, but they may be executed by separate instructions. good.

〔発明の効果〕〔Effect of the invention〕

本発明は以上説明したように第1計時回路及び第2計時
回路の内容を上位装置に転送することにより、制御装置
の負荷の程度を知ることを可能にする効果がある。
As explained above, the present invention has the effect of making it possible to know the degree of load on the control device by transferring the contents of the first timekeeping circuit and the second timekeeping circuit to the host device.

図面の簡単な説明 第1図は本発明の一実施例を示すブロック図である。Brief description of the drawing FIG. 1 is a block diagram showing one embodiment of the present invention.

11・・・上位装置、21・・パ制御装置、31.32
・・・被制御装置、201・・・データ転送回路、20
2・・・第1計時回路、203・・・第2計時回路、2
04・・・命令実行制御回路。
11... Host device, 21... Pa control device, 31.32
...Controlled device, 201...Data transfer circuit, 20
2...First timekeeping circuit, 203...Second timekeeping circuit, 2
04...Instruction execution control circuit.

Claims (1)

【特許請求の範囲】[Claims] 被制御装置に対する処理を実行中であるとき計時動作を
行う第1計時手段と、被制御装置に対する処理を実行中
でないとき計時動作を行う第2計時手段と、上位装置か
らの命令により前記第1計時手段及び第2計時手段の内
容を上位装置に転送するデータ転送手段と、上位装置か
らの命令により前記第1計時手段及び第2計時手段を初
期値に設定する初期設定手段とを具備すること特徴とす
る制御装置。
a first timer that performs a timekeeping operation when a process for the controlled device is being executed; a second timer that performs a timekeeping operation when the process for the controlled device is not in progress; The apparatus includes data transfer means for transferring the contents of the timekeeping means and the second timekeeping means to a host device, and initial setting means for setting the first timekeeping means and the second timekeeping means to initial values based on a command from the host device. Characteristic control device.
JP1125728A 1989-05-19 1989-05-19 Control device Expired - Lifetime JP2522051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1125728A JP2522051B2 (en) 1989-05-19 1989-05-19 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1125728A JP2522051B2 (en) 1989-05-19 1989-05-19 Control device

Publications (2)

Publication Number Publication Date
JPH02304660A true JPH02304660A (en) 1990-12-18
JP2522051B2 JP2522051B2 (en) 1996-08-07

Family

ID=14917312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1125728A Expired - Lifetime JP2522051B2 (en) 1989-05-19 1989-05-19 Control device

Country Status (1)

Country Link
JP (1) JP2522051B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668818A (en) * 1979-11-10 1981-06-09 Fujitsu Ltd Using rate measuring system for input/output control device
JPS63113649A (en) * 1986-10-30 1988-05-18 Fujitsu Ltd Controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668818A (en) * 1979-11-10 1981-06-09 Fujitsu Ltd Using rate measuring system for input/output control device
JPS63113649A (en) * 1986-10-30 1988-05-18 Fujitsu Ltd Controller

Also Published As

Publication number Publication date
JP2522051B2 (en) 1996-08-07

Similar Documents

Publication Publication Date Title
CA2135505C (en) Dma emulation for non-dma capable interface cards
JPS6131485B2 (en)
KR940010580A (en) Interface circuit for data transmission control
JPH02304660A (en) Controller
JPS5934303B2 (en) Abnormal phenomenon detection method for copying machine sequence
JP2000010910A (en) Unit and method for data transfer control and recording medium
JPS5916054A (en) Microprocessor
JPS60189053A (en) Data transfer controller
JPS59146326A (en) Control system of channel device
JPH0452746A (en) Input/output command issuing system for information processing system
JP2555580B2 (en) Storage device control system
JPS6128144A (en) Executing device of tracing
JPS6041766B2 (en) microprogram controller
JPS59117645A (en) Testing method of computer system
JPH03119449A (en) Calculating device
JPH03156659A (en) Direct memory access controller
JPS60245030A (en) Disk controller
JPS5769336A (en) Key input display controller
JPS5954091A (en) Electronic computer
JPS5913767B2 (en) Data transfer control circuit
JPS6239790B2 (en)
JPH0462093B2 (en)
JPH0125095B2 (en)
JPH0341542A (en) Peripheral controller
JPS5569834A (en) Data transfer controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 13

EXPY Cancellation because of completion of term