JP2002333903A - Editing operation and data storing method in ladder programming editor - Google Patents

Editing operation and data storing method in ladder programming editor

Info

Publication number
JP2002333903A
JP2002333903A JP2001138850A JP2001138850A JP2002333903A JP 2002333903 A JP2002333903 A JP 2002333903A JP 2001138850 A JP2001138850 A JP 2001138850A JP 2001138850 A JP2001138850 A JP 2001138850A JP 2002333903 A JP2002333903 A JP 2002333903A
Authority
JP
Japan
Prior art keywords
data
storage
stored
editing operation
blocks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001138850A
Other languages
Japanese (ja)
Other versions
JP2002333903A5 (en
Inventor
Yumie Kubota
由美恵 久保田
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2001138850A priority Critical patent/JP2002333903A/en
Publication of JP2002333903A publication Critical patent/JP2002333903A/en
Publication of JP2002333903A5 publication Critical patent/JP2002333903A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an editing operation and a data storing method for a ladder programming editor capable of holding stored data by recording block units, and performing data access by storage block units. SOLUTION: In this method for storing the editing operation and edited data at the time of preparing a ladder program in a storage area 21 or 31 of a memory 2 or a hard disk 3 or the like on a ladder programming editor 1 for preparing a ladder program for a programming controller, the editing operation and the edited data are stored by block (called storage block) units (1)...(n) in a fixed size.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラ用ラダープログラムを作成するラダープログ
ラミングエディタにおいて、ラダープログラム作成時の
編集操作および編集データをメモリやハードディスクな
どの記憶領域に記憶する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ladder programming editor for creating a ladder program for a programmable controller, and to a method for storing editing operations and editing data in creating a ladder program in a storage area such as a memory or a hard disk.

【0002】[0002]

【従来の技術】図9は従来技術におけるラダープログラ
ム作成時の編集操作および編集データの記憶方法の概念
図である。図9において、1はラダープログラミングエ
ディタであり、操作入力部11と記憶データ生成部12
を保持している。2はメモリであり記憶データ保管領域
21を保持している。3はハードディスクであり記憶デ
ータ保管領域31を保持している。図9の従来技術で
は、ラダープログラム作成者がマウスやキーボードなど
の入力装置を介して行った操作はラダープログラミング
エディタ1の操作入力部11で受け取られ、編集操作と
編集データをもとに、記憶データ生成部12で記憶する
データが生成される。この記憶データはメモリ2を一時
的に経由してハードディスク3に、すでに保存されてい
る編集操作および編集データに追加され記憶されるとい
う方法であった。
2. Description of the Related Art FIG. 9 is a conceptual diagram of an editing operation at the time of creating a ladder program and a method of storing edited data in the prior art. In FIG. 9, reference numeral 1 denotes a ladder programming editor, which includes an operation input unit 11 and a storage data generation unit 12.
Holding. Reference numeral 2 denotes a memory which holds a storage data storage area 21. A hard disk 3 holds a storage data storage area 31. In the prior art shown in FIG. 9, an operation performed by the ladder program creator via an input device such as a mouse or a keyboard is received by the operation input unit 11 of the ladder programming editor 1 and stored based on the editing operation and the editing data. Data to be stored is generated by the data generation unit 12. The stored data is temporarily stored in the hard disk 3 via the memory 2 in addition to the editing operation and the editing data already stored.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
技術では、編集操作および編集データに関するすべての
記憶データが1つのブロックとしてハードディスクに記
憶されるため、記憶したデータを取り出す際、一部のデ
ータのみが必要な場合でもすべてのデータにアクセスす
ることになり不要な時間を費やすことになる。特に記憶
データサイズが多くなればこの現象は顕著となるという
問題があった。更に、メモリで記憶可能なデータサイズ
は使用するコンピュータに依存するため利用者にとって
最適な環境を利用者が設定することができないという問
題があった。そこで、本発明は、編集操作および編集デ
ータの記憶において、記憶ブロック単位で記憶データを
保持し、データのアクセスはこの記憶ブロック単位で行
えるようにして、記憶ブロックのサイズとメモリ上に記
憶可能な記憶ブロック数もラダープログラム作成者が設
定できるものとし、利用者にとって最適な環境を設定可
能にするラダープログラミングエディタにおける編集操
作およびデータの記憶方法を提供することを目的として
いる。
However, in the prior art, since all the stored data relating to the editing operation and the edited data are stored as one block on the hard disk, when the stored data is taken out, only a part of the data is taken out. Even if it is necessary, all data is accessed and unnecessary time is wasted. In particular, there is a problem that this phenomenon becomes remarkable as the storage data size increases. Furthermore, the data size that can be stored in the memory depends on the computer used, so that there is a problem in that the user cannot set an optimal environment for the user. In view of the above, according to the present invention, in the editing operation and the storage of the edited data, the storage data is held in a storage block unit, and the data can be accessed in the storage block unit so that the storage block size and the storage in the memory can be performed. A ladder program creator can also set the number of storage blocks, and an object of the present invention is to provide an editing operation and data storage method in a ladder programming editor that enables an optimum environment to be set for a user.

【0004】[0004]

【課題を解決するための手段】上記問題を解決するた
め、請求項1に記載の発明は、プログラマブルコントロ
ーラ用ラダープログラムを作成するラダープログラミン
グエディタ上で、ラダープログラム作成時の編集操作お
よび編集データをメモリやハードディスクなどの記憶領
域に記憶するラダープログラミングエディタにおける編
集操作およびデータの記憶方法において、編集操作およ
び編集データを一定サイズのブロック(以下、記憶ブロ
ックと呼ぶ)単位で記憶することを特徴としている。ま
た、請求項2に記載の発明は、請求項1に記載のラダー
プログラミングエディタにおける編集操作およびデータ
の記憶方法において、あらかじめ設定された数(以下、
最大ブロック数と呼ぶ)の記憶ブロックをメモリ(一次
記憶装置)上で保持可能であることを特徴としている。
また、請求項3に記載の発明は、請求項2に記載のラダ
ープログラミングエディタにおける編集操作およびデー
タの記憶方法において、新たに編集操作および編集デー
タを記憶することにより、メモリ上で保持されている記
憶ブロックの数が最大ブロック数を超える場合、メモリ
上に存在する記憶ブロックのうち最初に記憶された記憶
ブロックから順に、記憶ブロック単位でハードディスク
(二次記憶装置)上に移動させ、新しい編集操作および
編集データをメモリ上に記憶可能とすることを特徴とし
ている。また、請求項4に記載の発明は、請求項1又は
2に記載のラダープログラミングエディタにおける編集
操作およびデータの記憶方法において、記憶ブロックの
サイズと最大ブロック数をラダープログラミングエディ
タ利用者が任意に設定可能であることを特徴としてい
る。
According to a first aspect of the present invention, there is provided a ladder programming editor for creating a ladder program for a programmable controller, comprising: In a method of storing an editing operation and data in a ladder programming editor that stores data in a storage area such as a memory or a hard disk, the editing operation and the editing data are stored in blocks of a certain size (hereinafter, referred to as storage blocks). . According to a second aspect of the present invention, there is provided an editing operation and data storing method in the ladder programming editor according to the first aspect, wherein a predetermined number (hereinafter, referred to as a “number”) is set.
It is characterized in that a storage block of the maximum number of blocks can be stored in a memory (primary storage device).
According to a third aspect of the present invention, in the method for storing an editing operation and data in the ladder programming editor according to the second aspect, the editing operation and the editing data are newly stored in the memory. When the number of storage blocks exceeds the maximum number of blocks, the storage blocks that are stored in the memory are moved to the hard disk (secondary storage device) in storage block units in order from the storage block that is stored first, and a new editing operation is performed. And editing data can be stored on a memory. According to a fourth aspect of the present invention, in the editing operation and data storage method in the ladder programming editor according to the first or second aspect, a user of the ladder programming editor arbitrarily sets the size of the storage block and the maximum number of blocks. It is characterized by being possible.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て図に基づいて説明する。図1は本発明の実施の形態に
係るラダープログラミングエディタにおける編集操作お
よびデータの記憶方法の概念図である。図2は図1に示
すメモリ内の概念図である。図3は図2に示すメモリ内
の現在の記憶ブロックの概念図である。図4は図3に示
す記憶ブロックの状態に新規記憶データを追加した時の
概念図である。図5は図4に示す記憶ブロックの状態に
現在の空き領域サイズより大きなサイズのデータを追加
した時の概念図である。図6は図2に示す記憶ブロック
全てにデータが存在する状態の概念図である。図7は図
6に示す記憶ブロックの状態に新規記憶データを追加し
た時のメモリとハードディスクに存在する記憶ブロック
の概念図である。図8は図7に示すハードディスク上の
記憶データを読出す時のメモリとハードディスクに存在
する記憶ブロックの概念図である。図1において、ラダ
ープログラム作成者がマウスやキーボードなどの入力装
置を介して行った操作はラダープログラミングエディタ
1の操作入力部11で受け取られ、編集操作と編集デー
タをもとに記憶データ生成部12で記憶するデータが生
成される。この記憶データはあらかじめ設定されている
記憶ブロックサイズでメモリ2に保持される。メモリ2
の記憶ブロック数があらかじめ設定された最大記憶ブロ
ック数を超えた場合、メモリ上に存在する記憶ブロック
のうち最初に記憶された記憶ブロック(1)をハードデ
ィスク3上に移動させ、新しい編集操作および編集デー
タをメモリ上に記憶可能とする。ここで記憶ブロックサ
イズとメモリ上の最大記憶ブロック数は、システムに応
じてラダープログラム作成者が最適な値に設定したもの
である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a conceptual diagram of an editing operation and a data storage method in a ladder programming editor according to an embodiment of the present invention. FIG. 2 is a conceptual diagram in the memory shown in FIG. FIG. 3 is a conceptual diagram of a current storage block in the memory shown in FIG. FIG. 4 is a conceptual diagram when new storage data is added to the state of the storage block shown in FIG. FIG. 5 is a conceptual diagram when data having a size larger than the current free area size is added to the state of the storage block shown in FIG. FIG. 6 is a conceptual diagram showing a state where data exists in all the storage blocks shown in FIG. FIG. 7 is a conceptual diagram of the storage blocks existing in the memory and the hard disk when new storage data is added to the state of the storage blocks shown in FIG. FIG. 8 is a conceptual diagram of the memory and the storage blocks existing in the hard disk when reading the storage data on the hard disk shown in FIG. In FIG. 1, an operation performed by an input device such as a mouse or a keyboard by a ladder program creator is received by an operation input unit 11 of a ladder programming editor 1, and based on an editing operation and editing data, a storage data generating unit 12 is executed. The data to be stored is generated. This storage data is held in the memory 2 with a storage block size set in advance. Memory 2
If the number of storage blocks exceeds the preset maximum number of storage blocks, the storage block (1) stored first among the storage blocks existing in the memory is moved to the hard disk 3, and new editing operation and editing are performed. Data can be stored on the memory. Here, the ladder program creator sets the storage block size and the maximum number of storage blocks in the memory to optimal values according to the system.

【0006】つぎに、各図をもとに編集操作および編集
データの記憶方法の詳細について説明する。図2におい
て、メモリ2には記憶ブロック保管領域21が存在し、
記憶ブロック保管領域には、あらかじめ設定されたサイ
ズの記憶ブロックが、あらかじめ設定された最大記憶ブ
ロック数分存在する。記憶データは現在、記憶ブロック
(0)から順に記憶ブロック(4)まで記憶データが格
納されている状態である。ここで、格納済み先頭記憶ブ
ロック番号は、既に記憶データが格納されている記憶ブ
ロックのうち最初に記憶データが格納された記憶ブロッ
クの番号である。格納済み最終記憶ブロック番号は、既
に記憶データが格納されている記憶ブロックのうち最後
に記憶データが格納された記憶ブロックの番号である。
現在の記憶ブロック番号は、現在記憶データ格納中の記
憶ブロック番号である。最大記憶ブロック番号は、ハー
ドディスクに移動された記憶ブロックも含めた最大記憶
ブロックの番号である。図2の場合、格納済み先頭記憶
ブロック番号は(0)、格納済み最終記憶ブロック番号
は(4)、現在の記憶ブロック番号は(4)、最大記憶
ブロック番号は(4)である。
Next, details of the editing operation and the method of storing the edited data will be described with reference to the drawings. In FIG. 2, a storage block storage area 21 exists in the memory 2,
In the storage block storage area, storage blocks of a preset size exist for the preset maximum number of storage blocks. The storage data is in a state where the storage data is stored from the storage block (0) to the storage block (4) in order. Here, the stored head storage block number is the number of the storage block in which the storage data is stored first among the storage blocks in which the storage data is already stored. The stored final storage block number is the number of the storage block in which the storage data is stored last among the storage blocks in which the storage data is already stored.
The current storage block number is the storage block number currently storing the storage data. The maximum storage block number is the number of the maximum storage block including the storage block moved to the hard disk. In the case of FIG. 2, the stored top storage block number is (0), the stored last storage block number is (4), the current storage block number is (4), and the maximum storage block number is (4).

【0007】図3は図2における現在の記憶ブロック番
号の記憶ブロック、すなわち記憶ブロック(4)を示し
ている。記憶ブロック(4)には、登録データ番号NO
20から登録データ番号NO28までの記憶データが格
納されている状態である。ここで、登録データ番号と
は、記憶データに付けられている一意の番号であり、登
録された順に0からふられている。登録データ先頭番号
は、記憶ブロックに格納されている先頭登録データの番
号である。登録データ最終番号は、記憶ブロックに格納
されている最終の登録データの番号である。現在の登録
データ番号は、現在のメモリ上でのポインタ位置を示す
登録データ番号である。図3の場合、登録データ先頭番
号はNO20、登録データ最終番号NO28、現在の登
録データ番号はNO29である。図3の状態に新規記憶
データを追加する場合を図4により説明する。図3にお
いて、現在の記憶ブロック番号は(4)であるので、記
憶ブロック(4)にデータが格納される。このデータの
登録データ番号は登録データ最終番号の次の番号すなわ
ちNO29となり、記憶ブロック(4)の現在の登録デ
ータ番号の位置に格納される。以上の記憶データの追加
により、登録データ最終番号はNO29、現在の登録デ
ータ番号はNO30に変更される。
FIG. 3 shows the storage block of the current storage block number in FIG. 2, that is, the storage block (4). In the storage block (4), the registered data number NO
This is a state in which storage data from No. 20 to registration data number NO28 is stored. Here, the registered data number is a unique number assigned to the stored data, and is assigned from 0 in the order of registration. The registration data head number is the number of the head registration data stored in the storage block. The registration data final number is the number of the last registration data stored in the storage block. The current registration data number is a registration data number indicating the current pointer position on the memory. In the case of FIG. 3, the registration data start number is NO20, the registration data end number is NO28, and the current registration data number is NO29. A case where new storage data is added to the state of FIG. 3 will be described with reference to FIG. In FIG. 3, since the current storage block number is (4), data is stored in the storage block (4). The registration data number of this data is the next number of the registration data last number, that is, NO29, and is stored at the position of the current registration data number in the storage block (4). With the addition of the storage data described above, the last registered data number is changed to NO29, and the current registered data number is changed to NO30.

【0008】次に、図4の状態に記憶ブロック番号
(4)の空き領域より大きなサイズのデータを追加する
場合の例を図5により説明する。図4において、現在の
記憶ブロック番号は(4)であるので、記憶ブロック
(4)にデータを格納しようとするが、新規記憶データ
のサイズが記憶ブロック(4)の空き領域サイズよりも
大きいため、次の未使用記憶ブロックすなわち記憶ブロ
ック(5)の先頭にデータを格納する。このとき記憶ブ
ロック(4)の空き領域は使用しない。このデータの登
録データ番号は登録データ最終番号の次の番号すなわち
NO30となる。以上の記憶データの追加により、現在
の記憶ブロック番号は(5)、登録データ先頭番号はN
O30、登録データ最終番号はNO30、現在の登録デ
ータ番号はNO31に変更される。以後、これらの処理
を繰り返し、新規データを記憶ブロック単位で格納して
いく。図6において、メモリ2には記憶ブロック保管領
域21が存在し、記憶ブロック保管領域には、あらかじ
め設定されたサイズの記憶ブロックが、あらかじめ設定
された最大記憶ブロック数分存在する。記憶データは、
記憶ブロック(0)から記憶ブロック(9)まですべて
の記憶ブロックにフルに格納されている状態である。図
6の場合、格納済み先頭記憶ブロック番号は(0)、格
納済み最終記憶ブロック番号は(9)、現在の記憶ブロ
ック番号は(9)、最大記憶ブロック番号は(9)であ
る。図6の状態に、新規記憶データを追加する場合の例
を図7により説明する。図6において、現在の記憶ブロ
ック番号は(9)であるので、記憶ブロック(9)にデ
ータを格納しようとするが、記憶ブロック(9)に空き
領域が存在しないため、次の未使用記憶ブロックの先頭
に新規記憶データを格納することになるが、既に最大記
憶ブロック数の記憶ブロックを使用している。そこで、
メモリ上に存在する記憶ブロックのうち最初に記憶され
た記憶ブロックすなわち記憶ブロック(0)をハードデ
ィスク3の記憶ブロック保管領域31に移動させ、記憶
ブロック(0)が存在していたメモリ上の位置に記憶ブ
ロック(10)を新規に作成して、記憶ブロック(1
0)の先頭に新規記憶データを格納する。以上の記憶デ
ータの追加により、格納済み先頭記憶ブロック番号は
(1)、格納済み最終記憶ブロック番号は(10)、現
在の記憶ブロック番号は(10)、最大記憶ブロック番
号は(10)に変更される。又、ハードディスクに格納
されている記憶ブロック数(以下、ハードディスク記憶
ブロック数と呼ぶ)は(1)、現在のハードディスク上
でのポインタ位置を示す番号(以下、現在のハードディ
スク位置番号と呼ぶ)は(1)となる。
Next, an example in which data having a size larger than the free area of the storage block number (4) is added to the state of FIG. 4 will be described with reference to FIG. In FIG. 4, since the current storage block number is (4), data is to be stored in the storage block (4). However, since the size of the new storage data is larger than the free area size of the storage block (4). , Data is stored at the head of the next unused storage block, that is, the storage block (5). At this time, the free area of the storage block (4) is not used. The registration data number of this data is the number following the registration data final number, that is, NO30. With the addition of the storage data described above, the current storage block number is (5) and the registration data start number is N
O30, the last registered data number is changed to NO30, and the current registered data number is changed to NO31. Thereafter, these processes are repeated, and new data is stored in units of storage blocks. In FIG. 6, a storage block storage area 21 exists in the memory 2, and storage blocks of a predetermined size exist in the storage block storage area for a predetermined maximum number of storage blocks. The stored data is
In this state, all the storage blocks from the storage block (0) to the storage block (9) are fully stored. In the case of FIG. 6, the stored top storage block number is (0), the stored last storage block number is (9), the current storage block number is (9), and the maximum storage block number is (9). An example in which new storage data is added to the state of FIG. 6 will be described with reference to FIG. In FIG. 6, since the current storage block number is (9), data is to be stored in the storage block (9). However, since there is no free space in the storage block (9), the next unused storage block is used. , New storage data is stored at the beginning, but the storage blocks of the maximum number of storage blocks have already been used. Therefore,
The storage block first stored in the memory, that is, the storage block (0) is moved to the storage block storage area 31 of the hard disk 3, and is moved to the position on the memory where the storage block (0) existed. A new storage block (10) is created and the storage block (1) is created.
The new storage data is stored at the beginning of 0). With the addition of the above storage data, the stored first storage block number is changed to (1), the stored last storage block number is changed to (10), the current storage block number is changed to (10), and the maximum storage block number is changed to (10). Is done. The number of storage blocks stored on the hard disk (hereinafter referred to as hard disk storage block number) is (1), and the number indicating the pointer position on the current hard disk (hereinafter referred to as current hard disk position number) is (1). 1).

【0009】次に、記憶したデータを読み出す場合につ
いて説明する。読み出しが要求されたデータ(例えば、
記憶ブロック(0))がハードディスクに格納されてい
た場合の例を図8より説明する。データ読み出し要求に
より、対象記憶ブロックをメモリ上に展開しようとする
が、既に最大記憶ブロック数の記憶ブロックを使用して
いるため、メモリ上に存在する記憶ブロックのうち最後
に記憶された記憶ブロックすなわち記憶ブロック(1
0)をハードディスク3の記憶ブロック保管領域31の
現在のハードディスク位置番号の位置へ移動させ、次
に、最後にハードディスクに格納された記憶ブロックを
メモリ上の記憶ブロック(10)が存在した位置に展開
する。以上のようにして必要な記憶ブロックのみをハー
ドディスクからメモリ上に展開し対象データへアクセス
することができる。
Next, a case where the stored data is read will be described. Data requested to be read (for example,
An example in which the storage block (0) is stored in the hard disk will be described with reference to FIG. The data read request attempts to expand the target storage block on the memory, but since the storage blocks of the maximum number of storage blocks have already been used, the storage block stored last on the memory, that is, Memory block (1
0) is moved to the position of the current hard disk position number in the storage block storage area 31 of the hard disk 3, and then the storage block finally stored on the hard disk is expanded to the position where the storage block (10) exists on the memory. I do. As described above, only the necessary storage blocks can be expanded from the hard disk to the memory and the target data can be accessed.

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば、
メモリおよびハードディスク上に編集操作および編集デ
ータを記憶する方法として、あらかじめ設定された一定
サイズの記憶ブロック単位で記憶するものとしたため、
記憶したデータは記憶ブロック単位で必要な記憶ブロッ
クのみをアクセスすることができデータのアクセスに不
要な時間を費やすことがなくなるという効果がある。ま
た、記憶ブロックのサイズとメモリ上に保持する最大ブ
ロック数をラダープログラミングエディタ利用者が任意
に設定可能なものとしたため、ラダープログラミングエ
ディタ利用者は使用するシステムに応じた最適な環境で
プログラムの作成を行うことができるという効果があ
る。
As described above, according to the present invention,
As a method of storing the editing operation and the editing data on the memory and the hard disk, it is assumed that the data is stored in units of storage blocks each having a predetermined size.
The stored data can access only necessary storage blocks in units of storage blocks, so that unnecessary time is not spent on data access. In addition, the ladder programming editor user can freely set the size of the storage block and the maximum number of blocks held in the memory, so that the ladder programming editor user can create a program in the optimal environment according to the system used. There is an effect that can be performed.

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

【図1】本発明の実施の形態に係るラダープログラミン
グエディタにおける編集操作およびデータの記憶方法の
概念図である。
FIG. 1 is a conceptual diagram of an editing operation and a data storage method in a ladder programming editor according to an embodiment of the present invention.

【図2】図1に示すメモリ内の概念図である。FIG. 2 is a conceptual diagram in a memory shown in FIG. 1;

【図3】図2に示すメモリ内の現在の記憶ブロックの概
念図である。
FIG. 3 is a conceptual diagram of a current storage block in the memory shown in FIG. 2;

【図4】図3に示す記憶ブロックの状態に新規記憶デー
タを追加した時の記憶ブロックの概念図である。
FIG. 4 is a conceptual diagram of a storage block when new storage data is added to the state of the storage block shown in FIG. 3;

【図5】図4に示す記憶ブロックの状態に現在の記憶ブ
ロック空き容量より大きなサイズのデータを追加した時
の記憶ブロックの概念図である。
5 is a conceptual diagram of a storage block when data having a size larger than the current storage block free space is added to the state of the storage block shown in FIG. 4;

【図6】図2に示す記憶ブロックすべてにデータが存在
するときのメモリ内の概念図である。
6 is a conceptual diagram in a memory when data exists in all storage blocks shown in FIG. 2;

【図7】図6に示す記憶ブロックの状態に新規記憶デー
タを追加した時のメモリとハードディスク上の記憶ブロ
ックの概念図である。
FIG. 7 is a conceptual diagram of a memory and a storage block on a hard disk when new storage data is added to the state of the storage block shown in FIG. 6;

【図8】図7に示す記憶ブロックの状態でハードディス
ク上の記憶データを読み出す時のメモリとハードディス
ク上の記憶ブロックの概念図である。
8 is a conceptual diagram of a memory and a storage block on a hard disk when data stored on a hard disk is read in the state of the storage block shown in FIG. 7;

【図9】従来のラダープログラミングエディタにおける
編集操作およびデータの記憶方法の概念図である。
FIG. 9 is a conceptual diagram of an editing operation and a data storage method in a conventional ladder programming editor.

【符号の説明】[Explanation of symbols]

1 ラダープログラミングエディタ 2 メモリ 3 ハードディスク 11 操作入力部 12 記憶データ生成部 21 記憶ブロック保管領域 31 記憶ブロック保管領域 DESCRIPTION OF SYMBOLS 1 Ladder programming editor 2 Memory 3 Hard disk 11 Operation input unit 12 Storage data generation unit 21 Storage block storage area 31 Storage block storage area

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラ用ラダープ
ログラムを作成するラダープログラミングエディタ上
で、ラダープログラム作成時の編集操作および編集デー
タをメモリやハードディスクなどの記憶領域に記憶する
ラダープログラミングエディタにおける編集操作および
データの記憶方法において、 編集操作および編集データを一定サイズのブロック(以
下、記憶ブロックと呼ぶ)単位で記憶することを特徴と
するラダープログラミングエディタにおける編集操作お
よびデータの記憶方法。
1. A ladder programming editor for creating a ladder program for a programmable controller, the editing operation for creating the ladder program and the editing operation and storage of data in a ladder programming editor for storing edited data in a storage area such as a memory or a hard disk. A method of storing an editing operation and data in a ladder programming editor, wherein the editing operation and the editing data are stored in blocks of a fixed size (hereinafter, referred to as storage blocks).
【請求項2】 請求項1に記載のラダープログラミング
エディタにおける編集操作およびデータの記憶方法にお
いて、あらかじめ設定された数(以下、最大ブロック数
と呼ぶ)の記憶ブロックをメモリ(一次記憶装置)上で
保持可能であることを特徴とするラダープログラミング
エディタにおける編集操作およびデータの記憶方法。
2. The method according to claim 1, wherein a predetermined number (hereinafter, referred to as a maximum number of blocks) of storage blocks are stored in a memory (primary storage device). An editing operation in a ladder programming editor and a method of storing data, wherein the data can be held.
【請求項3】 請求項2に記載のラダープログラミング
エディタにおける編集操作およびデータの記憶方法にお
いて、新たに編集操作および編集データを記憶すること
により、メモリ上で保持されている記憶ブロックの数が
最大ブロック数を超える場合、メモリ上に存在する記憶
ブロックのうち最初に記憶された記憶ブロックから順
に、記憶ブロック単位でハードディスク(二次記憶装
置)上に移動させ、新しい編集操作および編集データを
メモリ上に記憶可能とすることを特徴とするラダープロ
グラミングエディタにおける編集操作およびデータの記
憶方法。
3. The editing operation and data storage method in the ladder programming editor according to claim 2, wherein the number of storage blocks held on the memory is maximized by newly storing the editing operation and the edited data. When the number of blocks exceeds the number of blocks, the storage blocks that are stored in the memory are moved to the hard disk (secondary storage device) in units of storage blocks in order from the storage block stored first, and new editing operations and edited data are stored in the memory. A ladder programming editor and a method of storing data.
【請求項4】 請求項1又は2に記載のラダープログラ
ミングエディタにおける編集操作およびデータの記憶方
法において、記憶ブロックのサイズと最大ブロック数を
ラダープログラミングエディタ利用者が任意に設定可能
であることを特徴とするラダープログラミングエディタ
における編集操作およびデータの記憶方法。
4. The editing operation and data storage method in the ladder programming editor according to claim 1 or 2, wherein a user of the ladder programming editor can arbitrarily set the size and the maximum number of storage blocks. Editing operation and data storage method in a ladder programming editor.
JP2001138850A 2001-05-09 2001-05-09 Editing operation and data storing method in ladder programming editor Pending JP2002333903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001138850A JP2002333903A (en) 2001-05-09 2001-05-09 Editing operation and data storing method in ladder programming editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001138850A JP2002333903A (en) 2001-05-09 2001-05-09 Editing operation and data storing method in ladder programming editor

Publications (2)

Publication Number Publication Date
JP2002333903A true JP2002333903A (en) 2002-11-22
JP2002333903A5 JP2002333903A5 (en) 2005-10-13

Family

ID=18985722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001138850A Pending JP2002333903A (en) 2001-05-09 2001-05-09 Editing operation and data storing method in ladder programming editor

Country Status (1)

Country Link
JP (1) JP2002333903A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015219924A (en) * 2014-05-19 2015-12-07 エルエス産電株式会社Lsis Co., Ltd. PLC program management device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015219924A (en) * 2014-05-19 2015-12-07 エルエス産電株式会社Lsis Co., Ltd. PLC program management device
US10579036B2 (en) 2014-05-19 2020-03-03 Lsis Co., Ltd. Apparatus for program management of programmable logic controller

Similar Documents

Publication Publication Date Title
JP5871404B2 (en) Method for processing the information part of recorded data
KR100533682B1 (en) Data managing device and method for flash memory
JP2006331408A (en) Memory card capable of improving reading performance
JP4227106B2 (en) Data recovery apparatus and method for flash memory
JP2006114043A (en) Data processing apparatus and method for flash memory
JP2002333903A (en) Editing operation and data storing method in ladder programming editor
US6831798B2 (en) Apparatus and method for reproducing first partial information and reading second partial information, which permit continuous reproduction of information, information recording medium, and reproduction program
JP2002334015A (en) Disk drive
JPH11296415A (en) Log output control method, log output controller and recording medium storing log output control program
JPH08137651A (en) Information processor and method therefor
JPH06110884A (en) Editing device
JP4362777B2 (en) Programming device, symbol automatic registration method, program, and recording medium
JPH0239225A (en) Filing system
JP2000267707A (en) Sequence controller, maintenance method for maintenance area in the same device, and recording medium for storing computer program for executing the same method
JP2005309698A (en) Ring buffer control method, ring buffer device, and data recording/reproducing device
JP2005025740A (en) Microprocessor system having hot routine memory and its using method
JPS59136860A (en) Disk controller
JPH08235798A (en) Servo track writer
TW202324117A (en) Direct memory access circuit, operation method thereof, and method of generating memory access command
JP2006039604A (en) Device and method for information processing, and program
KR100234108B1 (en) Editor for numerical control apparatus and data managing method thereof
JP2007004238A (en) Analysis support device, analysis support method and program
JP2001024974A (en) Image processor, image processing method and storage medium
JP2005228455A (en) Reproduced data processing apparatus and method
JP2008077331A (en) Projection method for three-dimensional cad system, model creation method and its device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050606

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050606

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060324

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080514