JP2003157104A - Programming device - Google Patents

Programming device

Info

Publication number
JP2003157104A
JP2003157104A JP2001357512A JP2001357512A JP2003157104A JP 2003157104 A JP2003157104 A JP 2003157104A JP 2001357512 A JP2001357512 A JP 2001357512A JP 2001357512 A JP2001357512 A JP 2001357512A JP 2003157104 A JP2003157104 A JP 2003157104A
Authority
JP
Japan
Prior art keywords
program
programmable controller
information
information table
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001357512A
Other languages
Japanese (ja)
Inventor
Hiroaki Murata
裕明 村田
Koji Fukushima
幸治 福島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2001357512A priority Critical patent/JP2003157104A/en
Publication of JP2003157104A publication Critical patent/JP2003157104A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a programming device which restores and displays a source program consistent with an execution program stored in a programmable controller and program auxiliary information always correctly. SOLUTION: When a user specifies automatic storage, the programming device 1 stores as execution program 8 generated by compiling the source program 7 as an execution program 19 in a programmable controller 13, stores the source program 7 as a source program 22 in the programmable controller 13 on confirming that the storage is completed normally, and stores a program information table 9 generated from file information of the execution program 8 as a program information table 23 in the programmable controller 13. The program auxiliary information of comment sentences, etc., is added to the source program 22. The program information table 23 consists of a program number, a generation date and time, and a program size and is used to check consistency.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラのプログラミング装置に関り、更に詳しく
は、プログラマブルコントローラに格納されている実行
プログラムとの整合性のとれたソースプログラムとプロ
グラム補助情報とを常に正しく復元表示するプログラミ
ング装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programming device for a programmable controller, and more specifically, it always corrects a source program and program auxiliary information which are consistent with an execution program stored in the programmable controller. The present invention relates to a programming device for restoration display.

【0002】[0002]

【従来の技術】従来より、一般にプログラマブルコント
ローラと呼ばれ、プログラミング装置から供給された実
行プログラムに基づいて、作業現場における様々な物量
的情報あるいは論理的情報に応じて論理演算により、制
御対象であるモジュール群に対して所定の出力制御(シ
ーケンス制御)を行う汎用シーケンスコントローラ(P
LC:Programmable Logic Controller)がある。
2. Description of the Related Art Conventionally, it is generally called a programmable controller and is a controlled object by a logical operation according to various physical quantity information or logical information at a work site based on an execution program supplied from a programming device. A general-purpose sequence controller (P that performs predetermined output control (sequence control) for the module group
LC: Programmable Logic Controller).

【0003】このプログラマブルコントローラのプログ
ラミングの方法は、通常のコンピュータプログラミング
とは全く異なる記述形式を伴う。すなわち、コンピュー
タ化以前の電磁リレー制御装置の時代から現場で用いら
れていたa接点(常時開接点)、b接点(常時閉接
点)、コイル(電磁リレー)等の制御要素のシンボルマ
ークを組合せて順次記述される形式のリレー回路の展開
接続図を紙面に記述する。この紙面に記述されたリレー
回路の展開接続図(回路図形ソースプログラム)は一般
にはラダー図と呼ばれている(以下、単にプログラムと
もいう)。
This method of programming a programmable controller involves a completely different description format from normal computer programming. That is, by combining symbol marks of control elements such as a-contact (normally open contact), b-contact (normally closed contact), coil (electromagnetic relay), which have been used in the field since the days of electromagnetic relay control devices before computerization. The developed connection diagram of the relay circuits of the sequentially described format is described on the paper. The expanded connection diagram (circuit diagram source program) of the relay circuit described on this paper is generally called a ladder diagram (hereinafter, also simply referred to as a program).

【0004】このうように紙面に記述されたラダー図
は、先ずディスプレイとキーボードを備えたプログラム
ローダ等のプログラミング装置にそのままラダー図とし
て入力される( 以下、紙面に記述されたラダー図をオリ
ジナルプログラムといい、プログラミング装置に入力さ
れたラダー図を入力プログラムという)。
The ladder diagram described on the paper as described above is first inputted as it is to a programming device such as a program loader having a display and a keyboard (hereinafter, the ladder diagram described on the paper is referred to as an original program). That is, the ladder diagram input to the programming device is called the input program).

【0005】このプログラミング装置に入力されたラダ
ー図は、正誤の確認を経たのち、最終的には機械語に変
換(コンパイル)されて、オブジェクトプログラム(以
下、実行プログラムとい う)としてプログラマブルコ
ントローラに格納される。
The ladder diagram input to this programming device is checked for correctness, and finally converted (compiled) into a machine language and stored in a programmable controller as an object program (hereinafter referred to as an execution program). To be done.

【0006】また、このような単にラダー図として記述
する以外にも、SFC(SequencialFunctiont Chart)
というプログラマブルコントローラ専用の国際規格のプ
ログラム記述形式を用いて記述する方式もあり、また、
汎用表計算ソフトウエアで表示画面上に表示されるスプ
レッドシートと呼ばれるデータ記入形式の表の中にシー
ケンス制御の工程毎に移行条件や出力を記述することに
よってプログラムを記述する形式のものもある。
In addition to the simple ladder diagram, SFC (Sequencial Function Chart)
There is also a method to describe using the program description format of the international standard dedicated to the programmable controller,
There is also a format in which a program is described by describing transition conditions and outputs for each step of sequence control in a data entry format table called a spreadsheet displayed on a display screen by general-purpose spreadsheet software.

【0007】いずれにしても、そのようなプログラム
は、命令を表す図示要素と、その命令が扱うオペランド
との組み合わせにより記述される。オペランドはプログ
ラマブルコントローラのデータメモリのアドレスであ
り、多くの場合、メモリ分類を表す英字とアドレスを表
す数字の組み合わせにより表記される。
In any case, such a program is described by a combination of an illustrated element representing an instruction and an operand handled by the instruction. The operand is an address of the data memory of the programmable controller, and is often represented by a combination of a letter indicating the memory classification and a number indicating the address.

【0008】しかし、そのような表記では、プログラム
がプログラミング装置上に図示要素と英数字の羅列とし
て表示されることとなり、そのプログラムを見ただけで
は、その実行プログラムの制御内容が理解しにくいた
め、そのままでは、プログラムの保守・メンテナンス作
業に時間がかかって、作業がなかなか進捗しないという
問題がある。
However, in such notation, the program is displayed on the programming device as a list of illustrated elements and alphanumeric characters, and it is difficult to understand the control contents of the execution program only by looking at the program. As it is, there is a problem that the program maintenance / maintenance work takes time and the work does not progress easily.

【0009】そこで、プログラムの接点やコイルのアド
レスに、その接点が何を作動させるための接点である
か、そのアドレスの出力がどのコイルを作動させるため
の出力であるかというようなコメント文などを、プログ
ラム補助情報としてプログラムの各図示要素に関連付け
て記述して表示するようにし、これによって、人が見
て、より理解しやすい表現でプログラミングを可能にす
るという方法が考えられてきた。
Therefore, in the address of the contact or coil of the program, a comment statement such as what the contact is for actuating, and what coil the output of that address is for actuating, etc. Has been considered as a program auxiliary information, which is described and displayed in association with each illustrated element of the program, thereby enabling programming with an expression that is easier for a person to see and understand.

【0010】ところで、このプログラム補助情報をプロ
グラムと共にプログラミング装置の表示画面上で見るた
めには、そのプログラム補助情報をプログラミング装置
に入力しなければならないが、この入力は、オリジナル
プログラムをプログラミング装置に入力するのとは別個
に、各プログラム補助情報を上述した各図示要素のアド
レスと対応させて入力する。
By the way, in order to see the program auxiliary information together with the program on the display screen of the programming device, the program auxiliary information must be input to the programming device. For this input, the original program is input to the programming device. Separately from the above, each program auxiliary information is input in correspondence with the address of each illustrated element described above.

【0011】ところが、人手によるデータの入力は、い
かに注意深く行っても必ずといって良いほど入力ミスが
発生する。この入力ミスの発生はほとんど避けることが
できない。したがって、オリジナルプログラムと入力プ
ログラムとの整合性をチェックする際に、ラダー図の正
誤とプログラム補助情報の正誤の2通りのチェックを平
行して同時に行う必要がある。簡単なシーケンス制御で
は問題ないが、制御もステップが何万ステップもあるよ
うなプログラムでは、このチェックは容易ではない。
However, even if the data is input manually, no matter how carefully the data is input, an input error will always occur. The occurrence of this input error is almost inevitable. Therefore, when checking the consistency between the original program and the input program, it is necessary to perform two kinds of checking simultaneously, that is, whether the ladder diagram is correct and the program auxiliary information is correct. Although there is no problem with simple sequence control, this check is not easy for programs that have tens of thousands of steps in control.

【0012】そこで、例えば特開平6−51817号公
報に示されているように、オリジナルプログラム(オリ
ジナル・シーケンスプログラム)と入力プログラム(入
力済みシーケンスプログラム)との整合性をチェックす
るために、プログラム補助情報となるコメントデータ
と、このコメントデータに関連する接点要素とコイル要
素とに、それぞれフラグを付与し、このフラグを付与さ
れたコメントデータ、接点要素、コイル要素に基づいて
整合性チェックテーブルを作成し、この整合性チェック
テーブルによってオリジナル・シーケンスプログラムと
入力済みシーケンスプログラムとの整合性をチェックす
るという入力プログラムの入力ミス・チェック方法が提
案されている。
Therefore, as disclosed in, for example, Japanese Unexamined Patent Publication No. 6-51817, program assistance is used to check the consistency between an original program (original sequence program) and an input program (input sequence program). Flags are added to the comment data as information and the contact element and coil element related to this comment data, and the consistency check table is created based on the comment data, contact element, and coil element to which this flag is added. However, there has been proposed an input error check method for an input program in which the consistency check table is used to check the consistency between the original sequence program and the input sequence program.

【0013】ところで、実行プログラムの保守・メンテ
ナンス作業等は、プログラマブルコントローラに格納さ
れている実行プログラムをプログラミング装置上に逆コ
ンパイルしながら読み出し、画面表示させて行われる。
ところが、プログラマブルコントローラに格納されてい
る実行プログラムは、処理を実行するための機械語から
なるものであるから、これにはプログラム補助情報は含
まれていない。したがって、プログラミング装置の表示
画面上に実行プログラムから逆コンパイルされて表示さ
れるプログラムにはコメント文などは表示されない。し
たがって、保守・メンテナンスを行うユーザは、そのよ
うにコメント文などが付加されていない理解しにくいプ
ログラムに基づいて作業しなければならない。
By the way, the maintenance / maintenance work of the execution program is performed by reading the execution program stored in the programmable controller while decompiling it on the programming device and displaying it on the screen.
However, since the execution program stored in the programmable controller is composed of machine language for executing the process, it does not include the program auxiliary information. Therefore, a comment statement or the like is not displayed in the program displayed by decompiling the execution program on the display screen of the programming device. Therefore, the user who performs maintenance / maintenance must work based on a program that is difficult to understand without such comment statements added.

【0014】[0014]

【発明が解決しようとする課題】上記のように実行プロ
グラムから逆コンパイルされて表示されるプログラムを
理解しやすくするためには、上述したプログラム補助情
報を利用することが考えられるが、ユーザがプログラム
の更新を行った後、プログラム補助情報の更新操作を忘
れるなどの人為的なミスはしばしば発生することであ
り、そうすると、プログラムとプログラム補助情報の不
整合状態が発生してしまい、せっかっくプログラム補助
情報を参照しても、その参照したプログラム補助情報が
参考にならなくなってしまうという問題が発生する。ま
た、プログラマブルコントローラ内に格納されているプ
ログラムとプログラム補助情報との整合性を確認する方
法がないため、プログラムとプログラム補助情報との不
整合状態を迅速かつ正確に検出することができないとい
う問題もあった。
In order to make it easier to understand the program that is decompiled from the execution program and displayed as described above, it is conceivable to use the above-mentioned program auxiliary information. After updating the program, human error such as forgetting to update the program auxiliary information is often made, and if this happens, an inconsistent state between the program and the program auxiliary information will occur, and Even if the auxiliary information is referred to, there is a problem that the referenced program auxiliary information is no longer useful. In addition, there is no way to check the consistency between the program stored in the programmable controller and the program auxiliary information, so it is not possible to quickly and accurately detect the inconsistency between the program and the program auxiliary information. there were.

【0015】本発明の課題は、上記従来の実情に鑑み、
プログラマブルコントローラに格納されている実行プロ
グラムとの整合性のとれたソースプログラムとプログラ
ム補助情報を常に正しく復元表示するプログラミング装
置を提供することである。
The object of the present invention is to solve the above-mentioned conventional problems.
(EN) Provided is a programming device which always restores and displays a source program and program auxiliary information consistent with an execution program stored in a programmable controller.

【0016】[0016]

【課題を解決するための手段】以下に、本発明に係わる
プログラミング装置の構成を述べる。本発明のプログラ
ミング装置は、ソースプログラムからコンパイルした実
行プログラムをプログラマブルコントローラに格納する
際にプログラム補助情報を含むプログラム復元情報を自
動的に格納することを指定する指定手段と、該指定手段
からの上記プログラム復元情報を自動的に格納する指定
を受けることにより上記プログラム復元情報をプログラ
マブルコントローラに格納する格納手段と、該格納手段
により上記プログラマブルコントローラに格納された上
記プログラム復元情報を上記プログラマブルコントロー
ラから読み出す読出手段と、を有して、上記プログラマ
ブルコントローラから上記復元情報を読み出すことによ
り、上記プログラマブルコントローラ内の上記実行プロ
グラムに整合する上記ソースプログラムと上記プログラ
ム補助情報とを常に正しく画面表示するように構成され
る。
The structure of the programming apparatus according to the present invention will be described below. The programming device of the present invention includes a designation unit that designates to automatically store program restoration information including program auxiliary information when an execution program compiled from a source program is stored in a programmable controller, and the above-mentioned designation unit from the designation unit. Storage means for storing the program restoration information in the programmable controller by receiving a designation to automatically store the program restoration information, and reading for reading the program restoration information stored in the programmable controller by the storage means from the programmable controller Means for reading the restoration information from the programmable controller, thereby matching the source program and the program in the execution program in the programmable controller. Configured to always properly screen display and an auxiliary information.

【0017】そして、このプログラミング装置は、例え
ば請求項2記載のように、上記実行プログラムのファイ
ル情報を記録したプログラム情報テーブルを生成する情
報テーブル生成手段と、該情報テーブル生成手段により
生成された上記プログラム情報テーブルを上記プログラ
マブルコントローラに格納する情報テーブル格納手段
と、該情報テーブル格納手段により上記プログラマブル
コントローラに格納された上記プログラム情報テーブル
を上記プログラマブルコントローラから読み出す情報テ
ーブル読出手段と、該情報テーブル読出手段により上記
プログラマブルコントローラから読み出された上記プロ
グラム情報テーブルに基づいて上記実行プログラムと上
記プログラム復元情報との整合性を検証する整合性検証
手段と、該整合性検証手段による検証結果を表示装置に
出力する検証結果出力手段と、を更に備えて構成され、
また、例えば請求項3記載のように、上記プログラム情
報テーブルに対して暗号化処理を施す暗号化手段と、該
暗号化手段により暗号化された上記プログラム情報テー
ブルを複合化する複合化手段と、を更に備えて構成され
る。
In the programming device, for example, as described in claim 2, an information table generating means for generating a program information table in which the file information of the execution program is recorded, and the information table generating means for generating the program information table. Information table storing means for storing a program information table in the programmable controller, information table reading means for reading the program information table stored in the programmable controller by the information table storing means from the programmable controller, and the information table reading means. Consistency verification means for verifying the consistency between the execution program and the program restoration information based on the program information table read from the programmable controller by A verification result output means for outputting a verification result by the means on a display device, further is configured with,
Further, for example, as described in claim 3, encryption means for performing encryption processing on the program information table, and compounding means for compounding the program information table encrypted by the encryption means, Is further provided.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しながら説明する。図1は、一実施の形態におけ
るプログラミング装置の構成をプログラマブルコントロ
ーラと共に示す図である。同図に示すように、プログラ
ミング装置1は、CPU2と、このCPU2に不図示の
バスを介して接続された表示装置3と、同じくCPU2
に上記バスを介して接続された不図示の記憶装置のプロ
グラム領域に格納されているプログラム作成プログラム
によるコンパイル機能4、照合機能5、及び通信プログ
ラムによる通信機能6を備えている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a configuration of a programming device according to an embodiment together with a programmable controller. As shown in FIG. 1, the programming device 1 includes a CPU 2, a display device 3 connected to the CPU 2 via a bus (not shown), and a CPU 2 as well.
Further, it is provided with a compiling function 4 by a program creating program stored in a program area of a storage device (not shown) connected via the bus, a collating function 5, and a communication function 6 by a communication program.

【0019】また、記憶装置の他のプログラム領域に
は、ソースプログラム7、実行プログラム8が格納され
ている。そして、記憶装置のデータ領域には詳しくは後
述するプログラム情報テーブル9が格納され、同じく記
憶装置のワーク領域には実行プログラムファイル情報1
1が格納される。
A source program 7 and an execution program 8 are stored in another program area of the storage device. A program information table 9 described later in detail is stored in the data area of the storage device, and the execution program file information 1 is also stored in the work area of the storage device.
1 is stored.

【0020】上記のソースプログラム7は、このプログ
ラミング装置1の不図示のキーボードを用いて、ユーザ
によりオリジナルプログラムを見ながらの入力により又
は直接入力によって作成されたものである。そして、こ
のソースプログラム7には、特には図示しないが、接点
要素やコイル要素等の各ラダー回路要素に関連つけられ
て別ファイルとして作成されたコメント文等のプログラ
ム補助情報が一体的に付加されている。そして、そのプ
ログラム補助情報とソースプログラム7との整合性は、
何らかの方法により予め十分に確認されている。
The above-mentioned source program 7 is created by the user using the keyboard (not shown) of the programming apparatus 1 by inputting the original program while looking at the original program or by direct input. Although not shown in particular, the source program 7 is integrally added with program auxiliary information such as a comment statement associated with each ladder circuit element such as a contact element or a coil element and created as a separate file. ing. Then, the consistency between the program auxiliary information and the source program 7 is
It has been sufficiently confirmed in advance by some method.

【0021】また、上記の各機能はCPU2により、プ
ログラム作成プログラムに従って実行される。そして、
上記の実行プログラム8は、コンパイル機能4によって
上記のソースプログラム7からコンパイルされて生成さ
れたものである。また、プログラム情報テーブル9も、
上記に合わせてコンパイル機能4によって生成されたも
のである。なお、照合機能5及び実行プログラムファイ
ル情報11については後述する。
Each function described above is executed by the CPU 2 in accordance with a program creating program. And
The execution program 8 is generated by compiling the source program 7 by the compiling function 4. Also, the program information table 9
It is generated by the compiling function 4 in accordance with the above. The collating function 5 and the execution program file information 11 will be described later.

【0022】このプログラミング装置1は、通信機能6
により通信インターフェース12を介してプログラマブ
ルコントローラ13の通信インターフェース14に接続
される。プログラマブルコントローラ13は、CPU1
5を備えており、CPU15は自機の通信機能16によ
り通信インターフェース14を介してプログラミング装
置1とデータの授受を行う。
This programming device 1 has a communication function 6
Is connected to the communication interface 14 of the programmable controller 13 via the communication interface 12. The programmable controller 13 is the CPU 1
5, the CPU 15 exchanges data with the programming device 1 via the communication interface 14 by the communication function 16 of the CPU 15.

【0023】プログラマブルコントローラ13は不図示
のメモリのほかに記憶装置17を備えており、記憶装置
17の実行プログラム格納領域18にはプログラミング
装置1から転送された実行プログラム8が実行プログラ
ム19として格納される。つまり、図1に示すプログラ
ミング装置1の実行プログラム8とプログラマブルコン
トローラ13の実行プログラム19とは同一のものであ
る。
The programmable controller 13 is provided with a storage device 17 in addition to a memory (not shown), and the execution program storage area 18 of the storage device 17 stores the execution program 8 transferred from the programming device 1 as an execution program 19. It That is, the execution program 8 of the programming device 1 and the execution program 19 of the programmable controller 13 shown in FIG. 1 are the same.

【0024】また、記憶装置17のソースプログラム格
納領域21にはソースプログラム22とプログラム情報
テーブル23が格納される。ソースプログラム22は、
プログラミング装置1から転送されたソースプログラム
7であり、プログラム情報テーブル23は、同様にプロ
グラミング装置1から転送されたプログラム情報テーブ
ル9である。
A source program 22 and a program information table 23 are stored in the source program storage area 21 of the storage device 17. The source program 22 is
The source program 7 transferred from the programming device 1 and the program information table 23 are the program information table 9 similarly transferred from the programming device 1.

【0025】このような構成の本システムにおいて、プ
ログラマブルコントローラに格納されている実行プログ
ラム19との整合性のとれたソースプログラムとプログ
ラム補助情報とを、常に正しく復元表示することができ
る。その復元表示を、どのように実現するかを、以下に
説明する。
In the present system having such a configuration, the source program and the program auxiliary information which are consistent with the execution program 19 stored in the programmable controller can always be correctly restored and displayed. How to realize the restored display will be described below.

【0026】図2は、プログラミング装置1のCPU2
によってプログラム作成プログラムに従って処理される
処理の動作を説明するフローチャートである。図3は、
上記の処理に先立ってプログラミング装置1の表示装置
3に表示される「プログラム復元情報の自動格納をする
かしないかを指定する」ための表示画面の例を示す図で
ある。通常では、ユーザは、図3に示す表示画面24の
ページデータ表示領域25の中央に表示されている「プ
ログラム復元情報を自動保存する」の表示の左方に表示
されているチェック入力ボックス26にチェックを入れ
て「プログラム復元情報の自動保存」を指定しておく。
FIG. 2 shows the CPU 2 of the programming device 1.
7 is a flowchart illustrating an operation of a process performed according to a program creation program. Figure 3
FIG. 7 is a diagram showing an example of a display screen for “designating whether or not to automatically store program restoration information” displayed on the display device 3 of the programming device 1 prior to the above processing. Normally, the user uses the check input box 26 displayed on the left side of the "automatically save program restoration information" displayed in the center of the page data display area 25 of the display screen 24 shown in FIG. Check the box and specify "Automatic save of program restoration information".

【0027】本例では、プログラム復元情報としてソー
スプログラムを用いているので、ここでは、ソースプロ
グラムの自動保存を指定したことになる。なお、ユーザ
が「プログラム復元情報の自動格納」を指定しなかった
場合に予想される不具合の発生の防止については後述す
る。
In this example, since the source program is used as the program restoration information, the automatic saving of the source program is designated here. It should be noted that prevention of the occurrence of a failure expected when the user does not specify "automatic storage of program restoration information" will be described later.

【0028】この処理の後に、ユーザにより「実行プロ
グラム格納」の指示が入力されることにより、図2のフ
ローチャートに示す処理が開始される。図2において、
先ず、プログラミング装置1(つまりプログラミング装
置1のCPU2、以下、同様)は、ソースプログラム7
がコンパイル機能4によって実行プログラム8へと正常
にコンパイルされているかを確認する(処理S1)。
After this processing, the user inputs an instruction to "store the execution program" to start the processing shown in the flowchart of FIG. In FIG.
First, the programming device 1 (that is, the CPU 2 of the programming device 1 and the same applies hereinafter) uses the source program 7
Is confirmed by the compiling function 4 to be normally compiled into the execution program 8 (process S1).

【0029】この処理では、コンパイル機能4の出力結
果によって、正常に終了しているか否かが判定される。
そして、正常に終了していないときは(処理S1がN
O)、ここで処理を終了する。
In this processing, it is judged from the output result of the compiling function 4 whether or not the processing is completed normally.
Then, when the process is not normally completed (the process S1 is N
O), the process ends here.

【0030】他方、コンパイルが正常に終了していれば
(処理S1がYES)、プログラミング装置1は、コン
パイルされた実行プログラム8を通信機能6を介し、通
信インターフェース12を介して、プログラマブルコン
トローラ13の記憶装置17の実行プログラム格納領域
18へ格納する(処理2)。
On the other hand, if the compilation is completed normally (YES in step S1), the programming device 1 sends the compiled execution program 8 to the programmable controller 13 via the communication function 6 and the communication interface 12. The data is stored in the execution program storage area 18 of the storage device 17 (process 2).

【0031】これにより、図1に示したように、プログ
ラマブルコントローラ13の記憶装置17の実行プログ
ラム格納領域18に、実行プログラム19が格納され
る。続いて、プログラミング装置1は、プログラム復元
情報の自動格納が指定されているかどうかを判定する
(処理S3)。
As a result, as shown in FIG. 1, the execution program 19 is stored in the execution program storage area 18 of the storage device 17 of the programmable controller 13. Subsequently, the programming device 1 determines whether or not automatic storage of program restoration information is designated (process S3).

【0032】この処理は、図3に示した、表示画面24
の中央の「ソースプログラムを自動保存する」の左方の
チェック入力ボックス26にチェックが入っているか否
かを判別する処理である。
This process is performed by the display screen 24 shown in FIG.
This is a process for determining whether or not the check input box 26 on the left side of "automatically save source program" in the center of is checked.

【0033】そして、ソースプログラムの自動保存が指
定されていない(チェックが入っていない)場合は(処
理S3がNO)、ここで処理を終了する。他方、ソース
プログラムの自動保存が指定されていれば(チェックが
入っている)場合は(処理S3がYES)、次ぎに、詳
しくは後述するが、実行プログラム8のファイル情報を
抽出し、この抽出したファイル情報に基づいてプログラ
ム情報テーブル9を生成する処理を行う(処理4)。
Then, when the automatic saving of the source program is not designated (check is not made) (NO at step S3), the processing is ended here. On the other hand, if the automatic saving of the source program is designated (checked) (YES in step S3), the file information of the execution program 8 is extracted, which will be described later in detail, and this extraction is performed. Processing for generating the program information table 9 based on the file information is performed (processing 4).

【0034】続いて、プログラミング装置1は、プログ
ラム復元情報を、通信機能6を介し、通信インターフェ
ース12を介して、プログラマブルコントローラ13に
格納する(処理5)。
Subsequently, the programming device 1 stores the program restoration information in the programmable controller 13 via the communication function 6 and the communication interface 12 (process 5).

【0035】本例では、プログラム復元情報としてソー
スプログラム7を用いるようにしている。そして、この
処理では、ソースプログラム7をプログラマブルコント
ローラ13の記憶装置17のソースプログラム格納領域
21へ格納する。これにより、図1に示したように、プ
ログラマブルコントローラ13の記憶装置17のソース
プログラム格納領域21に、ソースプログラム22が格
納される。
In this example, the source program 7 is used as the program restoration information. Then, in this process, the source program 7 is stored in the source program storage area 21 of the storage device 17 of the programmable controller 13. As a result, as shown in FIG. 1, the source program 22 is stored in the source program storage area 21 of the storage device 17 of the programmable controller 13.

【0036】更に続いて、プログラミング装置1は、処
理S4で作成されているプログラム情報テーブル9を、
通信機能6を介し、通信インターフェース12を介し
て、プログラマブルコントローラ13のソースプログラ
ム格納領域21へ格納する(処理6)。
Subsequently, the programming device 1 changes the program information table 9 created in the process S4 to
The data is stored in the source program storage area 21 of the programmable controller 13 via the communication function 6 and the communication interface 12 (process 6).

【0037】このように、本発明では、コンパイルした
実行プログラムをプログラマブルコントローラに格納し
たときに、プログラム補助情報を有するプログラム復元
情報(本例ではプログラム補助情報を一体的に有するソ
ースプログラムとしているが、プログラム補助情報を有
するデータファイルであればどのような形式のものであ
ってもよい)を、自動的に、実行プログラムと対をなし
て格納できるようにしている。
As described above, in the present invention, when the compiled execution program is stored in the programmable controller, the program restoration information having the program auxiliary information (in this example, the source program integrally having the program auxiliary information is used, A data file having program auxiliary information may be of any format) and can be automatically stored in a pair with the execution program.

【0038】これを従来のように単にソースプログラム
からコンパイルされた実行プログラムをプログラマブル
コントローラに格納し、更に別入力された情報テーブル
やチェック用テーブルをプログラマブルコントローラに
格納するのでは、この後、プログラミング装置とプログ
ラマブルコントローラとの接続が断たれてから、プログ
ラムの改善要望、不具合の発見等によりソースプログラ
ムが手直しされて実行プログラムにコンパイルされ、そ
の実行プログラムがプログラマブルコントローラに格納
された後、そのプログラマブルコントローラの実行プロ
グラムの更なる保守のためにプログラム補助情報を呼び
出して見ようとしたときに、そのプログラム補助情報が
間違い無く現在格納されている実行プログラムのプログ
ラム補助情報であるとの保証がなく、またこれを確認す
る方法が無い。
As in the conventional case, an execution program simply compiled from a source program is stored in a programmable controller, and an information table and a check table input separately are stored in the programmable controller. After disconnecting the connection between the programmable controller and the programmable controller, the source program is modified by the request for improvement of the program, the discovery of defects, etc. and compiled into an execution program, the execution program is stored in the programmable controller, and then When trying to call the program auxiliary information for further maintenance of the execution program, the program auxiliary information is definitely the program auxiliary information of the currently stored execution program. There is no assurance that, also there is no way to verify this.

【0039】これは、前述したように、人というもの
は、修正した実行プログラムをプログラマブルコントロ
ーラに転送し、プログラマブルコントローラの試運転を
行って、その試運転の結果が順調であることを確認して
「これで良し」と思ったときには、その実行プログラム
のソースプログラムに係るプログラム補助情報等を実行
プログラムに関連付けて退避させて保管するということ
をしばしば忘れるものだからである。
As described above, this is because a person transfers the modified execution program to the programmable controller, performs a trial run of the programmable controller, and confirms that the result of the trial run is satisfactory. This is because when the user thinks “I am good”, I often forget to save the program auxiliary information related to the source program of the execution program by associating it with the execution program and saving it.

【0040】本発明では、上述したように、実行プログ
ラムをプログラマブルコントローラに格納したときに、
ユーザからの指定によって、プログラム補助情報を有す
るプログラム復元情報を自動的に実行プログラムと対を
なして格納できるようにしているので、従来のような不
具合を解消して、プログラマブルコントローラに格納さ
れている実行プログラムとの整合性のあるプログラム補
助情報を常に正しく復元表示することができる。
In the present invention, as described above, when the execution program is stored in the programmable controller,
Since the program restoration information having the program auxiliary information can be automatically stored in a pair with the execution program according to the user's designation, the conventional problem is solved and the program restoration information is stored in the programmable controller. The program auxiliary information consistent with the executed program can always be restored and displayed correctly.

【0041】また、プログラム復元情報を、常に実行プ
ログラムと整合するようにプログラマブルコントローラ
に格納しているので、このプログラム復元情報をソース
プログラムとすることによって、実行プログラムを逆コ
ンパイルして復元しなくても、ソースプログラムをその
まま表示することで、実行プログラムとの整合性の保証
されたソースプログラムを表示させることができる。
Further, since the program restoration information is stored in the programmable controller so as to always match the execution program, by using this program restoration information as the source program, it is not necessary to decompile and restore the execution program. Also, by displaying the source program as it is, it is possible to display the source program whose consistency with the execution program is guaranteed.

【0042】図4は、上記の処理におけるプログラム情
報テーブル9を生成する処理S4の動作を更に詳しく説
明するフローチャートである。図5は、上記の処理で生
成されるプログラム情報テーブル9のデータ構成を示す
図である。
FIG. 4 is a flowchart for explaining the operation of the process S4 for generating the program information table 9 in the above process in more detail. FIG. 5 is a diagram showing a data structure of the program information table 9 generated by the above processing.

【0043】上記の図4に示す処理において、プログラ
ミング装置1は、先ず、実行プログラム8のファイル情
報を抽出する(処理S4−1)。一般に、実行プログラ
ムのヘッダー部には、必ずファイル情報が付加されてい
る。この処理は、そのファイル情報を読み出す処理であ
る。
In the process shown in FIG. 4, the programming device 1 first extracts the file information of the execution program 8 (process S4-1). Generally, file information is always added to the header part of an execution program. This process is a process of reading the file information.

【0044】続いて、プログラミング装置1は、上記抽
出したファイル情報に基づいて、図5に示すデータ構成
からなるレコード形式で、図1に示したプログラム情報
テーブル9を生成する(処理S4−2)。この処理で
は、実行プログラム8が複数から成る場合は、その分繰
り返しプログラム情報テーブル9を生成する。
Subsequently, the programming device 1 generates the program information table 9 shown in FIG. 1 in the record format having the data structure shown in FIG. 5 based on the extracted file information (process S4-2). . In this process, when the execution program 8 is composed of a plurality of programs, the program information table 9 is repeatedly generated for that number.

【0045】図5に示すように、プログラム情報テーブ
ル9は、プログラム番号27、プログラムの生成日時2
8、及びプログラムサイズ29の3項目の各データから
なる。相互に独立した別個に作成されたプログラム間の
場合はもちろんのこと、オリジナルとその修正版のプロ
グラム間においても、上記3項目の各データが共に一致
することはありえない。したがって、後に、上記3項目
の各データを検証すれば同一プログラムであるか他のプ
ログラムであるかを特定することができる。
As shown in FIG. 5, the program information table 9 includes a program number 27 and a program generation date / time 2
8 and program size 29, each consisting of 3 items of data. The data of the above-mentioned three items cannot be the same not only in the case of mutually independently created programs, but also between the original and the modified version of the programs. Therefore, later, by verifying each data of the above-mentioned three items, it is possible to specify whether the program is the same program or another program.

【0046】図4に戻り、上記のように生成したプログ
ラム情報テーブル9を暗号化し、この暗号化したプログ
ラム情報テーブル9をプログラミング装置1内部の記憶
装置に格納する(処理S4−3)。
Returning to FIG. 4, the program information table 9 generated as described above is encrypted, and the encrypted program information table 9 is stored in the storage device inside the programming device 1 (process S4-3).

【0047】このように、図2では説明しなかったが本
例では、プログラム情報テーブル9を暗号化してから、
図1に示したように、プログラム情報テーブル23とし
てプログラマブルコントローラ13に格納している。こ
の暗号化により、プログラム内容のセキュリティ性が確
保される。
In this way, although not described in FIG. 2, in this example, after the program information table 9 is encrypted,
As shown in FIG. 1, the program information table 23 is stored in the programmable controller 13. This encryption ensures the security of the program contents.

【0048】このようにして、実行プログラム19、ソ
ースプログラム22、及びプログラム情報テーブル23
が格納されたプログラマブルコントローラ13に対し
て、保守時などの必要に応じて、プログラミング装置1
を用いてユーザから、プログラマブルコントローラ13
に格納されている実行プログラム19とプログラム復元
情報(本例ではソースプログラム22)の整合性確認の
指示を出すことができるようにしている。
In this way, the execution program 19, the source program 22, and the program information table 23
For the programmable controller 13 in which is stored the programming device 1 as required during maintenance or the like.
From the user using the programmable controller 13
An instruction to check the consistency between the execution program 19 and the program restoration information (the source program 22 in this example) stored in is issued.

【0049】図6は、ユーザからプログラマブルコント
ローラ13に格納されている実行プログラム19とソー
スプログラム22の整合性確認の指示が出されたことに
よりプログラミング装置1によって行われる確認処理の
フローチャートである。この処理は、プログラミング装
置1の図1に示した照合機能5に基づいてCPU2によ
り行われる処理である。
FIG. 6 is a flowchart of the confirmation processing performed by the programming device 1 when the user issues an instruction to confirm the consistency between the execution program 19 stored in the programmable controller 13 and the source program 22. This process is a process performed by the CPU 2 based on the collating function 5 of the programming device 1 shown in FIG.

【0050】また、この処理は、図2の処理S3及び図
3の表示画面24に示したように、本例では、プログラ
ム復元情報の自動格納がユーザの選択にゆだねられてい
るため、ユーザがプログラム復元情報の自動格納を指定
しなかった場合に備えて、プログラム復元情報の自動格
納を指定しなかった場合に予想される不具合の発生を防
止するために設けられている処理である。
Further, in this process, as shown in the process S3 of FIG. 2 and the display screen 24 of FIG. 3, in this example, the automatic storage of the program restoration information is left to the user's selection. This process is provided in order to prevent the occurrence of a problem expected when the automatic storage of the program restoration information is not specified, in case the automatic storage of the program restoration information is not specified.

【0051】図6において、先ず、プログラミング装置
1は、プログラマブルコントローラ13の実行プログラ
ム19のファイル情報を、通信インターフェース12、
通信機能6を介して読み出し、図5に示したレコード形
式でプログラム情報テーブルを生成しプログラミング装
置1内の記憶装置に保存する(処理S101)。
In FIG. 6, first, the programming device 1 transfers the file information of the execution program 19 of the programmable controller 13 to the communication interface 12,
The program information table is read out via the communication function 6, the program information table is generated in the record format shown in FIG. 5, and is stored in the storage device in the programming device 1 (process S101).

【0052】続いて、プログラミング装置1は、プログ
ラマブルコントローラ13のプログラム情報テーブル2
3を、通信インターフェース12、通信機能6を介して
読み出し、プログラミング装置1内の記憶装置に保存す
る(処理S102)。この時点では、プログラム情報テ
ーブル23は、未だ暗号化されている。
Subsequently, the programming device 1 includes the program information table 2 of the programmable controller 13.
3 is read out via the communication interface 12 and the communication function 6 and stored in the storage device in the programming device 1 (process S102). At this point, the program information table 23 is still encrypted.

【0053】次に、プログラミング装置1は、上記の処
理により記憶装置に格納されているプログラム情報テー
ブル23を復号化し、この復号化したプログラム情報テ
ーブルを、プログラミング装置1内の記憶装置に保存す
る。
Next, the programming device 1 decrypts the program information table 23 stored in the storage device by the above processing, and stores the decrypted program information table in the storage device in the programming device 1.

【0054】更に続いて、プログラミング装置1は、上
記のように記憶装置に保存されている実行プログラム1
9から生成されたプログラム情報テーブルと、暗号化さ
れたプログラム情報テーブル23から復号化されたプロ
グラム情報テーブルとを照合する(処理104)。
Further, subsequently, the programming device 1 executes the execution program 1 stored in the storage device as described above.
The program information table generated from No. 9 is collated with the program information table decrypted from the encrypted program information table 23 (process 104).

【0055】そして、プログラミング装置1は、上記の
照合処理による照合結果を表示装置3に表示出力する
(処理S105)。この表示出力では、例えば、照合し
た結果、生成されたプログラム情報テーブルと復号化さ
れたプログラム情報テーブルとが一致していれば「整
合」が表示され、一致していなければ「不整合」が表示
される。
Then, the programming device 1 displays the collation result obtained by the above collation process on the display device 3 (process S105). In this display output, for example, if the generated program information table and the decrypted program information table match as a result of collation, “match” is displayed, and if they do not match, “mismatch” is displayed. To be done.

【0056】これにより、ユーザが自動格納を指定しな
かった場合に、そして、ユーザがプログラム復元情報を
格納し忘れたようなときに、「不整合」の表示によって
実行プログラムと異なるプログラム復元情報が格納され
ていることが分かるので、時間を無駄にすることなく正
しい対応をとることができる。
As a result, when the user does not specify the automatic storage, and when the user forgets to store the program restoration information, the program restoration information different from the execution program is displayed due to the display of "inconsistency". Since it is known that it is stored, the correct response can be taken without wasting time.

【0057】一方、この本実施の形態において、ユーザ
が自動格納を指定した場合は、実行プログラム8(1
9)の格納処理が成功した場合のみ、ソースプログラム
7(22)を格納しているので、実行プログラム19の
みを更新してしまう場合に発生する不整合の他に、ソー
スプログラム7のみを更新してしまうことによって起こ
る不整合も排除できる。
On the other hand, in this embodiment, when the user specifies automatic storage, the execution program 8 (1
Since the source program 7 (22) is stored only when the storage process of 9) is successful, in addition to the inconsistency that occurs when updating only the execution program 19, only the source program 7 is updated. The inconsistency caused by the loss can be eliminated.

【0058】また、プログラム復元情報としてソースプ
ログラム22全体を格納しているため、フリーフォーマ
ットの図示言語編集機能を持ったプログラミング装置に
おいてもプログラミング要素の配置座標に至るまで完全
に復元することができる。
Further, since the entire source program 22 is stored as the program restoration information, even in a programming device having a free format illustrated language editing function, it is possible to completely restore the arrangement coordinates of the programming element.

【0059】なお、プログラマブルコントローラへの実
行プログラム及びソースプログラムの格納経路について
は、上述したように通信機能を介してもよく、着脱可能
な記憶媒体を介して行ってもよい。また、通信機能は有
線か無線の別を問うものではない。
The storage path of the execution program and the source program to the programmable controller may be via the communication function as described above or via a removable storage medium. Also, the communication function does not matter whether it is wired or wireless.

【0060】また、プログラム復元情報は、前述したよ
うにソースプログラムと限るものではないが、ソースプ
ログラムとした場合でも、ソースプログラム全体でもコ
メント情報だけといった部分的なものでもよく、プログ
ラム復元情報として構成するデータの範囲は任意に設定
してよい。
Further, the program restoration information is not limited to the source program as described above, but when the source program is used, it may be partial information such as the entire source program or only comment information, and is configured as program restoration information. The range of data to be used may be set arbitrarily.

【0061】[0061]

【発明の効果】以上詳細に説明したように、本発明によ
れば、実行プログラムをプログラマブルコントローラに
格納したときにプログラム補助情報を有するプログラム
復元情報を自動的に実行プログラムと一対をなして格納
できるようにしたので、プログラマブルコントローラに
格納されている実行プログラムとの整合性のとれたプロ
グラム補助情報を、常に正しく復元表示することが可能
となる。
As described above in detail, according to the present invention, when the execution program is stored in the programmable controller, the program restoration information having the program auxiliary information can be automatically stored in a pair with the execution program. Since this is done, it is possible to always correctly restore and display the program auxiliary information that is consistent with the execution program stored in the programmable controller.

【0062】また、プログラム復元情報を常に実行プロ
グラムと整合するようにプログラマブルコントローラに
格納しているので、このプログラム復元情報をソースプ
ログラムとすることにより、実行プログラムを逆コンパ
イルして復元しなくても、ソースプログラムをそのまま
表示することで、実行プログラムとの整合性の保証され
たソースプログラムを表示させることができる。
Further, since the program restoration information is stored in the programmable controller so as to always match the execution program, by using this program restoration information as the source program, it is not necessary to decompile and restore the execution program. By displaying the source program as it is, it is possible to display the source program whose consistency with the execution program is guaranteed.

【0063】また、自動格納を指定することにより、実
行プログラムの格納とプログラム復元情報の格納という
2つの処理を1回の操作で完了させることができ、これ
によりユーザの操作上の負担が軽減されて便利である。
By designating automatic storage, it is possible to complete the two processes of storing the execution program and storing the program restoration information in a single operation, thereby reducing the operational burden on the user. And convenient.

【0064】また、プログラム情報テーブルを設けるこ
とにより、実行プログラムとプログラム復元情報の整合
性を正確かつ迅速に確認できるので、実行プログラムお
よびプログラム復元情報の管理がより容易になって便利
である。
Further, by providing the program information table, the consistency between the execution program and the program restoration information can be confirmed accurately and quickly, so that the management of the execution program and the program restoration information becomes easier and convenient.

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

【図1】一実施の形態におけるプログラミング装置の構
成をプログラマブルコントローラと共に示す図である。
FIG. 1 is a diagram showing a configuration of a programming device according to an embodiment together with a programmable controller.

【図2】プログラミング装置のCPUによりプログラム
作成プログラムに従って処理される処理の動作を説明す
るフローチャートである。
FIG. 2 is a flowchart illustrating an operation of processing performed by a CPU of a programming device according to a program creation program.

【図3】プログラミング装置の表示装置におけるプログ
ラム復元情報の自動格納の可否を指定するための表示画
面の例を示す図である。
FIG. 3 is a diagram showing an example of a display screen for designating whether to automatically store program restoration information on the display device of the programming device.

【図4】プログラム情報テーブルを生成する処理の動作
を更に詳しく説明するフローチャートである。
FIG. 4 is a flowchart for explaining in more detail the operation of processing for generating a program information table.

【図5】プログラム情報テーブルを生成する処理で生成
されるプログラム情報テーブルのデータ構成を示す図で
ある。
FIG. 5 is a diagram showing a data structure of a program information table generated by a process of generating a program information table.

【図6】プログラマブルコントローラに格納されている
実行プログラムとソースプログラムの整合性を確認する
処理のフローチャートである。
FIG. 6 is a flowchart of a process for confirming the consistency between the execution program and the source program stored in the programmable controller.

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

1 プログラミング装置 2 CPU 3 表示装置 4 コンパイル機能 5 照合機能 6 通信機能 7 ソースプログラム 8 実行プログラム 9 プログラム情報テーブル 11 実行プログラムファイル情報 12 通信インターフェース 13 プログラマブルコントローラ 14 通信インターフェース 15 CPU 16 通信機能 17 記憶装置 18 実行プログラム格納領域 19 実行プログラム 21 ソースプログラム格納領域 22 ソースプログラム 23 プログラム情報テーブル 24 表示画面 25 ページデータ表示領域 26 チェック入力ボックス 27 プログラム番号 28 プログラムの生成日時 29 プログラムサイズ 1 programming device 2 CPU 3 display devices 4 Compile function 5 Verification function 6 Communication function 7 Source program 8 execution programs 9 Program information table 11 Execution program file information 12 Communication interface 13 programmable controller 14 Communication interface 15 CPU 16 Communication function 17 Storage 18 Execution program storage area 19 Execution program 21 Source program storage area 22 Source Program 23 Program Information Table 24 display screen 25 page data display area 26 Check input box 27 Program number 28 Date and time of program generation 29 program size

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ソースプログラムからコンパイルした実
行プログラムをプログラマブルコントローラに格納する
際にプログラム補助情報を含むプログラム復元情報を自
動的に格納することを指定する指定手段と、 該指定手段からの前記プログラム復元情報を自動的に格
納する指定を受けることにより前記プログラム復元情報
をプログラマブルコントローラに格納する格納手段と、 該格納手段により前記プログラマブルコントローラに格
納された前記プログラム復元情報を前記プログラマブル
コントローラから読み出す読出手段と、 を有して、 前記プログラマブルコントローラから前記復元情報を読
み出すことにより、前記プログラマブルコントローラ内
の前記実行プログラムに整合する前記ソースプログラム
と前記プログラム補助情報とを常に正しく画面表示する
ことを特徴とするプログラミング装置。
1. A designation unit for designating automatically storing program restoration information including program auxiliary information when an execution program compiled from a source program is stored in a programmable controller, and the program restoration from the designation unit. Storage means for storing the program restoration information in the programmable controller by receiving a designation to automatically store information, and reading means for reading the program restoration information stored in the programmable controller by the storage means from the programmable controller By reading the restoration information from the programmable controller, the source program and the program auxiliary information that match the execution program in the programmable controller are provided. Programming device, characterized in that the screen correctly displayed on.
【請求項2】 前記実行プログラムのファイル情報を記
録したプログラム情報テーブルを生成する情報テーブル
生成手段と、 該情報テーブル生成手段により生成された前記プログラ
ム情報テーブルを前記プログラマブルコントローラに格
納する情報テーブル格納手段と、 該情報テーブル格納手段により前記プログラマブルコン
トローラに格納された前記プログラム情報テーブルを前
記プログラマブルコントローラから読み出す情報テーブ
ル読出手段と、 該情報テーブル読出手段により前記プログラマブルコン
トローラから読み出された前記プログラム情報テーブル
に基づいて前記実行プログラムと前記プログラム復元情
報との整合性を検証する整合性検証手段と、 該整合性検証手段による検証結果を表示装置に出力する
検証結果出力手段と、 を更に備えたことを特徴とする請求項1記載のプログラ
ミング装置。
2. An information table generating means for generating a program information table in which file information of the execution program is recorded, and an information table storing means for storing the program information table generated by the information table generating means in the programmable controller. An information table reading unit that reads the program information table stored in the programmable controller by the information table storage unit from the programmable controller; and a program information table read from the programmable controller by the information table reading unit. A consistency verification means for verifying the consistency between the execution program and the program restoration information based on the verification result; and a verification result output means for outputting a verification result by the consistency verification means to a display device. Further programming device according to claim 1, further comprising a.
【請求項3】 前記プログラム情報テーブルに対して暗
号化処理を施す暗号化手段と、 該暗号化手段により暗号化された前記プログラム情報テ
ーブルを複合化する複合化手段と、 を更に備えたことを特徴とする請求項1又は2記載のプ
ログラミング装置。
3. An encryption means for performing an encryption process on the program information table, and a decryption means for decrypting the program information table encrypted by the encryption means. 3. The programming device according to claim 1, wherein the programming device is a device.
JP2001357512A 2001-11-22 2001-11-22 Programming device Pending JP2003157104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001357512A JP2003157104A (en) 2001-11-22 2001-11-22 Programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001357512A JP2003157104A (en) 2001-11-22 2001-11-22 Programming device

