JP2011227823A - Control program creation apparatus and method for driving the same - Google Patents

Control program creation apparatus and method for driving the same Download PDF

Info

Publication number
JP2011227823A
JP2011227823A JP2010098990A JP2010098990A JP2011227823A JP 2011227823 A JP2011227823 A JP 2011227823A JP 2010098990 A JP2010098990 A JP 2010098990A JP 2010098990 A JP2010098990 A JP 2010098990A JP 2011227823 A JP2011227823 A JP 2011227823A
Authority
JP
Japan
Prior art keywords
control program
file
program
database
key information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010098990A
Other languages
Japanese (ja)
Other versions
JP5481267B2 (en
Inventor
Masahide Ono
将英 小野
Shungo Nakagawa
俊吾 中川
Akira Nojima
章 野島
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.)
Toshiba Corp
Toshiba Mitsubishi Electric Industrial Systems Corp
Original Assignee
Toshiba Corp
Toshiba Mitsubishi Electric Industrial Systems 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 Toshiba Corp, Toshiba Mitsubishi Electric Industrial Systems Corp filed Critical Toshiba Corp
Priority to JP2010098990A priority Critical patent/JP5481267B2/en
Publication of JP2011227823A publication Critical patent/JP2011227823A/en
Application granted granted Critical
Publication of JP5481267B2 publication Critical patent/JP5481267B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a program creation apparatus capable of reducing system programmer's loads.SOLUTION: The program creation apparatus includes: a control program edition part 110; a first database 150 for storing a control program and managing the control program by key information set in each control program; a second database 160 for storing the control program and managing the control program by the key information; a file backup part 120 for recording the control program in the second database 160; a display device 16 for presenting an operation confirmation picture of an object file written in a controller 200; and input devices 12, 14 for outputting an operation signal operated by a user to the control program edition part 110. The control program edition part 110, after writing the object file in the controller 200, allows the display device 16 to present the operation confirmation picture and to record the control program corresponding to the key information in the second database 160.

Description

本発明は制御プログラム作成装置および制御プログラム作成装置の駆動方法に関する。   The present invention relates to a control program creation device and a control program creation method.

システムプログラマは、プラントを自動運転するためのプログラムを、プラント制御装置のアプリケーションプログラム(以降、「制御プログラム」と呼ぶ)として、作成、試験、調整後、プラント運転者へ提供する。システムプログラマは、プラントを安全に制御するために、制御プログラムの調整時に制御プログラムのデバッグを行う。   The system programmer provides a program for automatically operating the plant as an application program (hereinafter referred to as “control program”) of the plant control apparatus to the plant operator after creation, testing, and adjustment. The system programmer debugs the control program when adjusting the control program in order to control the plant safely.

制御プログラムは、例えばIEC61131-3で規定されているLD(ラダー)やFBD(ファンクションブロックダイアグラム)などの言語を用いて記述される。制御プログラムのデバッグ時は、オンライン状態で、制御プログラム単位の置き換え、または接点(A接点やB接点など)や変数の値を強制変更することにより、制御プログラムの動作確認を行う。この動作確認のとき、システムプログラマに対して、誤操作を招かないように、制御プログラム作成装置がわかりやすく提示することが求められる。   The control program is described using a language such as LD (ladder) or FBD (function block diagram) defined in IEC61131-3, for example. When debugging the control program, the operation of the control program is checked by replacing the control program unit or forcibly changing the contact (A contact, B contact, etc.) or variable value in the online state. At the time of this operation check, it is required that the control program creation device be presented in an easy-to-understand manner to the system programmer so as not to cause an erroneous operation.

例えば特許文献1には、コントローラ機器に依存せず、プロセスアプリケーションの階層構造に従って、ワークフレーム設計を支援し得るエンジニアリングシステムが提案されている。   For example, Patent Document 1 proposes an engineering system that can support work frame design according to a hierarchical structure of process applications without depending on a controller device.

特開平11−85490号公報Japanese Patent Laid-Open No. 11-85490

制御プログラム作成装置では、制御プログラムの構成は、表現性・移植性・再利用性を高めるため、例えばソース/オブジェクト方式が採用される。システムプログラマは、制御プログラムソースにIEC61131-3で規定されている制御プログラム言語、およびプログラムの実行に直接関係しない拡張情報(図形、コメント、等)を記述し、プラント制御装置が実行可能なオブジェクトを生成後、書き込むことで、実行、動作確認を行う。システムプログラマは、制御プログラムの動作確認を行うためには、プラント制御装置にロードしたオブジェクトの基となる制御プログラムソースが必要になる。   In the control program creation device, for example, a source / object method is adopted as the configuration of the control program in order to improve expression, portability, and reusability. The system programmer describes the control program language specified in IEC61131-3 in the control program source and extended information (graphics, comments, etc.) that are not directly related to program execution, and creates objects that can be executed by the plant controller. Execution and operation check are performed by writing after generation. In order to confirm the operation of the control program, the system programmer needs a control program source that is the basis of the object loaded in the plant control apparatus.

そのため、制御プログラムソースを人為的にバックアップしておかないと、制御プログラムの改造中に、プラント制御装置に書き込まれている改造前の制御プログラムの動作確認を行うことができなかった。   Therefore, unless the control program source is artificially backed up, it is not possible to confirm the operation of the control program before the modification written in the plant control device during the modification of the control program.

また、ハードウエア構成情報(プログラムコード)、および入出力信号情報(プログラムデータ)についても、プラント制御装置に書き込まれないソースファイルとして管理される場合には、制御プログラムと同様の課題があった。   Further, when hardware configuration information (program code) and input / output signal information (program data) are managed as source files that are not written in the plant control device, there are problems similar to those of the control program.

本発明は上記事情を鑑みて成されたものであって、システムプログラマの負担を軽減するプログラム作成装置および制御プログラム作成装置の駆動方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a program creation device and a control program creation device driving method that reduce the burden on the system programmer.

実施形態に係るプログラム作成装置は、ネットワークを経由して、コントローラに制御プログラムのオブジェクトファイルを書き込むプログラム作成装置であって、前記制御プログラムのソースファイルをコンパイル処理してオブジェクトファイルに変換するコンパイラと、前記オブジェクトファイルを前記コントローラに送付する通信手段と、を備えた制御プログラム編集部と、前記ソースファイルと前記オブジェクトファイルとを格納し、前記ソースファイルと前記オブジェクトファイルとを前記制御プログラム毎に設定されたキー情報により管理する第1データベースと、前記コントローラに書き込まれた前記制御プログラムの前記オブジェクトファイルと、対応するソースファイルとを格納し、前記ソースファイルと前記オブジェクトファイルとを前記制御プログラム毎に設定されたキー情報により管理する第2データベースと、前記制御プログラムの前記オブジェクトファイルと前記ソースファイルとを前記第2データベースに記録する前記ファイルバックアップ部と、ユーザに前記コントローラに書き込まれた前記オブジェクトファイルの動作確認画面を提示する表示装置と、ユーザによって操作され、操作信号を前記制御プログラム編集部へ出力する入力装置と、を備え、前記制御プログラム編集部は、前記コントローラに前記オブジェクトファイルの書き込み、および、前記表示装置に前記動作確認画面に提示を行い、前記オブジェクトファイルの書き込みと前記動作確認画面の提示とは非同期に、キー情報により対応するオブジェクトファイルとソースファイルとを前記第2データベースに記録するように前記ファイルバックアップ部に要求するように構成されている制御プログラム作成装置である。   A program creation device according to an embodiment is a program creation device that writes an object file of a control program to a controller via a network, and a compiler that compiles a source file of the control program and converts it into an object file; A control program editing unit comprising: a communication means for sending the object file to the controller; the source file and the object file are stored; and the source file and the object file are set for each control program. The first database managed by the key information, the object file of the control program written in the controller, and the corresponding source file are stored, and the source file and the object are stored. A second database for managing files by key information set for each control program, the file backup unit for recording the object file and the source file of the control program in the second database, and A display device that presents an operation confirmation screen for the object file written in the controller; and an input device that is operated by a user and outputs an operation signal to the control program editing unit. Writing the object file to the controller and presenting it on the operation confirmation screen to the display device, and writing the object file and presenting the operation confirmation screen asynchronously, the corresponding object file and source file by key information Which is a by a control program creating device configured to request the file backup unit to record in the second database.

本発明によれば、システムプログラマの負担を軽減するプログラム作成装置および制御プログラム作成装置の駆動方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the drive method of the program creation apparatus and control program creation apparatus which reduce the burden of a system programmer can be provided.

本発明の一実施形態に係る制御プログラム作成装置の一構成例を概略的に示す図である。It is a figure which shows roughly the example of 1 structure of the control program creation apparatus concerning one Embodiment of this invention. JISB3503(またはIEC61131-3)で規定された言語を使って作成した制御プログラムの一例である。It is an example of a control program created using a language defined in JISB3503 (or IEC61131-3). 本発明の一実施形態に係る制御プログラム作成装置のデータベースの一構成例を概略的に示す図である。It is a figure which shows roughly the example of 1 structure of the database of the control program creation apparatus which concerns on one Embodiment of this invention. 制御プログラムのオブジェクト情報をコントローラに書き込んだときに、その基となるソース情報、および書き込んだオブジェクト情報をバックグラウンドで自動的にバックアップする動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement which backs up automatically the source information used as the basis, and the written object information in the background, when the object information of a control program is written in the controller. 制御プログラムの試験、調整時、一部の命令語を変更したときに、該当箇所をバックグラウンドで自動的にバックアップに反映する動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement which reflects a corresponding location on a backup automatically in the background when a part of instruction word is changed at the time of a test and adjustment of a control program. 制御プログラムの改造中に、コントローラに書き込まれている改造前の制御プログラムの動作確認を行う動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement which confirms the operation | movement confirmation of the control program before the modification written in the controller during the modification of a control program. 改造中の制御プログラムと、改造前のバックアップ情報とを比較する動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement which compares the control program in remodeling, and the backup information before remodeling. 制御プログラムのバックアップ処理中に、途中経過の不正なプログラム表示および変更を禁止する動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement which prohibits the illegal program display and change of a middle progress during the backup process of a control program.

以下、本発明の第1実施形態に係るプログラム作成装置について図面を参照して説明する。   Hereinafter, a program creation device according to a first embodiment of the present invention will be described with reference to the drawings.

図1に、本発明の一実施形態に係るプログラム作成装置の一構成例を概略的に示す。本実施形態に係るプログラム作成装置は、制御プログラム編集部110と、第1データベース150と、第2データベース160と、を備えたコンピュータ100と、コンピュータ100の入力装置としてのマウス12およびキーボード14と、コンピュータ100の出力装置としての表示装置16と、を備えている。コンピュータ100とプラント制御装置のコントローラ200とはネットワーク300に接続されている。     FIG. 1 schematically shows a configuration example of a program creation apparatus according to an embodiment of the present invention. The program creation device according to the present embodiment includes a computer 100 including a control program editing unit 110, a first database 150, and a second database 160, a mouse 12 and a keyboard 14 as input devices of the computer 100, And a display device 16 as an output device of the computer 100. The computer 100 and the controller 200 of the plant control apparatus are connected to a network 300.

プラント制御装置のコントローラ200は、制御プログラムのオブジェクトファイルを格納するためのオブジェクトメモリ210と、これらの書き込み、読み出し、実行を行う標準処理部220を有している。さらに、オブジェクトメモリ210は、データメモリ212とコードメモリ214とを有している。   The controller 200 of the plant control apparatus has an object memory 210 for storing an object file of a control program, and a standard processing unit 220 for writing, reading, and executing these objects. Further, the object memory 210 has a data memory 212 and a code memory 214.

標準処理部220は、プログラムロードサーバ部222と、オブジェクトメモリ210に記録された制御プログラムを実行するためのプログラム実行処理部224と、制御対象であるプラントからのプロセス信号を制御プログラムに与えるためのプロセス入出力処理部225とを備える。   The standard processing unit 220 is a program load server unit 222, a program execution processing unit 224 for executing a control program recorded in the object memory 210, and a process signal for giving a process signal from a plant to be controlled to the control program. And a process input / output processing unit 225.

プログラムロードサーバ部222は、ネットワーク300を経由してコンピュータ100から送付された制御プログラムのオブジェクトファイルを、オブジェクトメモリ210のデータメモリ212およびコードメモリ214に配置する。   The program load server unit 222 arranges the object file of the control program sent from the computer 100 via the network 300 in the data memory 212 and the code memory 214 of the object memory 210.

コンピュータ100は、システムプログラマ(ユーザ)が制御プログラムを作成するための制御プログラム編集部110と、ファイルバックアップ部120と、ファイル比較部130と、ファイル排他部140と、制御プログラムを格納する第1データベース150と、バックアップ用の制御プログラムが格納される第2データベース160と、を備える。   The computer 100 includes a control program editing unit 110 for a system programmer (user) to create a control program, a file backup unit 120, a file comparison unit 130, a file exclusion unit 140, and a first database that stores the control program. 150 and a second database 160 in which a control program for backup is stored.

制御プログラム編集部110は、プログラムコンパイラ112と、プログラムロードクライアント部114と、を備えている。プログラムコンパイラ112は、制御プログラムのソースファイルをオブジェクトファイルに変換するためのコンパイル処理を行う。プログラムロードクライアント部114は、プログラムコンパイラ112によってソースファイルから変換されたオブジェクトファイルをコントローラへ200送付する通信手段である。   The control program editing unit 110 includes a program compiler 112 and a program load client unit 114. The program compiler 112 performs a compile process for converting the source file of the control program into an object file. The program load client unit 114 is communication means for sending 200 an object file converted from a source file by the program compiler 112 to the controller.

ファイルバックアップ部120は、後述するソースファイルのバックアップ処理を行う。ファイル比較部130は、バックアップ処理によって保存された制御プログラムと、編集後の制御プログラムとを比較する比較処理を行う。ファイル排他部140は、バックアップ中の制御プログラムについて、他者への表示を禁止する排他処理を行う。   The file backup unit 120 performs source file backup processing, which will be described later. The file comparison unit 130 performs a comparison process that compares the control program saved by the backup process with the edited control program. The file exclusion unit 140 performs an exclusion process for prohibiting display of the control program being backed up to others.

第1データベース150は、制御プログラムのソースファイルを格納するためのソースファイル部152と、制御プログラムのオブジェクトファイルを格納するためのオブジェクトファイル部154と、を備えている。   The first database 150 includes a source file unit 152 for storing a control program source file and an object file unit 154 for storing a control program object file.

第2データベース160も同様に、制御プログラムのソースファイルを格納するためのソースファイル部152と、制御プログラムのオブジェクトファイルを格納するためのオブジェクトファイル部154と、を備えている。   Similarly, the second database 160 includes a source file unit 152 for storing a control program source file and an object file unit 154 for storing an object file of the control program.

図2に、JISB3503(またはIEC61131-3)で規定された言語を使って作成した制御プログラムの一例を示す。制御プログラムは、表示装置16の画面上で、プログラム言語に対応する図を組み合わせることによってその構造を組み立てることができる。例えば、C1〜C7のそれぞれは、JISB3503(またはIEC61131-3)で規定された言語で記述された命令語に対応している。   FIG. 2 shows an example of a control program created using a language defined by JISB3503 (or IEC61131-3). The structure of the control program can be assembled by combining diagrams corresponding to the program language on the screen of the display device 16. For example, each of C1 to C7 corresponds to an instruction word described in a language defined by JISB3503 (or IEC61131-3).

システムプログラマは、図を組み立てて制御プログラムのソースファイルを作成する。システムプログラマは、ソースファイルをプログラムコンパイラ112によってコンパイルして、オブジェクトファイルを作成する。   The system programmer assembles the diagram and creates a control program source file. The system programmer compiles the source file with the program compiler 112 to create an object file.

図3に、第1データベース150の一構成例を示す。第1データベース150のソースファイル部152には、制御プログラムのソースファイルが記録されている。ソースファイル部152は、制御プログラム情報152Aと、命令語およびその構造が定義されているプログラムコード152Bと、制御プログラム内で使用される内部変数が定義されているプログラムデータ152Cとで構成される。   FIG. 3 shows a configuration example of the first database 150. A source file of the control program is recorded in the source file portion 152 of the first database 150. The source file unit 152 includes control program information 152A, a program code 152B in which an instruction word and its structure are defined, and program data 152C in which internal variables used in the control program are defined.

1つの制御プログラムに対するプログラムコード152Bとプログラムデータ152Cとは複数のデータで構成される。プログラムコード152Bとプログラムデータ152Cとを階層構造で管理している。最上位階層を制御プログラム情報152Aとし、1つの制御プログラムに対して、固有の1つのキー情報を割り当てる。制御プログラム情報152Aには、キー情報と、プログラム名と、プログラム種類とが含まれる。キー情報は、例えば、数字や文字を組み合わせた情報である。   Program code 152B and program data 152C for one control program are composed of a plurality of data. Program code 152B and program data 152C are managed in a hierarchical structure. The highest hierarchy is the control program information 152A, and one unique key information is assigned to one control program. The control program information 152A includes key information, a program name, and a program type. The key information is information combining numbers and characters, for example.

下位階層のプログラムコード152Bとプログラムデータ152Cとは、このキー情報で制御プログラム情報152Aと関連付けられる。プログラムコード152Bは、各命令語を管理し、サブキー情報と、命令語位置情報と、命令語コードと、参照キー情報とが含まれる。プログラムデータ152Cは、制御プログラムの入力信号と出力信号とを管理し、サブキー情報と、内部信号名と、信号型名と、コメント情報と、参照キー情報とが含まれる。サブキー情報は、例えば制御プログラムの命令語ごとに付与された固有の情報である。   The lower layer program code 152B and the program data 152C are associated with the control program information 152A by this key information. The program code 152B manages each instruction word, and includes sub key information, instruction word position information, instruction word code, and reference key information. The program data 152C manages input signals and output signals of the control program, and includes sub key information, internal signal names, signal type names, comment information, and reference key information. The sub key information is unique information given to each instruction word of the control program, for example.

第2データベース160においても、第1データベース150と同じ階層構造で制御プログラムが管理される。第1データベース150からバックアップされた第2データベース160の制御プログラムは、第1データベース150の制御プログラム情報152Aと同じキー情報で管理される。   Also in the second database 160, control programs are managed in the same hierarchical structure as the first database 150. The control program of the second database 160 backed up from the first database 150 is managed with the same key information as the control program information 152A of the first database 150.

上記コンピュータ100およびコントローラ200の動作について以下に説明する。システムプログラマは、表示装置16に表示される制御プログラム編集画面を使用して、制御プログラムを作成する。システムプログラマが制御プログラムを保存した時、その制御プログラムは、第1データベース150のソースファイル部152に格納され、かつ、そのソースファイルをプログラムコンパイラ112でコンパイルしたオブジェクトファイルを第1データベース150のオブジェクトファイル部154へ保存する。   The operations of the computer 100 and the controller 200 will be described below. The system programmer creates a control program using the control program edit screen displayed on the display device 16. When the system programmer saves the control program, the control program is stored in the source file unit 152 of the first database 150, and the object file obtained by compiling the source file with the program compiler 112 is the object file of the first database 150. Save to the unit 154.

システムプログラマは、上記のように制御プログラムを作成、保存、コンパイルを実施した後に、ネットワーク300を経由してコントローラ200にオブジェクトファイルを書き込み、制御プログラムを実行させる。   After creating, storing, and compiling the control program as described above, the system programmer writes the object file to the controller 200 via the network 300 and causes the control program to be executed.

オブジェクトファイルをコントローラ200に書き込むとき、コンピュータ100およびコントローラ200は、プログラムロードクライアント部114が第1データベース150からオブジェクトファイルを読み出して、ネットワーク300を経由して、コントローラ200のプログラムロードサーバ部222に送付する。プログラムロードサーバ部222は、オブジェクトファイルを受信して、オブジェクトメモリ210のデータメモリ212およびコードメモリ214上に配置し、さらにプログラム実行処理部224がこれを実行して、制御プログラムが実行される。   When the object file is written in the controller 200, the computer 100 and the controller 200 read the object file from the first database 150 by the program load client unit 114 and sends it to the program load server unit 222 of the controller 200 via the network 300. To do. The program load server unit 222 receives the object file and places it on the data memory 212 and the code memory 214 of the object memory 210, and the program execution processing unit 224 executes this to execute the control program.

