JP2006146670A - Programming device, symbol automatic registration method, program and recording medium - Google Patents
Programming device, symbol automatic registration method, program and recording medium Download PDFInfo
- Publication number
- JP2006146670A JP2006146670A JP2004337446A JP2004337446A JP2006146670A JP 2006146670 A JP2006146670 A JP 2006146670A JP 2004337446 A JP2004337446 A JP 2004337446A JP 2004337446 A JP2004337446 A JP 2004337446A JP 2006146670 A JP2006146670 A JP 2006146670A
- Authority
- JP
- Japan
- Prior art keywords
- symbol
- name
- input
- database
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、プログラマブルコントローラのプログラミング装置およびシンボル自動登録方法に関する。 The present invention relates to a programming device for a programmable controller and a symbol automatic registration method.
従来、入出力機器の先頭アドレスにシンボル名を付与するシンボル登録は、アドレス毎にシンボル名を対応させている(例えば、非特許文献1参照)。
図8において、110は入力装置(キーボード)、120は表示装置、130は主制御部(CPU)、140は記憶領域(メモリ)、150はシンボルを管理しているシンボルデータベース、160はプログラマブルコントローラとなっている。また、121および122は、それぞれ表示装置120に表示される構成情報画面およびシンボル登録画面である。141および142は、それぞれ記憶領域(メモリ)140上の構成情報記憶領域およびンボル登録情報記憶領域である。
図8において、主制御部(CPU)130によって、シンボルデータベース150を読み込み、登録されているシンボルと対応するメモリアドレスをシンボル登録情報記憶領域142に展開する。そして、通信ケーブルで接続されたプログラマブルコントローラ160から、構成情報として定義したファイルを読み込み、構成情報記憶領域141に展開する。これら展開された情報は、表示装置120に表示される。すなわち、構成情報記憶領域141は構成情報画面121として、シンボル登録情報記憶領域142はシンボル登録画面122として表示される。
図9において、まず、入力装置(キーボード)110で、表示装置120に表示した構成情報画面121から機能モジュールの構成情報を参照し、シンボル登録画面122より、機能モジュールに対するシンボル名称と対応するメモリアドレスを入力する(Step1)。次に、入力されたシンボル名称とメモリアドレスがシンボル登録情報記憶領域142に書き込まれる(Step2)。最後に、シンボル登録画面122から保存操作を行うと、シンボル登録情報記憶領域に格納されているシンボル名称と対応するメモリアドレスがシンボルデータベース150に書き込まれる(Step3)。
このように、従来のプログラマブルコントローラのシンボル登録方法は、プログラマブルコントローラの機能モジュールの構成情報画面121を参照しながら、シンボル登録画面122を使用し、機能モジュールに対してシンボル名称と対応するメモリアドレスを手入力で入力するという手順がとられていた。
Conventionally, in symbol registration for assigning a symbol name to the head address of an input / output device, the symbol name is associated with each address (see, for example, Non-Patent Document 1).
In FIG. 8, 110 is an input device (keyboard), 120 is a display device, 130 is a main control unit (CPU), 140 is a storage area (memory), 150 is a symbol database for managing symbols, 160 is a programmable controller, It has become.
In FIG. 8, the main control unit (CPU) 130 reads the
In FIG. 9, first, the configuration information of the functional module is referred to from the
As described above, the conventional programmable controller symbol registration method uses the
一方、シンボル名を基準アドレスとして相対アドレスを付加したシンボルオフセット形式で表現することで、制御プログラム中に使用する全ての入出力機器に対応してシンボル名を登録する必要がなく、入力作業をより簡便にすることができる技術が開示されている(例えば、特許文献1参照)。
従来のシンボル登録は、上記いずれの方法によっても、シンボル名称とそれに割り付けるレジスタ名称を直接手入力する作業が少なからず発生する。そのため、割り付けるレジスタに間違いが発生したり、登録するのに時間がかかったりするという問題があった。 また、プログラミング完了後に機能モジュールの増設や入れ替えを行うと、各機能モジュールの先頭アドレスが変わり、シンボル登録作業をやり直す必要があった。
本発明はこのような問題点に鑑みてなされたものであり、プログラマブルコントローラの各スロットに装着された機能モジュールの名称と、各機能モジュールに割り付けられた先頭メモリアドレスを読み込み、機能モジュール名称をシンボル名として、先頭メモリアドレスをシンボルに割り付けるメモリアドレスとすることにより、自動的にシンボルをデータベースに登録することができる方法を提供することを目的とする。
Conventional symbol registration requires not only a few manual operations for directly inputting a symbol name and a register name to be assigned to the symbol name. For this reason, there are problems that an error occurs in the register to be allocated and that it takes time to register. In addition, if function modules are added or replaced after programming is completed, the start address of each function module changes, and it is necessary to perform symbol registration again.
The present invention has been made in view of such problems, and reads the name of a functional module installed in each slot of the programmable controller and the head memory address assigned to each functional module, and designates the functional module name as a symbol. An object of the present invention is to provide a method capable of automatically registering a symbol in a database by using a first memory address as a memory address assigned to the symbol as a name.
上記問題を解決するため、本発明は、次のようにしたのである。
請求項1に記載の発明は、プログラマブルコントローラの各スロットに装着された機能モジュールの名称と各機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスとが定義される構成情報ファイルが記憶されたプログラマブルコントローラのシンボル自動登録方法であって、前記プログラマブルコントローラに接続されるとともに、前記プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースが記憶された記憶手段を備えたプログラミング装置におけるシンボル登録方法において、前記構成情報ファイルに基づいて、前記機能モジュールの名称がシンボル名称として前記シンボルデータベースに登録され、前記機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスが前記シンボル名称に対応するメモリアドレスとして前記シンボルデータベースに登録される、という手順で処理されることを特徴とするものである。
請求項2に記載の発明は、プログラマブルコントローラの各スロットに装着された機能モジュールの名称と各機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスとが定義される構成情報ファイルが記憶されたプログラマブルコントローラのプログラミング装置であって、前記プログラマブルコントローラに接続されるとともに、前記プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースが記憶された記憶手段を備えたプログラミング装置におけるシンボル登録方法において、入出力点数と入出力サイズと入出力名称の情報からなる入出力情報と前記機能モジュールの名称とがあらかじめ登録された入出力情報データベースが記憶され、前記構成情報ファイルから前記機能モジュールの名称と割り付けられた先頭メモリアドレスが読み込まれ、前記読み込まれた機能モジュールの名称に基づいて前記入出力情報データベースが検索され、前記検索されて読み込まれた入出力情報の入出力名称に基づいて前記入出力名称がシンボル名称として前記シンボルデータベースに登録され、前記検索されて読み込まれた入出力情報の入出力点数と入出力サイズに基づいて前記シンボル名称に対応するメモリアドレスが前記シンボルデータベースに登録される、という手順で処理されることを特徴とするものである。
In order to solve the above problem, the present invention is as follows.
The invention according to
The invention according to
請求項3に記載の発明は、プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースを記憶した記憶手段を備えるとともに、前記プログラマブルコントローラの機能モジュールの構成情報を定義した構成情報ファイルが記憶されたプログラマブルコントローラに接続されたプログラミング装置において、前記構成情報ファイルは前記機能モジュールの名称と前記機能モジュールに割り付けられた先頭メモリアドレスとから構成され、前記構成情報ファイルに基づいて、シンボルを前記シンボルデータベースに登録する自動登録手段を備えたことを特徴とするものである。
請求項4に記載の発明は、前記自動登録手段は、前記機能モジュールの名称をシンボル名称として前記シンボルデータベースに登録し、前記機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスを前記シンボル名称に対応するメモリアドレスとして前記シンボルデータベースに登録することを特徴とするものである。
請求項5に記載の発明は、プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースと前記プログラマブルコントローラの機能モジュールの入出力情報を定義した入出力情報データベースとを記憶した記憶手段を備えるとともに、前記機能モジュールの構成情報を定義した構成情報ファイルが記憶されたプログラマブルコントローラに接続されたプログラミング装置において、前記構成情報ファイルは前記機能モジュールの名称と前記機能モジュールに割り付けられた先頭メモリアドレスとから構成され、前記入出力データベースは前記機能モジュールの名称と前記機能モジュールの入出力点数と前記機能モジュールの入出力名称と前記機能モジュールの入出力サイズとから構成され、前記構成情報ファイルおよび前記入出力情報データベースに基づいて、シンボルを前記シンボルデータベースに登録する自動登録手段を備えたことを特徴とするものである。
請求項6に記載の発明は、前記自動登録手段は、前記入出力名称をシンボル名称として前記シンボルデータベースに登録し、前記シンボル名称に対応するメモリアドレスを前記シンボルデータベースに登録することを特徴とするものである。
According to a third aspect of the present invention, there is provided storage means for storing a symbol database for managing symbols assigned to memory addresses of the programmable controller, and a configuration information file defining configuration information of functional modules of the programmable controller is stored. In the programming device connected to the programmable controller, the configuration information file includes a name of the functional module and a head memory address assigned to the functional module, and a symbol is converted to the symbol based on the configuration information file. An automatic registration means for registering in the database is provided.
According to a fourth aspect of the present invention, the automatic registration means registers the name of the functional module as a symbol name in the symbol database, and corresponds a head memory address of a programmable controller allocated to the functional module to the symbol name. The memory address is registered in the symbol database.
According to a fifth aspect of the present invention, there is provided storage means for storing a symbol database for managing symbols assigned to memory addresses of the programmable controller and an input / output information database defining input / output information of the functional modules of the programmable controller. In addition, in the programming device connected to the programmable controller in which the configuration information file defining the configuration information of the functional module is stored, the configuration information file includes a name of the functional module and a head memory address assigned to the functional module. The input / output database includes the name of the functional module, the number of input / output points of the functional module, the input / output name of the functional module, and the input / output size of the functional module. Based on the information file and the input information database, it is characterized in that it comprises an automatic registration means for registering the symbols to the symbol database.
The invention according to
請求項1、3、4に記載の発明によると、構成情報のファイルに定義されている機能モジュール名称と、先頭メモリアドレスから、機能モジュールに対してシンボルとそれに割り付ける先頭メモリアドレスをシンボルデータベースに自動登録することができるので、プログラミングの効率化を図ることができる。
また、請求項2、5、6に記載の発明によると、請求項1記載のシンボルデータベースにおいて、入出力情報データベースから読み込んだ入出力の点数とサイズと名称から、機能モジュールの入出力に対して、シンボルとそれに割り付ける先頭メモリアドレスをシンボルデータベースに自動登録することができるので、プログラミングの効率化を図ることができる。
According to the first, third, and fourth aspects of the present invention, the symbol and the start memory address assigned to the function module are automatically stored in the symbol database from the function module name defined in the configuration information file and the start memory address. Since registration is possible, it is possible to improve the efficiency of programming.
According to the invention described in
以下、本発明の方法の具体的実施例について、図に基づいて説明する。 Hereinafter, specific examples of the method of the present invention will be described with reference to the drawings.
図1は、本発明の方法を実施するプログラミング装置の構成を示す図である。図において、5はシンボルデータベースで、登録されたシンボルとメモリアドレスが管理されている。シンボルデータベース5は、データベース登録数が空の状態でシンボルデータベースのテンプレートとしてあらかじめプログラミング装置に備わっており、プログラミングの開始時に、テンプレートをロードして生成される。
6は入出力情報データベースで、機能モジュールの入出力情報を管理している。ここで、入出力情報とは、機能モジュールの名称と入出力点数、そして、各入出力の名称とサイズであり、例えば、機能モジュールの名称:DI、入出力点数:2点、1点目の入出力名称:DI_Input01、1点目のサイズ:1、2点目の入出力名称:DI_Input02、2点目のサイズ:1等を情報として管理している。入出力情報データベースは、あらかじめ全機能モジュールの入出力情報を登録し、プログラミング装置に備わっている。シンボルデータベース5および入出力データベース6は磁気記憶装置等の記憶手段によって記憶されている。
7はプログラマブルコントローラであり、各スロットに装着された機能モジュール71によって構成されている。プログラマブルコントローラ7は、主制御部(CPU)3と通信ケーブルで接続されている。また、プログラマブルコントローラ7上の記憶手段には、構成情報ファイルが記憶されている(図示しない)。ここで、構成情報ファイルとは、プログラミング装置から各スロットの構成情報を入力することによって生成されるファイルである。
FIG. 1 is a diagram showing the configuration of a programming device for implementing the method of the present invention. In the figure,
1は入力装置(キーボード)、2は表示装置、4は記憶領域(メモリ)で、いずれも主制御部(CPU)3に接続されている。
41はメモリ4上に設けられた構成情報記憶領域で、後述する手順に従い、構成情報ファイルが展開される。ここで、構成情報記憶領域41に展開された構成情報ファイルのデータ構成図を図2に示す。図2において、411は、スロット番号、412は機能モジュール名称、413は割り振られた機能モジュールの先頭メモリアドレスである。
42はメモリ4上のシンボル登録情報記憶領域で、後述する手順に従い、シンボルデータベース5が展開される。ここで、登録情報記憶領域42に展開されたシンボルデータベース5のデータ構成図を図3に示す。図3において421は、シンボルの登録番号、422はシンボル名称、423はシンボルに割り付けられたメモリアドレスである。ここで、メモリアドレス423は、シンボル付与対象が機能モジュールであるとき(図3における登録番号1〜7)は「先頭」メモリアドレス、入出力であるとき(図3における登録番号8〜)はメモリアドレスを示す。
43はメモリ4上の入出力情報記憶領域で、後述する手順に従い、入出力情報データベース6が展開される。ここで、入出力情報記憶領域43に展開された入出力情報データベース6のデータ構成図を図4に示す。図4において、431は、機能モジュール名称、432は入出力点数、433は入出力の各点に対する入出力名称、434は入出力のサイズであり、メモリデータ長をWORD(2Byte)にしたときのデータサイズである。
A configuration information storage area 41 is provided on the
Reference numeral 42 denotes a symbol registration information storage area on the
Reference numeral 43 denotes an input / output information storage area on the
図5は本発明のプログラミング装置におけるシンボル登録の処理手順を示すフローチャートである。また、図6は、図5におけるStep1の詳細な手順を示すフローチャートである。
以下、図5および図6を用いて本発明の方法を、順を追って説明する。
まず、シンボルデータベース5に登録されているシンボル名称と、シンボルに割り付けられているメモリアドレスをシンボル登録情報記憶領域42に展開する(Step1)。Step1において、まず、シンボルデータベースから登録件数を取得し、登録の順にシンボル名称と、メモリアドレスを読み込む。それぞれ、シンボル登録情報記憶領域42のシンボル名称422と、メモリアドレス423に設定し、登録された登録番号で管理する。最終登録まで同等の処理を繰り返す(Step1.1)。次に、通信ケーブルで接続されたプログラマブルコントローラ7から構成情報ファイルを読み込む(Step1.2)。最後に、構成情報記憶領域41に展開する(Step1.3)。読み込んだ構成情報ファイルから、各スロットに装着された機能モジュールの名称と、各機能モジュールに割り付けられた先頭メモリアドレスを、それぞれ、構成情報記憶領域41の機能モジュール名称412と、割り付け先頭メモリアドレス413に設定し、装着されたスロット番号411で管理する。全機能モジュールに対して同様の処理を繰り返す。
FIG. 5 is a flowchart showing a symbol registration processing procedure in the programming device of the present invention. FIG. 6 is a flowchart showing a detailed procedure of
Hereinafter, the method of the present invention will be described step by step with reference to FIGS.
First, the symbol name registered in the
Step1の処理完了後、展開した構成情報記憶領域41の機能モジュール名称412と割り付け先頭メモリアドレス413をスロット番号411の先頭から読み込む(Step2)。
次に、読み込んだ機能モジュール名称412をシンボル名称422として置換え、割り付け先頭メモリアドレス413をシンボルに割り付けるメモリアドレス423として置換え、シンボル登録情報記憶領域42に再登録する。その後、全機能モジュールに対して同等の処理を繰り返す(Step3)。
最後に、シンボル登録情報記憶領域42をシンボルデータベース5に書き込む(Step4)。
このように、プログラマブルコントローラの各スロットに装着された機能モジュールの構成情報をもとに、シンボルデータベースにシンボル名称と対応するメモリアドレスを自動的に登録することができる。
After the processing of
Next, the read
Finally, the symbol registration information storage area 42 is written in the symbol database 5 (Step 4).
As described above, the memory address corresponding to the symbol name can be automatically registered in the symbol database based on the configuration information of the functional module mounted in each slot of the programmable controller.
図7は、本発明の請求項2記載の処理手順を示すフローチャートである。この図を用いて本発明の方法を、順を追って説明する。
はじめに、図6に示した処理手順Step1と同様の展開処理を行う(Step1)。
次に、入出力情報データベース6を読み込み、入出力情報記憶領域43に展開する。本手順において、まず、入出力情報データベース6より、登録されている機能モジュールの名称を読み込み、入出力記憶領域43の機能モジュール名称431に設定する。そして、機能モジュールの入出力点数を読み出し、入出力点数432に設定し、それぞれの入出力点の入出力名称とサイズを、入出力名称433とサイズ434に設定する。このように入出力情報データベースに登録されている全機能モジュールの入出力情報を入出力情報記憶領域に展開する(Step2)。
次に、Step1で展開した構成情報記憶領域41の機能モジュール名称412をスロット番号411の先頭から読み込む(Step3)。
次に、読み出した機能モジュール名称をもとに、展開した入出力情報記憶領域43から一致する機能モジュール名称431を検索し、入出力点数432、入出力名称433、サイズ434を読み出す(Step4)。
FIG. 7 is a flowchart showing a processing procedure according to
First, the expansion process similar to the
Next, the input /
Next, the
Next, based on the read function module name, the
次に、読み出した入出力点数432が0でなければ、1点目から順に入出力名称433とサイズ434を読み出す(Step5)。読み出した入出力名称433はシンボル名称422として置き換える。さらに、構成情報記憶領域41の割り付け先頭メモリアドレス413と読み出したサイズ434より、メモリアドレス423を決定する。メモリアドレスは、1点目の時は割り付け先頭メモリアドレスになり、1点目以降の時は、前点で決定したメモリアドレスに、前点のサイズを加算したメモリアドレスとなる。
次に、決定したシンボル名称とメモリアドレスを、シンボル登録情報記憶領域42に登録する。このように全入出力点に対してシンボル名称とメモリアドレスを決定し、シンボル登録情報記憶領域42に登録する(Step6)。その後、これを構成情報記憶領域41に登録されている全モジュールに対して処理を繰り返す。
最後に、登録したシンボル登録情報記憶領域42をシンボルデータベース5に書き込む(Step7)。
このように、プログラマブルコントローラの各スロットに装着された機能モジュールの構成情報と、入出力情報データベースの機能モジュールの入出力情報をもとに、機能モジュールの入出力に対するシンボル名称とメモリアドレスをシンボルデータベースに自動的に登録することができる。
Next, if the read input /
Next, the determined symbol name and memory address are registered in the symbol registration information storage area 42. In this way, symbol names and memory addresses are determined for all input / output points and registered in the symbol registration information storage area 42 (Step 6). Thereafter, the process is repeated for all modules registered in the configuration information storage area 41.
Finally, the registered symbol registration information storage area 42 is written into the symbol database 5 (Step 7).
Thus, based on the configuration information of the functional modules installed in each slot of the programmable controller and the input / output information of the function modules in the input / output information database, the symbol names and memory addresses for the input / output of the function modules are represented in the symbol database. Can be registered automatically.
入出力情報データベースをもとに、機能モジュールの入出力に対するシンボル名称を自動的に登録するという手順をとるため、入出力情報データベースの入出力名称を変更するだけで、任意のシンボル名称で自動的に登録できるという用途にも利用できる。 Based on the input / output information database, the procedure for automatically registering symbol names for input / output of function modules is used. It can also be used for purposes such as being able to register.
1 入力装置(キーボード)
2 表示装置
3 主制御部(CPU)
4 記憶領域(メモリ)
5 シンボルデータベース
6 入出力情報データベース
7 プログラマブルコントローラ
41 構成情報記憶領域
42 シンボル登録情報記憶領域
43 入出力情報記憶領域
71 プログラマブルコントローラを構成する各スロットに装着された機能モジュール
110 入力装置(キーボード)
120 表示装置
121 構成情報画面
122 シンボル登録画面
130 主制御部(CPU)
140 記憶領域(メモリ)
141 構成情報記憶領域
142 シンボル登録情報記憶領域
150 シンボルデータベース
160 プログラマブルコントローラ
411 スロット番号
412 機能モジュール名称
413 割り付け先頭メモリアドレス
421 登録番号
422 シンボル名称
423 メモリアドレス
431 機能モジュール名称
432 入出力点数
433 入出力名称
434 サイズ
1 Input device (keyboard)
2
4 Storage area (memory)
5
120
140 Storage area (memory)
141 Configuration information storage area 142 Symbol registration
Claims (9)
前記プログラマブルコントローラに接続されるとともに、前記プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースが記憶された記憶手段を備えたプログラミング装置におけるシンボル登録方法において、
前記構成情報ファイルおよび前記シンボルデータベースに基づいて、
前記機能モジュールの名称がシンボル名称として前記シンボルデータベースに登録されるとともに、前記機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスが前記シンボル名称に対応するメモリアドレスとして前記シンボルデータベースに登録される、という手順で処理されることを特徴とするプログラミング装置のシンボル自動登録方法。 A programmable controller symbol automatic registration method in which a configuration information file in which a name of a functional module installed in each slot of a programmable controller and a start memory address of a programmable controller assigned to each functional module is defined is stored,
In a symbol registration method in a programming device comprising a storage means connected to the programmable controller and storing a symbol database for managing a symbol assigned to a memory address of the programmable controller,
Based on the configuration information file and the symbol database,
The name of the functional module is registered in the symbol database as a symbol name, and the top memory address of the programmable controller assigned to the functional module is registered in the symbol database as a memory address corresponding to the symbol name. A symbol automatic registration method for a programming device, characterized in that the processing is performed according to a procedure.
前記プログラマブルコントローラに接続されるとともに、前記プログラマブルコントローラのメモリアドレスに割り付けられたシンボルを管理するシンボルデータベースが記憶された記憶手段を備えたプログラミング装置におけるシンボル登録方法において、
入出力点数と入出力サイズと入出力名称の情報からなる入出力情報と前記機能モジュールの名称とがあらかじめ登録された入出力情報データベースが記憶されるとともに、前記構成情報ファイルから前記機能モジュールの名称と割り付けられた先頭メモリアドレスが読み込まれ、
前記読み込まれた機能モジュールの名称に基づいて前記入出力情報データベースが検索され、
前記検索されて読み込まれた入出力情報の入出力名称に基づいて前記入出力名称がシンボル名称として前記シンボルデータベースに登録され、
前記検索されて読み込まれた入出力情報の入出力点数と入出力サイズに基づいて前記シンボル名称に対応するメモリアドレスが前記シンボルデータベースに登録される、
という手順で処理されることを特徴とするプログラミング装置のシンボル自動登録方法。 A programmable controller programming device in which a configuration information file in which a name of a functional module installed in each slot of a programmable controller and a head memory address of a programmable controller assigned to each functional module is defined is stored,
In a symbol registration method in a programming device comprising a storage means connected to the programmable controller and storing a symbol database for managing a symbol assigned to a memory address of the programmable controller,
An input / output information database in which input / output information including information on the number of input / output points, input / output size, and input / output name and the name of the functional module is stored in advance, and the name of the functional module is stored from the configuration information file. The first memory address assigned as
The input / output information database is searched based on the name of the read function module,
The input / output name is registered in the symbol database as a symbol name based on the input / output name of the input / output information retrieved and read,
A memory address corresponding to the symbol name is registered in the symbol database based on the number of input / output points and the input / output size of the input / output information retrieved and read.
The symbol automatic registration method for a programming device, characterized in that the processing is performed by the following procedure.
前記構成情報ファイルは前記機能モジュールの名称と前記機能モジュールに割り付けられた先頭メモリアドレスとから構成され、
前記構成情報ファイルおよび前記シンボルデータベースに基づいて、シンボルを前記シンボルデータベースに登録する自動登録手段を備えたことを特徴とするプログラミング装置。 Programming connected to a programmable controller having a storage unit storing a symbol database for managing symbols assigned to memory addresses of the programmable controller, and storing a configuration information file defining configuration information of functional modules of the programmable controller In the device
The configuration information file is composed of a name of the functional module and a head memory address assigned to the functional module,
A programming apparatus comprising: automatic registration means for registering a symbol in the symbol database based on the configuration information file and the symbol database.
前記機能モジュールの構成情報を定義した構成情報ファイルが記憶されたプログラマブルコントローラに接続されたプログラミング装置において、
前記構成情報ファイルは前記機能モジュールの名称と前記機能モジュールに割り付けられた先頭メモリアドレスとから構成され、
前記入出力データベースは前記機能モジュールの名称と前記機能モジュールの入出力点数と前記機能モジュールの入出力名称と前記機能モジュールの入出力サイズとから構成され、
前記構成情報ファイルおよび前記入出力情報データベースに基づいて、シンボルを前記シンボルデータベースに登録する自動登録手段を備えたことを特徴とするプログラミング装置。 A storage unit that stores a symbol database that manages symbols assigned to memory addresses of the programmable controller and an input / output information database that defines input / output information of the functional modules of the programmable controller;
In a programming device connected to a programmable controller in which a configuration information file defining configuration information of the functional module is stored,
The configuration information file is composed of a name of the functional module and a head memory address assigned to the functional module,
The input / output database is composed of the name of the functional module, the number of input / output points of the functional module, the input / output name of the functional module, and the input / output size of the functional module,
A programming apparatus comprising: automatic registration means for registering a symbol in the symbol database based on the configuration information file and the input / output information database.
前記構成情報ファイルおよび前記シンボルデータベースに基づいて、
前記機能モジュールの名称がシンボル名称として前記シンボルデータベースに登録されるとともに、前記機能モジュールに割り付けられたプログラマブルコントローラの先頭メモリアドレスが前記シンボル名称に対応するメモリアドレスとして前記シンボルデータベースに登録される、という手順をコンピュータに実行させるためのシンボル自動登録プログラム。 The programmable controller is connected to a programmable controller in which a configuration information file in which the name of the functional module installed in each slot of the programmable controller and the start memory address of the programmable controller assigned to each functional module is defined is stored. A computer-readable program for automatically registering symbols in a programming device having a storage means in which a symbol database for managing symbols assigned to the memory addresses is stored,
Based on the configuration information file and the symbol database,
The name of the functional module is registered in the symbol database as a symbol name, and the top memory address of the programmable controller assigned to the functional module is registered in the symbol database as a memory address corresponding to the symbol name. A symbol auto-registration program for causing a computer to execute procedures.
入出力点数と入出力サイズと入出力名称の情報からなる入出力情報と前記機能モジュールの名称とがあらかじめ登録された入出力情報データベースが記憶されるとともに、前記構成情報ファイルから前記機能モジュールの名称と割り付けられた先頭メモリアドレスが読み込まれ、
前記読み込まれた機能モジュールの名称に基づいて前記入出力情報データベースが検索され、
前記検索されて読み込まれた入出力情報の入出力名称に基づいて前記入出力名称がシンボル名称として前記シンボルデータベースに登録され、
前記検索されて読み込まれた入出力情報の入出力点数と入出力サイズに基づいて前記シンボル名称に対応するメモリアドレスが前記シンボルデータベースに登録される、という手順をコンピュータに実行させるためのシンボル自動登録プログラム。 The programmable controller is connected to a programmable controller in which a configuration information file in which the name of the functional module installed in each slot of the programmable controller and the start memory address of the programmable controller assigned to each functional module is defined is stored. A computer-readable program for automatically registering symbols in a programming device having a storage means in which a symbol database for managing symbols assigned to the memory addresses is stored,
An input / output information database in which input / output information including information on the number of input / output points, input / output size, and input / output name and the name of the functional module is stored in advance, and the name of the functional module is stored from the configuration information file. The first memory address assigned as
The input / output information database is searched based on the name of the read function module,
The input / output name is registered in the symbol database as a symbol name based on the input / output name of the input / output information retrieved and read,
Automatic symbol registration for causing a computer to execute a procedure in which a memory address corresponding to the symbol name is registered in the symbol database based on the number of input / output points and the input / output size of the input / output information retrieved and read program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004337446A JP4362777B2 (en) | 2004-11-22 | 2004-11-22 | Programming device, symbol automatic registration method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004337446A JP4362777B2 (en) | 2004-11-22 | 2004-11-22 | Programming device, symbol automatic registration method, program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006146670A true JP2006146670A (en) | 2006-06-08 |
JP4362777B2 JP4362777B2 (en) | 2009-11-11 |
Family
ID=36626265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004337446A Expired - Fee Related JP4362777B2 (en) | 2004-11-22 | 2004-11-22 | Programming device, symbol automatic registration method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4362777B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012099023A (en) * | 2010-11-04 | 2012-05-24 | Mitsubishi Electric Corp | Programmable controller and unit addition method |
JP2017191429A (en) * | 2016-04-13 | 2017-10-19 | 三菱電機ビルテクノサービス株式会社 | Plc system specification creation assist device |
-
2004
- 2004-11-22 JP JP2004337446A patent/JP4362777B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012099023A (en) * | 2010-11-04 | 2012-05-24 | Mitsubishi Electric Corp | Programmable controller and unit addition method |
JP2017191429A (en) * | 2016-04-13 | 2017-10-19 | 三菱電機ビルテクノサービス株式会社 | Plc system specification creation assist device |
Also Published As
Publication number | Publication date |
---|---|
JP4362777B2 (en) | 2009-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4513806B2 (en) | Peripheral device of programmable logic controller and method for creating program | |
JP5556524B2 (en) | Form processing apparatus, form processing method, form processing program, and recording medium recording the program | |
JPWO2008102426A1 (en) | Programmable controller peripheral device, replacement method and program | |
JP4362777B2 (en) | Programming device, symbol automatic registration method, program, and recording medium | |
JP4756650B2 (en) | Image processing apparatus, reading order setting method, and program | |
JP2000284815A (en) | Program generating device | |
JP2006120070A (en) | Programming device, its symbol inputting method, and recording medium | |
JP2002268711A (en) | Programmable display unit and plotting program for the same and recording medium with its plotting program recorded | |
JP2008299423A (en) | Information processor and information processing program | |
JP6272263B2 (en) | Access destination conversion device and access destination conversion program | |
JPH113105A (en) | Programming device for programmable controller | |
KR100817364B1 (en) | Programmable logic controller peripheral device and program creation method thereof | |
JP2009134342A (en) | Function specification automatic generation device | |
JP2009151727A (en) | Document processing system | |
JP2001092713A (en) | Device and method for writing data | |
JP2959490B2 (en) | String addition method | |
JP2000347878A (en) | Method and device for memory reduction | |
CN114880986A (en) | Method for quickly generating global configuration component | |
JP2000222252A (en) | Memory content display system and memory content editing system | |
JPH05282011A (en) | Automatic allocating and granting device for pc address | |
JP2018005551A (en) | Editing support program, device and method | |
JPH0756779A (en) | Electronic filing device | |
JPH06332970A (en) | Mounting layout chart generator | |
JP2001236209A (en) | Device and method for synthesizing software | |
JP2002333903A (en) | Editing operation and data storing method in ladder programming editor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071009 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090623 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090625 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090625 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090629 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090723 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090805 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120828 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130828 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140828 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |