JP2013030034A - Programming device for programmable controller - Google Patents

Programming device for programmable controller Download PDF

Info

Publication number
JP2013030034A
JP2013030034A JP2011166199A JP2011166199A JP2013030034A JP 2013030034 A JP2013030034 A JP 2013030034A JP 2011166199 A JP2011166199 A JP 2011166199A JP 2011166199 A JP2011166199 A JP 2011166199A JP 2013030034 A JP2013030034 A JP 2013030034A
Authority
JP
Japan
Prior art keywords
file
program
programmable controller
management table
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.)
Pending
Application number
JP2011166199A
Other languages
Japanese (ja)
Inventor
Eitaro Mitachi
瑛太郎 三田地
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.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems 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 Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP2011166199A priority Critical patent/JP2013030034A/en
Publication of JP2013030034A publication Critical patent/JP2013030034A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve the problem that it is possible for a program of a programmable controller to complicate a management system of the program by storing the program after changing a program name or by overwriting and storing the program as it is when correction or editing is performed by a user.SOLUTION: A programming device for a programmable controller performs programming of a program that is operated in the programmable controller. The programming device comprises program creation/editing means which creates or edits a program when creating or editing the program on the basis of an existent file including an existent program, file storage means in which, when storing the program created/edited by the program creation/editing means, a novel file is created and stored with a file name of the existent file, and file name character string addition means which adds a character string to the end of the file stored by the file storage means.

Description

本発明はプログラマブルコントローラ用プログラミング装置に関する。   The present invention relates to a programming device for a programmable controller.

本技術分野の背景技術として、特開2006−85279号公報(特許文献1)がある。この公報には、「ユーザの利便性を考慮しながら上書き処理を適切に実行し、かつ元ファイルの保護を行なうことができる、ファイル管理ラダープログラムを提供する。」と記載されている。   As background art of this technical field, there is JP-A-2006-85279 (Patent Document 1). This publication describes that “providing a file management ladder program capable of appropriately executing an overwrite process and protecting an original file in consideration of user convenience”.

特開2006−85279号公報JP 2006-85279 A

前記特許文献1には、上書き処理に対するファイル管理の仕組みが記載されている。しかし、特許文献1のファイル管理は既存ファイルと新規ファイルの変更点内容を管理することができない。   Patent Document 1 describes a file management mechanism for overwriting processing. However, the file management of Patent Document 1 cannot manage the contents of changes between existing files and new files.

このようなファイル管理では、例えば、新規ファイルに対しなんらかの問題が生じた時、原因追求として既存ファイルと新規ファイルでの比較が容易にできない場合がある。そしてこれらはプログラミング装置を対象とした場合でも考えられる。   In such file management, for example, when a problem occurs with a new file, there is a case where comparison between the existing file and the new file cannot be easily performed as a cause search. And these can be considered even for programming devices.

プログラミング装置は一般にはプログラミング装置単体での使用でなく、外部機器が別途用意され、外部機器に対しプログラムの書込みや読出しを行う。プログラマブルコントローラ用のプログラミング装置に接続される外部機器として、プログラマブルコントローラがある。   In general, the programming device is not used as a single programming device, but an external device is separately prepared, and a program is written to and read from the external device. A programmable controller is an external device connected to a programming device for a programmable controller.

プログラマブルコントローラにて演算処理されるラダープログラムは、制御盤設計者が設計・コーディングしたのち、エンドユーザへ引き渡されることが多い。引渡しの後、設備改修などの理由により、エンドユーザ自身の手によってラダープログラムが変更されることがしばしばある。   In many cases, a ladder program that is processed by a programmable controller is designed and coded by a control panel designer and then delivered to an end user. After delivery, the ladder program is often changed by the end user himself or herself for reasons such as equipment repair.

この変更などのために、パソコンのデータや図面などの形態で制御盤設計者から引き渡されたラダープログラムと、プログラマブルコントローラにて実際に演算処理されているラダープログラムが一致しなくなるという事態が発生することがある。   Due to this change, the ladder program delivered from the control panel designer in the form of personal computer data or drawings may not match the ladder program that is actually processed by the programmable controller. Sometimes.

また、最終的にラダープログラムの変更・修正は、入出力信号の処理タイミングの調整や他周辺機器との通信同期調整などのため、プログラマブルコントローラが実設備に組み込まれた状態で行われることが多い。組み込まれる設備によっては僅かなタイミング調整を行うために「ラダープログラム修正→ラダープログラム書き込み→動作検証」を繰り返すことがある。   In addition, the ladder program is finally changed / modified in a state where the programmable controller is incorporated in the actual equipment in order to adjust the processing timing of the input / output signals and the communication synchronization with other peripheral devices. . Depending on the equipment to be incorporated, “ladder program modification → ladder program writing → operation verification” may be repeated in order to perform slight timing adjustment.

それによって修正されたラダープログラムはユーザ自身の手によって、ラダープログラム名を変更して保存したり、そのまま上書き保存したりすると、ラダープログラムのバージョン管理等の管理体制が雑になってしまう可能性がある。   If the ladder program is modified and saved by changing the name of the ladder program, or overwritten as it is, the management system such as version management of the ladder program may become complicated. is there.

また、新規にラダープログラムを作成する際、以前使用されていたラダープログラムを参照したり、以前使用されていたラダープログラムの一部を修正して新たなラダープログラムを作成する場合がある。   Further, when creating a new ladder program, a ladder program that has been used before may be referred to, or a part of a ladder program that has been used before may be modified to create a new ladder program.

この場合、新規ラダープログラムと流用対象のラダープログラムとの間で、動作する際の動作環境について、いくつかの環境の違いを検証する必要がある場合もある。例えば、プログラマブルコントローラのハードウェア仕様(CPUのバージョン等)が異なることで、微妙な動作の差異が生ずることがある。または、動作するプログラミングコントローラのファームウェアバージョンの差異が動作の差異に影響することもある。   In this case, it may be necessary to verify some differences in the operating environment when operating between the new ladder program and the ladder program to be diverted. For example, subtle differences in operation may occur due to differences in the hardware specifications (CPU version, etc.) of the programmable controller. Or, the difference in the firmware version of the operating programming controller may affect the difference in operation.

従って、プログラミング装置においては、これらの使用環境、動作環境に関する情報についても、管理することが必要とされる場合もある。   Therefore, in the programming device, it may be necessary to manage the information regarding the use environment and the operation environment.

よって本発明は、これらの管理体制、管理出来るようにする仕組み、構成について、ユーザのプログラム修正、プログラミングを支援することを課題とする。   Therefore, it is an object of the present invention to support user's program correction and programming for these management systems, mechanisms and configurations enabling management.

本発明は、上記課題に対して、改善を行うものである。   The present invention improves the above problems.

本発明では、上書き処理時に既存ラダープログラムと新規ラダープログラムの変更点についての内容を共通の管理テーブルにて管理するファイル管理ラダープログラムを備えたプログラミング装置を提供する。   The present invention provides a programming device provided with a file management ladder program that manages the contents of changes between an existing ladder program and a new ladder program using a common management table during overwriting.

例えば、プログラミング装置を用いて新規プログラムの作成、または既存プログラムの編集を行った場合において、ユーザ操作としては、例えば、見かけ上は、上書き保存処理を行ったとしても、既存プログラムの保護を行うことができるようにするものである。   For example, when creating a new program or editing an existing program using a programming device, as a user operation, for example, to protect an existing program even if overwriting processing is apparently performed Is to be able to.

さらに新規プログラムと既存プログラムとの変更点や差異、または、新規プログラムの変更点、使用時のプログラマブルコントローラを構成するハードウェアに関する固有の情報などいった情報を自動的に読み出し、共通の管理テーブルで一元管理可能となり、ユーザに負荷をかけずに管理体制を提供できるようにする。   In addition, information such as changes and differences between new programs and existing programs, changes to new programs, and information specific to the hardware that makes up the programmable controller at the time of use is automatically read out in a common management table. Centralized management is possible, so that a management system can be provided without burdening the user.

また、上記課題を解決するために、例えば特許請求の範囲に記載の構成を採用する。   Moreover, in order to solve the said subject, the structure as described in a claim is employ | adopted, for example.

本願は上記課題を解決する手段を複数含んでいるが、その一例を挙げるならば、「プログラマブルコントローラで動作するプログラムをプログラミングするプログラマブルコントローラのプログラミング装置において、前記プログラムの作成編集を行う作成編集手段と、前記作成編集されたプログラムの保存時に、新規ファイルを作成して、既存ファイルを上書きせずに既存ファイルを保護するファイル保存手段と、前記保存した新規ファイルのファイル名の末尾に自動的に文字列を付加するファイル名文字列付加手段と、前記新規ファイルの情報、既存ファイルと新規ファイルの差異を入力する管理情報入力手段と、前記新規ファイル作成時に、使用されるプログラマブルコントローラを構成するハードウェアに関する固有の情報を読み出し、管理テーブルに入力する管理情報入力手段と、前記入力された管理テーブルの内容を示す管理テーブルファイルを自動的に作成する管理テーブルファイル作成手段と、前記プログラマブルコントローラとの通信を行う通信手段とを有することを特徴とするプログラマブルコントローラ用プログラミング装置」を提供することを特徴とする。   The present application includes a plurality of means for solving the above-mentioned problems. To give an example, “a program editing device for programming a program operating on a programmable controller and a program editing unit for creating and editing the program” When saving the created and edited program, a file saving means for creating a new file and protecting the existing file without overwriting the existing file, and automatically adding a character to the end of the file name of the saved new file File name character string adding means for adding a column, information on the new file, management information input means for inputting a difference between the existing file and the new file, and hardware constituting a programmable controller used when the new file is created Read specific information about Management information input means for inputting to the management table, management table file creation means for automatically creating a management table file indicating the contents of the inputted management table, and communication means for communicating with the programmable controller It is characterized by providing a “programming device for a programmable controller”.

また、上記手段について、以下に他の表現にて、説明をする。   Further, the above means will be described in other expressions below.

プログラマブルコントローラで動作するプログラムをプログラミングするプログラマブルコントローラのプログラミング装置において、既存のプログラムを有する既存ファイルを元にしてプログラムを作成、または編集する場合に、前記プログラムの作成、または編集を行うプログラム作成編集手段と、前記プログラム作成編集手段によって作成編集されたプログラムの保存時に、新規ファイルを作成し、前記既存ファイルのファイル名で保存するファイル保存手段と、前記ファイル保存手段によって保存された前記ファイル名の末尾に文字列を付加するファイル名文字列付加手段と、前記プログラマブルコントローラとの通信を行う通信手段と、を有するようにする。   Program creation / editing means for creating or editing a program when a program is created or edited based on an existing file having an existing program in a programming device for a programmable controller for programming a program operating on a programmable controller And, at the time of saving the program created and edited by the program creation and editing means, a file saving means for creating a new file and saving it with the file name of the existing file, and the end of the file name saved by the file saving means File name character string adding means for adding a character string to the communication means and communication means for communicating with the programmable controller.

また、既存ファイルが有する既存のプログラムを元にしてプログラムを作成、または編集して新規ファイルとして保存された回数をカウントする保存回数カウント手段を備え、前記ファイル名文字列付加手段で付加される前記文字列は、前記保存回数カウント手段から得られる保存カウント数とし、前記保存回数カウント手段は、前記保存カウント数を用いて新規ファイルが保存された場合には、保存カウント数に所定の数値を加算するようにする。   In addition, the file name character string adding unit includes a storage number counting unit that counts the number of times a program is created or edited based on an existing program included in an existing file and stored as a new file. The character string is a storage count number obtained from the storage count counting means, and the storage count counting means adds a predetermined numerical value to the storage count number when a new file is stored using the storage count number. To do.

また、前記ファイル保存手段によって保存されるファイルが有するプログラムに対する情報を管理する管理テーブルを有する管理テーブルファイルを作成する管理テーブルファイル作成手段を備え、前記新規ファイルが有するプログラムの情報を前記管理テーブルに入力する、または既存ファイルが有するプログラムの情報と新規ファイルが有するプログラムの情報との差異に関する情報を前記管理テーブルに入力する管理情報入力手段を設けるようにする。   In addition, a management table file creation unit that creates a management table file having a management table for managing information on a program stored in the file stored by the file storage unit is provided, and information on a program included in the new file is stored in the management table. Management information input means is provided for inputting information relating to the difference between the program information to be input or the program of the existing file and the program information of the new file to the management table.

また、前記管理情報入力手段によって前記管理テーブルに入力される情報が、前記ファイル保存手段によって保存されるファイルのファイル名、または、前記ファイル保存手段によってファイルが保存された日時、時間に関する情報、または、前記プログラムを作成、または編集した操作者に関する情報の内の少なくとも1つを含むようにする。   The information input to the management table by the management information input unit is the file name of the file stored by the file storage unit, or the date / time and time information when the file was stored by the file storage unit, or , Including at least one of information on an operator who created or edited the program.

また、前記ファイル保存手段によって新規ファイルの保存時に、前記プログラマブルコントローラを構成するハードウェアに関する固有の情報を読出し、前記管理テーブルに入力する固有情報入力手段を設けるようにする。   In addition, when the new file is saved by the file saving means, unique information input means for reading out the unique information about the hardware constituting the programmable controller and inputting it to the management table is provided.

また、前記管理情報入力手段によって前記管理テーブルに入力される情報が、前記プログラマブルコントローラで動作する中央制御装置であるCPUのバージョンに関する情報、または、前記CPUを制御するファームウェアに関する情報の内の少なくとも1つを含むようにする。   The information input to the management table by the management information input means is at least one of information related to a version of a CPU that is a central control device that operates on the programmable controller, or information related to firmware that controls the CPU. Include one.

本発明によれば、プログラミング装置を用いて新規プログラムの作成、または既存プログラムの編集を行った場合での上書き保存処理によって既存プログラムは保護を行うことができ、さらに新規プログラムと既存プログラムの変更点の差異、新規プログラムの変更点、使用時のプログラマブルコントローラのハードウェアに関する固有の情報などといった情報を自動的に読み出し、共通の管理テーブルで一元管理可能となり、ユーザに負荷をかけずに管理する体制を提供することができるようにする。   According to the present invention, an existing program can be protected by overwriting processing when a new program is created or an existing program is edited by using a programming device, and the new program and the existing program are changed. System that automatically reads information such as differences in new programs, changes in new programs, and information specific to the hardware of the programmable controller at the time of use, making it possible to manage them centrally using a common management table, and managing them without imposing a burden on the user To be able to provide.

上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明に基づく実施例のプログラミング装置の構成図である。It is a block diagram of the programming apparatus of the Example based on this invention. 本発明に基づく実施例の新規作成画面表示例である。It is an example of the new creation screen display of the Example based on this invention. 本発明に基づく実施例のラダープログラムの表示例である。It is an example of a display of the ladder program of the Example based on this invention. 本発明に基づく実施例のラダープログラムの表示例である。It is an example of a display of the ladder program of the Example based on this invention. 本発明に基づく実施例のラダープログラムの表示例である。It is an example of a display of the ladder program of the Example based on this invention. 本発明に基づく実施例の上書き保存機能設定画面の表示例である。It is an example of a display of the overwrite storage function setting screen of the Example based on this invention. 本発明に基づく実施例の管理テーブル項目設定画面の表示例である。It is an example of a display of the management table item setting screen of the Example based on this invention. 本発明に基づく実施例の管理テーブル表示例である。It is a management table display example of the Example based on this invention. 本発明に基づく実施例の管理テーブル表示例である。It is a management table display example of the Example based on this invention. 本発明に基づく実施例の管理テーブル表示例である。It is a management table display example of the Example based on this invention. 本発明に基づく実施例の管理テーブル表示例である。It is a management table display example of the Example based on this invention. 本発明に基づく実施例の図2、図3、図4、図5の表示例を表示するための処理フローチャート図である。FIG. 6 is a process flowchart for displaying the display examples of FIGS. 2, 3, 4, and 5 according to the embodiment of the present invention. 本発明に基づく実施例の上書き保存を行う処理の詳細なフローチャート図である。It is a detailed flowchart figure of the process which performs overwrite preservation | save of the Example based on this invention. 本発明に基づく実施例の管理テーブル更新を行う処理の詳細なフローチャート図である。It is a detailed flowchart figure of the process which performs the management table update of the Example based on this invention. 本発明に基づく実施例のプログラマブルコントローラの構成図である。It is a block diagram of the programmable controller of the Example based on this invention.

以下、実施例を図面を用いて説明する。   Hereinafter, examples will be described with reference to the drawings.

本実施例ではプログラマブルコントローラ用プログラミング装置(以下、プログラミング装置と称する)において既存ラダープログラムの編集を行い、例えば、ユーザ操作によって、見かけ上の上書き保存動作を行った場合に、元のラダープログラムの保護を行い、管理テーブルを更新する例を説明する。   In this embodiment, when an existing ladder program is edited in a programming device for a programmable controller (hereinafter referred to as a programming device) and, for example, an apparent overwrite saving operation is performed by a user operation, the original ladder program is protected. An example in which the management table is updated will be described.

図1は、本実施例のプログラマブルコントローラにおけるプログラミング装置のハードウェア構成図である。   FIG. 1 is a hardware configuration diagram of a programming device in the programmable controller of the present embodiment.

プログラミング装置は、CPU10、主記憶装置20、補助記憶装置30、入力装置40、表示などの出力を行う出力装置50、通信インターフェース60を有する。   The programming device includes a CPU 10, a main storage device 20, an auxiliary storage device 30, an input device 40, an output device 50 that performs output such as display, and a communication interface 60.

プログラミング装置とは、図1の構成の専用コンピュータだけでなく、図1の構成の汎用コンピュータ上で動作するソフトウェアのことでも良い。   The programming device may be software operating on the general-purpose computer having the configuration shown in FIG. 1 as well as the dedicated computer having the configuration shown in FIG.

図15はプログラマブルコントローラのハードウェア構成図である。   FIG. 15 is a hardware configuration diagram of the programmable controller.

プログラマブルコントローラはCPU1510、主記憶装置1520、補助記憶装置1530、入力装置1540、表示などの出力を行う出力装置1550、通信インターフェース1560を有する。   The programmable controller includes a CPU 1510, a main storage device 1520, an auxiliary storage device 1530, an input device 1540, an output device 1550 that performs display output, and a communication interface 1560.

プログラマブルコントローラとプログラミング装置は通信インタフェース60と通信インタフェース1560の間で通信を行い、図3、図4に示すようなラダープログラムの書き込み、読み出し、照合などの処理が行われる。   The programmable controller and the programming device communicate with each other between the communication interface 60 and the communication interface 1560, and processing such as writing, reading, and collating ladder programs as shown in FIGS. 3 and 4 is performed.

図2は図1のプログラミング装置の出力装置50に表示するラダープログラム新規作成時設定画面である。   FIG. 2 is a setting screen for creating a new ladder program displayed on the output device 50 of the programming device of FIG.

新規作成設定領域200は、ラダープログラム名称入力エリア210、設定を反映させるボタン220、設定をキャンセルさせるボタン230を有する。   The newly created setting area 200 has a ladder program name input area 210, a button 220 for reflecting the setting, and a button 230 for canceling the setting.

なお、新規作成設定領域200は、新規ラダープログラム作成時のみ表示され、既存ラダープログラム編集時には表示されない。   The new creation setting area 200 is displayed only when creating a new ladder program, and is not displayed when editing an existing ladder program.

図3は、図1のプログラミング装置で作成された既存のラダープログラムであり、図1プログラミング装置の出力装置50に表示された表示例である。プログラミング装置表示領域300は、ラダープログラムを表示する領域310、現在編集中のラダープログラム名の表示領域320を表示する領域を有する。   3 is an existing ladder program created by the programming device of FIG. 1, and is a display example displayed on the output device 50 of the programming device of FIG. The programming device display area 300 has an area 310 for displaying a ladder program and an area for displaying a display area 320 for the name of the ladder program currently being edited.