本実施形態にかかるプログラム作成装置では、コントローラ200へ制御プログラムを書き込み、動作確認、および、デバックの動作と同時に、制御プログラムのバックアップ処理を行う。   In the program creation device according to the present embodiment, a control program is written into the controller 200, and the control program is backed up simultaneously with the operation check and the debug operation.

図4に、制御プログラムのオブジェクトファイルをコントローラ200に書き込んだときに、その基となるソースファイルおよび書き込んだオブジェクトファイルを自動的にバックアップする動作の一例を説明するための図を示す。   FIG. 4 is a diagram for explaining an example of an operation for automatically backing up the source file and the written object file as a basis when the control program object file is written in the controller 200.

制御プログラム編集部110は、指定された制御プログラムのオブジェクトファイルを第1データベース150のオブジェクトファイル部154から読み出し(ステップ1A)、コントローラ200にオブジェクトファイルを書き込む(ステップ2A)とともに、ファイルバックアップ部120に制御プログラムのキー情報と共に制御プログラムのバックアップ処理を行うように要求する信号を出力する(ステップ3A)。   The control program editing unit 110 reads the object file of the designated control program from the object file unit 154 of the first database 150 (Step 1A), writes the object file to the controller 200 (Step 2A), and also stores it in the file backup unit 120. A signal for requesting the backup processing of the control program is output together with the key information of the control program (step 3A).

ファイルバックアップ部120は、要求信号を受信した後、制御プログラム編集部110に制御を返し(ステップ4A)、制御プログラム編集部110における書き込み動作および動作確認(オンラインモニタ)動作(ステップ5A)とは非同期に第1データベース150のキー情報に該当する制御プログラム特定して、特定した制御プログラムのオブジェクトファイルとソースファイルとを第1データベース150から読み出して第2データベース160に書き込む(ステップ5´A)。制御プログラム編集部110は、ファイルバックアップ部120へのバックアップ要求後、ファイルバックアップ部120のコピーが完了する前に、コントローラ200へ書き込んだ制御プログラムの動作確認(オンラインモニタ)を行う。   After receiving the request signal, the file backup unit 120 returns control to the control program editing unit 110 (step 4A), and is asynchronous with the write operation and the operation check (online monitor) operation (step 5A) in the control program editing unit 110. Then, the control program corresponding to the key information of the first database 150 is identified, and the object file and the source file of the identified control program are read from the first database 150 and written to the second database 160 (step 5′A). The control program editing unit 110 checks the operation of the control program written to the controller 200 (online monitoring) after the backup request to the file backup unit 120 and before the copy of the file backup unit 120 is completed.

以上のように、本実施形態のプログラム作成装置では、システムプログラマが制御プログラムの読み出し、コントローラ200への書き込み、制御プログラムの動作確認の操作を行うのみで、自動的に該当の制御プログラムのバックアップ処理が行われる。このように該当の制御プログラムのバックアップ処理を、制御プログラムの書き込み、読み出し、および、動作確認の動作と非同期に行うことにより、バックアップ処理を行うための時間を別途必要とせずに操作を完了させることができる。   As described above, in the program creation apparatus according to the present embodiment, the system programmer automatically reads out the control program, writes it into the controller 200, and confirms the operation of the control program. Is done. In this way, the backup process of the corresponding control program is performed asynchronously with the control program writing, reading, and operation check operations, thereby completing the operation without requiring additional time for the backup process. Can do.

すなわち、本実施形態に係るプログラム作成装置によれば、制御プログラムを自動的にバックアップすることによりプログラムの動作確認作業の際のシステムプログラマの負担を軽減するプログラム作成装置およびプログラム作成装置の駆動方法を提供することができる。   That is, according to the program creation device according to the present embodiment, a program creation device and a program creation device drive method that reduce the burden on the system programmer at the time of the operation check of the program by automatically backing up the control program. Can be provided.

次に、本発明の第2実施形態に係るプログラム作成装置について図面を参照して説明する。なお、以下の説明において上述の第1実施形態に係るプログラム作成装置と同様の構成については、同一の符号を付して説明を省略する。本実施形態に係るプログラム作成装置は、上述の第1実施形態に係るプログラム作成装置と同様の構成を備える。   Next, a program creation device according to a second embodiment of the present invention will be described with reference to the drawings. In the following description, the same components as those of the above-described program creation device according to the first embodiment are denoted by the same reference numerals and description thereof is omitted. The program creation device according to the present embodiment has the same configuration as the program creation device according to the first embodiment described above.

図5に、本実施形態に係るプログラム作成装置において、制御プログラムの一部の命令語を変更する動作を説明するための図を示す。制御プログラムの動作確認作業において、システムプログラマが制御プログラムの一部を変更すると、自動的に第2データベース160に格納された制御プログラムの一部を変更する手段をさらに備えている。   FIG. 5 is a diagram for explaining an operation for changing a part of the instruction word of the control program in the program creation device according to the present embodiment. In the operation check operation of the control program, the system programmer further includes means for automatically changing a part of the control program stored in the second database 160 when the system programmer changes a part of the control program.

制御プログラムの動作確認(オンラインモニタ)(ステップ1B)の際に、制御プログラム編集部110は、キー情報に対応する制御プログラムを第1データベース150から読み出し、試験、調整を行う。システムプログラマが試験、調整時に命令語の部分変更を行った場合、第1データベース150のキー情報に対応する制御プログラム内の、サブキー情報に対応する命令語情報を部分変更する(ステップ2B)。   At the time of operation check (online monitor) (step 1B) of the control program, the control program editing unit 110 reads the control program corresponding to the key information from the first database 150, and performs testing and adjustment. When the system programmer changes the instruction word partially during the test and adjustment, the instruction word information corresponding to the sub key information in the control program corresponding to the key information in the first database 150 is partially changed (step 2B).

制御プログラム編集部110は、第1データベース150に格納された制御プログラムの部分変更が完了した後、ファイルバックアップ部120に、キー情報、サブキー情報、および命令語変更情報と共に、第2データベース160の同じ制御プログラムの同じ命令語に対する部分変更を要求する(ステップ3B)。   After the partial change of the control program stored in the first database 150 is completed, the control program editing unit 110 sends the same information in the second database 160 to the file backup unit 120 together with the key information, subkey information, and command change information. A partial change to the same instruction word of the control program is requested (step 3B).

ファイルバックアップ部120は、要求を受け取った後、要求されたキー情報、サブキー情報、および命令語変更情報をキュー(FIFO)に一時記憶し(ステップ4B)、制御プログラム編集部110に制御を返す(ステップ5B)。   After receiving the request, the file backup unit 120 temporarily stores the requested key information, subkey information, and command change information in a queue (FIFO) (step 4B), and returns control to the control program editing unit 110 ( Step 5B).

ファイルバックアップ部120は、キューに一時記憶された一番古い変更情報から順番に、制御プログラム編集部110の動作確認処理とは非同期に、第2データベース160に格納された制御プログラムに対する部分変更を行う(ステップ6B)。   The file backup unit 120 performs partial changes to the control program stored in the second database 160 in order from the oldest change information temporarily stored in the queue, asynchronously with the operation confirmation process of the control program editing unit 110. (Step 6B).

上記のように、本実施形態に係るプログラム作成装置では、システムプログラマへ、従来と同様な制御プログラムに対する試験、調整操作を行うのみで、自動的に該当の制御プログラムの部分変更をバックアップする。また、部分変更情報をキューに一時記憶することで、短い間隔で行われる試験、調整操作における変更にも対応することができる。   As described above, the program creation apparatus according to the present embodiment automatically backs up the partial change of the corresponding control program only by performing a test and adjustment operation on the control program similar to the conventional one to the system programmer. In addition, by temporarily storing partial change information in a queue, it is possible to cope with changes in tests and adjustment operations performed at short intervals.

すなわち、本実施形態に係るプログラム作成装置によれば、上述の第1実施形態にかかるプログラム作成装置と同様の効果を得ることができるとともに、システムプログラマの作業負担をさらに軽減するプログラム作成装置およびプログラム作成装置の駆動方法を提供することができる。   That is, according to the program creation device according to the present embodiment, the program creation device and the program that can obtain the same effect as the program creation device according to the first embodiment described above and further reduce the work load of the system programmer. A driving method of the creation apparatus can be provided.

次に、本発明の第3実施形態に係るプログラム作成装置について図面を参照して説明する。本実施形態に係るプログラム作成装置は、上述の第1実施形態に係るプログラム作成装置と同様の構成を備える。   Next, a program creation device according to a third embodiment of the present invention will be described with reference to the drawings. The program creation device according to the present embodiment has the same configuration as the program creation device according to the first embodiment described above.

図6に、制御プログラムの改造中に、コントローラ200に書き込まれている制御プログラムの動作確認を行う動作を説明するための図を示す。本実施形態に係るプログラム作成装置は、改造中の制御プログラムと改造前の制御プログラムとの表示を切り替える表示切替手段(図示せず)をさらに備えている。   FIG. 6 is a diagram for explaining an operation for confirming the operation of the control program written in the controller 200 during the modification of the control program. The program creation device according to the present embodiment further includes display switching means (not shown) for switching display between the control program being modified and the control program before the modification.

本実施形態に係るプログラム作成装置では、制御プログラム起動画面において制御プログラム名やキー情報により制御プログラムを指定して制御プログラム編集画面を起動すると、制御プログラム編集部110は、指定された制御プログラムのキー情報に対応する制御プログラムを第1データベース150から読み出し、表示装置16に制御プログラム編集画面を表示する。   In the program creation device according to the present embodiment, when the control program editing screen is activated by designating the control program by the control program name or key information on the control program activation screen, the control program editing unit 110 displays the key of the designated control program. A control program corresponding to the information is read from the first database 150 and a control program edit screen is displayed on the display device 16.

制御プログラム編集画面から、バックアップ表示に切り替えた場合、同一キー情報に対する制御プログラムを第2データベース160から読み出し、バックアップ用の制御プログラム編集画面に表示する。また、バックアップ用の制御プログラム編集画面から、同元の制御プログラム編集画面の表示に切り替えた場合、同一キー情報に対する制御プログラムを特定して、特定した制御プログラムを第1データベース150から読み出し、制御プログラム編集画面を表示する。   When switching to the backup display from the control program editing screen, the control program for the same key information is read from the second database 160 and displayed on the backup control program editing screen. When the backup control program edit screen is switched to the same control program edit screen display, the control program for the same key information is specified, the specified control program is read from the first database 150, and the control program is read. Display the edit screen.

制御プログラム起動画面から、バックアップ表示に切り替えて、制御プログラム名やキー情報により制御プログラムを指定してバックアップ用の制御プログラム編集画面を起動した場合は、キー情報により対する制御プログラムを特定して、特定した制御プログラムを第2データベース160から読み出し、バックアップ用の制御プログラム編集画面を表示する。   When switching to the backup display from the control program start screen and specifying the control program with the control program name or key information and starting the control program edit screen for backup, specify the control program for the key information and specify The read control program is read from the second database 160, and a control program edit screen for backup is displayed.

上記のように、本実施形態に係るプログラム作成装置では、システムプログラマが、改造中の制御プログラムを表示した状態から、コントローラ200に書き込まれている改造前の制御プログラムの表示に簡単に切り替えることができる。したがって、本実施形態に係るプログラム作成装置によれば、システムプログラマは、コントローラ200に書き込まれた改造前の制御プログラムの動作確認を容易に行うことができる。また、改造中の制御プログラムと改造前のバックアップされた制御プログラムとを、同一のキー情報により管理することによって、簡単に両者の対応付けをすることができる。   As described above, in the program creation device according to the present embodiment, the system programmer can easily switch from displaying the control program being modified to displaying the control program before modification written in the controller 200. it can. Therefore, according to the program creation device according to the present embodiment, the system programmer can easily check the operation of the control program before modification written in the controller 200. Further, by managing the control program being modified and the control program that was backed up before the modification with the same key information, they can be easily associated with each other.

すなわち、本実施形態に係るプログラム作成装置によれば、上述の第1実施形態に係るプログラム作成装置と同様の効果を得ることができるとともに、システムプログラマの作業負担をさらに軽減するプログラム作成装置およびプログラム作成装置の駆動方法を提供することができる。   That is, according to the program creation device according to the present embodiment, the program creation device and the program that can obtain the same effect as the program creation device according to the first embodiment described above and further reduce the work load of the system programmer. A driving method of the creation apparatus can be provided.

次に、本発明の第4実施形態に係るプログラム作成装置について、図面を参照して以下に説明する。本実施形態に係るプログラム作成装置は、上述の第1実施形態に係るプログラム作成装置と同様の構成を備える。   Next, a program creation device according to a fourth embodiment of the present invention will be described below with reference to the drawings. The program creation device according to the present embodiment has the same configuration as the program creation device according to the first embodiment described above.

図7に、改造中の制御プログラムとバックアップされた改造前の制御プログラムとを比較する動作を説明するための図を示す。ファイル比較部130は、改造中の制御プログラムとバックアップされた改造前の制御プログラムとを比較するように構成されている。   FIG. 7 is a diagram for explaining an operation for comparing the control program being modified with the control program backed up before modification. The file comparison unit 130 is configured to compare the control program being remodeled with the control program backed up before remodeling.

システムプログラマが、キーボード14やマウス12を操作してコンピュータに改造中の制御プログラムと改造前の制御プログラムとを比較する処理を要求すると、ファイル比較部130は、比較元データとして、キー情報に対する制御プログラムのソース情報およびオブジェクト情報を第1データベース150から読み出す。続いて、ファイル比較部130は、比較先データとして、同一のキー情報に対する制御プログラムのソース情報およびオブジェクト情報を第2データベース160から読み出す。   When the system programmer operates the keyboard 14 or mouse 12 to request the computer to compare the control program being modified with the control program before the modification, the file comparison unit 130 controls the key information as comparison source data. The source information and object information of the program are read from the first database 150. Subsequently, the file comparison unit 130 reads the source information and object information of the control program for the same key information from the second database 160 as comparison destination data.

ファイル比較部130は、読み出した比較元データと比較先データとのソース情報およびオブジェクト情報の比較を行う。また、ファイル比較部130は、読み出した比較元データ、または比較先データのオブジェクト情報と、コントローラ200の標準処理部220から読み出したオブジェクト情報との比較を行う。   The file comparison unit 130 compares the source information and object information of the read comparison source data and comparison destination data. Further, the file comparison unit 130 compares the object information of the read comparison source data or comparison destination data with the object information read from the standard processing unit 220 of the controller 200.

ファイル比較部130は、制御プログラムの比較をして、表示装置16の画面に比較結果を表示させる。ファイル比較部130は、例えば、改造前と改造後とで制御プログラムが異なる部分のみを表示させたり、異なる部分を他の部分とは異なる色や諧調で表示させたりすることにより、システムプログラマに比較結果を提供する。   The file comparison unit 130 compares the control programs and displays the comparison result on the screen of the display device 16. For example, the file comparison unit 130 displays only parts with different control programs before and after modification, or displays different parts with colors and tones different from those of other parts. Provide results.

上記のように、本実施形態に係るプログラム作成装置では、システムプログラマが、改造中の制御プログラムを指定するのみで、改造前の制御プログラムとの比較を簡単に行うことができるプログラム作成装置を提供することができる。また、改造中の制御プログラムのソース情報と、改造前の制御プログラムのソース情報とを比較することで、コントローラ200に書き込まれないコメント情報等を含めた、より詳細な比較を行うことができる。   As described above, the program creation device according to the present embodiment provides a program creation device that allows a system programmer to easily compare with a control program before modification simply by specifying the control program being modified. can do. Further, by comparing the source information of the control program being modified with the source information of the control program before the modification, a more detailed comparison including comment information that is not written in the controller 200 can be performed.

すなわち、本実施形態に係るプログラム作成装置によれば、上述の第1実施形態に係るプログラム作成装置と同様の効果を得ることができるとともに、システムプログラマの作業負担をさらに軽減するプログラム作成装置およびプログラム作成装置の駆動方法を提供することができる。   That is, according to the program creation device according to the present embodiment, the program creation device and the program that can obtain the same effect as the program creation device according to the first embodiment described above and further reduce the work load of the system programmer. A driving method of the creation apparatus can be provided.

次に、本発明の第5実施形態に係るプログラム作成装置について、図面を参照して以下に説明する。本実施形態に係るプログラム作成装置は、上述の第1実施形態に係るプログラム作成装置と同様の構成を備える。   Next, a program creation device according to a fifth embodiment of the present invention will be described below with reference to the drawings. The program creation device according to the present embodiment has the same configuration as the program creation device according to the first embodiment described above.

図8に、制御プログラムのバックアップ処理を行っている間、途中経過の不正なプログラム表示および変更を禁止する動作を説明するための図を示す。本実施形態に係るプログラム作成装置は、ファイル排他部140が、制御プログラムのバックアップ処理、および制御プログラムの変更処理が完了する前に、該当の制御プログラムの排他を行うように構成されている。ファイル排他部140は、排他する制御プログラムのキー情報を管理する管理テーブルを備えている。   FIG. 8 is a diagram for explaining an operation for prohibiting an illegal program display and change in the middle while the control program backup process is being performed. The program creation device according to the present embodiment is configured such that the file exclusion unit 140 performs exclusion of the corresponding control program before the backup process of the control program and the change process of the control program are completed. The file exclusion unit 140 includes a management table that manages key information of the exclusive control program.

制御プログラム編集画面(X)においてシステムプログラマがキーボード14やマウス12を操作して、ファイルバックアップ部120にキー情報(A)に対応する制御プログラムのバックアップ処理を要求すると(ステップ1C)、ファイルバックアップ部120は、ファイル排他部140にキー情報(A)に対応する制御プログラムの排他処理を要求し(ステップ2C)、制御プログラム編集画面(X)からの要求に対し制御を応答する(ステップ3C)。この場合、ファイル排他部140は、キー情報(A)を管理テーブルに記録する。   When the system programmer operates the keyboard 14 or the mouse 12 on the control program editing screen (X) and requests the file backup unit 120 to back up the control program corresponding to the key information (A) (step 1C), the file backup unit 120 requests the file exclusion unit 140 to perform exclusive processing of the control program corresponding to the key information (A) (step 2C), and returns control to the request from the control program editing screen (X) (step 3C). In this case, the file exclusion unit 140 records the key information (A) in the management table.

また、ファイルバックアップ部120は、バックアップ処理が完了した場合、ファイル排他部140にキー情報(A)に対応する制御プログラムに対する排他の解除を要求する。この場合、ファイル排他部140は、要求されたキー情報(A)を管理テーブルから消去する。   Further, when the backup process is completed, the file backup unit 120 requests the file exclusion unit 140 to cancel the exclusion for the control program corresponding to the key information (A). In this case, the file exclusion unit 140 deletes the requested key information (A) from the management table.

ファイル排他部140の管理テーブルに、キー情報(A)が記録されている状態で、他の制御プログラム編集画面(Y)においてシステムプログラマがキーボード14やマウス12を操作して、同じキー情報(A)に対する制御プログラムを変更するために、ファイル排他部140にキー情報(A)の制御プログラムに対する排他を要求した場合は(ステップ4C)、ファイル排他部140は、制御プログラム編集画面(Y)からの要求に対して排他不可である応答を制御プログラム編集部110へ出力する(ステップ5C)。   While the key information (A) is recorded in the management table of the file exclusion unit 140, the system programmer operates the keyboard 14 and the mouse 12 on the other control program editing screen (Y), and the same key information (A When the file exclusion unit 140 is requested to exclude the key information (A) from the control program in order to change the control program (step 4C), the file exclusion unit 140 receives the request from the control program editing screen (Y). A response that cannot be excluded from the request is output to the control program editing unit 110 (step 5C).

また、バックアップ用の制御プログラム編集画面(Z)においてシステムプログラマがキーボード14やマウス12を操作して、同じキー情報(A)に対する制御プログラムを表示するために、ファイル排他部140にキー情報(A)の制御プログラムに対する排他を要求した場合は(ステップ6C)、ファイル排他部140は、制御プログラム編集画面(Z)からの要求に対して排他不可である応答を制御プログラム編集部110へ出力する(ステップ7C)。   Further, in order to display a control program for the same key information (A) by operating the keyboard 14 and the mouse 12 on the backup control program editing screen (Z), the key information (A ) Is requested (step 6C), the file exclusion unit 140 outputs to the control program editing unit 110 a response that is not exclusive to the request from the control program editing screen (Z) ( Step 7C).

上記のように、本実施形態に係るプログラム作成装置では、バックアップ処理中にバックアップ元の制御プログラムの変更や表示を禁止することにより、第1データベース150に格納されたバックアップ元の制御プログラムと、第2データベース160に格納されたバックアップ先の制御プログラムとの同一性を保つことができる。また、第2データベース160に格納されたバックアップ先の制御プログラムの途中経過の不正な表示を禁止することができる。   As described above, in the program creation device according to the present embodiment, the backup source control program stored in the first database 150 and the first control program stored in the first database 150 are prohibited by prohibiting the change or display of the backup source control program during the backup process. 2 Identicality with the backup destination control program stored in the database 160 can be maintained. In addition, it is possible to prohibit unauthorized display of the progress of the backup destination control program stored in the second database 160.

すなわち、本実施形態に係るプログラム作成装置によれば、上述の第1実施形態に係るプログラム作成装置と同様の効果を得ることができるとともに、システムプログラマの作業負担をさらに軽減するプログラム作成装置およびプログラム作成装置の駆動方法を提供することができる。   That is, according to the program creation device according to the present embodiment, the program creation device and the program that can obtain the same effect as the program creation device according to the first embodiment described above and further reduce the work load of the system programmer. A driving method of the creation apparatus can be provided.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

12…マウス、14…キーボード、16…表示装置、100…コンピュータ、110…制御プログラム編集部、112…プログラムコンパイラ、114…プログラムロードクライアント部(通信部)、120…ファイルバックアップ部、130…ファイル比較部、140…ファイル排他部、150…第1データベース、160…第2データベース、200…コントローラ、300…ネットワーク。   DESCRIPTION OF SYMBOLS 12 ... Mouse, 14 ... Keyboard, 16 ... Display apparatus, 100 ... Computer, 110 ... Control program edit part, 112 ... Program compiler, 114 ... Program load client part (communication part), 120 ... File backup part, 130 ... File comparison 140, file exclusion unit, 150, first database, 160, second database, 200, controller, 300, network.

Claims (6)

ネットワークを経由して、コントローラに制御プログラムのオブジェクトファイルを書き込むプログラム作成装置であって、
前記制御プログラムのソースファイルをコンパイル処理してオブジェクトファイルに変換するコンパイラと、前記オブジェクトファイルを前記コントローラに送付する通信手段と、を備えた制御プログラム編集部と、
前記ソースファイルと前記オブジェクトファイルとを格納し、前記ソースファイルと前記オブジェクトファイルとを前記制御プログラム毎に設定されたキー情報により管理する第1データベースと、
前記コントローラに書き込まれた前記制御プログラムの前記オブジェクトファイルと、前記ソースファイルとを格納し、前記ソースファイルと前記オブジェクトファイルとを前記制御プログラム毎に設定されたキー情報により管理する第2データベースと、
前記制御プログラムの前記オブジェクトファイルと前記ソースファイルとを前記第2データベースに記録する前記ファイルバックアップ部と、
ユーザに前記コントローラに書き込まれた前記オブジェクトファイルの動作確認画面を提示する表示装置と、
ユーザによって操作され、操作信号を前記制御プログラム編集部へ出力する入力装置と、
を備え、
前記制御プログラム編集部は、前記コントローラに前記オブジェクトファイルの書き込み、および、前記表示装置に前記動作確認画面に提示を行い、前記オブジェクトファイルの書き込みと前記動作確認画面の提示とは非同期に、キー情報により対応するオブジェクトファイルとソースファイルとを前記第2データベースに記録するように前記ファイルバックアップ部に要求するように構成されている制御プログラム作成装置。
A program creation device for writing an object file of a control program to a controller via a network,
A control program editing unit comprising: a compiler that compiles a source file of the control program and converts it into an object file; and communication means that sends the object file to the controller;
A first database that stores the source file and the object file, and manages the source file and the object file by key information set for each control program;
A second database for storing the object file of the control program written in the controller and the source file, and managing the source file and the object file by key information set for each control program;
The file backup unit for recording the object file and the source file of the control program in the second database;
A display device for presenting an operation confirmation screen of the object file written in the controller to the user;
An input device that is operated by a user and outputs an operation signal to the control program editing unit;
With
The control program editing unit writes the object file to the controller and presents the operation confirmation screen to the display device, and the writing of the object file and the presentation of the operation confirmation screen are performed asynchronously with key information. A control program creation device configured to request the file backup unit to record the corresponding object file and source file in the second database.
前記第1データベースおよび前記第2データベースは、前記キー情報を含む制御プログラム情報と、プログラムコードと、プログラムデータとを階層構造で管理するように構成され、前記プログラムコードと、前記プログラムデータとは、前記制御プログラムの命令語毎に設定されたサブキー情報を含み、
ユーザが、前記入力装置を操作して前記制御プログラムの一部の命令語を変更したときに、前記制御プログラムのキー情報と変更した命令語のサブキー情報とを特定する手段と、前記第2データベースの特定した前記キー情報と前記サブキー情報とに対応する制御プログラムの命令語を部分変更する手段と、を備える請求項1記載の制御プログラム作成装置。
The first database and the second database are configured to manage control program information including the key information, program code, and program data in a hierarchical structure, and the program code and the program data are: Including subkey information set for each instruction word of the control program,
Means for specifying key information of the control program and subkey information of the changed instruction word when a user changes a part of the instruction word of the control program by operating the input device; and the second database The control program creation device according to claim 1, further comprising means for partially changing a command word of a control program corresponding to the specified key information and subkey information.
ユーザが改造中の制御プログラムの表示と、前記第2データベースに格納された改造前の制御プログラムの表示とを切り替えを前記表示装置に要求する表示切替手段をさらに備え、
前記表示切替手段は、改造中の制御プログラムの前記キー情報に対応する、改造前の制御プログラムを特定する手段と、特定した改造前の制御プログラムを前記第2データベースから読み出す手段と、を備える請求項1記載の制御プログラム作成装置。
A display switching means for requesting the display device to switch between a display of the control program being modified by the user and a display of the control program before the modification stored in the second database;
The display switching means includes means for specifying a control program before modification corresponding to the key information of the control program being modified, and means for reading out the specified control program before modification from the second database. Item 2. A control program creation device according to Item 1.
前記第1データベースおよび前記第2データベースは、前記キー情報を含む制御プログラム情報と、プログラムコードと、プログラムデータとを階層構造で管理するように構成され、
前記制御プログラム情報、前記プログラムコード、および、前記プログラムデータの改造中のデータと、制御プログラム情報、前記プログラムコード、および、前記プログラムデータの改造前のデータとを読み出す手段と、前記改造中のデータと前記改造前のデータとを比較する手段と、前記改造中のデータあるいは前記改造前のデータと、前記コントローラに書き込まれた前記オブジェクトファイルと比較する手段と、を備えたファイル比較部をさらに備える請求項1記載の制御プログラム作成装置。
The first database and the second database are configured to manage control program information including the key information, a program code, and program data in a hierarchical structure,
Means for reading out the control program information, the program code, and data during modification of the program data, control program information, the program code, and data before modification of the program data; and data under modification And a file comparison unit comprising: means for comparing the data before remodeling, data being remodeled or data before remodeling, and means for comparing with the object file written in the controller The control program creation device according to claim 1.
前記制御プログラム情報、前記プログラムコード、および、前記プログラムデータを前記第2データベースに記録しているとき、前記キー情報を管理する管理テーブルを含むファイル排他部をさらに備え、
前記ファイル排他部は、前記管理テーブルに含まれるキー情報に対応する制御プログラムの変更要求があった場合に、変更不可である応答を前記制御プログラム編集部へ出力するように構成された請求項1記載の制御プログラム作成装置。
A file exclusion unit including a management table for managing the key information when the control program information, the program code, and the program data are recorded in the second database;
The file exclusion unit is configured to output a response indicating that the file cannot be changed to the control program editing unit when there is a request to change the control program corresponding to the key information included in the management table. The control program creation device described.
制御プログラム毎にキー情報を設定して管理する第1データベースおよび第2データベースを備え、ネットワークを経由してコントローラに前記制御プログラムのオブジェクトファイルを書き込むように構成されたプログラム作成装置の駆動方法であって、
前記オブジェクトファイルを第1データベースから読み出し、
前記オブジェクトファイルを前記コントローラに書き込む書き込みステップと、
前記制御プログラムの動作確認画面を表示装置に表示させる動作確認ステップと、
前記キー情報により前記オブジェクトファイルと、前記オブジェクトファイルに対応するソースファイルと特定し、前記第1データベースから前記オブジェクトファイルと前記ソースファイルとを読み出して前記第2データベースに記録させる、バックアップステップと、を備え、
前記書き込みステップおよび前記動作確認ステップと、前記バックアップステップとを非同期で行うプログラム作成装置の駆動方法。
A driving method of a program creation device comprising a first database and a second database for setting and managing key information for each control program and configured to write an object file of the control program to a controller via a network. And
Reading the object file from the first database;
A writing step of writing the object file to the controller;
An operation confirmation step of displaying an operation confirmation screen of the control program on a display device;
A backup step of identifying the object file by the key information and a source file corresponding to the object file, reading the object file and the source file from the first database, and recording them in the second database; Prepared,
A method for driving a program creation device, wherein the writing step, the operation checking step, and the backup step are performed asynchronously.
JP2010098990A 2010-04-22 2010-04-22 Control program creation device and control program creation device drive method Active JP5481267B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010098990A JP5481267B2 (en) 2010-04-22 2010-04-22 Control program creation device and control program creation device drive method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010098990A JP5481267B2 (en) 2010-04-22 2010-04-22 Control program creation device and control program creation device drive method

Publications (2)

Publication Number Publication Date
JP2011227823A true JP2011227823A (en) 2011-11-10
JP5481267B2 JP5481267B2 (en) 2014-04-23

Family

ID=45043068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010098990A Active JP5481267B2 (en) 2010-04-22 2010-04-22 Control program creation device and control program creation device drive method

Country Status (1)

Country Link
JP (1) JP5481267B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016200872A (en) * 2015-04-07 2016-12-01 株式会社東芝 Control program creation device, control program debug method
WO2023166820A1 (en) * 2022-03-02 2023-09-07 株式会社 東芝 Information processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253876A (en) * 1994-03-16 1995-10-03 Toshiba Corp Program generating device
JP2001209413A (en) * 2000-01-25 2001-08-03 Yaskawa Electric Corp Plc with automatic program transfer function and engineering equipment and its control method
JP2003157104A (en) * 2001-11-22 2003-05-30 Fuji Electric Co Ltd Programming device
JP2005235110A (en) * 2004-02-23 2005-09-02 Ricoh Co Ltd Electronic equipment and program for use in the same
JP2008276381A (en) * 2007-04-26 2008-11-13 Toshiba Corp Debug system for diagram of programmable controller, programming device therefor and program therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253876A (en) * 1994-03-16 1995-10-03 Toshiba Corp Program generating device
JP2001209413A (en) * 2000-01-25 2001-08-03 Yaskawa Electric Corp Plc with automatic program transfer function and engineering equipment and its control method
JP2003157104A (en) * 2001-11-22 2003-05-30 Fuji Electric Co Ltd Programming device
JP2005235110A (en) * 2004-02-23 2005-09-02 Ricoh Co Ltd Electronic equipment and program for use in the same
JP2008276381A (en) * 2007-04-26 2008-11-13 Toshiba Corp Debug system for diagram of programmable controller, programming device therefor and program therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016200872A (en) * 2015-04-07 2016-12-01 株式会社東芝 Control program creation device, control program debug method
WO2023166820A1 (en) * 2022-03-02 2023-09-07 株式会社 東芝 Information processing system

Also Published As

Publication number Publication date
JP5481267B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
JP4865634B2 (en) Program editing support apparatus, computer program, program editing support method, and PLC system
US5940617A (en) Debugger for controlling execution of software installed in object to be controlled on the basis of state transition model, debugging method thereof, record medium thereof, and method for correlating function specifications and code addresses
US8527254B2 (en) Simulator engine development system and simulator engine development method
JP6442131B2 (en) Control system and control device
WO2020039900A1 (en) Information processing apparatus and program
JP5026925B2 (en) Control program creation device and control program creation method
JP5481267B2 (en) Control program creation device and control program creation device drive method
JP4702194B2 (en) Program development support apparatus, program development support method, and program development support program
JP5425317B2 (en) Motion SFC program parts creation device
JP6794668B2 (en) Programming device
JP2014228990A (en) Control program creation apparatus and control program creation method
JP6483507B2 (en) Control program creating apparatus and control program debugging method
JP2000215038A (en) Information management device and recording medium
JP5319643B2 (en) Software product line development support apparatus and method
JP2009169628A (en) Construction device, construction method and program for monitoring control system
JP2016126700A (en) Program verification device, program verification method, and program verification program
JP2013137716A (en) Macro expansion device and program
JP7231823B2 (en) Program, information processing system and its control method
JP7323755B2 (en) Information processing system, its control method and program
JP6355861B1 (en) Program development support apparatus, program development support method, program development support program, and recording medium
JP2022080352A (en) Test support device
JP4687117B2 (en) IC tester
JPH0546377A (en) Method and device for generating control program
JP2023145080A (en) assembly inspection system
JP2006338477A (en) Information processor and system development method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

TRDD Decision of grant or rejection written
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140116

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140217

R150 Certificate of patent or registration of utility model

Ref document number: 5481267

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350