JP6394516B2 - Development support program, recording medium, development support method, and development support apparatus - Google Patents

Development support program, recording medium, development support method, and development support apparatus Download PDF

Info

Publication number
JP6394516B2
JP6394516B2 JP2015132795A JP2015132795A JP6394516B2 JP 6394516 B2 JP6394516 B2 JP 6394516B2 JP 2015132795 A JP2015132795 A JP 2015132795A JP 2015132795 A JP2015132795 A JP 2015132795A JP 6394516 B2 JP6394516 B2 JP 6394516B2
Authority
JP
Japan
Prior art keywords
text
comment
variable
expression
development support
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.)
Active
Application number
JP2015132795A
Other languages
Japanese (ja)
Other versions
JP2017016411A (en
Inventor
康二 淵上
康二 淵上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2015132795A priority Critical patent/JP6394516B2/en
Publication of JP2017016411A publication Critical patent/JP2017016411A/en
Application granted granted Critical
Publication of JP6394516B2 publication Critical patent/JP6394516B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

開示の実施形態は、開発支援プログラム、記録媒体、開発支援方法、及び開発支援装置に関する。   Embodiments disclosed herein relate to a development support program, a recording medium, a development support method, and a development support apparatus.

特許文献1には、テキストプログラム中のデバイスやラベルを示すテキストを抽出し、直前又は直後のコメント行にそれらデバイスやラベルの意味を表現する付属情報をそれぞれ記述方向の位置を合わせて表示するプログラム作成支援技術が開示されている。   Patent Document 1 extracts a text indicating a device or a label in a text program, and displays attached information expressing the meaning of the device or label in a comment line immediately before or after the position in the description direction. A creation support technique is disclosed.

特許第5490170号公報Japanese Patent No. 5490170

上記従来技術によれば、テキストプログラム中で単純なアルファベットや数字の組み合わせにより抽象的に記述されているデバイスやラベルそのものの具体的な意味を、コメント行中のそれぞれ対応する付属情報から個別に確認しやすくなる。しかし、それらデバイスやラベルが演算式中に記述されている場合、上記従来技術では、その演算式全体の演算内容の意味合いまではコメント行から直接把握できない。そのため、ユーザは元の演算式とコメント行の付属情報とを照合して演算内容を確認しなければならず、プログラムの開発効率、特にデバッグ効率が低下する要因となっていた。   According to the above prior art, the specific meaning of the device or label itself, which is abstractly described by a combination of simple alphabets and numbers in the text program, can be confirmed individually from the corresponding attached information in the comment line. It becomes easy to do. However, when these devices and labels are described in an arithmetic expression, the above prior art cannot directly grasp the meaning of the arithmetic contents of the entire arithmetic expression from the comment line. For this reason, the user has to check the content of the operation by comparing the original operation expression with the information attached to the comment line, which causes a reduction in program development efficiency, particularly debugging efficiency.

本発明はこのような問題点に鑑みてなされたものであり、プログラムの開発効率、特にデバッグ効率が向上する開発支援プログラム、記録媒体、開発支援方法、及び開発支援装置を提供することを目的とする。   The present invention has been made in view of such problems, and an object thereof is to provide a development support program, a recording medium, a development support method, and a development support apparatus that improve program development efficiency, particularly debugging efficiency. To do.

上記課題を解決するため、本発明の一の観点によれば、実行コードから逆変換されたテキスト記述型プログラムの開発支援装置が備える演算装置に実行させる開発支援プログラムであって、前記実行コードに対応するデータベースを取得することと、前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、前記開発支援装置が備える表示部上の所定の演算式表示領域に表示することと、前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出することと、前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得することと、前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成することと、前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示することと、を実行する開発支援プログラムが適用される。
In order to solve the above-described problem, according to one aspect of the present invention, there is provided a development support program to be executed by an arithmetic unit provided in a development support apparatus for a text description type program inversely converted from an execution code, the execution code Obtaining a corresponding database; displaying an arithmetic expression text described in a program list of the text description type program in a predetermined arithmetic expression display area on a display unit included in the development support apparatus; Extracting a calculation variable text expressed by an address of a storage area from the calculation formula text; obtaining a comment variable text corresponding to the calculation variable text with reference to the database; and the calculation in the calculation formula text It said to replace the variable text in the comment variable text comments variable text and operators Te Generating a formula corresponding comment text in a text string containing the list, development support program for executing, and displaying the equation corresponding comment text in the comment display area corresponding to the arithmetic expression display region is applied .

また、本発明の別の観点によれば、開発支援プログラムを記録した、前記開発支援装置が読み取り可能な記録媒体が適用される。   According to another aspect of the present invention, a recording medium that records a development support program and is readable by the development support apparatus is applied.

また、本発明の別の観点によれば、実行コードから逆変換されたテキスト記述型プログラムの開発支援方法であって、前記実行コードに対応するデータベースを取得することと、前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、所定の演算式表示領域に表示することと、前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出することと、前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得することと、前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成することと、前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示することと、を実行する開発支援方法が適用される。
Further, according to another aspect of the present invention, there is provided a development support method for a text description type program inversely converted from an execution code, including obtaining a database corresponding to the execution code ; Display the arithmetic expression text described in the program list in a predetermined arithmetic expression display area, extract the arithmetic variable text expressed by the address of the storage area from the arithmetic expression text, and refer to the database. Obtaining a comment variable text corresponding to the calculation variable text, replacing the calculation variable text in the calculation formula text with the comment variable text, and a text string including the comment variable text and the operator text. Generating comment text corresponding to an expression and a comment corresponding to the arithmetic expression display area. Development method of performing and displaying the equation corresponding comment text preparative display area, a is applied.

また、本発明の別の観点によれば、実行コードから逆変換されたテキスト記述型プログラムの開発支援装置であって、前記実行コードに対応するデータベースを取得するデータベース取得部と、前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、当該開発支援装置が備える表示部上の所定の演算式表示領域に表示する演算式記述表示部と、前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出する演算変数抽出部と、前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得するコメント変数取得部と、前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成する式対応コメント生成部と、前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示する式対応コメント表示部と、を有する開発支援装置が適用される。 Further, according to another aspect of the present invention, there is provided a development support apparatus for a text description type program inversely converted from an execution code, a database acquisition unit for acquiring a database corresponding to the execution code, and the text description type An arithmetic expression description display unit for displaying the arithmetic expression text described in the program list of the program in a predetermined arithmetic expression display area on the display unit included in the development support apparatus, and an address of the storage area from the arithmetic expression text a calculation variable extractor for extracting operational variable text notation, and comments variable obtaining section by referring to the database to retrieve the comments variable text corresponding to the calculation variable text, the calculation variables text of the arithmetic expression in the text including the comment variable text and operators text is replaced with the comment variable text And wherein corresponding comments generating unit for generating a formula corresponding comment text in text column, a formula corresponding comment display unit that displays the equation corresponding comment text in the comment display area corresponding to the arithmetic expression display region, the development support device having Applied.

本発明によれば、プログラムの開発効率、特にデバッグ効率が向上する。   According to the present invention, program development efficiency, particularly debugging efficiency, is improved.

実施形態の開発支援プログラムを利用した開発支援システムの構成を表すブロック図である。It is a block diagram showing the structure of the development support system using the development support program of embodiment. 汎用PC上で実行される開発支援プログラム全体の概略的なソフトウェア構成を示すブロック図である。It is a block diagram which shows the schematic software structure of the whole development assistance program run on general purpose PC. エディタによりディスプレイ上に表示されたラダー図の一例である。It is an example of the ladder diagram displayed on the display by the editor. エディタによりディスプレイ上に表示されたプログラムリストの一例である。It is an example of the program list displayed on the display by the editor. アドレステキストをコメント変数テキストに対応させて登録するアドレステキスト対応テーブルを模式的に示した図である。It is the figure which showed typically the address text corresponding | compatible table which registers an address text corresponding to a comment variable text. 変数名テキストをコメント変数テキストに対応させて登録する変数名テキスト対応テーブルを模式的に示した図である。It is the figure which showed typically the variable name text corresponding table which registers variable name text corresponding to comment variable text. 式対応コメントテキストの生成手法を説明する図である。It is a figure explaining the production | generation method of a comment text corresponding to a formula. 生成した式対応コメントテキストをプログラムリスト上に記述する手法を説明する図である。It is a figure explaining the method of describing the produced | generated expression corresponding comment text on a program list. 汎用PCのCPUがエディタ上で実行するリスト表示処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the list display process which CPU of general purpose PC performs on an editor. 図9中にあるステップS100の式対応コメントテキスト生成処理の詳細な制御手順を示すフローチャートである。It is a flowchart which shows the detailed control procedure of the expression corresponding comment text production | generation process of step S100 in FIG. コメント変数テキストの表示文字数を任意に設定した例で、ディスプレイ上に表示されたプログラムリストの一例である。It is an example in which the number of characters displayed in the comment variable text is arbitrarily set, and is an example of a program list displayed on the display. コメント変数テキストだけを特別な態様で表示した例で、ディスプレイ上に表示されたプログラムリストの一例である。It is an example in which only comment variable text is displayed in a special manner, and is an example of a program list displayed on a display.

以下、一実施の形態について図面を参照しつつ説明する。   Hereinafter, an embodiment will be described with reference to the drawings.

<開発支援システムの概略構成>
図1は、本実施形態の開発支援プログラムを利用した開発支援システムのブロック図を表している。この図1において、開発支援システム100は、開発支援プログラムを実行する汎用パーソナルコンピュータ1(以下、汎用PC1という)と、プログラマブルロジックコントローラ2(図中、及び以下においてはPLC2という)と、サーボアンプ3と、モータ4有している。
<Schematic configuration of development support system>
FIG. 1 shows a block diagram of a development support system using the development support program of this embodiment. In FIG. 1, a development support system 100 includes a general-purpose personal computer 1 (hereinafter referred to as a general-purpose PC 1) that executes a development support program, a programmable logic controller 2 (referred to as PLC 2 in the drawing and hereinafter), and a servo amplifier 3. And a motor 4.

汎用PC1(開発支援装置)は、特に図示しないCPU、ROM、RAM、HDDなどからなる不揮発性記憶装置、及び通信制御部と、操作部1a、ディスプレイ1b(表示部)を備えた一般的なパーソナルコンピュータである。CPU(演算装置)は、上記のROM、RAM、不揮発性記憶装置に記憶された開発支援プログラムやデータに基づいて、後述のPLC2が実行可能な制御プログラムの編集、コンパイル、送受信を制御する。なお、この制御プログラムの開発支援に関するソフトウェア構成については後の図2の説明で詳述する。   The general-purpose PC 1 (development support device) is a general personal computer including a non-volatile storage device including a CPU, ROM, RAM, HDD, etc., a communication control unit, an operation unit 1a, and a display 1b (display unit). It is a computer. The CPU (arithmetic unit) controls editing, compiling, and transmission / reception of a control program that can be executed by the PLC 2 described later, based on the development support program and data stored in the ROM, RAM, and nonvolatile storage device. The software configuration relating to the development support for the control program will be described in detail later in the description of FIG.

PLC2は、特に図示しないCPU、ROM、RAM、フッシュメモリなどからなる不揮発性記憶装置、操作部、表示部、及び通信制御部を備えたいわゆる上位制御装置である。上記汎用PC1で開発された制御プログラを、このPLC2が受信、記憶して実行することにより、所定の指令を所定の手順で後述のサーボアンプ3に対して送信し、モータ4をシーケンス制御する。   The PLC 2 is a so-called host control device including a non-volatile storage device including a CPU, ROM, RAM, flash memory, and the like (not shown), an operation unit, a display unit, and a communication control unit. The PLC 2 receives, stores and executes the control program developed in the general-purpose PC 1, thereby transmitting a predetermined command to a servo amplifier 3 (described later) in a predetermined procedure, thereby controlling the motor 4 in sequence.

サーボアンプ3は、上記PLC2から受信した指令に基づいてモータ4に給電しその駆動を制御する機能を有する。なお、図中には回動式のモータ4を示しているが、他にも直動式のモータを適用してもよい。   The servo amplifier 3 has a function of supplying power to the motor 4 based on the command received from the PLC 2 and controlling its drive. In addition, although the rotation type motor 4 is shown in the figure, you may apply a direct acting type motor to others.

<開発支援プログラムのソフトウェア概略構成>
図2は、汎用PC1上で実行される開発支援プログラム全体の概略的なソフトウェア構成を示すブロック図を表している。この図2において、開発支援プログラム11は、エディタ12、記憶部13、コンパイラ14、逆コンパイラ15、送受信部16、入力処理部17、表示処理部18、データベース19、及びマネージャ20の各機能プログラムを統合したものである。
<Software outline configuration of development support program>
FIG. 2 is a block diagram showing a schematic software configuration of the entire development support program executed on the general-purpose PC 1. In FIG. 2, the development support program 11 includes function programs of an editor 12, a storage unit 13, a compiler 14, a decompiler 15, a transmission / reception unit 16, an input processing unit 17, a display processing unit 18, a database 19, and a manager 20. It is integrated.

エディタ12は、上位言語の形式で記述されたプログラム(プログラムリスト、ラダー図)の表示と入力編集を行う機能を有する。プログラムの表示は、上記表示処理部18を介した汎用PC1のディスプレイ1bでの表示により行われる。プログラムの入力編集は、汎用PC1の操作部1a及び上記入力処理部17を介したユーザからの入力により行われる。当該エディタ12が扱うプログラムの上位言語の形式としては、所定の制御手順を図形的に記述するいわゆる図形記述型プログラムと、所定の制御手順をテキスト(文字列)で記述するいわゆるテキスト記述型プログラムの2種類を複合的に扱う。本実施形態の例では、ラダー図(後述の図3参照)で記述するラダープログラムを図形記述型プログラムとして扱い、テキスト記述型プログラムではプログラムリスト(後述の図4参照)に各命令のテキストを複数行に渡って記述する。このエディタ12は、特にテキスト記述型プログラムの入力編集に関する機能部として、図中に示す演算式記述表示部121、演算変数抽出部122、コメント変数取得部123、式対応コメント生成部124、式対応コメント表示部125を有している。なお、これらテキスト記述型プログラムの入力編集に関する機能部については、後に詳述する。   The editor 12 has a function of displaying and inputting and editing a program (program list, ladder diagram) described in a higher language format. The program is displayed by display on the display 1b of the general-purpose PC 1 via the display processing unit 18. The input editing of the program is performed by input from the user via the operation unit 1a of the general-purpose PC 1 and the input processing unit 17. The upper language format of the program handled by the editor 12 includes a so-called graphic description type program that graphically describes a predetermined control procedure and a so-called text description type program that describes the predetermined control procedure in text (character string). Two types are handled in combination. In the example of the present embodiment, a ladder program described in a ladder diagram (see FIG. 3 to be described later) is handled as a graphic description type program. In a text description type program, a plurality of texts for each instruction are included in a program list (see FIG. 4 to be described later). Write across lines. The editor 12 is a functional part related to input editing of a text description type program, in particular, an arithmetic expression description display part 121, an arithmetic variable extraction part 122, a comment variable acquisition part 123, an expression correspondence comment generation part 124, an expression correspondence shown in the figure. A comment display unit 125 is provided. The functional units related to input editing of these text description type programs will be described in detail later.

記憶部13は、汎用PC1のRAMや不揮発性記憶にアクセスして、上記のプログラムリストやラダー図21、またはPLC2のCPUが直接実行可能な実行コードを記憶する機能を有する。   The storage unit 13 has a function of accessing the RAM and the non-volatile storage unit of the general-purpose PC 1 and storing the above-described program list, ladder diagram 21, or execution code that can be directly executed by the CPU of the PLC 2.

コンパイラ14は、上記記憶部13により記憶されたプログラムリストやラダー図21を、実行コード22に変換する機能を有する。   The compiler 14 has a function of converting the program list or ladder diagram 21 stored in the storage unit 13 into an execution code 22.

逆コンパイラ15は、上記記憶部13により記憶された実行コード22を、プログラムリストやラダー図21に逆変換する機能を有する。   The decompiler 15 has a function of inversely converting the execution code 22 stored in the storage unit 13 into a program list or a ladder diagram 21.

送受信部16は、PLC2との間で実行コード22を送受する機能を有する。   The transmission / reception unit 16 has a function of transmitting / receiving the execution code 22 to / from the PLC 2.

入力処理部17は、汎用PC1の操作部1aを介したユーザからの入力を受け付ける機能を有する。   The input processing unit 17 has a function of receiving an input from the user via the operation unit 1a of the general-purpose PC 1.

表示処理部18は、各種の情報を汎用PC1のディスプレイ1b上に表示する機能を有する。   The display processing unit 18 has a function of displaying various types of information on the display 1 b of the general-purpose PC 1.

マネージャ20は、当該開発支援プログラム11が有する上記の各機能プログラムを統合的に実行する機能を有する。   The manager 20 has a function of executing the function programs of the development support program 11 in an integrated manner.

以上のように構成された開発支援プログラム11においては、ユーザがエディタ12を用いた入力編集によりプログラムリスト及びラダー図21の形式で制御プログラムを作成し、その制御プログラムをコンパイラ14で実行コード22に変換してから送受信部16を介してPLC2に送信し記憶、実行させる。また開発支援プログラム11は、送受信部16を介してPLC2から受信した実行コード22を逆コンパイラ15でプログラリスト及びラダー図21の形式に逆変換し、エディタ12で修正することもできる。   In the development support program 11 configured as described above, a user creates a control program in the format of a program list and ladder diagram 21 by input editing using the editor 12, and the control program is converted into an execution code 22 by the compiler 14. After conversion, the data is transmitted to the PLC 2 via the transmission / reception unit 16 to be stored and executed. Further, the development support program 11 can reversely convert the execution code 22 received from the PLC 2 via the transmission / reception unit 16 into the format of the program list and the ladder diagram 21 by the decompiler 15 and can correct the code by the editor 12.

<ラダー図及びプログラムリストについて>
図3は、上記エディタ12によりディスプレイ1b上に表示されたラダー図の一例を示している。なお、本実施形態ではディスプレイ1b上における各種の情報がいわゆるGUI(Graphical User Interface)の態様で表示されるものとし、汎用PC1の操作部1aが備えるポインティングデバイス(図示省略)により移動操作されるカーソルCで入力操作の対象箇所の指定が可能となっている(以下の各画面表示図において同様とする)。
<Ladder diagram and program list>
FIG. 3 shows an example of a ladder diagram displayed on the display 1 b by the editor 12. In the present embodiment, various information on the display 1b is displayed in a so-called GUI (Graphical User Interface) mode, and the cursor is moved by a pointing device (not shown) provided in the operation unit 1a of the general-purpose PC 1. In C, it is possible to specify a target location for an input operation (the same applies to the following screen display diagrams).

この図3において、ラダー図の左右両端には直流母線に見立てた平行な2本のレール31が記載され、それらのレール31の間にそれぞれリレー回線に見立てた水平直線のラング32が複数記載されている。そして各ラング32の左側に接点(スイッチ)に見立てた起動条件33が記載され、またそれらラング32の右側にアクチュエータコイルに見立てた出力部34が記載されている。各ラング32の起動条件33が満たされた場合に、対応するラング32の出力部34で各指令を出力する。また、各出力部34の出力を各起動条件33に入力することで、ラング32どうしを連携して作動させることができる。このようなラダー図における出力部34の一つとして特に数値演算処理を行う数値演算部35(図中の「EXPRESSIO」ウィンドウ部参照)が組み込まれる場合があり、この数値演算部35が記テキスト記述型プログラムによるプログラムリストの形式で記述される。   In FIG. 3, two parallel rails 31 that are regarded as DC buses are described at the left and right ends of the ladder diagram, and a plurality of horizontal straight rungs 32 that are regarded as relay lines are described between the rails 31. ing. An activation condition 33 as a contact (switch) is described on the left side of each rung 32, and an output unit 34 as an actuator coil is described on the right side of the rungs 32. When the start condition 33 of each rung 32 is satisfied, each command is output from the output unit 34 of the corresponding rung 32. Further, by inputting the output of each output unit 34 to each activation condition 33, the rungs 32 can be operated in cooperation with each other. As one of the output units 34 in such a ladder diagram, there is a case where a numerical operation unit 35 (see “EXPRESSION” window portion in the figure) for performing numerical operation processing is particularly incorporated. It is described in the form of a program list by type program.

図4は、上記エディタ12によりディスプレイ1b上に表示されたプログラムリストの一例を示している。この図4において、プログラムリストには演算式テキストとコメントテキストが混在して複数行に渡り記述(表示)されている。   FIG. 4 shows an example of a program list displayed on the display 1b by the editor 12. In FIG. 4, the arithmetic text and comment text are mixed and described (displayed) over a plurality of lines in the program list.

演算式テキストは、演算変数テキストと、演算子テキストと、関数テキストとを組み合わせた演算式として記述されるテキストである。演算変数テキストは、RAM上の所定の記憶領域に対応して数値を代入し記憶させる変数を表すテキストであり、変数の指定様式によって図示する例の「GF00100」、「GF00200」などのアドレステキストと、「sr」、「Datasu」、「DivP」などの変数名テキストの2種類に分類される(これらアドレステキストや変数名テキストについては後に詳述する)。演算子テキストは、「=」、「+」、「−」、「*(×)」、「/(÷)」などの算術演算子を表すテキストである。関数テキストは、図示する例では「SQRT(引数)(;平方根(引数))」などのシステム関数を表すテキストである。   The arithmetic expression text is text that is described as an arithmetic expression that is a combination of an arithmetic variable text, an operator text, and a function text. The calculation variable text is a text representing a variable to be stored by assigning a numerical value corresponding to a predetermined storage area on the RAM, and an address text such as “GF100100”, “GF00200” in the example illustrated by the variable designation format, , “Sr”, “Dataasu”, “DivP” and the like, are classified into two types of variable name text (these address text and variable name text will be described in detail later). The operator text is text representing an arithmetic operator such as “=”, “+”, “−”, “* (×)”, “/ (÷)”. The function text is a text representing a system function such as “SQRT (argument) (; square root (argument))” in the illustrated example.

コメントテキストは、所定の内容の文字列が注釈として記述されるテキストである。コメントテキストは、基本的にその冒頭に「// 」のヘッダが付加されてそれ以降に自由な内容で記載されるものであるが、その中には隣接する演算式テキスト全体の意味合いを説明するよう記載されるものがある。本実施形態の例では、そのように演算式テキストに対応する内容のコメントテキスト(図示する例の「‘BC二乗’=‘球面曲率’*‘球面曲率’」など)を特に式対応コメントテキストと称呼し、これをプログラムリスト中に記述することなく、ディスプレイ1b上におけるプログラムリストの表示画面中においてのみ当該演算式テキストの直前の行に表示する。つまり、演算式テキストの内容に対応する式対応コメントテキストの表示領域41(コメント表示領域)は、当該演算式テキストの表示領域42(演算式表示領域)の直前の行に配置される。また、本実施形態においては、式対応コメントテキストの冒頭にはヘッダ「// 」は付加しない(演算式テキストと式対応コメントテキストについても後述する)。   The comment text is text in which a character string having a predetermined content is described as a comment. The comment text is basically a "//" header added at the beginning and is described in free content after that. The comment text explains the meaning of the entire adjacent arithmetic expression text. There are things that are described. In the example of the present embodiment, the comment text having the content corresponding to the arithmetic expression text (such as “BC square” = “spherical curvature” * “spherical curvature” in the illustrated example) is used as the expression corresponding comment text. It is called and displayed in the line immediately before the arithmetic expression text only on the display screen of the program list on the display 1b without being described in the program list. That is, the expression-corresponding comment text display area 41 (comment display area) corresponding to the contents of the arithmetic expression text is arranged in the line immediately before the display area 42 (arithmetic expression display area) of the arithmetic expression text. In this embodiment, the header “//” is not added to the beginning of the expression-corresponding comment text (the arithmetic expression text and the expression-corresponding comment text will also be described later).

また、基本的には演算式テキストとコメントテキストがそれぞれ1文ごとに改行して1行に1文ずつ記述(又は表示)されるが、演算式テキストとコメントテキストのそれぞれの末尾に個々のテキストの区切りを示す「;(セミコロン)」を記述することで1行に複数の演算式テキストやコメントテキストを並記するいわゆるマルチステートメントとすることもできる。   Basically, the formula text and comment text are written (or displayed) one line per line with a new line for each sentence. Individual text is added at the end of each formula text and comment text. By describing “; (semi-colon)” indicating a delimiter, a so-called multi-statement in which a plurality of arithmetic expression texts and comment texts are written in one line can be provided.

<本実施形態の特徴>
汎用PC1では、その操作部1aを介したユーザからの文字入力によりプログラムリスト中に各テキストを記述する。このとき、上記演算変数テキスト(この例のアドレステキストと変数名テキスト)は、数字やアルファベットを少ない文字数で組み合わせただけの単純で抽象的なテキストで記述、表示されるため、演算式テキスト全体の意味が理解しにくい。このため、ディスプレイ1b上におけるプログラムリストの表示画面中で、上述したように演算式テキストを表示する演算式表示領域42に隣接してコメント表示領域41を設け、このコメント表示領域41に演算式テキストの内容に対応した式対応コメントテキストを表示することが一般的に行われる。この式対応コメントテキストは、元になる演算式テキスト中の演算変数テキスト(例えば「GF00100」)を、漢字やかな文字などを用いてその意味合いをわかりやすく記述したコメント変数テキスト(例えば「BC二乗」)に置き換えて記述される。
<Features of this embodiment>
In the general-purpose PC 1, each text is described in the program list by a character input from the user via the operation unit 1a. At this time, the calculation variable text (the address text and variable name text in this example) is described and displayed as simple and abstract text combining numbers and alphabets with a small number of characters. The meaning is difficult to understand. Therefore, on the display screen of the program list on the display 1b, a comment display area 41 is provided adjacent to the arithmetic expression display area 42 for displaying the arithmetic expression text as described above, and the arithmetic expression text is provided in the comment display area 41. In general, the comment text corresponding to the expression corresponding to the contents of is displayed. The comment text corresponding to the expression is a comment variable text (for example, “BC square”) in which the meaning of the calculation variable text (for example, “GF100100”) in the original expression text is described in an easy-to-understand manner using kanji characters. ).

しかし、これまでのプログラム開発においては、新規に演算式テキストを入力した際に、対応する式対応コメントテキストの全部を別途手入力で記述し、表示する必要があった。また、デバッグや調整などの目的で既存の演算式テキスト中の一部の演算変数テキストを修正、変更した場合でも、その際には対応する式対応コメントテキスト中の対応するコメント変数テキストもまた別途手作業で修正、変更する必要があった。これらの入力作業では、各演算変数テキストに対応するコメント変数テキストを確認しながら入力することになり、とても煩雑な作業となっていた。   However, in the program development so far, when a new arithmetic expression text is input, it is necessary to manually describe and display all the corresponding expression corresponding comment texts. Also, even if some calculation variable texts in the existing calculation formula text are modified or changed for the purpose of debugging or adjustment, the corresponding comment variable text in the corresponding expression corresponding comment text is also separately available. It was necessary to correct and change manually. In these input operations, it is necessary to input the comment variable text corresponding to each calculation variable text while confirming it, which is a very complicated operation.

これに対し本実施形態では、汎用PC1上で実行される開発支援プログラム11のエディタ12において、上記演算変数抽出部122が入力された演算式テキストから演算変数テキストを抽出し、上記コメント変数取得部123がデータベース19を参照して演算変数テキストに対応するコメント変数テキストを取得し、上記式対応コメント生成部124が演算式テキスト中の演算変数テキストをコメント変数テキストに置換して式対応コメントテキストを生成し、上記式対応コメント表示部125が演算式表示領域42に対応するコメント表示領域41に式対応コメントテキストを表示する。   On the other hand, in the present embodiment, in the editor 12 of the development support program 11 executed on the general-purpose PC 1, the arithmetic variable text is extracted from the arithmetic expression text input by the arithmetic variable extraction unit 122, and the comment variable acquisition unit 123 obtains the comment variable text corresponding to the calculation variable text by referring to the database 19, and the above-mentioned formula corresponding comment generation unit 124 replaces the calculation variable text in the calculation formula text with the comment variable text, The expression corresponding comment display unit 125 displays the expression corresponding comment text in the comment display area 41 corresponding to the arithmetic expression display area 42.

