JPH01319104A - Magnetic tape control device - Google Patents
Magnetic tape control deviceInfo
- Publication number
- JPH01319104A JPH01319104A JP15263888A JP15263888A JPH01319104A JP H01319104 A JPH01319104 A JP H01319104A JP 15263888 A JP15263888 A JP 15263888A JP 15263888 A JP15263888 A JP 15263888A JP H01319104 A JPH01319104 A JP H01319104A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic tape
- data
- tape
- counter
- written
- 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
Links
- 240000007320 Pinus strobus Species 0.000 claims description 8
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 238000011084 recovery Methods 0.000 description 2
- 241000254032 Acrididae Species 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Digital Magnetic Recording (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、磁気テープ制御装置に関し、特に、媒体不良
の場合のりj−ライ制御に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to magnetic tape control devices, and more particularly to tape control in the case of media failure.
従来の技術
磁気テープ媒体にデータを記録する場合にはデータは6
ii気テープ上複数のブロックに分割されて記録される
。Conventional technology When recording data on a magnetic tape medium, the data is 6
The data is divided into multiple blocks and recorded on the tape.
このブロックとブロックとの間はギャップと呼ばれ、6
J&気的に消去されており何も書かれてはいない。The space between these blocks is called a gap, and 6
J& It has been erased and nothing is written on it.
磁気テープ制御装置がデータを書込んだり読込んだりす
る場合にはこのギャップを目印にテープの位置付けを行
っている。When the magnetic tape control device writes or reads data, the tape is positioned using this gap as a mark.
特に磁気テープ上にきす等がある場合には、データ書込
後l員ad after Vritoのチエツクでエラ
ーが11!、つかる、このとき、磁気テープ制御装置は
。Especially if there are scratches etc. on the magnetic tape, error 11! will be displayed when checking ``Ad after Vrito'' after writing data. At this time, the magnetic tape controller is used.
データを書込んだブロックのiM前のギャップまで磁気
テープを巻き戻して直前のギャップに位置付ける。さら
にこの位置よリーブロック分磁気テープのデータを消去
しこの後続けて先はどエラーで書込めなかったデータの
書込みを行う、このことにより磁気テープ上のきすの箇
所はデータが消去され、データの書込を行わないので正
常に書込みを行うことが出来る。The magnetic tape is rewound to the gap before iM of the block in which data has been written and positioned at the immediately previous gap. Furthermore, the data on the magnetic tape is erased from this position by the amount of the leak block, and the data that could not be written due to an error is subsequently written. As a result, the data is erased from the scratched part on the magnetic tape, and the data is Since no writing is performed, writing can be performed normally.
一方、磁気テープは薄いフィルムで作られているために
、磁気テープの運搬中等、巻きのゆるんだテープを磁気
テープ装置にマウントして起動した場合によく磁気テー
プの折れが生ずることがある。On the other hand, since magnetic tape is made of a thin film, folding of the magnetic tape often occurs when a loosely wound tape is mounted in a magnetic tape device and started up, such as during transport.
この折れは磁気テープ上のきすと異なり、このような磁
気テープを読込んだ場合にはこの箇所は磁気ヘッドに密
着しなくなるために、磁気ヘッドの出力から見るとこの
部分の出力が無くなりギャップと同様に見える。These folds are different from scratches on the magnetic tape, and when such a magnetic tape is read, this part does not come into close contact with the magnetic head, so when viewed from the output of the magnetic head, the output of this part disappears and it becomes a gap. Looks similar.
また、磁気テープ」:のきすと同様にデータ書込後のエ
ラーも発生するので、磁気テープ制御装置では、このと
きにも磁気テープ上のきずの時と同じ処理を行ってブロ
ックの直前のギャップまで巻戻しを実行し、ギャップに
位置付けを行う、しかしながら、この場合にはテープ折
れの部分がギャップと同様に出力の無い消去された部分
に見えるために1間違った位置に位置付けが行われてし
まう。In addition, similar to scratches on magnetic tape, errors occur after data is written, so the magnetic tape controller performs the same processing as when dealing with scratches on the magnetic tape. The tape is rewound until the end and positioned at the gap. However, in this case, the folded part of the tape appears to be an erased part with no output, just like the gap, so the positioning is done at one wrong position. .
従来このような場合には、磁気テープ媒体そのものが使
用不能となってしまっていた。Conventionally, in such cases, the magnetic tape medium itself became unusable.
発明が解決しようとする課題
上述した従来の磁気テープ制御装置では、磁気テープが
折れているような場合に磁気ヘッドからの出力を見る限
りデータ消去されたギャップ部分と区別を付けることが
不可能なために、このような詩所があるとテープの位置
付けが不可能となり。Problems to be Solved by the Invention In the conventional magnetic tape control device described above, when the magnetic tape is bent, it is impossible to distinguish it from the gap part where data has been erased by looking at the output from the magnetic head. Therefore, if there is a poem like this, it becomes impossible to position the tape.
その媒体そのものが使用出来なくなってしまう。The medium itself becomes unusable.
また、ギャップと誤認識してテープ折れの位置に位置付
けられてしまった場合には、この位置よりギャップの消
去を行った後にエラーになったデータの書込みが行われ
る。このために、テープ折れの前の部分が残り余分のブ
ロックが出来てしまう、このことは書込直後には分らな
いためにデータ付けとなり、書込後ベリファイを行わな
いような使用法では重大な障害となる。Furthermore, if the tape is mistakenly recognized as a gap and positioned at a tape fold, the error data is written after erasing the gap from this position. For this reason, the part before the tape bend remains and an extra block is created. This is not known immediately after writing, so it becomes data addition, and is a serious problem in usage where verification is not performed after writing. It becomes an obstacle.
本発明は従来の上記実情に鑑みてなされたちのであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な磁気テープ制御装置
を提供することにある。The present invention has been made in view of the above-mentioned conventional circumstances,
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a novel magnetic tape control device which makes it possible to eliminate the above-mentioned drawbacks inherent in the prior art.
課題を解決するための手段
」;記目的を達成する為に、本発明の磁気テープ制御装
置は、磁気テープ装置に対するデータ書込み及びデータ
読出しのためのストローブパルスをカウントするカウン
タと、データ書込みを磁気テープ装置に指示する毎にこ
のカウンタをリセットするりセット回路と、磁気テープ
装置と中央処理装置との間のデータ転送及びテープの位
置付等の制御を行うマイクロプロセッサと、このマイク
ロプロセッサの指示により前記カウンタのカウント方向
を加算又は減算に切換るための切換回路と、このカウン
タの値を前記マイクロプロセッサから読取るための読出
しバッファとを備えて構成される。Means for Solving the Problems In order to achieve the object described above, a magnetic tape control device of the present invention includes a counter that counts strobe pulses for writing data to and reading data from a magnetic tape device, and a magnetic tape control device for writing data to a magnetic tape device. A set circuit that resets this counter each time an instruction is given to the tape device, a microprocessor that controls data transfer between the magnetic tape device and the central processing unit, tape positioning, etc. The device includes a switching circuit for switching the counting direction of the counter to addition or subtraction, and a read buffer for reading the value of the counter from the microprocessor.
実施例
次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック構成図の一部
である。FIG. 1 is a part of a block diagram showing one embodiment of the present invention.
第1図を参照するに、磁気テープ装置11に対して入出
力されるデータよりVFOH路■5は書込みストローブ
及び読出しストローブを生成する。Referring to FIG. 1, the VFOH path 5 generates a write strobe and a read strobe from data input to and output from the magnetic tape device 11.
書込みストローブ及び読出しストローブはカウンタ12
に入力されてカウントされる。カウンタ12は、リセッ
ト回路13からのリセット信号でゼロにリセッj・され
、またマイクロプロセッサ14からの加算指示でブロッ
クの最初よりカウントアツプし。Write strobe and read strobe are counter 12
are entered and counted. The counter 12 is reset to zero by a reset signal from the reset circuit 13, and counts up from the beginning of the block by an addition instruction from the microprocessor 14.
さらにマイクロプロセッサ4からの減算指示でエラーリ
カバリー時カウントダウンする。Furthermore, a countdown is performed upon error recovery based on a subtraction instruction from the microprocessor 4.
第2図はテープ媒体にブロックが記録されている様子を
示しており、それぞれのブロックがギャップで分割され
て記録されている。また前述の折れはブロック中に図の
ように発生する。FIG. 2 shows how blocks are recorded on a tape medium, and each block is divided by a gap and recorded. Furthermore, the above-mentioned folds occur in the block as shown in the figure.
次にこの図を利用して本実施例の動作について説明する
。Next, the operation of this embodiment will be explained using this diagram.
通常、磁気テープにデータを書込む場合には。Usually when writing data to magnetic tape.
リセット回路13でリセットされた後viro回路15
からのストローブをカウンタ12がカウントアツプする
ようにマイクロプロセッサ4から指示を行う。After being reset by the reset circuit 13, the viro circuit 15
The microprocessor 4 instructs the counter 12 to count up the strobes from the microprocessor 4.
データを1ブロック書き終わったときに令書込んだデー
タに誤りが無かったかどうかのチエツクが行われる。こ
れは通常書込みヘッドの後に配置された読取りヘッドか
ら書込んだデータを読出すことにより行うことが出来る
。When one block of data has been written, a check is made to see if there are any errors in the written data. This can be done by reading the written data from a read head, which is usually placed after the write head.
ここでエラーが無い場合には次のブロックの書込みを行
うが、ここでエラーを検出した場合には、磁気テープを
逆方向に進めてパックリードを行い、直前のギャップに
位置付けを行う、このときカウンタ1zはVFO回路1
5よりのストローブでカウントダウンを行うようにマイ
クロプロセッサ14からの指示を行う。ここで位置付け
が正常に行われ直前のギャップに位置付けられたときに
は、このカウンタ12はゼロとなり、この位置付けが正
常に行われたことを示す。If there is no error here, the next block is written, but if an error is detected here, the magnetic tape is advanced in the opposite direction and a pack read is performed to position it at the previous gap. Counter 1z is VFO circuit 1
The microprocessor 14 instructs the microprocessor 14 to perform a countdown using the strobe 5. When the positioning is performed normally and the positioning is performed at the immediately preceding gap, this counter 12 becomes zero, indicating that the positioning is performed normally.
しかしながら、第2図のように磁気テープ上に祈れ□が
あり、バックリードを行ったとき誤認識により折れの箇
所に位置付けられてしまったときには、このカウンタl
″lはゼロ以外の値となっており、位置付けが正常に行
われていないことを示す、この場合には再度バッタリー
ドを行いカウンタの値をチエツクする。これでこの値が
ゼロとなったときには正常な位置に位置付けられたこと
になり、この位置からデータの消去を1ブロック分行い
。However, as shown in Figure 2, if there is a mark □ on the magnetic tape and it is misrecognized and positioned at the bend when backreading, this counter l
``l'' is a value other than zero, indicating that the positioning is not performed normally. In this case, perform a grasshopper read again and check the counter value. When this value becomes zero, Now that it is located at the normal position, erase one block of data from this position.
再度エラーのあったデータの書込みを行うことが出来る
。The data with the error can be written again.
発明の詳細
な説明したように、本発明によれば、磁気テープの書込
み及び巻戻しの際にキャプスタンに接続されたジェネレ
ータからのパルスをカウントアツプ又はカウントダウン
するカウンタを設け、巻戻した際にこの値をチエツクす
ることにより、正常な位置に磁気テープが位置付けられ
たことを確認することが出来る。これにより磁気テープ
折れのある磁気テープでも通常に使用することが出来る
ようになり、媒体の損失を減らすことが出来る効果が得
られる。DETAILED DESCRIPTION OF THE INVENTION According to the present invention, a counter is provided to count up or count down pulses from a generator connected to a capstan when writing and rewinding a magnetic tape, and when rewinding a magnetic tape, By checking this value, it can be confirmed that the magnetic tape is positioned at the correct position. As a result, even magnetic tapes with folds can be used normally, resulting in the effect of reducing media loss.
また、誤った位置に位置付けされたまま再書込みをする
ようなことが完全に無くなるために1間違ったデータを
書いたまま書込み動作を終了することも無くなり、書込
みの信頼度も大幅に向上させることが出来る。In addition, since rewriting is completely eliminated while the data is positioned at the wrong position, the writing operation no longer ends with one wrong data being written, which greatly improves the reliability of writing. I can do it.
【図面の簡単な説明】
第1図は本発明の一実施例を示すブロック構成図の1部
、第2は磁気テープ上にデータブロックが書込まれてい
る様子を示した図であり、特にテープ折れの場合のリカ
バリ時に位置付はミスが生じる場合を示している。
11、、、磁気テープ装置、 12.、、カウンタ、1
3.、。
リセット回路、14.、、マイクロプロセッサ回路。
15、、、VFOi路[BRIEF DESCRIPTION OF THE DRAWINGS] Figure 1 is a part of a block diagram showing an embodiment of the present invention, and Figure 2 is a diagram showing how data blocks are written on a magnetic tape. This shows a case in which a positioning error occurs during recovery in the case of tape bending. 11. Magnetic tape device 12. ,,counter,1
3. ,. Reset circuit, 14. ,,Microprocessor circuit. 15,,,VFOi road
Claims (1)
と中央処理装置との間のデータ転送及び磁気テープ装置
の制御を行う磁気テープ制御装置において、磁気テープ
装置に対するデータ書込み及びデータ読出しストローブ
をカウントするカウンタと、データ書込みを磁気テープ
装置に指示する毎にこのカウンタをリセットするリセッ
ト回路と、磁気テープ装置の制御を行うためのマイクロ
プロセッサと、このマイクロプロセッサの指示により前
記カウンタのカウントを加算カウント又は減算カウント
に切換えるための切換回路と、前記カウンタの値を前記
マイクロプロセッサから読取るための読出しバッファと
を持つことを特徴とする磁気テープ制御装置。In a magnetic tape control device that transfers data between the magnetic tape device and the central processing unit and controls the magnetic tape device, counts data write and data read strobes to the magnetic tape device. a reset circuit that resets the counter each time the magnetic tape device is instructed to write data; a microprocessor that controls the magnetic tape device; Alternatively, a magnetic tape control device comprising a switching circuit for switching to subtractive counting, and a read buffer for reading the value of the counter from the microprocessor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15263888A JPH01319104A (en) | 1988-06-21 | 1988-06-21 | Magnetic tape control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15263888A JPH01319104A (en) | 1988-06-21 | 1988-06-21 | Magnetic tape control device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01319104A true JPH01319104A (en) | 1989-12-25 |
Family
ID=15544775
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15263888A Pending JPH01319104A (en) | 1988-06-21 | 1988-06-21 | Magnetic tape control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01319104A (en) |
-
1988
- 1988-06-21 JP JP15263888A patent/JPH01319104A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0584504B1 (en) | Tape format detection system | |
| US4821129A (en) | Tape positioning using reverse boundary capture: tape drive system and method | |
| JPS585461B2 (en) | magnetic tape recording device | |
| JPH01319104A (en) | Magnetic tape control device | |
| JPH01319103A (en) | Magnetic tape control device | |
| JPS58109954A (en) | Magnetic disc controller | |
| US7167332B2 (en) | Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position | |
| JPH0624049B2 (en) | Tape edge detection method | |
| JP2715669B2 (en) | Cartridge type magnetic tape processing device | |
| JPS5847057B2 (en) | magnetic disk controller | |
| JP2565529Y2 (en) | Magnetic tape unit | |
| JPS5951044B2 (en) | Magnetic tape control method | |
| JP2629887B2 (en) | Magnetic disk processing unit | |
| JP3237344B2 (en) | Magnetic recording / reproducing device | |
| JPH04102274A (en) | Control method for magnetic storage devices | |
| JPS5939305Y2 (en) | information recording device | |
| JPH0626964Y2 (en) | Magnetic tape device | |
| JPS6284405A (en) | Cartridge magnetic tape device | |
| JPS63195869A (en) | Magnetic tape control device | |
| JPH01282709A (en) | Magnetic tape device | |
| JPS645364B2 (en) | ||
| JPS63195876A (en) | Magnetic tape control device | |
| JPH06325436A (en) | Data storage method on magnetic tape | |
| JPS623608U (en) | ||
| JPH02198051A (en) | Magnetic tape device |