JPH0320773B2 - - Google Patents

Info

Publication number
JPH0320773B2
JPH0320773B2 JP62225263A JP22526387A JPH0320773B2 JP H0320773 B2 JPH0320773 B2 JP H0320773B2 JP 62225263 A JP62225263 A JP 62225263A JP 22526387 A JP22526387 A JP 22526387A JP H0320773 B2 JPH0320773 B2 JP H0320773B2
Authority
JP
Japan
Prior art keywords
block
written
steps
blocks
output signal
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 - Lifetime
Application number
JP62225263A
Other languages
Japanese (ja)
Other versions
JPS63153623A (en
Inventor
Takashi Furukawa
Kazuyoshi Teramoto
Takeshi Hashimoto
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62225263A priority Critical patent/JPS63153623A/en
Publication of JPS63153623A publication Critical patent/JPS63153623A/en
Publication of JPH0320773B2 publication Critical patent/JPH0320773B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は記憶手段として磁気バブルメモリで代
表されるような、アクセスタイムの遅い記憶素子
を用いた記憶装置及び記憶装置のアクセス方法に
関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a storage device using a storage element with slow access time, such as a magnetic bubble memory as a storage means, and a method of accessing the storage device. .

〔発明の背景〕[Background of the invention]

磁気バブル記憶素子は大容量、低価格であり、
しかも電源が遮断されても記憶内容が変らない。
そのため事務機械や産業機械の制御を行うのに用
いる記憶素子として磁気バブルメモリを使うこと
が検討されている。しかし、磁気バブルメモリは
上記のような特徴を有しているにもかかわらず期
待されたほどは使用されていない。その最大の原
因はアクセスタイムがコア記憶素子や半導体記憶
素子等の100μsであるのに対して磁気バブル記憶
素子の場合は数10msと非常に遅いためである。
Magnetic bubble memory elements have large capacity and low cost.
Moreover, even if the power is cut off, the memory contents do not change.
Therefore, the use of magnetic bubble memory as a memory element for controlling office machines and industrial machines is being considered. However, although magnetic bubble memory has the above-mentioned characteristics, it has not been used as much as expected. The biggest reason for this is that the access time is 100 μs for core memory elements, semiconductor memory elements, etc., whereas the access time for magnetic bubble memory elements is extremely slow, at several tens of milliseconds.

それゆえ高機能ロボツトや高機能工作機械のよ
うに記憶素子から高い頻度でアクセスを行わなけ
ればならないものには不向きとされており、また
高機能ロボツトや高機能工作機械のようなもので
なければ大きな記憶容量が要求される利用分野は
限られてしまうからである。
Therefore, it is not suitable for devices such as high-performance robots and high-performance machine tools that require frequent access from memory elements; This is because the fields of use that require large storage capacity are limited.

特に、このようなアクセスタイムの遅い記憶素
子を高機能ロボツトや高機能工作機械に動作指示
するプログラムのステツプ記憶に用いた場合に
は、次のような問題が生じる。すなわち、アクセ
スタイムの遅い記憶素子に記憶されている多数の
ステツプの中から特定のステツプを見つけ出し
て、その内容を読み出したり、修正したり、削除
する等の処理を行う場合、目的のステツプを検知
するのに多大の時間がかかり、その結果アクセス
タイムがさらに遅くなり、このことが磁気バブル
記憶素子のようなアクセスタイムの遅い記憶素子
の利用の大きな妨げになつているのである。
In particular, when such a memory element with a slow access time is used to store steps of a program that instructs a high-performance robot or a high-performance machine tool to operate, the following problems occur. In other words, when finding a specific step from among a large number of steps stored in a memory element with slow access time and performing processing such as reading, modifying, or deleting its contents, it is necessary to detect the target step. This takes a considerable amount of time, resulting in even slower access times, which is a major impediment to the use of memory devices with slow access times, such as magnetic bubble memory devices.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、記憶素子として磁気バブル記
憶素子で代表されるようなアクセスタイムの遅い
ものを使用するにもかかわらず、見つけ出したい
デターが記憶素子内のどのブロツク内にあるかを
早く見つけることができる記憶装置およびアクセ
ス方法を提供することにある。
An object of the present invention is to quickly find out in which block within a memory element the data to be found is located, even though a memory element with slow access time, such as a magnetic bubble memory element, is used. The objective is to provide a storage device and an access method that allow for

本発明の他の目的は、読み出し指定をした読み
出したいデータを磁気バブル記憶素子で代表され
るようなアクセスタイムの遅い記憶素子から早く
読み出すことができる記憶装置及びアクセス方法
を提供することにある。
Another object of the present invention is to provide a storage device and an access method that can quickly read out data that is designated to be read from a storage element that has a slow access time, such as a magnetic bubble storage element.

本発明の更に他の目的は、磁気バブル記憶素子
で代表されるようなアクセスタイムの遅い記憶素
子内のデータの編集を容易に行うことができる記
憶装置を構成することにある。
Still another object of the present invention is to construct a storage device that can easily edit data in a storage element with slow access time, such as a magnetic bubble storage element.

本発明の更に他の目的及びこれに伴う効果は、
以下の説明から当業者が容易に理解できるであろ
う。
Still other objects and associated effects of the present invention are:
Those skilled in the art will easily understand from the following description.

〔発明の概要〕[Summary of the invention]

本発明では、例えばプログラムを構成している
複数のステツプを記憶する第1記憶手段は、磁気
バブル記憶素子で代表されるようにアクセスタイ
ムは遅いが、他の面で安価であるとか、大容量の
ものが容易に入手できるとか、停電が起きても停
電前の記憶状態を保持するとかのなんらかの特長
点を有しているものを使用する。
In the present invention, for example, the first storage means for storing a plurality of steps constituting a program has a slow access time, as typified by a magnetic bubble storage element, but is inexpensive in other respects, and has a large capacity. Use something that has some kind of advantage, such as being easily available or retaining the memory state before the power outage even if a power outage occurs.

この第1記憶手段は記憶エリアを複数のブロツ
クに分けて使用する。また夫々のブロツクは、そ
の記憶エリアを必要に応じて複数に分けて使用す
る。このブロツクで分けられた夫々をページと呼
ぶ。それゆえ1ブロツクは1ページの場合もあ
る。複数のブロツクは同一のページ数で構成さ
れ、また夫々のページのバイト(byte)数も同一
に構成されている。夫々のブロツクには固有の番
地表示部が設けられる。
This first storage means uses a storage area divided into a plurality of blocks. Furthermore, each block uses its storage area divided into multiple sections as necessary. Each of these blocks is called a page. Therefore, one block may be one page. A plurality of blocks have the same number of pages, and each page has the same number of bytes. Each block is provided with a unique address indicator.

第1記憶手段よりもアクセスタイムが早い記憶
素子で構成した第2記憶手段を設ける。この第2
記憶手段を構成する記憶素子としては半導体記憶
素子やコア記憶素子に代表されるようなアクセス
タイムが早く、しかも記憶内容の書き替えが可能
なランダムアクセスメモリ(以下単にこれを
RAMと呼ぶ)を用いる。
A second storage means is provided which is composed of a storage element having a faster access time than the first storage means. This second
Random access memory (hereinafter simply referred to as "random access memory"), which has a fast access time and is capable of rewriting memory contents, is used as a memory element that constitutes the memory means, such as a semiconductor memory element or a core memory element.
(referred to as RAM).

この第2記憶手段にはブロツクの夫々に対応す
る単位チエーンが設けてありこの夫々の単位チエ
ーンには夫々のブロツク内に書き込んであるステ
ツプの数を表わすステツプ情報書き込み部と、次
のブロツクへの接続を示すポインタ情報書き込み
部と、夫々の番地表示部と対応する番地を記憶し
た番地記憶部とが設けてある。夫々のブロツクへ
書き込んであるステツプの数が全部同じである場
合にはステツプ情報書き込み部は無くても良い。
This second storage means is provided with a unit chain corresponding to each block, and each unit chain includes a step information writing part representing the number of steps written in each block, and a step information writing part representing the number of steps written in each block. A pointer information writing section indicating a connection and an address storage section storing addresses corresponding to the respective address display sections are provided. If the number of steps written in each block is the same, the step information writing section may be omitted.

この第2記憶手段は本質的には上記のように
夫々のブロツクに対応する単位チエーンを設けれ
ば良いので記憶容量は第1記憶手段の記憶容量に
比べて、はるかに小さくて良い。従つて第2記憶
手段を設けても、それぼど値段が上がらない。
Since the second storage means essentially needs to be provided with a unit chain corresponding to each block as described above, its storage capacity may be much smaller than that of the first storage means. Therefore, even if the second storage means is provided, the price will not increase at all.

検出したいステツプの先頭ステツプからの順番
を示す信号を発生するステツプ指定手段を設け
る。このステツプ指定手段は、動作教示を行う場
合の多くは手動で出力が指示され、自動動作を行
う場合にはすでに動作教示してあるプログラムの
ステツプ順に自動的に出力される。ここで、動作
教示とは、高機能ロボツトや高機能工作機械等に
動作を教えることを言い、具体的には上記第1記
憶手段にプログラムを書き込んだり、書き込まれ
たプログラム中の特定のステツプを修正・削除す
る等の処理を言う。
Step specifying means is provided for generating a signal indicating the order of steps to be detected starting from the first step. This step designation means is often manually instructed to output when an operation is taught, and when an automatic operation is performed, it is automatically output in the order of the steps of the program that have already been taught the operation. Here, motion teaching refers to teaching a high-performance robot, high-performance machine tool, etc., a motion, and specifically, it involves writing a program into the first storage means or executing a specific step in a written program. Refers to processing such as modification or deletion.

このステツプ指定手段は、夫々のブロツクが同
一のステツプ数で構成されている場合には、ポイ
ンタの指示に依つて読み出されるブロツクの先頭
ブロツクからの順番を表わす信号を発生するよう
にすることも可能である。従つてこのときはステ
ツプ指定手段はブロツク順番指定手段と読み替え
ることができる。ポインタ情報書き込み部に書き
込んであるポインタ情報に従つて計数したステツ
プ数を計数する計数手段を設ける。ステツプ指定
手段がポインタの指示に依つて読み出されるブロ
ツクの順番を表わす信号を出力しているときに
は、計数手段はポインタの指示に依つて読み出さ
れるブロツク数を計数するようにする。
If each block is composed of the same number of steps, this step designation means can also generate a signal indicating the order from the first block of the blocks read according to the pointer instruction. It is. Therefore, in this case, the step designation means can be read as block order designation means. A counting means is provided for counting the number of steps counted according to the pointer information written in the pointer information writing section. When the step specifying means outputs a signal representing the order of blocks to be read according to the instructions of the pointer, the counting means counts the number of blocks to be read according to the instructions of the pointer.

ステツプ指定手段の出力と計数手段の出力とを
比較し、計数手段の出力の示すステツプ数がステ
ツプ指定手段の出力の示すステツプ順番よりも大
きいか又は等しい状態になつたことを検出する状
態検出手段を設ける。この状態検出手段としては
比較器やアツプダウンカウンタ等を用いることが
可能である。アツプダウンカウンタを用いた場合
にはステツプ指定手段、計数手段の出力を必要に
応じパルス列に変換し一方をアツプカウント入力
端子に他方をダウンカウンタ入力端子に入力する
ようにすれば良い。
State detection means for comparing the output of the step designating means and the output of the counting means and detecting that the number of steps indicated by the output of the counting means is greater than or equal to the step order indicated by the output of the step specifying means. will be established. As this state detection means, a comparator, an up/down counter, etc. can be used. When an up-down counter is used, the outputs of the step specifying means and the counting means may be converted into a pulse train as required, and one inputted into the up-count input terminal and the other inputted into the down-counter input terminal.

状態検出手段が、計数手段の出力の示すステツ
プ数がステツプ指定手段の出力の示すステツプ順
番よりも大きいか又は等しい状態を検出したと
き、そのブロツク内に書き込んであるステツプを
読み出す読出手段を設ける。この読出手段は通常
は自動動作を行つている場合に動作するように構
成されるが、動作教示中に該当するブロツク内の
記憶内容を読み出したいことがあるから、このよ
うなときも動作するようにしておく。
When the state detecting means detects a state in which the number of steps indicated by the output of the counting means is greater than or equal to the step order indicated by the output of the step specifying means, a reading means is provided for reading out the steps written in the block. This reading means is normally configured to operate when an automatic operation is being performed, but since there may be times when it is desired to read out the memory contents in the corresponding block during operation teaching, it is designed to operate at such times as well. Keep it.

状態検出手段が、計数手段の出力の示すステツ
プ数がステツプ指定手段の出力の示すステツプ順
番よりも大きいか又は等しい状態を検出したと
き、その対応する単位チエーン内に書き込んであ
るポインタ情報を書き替える書替手段を必要に応
じ設ける。。この書替手段は動作教示中に作動さ
せるのが良い。
When the state detecting means detects a state in which the number of steps indicated by the output of the counting means is greater than or equal to the step order indicated by the output of the step specifying means, the pointer information written in the corresponding unit chain is rewritten. Provide rewriting means as necessary. . It is preferable to operate this rewriting means during motion teaching.

〔発明の実施例〕[Embodiments of the invention]

第1図に於いて1は第1記憶手段であり磁気バ
ブル記憶素子で構成してある。この第1記憶手段
1は第2図に模型化して示すように複数のページ
100,101……,1nmに分けてあり更にこれをmペ
ージづつまとめてブロツク10,11,……1n
として用いる。夫々のブロツクには固有の番地a
10〜a1nがついており、また、夫々のページ
にも夫々のブロツク内で区別し得るように番地表
示部に番地ado〜admがついている。夫々のペー
ジは少なくとも1バイト(byte)で構成してあ
る。2は第2記憶手段であり、これはLIiメモリ
と呼ばれる半導体記憶素子で構成してある。この
第2記憶手段は第2図にやはり模型化して示すよ
うに第1記憶手段1の夫々のブロツクa10,a
11…a1nに対応する単位チエーン20,21
…2nが設けてあり、夫々の単位チエーンの中に
はこの単位チエーンに対応する第1記憶手段1内
のブロツク番地を記憶する番地記憶部a20,a
21……a2nと該当するブロツクに書き込んだ
ステツプの数を表わす情報を記憶するステツプ数
情報記憶部s20,s21,…s2nと、ブロツ
クa10,a11,…a11nのうちの、次につ
ながるブロツクを示すポインタ情報書き込み部p
20,p21…p2nとが設けてある。
In FIG. 1, numeral 1 denotes a first storage means, which is composed of a magnetic bubble storage element. This first storage means 1 has a plurality of pages as shown schematically in FIG.
It is divided into 100, 101..., 1nm, and these are further grouped into m pages each to form blocks 10, 11,... 1n.
used as Each block has a unique address a
10 to a1n, and each page also has addresses ado to adm in the address display section so that it can be distinguished within each block. Each page consists of at least one byte. 2 is a second storage means, which is composed of a semiconductor storage element called LIi memory. As shown in FIG.
11... Unit chains 20, 21 corresponding to a1n
. . 2n are provided, and each unit chain has an address storage section a20, a for storing the block address in the first storage means 1 corresponding to this unit chain.
21...A2n, a step number information storage section s20, s21, ... s2n that stores information representing the number of steps written in the corresponding block, and a next connected block among blocks a10, a11, ... a11n. Pointer information writing section p
20, p21...p2n are provided.

3はステツプ指定手段であり、記憶位置を検出
したいステツプ番号を表わす信号を発生するもの
である。ここで、ステツプ番号とは、プログラム
構成している一連のステツプに対して先頭から順
に付加された番号をいう。このステツプ指定手段
3は、この記憶装置に依つて制御される図示しい
自動機械に動作教示を示す場合にはデイジタルス
イツチ群31を操作することによつて信号が出力
され、自動動作モードの場合にはあらかじめ定め
られたステツプ番号順に自動的に信号が出力され
るようになつている。
Reference numeral 3 denotes a step specifying means, which generates a signal representing a step number whose storage position is to be detected. Here, the step number refers to a number sequentially added to a series of steps constituting a program from the beginning. This step specifying means 3 outputs a signal by operating a group of digital switches 31 when instructing an automatic machine (not shown) to operate, which is controlled by this storage device, and when in automatic operation mode. The signals are automatically output in the order of predetermined step numbers.

4はマイクロコンピユータであり、これは計数
手段50、状態検出手段60及び読出手段70の
3つの働きを有している。計数手段50は第2図
に示したポインタ情報書き込み部p20,p21
…p2nに書き込んであるポインタ情報に従つて
計数した前記ステツプの合計を計数するように構
成してある。また、状態検出手段60は計数手段
50の出力が状態検出手段60の出力より大きく
なるか、あるいは等しくなつたときに信号を出す
ようになつている。そしてそのとき単位チエーン
部が番地記憶部a20〜a2nに持つている対応
ブロツク内の番地をCRTデイスプレイ装置97
に表示するようになつている。また読出手段は状
態検出手段60が信号を出しており、且つ選択手
段80からの信号がアクセスモードを指定してい
るときには、ブロツク10,11…1nのうちの
該当するステツプが書き込まれているブロツク内
の情報を読み出すように構成してある。
4 is a microcomputer, which has three functions: counting means 50, state detection means 60, and reading means 70. The counting means 50 includes pointer information writing sections p20 and p21 shown in FIG.
... It is configured to count the total of the steps counted according to the pointer information written in p2n. Further, the state detecting means 60 is adapted to output a signal when the output of the counting means 50 becomes greater than or equal to the output of the state detecting means 60. At that time, the CRT display device 97 stores the addresses in the corresponding blocks that the unit chain section has in the address storage sections a20 to a2n.
It is now displayed in Further, when the state detecting means 60 outputs a signal and the signal from the selecting means 80 specifies the access mode, the reading means reads the block in which the corresponding step among the blocks 10, 11, . . . 1n is written. It is configured to read out the information inside.

選択手段80は自動動作モードのときは多くの
場合アクセスモードを指示し動作教示モードの場
合は必要に応じアクセスモードを指示する。90
は書き替え手段であり、計数手段の出力の示すス
テツプ数がステツプ指定手段の出力の示すステツ
プ番号よりも大きいか又は等しい状態が状態検出
手段によつて検出されたとき、その対応する単位
チエーン内に書き込んであるポインタ情報を、デ
イジタルスイツチ群91を操作することによつて
書き替えるようになつている。
The selection means 80 instructs the access mode in most cases in the automatic operation mode, and instructs the access mode as necessary in the operation teaching mode. 90
is a rewriting means, and when a state in which the number of steps indicated by the output of the counting means is greater than or equal to the step number indicated by the output of the step specifying means is detected by the state detection means, the number of steps in the corresponding unit chain is The pointer information written in can be rewritten by operating the digital switch group 91.

95はプログラム番号指定手段であり動作教示
中はデイジタルスイツチ群96で、また自動動作
中はあらかじめ記憶されている情報に基づいて自
動的に信号が出力される。97は必要な表示を行
うCRTデイスプレイである。これ等第1記憶手
段1、第2記憶手段2、ステツプ指定手段3、マ
イクロコンピユータ4、選択手段8、書替手段9
0及びCRTデイスプレイ97はシステムバス9
8に接続され、データバスコントローラ99に依
つて信号の流れが制御されるようになつている。
Numeral 95 is program number designating means, and during operation teaching, a digital switch group 96 outputs a signal, and during automatic operation, a signal is automatically output based on previously stored information. 97 is a CRT display that displays necessary information. These are the first storage means 1, the second storage means 2, the step designation means 3, the microcomputer 4, the selection means 8, and the rewriting means 9.
0 and CRT display 97 are system bus 9
8, and the flow of signals is controlled by a data bus controller 99.

次に以上のように構成したものの動作について
第3図を参照しながら説明する。。
Next, the operation of the apparatus constructed as described above will be explained with reference to FIG. .

工程300は動作のスタートを示している。次に
工程301ではプログラム番号指定手段95に依り
デイジタルスイツチ群96を操作して、あるいは
自動的にプログラム番号を指定する。そうすると
プログラムの始点となるブロツク、つまり前記ポ
インタ情報書き込み部(P20等)によつて指示さ
れていないブロツク、例えば第2図の場合にはブ
ロツク10又は13のいずれかのブロツクが指定
される。いずれを選択するかは目的による。いま
ブロツク13が選択されたとする。
Step 300 indicates the start of the operation. Next, in step 301, the program number designating means 95 operates the digital switch group 96 or automatically designates the program number. Then, the block that is the starting point of the program, that is, the block that is not specified by the pointer information writing section (P20, etc.), for example, either block 10 or 13 in the case of FIG. 2, is specified. Which one you choose depends on your purpose. Assume that block 13 is now selected.

次の工程302ではステツプ指定手段3によりデ
イジタルスイツチ群31を操作してステツプ番地
Nを指定する。
In the next step 302, the step address N is designated by operating the digital switch group 31 by the step designation means 3.

次の工程303では第2記憶手段2内のステツプ
数情報書き込み部s23からブロツク13に書き
込んであるステツプ数st23が読み出される。
In the next step 303, the step number st23 written in the block 13 is read out from the step number information writing section s23 in the second storage means 2.

次の工程304ではこれまで計数手段50で計数
したステツプ数が零であるから零にステツプ数st
23を加算した値、つまりS=st23がそのまま出
力される。
In the next step 304, since the number of steps counted by the counting means 50 is zero, the number of steps st is set to zero.
The value obtained by adding 23, that is, S=st23, is output as is.

この計数手段50の出力は工程302で指定した
ステツプ番号Nと次の工程305で状態検出手段6
0により比較される。もしN≦Sならば次の工程
306に進み、N>Sならば工程310へ進む。
The output of this counting means 50 is determined by the step number N specified in step 302 and the state detection means 6 in the next step 305.
Compare by 0. If N≦S, next step
Proceed to step 306, and if N>S, proceed to step 310.

工程306へ進んだことはブロツク13内に工程
302で指定したステツプ番号のステツプが存在す
ることを示している。従つて工程306では単位チ
エーン内の番地記憶部a23記憶してあるブロツ
ク13を示す番地a13がCRTデイスプレイ9
7上に表示される。
Proceeding to step 306 means that the step is in block 13.
302 indicates that the step with the specified step number exists. Therefore, in step 306, the address a13 indicating the block 13 stored in the address storage section a23 in the unit chain is displayed on the CRT display 9.
7 will be displayed on the screen.

工程307では選択手段80がアクセスモードを
指示しているか否かを判断する。もしアクセスモ
ードが指示されていれば工程308に移行し、指示
されていない場合には工程312に移行する。
In step 307, it is determined whether the selection means 80 indicates an access mode. If the access mode has been designated, the process moves to step 308; otherwise, the process moves to step 312.

工程308では読出手段70は番地a13に相当
するブロツク13内に記憶してある全記憶内容を
読み出し、これをCRTデイスプレイ97上に表
示する。工程309は動作の終了を示している。
In step 308, the reading means 70 reads all the contents stored in the block 13 corresponding to the address a13 and displays them on the CRT display 97. Step 309 indicates the end of the operation.

工程305での判断の結果N>Sならばブロツク
13内にはN番目のプログラムステツプはないこ
とが判る。そこでその場合には工程310へ移行す
る。ここでは単位チエーン23内のポインタp2
3を読み出す。そうするとこのポインタはチエー
ンf34で示したように単位チエーン23の次は
単位チエーン24に連がることを示している。そ
こで工程311ではチエーン24内のステツプ数情
報書き込み部s24に書き込んであるステツプ数
st24を読み出す。その後工程304に移行しここ
ではN≦st23+st24になつているか否かを半断す
る。YESならば工程306へ移行する。NOならば
YESになるまで工程310,311,304及び305を繰
り返す。
If N>S as a result of the determination in step 305, it is determined that there is no Nth program step in block 13. In that case, the process moves to step 310. Here, pointer p2 in unit chain 23
Read out 3. This pointer then indicates that the unit chain 23 is followed by the unit chain 24, as indicated by chain f34. Therefore, in step 311, the number of steps written in the step number information writing section s24 in the chain 24 is
Read st24. Thereafter, the process moves to step 304, where it is determined in half whether N≦st23+st24. If YES, the process moves to step 306. If NO
Repeat steps 310, 311, 304 and 305 until YES.

さて工程307でNOと判断されると工程312へ移
行し、ここで書替え手段90からの書き替え指令
の有無を判断する。書き替え指令がなければ工程
315へ移行し終了する。このような場合としてN
番目のプログラムステツプ内にはどんな情報が書
かれているか分つているが、そのプログラム情報
がどこに書いているかどうかが分らないときが考
えられよう。さて書替指令が有る場合には工程
313へ移行し、ここでチエーンの書き替えを書替
手段90内のデイジタルスイツチ群91を用いて
行う。
Now, if it is determined NO in step 307, the process moves to step 312, where it is determined whether or not there is a rewriting command from the rewriting means 90. If there is no rewriting command, the process
Move to 315 and end. In such a case, N
We can imagine a case where we know what information is written in the th program step, but we do not know where that program information is written. Now, if there is a rewrite command, the process
313, where the chain is rewritten using the digital switch group 91 in the rewriting means 90.

第4図はそのような場合の例を示している。つ
まり第2図に示してあるチエーンf45を切り離
して第4図ではブロツク14と15との間にブロ
ツク1nを入れることを示している。この場合に
はポインタ情報書き込み部p24に入つている情
報を単位チエーン2nに連がるようにデイジタル
スイツチ群91を使つて書き替える一方ポインタ
情報書き込み部p2nには単位チエーン25に連
がることを入力する。勿論単位チエーン2nと対
応するブロツク1n内には図示しないテイーチン
グボツクスにより必要な情報を書き込む。
FIG. 4 shows an example of such a case. That is, the chain f45 shown in FIG. 2 is cut off, and FIG. 4 shows that a block 1n is inserted between blocks 14 and 15. In this case, the information stored in the pointer information writing section p24 is rewritten using the digital switch group 91 so that it is connected to the unit chain 2n, while the information stored in the pointer information writing section p24 is written so that it is connected to the unit chain 25. input. Needless to say, necessary information is written in the block 1n corresponding to the unit chain 2n using a teaching box (not shown).

夫々のページには最高で1つだけプログラムス
テツプが書き込んであり、且つブロツクの先頭ペ
ージから順にステツプが書き込まれ、空のページ
はブロツク内に点在することなくステツプが書き
込まれている一連のページの後ろに集中して存在
している場合には、ページ毎の読み出しを行うこ
とができる。この場合第1図に示した計数手段5
0はN≦Sが成立したとき第5図の工程316に示
す演算S−N=Pを実行する。例えば第2図に於
いてステツプ数情報書き込み部s24の内容を読
み出したときにN≦Sが成立し、しかもPが2で
あつたとすれば、ブロツク14の先頭から2番目
のページ141にステツプNの情報が入つているこ
とが分る。それゆえ工程306′,308′で示すように
直接該当ページを検出することができ該当ページ
内の情報を読み出すことができる。
Each page has at most one program step written, and the steps are written sequentially starting from the first page of the block, and empty pages are a series of pages in which steps are written without being interspersed within the block. If they are concentrated after the page, it is possible to read each page. In this case, the counting means 5 shown in FIG.
0 executes the operation SN=P shown in step 316 in FIG. 5 when N≦S holds true. For example, in FIG. 2, when the contents of the step number information writing section s24 are read out, if N≦S holds true and P is 2, then the step N is written to the second page 141 from the beginning of the block 14. You can see that it contains information. Therefore, as shown in steps 306' and 308', the relevant page can be directly detected and the information within the relevant page can be read out.

〔発明の効果〕〔Effect of the invention〕

本発明に依れば以上の説明から明らかなよう
に、第1記憶手段として磁気バブルメモリ代表さ
れるようなアクセスタイムの遅い記憶素子を用い
たにもかかわらず、記憶素子としてはるかに記憶
容量の少なくて良いアクセスタイムの早い第2記
憶手段を設けることにより、第1記憶手段からの
アクセスを早くすることができ所期の目的を達成
できる効果がある。
As is clear from the above description, according to the present invention, although a storage element with slow access time, such as a magnetic bubble memory, is used as the first storage means, the storage capacity of the storage element is far greater. By providing a second storage means with a fast access time that is small in number, access from the first storage means can be made faster and the desired purpose can be achieved.

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

第1図は本発明記憶装置の実施例を示すブロツ
クダイヤグラム、第2図、第4図は第1記憶手段
と第2記憶手段に書き込んである情報をモデル化
して示す図、第3図、第5図は本発明記憶装置の
アクセス方法及び書き替え方法を説明するための
フローチヤートである。 1……第1記憶手段、2……第2記憶手段、3
……ステツプ指定手段、50……計数手段、60
……状態検出手段、70……読出手段、80……
選択手段、90……書替手段、95……プログラ
ム番号指定手段。
FIG. 1 is a block diagram showing an embodiment of the storage device of the present invention, FIGS. 2 and 4 are diagrams showing models of information written in the first storage means and the second storage means, and FIGS. FIG. 5 is a flowchart for explaining the access method and rewriting method of the storage device of the present invention. 1...First storage means, 2...Second storage means, 3
... Step designation means, 50 ... Counting means, 60
...State detection means, 70...Reading means, 80...
Selection means, 90... Rewriting means, 95... Program number designation means.

Claims (1)

【特許請求の範囲】 1 所定ステツプが書き込まれているブロツクを
複数個有し、かつこの夫々のブロツクと対応する
番地表示部を有する第1記憶手段と、前記第1記
憶手段よりもアクセスタイムが早い記憶素子で構
成してあり、前記ブロツクの夫々に対応するチエ
ーンが設けてあり、この夫々の単位チエーンには
前記夫々のブロツク内に書き込んであるステツプ
の数を表わす情報を記憶するステツプ数情報書き
込み部と、次の前記ブロツクへの接続を示すポイ
ンタ情報書き込み部と、前記番地表示部と対応す
る番地を記憶した番地記憶部とが設けてある第2
記憶手段と、あるステツプが前記複数のブロツク
のうちのどのブロツクに書き込まれているかを検
出するため、前記ステツプについてステツプ順番
を表わす信号を発生するステツプ指定手段と、前
記ポインタ情報書き込み部に書き込まれているポ
インタ情報に従つて、前記ステツプ数情報書き込
み部に書き込まれているステツプの数を単位チエ
ーン毎に順次計数する計数手段と、前記ステツプ
指定手段の出力信号と前記計数手段の出力信号と
を比較し、計数手段の出力信号の示すステツプ数
がステツプ指定手段の出力信号の示すステツプ順
番よりも大きいか又は等しい状態になつたことを
検出する状態検出手段とを備えている記憶装置。 2 特許請求の範囲第1項記載の記憶装置に於い
て、前記第1記憶手段は磁気バブルメモリで構成
してあることを特徴とする記憶装置。 3 特許請求の範囲第2項記載の記憶装置に於い
て、前記第2記憶手段はランダム・アクセス・メ
モリで構成してあることを特徴とする記憶装置。 4 特許請求の範囲第1項記載の記憶装置に於い
て、夫々の前記ブロツクは少くとも1枚のページ
で構成してあることを特徴とする記憶装置。 5 所定ステツプが書き込まれているブロツクを
複数個有し、かつこの夫々のブロツクと対応する
番地表示部を有する第1記憶手段と、前記第1記
憶手段よりもアクセスタイムが早い記憶素子で構
成してあり、前記ブロツクの夫々に対応するチエ
ーンが設けてあり、この夫々の単位チエーンには
前記夫々のブロツク内に書き込んであるステツプ
の数を表わす情報を記憶するステツプ数情報書き
込み部と、次の前記ブロツクへの接続を示すポイ
ンタ情報書き込み部と、前記番地表示部と対応す
る番地を記憶した番地記憶部とが設けてある第2
記憶手段と、あるステツプが前記複数のブロツク
のうちのどのブロツクに書き込まれているかを検
出するため、前記ステツプについてステツプ順番
を表わす信号を発生するステツプ指定手段と、前
記ポインタ情報書き込み部に書き込まれているポ
インタ情報に従つて、前記ステツプ数情報書き込
み部に書き込まれているステツプの数を単位チエ
ーン毎に順次計数する計数手段と、前記ステツプ
指定手段の出力信号と前記計数手段の出力信号と
を比較し、計数手段の出力信号の示すステツプ数
がステツプ指定手段の出力信号の示すステツプ順
番よりも大きいか又は等しい状態になつたことを
検出する状態検出手段と、前記状態検出手段の出
力を受け、前記状態検出手段が前記計数手段の出
力信号の示すステツプ数がステツプ指定手段の出
力信号の示すステツプ順番よりも大きいか又は等
しい状態になつたことを検出したとき、その単位
チエーンの番地記憶部に書き込んである番地が指
示するブロツクに書き込まれている複数のステツ
プを読み出す読み出し手段とを備えている記憶装
置。 6 所定ステツプが書き込まれているブロツクを
複数個有し、かつこの夫々のブロツクと対応する
番地表示部を有する第1記憶手段と、前記第1記
憶手段よりもアクセスタイムが早い記憶素子で構
成してあり、前記ブロツクの夫々に対応するチエ
ーンが設けてあり、この夫々の単位チエーンには
前記夫々のブロツク内に書き込んであるステツプ
の数を表わす情報を記憶するステツプ数情報書き
込み部と、次の前記ブロツクへの接続を示すポイ
ンタ情報書き込み部と、前記番地表示部と対応す
る番地を記憶した番地記憶部とが設けてある第2
記憶手段と、あるステツプが前記複数のブロツク
のうちのどのブロツクに書き込まれているかを検
出するため、前記ステツプについてステツプ順番
を表わす信号を発生するステツプ指定手段と、前
記ポインタ情報書き込み部に書き込まれているポ
インタ情報に従つて、前記ステツプ数情報書き込
み部に書き込まれているステツプの数を単位チエ
ーン毎に順次計数する計数手段と、前記ステツプ
指定手段の出力信号と前記計数手段の出力信号と
を比較し、計数手段の出力信号の示すステツプ数
がステツプ指定手段の出力信号の示すステツプ順
番よりも大きいか又は等しい状態になつたことを
検出する状態検出手段と、前記状態検出手段の出
力を受け、前記状態検出手段が前記計数手段の出
力信号の示すステツプ数がステツプ指定手段の出
力信号の示すステツプ順番よりも大きいか又は等
しい状態になつたことを検出したとき、その単位
チエーン内のポインタ情報書き込み部に書き込ま
れているポインタ情報を書き替える書替手段とを
備えている記憶装置。 7 複数のブロツクを有し、かつこの夫々のブロ
ツクと対応する番地表示部を有する第1記憶手段
と、前記第1記憶手段よりもアクセスタイムが早
い記憶素子で構成してあり、次の前記ブロツクへ
の接続を示すポインタ情報と前記番地表示部と対
応する番地とを書き込んだ単位チエーンが前記
夫々のブロツクに対応して設けてある第2記憶手
段と、検出したい前記ブロツクの順番を表わす信
号を発生するブロツク順番指定手段と、前記ポイ
ンタ情報書き込み部に書き込まれているポインタ
情報に従つて前記ブロツクの数を単位チエーン毎
に計数する計数手段と、前記ブロツク順番指定手
段の出力信号と前記計数手段の出力信号とを比較
し、計数手段の出力信号の示すブロツク数がブロ
ツク順番指定手段の出力信号の示すブロツク順番
よりも大きいか又は等しい状態になつたことを検
出する状態検出手段とを備えている記憶装置。 8 複数のブロツクを有し、連続する複数のステ
ツプが複数ブロツクに亙つて書き込まれている記
憶装置のアクセス方法において、前記ブロツクの
番地をブロツク毎に記憶する第1の工程と、前記
各ブロツクに書き込まれているステツプ数をブロ
ツク毎に記憶する第2の工程と、前記ブロツクに
記憶されているステツプの内の最終ステツプと次
のブロツクに記憶されているステツプの内の先頭
ステツプとのつながりを示すポインタ情報を、ブ
ロツク毎に記憶する第3の工程と、あるステツプ
が書き込まれているブロツクを検出するため、上
記ステツプについてステツプ順番を表わす信号を
発生する第4の工程と、上記ポインタ情報によつ
て指示されるブロツク順に、上記第2の工程にお
いて記憶されたステツプ数を計数する第5の工程
と、前記第4の工程において発生されたステツプ
順番を表わす信号と前記第5の工程において計数
されたステツプ数とをブロツク毎に順次比較し、
前記ステツプ数が前記ステツプ順番よりも大きい
か又は等しい状態になつたことを検出する第6の
工程と、前記第6の工程において、前記ステツプ
数が前記ステツプ順番よりも大きいか又は等しい
状態になつたことが検出された場合、前記第1の
工程において当該ブロツクについて記憶された番
地が指示するブロツクに書き込まれている複数の
ステツプを読み出す第7の工程とから成る記憶装
置のアクセス方法。
[Scope of Claims] 1. A first storage means having a plurality of blocks in which predetermined steps are written and having an address display section corresponding to each block, and a first storage means having an access time shorter than that of the first storage means. A chain is provided corresponding to each of the blocks, and each unit chain has step number information for storing information representing the number of steps written in each of the blocks. A second block provided with a writing section, a pointer information writing section indicating connection to the next block, and an address storage section storing an address corresponding to the address display section.
storage means; step designation means for generating a signal representing the step order for the step in order to detect which block among the plurality of blocks a certain step is written; counting means for sequentially counting the number of steps written in the step number information writing section for each unit chain according to the pointer information written in the step number information writing section; and an output signal of the step specifying means and an output signal of the counting means. A storage device comprising state detection means for comparing and detecting that the number of steps indicated by the output signal of the counting means is greater than or equal to the step order indicated by the output signal of the step designation means. 2. The storage device according to claim 1, wherein the first storage means is constituted by a magnetic bubble memory. 3. The storage device according to claim 2, wherein the second storage means is constituted by a random access memory. 4. The storage device according to claim 1, wherein each of the blocks is composed of at least one page. 5. A first memory means having a plurality of blocks in which predetermined steps are written and having an address display section corresponding to each block, and a memory element having a faster access time than the first memory means. A chain corresponding to each of the blocks is provided, and each unit chain includes a step number information writing section for storing information representing the number of steps written in each of the blocks, and a step number information writing section for storing information representing the number of steps written in each of the blocks. A second block provided with a pointer information writing section indicating a connection to the block and an address storage section storing an address corresponding to the address display section.
storage means; step designation means for generating a signal representing the step order for the step in order to detect which block among the plurality of blocks a certain step is written; counting means for sequentially counting the number of steps written in the step number information writing section for each unit chain according to the pointer information written in the step number information writing section; and an output signal of the step specifying means and an output signal of the counting means. a state detecting means for comparing and detecting that the number of steps indicated by the output signal of the counting means is greater than or equal to the step order indicated by the output signal of the step specifying means; and a state detecting means for receiving the output of the state detecting means. , when the state detecting means detects that the number of steps indicated by the output signal of the counting means is greater than or equal to the step order indicated by the output signal of the step specifying means, the address storage section of the unit chain; A storage device comprising reading means for reading out a plurality of steps written in a block indicated by an address written in the block. 6. A first memory means having a plurality of blocks in which predetermined steps are written and having an address display section corresponding to each block, and a memory element having a faster access time than the first memory means. A chain corresponding to each of the blocks is provided, and each unit chain includes a step number information writing section for storing information representing the number of steps written in each of the blocks, and a step number information writing section for storing information representing the number of steps written in each of the blocks. A second block provided with a pointer information writing section indicating a connection to the block and an address storage section storing an address corresponding to the address display section.
storage means; step designation means for generating a signal representing the step order for the step in order to detect which block among the plurality of blocks a certain step is written; counting means for sequentially counting the number of steps written in the step number information writing section for each unit chain according to the pointer information written in the step number information writing section; and an output signal of the step specifying means and an output signal of the counting means. a state detecting means for comparing and detecting that the number of steps indicated by the output signal of the counting means is greater than or equal to the step order indicated by the output signal of the step specifying means; and a state detecting means for receiving the output of the state detecting means. , when the state detecting means detects that the number of steps indicated by the output signal of the counting means is greater than or equal to the step order indicated by the output signal of the step specifying means, pointer information within the unit chain is detected. A storage device comprising: rewriting means for rewriting pointer information written in a writing section. 7. The first storage means has a plurality of blocks and has an address display section corresponding to each block, and a storage element having a faster access time than the first storage means, and the next block is A unit chain in which pointer information indicating a connection to the block and an address corresponding to the address display section is written is provided corresponding to each of the blocks, and a signal indicating the order of the blocks to be detected is stored. generating block order specifying means; counting means for counting the number of blocks for each unit chain according to the pointer information written in the pointer information writing section; an output signal of the block order specifying means; and the counting means. and a state detection means for comparing the number of blocks indicated by the output signal of the counting means with the output signal of the counting means and detecting that the number of blocks indicated by the output signal of the counting means is greater than or equal to the block order indicated by the output signal of the block order specifying means. storage device. 8. In an access method for a storage device having a plurality of blocks and in which a plurality of consecutive steps are written over the plurality of blocks, a first step of storing the address of the block for each block; The second step is to store the number of steps written in each block, and the connection between the last step among the steps stored in the block and the first step among the steps stored in the next block is determined. a third step of storing pointer information for each block; a fourth step of generating a signal representing the step order for the steps in order to detect a block in which a certain step is written; A fifth step of counting the number of steps stored in the second step, and a signal representing the step order generated in the fourth step, and counting in the fifth step, in the block order instructed by the step. sequentially compare the number of steps performed for each block,
a sixth step of detecting that the step number is greater than or equal to the step order; and in the sixth step, the step number becomes greater than or equal to the step order. a seventh step of reading out a plurality of steps written in the block indicated by the address stored for the block in the first step, if it is detected that the block has been stored.
JP62225263A 1987-09-10 1987-09-10 Storage device and access method for same Granted JPS63153623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62225263A JPS63153623A (en) 1987-09-10 1987-09-10 Storage device and access method for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62225263A JPS63153623A (en) 1987-09-10 1987-09-10 Storage device and access method for same

Publications (2)

Publication Number Publication Date
JPS63153623A JPS63153623A (en) 1988-06-27
JPH0320773B2 true JPH0320773B2 (en) 1991-03-20

Family

ID=16826575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62225263A Granted JPS63153623A (en) 1987-09-10 1987-09-10 Storage device and access method for same

Country Status (1)

Country Link
JP (1) JPS63153623A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52125239A (en) * 1976-04-14 1977-10-20 Fujitsu Ltd Write-in and read-out control system for memory unit
JPS53132235A (en) * 1977-04-21 1978-11-17 Texas Instruments Inc Magnetic bubble memory system controller
JPS5665390A (en) * 1979-10-31 1981-06-03 Hitachi Ltd Magnetic bubble memory control system
JPS57103565A (en) * 1980-12-19 1982-06-28 Fujitsu Ltd Control system of external storage device
JPS5892035A (en) * 1981-11-13 1983-06-01 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data base processing system
JPS5851360B2 (en) * 1977-05-07 1983-11-16 松下電器産業株式会社 Memory retention control circuit for non-volatile memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5851360U (en) * 1981-09-30 1983-04-07 株式会社日立製作所 Image information file storage device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52125239A (en) * 1976-04-14 1977-10-20 Fujitsu Ltd Write-in and read-out control system for memory unit
JPS53132235A (en) * 1977-04-21 1978-11-17 Texas Instruments Inc Magnetic bubble memory system controller
JPS5851360B2 (en) * 1977-05-07 1983-11-16 松下電器産業株式会社 Memory retention control circuit for non-volatile memory
JPS5665390A (en) * 1979-10-31 1981-06-03 Hitachi Ltd Magnetic bubble memory control system
JPS57103565A (en) * 1980-12-19 1982-06-28 Fujitsu Ltd Control system of external storage device
JPS5892035A (en) * 1981-11-13 1983-06-01 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Data base processing system

Also Published As

Publication number Publication date
JPS63153623A (en) 1988-06-27

Similar Documents

Publication Publication Date Title
JPS60502A (en) Numerical controller with stored stroke limit check by drawing
EP0103813B1 (en) Memory system and method for access in the same
JPH0320773B2 (en)
EP2750295A1 (en) Conversion device, peripheral device, and programmable controller
JPH0254346A (en) File switching processing method
JPH02310592A (en) Screen scroll control system
JPH035921Y2 (en)
KR100654477B1 (en) Object oriented processing with dedicated pointer memories
JPS60237506A (en) File control method
JP2921228B2 (en) Programmable controller
JPH0413624Y2 (en)
JP2574019B2 (en) DMA transfer method
JPS63239521A (en) Data processing system for magnetic tape device
JPH0313605B2 (en)
JPS60129863A (en) Input and output control system
JPH0296847A (en) Trace controller
JPH07282073A (en) Data retrieving device and its method
JP2004348679A (en) System and method for controlling electric equipment
JPS6360426B2 (en)
JPH06161516A (en) Checking method for sequence program
JPS6222437B2 (en)
JPS6385841A (en) Memory system
JPH0679352B2 (en) Counter device for multipoint positioning
JPH01321531A (en) State information history circuit
JPH04232506A (en) Robot controller