これにより、新規入力又は修正入力された演算式テキストに対応する式対応コメントテキストが自動的に生成、修正され、プログラムリストの表示画面上に表示される。これにより、ユーザは演算式テキストを入力するだけで、同じ演算内容をさらに理解しやすく表現した式対応コメントテキストを手入力によらず正確に表示することができる。   Thereby, the comment text corresponding to the expression corresponding to the arithmetic expression text newly input or corrected is automatically generated and corrected, and displayed on the program list display screen. As a result, the user can accurately display the comment text corresponding to the expression expressing the same calculation content more easily by simply inputting the calculation expression text without depending on the manual input.

<アドレステキストと変数名テキストについて>
上述したように、数値を代入する変数の名称である演算変数テキストには、アドレステキストと変数名テキストの2種類がある。アドレステキストは、PLC2が備えるRAM(特に図示せず)において数値を格納させるアドレス(番地)をそのまま変数の名称として表記したテキストである。変数名テキストは、ユーザが任意に設定した抽象的な文字列を変数の名称として表記したテキストである。本実施形態では、プログラムリスト中に使用するアドレステキストと変数名テキストについて、それぞれユーザが漢字やかな文字などを用いてその意味合いをわかりやすく記述したコメント変数テキスと対応させてあらかじめデータベース19に登録しておく。
<About address text and variable name text>
As described above, there are two types of calculation variable texts, which are names of variables to which numerical values are assigned, address text and variable name text. The address text is a text in which an address (address) in which a numerical value is stored in a RAM (not shown) included in the PLC 2 is directly written as a variable name. The variable name text is text in which an abstract character string arbitrarily set by the user is expressed as a variable name. In the present embodiment, the address text and variable name text used in the program list are registered in advance in the database 19 in association with the comment variable text in which the meaning is clearly described by the user using kanji characters or the like. Keep it.

