JPH0137766B2 - - Google Patents
Info
- Publication number
- JPH0137766B2 JPH0137766B2 JP56052546A JP5254681A JPH0137766B2 JP H0137766 B2 JPH0137766 B2 JP H0137766B2 JP 56052546 A JP56052546 A JP 56052546A JP 5254681 A JP5254681 A JP 5254681A JP H0137766 B2 JPH0137766 B2 JP H0137766B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- floppy disk
- timer
- disk device
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
この発明はフロツピーデイスク装置の保護装置
に関し、計算機システムにおけるフロツピーデイ
スク装置のオン・オフの切換を必要最小限に抑
え、さらにオフ要求による停止処理中にオン要求
が加わつた場合のフロツピーデイスク装置のハー
ドウエア側へのシヨツクを防止することにより装
置の寿命を延すとともに、信頼性の向上を図ろう
とするものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a protection device for a floppy disk device, which minimizes the on/off switching of a floppy disk device in a computer system, and further protects the floppy disk device from turning on and off during shutdown processing due to an off request. This is intended to extend the life of the floppy disk device and improve its reliability by preventing shocks to the hardware of the floppy disk device in the event of damage.
計算機システムにおいてフロツピーデイスク装
置(以下、FDDとする)は補助記憶装置やオブ
ジエクトの入力媒体として使用されている。また
この様な使い方の他最近では半補助記憶装置と言
える様な使用方法も行われている。たとえばプロ
セス制御用の多重ループコントロールシステムで
はプログラムの特殊部分を半ROM化した形で
FDDに格納しておく方法が行われている。この
様なシステムではFDDの記憶部は半ROM化して
特殊部分とシステム立上げに必要な主記憶部のイ
メージエリアとして使い分けられている。 In computer systems, floppy disk devices (hereinafter referred to as FDD) are used as auxiliary storage devices and object input media. In addition to this usage, recently there has also been a usage method that can be called a semi-auxiliary storage device. For example, in a multi-loop control system for process control, special parts of the program are stored in semi-ROM format.
The method used is to store it on FDD. In such systems, the storage part of the FDD is made into a half-ROM and is used as a special part and an image area of the main memory part required for system startup.
従来の補助記憶装置としててFDDを使用する
場合は、計算機内の制御部(図示せず)から
FDDに対して常時オン要求を出して計算機より
データの読出し書き込みをしている。オブジエク
トの入出力媒体として使用する場合はたとえばオ
ブジエクトのローデイング時或いはメモリ内容の
ダンプ時のみFDDを手動でオン状態にしている。 When using an FDD as a conventional auxiliary storage device, from the control unit (not shown) in the computer
The computer issues an always-on request to the FDD to read and write data. When used as an input/output medium for objects, the FDD is manually turned on only when loading objects or dumping memory contents, for example.
一方FDDを前述の様な半ROM化した記憶装置
として使用する場合、FDDを常時オン状態にし
おく必要はなく、通常はオフ状態にして必要時だ
けオン状態にすれば良い。但しプロセスコントロ
ールに用いる場合は従来の様な手動によつてオン
状態としていたのでは応答が遅くなつてしまうた
め、オン・オフの制御はオンラインプログラムで
制御する必要がある。この様なオン・オフ制御に
おいて、必要以上にオン・オフ制御を繰返した
り、オフ要求による停止処理中にオン要求が加わ
つた場合に直ちに起動すると装置の寿命を短かく
し、またシステム全体の信頼性の低下をもたら
す。 On the other hand, when the FDD is used as a semi-ROM storage device as described above, it is not necessary to keep the FDD in the on state all the time, but it is sufficient to normally keep it in the off state and turn it on only when necessary. However, when used for process control, the response will be slow if the switch is turned on manually as in the past, so it is necessary to control the on-off state using an online program. In such on/off control, if the on/off control is repeated more than necessary, or if the on request is started immediately when an on request is added during the shutdown process due to an off request, the life of the device will be shortened, and the reliability of the entire system will be reduced. resulting in a decrease in
この発明は上記した点に基いてなされたもの
で、FDDのオン・オフ動作を必要最小限とする
ことにより装置を適切に保護しようとするもので
ある。 This invention has been made based on the above points, and aims to appropriately protect the device by minimizing the on/off operations of the FDD.
以下図面に基づいてこの発明の一実施例を説明
する。 An embodiment of the present invention will be described below based on the drawings.
第1図はこの発明を実現するための計算機シス
テムの具体的構成を示すブロツク図である。
FDD2は信号ラインで計算機1に接続されてい
て、通常はオフ状態にある。プロセス4を制御す
る場合や或る特殊な場合には計算機1はFDD2
をオン状態にして特殊機能プログラムを主記憶装
置に転送して機能を実行する。結果はプロセス入
出力装置3を通してプロセス4に出力し制御が行
われる。 FIG. 1 is a block diagram showing a specific configuration of a computer system for realizing the present invention.
FDD2 is connected to computer 1 via a signal line and is normally in an off state. When controlling process 4 or in some special cases, computer 1 uses FDD2
is turned on to transfer the special function program to the main memory and execute the function. The results are output to the process 4 through the process input/output device 3 for control.
上記の様なシステムの最大の特長はオフ状態か
らオン状態、或いはオン状態からオフ状態への移
行が何時要求されるかわからず、またその頻度も
予測がつかないことである。本発明方法において
はオン又はオフへの状態の切換を自動的に行うと
共に、オン・オフの繰返し頻度を出来るだけ抑
え、またオフ要求による停止処理巾にオン要求が
加わつた場合のフロツピーデイスク装置のハード
ウエア側へのシヨツクを防止すると同時に、停止
が完了した後直ちに起動処理を行つてオン要求を
満足させるため次のような構成としている。 The biggest feature of the above-mentioned system is that it is not known when a transition from an off state to an on state or from an on state to an off state will be required, nor can the frequency be predicted. In the method of the present invention, the state is automatically switched to on or off, and the frequency of on/off repetition is suppressed as much as possible, and the floppy disk device In order to prevent a shock to the hardware side, and at the same time, perform startup processing immediately after the stop is completed to satisfy the on request, the following configuration is adopted.
即ち計算機1内に監視タイマ10、起動タイマ
11、停止タイマ12の3つの内部タイマを備
え、オフからオン状態への移行時には起動タイマ
11を使用し、またオンからオフ状態への移行時
には監視タイマ10と停止タイマ12を使用して
FDD2の起動、停止を制御するようにしている。
なお、フロツピーデイスク装置に対するオン要求
およびオフ要求は前述したように計算機内の制御
部(図示せず)から処理の実行過程における必要
時点で適宜ソフトウエア的に発生されるものとす
る。 That is, the computer 1 is equipped with three internal timers: a monitoring timer 10, a startup timer 11, and a stop timer 12. The startup timer 11 is used when transitioning from an off state to an on state, and the monitoring timer is used when transitioning from an on state to an off state. Using 10 and stop timer 12
It controls the start and stop of FDD2.
It is assumed that the on request and the off request to the floppy disk device are generated by software as appropriate from the control section (not shown) in the computer at necessary times during the execution process, as described above.
オン・オフ間の状態の遷移には次の様な4つの
遷移状態が考えられる。まず第1にオン→オフへ
の移行、第2にオフ→オンへの移行、第3にオン
状態でオフ要求が出たが監視タイマ10のカウン
ト中に再びオン要求が出される連続移行、第4に
オン状態でオフ要求が出され停止タイマ12のカ
ウント中に再びオン要求が出される連続移行があ
る。 The following four transition states can be considered for the state transition between on and off. First, transition from on to off, second, transition from off to on, third, continuous transition where an off request is issued in the on state, but an on request is issued again while the monitoring timer 10 is counting. 4, there is a continuous transition in which an off request is issued in the on state and an on request is issued again while the stop timer 12 is counting.
第2図はFDD2のオン状態からオフ状態への
移行及びオフ状態からオン状態への移行を表わす
タイムチヤートである。オン状態にあるFDD2
にオフ要求A1があると計算機1は監視タイマ1
0をセツトする。監視タイマ10のカウント時間
T1が経過したところで停止タイマ12をセツト
してFDD2は停止中の状態に入る。停止タイマ
12のカウント時間T2相当の停止中の時間を経
過してFDD2はオフ状態になる。また、オフ状
態にあるFDD2にオン要求D1があると、計算
機1は起動タイマ11をセツトし、FDD2は起
動中の状態に入る。起動タイマ11のカウント時
間T3相当の起動中の時間を経過してFDDはオン
状態になる。 FIG. 2 is a time chart showing the transition of the FDD 2 from the on state to the off state and from the off state to the on state. FDD2 in on state
When there is an off request A1, computer 1 sets monitoring timer 1.
Set to 0. Count time of monitoring timer 10
When T1 has elapsed, the stop timer 12 is set and the FDD 2 enters a stopped state. After the stop time corresponding to the count time T2 of the stop timer 12 has elapsed, the FDD 2 is turned off. Further, when there is an on request D1 to the FDD 2 which is in the off state, the computer 1 sets the startup timer 11, and the FDD 2 enters the startup state. After the activation time corresponding to the count time T3 of the activation timer 11 has elapsed, the FDD is turned on.
この様にオフ要求に対してはバツフア時間と言
うべき監視タイマ10によるカウント時間T1分
の監視時間を設け、オフ要求即オフ操作という動
作を避けている。 In this manner, a monitoring time of 1 minute, which is a count time T1, by the monitoring timer 10, which is called a buffer time, is provided for the off request, thereby avoiding an operation where the off operation is performed immediately upon the off request.
次にオン状態にあるFDD2にオフ要求があつ
て、停止処理が終了しないうちに引続きオン要求
があつた場合を第3図のタイムチヤートに示す。
オン状態にあるFDD2にオフ要求A2があつた
場合、計算機は監視タイマ10をセツトする。こ
の監視タイマ10のカウント中にオン要求D2が
あると計算機1は即時に監視タイマ10をリセツ
トする。この結果監視タイマ10のカウント終了
時、つまりタイマ切れ時に行う停止タイマ12の
セツト処理が実行されない。したがつてFDD2
はオフ要求の後オン要求が連続的に出された場
合、オフ状態に移行せずオン状態を持続する。 The time chart in FIG. 3 shows a case where a turn-off request is made to the FDD 2 which is in the on-state, and a subsequent turn-on request is made before the stop processing is completed.
When the off request A2 is received for the FDD 2 which is in the on state, the computer sets the monitoring timer 10. If an on request D2 is received while the monitoring timer 10 is counting, the computer 1 immediately resets the monitoring timer 10. As a result, the process of setting the stop timer 12, which is performed when the monitoring timer 10 finishes counting, that is, when the timer expires, is not executed. Therefore, FDD2
If an on request is issued continuously after an off request, the on state is maintained without transitioning to the off state.
次に停止処理の最終工程、即ち停止タイマ12
のカウント中、FDD2が停止処理中の状態の時
にオン要求があつた場合を第4図に基づいて説明
する。 Next, the final step of the stop processing, that is, the stop timer 12
A case where an on request is received while the FDD 2 is in the state of being stopped during counting will be explained based on FIG. 4.
オフ要求A3によりセツトされた監視タイマ1
0がカウント終了すると、停止タイマ12がセツ
トされ、カウントが始まり、FDD2は停止中の
状態に入る。この停止中の状態にオン要求D3が
あると、計算機1は要求のあつたことをオン要求
記憶手段により記憶したまま停止タイマ12のカ
ウントを継続する。そしてカウント終了と同時に
起動タイマ11をセツトし、FDD2を起動中の
状態にもつて行く。起動タイマ11のカウントが
完了するとFDD2はオン状態となる。したがつ
て停止タイマ12のカウント時にオン要求があつ
ても、実質的にFDD2はオフ状態に移行するこ
となくオン状態を維持する。さらに、停止タイマ
12のカウント中はオン要求があつても起動を行
わず、カウントの終了を待つて直ちに起動処理を
開始することになる。 Monitoring timer 1 set by off request A3
When the count of 0 is completed, the stop timer 12 is set and counting starts, and the FDD 2 enters the stopped state. If there is an on request D3 in this stopped state, the computer 1 continues counting the stop timer 12 while storing the fact that the request has been made in the on request storage means. Then, at the same time as the count ends, the activation timer 11 is set, and the FDD 2 is placed in the activated state. When the count of the startup timer 11 is completed, the FDD 2 is turned on. Therefore, even if an ON request is made when the stop timer 12 is counting, the FDD 2 substantially maintains the ON state without shifting to the OFF state. Further, while the stop timer 12 is counting, even if there is an on request, the stop timer 12 does not start, but waits for the end of the count and immediately starts the start process.
なお上記第2図〜第4図において、FDD2の
停止中、起動中の状態に対応する停止タイマ12
のカウント時間T2、起動タイマ11のカウント
時間T3の時間内はFDD2から計算機1へのデー
タ転送は禁止される。また監視タイマ10のカウ
ント時間T1はシステム的にはFDD2はオン状態
にある。 In addition, in FIGS. 2 to 4 above, the stop timer 12 corresponds to the stopped and started states of the FDD 2.
Data transfer from the FDD 2 to the computer 1 is prohibited during the count time T 2 of the start timer 11 and the count time T 3 of the startup timer 11. Also, during the count time T1 of the monitoring timer 10, the FDD 2 is in the ON state from a system perspective.
以上のようにこの実施例ではオン・オフの要求
に対し3種のタイマ、特に監視タイマ10を設け
る事によりオン要求に対しては迅速に、オフ要求
に対しては引き続き発する可能性のあるオン要求
を監視しつつ処理を行う構成となつているため、
オン・オフの繰返しを最少に減少することができ
る。また停止処理中に相当する停止タイマ12の
カウント中にオン要求があつた場合には、このカ
ウントが終了するまでは起動されないため、
FDD2のハードウエア側へのシヨツクを防止す
ることができる。さらに停止処理が完了してハー
ドウエア側へシヨツクが与えられない状態になる
と直ちに起動処理が開始されるため、実質的に時
間遅れを生じることなくオン要求を満足させるこ
とができる。 As described above, in this embodiment, by providing three types of timers for on/off requests, especially the monitoring timer 10, it is possible to quickly respond to an on request, and to quickly prevent an on request that may be issued subsequently in response to an off request. Since it is configured to process requests while monitoring them,
On/off repetitions can be reduced to a minimum. Additionally, if an on request is received while the stop timer 12 is counting during the stop process, it will not be activated until this count ends.
Shocks to the hardware side of FDD2 can be prevented. Furthermore, since the start-up process is started immediately after the stop process is completed and no shock is given to the hardware side, the on-request can be satisfied with virtually no time delay.
なお、3種のタイマの設定時間をプロセスに対
応して適切な値を設定したり、また起動処理にも
起動監視用のタイマを用いることも可能であり、
対象とするプロセスに要求される計算機システム
により個々に決定すれば良い。 It is also possible to set the three types of timers to appropriate values depending on the process, and also to use a startup monitoring timer for startup processing.
It may be determined individually depending on the computer system required for the target process.
また上記実施例ではタイマとして計算機1の内
部タイマを用いているが、言うまでもなく外部の
機械的或いは電気タイマを用いることも可能であ
る。 Further, in the above embodiment, an internal timer of the computer 1 is used as the timer, but it goes without saying that an external mechanical or electrical timer can also be used.
以上説明したように、この発明によればフロツ
ピーデイスク装置は常時はオフ状態にあり、必要
時だけオン状態とし、不必要なオン・オフの繰返
しを防ぐことが出来るから、従来の連続オン状態
とするものに比較してフロツピーデイスク装置の
使用時間を大巾に減少することができる。またプ
ロセスの要求に対しては迅速に応答することが出
来、オン・オフの回数が減少する上に、停止処理
中には起動処理を開始せずハードウエア側へのシ
ヨツクを防止することが出来るため装置の機械
的、電気的な寿命の低下を防止出来る等の優れた
効果を得ることが出来る。 As explained above, according to the present invention, the floppy disk device is always in the off state and turned on only when necessary, thereby preventing unnecessary on-off repetitions. The operating time of the floppy disk device can be greatly reduced compared to the conventional method. In addition, it is possible to quickly respond to process requests, reduce the number of on/off cycles, and prevent shocks to the hardware by not starting startup processing during shutdown processing. Therefore, it is possible to obtain excellent effects such as being able to prevent a decrease in the mechanical and electrical life of the device.
第1図はこの発明の一実施例を示すブロツク
図、第2図、第3図及び第4図はこの発明の一実
施例の動作を説明するためのタイムチヤートであ
る。
1……計算機、2……フロツピーデイスク装
置、3……プロセス入出力装置、4……プロセ
ス、10……監視タイマ、11……起動タイマ、
12……停止タイマ。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2, 3, and 4 are time charts for explaining the operation of the embodiment of the invention. 1... Computer, 2... Floppy disk device, 3... Process input/output device, 4... Process, 10... Monitoring timer, 11... Start timer,
12...Stop timer.
Claims (1)
を介して出力するシステムでのフロツピーデイス
ク装置の保護装置において、 前記計算機から発生された前記フロツピーデイ
スク装置に対するオフ要求にしたがつてセツトさ
れて計時動作を開始するとともに前記計算機から
発生された前記フロツピーデイスク装置に対する
オン要求にしたがつて計時動作をリセツトされ
る、第1の計数時間を有する監視タイマと、 前記フロツピーデイスク装置の停止に要する時
間に対応して設定された第2の計数時間を有し、
前記監視タイマの計時動作終了によつてセツトさ
れて計時動作を開始するとともに前記フロツピー
デイスク装置をオフ状態に転換すべく指令する停
止タイマと、 前記フロツピーデイスク装置の起動に要する時
間を対応して設定された第3の計数時間を有し、
前記オン要求にしたがつてセツトされて計時動作
を開始するとともに前記フロツピーデイスク装置
をオン状態に転換すべく指令する起動タイマと、 前記停止タイマの計時中にオン要求が加わると
これを記憶し、前記停止タイマ計時完了と同時に
オン要求を生じるオン要求記憶手段とを備えてな
るフロツピーデイスク装置の保護装置。[Scope of Claims] 1. In a protection device for a floppy disk device in a system that outputs the storage contents of the floppy disk device via a computer, in response to a turn-off request to the floppy disk device generated from the computer. a monitoring timer having a first counting time that is set to start timing operation when the floppy disk device is turned on, and whose timing operation is reset in accordance with an on request to the floppy disk device generated from the computer; having a second counting time set corresponding to the time required for stopping the device;
A stop timer that is set when the monitoring timer finishes the clocking operation and starts the clocking operation and also instructs the floppy disk device to turn off, and a time period required for starting the floppy disk device. has a third counting time set by
a start timer that is set in response to the on request to start a timing operation and instruct the floppy disk device to turn on; and a start timer that is set in accordance with the on request and instructs the floppy disk device to turn on; . A protection device for a floppy disk device, comprising: on-request storage means that generates an on-request at the same time the stop timer completes counting.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56052546A JPS57168361A (en) | 1981-04-08 | 1981-04-08 | Protective device of floppy disk device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56052546A JPS57168361A (en) | 1981-04-08 | 1981-04-08 | Protective device of floppy disk device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57168361A JPS57168361A (en) | 1982-10-16 |
| JPH0137766B2 true JPH0137766B2 (en) | 1989-08-09 |
Family
ID=12917785
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56052546A Granted JPS57168361A (en) | 1981-04-08 | 1981-04-08 | Protective device of floppy disk device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57168361A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6025052A (en) * | 1983-07-21 | 1985-02-07 | Tokyo Electric Co Ltd | Disk recording device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53713A (en) * | 1976-06-23 | 1978-01-06 | Hitachi Ltd | Power switching circuit |
| JPS5565237U (en) * | 1978-10-30 | 1980-05-06 |
-
1981
- 1981-04-08 JP JP56052546A patent/JPS57168361A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57168361A (en) | 1982-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5189647A (en) | Information processing system having power saving control of the processor clock | |
| US5081577A (en) | State controlled device driver for a real time computer control system | |
| JPH01277928A (en) | Printer | |
| JPH046973B2 (en) | ||
| JPH0137766B2 (en) | ||
| JPH05259825A (en) | Clock generating circuit | |
| JPH0876876A (en) | Clock supply control circuit of microprocessor | |
| JP2785997B2 (en) | Power on / off control method for information processing device | |
| JPS641813B2 (en) | ||
| JP6406106B2 (en) | Electronic control unit | |
| JPH03288190A (en) | Display controller access control circuit | |
| JPH02171935A (en) | Runaway preventing circuit for microprocessor | |
| JPH11112721A (en) | Switch control method and device in scanner device | |
| JPH04337855A (en) | Disk cache device | |
| JPH0695894A (en) | Information processing system and operating method therefor | |
| JPH0236971B2 (en) | ||
| JPH10199236A (en) | DRAM controller | |
| JPH09212201A (en) | Control circuit for production equipment | |
| JPS63155245A (en) | Data backup system for semiconductor disk | |
| JPH05314058A (en) | Data receiver | |
| JPH07175729A (en) | Bus connection system | |
| JPH05181567A (en) | Power source stop control system for information processor | |
| JPH06161907A (en) | Memory controller | |
| JPH06105439B2 (en) | Program management method | |
| JPH05120202A (en) | Dma control system |