JPH09251307A - Editing device for ladder program - Google Patents

Editing device for ladder program

Info

Publication number
JPH09251307A
JPH09251307A JP8060873A JP6087396A JPH09251307A JP H09251307 A JPH09251307 A JP H09251307A JP 8060873 A JP8060873 A JP 8060873A JP 6087396 A JP6087396 A JP 6087396A JP H09251307 A JPH09251307 A JP H09251307A
Authority
JP
Japan
Prior art keywords
ladder
file
ladder program
work
management table
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.)
Granted
Application number
JP8060873A
Other languages
Japanese (ja)
Other versions
JP3422013B2 (en
Inventor
Takashi Kadowaki
隆 門脇
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP06087396A priority Critical patent/JP3422013B2/en
Publication of JPH09251307A publication Critical patent/JPH09251307A/en
Application granted granted Critical
Publication of JP3422013B2 publication Critical patent/JP3422013B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the editing device of a ladder program capable of efficiently performing an editing operation suited to the property of the ladder program that many similar circuit patterns are present. SOLUTION: In a ladder program initial file 10, the ladder program to be an editing object this time is stored by an instruction word. In a memory 20 for ladder diagram display, the ladder program to be the object of screen display is stored by a ladder diagram form. In an instruction word operation file and a ladder diagram operation file, the ladder program added by a copying operation is stored corresponding to the instruction word and a ladder diagram. In an entire row management table 50, the ladder program during the editing operation is expressed by using records arranged in an order with a row as a unit and to which file the record of the pertinent row belongs is indicated. An entire row management table management part 60 reflects the ladder program added/eliminated by the editing operation onto the records of the entire row management table 50.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、PLC(プログラ
マブル・コントローラ)等で動作命令を記述するのに用
いられるラダープログラムの編集装置に掛り、特に回路
の複写や削除等の編集が簡便に行える改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ladder program editing apparatus used for describing an operation command in a PLC (programmable controller) or the like, and in particular, an improvement for easily editing a circuit such as copying or deleting. Regarding

【0002】[0002]

【従来の技術】ラダープログラムは、例えば本出願人の
提案に掛かる特開平4−299705号公報に開示され
ているように、ラダー図を命令語にコンパイルした形で
ファイルに格納している。若し、ラダー図の形で格納す
ると、ファイルサイズが大きくなり、記憶媒体の容量や
ファイルアクセス速度が遅くなる課題を生ずるためであ
る。画面に表示するときは、その命令語をラダー図に逆
コンパイルしてラダー図をメモリ上にロードして、それ
を表示する。
2. Description of the Related Art A ladder program is stored in a file in a form in which a ladder diagram is compiled into an instruction word, as disclosed in Japanese Patent Laid-Open No. 4-299705, which is proposed by the present applicant. This is because if the data is stored in the form of a ladder diagram, the file size becomes large, which causes a problem that the capacity of the storage medium and the file access speed become slow. When it is displayed on the screen, the instruction word is decompiled into a ladder diagram, the ladder diagram is loaded on the memory, and it is displayed.

【0003】そして、例えば本出願人の提案に掛かる特
開平4−199330号公報に開示されているように、
プログラム言語で記述されたソースファイルに対しては
デバッグ作業が行われる。ラダープログラムの編集作業
においては、当該メモリにロードされた範囲のみを対象
として回路の複写や削除を行っていた。
Then, for example, as disclosed in Japanese Patent Laid-Open No. 4-199330, which is proposed by the applicant,
Debugging is performed on the source files written in the programming language. In the editing work of the ladder program, the circuit is copied or deleted only in the range loaded in the memory.

【0004】[0004]

【発明が解決しようとする課題】しかし、メモリにロー
ドされた範囲のみを対象として編集作業をしているので
は、同じような回路パターンが多いラダープログラムに
対して編集作業が円滑に遂行されないという課題があっ
た。本発明はこのような課題を解決したもので、同じよ
うな回路パターンが多いというラダープログラムの性質
に適合して、効率よく編集作業ができるラダープログラ
ムの編集装置を提供することを目的とする。
However, if the editing work is performed only on the range loaded in the memory, the editing work cannot be smoothly performed on a ladder program having many similar circuit patterns. There were challenges. The present invention solves such a problem, and an object of the present invention is to provide an editing apparatus for a ladder program, which adapts to the nature of the ladder program in that there are many similar circuit patterns and enables efficient editing work.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成する本
発明は、編集作業対象となるラダープログラムが命令語
を用いて記述されているラダープログラム当初ファイル
10と、当座編集作業対象となるラダープログラムをラ
ダー図を用いて画面に表示するラダー図表示用メモリ2
0と、複写により作成されるラダープログラムが命令語
を用いて記述されている命令語作業ファイル30と、複
写により作成されるラダープログラムがラダー図を用い
て記述されているラダー図作業ファイル40と、編集作
業中のラダープログラムが、行を単位として順序立てて
配置されたレコードを用いて表現されると共に、当該行
のレコードが前記ラダープログラム当初ファイル、ラダ
ー図表示用メモリ、命令語作業ファイル及びラダー図作
業ファイルの何れに帰属しているかの情報を有する全行
管理テーブル50とを有している。
According to the present invention to achieve the above object, a ladder program initial file 10 in which a ladder program to be edited is described by using an instruction word, and a ladder to be edited for the time being. Ladder diagram display memory 2 that displays the program on the screen using the ladder diagram
0, a command word work file 30 in which a ladder program created by copying is written using command words, and a ladder diagram work file 40 in which a ladder program created by copying is written using a ladder diagram The ladder program being edited is expressed using records arranged in order in units of lines, and the records of the lines are the ladder program initial file, the ladder diagram display memory, the command word work file, and It has an all-row management table 50 having information on which of the ladder diagram work files it belongs to.

【0006】そして、前記ラダープログラム当初ファイ
ルから前記ラダー図表示用メモリに読みだされたラダー
プログラムについては、当該ラダープログラムに対応す
るレコードの帰属するファイルをラダープログラム当初
ファイルから前記ラダー図表示用メモリに変更すると共
に、当該編集作業により前記命令語作業ファイル又はラ
ダー図作業ファイルを変更するときは、この変更と一致
させて前記全行管理テーブルの各レコードの配置を変更
するとともに、当該レコードが何れのファイルに帰属す
るか表示する全行管理テーブル管理部60とを具備する
ことを特徴としている。
With respect to the ladder program read from the ladder program initial file to the ladder diagram display memory, the file to which the record corresponding to the ladder program belongs is changed from the ladder program initial file to the ladder diagram display memory. When changing the command word work file or the ladder diagram work file by the editing work, the layout of each record of the all-row management table is changed to match the change and All-row management table management unit 60 that displays whether or not the file belongs to the file.

【0007】本発明の構成によれば、ラダープログラム
当初ファイル10では、今回編集対象となるラダープロ
グラムが命令語により格納されている。ラダー図表示用
メモリ20では、画面表示の対象となるラダープログラ
ムがラダー図形式で格納されている。命令語作業ファイ
ル及びラダー図作業ファイルは、複写作業によって追加
されるラダープログラムが命令語及びラダー図かに応じ
て格納される。全行管理テーブル50は、編集作業中の
ラダープログラムが行を単位として順序立てて配置され
たレコードを用いて表現されると共に、当該行のレコー
ドが何れのファイルに帰属しているか示している。全行
管理テーブル管理部60は、編集作業によって追加・削
除されたラダープログラムを全行管理テーブル50のレ
コードに反映させている。
According to the configuration of the present invention, in the ladder program initial file 10, the ladder program to be edited this time is stored by the command word. The ladder diagram display memory 20 stores a ladder program to be displayed on the screen in a ladder diagram format. The command word work file and the ladder diagram work file are stored according to whether the ladder program added by the copying work is the command word and the ladder diagram. The all-rows management table 50 represents the ladder program being edited by using records arranged in order in units of lines, and indicates to which file the record of the row belongs. The all-row management table management unit 60 reflects the ladder program added / deleted by the editing work in the record of the all-row management table 50.

【0008】[0008]

【発明の実施の形態】以下図面を用いて、本発明を説明
する。図1は本発明の一実施例を示す構成ブロック図で
ある。図において、ラダープログラム当初ファイル10
は、編集作業対象となるラダープログラムが命令語を用
いて記述されている。尚、ラダープログラムを新規に作
成する場合には、このラダープログラム当初ファイル1
0は存在しない。ここで、命令語とは、LD、AND、
OR等の英文字を用いた語句をいう。ラダー図表示用メ
モリ20は、当座編集作業対象となるラダープログラム
をラダー図を用いて画面に表示するもので、PLCの場
合には画像メモリの領域が限られていることから、ラダ
ープログラムのうち数行が表示されている。命令語作業
ファイル30は、ラダープログラム当初ファイル10か
らの複写により作成されるラダープログラムが命令語を
用いて記述されている。ラダー図作業ファイル40は、
ラダー図表示用メモリ20からの複写により作成される
ラダープログラムがラダー図を用いて記述されている。
DETAILED DESCRIPTION OF THE INVENTION The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, the ladder program initial file 10
In, a ladder program to be edited is described using command words. When creating a new ladder program, this ladder program original file 1
0 does not exist. Here, the instruction word is LD, AND,
Refers to a phrase that uses English characters such as OR. The ladder diagram display memory 20 displays a ladder program to be edited for the time being on the screen using a ladder diagram. In the case of PLC, the area of the image memory is limited. Several lines are displayed. In the command word work file 30, a ladder program created by copying the original ladder program file 10 is described using command words. The ladder diagram work file 40 is
A ladder program created by copying from the ladder diagram display memory 20 is described using a ladder diagram.

【0009】全行管理テーブル50は、編集作業中のラ
ダープログラムが、行を単位として順序立てて配置され
たレコードを用いて表現されると共に、当該行のレコー
ドがラダープログラム当初ファイル10、ラダー図表示
用メモリ20、命令語作業ファイル30及びラダー図作
業ファイル40の何れに帰属しているかを示している。
このうち、ラダー図表示用メモリ20に表示されている
ラダープログラムは、編集作業で更新されたり、新規に
入力されたりすることから、他のファイル10,30,
40に優先した地位にある。そこで、ラダー図表示用メ
モリ20に格納されているラダープログラムは、ラダー
プログラム当初ファイル10又は命令語作業ファイル3
0から読みだされた命令語をラダー図で表示したもので
あったり、ラダー図作業ファイル40に格納されたラダ
ー図であったりして、ファイル間で重複して存在する場
合にも、ラダー図表示用メモリ20に帰属するものとし
て扱われる。
The all-line management table 50 is expressed by using a record in which the ladder program being edited is arranged in order on a line basis, and the record of the line is the ladder program initial file 10 and the ladder diagram. It shows which of the display memory 20, the command word work file 30 and the ladder diagram work file 40 belongs to.
Among them, the ladder program displayed in the ladder diagram display memory 20 is updated or newly input by the editing work, so that the other files 10, 30,
40 is in a priority position. Therefore, the ladder program stored in the ladder diagram display memory 20 is the ladder program initial file 10 or the command word work file 3.
Even if the command words read from 0 are displayed in a ladder diagram or are ladder diagrams stored in the ladder diagram work file 40, and there are overlapping files, the ladder diagram It is treated as belonging to the display memory 20.

【0010】全行管理テーブル管理部60は、全行管理
テーブル50を編集作業の進捗状況に合わせて補充訂正
するものである。第一に、ラダープログラム当初ファイ
ル10からラダー図表示用メモリ20に読みだされたラ
ダープログラムについては、全行管理テーブル50中の
このラダープログラムに対応するレコードの帰属するフ
ァイルを、ラダープログラム当初ファイル10からラダ
ー図表示用メモリ20に変更する。第2に、編集作業に
より命令語作業ファイル30又はラダー図作業ファイル
40を変更するときは、この変更と一致させて全行管理
テーブル50の各レコードの配置を変更するとともに、
当該レコードが何れのファイルに帰属するか表示する。
このファイル内容の変更には、ラダープログラムの特定
行の複写と削除が問題になるので、後で具体的に説明す
る。
The all-row management table management unit 60 supplements and corrects the all-row management table 50 in accordance with the progress status of the editing work. First, regarding the ladder program read from the ladder program initial file 10 to the ladder diagram display memory 20, the file to which the record corresponding to this ladder program in the all-row management table 50 belongs is the ladder program initial file. 10 is changed to the ladder diagram display memory 20. Secondly, when the command word work file 30 or the ladder diagram work file 40 is changed by the editing work, the arrangement of each record of the all-line management table 50 is changed in accordance with this change, and
Display which file the record belongs to.
Changing the contents of this file involves a problem of copying and deleting a specific line of the ladder program, which will be specifically described later.

【0011】図2は、図1の装置における各ファイルの
具体例を示す図である。全行管理テーブル50は、行を
単位とするレコードによりラダープログラムを管理して
いる。各行には、回路情報を表示する欄と、格納場所を
表示する欄と、ポインタを表示する欄を有している。回
路情報とは、1回路の行数等のようにラダープログラム
に特有の回路概念である。格納場所とは、当該行のラダ
ーデータが何れのファイルに格納されているかを表示す
るもので、ラダープログラム当初ファイル10であると
きは、ラダー図表示用メモリ20であるときは、命
令語作業ファイル30であるときは、ラダー図作業フ
ァイル40であるときはで表示している。ポインタと
は、各ファイルのどの位置に格納されているを表示する
ものである。
FIG. 2 is a diagram showing a concrete example of each file in the apparatus of FIG. The all-rows management table 50 manages the ladder program by records in units of rows. Each row has a column for displaying circuit information, a column for displaying a storage location, and a column for displaying a pointer. The circuit information is a circuit concept peculiar to a ladder program, such as the number of lines in one circuit. The storage location indicates in which file the ladder data of the line is stored. When the ladder program initial file 10 is the ladder diagram display memory 20, the command work file is stored. When it is 30, it is displayed when it is the ladder diagram work file 40. The pointer indicates the position of each file stored.

【0012】図3は、編集作業が複写作業である場合の
構成ブロック図である。図において、編集時作業ファイ
ル管理部70は、複写される命令語を命令語作業ファイ
ル30に格納すると共に、複写されるラダー図をラダー
図作業ファイル40に格納するもので、作業ファイル3
0,40の内容の変更を管理している。全行管理テーブ
ル管理部60は、編集時作業ファイル管理部70で命令
語作業ファイル30又はラダー図作業ファイル40の内
容を変更するときは、全行管理テーブル50に対して当
該複写作業にかかるレコードを当該複写作業で指定され
た行に追加すると共に、この追加された行以降のレコー
ドについて行を逐次ずらす。
FIG. 3 is a block diagram of the configuration when the editing work is a copying work. In the figure, the edit-time work file management unit 70 stores the command word to be copied in the command word work file 30 and the ladder diagram to be copied in the ladder diagram work file 40.
It manages changes to the contents of 0 and 40. When changing the contents of the command word work file 30 or the ladder diagram work file 40 in the edit-time work file management unit 70, the all-row management table management unit 60 records a record related to the copying work in the all-row management table 50. Is added to the line designated by the copy operation, and lines are sequentially shifted for records after the added line.

【0013】図4は全行管理テーブル50の変更を説明
する説明図で、(A)は複写作業、(B)は削除作業を
表している。先ず、複写作業として、全行管理テーブル
50ではA行目からB行目までに該当するラダープログ
ラムを、C行目に複写する場合を例に説明する。 全行管理テーブル管理部60は、全行管理テーブル
50のC行目に、(B−A+1)行分のレコードを追加
する。その時、C行目以降のレコードは(B−A+1)
行分逐次繰り下げられる。全行管理テーブルの増分は予
めわかっているので、一括して行うのである。
4A and 4B are explanatory views for explaining the change of the all-rows management table 50. FIG. 4A shows a copying operation and FIG. 4B shows a deleting operation. First, as a copying operation, a case where the ladder program corresponding to the Ath row to the Bth row in the all row management table 50 is copied to the Cth row will be described as an example. The all-row management table management unit 60 adds a record of (B-A + 1) rows to the C-th row of the all-row management table 50. At that time, the records on and after the line C are (B-A + 1)
The lines are moved back one by one. Since the increment of the all-row management table is known in advance, it is performed collectively.

【0014】 全行管理テーブル管理部60は、複写
するラダーデータが何れのファイルに格納されているか
を全行管理テーブル50のレコードを参照して、調べ
る。 編集時作業ファイル管理部70は、の情報を基に
して次のようにラダーデータを格納する。第一に、ラダ
ーデータがラダー図の場合は、被複写対象のラダー図は
ラダー図表示用メモリ20又はラダー図作業ファイル4
0に存在しているので、これをラダー図作業ファイル4
0の末尾に順次格納していく。第二に、ラダーデータが
命令語の場合は、被複写対象の命令語はラダープログラ
ム当初ファイル10又は命令語作業ファイル30に存在
しているので、これを命令語作業ファイル40の末尾に
順次格納していく。 全行管理テーブル管理部60は、複写により発生し
たC行目のレコードに、格納場所となる作業ファイルの
表示と、その作業ファイルにおける詳細な格納芭蕉を表
すレコードを付す。 上記〜の作業を、A行目からB行目まで繰り返
す。
The all-row management table management unit 60 checks in which file the ladder data to be copied is stored by referring to the record of the all-row management table 50. The edit-time work file management unit 70 stores the ladder data as follows based on the information. First, when the ladder data is a ladder diagram, the ladder diagram to be copied is the ladder diagram display memory 20 or the ladder diagram work file 4.
Since it exists in 0, this is the ladder diagram work file 4
The data is sequentially stored at the end of 0. Secondly, when the ladder data is an instruction word, the instruction word to be copied exists in the initial file 10 of the ladder program or the instruction word work file 30, so that it is sequentially stored at the end of the instruction word work file 40. I will do it. The all-rows management table management unit 60 adds a record indicating the work file serving as the storage location and a record indicating the detailed storage Basho in the work file to the record of the Cth row generated by copying. The above work is repeated from the A-th line to the B-th line.

【0015】次に、削除作業として、全行管理テーブル
50ではA行目からB行目までに該当するラダープログ
ラムを削除する場合を例に説明すると、全行管理テーブ
ル管理部60は、削除の対象であるA行目からB行目ま
でのレコードを全行管理テーブル50から削除する。そ
して、削除された行以降のレコードについては、順次行
を繰り上げて、全行管理テーブル50における行番号の
連続性を維持する。
Next, as a deleting operation, the case of deleting the ladder program corresponding to the lines A to B in the all-rows management table 50 will be described as an example. The records from the target A-th line to the B-th line are deleted from the all-line management table 50. Then, for the records after the deleted line, the lines are sequentially moved up to maintain the continuity of the line numbers in the all-line management table 50.

【0016】図5は、編集作業を終了する場合の構成ブ
ロック図である。編集作業が終了すると、編集結果生成
部80によりラダープログラム編集後ファイル90が生
成される。編集結果生成部80は、全行管理テーブル5
0の行番号に従ってレコードを解読し、当該レコードの
編集作業の最終時における格納場所たるファイルとポイ
ンタを用いて、命令語で記載されるラダープログラムを
ラダープログラム編集後ファイル90に逐次格納してい
く。そして、編集作業で用いた中間的なファイルである
ラダープログラム当初ファイル10、ラダー図表示用メ
モリ20、命令語作業ファイル30及びラダー図作業フ
ァイル40並びに全行管理テーブル50は使命を失う。
FIG. 5 is a block diagram showing the configuration when the editing work is completed. When the editing work is completed, the edited result creating unit 80 creates a post-editing file 90 for the ladder program. The edit result generation unit 80 uses the all-row management table 5
The record is decoded according to the line number of 0, and the ladder program described by the command word is sequentially stored in the post-editing file 90 of the ladder program by using the file and the pointer which are the storage locations at the final time of the editing operation of the record. . Then, the ladder program initial file 10, the ladder diagram display memory 20, the command word work file 30, the ladder diagram work file 40, and the all-line management table 50, which are intermediate files used in the editing work, lose their missions.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば全
行管理テーブル50を設けて、編集作業におけるラダー
プログラムの複写や削除にかかるラダーデータの変更に
応じて全行管理テーブル50のレコードを並び換えた
り、ずらしたりしているので、従来の作業ファイルで逐
次ラダーデータを繰り上げたり繰り下げたりする作業時
間に比較して、編集作業が迅速に行えるという効果があ
る。
As described above, according to the present invention, the all-row management table 50 is provided, and the records of the all-row management table 50 are changed according to the change of the ladder data for copying or deleting the ladder program in the editing work. Since the numbers are rearranged or shifted, there is an effect that the editing work can be performed quickly as compared with the conventional work file in which the ladder data is successively moved up and down.

【0018】また、複写作業においては命令語作業ファ
イル30とラダー図作業ファイル40を設けて、複写さ
れたラダーデータを格納しているので、従来のようにラ
ダー図表示用メモリの範囲で複写されたラダーデータを
格納する場合に比較して、複写できる範囲や行数に制限
がなくなって、編集作業が円滑に行えるという効果を生
ずる。
Further, in the copying work, the command word work file 30 and the ladder diagram work file 40 are provided to store the copied ladder data, so that it is copied in the range of the memory for displaying the ladder diagram as in the conventional case. Compared with the case of storing ladder data, there is no limitation on the copyable range or the number of lines, which brings about an effect that editing work can be performed smoothly.

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

【図1】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention.

【図2】図1の装置における各ファイルの具体例を示す
図である。
FIG. 2 is a diagram showing a specific example of each file in the apparatus of FIG.

【図3】編集作業が複写作業である場合の構成ブロック
図である。
FIG. 3 is a configuration block diagram when the editing work is a copying work.

【図4】全行管理テーブル50の変更を説明する説明図
である。
FIG. 4 is an explanatory diagram illustrating a change of the all-rows management table 50.

【図5】編集作業を終了する場合の構成ブロック図であ
る。
FIG. 5 is a block diagram showing a configuration when editing work is completed.

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

10 ラダープログラム当初ファイル 20 ラダー図表示用メモリ 30 命令語作業ファイル 40 ラダー図作業ファイル 50 全行管理テーブル 60 全行管理テーブル管理部 10 Ladder program initial file 20 Ladder diagram display memory 30 Command word work file 40 Ladder diagram work file 50 All line management table 60 All line management table management unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】編集作業対象となるラダープログラムが命
令語を用いて記述されているラダープログラム当初ファ
イル(10)と、 当座編集作業対象となるラダープログラムをラダー図を
用いて画面に表示するラダー図表示用メモリ(20)
と、 複写により作成されるラダープログラムが命令語を用い
て記述されている命令語作業ファイル(30)と、 複写により作成されるラダープログラムがラダー図を用
いて記述されているラダー図作業ファイル(40)と、 編集作業中のラダープログラムが、行を単位として順序
立てて配置されたレコードを用いて表現されると共に、
当該行のレコードが前記ラダープログラム当初ファイ
ル、ラダー図表示用メモリ、命令語作業ファイル及びラ
ダー図作業ファイルの何れに帰属しているかの情報を有
する全行管理テーブル(50)と、 前記ラダープログラム当初ファイルから前記ラダー図表
示用メモリに読みだされたラダープログラムについて
は、当該ラダープログラムに対応するレコードの帰属す
るファイルをラダープログラム当初ファイルから前記ラ
ダー図表示用メモリに変更すると共に、当該編集作業に
より前記命令語作業ファイル又はラダー図作業ファイル
を変更するときは、この変更と一致させて前記全行管理
テーブルの各レコードの配置を変更するとともに、当該
レコードが何れのファイルに帰属するか表示する全行管
理テーブル管理部(60)と、 を具備することを特徴とするラダープログラムの編集装
置。
1. A ladder program initial file (10) in which a ladder program to be edited is described by using an instruction word, and a ladder program for displaying the ladder program to be edited at the moment by using a ladder diagram. Figure display memory (20)
And a command word work file (30) in which the ladder program created by copying is written using command words, and a ladder diagram work file in which the ladder program created by copying is written using ladder diagrams ( 40), and the ladder program being edited is expressed using records arranged in order by line, and
An all-rows management table (50) having information as to which of the ladder program initial file, the ladder diagram display memory, the command work file and the ladder diagram work file the record of the line belongs to, and the ladder program initial Regarding the ladder program read from the file to the ladder diagram display memory, the file to which the record corresponding to the ladder program belongs is changed from the ladder program original file to the ladder diagram display memory and the editing operation is performed. When changing the command word work file or the ladder diagram work file, the arrangement of each record in the all-rows management table is changed in accordance with this change, and the file to which the record belongs is displayed. And a line management table management unit (60) Editing apparatus of ladder program, characterized in that.
【請求項2】請求項1記載のラダープログラムの編集装
置において、 当該編集作業が複写作業の場合には、複写される命令語
を当該命令語作業ファイルに格納すると共に、複写され
るラダー図を当該ラダー図作業ファイルに格納する編集
時作業ファイル管理部(70)と、 当該編集時作業ファイル管理部で命令語作業ファイル又
はラダー図作業ファイルの内容を変更するときは、前記
全行管理テーブルに対して当該複写作業にかかるレコー
ドを当該複写作業で指定された行に追加すると共に、こ
の追加された行以降のレコードについて行を逐次ずらす
前記全行管理テーブル管理部(60)と、 を具備することを特徴とする請求項1記載のラダープロ
グラムの編集装置。
2. The ladder program editing apparatus according to claim 1, wherein when the editing work is a copying work, the command word to be copied is stored in the command word work file and the ladder diagram to be copied is displayed. The edit work file management unit (70) to be stored in the ladder diagram work file, and when changing the contents of the command word work file or the ladder diagram work file in the edit work file management unit, the all line management table is used. On the other hand, the all-row management table management unit (60) is provided for adding a record related to the copy operation to a line specified in the copy operation, and sequentially shifting rows for the records after the added line. The ladder program editing apparatus according to claim 1, wherein:
JP06087396A 1996-03-18 1996-03-18 Ladder program editing device Expired - Fee Related JP3422013B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06087396A JP3422013B2 (en) 1996-03-18 1996-03-18 Ladder program editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06087396A JP3422013B2 (en) 1996-03-18 1996-03-18 Ladder program editing device

Publications (2)

Publication Number Publication Date
JPH09251307A true JPH09251307A (en) 1997-09-22
JP3422013B2 JP3422013B2 (en) 2003-06-30

Family

ID=13154942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06087396A Expired - Fee Related JP3422013B2 (en) 1996-03-18 1996-03-18 Ladder program editing device

Country Status (1)

Country Link
JP (1) JP3422013B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6132107A (en) * 1984-07-23 1986-02-14 Toyoda Mach Works Ltd Programming device of programmable controller
JPH025102A (en) * 1988-06-23 1990-01-10 Fanuc Ltd Input system for pc rudder graphic
JPH04199330A (en) * 1990-11-29 1992-07-20 Yokogawa Electric Corp Engineering station
JPH04299705A (en) * 1991-03-28 1992-10-22 Yokogawa Electric Corp Ladder program converting method
JPH04338822A (en) * 1991-05-16 1992-11-26 Nec Software Kansai Ltd Control system for updated row of program
JPH06131011A (en) * 1992-10-20 1994-05-13 Honda Motor Co Ltd Ladder program generation supporting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6132107A (en) * 1984-07-23 1986-02-14 Toyoda Mach Works Ltd Programming device of programmable controller
JPH025102A (en) * 1988-06-23 1990-01-10 Fanuc Ltd Input system for pc rudder graphic
JPH04199330A (en) * 1990-11-29 1992-07-20 Yokogawa Electric Corp Engineering station
JPH04299705A (en) * 1991-03-28 1992-10-22 Yokogawa Electric Corp Ladder program converting method
JPH04338822A (en) * 1991-05-16 1992-11-26 Nec Software Kansai Ltd Control system for updated row of program
JPH06131011A (en) * 1992-10-20 1994-05-13 Honda Motor Co Ltd Ladder program generation supporting device

Also Published As

Publication number Publication date
JP3422013B2 (en) 2003-06-30

Similar Documents

Publication Publication Date Title
JP3422013B2 (en) Ladder program editing device
JP2677165B2 (en) E-book with resume function
JPH0581406A (en) Animation display processing device
JPH0228183B2 (en)
JPS6019251A (en) Document switch control system for document processing system
JP2000293519A (en) Document processor
JPH0254346A (en) File switching processing method
JP4420454B2 (en) Multimedia editing apparatus, multimedia editing method, program, and recording medium
JP2618865B2 (en) Information processing device
JPH04188277A (en) Picture retrieval method
JPS58211185A (en) Slit screen display control system
KR970000266B1 (en) Method for writing and reading a data in a memory
JPH05334357A (en) Page turning-over device for electronic file device
JPH022598A (en) Method and device for data editing
JP2714303B2 (en) Document creation device
JPS6051128B2 (en) Search data input method
JPH0244465A (en) Method for retrieving and correcting arbitrary character string
JPH05314343A (en) Picture changing system
JP2000090131A (en) Layer converting method for graphic data and recording medium recorded with layer converting program
JPH04233605A (en) Robot language editor
JPH06309159A (en) Program automatic generator
JPH0897992A (en) Image information management equipment
JPH08297666A (en) Editing canceler
JPS63195889A (en) Additional registration method for information
JPH0997254A (en) Document editing device and recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080425

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees