JP2003084813A - Editing device for ladder circuit and its editing method - Google Patents

Editing device for ladder circuit and its editing method

Info

Publication number
JP2003084813A
JP2003084813A JP2001279905A JP2001279905A JP2003084813A JP 2003084813 A JP2003084813 A JP 2003084813A JP 2001279905 A JP2001279905 A JP 2001279905A JP 2001279905 A JP2001279905 A JP 2001279905A JP 2003084813 A JP2003084813 A JP 2003084813A
Authority
JP
Japan
Prior art keywords
ladder
ladder circuit
search
circuit
result information
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
JP2001279905A
Other languages
Japanese (ja)
Inventor
Michiyuki Nakama
倫之 中間
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2001279905A priority Critical patent/JP2003084813A/en
Publication of JP2003084813A publication Critical patent/JP2003084813A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently search a desired circuit and to quickly display only the circuit necessary for the development of a ladder circuit to easily recognize the same. SOLUTION: The ladder circuit 100 satisfying a searching condition 110 is searched, the search result information 130 indicating whether the circuit is the ladder circuit satisfying the condition or not is produced, the ladder circuit 100 is converted into a constituent element 120, the search result information 130 is held while linked with the constituent element 120, the constituent element 120 linked with the search result information 130 is converted into each ladder circuit 100, and the converted ladder circuits 100 are respectively divided into the ladder circuit 100 satisfying the searching condition 110 of the search result information 130 and the ladder circuit 100 not satisfying the condition.

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 circuit editing apparatus applicable to a ladder circuit programming apparatus in a programmable controller (PLC), and an editing method thereof.

【0002】[0002]

【従来の技術】従来、ラダー回路の開発者は、ラダープ
ログラムの特定の命令又はアドレスを含む回路を表示す
るために、ラダー回路が表示された画面をスクロールし
たり、或いは、命令やアドレスの検索機能を用いること
によって該当個所にジャンプして表示させていた。
2. Description of the Related Art Conventionally, a developer of a ladder circuit scrolls a screen on which the ladder circuit is displayed or searches for an instruction or an address in order to display a circuit including a specific instruction or address of a ladder program. The function was used to jump to the relevant location and display it.

【0003】[0003]

【発明が解決しようとする課題】上述したような従来の
検索方法では、表示しようとする回路が現在の表示位置
から遠く離れている場合や、或いは、検索しようとする
アドレスを含む回路が多く存在するような場合、目的と
する回路を表示するために多くのキー操作を必要として
作業効率が悪かった。
In the conventional search method described above, there are many circuits in which the circuit to be displayed is far away from the current display position, or many circuits include the address to be searched. In such a case, many key operations are required to display the target circuit, resulting in poor work efficiency.

【0004】また、画面上には、必要とする回路以外
に、必要としない回路も同じ表現方式で表示されるた
め、その必要とする回路を認識しづらいという問題もあ
った。
In addition, on the screen, not only the necessary circuits but also the unnecessary circuits are displayed in the same expression system, which makes it difficult to recognize the necessary circuits.

【0005】そこで、本発明の目的は、所望の回路検索
を効率良く行うと共に、ラダー回路の開発に必要な回路
のみを迅速に表示して容易に認識することが可能な、ラ
ダー回路の編集装置、および、その編集方法を提供する
ことにある。
Therefore, an object of the present invention is to perform a desired circuit search efficiently and to quickly display and easily recognize only a circuit necessary for developing a ladder circuit, and an editing apparatus for a ladder circuit. , And to provide an editing method thereof.

【0006】[0006]

【課題を解決するための手段】本発明は、所望のラダー
回路を抽出して表示する装置であって、複数のラダー回
路、および、該各ラダー回路の検索条件を入力する入力
手段と、前記入力された検索条件に合致するラダー回路
を検索し、該検索条件に合致したラダー回路であるか否
かを示す検索結果情報を生成する検索手段と、前記ラダ
ー回路を構成要素に変換する第1の変換手段と、前記検
索によって生成された検索結果情報を、前記変換された
構成要素と関連付けして保持する保持手段と、前記検索
結果情報に関連付けされて保持された構成要素を、各ラ
ダー回路に変換する第2の変換手段と、前記変換された
各ラダー回路を、前記検索結果情報の検索条件に合致し
たラダー回路と合致していないラダー回路とに区別して
表示する表示手段とを具えることによって、ラダー回路
の編集装置を構成する。
The present invention is an apparatus for extracting and displaying a desired ladder circuit, and a plurality of ladder circuits, and an input means for inputting search conditions for each of the ladder circuits, and Retrieval means for retrieving a ladder circuit that matches the input search condition and generating search result information that indicates whether or not the ladder circuit matches the search condition, and first converting the ladder circuit into a constituent element. Converting means, holding means for holding the search result information generated by the search in association with the converted component, and component elements held in association with the search result information for each ladder circuit. Display means for displaying the converted ladder circuits by distinguishing the converted ladder circuits into ladder circuits that match the search conditions of the search result information and ladder circuits that do not match the search conditions. By comprising a constitute editing apparatus of the ladder circuit.

【0007】本発明は、所望のラダー回路を抽出して表
示する方法であって、複数のラダー回路、および、該各
ラダー回路の検索条件を入力する工程と、前記入力され
た検索条件に合致するラダー回路を検索し、該検索条件
に合致したラダー回路であるか否かを示す検索結果情報
を生成する工程と、前記ラダー回路を構成要素に変換す
る工程と、前記検索によって生成された検索結果情報
を、前記変換された構成要素と関連付けして保持する工
程と、前記検索結果情報に関連付けされて保持された構
成要素を、各ラダー回路に変換する工程と、前記変換さ
れた各ラダー回路を、前記検索結果情報の検索条件に合
致したラダー回路と合致していないラダー回路とに区別
して表示する工程とを具えることによって、ラダー回路
の編集方法を提供する。
The present invention is a method for extracting and displaying a desired ladder circuit, which comprises inputting a plurality of ladder circuits and search conditions for each ladder circuit, and matching the input search conditions. Searching for a ladder circuit to be generated, generating search result information indicating whether or not the ladder circuit matches the search condition, converting the ladder circuit into a constituent element, and the search generated by the search. A step of holding result information in association with the converted constituent element; a step of converting the constituent element held in association with the search result information into each ladder circuit; and each of the converted ladder circuits. And a step of displaying the ladder circuits that match the search condition of the search result information and the ladder circuits that do not match the search conditions, thereby providing a method for editing the ladder circuit. .

【0008】本発明は、所望のラダー回路を抽出して表
示制御するためのプログラムであって、該プログラム
は、コンピュータによって読み取り可能な記録媒体に記
録されており、複数のラダー回路、および、該各ラダー
回路の検索条件を入力する工程と、前記入力された検索
条件に合致するラダー回路を検索し、該検索条件に合致
したラダー回路であるか否かを示す検索結果情報を生成
する工程と、前記ラダー回路を構成要素に変換する工程
と、前記検索によって生成された検索結果情報を、前記
変換された構成要素と関連付けして保持する工程と、前
記検索結果情報に関連付けされて保持された構成要素
を、各ラダー回路に変換する工程と、前記変換された各
ラダー回路を、前記検索結果情報の検索条件に合致した
ラダー回路と合致していないラダー回路とに区別して表
示する工程とを具えることによって、ラダー回路の編集
制御プログラムを提供する。
The present invention is a program for extracting and controlling display of a desired ladder circuit, the program being recorded in a computer-readable recording medium, a plurality of ladder circuits, and A step of inputting a search condition for each ladder circuit, a step of searching a ladder circuit that matches the input search condition, and generating search result information indicating whether or not the ladder circuit matches the search condition. A step of converting the ladder circuit into a component, a step of holding the search result information generated by the search in association with the converted component, and a step of holding the search result information in association with the search result information. A step of converting the constituent element into each ladder circuit, and matching each of the converted ladder circuits with a ladder circuit that matches the search condition of the search result information. By comprising the step of displaying in distinction with no ladder circuit, it provides an editing control program of the ladder circuit.

【0009】本発明は、所望のラダー回路を抽出して表
示制御するためのプログラムを記録した媒体であって、
該制御プログラムはコンピュータに、複数のラダー回
路、および、該各ラダー回路の検索条件を入力させ、前
記入力された検索条件に合致するラダー回路を検索させ
て、該検索条件に合致したラダー回路であるか否かを示
す検索結果情報を生成させ、前記ラダー回路を構成要素
に変換させ、前記検索によって生成された検索結果情報
を、前記変換された構成要素と関連付けして保持させ、
前記検索結果情報に関連付けされて保持させた構成要素
を、各ラダー回路に変換させ、前記変換させた各ラダー
回路を、前記検索結果情報の検索条件に合致したラダー
回路と合致していないラダー回路とに区別して表示させ
ることによって、ラダー回路の編集制御プログラムを記
録した媒体を提供する。
The present invention is a medium in which a program for extracting a desired ladder circuit and controlling display is recorded.
The control program causes a computer to input a plurality of ladder circuits and search conditions for each of the ladder circuits, searches for a ladder circuit that matches the input search conditions, and uses the ladder circuits that match the search conditions. Generating search result information indicating whether or not there is, converting the ladder circuit into a constituent element, and holding the search result information generated by the search in association with the converted constituent element,
The ladder circuit that does not match the ladder circuit that matches the search condition of the search result information is converted into each ladder circuit, and the converted ladder circuit that is associated with the search result information and held A medium on which an edit control program for the ladder circuit is recorded is provided by displaying the edit control program separately.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0011】(概要)まず、本発明の概要について説明
する。本発明は、各種のラダー回路、および、命令種類
やアドレス等の検索条件を入力する手段を持たせ、その
検索条件により、プログラム全体に対して、検索条件に
合致するラダー回路および合致しないラダー回路を検索
し、検索した結果を検索結果情報(合致した回路、合致
しない回路であることがわかる情報)をラダー回路の構
成要素に関連付けして保持する手段を持たせたことに特
徴がある。
(Outline) First, an outline of the present invention will be described. The present invention has various ladder circuits and means for inputting search conditions such as an instruction type and an address, and according to the search conditions, a ladder circuit that matches the search conditions and a ladder circuit that does not match the entire program. Is provided, and search result information (information indicating that the circuit is a matched circuit or a circuit that is not matched) is associated with the search result information (a circuit that matches and a circuit that does not match) and held.

