JP6150953B2 - Debugging device, debugging method, and debugging program - Google Patents

Debugging device, debugging method, and debugging program Download PDF

Info

Publication number
JP6150953B2
JP6150953B2 JP2016555839A JP2016555839A JP6150953B2 JP 6150953 B2 JP6150953 B2 JP 6150953B2 JP 2016555839 A JP2016555839 A JP 2016555839A JP 2016555839 A JP2016555839 A JP 2016555839A JP 6150953 B2 JP6150953 B2 JP 6150953B2
Authority
JP
Japan
Prior art keywords
data
unit
name
dependency
symbol
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
JP2016555839A
Other languages
Japanese (ja)
Other versions
JPWO2016194099A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6150953B2 publication Critical patent/JP6150953B2/en
Publication of JPWO2016194099A1 publication Critical patent/JPWO2016194099A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Description

本発明は、産業機械を制御する制御装置で実行される制御プログラムのデバッグを行うデバッグ装置、デバッグ方法及びデバッグプログラムに関する。   The present invention relates to a debugging device, a debugging method, and a debugging program for debugging a control program executed by a control device that controls an industrial machine.

産業機械を制御する制御装置で実行される制御プログラムは、制御装置のメモリ内の複数の作業領域である複数のデバイスにアクセスする。制御プログラムは、あるデバイスのデータに応じて、他のデバイスにデータを書き込む。つまり、デバイス間には、依存関係がある。   A control program executed by the control device that controls the industrial machine accesses a plurality of devices that are a plurality of work areas in the memory of the control device. The control program writes data to other devices according to the data of a certain device. That is, there is a dependency relationship between devices.

従来、ユーザは、制御プログラムのデバッグを行う際に、制御プログラムをプログラムエディタで開いて、デバイス間の依存関係を辿る必要があった。   Conventionally, when debugging a control program, the user has to open the control program with a program editor and trace the dependency between devices.

しかし、第1のデバイスが第2のデバイスに依存し、第2のデバイスが第3のデバイスに依存するような場合がある。また、第4及び第5のデバイスが、第6のデバイスに依存するような場合もある。このような場合には、ユーザは、制御プログラムを複数のプログラムエディタで開いて、デバイス間の依存関係を辿る必要があった。従って、ユーザはデバイス間の依存関係を把握しづらく、デバッグ工数が多くなり、トラブルの早期解決が困難であった。   However, there may be cases where the first device depends on the second device and the second device depends on the third device. In some cases, the fourth and fifth devices depend on the sixth device. In such a case, the user has to open the control program with a plurality of program editors and trace the dependency between devices. Therefore, it is difficult for the user to grasp the dependency relationship between devices, the number of debugging steps increases, and it is difficult to quickly solve the trouble.

関連する技術として、下記の特許文献1には、複数の制御プログラミング言語を混在表記可能とし、混在した制御プログラミング言語のコンパイルを行うプログラミング装置が記載されている(段落0092から0180まで及び図1から図7まで)。   As a related technique, the following Patent Document 1 describes a programming apparatus that can compile a mixed control programming language by allowing a mixed notation of a plurality of control programming languages (from paragraphs 0092 to 0180 and FIG. 1). Up to FIG. 7).

特開2001−22412号公報JP 2001-22412 A

しかしながら、特許文献1記載の技術では、デバイス間の依存関係の把握を容易にすることは記載されていない。   However, the technique described in Patent Document 1 does not describe facilitating understanding of the dependency relationship between devices.

本発明は、上記に鑑みてなされたものであって、デバイス間の依存関係の把握を容易にすることができるデバッグ装置を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a debugging apparatus that can easily grasp the dependency relationship between devices.

上述した課題を解決し、目的を達成するために、本発明は、制御装置で実行される制御プログラム及び制御装置のメモリ内の複数の作業領域である複数のデバイスを規定する記述がなされたデータであるデバイスメモリを含むプロジェクトデータを記憶する記憶部と、文字又は画像を表示する表示部と、制御プログラム内で記述された複数のデバイスの依存関係を表す依存データを作成して記憶部に格納する依存データ作成部と、依存データに基づいて、複数のデバイスの依存関係を表す画像を表示部に表示させる描画部と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a control program executed by the control device and data describing a plurality of devices which are a plurality of work areas in the memory of the control device. A storage unit for storing project data including a device memory, a display unit for displaying characters or images, and dependency data representing dependency relationships of a plurality of devices described in the control program are created and stored in the storage unit. A dependency data creating unit, and a drawing unit that displays on the display unit images representing the dependency relationships of a plurality of devices based on the dependency data.

本発明にかかるデバッグ装置は、デバイス間の依存関係の把握を容易にすることができるという効果を奏する。   The debugging apparatus according to the present invention has an effect that it is possible to easily grasp the dependency relationship between devices.

実施の形態1にかかる制御システムの構成を示す図The figure which shows the structure of the control system concerning Embodiment 1. FIG. 実施の形態1にかかる制御装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the control apparatus concerning Embodiment 1. 実施の形態1にかかるラベル情報の例を示す図The figure which shows the example of the label information concerning Embodiment 1 実施の形態1にかかる制御プログラムの例を示す図The figure which shows the example of the control program concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールのハードウェア構成を示す図The figure which shows the hardware constitutions of the engineering tool concerning Embodiment 1. 実施の形態1にかかるエンジニアリングツールの機能ブロックを示す図The figure which shows the functional block of the engineering tool concerning Embodiment 1. 実施の形態1にかかるシンボルデータの例を示す図FIG. 3 is a diagram illustrating an example of symbol data according to the first embodiment. 実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートFlowchart showing the processing of the engineering tool according to the first embodiment 実施の形態1にかかる依存データの例を示す図The figure which shows the example of the dependence data concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートFlowchart showing the processing of the engineering tool according to the first embodiment 実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図The figure which shows the example of the display screen of the engineering tool concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートFlowchart showing the processing of the engineering tool according to the first embodiment 実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図The figure which shows the example of the display screen of the engineering tool concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図The figure which shows the example of the display screen of the engineering tool concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートFlowchart showing the processing of the engineering tool according to the first embodiment 実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートFlowchart showing the processing of the engineering tool according to the first embodiment 実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図The figure which shows the example of the display screen of the engineering tool concerning Embodiment 1 実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図The figure which shows the example of the display screen of the engineering tool concerning Embodiment 1 実施の形態2にかかる制御システムの構成を示す図The figure which shows the structure of the control system concerning Embodiment 2. FIG. 実施の形態2にかかるエンジニアリングツールの機能ブロックを示す図The figure which shows the functional block of the engineering tool concerning Embodiment 2. 実施の形態2にかかる制御プログラムの例を示す図The figure which shows the example of the control program concerning Embodiment 2 実施の形態2にかかる制御プログラムの例を示す図The figure which shows the example of the control program concerning Embodiment 2 実施の形態2にかかるエンジニアリングツールの処理を示すフローチャートFlow chart showing processing of engineering tool according to the second embodiment. 実施の形態2にかかる依存データの例を示す図The figure which shows the example of the dependence data concerning Embodiment 2 実施の形態2にかかる依存データの例を示す図The figure which shows the example of the dependence data concerning Embodiment 2

以下に、本発明の実施の形態にかかるデバッグ装置、デバッグ方法及びデバッグプログラムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, a debugging device, a debugging method, and a debugging program according to embodiments of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、実施の形態1にかかる制御システムの構成を示す図である。制御システム1は、エンジニアリングツール2と、制御装置3と、を含む。エンジニアリングツール2と制御装置3とは、ネットワークN1を介して通信可能に接続されている。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration of a control system according to the first embodiment. The control system 1 includes an engineering tool 2 and a control device 3. The engineering tool 2 and the control device 3 are communicably connected via a network N1.

エンジニアリングツール2は、制御装置3で実行される制御プログラムを含むプロジェクトデータを作成して、制御装置3に送信する。制御装置3は、プロジェクトデータに含まれる制御プログラムを実行することにより、機械を制御する。制御装置3は、プログラマブルコントローラ(JIS B 3502:2011、programmable controllers(PLC))が例示される。   The engineering tool 2 creates project data including a control program executed by the control device 3 and transmits it to the control device 3. The control device 3 controls the machine by executing a control program included in the project data. The control device 3 is exemplified by a programmable controller (JIS B 3502: 2011, programmable controllers (PLC)).

図2は、実施の形態1にかかる制御装置のハードウェア構成を示す図である。制御装置3は、メイン基板3aと、サブ基板3bと、を含む。   FIG. 2 is a diagram illustrating a hardware configuration of the control device according to the first embodiment. The control device 3 includes a main board 3a and a sub board 3b.

メイン基板3aは、CPU(Central Processing Unit)3a1と、RAM(Random Access Memory)であるメモリ3a2と、通信インタフェース3a3と、バスインタフェース3a4と、記憶部3a5と、を含む。CPU3a1、メモリ3a2、通信インタフェース3a3、バスインタフェース3a4及び記憶部3a5は、内部バスB1を介して接続されている。   The main board 3a includes a CPU (Central Processing Unit) 3a1, a memory 3a2 that is a RAM (Random Access Memory), a communication interface 3a3, a bus interface 3a4, and a storage unit 3a5. The CPU 3a1, the memory 3a2, the communication interface 3a3, the bus interface 3a4, and the storage unit 3a5 are connected via an internal bus B1.

通信インタフェース3a3は、エンジニアリングツール2と通信を行う。   The communication interface 3a3 communicates with the engineering tool 2.

バスインタフェース3a4は、内部バスB1と拡張バスB2とを連絡するバスブリッジ回路である。サブ基板3bは、拡張バスB2を介して、メイン基板3aに接続されている。サブ基板3bは、機械4に接続されている。   The bus interface 3a4 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2. The sub board 3b is connected to the main board 3a via the expansion bus B2. The sub board 3 b is connected to the machine 4.

記憶部3a5は、エンジニアリングツール2から受信したプロジェクトデータ24aを記憶する。記憶部3a5は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)が例示される。   The storage unit 3a5 stores the project data 24a received from the engineering tool 2. The storage unit 3a5 is exemplified by a solid state drive (SSD) or a hard disk drive (HDD).

プロジェクトデータ24aは、制御プログラム24a1と、制御プログラム24a1の実行時に参照される制御パラメータ24a2と、メモリ3a2内の複数の作業領域である複数のデバイスを規定する記述がなされたデータであるデバイスメモリ24a3と、サブ基板3bと機械4との接続関係を規定する接続情報24a4と、各デバイスの名称であるデバイス名とユーザが各デバイスに付した別名であるラベル名とを対応付けたラベル情報24a5と、を含む。   The project data 24a is a device memory 24a3 which is data in which a control program 24a1, a control parameter 24a2 referred to when the control program 24a1 is executed, and a description defining a plurality of devices which are a plurality of work areas in the memory 3a2. Connection information 24a4 that defines the connection relationship between the sub-board 3b and the machine 4, label information 24a5 that associates the device name that is the name of each device and the label name that is the alias that the user gave to each device, ,including.

実施の形態1では、制御プログラム24a1は、ラダー(Ladder、LD)言語(IEC 61131−3、JIS B 3503:2012)で記述されているものとするが、制御プログラム24a1はラダー言語で記述されることに限定されない。制御プログラム24a1が記述される他の言語は、構造化ラダー言語又はファンクションブロックダイアグラム(IEC 61131−3、JIS B 3503:2012、Function Block Diagram(FBD))言語が例示される。   In the first embodiment, the control program 24a1 is described in a ladder (Ladder, LD) language (IEC 61131-3, JIS B 3503: 2012). However, the control program 24a1 is described in a ladder language. It is not limited to that. As another language in which the control program 24a1 is described, a structured ladder language or a function block diagram (IEC 61131-3, JIS B 3503: 2012, Function Block Diagram (FBD)) language is exemplified.

メモリ3a2内には、デバイスメモリ24a3で規定される複数のデバイスが確保される。デバイス名は、制御装置3のメーカによって体系的に付される。実施の形態1では、メモリ3a2内の複数のデバイスの各々は、制御プログラム24a1の変数に対応する。実施の形態1では、デバイスのデータ型は、ワード型とビット型とがある。   A plurality of devices defined by the device memory 24a3 are secured in the memory 3a2. The device name is systematically given by the manufacturer of the control device 3. In the first embodiment, each of the plurality of devices in the memory 3a2 corresponds to a variable of the control program 24a1. In the first embodiment, the device data type includes a word type and a bit type.

図3は、実施の形態1にかかるラベル情報の例を示す図である。ラベル情報24a5は、デバイス名の項目と、ラベル名の項目と、を有する。行71のデバイス名の項目には、「M101」が記述されており、ラベル名の項目には、「B」が記述されている。つまり、ユーザは、デバイス名「M101」のデバイスに、ラベル名「B」を付している。ユーザは、制御プログラム24a1の中で、ラベル名「B」を記述することで、デバイス名「M101」のデバイスにアクセスすることができる。   FIG. 3 is a diagram illustrating an example of label information according to the first embodiment. The label information 24a5 includes a device name item and a label name item. “M101” is described in the item of the device name in the row 71, and “B” is described in the item of the label name. That is, the user attaches the label name “B” to the device with the device name “M101”. The user can access the device having the device name “M101” by describing the label name “B” in the control program 24a1.

これにより、ユーザのプログラミングが容易になり、制御プログラム24a1の可読性が向上する。   This facilitates user programming and improves the readability of the control program 24a1.

図4は、実施の形態1にかかる制御プログラムの例を示す図である。制御プログラム24a1は、行61,62,63及び64を含む。   FIG. 4 is a diagram illustrating an example of a control program according to the first embodiment. The control program 24a1 includes lines 61, 62, 63 and 64.

行61は、条件部61aと、動作部61bと、を含む。条件部61aは、デバイス名「X0」のデバイスのデータを読み込むロード命令である。実施の形態1では、英字「X」と、数値と、の結合は、ビット型のデバイスを表す。   The row 61 includes a condition part 61a and an operation part 61b. The condition part 61a is a load instruction for reading the data of the device having the device name “X0”. In the first embodiment, the combination of the letter “X” and the numerical value represents a bit type device.

動作部61bは、デバイス名「M100」のデバイスにデータを出力する出力命令である。実施の形態1では、英字「M」と、数値と、の結合は、ビット型のデバイスを表す。   The operation unit 61b is an output command for outputting data to the device having the device name “M100”. In the first embodiment, the combination of the letter “M” and the numerical value represents a bit type device.

行61では、デバイス名「X0」のデバイスのデータが「1」である場合に、デバイス名「M100」のデバイスに「1」が出力される。また、デバイス名「X0」のデバイスのデータが「0」である場合に、デバイス名「M100」のデバイスに「0」が出力される。   In line 61, when the data of the device with the device name “X0” is “1”, “1” is output to the device with the device name “M100”. Further, when the data of the device with the device name “X0” is “0”, “0” is output to the device with the device name “M100”.

つまり、デバイス名「M100」のデバイスは、デバイス名「X0」のデバイスに直接依存している。   That is, the device with the device name “M100” is directly dependent on the device with the device name “X0”.

行62は、条件部62aと、動作部62bと、を含む。条件部62aは、デバイス名が「X1」であるデバイスのデータを読み込むロード命令である。   The row 62 includes a condition part 62a and an operation part 62b. The condition part 62a is a load instruction for reading data of a device whose device name is “X1”.

動作部62bは、ラベル名「B」のデバイスにデータを出力する出力命令である。なお、先に図3で示したラベル情報24a5で説明したように、ラベル名「B」は、デバイス名「M101」のデバイスにユーザによって付された別名である。   The operation unit 62b is an output command for outputting data to the device with the label name “B”. As described above with reference to the label information 24a5 shown in FIG. 3, the label name “B” is an alias given to the device having the device name “M101” by the user.

行62では、デバイス名「X1」のデバイスのデータが「1」である場合に、ラベル名「B」のデバイスに「1」が出力される。また、デバイス名「X1」のデバイスのデータが「0」である場合に、ラベル名「B」のデバイスに「0」が出力される。   In the row 62, when the data of the device with the device name “X1” is “1”, “1” is output to the device with the label name “B”. Further, when the data of the device with the device name “X1” is “0”, “0” is output to the device with the label name “B”.

つまり、ラベル名「B」のデバイスは、デバイス名「X1」のデバイスに直接依存している。   That is, the device with the label name “B” is directly dependent on the device with the device name “X1”.

行63は、条件部63a及び63bと、動作部63cと、を含む。条件部63aは、デバイス名「M100」のデバイスのデータを読み込むロード命令である。条件部63bは、ラベル名「B」のデバイスのデータを読み込むロード命令である。   The row 63 includes condition units 63a and 63b and an operation unit 63c. The condition part 63a is a load instruction for reading the data of the device having the device name “M100”. The condition part 63b is a load instruction for reading the data of the device with the label name “B”.

動作部63cは、デバイス名「Y10」のデバイスにデータを出力する出力命令である。実施の形態1では、英字「Y」と、数値と、の結合は、ビット型のデバイスを表す。   The operation unit 63c is an output command for outputting data to the device having the device name “Y10”. In the first embodiment, the combination of the letter “Y” and the numerical value represents a bit type device.

行63では、デバイス名「M100」のデバイスのデータと、ラベル名「B」のデバイスのデータと、の論理和に応じて、デバイス名「Y10」のデバイスにデータが出力される。   In line 63, data is output to the device with the device name “Y10” in accordance with the logical sum of the device data with the device name “M100” and the data with the label name “B”.

つまり、デバイス名「M100」のデバイスのデータが「1」である場合に、ラベル名「B」のデバイスのデータに関わらず、デバイス名「Y10」のデバイスに「1」が出力される。   That is, when the data of the device with the device name “M100” is “1”, “1” is output to the device with the device name “Y10” regardless of the data of the device with the label name “B”.

また、ラベル名「B」のデバイスのデータが「1」である場合に、デバイス名「M100」のデバイスのデータに関わらず、デバイス名「Y10」のデバイスに「1」が出力される。   When the data of the device with the label name “B” is “1”, “1” is output to the device with the device name “Y10” regardless of the data of the device with the device name “M100”.

また、デバイス名「M100」のデバイスのデータが「0」であり且つラベル名「B」のデバイスのデータが「0」である場合に、デバイス名「Y10」のデバイスに「0」が出力される。   In addition, when the data of the device with the device name “M100” is “0” and the data of the device with the label name “B” is “0”, “0” is output to the device with the device name “Y10”. The

つまり、デバイス名「Y10」のデバイスは、デバイス名「M100」のデバイスに直接依存している。また、デバイス名「Y10」のデバイスは、ラベル名「B」のデバイスに直接依存している。   That is, the device with the device name “Y10” is directly dependent on the device with the device name “M100”. The device with the device name “Y10” is directly dependent on the device with the label name “B”.

行64は、条件部64aと、動作部64bと、を含む。条件部64aは、ラベル名が「B」であるデバイスのデータを読み込むロード命令である。   The row 64 includes a condition part 64a and an operation part 64b. The condition part 64a is a load instruction for reading data of a device whose label name is “B”.

動作部64bは、デバイス名「Y11」のデバイスにデータを出力する出力命令である。   The operation unit 64b is an output command for outputting data to the device having the device name “Y11”.

行64では、ラベル名「B」のデバイスのデータが「1」である場合に、デバイス名「Y11」のデバイスに「1」が出力される。また、ラベル名「B」のデバイスのデータが「0」である場合に、デバイス名「Y11」のデバイスに「0」が出力される。   In line 64, when the data of the device with the label name “B” is “1”, “1” is output to the device with the device name “Y11”. When the data of the device with the label name “B” is “0”, “0” is output to the device with the device name “Y11”.

つまり、デバイス名「Y11」のデバイスは、ラベル名「B」のデバイスに直接依存している。   That is, the device with the device name “Y11” is directly dependent on the device with the label name “B”.

図5は、実施の形態1にかかるエンジニアリングツールのハードウェア構成を示す図である。実施の形態1にかかるエンジニアリングツール2は、コンピュータを利用して実現可能である。コンピュータは、CPU21と、RAM22と、ROM(Read Only Memory)23と、記憶部24と、入力部25と、表示部26と、通信インタフェース27と、を含む。CPU21、RAM22、ROM23、記憶部24、入力部25、表示部26及び通信インタフェース27は、バスBを介して接続されている。   FIG. 5 is a diagram illustrating a hardware configuration of the engineering tool according to the first embodiment. The engineering tool 2 according to the first embodiment can be realized using a computer. The computer includes a CPU 21, a RAM 22, a ROM (Read Only Memory) 23, a storage unit 24, an input unit 25, a display unit 26, and a communication interface 27. The CPU 21, RAM 22, ROM 23, storage unit 24, input unit 25, display unit 26, and communication interface 27 are connected via a bus B.

CPU21は、RAM22を作業領域として使用しながら、ROM23及び記憶部24に記憶されているプログラムを実行する。ROM23に記憶されているプログラムは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)が例示される。記憶部24に記憶されているプログラムは、オペレーティングシステムプログラム及びエンジニアリングツールプログラムが例示される。記憶部24は、SSD又はHDDが例示される。   The CPU 21 executes programs stored in the ROM 23 and the storage unit 24 while using the RAM 22 as a work area. The program stored in the ROM 23 is exemplified by BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface). Examples of the program stored in the storage unit 24 include an operating system program and an engineering tool program. The storage unit 24 is exemplified by an SSD or an HDD.

入力部25は、ユーザからの操作入力を受け付ける。入力部25は、キーボード又はマウスが例示される。表示部26は、文字及び画像を表示する。表示部26は、液晶表示装置が例示される。通信インタフェース27は、制御装置3と通信を行う。   The input unit 25 receives an operation input from the user. The input unit 25 is exemplified by a keyboard or a mouse. The display unit 26 displays characters and images. The display unit 26 is exemplified by a liquid crystal display device. The communication interface 27 communicates with the control device 3.

図6は、実施の形態1にかかるエンジニアリングツールの機能ブロックを示す図である。記憶部24は、プロジェクトデータ24aと、デバイスのデータ型並びにデバイスのデバイス名又はラベル名の種別とシンボルとを対応付けたシンボルデータ24bと、を記憶する。   FIG. 6 is a diagram illustrating functional blocks of the engineering tool according to the first embodiment. The storage unit 24 stores project data 24a and symbol data 24b in which a device data type and a device name or label name type of the device are associated with a symbol.

図7は、実施の形態1にかかるシンボルデータの例を示す図である。シンボルデータ24bは、データ型の項目と、名称種別の項目と、シンボルの項目と、を有する。   FIG. 7 is a diagram illustrating an example of symbol data according to the first embodiment. The symbol data 24b includes a data type item, a name type item, and a symbol item.

行81のデータ型の項目には、「ビット」が記述されており、名称種別の項目には、「デバイス名」が記述されており、シンボルの項目には、円形が記述されている。つまり、行81は、デバイス名で記述されたビット型のデバイスには、円形のシンボルが対応付けられることを表している。   In the data type item of the row 81, “bit” is described, in the name type item “device name” is described, and in the symbol item, a circle is described. That is, the row 81 indicates that a circular symbol is associated with the bit-type device described by the device name.

行82のデータ型の項目には、「ワード」が記述されており、名称種別の項目には、「デバイス名」が記述されており、シンボルの項目には、四角形が記述されている。つまり、行82は、デバイス名で記述されたワード型のデバイスには、四角形のシンボルが対応付けられることを表している。   In the data type item of the row 82, “word” is described, in the name type item “device name” is described, and in the symbol item, a rectangle is described. That is, the row 82 indicates that a square symbol is associated with the word-type device described by the device name.

行83のデータ型の項目には、「ビット」が記述されており、名称種別の項目には、「ラベル名」が記述されており、シンボルの項目には、三角形が記述されている。つまり、行83は、ラベル名で記述されたビット型のデバイスには、三角形のシンボルが対応付けられることを表している。   In the data type item of the row 83, “bit” is described, in the name type item “label name” is described, and in the symbol item, a triangle is described. That is, the row 83 represents that a triangular symbol is associated with the bit-type device described by the label name.

行84のデータ型の項目には、「ワード」が記述されており、名称種別の項目には、「ラベル名」が記述されており、シンボルの項目には、六角形が記述されている。つまり、行84は、ラベル名で記述されたワード型のデバイスには、六角形のシンボルが対応付けられることを表している。   In the data type item in the row 84, “word” is described, in the name type item “label name” is described, and in the symbol item, a hexagon is described. That is, the line 84 indicates that a hexagonal symbol is associated with a word-type device described by a label name.

再び図6を参照すると、CPU21は、記憶部24に記憶されたエンジニアリングツールプログラムを実行する。これにより、プロジェクトデータ作成部21a1及びデバッグ部21a2を含むエンジニアリングツール部21aが実現される。   Referring to FIG. 6 again, the CPU 21 executes the engineering tool program stored in the storage unit 24. Thereby, the engineering tool part 21a including the project data creation part 21a1 and the debug part 21a2 is realized.

プロジェクトデータ作成部21a1は、プロジェクトデータ24aを作成して、制御装置3に送信する。   The project data creation unit 21a1 creates project data 24a and transmits it to the control device 3.

デバッグ部21a2は、制御プログラム24a1内で記述された複数のデバイスの依存関係を表す依存データ24cを作成して記憶部24に格納する依存データ作成部21a2aを含む。   The debug unit 21a2 includes a dependency data creation unit 21a2a that creates dependency data 24c representing dependency relationships of a plurality of devices described in the control program 24a1 and stores them in the storage unit 24.

デバッグ部21a2は、依存データ24cに基づいて、複数のデバイスの依存関係を表す画像を表示部26に表示させる第1描画部21a2bを含む。   The debug unit 21a2 includes a first drawing unit 21a2b that causes the display unit 26 to display an image representing the dependency relationship of a plurality of devices based on the dependency data 24c.

デバッグ部21a2は、画像の中のデバイスが選択されたら、依存データ24cに基づいて、選択されたデバイスに直接依存するデバイスを表示部26に表示させる第2描画部21a2cを含む。   When the device in the image is selected, the debug unit 21a2 includes a second drawing unit 21a2c that causes the display unit 26 to display a device that directly depends on the selected device based on the dependency data 24c.

デバッグ部21a2は、画像の中のデバイスのデータを制御装置3から受信したら、受信したデータに基づく画像を表示部26に表示させるモニタリング部21a2dを含む。   The debug unit 21a2 includes a monitoring unit 21a2d that causes the display unit 26 to display an image based on the received data when device data in the image is received from the control device 3.

図8は、実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 8 is a flowchart of the process of the engineering tool according to the first embodiment.

依存データ作成部21a2aは、ステップS100において、ステップS102からステップS114までのループを制御するための変数Nを「1」に初期設定する。   In step S100, the dependency data creation unit 21a2a initially sets a variable N for controlling the loop from step S102 to step S114 to “1”.

依存データ作成部21a2aは、ステップS102において、N番目の条件部のフラグが「1」であるか否かを判定する。そして、依存データ作成部21a2aは、N番目の条件部のフラグが「1」であると判定したら(Yes)、処理をステップS114に進める。一方、依存データ作成部21a2aは、N番目の条件部のフラグが「0」、つまり「1」ではないと判定したら(No)、処理をステップS104に進める。   In step S102, the dependency data creation unit 21a2a determines whether or not the flag of the Nth condition unit is “1”. If the dependency data creation unit 21a2a determines that the flag of the Nth condition part is “1” (Yes), the process proceeds to step S114. On the other hand, if the dependency data creation unit 21a2a determines that the flag of the Nth condition part is not “0”, that is, “1” (No), the process proceeds to step S104.

依存データ作成部21a2aは、ステップS104以降で説明するように、制御プログラム24a1内のデバイスを走査しながら依存データ24cを作成するが、重複走査を回避するために、各条件部に対してフラグを設ける。走査済みの条件部のフラグは、「1」にセットされる。フラグは、RAM22内に設けても良いし、記憶部24内に設けても良いし、制御プログラム24a1内に設けても良い。   The dependency data creation unit 21a2a creates the dependency data 24c while scanning the device in the control program 24a1, as described in step S104 and subsequent steps. However, in order to avoid duplicate scanning, a flag is set for each condition unit. Provide. The flag of the scanned condition part is set to “1”. The flag may be provided in the RAM 22, may be provided in the storage unit 24, or may be provided in the control program 24a1.

依存データ作成部21a2aは、ステップS104において、N番目の条件部に記述されたデバイスに直接依存するデバイスを制御プログラム24a1の中から検索して、N番目の条件部に記述されたデバイス及び当該デバイスに直接依存するデバイスを依存データ24cに追記し、N番目の条件部のフラグを「1」にセットする。   In step S104, the dependency data creation unit 21a2a searches the control program 24a1 for a device that directly depends on the device described in the Nth condition part, and the device described in the Nth condition part and the device The device that directly depends on is added to the dependency data 24c, and the flag of the Nth condition part is set to “1”.

依存データ作成部21a2aは、ステップS106において、ステップS104で検索したデバイスが記述された条件部を制御プログラム24a1の中から検索する。   In step S106, the dependency data creation unit 21a2a searches the control program 24a1 for a condition part in which the device searched in step S104 is described.

依存データ作成部21a2aは、ステップS108において、ステップS106で検索した条件部のフラグが「1」であるか否かを判定する。そして、依存データ作成部21a2aは、ステップS106で検索した条件部のフラグが「1」であると判定したら(Yes)、処理をステップS112に進める。一方、依存データ作成部21a2aは、ステップS106で検索した条件部のフラグが「0」、つまり「1」ではないと判定したら(No)、処理をステップS110に進める。   In step S108, the dependency data creation unit 21a2a determines whether or not the flag of the condition part searched in step S106 is “1”. When the dependency data creation unit 21a2a determines that the flag of the condition part searched in step S106 is “1” (Yes), the process proceeds to step S112. On the other hand, if the dependency data creation unit 21a2a determines that the flag of the condition part searched in step S106 is not “0”, that is, “1” (No), the process proceeds to step S110.

依存データ作成部21a2aは、ステップS110において、ステップS106で検索した条件部内のデバイス及び当該デバイスに直接依存するデバイスを依存データ24cに追記し、ステップS106で検索した条件部のフラグを「1」にセットする。   In step S110, the dependency data creation unit 21a2a adds the device in the condition part searched in step S106 and the device directly dependent on the device to the dependency data 24c, and sets the flag of the condition part searched in step S106 to “1”. set.

依存データ作成部21a2aは、ステップS112において、ステップS106で検索した条件部内のデバイスに直接依存するデバイスに直接依存するデバイスが有るか否かを判定する。そして、依存データ作成部21a2aは、ステップS106で検索した条件部内のデバイスに直接依存するデバイスに直接依存するデバイスが有ると判定したら(Yes)、処理をステップS106に進める。一方、依存データ作成部21a2aは、ステップS106で検索した条件部内のデバイスに直接依存するデバイスに直接依存するデバイスが無いと判定したら(No)、処理をステップS114に進める。   In step S112, the dependency data creation unit 21a2a determines whether there is a device that directly depends on the device that directly depends on the device in the condition unit searched in step S106. If the dependency data creation unit 21a2a determines that there is a device that directly depends on the device directly dependent on the device in the condition unit searched in step S106 (Yes), the process proceeds to step S106. On the other hand, if the dependency data creation unit 21a2a determines that there is no device directly dependent on the device directly dependent on the device in the condition unit searched in step S106 (No), the process proceeds to step S114.

依存データ作成部21a2aは、ステップS114において、N番目の条件部が制御プログラム24a1の最終の条件部であるか否かを判定する。そして、依存データ作成部21a2aは、N番目の条件部が制御プログラム24a1の最終の条件部ではないと判定したら(No)、処理をステップS116に進める。   In step S114, the dependency data creation unit 21a2a determines whether or not the Nth condition part is the final condition part of the control program 24a1. If the dependency data creation unit 21a2a determines that the Nth condition part is not the final condition part of the control program 24a1 (No), the process proceeds to step S116.

依存データ作成部21a2aは、ステップS116において、変数Nをインクリメントし、処理をステップS102に進める。   In step S116, the dependency data creation unit 21a2a increments the variable N and advances the process to step S102.

一方、依存データ作成部21a2aは、N番目の条件部が制御プログラム24a1の最終の条件部であるとステップS114で判定したら(Yes)、処理を終了する。   On the other hand, if the dependence data creation unit 21a2a determines in step S114 that the Nth condition part is the final condition part of the control program 24a1 (Yes), the process ends.

図9は、実施の形態1にかかる依存データの例を示す図である。依存データ24cは、行91,92,93及び94を含む。   FIG. 9 is a diagram illustrating an example of dependency data according to the first embodiment. The dependency data 24 c includes rows 91, 92, 93 and 94.

図4に示す制御プログラム24a1及び図8に示すフローチャートを参照しながら、依存データ24cの作成について説明する。   The creation of the dependency data 24c will be described with reference to the control program 24a1 shown in FIG. 4 and the flowchart shown in FIG.

依存データ作成部21a2aは、ステップS100において、変数Nを「1」に初期設定する。   In step S100, the dependency data creation unit 21a2a initializes the variable N to “1”.

依存データ作成部21a2aは、ステップS102において、N番目、つまり1番目の条件部61aのフラグが「1」ではないと判定し(No)、処理をステップS104に進める。   In step S102, the dependency data creation unit 21a2a determines that the flag of the Nth, that is, the first condition unit 61a is not “1” (No), and advances the processing to step S104.

依存データ作成部21a2aは、ステップS104において、N番目、つまり1番目の条件部61a内のデバイス名「X0」のデバイスに直接依存する、動作部61b内のデバイス名「M100」のデバイスを制御プログラム24a1の中から検索する。そして、依存データ作成部21a2aは、デバイス名「X0」及びデバイス名「M100」を含む行91を依存データ24cに追記する。   In step S104, the dependency data creation unit 21a2a controls the device with the device name “M100” in the operation unit 61b, which directly depends on the device with the device name “X0” in the Nth, that is, the first condition unit 61a. Search from 24a1. Then, the dependency data creation unit 21a2a adds a line 91 including the device name “X0” and the device name “M100” to the dependency data 24c.

なお、行91,92,93及び94内の「:」は、デリミタ(delimiter)である。デリミタ「:」よりも図中左側に記述されたデバイスが依存先であり、デリミタ「:」よりも図中右側に記述されたデバイスが依存元である。   Note that “:” in the lines 91, 92, 93, and 94 is a delimiter. The device described on the left side in the figure from the delimiter “:” is the dependency destination, and the device described on the right side in the figure from the delimiter “:” is the dependency source.

依存データ作成部21a2aは、ステップS106において、ステップS104で検索したデバイス名「M100」が記述された条件部63aを制御プログラム24a1の中から検索する。   In step S106, the dependency data creation unit 21a2a searches the control program 24a1 for the condition unit 63a in which the device name “M100” searched in step S104 is described.

依存データ作成部21a2aは、ステップS108において、ステップS106で検索した条件部63aのフラグが「1」ではないと判定し(No)、処理をステップS110に進める。   In step S108, the dependency data creation unit 21a2a determines that the flag of the condition unit 63a searched in step S106 is not “1” (No), and advances the process to step S110.

依存データ作成部21a2aは、ステップS110において、ステップS106で検索した条件部63a内のデバイス名「M100」及び当該デバイスに直接依存する、動作部63c内のデバイス名「Y10」を含む行92を依存データ24cに追記する。   In step S110, the dependency data creation unit 21a2a depends on the line 92 including the device name “M100” in the condition unit 63a searched in step S106 and the device name “Y10” in the operation unit 63c that directly depends on the device. Append to data 24c.

依存データ作成部21a2aは、ステップS112において、デバイス名「Y10」のデバイスに直接依存するデバイスが無いと判定し(No)、処理をステップS114に進める。   In step S112, the dependency data creation unit 21a2a determines that there is no device that directly depends on the device with the device name “Y10” (No), and advances the process to step S114.

依存データ作成部21a2aは、ステップS114において、N番目、つまり1番目の条件部61aが最終の条件部ではないと判定し(No)、処理をステップS116に進める。   In step S114, the dependency data creation unit 21a2a determines that the Nth, that is, the first condition unit 61a is not the final condition unit (No), and the process proceeds to step S116.

依存データ作成部21a2aは、ステップS116において、変数Nをインクリメントし、処理をステップS102に進める。   In step S116, the dependency data creation unit 21a2a increments the variable N and advances the process to step S102.

依存データ作成部21a2aは、ステップS102において、N番目、つまり2番目の条件部62aのフラグが「1」ではないと判定し(No)、処理をステップS104に進める。   In step S102, the dependency data creation unit 21a2a determines that the flag of the Nth, that is, the second condition unit 62a is not “1” (No), and advances the processing to step S104.

依存データ作成部21a2aは、ステップS104において、N番目、つまり2番目の条件部62a内のデバイス名「X1」のデバイスに直接依存する、動作部62b内のラベル名「B」のデバイスを制御プログラム24a1の中から検索する。そして、依存データ作成部21a2aは、デバイス名「X1」及びラベル名「B」を含む行93を依存データ24cに追記する。   In step S104, the dependency data creation unit 21a2a controls the device with the label name “B” in the operation unit 62b that directly depends on the device with the device name “X1” in the Nth, that is, the second condition unit 62a. Search from 24a1. Then, the dependency data creation unit 21a2a adds a line 93 including the device name “X1” and the label name “B” to the dependency data 24c.

依存データ作成部21a2aは、ステップS106において、ステップS104で検索したラベル名「B」が記述された条件部63b及び64aを制御プログラム24a1の中から検索する。   In step S106, the dependency data creation unit 21a2a searches the control program 24a1 for the condition units 63b and 64a in which the label name “B” searched in step S104 is described.

依存データ作成部21a2aは、ステップS108において、ステップS106で検索した条件部63b及び64bのフラグが「1」ではないと判定し(No)、処理をステップS110に進める。   In step S108, the dependency data creation unit 21a2a determines that the flags of the condition units 63b and 64b searched in step S106 are not “1” (No), and advances the processing to step S110.

依存データ作成部21a2aは、ステップS110において、ステップS106で検索した条件部63b及び64a内のラベル名「B」及び当該デバイスに直接依存する、動作部63c内のデバイス名「Y10」及び動作部64b内のデバイス名「Y11」を含む行94を依存データ24cに追記する。   In step S110, the dependency data creation unit 21a2a determines the label name “B” in the condition units 63b and 64a searched in step S106 and the device name “Y10” and the operation unit 64b in the operation unit 63c that directly depend on the device. The line 94 including the device name “Y11” is added to the dependency data 24c.

依存データ作成部21a2aは、ステップS112において、デバイス名「Y10」又は「Y11」のデバイスに直接依存するデバイスが無いと判定し(No)、処理をステップS114に進める。   In step S112, the dependency data creation unit 21a2a determines that there is no device that directly depends on the device with the device name “Y10” or “Y11” (No), and advances the processing to step S114.

依存データ作成部21a2aは、ステップS114において、N番目、つまり2番目の条件部62aが最終の条件部ではないと判定し(No)、処理をステップS116に進める。   In step S114, the dependency data creation unit 21a2a determines that the Nth, that is, the second condition unit 62a is not the final condition unit (No), and the process proceeds to step S116.

依存データ作成部21a2aは、ステップS116において、変数Nをインクリメントし、処理をステップS102に進める。   In step S116, the dependency data creation unit 21a2a increments the variable N and advances the process to step S102.

依存データ作成部21a2aは、ステップS102において、N番目、つまり3番目の条件部63aのフラグが「1」であると判定し(Yes)、処理をステップS114に進める。   In step S102, the dependency data creation unit 21a2a determines that the flag of the Nth, that is, the third condition unit 63a is “1” (Yes), and advances the processing to step S114.

依存データ作成部21a2aは、ステップS114において、N番目、つまり3番目の条件部63aが最終の条件部ではないと判定し(No)、処理をステップS116に進める。   In step S114, the dependency data creation unit 21a2a determines that the Nth, that is, the third condition unit 63a is not the final condition unit (No), and the process proceeds to step S116.

依存データ作成部21a2aは、ステップS116において、変数Nをインクリメントし、処理をステップS102に進める。   In step S116, the dependency data creation unit 21a2a increments the variable N and advances the process to step S102.

依存データ作成部21a2aは、ステップS102において、N番目、つまり4番目の条件部63bのフラグが「1」であると判定し(Yes)、処理をステップS114に進める。   In step S102, the dependency data creation unit 21a2a determines that the flag of the Nth, that is, the fourth condition unit 63b is “1” (Yes), and advances the processing to step S114.

依存データ作成部21a2aは、ステップS114において、N番目、つまり4番目の条件部63bが最終の条件部ではないと判定し(No)、処理をステップS116に進める。   In step S114, the dependency data creation unit 21a2a determines that the Nth, that is, the fourth condition part 63b is not the final condition part (No), and the process proceeds to step S116.

依存データ作成部21a2aは、ステップS116において、変数Nをインクリメントし、処理をステップS102に進める。   In step S116, the dependency data creation unit 21a2a increments the variable N and advances the process to step S102.

依存データ作成部21a2aは、ステップS102において、N番目、つまり5番目の条件部64aのフラグが「1」であると判定し(Yes)、処理をステップS114に進める。   In step S102, the dependency data creation unit 21a2a determines that the flag of the Nth, that is, the fifth condition unit 64a is “1” (Yes), and advances the processing to step S114.

依存データ作成部21a2aは、ステップS114において、N番目、つまり5番目の条件部64aが最終の条件部であると判定し(Yes)、処理を終了する。   In step S114, the dependency data creation unit 21a2a determines that the Nth, that is, the fifth condition part 64a is the final condition part (Yes), and ends the process.

以上説明したように、依存データ作成部21a2aは、図8のフローチャートで示される処理を実行することにより、制御プログラム24a1の中に記述されたデバイスの依存関係を表す依存データ24cを作成することができる。   As described above, the dependency data creation unit 21a2a can create the dependency data 24c representing the device dependency described in the control program 24a1 by executing the processing shown in the flowchart of FIG. it can.

図10は、実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 10 is a flowchart of the process of the engineering tool according to the first embodiment.

第1描画部21a2bは、ステップS200において、依存データ24cの、ユーザによって又はパラメータによって指定された行の依存先側のデバイスのシンボルを表示部26に表示し、当該デバイスのデバイス名又はラベル名をシンボル内に表示する。実施の形態1では、依存データ24cの1行目が指定されたものとする。   In step S200, the first drawing unit 21a2b displays, on the display unit 26, the symbol of the dependency destination device on the line specified by the user or by the parameter in the dependency data 24c, and the device name or label name of the device is displayed. Display within the symbol. In the first embodiment, it is assumed that the first line of the dependency data 24c is designated.

第1描画部21a2bは、ステップS202において、直前に表示したデバイスに直接依存するデバイスのシンボルを表示し、当該デバイスのデバイス名又はラベル名をシンボル内に表示するとともに、直前に表示したデバイスのシンボルと当該デバイスに直接依存するデバイスのシンボルとを結ぶ、依存の方向を表す有向線を表示する。   In step S202, the first drawing unit 21a2b displays a device symbol that directly depends on the device displayed immediately before, displays the device name or label name of the device in the symbol, and displays the device symbol displayed immediately before. And a directed line that represents the direction of dependence, which connects the device symbol directly dependent on the device.

なお、第1描画部21a2bは、直前に表示したデバイスに直接依存するデバイスのシンボルを、直前に表示したデバイスの右側に表示すると好適である。   The first drawing unit 21a2b preferably displays a device symbol directly dependent on the device displayed immediately before on the right side of the device displayed immediately before.

ラダー言語で記述された制御プログラム24a1の実行順序方向は、左側から右側に向かう方向である。従って、第1描画部21a2bが、制御プログラム24a1の実行順序の方向と同様に、直前に表示したデバイスに直接依存するデバイスのシンボルを直前に表示したデバイスの右側に表示することにより、ユーザは、デバイスの依存関係を直感的に把握することができる。   The execution order direction of the control program 24a1 described in the ladder language is a direction from the left side to the right side. Therefore, the first drawing unit 21a2b displays the symbol of the device directly dependent on the device displayed immediately before on the right side of the device displayed immediately before, as in the direction of the execution order of the control program 24a1, thereby allowing the user to Intuitively understand device dependencies.

第1描画部21a2bは、ステップS204において、ステップS202で表示したデバイスに直接依存するデバイスがあるか否かを判定する。そして、第1描画部21a2bは、ステップS202で表示したデバイスに直接依存するデバイスがあると判定したら(Yes)、処理をステップS202に進める。一方、第1描画部21a2bは、ステップS202で表示したデバイスに直接依存するデバイスがないと判定したら(No)、処理を終了する。   In step S204, the first drawing unit 21a2b determines whether there is a device that directly depends on the device displayed in step S202. If the first drawing unit 21a2b determines that there is a device that directly depends on the device displayed in step S202 (Yes), the process proceeds to step S202. On the other hand, if the first drawing unit 21a2b determines that there is no device that directly depends on the device displayed in step S202 (No), the first drawing unit 21a2b ends the process.

図11は、実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図である。   FIG. 11 is a diagram illustrating an example of a display screen of the engineering tool according to the first embodiment.

図9に示す依存データ24c及び図10に示すフローチャートを参照しながら、エンジニアリングツール2の表示画面について説明する。   The display screen of the engineering tool 2 will be described with reference to the dependency data 24c shown in FIG. 9 and the flowchart shown in FIG.

第1描画部21a2bは、ステップS200において、依存データ24cの1行目の依存先側のデバイス名「X0」のデバイスのシンボル101を表示部26に表示する。   In step S200, the first drawing unit 21a2b displays the device symbol 101 of the device name “X0” on the dependency destination side in the first row of the dependency data 24c on the display unit 26.

なお、「X0」はデバイス名であり、当該デバイスはビット型である。従って、第1描画部21a2bは、シンボルデータ24bの行81を参照し、円形のシンボル101を表示部26に表示する。また、第1描画部21a2bは、デバイス名「X0」をシンボル101内に表示する。   “X0” is a device name, and the device is a bit type. Accordingly, the first drawing unit 21a2b refers to the row 81 of the symbol data 24b and displays the circular symbol 101 on the display unit 26. In addition, the first drawing unit 21 a 2 b displays the device name “X0” in the symbol 101.

第1描画部21a2bは、ステップS202において、直前に表示したデバイス名「X0」のデバイスに直接依存する、デバイス名「M100」のデバイスのシンボル102を、シンボル101の右側に表示し、当該デバイスのデバイス名「M100」をシンボル102内に表示するとともに、直前に表示したシンボル101とシンボル102とを結ぶ有向線103を表示する。   In step S202, the first drawing unit 21a2b displays the symbol 102 of the device with the device name “M100”, which directly depends on the device with the device name “X0” displayed immediately before, on the right side of the symbol 101. The device name “M100” is displayed in the symbol 102 and the directed line 103 connecting the symbol 101 and the symbol 102 displayed immediately before is displayed.

なお、「M100」はデバイス名であり、当該デバイスはビット型である。従って、第1描画部21a2bは、シンボルデータ24bの行81を参照し、円形のシンボル102を表示部26に表示する。また、第1描画部21a2bは、デバイス名「M100」をシンボル102内に表示する。   “M100” is a device name, and the device is a bit type. Accordingly, the first drawing unit 21a2b refers to the row 81 of the symbol data 24b and displays the circular symbol 102 on the display unit 26. The first drawing unit 21 a 2 b displays the device name “M100” in the symbol 102.

これにより、ユーザは、デバイス名「M100」のデバイスが、デバイス名「X0」のデバイスに直接依存することを、容易に把握することができる。   Thereby, the user can easily grasp that the device having the device name “M100” directly depends on the device having the device name “X0”.

第1描画部21a2bは、ステップS204において、ステップS202で表示したデバイス名「M100」のデバイスに直接依存するデバイスがあるか否かを判定する。   In step S204, the first drawing unit 21a2b determines whether there is a device that directly depends on the device with the device name “M100” displayed in step S202.

依存データ24cの行92には、デバイス名「Y10」のデバイスがデバイス名「M100」のデバイスに直接依存することが、記述されている。   The line 92 of the dependency data 24c describes that the device with the device name “Y10” directly depends on the device with the device name “M100”.

従って、第1描画部21a2bは、ステップS202で表示したデバイス名「M100」のデバイスに直接依存する、デバイス名「Y10」のデバイスがあると判定し(Yes)、処理をステップS202に進める。   Accordingly, the first drawing unit 21a2b determines that there is a device with the device name “Y10” that directly depends on the device with the device name “M100” displayed in step S202 (Yes), and advances the processing to step S202.

第1描画部21a2bは、ステップS202において、直前に表示したデバイス名「M100」のデバイスに直接依存する、デバイス名「Y10」のデバイスのシンボル104を、シンボル102の右側に表示し、当該デバイスのデバイス名「Y10」をシンボル104内に表示するとともに、直前に表示したシンボル102とシンボル104とを結ぶ有向線105を表示する。   In step S202, the first drawing unit 21a2b displays the symbol 104 of the device with the device name “Y10”, which directly depends on the device with the device name “M100” displayed immediately before, on the right side of the symbol 102. The device name “Y10” is displayed in the symbol 104, and a directed line 105 connecting the symbol 102 and the symbol 104 displayed immediately before is displayed.

なお、「Y10」はデバイス名であり、当該デバイスはビット型である。従って、第1描画部21a2bは、シンボルデータ24bの行81を参照し、円形のシンボル104を表示部26に表示する。また、第1描画部21a2bは、デバイス名「Y10」をシンボル104内に表示する。   “Y10” is a device name, and the device is a bit type. Accordingly, the first drawing unit 21a2b refers to the row 81 of the symbol data 24b and displays the circular symbol 104 on the display unit 26. The first drawing unit 21 a 2 b displays the device name “Y10” in the symbol 104.

これにより、ユーザは、デバイス名「Y10」のデバイスが、デバイス名「M100」のデバイスに直接依存することを、容易に把握することができる。   Accordingly, the user can easily grasp that the device with the device name “Y10” directly depends on the device with the device name “M100”.

第1描画部21a2bは、ステップS204において、ステップS202で表示したデバイス名が「Y10」であるデバイスに直接依存するデバイスがあるか否かを判定する。   In step S204, the first drawing unit 21a2b determines whether there is a device that directly depends on the device whose device name displayed in step S202 is “Y10”.

依存データ24cには、デバイス名「Y10」のデバイスに直接依存するデバイスが記述されていない。   The dependency data 24c does not describe a device that directly depends on the device with the device name “Y10”.

従って、第1描画部21a2bは、ステップS202で表示したデバイス名「Y10」のデバイスに直接依存するデバイスがないと判定し(No)、処理を終了する。   Accordingly, the first drawing unit 21a2b determines that there is no device directly dependent on the device with the device name “Y10” displayed in step S202 (No), and ends the process.

以上説明したように、第1描画部21a2bは、デバイス名「M100」のデバイスがデバイス名「X0」のデバイスに直接依存することを、表示することができる。また、第1描画部21a2bは、デバイス名「Y10」のデバイスがデバイス名「M100」のデバイスに直接依存することを、表示することができる。   As described above, the first drawing unit 21a2b can display that the device with the device name “M100” directly depends on the device with the device name “X0”. Further, the first drawing unit 21a2b can display that the device with the device name “Y10” is directly dependent on the device with the device name “M100”.

従って、ユーザは、デバイスの依存関係を容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the device dependency. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

図12は、実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 12 is a flowchart of the process of the engineering tool according to the first embodiment.

第2描画部21a2cは、ステップS300において、表示部26に表示されたデバイスのシンボルがユーザによって選択されたか否かを判定する。シンボルの選択は、ダブルクリックが例示される。   In step S300, the second drawing unit 21a2c determines whether or not the device symbol displayed on the display unit 26 has been selected by the user. The symbol is exemplified by double-clicking.

第2描画部21a2cは、表示部26に表示されたデバイスのシンボルがユーザによって選択されていないと判定したら(No)、ステップS300で待機する。   If it is determined that the device symbol displayed on the display unit 26 has not been selected by the user (No), the second drawing unit 21a2c stands by in step S300.

第2描画部21a2cは、表示部26に表示されたデバイスのシンボルがユーザによって選択されたと判定したら(Yes)、処理をステップS302に進める。   If the second drawing unit 21a2c determines that the device symbol displayed on the display unit 26 has been selected by the user (Yes), the process proceeds to step S302.

第2描画部21a2cは、ステップS302において、選択されたデバイスのデバイス名又はラベル名を含む行を依存データ24cから検索する。   In step S302, the second drawing unit 21a2c searches the dependency data 24c for a line including the device name or label name of the selected device.

第2描画部21a2cは、ステップS304において、検索された行の中で、選択されたデバイスと直接依存する関係にあるデバイスのシンボルを表示するとともに、選択されたデバイスのシンボルと当該デバイスと直接依存する関係にあるデバイスのシンボルとを結ぶ、依存の方向を表す有向線を表示し、処理を終了する。   In step S304, the second drawing unit 21a2c displays a symbol of a device that is directly dependent on the selected device in the retrieved row, and directly depends on the symbol of the selected device and the device. A directional line that represents the direction of dependence connecting the symbols of the devices having the relationship is displayed, and the process ends.

図13は、実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図である。   FIG. 13 is a diagram illustrating an example of the display screen of the engineering tool according to the first embodiment.

図9に示す依存データ24c及び図12に示すフローチャートを参照しながら、エンジニアリングツール2の表示画面について説明する。   The display screen of the engineering tool 2 will be described with reference to the dependency data 24c shown in FIG. 9 and the flowchart shown in FIG.

第2描画部21a2cは、ステップS300において、表示部26に表示されたデバイスのシンボルがユーザによって選択されたか否かを判定する。   In step S300, the second drawing unit 21a2c determines whether or not the device symbol displayed on the display unit 26 has been selected by the user.

実施の形態1では、先に説明した図11の表示画面において、シンボル104が選択されたものとする。   In the first embodiment, it is assumed that the symbol 104 is selected on the display screen of FIG. 11 described above.

第2描画部21a2cは、シンボル104がユーザによって選択されたと判定し(Yes)、処理をステップS302に進める。   The second drawing unit 21a2c determines that the symbol 104 has been selected by the user (Yes), and advances the process to step S302.

第2描画部21a2cは、ステップS302において、選択されたシンボル104のデバイス名「Y10」を含む行を依存データ24cから検索する。   In step S302, the second drawing unit 21a2c searches the dependency data 24c for a line including the device name “Y10” of the selected symbol 104.

依存データ24cの行94には、デバイス名「Y10」のデバイスがラベル名「B」のデバイスに直接依存することが、記述されている。   Line 94 of the dependency data 24c describes that the device with the device name “Y10” directly depends on the device with the label name “B”.

第2描画部21a2cは、ステップS304において、選択されたシンボル104のデバイスが直接依存する、ラベル名「B」のデバイスのシンボル106を表示するとともに、選択されたシンボル104と当該デバイスが直接依存するシンボル106とを結ぶ、依存の方向を表す有向線107を表示する。   In step S304, the second drawing unit 21a2c displays the symbol 106 of the device with the label name “B”, on which the device of the selected symbol 104 directly depends, and also directly depends on the selected symbol 104 and the device. A directed line 107 linking the symbol 106 and representing the direction of dependence is displayed.

なお、「B」はラベル名であり、当該デバイスはビット型である。従って、第2描画部21a2cは、シンボルデータ24bの行83を参照し、三角形のシンボル106を表示部26に表示する。また、第2描画部21a2cは、ラベル名「B」をシンボル106内に表示する。   “B” is a label name, and the device is of a bit type. Therefore, the second drawing unit 21a2c refers to the row 83 of the symbol data 24b and displays the triangular symbol 106 on the display unit 26. Further, the second drawing unit 21 a 2 c displays the label name “B” in the symbol 106.

以上説明したように、第2描画部21a2cは、デバイス名「Y10」のデバイスのシンボル104が選択されたら、選択されたデバイス名「Y10」のデバイスと直接依存する関係にあるラベル名「B」のデバイスのシンボル106を表示することができる。   As described above, when the symbol 104 of the device with the device name “Y10” is selected, the second drawing unit 21a2c has the label name “B” that is directly dependent on the device with the selected device name “Y10”. The device symbol 106 can be displayed.

従って、ユーザは、デバイス名「Y10」のデバイスとラベル名「B」のデバイスとの依存関係を容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the dependency relationship between the device with the device name “Y10” and the device with the label name “B”. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

ここで、図13の表示画面において、シンボル106が更に選択されたものとする。   Here, it is assumed that the symbol 106 is further selected on the display screen of FIG.

図14は、実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図である。   FIG. 14 is a diagram illustrating an example of the display screen of the engineering tool according to the first embodiment.

第2描画部21a2cは、ステップS300において、表示部26に表示されたデバイスのシンボルがユーザによって選択されたか否かを判定する。   In step S300, the second drawing unit 21a2c determines whether or not the device symbol displayed on the display unit 26 has been selected by the user.

第2描画部21a2cは、シンボル106がユーザによって選択されたと判定し(Yes)、処理をステップS302に進める。   The second drawing unit 21a2c determines that the symbol 106 has been selected by the user (Yes), and advances the processing to step S302.

第2描画部21a2cは、ステップS302において、選択されたシンボル106のラベル名「B」を含む行を依存データ24cから検索する。   In step S302, the second drawing unit 21a2c searches the dependency data 24c for a line including the label name “B” of the selected symbol 106.

依存データ24cの行93には、ラベル名「B」のデバイスがデバイス名「X1」のデバイスに直接依存することが記述されている。   Line 93 of the dependency data 24c describes that the device with the label name “B” directly depends on the device with the device name “X1”.

依存データ24cの行94には、デバイス名「Y11」のデバイスがラベル名「B」のデバイスに直接依存することが記述されている。   Line 94 of the dependency data 24c describes that the device with the device name “Y11” directly depends on the device with the label name “B”.

第2描画部21a2cは、ステップS304において、選択されたシンボル106のデバイスが直接依存する、デバイス名「X1」のデバイスのシンボル108を表示するとともに、選択されたシンボル106と当該デバイスが直接依存するシンボル108とを結ぶ、依存の方向を表す有向線109を表示する。   In step S304, the second drawing unit 21a2c displays the symbol 108 of the device having the device name “X1”, on which the device of the selected symbol 106 directly depends, and also directly depends on the selected symbol 106 and the device. A directed line 109 linking the symbol 108 and representing the direction of dependence is displayed.

なお、「X1」はデバイス名であり、当該デバイスはビット型である。従って、第2描画部21a2cは、シンボルデータ24bの行81を参照し、円形のシンボル108を表示部26に表示する。また、第2描画部21a2cは、デバイス名「X1」をシンボル108内に表示する。   “X1” is a device name, and the device is a bit type. Accordingly, the second drawing unit 21a2c refers to the row 81 of the symbol data 24b and displays the circular symbol 108 on the display unit 26. The second drawing unit 21a2c displays the device name “X1” in the symbol 108.

また、第2描画部21a2cは、選択されたシンボル106のデバイスに直接依存する、デバイス名「Y11」のデバイスのシンボル110を表示するとともに、選択されたシンボル106と当該デバイスに直接依存するシンボル110とを結ぶ、依存の方向を表す有向線111を表示する。   Further, the second drawing unit 21a2c displays the symbol 110 of the device having the device name “Y11” that directly depends on the device of the selected symbol 106, and the symbol 110 that directly depends on the selected symbol 106 and the device. A directed line 111 representing the direction of dependence is displayed.

なお、「Y11」はデバイス名であり、当該デバイスはビット型である。従って、第2描画部21a2cは、シンボルデータ24bの行81を参照し、円形のシンボル110を表示部26に表示する。また、第2描画部21a2cは、デバイス名「Y11」をシンボル110内に表示する。   “Y11” is a device name, and the device is a bit type. Therefore, the second drawing unit 21a2c displays the circular symbol 110 on the display unit 26 with reference to the row 81 of the symbol data 24b. The second drawing unit 21 a 2 c displays the device name “Y11” in the symbol 110.

以上説明したように、第2描画部21a2cは、ラベル名「B」のデバイスのシンボル106が選択されたら、選択されたラベル名「B」のデバイスと直接依存する関係にあるデバイス名「X1」のデバイスのシンボル108及びデバイス名「Y11」のデバイスのシンボル110を表示することができる。   As described above, when the symbol 106 of the device with the label name “B” is selected, the second drawing unit 21a2c has a device name “X1” that is directly dependent on the device with the selected label name “B”. The device symbol 108 and the device symbol 110 of the device name “Y11” can be displayed.

従って、ユーザは、ラベル名「B」のデバイスとデバイス名「X1」のデバイスとの依存関係及びラベル名「B」のデバイスとデバイス名「Y11」のデバイスとの依存関係を容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the dependency relationship between the device with the label name “B” and the device with the device name “X1” and the dependency relationship between the device with the label name “B” and the device with the device name “Y11”. Can do. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

図15は、実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 15 is a flowchart of the process of the engineering tool according to the first embodiment.

第2描画部21a2cは、ステップS310において、ステップS300で選択されたデバイスのシンボルがユーザによって再度選択されたか否かを判定する。   In step S310, the second drawing unit 21a2c determines whether or not the symbol of the device selected in step S300 has been selected again by the user.

第2描画部21a2cは、ステップS300で選択されたデバイスのシンボルがユーザによって再度選択されていないと判定したら(No)、ステップS310で待機する。   If the second drawing unit 21a2c determines that the symbol of the device selected in step S300 has not been selected again by the user (No), the second drawing unit 21a2c waits in step S310.

第2描画部21a2cは、ステップS300で選択されたデバイスのシンボルがユーザによって再度選択されたと判定したら(Yes)、処理をステップS312に進める。   If the second drawing unit 21a2c determines that the symbol of the device selected in step S300 has been selected again by the user (Yes), the process proceeds to step S312.

第2描画部21a2cは、ステップS312において、ステップS304で表示したデバイスのシンボル及び有向線を表示画面から消去し、処理を終了する。   In step S312, the second drawing unit 21a2c erases the device symbol and the directed line displayed in step S304 from the display screen, and ends the process.

第2描画部21a2cが図15に示す処理を実行することにより、図14で示す表示画面においてラベル名「B」のデバイスのシンボル106が再度選択されたら、デバイス名「X1」のデバイスのシンボル108及びデバイス名「Y11」のデバイスのシンボル110並びに有向線109及び111が表示画面から消去される。   When the second drawing unit 21a2c executes the process shown in FIG. 15 and the device symbol 106 with the label name “B” is selected again on the display screen shown in FIG. 14, the device symbol 108 with the device name “X1” is displayed. In addition, the device symbol 110 and the directed lines 109 and 111 of the device name “Y11” are erased from the display screen.

以上説明したように、第2描画部21a2cは、ラベル名「B」のデバイスのシンボル106が選択されたら、選択されたラベル名「B」のデバイスと直接依存する関係にあるデバイス名「X1」のデバイスのシンボル108及びデバイス名「Y11」のデバイスのシンボル110を表示することができ、その後、ラベル名「B」のデバイスのシンボル106が再度選択されたら、再度選択されたラベル名「B」のデバイスと直接依存する関係にあるデバイス名「X1」のデバイスのシンボル108及びデバイス名「Y11」のデバイスのシンボル110を消去することができる。   As described above, when the symbol 106 of the device with the label name “B” is selected, the second drawing unit 21a2c has a device name “X1” that is directly dependent on the device with the selected label name “B”. Device symbol 108 and device name “Y11” device symbol 110 can be displayed, and then when device name 106 with label name “B” is selected again, the reselected label name “B”. It is possible to delete the device symbol 108 of the device name “X1” and the device symbol 110 of the device name “Y11”, which are directly dependent on the device.

従って、ユーザは、確認が終わったデバイス名「X1」のデバイスのシンボル108及びデバイス名「Y11」のデバイスのシンボル110を消去することができ、表示画面を見易くすることができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can delete the device symbol 108 of the device name “X1” and the device symbol 110 of the device name “Y11” that have been confirmed, and the display screen can be easily viewed. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

図16は、実施の形態1にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 16 is a flowchart of the process of the engineering tool according to the first embodiment.

モニタリング部21a2dは、ステップS400において、制御装置3からデバイスのデータを取得する。   The monitoring unit 21a2d acquires device data from the control device 3 in step S400.

モニタリング部21a2dは、ステップS402において、データを取得したデバイスのデータ型がビット型であるか否かを判定する。   In step S402, the monitoring unit 21a2d determines whether the data type of the device that acquired the data is a bit type.

モニタリング部21a2dは、データを取得したデバイスのデータ型がビット型であると判定したら(Yes)、処理をステップS404に進める。   If the monitoring unit 21a2d determines that the data type of the device that acquired the data is a bit type (Yes), the monitoring unit 21a2d advances the process to step S404.

モニタリング部21a2dは、データを取得したデバイスのデータ型がビット型ではない、つまりワード型であると判定したら(No)、処理をステップS406に進める。   If the monitoring unit 21a2d determines that the data type of the device from which the data is acquired is not a bit type, that is, a word type (No), the monitoring unit 21a2d advances the process to step S406.

モニタリング部21a2dは、ステップS404において、取得したデータの値に応じた色で、データを取得したデバイスのシンボルを表示し、処理を終了する。モニタリング部21a2dは、取得したデータの値が「0」であったら、シンボルを黒色で表示し、取得したデータの値が「1」であったら、シンボルを白色で表示することが例示される。なお、黒色及び白色は例示であり、他の色でも良い。また、モニタリング部21a2dは、取得したデータの値に応じて、シンボルを点滅表示させても良い。   In step S404, the monitoring unit 21a2d displays the symbol of the device that has acquired the data in a color corresponding to the acquired data value, and ends the process. For example, the monitoring unit 21a2d displays the symbol in black if the value of the acquired data is “0”, and displays the symbol in white if the value of the acquired data is “1”. Note that black and white are examples, and other colors may be used. In addition, the monitoring unit 21a2d may blink the symbol in accordance with the acquired data value.

モニタリング部21a2dは、ステップS406において、取得したデータの値を表示部26に表示し、処理を終了する。   In step S406, the monitoring unit 21a2d displays the acquired data value on the display unit 26, and ends the process.

図17は、実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図である。   FIG. 17 is a diagram illustrating an example of a display screen of the engineering tool according to the first embodiment.

モニタリング部21a2dは、デバイス名「X0」のビット型デバイスのデータ「0」を制御装置3から取得したら、シンボル101を黒色で表示する。   When the monitoring unit 21a2d acquires the data “0” of the bit type device having the device name “X0” from the control device 3, the monitoring unit 21a2d displays the symbol 101 in black.

モニタリング部21a2dは、デバイス名「M100」のビット型デバイスのデータ「0」を制御装置3から取得したら、シンボル102を黒色で表示する。   When the monitoring unit 21a2d acquires the data “0” of the bit type device having the device name “M100” from the control device 3, the monitoring unit 21a2d displays the symbol 102 in black.

モニタリング部21a2dは、デバイス名「Y10」のビット型デバイスのデータ「0」を制御装置3から取得したら、シンボル104を黒色で表示する。   When the monitoring unit 21a2d acquires the data “0” of the bit type device having the device name “Y10” from the control device 3, the monitoring unit 21a2d displays the symbol 104 in black.

モニタリング部21a2dは、ラベル名「B」のビット型デバイスのデータ「1」を制御装置3から取得したら、シンボル106を白色で表示する。   When the monitoring unit 21a2d acquires the data “1” of the bit type device with the label name “B” from the control device 3, the monitoring unit 21a2d displays the symbol 106 in white.

モニタリング部21a2dは、デバイス名「X1」のビット型デバイスのデータ「0」を制御装置3から取得したら、シンボル108を黒色で表示する。   When the monitoring unit 21a2d acquires the data “0” of the bit type device having the device name “X1” from the control device 3, the monitoring unit 21a2d displays the symbol 108 in black.

モニタリング部21a2dは、デバイス名「Y11」のビット型デバイスのデータ「1」を制御装置3から取得したら、シンボル110を白色で表示する。   When the monitoring unit 21a2d acquires the data “1” of the bit type device having the device name “Y11” from the control device 3, the monitoring unit 21a2d displays the symbol 110 in white.

これにより、ユーザは、各デバイスの値を直感的に把握することができる。   Thereby, the user can grasp | ascertain the value of each device intuitively.

図18は、実施の形態1にかかるエンジニアリングツールの表示画面の例を示す図である。   FIG. 18 is a diagram illustrating an example of a display screen of the engineering tool according to the first embodiment.

図18に示す表示画面では、デバイス名「G11」のワード型デバイスのシンボル120が表示されている。また、デバイス名「D100」のワード型デバイスのシンボル121が表示されている。また、シンボル120とシンボル121とを結ぶ、デバイス名「D100」のデバイスがデバイス名「G11」のデバイスに直接依存することを表す有向線122が、表示されている。   In the display screen illustrated in FIG. 18, a word-type device symbol 120 having a device name “G11” is displayed. In addition, a symbol 121 of the word type device having the device name “D100” is displayed. In addition, a directed line 122 connecting the symbol 120 and the symbol 121 and indicating that the device with the device name “D100” directly depends on the device with the device name “G11” is displayed.

また、図18に示す表示画面では、ラベル名「A」のワード型デバイスのシンボル123が表示されている。また、シンボル121とシンボル123とを結ぶ、ラベル名「A」のデバイスがデバイス名「D100」のデバイスに直接依存することを表す有向線124が、表示されている。   Further, on the display screen shown in FIG. 18, a word type device symbol 123 with the label name “A” is displayed. Also, a directed line 124 that connects the symbol 121 and the symbol 123 and indicates that the device with the label name “A” directly depends on the device with the device name “D100” is displayed.

また、図18に示す表示画面では、ラベル名「C」のワード型デバイスのシンボル125が表示されている。また、シンボル121とシンボル125とを結ぶ、ラベル名「C」のデバイスがデバイス名「D100」のデバイスに直接依存することを表す有向線126が、表示されている。   Further, on the display screen shown in FIG. 18, a word type device symbol 125 with the label name “C” is displayed. In addition, a directed line 126 that connects the symbol 121 and the symbol 125 and indicates that the device with the label name “C” directly depends on the device with the device name “D100” is displayed.

モニタリング部21a2dは、デバイス名「D100」のワード型デバイスのデータ「60」を制御装置3から取得したら、「60」という画像127を、シンボル121の傍に表示する。   When the monitoring unit 21 a 2 d obtains the data “60” of the word type device with the device name “D100” from the control device 3, the monitoring unit 21 a 2 d displays an image 127 of “60” beside the symbol 121.

「60」という画像127をシンボル121の傍に表示するとは、画像127とシンボル121との間の距離が、画像127と他のシンボル120,123又は125との間の距離よりも短くなるように、画像127を表示することをいう。   Displaying the image “60” beside the symbol 121 means that the distance between the image 127 and the symbol 121 is shorter than the distance between the image 127 and the other symbols 120, 123, or 125. This means displaying the image 127.

以上説明したように、モニタリング部21a2dは、制御装置3から取得したデータの値をユーザが識別可能に表示部26に表示する。   As described above, the monitoring unit 21a2d displays the data value acquired from the control device 3 on the display unit 26 so that the user can identify the value.

従って、ユーザは、デバイスのデータを容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the device data. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

実施の形態2.
図19は、本発明の実施の形態2にかかる制御システムの構成を示す図である。制御システム1Aは、エンジニアリングツール2及び第1の制御装置3に加えて、第2の制御装置3Aを更に含む。エンジニアリングツール2と制御装置3及び3Aとは、ネットワークN1を介して通信可能に接続されている。
Embodiment 2. FIG.
FIG. 19 is a diagram illustrating a configuration of a control system according to the second embodiment of the present invention. The control system 1A further includes a second control device 3A in addition to the engineering tool 2 and the first control device 3. The engineering tool 2 and the control devices 3 and 3A are communicably connected via the network N1.

第2の制御装置3Aのハードウェア構成は、先に図2を参照して説明した第1の制御装置3のハードウェア構成と同様であるので、説明を省略する。   The hardware configuration of the second control device 3A is the same as the hardware configuration of the first control device 3 described above with reference to FIG.

制御装置3及び3Aは、メモリ3a2内に、ローカルメモリ領域と、共有メモリ領域と、を設ける。ローカルメモリ領域は、制御装置3又は3Aが単有する領域である。共有メモリ領域は、制御装置3及び3Aが共有する領域である。   The control devices 3 and 3A provide a local memory area and a shared memory area in the memory 3a2. The local memory area is an area that the control device 3 or 3A has. The shared memory area is an area shared by the control devices 3 and 3A.

第1の制御装置3が、共有メモリ領域内のデバイスにデータを書き込むと、書き込まれたデータが第2の制御装置3Aの共有メモリの該当デバイスに転送される。第2の制御装置3Aが、共有メモリ領域内のデバイスにデータを書き込むと、書き込まれたデータが第1の制御装置3の共有メモリの該当デバイスに転送される。   When the first control device 3 writes data to a device in the shared memory area, the written data is transferred to the corresponding device in the shared memory of the second control device 3A. When the second control device 3A writes data to the device in the shared memory area, the written data is transferred to the corresponding device in the shared memory of the first control device 3.

これにより、制御装置3及び3Aは、データの共有を行うことができる。   Thereby, the control apparatuses 3 and 3A can share data.

図20は、実施の形態2にかかるエンジニアリングツールの機能ブロックを示す図である。記憶部24は、プロジェクトデータ24a及びシンボルデータ24bに加えて、プロジェクトデータ24dを更に記憶する。   FIG. 20 is a diagram of functional blocks of the engineering tool according to the second embodiment. The storage unit 24 further stores project data 24d in addition to the project data 24a and the symbol data 24b.

プロジェクトデータ24dは、プロジェクトデータ24aと同様に、プロジェクトデータ作成部21a1によって作成される。プロジェクトデータ24dは、プロジェクトデータ24aと同様に、制御プログラム、制御パラメータ、デバイスメモリ、接続情報及びラベル情報を含む。   The project data 24d is created by the project data creation unit 21a1 similarly to the project data 24a. Similar to the project data 24a, the project data 24d includes a control program, control parameters, device memory, connection information, and label information.

プロジェクトデータ24dは、第2の制御装置3Aに送信される。第2の制御装置3Aは、プロジェクトデータ24d内の制御プログラムを実行することで、機械を制御する。   The project data 24d is transmitted to the second control device 3A. The second control device 3A controls the machine by executing a control program in the project data 24d.

図21は、実施の形態2にかかる制御プログラムの例を示す図である。制御プログラム24a1は、行61,62,63及び64に加えて、行65を含む。   FIG. 21 is a diagram illustrating an example of a control program according to the second embodiment. The control program 24 a 1 includes a line 65 in addition to the lines 61, 62, 63 and 64.

行65は、条件部65aと、動作部65bと、を含む。条件部65aは、デバイス名「Y12」のデバイスのデータを読み込むロード命令である。   The row 65 includes a condition unit 65a and an operation unit 65b. The condition part 65a is a load instruction for reading the data of the device having the device name “Y12”.

動作部65bは、第1引数の値を第2引数に転送する「MOV」(ムーブ)命令である。第1引数「K1000」は、「1000」という定数である。第2引数は、デバイス名が「D100」であるワード型のデバイスである。   The operation unit 65b is a “MOV” instruction that transfers the value of the first argument to the second argument. The first argument “K1000” is a constant “1000”. The second argument is a word type device whose device name is “D100”.

実施の形態2では、デバイス名「D100」のデバイスは、共有メモリに配置されている。そして、デバイス名「D100」のデバイスは、制御プログラム24a1を実行する第1の制御装置3によってデータが書き込まれる。従って、動作部65bには、第1の制御装置3がデバイス名「D100」のデバイスにデータを書き込むことを表す「[PLC1:共有メモリ]」という文字列が含まれている。   In the second embodiment, the device with the device name “D100” is arranged in the shared memory. The device with the device name “D100” is written with data by the first control device 3 that executes the control program 24a1. Therefore, the operation unit 65b includes a character string “[PLC1: shared memory]” indicating that the first control device 3 writes data to the device having the device name “D100”.

行65では、デバイス名が「Y12」であるデバイスのデータが「1」である場合に、定数「1000」が、デバイス名「D100」のデバイスに転送される。   In line 65, when the data of the device having the device name “Y12” is “1”, the constant “1000” is transferred to the device having the device name “D100”.

つまり、デバイス名「D100」のデバイスは、デバイス名「Y12」のデバイスに直接依存している。   That is, the device with the device name “D100” is directly dependent on the device with the device name “Y12”.

図22は、実施の形態2にかかる制御プログラムの例を示す図である。プロジェクトデータ24dに含まれる制御プログラム24d1は、行131を含む。   FIG. 22 is a diagram illustrating an example of a control program according to the second embodiment. The control program 24d1 included in the project data 24d includes a line 131.

行131は、条件部131aと、動作部131bと、を含む。条件部131aは、第1引数と第2引数とが等しいか否かを判定する「=」(イコール)命令である。   The row 131 includes a condition part 131a and an operation part 131b. The condition part 131a is a “=” (equal) instruction for determining whether or not the first argument and the second argument are equal.

実施の形態2では、デバイス名「D100」のデバイスは、共有メモリに配置されている。そして、デバイス名「D100」のデバイスは、第1の制御装置3によってデータが書き込まれる。従って、条件部131aには、第1の制御装置3がデバイス名「D100」のデバイスにデータを書き込むことを表す「PLC1:共有メモリ」という文字列が含まれている。   In the second embodiment, the device with the device name “D100” is arranged in the shared memory. The device with the device name “D100” is written with data by the first control device 3. Therefore, the condition part 131a includes a character string “PLC1: shared memory” indicating that the first control device 3 writes data to the device having the device name “D100”.

動作部131bは、デバイス名「Y20」のデバイスにデータを出力する出力命令である。   The operation unit 131b is an output command for outputting data to the device having the device name “Y20”.

行65では、デバイス名「D100」のデバイスのデータが定数「1000」と等しい場合に、デバイス名「Y20」のデバイスに「1」が出力される。   In line 65, when the data of the device with the device name “D100” is equal to the constant “1000”, “1” is output to the device with the device name “Y20”.

つまり、デバイス名「Y20」のデバイスは、デバイス名「D100」のデバイスに直接依存している。   That is, the device with the device name “Y20” is directly dependent on the device with the device name “D100”.

図23は、実施の形態2にかかるエンジニアリングツールの処理を示すフローチャートである。   FIG. 23 is a flowchart of the process of the engineering tool according to the second embodiment.

依存データ作成部21a2aは、ステップS500において、第1の制御装置3で実行される制御プログラム24a1に、図8で示した依存データ作成処理を実行する。   In step S500, the dependency data creation unit 21a2a executes the dependency data creation process illustrated in FIG. 8 on the control program 24a1 executed by the first control device 3.

図24は、実施の形態2にかかる依存データの例を示す図である。依存データ24cは、行91,92,93及び94に加えて、行95を更に含む。   FIG. 24 is a diagram illustrating an example of dependency data according to the second embodiment. The dependency data 24 c further includes a row 95 in addition to the rows 91, 92, 93 and 94.

行95は、制御プログラム24a1の行65に対応する。デリミタ「:」の左側に依存先のデバイス名「Y12」が記述され、デリミタ「:」の右側に依存元のデバイス名「D100[PLC1:共有メモリ]」が記述されている。   The line 95 corresponds to the line 65 of the control program 24a1. The dependency destination device name “Y12” is described on the left side of the delimiter “:”, and the dependency source device name “D100 [PLC1: shared memory]” is described on the right side of the delimiter “:”.

再び図23を参照すると、依存データ作成部21a2aは、ステップS502において、第2の制御装置3Aで実行される制御プログラム24d1に、図8で示した依存データ作成処理を実行し、処理を終了する。   Referring to FIG. 23 again, in step S502, the dependency data creation unit 21a2a executes the dependency data creation process shown in FIG. 8 on the control program 24d1 executed by the second control device 3A, and ends the process. .

図25は、実施の形態2にかかる依存データの例を示す図である。依存データ24eは、行141を含む。   FIG. 25 is a diagram illustrating an example of dependency data according to the second embodiment. The dependency data 24e includes a row 141.

行141は、制御プログラム24d1の行131に対応する。デリミタ「:」の左側に依存先のデバイス名「D100[PLC1:共有メモリ]」が記述され、デリミタ「:」の右側に依存元のデバイス名「Y20」が記述されている。   The row 141 corresponds to the row 131 of the control program 24d1. The dependency destination device name “D100 [PLC1: shared memory]” is described on the left side of the delimiter “:”, and the dependency source device name “Y20” is described on the right side of the delimiter “:”.

第1描画部21a2bは、依存データ24c及び24eを検索対象の依存データとして、図10で示した処理を実行する。   The first drawing unit 21a2b executes the processing shown in FIG. 10 using the dependency data 24c and 24e as the search target dependency data.

これにより、第1描画部21a2bは、デバイス名「D100」のデバイスとデバイス名「Y20」のデバイスとの依存関係を表示することができる。   Accordingly, the first drawing unit 21a2b can display the dependency relationship between the device with the device name “D100” and the device with the device name “Y20”.

従って、ユーザは、制御プログラム24a1及び制御プログラム24d1に記述されたデバイスの依存関係を容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the device dependency described in the control program 24a1 and the control program 24d1. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

第2描画部21a2cは、依存データ24c及び24eを検索対象の依存データとして、図12及び図15で示した処理を実行する。   The second drawing unit 21a2c executes the processing shown in FIGS. 12 and 15 using the dependency data 24c and 24e as the search target dependency data.

これにより、第2描画部21a2cは、デバイス名「D100」のデバイスが選択されたら、選択されたデバイス名「D100」のデバイスと直接依存する関係にあるデバイス名「Y20」のデバイスのシンボルを表示することができ、その後、デバイス名「D100」のデバイスが再度選択されたら、再度選択されたデバイス名「D100」のデバイスと直接依存する関係にあるデバイス名「Y20」のデバイスのシンボルを消去することができる。   Accordingly, when the device with the device name “D100” is selected, the second drawing unit 21a2c displays the symbol of the device with the device name “Y20” that is directly dependent on the device with the selected device name “D100”. After that, when the device with the device name “D100” is selected again, the symbol of the device with the device name “Y20” that is directly dependent on the device with the device name “D100” selected again is deleted. be able to.

従って、ユーザは、確認が終わったデバイス名「Y20」のシンボルを消去することができ、表示画面を見易くすることができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can erase the symbol of the device name “Y20” that has been confirmed, and can make the display screen easier to see. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

モニタリング部21a2dは、図16で示した処理を実行する。   The monitoring unit 21a2d executes the process shown in FIG.

これにより、モニタリング部21a2dは、デバイス名「D100」のデバイスのデータを第1の制御装置3から取得したら、取得したデータを、デバイス名「D100」のデバイスのシンボルの傍に表示できる。これにより、ユーザは、デバイス名「D100」のデバイスのデータを容易に把握することができる。   Accordingly, when the monitoring unit 21a2d acquires the data of the device having the device name “D100” from the first control device 3, the monitoring unit 21a2d can display the acquired data beside the symbol of the device having the device name “D100”. Thereby, the user can easily grasp the data of the device having the device name “D100”.

また、モニタリング部21a2dは、デバイス名「Y20」のデバイスのデータを第2の制御装置3Aから取得したら、取得したデータを、デバイス名「Y20」のデバイスのシンボルの傍に表示できる。   In addition, when the monitoring unit 21a2d acquires the data of the device having the device name “Y20” from the second control apparatus 3A, the monitoring unit 21a2d can display the acquired data beside the symbol of the device having the device name “Y20”.

従って、ユーザは、デバイス名「Y20」のデバイスのデータを容易に把握することができる。これにより、エンジニアリングツール2は、デバッグ工数を削減でき、トラブルの早期解決を容易にすることができる。   Therefore, the user can easily grasp the data of the device having the device name “Y20”. Thereby, the engineering tool 2 can reduce the number of debugging steps, and can facilitate the early solution of the trouble.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1,1A 制御システム、2 エンジニアリングツール、21 CPU、21a エンジニアリングツール部、21a2 デバッグ部、21a2a 依存データ作成部、21a2b 第1描画部、21a2c 第2描画部、21a2d モニタリング部、24 記憶部、24a,24d プロジェクトデータ、24b シンボルデータ、24c,24e 依存データ、26 表示部、3,3A 制御装置。   1, 1A control system, 2 engineering tool, 21 CPU, 21a engineering tool section, 21a2 debugging section, 21a2a dependency data creating section, 21a2b first drawing section, 21a2c second drawing section, 21a2d monitoring section, 24 storage section, 24a, 24d project data, 24b symbol data, 24c, 24e dependency data, 26 display unit, 3, 3A control device.

Claims (7)

制御装置で実行される制御プログラム及び前記制御装置のメモリ内の複数の作業領域である複数のデバイスを規定する記述がなされたデータであるデバイスメモリを含むプロジェクトデータを記憶する記憶部と、
文字又は画像を表示する表示部と、
前記制御プログラム内で記述された前記複数のデバイスの直接依存する関係を夫々表す複数の情報を含む依存データを作成して前記記憶部に格納する依存データ作成部と、
前記依存データに基づいて、前記複数のデバイスの依存関係を表す画像を前記表示部に表示させる描画部と、
前記画像の中の前記デバイスであって、当該デバイスと直接依存する関係にある前記デバイスの少なくとも1つが表示されていない当該デバイスが選択されたら、前記依存データに基づいて、当該デバイスと直接依存する関係にある前記デバイスを前記表示部に更に表示させる第2描画部と、
を備え、
前記第2描画部は、
前記画像の中の前記デバイスが再度選択されたら、当該デバイスが最初に選択された際に表示された前記デバイスの画像を消去する
ことを特徴とするデバッグ装置。
A storage unit for storing project data including a control program executed by the control device and device memory that is data in which a plurality of devices that are a plurality of work areas in the memory of the control device are described;
A display unit for displaying characters or images;
And dependent data creation unit to be stored in the storage unit by creating a dependent data comprising a plurality of information relationships representing respective direct dependent of the plurality of devices described in the control program,
Based on the dependency data, a drawing unit that causes the display unit to display an image representing the dependency relationship of the plurality of devices;
If the device in the image that does not display at least one of the devices that are directly dependent on the device is selected, it directly depends on the device based on the dependency data. A second drawing unit for further displaying the related device on the display unit;
With
The second drawing unit includes:
When the device in the image is selected again, the image of the device displayed when the device is first selected is deleted.
前記プロジェクトデータは、前記デバイスの名称であるデバイス名とデバイスの別名であるラベル名とを対応付けたラベル情報を更に含み、
前記描画部は、
前記ラベル名が付されている前記デバイスには前記ラベル名を表示し、前記ラベル名が付されていない前記デバイスには前記デバイス名を表示することを特徴とする請求項1に記載のデバッグ装置。
The project data further includes label information that associates a device name that is the name of the device with a label name that is an alias of the device,
The drawing unit
2. The debugging apparatus according to claim 1, wherein the label name is displayed on the device to which the label name is attached, and the device name is displayed on the device to which the label name is not attached. .
前記記憶部は、
前記デバイスのデータ型並びに前記デバイスが前記デバイス名で表示されるか又は前記ラベル名で表示されるかの種別と、シンボルと、を対応付けたシンボルデータを更に記憶し、
前記描画部は、
前記シンボルデータに基づいて、前記デバイスを前記シンボルで表示することを特徴とする請求項2に記載のデバッグ装置。
The storage unit
Further storing symbol data in which the data type of the device and the type of whether the device is displayed by the device name or the label name and a symbol are associated with each other,
The drawing unit
The debugging apparatus according to claim 2, wherein the device is displayed as the symbol based on the symbol data.
前記画像の中の前記デバイスのデータを前記制御装置から受信したら、受信したデータに基づく画像を前記表示部に表示させるモニタリング部を更に備えることを特徴とする請求項1から3のいずれか1項に記載のデバッグ装置。   4. The apparatus according to claim 1, further comprising: a monitoring unit that displays an image based on the received data on the display unit when data of the device in the image is received from the control device. The debugging device described in 1. 前記記憶部は、複数の前記プロジェクトデータを記憶し、
前記依存データ作成部は、複数の前記制御プログラム内で記述された前記複数のデバイスの依存関係を表す複数の前記依存データを作成して前記記憶部に格納し、
前記描画部は、前記複数の依存データに基づいて、前記複数のデバイスの依存関係を表す画像を前記表示部に表示させることを特徴とする請求項1に記載のデバッグ装置。
The storage unit stores a plurality of the project data,
The dependency data creation unit creates a plurality of dependency data representing dependency relationships of the plurality of devices described in the plurality of control programs, and stores the dependency data in the storage unit.
The debugging apparatus according to claim 1, wherein the drawing unit causes the display unit to display an image representing a dependency relationship of the plurality of devices based on the plurality of dependency data.
制御装置で実行される制御プログラム及び前記制御装置のメモリ内の複数の作業領域である複数のデバイスを規定する記述がなされたデータであるデバイスメモリを含むプロジェクトデータを記憶する記憶部と、
文字又は画像を表示する表示部と、
を備える装置で実行される方法であって、
前記制御プログラム内で記述された前記複数のデバイスの直接依存する関係を夫々表す複数の情報を含む依存データを作成して前記記憶部に格納する依存データ作成ステップと、
前記依存データに基づいて、前記複数のデバイスの依存関係を表す画像を前記表示部に表示させる描画ステップと、
前記画像の中の前記デバイスであって、当該デバイスと直接依存する関係にある前記デバイスの少なくとも1つが表示されていない当該デバイスが選択されたら、前記依存データに基づいて、当該デバイスと直接依存する関係にある前記デバイスを前記表示部に更に表示させる第2描画ステップと、
を備え、
前記第2描画ステップは、
前記画像の中の前記デバイスが再度選択されたら、当該デバイスが最初に選択された際に表示された前記デバイスの画像を消去する
ことを特徴とするデバッグ方法。
A storage unit for storing project data including a control program executed by the control device and device memory that is data in which a plurality of devices that are a plurality of work areas in the memory of the control device are described;
A display unit for displaying characters or images;
A method performed by an apparatus comprising:
And dependent data creation step of storing in the storage unit by creating a dependent data comprising a plurality of information related representing respectively the direct dependent of the plurality of devices described in the control program,
A drawing step of causing the display unit to display an image representing a dependency relationship of the plurality of devices based on the dependency data;
If the device in the image that does not display at least one of the devices that are directly dependent on the device is selected, it directly depends on the device based on the dependency data. A second drawing step of further displaying the related devices on the display unit;
With
The second drawing step includes
When the device in the image is selected again, the device image displayed when the device is first selected is erased.
制御装置で実行される制御プログラム及び前記制御装置のメモリ内の複数の作業領域である複数のデバイスを規定する記述がなされたデータであるデバイスメモリを含むプロジェクトデータを記憶する記憶部と、
文字又は画像を表示する表示部と、
を備えるコンピュータに実行させるプログラムであって、
前記制御プログラム内で記述された前記複数のデバイスの直接依存する関係を夫々表す複数の情報を含む依存データを作成して前記記憶部に格納する依存データ作成ステップと、
前記依存データに基づいて、前記複数のデバイスの依存関係を表す画像を前記表示部に表示させる描画ステップと、
前記画像の中の前記デバイスであって、当該デバイスと直接依存する関係にある前記デバイスの少なくとも1つが表示されていない当該デバイスが選択されたら、前記依存データに基づいて、当該デバイスと直接依存する関係にある前記デバイスを前記表示部に更に表示させる第2描画ステップと、
を備え、
前記第2描画ステップは、
前記画像の中の前記デバイスが再度選択されたら、当該デバイスが最初に選択された際に表示された前記デバイスの画像を消去する
ことを特徴とするデバッグプログラム。
A storage unit for storing project data including a control program executed by the control device and device memory that is data in which a plurality of devices that are a plurality of work areas in the memory of the control device are described
A display unit for displaying characters or images;
A program to be executed by a computer comprising:
And dependent data creation step of storing in the storage unit by creating a dependent data comprising a plurality of information related representing respectively the direct dependent of the plurality of devices described in the control program,
A drawing step of causing the display unit to display an image representing a dependency relationship of the plurality of devices based on the dependency data;
If the device in the image that does not display at least one of the devices that are directly dependent on the device is selected, it is directly dependent on the device based on the dependency data. A second drawing step of further displaying the related devices on the display unit;
With
The second drawing step includes
When the device in the image is selected again, an image of the device displayed when the device is first selected is deleted.
JP2016555839A 2015-06-01 2015-06-01 Debugging device, debugging method, and debugging program Active JP6150953B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/065736 WO2016194099A1 (en) 2015-06-01 2015-06-01 Debug device, debug method, and debug program

Publications (2)

Publication Number Publication Date
JP6150953B2 true JP6150953B2 (en) 2017-06-21
JPWO2016194099A1 JPWO2016194099A1 (en) 2017-06-22

Family

ID=57440951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016555839A Active JP6150953B2 (en) 2015-06-01 2015-06-01 Debugging device, debugging method, and debugging program

Country Status (4)

Country Link
JP (1) JP6150953B2 (en)
KR (1) KR101864565B1 (en)
CN (1) CN107615191B (en)
WO (1) WO2016194099A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6664562B1 (en) * 2019-04-18 2020-03-13 三菱電機株式会社 Debug support device, debug support method, and debug support program
JP7049534B1 (en) * 2021-03-02 2022-04-06 三菱電機株式会社 Debug support program, debug support device, debug support method and machine learning device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102533869B1 (en) * 2020-03-10 2023-05-17 엘에스일렉트릭(주) Method for preventing interference between plc program blocks
US11797420B2 (en) 2020-04-14 2023-10-24 Mitsubishi Electric Corporation Debug support program storage medium, debug support apparatus, and debug support method
US20230129280A1 (en) * 2020-09-04 2023-04-27 Mitsubishi Electric Corporation Computer readable storage medium, program creation support apparatus, and program creation support method

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3819639B2 (en) 1999-07-09 2006-09-13 株式会社東芝 Programming device
JP2005025579A (en) * 2003-07-04 2005-01-27 Matsushita Electric Ind Co Ltd Simulator debugger
US9087151B2 (en) 2009-02-18 2015-07-21 Mitsubishi Electric Corporation Program analysis support device
CN102449563B (en) * 2009-05-27 2014-06-18 三菱电机株式会社 Sequence program debugging device and debugging method
KR101472697B1 (en) * 2010-10-27 2014-12-12 미쓰비시덴키 가부시키가이샤 Logging setup device, logging setup method and recordable medium
JP5762154B2 (en) * 2011-06-08 2015-08-12 三菱電機株式会社 Information processing apparatus, information processing method, and program
US8726091B2 (en) * 2011-06-24 2014-05-13 Rockwell Automation Technologies, Inc. Troubleshooting system for industrial control programs
JP5942446B2 (en) * 2012-02-01 2016-06-29 オムロン株式会社 Support device and support program
JP2013161376A (en) * 2012-02-07 2013-08-19 Hakko Denki Kk Programmable display, program thereof, and display/control system
JP2013225251A (en) 2012-04-23 2013-10-31 Mitsubishi Electric Corp Information processor and information processing method and program
JP5362148B1 (en) 2012-12-17 2013-12-11 三菱電機株式会社 Program analysis support device and control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6664562B1 (en) * 2019-04-18 2020-03-13 三菱電機株式会社 Debug support device, debug support method, and debug support program
US11300612B2 (en) 2019-04-18 2022-04-12 Mitsubishi Electric Corporation Debug support device, debug support method, and computer readable storage medium
JP7049534B1 (en) * 2021-03-02 2022-04-06 三菱電機株式会社 Debug support program, debug support device, debug support method and machine learning device
WO2022185418A1 (en) * 2021-03-02 2022-09-09 三菱電機株式会社 Debugging assistance program, debugging assistance device, debugging assistance method, and machine learning device
CN116670600A (en) * 2021-03-02 2023-08-29 三菱电机株式会社 Debugging support program, debugging support device, debugging support method, and machine learning device

Also Published As

Publication number Publication date
KR20180004825A (en) 2018-01-12
KR101864565B1 (en) 2018-06-04
JPWO2016194099A1 (en) 2017-06-22
CN107615191B (en) 2019-03-15
CN107615191A (en) 2018-01-19
WO2016194099A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
JP6150953B2 (en) Debugging device, debugging method, and debugging program
US10031654B2 (en) Apparatus and method for generating industrial process graphics
JP7414392B2 (en) System and method for graphical display configuration design verification in process plants
US8032232B2 (en) Natively retaining project documentation in a controller
US9727442B2 (en) Engineering tool, program editing device, and program editing system
US8549422B2 (en) Graphical approach to setup data sharing between two controllers
JP6430037B2 (en) Debugging support apparatus and debugging support method
KR101889631B1 (en) Device for assisting creation of sequence program
WO2019167512A1 (en) Display device, screen generation method, and screen generation program
CN109643096B (en) Programmable logic controller system and computer-readable storage medium storing engineering tool program
JPWO2015170408A1 (en) Monitoring control system, monitoring terminal and monitoring program
JP4780308B2 (en) Control program development support apparatus and computer program
JP2006330866A (en) Programmable logic controller
KR101230563B1 (en) Sequence control device using decision table, program creation device and interpreter execution engine
JP2022012393A (en) Software development environment providing system, software development environment providing method, and software development environment providing program
JP7241982B1 (en) Image generation program, image generation device, programmable controller system and image generation method
JP7115506B2 (en) Software development environment providing system, software development environment providing method, and software development environment providing program
US20220291903A1 (en) Information processing device, recording medium, and support system
EP3933562A1 (en) System for providing software development environment, method for providing software development environment, and non-transitory computer readable medium
JP2020149520A (en) Control system, control method, and control program
JP2008242930A (en) Visualizing method for speeding up of programmable controller

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20170130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170310

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170523

R150 Certificate of patent or registration of utility model

Ref document number: 6150953

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250