Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5913109B2 - Data storage method - Google Patents
[go: Go Back, main page]

JPS5913109B2 - Data storage method - Google Patents

Data storage method

Info

Publication number
JPS5913109B2
JPS5913109B2 JP55120783A JP12078380A JPS5913109B2 JP S5913109 B2 JPS5913109 B2 JP S5913109B2 JP 55120783 A JP55120783 A JP 55120783A JP 12078380 A JP12078380 A JP 12078380A JP S5913109 B2 JPS5913109 B2 JP S5913109B2
Authority
JP
Japan
Prior art keywords
data
memory
byte
control
block
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
Application number
JP55120783A
Other languages
Japanese (ja)
Other versions
JPS5745658A (en
Inventor
量一郎 野沢
信之 木谷
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.)
FUANATSUKU KK
Original Assignee
FUANATSUKU KK
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 FUANATSUKU KK filed Critical FUANATSUKU KK
Priority to JP55120783A priority Critical patent/JPS5913109B2/en
Priority to KR1019810003243A priority patent/KR880000208B1/en
Priority to PCT/JP1981/000208 priority patent/WO1982000916A1/en
Priority to EP19810902449 priority patent/EP0058726A4/en
Publication of JPS5745658A publication Critical patent/JPS5745658A/en
Publication of JPS5913109B2 publication Critical patent/JPS5913109B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C19/00Digital stores in which the information is moved stepwise, e.g. shift registers
    • G11C19/02Digital stores in which the information is moved stepwise, e.g. shift registers using magnetic elements
    • G11C19/08Digital stores in which the information is moved stepwise, e.g. shift registers using magnetic elements using thin films in plane structure
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/14Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using thin-film elements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C15/00Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
    • G11C15/02Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using magnetic elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Numerical Control (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 本発明はデータ記憶方式に係り、荷に数値制御10装置
と、カセットメモリと、該数値制御装置とカセットメモ
リ間に設けられカセツトメモリヘのデータの書込o及び
カセットメモリからのデータの読出を制御するメモリ制
御装置とを有する数値制御システムにおける前記カセツ
トメモリヘのデー15夕記憶方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data storage system, which includes a numerical control device in a load, a cassette memory, and a data storage system provided between the numerical control device and the cassette memory for writing data to the cassette memory and storing the data in the cassette. The present invention relates to a method for storing data in the cassette memory in a numerical control system having a memory control device that controls reading of data from the memory.

パートプログラム記憶用メモリを内蔵する数値制御装置
においては、従来該内蔵メモリヘのパートプログラムの
書込み及び該内蔵メモリに記憶されている情報の保存の
ために記憶媒体として紙テ20−プを使用し、数値制御
装置に接続された紙テープリーダ及び紙テープパンチに
よつて紙テープから内蔵メモリヘ及び内蔵メモリから紙
テープヘのデータの転送を行つていた。
Conventionally, in a numerical control device having a built-in memory for storing a part program, paper tape 20 is used as a storage medium for writing the part program into the built-in memory and for storing information stored in the built-in memory. Data was transferred from the paper tape to the built-in memory and from the built-in memory to the paper tape using a paper tape reader and a paper tape punch connected to a numerical control device.

このように紙テープを記憶媒体として使用したフ5 シ
ステムは、紙テープの寿命、工作機械制御の悪環境での
信頼性、取扱いの容易さ、紙テープリーダ及びパンチの
価格等の点で必らずしも満足できるものではなかつた。
In this way, the F5 system using paper tape as a storage medium does not necessarily have advantages in terms of the lifespan of the paper tape, the reliability of machine tool control in adverse environments, ease of handling, and the price of the paper tape reader and punch. It wasn't satisfying.

ところで、最近紙テープに代る記憶媒体として30バブ
ルカセットメモリ、半導体カセットメモリ等が使用可能
となり、これらカセットメモリを記憶媒体とする数値制
御システムが提案され、実用化されてきている。
Recently, 30-bubble cassette memories, semiconductor cassette memories, and the like have become available as storage media in place of paper tapes, and numerical control systems using these cassette memories as storage media have been proposed and put into practical use.

しかしながら、カセットメモリを記憶媒体とす35る従
来のシステムにおいには、任意の加エvャ鴻Oラムの先頭
ブロックの検索及び読出し制御、加工プログラムの削除
制御等融通性のある制御が簡単に行なえず、又メモリの
有効利用を図ることがでさなかつた。
However, in conventional systems that use cassette memory as a storage medium, flexible controls such as search and read control of the first block of the ram and control of deletion of machining programs are easily performed. In addition, it was not possible to use the memory effectively.

従つて、本発明は任意の加工プログラムの検索、読出し
等が容易な新規なデータ記憶方式を提供することを目的
とし、この目的は本発明において、数値制御装置から力
セツトメモリに送出されてくるl人力単位のデータ(た
とえば1つの加工プログラムデータ)をlフアイルとし
、該フアイルを所定数のバイトからなる複数のプロツク
に分割し、且つ各プロツクの先頭に制御バイトを挿入し
て前記力セツトメモリに記臆せしめると共に、該匍脚バ
イトに、該制御バイトが属するプロツクがフアイルの先
頭プロツクであるか、フアイルの途中プロツクであるか
、フアイルの最終プロツクであるか等を示す情報を書込
むことにより達成される。
Therefore, an object of the present invention is to provide a new data storage method that allows easy searching and reading of arbitrary machining programs. The data for one unit of human power (for example, one machining program data) is set as one file, and the file is divided into a plurality of programs each consisting of a predetermined number of bytes, and a control byte is inserted at the beginning of each program to store the data in the force set memory. At the same time, write information indicating whether the control byte belongs to the first proc of the file, the middle proc of the file, the last proc of the file, etc., to the perpendicular byte. This is achieved by

以下、本発明の実施例を図面に従つて詳細に説明する。
第1図はタイシャー・マイナ一・ループ構成の磁気バブ
ルメモリの情報読出動作を説明する説明図である。
Embodiments of the present invention will be described in detail below with reference to the drawings.
FIG. 1 is an explanatory diagram illustrating an information read operation of a magnetic bubble memory having a Teisher-minor-loop configuration.

第1図において、Ml,m2,m3・・・・・・MNは
総計N個のマイナ一・ループであり、それぞれのマイナ
一・ループは2・Mビツトのバブルドメイン転送トラツ
クにより閉ループが構成されており、たとえばTバーパ
ターンの連続したループである。
In Fig. 1, Ml, m2, m3, . For example, it is a continuous loop of a T-bar pattern.

BGはバブル発生器、BEはバブル吸収器、MLRは読
取専用タイシャー・ライン、MLWは書き込み専用タイ
シャー・ラインである。各マイナーループMl,m2・
・・・・・MNの一端はタイシャー・ラインMLR,M
LWとそれぞれ接しており、トランスフアTFRからの
トランスフア指令により、丁度そのとき読取専用タイシ
ャー・ラインMLRに接する位置にあつたマイナールー
プMl,m2・・・・・・MN中のバブルドメイン(図
中の黒丸)が該読取専用タイシャー・ラインMLR中に
転送される。又、トランスフアTFWからのトランスフ
ア指令により、書き込み専用タイシャー・ラインMLW
に書込まれているバブルドメイン(図中黒丸)が該タイ
シャー・ラインMLWに接する位置においてマイナ一・
ループml・M2゛゜゛゜゜゛MN中に転送される。次
に読出処理について説明する。Nビツトからなる1アク
セス単位の記憶情報の読出に際して、まず、N本のマイ
ナ一・ループM,,m2・・・・・・MN中のバブルド
メインが並列的にトフランスフア指令により読取専用タ
イシャー・ラインMLRにより転送される。
BG is a bubble generator, BE is a bubble absorber, MLR is a read-only tie-sher line, and MLW is a write-only tie-sher line. Each minor loop Ml, m2・
...One end of MN is Teisher Line MLR,M
The minor loops Ml, m2, which were in contact with the read-only Teisher line MLR at that time, were in contact with the read-only Teisher line MLR by the transfer command from the transfer TFR, respectively. (black circle inside) is transferred into the read-only Taisher line MLR. Also, according to the transfer command from the transfer TFW, the write-only Taisher line MLW
The bubble domain (black circle in the figure) written in
It is transferred during the loop ml・M2゛゜゛゜゜゛MN. Next, read processing will be explained. When reading stored information in one access unit consisting of N bits, first, the bubble domains in N minor loops M,, m2...MN are read-only Teisher lines by a transfer command in parallel. Transferred by MLR.

尚、第1図の磁気バブルメモリにおいて、lアクセス単
位の記憶情報とは、各マイナ一・ループMi(1=1.
2,・・・・・・N)に記憶されている2・Mビツトの
情報をb(1,1),b(1,2)・・・・・・b(1
,2M−1),b(1,2M)とすれば{b(1,j)
,b(2,j)・・・・・・b(N,j)}但し、j=
1,2・・・・・・2Mより成るNビツトの情報をいう
In the magnetic bubble memory shown in FIG. 1, the storage information in units of l access means each minor one loop Mi (1=1.
2,...N) is stored in b(1,1), b(1,2)...b(1
, 2M-1), b (1, 2M) then {b (1, j)
,b(2,j)...b(N,j)}However, j=
It refers to N-bit information consisting of 1, 2...2M.

ついで、読取専用タイシャー・ラインMLRに転送され
たバブルドメインは該タイシャー・ラインMLR中を順
次1ビツトづつシフトし、直列的に出力される。
The bubble domain transferred to the read-only tie-sher line MLR is then sequentially shifted one bit at a time in the tie-sher line MLR and output serially.

従つて、読取専用タイシャー・ラインMLRの出口に例
えば磁気抵抗効果形のバブル検出器BDを設けておけば
、該検出器BDによりバブルの有無が検出されて読出が
行われる。尚、この読出しにおいては、マイナ一・ルー
プMl,m2,・・・・・・MN中の1アクセス単位の
バブルドメインが消失する破壊読出しと、消失しない非
破壊読出しとがあるが、通常の読出しに際しては非破壊
読出しが行われるっ以上から、読取専用メジヤーライン
MLRより記憶情報が読出され、又、書き込み専用メジ
ヤーラインMLWよりデータが書き込まれる。
Therefore, if a magnetoresistive bubble detector BD, for example, is provided at the exit of the read-only Taisher line MLR, the presence or absence of bubbles is detected by the detector BD and read out. In addition, in this reading, there are destructive reading in which the bubble domain of one access unit in the MN disappears, and non-destructive reading in which the bubble domain does not disappear. In this case, since non-destructive reading is performed, stored information is read from the read-only major line MLR, and data is written from the write-only major line MLW.

そして、バブルドメインは各マイナ一・ループMi中を
矢印方向にシフトし、所定の1アクセス単位の情報が読
取専用タイシャー・ラインMLRに或いは書き込み専用
メジヤ一・ラインMLRに到達したときに読出され、或
いは書き込まれる。このため、磁気バブルメモリからデ
ータを読出すに際しては、該データをMLRと接触する
位置に頭出しをしなくてはならず、又書込みに際しては
MLWに接触するよう頭出ししなくてはならない。
Then, the bubble domain is shifted in the direction of the arrow in each minor loop Mi, and is read when the information of one predetermined access unit reaches the read-only tie line MLR or the write-only major line MLR, Or written. Therefore, when reading data from the magnetic bubble memory, it is necessary to cue the data to a position where it contacts the MLR, and when writing data, it is necessary to cue the data so that it makes contact with the MLW.

第2図は本発明に係るデータ記憶方式を実現するための
メモリ制御装置のプロツク図、第3図はデータの構成を
説明する説明図である。
FIG. 2 is a block diagram of a memory control device for realizing the data storage system according to the present invention, and FIG. 3 is an explanatory diagram illustrating the data structure.

第2図において、11は数値制御装置、12はたとえば
磁気バブルメモリからなる力セツトメモリ、13はメモ
リ制御装置で、力セツトメモリ12へデータを書込み及
び該力セツトメモリからデータを読出し、数値制御装置
11と力セツトメモリ12間のデータ転送を制御する。
In FIG. 2, 11 is a numerical control device, 12 is a force set memory made of, for example, a magnetic bubble memory, and 13 is a memory control device, which writes data to the force set memory 12 and reads data from the force set memory, and performs numerical control. Controls data transfer between device 11 and force set memory 12.

14はバツフアメモリである。14 is a buffer memory.

数値制御装置11から連続して出力された一連のl入出
力単位(1フアイルという)の加工データ、たとえば加
工プログラムを一時的に記憶する。尚、1フアイルの加
工データは第3図においてMDi(1=I,2・・・・
・・)として示すようスタートバイトと多数の加工プロ
グラムバイトとエンドバイトにより構成されている。1
7は容量(l−1)のバイトカウンタであり、数値制御
装置11から送られてくる加工データを1バイト毎にカ
ウントアツプすると共に、その内容が零でないとき信号
米ZR(=゛ビ)を出力する。
A series of l input/output units (referred to as one file) of machining data, such as a machining program, continuously output from the numerical control device 11 is temporarily stored. In addition, the processing data of one file is MDi (1=I, 2...
As shown in ), it consists of a start byte, a number of machining program bytes, and an end byte. 1
7 is a byte counter with a capacity (l-1), which counts up the processed data sent from the numerical control device 11 for each byte, and also outputs a signal ZR (=゛bi) when the content is not zero. Output.

18はバイトカウンタ17から発生するオーバフローパ
ルス0VF1を計数するカウンタであり、米ZR=゛O
゛のときはその計数値Nが後述するlフアイルのプロツ
ク数を示し、米ZR=″F′のときには(N+1)が1
フアイルのプロツク数を示す。
18 is a counter that counts overflow pulses 0VF1 generated from the byte counter 17, and ZR=゛O
When , the count value N indicates the number of procs in the file l, which will be described later, and when ZR=''F', (N+1) is 1.
Indicates the number of procs in the file.

19は制御バイト発生回路であり、1フアイルの加工デ
ータ01を(l−1)バイトづつの多数のプロツクに分
割したとき、各プロツクの先頭に1バイトの制御バイト
CB(第3図)を挿入して、力セツトメモリ12に記臆
する。
19 is a control byte generation circuit, which inserts a 1-byte control byte CB (Fig. 3) at the beginning of each block when one file of processed data 01 is divided into a large number of blocks of (l-1) bytes each. Then, it is recorded in the force set memory 12.

尚、この制御バイトCBは第3図に示すようにb1〜B
8の8ビツトにより構成されている。そして、lフアイ
ルのうち先頭プロツクBHの制御バイト(第8ビツトB
8)にばl”が記憶され、最終プロツクBEO匍脚バイ
ト(第5ビツトB5にばl゛が記憶され、又中間プロツ
クBl(7)11b1脚バイト(第7ビツトB7)にば
1゛が記憶される。又、力セツトメモリ12には多数の
フアイルFi(11,2,・・・・・・)が記憶される
が、最終フアイルFn以降にはデータエンドプロツクD
EBが書込まれ、該データエンドプロツクの制御バイト
CBの第1ビツトb1に゛ビが書込まれる。即ち、ある
プロツクが1フアイルの先頭プロツクであれば制御バイ
トの8ビツトB8に゛ビが、lフアイルの最終プロツク
であれば第5ビツトB5に6ビが、1フアイルの中間プ
ロツクであれば第7ビツトB7(ヒビが、又データエン
ドプロツクであれば第1ビツトb1に8ビがそれぞれ書
込まれて力セツトメモリ12に記憶される。20はデコ
ーダであり、バツフアメモリ14から読出されたデータ
がスタートデータSTARTであればデータスタート信
号ST(=゛ビ)を発生し、エンドデータENDであれ
ばデータエンド信号ノED(=゛l゛リを発生し、又ス
タートデータ及びエンドデータ以外のとごには加工デー
タ信号MDS(=1ビ)を出力する。
Note that this control byte CB is b1 to B as shown in FIG.
It is composed of 8 bits. Then, the control byte (8th bit B) of the first block BH of the l file is
8) "B1" is stored in the final block BEO leg bite (5th bit B5), and "1" is stored in the intermediate block B1 (7) 11b 1 leg bite (7th bit B7). In addition, a large number of files Fi (11, 2, ...) are stored in the force set memory 12, but after the last file Fn, there is a data end program D.
EB is written, and EB is written to the first bit b1 of the control byte CB of the data end block. That is, if a certain program is the first block of one file, the 8th bit B8 of the control byte has a bit, if it is the last block of one file, the fifth bit B5 has 6bits, and if it is the middle block of one file, the 6th bit is written. 7 bit B7 (If there is a crack or a data end block, 8 bits are written to the first bit B1 and stored in the power set memory 12. 20 is a decoder, and the data read from the buffer memory 14 is If it is the start data START, it will generate the data start signal ST (=゛bi), if it is the end data END, it will generate the data end signal ED (=゛l), and if it is the end data END, it will generate the data end signal ST (=゛bi). At each time, a processed data signal MDS (=1 bit) is output.

21は1バイトのレジスタ、22,23はアンドゲート
、24は合成回路で加工データと制御データを合成して
出力する。
21 is a 1-byte register, 22 and 23 are AND gates, and 24 is a synthesis circuit that synthesizes processed data and control data and outputs the result.

25は容量!のバイトカウンタで、合成回路24から1
バイトデータが出力される毎に+1カウントアツプする
25 is the capacity! 1 from the synthesis circuit 24 with the byte counter of
The count increases by 1 each time byte data is output.

26はバイトカウンタ25から発生するオーバフローパ
ルス0VF2を計数し1フアイルのプロツク数を指示す
るカウンタ、27は容量lのバイトカウンタであり、力
セツトメモI川12から読出されたデータを1バイト毎
に計数し、その内容が非零のとき6F゛を出力する。
26 is a counter that counts overflow pulses 0VF2 generated from the byte counter 25 and indicates the number of blocks for one file. 27 is a byte counter with a capacity of 1, which counts the data read from the force set memo I river 12 for each byte. However, when the content is non-zero, 6F is output.

28は比較回路である。28 is a comparison circuit.

次に本発明の作用を説明する。Next, the operation of the present invention will be explained.

尚、1フアイルの総プロツク数を(N+1)とし、信号
米ZR一゛1″であるとする。まず、1フアイルの加工
データMDlを数値制御装置11から力セツトメモリ1
2へ記憶せしめる場合について説明する。
It is assumed that the total number of processes for one file is (N+1) and that the signal line ZR1 is 1.
The case where the data is stored in 2 will be explained.

さて、線Lllから加工データMDlが1バイトづつ順
次出力されると、該加工データは書込制御回路15の制
御によりバツフアメモI川4に記憶される。
Now, when the processed data MDl is sequentially output one byte at a time from the line Lll, the processed data is stored in the buffer memory I river 4 under the control of the write control circuit 15.

これと併行して、1バイトの加工データ((スタートデ
ータ、エンドデータは除く)が線Lllに出力される毎
にバイトカウンタ17は1カウントアツプし、(l−1
)バイトの加工データの発生によりオーバフローパルス
0VF1を出力する。又、カウンタ18はこのオーバフ
ローパルス0VF1を計数し、1フアイルのプロツク数
を指示する。即ち、エンドバイトが発生した時点におけ
るバイトカウンタ17の内容が零(米ZR二゛0゛)の
ときにはカウンタ18の計数値Nが1フアイルの総プロ
ツク数となり、米ZR−6ビのときには(N+1)がl
フアイルの総プロツク数となる。lフアイルの全加工デ
ータがバツフアメモリ14に記憶され\ば以後読取制御
回路16の制御により加工データが順次1バイトづつバ
ツフアレジスタ14から読出されレジスタ21に記憶さ
れ、同時にデコーダ20に入力される。さて、最初のデ
ータはスタートデータSTARTであるからデコーダ2
0はデータスタート信号ST(=゛ビ)を出力するが加
工データ信号MDSlデータエンド信号EDは601に
なつている。このためアンドゲート22は閉じ、スター
トデータは合成回路24に出力されない。一方、データ
スタート信号STが”1゜゛であることにより、制御バ
イト発生回路19は第8ビツトに″F゛が昏込まれてな
る制御データを発生し、合成回路24、線L2lを介し
て力セツトメモl川2に入力し、該力セツトメモリに書
込む。さて、スタートデータSTART以降のデータは
加工データであるから以降デコーダ20はエンドデータ
ENDが出力される迄加工データ信号MDS(−”ビ)
を出力する。この結果(l−1)バイトの加工データが
アンドゲート22、合成回路24、線L2,を介して力
セツトメモリ12に記憶される(先頭プロツクBHの書
込み)。ところで、合成回路24から1バイトのデータ
が出力される毎にバイトカウンタ25は1カウントアツ
プしている。
In parallel with this, the byte counter 17 increments by 1 each time one byte of processed data (excluding start data and end data) is output to line Lll, and (l-1
) Outputs overflow pulse 0VF1 upon generation of cutting data. Further, the counter 18 counts this overflow pulse 0VF1 and indicates the number of blocks for one file. That is, when the content of the byte counter 17 at the time when the end byte occurs is zero (US ZR20'), the count value N of the counter 18 is the total number of blocks for one file, and when the end byte is US ZR-6 bit, it is (N+1). ) is l
This is the total number of processes in the file. All the processed data of the file is stored in the buffer memory 14. Thereafter, the processed data is sequentially read one byte at a time from the buffer register 14 under the control of the read control circuit 16, stored in the register 21, and simultaneously input to the decoder 20. Now, since the first data is the start data START, the decoder 2
0 outputs the data start signal ST (=゛bi), but the processed data signal MDS1 and data end signal ED are 601. Therefore, the AND gate 22 is closed and the start data is not output to the synthesis circuit 24. On the other hand, since the data start signal ST is "1", the control byte generation circuit 19 generates control data in which "F" is embedded in the 8th bit, and outputs the control data via the synthesis circuit 24 and the line L2l. Enter the set memory 1 and write it into the set memory. Now, since the data after the start data START is processed data, from then on the decoder 20 outputs the processed data signal MDS (-"B) until the end data END is output.
Output. As a result, (1-1) bytes of processed data are stored in the force set memory 12 via the AND gate 22, the synthesis circuit 24, and the line L2 (writing of the first block BH). Incidentally, each time one byte of data is output from the synthesis circuit 24, the byte counter 25 counts up by one.

このため、1バイトの制御データと(l−1)バイトの
加工データとが合成回路24から出力されると、換言す
ればlバイト(1プロツク)のデータが合成回路24か
ら出力されるとバイトカウンタ25からオーバフローパ
ルス0VF2が発生する。これにより、カウンタ26は
lカウントアツプすると共に、読出し制御回路16はバ
ツフアメモ1月4からのデータの読出しを一時的に停止
する。一方、オーバフローパルス0VF2の発生により
制御バイト発生回路19は第7ビツトB7に“ビが書込
まれてなる制御データを出力し合成回路24、線L2l
を介して力セツトメモリ12に書込む。ついで、読出し
制御回路16は再び(l−1)バイトの加工データをバ
ツフアメモリ14から読出しアンドゲート22、合成回
路24、線L2lを介して力セツトメモリ12に記憶す
る(第2プロツクの書込み)。以後、同様に(l−1)
バイトの加工データ毎に第7ビツトに6ビが書込まれて
なる制御データが挿入されて刀セツトメモリ12に書込
まれてゆく。そして、lフアイルの最終プロツクBEの
直前のプロツクが力セツトメモリ12に書込まれた時点
においてカウンタ26の計数値はNとなる。
Therefore, when 1 byte of control data and (1-1) bytes of processed data are output from the synthesis circuit 24, in other words, when 1 byte (1 block) of data is output from the synthesis circuit 24, the An overflow pulse 0VF2 is generated from the counter 25. As a result, the counter 26 counts up by l, and the read control circuit 16 temporarily stops reading data from the buffer memo January 4. On the other hand, due to the generation of the overflow pulse 0VF2, the control byte generation circuit 19 outputs control data in which "B" is written in the seventh bit B7, and the synthesis circuit 24 outputs control data on the line L2l.
It is written into the force set memory 12 via the power set memory 12. Then, the read control circuit 16 again reads (l-1) bytes of processed data from the buffer memory 14 and stores it in the force set memory 12 via the AND gate 22, the synthesis circuit 24, and the line L2l (writing of the second block). Thereafter, similarly (l-1)
Control data consisting of 6 bits written in the 7th bit for each byte of processed data is inserted and written into the sword set memory 12. Then, the count value of the counter 26 becomes N at the time when the block immediately before the final block BE of the file I is written into the force set memory 12.

尚、総プロツク数を(N+1)、バイトカウンタ17の
内容が非零(米ZR=6ビ)であるとしているから、カ
ウンタ18の計数値もNとなつている。従つて、最終プ
ロツクBEの直前のプロツクが力セツトメモリ12に書
込まれた時点においてはカウンタ18と26の内容は共
にNとなり比較回路より一致信号LBL(=6ビ)が出
力される。これにより、制御バイト発生回路19は第5
ビツトB,に“1”を書込んでなる制御データを発生し
、合成回路24、線L2lを介して力セツトメモリ12
に記憶する。ついで、最終プロツクBEの加工データが
アンドゲート22、合成回路24、線L2lを介して力
セツトメモリ12に記憶される。そして、エンドデータ
ENDがバツフアメモリク14から読出されるとデコー
ダ20はエンドデータ信号ED(=゛1る)を出力する
。このエンドデータ信号EDの発生によりアンドゲート
22が閉じると共に、制御バイト発生回路19は第1ビ
ツトBliCピを書込んでなる1バイトの制御デ一〔夕
を発生し、力セツトメモリ12に記憶する(データエン
ドプロツクDEBの書込み)。以上により、1フアイル
の加工データがプロツク毎に分割され、しかも各プロツ
クの先頭に1バイトの制御データが挿入されてカセツト
メモリ712に記憶される。
It is assumed that the total number of blocks is (N+1) and the content of the byte counter 17 is non-zero (US ZR=6 bits), so the count value of the counter 18 is also N. Therefore, at the time when the program immediately before the final program BE is written into the force set memory 12, the contents of the counters 18 and 26 both become N, and the comparison circuit outputs a match signal LBL (=6 bits). As a result, the control byte generation circuit 19
Control data is generated by writing "1" to bit B, and is sent to the force set memory 12 via the synthesis circuit 24 and the line L2l.
to be memorized. Then, the processed data of the final process BE is stored in the force set memory 12 via the AND gate 22, the synthesis circuit 24, and the line L2l. Then, when the end data END is read from the buffer memory 14, the decoder 20 outputs the end data signal ED (=1). The generation of the end data signal ED closes the AND gate 22, and the control byte generation circuit 19 generates a 1-byte control data by writing the first bit BliC pin, and stores it in the force set memory 12. (Write data end block DEB). As described above, one file of processed data is divided into blocks, and one byte of control data is inserted at the beginning of each block and stored in the cassette memory 712.

又、最新のフアイルのあとにはデータエンドプロツクD
EBが書込まれる。尚、力セツトメモリ12に次のフア
イルを書込む場合にはデータエンドプロツクが記憶され
ている位置から該次のフアイルが記憶され、そのあとに
データエンドプロツクが記憶される。次に力セツトメモ
リ12からlフアイルの加工データを読出して数値制呻
装置へ送出する場合について説明する。
Also, after the latest file is the data end block D.
EB is written. When writing the next file to the force set memory 12, the next file is stored from the position where the data end block is stored, and then the data end block is stored. Next, a case will be described in which the processed data of file I is read out from the force set memory 12 and sent to the numerical control device.

初期時容量lのバイトカウンタ27の内容は零にクリア
されているからアンドゲート23は閉じている。
Since the contents of the byte counter 27 with initial capacity l have been cleared to zero, the AND gate 23 is closed.

さて、1フアイルの加工データは力セツトメモl川2か
ら線L22を介して1バイトの制御データ、(2−1)
バイトの加工データ、1バイトの制両データ、(l−1
)バイトの加工データ・・・・・・の順序で読出される
Now, 1 file of processing data is 1 byte of control data from force set memory 1 river 2 via line L22, (2-1)
Byte processing data, 1 byte control data, (l-1
) Processed data of bytes are read out in the order of...

従つて、制御データの読出し時においてはバイトカウン
タ27の内容は零になつているからアンドゲート23は
閉じており、制御データは数値制御装置11に出力され
ない。一方、(l−1)バイトの加工データの読出し時
においてはバイトカウンタ27の内容は1〜(2−1)
になつているからアンドゲート23は開らいており、該
加工データは数値制御装置11に出力される。以上をま
とめると、力セツトメモリ12から読出されたデ−タは
制御データを除去されて数値制(財)装置に送られる。
尚、以上はデータの読出しに際してlフアイルを構成す
る全データ(制御データを含む)を読出すものとして説
明したが、図示しないトランスフア(TFR)に指令を
与え、制(財)データの読出しを行なわないようにする
こともできる。そして、この場合にはバイトカウンタ2
7、アンドゲート23を除去することができる。以上、
本発明によれば力セツトメモリに1入出力単位(1フア
イル)の加工データを複数のプロツクに分割し、各プロ
ツクの先頭に制御バイトを挿人し、各制両バイトに先頭
プロツへ最終プロツク、中間プロツクを区別する情報を
書込んだから、所望フアイルの頭出し(検索)を簡単に
行なうことができる。
Therefore, when reading the control data, the contents of the byte counter 27 are zero, so the AND gate 23 is closed and the control data is not output to the numerical control device 11. On the other hand, when reading (l-1) bytes of processed data, the contents of the byte counter 27 are 1 to (2-1).
, the AND gate 23 is open, and the processed data is output to the numerical control device 11. To summarize the above, the data read from the force set memory 12 is sent to the numerical system with control data removed.
Although the above explanation assumes that all data (including control data) constituting the file is read when reading data, it is also possible to give a command to a transfer (TFR) (not shown) and read control data. You can also choose not to do it. In this case, byte counter 2
7. AND gate 23 can be removed. that's all,
According to the present invention, one input/output unit (one file) of processing data is divided into a plurality of blocks in the force set memory, a control byte is inserted at the beginning of each block, and each control byte is transferred from the first block to the final block. Since the information that distinguishes intermediate programs is written, it is possible to easily locate (search) a desired file.

たとえば第1番目のフアイルということを数値制御装置
から指示するだけで、先頭プロツクを頭から数えその数
がlになつたことにより所望の第1フアイルの頭出しを
行なうことができる。そして、数値制御装置へのデータ
の転送に際しては自動的に制(財)データが除去される
から、該数値制御装置は力セツトメモリに入出力すると
いうことを何等意識することなく通常の入出力装置と同
様にデータの入出力ができる。
For example, by simply instructing the first file from the numerical control device, the first file can be located as desired by counting the first block from the beginning and reaching l. Since the control data is automatically removed when data is transferred to the numerical control device, the numerical control device can perform normal input/output without being aware of the input/output to the force set memory. Data can be input and output in the same way as devices.

又、各プロツク毎にlバイトの制両データを付加したか
ら、該制両バイトに所定の制凪情報を入力しておくこと
により前述のフアイルの頭出しをはじめ、種々の極めて
細かい制御を行なうことができる。
In addition, since 1 byte of control data is added to each program, by inputting predetermined control information into the control byte, various extremely detailed controls such as the above-mentioned file cue can be performed. be able to.

更に、最終フアイルの後にデータエンドプロツクを付加
したから、新フアイルを書込む際、該データエンドプロ
ツクを検索することにより新フアイルの書込み位置を簡
単にみつけることができ、しかもフアイルとフアイルの
間に空白をおくことなく連続的に記憶できるからメモリ
の有効利用が図れる。
Furthermore, since a data end block is added after the last file, when writing a new file, you can easily find the writing position of the new file by searching for the data end block. Memory can be used effectively because data can be stored consecutively without any blank space in between.

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

第1図はタイシャー・マイナ一・ループ構成の磁気バブ
ルメモリの情報読出し動作を説明する説明図、第2図は
本発明に係るデータ記障方式を実現するためのメモリ制
御装置のプロツク図、第3図は本発明に係るデータ記憶
方式を説明する説明図である。 11・・・・・・数値制御装置、12・・・・・・力セ
ツトメモリ、13・・・・・・メモリ制御装置、14・
・・・・・バツフアメモ1八17,25,27・・・・
・・バイトカウンタ、18,26・・・・・・カウンタ
、19・・・・・・制(財)バイト発生回路、20・・
・・・・デコーダ、24・・・・・・合成回路、28・
・・・・・比較回路。
FIG. 1 is an explanatory diagram illustrating the information read operation of a magnetic bubble memory having a Taisher-minor-loop configuration, FIG. 2 is a block diagram of a memory control device for realizing the data write system according to the present invention, and FIG. FIG. 3 is an explanatory diagram illustrating a data storage method according to the present invention. 11... Numerical control device, 12... Force set memory, 13... Memory control device, 14.
...Batsufuamemo 18 17, 25, 27...
...Byte counter, 18, 26... Counter, 19... System byte generation circuit, 20...
... Decoder, 24 ... Synthesis circuit, 28.
...Comparison circuit.

Claims (1)

【特許請求の範囲】 1 数値制御装置と、カセットメモリと、該数値制御装
置とカセットメモリ間に設けられ、カセツトメモリへの
数値制御データの書込み及びカセットメモリからの数値
制御データの読出しを制御するメモリ制御装置とを備え
たデータ記憶方式において、前記メモリ制御装置は、前
記数値制御装置からカセットメモリに記憶させる数値制
御データを所定数のバイトからなる複数のブロックに分
割し、且つ各ブロックの先頭に制御バイトを挿入する手
段を有するとともに、カセットメモリに記憶された数値
制御データを読み出して数値制御装置に転送する際各ブ
ロックの先頭に挿入された制御バイトを除去する手段を
有することを特徴とするデータ記憶方式。 2 前記制御バイトに、該制御バイトが属するブロック
が所定の長さの数値制御データの先頭ブロックであるが
、その途中ブロックであるか、その最終ブロックである
かを示す制御情報を書込んで前記カセットメモリに記憶
させることを特徴とする特許請求の範囲第1項記載のデ
ータ記憶方式。 3 前記カセットメモリは磁気バブルメモリからなるこ
とを特徴とする特許請求の範囲第1項記載のデータ記憶
方式。
[Scope of Claims] 1. A numerical control device, a cassette memory, and a device provided between the numerical control device and the cassette memory to control writing of numerical control data to the cassette memory and reading of numerical control data from the cassette memory. In the data storage method comprising a memory control device, the memory control device divides the numerical control data to be stored in the cassette memory from the numerical control device into a plurality of blocks each consisting of a predetermined number of bytes, and It is characterized by having means for inserting a control byte into the block, and means for removing the control byte inserted at the beginning of each block when reading the numerical control data stored in the cassette memory and transferring it to the numerical control device. data storage method. 2 Write control information in the control byte indicating whether the block to which the control byte belongs is the first block of numerical control data of a predetermined length, an intermediate block, or the last block, and 2. The data storage system according to claim 1, wherein the data is stored in a cassette memory. 3. The data storage system according to claim 1, wherein the cassette memory is a magnetic bubble memory.
JP55120783A 1980-09-01 1980-09-01 Data storage method Expired JPS5913109B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP55120783A JPS5913109B2 (en) 1980-09-01 1980-09-01 Data storage method
KR1019810003243A KR880000208B1 (en) 1980-09-01 1981-09-01 Method and device for controlling bubble cassette memory
PCT/JP1981/000208 WO1982000916A1 (en) 1980-09-01 1981-09-01 Bubble-cassette memory control method and device
EP19810902449 EP0058726A4 (en) 1980-09-01 1981-09-01 Bubble-cassette memory control method and device.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55120783A JPS5913109B2 (en) 1980-09-01 1980-09-01 Data storage method

Publications (2)

Publication Number Publication Date
JPS5745658A JPS5745658A (en) 1982-03-15
JPS5913109B2 true JPS5913109B2 (en) 1984-03-27

Family

ID=14794885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55120783A Expired JPS5913109B2 (en) 1980-09-01 1980-09-01 Data storage method

Country Status (2)

Country Link
JP (1) JPS5913109B2 (en)
KR (1) KR880000208B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182608U (en) * 1986-05-09 1987-11-19

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6252609A (en) * 1985-09-02 1987-03-07 Fanuc Ltd Numerical control method
JPS62260204A (en) * 1986-05-07 1987-11-12 Fanuc Ltd Numerical control system
JP2995710B2 (en) * 1993-09-19 1999-12-27 難波プレス工業株式会社 Comfortable cushion structure
JP3620241B2 (en) * 1997-10-15 2005-02-16 ソニー株式会社 File management apparatus, file management method, recording medium, and file management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182608U (en) * 1986-05-09 1987-11-19

Also Published As

Publication number Publication date
KR830008248A (en) 1983-11-16
KR880000208B1 (en) 1988-03-12
JPS5745658A (en) 1982-03-15

Similar Documents

Publication Publication Date Title
US5193154A (en) Buffered peripheral system and method for backing up and retrieving data to and from backup memory device
US4298932A (en) Serial storage subsystem for a data processor
JPS6035373A (en) Data compression and restoration system
GB2024470A (en) Arrangement for detecting faulty sectors and for allocating replacement sectors in a disc memory
CA1113573A (en) Data transfer technique for use with peripheral storage devices
JPH06250906A (en) Backup/recovery system for data developed in main storage device
CA1065477A (en) Computer to tape deck interface
JPS5913109B2 (en) Data storage method
US3311891A (en) Recirculating memory device with gated inputs
EP0049113B1 (en) File deletion method for bubble cassette memory, and bubble cassette memory control apparatus
GB1060762A (en) Digital data handling
US3243774A (en) Digital data werror detection and correction apparatus
JP3117244B2 (en) EEPROM control device
JPS5927034B2 (en) File cue device in bubble cassette memory
KR880000421B1 (en) Method and apparatus for controlling data write and read in cassette memory
EP0058726A1 (en) Bubble-cassette memory control method and device
US3413448A (en) Information handling apparatus
SU832579A1 (en) Information recording device
JP3009168B2 (en) Data processing device
JPS6153797B2 (en)
JPS61115126A (en) Magnetic disk device
JPS629434A (en) Relating memory
JPS6047626B2 (en) Data buffer control method
JPS6017129B2 (en) File writing method in bubble cassette memory
JPS598188A (en) Address search system of magnetic bubble memory