【0012】また、本発明は、ラダー回路を表示する場
合には、ラダー回路毎に表示方法を切り換える手段をも
たせ、保持された検索結果情報と合わせて、検索条件に
一致したラダー回路と一致していないラダー回路との表
示方法を区別して表示することに特徴がある。
Further, according to the present invention, when displaying a ladder circuit, a means for switching the display method is provided for each ladder circuit, and the stored search result information is combined with the ladder circuit that matches the search condition. The feature is that the display method is distinguished from the ladder circuit which is not displayed.

【0013】(具体例)次に、具体例を挙げて説明す
る。以下、本例では、プログラマブルコントローラ(以
下、PLCという)のラダー回路をプログラミングする
装置を例に挙げて説明する。
(Specific Example) Next, a specific example will be described. Hereinafter, in this example, an apparatus for programming a ladder circuit of a programmable controller (hereinafter referred to as PLC) will be described as an example.

【0014】(システム構成)図1は、ラダー回路を抽
出表示する編集装置の概略構成を示す。本装置は、入力
部1と、検索部2と、変換部3と、保持部4と、表示部
5とに大別される。
(System Configuration) FIG. 1 shows a schematic configuration of an editing device for extracting and displaying a ladder circuit. This device is roughly divided into an input unit 1, a search unit 2, a conversion unit 3, a holding unit 4, and a display unit 5.

【0015】入力部1は、各種のラダー回路100(こ
こでは、回路1、回路2、回路3)や、検索条件として
の検索キーワード110(すなわち、ラダープログラム
の特定の命令やアドレス等)を入力する機能をもつ。
The input unit 1 inputs various ladder circuits 100 (here, circuit 1, circuit 2 and circuit 3) and a search keyword 110 as a search condition (that is, a specific instruction or address of a ladder program). It has a function to do.

【0016】検索部2は、入力された検索キーワード1
10に合致するラダー回路100を検索し、検索キーワ
ード110に合致したラダー回路であるか否かを示す検
索結果情報130を生成する機能をもつ。
The search unit 2 receives the input search keyword 1
It has a function of searching the ladder circuit 100 that matches 10 and generating search result information 130 that indicates whether or not the ladder circuit 100 matches the search keyword 110.

【0017】変換部3は、各ラダー回路100から構成
要素120(すなわち、命令、オペランド等)への変換
処理、保持部4に保持された構成要素120から各ラダ
ー回路100への変換処理を行う機能をもつ。
The conversion unit 3 performs a conversion process from each ladder circuit 100 into a constituent element 120 (that is, an instruction, an operand, etc.) and a conversion processing from the constituent element 120 held in the holding unit 4 into each ladder circuit 100. It has a function.

【0018】保持部4は、ラダー回路100が変換部3
によって変換された構成要素120と、検索キーワード
110に合致したラダー回路であるか否かを示す検索結
果情報130とを比較・照合し、これら構成要素120
と検索結果情報130とを回路単位で関連付けして保持
する。
In the holding unit 4, the ladder circuit 100 is used by the conversion unit 3.
The component 120 converted by the above is compared and collated with the search result information 130 indicating whether or not the ladder circuit matches the search keyword 110, and these component 120
And the search result information 130 are associated and held for each circuit.

【0019】表示部5は、保持部4に保持された構成要
素120が変換部3によって変換されたラダー回路10
0を、検索結果情報130の検索条件に合致したラダー
回路100と合致していないラダー回路100とに区別
して表示する。例えば、目的とする検索条件に合致した
ラダー回路100は実線で表示し、合致していないラダ
ー回路100は破線で表示する。
The display unit 5 includes a ladder circuit 10 in which the component 120 held in the holding unit 4 is converted by the conversion unit 3.
0 is displayed separately for the ladder circuit 100 that matches the search condition of the search result information 130 and the ladder circuit 100 that does not match the search condition. For example, the ladder circuit 100 that matches the target search condition is displayed by a solid line, and the ladder circuit 100 that does not match is displayed by a broken line.

【0020】(システム動作)次に、本システムの動作
について説明する。図2は、抽出表示を行う処理を説明
するフローチャートである。以下、ステップS1〜ステ
ップS6に従って順次説明する。
(System Operation) Next, the operation of this system will be described. FIG. 2 is a flowchart illustrating a process of performing extraction display. Hereinafter, the steps S1 to S6 will be sequentially described.

【0021】(ステップS1:ラダー回路・検索条件の
入力処理)ステップS1では、回路設計に必要な各種の
ラダー回路100を入力する。そして、目的とする回路
を検索するに必要な検索キーワード110(検索条件)
を入力する。
(Step S1: Ladder Circuit / Search Condition Input Processing) In step S1, various ladder circuits 100 required for circuit design are input. Then, a search keyword 110 (search condition) necessary to search for a target circuit
Enter.

【0022】図3は、ラダー回路100の例を示す。ラ
ダー回路100は、左右の母線101と、命令等の構成
要素120とを線で結んだネットワークとして構成され
る。命令は、オペランド(PLCのアドレス或いは定
数)を含む。
FIG. 3 shows an example of the ladder circuit 100. The ladder circuit 100 is configured as a network in which left and right buses 101 and constituent elements 120 such as instructions are connected by a line. The instruction includes an operand (PLC address or constant).

【0023】このラダー回路100は、左右の母線10
1を除いて互いに接続されていない回路の集まりと考え
られる。例えば、ラダー回路100は、回路1と、回路
2と、回路3とによって構成される。各回路は、構成要
素120として命令とオペランドとによって構成され
る。
The ladder circuit 100 includes a busbar 10 on the left and right.
It is considered to be a group of circuits which are not connected to each other except 1. For example, the ladder circuit 100 includes a circuit 1, a circuit 2, and a circuit 3. Each circuit is composed of an instruction and an operand as a constituent element 120.

【0024】一方、ラダー回路100の開発者は、特定
の命令或いはアドレスを検索キーワード110にして、
回路を検索して表示させ、表示された回路のデバッグを
行うことが多いので、回路毎の命令やアドレスと、ラダ
ー回路100の作成者が検索キーワード110として使
う命令やアドレスとを比較することによって、表示した
い回路を抽出することが可能となる。
On the other hand, the developer of the ladder circuit 100 uses a specific command or address as the search keyword 110,
In many cases, a circuit is searched and displayed, and the displayed circuit is debugged. Therefore, by comparing the instruction or address for each circuit with the instruction or address used by the creator of the ladder circuit 100 as the search keyword 110. , It becomes possible to extract the circuit to be displayed.

【0025】(ステップS2:検索処理)ステップS2
では、入力された検索キーワード110に合致するラダ
ー回路100を検索し、検索キーワード110に合致し
たラダー回路100であるか否かを示す検索結果情報1
30を生成する。
(Step S2: Search Processing) Step S2
Then, the search result information 1 that indicates whether or not the ladder circuit 100 that matches the input search keyword 110 is searched and indicates whether the ladder circuit 100 matches the search keyword 110
Generate 30.

【0026】ここで、検索処理例について説明する。Here, an example of the search processing will be described.

【0027】図1に示す入力部1において、検索キーワ
ード110として「Y10」を入力し、検索部2におい
て抽出処理を実行すると、ラダー回路100の構成要素
120を回路毎に検索する。この検索により、回路2が
検索条件を満たすことがわかるので、回路2の抽出結果
を「含む」にし、それ以外の回路は「含まず」にする。
When "Y10" is input as the search keyword 110 in the input unit 1 shown in FIG. 1 and the extraction process is executed in the search unit 2, the constituent element 120 of the ladder circuit 100 is searched for each circuit. This search reveals that the circuit 2 satisfies the search condition. Therefore, the extraction result of the circuit 2 is set to “include” and the other circuits are set to “not include”.

【0028】また、検索条件として、「TO AND
TMR」のように、AND、ORといった論理式を用い
てより複雑な条件入力を可能にして検索処理を行うよう
にしてもよい。
As a search condition, "TO AND
You may make it possible to perform a more complicated condition input by using a logical expression such as AND and OR to perform the search processing.

【0029】(ステップS3:構成要素への変換処理)
ステップS3では、ラダー回路100を構成要素120
に変換する。
(Step S3: Conversion processing into constituent elements)
In step S3, the ladder circuit 100 is connected to the constituent element 120.
Convert to.

【0030】図4は、ラダー回路100の構成要素12
0を示す。各回路毎に、命令およびオペランドからなる
構成要素120が存在する。
FIG. 4 shows the components 12 of the ladder circuit 100.
Indicates 0. For each circuit, there is a component 120 consisting of instructions and operands.