図5は、上記図4のプログラムリスト中に使用している各アドレステキストを、それぞれコメント変数テキストに対応させて登録するアドレステキスト対応テーブルを模式的に示している。この図5において、各アドレステキストは、上述したように当該変数の数値を記憶させるRAM上のアドレスそのままで記述される。例えば「GF00100」のアドレステキストは、RAM上の「GF00100」のアドレスに数値を記憶させる変数の名称である。このようなアドレステキストを用いることで、ユーザは数値を記憶させるRAM上の格納アドレス(記憶領域)を任意に指定してプログラムリスト上でも確認できる。そして、このアドレステキスト自体は単なるアルファベットと数字の羅列でしかないため、そのまま演算式中に記述されてもそこに代入される数値の意味が把握しにくい。そこで各アドレステキストに対応して、それぞれ漢字やかな文字を用いてその数値の意味を分かりやすく記述したコメント変数テキストがユーザにより別途登録される。例えば「GF00100」のアドレステキストに対応して、このアドレステキストの変数に代入される数値の意味を表す「BC二乗」のコメント変数テキストが登録される。   FIG. 5 schematically shows an address text correspondence table for registering each address text used in the program list of FIG. 4 in correspondence with the comment variable text. In FIG. 5, each address text is described as it is as the address on the RAM for storing the numerical value of the variable as described above. For example, the address text “GF100100” is the name of a variable that stores a numerical value at the address “GF00100” on the RAM. By using such an address text, the user can arbitrarily specify a storage address (storage area) on the RAM for storing numerical values and check it on the program list. Since the address text itself is merely a list of alphabets and numbers, it is difficult to grasp the meaning of the numerical value assigned to it even if it is described in the arithmetic expression as it is. Therefore, corresponding to each address text, a comment variable text in which the meaning of the numerical value is described in an easy-to-understand manner using kanji-like characters is separately registered by the user. For example, a comment variable text of “BC square” indicating the meaning of a numerical value to be assigned to the variable of the address text is registered corresponding to the address text of “GF100100”.

図6は、上記図4のプログラムリスト中に使用している各変数名テキストを、それぞれコメント変数テキストと格納アドレスに対応させて登録する変数名テキスト対応テーブルを模式的に示している。この図6において、各変数名テキストは、ユーザが任意に選んだ数字やアルファベットを組み合わせただけの抽象的な文字列の変数名で記述される。そしてこの変数名テキストが示す変数に代入される数値もまた、RAM上においてユーザが任意に指定した格納アドレス(記憶領域)に記憶される。変数名テキスト対応テーブルでは、各変数名テキストに対応して、代入する数値の意味を分かりやすく記述したコメント変数テキストとともに、上記の格納アドレスが登録される。例えば「sr」の変数名テキストに対応して、この変数名テキストの変数に代入される数値の意味を表す「球面曲率」のコメント変数テキストと、数値を記憶するRAM上の格納アドレス「GF01010」が別途ユーザにより登録される。このような変数名テキストを用いることで、ユーザは簡略化、抽象化した文字列で変数を記述できる。   FIG. 6 schematically shows a variable name text correspondence table in which each variable name text used in the program list of FIG. 4 is registered in correspondence with the comment variable text and the storage address. In FIG. 6, each variable name text is described by an abstract character string variable name that is simply a combination of numbers and alphabets arbitrarily selected by the user. A numerical value assigned to the variable indicated by the variable name text is also stored in a storage address (storage area) arbitrarily designated by the user on the RAM. In the variable name text correspondence table, the above storage address is registered corresponding to each variable name text, together with the comment variable text describing the meaning of the numerical value to be substituted in an easy-to-understand manner. For example, in correspondence with the variable name text of “sr”, the comment variable text of “spherical curvature” indicating the meaning of the numerical value assigned to the variable of the variable name text, and the storage address “GF01010” on the RAM for storing the numerical value. Is separately registered by the user. By using such variable name text, the user can describe the variable with a simplified and abstracted character string.

なお、これらのアドレステキスト対応テーブルと変数名テキスト対応テーブルを併せて、上記図2に示したデータベース19に相当する。   These address text correspondence table and variable name text correspondence table together correspond to the database 19 shown in FIG.

<式対応コメントテキストの生成と表示について>
図7は、本実施形態における式対応コメントテキストの生成手法を説明している。この図7においては、上記図4中の「GF00100=sr*sr」の演算式テキストに対応する「‘BC二乗’=‘球面曲率’*‘球面曲率’」の式対応コメントテキストの生成過程を例に取って説明している。
<Generation and display of comment text for expressions>
FIG. 7 illustrates a method for generating a comment text corresponding to an expression in the present embodiment. In FIG. 7, the process of generating the comment text corresponding to the expression “BC square” = “spherical curvature” * “spherical curvature” corresponding to the arithmetic expression text “GF00100 = sr * sr” in FIG. An example is given.

まずプログラムリストから対象となる演算式テキスト「GF00100=sr*sr」を複写し、そこに含まれている演算変数テキスト「GF00100」、「sr」、「sr」を抽出する。この抽出処理は、上記図2に示したエディタ12の演算変数抽出部122が演算式テキスト中から既成テキストである演算子テキスト及び関数テキストを排除して残った文字列を抽出することにより行う。   First, the target arithmetic expression text “GF100100 = sr * sr” is copied from the program list, and the arithmetic variable texts “GF00100”, “sr”, and “sr” included therein are extracted. This extraction process is performed by the operation variable extraction unit 122 of the editor 12 shown in FIG. 2 extracting the remaining character string by removing the operator text and the function text, which are the existing text, from the arithmetic expression text.

次に、抽出された各演算変数テキストにそれぞれ対応するコメント変数テキスト「BC二乗」、「球面曲率」、「球面曲率」を取得する。この取得処理は、エディタ12のコメント変数取得部123がデータベース19(上記図5のアドレステキスト対応テーブルと上記図6の変数名テキスト対応テーブル)を参照して、各演算変数テキストにそれぞれ対応するコメント変数テキストを検索して取得することにより行う。   Next, the comment variable texts “BC square”, “spherical curvature”, and “spherical curvature” respectively corresponding to the extracted operation variable texts are acquired. In this acquisition process, the comment variable acquisition unit 123 of the editor 12 refers to the database 19 (the address text correspondence table in FIG. 5 and the variable name text correspondence table in FIG. 6), and comments corresponding to each calculation variable text. This is done by searching and obtaining variable text.

次に、上記複写した元の演算式テキスト中における各演算変数テキストに対して、それぞれ対応して取得したコメント変数テキストを置換することで式対応コメントテキスト「‘BC二乗’=‘球面曲率’*‘球面曲率’」を生成する。この生成処理は、エディタ12の式対応コメント生成部124が、プログラムリストから複写した演算式テキストに対してその中の演算変数テキストをコメント変数テキストに置換し、さらに各コメント変数テキストの前後をクォーテーションマーク「‘」、「’」で囲むように付加することにより行う。   Next, by replacing the comment variable text obtained corresponding to each calculation variable text in the copied original calculation formula text, the expression corresponding comment text “'BC square” = “spherical curvature” * Generate 'spherical curvature'. In this generation processing, the expression corresponding comment generation unit 124 of the editor 12 replaces the operation variable text in the operation expression text copied from the program list with the comment variable text, and further, quotes are added before and after each comment variable text. This is done by adding marks "'" and "'".

図8は、生成した式対応コメントテキストをプログラムリストの表示画面上に表示する手法を説明している。まず図8の上方に示すように、入力処理部17を介したユーザの入力に基づいてエディタ12の演算式記述表示部121がプログラムリスト中に演算式テキスト(図示する例では「GF00100=sr*sr」)を記述する。そして、エディタ12による後述のリスト表示処理が、図8の下方に示すように各演算式テキストにそれぞれ対応した式対応コメントテキスト(図示する例では「‘BC二乗’=‘球面曲率’*‘球面曲率’」)を自動的に生成し、表示処理部18を介してディスプレイ1bにおけるプログラムリストの表示画面上に各演算式テキストとともにリアルタイムに表示する。この表示処理は、エディタ12の式対応コメント表示部125が、プログラムリストの表示画面中における対象の演算式テキストの行(演算式表示領域42)と直前の行の間に新たにコメント表示領域41を挿入するよう配置し、そこに生成した式対応コメントテキストを表示することにより行う。   FIG. 8 illustrates a method for displaying the generated expression-corresponding comment text on the program list display screen. First, as shown in the upper part of FIG. 8, the arithmetic expression description display unit 121 of the editor 12 displays an arithmetic expression text (“GF00100 = sr *” in the illustrated example) in the program list based on a user input via the input processing unit 17. sr "). Then, a list display process to be described later by the editor 12 is performed as shown in the lower part of FIG. 8. The comment text corresponding to each formula (in the example shown, “'BC square' = 'spherical curvature' * 'spherical surface). Curvature '") is automatically generated and displayed in real time along with each arithmetic expression text on the display screen of the program list on the display 1b via the display processing unit 18. In this display process, the expression corresponding comment display unit 125 of the editor 12 newly adds a comment display area 41 between the line of the operation expression text (operation expression display area 42) and the immediately preceding line in the program list display screen. This is done by displaying the comment text corresponding to the generated expression.

なお特に図示しないが、すでに対応する式対応コメントテキストが生成、表示されている状態で元の演算式テキストの内容を変更した場合には、上記のリスト表示処理により、新たに対応する式対応コメントテキストが自動的に生成されて同じコメント表示領域41にリアルタイムに再表示される。また本実施形態では、コメント表示領域41が演算式テキストの行と直前の行との間に配置されるが、これに限られない。例えばユーザからの設定によって、演算式テキストの行と直後の行との間や、当該演算式テキストと同じ行にマルチステートメントでコメント表示領域41を挿入できるようにしてもよい(図示省略)。   Although not shown in particular, if the content of the original arithmetic expression text is changed in a state where the corresponding expression-corresponding comment text has already been generated and displayed, a new corresponding expression-corresponding comment is obtained by the above list display processing. Text is automatically generated and redisplayed in real time in the same comment display area 41. In the present embodiment, the comment display area 41 is arranged between the line of the arithmetic expression text and the line immediately before, but the present invention is not limited to this. For example, the comment display area 41 may be inserted in a multi-statement between the line of the arithmetic expression text and the line immediately after the arithmetic expression text or in the same line as the arithmetic expression text (not shown).

<制御フロー>
以上のような機能を実現するために、汎用PC1のCPU(演算装置)がエディタ12上で実行する上記リスト表示処理の制御手順を、図9、図10により順を追って説明する。まず図9において、このフローに示す処理は、ディスプレイ1b上においてM行分の表示が可能なウィンドウ部(図4の「EXPRESSION」ウィンドウ部)中に全行数NのプログラムリストのうちのP行目からの記述内容を式対応コメントテキストも挿入配置しつつリスト表示する処理であり、エディタ12の操作中に所定の微少時間毎に逐次実行される。
<Control flow>
The control procedure of the list display processing executed by the CPU (arithmetic unit) of the general-purpose PC 1 on the editor 12 in order to realize the functions as described above will be described in order with reference to FIGS. First, in FIG. 9, the processing shown in this flow is performed in the P portion of the program list of N rows in the window portion (“EXPRESSION” window portion in FIG. 4) capable of displaying M lines on the display 1b. This is a process of displaying the contents of the description as a list while inserting and arranging the comment text corresponding to the expression, and is sequentially executed every predetermined minute time during the operation of the editor 12.

まずステップS5で、汎用PC1のCPUは、プログラムリストの全行数Nを計数して取得する   First, in step S5, the CPU of the general-purpose PC 1 counts and acquires the total number N of lines in the program list.

次にステップS10へ移り、汎用PC1のCPUは、ウィンドウ部の表示可能行数Mを取得する。   Next, the process proceeds to step S10, and the CPU of the general-purpose PC 1 acquires the number M of displayable lines in the window portion.

次にステップS15へ移り、汎用PC1のCPUは、ウィンドウ部中におけるスクロールの状態から現在のプログラムリストの表示開始行Pを取得する。   In step S15, the CPU of the general-purpose PC 1 acquires the display start line P of the current program list from the scroll state in the window portion.

次にステップS20へ移り、汎用PC1のCPUは、変数である表示行カウンタLCに1の値を代入する。   Next, the process proceeds to step S20, and the CPU of the general-purpose PC 1 assigns a value of 1 to the display row counter LC that is a variable.

次にステップS25へ移り、汎用PC1のCPUは、プログラムリスト上におけるP行目に演算式テキストの記述が含まれているか否かを判定する。P行目中に演算式テキストの記述が含まれていない場合、判定は満たされず、ステップS45へ移る。   Next, the process proceeds to step S25, and the CPU of the general-purpose PC 1 determines whether or not an arithmetic text description is included in the P-th line on the program list. If the description of the arithmetic expression text is not included in the Pth line, the determination is not satisfied, and the routine goes to Step S45.

一方、P行目中に演算式テキストの記述が含まれている場合、判定が満たされ、ステップS100へ移る。   On the other hand, if the description of the arithmetic expression text is included in the Pth line, the determination is satisfied, and the routine goes to Step S100.

ステップS100では、汎用PC1のCPUは、上記ステップS25で判定された演算式テキストに対応する式対応コメントテキストを生成する式対応コメントテキスト生成処理を実行する(後述の図10参照)。   In step S100, the CPU of the general-purpose PC 1 executes an expression corresponding comment text generation process for generating an expression corresponding comment text corresponding to the arithmetic expression text determined in step S25 (see FIG. 10 described later).

次にステップS30へ移り、汎用PC1のCPUは、ウィンドウ部中のLC行目に上記ステップS100で生成した式対応コメントテキストを表示する。なお、このステップS30の表示処理が、上記図2中に示した式対応コメント表示部125と、各請求項記載の式対応コメント表示部に相当する。   In step S30, the CPU of the general-purpose PC 1 displays the expression corresponding comment text generated in step S100 on the LC line in the window portion. Note that the display processing in step S30 corresponds to the expression correspondence comment display section 125 shown in FIG. 2 and the expression correspondence comment display section described in each claim.

次にステップS35へ移り、汎用PC1のCPUは、その時点の表示行カウンタLCの値がウィンドウ部の表示可能行数Mの値と一致するか否かを判定する。言い換えると、ウィンドウ部中の最終行まで表示したか否かを判定する。LCの値とMの値が一致する場合、判定が満たされ、このフローを終了する。   Next, the process proceeds to step S35, and the CPU of the general-purpose PC 1 determines whether or not the value of the display line counter LC at that time coincides with the value of the number M of displayable lines in the window portion. In other words, it is determined whether the last line in the window has been displayed. If the LC value matches the M value, the determination is satisfied and the flow ends.

一方、LCの値とMの値が一致しない場合、判定は満たされず、ステップS40へ移る。   On the other hand, if the LC value does not match the M value, the determination is not satisfied, and the routine goes to Step S40.

ステップS40では、汎用PC1のCPUは、表示行カウンタLCの値に1を加算する。   In step S40, the CPU of the general-purpose PC 1 adds 1 to the value of the display row counter LC.

次にステップS45へ移り、汎用PC1のCPUは、ウィンドウ部中のLC行目にプログラムリスト上のP行目を表示する。   In step S45, the CPU of the general-purpose PC 1 displays the Pth line on the program list on the LC line in the window portion.

