JPH09120302A - Pid control unit - Google Patents

Pid control unit

Info

Publication number
JPH09120302A
JPH09120302A JP27857195A JP27857195A JPH09120302A JP H09120302 A JPH09120302 A JP H09120302A JP 27857195 A JP27857195 A JP 27857195A JP 27857195 A JP27857195 A JP 27857195A JP H09120302 A JPH09120302 A JP H09120302A
Authority
JP
Japan
Prior art keywords
data
input
external device
pid
parameter
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
JP27857195A
Other languages
Japanese (ja)
Inventor
Joji Takera
丈治 武良
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP27857195A priority Critical patent/JPH09120302A/en
Publication of JPH09120302A publication Critical patent/JPH09120302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the unit which can conduct a PID control test without waiting for a user program and/or an external device to be completed. SOLUTION: This unit is equipped with an input part 2 which inputs an input signal from the external device 1, a memory which stores a set parameter and PID data, an arithmetic processing part 4 which performs arithmetic operation on the basis of feedback data controlling the external device 1 and the parameter and PID data and outputs an arithmetic signal, and an output part 5 which inputs the arithmetic signal and outputs an output signal to the external device 1, and is connected to a programmable controller 6, thereby performing feedback control over the external device 1 by a user program 61. In this case, the parameter is provided with a flag for selecting the execution or stop of the PID control test.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、外部装置をフィー
ドバック制御するPID制御ユニットに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PID control unit for feedback controlling an external device.

【0002】[0002]

【従来の技術】外部装置に設けられた圧力、温度、流量
等を検知するセンサからの情報に基づいて、外部装置を
PID(Proportional Integral
and Differential)制御によってフ
ィードバック制御する機器として、PID制御ユニット
がある。このPID制御ユニットは、プログラマブルコ
ントローラと共に一体化して使用される。
2. Description of the Related Art An external device is provided with a PID (Proportional Integrated) based on information from a sensor for detecting pressure, temperature, flow rate, etc. provided in the external device.
There is a PID control unit as a device for performing feedback control by and differential control. This PID control unit is used integrally with a programmable controller.

【0003】従来のこの種のPID制御ユニットとし
て、図4に示す構成のものが存在する。このものは、外
部装置1からの入力信号を取り込む入力部2と、設定値
を有したパラメータ及びPIDデータを格納したメモリ
3と、外部装置1を制御する入力部2からの信号のフィ
ードバックデータとパラメータとPIDデータとに基づ
き演算して演算信号を出力する演算処理部4と、演算信
号を取り込み外部装置1に出力信号を出力する出力部5
と、を備えて、プログラマブルコントローラ6に接続さ
れている。ただしこのものは、プログラマブルコントロ
ーラ6内に設けられたユーザプログラム61によって、
外部装置1をフィードバック制御している。
As a conventional PID control unit of this type, there is one having a structure shown in FIG. This includes an input unit 2 that receives an input signal from the external device 1, a memory 3 that stores parameters having setting values and PID data, and feedback data of a signal from the input unit 2 that controls the external device 1. An arithmetic processing unit 4 that performs arithmetic operation based on the parameters and PID data and outputs an arithmetic signal, and an output unit 5 that takes in the arithmetic signal and outputs the output signal to the external device 1.
And are connected to the programmable controller 6. However, this can be changed by the user program 61 provided in the programmable controller 6.
The external device 1 is feedback-controlled.

【0004】[0004]

【発明が解決しようとする課題】上記した従来例のPI
D制御ユニットでは、外部装置1に設けられた圧力、温
度、流量等を検知するセンサからの信号を入力部2に入
力し、入力部2からの信号のフィードバックデータとメ
モリ3内に格納されたパラメータとPIDデータとに基
づいて、外部装置1を正常にフィードバック制御でき
る。
[Problems to be Solved by the Invention] The above-mentioned conventional PI
In the D control unit, a signal from a sensor that detects pressure, temperature, flow rate, etc. provided in the external device 1 is input to the input unit 2, and the feedback data of the signal from the input unit 2 and the memory 3 are stored. The external device 1 can be normally feedback-controlled based on the parameters and the PID data.

【0005】しかしながら、PID制御ユニットを動作
させるユーザプログラム61及びPID被制御機器であ
る外部装置1が完成するまで、PID制御テストを実行
できなかった。
However, the PID control test could not be executed until the user program 61 for operating the PID control unit and the external device 1 as the PID controlled device were completed.

【0006】本発明は、上記事由に鑑みてなしたもの
で、その目的とするところは、ユーザプログラム及び/
又は外部装置の完成を待たずにPID制御テストを実行
できるPID制御ユニットを提供することにある。
The present invention has been made in view of the above circumstances, and its object is to provide a user program and / or
Another object is to provide a PID control unit that can execute a PID control test without waiting for completion of an external device.

【0007】[0007]

【課題を解決するための手段】上記した課題を解決する
ために、請求項1記載のものは、外部装置からの入力信
号を取り込む入力部と、設定値を有したパラメータ及び
PIDデータを格納したメモリと、外部装置を制御する
フィードバックデータとパラメータとPIDデータとに
基づき演算して演算信号を出力する演算処理部と、演算
信号を取り込み外部装置に出力信号を出力する出力部
と、を備えて、プログラマブルコントローラに接続され
て外部装置をユーザプログラムによってフィードバック
制御するPID制御ユニットにおいて、前記パラメータ
は、PID制御テストの実行又は停止を選択動作するフ
ラグが設けられた構成にしてある。
In order to solve the above-mentioned problems, according to a first aspect of the present invention, an input section for receiving an input signal from an external device, a parameter having a set value and PID data are stored. A memory, an arithmetic processing unit that arithmetically operates based on feedback data for controlling an external device, a parameter, and PID data and outputs an arithmetic signal, and an output unit that receives the arithmetic signal and outputs the output signal to the external device. In a PID control unit that is connected to a programmable controller and feedback-controls an external device according to a user program, the parameter is provided with a flag for selectively operating or stopping a PID control test.

【0008】請求項2記載のものは、請求項1記載のも
のにおいて、前記フィードバックデータ及び前記演算信
号の演算データを格納するエリアが前記メモリ内に設け
られた構成にしてある。
According to a second aspect of the present invention, in the first aspect, an area for storing the feedback data and the operation data of the operation signal is provided in the memory.

【0009】請求項3記載のものは、請求項1記載のも
のにおいて、前記パラメータは、前記フラグの実行動作
後に、前記PIDデータの入力手段を前記ユーザプログ
ラム又はパーソナルコンピュータからの外部入力に切り
替える第1設定値を有する構成にしてある。
According to a third aspect of the present invention, in the first aspect, the parameter switches the input means of the PID data to an external input from the user program or a personal computer after the operation of executing the flag. It is configured to have one set value.

【0010】請求項4記載のものは、請求項1記載のも
のにおいて、前記パラメータは、前記フラグの実行動作
後に、前記フィードバックデータの入力モードを前記外
部装置からの実入力又は外部装置以外からの仮想入力に
切り替える第2設定値を有する構成にしてある。
According to a fourth aspect of the present invention, in the first aspect, the parameter is set such that, after the flag is executed, the input mode of the feedback data is an actual input from the external device or a device other than the external device. The configuration has a second setting value for switching to virtual input.

【0011】請求項5記載のものは、請求項4記載のも
のにおいて、前記パラメータは、前記仮想入力の入力手
段を前記ユーザプログラム又は前記パーソナルコンピュ
ータからの外部入力に切り替える第3設定値を有する構
成にしてある。
According to a fifth aspect, in the fourth aspect, the parameter has a third set value for switching the input means of the virtual input to an external input from the user program or the personal computer. I am doing it.

【0012】請求項6記載のものは、請求項1記載のも
のにおいて、前記メモリ内のデータを前記プログラマブ
ルコントローラに出力するデータ転送手段が設けられた
構成にしてある。
According to a sixth aspect of the present invention, in the first aspect, the data transfer means for outputting the data in the memory to the programmable controller is provided.

【0013】[0013]

【発明の実施の形態】本発明の一実施形態を図1乃至図
3に基づいて以下に説明する。なお、基本的に同一機能
を有する部材は従来例と同一符号を付してある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. The members having basically the same functions are designated by the same reference numerals as those in the conventional example.