Publications (1)

Publication Number Publication Date
JP2003157104A true JP2003157104A (en) 2003-05-30

Family

ID=19168849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001357512A Pending JP2003157104A (en) 2001-11-22 2001-11-22 Programming device

Country Status (1)

Country Link
JP (1) JP2003157104A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239990A (en) * 2005-03-02 2006-09-14 Japan Steel Works Ltd:The Method and apparatus for automating connection/disconnection operation of cutter unit
JP2007079651A (en) * 2005-09-12 2007-03-29 Fuji Electric Fa Components & Systems Co Ltd Programming device for programmable controller
JP2008276525A (en) * 2007-04-27 2008-11-13 Omron Corp Control program development support device for plc
JP2009223590A (en) * 2008-03-15 2009-10-01 Omron Corp Operation specification management method for program development support device
JP2011227823A (en) * 2010-04-22 2011-11-10 Toshiba Corp Control program creation apparatus and method for driving the same
JP2015049788A (en) * 2013-09-03 2015-03-16 株式会社日立産機システム Programmable controller, programming device, and system thereof
WO2016135835A1 (en) * 2015-02-23 2016-09-01 三菱電機株式会社 Control device and control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274011A (en) * 1992-01-23 1993-10-22 Mitsubishi Electric Corp Programmable controller and its control method
JPH08137837A (en) * 1994-11-14 1996-05-31 Canon Inc Method and device for document processing
JPH10124308A (en) * 1996-10-25 1998-05-15 Mitsubishi Electric Corp Method for protecting program in programmable controller
JPH11338519A (en) * 1998-05-27 1999-12-10 Omron Corp Programmable controller, and device and method for supporting program preparation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274011A (en) * 1992-01-23 1993-10-22 Mitsubishi Electric Corp Programmable controller and its control method
JPH08137837A (en) * 1994-11-14 1996-05-31 Canon Inc Method and device for document processing
JPH10124308A (en) * 1996-10-25 1998-05-15 Mitsubishi Electric Corp Method for protecting program in programmable controller
JPH11338519A (en) * 1998-05-27 1999-12-10 Omron Corp Programmable controller, and device and method for supporting program preparation

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239990A (en) * 2005-03-02 2006-09-14 Japan Steel Works Ltd:The Method and apparatus for automating connection/disconnection operation of cutter unit
JP4606905B2 (en) * 2005-03-02 2011-01-05 株式会社日本製鋼所 Apparatus and method for automating connecting / disconnecting operation of cutter unit
JP2007079651A (en) * 2005-09-12 2007-03-29 Fuji Electric Fa Components & Systems Co Ltd Programming device for programmable controller
JP2008276525A (en) * 2007-04-27 2008-11-13 Omron Corp Control program development support device for plc
JP2009223590A (en) * 2008-03-15 2009-10-01 Omron Corp Operation specification management method for program development support device
JP2011227823A (en) * 2010-04-22 2011-11-10 Toshiba Corp Control program creation apparatus and method for driving the same
JP2015049788A (en) * 2013-09-03 2015-03-16 株式会社日立産機システム Programmable controller, programming device, and system thereof
WO2016135835A1 (en) * 2015-02-23 2016-09-01 三菱電機株式会社 Control device and control system

Similar Documents

Publication Publication Date Title
US6055369A (en) Apparatus for visual programming with screen flow
CN107864052A (en) Method and its system based on lasting application deployment configuration automatic updating
JP2003157104A (en) Programming device
JP2006031354A (en) Test program generating device and test program generating system
JP4905119B2 (en) Specification creation support apparatus and method
Taentzer et al. A formal framework for incremental model slicing
JP5374405B2 (en) Model debugging apparatus and model debugging method
JP2005276040A (en) Degrade confirming examining method and system, and program for the same
JP3770724B2 (en) Mask pattern verification apparatus for semiconductor integrated circuit device
JP2004070561A (en) Debugging device
US20230134007A1 (en) Support device, non-transitory computer-readable storage medium, and support method
JP2757806B2 (en) Circuit diagram error correction device
JP4152752B2 (en) Data consistency check device and data consistency check method
JP2023151760A (en) Safety system, safety controller, and processing method
JPH11212825A (en) Built-in system test method and device, and record medium
JP3866268B2 (en) Mask pattern verification apparatus for semiconductor integrated circuit device
JP5902971B2 (en) Copy phrase management apparatus and copy phrase management method
JP2604066B2 (en) Text file correction storage method
JPH1049358A (en) Device and method for automatically generating altered program
JPH04155540A (en) Program correcting system by interactive debugger
JP2002189716A (en) Document editing device
JPH0651973A (en) Error correction method for sequence program
JP2001043075A (en) Method and system for processing program for portable terminal equipment
JPH06168011A (en) Program generating device
JPH11272500A (en) Debug method and debug device for the same and program storage medium

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040218

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060627