次にステップS50へ移り、汎用PC1のCPUは、その時点の表示行カウンタLCの値がウィンドウ部の表示可能行数Mの値と一致するか否かを判定する。LCの値とMの値が一致する場合、判定が満たされ、このフローを終了する。   Next, the process proceeds to step S50, and the CPU of the general-purpose PC 1 determines whether or not the value of the display line counter LC at that time coincides with the value of the number M of displayable lines in the window portion. If the LC value matches the M value, the determination is satisfied and the flow ends.

一方、LCの値とMの値が一致しない場合、判定は満たされず、ステップS55へ移る。   On the other hand, if the LC value does not match the M value, the determination is not satisfied, and the routine goes to Step S55.

ステップS55では、汎用PC1のCPUは、その時点のPの値がプログラムリストの全行数Nの値と一致するか否かを判定する。言い換えると、ウィンドウ部中にプログラムリストを最終行まで表示したか否かを判定する。Pの値とNの値が一致する場合、判定が満たされ、このフローを終了する。   In step S55, the CPU of the general-purpose PC 1 determines whether or not the value of P at that time matches the value of the total number of rows N in the program list. In other words, it is determined whether or not the program list is displayed up to the last line in the window portion. If the value of P matches the value of N, the determination is satisfied and the flow ends.

一方、Pの値とNの値が一致しない場合、判定は満たされず、ステップS60へ移る。   On the other hand, if the value of P does not match the value of N, the determination is not satisfied, and the routine goes to Step S60.

ステップS60では、汎用PC1のCPUは、Pの値とLCの値にそれぞれ1を加算する。そして、上記ステップS25へ戻り、同様の手順を繰り返す。   In step S60, the CPU of the general-purpose PC 1 adds 1 to the value of P and the value of LC, respectively. And it returns to said step S25 and repeats the same procedure.

図10は、上記図9中におけるステップS100の式対応テキストコメント生成部の詳細な制御手順を示している。   FIG. 10 shows a detailed control procedure of the expression corresponding text comment generation unit in step S100 in FIG.

まずステップS105で、汎用PC1のCPUは、プログラムリストのP行目から対象となる演算式テキストを複写して取得する。   First, in step S105, the CPU of the general-purpose PC 1 copies and obtains the target arithmetic expression text from the P-th line of the program list.

次にステップS110へ移り、汎用PC1のCPUは、上記ステップS105で取得した演算式テキストから演算変数テキストを抽出する。なお、このステップS110の抽出処理が、上記図2中に示した演算変数抽出部122と、各請求項記載の演算変数抽出部に相当する。   Next, the process proceeds to step S110, and the CPU of the general-purpose PC 1 extracts the calculation variable text from the calculation formula text acquired in step S105. The extraction process in step S110 corresponds to the calculation variable extraction unit 122 shown in FIG. 2 and the calculation variable extraction unit described in each claim.

次にステップS115へ移り、汎用PC1のCPUは、データベース19(アドレステキスト対応テーブルと変数名テキスト対応テーブル)を参照して、上記ステップS110で抽出した各演算変数テキストに対応するコメント変数テキストを取得する。なお、このステップS115の取得処理が、上記図2中に示したコメント変数取得部123と、各請求項記載のコメント変数取得部に相当する。   In step S115, the CPU of the general-purpose PC 1 refers to the database 19 (address text correspondence table and variable name text correspondence table), and obtains comment variable text corresponding to each operation variable text extracted in step S110. To do. The acquisition process in step S115 corresponds to the comment variable acquisition unit 123 shown in FIG. 2 and the comment variable acquisition unit described in each claim.

次にステップS120へ移り、汎用PC1のCPUは、上記ステップS105で複写した元の演算式テキスト中の各演算変数テキストを、上記ステップS115で取得したそれぞれに対応するコメント変数テキストに置換してコメントテキストを生成する。またこの際には、各コメント変数テキストをクォーテーションマーク「‘」、「’」で囲むよう処理する。なお、このステップS120の置換処理が、上記図2中に示した式対応コメント生成部124と、各請求項記載の式対応コメント生成部に相当する。そして、このフローを終了する。   In step S120, the CPU of the general-purpose PC 1 replaces each calculation variable text in the original calculation formula text copied in step S105 with the corresponding comment variable text acquired in step S115. Generate text. At this time, each comment variable text is processed so as to be enclosed by quotation marks “′” and “’ ”. Note that the replacement processing in step S120 corresponds to the expression corresponding comment generating unit 124 shown in FIG. 2 and the expression corresponding comment generating unit described in each claim. Then, this flow ends.

<本実施形態の効果>
以上説明したように、本実施形態の開発支援プログラム11によれば、演算変数抽出部122により演算式テキストから変数に関する演算変数テキストを抽出することと、コメント変数取得部123によりデータベース19を参照して演算変数テキストに対応するコメント変数テキストを取得することと、式対応コメント生成部124により演算式テキスト中の演算変数テキストをコメント変数テキストに置換して式対応コメントテキストを生成することと、式対応コメント表示部125により演算式表示領域42に対応するコメント表示領域41に式対応コメントテキストを表示することと、を実行する。
<Effect of this embodiment>
As described above, according to the development support program 11 of the present embodiment, the operation variable text is extracted from the operation expression text by the operation variable extraction unit 122 and the database 19 is referred to by the comment variable acquisition unit 123. Obtaining the comment variable text corresponding to the calculation variable text, generating the expression corresponding comment text by replacing the calculation variable text in the calculation expression text with the comment variable text by the expression corresponding comment generating unit 124, The corresponding comment display unit 125 displays the expression corresponding comment text in the comment display area 41 corresponding to the arithmetic expression display area 42.

これにより、新規入力又は修正入力された演算式テキストに対応する式対応コメントテキストが自動的に生成、修正され、プログラムリストの表示画面上におけるコメント表示領域41に表示される。特にこの式対応コメントテキストは、元の演算式テキスト中における各演算変数テキストだけを対応するコメント変数テキストに置換しているだけであり、他の演算子テキストや関数テキストは同じ配置関係が維持されたまま記述されるため、演算式全体の演算内容の意味合いは元の演算式テキストと同等に表現される。これにより、ユーザは演算式テキストを入力するだけで、同じ演算内容をさらに理解しやすく表現した式対応コメントテキストを手入力によらず正確かつ自動的に表示することができる。この結果、プログラムの開発効率、特にデバッグ効率が向上する。   Thereby, the comment text corresponding to the expression corresponding to the arithmetic expression text newly input or corrected is automatically generated and corrected, and displayed in the comment display area 41 on the program list display screen. In particular, the comment text corresponding to this expression only replaces each calculation variable text in the original calculation expression text with the corresponding comment variable text, and the other operator text and function text maintain the same positional relationship. Since it is described as it is, the meaning of the operation contents of the entire arithmetic expression is expressed equivalent to the original arithmetic expression text. Thereby, the user can display the comment text corresponding to the expression expressing the same calculation contents more easily and accurately without being manually input by simply inputting the expression text. As a result, program development efficiency, particularly debugging efficiency, is improved.

なお、本実施形態では、ユーザによるプログラムリスト中の演算式テキストの記述操作をエディタ12が常時リアルタイムに監視し、演算式テキストもしくは演算変数テキストの単位で記述入力が行われたと判断された際にすぐに対応するコメントテキストを生成、表示したが、これに限られない。例えば、特に図示しないが、式対応コメントテキストの表示と非表示をユーザが任意に切り替え設定可能にしてもよいし、またはユーザが特定の操作を行った場合だけ一時的に表示するようにしてもよい。また、本実施形態では、式対応コメントテキストをディスプレイ1b上におけるプログラムリストの表示画面上に表示するだけとしていたが、プログラムリストに直接挿入して記述してもよい。   In this embodiment, the editor 12 constantly monitors the description operation of the arithmetic expression text in the program list by the user in real time, and when it is determined that the description input is performed in units of the arithmetic expression text or the arithmetic variable text. Although the corresponding comment text was generated and displayed immediately, it is not limited to this. For example, although not shown in particular, the user may be able to arbitrarily switch between display and non-display of the comment text corresponding to the expression, or may be temporarily displayed only when the user performs a specific operation. Good. In this embodiment, the comment text corresponding to the expression is only displayed on the display screen of the program list on the display 1b. However, the comment text may be directly inserted into the program list and described.

また、本実施形態では特に、演算変数テキストが、ユーザが任意に指定した記憶領域の格納アドレスで表記したアドレステキストである。これにより、ユーザが任意に指定した記憶領域の格納アドレスに当該アドレステキストに対応する変数の数値内容を記憶させることができ、またその格納アドレスをプログラムリスト上でも確認できる。   In this embodiment, in particular, the calculation variable text is an address text expressed by a storage address of a storage area arbitrarily designated by the user. Thus, the numerical contents of the variable corresponding to the address text can be stored in the storage address of the storage area arbitrarily designated by the user, and the storage address can be confirmed on the program list.

また、本実施形態では特に、演算変数テキストが、ユーザが任意に設定した変数名で表記した変数名テキストである。これにより、ユーザは簡略化、抽象化した文字列で変数を記述できる。   In this embodiment, in particular, the calculation variable text is a variable name text expressed by a variable name arbitrarily set by the user. As a result, the user can describe the variable with a simplified and abstracted character string.