【0014】1は外部装置であり、工作機械やロボット
等でPID制御によってフィードバック制御されるもの
であり、圧力、温度、流量等を検知するセンサが設けら
れて、センサからフィードバック信号であってアナログ
信号である入力信号を出力している。
Reference numeral 1 denotes an external device, which is feedback-controlled by PID control in a machine tool, robot, or the like, and is provided with a sensor for detecting pressure, temperature, flow rate, etc., which is a feedback signal from the sensor and is an analog signal. It is outputting an input signal that is a signal.

【0015】2は入力部であり、A/Dコンバータ等か
らなり、外部装置1からのアナログ信号を入力信号とし
て取り込み、デジタル信号に変換して、第1フィードバ
ックデータ36aを出力している。
Reference numeral 2 denotes an input section, which is composed of an A / D converter or the like, which takes in an analog signal from the external device 1 as an input signal, converts it into a digital signal, and outputs the first feedback data 36a.

【0016】3はメモリであり、PID動作のテストを
実行又は停止を選択動作するフラグを設けたパラメータ
31と1又は0の第1乃至第3設定値をそれぞれ有した
第1乃至第3のパラメータ32,33,34とを有して
いる。また、比例常数、微分時間、積分時間等からなる
PIDデータ35aを格納するエリア35と、第1フィ
ードバックデータ36a又は仮想データである第2フィ
ードバックデータ36bを格納するエリア36と、後述
する演算処理部4から出力される演算信号の演算データ
37aを格納するエリア37とを設けている。
Reference numeral 3 denotes a memory, which is a parameter 31 provided with a flag for selecting whether to execute or stop the test of the PID operation, and first to third parameters having first to third set values of 1 or 0, respectively. 32, 33, and 34. Further, an area 35 for storing PID data 35a composed of a proportional constant, a derivative time, an integration time, etc., an area 36 for storing the first feedback data 36a or the second feedback data 36b which is virtual data, and an arithmetic processing unit described later. 4 and an area 37 for storing the calculation data 37a of the calculation signal output from No. 4 of FIG.

【0017】4は演算処理部であり、マイコン等からな
り、入力部2からの第1フィードバックデータ36a又
はメモリ3に格納された第2フィードバックデータ36
bと、メモリ3に格納されたPIDデータ35aとに基
づき演算して演算信号を後述する出力部5に出力し、か
つその演算信号の演算データ37aをメモリ3に出力す
る。
Reference numeral 4 denotes an arithmetic processing unit, which comprises a microcomputer or the like, and the first feedback data 36a from the input unit 2 or the second feedback data 36 stored in the memory 3.
b and the PID data 35a stored in the memory 3 to perform an operation and output an operation signal to the output unit 5 described later, and output operation data 37a of the operation signal to the memory 3.

【0018】5は出力部であり、D/Aコンバータ等か
らなり、演算処理部4からの演算信号を取り込んでデジ
タル信号をアナログ信号に変換し、外部装置1に出力信
号を出力する。
An output unit 5 is composed of a D / A converter or the like, takes in the operation signal from the operation processing unit 4, converts the digital signal into an analog signal, and outputs the output signal to the external device 1.

【0019】7はデータ転送手段であり、メモリ3に格
納されたPIDデータ35a、第1又は第2フィードバ
ックデータ36a,36b、演算データ37aを取り込
み、プログラマブルコントローラ6にデータを転送す
る。
Reference numeral 7 is a data transfer means, which takes in the PID data 35a, the first or second feedback data 36a, 36b, and the operation data 37a stored in the memory 3, and transfers the data to the programmable controller 6.

【0020】ユーザプログラム61を備えたプログラマ
ブルコントローラ6は、I/Oバスによってデータ転送
手段7と、表示画面81を備えたパーソナルコンピュー
タ8とに接続されている このものの動作を、図3に示すフローチャートに基づい
て説明する。このものの初期は、パラメータ31のフラ
グが停止状態になっている。この状態では、従来のもの
とと同様の機能を有して外部装置1をフィードバック制
御できる。
The programmable controller 6 having the user program 61 is connected to the data transfer means 7 and the personal computer 8 having the display screen 81 by the I / O bus. The operation of this is shown in the flowchart of FIG. It will be described based on. Initially, the flag of the parameter 31 is in a stopped state. In this state, the external device 1 can be feedback-controlled with the same function as the conventional one.

【0021】ステップ#1において、フラグを設けたパ
ラメータ31の実行又は停止のいずれかを選択し、この
ときPID動作のテストを実行動作するときは実行と
し、同様に、第1乃至第3のパラメータ32,33,3
4の第1乃至第3設定値である1又は0のいずれかを選
択して、パーソナルコンピュータ8から入力する。
In step # 1, either execution or stop of the flag-provided parameter 31 is selected. At this time, the test of the PID operation is executed when it is executed, and similarly, the first to third parameters are executed. 32, 33, 3
One of the first to third setting values of 4 or 1 is selected and input from the personal computer 8.

【0022】ステップ#2において、パラメータ32の
第1設定値が1のときステップ#3へ進み、メモリ3の
PIDデータを格納するエリア35に比例常数、微分時
間、積分時間等のPID動作を制御するPIDデータ3
5aをパーソナルコンピュータ8から、そのPIDデー
タ35aを共有できるようにプログラマブルコントロー
ラ6及びデータ転送手段7を経由して入力する。また、
第1設定値が0のときステップ#4へ進み、メモリ3の
エリア35にPIDデータ35aを、プログラマブルコ
ントローラ6に設けられたユーザプログラム61からデ
ータ転送手段7を経由して入力する。
When the first set value of the parameter 32 is 1 in step # 2, the process proceeds to step # 3, and the PID operation such as proportional constant, differential time, integration time, etc. is controlled in the area 35 of the memory 3 for storing the PID data. PID data 3
5a is input from the personal computer 8 via the programmable controller 6 and the data transfer means 7 so that the PID data 35a can be shared. Also,
When the first set value is 0, the process proceeds to step # 4, and the PID data 35a is input to the area 35 of the memory 3 from the user program 61 provided in the programmable controller 6 via the data transfer means 7.

【0023】ステップ#5において、パラメータ33の
第2設定値が0のときステップ#6に進み、このとき
は、PID制御のために必要なフィードバックデータの
入力モードが実際に外部装置1を動作させて入力する実
入力となる。プログラマブルコントローラ6に設けられ
た外部装置1を強制的に動作させる強制出力機能を使用
して外部装置1を動作させて、外部装置1から入力部2
を経由して第1フィードバックデータ36aが演算処理
部4とメモリ3のフィードバックデータ格納エリア36
に入力される。
In step # 5, when the second set value of the parameter 33 is 0, the process proceeds to step # 6, in which the input mode of the feedback data required for PID control actually operates the external device 1. It becomes the actual input. The external device 1 is operated by using the forced output function for forcibly operating the external device 1 provided in the programmable controller 6, and the external device 1 is operated by the input unit 2
The first feedback data 36 a is transmitted via the calculation processing unit 4 and the feedback data storage area 36 of the memory 3.
Is input to

【0024】また、パラメータ33の第2設定値が1の
とき、フィードバックデータの入力モードが外部装置1
を動作させずに入力する仮想入力となる。このとき、P
ID制御のためのフィードバックデータが仮想データと
なり、この第2フィードバックデータ36bは、仮想的
に時間の経過において仮に設定した値を指す。そして、
次のステップ#7へ進む。
When the second set value of the parameter 33 is 1, the feedback data input mode is the external device 1
It becomes a virtual input that is input without operating. At this time, P
Feedback data for ID control becomes virtual data, and the second feedback data 36b indicates a value that is virtually set over time. And
Go to next step # 7.

【0025】ステップ#7において、パラメータ34の
第3設定値が1のときステップ#8へ進み、仮想データ
である第2フィードバックデータ36bをパーソナルコ
ンピュータ8から、フィードバックデータ格納エリア3
6に入力する。また、パラメータ33の第3設定値が0
のときステップ#9へ進む。仮想データである第2フィ
ードバックデータ36bを、プログラマブルコントロー
ラ6に設けられたユーザプログラム61から、ユーザプ
ログラム61を1回だけ実行することによって、フィー
ドバックデータ格納エリア36にデータ転送手段7を経
由して入力する。
In step # 7, when the third set value of the parameter 34 is 1, the process proceeds to step # 8, and the second feedback data 36b which is virtual data is sent from the personal computer 8 to the feedback data storage area 3
Enter in 6. Further, the third set value of the parameter 33 is 0
If so, proceed to step # 9. The second feedback data 36b, which is virtual data, is input from the user program 61 provided in the programmable controller 6 to the feedback data storage area 36 via the data transfer means 7 by executing the user program 61 only once. To do.

