JP2660603B2 - Control program parameter setting method - Google Patents

Control program parameter setting method

Info

Publication number
JP2660603B2
JP2660603B2 JP2197478A JP19747890A JP2660603B2 JP 2660603 B2 JP2660603 B2 JP 2660603B2 JP 2197478 A JP2197478 A JP 2197478A JP 19747890 A JP19747890 A JP 19747890A JP 2660603 B2 JP2660603 B2 JP 2660603B2
Authority
JP
Japan
Prior art keywords
control
parameter
parameter setting
control program
control module
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.)
Expired - Lifetime
Application number
JP2197478A
Other languages
Japanese (ja)
Other versions
JPH0480820A (en
Inventor
昌慶 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2197478A priority Critical patent/JP2660603B2/en
Publication of JPH0480820A publication Critical patent/JPH0480820A/en
Application granted granted Critical
Publication of JP2660603B2 publication Critical patent/JP2660603B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は制御プログラム中の種々のパラメータを設定
する方法に関する。
Description: TECHNICAL FIELD The present invention relates to a method for setting various parameters in a control program.

〔従来の技術〕[Conventional technology]

ディジタル制御装置における演算制御を行うソフトウ
ェアである制御プログラムは、一般的に汎用の計算機言
語ではなく、計装制御に適した専用の言語を用いて構成
される。このような制御アプリケーションプログラムの
プログラミングは、演算処理装置本体にCRTよりなる表
示部とキーボード及びマウスによりなる入力部とを備え
た専用のプログラミングツールを用いて行われる。前述
のような専用の言語を用いて前記制御プログラムのプロ
グラミングを行うプログラミングシステムの中には、演
算制御回路のプログラミングを行う場合、1次遅れ制御
器,PID制御器等の制御モジュールを示す図形を多数表し
たメニュー画面を前記表示部に表示させ、これらの図形
の中から必要である制御モジュールを選択して表示部の
画面上の希望の位置に表示させ、これらの制御モジュー
ルを組み合わせた制御回路図を画面上で作図すると、自
動的にこの制御回路図に相当する制御プログラムが作成
できるプログラミングシステムがある。
A control program, which is software for performing arithmetic control in a digital control device, is generally configured using a special language suitable for instrumentation control instead of a general-purpose computer language. Programming of such a control application program is performed using a dedicated programming tool having a display unit composed of a CRT and an input unit composed of a keyboard and a mouse in the arithmetic processing unit body. In the programming system for programming the control program using the above-described dedicated language, when programming the arithmetic control circuit, a figure showing a control module such as a primary delay controller or a PID controller is used. Displaying a large number of menu screens on the display unit, selecting necessary control modules from these figures and displaying them at desired positions on the screen of the display unit, and a control circuit combining these control modules. There is a programming system that can automatically create a control program corresponding to this control circuit diagram when a diagram is drawn on a screen.

このようなプログラミングシステムでは、プログラミ
ングされた制御モジュールにゲイン,時定数等のパラメ
ータが予め設定できないようになっているため、プログ
ラミング中又はプログラミング後にプログラミング用の
画面をパラメータ設定用の画面に切換え、この画面を利
用してパラメータを設定していた。
In such a programming system, parameters such as a gain and a time constant cannot be set in advance in the programmed control module. Therefore, during or after programming, the screen for programming is switched to the screen for parameter setting. Parameters were set using the screen.

第4図は前記パラメータ設定用の表示画面の模式図で
ある。この表示画面は制御プログラム中に示された制御
モジュール番号に対応した制御モジュール番号を表すモ
ジュール番号欄Aと制御モジュール名,設定パラメータ
名及びその数値を記入すべき設定欄Bとを関係付けたパ
ラメータ設定表を表示したものである。前記パラメータ
を設定する場合は、このようなパラメータ設定表を表示
させ、回路図中の制御モジュール番号に対応した制御モ
ジュールのパラメータを設定欄Bに書き込むことによっ
て各制御モジュールのパラメータを設定していた。
FIG. 4 is a schematic view of a display screen for setting the parameters. This display screen is a parameter that associates a module number column A representing a control module number corresponding to the control module number indicated in the control program with a control column name, a setting parameter name, and a setting column B in which the numerical value is to be entered. This is a display of a setting table. When setting the parameters, such a parameter setting table is displayed, and the parameters of each control module are set by writing the parameters of the control module corresponding to the control module number in the circuit diagram in the setting column B. .

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、前述の如き従来のパラメータの設定方
法では、制御プログラムのプログラミング用の画面の制
御モジュールのパラメータ設定用の画面とが異なる画面
であるため、制御プログラム中に同種類の制御モジュー
ルが複数個存在すると、設定対象の制御モジュールを間
違い易く、不適当なパラメータの数値を制御モジュール
に設定してしまう虞があった。
However, in the conventional parameter setting method as described above, the control program programming screen is different from the control module parameter setting screen, so that a plurality of control modules of the same type exist in the control program. Then, there is a possibility that the control module to be set is easily mistaken, and an inappropriate parameter value is set in the control module.

本発明は斯かる事情に鑑みてなされたものであり、制
御プログラム中に同種類の制御モジュールが複数個存在
する場合における制御モジュールのパラメータの設定を
正確に行うことを可能とする制御プログラムのパラメー
タ設定方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and a parameter of a control program that enables accurate setting of a parameter of a control module when a plurality of control modules of the same type exist in the control program. The purpose is to provide a setting method.

〔課題を解決するための手段〕[Means for solving the problem]

本発明に係る制御プログラムのパラメータ設定方法
は、画像を表示する表示部と、種々のデータを入力する
入力部とを備えたプログラミングツールの前記表示部
に、種々の制御機能を有する制御モジュールを組み合わ
せてなる回路図を前記入力部からのデータ入力によって
前記表示部に作成することにより、前記回路図の機能に
相当する制御を行う制御プログラムを作成し、前記制御
モジュールの特性を表すパラメータを設定するパラメー
タ設定表を前記表示部に表示し、このパラメータ設定表
を前記入力部からのデータ入力にてパラメータの数値を
書き込むことにより前記制御プログラム中の制御モジュ
ールのパラメータ設定を行う制御プログラムのパラメー
タ設定方法において、前記表示部に表示された回路図中
の制御モジュールから選択指定した制御モジュールの近
傍にパラメータ設定表を表示し、このパラメータ設定表
にて前記パラメータの設定を行うことを特徴とする。
A parameter setting method of a control program according to the present invention combines a control module having various control functions with the display unit of a programming tool including a display unit for displaying an image and an input unit for inputting various data. A control program for performing control corresponding to the function of the circuit diagram is created by creating a circuit diagram including the following on the display unit by data input from the input unit, and parameters representing characteristics of the control module are set. A parameter setting method for a control program, wherein a parameter setting table is displayed on the display unit, and the parameter setting table is used to set parameter values of a control module in the control program by writing numerical values of parameters by data input from the input unit. , Select from the control modules in the circuit diagram displayed on the display unit. To display the parameter setting table in the vicinity of the specified control module, and performs setting of the parameter at this parameter table.

〔作用〕[Action]

本発明にあっては、回路図中の制御モジュールから選
択指定した制御モジュールの近傍にパラメータ設定表が
表示されるようになっており、前記回路図中にパラメー
タ設定表が表されるので、パラメータ設定の設定対象の
回路図にて確認しつつ制御モジュールのパラメータの設
定を行うことができる。
In the present invention, a parameter setting table is displayed near the control module selected and designated from the control module in the circuit diagram, and the parameter setting table is displayed in the circuit diagram. The parameters of the control module can be set while checking the circuit diagram of the setting target.

〔実施例〕〔Example〕

以下本発明をその実施例を示す図面に基づいて具体的
に説明する。第1図は本発明に係る制御プログラムのパ
ラメータ設定方法の実施に適用するプログラミングツー
ルの構成を示す模式的ブロック図である。
Hereinafter, the present invention will be described in detail with reference to the drawings showing the embodiments. FIG. 1 is a schematic block diagram showing a configuration of a programming tool applied to the implementation of a control program parameter setting method according to the present invention.

図中1はCPUを備えたプログラミングツール本体であ
り、該プログラミングツール本体には、位置入力を行う
マウスよりなる第1入力部21,キーボードよりなる第2
入力部22及びCRTよりなる表示部3を夫々接続してな
る。
In the figure, reference numeral 1 denotes a programming tool main body having a CPU. The programming tool main body includes a first input unit 21 composed of a mouse for performing position input and a second input unit composed of a keyboard.
The input unit 22 and the display unit 3 including a CRT are connected to each other.

次に、このように構成された装置を用いて、ディジタ
ル制御装置において演算制御を行う制御プログラムのプ
ログラミングを行う方法について説明する。
Next, a description will be given of a method of programming a control program for performing arithmetic control in a digital control device by using the thus configured device.

ディジタル制御装置は、例えばプラトン等のプロセス
制御を行う制御装置として用いられる。このようなディ
ジタル制御装置は、プラトンに配設されプラントの各部
の圧力及び温度等の状態を検出する各種検出器の検出情
報を所定時間毎に収集し、この収集結果のデータに基づ
いて前記状態を所定値に保つべく、前記プラントに配設
されているハードウェア機器の適正な動作量を算出する
演算を行い、前記ハードウェア機器に制御信号を与え
る。前記制御プログラムはこのようなディジタル制御装
置における演算制御を行うプログラムであって、前記ハ
ードウェア機器の制御を行うための複数の制御モジュー
ルを組み合わせてなる制御回路をソフトウェア化したも
のである。
The digital control device is used as a control device for controlling a process such as Plato. Such a digital controller collects, at predetermined intervals, detection information of various detectors that are disposed on Plato and detect the state of each part of the plant, such as pressure and temperature, and based on the collected result data, In order to maintain a predetermined value, a calculation for calculating an appropriate operation amount of the hardware device provided in the plant is performed, and a control signal is given to the hardware device. The control program is a program for performing arithmetic control in such a digital control device, and is a software program of a control circuit formed by combining a plurality of control modules for controlling the hardware devices.

第2図は前記制御プログラムのプログラミング時に表
示される画像を示す模式図である。制御プログラムのプ
ログラミングを行う場合、1次遅制御器,PID制御器等の
制御モジュール4,4…を組み合わせて表示部3の画像に
表示させることにより所望の制御回路を作成すると、こ
の制御回路に相当する制御プログラムが自動的にプログ
ラミングされようになっている。このような表示部3の
画面への制御モジュール4,4…の入力においては、ま
ず、入力できる多数の制御モジュール4,4…をその種類
別に図形表示してなるメニュー画面(図示せず)を、表
示させる。そして、このメニュー画面から所望の制御モ
ジュール4,4…を第1入力部21の操作によって画面上に
て選択的に指定する。制御モジュール4,4…が指定され
ると、画面が前述の如きプログラミング用の画面に切換
り、この切換ったプログラミング用の画面上の所望位置
を第1入力部21の操作によって指定すると、その制御モ
ジュール4,4…が前記所望位置に表示される。そして、
このような制御モジュール4,4…の指定を繰り返すこと
によって所望の制御回路を作成する。但し、この段階で
は制御モジュール4,4…のゲイン,時定数等のパラメー
タは設定されない。
FIG. 2 is a schematic diagram showing an image displayed when programming the control program. When a control program is programmed, a desired control circuit is created by combining control modules 4, 4... Such as a primary delay controller and a PID controller and displaying them on an image on the display unit 3. A corresponding control program is automatically programmed. In inputting the control modules 4, 4,... To the screen of the display unit 3, a menu screen (not shown) in which a number of control modules 4, 4,. And display. .. Are selectively designated on the screen by operating the first input unit 21 from the menu screen. When the control modules 4, 4... Are designated, the screen is switched to the programming screen as described above. When a desired position on the switched programming screen is designated by operating the first input unit 21, the screen is switched. The control modules 4, 4,... Are displayed at the desired positions. And
By repeating the designation of the control modules 4, 4,..., A desired control circuit is created. However, at this stage, parameters such as gain and time constant of the control modules 4, 4,... Are not set.

次に、前述の如く作成された制御プログラム中の制御
モジュール4,4…の前記パラメータを設定する方法につ
いて説明する。
Next, a method of setting the parameters of the control modules 4, 4,... In the control program created as described above will be described.

第3図は制御プログラム中の制御モジュールのパラメ
ータを設定する場合に表示される画像を示す模式図であ
る。
FIG. 3 is a schematic diagram showing an image displayed when setting parameters of a control module in a control program.

図中5は夫々の制御モジュール4,4…のパラメータを
設定するためのパラメータ設定表であり、該パラメータ
設定表5は、制御モジュール4,4…の時定数T,ゲインG
等のパラメータ名の横にそのパラメータの数値を書き込
むことによりパラメータを設定できるようになってい
る。このようなパラメータ設定表5は第1入力部21の操
作によって、プログラミング用の画面上にて所望の制御
モジュール4,4…の位置を指定すると、指定された制御
モジュール4,4…の近傍に出現するようになっている。
そして、パラメータ設定表5が表示されると、そのパラ
メータ設定表5中に第2入力部22を用いて各パラメータ
の数値を入力する。入力された数値はパラメータの設定
値となる。
In the figure, reference numeral 5 denotes a parameter setting table for setting parameters of the control modules 4, 4,..., And the parameter setting table 5 includes a time constant T, a gain G of the control modules 4, 4,.
The parameter can be set by writing the numerical value of the parameter beside the parameter name such as. When the position of a desired control module 4, 4,... Is specified on the programming screen by operating the first input unit 21, the parameter setting table 5 is displayed near the specified control module 4, 4,. Is to appear.
Then, when the parameter setting table 5 is displayed, the numerical value of each parameter is input into the parameter setting table 5 using the second input unit 22. The input numerical value becomes the set value of the parameter.

このようなパラメータの設定をプログラミング用の画
面上に表示された各制御モジュール4,4…について順次
行うと、これらの制御モジュール4,4…のパラメータが
制御プログラム中に設定される。
When such setting of the parameters is sequentially performed for each of the control modules 4, 4,... Displayed on the programming screen, the parameters of these control modules 4, 4,... Are set in the control program.

〔発明の効果〕〔The invention's effect〕

以上詳述した如く本発明にあっては、回路図中の制御
モジュールから選択指定した制御モジュールの近傍にパ
ラメータ設定表が表示されるようになっており、パラメ
ータ設定の設定対象を回路図にて確認しつつ制御モジュ
ールのパラメータの設定を行うことができるようになっ
ているので、制御プログラム中に同種類の制御モジュー
ルが複数個存在する場合における制御モジュールのパラ
メータの設定を正確に行うことが可能となる等、本発明
は優れた効果を奏する。
As described above in detail, in the present invention, a parameter setting table is displayed near a control module selected and designated from the control modules in the circuit diagram, and the setting target of the parameter setting is represented by a circuit diagram. Control module parameters can be set while checking, so it is possible to accurately set control module parameters when there are multiple control modules of the same type in the control program Thus, the present invention has excellent effects.

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

第1図は本発明に係る制御プログラムのパラメータ設定
方法の実施に適用する端末機の構成を示す模式的ブロッ
ク図、第2図は前記制御プログラムのプログラミング時
に表示される画像を示す模式図、第3図は制御プログラ
ム中の制御モジュールのパラメータを設定する場合に表
示される画像を示す模式図、第4図は前記パラメータ設
定用の入力画面の模式図である。 1……プログラミングツール本体、3……表示部 4……制御モジュール、5……パラメータ設定表 21……第1入力部、22……第2入力部 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a schematic block diagram showing the configuration of a terminal applied to the method for setting a parameter of a control program according to the present invention. FIG. 2 is a schematic diagram showing an image displayed when programming the control program. FIG. 3 is a schematic diagram showing an image displayed when setting parameters of a control module in a control program, and FIG. 4 is a schematic diagram of an input screen for setting the parameters. 1 ... programming tool body, 3 ... display unit 4 ... control module, 5 ... parameter setting table 21 ... first input unit, 22 ... second input unit In the drawings, the same reference numerals are the same, or The corresponding parts are shown.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像を表示する表示部と、種々のデータを
入力する入力部とを備えたプログラミングツールの前記
表示部に、種々の制御機能を有する制御モジュールを組
み合わせてなる回路図を前記入力部からのデータ入力に
よって前記表示部に作成することにより、前記回路図の
機能に相当する制御を行う制御プログラムを作成し、前
記制御モジュールの特性を表すパラメータを設定するパ
ラメータ設定表を前記表示部に表示し、このパラメータ
設定表に前記入力部からのデータ入力にてパラメータの
数値を書き込むことにより前記制御プログラム中の制御
モジュールのパラメータ設定を行う制御プログラムのパ
ラメータ設定方法において、 前記表示部に表示された回路図中の制御モジュールから
選択指定した制御モジュールの近傍にパラメータ設定表
を表示し、このパラメータ設定表にて前記パラメータの
設定を行うことを特徴とする制御プログラムのパラメー
タ設定方法。
1. A circuit diagram in which a control module having various control functions is combined with the display unit of a programming tool having a display unit for displaying an image and an input unit for inputting various data. By creating a control program for performing control corresponding to the function of the circuit diagram by creating on the display unit by data input from the unit, a parameter setting table for setting parameters representing characteristics of the control module is displayed on the display unit. In the parameter setting method of the control program for setting the parameter of the control module in the control program by writing the numerical value of the parameter by the data input from the input unit to the parameter setting table, the display on the display unit Parameter near the control module selected and specified from the control modules in the A parameter setting method for a control program, wherein a parameter setting table is displayed, and the parameters are set in the parameter setting table.
JP2197478A 1990-07-23 1990-07-23 Control program parameter setting method Expired - Lifetime JP2660603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2197478A JP2660603B2 (en) 1990-07-23 1990-07-23 Control program parameter setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2197478A JP2660603B2 (en) 1990-07-23 1990-07-23 Control program parameter setting method

Publications (2)

Publication Number Publication Date
JPH0480820A JPH0480820A (en) 1992-03-13
JP2660603B2 true JP2660603B2 (en) 1997-10-08

Family

ID=16375150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2197478A Expired - Lifetime JP2660603B2 (en) 1990-07-23 1990-07-23 Control program parameter setting method

Country Status (1)

Country Link
JP (1) JP2660603B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5642805A (en) * 1979-09-18 1981-04-21 Fanuc Ltd Sequence producing system for sequence controller controlling machine tool
JPS61192305U (en) * 1985-05-23 1986-11-29
JPS63273101A (en) * 1987-04-30 1988-11-10 Fanuc Ltd Programmable controller

Also Published As

Publication number Publication date
JPH0480820A (en) 1992-03-13

Similar Documents

Publication Publication Date Title
JPH0449117B2 (en)
JP2660603B2 (en) Control program parameter setting method
JP2795867B2 (en) Plant monitoring equipment
JPS58155146A (en) Numerical control processing system
JPH0477804A (en) Display method for industrial robot controller
JPH0417002A (en) Sequence program searching system
JP2677595B2 (en) Plant monitoring system
JPS6249404A (en) Method and device for editing nc program
JP2923788B2 (en) Screen input method
JP3021766B2 (en) Drawing creation equipment
JP3303331B2 (en) Semiconductor simulation equipment
JP2842511B2 (en) Form creation device
JP2532138B2 (en) Logic circuit delay time analyzer
JP3123720B2 (en) Programming method and programming device for programmable controller
JPH0830679A (en) Generation and update processor for bar chart for schedule control
JP2925092B2 (en) Grid setting method in image processing device
JP2922578B2 (en) Character processor
JPH0391812A (en) Display system for numerical controller
JPH01244502A (en) Pc program display system
JP2783542B2 (en) Coordinate input method of graphic processing device
JPH02285414A (en) Key display processing system
JPH09147132A (en) Cad system
JPH0736655A (en) Picture information processor
JPS62222325A (en) Terminal data entry control system
JPH03229295A (en) Cursor movement system for screen editing time

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 14