プログラミング装置は、ラダープログラムを表示する領域310に、ユーザが入力したラダープログラムをシンボルとI/O番号を用いて表示する。   The programming device displays the ladder program input by the user using a symbol and an I / O number in an area 310 for displaying the ladder program.

図3においては、ラダープログラム名の表示領域320に、プログラム名称として、“TEST[R0]”が表示されている。   In FIG. 3, “TEST [R0]” is displayed as the program name in the ladder program name display area 320.

図3は、一般的なラダープログラムである。図3では、接点X0がONすると、コイルMCS0がONする。接点X1がONすると、コイルY100がONし、接点X2がONすると、コイルY101がONするようなプログラムとなっている。   FIG. 3 shows a general ladder program. In FIG. 3, when the contact X0 is turned on, the coil MCS0 is turned on. The program is such that when the contact X1 is turned on, the coil Y100 is turned on, and when the contact X2 is turned on, the coil Y101 is turned on.

図4は、図3のラダープログラムの編集後、上書き保存動作を行った場合に、プログラミング装置によって、ラダープログラム名の表示領域320に、プログラム名称として、“TEST[R1]”が表示されている表示例である。   In FIG. 4, when the overwrite saving operation is performed after editing the ladder program of FIG. 3, “TEST [R1]” is displayed as the program name in the ladder program name display area 320 by the programming device. It is a display example.

ユーザにてラダープログラムを表示する領域300に対し、既存ラダープログラムの編集を行い、ユーザにて上書き保存処理が行われると、新規ファイルとして図2に示すラダープログラム名称入力エリア210に入力したラダープログラム名の末尾に、図6に示す現在のラダープログラムの保存カウント数を表示するエリア611の保存カウント数を付加したラダープログラム名で保存する。   When the user edits the existing ladder program in the area 300 where the ladder program is displayed, and the user performs overwrite save processing, the ladder program input to the ladder program name input area 210 shown in FIG. 2 as a new file. The program is saved with the name of the ladder program with the saved count number of the area 611 displaying the saved count number of the current ladder program shown in FIG.

この処理によって、図3に示す現在編集中のラダープログラム名の表示領域320に表示されていたプログラム名称の“TEST[R0]”が、保存後には、図4に示す現在編集中のラダープログラム名の表示領域320表示されるプログラム名称の“TEST[R1]”となる。   By this processing, the program name “TEST [R0]” displayed in the currently edited ladder program name display area 320 shown in FIG. 3 becomes the name of the ladder program currently being edited shown in FIG. The display area 320 of the program name “TEST [R1]” is displayed.

上記処理によって、ユーザは意識することなく図3に示されているプログラム名称“TEST[R0]”のラダープログラムを保護することができる。即ち、ラダープログラムの作成、編集を行った後に、ユーザが見かけ上、上書き保存を行っても、図3に示されるプログラム名称“TEST[R0]”のラダープログラムは、プログラム名称の“TEST[R1]”として、上書きされることが無く、保護されるのである。   Through the above processing, the ladder program with the program name “TEST [R0]” shown in FIG. 3 can be protected without the user being aware of it. That is, even if the user apparently overwrites after creating and editing the ladder program, the ladder program with the program name “TEST [R0]” shown in FIG. ] ”Is protected without being overwritten.

図4では、プログラム名称の“TEST[R1]”は、ユーザーが指定した“TEST”に対して、プログラミング装置が演算によって、“[R1]”を生成して、付加、追加したものである。   In FIG. 4, the program name “TEST [R1]” is obtained by adding and adding “[R1]” to the “TEST” specified by the user by the programming device by calculation.

図6、図12の詳細は後述する。   Details of FIGS. 6 and 12 will be described later.

次に、管理テーブルの作成の動作について、説明する。   Next, the management table creation operation will be described.

図8は管理テーブルの表示例である。ラダープログラム間の差異を容易に管理するために、編集、修正の前後の関係を視覚的に、一目で把握できるように管理テーブルを使用する。   FIG. 8 is a display example of the management table. In order to easily manage differences between ladder programs, a management table is used so that the relationship before and after editing and modification can be grasped visually.

管理テーブル領域800は管理項目810、保存時変更点を表示するエリア820、空きスペースエリア830を有する。
図3に示すラダープログラムを新規作成し、図4に示されるラダープログラムとして保存する。
The management table area 800 includes a management item 810, an area 820 for displaying a change point at the time of saving, and an empty space area 830.
A new ladder program shown in FIG. 3 is created and saved as the ladder program shown in FIG.

この保存動作によって、図12に示す管理テーブルを更新する処理1210が起動して、新規管理テーブルを作成する。図12に示す管理テーブルを更新する処理1210が図6に示す既存管理テーブルの保管先のパスを入力するエリア641に入力されているパスから図8の管理テーブルを検索する。   By this saving operation, a process 1210 for updating the management table shown in FIG. 12 is activated to create a new management table. The process 1210 for updating the management table shown in FIG. 12 searches the management table in FIG. 8 from the path entered in the area 641 for entering the storage destination path in the existing management table shown in FIG.

検索したテーブルに対し、図7に示す管理項目720でユーザが指定した管理項目に関する図3のラダープログラムと図4のラダープログラムの差異、管理内容を図8で示される表示例を提供できるデータを有する管理テーブルに出力し保存する。保存後、図8の管理テーブルは新規変更点エリア840が追加された図9の管理テーブルとなる。   For the retrieved table, the difference between the ladder program in FIG. 3 and the ladder program in FIG. 4 regarding the management item specified by the user in the management item 720 shown in FIG. 7 and the data that can provide the display example shown in FIG. Output and save to the management table. After saving, the management table of FIG. 8 becomes the management table of FIG. 9 to which the new change area 840 has been added.

また、図12に示す上書き保存、管理テーブル作成更新を行う処理1210が図6に示す既存管理テーブルの保管先のパスを入力するエリア641に入力されているパスから管理テーブルを検索できなかった場合、上書き保存、管理テーブル作成・更新を行う処理1210が新規管理テーブルを作成し、図7に示す管理項目720でユーザが指定した管理項目に関する図3のラダープログラムと図4のラダープログラムとの差異、管理内容を管理テーブルに出力し保存する。   In addition, when the process 1210 for performing overwrite storage and management table creation / update shown in FIG. 12 cannot retrieve the management table from the path entered in the area 641 for entering the storage path of the existing management table shown in FIG. , Overwrite storage, management table creation / update processing 1210 creates a new management table, and the difference between the ladder program of FIG. 3 and the ladder program of FIG. 4 regarding the management item specified by the user in the management item 720 shown in FIG. The management contents are output to the management table and saved.

保存された管理テーブルは図9の表示例となる。保存後、図6に示す現在のラダープログラムの保存カウント数を表示するエリア611のカウント数を1加算する。   The stored management table is a display example of FIG. After the saving, 1 is added to the count number in the area 611 displaying the saved count number of the current ladder program shown in FIG.

上記処理によってユーザは意識することなく管理テーブルを更新することができる。図6、図7、図12は後述する。   With the above processing, the management table can be updated without the user being aware of it. 6, 7 and 12 will be described later.

上記処理によってユーザは意識することなく管理テーブルを更新することができる。ラダープログラムの編集内容を管理テーブルに表示することによって、ユーザは視覚的にラダープログラムの差異を把握することができる。また、管理テーブルに変更日やプログラマブルコントローラのハードウェア・ソフトウェアバージョンを出力し記録することより、作成時の開発環境を把握することができ、今後の定期的な保守メンテナンスをスムーズに行うことができる。   With the above processing, the management table can be updated without the user being aware of it. By displaying the edited contents of the ladder program in the management table, the user can visually grasp the difference in the ladder program. In addition, by outputting the change date and the hardware / software version of the programmable controller in the management table and recording them, the development environment at the time of creation can be grasped, and future periodic maintenance can be performed smoothly. .

図9の管理テーブルの実施例では、変更日として、[2010/11/20」の記載が例示されている。しかしながら、この例示に限定されるものではなく、変更された時間に関する情報をプログラマブルコントローラ、またはプログラミング装置から取得して、管理テーブルとして、入力、記憶、記録、保存されるものでも良い、例えば、月日に限らず、日時、分、秒などの短時間の時間間隔を意味する時間情報であっても良い。   In the example of the management table in FIG. 9, “2010/11/20” is exemplified as the change date. However, the present invention is not limited to this example, and information regarding the changed time may be acquired from a programmable controller or a programming device and input, stored, recorded, and saved as a management table. It may be time information that means a short time interval such as date, minutes, seconds, etc., not limited to days.

なお、これらの情報は、図1、図15には、図示していないが、前記プログラマブルコントローラを構成するハードウェアに関する固有の情報を読出し、前記管理テーブルに入力する手段としての固有情報入力手段を設けるようにするものであっても良い。   Although not shown in FIGS. 1 and 15, these pieces of information are provided with specific information input means as means for reading out specific information related to the hardware constituting the programmable controller and inputting it into the management table. It may be provided.

例えば、プログラミング装置に設けた前記固有情報入力手段が、前記プログラマブルコントローラとの通信を行う通信手段を介して、前記プログラマブルコントローラからハードウェアに関する情報を得て、管理テーブルを表示できるデータ領域に入力、記憶、記録、保存するものであっても良い。   For example, the unique information input means provided in the programming device obtains information about the hardware from the programmable controller via the communication means that communicates with the programmable controller, and inputs it to a data area where a management table can be displayed, You may memorize | store, record, and preserve | save.

また、例えば、前記プログラマブルコントローラのハードウェアに関する情報を、前記プログラマブルコントローラの主記憶装置1520、補助記憶装置1530などの所定の記憶領域に書込み、記憶、記録、保存しておき、この所定の記憶領域を前記プログラミング装置に設けた前記固有情報入力手段が、前記プログラマブルコントローラとの通信を行う通信手段を介して、読出し、参照して、管理テーブルを表示できるデータ領域に入力、記憶、記録、保存するものであっても良い。   Further, for example, information related to the hardware of the programmable controller is written, stored, recorded, and saved in a predetermined storage area such as the main storage device 1520 and the auxiliary storage device 1530 of the programmable controller. The unique information input means provided in the programming device reads, references, and inputs, stores, records, and saves the management table in the data area through the communication means that communicates with the programmable controller. It may be a thing.

または、例えば、前記プログラマブルコントローラのハードウェアに関する情報を、通信手段を介して、前記プログラミング装置に出力するプログラムが前記プログラマブルコントローラで動作できるように設けておき、前記プログラミング装置からの出力を要求する信号、指令、要求に対応して、前記プログラミング装置に出力するプログラムが起動、動作して、これらの情報を前記プログラミング装置に出力するようにするものであっても良い。   Alternatively, for example, a signal that requests information from the programming device by providing information related to the hardware of the programmable controller so that a program to be output to the programming device can be operated by the programmable controller via communication means. In response to a command or request, a program to be output to the programming device may be activated and operated to output the information to the programming device.

そして、このプログラムによる出力を前記固有情報入力手段が、前記プログラマブルコントローラとの通信を行う通信手段を介して、読出し、参照して、管理テーブルを表示できるデータ領域に入力、記憶、記録、保存するものであっても良い。   Then, the unique information input means reads out and refers to the output from this program via the communication means for communicating with the programmable controller, and inputs, stores, records, and saves the data in the data area where the management table can be displayed. It may be a thing.

なお、上述の「前記プログラマブルコントローラのハードウェアに関する情報」は、これに限定されるものではなく、後述するが、CPUや、マイコンを制御するソフトウェアである「ファームウェア」、ハードウエアの基本的な制御をするためのソフトウェアの固有の情報に関するものの情報であっても良い。   The above-mentioned “information about the hardware of the programmable controller” is not limited to this, but will be described later, “firmware” that is software for controlling the CPU and microcomputer, and basic control of hardware. It may be information related to information unique to the software for performing.

また、図9の管理テーブルでは、「CPU HARD.REV」との欄があり、「Ver.0132」などのバージョン情報が表示されている。これは、図9の管理テーブルの「CPU HARD.REV」との表示欄に、「Ver.0132」などのバージョン情報が表示できるように、データの記憶領域に記憶、記録、保存されるものである。   In the management table of FIG. 9, there is a column “CPU HARD.REV”, and version information such as “Ver.0132” is displayed. This is stored, recorded, and saved in the data storage area so that version information such as “Ver.0132” can be displayed in the display column “CPU HARD.REV” in the management table of FIG. is there.

しかしながら、この「CPU HARD.REV」の欄の例示する前記プログラマブルコントローラの前記CPU1510のバージョン情報に限定されるものではない。   However, the present invention is not limited to the version information of the CPU 1510 of the programmable controller exemplified in the “CPU HARD.REV” column.

例えば、通信インターフェース1560が通信処理を実行できるように制御を行う通信用コントローラ、または通信マイクロコンピュータ(または、通信マイコン)を有する場合に、この通信用コントローラ、または通信マイクロコンピュータのバージョン情報を前記固有情報入力手段、前記固有情報取得手段が読み出し、または取得して、図9の管理テーブルに設けられた表示欄に表示できるように、データ領域に記憶、記録、書き込み、保存されるものでも良い。   For example, when the communication interface 1560 has a communication controller or a communication microcomputer (or communication microcomputer) that performs control so that communication processing can be executed, the version information of the communication controller or communication microcomputer is specified as the specific information. The information input means and the unique information acquisition means may be read out or acquired and stored, recorded, written, and saved in the data area so that they can be displayed in the display column provided in the management table of FIG.

当然ながら、前記CPU1510、前記通信インターフェース1560が通信処理を実行できるように制御を行う通信用コントローラ、または通信マイクロコンピュータに限らず、前記プログラマブルコントローラを構成するハードウェアの固有の情報に関するものを読み出し、取得して、図9の管理テーブルで表示できるように、データ領域に記憶、記録、書き込み、保存されるものでも良い。   Naturally, the CPU 1510, the communication interface that controls the communication interface 1560 so that the communication process can be executed, or the communication microcomputer, not limited to the information related to the specific information of the hardware constituting the programmable controller, The data may be stored, recorded, written, and saved in the data area so that it can be acquired and displayed in the management table of FIG.

なお、前述では、ハードウェアの固有の情報として、例示しているが、ソフトウェアに関する情報であっても良い。   In the above description, information specific to hardware is exemplified, but information related to software may be used.

例えば、前記CPU1510を制御するソフトウェアとして、ファームウェアと呼ばれるものがある。このファームウェアの固有の情報に関するものを読み出し、取得して、図9の管理テーブルで表示できるように、データ領域に記憶、記録、書き込み、保存されるものでも良い。   For example, software that controls the CPU 1510 includes what is called firmware. The information related to the unique information of the firmware may be read out, acquired, and stored, recorded, written, and saved in the data area so that it can be displayed in the management table of FIG.

勿論、この「ファームウェア」との名称に限定されるものではなく、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものであっても良い。   Of course, the name is not limited to “firmware”, and may be related to information unique to software for basic control of hardware.

また、前記固有情報入力手段は、前記プログラマブルコントローラを構成するハードウェアに関する固有の情報の読出し手段と、前記管理テーブルに入力する手段の両方を実行するとの例示を記載している。この点についても、一緒ではなく、別々の構成、手段とするものであっても良い。   In addition, the specific information input unit describes an example in which both the reading unit for specific information regarding the hardware configuring the programmable controller and the unit for inputting to the management table are executed. Also in this respect, it is possible to use different configurations and means instead of the same.

即ち、前記プログラマブルコントローラを構成するハードウェアに関する固有の情報を読出す固有情報取得手段と、読出された固有情報を前記管理テーブルの表示を行うデータ領域に入力する固有情報入力手段とを別の構成手段として、実現、実行、構成するものであっても良い。   In other words, the unique information acquisition means for reading the unique information about the hardware constituting the programmable controller and the unique information input means for inputting the read unique information to the data area for displaying the management table are different configurations. As means, it may be realized, executed and configured.

これらのハードウェアに関する固有の情報、または、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものを管理テーブルで表示できるように、データ領域に記憶、記録、書き込み、保存されていると、以下のような利点を得られるものと予想される。   Stored, recorded, written, and saved in the data area so that the management table can display information specific to these hardware or software specific information for basic hardware control. The following advantages are expected to be obtained.

それは、図9の実施例において、「2010/11/13」の“TEST[R00].PRJ”が「2010/11/20」の変更日に、“TEST[R01].PRJ”に変更された。   In the embodiment of FIG. 9, “TEST [R00] .PRJ” of “2010/11/13” was changed to “TEST [R01] .PRJ” on the change date of “2010/11/20”. .

この「2010/11/20」の変更日の変更内容は、「回路No.243」、「回路No.243」、「停電記憶エリア」、「IPアドレス」であると図9の管理テーブルからは参照出来る。   The change contents of the change date of “2010/11/20” are “Circuit No. 243”, “Circuit No. 243”, “Power failure storage area”, and “IP address” from the management table of FIG. You can refer to it.

前記プログラマブルコントローラに変更後の“TEST[R01].PRJ”を実行させると、正常動作、若しくは、設計仕様を満たす動作をしないなど、所望の動作をしない場合がある。   If the programmable controller executes “TEST [R01] .PRJ” after the change, it may not perform a desired operation such as a normal operation or an operation that satisfies the design specifications.

この場合に、プログラムが正常動作を実行するものとして、変更されていても、前記CPU1510のバージョンの情報が異なるCPUの実装されたプログラマブルコントローラで、“TEST[R01].PRJ”を実行させたことで、所望の動作をしないことが予想される。   In this case, “TEST [R01] .PRJ” is executed by a programmable controller on which a CPU having a different version information of the CPU 1510 is mounted even if the program is changed to perform normal operation. Therefore, it is expected that the desired operation is not performed.

即ち、プログラマブルコントローラが正常動作しない、所望の動作をしないのは、「2010/11/20」の変更日の「回路No.243」、「回路No.243」、「停電記憶エリア」、「IPアドレス」での変更内容が原因ではなく、前記CPU1510のバージョンの情報が異なるCPUであることが原因であることも充分に予想されるものである。   That is, the programmable controller does not operate normally or does not perform the desired operation because “Circuit No. 243”, “Circuit No. 243”, “Cold out memory area”, “IP” It is fully anticipated that the cause is that the CPU 1510 has a different version information, not the change in the address.

このような場合には、図9に管理テーブルで、「CPU HARD.REV」の欄のプログラマブルコントローラのバージョン情報の違うことを見出せるので、正常動作しない、所望の動作をしない原因を、より早く発見することが可能となる。この点で、例えば、前記プログラマブルコントローラのメンテナンスなどが容易に実施可能となり、操作者の利便性、操作性などを従来よりも改善出来ることとなる。   In such a case, it can be found in the management table in FIG. 9 that the version information of the programmable controller in the “CPU HARD.REV” column is different, so that the cause that does not operate normally or does not perform the desired operation can be found sooner. It becomes possible to do. In this respect, for example, the maintenance of the programmable controller can be easily performed, and the convenience and operability of the operator can be improved as compared with the conventional case.

繰り返しとなるが、この点は、ハードウェアの固有の情報に関するものに限定されるものではなく、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものであっても同様である。これらの「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものが異なることを図9の管理テーブルに設けた表示欄から見出せるようにすることで、前記プログラマブルコントローラのメンテナンスなどが容易に実施可能となり、操作者の利便性、操作性などを従来よりも改善出来ることとなる。   To reiterate, this point is not limited to hardware specific information, but to “firmware”, software specific information for basic hardware control. Is the same. By making it possible to find from the display column provided in the management table of FIG. 9 that these “firmware” and software-specific information for basic control of hardware are different, Maintenance and the like can be easily performed, and the convenience and operability of the operator can be improved as compared with the conventional case.

更に、前述の実施例では、これらのハードウェアの固有の情報に関するもの、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものを、例えば、前記固有情報入力手段、固有情報取得手段が前記プログラマブルコントローラから読み出し、取得して、図9の管理テーブルの対応する表示欄に表示できるように、テータ領域に、記憶、記録、書き込み、保存されるものである。   Further, in the above-described embodiment, information relating to information unique to the hardware, “firmware”, information relating to software unique information for basic hardware control, for example, the unique information input means The unique information acquisition means is stored, recorded, written and stored in the data area so that it can be read out from the programmable controller, acquired, and displayed in the corresponding display field of the management table of FIG.

これらの実行手段が備わっていないプログラミング装置では、ユーザが、これらの情報を、各々確認したり、見つける必要があり、操作性としては、前記実施例と比較すると、良いものとは言えない。   In a programming device that does not include these execution means, the user needs to check or find each of these pieces of information, and the operability is not as good as that of the above embodiment.

これらの点で、前記実施例では、図9の管理テーブルが表示でき、そして、その管理テーブルをプログラムの変更と対応させて、表示できるので、操作者の操作性の向上に大きく寄与するものである。   In these respects, in the above-described embodiment, the management table of FIG. 9 can be displayed, and the management table can be displayed in correspondence with the change of the program, which greatly contributes to the improvement of the operability for the operator. is there.

ここで、「その管理テーブルをプログラムの変更と対応させて、表示できる」としているとは、前記ファイル保存手段によって保存が行われる際に、前記ファイル名文字列付加手段によって文字列が付加された前記ファイル名と文字列からなる名称が、図9の管理テーブルに表示できる欄を設けて、表示すること、表示できるようにデータ領域に記憶、記録、書き込み、保存されるようになっている構成のことなども含むのである。   Here, “the management table can be displayed in correspondence with the change of the program” means that the character string is added by the file name character string adding unit when the file storing unit stores the file. The file name and the character string name are provided with a column that can be displayed in the management table of FIG. 9, and can be displayed and stored, recorded, written, and saved in the data area so that it can be displayed. It also includes such things.

これは、例えば、図9で、プログラム名の“TEST[R00].PRJ”に対応させて、変更内容、変更日、「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報が表示できるようになっている。そして、プログラム名の“TEST[R01].PRJ”に対応させて、変更内容、変更日、「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報がが表示できるようになっている構成によって、操作者の操作性、利便性向上が図れていることを特徴とするものである。   This corresponds to, for example, the program name “TEST [R00] .PRJ” in FIG. 9, the change contents, the change date, the column “CPU HARD.REV” (or hardware specific information, “ "Firmware", information related to software-specific information for basic hardware control) can be displayed. Then, in correspondence with the program name “TEST [R01] .PRJ”, change contents, change date, “CPU HARD.REV” column (or hardware specific information, “firmware”, hardware basics The information that is related to the software-specific information for performing general control) can be displayed, thereby improving the operability and convenience for the operator. .

前述の繰り返しとなるが、本発明の前記実施例では、図9の管理テーブルの表示のように、ファイル名と文字列の名称であるプログラム名の“TEST[R01].PRJ”などに対応させて、変更内容、変更日、「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報が表示できるようになっている。   As described above, in the embodiment of the present invention, as shown in the management table of FIG. 9, the file name and the program name “TEST [R01] .PRJ”, which is the name of the character string, are associated. Change contents, change date, “CPU HARD.REV” column (or hardware specific information, “firmware”, software specific information for basic hardware control) Information can be displayed.

この点で、“TEST[R01].PRJ”などのプログラムでプログラマブルコントローラが所望の動作をしないなどの場合に、前記変更内容の欄に記載されたプログラムへの変更内容が原因で、所望の動作をしないのか、それとも、プログラマブルコントローラの動作環境が変わったことが原因で、所望の動作をしないのであるかの判別に役立つものである。   In this regard, when the programmable controller does not perform a desired operation in a program such as “TEST [R01] .PRJ”, the desired operation is caused by the change contents to the program described in the change contents column. This is useful for determining whether or not a desired operation is not performed due to a change in the operating environment of the programmable controller.

前記「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報は、一般には、表示されることが少なく、表示用のプログラム、ソフトウェアを動作させて、表示させる、または参照されるように出来るものである。   Information in the column of “CPU HARD.REV” (or information specific to hardware, “firmware”, software-specific information for basic hardware control) is generally displayed. The display program and software can be operated to be displayed or referred to.

または、上記の情報の内で、例えば、CPU、マイコンのバージョン情報については、プログラマブルコントローラの筐体、ケースを開けて、これらCPU、マイコンの表面に印字、刻印されたバージョン情報を直接読取る、参照することで、確認することが出来る。   Or, among the above information, for example, for the version information of the CPU and microcomputer, the case and the case of the programmable controller are opened, and the version information printed and stamped on the surface of the CPU and microcomputer is directly read. This can be confirmed.

しかし、プログラマブルコントローラの筐体、ケースを開けることが、手間であるし、困難である場合もある。または、CPU,マイコンの表面には、場合によっては、冷却用のフィン、放熱器が設けられていると、現実問題として、CPU、マイコンの表面の印字、刻印などを直接読取ることが困難である場合が多いと予想される。   However, it may be troublesome and difficult to open the casing and case of the programmable controller. Or, if the cooling fins and heatsinks are provided on the surfaces of the CPU and the microcomputer in some cases, it is difficult to directly read the printing and engraving on the surface of the CPU and the microcomputer as a real problem. Many cases are expected.

また、これらのCPU,マイコンのバージョン情報などは、例えば仕様書などに記載されているとは限らず、若しくは記載されていても、予告も無く変更となっている場合も有り得る。   In addition, the version information of the CPU and microcomputer is not always described in, for example, a specification document, or may be changed without notice even if described.

これは、CPU,マイコンのバージョン情報に限定されず、前記ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するものの情報でも同様のことが予想される。   This is not limited to the CPU and microcomputer version information, but the same applies to information specific to the hardware, "firmware", and information related to software specific information for basic hardware control. is expected.

以上のことを含めると、前述の実施例の図9の管理テーブルにこれらの「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報が表示されていることは、メンテンス時などにおいて、操作者にとって、より有用であり、操作性、作業性の効率の向上、改善に役立つものである。   Including the above, the “CPU HARD.REV” column (or hardware specific information, “firmware”, and basic hardware control are added to the management table of FIG. Information related to software-specific information) is more useful to the operator during maintenance, etc., and is useful for improving and improving the efficiency of operability and workability. is there.

更には、メンテンス時などにおいて、プログラマブルコントローラで動作させるプログラムが所望の動作をしないなどの場合に、操作者にとって、その原因がプログラムの変更によるものであると、思いがちである。その為、プログラムの変更内容を確認したり、更なる変更を行ったりすると、正常動作させるのが更に困難となると予想される。   Furthermore, when a program operated by a programmable controller does not perform a desired operation at the time of maintenance or the like, the operator tends to think that the cause is due to a change in the program. For this reason, it is expected that it will become more difficult to operate normally if the change contents of the program are confirmed or further changes are made.

これに対し、本発明の上記実施例であれば、図9の管理テーブルに、「CPU HARD.REV」の欄(または、ハードウェアの固有の情報、「ファームウェア」、ハードウェアの基本的な制御をするためのソフトウェアの固有の情報に関するもの)の情報が表示されている為、この表示されること自体が、操作者に、変更内容にのみ、近視眼的にとらわれるのを抑制し、別の要因としてのこれらの動作環境などを含む情報にも目を向けて、メンテナンス、作業、操作をするように、注意喚起するということも可能とするものである。   On the other hand, in the above embodiment of the present invention, the “CPU HARD.REV” column (or hardware specific information, “firmware”, basic hardware control is included in the management table of FIG. This information itself suppresses the operator from being perceived by myopia only in the contents of the change, which is another factor. It is also possible to call attention to information including these operating environments as well as to perform maintenance, work, and operations.

なお、上記実施例の内容にのみ限定されるものではなく、上記の管理テーブルの情報などが、ファイル名と文字列とを有する名称などと対応して、表示などされるようにするものであっても良いものである。   It should be noted that the information in the management table is not limited to the content of the above embodiment, and is displayed in correspondence with the name having a file name and a character string. It is good.

本実施例ではプログラミング装置においてラダープログラムの新規作成を行い、作成後上書き保存動作を行った場合に、管理テーブルを新規作成する例を説明する。   In this embodiment, a description will be given of an example in which a new management table is created when a ladder program is newly created in the programming device and an overwrite saving operation is performed after creation.

図5は、図1のプログラミング装置でラダープログラムが新規作成され、その出力装置50に表示された表示例である。プログラミング装置表示領域300は、ラダープログラムを表示する領域310、現在編集中のラダープログラム名の表示領域320を表示する領域を有する。   FIG. 5 is a display example in which a ladder program is newly created by the programming device of FIG. 1 and displayed on the output device 50. The programming device display area 300 has an area 310 for displaying a ladder program and an area for displaying a display area 320 for the name of the ladder program currently being edited.

図5においては、ラダープログラム名の表示領域320に、プログラム名称として、図2の新規ラダープログラム作成画面で入力した“TEST”が表示されている。図5のラダープログラムは、編集などによって、変更などが行われていない為、保存カウント数の文字列の”[R1]”などが付加されていない。   In FIG. 5, “TEST” input on the new ladder program creation screen of FIG. 2 is displayed as a program name in the ladder program name display area 320. Since the ladder program in FIG. 5 is not changed by editing or the like, the character string “[R1]” or the like of the stored count number is not added.

図3は、図5のラダープログラムの新規作成後、上書き保存動作を行った場合に、プログラミング装置によって、ラダープログラム名の表示領域320に、プログラム名称として、“TEST[R0]”が表示されている表示例である。   FIG. 3 shows that when the overwrite saving operation is performed after the ladder program shown in FIG. 5 is newly created, “TEST [R0]” is displayed as the program name in the ladder program name display area 320 by the programming device. This is a display example.

ユーザにてラダープログラムを表示する領域310のラダープログラムに対し編集を行い、ユーザにて保存処理が行われると、図12に示す上書き保存、管理テーブル作成・更新を行う処理1210が処理を開始し、図2に示すラダープログラム名称入力エリア210に入力したラダープログラム名の末尾に図6に示す現在のラダープログラムの保存カウント数を表示するエリア611の保存カウント数を付加したラダープログラム名で、前記編集の行われたラダープログラムを含むファイルを保存する。   When the user edits the ladder program in the area 310 where the ladder program is displayed and the user performs the save process, the process 1210 for overwriting and creating / updating the management table shown in FIG. 12 starts the process. The ladder program name in which the saved count number of the area 611 for displaying the saved count number of the current ladder program shown in FIG. 6 is added to the end of the ladder program name input in the ladder program name input area 210 shown in FIG. Save the file containing the edited ladder program.

図3では、プログラム名称の“TEST[R0]”は、ユーザが指定した“TEST”に対して、プログラミング装置が演算によって、“[R0]”を生成して、追加したものである。   In FIG. 3, the program name “TEST [R0]” is obtained by adding “[R0]” to the “TEST” specified by the user by the programming device by calculation.

保存後、図5に示す現在編集中のラダープログラム名の表示領域320は図3に示す現在編集中のラダープログラム名の表示領域320に示される表示となる。図6、図12の詳細は後述する。   After saving, the display area 320 of the ladder program name currently being edited shown in FIG. 5 becomes the display shown in the display area 320 of the name of the ladder program being edited shown in FIG. Details of FIGS. 6 and 12 will be described later.

次に、管理テーブルの作成の動作について、説明する。   Next, the management table creation operation will be described.

図5に示すラダープログラムを新規作成し、図3に示されるラダープログラムとして保存する。この保存動作によって、図12に示す管理テーブルを更新する処理1220が起動して、新規管理テーブルを作成する。   A new ladder program shown in FIG. 5 is created and saved as the ladder program shown in FIG. By this saving operation, a process 1220 for updating the management table shown in FIG. 12 is activated to create a new management table.

管理テーブルには、図7に示す管理項目720でユーザが指定した管理項目に関する図4のラダープログラムの管理内容を管理テーブルに出力し保存する。   In the management table, the management contents of the ladder program in FIG. 4 relating to the management item specified by the user in the management item 720 shown in FIG. 7 are output and stored in the management table.

新規作成された管理テーブルは図8となる。保存後、図6に示す現在のラダープログラムの保存カウント数を表示するエリア611のカウント数を1加算する。その結果、図3のプログラム名称と図8のプログラム名称が対応するようになる。上記処理によってユーザは意識することなく管理テーブルを新規作成することができる。   The newly created management table is shown in FIG. After the saving, 1 is added to the count number in the area 611 displaying the saved count number of the current ladder program shown in FIG. As a result, the program name in FIG. 3 corresponds to the program name in FIG. With the above processing, a new management table can be created without the user being aware of it.

図6は、図1のプログラミング装置の出力装置50に表示する上書き保存機能設定の表示例である。   FIG. 6 is a display example of the overwrite storage function setting displayed on the output device 50 of the programming device of FIG.

上書き保存機能設定表示領域600は、上書き処理時ラダープログラム名を変更する機能を有効にするチェックボックス610、上書き処理時ラダープログラム名を変更する機能を無効にするチェックボックス660、現在のラダープログラムの保存カウント数を表示するエリア611、現在のラダープログラムの保存カウント数を0にリセットするボタン612、管理テーブルの更新をする機能を有効にするチェックボックス620、管理テーブルの更新する機能を無効にするチェックボックス650、新規管理テーブルを使用するチェックボックス630、新規管理テーブルの管理項目内容を設定するボタン631、既存の管理テーブルを使用するチェックボックス640、既存管理テーブルの保管先のパスを入力するエリア641、上記設定した内容を編集中のラダープログラムに反映させるボタン670、上記設定した内容を編集中のラダープログラムに反映させないボタン680を有する。   The overwrite saving function setting display area 600 includes a check box 610 for enabling a function for changing a ladder program name during overwriting processing, a check box 660 for disabling a function for changing a ladder program name during overwriting processing, and the current ladder program. Area 611 for displaying the stored count number, a button 612 for resetting the stored count number of the current ladder program to 0, a check box 620 for enabling a function for updating the management table, and a function for updating the management table are disabled. Check box 650, check box 630 that uses a new management table, button 631 for setting the management item contents of the new management table, check box 640 that uses an existing management table, and an area for entering the path to store the existing management table 641, above Button 670 to reflect the settings you have made to the ladder program being edited, with a button 680 that is not reflected in the ladder program of editing the contents of the above-mentioned set.

図6に示す上書き保存機能設定表示領域600をプログラミング装置出力装置50に表示することにより、ユーザ独自の判断で設定することが可能となる。   By displaying the overwriting storage function setting display area 600 shown in FIG. 6 on the programming device output device 50, it is possible to set by the user's own judgment.

図7は、図1のプログラミング装置の出力装置50に表示する管理項目設定の表示例である。   FIG. 7 is a display example of management item settings displayed on the output device 50 of the programming device of FIG.

管理項目設定表示領域700は、管理項目の候補を表示するエリア710、現在設定されている管理テーブルにて管理する項目を表示するエリア720、管理する項目に追加するボタン730、管理する項目から削除するボタン740、上記管理項目に関する設定を反映させるボタン750、上記管理項目に関する設定を反映させないボタン760を有する。   The management item setting display area 700 is an area 710 for displaying candidates for management items, an area 720 for displaying items to be managed in the currently set management table, a button 730 to be added to the managed items, and a deletion from the managed items. A button 740 for reflecting the setting related to the management item, and a button 760 for reflecting the setting related to the management item.

管理項目設定表示領域700は、新規管理テーブル作成時のみ有効であり、既存の管理テーブルを使用する場合、管理項目は既存管理テーブルの管理項目が反映される。   The management item setting display area 700 is valid only when a new management table is created. When an existing management table is used, the management item reflects the management item of the existing management table.

管理項目設定表示領域700は、図6に示す新規管理テーブルの管理項目内容を設定するボタン631がクリックされると図1のプログラミング装置の出力装置50に表示する。   When the button 631 for setting the management item content of the new management table shown in FIG. 6 is clicked, the management item setting display area 700 is displayed on the output device 50 of the programming device of FIG.

図12は図3、図4、図5、図8、図9、図11、の表示例を表示するための処理フローチャート図である。   FIG. 12 is a processing flowchart for displaying the display examples of FIGS. 3, 4, 5, 8, 9, and 11.

本実施例における処理を行うために、まずは、保存カウンタを読み出す処理1200が現在のラダープログラムの保存カウント数を表示するエリア611の現在値を読み出す。続いて、上書き保存、管理テーブル更新を行う処理1210が上書き保存、管理テーブルを更新する。   In order to perform the process in the present embodiment, first, the process 1200 for reading the save counter reads the current value in the area 611 displaying the save count number of the current ladder program. Subsequently, a process 1210 for overwriting and updating the management table updates the overwriting and management table.

上書き保存、管理テーブル更新を行う処理1210の処理の詳細は図13に示しており、後述する。最後に保存カウンタを1加算する処理1220が保存カウンタを1加算する。   Details of the process 1210 for overwriting and updating the management table are shown in FIG. 13 and will be described later. Finally, the process 1220 of adding 1 to the storage counter adds 1 to the storage counter.

なお、上記説明では、保存カウンタを1加算するとの説明をしているが、これに限定されるものではなく、保存カウンタの値が更新されて、更新前と重複しない値とするものであれば良い。従って、「1加算」に限定されるものでなく、例えば、所定の数値を加算するものであっても良い。更には、初期値を適宜選択することで、加算ではなく、所定の数値を減算するものであっても良い。   In the above description, it is described that the storage counter is incremented by 1. However, the present invention is not limited to this, and the value of the storage counter is updated so that the value does not overlap with that before the update. good. Therefore, it is not limited to “1 addition”, and for example, a predetermined numerical value may be added. Furthermore, by selecting an initial value as appropriate, a predetermined numerical value may be subtracted instead of addition.

図13は上書き保存を行い、管理テーブルを更新する処理1210の処理の詳細なフローチャート図である。上書き保存時、プログラム名を変更して保存するか否か判断し(ステップ1310)、上書き処理時ラダープログラム名を変更する機能を無効にするチェックボックス660にチェックがあれば(ステップ1310−NO)、そのまま上書き保存を行う(ステップ1350)。上書き処理時ラダープログラム名を変更する機能を有効にするチェックボックス610にチェックがあれば(ステップ1310−YES)、既存ラダープログラムは上書きされず、新規ファイルとして図2に示すラダープログラム名称入力エリア210に入力したラダープログラム名の末尾に、図6に示す現在のラダープログラムの保存カウント数を表示するエリア611の保存カウント数を付加したラダープログラム名で保存する。なお、上書き処理時ラダープログラム名を変更する機能を無効にするチェックボックス660と上書き処理時ラダープログラム名を変更する機能を有効にするチェックボックス610の二項目は、両方にチェックがある、または両方にチェックがないということは存在しない。   FIG. 13 is a detailed flowchart of the process 1210 for overwriting and updating the management table. At the time of overwriting, it is determined whether or not the program name is changed (step 1310). If the check box 660 for disabling the function of changing the ladder program name at the time of overwriting is checked (step 1310-NO). The overwriting is performed as it is (step 1350). If the check box 610 for enabling the function of changing the ladder program name at the time of overwrite processing is checked (step 1310-YES), the existing ladder program is not overwritten and the ladder program name input area 210 shown in FIG. The ladder program name stored in the area 611 for displaying the current ladder program storage count number shown in FIG. It should be noted that both the check box 660 for disabling the function for changing the ladder program name during overwrite processing and the check box 610 for enabling the function for changing the ladder program name during overwrite processing are both checked or both. The fact that there is no check does not exist.

この点で、ユーザ操作によって、前記の「両方にチェックがある」ような入力を受付けないようにするようにしても良い。または「両方にチェックがない」場合には、警告表示を画面に判り易く表示して、チェックを要求するか、例えば、「OK」のボタン670が指示さても、次の処理を実行しないようにするようにしても良い。   In this regard, the user may not accept an input such as “there is a check on both”. Alternatively, if “both are not checked”, a warning display is displayed on the screen in an easy-to-understand manner and a check is requested or, for example, the “OK” button 670 is instructed so that the next process is not executed. You may make it do.

上書き保存処理終了後、管理テーブルへ更新するか否かを判断する(ステップ1330)。管理テーブルへ更新する機能を無効にするチェックボックス650にチェックがあればそのまま図13の処理は終了する(ステップ1330−NO)。管理テーブルへ更新する機能を有効にするチェックボックス620にチェックがあれば次に管理テーブル作成・更新を行う(ステップ1330−YES)。なお、管理テーブルへ更新する機能を無効にするチェックボックス650と管理テーブルへ更新する機能を有効にするチェックボックス620の二項目は、両方にチェックがある、または両方にチェックがないということは存在しない。   After the overwriting process is completed, it is determined whether or not to update the management table (step 1330). If the check box 650 for disabling the function for updating the management table is checked, the processing in FIG. 13 is terminated as it is (step 1330 -NO). If the check box 620 for enabling the function to update the management table is checked, the management table is created / updated (step 1330-YES). It should be noted that the two items of the check box 650 for disabling the function for updating to the management table and the check box 620 for enabling the function for updating to the management table are both checked or unchecked. do not do.

この点で、ユーザ操作によって、前記の「両方にチェックがある」ような入力を受付けないようにするようにしても良い。または「両方にチェックがない」場合には、警告表示を画面に判り易く表示して、チェックを要求するか、例えば、「OK」のボタン670が指示さても、次の処理を実行しないようにするようにしても良い。   In this regard, the user may not accept an input such as “there is a check on both”. Alternatively, if “both are not checked”, a warning display is displayed on the screen in an easy-to-understand manner and a check is requested or, for example, the “OK” button 670 is instructed so that the next process is not executed. You may make it do.

管理テーブルへ更新する機能を有効にするチェックボックス620にチェックがある場合、管理テーブルの作成・更新の処理を行う。新規管理テーブルを使用するか否か判断する(ステップ1340)。   When the check box 620 for enabling the function for updating to the management table is checked, the management table is created / updated. It is determined whether or not to use a new management table (step 1340).

新規管理テーブルを使用するチェックボックス630にチェックがある場合(ステップ1340−YES)、新規管理テーブルを作成する(ステップ1370)。新規管理テーブルを作成する場合、管理テーブルに出力される管理項目は図7に示す管理項目設定表示領域700の設定内容が反映される。   When the check box 630 that uses the new management table is checked (step 1340-YES), a new management table is created (step 1370). When creating a new management table, the management items output to the management table reflect the settings in the management item setting display area 700 shown in FIG.

既存の管理テーブルを使用するチェックボックス640にチェックがある場合(ステップ1340−NO)、既存管理テーブルの保管先のパスを入力するエリア641から既存の管理テーブルを検索する。検索できた場合(ステップ1360−YES)は検索した管理テーブルを使用し、検索できなかった場合(ステップ1360−NO)は新たに新規管理テーブルを作成する(ステップ1370)。   When the check box 640 that uses an existing management table is checked (step 1340 -NO), the existing management table is searched from the area 641 for inputting the storage path of the existing management table. If the search is successful (step 1360-YES), the searched management table is used. If the search is not successful (step 1360-NO), a new management table is created (step 1370).

その後、新規作成または既存の管理テーブルに対し、管理項目に対応した既存ラダープログラムと新規ラダープログラムの差異、新規ラダープログラムの管理内容を管理テーブルに更新する処理を行う(ステップ1380)。管理項目に対応した既存ラダープログラムと新規ラダープログラムの差異、新規ラダープログラムの管理内容を管理テーブルに更新する処理は図14に示しており、後述する。   Thereafter, the newly created or existing management table is updated to the management table with the difference between the existing ladder program corresponding to the management item and the new ladder program, and the management content of the new ladder program (step 1380). The difference between the existing ladder program corresponding to the management item and the new ladder program, and the process of updating the management contents of the new ladder program in the management table are shown in FIG. 14 and will be described later.

図14は、管理項目に対応した既存ラダープログラムと新規ラダープログラムの差異、新規ラダープログラムの管理内容を管理テーブルに更新する処理のフローチャート図である。処理開始時にプログラマブルコントローラの接続状態を確認する(ステップ1410)。   FIG. 14 is a flowchart of processing for updating the difference between an existing ladder program corresponding to a management item and a new ladder program and the management contents of the new ladder program in the management table. At the start of processing, the connection state of the programmable controller is confirmed (step 1410).

プログラマブルコントローラと接続状態であれば(ステップ1410-YES)プログラマブルコントローラのハードウェアバージョン・ソフトウェアバージョンを読み出す(ステップ1420)。その後、管理テーブルが新規作成されたものか判別する(ステップ1430)。   If it is connected to the programmable controller (step 1410-YES), the hardware version and software version of the programmable controller are read (step 1420). Thereafter, it is determined whether a management table is newly created (step 1430).

新規作成された管理テーブルであれば(ステップ1430−YES)、管理テーブルの先頭行に管理項目に対応した管理内容をプログラミング装置の主記憶装置50から読み出して管理テーブルに出力し、図14の処理を終了する(ステップ1450)。   If the management table is newly created (step 1430-YES), the management content corresponding to the management item is read from the main storage device 50 of the programming device in the first row of the management table and output to the management table. Is terminated (step 1450).

既存の管理テーブルであれば(ステップ1430−NO)、確認後、管理テーブル先頭行から参照し、管理内容が出力されているか確認する(ステップ1440)。   If it is an existing management table (step 1430-NO), after confirmation, it is referred from the first row of the management table, and it is confirmed whether the management contents are output (step 1440).

出力されていなければ(ステップ1440−NO)、参照した行に対し、管理項目に対応した既存ラダープログラムと新規ラダープログラムの差異、管理内容をプログラミング装置の主記憶装置50から読み出して管理テーブルに出力する(ステップ1470)。   If not output (step 1440-NO), the difference between the existing ladder program corresponding to the management item and the new ladder program corresponding to the management item and the management content are read from the main storage device 50 of the programming device and output to the management table. (Step 1470).

出力されていれば(ステップ1440−YES)、次の行を参照し(ステップ1460)、管理内容が出力されていない行を見つけるまで繰り返す。   If it has been output (step 1440-YES), the next line is referenced (step 1460), and the process is repeated until a line for which no management content is output is found.

本実施例はプログラミング装置とプログラマブルコントローラが接続時、未接続時のそれぞれの例を説明する。   In the present embodiment, each example when the programming device and the programmable controller are connected and when not connected will be described.

図10は管理テーブルの表示例である。   FIG. 10 is a display example of the management table.

図10の管理テーブル領域800は管理項目810、保存時変更点を表示するエリア820、空きスペースエリア830、新規更新内容表示エリア840、項目未出力エリア860を有する。   The management table area 800 of FIG. 10 has a management item 810, an area 820 for displaying a change point at the time of saving, a free space area 830, a new update content display area 840, and an item non-output area 860.

図11は図10の管理テーブルから更新された管理テーブルである。   FIG. 11 is a management table updated from the management table of FIG.

図11の管理テーブル領域800は管理項目810、保存時変更点を表示するエリア820、空きスペースエリア830、項目未出力エリア860を有する。   The management table area 800 of FIG. 11 has a management item 810, an area 820 for displaying a change point at the time of saving, an empty space area 830, and an item non-output area 860.

図14、管理項目に対応した既存ラダープログラムと新規ラダープログラムの差異、新規ラダープログラムの管理内容を管理テーブルに更新する処理時、ユーザが指定した管理テーブルの管理項目にプログラマブルコントローラのハードウェアバージョン、あるいはプログラマブルコントローラのソフトウェアバージョンなどのプログラマブルコントローラのハードウェア固有の情報が指定されている場合、図1、プログラミング装置の通信インターフェース60と図15、プログラマブルコントローラの通信インターフェース1560との間が接続状態であれば、図1、プログラミング装置の通信インターフェース60と図15、プログラマブルコントローラの通信インターフェース1560を介してプログラマブルコントローラを構成するハードウェアのハードウェアバージョン、プログラマブルコントローラのソフトウェアバージョンを読み出す。   FIG. 14, the difference between the existing ladder program corresponding to the management item and the new ladder program, the processing of updating the management content of the new ladder program to the management table, the hardware version of the programmable controller in the management item of the management table specified by the user, Alternatively, if hardware information specific to the programmable controller, such as the software version of the programmable controller, is specified, the communication interface 60 of FIG. 1, the communication interface 60 of the programming device and the communication interface 1560 of the programmable controller may be connected. 1, the programmable controller is configured via the communication interface 60 of the programming device and the communication interface 1560 of the programmable controller shown in FIG. 15. Hardware hardware version, read the software version of the programmable controller.

プログラマブルコントローラのハードウェアバージョン・ソフトウェアバージョンはプログラミング装置とプログラマブルコントローラの間であらかじめ決めてある通信手順を用いる。   The hardware version and software version of the programmable controller use a communication procedure determined in advance between the programming device and the programmable controller.

プログラミング装置からプログラマブルコントローラのそれぞれハードウェアバージョン・ソフトウェアバージョンを読み出すコマンドをプログラマブルコントローラに送信し、受信したプログラマブルコントローラは主記憶装置1520に格納されているハードウェアバージョン・ソフトウェアバージョンを送り返す。   A command for reading the hardware version and software version of each programmable controller from the programming device is transmitted to the programmable controller, and the received programmable controller sends back the hardware version and software version stored in the main memory 1520.

プログラミング装置が受信したら管理テーブルにハードウェアバージョン・ソフトウェアバージョンを出力する。   When the programming device receives it, it outputs the hardware version / software version to the management table.

図1、プログラミング装置の通信インターフェース60と図15、プログラマブルコントローラの通信インターフェース1560との間が未接続状態であれば、プログラマブルコントローラのハードウェアバージョン、プログラマブルコントローラのソフトウェアバージョンの項目は管理テーブルに出力せず、図11の管理テーブル表示例未出力項目860のように空白となる。   If the communication interface 60 of the programming device and FIG. 15 and the communication interface 1560 of the programmable controller are not connected, the items of the hardware version of the programmable controller and the software version of the programmable controller should be output to the management table. First, it is blank as in the management table display example non-output item 860 in FIG.

上記処理によって、管理テーブルを参照することによってプログラマブルコントローラの過去の接続状態を把握することができる。   Through the above processing, the past connection state of the programmable controller can be grasped by referring to the management table.

上記において、プログラマブルコントローラを構成するハードウェアのハードウェアバージョン、プログラマブルコントローラのソフトウェアバージョンと説明した。   In the above description, the hardware version of the hardware configuring the programmable controller and the software version of the programmable controller have been described.

このハードウェアのハードウェアバージョンとは、例えば、プログラマブルコントローラを制御する中央制御装置であるCPU、またはマイクロコンピュウータであるマイコンのバージョンに関する情報などがあげられる。   The hardware version of the hardware includes, for example, information related to a version of a CPU that is a central control device that controls a programmable controller or a microcomputer that is a microcomputer.

また、プログラマブルコントローラのソフトウェアバージョンについても、例えば、前記CPU,またはマイコンを制御するファームウェアなども含むものであっても良い。   Further, the software version of the programmable controller may include, for example, firmware for controlling the CPU or the microcomputer.

なお、上記にて、本発明に基づく実施例の説明を行ったが、文字通り実施例であって、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   In addition, although the embodiment based on the present invention has been described above, it is literally an embodiment, and it is possible to add, delete, and replace another configuration for a part of the configuration of each embodiment. It is.

10:CPU、20:主記憶装置、30:補助記憶装置、40:入力装置、50:出力装置、60:通信インターフェース60、1510:CPU、1520:主記憶装置、1530:補助記憶装置、1540:入力装置、1550:出力装置、1560:通信インターフェース、200:新規作成設定領域、210:ラダープログラム名称入力エリア、300:プログラミング装置表示領域、320:ラダープログラム名の表示領域、310:ラダープログラムを表示する領域、611:保存カウント数を表示するエリア、700: 管理項目設定表示領域、800:管理テーブル領域。   10: CPU, 20: main storage device, 30: auxiliary storage device, 40: input device, 50: output device, 60: communication interface 60, 1510: CPU, 1520: main storage device, 1530: auxiliary storage device, 1540: Input device 1550: Output device 1560: Communication interface 200: New creation setting area 210: Ladder program name input area 300: Programming device display area 320: Ladder program name display area 310: Ladder program display 611: Area for displaying the stored count number, 700: Management item setting display area, 800: Management table area.

Claims (6)

プログラマブルコントローラで動作するプログラムをプログラミングするプログラマブルコントローラ用プログラミング装置において、
既存のプログラムを有する既存ファイルを元にしてプログラムを作成、または編集する場合に、
前記プログラムの作成、または編集を行うプログラム作成編集手段と、
前記プログラム作成編集手段によって作成編集されたプログラムの保存時に、新規ファイルを作成し、前記既存ファイルのファイル名で保存するファイル保存手段と、
前記ファイル保存手段によって保存された前記ファイル名の末尾に文字列を付加するファイル名文字列付加手段と、
前記プログラマブルコントローラとの通信を行う通信手段と、
を有する
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
In a programming device for a programmable controller that programs a program that operates on a programmable controller,
When creating or editing a program based on an existing file with an existing program,
Program creation / editing means for creating or editing the program;
When saving the program created and edited by the program creation and editing means, a file saving means for creating a new file and saving it with the file name of the existing file;
File name character string adding means for adding a character string to the end of the file name stored by the file storage means;
A communication means for communicating with the programmable controller;
A programming device for a programmable controller, comprising:
請求項1に記載のプログラマブルコントローラ用プログラミング装置において、
前記ファイル保存手段によって保存されるファイルが有するプログラムに対する情報を管理する管理テーブルを有する管理テーブルファイルを作成する管理テーブルファイル作成手段を備え、
前記新規ファイルが有するプログラムの情報を前記管理テーブルに入力する、または既存ファイルが有するプログラムの情報と新規ファイルが有するプログラムの情報との差異に関する情報を前記管理テーブルに入力する管理情報入力手段を設ける
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
The programming device for a programmable controller according to claim 1,
A management table file creating means for creating a management table file having a management table for managing information on a program included in the file saved by the file saving means;
Management information input means is provided for inputting information on the program of the new file into the management table, or inputting information on the difference between the program information of the existing file and the program information of the new file into the management table. A programming device for a programmable controller.
請求項2に記載のプログラマブルコントローラ用プログラミング装置において、
前記管理情報入力手段によって前記管理テーブルに入力される情報が、
前記ファイル保存手段によって保存されるファイルのファイル名、
または、前記ファイル保存手段によってファイルが保存された日時、時間に関する情報、
または、前記プログラムを作成、または編集した操作者に関する情報、
の内の少なくとも1つを含む
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
The programming device for a programmable controller according to claim 2,
Information input to the management table by the management information input means is
The file name of the file stored by the file storage means;
Or information on the date and time when the file was saved by the file saving means,
Or information about the operator who created or edited the program,
A programming device for a programmable controller comprising at least one of the above.
請求項2に記載のプログラマブルコントローラ用プログラミング装置において、
前記ファイル保存手段によって新規ファイルの保存時に、前記プログラマブルコントローラを構成するハードウェアに関する固有の情報を読出し、前記管理テーブルに入力する固有情報入力手段
を設ける
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
The programming device for a programmable controller according to claim 2,
A programming device for a programmable controller, comprising: unique information input means for reading out unique information about hardware constituting the programmable controller and inputting it to the management table when a new file is saved by the file saving means.
請求項4に記載のプログラマブルコントローラ用プログラミング装置において、
前記管理情報入力手段によって前記管理テーブルに入力される情報が、
前記プログラマブルコントローラで動作する中央制御装置であるCPUのバージョンに関する情報、
または、前記CPUを制御するファームウェアに関する情報、
の内の少なくとも1つを含む
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
The programming device for a programmable controller according to claim 4,
Information input to the management table by the management information input means is
Information about the version of the CPU, which is a central controller operating on the programmable controller,
Or information on firmware controlling the CPU,
A programming device for a programmable controller comprising at least one of the above.
請求項1に記載のプログラマブルコントローラ用プログラミング装置において、
既存ファイルが有する既存のプログラムを元にしてプログラムを作成、または編集して新規ファイルとして保存された回数をカウントする保存回数カウント手段を備え、
前記ファイル名文字列付加手段で付加される前記文字列は、前記保存回数カウント手段から得られる保存カウント数とし、
前記保存回数カウント手段は、前記保存カウント数を用いて新規ファイルが保存された場合には、保存カウント数に所定の数値を加算する
ことを特徴とするプログラマブルコントローラ用プログラミング装置。
The programming device for a programmable controller according to claim 1,
A save number counting means for counting the number of times a program is created or edited based on an existing program that an existing file has and saved as a new file,
The character string added by the file name character string adding means is a save count obtained from the save count counting means,
The programming controller for a programmable controller, wherein the save count counting means adds a predetermined numerical value to the save count when a new file is saved using the save count.
JP2011166199A 2011-07-29 2011-07-29 Programming device for programmable controller Pending JP2013030034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011166199A JP2013030034A (en) 2011-07-29 2011-07-29 Programming device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011166199A JP2013030034A (en) 2011-07-29 2011-07-29 Programming device for programmable controller

Publications (1)

Publication Number Publication Date
JP2013030034A true JP2013030034A (en) 2013-02-07

Family

ID=47787010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011166199A Pending JP2013030034A (en) 2011-07-29 2011-07-29 Programming device for programmable controller

Country Status (1)

Country Link
JP (1) JP2013030034A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7155454B1 (en) * 2021-06-08 2022-10-18 三菱電機株式会社 Programmable logic controller, terminal device, program management system, program management method and program
US11921496B2 (en) 2019-02-21 2024-03-05 Mitsubishi Electric Corporation Information processing apparatus, information processing method and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004094432A (en) * 2002-08-30 2004-03-25 Yamatake Corp Control program creation supporting system and method
JP2006330867A (en) * 2005-05-24 2006-12-07 Keyence Corp Management system of program change history, program editing device applied to the system, and program
JP2009175885A (en) * 2008-01-22 2009-08-06 Canon Inc Information processing apparatus, information processing system, information processing method, and information processing program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004094432A (en) * 2002-08-30 2004-03-25 Yamatake Corp Control program creation supporting system and method
JP2006330867A (en) * 2005-05-24 2006-12-07 Keyence Corp Management system of program change history, program editing device applied to the system, and program
JP2009175885A (en) * 2008-01-22 2009-08-06 Canon Inc Information processing apparatus, information processing system, information processing method, and information processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11921496B2 (en) 2019-02-21 2024-03-05 Mitsubishi Electric Corporation Information processing apparatus, information processing method and computer readable medium
JP7155454B1 (en) * 2021-06-08 2022-10-18 三菱電機株式会社 Programmable logic controller, terminal device, program management system, program management method and program

Similar Documents

Publication Publication Date Title
JP2009541899A (en) Customizable parameter user interface
JPWO2012157082A1 (en) Parameter setting device and parameter setting system
JP2008108082A (en) Process control system
JP2013030034A (en) Programming device for programmable controller
JP2019046052A (en) Control system, development support device, and control method
JP2006338591A (en) Method, program for use restriction of software and recording medium
JP2016081301A (en) Programmable logic controller, system, control method, and program
US9129275B2 (en) POS device
JP2004227175A (en) Maintenance system
JP5037088B2 (en) Document creation system
JP2009223471A (en) Simulation system
TW201243713A (en) Human machine interface device and interface integration method thereof
JP2007156712A (en) Information processor and control method therefor, program
JP2008158634A (en) Information processing apparatus, software trace data recording method and software trace data recording program
JP2015148982A (en) Operation procedure flow update device, method, and program
JP2019128867A (en) Design information managing system, design information managing method, and program
JP2018128919A (en) Work plan creation system, work plan creation method and work plan creation program
JP2008077580A (en) Document management system
JP2005316778A (en) Plant monitoring controller
JP2012108740A (en) Input support method and program
JP2011238094A (en) Field equipment
JP6573584B2 (en) Security system and program file update method
JP2007025742A (en) Tax payment system
JP2669143B2 (en) Programmable controller programming device
JP2001325130A (en) Film management device and its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151006