JPH0441430B2 - - Google Patents
Info
- Publication number
- JPH0441430B2 JPH0441430B2 JP16518984A JP16518984A JPH0441430B2 JP H0441430 B2 JPH0441430 B2 JP H0441430B2 JP 16518984 A JP16518984 A JP 16518984A JP 16518984 A JP16518984 A JP 16518984A JP H0441430 B2 JPH0441430 B2 JP H0441430B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- written
- updated
- magnetic tape
- reading
- 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
- 238000000034 method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006378 damage Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B27/032—Electronic editing of digitised analogue information signals, e.g. audio or video signals on tapes
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/12—Formatting, e.g. arrangement of data block or words on the record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、産業用ロボツトの教示データの更
新等に使用して好適な磁気テープのデータ更新方
法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for updating data on a magnetic tape suitable for use in updating teaching data of industrial robots.
産業用ロボツトの教示データは一般に、磁気デ
イスクや磁気テープなどに記録して保管するが、
ワークの変更があつたときや、教示データの誤り
が発見されたときなどは、これらのデータを更新
しなければならない。
The teaching data of industrial robots is generally recorded and stored on magnetic disks or magnetic tapes.
These data must be updated when the workpiece is changed or an error in the teaching data is discovered.
第2図は、カセツトテープ1にブロツク単位で
記録されたデータD1,D2,D3の内、データ
D2を更新する従来方法を説明するための概念図
である。 FIG. 2 is a conceptual diagram for explaining a conventional method for updating data D2 among data D1, D2, and D3 recorded in blocks on the cassette tape 1. As shown in FIG.
この場合、まず、データD2の先頭位置Aを確
認した後、時間t1秒戻して地点Bで一旦停止し、
書き込み信号をオンとしてデータの消去を開始す
る。そして、時間t1秒前進後、地点Cから更新デ
ーD2aを書き込むことによつてデータの更新を
行う。 In this case, first, after confirming the start position A of data D2, move back the time t by 1 second and stop at point B.
Turn on the write signal and start erasing data. Then, after advancing for a time t by 1 second, the data is updated by writing update data D2a from point C.
ところで、上述した従来の方法においては、次
のような問題があつた。
However, the conventional method described above has the following problems.
テープを後退させて再び前進させるという動
作を行うと、機械的制約から地点AとCとがず
れてしない、情報を数回書き替えると必要な
IBG(Inter Block Gap)が確保できなくなる。 If you move the tape backwards and then move it forward again, points A and C will not shift due to mechanical constraints, and if you rewrite the information several times, the necessary
IBG (Inter Block Gap) cannot be secured.
元のデータ(上の例ではD2)よりも更新デ
ータ(D2a)の方が長いときも、IBGが確保
できないケースが生じる。また場合によつて
は、次のデータ(D3)まで破壊してしまうお
それがある。 Even when the updated data (D2a) is longer than the original data (D 2 in the above example), a case may occur in which the IBG cannot be secured. In some cases, there is a possibility that even the next data (D3) may be destroyed.
本発明は、これらの問題点を解決しようとする
ものである。 The present invention seeks to solve these problems.
上記問題点を解決するために、この発明は、更
新データが発生したときには、更新される元のデ
ータと同一または関連する番号を付して磁気テー
プに順次(すなわち、現在書き込まれているデー
タの後に)書き込むとともに、データを読み出す
ときには、所望のデータと同一または関連する番
号のデータを最初から順に読み出し、これらのデ
ータの中で最新のもの(すなわち、最後に書き込
まれたもの)を有効とすることを特徴とする。
In order to solve the above-mentioned problems, the present invention provides that when update data is generated, it is assigned a number that is the same as or related to the original data to be updated, and is sequentially written to the magnetic tape (i.e., the data that is currently being written is (later), and when reading data, read the data with the same or related numbers as the desired data in order from the beginning, and make the latest among these data (i.e., the one written last) valid. It is characterized by
上記方法によれば、更新データは、磁気テープ
上の新たな記憶領域に順に書き込まれていくので
IBGやデータの破壊が生じない。また、データ長
や書き替え回数による制約がなくなり、自由な更
新が可能となる。
According to the above method, updated data is sequentially written to new storage areas on the magnetic tape.
No IBG or data destruction occurs. Additionally, there are no restrictions on data length or number of rewrites, allowing for free updates.
以下、図面を参照して本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施例を説明するための
概念図である。この図において、カセツトテープ
11にはデータd1〜d8がブロツク単位で書き込ま
れ、データd8の後方には、EOF(End of File)
マーク12が書き込まれている。そして、データ
d2,d4,d8はデータ番号No.1のデータで、データ
d8が最新のものであり、データd3,d5,d7はデー
タ番号No.2のデータで、データd7が最新であり、
データd1,d6はデータ番号No.3のデータで、デー
タd6が最新データとなつている。 FIG. 1 is a conceptual diagram for explaining one embodiment of the present invention. In this figure, data d 1 to d 8 are written in blocks on the cassette tape 11, and an EOF (End of File) is written after data d 8 .
Mark 12 is written on it. And data
d 2 , d 4 , d 8 are the data of data number No. 1, and the data
d 8 is the latest one, data d 3 , d 5 , d 7 are data number No. 2 data, data d 7 is the latest one,
Data d 1 and d 6 are data with data number No. 3, and data d 6 is the latest data.
また、符号13は主記憶装置上に設けられたカ
セツトテープデータ読出しエリアであり、カセツ
トテープ11から読み出されたデータdi(i=1,
2…)がこのエリア13に記憶される。この場
合、読み出されたデータdiは、エリア13に順次
上書きされるので、エリア13には最新のデータ
のみが残るようになつている。 Reference numeral 13 is a cassette tape data reading area provided on the main storage device, in which data di (i=1,
2...) are stored in this area 13. In this case, the read data di is sequentially overwritten in the area 13, so that only the latest data remains in the area 13.
このような構成において、最新のデータ(以
下、元データという)の書込み、更新データの書
込み、およびデータの読出しは次のように行われ
る。 In such a configuration, writing of the latest data (hereinafter referred to as original data), writing of updated data, and reading of data are performed as follows.
(1) 元データの書込み。(1) Writing original data.
各データにはデータ番号を付し、ブロツク単
位でカセツトテープ11に書き込む。 Each data is assigned a data number and written to the cassette tape 11 in blocks.
書込みデータの末尾にはEOFマーク12を
書き込む。 An EOF mark 12 is written at the end of the write data.
(2) 更新データの書込み。(2) Writing update data.
更新データが生じたときには、更新される元
データと同一の(または関連する)データ番号
を付す。 When updated data is generated, it is given the same (or related) data number as the original data to be updated.
次に、カセツトテープ11を前進させ、末尾
のEOFマーク12をサーチする。 Next, the cassette tape 11 is advanced and the EOF mark 12 at the end is searched for.
EOFマーク12がみつかつたら、これを消
去しながら更新データを上書きし、その後に新
たなEOFマーク12を書き込んでおく。こう
して元データはそのまま残り、更新データがカ
セツトテープ11の新たな領域に順次書き込ま
れていく。 When the EOF mark 12 is found, it is erased and overwritten with updated data, and then a new EOF mark 12 is written. In this way, the original data remains as is, and the updated data is sequentially written to new areas of the cassette tape 11.
(3) データの読出し。(3) Reading data.
一例として、第1図のデータ番号No.1のデータ
の読出しについて説明する。 As an example, reading of data with data number No. 1 in FIG. 1 will be described.
カセツトテープ11を巻き戻した後前進さ
せ、データ番号No.1のデータを見つける毎にエ
リア13に読み込む。この結果、エリア13に
はデータd2,d4,d8が順次上書きされ、EOFマ
ーク12まで読み終つたときには、データd8が
最新データとして残る。 After rewinding the cassette tape 11, it is moved forward, and each time data with data number No. 1 is found, it is read into the area 13. As a result, data d 2 , d 4 , and d 8 are sequentially overwritten in area 13, and when reading up to EOF mark 12 is finished, data d 8 remains as the latest data.
前記データd8を有効データとする。 The data d8 is assumed to be valid data.
こうして、所望のデータをエリア13に読み出
すことができる。 In this way, desired data can be read into the area 13.
なお、上記方法によれば、従来より長い読出し
時間と大きい記憶容量とを要するが、教示データ
の読出し頻度は非常に少なく(例えば1日に1
回)、更新頻度はさらに少ない上に、カセツトテ
ープの容量は極めて大きいので実用上差し支えな
い。 Although the above method requires a longer read time and a larger storage capacity than the conventional method, the frequency of reading the teaching data is very low (for example, once a day).
(times), the update frequency is even less, and the capacity of the cassette tape is extremely large, so there is no problem in practical use.
以上説明したように、この発明は、更新データ
が生じたときには磁気テープの新たな領域に順次
書き込むようにしたので、更新データのデータ長
や更新回数に制約されることなく、自由に更新を
行える利点が得られる。
As explained above, in this invention, when update data is generated, it is sequentially written to a new area of the magnetic tape, so updates can be freely performed without being restricted by the length of the update data or the number of updates. Benefits can be obtained.
第1図は、本発明の一実施例を説明するための
概念図、第2図は従来のデータ更新方法を説明す
るための概念図である。
1,11……カセツトテープ(磁気テープ)。
FIG. 1 is a conceptual diagram for explaining an embodiment of the present invention, and FIG. 2 is a conceptual diagram for explaining a conventional data updating method. 1, 11...Cassette tape (magnetic tape).
Claims (1)
ータの更新を行う磁気テープのデータ更新方法に
おいて、更新データが発生したときには、更新さ
れる元のデータと同一または関連する番号を付し
て前記磁気テープに順次書き込むとともに、デー
タを読み出すときには、所望のデータと同一また
は関連する番号を有するデータを順次読み出し、
これらのデータの中で最新のものを有効とするこ
とを特徴とする磁気テープのデータ更新方法。1. In a magnetic tape data update method that updates data written on a magnetic tape in blocks, when updated data is generated, it is written on the magnetic tape with a number that is the same as or related to the original data to be updated. While writing sequentially, when reading data, sequentially reading data having the same or related number as desired data,
A magnetic tape data update method characterized by validating the latest data among these data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16518984A JPS6142779A (en) | 1984-08-07 | 1984-08-07 | Data updating method of magnetic tape |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16518984A JPS6142779A (en) | 1984-08-07 | 1984-08-07 | Data updating method of magnetic tape |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6142779A JPS6142779A (en) | 1986-03-01 |
JPH0441430B2 true JPH0441430B2 (en) | 1992-07-08 |
Family
ID=15807526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16518984A Granted JPS6142779A (en) | 1984-08-07 | 1984-08-07 | Data updating method of magnetic tape |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6142779A (en) |
-
1984
- 1984-08-07 JP JP16518984A patent/JPS6142779A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6142779A (en) | 1986-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0452854B1 (en) | Method and apparatus for data recording | |
EP0482297B1 (en) | Method and apparatus for enabling fast access to a logical block on a tape medium | |
JPS63121179A (en) | Staging method | |
US7813248B2 (en) | Method and apparatus for protecting data when a recording process has failed | |
US7143232B2 (en) | Method, system, and program for maintaining a directory for data written to a storage medium | |
US7110211B2 (en) | Magnetic tape, magnetic tape cartridge, magnetic tape drive, and method for recording data on magnetic tape | |
US5048004A (en) | Optical recording medium recording and reproducing device | |
JPH0441430B2 (en) | ||
US7768733B2 (en) | Method for erasing data from magnetic tape storage media | |
JPS63104284A (en) | Disk file access system | |
JP2622418B2 (en) | Information recording / reproducing method | |
JP3399498B2 (en) | Storage medium generation method, user-defined data recording method, storage device controller, and storage device | |
JP2612589B2 (en) | Directory search method | |
JPS61137284A (en) | Sector control system of cassette type magnetic tape | |
JP2003123205A (en) | Device and method for recording information, and information recording medium | |
JPH02132516A (en) | System and method for write enable type optical disk controlling | |
JPS60212886A (en) | Magnetic disc recorder | |
JPH0626964Y2 (en) | Magnetic tape device | |
JPH05324208A (en) | Storage device | |
JPS63298869A (en) | Recording and reproducing device | |
JPH0212346A (en) | Data assurance system | |
JPH02281470A (en) | Recording system for information on management of magnetic tape | |
JPH0459649B2 (en) | ||
JPH04293116A (en) | Tape system storage device control method | |
JPH05334852A (en) | Method or device for recording data |