【0031】(ステップS4:保持処理)ステップS4
では、検索キーワード110に合致したラダー回路10
0であるか否かを示す検索結果情報130を、変換され
た構成要素120と関連付けして保持する。
(Step S4: Hold Processing) Step S4
Then, the ladder circuit 10 that matches the search keyword 110
The search result information 130 indicating whether it is 0 is held in association with the converted component 120.

【0032】図5は、構成要素120を検索して抽出し
た結果を格納する保持部4の例を示す。
FIG. 5 shows an example of the holding unit 4 which stores the result of searching the component 120 and extracting it.

【0033】ここで、検索キーワード110としてアド
レスY10を用い、構成要素120を検索すると、アド
レスY10を含む回路2だけが抽出される。従って、こ
の検索による回路2の抽出結果情報130は、「含む」
になる。一方、回路1と回路3とは、アドレスY10を
含まないので、抽出結果情報130は、「含まない」に
なる。
When the address Y10 is used as the search keyword 110 and the component 120 is searched, only the circuit 2 including the address Y10 is extracted. Therefore, the extraction result information 130 of the circuit 2 by this search is “included”.
become. On the other hand, since the circuit 1 and the circuit 3 do not include the address Y10, the extraction result information 130 is “not included”.

【0034】(ステップS5:ラダー回路への変換処
理)ステップS5では、検索結果情報130に関連付け
されて保持された構成要素120を、各ラダー回路10
0に変換する。
(Step S5: Conversion Process to Ladder Circuit) In step S5, the constituent element 120 held in association with the search result information 130 is stored in each ladder circuit 10.
Convert to 0.

【0035】(ステップS6:表示処理)ステップS6
では、変換された各ラダー回路100を、検索結果情報
130の検索キーワード110に合致したラダー回路1
00と、合致していないラダー回路100とに区別して
表示する。
(Step S6: Display Processing) Step S6
Then, the converted ladder circuits 100 are matched with the search keyword 110 of the search result information 130.
00 and the ladder circuit 100 that does not match are displayed separately.

【0036】ここで、区別して表示する例について説明
する。
Here, an example of distinguishing and displaying will be described.

【0037】ラダー回路100の表示処理において、図
5の抽出結果情報130を基にして、抽出されなかった
回路の表示は行わずに抽出された回路のみの表示を行う
か、或いは、抽出された回路と抽出されなかった回路と
の両方を表示するがその表示方法を異ならせることによ
って、ラダー回路100の開発者が容易に必要とする回
路のみを容易に見つけることができる。
In the display process of the ladder circuit 100, based on the extraction result information 130 shown in FIG. 5, only the extracted circuits are displayed without displaying the unextracted circuits, or the extracted circuits are extracted. By displaying both the circuits and the circuits that have not been extracted, but by displaying the circuits differently, it is possible for the developer of the ladder circuit 100 to easily find only the circuits that are needed.

【0038】図6は、アドレスY10を検索キーワード
110として検索した場合の回路表示例を示す。
FIG. 6 shows a circuit display example when the address Y10 is searched as the search keyword 110.

【0039】抽出されなかった回路1と回路3とは点線
で表示し、抽出された回路2を実線で表示することによ
って、目的とするその抽出された回路2のみを容易に認
識することができる。なお、この実線と破線で区別する
他に、色、点滅表示、矢印表記、文字・記号等による表
示手段を適用してもよい。
By displaying the unextracted circuits 1 and 3 by dotted lines and by showing the extracted circuits 2 by solid lines, only the desired extracted circuit 2 can be easily recognized. . In addition to the distinction between the solid line and the broken line, display means such as color, blinking display, arrow notation, characters and symbols may be applied.

【0040】上述したように、プログラマブルコントロ
ーラのラダー回路のプログラミング装置において、プロ
グラムを構成する命令、および、命令のオペランドであ
るアドレスを検索条件として、この検索条件を満たすラ
ダー回路のみを抽出して表示、或いは、条件内容によっ
て表示方法を区別するようにしたので、回路検索を効率
良く行うことが可能となり、ラダー回路開発に必要な回
路のみを迅速に表示して、容易に認識することが可能と
なる。
As described above, in the programming device for the ladder circuit of the programmable controller, the instructions constituting the program and the address which is the operand of the instruction are used as search conditions, and only the ladder circuits satisfying the search conditions are extracted and displayed. Alternatively, the display method is differentiated according to the condition content, so that the circuit search can be efficiently performed, and only the circuits necessary for the ladder circuit development can be quickly displayed and easily recognized. Become.

【0041】[0041]

【発明の効果】以上説明したように、本発明によれば、
入力された検索条件に合致するラダー回路を検索するこ
とによって、合致したラダー回路であるか否かを示す検
索結果情報を生成し、ラダー回路を構成要素に変換し、
検索によって生成された検索結果情報を変換された構成
要素と関連付けして保持し、検索結果情報に関連付けさ
れて保持された構成要素を各ラダー回路に変換し、変換
された各ラダー回路を検索結果情報の検索条件に合致し
たラダー回路と合致していないラダー回路とに区別して
表示するようにしたので、回路表示のための検索条件を
指定するだけで、必要なラダー回路のみを表示でき、こ
れにより、従来のように命令やアドレスについて何回も
検索操作を必要とせず操作性を高め、作業効率を向上さ
せることができる。
As described above, according to the present invention,
By searching for a ladder circuit that matches the input search conditions, search result information indicating whether or not the ladder circuit matches is generated, and the ladder circuit is converted into a constituent element.
The search result information generated by the search is held in association with the converted constituent elements, the constituent elements held in association with the search result information are converted to each ladder circuit, and each converted ladder circuit is searched. Since the ladder circuits that match the information search conditions and the ladder circuits that do not match are displayed separately, you can display only the necessary ladder circuits by specifying the search conditions for circuit display. As a result, it is possible to improve operability and improve work efficiency without requiring a search operation for an instruction or an address many times as in the conventional case.

【0042】また、本発明によれば、検索条件に合致し
て抽出された回路と合致していない回路の表示方法が異
なり、検索抽出された回路のみを表示することができる
ので、開発者が必要とする回路を容易に認識することが
できる。
Further, according to the present invention, the method of displaying the circuits that match the search conditions and the circuits that do not match is different, and only the searched and extracted circuits can be displayed. The required circuit can be easily recognized.

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

【図1】本発明の実施の形態である、ラダー回路の編集
装置を示すブロック図である。
FIG. 1 is a block diagram showing an editing device for a ladder circuit according to an embodiment of the present invention.

【図2】本発明に係る抽出表示処理を示すフローチャー
トである。
FIG. 2 is a flowchart showing an extraction display process according to the present invention.

【図3】ラダー回路の例を示すブロック図である。FIG. 3 is a block diagram showing an example of a ladder circuit.

【図4】ラダー回路の構成要素を示すブロック図であ
る。
FIG. 4 is a block diagram showing components of a ladder circuit.

【図5】構成要素および抽出結果情報を保持する構成を
示すブロック図である。
FIG. 5 is a block diagram showing a configuration for holding a component and extraction result information.

【図6】回路表示の例を示すブロック図である。FIG. 6 is a block diagram showing an example of a circuit display.

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

1 入力部 2 検索部 3 変換部 4 保持部 5 表示部 100 ラダー回路 110 検索条件(検索キーワード) 120 構成要素 130 検索結果情報 1 Input section 2 Search section 3 converter 4 holding part 5 Display 100 ladder circuit 110 Search condition (search keyword) 120 components 130 Search result information

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 所望のラダー回路を抽出して表示する装
置であって、 複数のラダー回路、および、該各ラダー回路の検索条件
を入力する入力手段と、 前記入力された検索条件に合致するラダー回路を検索
し、該検索条件に合致したラダー回路であるか否かを示
す検索結果情報を生成する検索手段と、 前記ラダー回路を構成要素に変換する第1の変換手段
と、 前記検索によって生成された検索結果情報を、前記変換
された構成要素と関連付けして保持する保持手段と、 前記検索結果情報に関連付けされて保持された構成要素
を、各ラダー回路に変換する第2の変換手段と、 前記変換された各ラダー回路を、前記検索結果情報の検
索条件に合致したラダー回路と合致していないラダー回
路とに区別して表示する表示手段とを具えたことを特徴
とするラダー回路の編集装置。
1. A device for extracting and displaying a desired ladder circuit, comprising a plurality of ladder circuits, input means for inputting search conditions for each ladder circuit, and matching the input search conditions. Search means for searching the ladder circuit and generating search result information indicating whether or not the ladder circuit matches the search condition; first converting means for converting the ladder circuit into a constituent element; Holding means for holding the generated search result information in association with the converted constituent element, and second converting means for converting the constituent element held in association with the search result information into each ladder circuit. And a display unit for displaying the converted ladder circuits by distinguishing them between ladder circuits that match the search condition of the search result information and ladder circuits that do not match the search conditions. Ladder circuit editing device.
【請求項2】 所望のラダー回路を抽出して表示する方
法であって、 複数のラダー回路、および、該各ラダー回路の検索条件
を入力する工程と、 前記入力された検索条件に合致するラダー回路を検索
し、該検索条件に合致したラダー回路であるか否かを示
す検索結果情報を生成する工程と、 前記ラダー回路を構成要素に変換する工程と、 前記検索によって生成された検索結果情報を、前記変換
された構成要素と関連付けして保持する工程と、 前記検索結果情報に関連付けされて保持された構成要素
を、各ラダー回路に変換する工程と、 前記変換された各ラダー回路を、前記検索結果情報の検
索条件に合致したラダー回路と合致していないラダー回
路とに区別して表示する工程とを具えたことを特徴とす
るラダー回路の編集方法。
2. A method of extracting and displaying a desired ladder circuit, comprising a step of inputting a plurality of ladder circuits and search conditions of the respective ladder circuits, and a ladder matching the input search conditions. A step of searching the circuit and generating search result information indicating whether or not the ladder circuit matches the search condition; a step of converting the ladder circuit into a component; and a search result information generated by the search A step of holding the converted component in association with the converted component, a step of converting the component held in association with the search result information into each ladder circuit, and each converted ladder circuit, A method of editing a ladder circuit, further comprising a step of displaying a ladder circuit that matches a search condition of the search result information and a ladder circuit that does not match the search condition separately.
【請求項3】 所望のラダー回路を抽出して表示制御す
るためのプログラムであって、該プログラムは、コンピ
ュータによって読み取り可能な記録媒体に記録されてお
り、 複数のラダー回路、および、該各ラダー回路の検索条件
を入力する工程と、 前記入力された検索条件に合致するラダー回路を検索
し、該検索条件に合致したラダー回路であるか否かを示
す検索結果情報を生成する工程と、 前記ラダー回路を構成要素に変換する工程と、 前記検索によって生成された検索結果情報を、前記変換
された構成要素と関連付けして保持する工程と、 前記検索結果情報に関連付けされて保持された構成要素
を、各ラダー回路に変換する工程と、 前記変換された各ラダー回路を、前記検索結果情報の検
索条件に合致したラダー回路と合致していないラダー回
路とに区別して表示する工程とを具えたことを特徴とす
るラダー回路の編集制御プログラム。
3. A program for extracting and controlling display of a desired ladder circuit, the program being recorded on a computer-readable recording medium, the plurality of ladder circuits and each of the ladder circuits. Inputting a search condition for a circuit, searching for a ladder circuit that matches the input search condition, and generating search result information indicating whether or not the ladder circuit matches the search condition, Converting a ladder circuit into a constituent element; retaining search result information generated by the search in association with the converted constituent element; and retaining a constituent element associated with the search result information. Is converted into each ladder circuit, and each converted ladder circuit does not match the ladder circuit that matches the search condition of the search result information. An edit control program for a ladder circuit, which comprises a step of displaying the ladder circuit separately.
【請求項4】 所望のラダー回路を抽出して表示制御す
るためのプログラムを記録した媒体であって、 該制御プログラムはコンピュータに、 複数のラダー回路、および、該各ラダー回路の検索条件
を入力させ、 前記入力された検索条件に合致するラダー回路を検索さ
せて、該検索条件に合致したラダー回路であるか否かを
示す検索結果情報を生成させ、 前記ラダー回路を構成要素に変換させ、 前記検索によって生成された検索結果情報を、前記変換
された構成要素と関連付けして保持させ、 前記検索結果情報に関連付けされて保持させた構成要素
を、各ラダー回路に変換させ、 前記変換させた各ラダー回路を、前記検索結果情報の検
索条件に合致したラダー回路と合致していないラダー回
路とに区別して表示させることを特徴とするラダー回路
の編集制御プログラムを記録した媒体。
4. A medium in which a program for extracting and controlling display of a desired ladder circuit is recorded, wherein the control program inputs a plurality of ladder circuits and search conditions for each ladder circuit to a computer. Then, by searching the ladder circuit that matches the input search condition, to generate search result information indicating whether or not the ladder circuit that matches the search condition, converting the ladder circuit to a constituent element, The search result information generated by the search is held in association with the converted component, the component held in association with the search result information is converted into each ladder circuit, and the conversion is performed. A ladder characterized in that each ladder circuit is displayed separately as a ladder circuit that matches the search condition of the search result information and a ladder circuit that does not match the search condition. Medium recording circuit editing control program.
JP2001279905A 2001-09-14 2001-09-14 Editing device for ladder circuit and its editing method Pending JP2003084813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001279905A JP2003084813A (en) 2001-09-14 2001-09-14 Editing device for ladder circuit and its editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001279905A JP2003084813A (en) 2001-09-14 2001-09-14 Editing device for ladder circuit and its editing method

Publications (1)

Publication Number Publication Date
JP2003084813A true JP2003084813A (en) 2003-03-19

Family

ID=19103999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001279905A Pending JP2003084813A (en) 2001-09-14 2001-09-14 Editing device for ladder circuit and its editing method

Country Status (1)