【0026】ステップ#10において、パラメータ31
のフラグが実行であると、演算処理部4が、メモリ3内
に格納されたPID動作を制御するPIDデータ35a
と、同様にメモリ3内に格納されて仮想入力された第2
フィードバックデータ36b又は実入力によって入力さ
れた第1フィードバックデータ36aとに基づいて演算
を開始し、PID動作のテストが実行される。また、パ
ラメータ31のフラグが停止であると、初期状態に戻
る。
In step # 10, the parameter 31
If the flag of No. is execution, the arithmetic processing unit 4 controls the PID operation stored in the memory 3 to the PID data 35a.
Similarly, the second data stored in the memory 3 and virtually input
The calculation is started based on the feedback data 36b or the first feedback data 36a input by the actual input, and the PID operation test is executed. If the flag of the parameter 31 is stopped, the state returns to the initial state.

【0027】ステップ#11において、パーソナルコン
ピュータ8がメモリ3内に格納されたPIDデータ35
aと、第1フィードバックデータ36a又は第2フィー
ドバックデータ36bと、演算データ37aとを取り込
み、それらを表示画面81でもってグラフィック表示す
る。
In step # 11, the personal computer 8 stores the PID data 35 stored in the memory 3.
a, the first feedback data 36a or the second feedback data 36b, and the calculation data 37a are fetched and displayed graphically on the display screen 81.

【0028】かかるPID制御ユニットにあっては、上
記したように、メモリ3内のパラメータ31をフラグが
設けられたものとしたから、そのフラグがPID制御テ
ストの実行動作を選択すると、外部装置1の稼働及び/
又はユーザプログラム61の実行をすることなく、演算
処理部4で第1フィードバックデータ36a又は第2フ
ィードバックデータ36bとPIDデータとに基づき演
算してその演算結果を演算データとして出力して、フィ
ードバック制御する外部装置1並びにその関連装置及び
/又はユーザプログラム61の完成を待たずに、効率の
良いPID制御テストを実行できる。
In such a PID control unit, since the parameter 31 in the memory 3 is provided with the flag as described above, when the flag selects the PID control test execution operation, the external device 1 Operation and /
Alternatively, without executing the user program 61, the arithmetic processing unit 4 performs an arithmetic operation based on the first feedback data 36a or the second feedback data 36b and the PID data, outputs the arithmetic result as arithmetic data, and performs feedback control. An efficient PID control test can be executed without waiting for completion of the external device 1 and its related device and / or the user program 61.

【0029】また、メモリ3内に第1フィードバックデ
ータ36a又は第2フィードバックデータ36bと演算
データ37aとを格納するエリア36,37を設けたか
ら、PIDデータ35aを格納したメモリ3と兼用でき
新規にメモリを設置する必要がなく、コストが安価とな
る。
Since the areas 36 and 37 for storing the first feedback data 36a or the second feedback data 36b and the operation data 37a are provided in the memory 3, the memory 3 can also be used as the memory 3 storing the PID data 35a. Since it is not necessary to install, the cost is low.

【0030】また、フラグの実行動作後に、パラメータ
32の第1設定値によってPIDデータ35aの入力手
段を切り替えて選択できるから、ユーザプログラム61
が完成しているときは精度の高いユーザプログラム61
で、ユーザプログラム61が完成していないときでもパ
ーソナルコンピュータ8からの外部入力でもってPID
データ35aを入力できる。
Further, after the flag execution operation, the input means of the PID data 35a can be switched and selected by the first set value of the parameter 32, so the user program 61
User program 61 with high accuracy when
Even if the user program 61 is not completed, the PID can be obtained by external input from the personal computer 8.
The data 35a can be input.

【0031】また、フラグの実行動作後に、パラメータ
33の第2設定値によって入力モードを切り替えて第1
又は第2フィードバックデータ36a,36bを選択で
きるから、外部装置1が完成しているときは精度の高い
外部装置1からの実入力で第1フィードバックデータ3
6aを演算処理部4とメモリ3とに、外部装置1が完成
していないときでも仮想入力でもって第2フィードバッ
クデータ36bをメモリ3に入力できる。
After the flag execution operation, the input mode is switched according to the second set value of the parameter 33 to change the first mode.
Alternatively, since the second feedback data 36a and 36b can be selected, when the external device 1 is completed, the first feedback data 3 can be input by the highly accurate actual input from the external device 1.
The second feedback data 36b can be input to the memory 3 by the virtual input 6a to the arithmetic processing unit 4 and the memory 3 even when the external device 1 is not completed.

【0032】また、パラメータ34の第3設定値によっ
て、仮想入力の入力手段を切り替えて選択できるから、
ユーザプログラム61が完成しているときは精度の高い
ユーザプログラム61で、ユーザプログラム61が完成
していないときでもパーソナルコンピュータ8からの外
部入力でもって、第2フィードバックデータ36bをメ
モリ3に入力できる。
Since the input means of virtual input can be switched and selected by the third set value of the parameter 34,
The second feedback data 36b can be input to the memory 3 by the highly accurate user program 61 when the user program 61 is completed, and by external input from the personal computer 8 even when the user program 61 is not completed.

【0033】また、メモリ3内のデータをプログラマブ
ルコントローラ6に出力するデータ転送手段7を設けた
から、メモリ3内に格納されたPIDデータ35aと、
第1又は第2フィードバックデータ36a,36bと、
演算データ37aとを読み出してそれらを表示画面81
でもってグラフィック表示して、パーソナルコンピュー
タでモニタし評価できる。
Since the data transfer means 7 for outputting the data in the memory 3 to the programmable controller 6 is provided, the PID data 35a stored in the memory 3 and
The first or second feedback data 36a, 36b,
The calculation data 37a is read out and displayed on the display screen 81.
Therefore, it can be displayed graphically and monitored and evaluated on a personal computer.

【0034】なお、本実施形態では、データ転送手段7
を設けたが、プログラマブルコントローラにデータ転送
機能が付属されているときは設けなくてもよく、限定さ
れない。
In this embodiment, the data transfer means 7
However, when the programmable controller is provided with a data transfer function, it may not be provided and is not limited.

【0035】[0035]

【発明の効果】請求項1記載のものは、メモリ内のパラ
メータをフラグが設けられたものとしたから、そのフラ
グがPID制御テストの実行動作を選択すると、外部装
置の稼働及び/又はユーザプログラムの実行をすること
なく、演算処理部でフィードバックデータとPIDデー
タとに基づき演算して、その演算結果を演算データとし
て出力して、フィードバック制御する外部装置及び/又
はユーザプログラムの完成を待たずに効率の良いPID
制御テストを実行できる。
According to the first aspect of the present invention, the parameter in the memory is provided with the flag. Therefore, when the flag selects the execution operation of the PID control test, the operation of the external device and / or the user program is executed. Without executing the above, the arithmetic processing unit performs an arithmetic operation based on the feedback data and the PID data, outputs the arithmetic result as arithmetic data, and does not wait for the completion of the external device for feedback control and / or the user program. Efficient PID
Can perform control tests.

【0036】請求項2記載のものは、請求項1記載のも
のの効果に加えて、メモリ内にフィードバックデータ及
び演算データを格納するエリアを設けたから、PIDデ
ータを格納したメモリと兼用でき新規にメモリを設置す
る必要がなく、コストが安価となる。
In addition to the effect of the first aspect, the second aspect provides the area for storing the feedback data and the operation data in the memory, so that it can be used also as the memory for storing the PID data, and a new memory is provided. Since it is not necessary to install, the cost is low.

【0037】請求項3記載のものは、請求項1記載のも
のの効果に加えて、フラグの実行動作後に、パラメータ
の第1設定値によってPIDデータの入力手段を切り替
えて選択できるから、ユーザプログラムが完成している
ときは精度の高いユーザプログラムで、ユーザプログラ
ムが完成していないときでもパーソナルコンピュータか
らの外部入力でもってPIDデータをメモリに入力でき
る。
According to the third aspect, in addition to the effect of the first aspect, the user program can be selected by switching the input means of the PID data according to the first setting value of the parameter after the flag execution operation. When completed, it is a highly accurate user program, and even when the user program is not completed, PID data can be input to the memory by external input from a personal computer.

【0038】請求項4記載のものは、請求項1記載のも
のの効果に加えて、フラグの実行動作後に、パラメータ
の第2設定値によって入力モードを切り替えてフィード
バックデータを選択できるから、外部装置が完成してい
るときは精度の高い外部装置からの実入力で演算処理部
及びメモリに、外部装置が完成していないときでも仮想
入力でもってメモリにフィードバックデータを入力でき
る。
According to the fourth aspect, in addition to the effect of the first aspect, since the input mode can be switched and the feedback data can be selected by the second set value of the parameter after the flag execution operation, the external device can When it is completed, feedback data can be input to the arithmetic processing unit and the memory by highly accurate actual input from an external device, and even when the external device is not completed, virtual data can be input to the memory as virtual input.

【0039】請求項5記載のものは、請求項4記載のも
のの効果に加えて、パラメータの第3設定値によって、
仮想入力の入力手段を切り替えて選択できるから、ユー
ザプログラムが完成しているときは精度の高いユーザプ
ログラムで、ユーザプログラムが完成していないときで
もパーソナルコンピュータからの外部入力でもってフィ
ードバックデータをメモリに入力できる。
According to the fifth aspect, in addition to the effect of the fourth aspect, the third set value of the parameter allows
Since the input means of virtual input can be switched and selected, a highly accurate user program can be used when the user program is completed, and feedback data can be stored in the memory by external input from the personal computer even when the user program is not completed. You can enter.

【0040】請求項6記載のものは、請求項1記載のも
のの効果に加えて、メモリ内のデータをプログラマブル
コントローラに出力するデータ転送手段を設けたから、
メモリ内に格納されたPIDデータ、フィードバックデ
ータ、演算データを読み出してそれらを表示画面でもっ
てグラフィック表示して、パーソナルコンピュータでモ
ニタし評価できる。
According to the sixth aspect, in addition to the effect of the first aspect, the data transfer means for outputting the data in the memory to the programmable controller is provided.
The PID data, the feedback data, and the operation data stored in the memory can be read out and displayed graphically on a display screen, and can be monitored and evaluated by a personal computer.

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

【図1】本発明の一実施形態を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】同上のメモリの構成図である。FIG. 2 is a configuration diagram of a memory of the above.

【図3】同上の動作のフローチャート図である。FIG. 3 is a flowchart of the same operation as above.

【図4】従来例を示す構成図である。FIG. 4 is a configuration diagram showing a conventional example.

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

1 外部装置 2 入力部 3 メモリ 31 フラグを設けたパラメータ 32 第1設定値を有したパラメータ 33 第2設定値を有したパラメータ 34 第3設定値を有したパラメータ 35 PIDデータ格納エリア 35a PIDデータ 36 フィードバックデータ格納エリア 36a 第1フィードバックデータ 36b 第2フィードバックデータ 37 演算信号のデータ格納エリア 37a 演算データ 4 演算処理部 5 出力部 6 プログラマブルコントローラ 61 ユーザプログラム 7 データ転送手段 1 External Device 2 Input Unit 3 Memory 31 Parameter with Flag 32 Parameter with First Setting Value 33 Parameter with Second Setting Value 34 Parameter with Third Setting Value 35 PID Data Storage Area 35a PID Data 36 Feedback data storage area 36a First feedback data 36b Second feedback data 37 Data storage area for operation signal 37a Operation data 4 Operation processing section 5 Output section 6 Programmable controller 61 User program 7 Data transfer means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 外部装置からの入力信号を取り込む入力
部と、設定値を有したパラメータ及びPIDデータを格
納したメモリと、外部装置を制御するフィードバックデ
ータとパラメータとPIDデータとに基づき演算して演
算信号を出力する演算処理部と、演算信号を取り込み外
部装置に出力信号を出力する出力部と、を備えて、プロ
グラマブルコントローラに接続されて外部装置をユーザ
プログラムによってフィードバック制御するPID制御
ユニットにおいて、 前記パラメータは、PID制御テストの実行又は停止を
選択動作するフラグが設けられたものであることを特徴
とするPID制御ユニット。
1. An input unit for receiving an input signal from an external device, a memory storing a parameter having a set value and PID data, a feedback data for controlling the external device, and an operation based on the parameter and the PID data. A PID control unit that includes an arithmetic processing unit that outputs an arithmetic signal and an output unit that takes in the arithmetic signal and outputs the output signal to an external device, is connected to a programmable controller, and feedback-controls the external device by a user program, The PID control unit, wherein the parameter is provided with a flag for selectively performing execution or stop of the PID control test.
【請求項2】 前記フィードバックデータ及び前記演算
信号の演算データを格納するエリアが前記メモリ内に設
けられたことを特徴とする請求項1記載のPID制御ユ
ニット。
2. The PID control unit according to claim 1, wherein an area for storing the feedback data and the operation data of the operation signal is provided in the memory.
【請求項3】 前記パラメータは、前記フラグの実行動
作後に、前記PIDデータの入力手段を前記ユーザプロ
グラム又はパーソナルコンピュータからの外部入力に切
り替える第1設定値を有することを特徴とする請求項1
記載のPID制御ユニット。
3. The parameter has a first set value for switching the input means of the PID data to an external input from the user program or a personal computer after the flag execution operation.
The PID control unit described.
【請求項4】 前記パラメータは、前記フラグの実行動
作後に、前記フィードバックデータの入力モードを前記
外部装置からの実入力又は外部装置以外からの仮想入力
に切り替える第2設定値を有することを特徴とする請求
項1記載のPID制御ユニット。
4. The parameter has a second set value for switching the input mode of the feedback data to an actual input from the external device or a virtual input from a device other than the external device after the operation of executing the flag. The PID control unit according to claim 1.
【請求項5】 前記パラメータは、前記仮想入力の入力
手段を前記ユーザプログラム又は前記パーソナルコンピ
ュータからの外部入力に切り替える第3設定値を有する
ことを特徴とする請求項4記載のPID制御ユニット。
5. The PID control unit according to claim 4, wherein the parameter has a third set value for switching the input means of the virtual input to an external input from the user program or the personal computer.
【請求項6】 前記メモリ内のデータを前記プログラマ
ブルコントローラに出力するデータ転送手段が設けられ
たことを特徴とする請求項1記載のPID制御ユニッ
ト。
6. The PID control unit according to claim 1, further comprising data transfer means for outputting data in the memory to the programmable controller.
JP27857195A 1995-10-26 1995-10-26 Pid control unit Pending JPH09120302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27857195A JPH09120302A (en) 1995-10-26 1995-10-26 Pid control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27857195A JPH09120302A (en) 1995-10-26 1995-10-26 Pid control unit

Publications (1)

Publication Number Publication Date
JPH09120302A true JPH09120302A (en) 1997-05-06

Family

ID=17599126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27857195A Pending JPH09120302A (en) 1995-10-26 1995-10-26 Pid control unit

Country Status (1)

Country Link
JP (1) JPH09120302A (en)

Similar Documents

Publication Publication Date Title
JPH09128255A (en) Programable logic controller
JPH09120302A (en) Pid control unit
JPH08339223A (en) Control value setting device for process controller
JP2004013239A (en) Motion data command system for motion program, and control signal definition system
KR20050003789A (en) Driver's information system for a vehicle
JPS60168206A (en) Numerical control device
JP2001228274A (en) Electronic counter
JP2005339018A (en) Numerical control device
JP2001074623A (en) Testing device control method and testing device
JPH08272405A (en) Sequence controller
JPH0614330B2 (en) Microprocessor device
JPH02226307A (en) Numerical controller
JP2000207003A (en) Programmable controller
JP2002333946A (en) Programmable display unit
JP3384141B2 (en) Programmable controller and programmable controller maintenance device
JPS60246428A (en) Power source controlling system of terminal equipment in information processing system
JPH1195825A (en) Method for executing numerical control program
JPH05224713A (en) Display method for programmable controller
JPH11108510A (en) Operating device
JPH08286734A (en) Programmable display device
JPS63113704A (en) Programmable controller having measurement display function
JPH05324001A (en) Backup operation unit for instrumentation control
JPH0219482B2 (en)
JP3358112B2 (en) Programmable controller
JPH0239346A (en) Screen shift control system