JP2005092806A - Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium - Google Patents

Ladder diagram editing device, ladder diagram editing method, ladder diagram editing program and computer readable recording medium Download PDF

Info

Publication number
JP2005092806A
JP2005092806A JP2003329022A JP2003329022A JP2005092806A JP 2005092806 A JP2005092806 A JP 2005092806A JP 2003329022 A JP2003329022 A JP 2003329022A JP 2003329022 A JP2003329022 A JP 2003329022A JP 2005092806 A JP2005092806 A JP 2005092806A
Authority
JP
Japan
Prior art keywords
ladder diagram
ladder
character string
search
program
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
JP2003329022A
Other languages
Japanese (ja)
Other versions
JP4299620B2 (en
Inventor
Hiroshi Sasaki
弘志 佐々木
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2003329022A priority Critical patent/JP4299620B2/en
Publication of JP2005092806A publication Critical patent/JP2005092806A/en
Application granted granted Critical
Publication of JP4299620B2 publication Critical patent/JP4299620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ladder diagram editing device for easily confirming the use conditions of a character string related to retrieval as a list when a retrieval function is implemented. <P>SOLUTION: This ladder diagram editing device for editing a ladder diagram for program development of a programmable control device is provided with: a retrieval implementing part for retrieving a specific character string included in the program of the ladder diagram; a retrieval condition entering part for entering the character string related to retrieval to the retrieval implementing part; and a retrieval result graph display part for extracting a ladder line including the character string retrieved from the program of the ladder diagram by the retrieval implementing part, graphically displaying the ladder diagram of the ladder line as a list, and substantially preventing the display of the other ladder lines. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、プログラマブルコントロール装置等に使用されるラダー図を作成、編集するためのラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体に関する。   The present invention relates to a ladder diagram editing device, a ladder diagram editing method, a ladder diagram editing program, and a computer-readable recording medium for creating and editing a ladder diagram used in a programmable control device or the like.

プログラマブルコントローラ、プログラマブルロジックコントローラ、PLC、シーケンサ等と呼ばれるプログラマブルコントロール装置(以下、PLCという)による制御シーケンスを定めるプログラムには、ラダー図(ラダーダイヤグラム)形式やニモニック形式で記述される。ラダー図には、回路図がはしご状に描かれており、両端の垂直な二つの母線が動力をシンボリックに表わし、その間で水平に結ぶ平行な線上にリレー接点回路の動力の流れが示される。このようなラダー図を作成、編集するには、専用のラダー図編集装置やラダー図編集プログラムが使用される。一方、このようなシンボル表現と異なり、ニモニック形式は文字列で表現されるプログラミングコードである。プログラミング作業者はプログラムの表現形式としてラダー図形式あるいはニモニック形式を適宜選択し、必要に応じてニモニックコード形式で入力された命令語をラダー図形式に変換、あるいはその逆を行う。ラダー図編集装置やラダー図編集プログラムの中には、このような変換機能を備えているものがある。   A program for defining a control sequence by a programmable controller (hereinafter referred to as PLC) called a programmable controller, programmable logic controller, PLC, sequencer or the like is described in a ladder diagram (ladder diagram) format or a mnemonic format. In the ladder diagram, a circuit diagram is drawn in a ladder shape, and two vertical buses at both ends represent the power symbolically, and the power flow of the relay contact circuit is shown on a parallel line connecting horizontally between them. In order to create and edit such a ladder diagram, a dedicated ladder diagram editing device or a ladder diagram editing program is used. On the other hand, unlike such symbol expression, the mnemonic form is a programming code expressed by a character string. A programming operator appropriately selects a ladder diagram format or a mnemonic format as a program expression format, and converts an instruction word input in a mnemonic code format to a ladder diagram format or vice versa as necessary. Some ladder diagram editing apparatuses and ladder diagram editing programs have such a conversion function.

またラダー図編集装置は、デバッグ作業を容易にする等の目的で、作成されたラダー図に含まれる文字列を検索する機能を備えているものがある。従来の検索機能によれば、テキストエディタにおける文字列検索等と同様の手法で、ラダープログラム(制御手順プログラム)のテキストあるいはニモニック中から検索に係る文字列がどの位置で使用されているかを抽出し、抽出された行を検索結果として表示していた。   Some ladder diagram editing apparatuses have a function of searching for a character string included in a created ladder diagram for the purpose of facilitating debugging work or the like. According to the conventional search function, the position where the character string related to the search is used is extracted from the text or mnemonic of the ladder program (control procedure program) by the same method as the character string search in the text editor. The extracted lines were displayed as search results.

従来のラダー図編集プログラムでの文字列検索手法の一例を図1〜図3に基づいて説明する。ユーザは図1に示す入力画面から、検索のキーワードを指定する。ここでは、命令語およびオペランド欄で、検索したいデバイスを指定して一覧表示を押下する。すると、図2に示すようにラダープログラムあるいはニモニック中から該当するデバイスを含む位置が文字列として一覧で表示される。   An example of a character string search method in a conventional ladder diagram editing program will be described with reference to FIGS. The user designates a search keyword from the input screen shown in FIG. Here, in the instruction word and operand field, the device to be searched is specified and the list display is pressed. Then, as shown in FIG. 2, positions including the corresponding device from the ladder program or mnemonic are displayed in a list as a character string.

この状態で、一覧表から所望の行を選択すると、図3に示すようにラダー図が表示されると共に、選択された行の位置に移動する。このように検索対象のデバイスのあるセルにカーソルをジャンプさせることで、ラダー図上での位置を確認することができる。   In this state, when a desired row is selected from the list, a ladder diagram is displayed as shown in FIG. 3 and the selected row is moved to the position. In this way, the position on the ladder diagram can be confirmed by causing the cursor to jump to a cell where the device to be searched is located.

しかしながら、この方法では、検索に係るデバイス名等の文字列が使用されているラダー位置を図2の一覧等から把握することはできるものの、これがラダー図上でどのように使用されているかを確認することができないという問題があった。検索対象のデバイスがラダー図でどのような用途で使用されているかを確認するためには、図3のようにラダー図上の位置から周囲のデバイスや接続状態などを見て判断しなければならない。いいかえると、テキスト検索結果として一覧表示される文字列だけではデバイスの用途を確認できず、ラダー図上での使用状態を確認する必要がある。特にラダー図の全体を一画面で表示できない場合は、検索結果として表示された一覧の各行毎に、一々ラダー図の該当位置を表示させてその近辺を辿っていく必要があり、非常に手間がかかる作業であった。検索結果が多くなる程、この手間も著しくなる。ラダー図での文字列の検索は、検索に係る文字列がどのような用途で使用されているかを知ることが重要であるが、上述した従来の方法では検索された文字列の用途を一覧で確認できないという問題があった。
特開2003−84813号公報
However, in this method, although the ladder position where the character string such as the device name related to the search is used can be grasped from the list of FIG. 2, etc., it is confirmed how this is used on the ladder diagram. There was a problem that could not be done. In order to confirm the usage of the device to be searched for in the ladder diagram, it is necessary to judge by looking at surrounding devices and connection status from the position on the ladder diagram as shown in FIG. . In other words, it is not possible to confirm the usage of the device only with the character strings listed as the text search result, and it is necessary to confirm the usage state on the ladder diagram. In particular, if the entire ladder diagram cannot be displayed on one screen, it is necessary to display the corresponding position in the ladder diagram for each row of the list displayed as the search result and trace the vicinity. This was an operation. The more search results, the more this effort becomes. When searching for a character string in a ladder diagram, it is important to know what purpose the character string related to the search is used. However, in the conventional method described above, the use of the searched character string is listed. There was a problem that could not be confirmed.
JP 2003-84813 A

本発明は、このような問題点を解決するためになされたものである。本発明の主な目的は、検索に係る文字列の使用状況を一覧で確認することが容易なラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体を提供することにある。   The present invention has been made to solve such problems. A main object of the present invention is to provide a ladder diagram editing apparatus, a ladder diagram editing method, a ladder diagram editing program, and a computer-readable recording medium that can easily check a usage status of a character string related to a search in a list. There is.

上記の目的を達成するために、本発明の請求項1のラダー図編集装置は、プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集装置であって、ラダー図のプログラムに含まれる特定の文字列を検索するための検索実行部と、前記検索実行部に検索に係る文字列を入力するための検索条件入力部と、前記検索実行部でラダー図のプログラム中から検索された文字列を含むラダー行を抽出して該ラダー行のラダー図を図形的に一覧表示すると共に、他のラダー行を実質的に非表示とする検索結果グラフ表示部とを備えることを特徴とする。   To achieve the above object, a ladder diagram editing device according to claim 1 of the present invention is a ladder diagram editing device for editing a ladder diagram for program development of a programmable control device, and includes a ladder diagram program. A search execution unit for searching for a specific character string included therein, a search condition input unit for inputting a character string related to the search to the search execution unit, and a search performed from the ladder diagram program by the search execution unit And a search result graph display unit that extracts a ladder line including the character string and graphically displays a ladder diagram of the ladder line and substantially hides the other ladder lines. To do.

また、請求項2に記載のラダー図編集装置は、請求項1に記載のラダー図編集装置であって、さらに前記検索実行部でラダー図のプログラム中から検索された文字列を含む行を抽出して、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示する検索結果文字列表示部を備え、前記検索結果文字列表示部で一覧表示される検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して前記検索結果グラフ表示部で図形的に表示されることを特徴とする。   Further, the ladder diagram editing device according to claim 2 is the ladder diagram editing device according to claim 1, and further extracts a line including a character string retrieved from the ladder diagram program by the search execution unit. A search result character string display unit that displays a list of positions where the searched character string is included in the ladder program as a character string, and selects a desired line from the search results displayed in a list in the search result character string display unit. When is selected, the ladder line corresponding to the position of the selected line is extracted from the ladder diagram and displayed graphically on the search result graph display unit.

さらに、請求項3に記載のラダー図編集装置は、請求項1または2に記載のラダー図編集装置であって、前記検索結果グラフ表示部が、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで、該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とする。   Furthermore, the ladder diagram editing device according to claim 3 is the ladder diagram editing device according to claim 1 or 2, wherein the search result graph display unit includes a character string related to the search in the ladder diagram. By narrowing the display width of a ladder line that does not exist, a ladder diagram in which the ladder line is substantially hidden is displayed as a search result.

さらにまた、請求項4に記載のラダー図編集装置は、請求項3に記載のラダー図編集装置であって、前記検索結果グラフ表示部がグリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とする。   Furthermore, the ladder diagram editing device according to claim 4 is the ladder diagram editing device according to claim 3, wherein the search result graph display unit includes a character string related to the search using a grid control. Lines are displayed, and other ladder lines are substantially hidden.

さらにまた、請求項5に記載のラダー図編集装置は、請求項1から4のいずれかに記載のラダー図編集装置であって、前記検索条件入力部から入力する検索に係る文字列がデバイス名であることを特徴とする。   Furthermore, the ladder diagram editing apparatus according to claim 5 is the ladder diagram editing apparatus according to any one of claims 1 to 4, wherein a character string relating to a search input from the search condition input unit is a device name. It is characterized by being.

また、請求項6に記載のラダー図編集方法は、プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集方法であって、ラダー図のプログラムから検索対象として入力された文字列を検索するステップと、検索された文字列を含むラダー行をラダー図から抽出して図形的に一覧表示すると共に、他のラダー行を実質的に非表示とするステップとを備えることを特徴とする。   A ladder diagram editing method according to claim 6 is a ladder diagram editing method for editing a ladder diagram for program development of a programmable control device, wherein a character string input as a search target from the ladder diagram program And a step of extracting a ladder line including the searched character string from the ladder diagram and displaying it graphically as a list, and substantially hiding other ladder lines. To do.

さらに、請求項7に記載のラダー図編集方法は、請求項6に記載のラダー図編集方法であって、前記一覧表示するステップが、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示し、前記文字列で一覧表示された検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して図形的に表示するステップであることを特徴とする。   Further, the ladder diagram editing method according to claim 7 is the ladder diagram editing method according to claim 6, wherein the step of displaying the list includes a position where the searched character string is included in the ladder program as a character string. When a desired line is selected from the search results displayed in a list with the character string, the ladder line corresponding to the position of the selected line is extracted from the ladder diagram and displayed graphically. It is characterized by that.

さらにまた、請求項8に記載のラダー図編集方法は、請求項6または7に記載のラダー図編集方法であって、前記一覧表示するステップが、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とする。   Furthermore, the ladder diagram editing method according to claim 8 is the ladder diagram editing method according to claim 6 or 7, wherein the step of displaying the list includes a character string related to the search in the ladder diagram. A ladder diagram in which the ladder line is substantially hidden by narrowing the display width of the ladder line that is not displayed is displayed as a search result.

さらにまた、請求項9に記載のラダー図編集方法は、請求項8に記載のラダー図編集方法であって、前記一覧表示するステップが、グリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とする。   Furthermore, the ladder diagram editing method according to claim 9 is the ladder diagram editing method according to claim 8, wherein the step of displaying the list includes a character string related to a search using a grid control. Lines are displayed, and other ladder lines are substantially hidden.

さらにまた、請求項10に記載のラダー図編集方法は、請求項6から9のいずれかに記載のラダー図編集方法であって、検索に係る文字列がデバイス名であることを特徴とする。   Furthermore, a ladder diagram editing method according to a tenth aspect is the ladder diagram editing method according to any one of the sixth to ninth aspects, wherein a character string related to the search is a device name.

また、請求項11に記載のラダー図編集プログラムは、プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集プログラムであって、コンピュータにラダー図のプログラムから検索対象として入力された文字列を検索する機能と、検索された文字列を含むラダー行をラダー図から抽出して図形的に一覧表示すると共に、他のラダー行を実質的に非表示とする機能とを実現させることを特徴とする。   The ladder diagram editing program according to claim 11 is a ladder diagram editing program for editing a ladder diagram for program development of a programmable control device, and is input to a computer as a search target from the ladder diagram program. Realizing the function to search for a character string and the function to extract the ladder line including the searched character string from the ladder diagram and display it in a graphic list, and to substantially hide other ladder lines. It is characterized by.

さらに、請求項12に記載のラダー図編集プログラムは、請求項11に記載のラダー図編集プログラムであって、前記一覧表示する機能が、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示し、前記文字列で一覧表示された検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して図形的に表示する機能であることを特徴とする。   Furthermore, the ladder diagram editing program according to claim 12 is the ladder diagram editing program according to claim 11, wherein the function of displaying the list indicates a position where the searched character string is included in the ladder program as a character string. When a desired line is selected from the search results displayed in a list with the character string, the ladder line corresponding to the position of the selected line is extracted from the ladder diagram and displayed graphically. It is characterized by that.

さらにまた、請求項13に記載のラダー図編集プログラムは、請求項11または12に記載のラダー図編集プログラムであって、前記一覧表示する機能が、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とする。   Furthermore, the ladder diagram editing program according to claim 13 is the ladder diagram editing program according to claim 11 or 12, wherein the list display function includes a character string related to search in the ladder diagram. A ladder diagram in which the ladder line is substantially hidden by narrowing the display width of the ladder line that is not displayed is displayed as a search result.

さらにまた、請求項14に記載のラダー図編集プログラムは、請求項13に記載のラダー図編集プログラムであって、前記一覧表示する機能が、グリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とする。   Furthermore, the ladder diagram editing program according to claim 14 is the ladder diagram editing program according to claim 13, wherein the list display function includes a character string related to a search using a grid control. Lines are displayed, and other ladder lines are substantially hidden.

さらにまた、請求項15に記載のラダー図編集プログラムは、請求項11から14のいずれかに記載のラダー図編集プログラムであって、検索に係る文字列がデバイス名であることを特徴とする。   Furthermore, the ladder diagram editing program according to claim 15 is the ladder diagram editing program according to any one of claims 11 to 14, wherein the character string related to the search is a device name.

また、本発明の請求項16に記載されたコンピュータで読み取り可能な記録媒体は、請求項11から15のいずれかに記載されるラダー図編集プログラムを格納したものである。記録媒体には、CD−ROM、CD−R、CD−RWやフレキシブルディスク、磁気テープ、MO、DVD−ROM、DVD−RAM、DVD−R、DVD−RW、DVD+R、DVD+RW、blu−layディスク、AOD等の磁気ディスク、光ディスク、光磁気ディスク、半導体メモリその他のプログラムを格納可能な媒体が含まれる。また上記のプログラムは、ネットワークを介してダウンロード可能な形態も含まれる。   A computer-readable recording medium according to a sixteenth aspect of the present invention stores the ladder diagram editing program according to any one of the eleventh to fifteenth aspects. Recording media include CD-ROM, CD-R, CD-RW, flexible disk, magnetic tape, MO, DVD-ROM, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, Blu-ray disc, A medium such as an AOD magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like capable of storing a program is included. The above-mentioned program includes a form that can be downloaded via a network.

本発明のラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体によれば、検索機能を使って検索した文字列の検索結果から、各文字列のラダー図内での用途を容易に把握できるという優れた特長を実現する。それは、文字列の検索結果を文字列のみで表示するのでなく、実際のラダー図における接続形態で表示させるので、検索に係る文字列の前後でのデバイスや接続状態を確認でき、視覚的に用途を把握できるからである。特に、ラダー図全体を表示させるのでなく、検索に係る文字列を含む行のみを表示させることで、シンボリックなグラフ表現のままコンパクトに一覧表示を可能とし、ラダー図の表示スペースを有効利用することができる。また、ラダー図の表示にグリッドコントロールを使用することにより、検索結果の表示を簡素化できる。すなわち、検索結果に応じてラダー図から特定の要素を取捨選択して新たなラダー図を作成することなく、ラダー図全体を表示させつつ、検索対象外の行の表示幅を狭くすることで結果的に検索結果を含む行のみを表示させることができ、ラダー図表示のためのアルゴリズムを簡素化できる。本発明によれば、プログラミングの際に使用した文字列の用途をラダー図の要部一覧で直感的に確認し、ラダー図上から直接編集、変更できるので、デバッグ工数の削減でき、プログラミング作業が容易となる。   According to the ladder diagram editing device, the ladder diagram editing method, the ladder diagram editing program, and the computer-readable recording medium of the present invention, the search result of the character string searched using the search function can be used in the ladder diagram of each character string. Realizes the excellent feature of easily grasping the usage of It does not display the search result of the character string only by the character string, but displays it in the connection form in the actual ladder diagram, so the device and connection state before and after the character string related to the search can be confirmed and visually used. It is because it can grasp. In particular, it is possible to display the list compactly with symbolic graph expression by displaying only the lines containing the character string related to the search instead of displaying the entire ladder diagram, and effectively using the display space of the ladder diagram Can do. Moreover, the display of the search result can be simplified by using the grid control for displaying the ladder diagram. In other words, without creating a new ladder diagram by selecting specific elements from the ladder diagram according to the search results, while displaying the entire ladder diagram, narrowing the display width of the line not to be searched results Thus, only the lines including the search results can be displayed, and the algorithm for displaying the ladder diagram can be simplified. According to the present invention, the purpose of the character string used in programming can be intuitively confirmed in the list of main parts of the ladder diagram, and can be directly edited and changed from the ladder diagram. It becomes easy.

以下、本発明の実施の形態を図面に基づいて説明する。ただし、以下に示す実施の形態は、本発明の技術思想を具体化するためのラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体を例示するものであって、本発明はラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体を以下のものに特定しない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the following embodiments exemplify a ladder diagram editing device, a ladder diagram editing method, a ladder diagram editing program, and a computer-readable recording medium for embodying the technical idea of the present invention. The present invention does not specify a ladder diagram editing apparatus, a ladder diagram editing method, a ladder diagram editing program, and a computer-readable recording medium as follows.

また、本明細書は特許請求の範囲に示される部材を、実施の形態の部材に特定するものでは決してない。特に実施の形態に記載されている構成部品の寸法、材質、形状、その相対的配置等は特に特定的な記載がない限りは、本発明の範囲をそれのみに限定する趣旨ではなく、単なる説明例にすぎない。なお、各図面が示す部材の大きさや位置関係等は、説明を明確にするため誇張していることがある。さらに以下の説明において、同一の名称、符号については同一もしくは同質の部材を示しており、詳細説明を適宜省略する。さらに、本発明を構成する各要素は、複数の要素を同一の部材で構成して一の部材で複数の要素を兼用する態様としてもよいし、逆に一の部材の機能を複数の部材で分担して実現することもできる。   Further, the present specification by no means specifies the members shown in the claims to the members of the embodiments. In particular, the dimensions, materials, shapes, relative arrangements, and the like of the component parts described in the embodiments are not intended to limit the scope of the present invention unless otherwise specified, and are merely explanations. It's just an example. Note that the size, positional relationship, and the like of the members shown in each drawing may be exaggerated for clarity of explanation. Furthermore, in the following description, the same name and symbol indicate the same or the same members, and detailed description thereof will be omitted as appropriate. Furthermore, each element constituting the present invention may be configured such that a plurality of elements are constituted by the same member and the plurality of elements are shared by one member, and conversely, the function of one member is constituted by a plurality of members. It can also be realized by sharing.

本明細書においてラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体は、ラダー図の作成や編集、検索を行うシステムそのもの、ならびにラダー図の編集や検索に関連する入出力、表示、演算、通信その他の処理をハードウェア的に行う装置や方法に限定するものではない。ソフトウェア的に処理を実現する装置や方法も本発明の範囲内に包含する。例えば汎用の回路やコンピュータにソフトウェアやプログラム、プラグイン、オブジェクト、ライブラリ、アプレット、コンパイラ、モジュール、特定のプログラム上で動作するマクロ等を組み込んでラダー図の編集や検索そのものあるいはこれに関連する処理を可能とした汎用あるいは専用のコンピュータ、ワークステーション、端末、携帯型電子機器、PDCやCDMA、W−CDMA、FOMA(登録商標)、GSM、IMT2000や第4世代等の携帯電話、PHS、PDA、ページャ、スマートフォンその他の電子デバイスも、本発明のラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体の少なくともいずれかに含まれる。また本明細書においては、プログラム自体もラダー図編集装置に含むものとする。また本プログラムは単体で使用するものに限られず、特定のコンピュータプログラムやソフトウェア、サービス等の一部として機能する態様や、必要時に呼び出されて機能する態様、OS等の環境においてサービスとして提供される態様、環境に常駐して動作する態様、バックグラウンドで動作する態様やその他の支援プログラムという位置付けで使用することもできる。   In this specification, the ladder diagram editing apparatus, the ladder diagram editing method, the ladder diagram editing program, and the computer-readable recording medium are related to the system for creating, editing, and searching the ladder diagram, and the ladder diagram editing and searching. However, the present invention is not limited to devices and methods that perform input / output, display, calculation, communication, and other processes to be performed in hardware. An apparatus and method for realizing processing by software are also included in the scope of the present invention. For example, a general-purpose circuit or computer can be incorporated with software, programs, plug-ins, objects, libraries, applets, compilers, modules, macros that run on specific programs, etc. General-purpose or dedicated computers, workstations, terminals, portable electronic devices, PDC, CDMA, W-CDMA, FOMA (registered trademark), GSM, IMT2000, fourth generation mobile phones, PHS, PDAs, pagers A smart phone and other electronic devices are also included in at least one of the ladder diagram editing apparatus, the ladder diagram editing method, the ladder diagram editing program, and the computer-readable recording medium of the present invention. In this specification, it is assumed that the program itself is included in the ladder diagram editing apparatus. In addition, this program is not limited to the one used alone, but is provided as a service in an environment that functions as a part of a specific computer program, software, service, etc., an aspect that is called and functions when necessary, and an environment such as an OS. It can also be used as a mode, a mode that operates resident in the environment, a mode that operates in the background, and other support programs.

本発明の実施の形態において使用されるラダー図編集装置とこれに接続される操作、制御、表示、その他の処理等のためのコンピュータ、プリンタ、外部記憶装置その他の周辺機器との接続は、例えばIEEE1394、RS−232xやRS−422、USB等のシリアル接続、パラレル接続、あるいは10BASE−T、100BASE−TX、1000BASE−T等のネットワークを介して電気的、あるいは磁気的、光学的に接続して通信を行う。接続は有線を使った物理的な接続に限られず、IEEE802.1x、OFDM方式等の無線LANやBluetooth等の電波、赤外線、光通信等を利用した無線接続等でもよい。さらにデータの交換や設定の保存等を行うための記録媒体には、メモリカードや磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等が利用できる。なお本明細書においてラダー図編集装置とは、ラダー図編集装置本体のみならず、これにコンピュータ、外部記憶装置等の周辺機器を組み合わせた制御システムも含む意味で使用する。   The ladder diagram editing apparatus used in the embodiment of the present invention is connected to a computer, a printer, an external storage device and other peripheral devices for operation, control, display, and other processing connected thereto. IEEE1394, RS-232x, RS-422, serial connection such as USB, parallel connection, or electrical, magnetic, or optical connection via a network such as 10BASE-T, 100BASE-TX, 1000BASE-T Communicate. The connection is not limited to a physical connection using a wire, but may be a wireless connection using a wireless LAN such as IEEE 802.1x or OFDM, radio waves such as Bluetooth, infrared rays, optical communication, or the like. Furthermore, a memory card, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like can be used as a recording medium for exchanging data or storing settings. In this specification, the ladder diagram editing device is used to include not only a ladder diagram editing device body but also a control system in which peripheral devices such as a computer and an external storage device are combined.

図4に、ラダー図編集装置を接続した制御システムの一例を示す。この図に示す制御システムは、ラダー図編集装置を構成するラダー図編集プログラムを備えるコンピュータ1と、PLC2と、表示器3を備える。   FIG. 4 shows an example of a control system to which a ladder diagram editing device is connected. The control system shown in this figure includes a computer 1 having a ladder diagram editing program that constitutes a ladder diagram editing device, a PLC 2, and a display 3.

PLC2は制御対象機器である入出力機器4を接続し、これらを制御する装置である。PLC2は、内蔵するCPU部によって制御機能プログラムに従い、ラダー図編集プログラムで作成されたラダープログラムで定められた手順で、入出力機器4の動作を制御する。   The PLC 2 is a device that connects and controls the input / output device 4 that is the device to be controlled. The PLC 2 controls the operation of the input / output device 4 in accordance with a procedure defined by the ladder program created by the ladder diagram editing program according to the control function program by the built-in CPU unit.

表示器3は、PLC2に接続され、PLC2やPLC2で制御される入出力機器4の動作状態を設定し表示する。また表示器3には、制御対象機器を接続するための入出力ユニットなどを搭載することによってPLCの制御機能を備えたプログラマブル表示器を使用しても良い。あるいはソフトウェアで動作するいわゆるオープンコントローラ(ソフトウェアPLC)とすることもできる。   The display 3 is connected to the PLC 2 and sets and displays the operating state of the input / output device 4 controlled by the PLC 2 or the PLC 2. Moreover, you may use the programmable indicator provided with the control function of PLC by mounting the input / output unit etc. for connecting a control object apparatus to the indicator 3. FIG. Or what is called an open controller (software PLC) which operate | moves with software can also be used.

ラダー図編集プログラムを備えるコンピュータ1は、汎用的なコンピュータであり、CPU5、メモリ部6、表示部7、入力デバイス8、外部記憶部9、インターフェース部10を備えている。CPU5は、コンピュータ1にインストールされているOS(オペレーティングシステム)上でラダー図編集プログラムを含む各種のアプリケーションプログラムを動作させる際の各部の制御や演算処理を行う。メモリ部6は、RAM、ROMなどのメモリを備えており、データの格納、一時的なデータ記憶、CPUの演算処理時における作業エリアの提供といった役割を果たしている。   A computer 1 including a ladder diagram editing program is a general-purpose computer, and includes a CPU 5, a memory unit 6, a display unit 7, an input device 8, an external storage unit 9, and an interface unit 10. The CPU 5 performs control and arithmetic processing of each unit when operating various application programs including a ladder diagram editing program on an OS (operating system) installed in the computer 1. The memory unit 6 includes a memory such as a RAM and a ROM, and plays a role of storing data, temporarily storing data, and providing a work area during the arithmetic processing of the CPU.

表示部7は、CRT、LCD、あるいは液晶パネルやELパネルのような平板型表示素子によって構成されている。入力デバイス8は、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI環境下で動作するラダー図編集プログラムでの入力作業にはマウスなどのポインティングデバイスが好適である。外部記憶部9は、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブといった装置であり、少なくとも、記録媒体11に記録されたラダー図編集プログラムなどの情報を読み出すことができる装置を含んでいる。インターフェース部10は、表示器3やPLC2との間でデータ通信を行う入出力部である。ラダー図編集プログラムで作成されたラダープログラムは、このインターフェース部10を介してPLC2に転送され、PLC2内のメモリにダウンロードされる。   The display unit 7 is configured by a flat panel display element such as a CRT, LCD, liquid crystal panel, or EL panel. The input device 8 is an apparatus for performing an input operation such as a keyboard and a mouse. In particular, a pointing device such as a mouse is suitable for an input operation using a ladder diagram editing program operating under a GUI environment. The external storage unit 9 is a device such as a magnetic disk drive such as a hard disk device or an optical disk drive such as a CD-ROM drive, and at least a device that can read information such as a ladder diagram editing program recorded in the recording medium 11. Contains. The interface unit 10 is an input / output unit that performs data communication with the display 3 and the PLC 2. The ladder program created by the ladder diagram editing program is transferred to the PLC 2 via the interface unit 10 and downloaded to the memory in the PLC 2.

上記のコンピュータ1にインストールされて実行されるラダー図編集プログラム12は、検索機能を備える。検索機能は、コンピュータ1内にソフトウェア的に実現される検索条件入力部13と検索実行部14とで実行される。これらの処理は、実質的にはコンピュータ1のCPU5で実行される。   The ladder diagram editing program 12 installed and executed on the computer 1 has a search function. The search function is executed by the search condition input unit 13 and the search execution unit 14 which are realized in the computer 1 as software. These processes are substantially executed by the CPU 5 of the computer 1.

[ユーザインターフェース]
図5は、ラダー図編集プログラムの一インターフェース画面を示す。この図に示す画面は、ツリー表示部15と、ラダー図表示部16と、検索結果文字列表示部17を備える。なお、これらの画面において各入力欄や各ボタン等の配置、形状、表示の仕方、サイズ、配色、模様等は適宜変更できることはいうまでもない。デザインの変更によってより見やすく、評価や判断が容易な表示としたり操作しやすいレイアウトとすることもできる。例えば検索条件をウィザード形式で入力させるようにして、ユーザは質問に答えていくだけで必要な設定ができるようにしても良い。また、本明細書の説明では検索結果を別ウィンドウで表示させている場合や同一ウィンドウ内に表示している場合があるが、いずれか一方に変更したり両者を併用させても利用できることはいうまでもない。
[User interface]
FIG. 5 shows an interface screen of the ladder diagram editing program. The screen shown in this figure includes a tree display unit 15, a ladder diagram display unit 16, and a search result character string display unit 17. In these screens, it goes without saying that the arrangement, shape, display method, size, color scheme, pattern, etc. of the input fields and buttons can be changed as appropriate. By changing the design, the layout can be made easier to display, easier to evaluate and judge, and easy to operate. For example, the search conditions may be input in a wizard format so that the user can make the necessary settings simply by answering the question. In the description of this specification, the search result may be displayed in a separate window or in the same window, but it can be used by changing to either one or using both together. Not too long.

これらのプログラムのユーザインターフェース画面において、仮想的に設けられたボタン類や入力欄に対するON/OFF操作、数値や命令入力等の指定は、ラダー図編集プログラムをインストールされたコンピュータ1に設けられた入力デバイスで行う。本明細書において「押下する」とは、ボタン類に物理的に触れて操作する他、入力デバイスによりクリックあるいは選択して擬似的に押下することを含む。入出力デバイスはコンピュータ1と有線もしくは無線で接続され、あるいはコンピュータ1に固定されている。一般的な入力デバイスとしては、例えばマウスやキーボード、スライドパッド、トラックポイント、タブレット、ジョイスティック、コンソール、ジョグダイヤル、デジタイザ、ライトペン、テンキー、タッチパッド、アキュポイント等の各種ポインティングデバイスが挙げられる。また、インターフェース画面を表示する表示部自体にタッチスクリーンやタッチパネルを利用して、画面上をユーザが手で直接触れることにより入力や操作を可能としたり、または音声入力その他の既存の入力手段を利用、あるいはこれらを併用することもできる。   On the user interface screens of these programs, on / off operations for numerically provided buttons and input fields, numerical values, command inputs, and the like are specified by the input provided on the computer 1 on which the ladder diagram editing program is installed. Do it on the device. In this specification, “pressing” includes not only physically touching and operating buttons, but also clicking or selecting with an input device for pseudo-pressing. The input / output device is connected to the computer 1 by wire or wirelessly, or is fixed to the computer 1. Examples of general input devices include various pointing devices such as a mouse, keyboard, slide pad, track point, tablet, joystick, console, jog dial, digitizer, light pen, numeric keypad, touch pad, and accu point. In addition, using a touch screen or touch panel on the display unit itself that displays the interface screen, the user can directly input and operate the screen by hand, or use voice input or other existing input means. Or these can also be used together.

なお、ラダー図編集プログラムをインストールされたコンピュータ1に接続された入出力デバイスから設定を行う態様の他、ラダー図編集プログラムやハードウェアをPLCに組み込み、PLC側で設定を行えるようにしても良い。この場合、入出力デバイスはPLCに設けられあるいは接続され、必要に応じて表示器やモニタ等が接続される。   In addition to an aspect in which the ladder diagram editing program is set from an input / output device connected to the computer 1 on which the ladder diagram editing program is installed, a ladder diagram editing program or hardware may be incorporated in the PLC so that the setting can be performed on the PLC side. . In this case, the input / output device is provided in or connected to the PLC, and a display, a monitor, or the like is connected as necessary.

[ツリー表示部15]
ツリー表示部15は、編集対象のユニットの設定や各モジュールを表示する。ここから、メインの作業領域であるラダー図表示部16で表示、編集等の作業を行いたい項目を選択する。選択された項目はハイライト表示されるとともに、選択された項目に応じてラダー図表示部16での表示内容が切り替えられる。
[Tree display section 15]
The tree display unit 15 displays the setting of the unit to be edited and each module. From here, an item to be displayed or edited on the ladder diagram display unit 16 which is the main work area is selected. The selected item is highlighted, and the display content on the ladder diagram display unit 16 is switched according to the selected item.

[検索結果文字列表示部17]
検索結果文字列表示部17は、検索機能実行時に検索対象の文字列を含む行を一覧で表示するための領域である。検索は、文字列の検索であるため、プログラムをシンボルで表示するラダー図よりも文字列で表示するニモニック形式で行うのが好ましい。文字列の検索には既存のテキストエディタなどで利用される既知の手法や将来開発される文字列検索の手法が適宜利用できる。例えば大文字小文字、全角半角、長音記号の有無などの表記ゆれを考慮した曖昧検索、複数の検索キーワードによるAND検索やOR検索、NOT検索やGREP検索などが適宜利用できる。検索したい文字列としては、例えば命令語、デバイス名やPLCのアドレス、定数等のオペランド、コメント文等が挙げられる。また検索条件の指定には、範囲指定やワイルドカード、正規表現なども適宜採用できる。
[Search result character string display unit 17]
The search result character string display unit 17 is an area for displaying a list of lines including character strings to be searched when executing the search function. Since the search is a search for a character string, it is preferable to perform the search in a mnemonic format that displays a program as a character string rather than a ladder diagram that displays a program as a symbol. A known method used in an existing text editor or a character string search method developed in the future can be used as appropriate for the character string search. For example, an ambiguous search that takes into account fluctuations such as upper / lower case letters, full-width / half-width characters, the presence or absence of a long sound symbol, an AND search or OR search using a plurality of search keywords, a NOT search, or a GREP search can be used as appropriate. Examples of character strings to be searched include command words, device names, PLC addresses, operands such as constants, comment sentences, and the like. In addition, a range specification, a wild card, a regular expression, or the like can be adopted as appropriate for specifying a search condition.

検索結果文字列表示部17は、図5に示すように画面の下部に一体的に表示する方式の他、図2で示すように別ウィンドウで表示させることもできる。さらに、検索実行時に検索結果文字列表示部17と、後述する検索結果グラフ表示部を同時に表示させる他、いずれか一方のみを表示させるように設定したり、あるいは検索結果を検索結果文字列表示部と検索結果グラフ表示部で切り替えて表示するように構成することもできる。   The search result character string display unit 17 can be displayed in a separate window as shown in FIG. 2 in addition to the method of integrally displaying at the bottom of the screen as shown in FIG. Further, when the search is executed, the search result character string display unit 17 and the search result graph display unit described later are displayed at the same time, or only one of them is set to be displayed, or the search result is displayed as the search result character string display unit. And the search result graph display unit can be switched and displayed.

[ラダー図表示部16]
ラダー図表示部16は、編集対象のラダー図を表示する領域である。ラダー図の全体がラダー図表示部16の表示領域に収まらないときは、画面をスクロールして全体を表示する。あるいは表示倍率を変更することもできる。
[Ladder diagram display unit 16]
The ladder diagram display unit 16 is an area for displaying a ladder diagram to be edited. When the entire ladder diagram does not fit within the display area of the ladder diagram display unit 16, the entire screen is scrolled to display it. Alternatively, the display magnification can be changed.

[検索結果グラフ表示部]
またラダー図表示部16は、検索実行時には検索結果グラフ表示部として機能する。すなわち、検索を実行した際には検索対象として指定された文字列を含むラダー行のみを表示する。検索結果グラフ表示部を表示した状態を図5に示す。この図においては、検索結果文字列表示部17で表示される検索結果と対応するラダー行を通常表示とし、検索条件に合致しないラダー行は狭く表示している。これによって、検索結果グラフ表示部の表示スペースを有効に利用して検索に係るラダー行を効率よく表示できる。検索条件に合致しないラダー行は、表示幅を狭くしているので内容を確認できず、実質的には表示していない状態である。図5の例では、ラダー行の番号が確認できる表示幅としているが、表示幅をより狭くして目立たなくしたり、全く表示しない状態とすることもできる。
検索結果文字列表示部17で表示される検索結果の内から所望の行を選択してマウスのダブルクリックなどの所定の動作を行うと、検索結果グラフ表示部で該当する位置にカーソルがジャンプする。これによって作業者は検索したい文字列、例えばデバイスがラダー図上でどのように利用されているか、その用途をラダー図上から視覚的に把握できる。
[Search result graph display area]
In addition, the ladder diagram display unit 16 functions as a search result graph display unit during search execution. That is, when the search is executed, only the ladder line including the character string designated as the search target is displayed. FIG. 5 shows a state where the search result graph display section is displayed. In this figure, ladder lines corresponding to the search results displayed on the search result character string display unit 17 are normally displayed, and ladder lines that do not match the search conditions are narrowly displayed. Thereby, it is possible to efficiently display the ladder line related to the search by effectively using the display space of the search result graph display unit. Ladder lines that do not match the search condition are in a state where the content cannot be confirmed because the display width is narrowed and the content is not substantially displayed. In the example of FIG. 5, the display width is such that the ladder row number can be confirmed. However, the display width can be made narrower to make it inconspicuous or not displayed at all.
When a desired line is selected from the search results displayed in the search result character string display unit 17 and a predetermined operation such as a double click of the mouse is performed, the cursor jumps to the corresponding position in the search result graph display unit. . As a result, the operator can visually grasp the character string to be searched, for example, how the device is used on the ladder diagram, and its use from the ladder diagram.

従来の検索方法では、検索の際にラダー図を加工することなく、指定した文字列に該当するラダー図上の位置にカーソルがジャンプするだけであった。この方法ではラダー図はそのまま表示されているため、ラダー図全体が一画面で表示できない場合は検索結果が一箇所乃至数カ所のみしか表示できず、検索したいデバイスの意味を把握するためには、検索結果文字列表示部17の一覧を行毎にクリックして個別に確認作業を行う必要があった。特に上述のように一画面でラダー図の全体を表示できない場合は、画面をスクロールして検索位置を表示させるか、ラダー図を縮小して表示させる必要があり、いずれも多くのキー操作が必要となり作業効率が悪く不便であった。一方で、検索したいデバイスの意味を把握するためにはラダー図の全体を表示する必要はなく、所望のデバイスを含む行のみを表示させれば足りる。そこで本実施の形態では、検索に係る文字列を含むラダー行に表示スペースを割き、検索条件に該当しないラダー行を狭くしている。これによればラダー図の必要部分のみをコンパクトに表示できるので、限られた表示スペースを効率的に利用できる。   In the conventional search method, the cursor only jumps to the position on the ladder diagram corresponding to the designated character string without processing the ladder diagram during the search. In this method, the ladder diagram is displayed as it is, so if the entire ladder diagram cannot be displayed on one screen, only one or a few search results can be displayed. To understand the meaning of the device you want to search, It was necessary to individually check the result character string display portion 17 by clicking on the list for each row. In particular, if the entire ladder diagram cannot be displayed on a single screen as described above, it is necessary to scroll the screen to display the search position or to display the ladder diagram in a reduced size, which requires many key operations. The work efficiency was poor and inconvenient. On the other hand, in order to grasp the meaning of the device to be searched, it is not necessary to display the entire ladder diagram, and it is sufficient to display only the line including the desired device. Therefore, in the present embodiment, a display space is allocated to a ladder line including a character string related to the search, and a ladder line that does not satisfy the search condition is narrowed. According to this, since only a necessary portion of the ladder diagram can be displayed in a compact manner, a limited display space can be used efficiently.

検索結果グラフ表示部におけるラダー図の表示の方法は、検索条件に該当するラダー行のみを抽出して表示する他、検索条件に該当しないラダー行のみを非表示とする方法も利用できる。ここで非表示とは、実質的な表示を行わない意味であり、例えば表示欄を省略する他、表示幅を狭くしたり圧縮、トリミングする等して文字や図形が判別できない状態とすることも含む。   As a method of displaying a ladder diagram in the search result graph display section, only a ladder line corresponding to the search condition is extracted and displayed, or only a ladder line not corresponding to the search condition can be hidden. Here, “non-display” means that substantial display is not performed. For example, in addition to omitting the display column, the display width may be narrowed, compressed, trimmed, or the like so that characters and figures cannot be distinguished. Including.

[グリッドコントロール]
検索条件に該当しないラダー行を非表示とする方法は、例えばGUIによるプログラムの表示形態においてはグリッドコントロールやリストコントロール等を利用することで比較的容易に実現できる。グリッドコントロールは、データをグリッドと呼ばれる格子状に表示したり編集する手法である。格子を使って配列状に表示されるデータを扱う際には、配列を構成する特定の行や列について、削除、再配置、幅の調整などが可能となる。
[Grid control]
A method of hiding ladder lines that do not meet the search conditions can be realized relatively easily by using a grid control, a list control, or the like in a program display mode using a GUI, for example. Grid control is a technique for displaying and editing data in a grid called a grid. When handling data displayed in an array using a grid, it is possible to delete, rearrange, adjust the width, etc. for specific rows and columns constituting the array.

これを検索結果の表示に利用することで、検索結果のラダー図を表示するためのアルゴリズムを簡素化することができる。すなわち、表示したくない行について表示幅を0に近付け、表示したい行は通常表示とすることで、結果として任意の行のみを表示させることが可能となる。これによって、検索結果のラダー図を表示させる際に検索対象の文字列を含む行はそのまま維持し、検索対象の文字列を含まない行については表示幅をほぼ0とすることで、検索対象の文字列を含む行のみのラダー図として検索結果グラフ表示部に表示することができる。この方法であれば、グリッドの表示幅のみを変更することで検索結果に応じてラダー図として表示できる一方、ラダー図を加工、成形することなくラダー図全体を表示させているため、画面表示のアルゴリズムの簡素化できる。特に検索実行の都度ラダー図中から特定の構成要素を取捨選択して新たなラダー図を作成し検索結果として表示するようなアルゴリズムを作成、実行する必要がないので、工数を減らして簡易なプログラムとすることができる。   By using this for displaying the search result, the algorithm for displaying the ladder diagram of the search result can be simplified. That is, it is possible to display only an arbitrary line as a result by bringing the display width close to 0 for a line that is not to be displayed and displaying the line that is to be displayed as a normal display. Thus, when the ladder diagram of the search result is displayed, the line including the character string to be searched is maintained as it is, and the display width of the line not including the character string to be searched is set to approximately 0, so that the search target It can be displayed on the search result graph display section as a ladder diagram of only lines including character strings. With this method, it is possible to display a ladder diagram according to the search result by changing only the display width of the grid, but the entire ladder diagram is displayed without processing and shaping the ladder diagram. The algorithm can be simplified. In particular, it is not necessary to create and execute an algorithm that creates a new ladder diagram by selecting specific components from the ladder diagram each time a search is executed, and displays it as a search result. It can be.

上記のラダー図編集プログラムは、以下のようにして検索を実行する。
(1)検索機能を呼び出すと、図1の検索条件入力部が表示され、この画面から検索条件を指定する。ここではデバイスを検索するために、命令語とオペランドで検索したいデバイスを特定する。必要に応じて、検索範囲をプロジェクト全体かモジュール/マクロ単位か、あるいは検索方向を上方向か下方向かなどを指定できる。また検索された構成要素を置換したり、a−b接点変換なども実行することができる。これらの機能は、図1の画面からタブで切り替える。条件の指定が完了すると、「一覧表示」ボタン28を押下する。これによって、指定された検索条件で検索が実行される。なお「実行」ボタン29を押下すると、ラダー図表示部16において現在のカーソル位置から最も近い位置にある検索対象のデバイスにカーソル位置がジャンプする。さらに「実行」ボタン29を押下すると、同様に次の検索対象デバイスにカーソル位置がジャンプする。
The ladder diagram editing program executes a search as follows.
(1) When the search function is called, the search condition input part of FIG. 1 is displayed, and the search condition is designated from this screen. Here, in order to search for a device, a device to be searched is specified by an instruction word and an operand. If necessary, you can specify whether the search range is the whole project or module / macro unit, or whether the search direction is upward or downward. In addition, the searched components can be replaced, or ab contact conversion can be performed. These functions are switched by tabs from the screen of FIG. When the specification of conditions is completed, the “display list” button 28 is pressed. As a result, the search is executed with the specified search condition. When the “execute” button 29 is pressed, the cursor position jumps to the device to be searched that is closest to the current cursor position in the ladder diagram display unit 16. When the “execute” button 29 is further pressed, the cursor position jumps to the next search target device in the same manner.

(2)検索結果が図5に示すように表示される。画面右側の検索結果グラフ表示部に、指定された文字列を含むラダー行が通常表示されるとともに、検索条件に該当しないラダー行は実質的に非表示となる。さらに検索対象のデバイスがハイライト表示される。ハイライト表示としては、例えば色を赤など目立つ色に変更する、セルを枠で囲む、点滅させる、カーソルを移動する等の態様が適宜利用できる。   (2) The search result is displayed as shown in FIG. In the search result graph display section on the right side of the screen, ladder lines including the designated character string are normally displayed, and ladder lines that do not meet the search condition are substantially hidden. In addition, the search target device is highlighted. As highlight display, for example, a mode of changing the color to a conspicuous color such as red, surrounding a cell with a frame, blinking, moving the cursor, or the like can be used as appropriate.

(3)同時に、図5の下部に検索結果文字列表示部17が設けられ、検索条件で指定されたデバイス名を含む位置が行毎に一覧で表示される。ここでは、検索結果として発見されたデバイス毎に、検索対象のモジュール名、検索されたデバイスが存在するセルの行位置、列位置、検索された文字列が各行毎に表示される。検索結果文字列表示部17から所望の行をダブルクリック等で指定すると、これに連動して検索結果グラフ表示部で該当するデバイスの位置にカーソルが移動する。検索結果文字列表示部17は文字情報の表示のみであるため、少ないスペースでより多くの検索結果情報が表示できる。一方、検索結果グラフ表示部は検索対象のデバイスの周囲の接続状態をラダー図上で確認できるので、その用途を視覚的に把握できる。またこの状態からラダー図を直接編集、変更できるので、プログラミングやデバッグ作業をスムーズに行うことができる。しかも、ラダー図全体でなく必要なデバイスの近辺のみを通常表示としているため、表示スペースを効率的に利用でき、ラダー図のスクロールや画面全体の縮小表示などの作業を省ける。特に多くの検索結果を一覧で表示できるため、従来のように検索結果文字列表示部17から各行毎に一々ラダー図の該当位置にジャンプさせる手間を省力化でき、作業効率を大幅に改善できるというメリットが得られる。   (3) At the same time, a search result character string display unit 17 is provided at the bottom of FIG. 5 and the positions including the device name specified by the search condition are displayed in a list for each line. Here, for each device discovered as a search result, the name of the module to be searched, the row position and column position of the cell in which the searched device exists, and the searched character string are displayed for each row. When a desired line is designated from the search result character string display unit 17 by double-clicking or the like, the cursor moves to the corresponding device position in the search result graph display unit in conjunction with this. Since the search result character string display unit 17 only displays character information, more search result information can be displayed in a small space. On the other hand, since the search result graph display unit can confirm the connection state around the device to be searched on the ladder diagram, the use can be visually grasped. Moreover, since the ladder diagram can be directly edited and changed from this state, programming and debugging can be performed smoothly. In addition, since not only the entire ladder diagram but only the vicinity of the necessary device is normally displayed, the display space can be used efficiently, and operations such as scrolling the ladder diagram and reducing the entire screen can be omitted. In particular, since many search results can be displayed in a list, it is possible to save labor for jumping from the search result character string display unit 17 to the corresponding position in the ladder diagram for each line as in the past, and to greatly improve work efficiency. Benefits are gained.

また、検索結果文字列表示部17は検索実行時に自動的に表示されるよう設定する他、表示・非表示を切り替えることもできる。   The search result character string display unit 17 can be set to be automatically displayed at the time of executing the search, and can be switched between display and non-display.

なお、本実施の形態においては検索条件に該当しないラダー行は原則として表示幅を狭くして実質非表示とするが、従来型のラダー図全体を表示して検索条件に該当するラダー行や該当するデバイスなどの位置をハイライト表示させる方法でも表示可能に構成し、ユーザが所望に応じて検索結果を切り替えて使用することもできる。例えば、検索結果が少ない場合や、検索された構成要素の位置が検索結果グラフ表示部の一画面ですべて表示できるような場合は、ラダー図全体を表示させて、すべての検索位置を確認できる。また、上記のように検索結果が少ない場合や検索位置が一画面で多数表示できるような場合に、自動的に検索結果としてラダー図全体を表示するように設定しても良い。   In this embodiment, ladder lines that do not meet the search condition are displayed in principle with the display width narrowed, but the entire conventional ladder diagram is displayed and the ladder line that meets the search condition and the corresponding line are displayed. It is also possible to display the position of a device to be highlighted so that the user can switch the search results as desired. For example, when there are few search results, or when all the positions of the searched components can be displayed on one screen of the search result graph display unit, the entire ladder diagram can be displayed to check all the search positions. Also, as described above, when there are few search results or when a large number of search positions can be displayed on one screen, the entire ladder diagram may be automatically displayed as the search results.

以上、PLCのラダー回路をプログラミングする装置を説明したが、本発明はPLCを接続した用途に限定されるものでなく、ラダープログラムの作成、編集を行うあらゆるアプリケーションに適用できる。   The apparatus for programming the PLC ladder circuit has been described above. However, the present invention is not limited to the application to which the PLC is connected, and can be applied to any application for creating and editing ladder programs.

本発明のラダー図編集装置、ラダー図編集方法、ラダー図編集プログラムおよびコンピュータで読み取り可能な記録媒体は、作成したラダープログラムをPLCに転送して制御プログラムを実行させることができる。   The ladder diagram editing apparatus, the ladder diagram editing method, the ladder diagram editing program, and the computer-readable recording medium of the present invention can transfer the created ladder program to the PLC and execute the control program.

本発明の実施の形態に係るラダー図編集プログラムで検索条件を指定する画面を示すイメージ図である。It is an image figure which shows the screen which designates search conditions with the ladder figure edit program which concerns on embodiment of this invention. 図1の検索結果を文字列で一覧表示する画面を示すイメージ図である。It is an image figure which shows the screen which displays the search result of FIG. 1 by a character string list. 検索結果をラダー図で表示する画面を示すイメージ図である。It is an image figure which shows the screen which displays a search result with a ladder diagram. 本発明の実施の形態に係るラダー図編集装置を接続した制御システムの一例を示すブロック図である。It is a block diagram which shows an example of the control system which connected the ladder diagram editing apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るラダー図編集プログラムの一インターフェース画面を示すイメージ図である。It is an image figure which shows one interface screen of the ladder figure edit program which concerns on embodiment of this invention.

符号の説明Explanation of symbols

1…コンピュータ
2…PLC
3…表示器
4…入出力機器
5…CPU
6…メモリ部
7…表示部
8…入力デバイス
9…外部記憶部
10…インターフェース部
11…記録媒体
12…ラダー図編集プログラム
13…検索条件入力部
14…検索実行部
15…ツリー表示部
16…ラダー図表示部
17…検索結果文字列表示部
28…「一覧表示」ボタン
29…「実行」ボタン
1 ... Computer 2 ... PLC
3 ... Display 4 ... Input / output equipment 5 ... CPU
DESCRIPTION OF SYMBOLS 6 ... Memory part 7 ... Display part 8 ... Input device 9 ... External storage part 10 ... Interface part 11 ... Recording medium 12 ... Ladder diagram edit program 13 ... Search condition input part 14 ... Search execution part 15 ... Tree display part 16 ... Ladder Figure display part 17 ... Search result character string display part 28 ... "List display" button 29 ... "Execute" button

Claims (16)

プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集装置であって、
ラダー図のプログラムに含まれる特定の文字列を検索するための検索実行部と、
前記検索実行部に検索に係る文字列を入力するための検索条件入力部と、
前記検索実行部でラダー図のプログラム中から検索された文字列を含むラダー行を抽出して該ラダー行のラダー図を図形的に一覧表示すると共に、他のラダー行を実質的に非表示とする検索結果グラフ表示部と、
を備えることを特徴とするラダー図編集装置。
A ladder diagram editing device for editing a ladder diagram for program development of a programmable control device,
A search execution unit for searching for a specific character string included in the ladder diagram program;
A search condition input unit for inputting a character string related to the search to the search execution unit;
In the search execution unit, a ladder line including a character string retrieved from the ladder diagram program is extracted, and the ladder diagram of the ladder line is graphically displayed as a list, and other ladder lines are substantially hidden. A search result graph display section,
A ladder diagram editing apparatus comprising:
請求項1に記載のラダー図編集装置であって、
さらに前記検索実行部でラダー図のプログラム中から検索された文字列を含む行を抽出して、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示する検索結果文字列表示部を備え、
前記検索結果文字列表示部で一覧表示される検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して前記検索結果グラフ表示部で図形的に表示されることを特徴とするラダー図編集装置。
The ladder diagram editing apparatus according to claim 1,
Further, a search result character string display unit for extracting a line including a character string searched from the ladder diagram program by the search execution unit and displaying a list of positions where the searched character string is included in the ladder program as a character string With
When a desired line is selected from the search results displayed as a list in the search result character string display part, a ladder line corresponding to the position of the selected line is extracted from a ladder diagram and graphically displayed in the search result graph display part. A ladder diagram editing apparatus characterized by being displayed on the screen.
請求項1または2に記載のラダー図編集装置であって、前記検索結果グラフ表示部が、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで、該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とするラダー図編集装置。   3. The ladder diagram editing apparatus according to claim 1, wherein the search result graph display unit narrows a display width of a ladder line that does not include a character string related to a search in the ladder diagram, thereby the ladder diagram editing device. A ladder diagram editing apparatus, characterized in that a ladder diagram in which lines are substantially hidden is displayed as a search result. 請求項3に記載のラダー図編集装置であって、前記検索結果グラフ表示部がグリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とするラダー図編集装置。   4. The ladder diagram editing apparatus according to claim 3, wherein the search result graph display unit displays a ladder line including a character string related to a search by using a grid control, and substantially does not display other ladder lines. A ladder diagram editing device characterized by that. 請求項1から3のいずれかに記載のラダー図編集装置であって、前記検索条件入力部から入力する検索に係る文字列がデバイス名であることを特徴とするラダー図編集装置。   4. The ladder diagram editing apparatus according to claim 1, wherein a character string related to a search input from the search condition input unit is a device name. 5. プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集方法であって、
ラダー図のプログラムから検索対象として入力された文字列を検索するステップと、
検索された文字列を含むラダー行をラダー図から抽出して図形的に一覧表示すると共に、他のラダー行を実質的に非表示とするステップと、
を備えることを特徴とするラダー図編集方法。
A ladder diagram editing method for editing a ladder diagram for program development of a programmable control device,
Searching for a character string input as a search target from a ladder diagram program;
Extracting a ladder line including the searched character string from the ladder diagram and displaying the list graphically, and substantially hiding the other ladder lines;
A ladder diagram editing method comprising:
請求項6に記載のラダー図編集方法であって、
前記一覧表示するステップが、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示し、
前記文字列で一覧表示された検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して図形的に表示するステップであることを特徴とするラダー図編集方法。
The ladder diagram editing method according to claim 6,
The list displaying step displays a list of positions where the searched character string is included in the ladder program as a character string,
When a desired line is selected from the search results displayed as a list in the character string, a ladder line corresponding to the position of the selected line is extracted from a ladder diagram and displayed graphically. Ladder diagram editing method.
請求項6または7に記載のラダー図編集方法であって、前記一覧表示するステップが、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とするラダー図編集方法。   The ladder diagram editing method according to claim 6 or 7, wherein the step of displaying the list includes displaying the ladder line by narrowing a display width of the ladder line that does not include the character string related to the search in the ladder diagram. A ladder diagram editing method, wherein a ladder diagram substantially hidden is displayed as a search result. 請求項8に記載のラダー図編集方法であって、前記一覧表示するステップが、グリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とするラダー図編集方法。   9. The ladder diagram editing method according to claim 8, wherein the list display step displays a ladder line including a character string related to a search using a grid control, and substantially hides other ladder lines. A method for editing a ladder diagram, characterized by: 請求項6から9のいずれかに記載のラダー図編集方法であって、検索に係る文字列がデバイス名であることを特徴とするラダー図編集方法。   10. The ladder diagram editing method according to claim 6, wherein the character string related to the search is a device name. プログラマブルコントロール装置のプログラム開発用のラダー図を編集するためのラダー図編集プログラムであって、コンピュータに
ラダー図のプログラムから検索対象として入力された文字列を検索する機能と、
検索された文字列を含むラダー行をラダー図から抽出して図形的に一覧表示すると共に、他のラダー行を実質的に非表示とする機能と、
を実現させることを特徴とするラダー図編集プログラム。
A ladder diagram editing program for editing a ladder diagram for program development of a programmable control device, and a function of searching a computer for a character string input as a search target from the ladder diagram program;
The ladder line including the searched character string is extracted from the ladder diagram and displayed in a list, and the other ladder lines are substantially hidden,
A ladder diagram editing program characterized by realizing the above.
請求項11に記載のラダー図編集プログラムであって、
前記一覧表示する機能が、検索された文字列がラダープログラムに含まれる位置を文字列で一覧表示し、
前記文字列で一覧表示された検索結果中から所望の行を選択すると、選択された行の位置に該当するラダー行をラダー図から抽出して図形的に表示する機能であることを特徴とするラダー図編集プログラム。
A ladder diagram editing program according to claim 11,
The list display function displays a list of positions where the searched character string is included in the ladder program as a character string,
When a desired line is selected from the search results displayed as a list with the character string, the ladder line corresponding to the position of the selected line is extracted from the ladder diagram and displayed graphically. Ladder diagram editing program.
請求項11または12に記載のラダー図編集プログラムであって、前記一覧表示する機能が、ラダー図の内、検索に係る文字列を含まないラダー行の表示幅を狭くすることで該ラダー行を実質的に非表示としたラダー図を検索結果として表示することを特徴とするラダー図編集プログラム。   13. The ladder diagram editing program according to claim 11 or 12, wherein the list display function reduces the ladder line by narrowing the display width of the ladder line that does not include the character string related to the search in the ladder diagram. A ladder diagram editing program characterized in that a ladder diagram that is substantially hidden is displayed as a search result. 請求項13に記載のラダー図編集プログラムであって、前記一覧表示する機能が、グリッドコントロールを使用して検索に係る文字列を含むラダー行を表示し、他のラダー行を実質的に非表示とすることを特徴とするラダー図編集プログラム。   14. The ladder diagram editing program according to claim 13, wherein the list display function displays a ladder line including a character string related to a search by using a grid control, and substantially hides other ladder lines. A ladder diagram editing program characterized by that. 請求項10から14のいずれかに記載のラダー図編集プログラムであって、検索に係る文字列がデバイス名であることを特徴とするラダー図編集プログラム。   15. The ladder diagram editing program according to claim 10, wherein the character string related to the search is a device name. 請求項10から15のいずれかに記載されるラダー図編集プログラムを格納したコンピュータで読み取り可能な記録媒体。   A computer-readable recording medium storing the ladder diagram editing program according to any one of claims 10 to 15.
JP2003329022A 2003-09-19 2003-09-19 Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium Expired - Fee Related JP4299620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003329022A JP4299620B2 (en) 2003-09-19 2003-09-19 Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003329022A JP4299620B2 (en) 2003-09-19 2003-09-19 Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2005092806A true JP2005092806A (en) 2005-04-07
JP4299620B2 JP4299620B2 (en) 2009-07-22

Family

ID=34458414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003329022A Expired - Fee Related JP4299620B2 (en) 2003-09-19 2003-09-19 Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP4299620B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007047849A (en) * 2005-08-05 2007-02-22 Keyence Corp Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
CN104067187A (en) * 2012-01-27 2014-09-24 三菱电机株式会社 Display method of synchronization control program which drive controls multi-axle synchronization control device
JPWO2015019459A1 (en) * 2013-08-08 2017-03-02 富士機械製造株式会社 controller

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916218A (en) * 1995-06-28 1997-01-17 Fuji Electric Co Ltd Programming device of programmable controller, and its sequence program preparing method
JPH10261039A (en) * 1997-01-20 1998-09-29 Just Syst Corp Device and method for spread sheet processing, and computer-readable recording medium on which program for making computer execute spread sheet processing procedure is recorded
JP2002229612A (en) * 2001-02-02 2002-08-16 Keyence Corp Ladder diagram preparing program and storage medium for recording the same
JP2002229613A (en) * 2001-02-02 2002-08-16 Keyence Corp Ladder diagram preparing method and device, ladder preparation supporting program and recording medium for recording the same
JP2003084813A (en) * 2001-09-14 2003-03-19 Fuji Electric Co Ltd Editing device for ladder circuit and its editing method
JP2003084811A (en) * 2001-09-10 2003-03-19 Digital Electronics Corp Ladder monitor device, and its program and recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916218A (en) * 1995-06-28 1997-01-17 Fuji Electric Co Ltd Programming device of programmable controller, and its sequence program preparing method
JPH10261039A (en) * 1997-01-20 1998-09-29 Just Syst Corp Device and method for spread sheet processing, and computer-readable recording medium on which program for making computer execute spread sheet processing procedure is recorded
JP2002229612A (en) * 2001-02-02 2002-08-16 Keyence Corp Ladder diagram preparing program and storage medium for recording the same
JP2002229613A (en) * 2001-02-02 2002-08-16 Keyence Corp Ladder diagram preparing method and device, ladder preparation supporting program and recording medium for recording the same
JP2003084811A (en) * 2001-09-10 2003-03-19 Digital Electronics Corp Ladder monitor device, and its program and recording medium
JP2003084813A (en) * 2001-09-14 2003-03-19 Fuji Electric Co Ltd Editing device for ladder circuit and its editing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007047849A (en) * 2005-08-05 2007-02-22 Keyence Corp Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
CN104067187A (en) * 2012-01-27 2014-09-24 三菱电机株式会社 Display method of synchronization control program which drive controls multi-axle synchronization control device
CN104067187B (en) * 2012-01-27 2016-04-20 三菱电机株式会社 Multi-axis synchronized control device is carried out to the display packing of the synchro control program of drived control
US9568904B2 (en) 2012-01-27 2017-02-14 Mitsubishi Electric Corporation Display method of synchronous control program for controlling driving of multi-axis synchronous control device
JPWO2015019459A1 (en) * 2013-08-08 2017-03-02 富士機械製造株式会社 controller

Also Published As

Publication number Publication date
JP4299620B2 (en) 2009-07-22

Similar Documents

Publication Publication Date Title
KR101643003B1 (en) Automated form layout based upon usage patterns
US7924270B2 (en) Apparatus and method for mobile graphical cheminformatic
US8185841B2 (en) Electronic text input involving a virtual keyboard and word completion functionality on a touch-sensitive display screen
JP2007147410A (en) Electronic device
US20120017161A1 (en) System and method for user interface
JPH11249780A (en) Method for providing access to command and symbol icon in graphical application program
CN101261565A (en) Method and apparatus for providing customizable, immediate and radiating menus for accessing applications and actions
KR20150081181A (en) Display apparatus and Method for providing recommendation characters thereof
CN102637168A (en) Method for realizing automatic language translation in graphical user interface
US20210405977A1 (en) Method of converting source code in a universal hybrid programming environment
JP5987366B2 (en) Information processing apparatus, information processing method, and computer program
JP2005300324A (en) Method for analyzing measurement data of device under test, program, and measurement data analysis system
JP2010128735A (en) Screen data editor apparatus, screen data editor program and recording medium on which the same is recorded
CN113626017B (en) Heterogeneous program analysis method, heterogeneous program analysis device, computer equipment and storage medium
JP4299620B2 (en) Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium
JP4266334B2 (en) Ladder program macro creation device, ladder program macro creation method, ladder program macro creation program, and computer-readable recording medium
EP3479885B1 (en) Information processing device, information processing method, and program
JP2005092807A (en) Ladder diagram editor, ladder diagram editing method and program, and computer-readable recording medium
KR20100054330A (en) Method and tool for program writing using intuitive user interface
JP2009259081A (en) Ladder diagram editing system
JP5058053B2 (en) How to edit ladder diagram
CN103577258A (en) Automatic macro switching system and method
JP4964036B2 (en) Editor device and editor program
CN105700813A (en) Information processing method and terminal
CN111221504A (en) Synchronized operation display system and non-transitory computer readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090310

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090414

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090417

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120424

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150424

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees