JPS63166068A - Controller for floppy disk drive device - Google Patents

Controller for floppy disk drive device

Info

Publication number
JPS63166068A
JPS63166068A JP31552486A JP31552486A JPS63166068A JP S63166068 A JPS63166068 A JP S63166068A JP 31552486 A JP31552486 A JP 31552486A JP 31552486 A JP31552486 A JP 31552486A JP S63166068 A JPS63166068 A JP S63166068A
Authority
JP
Japan
Prior art keywords
read
floppy disk
write
counter
recording track
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
JP31552486A
Other languages
Japanese (ja)
Inventor
Makoto Matsui
誠 松井
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP31552486A priority Critical patent/JPS63166068A/en
Publication of JPS63166068A publication Critical patent/JPS63166068A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B5/00Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
    • G11B5/41Cleaning of heads
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/06Control of operating function, e.g. switching from recording to reproducing by counting or timing of machine operations

Abstract

PURPOSE:To surely protect important information, by providing a read/write number of times counter at every recording track, and informing the service life of a floppy disk automatically when the number of times of read/write arrives at a marginal number of times at a certain recording track. CONSTITUTION:The read/write number of times counter 4 which counts the number of times of read/write execution is provided at every recording track 3 of the floppy disk 2 on which a bit of information is read and written by a magnetic head 1, and the counted value of the read/write number of times counter 4 is written by a read/write number of times preserving means 5 reacting according to the switch operation of a write switch, and reacting according to the above, the number of times of the read/write stored in the floppy disk 2 is read out by a read/write number of times setting means 6, and it is set at the read/write number of times counter 4 as an initial value. When the counted value counts the marginal number of times, the service life of the floppy disk is informed by a floppy disk service life informing means 7. In such a way, it is possible to surely protect the important information written on and read out from the floppy disk.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はフロッピーディスクドライブ装置に係わり、特
にこの装置で使用されるフロッピーディスクの寿命およ
び磁気ヘッドのクリーニング時期を自動的に告知するよ
うにしたフロッピーディスクドライブ装置の制御装置に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a floppy disk drive device, and particularly to a floppy disk drive device that automatically notifies the life of a floppy disk used in this device and the cleaning period of a magnetic head. The present invention relates to a control device for a floppy disk drive device.

[従来の技術] 例えば磁気記録媒体として可撓性を有するフロッピーデ
ィスク(FDK)を用いたフロッピーディスクドライブ
l1l(FDD)においては、スピンドルモータの軸に
クランプ機構を取付け、ディスク挿入口から挿入された
フロッピーディスクをこのクランプ機構でスピンドルモ
ータの軸に固定し、スピンドルモータを所定速度で回転
させる。
[Prior Art] For example, in a floppy disk drive (FDD) that uses a flexible floppy disk (FDK) as a magnetic recording medium, a clamp mechanism is attached to the spindle motor shaft, and the disk is inserted from the disk insertion slot. The floppy disk is fixed to the shaft of the spindle motor using this clamp mechanism, and the spindle motor is rotated at a predetermined speed.

そして、ステッピングモータでキャリッジに搭載された
磁気ヘッドをフロッピーディスクの半径方向に移動させ
て、フロッピーディスクの記録面に形成された各記録ト
ラックに対して情報の書込み読出しを実行するように構
成されている。
The magnetic head mounted on the carriage is moved in the radial direction of the floppy disk using a stepping motor, and information is written to and read from each recording track formed on the recording surface of the floppy disk. There is.

[発明が解決しようとする問題点] しかしながら上記のように外部から挿入されたフロッピ
ーディスクに対して情報の自込み読出しを実行するよう
にしたフロッピーディスクドライブ装置においては次の
ような問題があった。すなわち、情報の記録媒体として
のフロッピーディスクは何回も情報の書込み読出しが実
行されるが、自込み読出し実行回数が一定の許容限界を
越えると記録面の摩耗等によって書込みエラーや読出し
エラーが発生する確率が轟くなる。したがって、一般的
にフロッピーディスクは消耗品と見なされている。その
ため、重要な情報を記録する場合は、その寿命が尽きる
まえに古いフロッピーディスクを新品のフロッピーディ
スクに取替える必要がある。
[Problems to be Solved by the Invention] However, the floppy disk drive device described above which automatically reads information from an externally inserted floppy disk has the following problems. . In other words, information is written to and read from a floppy disk as an information storage medium many times, but if the number of self-read operations exceeds a certain allowable limit, write errors or read errors may occur due to wear of the recording surface, etc. The probability of doing so is skyrocketing. Therefore, floppy disks are generally considered consumables. Therefore, if important information is to be recorded, it is necessary to replace the old floppy disk with a new one before the end of its life.

しかしながら、シジャケッに封入されたフロッピーディ
スクの外観を見る限り、このフロッピーディスクの残り
寿命を推測することは不可能である。もちろん、フロッ
ピーディスクをフロッピーディスクドライブ装置にセッ
トする度に、例えばオペレータが書込み読出し回数をジ
ャケット等に記録しておけばよいのであるが、オペレー
タの負担が増大するのみならず、書込み読出し回数の記
録を忘れる懸念がある。
However, just by looking at the appearance of the floppy disk enclosed in the jacket, it is impossible to estimate the remaining lifespan of the floppy disk. Of course, every time a floppy disk is set in a floppy disk drive, the operator could record the number of writes/reads on the jacket, etc., but this would not only increase the burden on the operator, but also record the number of writes/reads. There are concerns about forgetting.

また、情報の種類によってはフロッピーディスクのある
特定の記録トラックに集中して書込み読出しが実行され
る場合もある。この場合その記録トラックのみが早期に
摩耗すると考えられる。したがって、オペレータが書込
み読出し回数を計数してジャケット等に記録する方法で
あると、フロッピーディスクの正確な寿命を予測できな
い問題がある。
Furthermore, depending on the type of information, writing and reading may be performed concentrated on a specific recording track of the floppy disk. In this case, it is considered that only that recording track wears out early. Therefore, if the operator counts the number of writes and reads and records it on a jacket or the like, there is a problem in that it is not possible to accurately predict the lifespan of the floppy disk.

本発明は、各記録トラック毎にリード/ライト回数カウ
ンタを設け、一つの記録トラックにおいて限界回数に達
した場合はフロッピーディスク寿命を自動告知すること
によって、重要な情報を確実に保護できるフロッピーデ
ィスクドライブ装置の制御0装置を提供することを目的
とする。
The present invention provides a floppy disk drive that can reliably protect important information by providing a read/write counter for each recording track and automatically notifying the end of the floppy disk's life when the limit number of times is reached for one recording track. The purpose is to provide a control device for the device.

[問題点を解決するための手段] 本発明のフロッピーディスクドライブVA置の制御@置
においては、第1図に示すように、磁気ヘッド1でもっ
て情報が書込み読出しされるフロッピーディスク2の各
記録トラック3毎にこの記録トラック3に対する情報の
書込み読出し実行回数を計数するリード/ライト回数カ
ウンタ4を設け、フロッピーディスクドライブ装置に対
するフロンビーディスク2の取出操作前に実行される書
込スイッチのスイッチ操作に応動してリード/ライト回
数保存手段5によって、リード/ライト回数カウンタ4
のカウント値を該当フロッピーディスク2に書込み、フ
ロッピーディスク2のフロッピーディスクドライブ装置
に対する挿入操作に応動してリード/ライト回数セット
手段6によって、このフロッピーディスク2に記憶され
ているリード/ライト回数を読出しリード/ライト回数
カウンタ41.:初期値として設定する。そして、リー
ド/ライト回数カウンタ4のカウント値が限界回数を計
数するとフOツビーディスク寿命告知手段7によってフ
ロッピーディスク寿命を告知するようにしている。
[Means for Solving the Problems] In the control of the floppy disk drive VA device of the present invention, as shown in FIG. A read/write counter 4 is provided for each track 3 to count the number of times information is written to and read from the recording track 3, and a write switch is operated before the Fronby disk 2 is ejected from the floppy disk drive device. In response to this, the read/write count storage means 5 stores the read/write count counter 4.
The count value is written to the corresponding floppy disk 2, and in response to the insertion operation of the floppy disk 2 into the floppy disk drive device, the read/write count setting means 6 reads the read/write count stored in the floppy disk 2. Read/write number counter 41. : Set as the initial value. When the count value of the read/write number counter 4 reaches the limit number of times, the floppy disk life notification means 7 notifies the floppy disk life.

また、別の発明においては、上記各手段に加え、磁気ヘ
ッド1による情報の書込み読出し回数を計数するヘッド
使用カウンタ8を設け、このヘッド使用カウンタ8のカ
ウント値が使用許容回数を計数するとヘッドクリーニン
グ告知手段9によって磁気ヘッドクリーニング指示を告
知するようにしている。
Further, in another invention, in addition to the above-mentioned means, a head use counter 8 is provided that counts the number of times information is written and read by the magnetic head 1, and when the count value of the head use counter 8 reaches the allowable number of uses, the head is cleaned. A notification means 9 notifies the magnetic head cleaning instruction.

[作用J このように構成されたフロッピーディスクドライブ1i
fffのill 101 置であれば、フロッピーディ
スクを)Oツビーディスクドライブ装置に挿入すると、
フロッピーディスクに記録されている該当フロッピーデ
ィスクの各記録トラック別のリード/ライト回数が読出
されてリード/ライト回数カウンタに初期値としてセッ
トされる。そして、該当フロッピーディスクに情報の書
込み読出しを実行すると、その実行回数がリード/ライ
ト回数カウンタに累積される。そして、フロッピーディ
スクをフロッピーディスクドライブ装置から取出す煎に
書込スイッチを操作すると、リード/ライト回数カウン
タのカウント値が新たに該当フロッピーディスクに書込
まれる。したがって、フロッピーディスクには自己の各
記録トラックに対して実行された各記録トラック毎の書
込み読出し回数が記録されている。そして、該当フロッ
ピーディスクをフロッピーディスクドライブ装置に挿入
して情報の霞込み読出し実行中にリード/ライト回数カ
ウンタのカウント値が限界回数に達するとフロッピーデ
ィスク寿命が告知される。
[Operation J Floppy disk drive 1i configured in this way
fff's ill 101 If you insert the floppy disk into the disk drive device,
The number of read/writes recorded on the floppy disk for each recording track of the floppy disk is read out and set as an initial value in a read/write number counter. When information is written to or read from the corresponding floppy disk, the number of times the information is written or read is accumulated in the read/write counter. Then, when the write switch is operated while the floppy disk is removed from the floppy disk drive device, the count value of the read/write number counter is newly written to the corresponding floppy disk. Therefore, on the floppy disk, the number of times of writing/reading performed for each recording track is recorded on the floppy disk. Then, when the corresponding floppy disk is inserted into the floppy disk drive device and the count value of the read/write number counter reaches the limit number of times while reading the information in a blur manner, the floppy disk life is notified.

また、別の発明の作用は、上記作用に加えて全てのフロ
ッピーディスクに亘って磁気ヘッドの書込み読出し実行
回数がヘッド使用カウンタに累積される。そして、この
カウント値が使用許容回数に達すると磁気ベットクリー
ニング指示が告知される。
Another advantage of the present invention is that, in addition to the above-mentioned effects, the number of times the magnetic head writes and reads across all floppy disks is accumulated in a head usage counter. Then, when this count value reaches the allowable number of uses, a magnetic bed cleaning instruction is announced.

〔実施例〕 以下本発明の一実施例を図面を用いて説明する。〔Example〕 An embodiment of the present invention will be described below with reference to the drawings.

第2図は実施例のフロッピーディスクドライブ装置の制
御装渭を、デパートやスーパーマーケット等の大規模小
売店におけるPOS (販売時点情報管理)システムの
ファイル制御部(FC,ファイルコントローラ)に適用
した場合におけるPOSシステム全体を示すブロック構
成図である。
Figure 2 shows the case where the control unit of the floppy disk drive device of the embodiment is applied to a file control unit (FC, file controller) of a POS (point of sale) system in a large-scale retail store such as a department store or a supermarket. FIG. 1 is a block configuration diagram showing the entire POS system.

このPOSシステムにおいては、例えば商店の事務所等
に設置された1台のファイル制御部11に伝送路12を
介して各売場に配設された複数台の電子キャッシュレジ
スタ13が接続されている。
In this POS system, a plurality of electronic cash registers 13 arranged at each sales floor are connected via a transmission line 12 to one file control unit 11 installed in, for example, an office of a store.

各電子キャッシュレジスタ13は各売場で販売された商
品の販売点数や販売金額等の販売データを登録し伝送路
12を介してファイル制御部11へ送信するとともに、
客との間で販売商品に対する代金の授受を行なう41能
を有する。フ?イルIIIJwJ部11は各電子キャッ
シュレジスタ13から送信された各販売データを例えば
RAMやフロッピーディスクドライブ装置等の記憶部に
例えば商品毎に累積記憶する機能を有する。
Each electronic cash register 13 registers sales data such as the number of items sold at each sales floor and the sales amount, and transmits it to the file control unit 11 via the transmission path 12.
It has 41 functions of exchanging payment for sold products with customers. centre? The file IIIJwJ unit 11 has a function of cumulatively storing each sales data transmitted from each electronic cash register 13 in a storage unit such as a RAM or a floppy disk drive device, for example, for each product.

このファイル制御部11において、図示するように、各
種PI4算処理を実行するCPtJ (中央処理@置)
14は、パスライン15を介して各種の制御プログラム
を記憶するROM16.各電子キャッシュレジスタ13
から送信された販売データ等を記憶するRAM17.各
電子キャッシュレジスタ13とデータ伝送を行なうため
の5DLC(シンクロナス・データリンク・コントロー
ラ)、フロッピーディスク18に対して情報の自込み読
出しを行なうフロッピーディスクドライブ装置(FFD
)19等を制御する。また、CPL114にはRAM1
7とフロッピーディスクドライブ装置19との間で直接
データ伝送を行なうためのDMAコントローラ20が接
続されている。また、パスライン15には図示しない入
出力ボートを介して3Iの発光ダイオード(LED)か
らなる警告ランプ21a、21b、21cと、書込スイ
ッチ22と、プサー23とが接続されている。
In this file control unit 11, as shown in the figure, CPtJ (central processing@location) executes various PI4 calculation processes.
14 is a ROM 16.1 that stores various control programs via a pass line 15. Each electronic cash register 13
RAM 17 for storing sales data etc. sent from the RAM 17. 5DLC (Synchronous Data Link Controller) for data transmission with each electronic cash register 13, floppy disk drive device (FFD) for automatically reading information from the floppy disk 18
)19 etc. In addition, the CPL114 has RAM1
A DMA controller 20 for direct data transmission between the floppy disk drive device 19 and the floppy disk drive device 19 is connected thereto. Further, warning lamps 21a, 21b, and 21c made of 3I light emitting diodes (LEDs), a write switch 22, and a pusher 23 are connected to the pass line 15 via an input/output port (not shown).

なお、前記警告ランプ(LEDl)21aは書込み読出
し時におけるエラー発生や誤った操作を実施した場合に
おけるエラー発生等を告知するものであり、警告ランプ
(LED2)21bはフロ1ツビーデイスク18の寿命
が尽きたことを告知するものであり、警告ランプ(LE
D3)21Cは磁気ヘッドのクリーニング指示を告知す
るものである。
The warning lamp (LED1) 21a is used to notify of the occurrence of an error during writing/reading or when an erroneous operation is performed, and the warning lamp (LED2) 21b is used to notify the user that the life of the floating disk 18 has expired. This is a warning lamp (LE) that notifies you that the
D3) 21C is for notifying an instruction to clean the magnetic head.

また、前記RAM17内には、全部の売場で販売される
商品に対して品名、単価、売上点数、売上金額等を商品
コード別に記憶する商品ファイル(JANファイル)が
形成されている。さらに、このRAM17内には、第3
図に示すように、フOツビーディスクドライブ装置19
において磁気ヘッドが挿入されたフロッピーディスク1
8に対して情報の自込み読出しを実行する回数を計数す
るヘッド使用カウンタR1,ディスク挿入口に挿入され
たフロッピーディスクに対して情報の書込み読出し実行
回数を、フロッピーディスク18の各記録トラック毎に
計数するリード/ライト回数カウンタR2,I込み読出
し実行時にエラーが発生した場合にそのエラーの種類を
示すエラーログを順次記憶するエラーログメモリR3,
エラーログメモリR3に新たなエラーログを書込むとき
の書込み番地を指定するエラー護込ポインタEPを格納
する領域R4,挿入されているフロッピーディスク18
の識別番号IDを記憶するFDK&!別番号領域R5,
これ等カウンタR2,メモリR3゜領域R4の全部の記
憶内容が、挿入されているフロッピーディスク18に書
込まれたことを示す初期状態フラグを格納するフラグf
R域R6が形成されている。
Further, in the RAM 17, a product file (JAN file) is formed that stores product names, unit prices, number of sales items, sales amounts, etc. for products sold at all sales floors, by product code. Furthermore, within this RAM 17, a third
As shown in the figure, a USB disk drive device 19
Floppy disk 1 with a magnetic head inserted in
8, a head usage counter R1 counts the number of times information is read and written to the floppy disk inserted into the disk insertion slot, and a head usage counter R1 counts the number of times information is written and read from the floppy disk inserted into the disk insertion slot, for each recording track of the floppy disk 18. A read/write count counter R2 for counting, an error log memory R3 for sequentially storing an error log indicating the type of error when an error occurs when executing an I-in read;
Area R4 for storing an error protection pointer EP that specifies the write address when writing a new error log to the error log memory R3, an inserted floppy disk 18
FDK &! that stores the identification number ID of Different number area R5,
The counter R2, the memory R3, and the flag f that stores an initial state flag indicating that all the memory contents of the area R4 have been written to the inserted floppy disk 18.
An R region R6 is formed.

さらに、このフロッピーディスクドライブ装置19に挿
入される各フロッピーディスク18には、第4図に示す
ように、DMAコントローラ20を介して入力された各
種データ(情報)を記憶するデータ記sm域R7の他に
、自己の識別番号IDを記憶するFDK識別番号領域R
8,RAM17かう送信された自己の各記録トラック毎
のリード/ライト回数を記憶するリード/ライト回数メ
モリR9,RAM17のエラーログメモリR3および領
域R4と同一構成のエラーログメモリR10゜fIA域
R11が形成されている。
Furthermore, each floppy disk 18 inserted into the floppy disk drive device 19 has a data storage area R7 for storing various data (information) inputted via the DMA controller 20, as shown in FIG. In addition, the FDK identification number area R that stores its own identification number ID
8. The read/write count memory R9 stores the transmitted read/write count for each recording track of the RAM 17, and the error log memory R10゜fIA area R11 has the same configuration as the error log memory R3 and area R4 of the RAM 17. It is formed.

しかして、前記CPU14はフロッピーディスクドライ
ブ装置19からフロッピーディスク18のディスク挿入
口に対する挿入、取出し操作検出信号が入力され、さら
に書込スイッチ操作、I込み読出し指令等が入力すると
第5図の流れ図を実行するようにプログラム構成されて
いる。すなわち流れ図が開始され、Plにてフロッピー
ディスクドライブ装置19にフロッピーディスク18が
挿入されたことを検出すると、P2にてRAM17のフ
ラグ領域R6の状態を調べる。そして、初期状態フラグ
が1に設定されていれば、P3にてフロッピーディスク
ドライブ装置19を介してフロッピーディスク18のF
DK識別番@領域R8の識別番号IQ、リード/ライト
回数メモリR9の各リードフシ48回数CN、エラーロ
グメモリR10の各エラーログ、領域R11のエラーロ
グ書込ポインタEPを読出す。そして、P4にて読出し
た識別番号ID、リード/ライト回数CN、エラーログ
、I込ポインタEPをRAM17のFDK識別番号領域
R5,リード/ライト回数カウンタR2,エラーログメ
モリR3,領域R4に初期設定、又は格納する。その後
フラグ領域R6の初期状態フラグをOに解除する。
When the CPU 14 receives a detection signal from the floppy disk drive device 19 for detecting the operation of inserting or ejecting the floppy disk 18 into the disk insertion slot, and further inputs a write switch operation, an I-in/read command, etc., the CPU 14 executes the flowchart shown in FIG. The program is configured to run. That is, when the flowchart is started and insertion of the floppy disk 18 into the floppy disk drive device 19 is detected at P1, the state of the flag area R6 of the RAM 17 is checked at P2. If the initial state flag is set to 1, the floppy disk 18 is loaded via the floppy disk drive device 19 in P3.
DK identification number @Identification number IQ of area R8, read/write count 48 times CN of each read/write count memory R9, each error log of error log memory R10, and error log write pointer EP of area R11 are read. Then, the identification number ID, read/write count CN, error log, and I-included pointer EP read in P4 are initialized to the FDK identification number area R5, read/write count counter R2, error log memory R3, and area R4 of the RAM 17. , or store. Thereafter, the initial state flag in the flag area R6 is reset to O.

また、P2にてRAM17の初期状態フラグが0に解除
されていた場合は、書込スイッチ22をスイッチ操作せ
ずに前のフロッピーディスク18を取出したのち、再び
フロッピーディスク18が挿入されたと判断する。そし
て、挿入されたフロッピーディスク18のFDK識別番
号領1*R8から識別番号IDを読出す、、P5にて読
出した識別番号IDとRAM17のFDK識別番号領域
R5に記憶されている識別番号IDとが一致すると、同
一フロッピーディスク18が再挿入されたので、RAM
17のカウンタR2に累積された各記録トラック毎のリ
ード/ライト回数CN、エラーログメモリR3の各エラ
ーログ、領域R4のエラーログ書込ポインタEPを読出
して、フロッピーディスク18のリード/ライト回数メ
モリR9,エラーログメモリR10,領域R11にそれ
ぞれ書込む。その後、RAM17の初期状態フラグを1
に設定する。
Furthermore, if the initial state flag of the RAM 17 has been cleared to 0 at P2, it is determined that the previous floppy disk 18 was removed without operating the write switch 22, and then the floppy disk 18 was inserted again. . Then, the identification number ID is read from the FDK identification number area 1*R8 of the inserted floppy disk 18, and the identification number ID read in P5 is combined with the identification number ID stored in the FDK identification number area R5 of the RAM 17. If they match, the same floppy disk 18 has been reinserted, so the RAM
The read/write count CN for each recording track accumulated in the counter R2 of 17, each error log in the error log memory R3, and the error log write pointer EP in area R4 are read out, and the read/write count memory of the floppy disk 18 is read out. R9, error log memory R10, and area R11. After that, the initial state flag of RAM17 is set to 1.
Set to .

なお、P5にて識別番号IDが一致しない場合は、前の
フロッピーディスク18を書込スイッチ22を操作せず
に取出し、かつ、異なるフロッピーディスク18を挿入
したと判断して、誤操作を示す警告ランプ21aを点灯
するとともにブザー23を一定時間鳴動させる。
If the identification numbers ID do not match at P5, it is determined that the previous floppy disk 18 was removed without operating the write switch 22 and a different floppy disk 18 was inserted, and a warning lamp indicating an incorrect operation is displayed. 21a is turned on and the buzzer 23 is made to sound for a certain period of time.

また、P6にてフロッピーディスク18に対して一つの
データを書込んだり逆にフロッピーディスク18から一
つのデータを読出す必要が生じると、フロッピーディス
クドライブ装置19を介して磁気ヘッドでもって指定さ
れた記録トラックに対してデータ(情報)の書込み読出
しを実行する。
In addition, when it becomes necessary to write one piece of data to the floppy disk 18 or read one piece of data from the floppy disk 18 at P6, a specified data is sent by the magnetic head via the floppy disk drive device 19. Write and read data (information) to and from the recording track.

そして、P7にて樗込み読出し実行時にエラーが発生し
ていないことを確認すると、P9にてRAM17のリー
ド/ライト回数カウンタR2の該当記録トラックのトラ
ック順のリード/ライト回数CNを1だけ増加する。な
お、P7にてエラーが発生すると、P8にて発生したエ
ラーの種類を示すエラーログをRAM17のエラーログ
メモリR3内の領域R4の書込ポインタEPが指定する
位置に格納する。
Then, when it is confirmed in P7 that no error has occurred during the execution of readout, the read/write count CN of the corresponding recording track in the read/write count counter R2 of the RAM 17 is increased by 1 in P9. . Note that when an error occurs at P7, an error log indicating the type of error that occurred at P8 is stored in the position specified by the write pointer EP in area R4 in error log memory R3 of the RAM 17.

次に、Ploにて増加後のリード/ライト回数CNがあ
らがじめ定められた限界回数CN waxに達していな
いことを確認すると、P12にてRAM17のヘッド使
用カウンタR1のカウント618cに1を加算する。な
お、PIOにて増加後のリード/ライト回数CNが限界
回数CN laXに達していると、このフロッピーディ
スク18は寿命に達したと判断して、警告ランプ21b
を点灯して、オペレータにフロッピーディスク寿命を告
知する。
Next, when it is confirmed in Plo that the increased read/write count CN has not reached the predetermined limit count CN wax, 1 is added to the count 618c of the head usage counter R1 in the RAM 17 in P12. to add. In addition, if the read/write number CN after increasing in PIO reaches the limit number CN laX, it is determined that this floppy disk 18 has reached the end of its life, and the warning lamp 21b is turned on.
lights up to notify the operator of the floppy disk lifespan.

次にP13にて増加後のヘッド使用カウンタR1のカウ
ントl!HCが予め定められた使用許容回数1−ICm
axに達していないことを確認して、一つのデータ(情
報)のフロッピーディスク18に対する書込み読出し処
理を終了する。なお、P13にて増加後のカウント値H
Cが使用許容回数HCwaxに達した場合は、磁気ヘッ
ドをクリーニングする必要有りと判断して、警報ランプ
21Cを点灯して、オペレータにヘッドクリーニング指
示を告知する。
Next, at P13, the count l of the head usage counter R1 after incrementing! HC is predetermined allowable number of uses 1-ICm
After confirming that it has not reached ax, the process of writing and reading one piece of data (information) to and from the floppy disk 18 is completed. In addition, the count value H after increasing at P13
When C reaches the allowable number of uses HCwax, it is determined that the magnetic head needs to be cleaned, and the warning lamp 21C is turned on to notify the operator of a head cleaning instruction.

さらに、P15にて書込スイッチ22のスイッチ操作が
実行されると、この書込スイッチ22は、フロッピーデ
ィスクドライブ装置19に挿入されているフロッピーデ
ィスク18を取出す前に操作されたと判断する。そして
、P2OにてRAM17のリード/ライト回数カウンタ
R2の各記録トラック毎のリード/ライト回数CN、領
域R4のエラーログ書込みポインタEP、エラーログメ
モリR3の各エラーログを読出す。そして、フロッピー
ディスク18のリード/ライト回数メモリR9,111
1R11j9J:ヒl5−0クメT−!JR10にそれ
ぞれ書込む。以上の処理が終了すると、RAM17の初
期状態フラグを1に設定する。
Further, when the write switch 22 is operated at P15, it is determined that the write switch 22 was operated before the floppy disk 18 inserted into the floppy disk drive device 19 was removed. Then, at P2O, the read/write count CN for each recording track of the read/write count counter R2 of the RAM 17, the error log write pointer EP of the area R4, and each error log of the error log memory R3 are read out. The read/write count memory R9, 111 of the floppy disk 18
1R11j9J: Hill 5-0 Kume T-! Write each to JR10. When the above processing is completed, the initial state flag of the RAM 17 is set to 1.

また、P17にて、フロッピーディスク18かフロッピ
ーディスクドライブ装置19から取出されると、PI3
にてRAM17の初期状態フラグが1に設定されている
ことを確認する。なお、PI3にて初期状態フラグが0
に解除されたままであれば、取出したフロッピーディス
ク18に対するリードフシ48回数ON、エラーログ等
はRAM17に残ったままであり、このフロッピーディ
スク18に書込まれていないと判断して、操作エラーの
警告ランプ21aを点灯するとともにブザー23を一定
時間鳴動させ、オペレータに誤操作を告知させる。
In addition, when the floppy disk 18 is removed from the floppy disk drive device 19 at P17, the PI3
Confirm that the initial state flag of the RAM 17 is set to 1. Note that the initial state flag is 0 in PI3.
If the floppy disk 18 that has been removed remains unlocked, the read handle for the removed floppy disk 18 is turned ON 48 times, the error log, etc. remains in the RAM 17, and it is determined that it has not been written to this floppy disk 18, and the operation error warning lamp is turned on. 21a and sounds the buzzer 23 for a certain period of time to notify the operator of an erroneous operation.

このように構成されたフロッピーディスクドライブ装置
の制WJ装Rとしてのフ?イル111j部11であれば
、フロッピーディスク18をフロッピーディスクドライ
ブ装[19に挿入すると、挿入されたフロッピーディス
ク18に記録されている各記録トラック毎のリード/ラ
イト回数CN、各エラーログは読出されてRAM17の
リード/ライト回数カウンタR2およびエラーログメモ
リR3に設定される。そして、この)Oツビーディスク
18、に対してデータ(情報)が書込み読出しされる度
に上記リード/ライト回数ONが更新されるとともに書
込み読出しエラーが発生するとそのエラーログも記憶さ
れる。そして、このフロッピーディスク18をフOツビ
ーディスクドライブ装置19から取出す直前に書込スイ
ッチ22を操作すれば、RAM17にて更新されたリー
ド/ライト回数ON、各エラーログが再び該当フロッピ
ーディスク18に書込まれる。そして、書込み読出し動
作中にリード/ライト回数CNが限界回数CN wax
に達すると警告ランプ21bが点灯する。
What is the function of the WJ system R for the floppy disk drive device configured in this way? When the floppy disk 18 is inserted into the floppy disk drive device [19], the read/write count CN for each recording track and each error log recorded on the inserted floppy disk 18 are read out. and is set in the read/write number counter R2 and error log memory R3 of the RAM 17. Each time data (information) is written to or read from the Otsubi disk 18, the read/write count ON is updated, and if a write/read error occurs, the error log is also stored. If the write switch 22 is operated just before taking out the floppy disk 18 from the disk drive device 19, the read/write count updated in the RAM 17 is turned on and each error log is written to the corresponding floppy disk 18 again. be included. Then, during the write/read operation, the number of read/writes CN becomes the limit number CN wax
When it reaches this point, the warning lamp 21b lights up.

したがって、オペレータはそのフロッピーディスク18
が寿命に達したことを適確に把握できる。
Therefore, the operator must
It is possible to accurately determine when the product has reached the end of its service life.

その結果、書込み読出しされるデータ(情報)を確実に
保護できる。
As a result, data (information) written and read can be reliably protected.

また、各記録トラック毎にリード/ライト回数を計数し
、各カウント値(実施例においては75個)のうちの一
つのカウント値CNが限界回数に達した時点でフロッピ
ーディスク寿命を告知するようにしているので、たとえ
一部の記録トラックに対して集中的に貴込み読出しが実
行されたとしても、その部分のリード/ライト回数で寿
命が判断される。その結果、より確実にデータを保護で
きる。
In addition, the number of reads/writes is counted for each recording track, and the end of the floppy disk's life is announced when one count value CN of each count value (75 in the embodiment) reaches the limit number of times. Therefore, even if intensive reading is performed on a part of the recording track, the lifespan is determined by the number of reads/writes to that part. As a result, data can be protected more reliably.

また、磁気ベットの書込み読出し実行回数もカウントさ
れ、そのカウント値HCが使用許容回数CHll1ax
に達すると警告ランプ21Cが点灯するので、オペレー
タは警告ランプ21Cが点灯すると、次にフロッピーデ
ィスク18を取出した時点でヘッドクリーニングを実施
すればよい。したがって、常に最良の状態で磁気ベット
を動作させることが可能である。
In addition, the number of times the magnetic bet is written and read is also counted, and the count value HC is the allowable number of uses CHll1ax
When the warning lamp 21C is turned on, the warning lamp 21C lights up, so the operator only has to carry out head cleaning the next time the floppy disk 18 is removed. Therefore, it is possible to always operate the magnetic bet in the best condition.

また、この実施例においては、書込スイッチ22を操作
せずにフロッピーディスク18を取出し、た場合はエラ
ーとなり、警告ランプ21aが点灯しブザー23が鳴動
する。この場合、同一フロッピーディスク18を再挿入
すると、書込スイッチ22を操作した場合と同じになる
。すなわちエラー状態が解除され、RAM17の各デー
タがフロッピーディスク18に書込まれる。したがって
、より正確にリード/ライト回数が計数される。
Further, in this embodiment, if the floppy disk 18 is removed without operating the write switch 22, an error occurs, the warning lamp 21a lights up and the buzzer 23 sounds. In this case, reinserting the same floppy disk 18 is the same as operating the write switch 22. That is, the error state is canceled and each data in the RAM 17 is written to the floppy disk 18. Therefore, the number of reads/writes can be counted more accurately.

なお、本発明は上述した実施例に限定されるものではな
く、POSシステムのファイル制御部11以外にも他の
デー処理装置にも応用できる。
It should be noted that the present invention is not limited to the embodiments described above, and can be applied to other data processing devices besides the file control section 11 of a POS system.

[発明の効果] 以上説明したように本発明によれば、各記録トラック毎
にリード/ライト回数カウンタを設け、一つの記録トラ
ックにおいて限界回数に達した場合に70ツビーデイス
ク寿命を自動告知するようにしている。したがって、フ
ロッピーディスクに対して書込み読出しする重要な情報
を確実に保護できる。
[Effects of the Invention] As explained above, according to the present invention, a read/write number counter is provided for each recording track, and when the limit number of times in one recording track is reached, an automatic notification of the 70-bit disk life is made. I have to. Therefore, important information written to and read from the floppy disk can be reliably protected.

また、磁気ヘッドのクリーニング実施時期を適確に把握
できるので、磁気ヘッドを常に最良の状態に維持でき、
上述した重要な情報を保護する効果をさらに向上できる
In addition, since you can accurately determine when to clean the magnetic head, you can always maintain the magnetic head in the best condition.
The effect of protecting the above-mentioned important information can be further improved.

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

第1図は本発明を示す構成図、第2因乃至第5図は本発
明の一実施例のフロッピーディスクドライブ装置の制御
装置を示すものであり、第2図はこの実施例を適用した
POSシステム全体を示すブロック図、第3図は記憶部
(RAM)の主なメモリを示す図、第4図はフロッピー
ディスクにおける各メモリを示す図、第5図は動作を示
す流れ図である。 11・・・ファイル制御部、13・・・電子キャッシュ
レジスタ、14・・・CPU、17・・・RAM、18
・・・フロッピーディスク、19・・・フロッピーディ
スクドライブ装置、21a、21b、21c・・・警告
ランプ、22・・・書込スイッチ、23・・・ブザー、
R1・・・ヘッド使用カウンタ、R2・・・リード/ラ
イト回数カウンタ、R3,R10・・・エラーログメモ
リ、R5,R8・・・FDK識別番@領域、R9・・・
リード/ライト回数メモリ。 出願人代理人 弁理士 鈴圧式彦 第3図      第4図
Fig. 1 is a block diagram showing the present invention, Figs. 2 to 5 show a control device for a floppy disk drive device according to an embodiment of the present invention, and Fig. 2 shows a POS to which this embodiment is applied. FIG. 3 is a block diagram showing the entire system, FIG. 3 is a diagram showing the main memory of the storage section (RAM), FIG. 4 is a diagram showing each memory in the floppy disk, and FIG. 5 is a flowchart showing the operation. 11... File control unit, 13... Electronic cash register, 14... CPU, 17... RAM, 18
... Floppy disk, 19... Floppy disk drive device, 21a, 21b, 21c... Warning lamp, 22... Write switch, 23... Buzzer,
R1... Head use counter, R2... Read/write number counter, R3, R10... Error log memory, R5, R8... FDK identification number @ area, R9...
Read/write count memory. Applicant's agent Patent attorney Shikihiko Suzutsuta Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)回転駆動されるフロッピーディスクの半径方向に
移動制御される磁気ヘッドでもつて前記フロッピーディ
スクの各記録トラックに対して情報の書込み読出しを実
行するフロッピーディスクドライブ装置の制御装置にお
いて、前記フロッピーディスクの各記録トラック毎にこ
の記録トラックに対する情報の書込み読出し実行回数を
計数するリード/ライト回数カウンタと、前記フロッピ
ーディスクドライブ装置に対するフロッピーディスクの
取出操作前に実行される書込スイッチのスイッチ操作に
応動して前記リード/ライト回数カウンタのカウント値
を該当フロッピーディスクに書込むリード/ライト回数
保存手段と、フロッピーディスクのフロッピーディスク
ドライブ装置に対する挿入操作に応動してこのフロッピ
ーディスクに記憶されているリード/ライト回数を読出
し前記リード/ライト回数カウンタに初期値として設定
するリード/ライト回数セット手段と、リード/ライト
回数カウンタのカウント値が限界回数を計数するとフロ
ッピーディスク寿命を告知するフロッピーディスク寿命
告知手段とを備えたことを特徴とするフロッピーディス
クドライブ装置の制御装置。
(1) In a control device for a floppy disk drive device in which a magnetic head that is controlled to move in the radial direction of a rotationally driven floppy disk writes and reads information to and from each recording track of the floppy disk, the floppy disk a read/write counter that counts the number of times information is written to and read from each recording track for each recording track; and a read/write counter that counts the number of times information is written to and read from the recording track; read/write count storage means for writing the count value of the read/write count counter into the corresponding floppy disk; read/write number setting means for reading the number of writes and setting it as an initial value in the read/write number counter; and floppy disk life notification means for notifying the floppy disk life when the count value of the read/write number counter reaches a limit number of times. A control device for a floppy disk drive device, comprising:
(2)回転駆動されるフロッピーディスクの半径方向に
移動制御される磁気ヘッドでもつて前記フロッピーディ
スクの各記録トラックに対して情報の書込み読出しを実
行するフロッピーディスクドライブ装置の制御装置にお
いて、前記フロッピーディスクの各記録トラック毎にこ
の記録トラックに対する情報の書込み読出し実行回数を
計数するリード/ライト回数カウンタと、前記フロッピ
ーディスクドライブ装置に対するフロッピーディスクの
取出操作前に実行される書込スイッチのスイッチ操作に
応動して前記リード/ライト回数カウンタのカウント値
を該当フロッピーディスクに書込むリード/ライト回数
保存手段と、フロッピーディスクのフロッピーディスク
ドライブ装置に対する挿入操作に応動してこのフロッピ
ーディスクに記憶されているリード/ライト回数を読出
し前記リード/ライト回数カウンタに初期値として設定
するリード/ライト回数セット手段と、リード/ライト
回数カウンタのカウント値が限界回数を計数するとフロ
ッピーディスク寿命を告知するフロッピーディスク寿命
告知手段と、前記磁気ヘッドによる情報の書込み読出し
回数を計数するヘッド使用カウンタと、このヘッド使用
カウンタのカウント値が使用許容回数を計数すると磁気
ヘッドクリーニング指示を告知するヘッドクリーニング
告知手段とを備えたことを特徴とするフロッピーディス
クドライブ装置の制御装置。
(2) In a control device for a floppy disk drive device in which a magnetic head that is controlled to move in the radial direction of a rotationally driven floppy disk writes and reads information to and from each recording track of the floppy disk, the floppy disk a read/write counter that counts the number of times information is written to and read from each recording track for each recording track; and a read/write counter that counts the number of times information is written to and read from the recording track; read/write count storage means for writing the count value of the read/write count counter into the corresponding floppy disk; read/write number setting means for reading the number of writes and setting it as an initial value in the read/write number counter; and floppy disk life notification means for notifying the floppy disk life when the count value of the read/write number counter reaches a limit number of times. , comprising: a head usage counter that counts the number of times information is written and read by the magnetic head; and head cleaning notification means that notifies a magnetic head cleaning instruction when the count value of the head usage counter reaches the allowable number of uses. A control device for a floppy disk drive device.
JP31552486A 1986-12-26 1986-12-26 Controller for floppy disk drive device Pending JPS63166068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31552486A JPS63166068A (en) 1986-12-26 1986-12-26 Controller for floppy disk drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31552486A JPS63166068A (en) 1986-12-26 1986-12-26 Controller for floppy disk drive device

Publications (1)

Publication Number Publication Date
JPS63166068A true JPS63166068A (en) 1988-07-09

Family

ID=18066379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31552486A Pending JPS63166068A (en) 1986-12-26 1986-12-26 Controller for floppy disk drive device

Country Status (1)

Country Link
JP (1) JPS63166068A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02240862A (en) * 1989-03-15 1990-09-25 Nec Corp Magneto-optical disk device
EP0429079A2 (en) * 1989-11-22 1991-05-29 Mitsubishi Denki Kabushiki Kaisha Disk device with cleaning device, and cleaning method
EP0562994A2 (en) * 1992-03-25 1993-09-29 International Business Machines Corporation Method and apparatus for cleaning disks

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02240862A (en) * 1989-03-15 1990-09-25 Nec Corp Magneto-optical disk device
EP0429079A2 (en) * 1989-11-22 1991-05-29 Mitsubishi Denki Kabushiki Kaisha Disk device with cleaning device, and cleaning method
EP0562994A2 (en) * 1992-03-25 1993-09-29 International Business Machines Corporation Method and apparatus for cleaning disks
EP0562994A3 (en) * 1992-03-25 1994-07-27 Ibm Method and apparatus for cleaning disks

Similar Documents

Publication Publication Date Title
US4974238A (en) Counter arrangement for determining the life of consumables in office equipment
WO1992021100A1 (en) Bar code reader and game device using the same
JP2003178273A5 (en)
NL1030567C2 (en) System and method for writing data and a time value to an addressable unit of a removable storage medium.
WO1994003245A1 (en) Collection processor for repetitively usable recording medium
JPS63166068A (en) Controller for floppy disk drive device
JP2529868B2 (en) Recording method of information recording medium
JP2575362Y2 (en) Vending equipment
JP4267396B2 (en) Abnormality memory circuit
JP2556266B2 (en) Recording medium identification device
JP4326623B2 (en) Information storage card processing method and read / write processing apparatus thereof
JP2004178661A5 (en)
JP3027712B2 (en) Recording medium return control mechanism of automatic rental machine
JP2635373B2 (en) Vending machine control device
JP3012419U (en) Prepaid card read / write device with read error detection function
JPH0664655B2 (en) Electronic cash register
JPH08255472A (en) Medium controlling device for optical disk device
JPS61202297A (en) Pos system
JPS6274194A (en) Software selling machine
JPS6020354A (en) Retrieving device
JPH10293992A (en) Cartridge and library device using the same
JP3012424U (en) Prepaid card read / write device with decryption abnormality detection function
JPS62233897A (en) Electronic cash register
JPH096887A (en) Card reader writer and card system
JP2020137539A (en) Game medium management device