なお、本実施形態では、ユーザが新規に作成したか、もしくは既存のものを修正したプログラムリストに対して自動的にテキストコメントを生成し、これを挿入表示したが、これに限られない。例えば、一度コンパイラ14によって変換された実行コードを逆コンパイラ15によって再度逆変換されたプログラムリストに対しても本実施形態を適用できる。この場合には、エディタ12が対応するデータベース19(アドレステキスト対応テーブルと変数名テキスト対応テーブル)も併せて取得し参照することで、各演算式テキストの記述内容に対応した式対応コメントテキストを新たに生成してプログラムリストの表示画面上に表示できる。   In the present embodiment, a text comment is automatically generated for a program list newly created by a user or an existing one is modified, and this is inserted and displayed. However, the present invention is not limited to this. For example, the present embodiment can be applied to a program list in which an execution code once converted by the compiler 14 is reversely converted again by the reverse compiler 15. In this case, by obtaining and referring to the database 19 (address text correspondence table and variable name text correspondence table) corresponding to the editor 12 as well, new expression correspondence comment texts corresponding to the description contents of the respective operation expression texts are newly created. Can be generated and displayed on the program list display screen.

また、本実施形態では特に、テキスト記述型プログラムのプログラムリストが、図形記述型プログラムのラダー図中の数値演算処理に適用されるものである。この場合、テキスト記述型プログラムが分担して行う処理は数値演算に特化することになり、演算式テキストを多用する記述となるため、本実施形態の適用が特に有用である。   In this embodiment, in particular, the program list of the text description type program is applied to the numerical operation processing in the ladder diagram of the graphic description type program. In this case, the processing performed by the text description type program is specialized in numerical computation, and is a description that makes heavy use of arithmetic expression text. Therefore, the application of this embodiment is particularly useful.

<変形例>
なお、開示の実施形態は、上記に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で種々の変形が可能である。以下、そのような変形例を説明する。
<Modification>
The disclosed embodiments are not limited to the above, and various modifications can be made without departing from the spirit and technical idea thereof. Hereinafter, such modifications will be described.

(1)コメント変数テキストの表示文字数を任意に設定する場合
上記実施形態では、式対応コメントテキストを表示する際にデータベース19に登録されているコメント変数テキストをそのまま置換した状態の式対応コメントテキストをプログラムリストの表示画面中に表示していたが、これに限られない。例えば、コメント変数テキストが長文で登録された場合を考慮して、プログラムリストの表示画面中におけるコメント変数テキストの表示文字数をユーザが任意に設定できるようにしてもよい。
(1) In the case where the number of display characters of the comment variable text is arbitrarily set In the above embodiment, the comment corresponding text in the state in which the comment variable text registered in the database 19 is directly replaced when the comment corresponding text is displayed. Although it was displayed on the program list display screen, it is not limited to this. For example, in consideration of the case where the comment variable text is registered as a long sentence, the user may arbitrarily set the number of display characters of the comment variable text in the program list display screen.

例えば、上記図5のアドレステキスト対応テーブルにおいて、「GF00100」のアドレステキストに対応して「2つの球面曲率を掛け合わせて算出したBC二乗」といった長文のコメント変数テキストを登録した場合には、そのままコメント変数テキストを置換すると式対応コメントテキスト全体が冗長となって見づらくなる。これに対して本変形例では、エディタ12のオプション設定によりコメント変数テキストの表示文字数を例えば先頭の5文字に設定することで、図11の上方部に示すようにコメント変数テキストを「‘2つの球面〜’」とだけ表示することができる。なお、末尾の「〜」は、登録されたコメント変数テキストの先頭の一部だけを表示していることを示すフッタである。そして、ユーザがプログラムリストの表示画面上で部分表示されたコメント変数テキストの表示領域41にカーソルCを重ねることで、図11の下方部に示すようにいわゆるバルーンヘルプBHの態様でコメント変数テキストを全文字数で表示する。   For example, if a long comment variable text such as “BC square calculated by multiplying two spherical curvatures” is registered in the address text correspondence table of FIG. Replacing comment variable text makes the entire comment text corresponding to an expression redundant and difficult to see. On the other hand, in this modification, by setting the number of display characters of the comment variable text to, for example, the first five characters by the option setting of the editor 12, the comment variable text is changed to “'two” as shown in the upper part of FIG. "Spherical surface ~ '" can be displayed only. Note that “˜” at the end is a footer indicating that only a part of the beginning of the registered comment variable text is displayed. Then, when the user places the cursor C on the comment variable text display area 41 partially displayed on the program list display screen, the comment variable text is displayed in a so-called balloon help BH mode as shown in the lower part of FIG. Displays the total number of characters.

以上説明したように、本変形例の開発支援プログラム11によれば、コメント表示領域41におけるコメント変数テキストの表示文字数が任意に設定可能である。これにより、それぞれのコメント変数テキストを具体的かつ詳細な長文記述で登録した場合でも、式対応コメントテキスト全体を簡略化して見やすく表示できる。   As described above, according to the development support program 11 of this modification, the number of display characters of the comment variable text in the comment display area 41 can be arbitrarily set. As a result, even when each comment variable text is registered with a specific and detailed long description, the entire expression-corresponding comment text can be simplified and displayed easily.

なお、最終的にはディスプレイ1b上におけるプログラムリストの表示画面が見やすくなればよいだけである。このため、プログラムリスト中においては原文のままのコメント変数テキストで式対応コメントテキストを記述し、プログラムリストの表示画面上において表示文字数を制限するようにしてもよい。   It is only necessary that the display screen of the program list on the display 1b is finally easy to see. For this reason, in the program list, the comment text corresponding to the expression may be described using the original comment variable text, and the number of display characters may be limited on the display screen of the program list.

また、本変形例では特に、GUI上でコメント表示領域41におけるコメント変数テキストの表示領域にカーソルCを重ねた際に、バルーンヘルプBHで当該コメント変数テキストを全文字数で表示する。これにより、簡略化表示されたコメント変数テキストの正確な記述を容易に確認できる。   In the present modification, particularly, when the cursor C is overlaid on the comment variable text display area in the comment display area 41 on the GUI, the comment variable text is displayed with the total number of characters by the balloon help BH. Thereby, it is possible to easily confirm the accurate description of the comment variable text displayed in a simplified manner.

(2)コメント変数テキストだけを特別な態様で表示する場合
上記実施形態では、式対応コメントテキスト中において、コメント変数テキストと、演算子テキストと、関数テキストのいずれも同じ態様で表示していたが、これに限られない。例えば、上記図4に対応する図12に示すように、各式対応コメントテキスト中においてコメント変数テキストだけを他の演算子テキストや関数テキストと異なる特別な態様で表示してもよい。図示する例では、コメント変数テキストだけを太字、斜体のフォントスタイルで表示している。このような表示を行うことで、式対応コメントテキスト中におけるコメント変数テキストと演算子テキスト(関数テキスト)の区別か明確となり、式対応コメントテキスト全体の構成が容易に把握可能となる。なお、特別な表示態様として、図示した例のフォントスタイル以外にも、文字色や大きさ(ポイント)などで相違させてもよい。
(2) When only the comment variable text is displayed in a special manner In the above embodiment, the comment variable text, the operator text, and the function text are all displayed in the same manner in the comment text corresponding to the expression. Not limited to this. For example, as shown in FIG. 12 corresponding to FIG. 4, only the comment variable text in the comment text corresponding to each expression may be displayed in a special mode different from other operator text and function text. In the illustrated example, only the comment variable text is displayed in bold and italic font style. By performing such display, it becomes clear whether the comment variable text and the operator text (function text) in the comment text corresponding to the expression are distinct, and the configuration of the entire comment text can be easily grasped. Note that, as a special display mode, in addition to the font style of the illustrated example, it may be different depending on the character color or size (point).

また本変形例においても、最終的にはディスプレイ1b上でのプログラムリストの表示が明確になればよいだけである。このため、プログラムリスト中においては通常の態様のコメント変数テキストで式対応コメントテキストを記述し、プログラムリストの表示画面上での表示においてコメント変数テキストだけを特別な態様で表示するようにしてもよい。   Also in this modified example, it is only necessary to finally display the program list on the display 1b. For this reason, in the program list, the comment text corresponding to the expression may be described in the comment variable text in the normal mode, and only the comment variable text may be displayed in a special mode in the display on the display screen of the program list. .

また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。   In addition to those already described above, the methods according to the above-described embodiments and modifications may be used in appropriate combination.

その他、一々例示はしないが、上記実施形態や各変形例は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。   In addition, although not illustrated one by one, the above-mentioned embodiment and each modification are implemented with various modifications within a range not departing from the gist thereof.

1 汎用パーソナルコンピュータ(開発支援装置)
1a 操作部
1b ディスプレイ(表示部)
2 プログラマブルロジックコントローラ
3 サーボアンプ
4 モータ
11 開発支援プログラム
12 エディタ
13 記憶部
14 コンパイラ
15 逆コンパイラ
16 送受信部
17 入力処理部
18 表示処理部
19 データベース
20 マネージャ
21 プログラムリスト及びラダー図
22 実行コード
41 コメント表示領域
42 演算式表示領域
121 演算式記述表示部
122 演算数抽出部
123
コメント変数取得部
124
コメント生成部
対応コメント表示部
10 開発支援シテム
カーソル
BH バルーンヘルプ
1 General-purpose personal computer (development support device)
1a Operation unit 1b Display (display unit)