Country Link
JP (1) JP2003084813A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092806A (en) * 2003-09-19 2005-04-07 Keyence Corp Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium
JP2008204254A (en) * 2007-02-21 2008-09-04 Koyo Electronics Ind Co Ltd Automatic circuit extraction method for ladder program
JP2009237691A (en) * 2008-03-26 2009-10-15 Fuji Electric Systems Co Ltd Software development-supporting system, program, and block diagram-searching method
WO2014167623A1 (en) * 2013-04-08 2014-10-16 三菱電機株式会社 Program chart display device, program chart display method, and program chart display program
DE112012005615B4 (en) * 2012-03-19 2016-05-04 Mitsubishi Electric Corporation Sequence program creation device
CN105717830A (en) * 2014-12-19 2016-06-29 发那科株式会社 Ladder Program Retrieval Device Capable Of Retrieving Ladder Circuits Based On Specified Signal Operation Conditions
DE102016104029A1 (en) 2015-03-13 2016-09-15 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program
JP6854982B1 (en) * 2020-03-26 2021-04-07 三菱電機株式会社 Programming support program, programming support device and programming support method
US11378928B2 (en) * 2018-03-14 2022-07-05 Omron Corporation Ladder diagram program generation assistance device, ladder diagram program generation assistance method, and recording medium
US12032937B2 (en) 2020-03-26 2024-07-09 Mitsubishi Electric Corporation Programming support program for preventing work efficiency from lowering as a result of conversion

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092806A (en) * 2003-09-19 2005-04-07 Keyence Corp Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium
JP2008204254A (en) * 2007-02-21 2008-09-04 Koyo Electronics Ind Co Ltd Automatic circuit extraction method for ladder program
JP2009237691A (en) * 2008-03-26 2009-10-15 Fuji Electric Systems Co Ltd Software development-supporting system, program, and block diagram-searching method
DE112012005615B4 (en) * 2012-03-19 2016-05-04 Mitsubishi Electric Corporation Sequence program creation device
JPWO2014167623A1 (en) * 2013-04-08 2017-02-16 三菱電機株式会社 Program graph display device, program graph display method, and program graph display program
WO2014167623A1 (en) * 2013-04-08 2014-10-16 三菱電機株式会社 Program chart display device, program chart display method, and program chart display program
JP5921765B2 (en) * 2013-04-08 2016-05-24 三菱電機株式会社 Program graph display device, program graph display method, and program graph display program
US10243566B2 (en) 2014-12-19 2019-03-26 Fanuc Corporation Ladder program retrieval device capable of retrieving ladder circuits based on specified signal operation conditions
JP2016118883A (en) * 2014-12-19 2016-06-30 ファナック株式会社 Ladder program retrieval system capable of retrieving ladder circuit according to arithmetic condition of designated signal
CN105717830A (en) * 2014-12-19 2016-06-29 发那科株式会社 Ladder Program Retrieval Device Capable Of Retrieving Ladder Circuits Based On Specified Signal Operation Conditions
DE102016104029A1 (en) 2015-03-13 2016-09-15 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program
US9766994B2 (en) 2015-03-13 2017-09-19 Fanuc Corporation Monitoring device with function of extracting and displaying branch circuit in ladder program
DE102016104029B4 (en) 2015-03-13 2019-02-07 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program
US11378928B2 (en) * 2018-03-14 2022-07-05 Omron Corporation Ladder diagram program generation assistance device, ladder diagram program generation assistance method, and recording medium
JP6854982B1 (en) * 2020-03-26 2021-04-07 三菱電機株式会社 Programming support program, programming support device and programming support method
US12032937B2 (en) 2020-03-26 2024-07-09 Mitsubishi Electric Corporation Programming support program for preventing work efficiency from lowering as a result of conversion

Similar Documents

Publication Publication Date Title
JP5769900B2 (en) Sequence program component creation program and sequence program component creation device
US7757025B2 (en) Programmable logic controller peripheral device and program creation method thereof
JPH0863346A (en) Program editing method and device therefor
JP2003084813A (en) Editing device for ladder circuit and its editing method
JP4420210B2 (en) Program development support apparatus and processing method
JP2007047849A (en) Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
JP2009245456A (en) Program development support device and processing method
JP2005173999A (en) Device, system and method for searching electronic file, program, and recording media
KR20010106422A (en) Ladder circuit editing device
JP3765299B2 (en) Information processing device
JP3890107B2 (en) Logic simulation result display method and logic simulation support apparatus
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JPS63182769A (en) Kanji input device
JP3158395B2 (en) Test execution flow creation device
JPH1021192A (en) Operation extraction system and macro generation system
JP2623106B2 (en) Computer system
JPH04148370A (en) Document processor
JPH0237466A (en) Information processing system
JP2004326161A (en) Device for editing sequence program
JPH04367029A (en) Programming device for programmable controller
JP3182250B2 (en) Automatic repetition detection input device
JP2010128682A (en) Graphic component search system, method, and program
JPH04259058A (en) Document processor with space deleting function
JP2007026182A (en) Editor for improving productivity of object oriented programming
JPH06231001A (en) Symbol name input device