DESCRIPTION OF SYMBOLS 2 Programmable logic controller 3 Servo amplifier 4 Motor 11 Development support program 12 Editor 13 Memory | storage part 14 Compiler 15 Decompiler 16 Transmission / reception part 17 Input processing part 18 Display processing part 19 Database 20 Manager 21 Program list and ladder diagram 22 Execution code 41 Comment display Area 42 Calculation expression display area 121 Calculation expression description display section 122 Calculation variable extraction section 123 Comment variable acquisition section 124 Comment generation section 125 Expression corresponding comment display section 100 Development support system C Cursor BH Balloon help

Claims (8)

実行コードから逆変換されたテキスト記述型プログラムの開発支援装置が備える演算装置に実行させる開発支援プログラムであって、
前記実行コードに対応するデータベースを取得することと、
前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、前記開発支援装置が備える表示部上の所定の演算式表示領域に表示することと、
前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出することと、
前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得することと、
前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成することと、
前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示することと、
を実行することを特徴とする開発支援プログラム。
A development support program to be executed by an arithmetic unit provided in a development support device for a text description type program inversely converted from an execution code,
Obtaining a database corresponding to the executable code;
Displaying the arithmetic expression text described in the program list of the text description type program in a predetermined arithmetic expression display area on a display unit included in the development support device;
Extracting a calculation variable text expressed by a storage area address from the calculation formula text;
Obtaining a comment variable text corresponding to the operation variable text with reference to the database;
Replacing the operation variable text in the operation expression text with the comment variable text to generate an expression corresponding comment text in a text string including the comment variable text and operator text ;
Displaying the expression corresponding comment text in a comment display area corresponding to the arithmetic expression display area;
Development support program characterized by executing
前記コメント表示領域における前記コメント変数テキストの表示文字数は、任意に設定可能であることを特徴とする請求項記載の開発支援プログラム。 Wherein the comment display area Comment variable display characters of text, according to claim 1 development support program, wherein can be arbitrarily set. GUI上で前記コメント表示領域における前記コメント変数テキストの表示領域にカーソルを重ねた際に、バルーンヘルプで当該コメント変数テキストを全文字数で表示することを特徴とする請求項記載の開発支援プログラム。 3. The development support program according to claim 2 , wherein when the cursor is placed on a display area of the comment variable text in the comment display area on the GUI, the comment variable text is displayed with the total number of characters by balloon help. 前記式対応コメントテキスト中における前記コメント変数テキストを演算子テキストと異なる態様で表示することを特徴とする請求項1乃至のいずれか1項に記載の開発支援プログラム。 The development support program according to any one of claims 1 to 3 , wherein the comment variable text in the expression-corresponding comment text is displayed in a different form from the operator text. 前記テキスト記述型プログラムは、図形記述型プログラム中の数値演算処理に適用されるものであることを特徴とする請求項1乃至のいずれか1項に記載の開発支援プログラム。 The development support program according to any one of claims 1 to 4 , wherein the text description type program is applied to numerical operation processing in a graphic description type program. 請求項1乃至のいずれか1項に記載の開発支援プログラムを記録した、前記開発支援装置が読み取り可能な記録媒体。 Development support program was recorded, the development support device readable recording medium according to any one of claims 1 to 5. 実行コードから逆変換されたテキスト記述型プログラムの開発支援方法であって、
前記実行コードに対応するデータベースを取得することと、
前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、所定の演算式表示領域に表示することと、
前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出することと、
前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得することと、
前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成することと、
前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示することと、
を実行することを特徴とする開発支援方法。
A method for supporting the development of a text description type program that has been inversely transformed from an executable code,
Obtaining a database corresponding to the executable code;
Displaying the arithmetic expression text described in the program list of the text description type program in a predetermined arithmetic expression display area;
Extracting a calculation variable text expressed by a storage area address from the calculation formula text;
Obtaining a comment variable text corresponding to the operation variable text with reference to the database;
Replacing the operation variable text in the operation expression text with the comment variable text to generate an expression corresponding comment text in a text string including the comment variable text and operator text ;
Displaying the expression corresponding comment text in a comment display area corresponding to the arithmetic expression display area;
A development support method characterized by executing
実行コードから逆変換されたテキスト記述型プログラムの開発支援装置であって、
前記実行コードに対応するデータベースを取得するデータベース取得部と、
前記テキスト記述型プログラムのプログラムリストに記述されている演算式テキストを、当該開発支援装置が備える表示部上の所定の演算式表示領域に表示する演算式記述表示部と、
前記演算式テキストから記憶領域のアドレスで表記した演算変数テキストを抽出する演算変数抽出部と、
前記データベースを参照して前記演算変数テキストに対応するコメント変数テキストを取得するコメント変数取得部と、
前記演算式テキスト中の前記演算変数テキストを前記コメント変数テキストに置換して前記コメント変数テキストと演算子テキストを含んだテキスト列で式対応コメントテキストを生成する式対応コメント生成部と、
前記演算式表示領域に対応するコメント表示領域に前記式対応コメントテキストを表示する式対応コメント表示部と、
を有することを特徴とする開発支援装置。
A development support device for a text description type program that is inversely transformed from an executable code,
A database acquisition unit for acquiring a database corresponding to the execution code;
An arithmetic expression description display unit for displaying the arithmetic expression text described in the program list of the text description type program in a predetermined arithmetic expression display area on the display unit included in the development support apparatus;
A calculation variable extraction unit that extracts a calculation variable text represented by a storage area address from the calculation formula text;
A comment variable obtaining unit that obtains a comment variable text corresponding to the operation variable text with reference to the database;
An expression corresponding comment generating unit that replaces the operation variable text in the operation expression text with the comment variable text and generates an expression corresponding comment text in a text string including the comment variable text and the operator text ;
An expression corresponding comment display section for displaying the expression corresponding comment text in a comment display area corresponding to the arithmetic expression display area;
A development support apparatus characterized by comprising:
JP2015132795A 2015-07-01 2015-07-01 Development support program, recording medium, development support method, and development support apparatus Active JP6394516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015132795A JP6394516B2 (en) 2015-07-01 2015-07-01 Development support program, recording medium, development support method, and development support apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015132795A JP6394516B2 (en) 2015-07-01 2015-07-01 Development support program, recording medium, development support method, and development support apparatus

Publications (2)

Publication Number Publication Date
JP2017016411A JP2017016411A (en) 2017-01-19
JP6394516B2 true JP6394516B2 (en) 2018-09-26

Family

ID=57828203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015132795A Active JP6394516B2 (en) 2015-07-01 2015-07-01 Development support program, recording medium, development support method, and development support apparatus

Country Status (1)

Country Link
JP (1) JP6394516B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7447574B2 (en) * 2020-03-12 2024-03-12 オムロン株式会社 Support equipment, support programs and support methods
JP2024011850A (en) * 2022-07-15 2024-01-25 オムロン株式会社 Control program editing device, editing method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001142684A (en) * 1999-11-15 2001-05-25 Fujitsu Ltd Recording medium stored with program for analyzing source program
JP4972866B2 (en) * 2005-03-10 2012-07-11 富士通株式会社 Conversion program
JP2006330865A (en) * 2005-05-24 2006-12-07 Keyence Corp User program display device, and program applied to the same
JP5490170B2 (en) * 2012-04-03 2014-05-14 三菱電機株式会社 Program creation support apparatus and program creation support method
WO2014064830A1 (en) * 2012-10-26 2014-05-01 株式会社安川電機 Development support device and development support program

Also Published As

Publication number Publication date
JP2017016411A (en) 2017-01-19

Similar Documents

Publication Publication Date Title
US7805705B2 (en) Graphically depicting program code depth
US10203850B2 (en) Data editing apparatus, data editing method, and data editing program
JP5454783B2 (en) Variable name input support method in PLC programming, variable name input support device in PLC programming, and computer program
CN105446983A (en) Method and device used for generating data format descriptive language model
KR101324370B1 (en) Sequence program debugging device, debugging method, and program
WO2019098107A1 (en) Translation support device, translation support program, and method to support translation with information processing device
JP6394516B2 (en) Development support program, recording medium, development support method, and development support apparatus
Kiesel et al. WAT-SL: a customizable web annotation tool for segment labeling
CN112487334A (en) Method, apparatus, computer device and medium for front end page language translation
JP5490170B2 (en) Program creation support apparatus and program creation support method
US9342064B2 (en) Motion SFC program component creation device
JP2005242682A (en) Graphical programming apparatus and programmable display unit
JP4735854B2 (en) PLC program development support device
JP5109646B2 (en) Program source conversion device
US11055069B2 (en) Tree structure data editing device, tree structure data editing method, and program
JP2009086922A (en) Program editing device
CN107612919B (en) Protocol configuration method and device
JP2011165039A (en) Model debugging device and model debugging method
JP2009163524A (en) Arithmetic processing unit
JP2018156214A (en) SFC program creation support apparatus, SFC program creation support program, and SFC program creation method
JP2003303100A (en) Information processing system, method for constructing information processing system, and program therefor
JP6407481B1 (en) Program creation device
JPS63109578A (en) Processing system for logic diagram outline display
JP2013030196A (en) Program editing device
JP2006195827A (en) Application development tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180412

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: 20180731

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180813

R150 Certificate of patent or registration of utility model

Ref document number: 6394516

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150