JPH0535310A - Constant setting device - Google Patents
Constant setting deviceInfo
- Publication number
- JPH0535310A JPH0535310A JP18846291A JP18846291A JPH0535310A JP H0535310 A JPH0535310 A JP H0535310A JP 18846291 A JP18846291 A JP 18846291A JP 18846291 A JP18846291 A JP 18846291A JP H0535310 A JPH0535310 A JP H0535310A
- Authority
- JP
- Japan
- Prior art keywords
- constant
- request
- time
- storage
- change history
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、例えば電動機駆動用
電源装置などにシステム定数を設定する定数設定装置に
関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a constant setting device for setting a system constant in, for example, a power source device for driving an electric motor.
【0002】[0002]
【従来の技術】図4は従来の定数設定装置を示すブロッ
ク図である。図において、1はマンマシン・インタフェ
ースとしての定数設定操作パネル、2は定数演算や制御
演算などの処理を行うプログラムを格納しているRO
M、3はこれら定数設定操作パネル1およびROM2と
相互接続され、ROM2に格納されているプログラムを
実行するCPU、4はこのCPU3と相互接続され、定
数設定操作パネル1により設定された定数設定値を保存
するEEPROM、5はCPU3と相互接続され、定数
設定操作パネル1により設定された定数設定値を制御演
算用に変換した結果を保存するRAM領域、そして6は
CPU3と相互接続された制御対象装置である。2. Description of the Related Art FIG. 4 is a block diagram showing a conventional constant setting device. In the figure, 1 is a constant setting operation panel as a man-machine interface, and 2 is an RO that stores programs for performing constant calculation and control calculation.
M and 3 are interconnected with the constant setting operation panel 1 and the ROM 2, and a CPU 4 for executing a program stored in the ROM 2 is interconnected with the CPU 3 and constant setting values set by the constant setting operation panel 1. An EEPROM for storing the data is connected to the CPU 3, a RAM area for storing the result of converting the constant setting value set by the constant setting operation panel 1 for control calculation, and 6 is a control target interconnected with the CPU 3. It is a device.
【0003】次に動作について説明する。制御対象装置
6が例えば電動機駆動用電源装置であってその速度制御
部(図示しない)のゲインを変更したいときは、まず定
数設定操作パネル1を操作して変更するゲイン定数を設
定する。次に、この設定された値に対して設定演算用の
変更をCPU3で行い、変更が正常に終了した時点で、
設定値を定数設定値保存用EEPROM4に保存し、ま
た変換後の値を定数変換結果保存用RAM領域5に保存
する。さらに、CPU3は定数変換結果保存用RAM領
域5に保存された新しいデータを用い、ROM2のプロ
グラムに従って制御対象装置6を制御する。Next, the operation will be described. When the controlled device 6 is, for example, a power source device for driving an electric motor and it is desired to change the gain of the speed control unit (not shown), the constant setting operation panel 1 is first operated to set the gain constant to be changed. Next, the CPU 3 makes a change for the setting calculation with respect to the set value, and when the change is normally completed,
The setting value is stored in the constant setting value storage EEPROM 4, and the converted value is stored in the constant conversion result storage RAM area 5. Further, the CPU 3 uses the new data stored in the constant conversion result storage RAM area 5 to control the controlled device 6 according to the program in the ROM 2.
【0004】[0004]
【発明が解決しようとする課題】従来の定数設定装置は
上述したように構成されているので、例えば制御の試験
を行う場合のように多くの定数設定値を変更し、ある時
点での設定値を復元したいときは、変更した全ての定数
に対して変更履歴を記憶しておき、1つづつ定数設定操
作パネルから戻してやる必要があり、従って苦労が多
く、人為的ミスを伴い易いという問題点があった。Since the conventional constant setting device is configured as described above, many constant set values are changed and set values at a certain point are changed, for example, when a control test is performed. When you want to restore, it is necessary to memorize the change history for all the changed constants and return them one by one from the constant setting operation panel, so there is a lot of trouble and it is easy to cause human error. was there.
【0005】この発明は、このような問題点を解決する
ためになされたもので、ある時点の設定値への復元が容
易であると共に、試験および調整を簡単に行うことがで
きる定数設定装置を得ることを目的としている。The present invention has been made in order to solve such a problem, and provides a constant value setting device which can easily restore a set value at a certain point of time and can be easily tested and adjusted. The purpose is to get.
【0006】[0006]
【課題を解決するための手段】この発明に係る定数設定
装置は、マンマシン・インタフェースの設定値記憶要求
によりそのときの全定数設定値をRAM領域に記憶する
最終要求時記憶部と、メモリバッファに記憶するごとに
前回記憶したデータとの相異点の記録をRAM領域に残
す変更履歴記憶部と、マンマシン・インタフェースの要
求により前記最終要求時記憶部と前記変更履歴記憶部か
ら現在の設定をある時点に記憶した設定値に戻す復元部
とを設けたものである。SUMMARY OF THE INVENTION A constant setting device according to the present invention comprises a final request storage unit for storing all constant set values at that time in a RAM area in response to a man-machine interface setting value storage request, and a memory buffer. Change history storage section that leaves a record of the difference from the previously stored data in the RAM area each time it is stored, and the current setting from the last request storage section and the change history storage section at the request of the man-machine interface. And a restoring unit that restores the set value stored at a certain point in time.
【0007】[0007]
【作用】この発明では、定数設定操作パネルからの記憶
要求により必要な時点の定数設定値をRAM領域に記憶
し、希望する時に変更履歴を保存したRAM領域と最後
に記憶された全定数設定値から所望の時点の定数を復元
することにより、瞬時に正確にある制御状態を再現する
ことができる。According to the present invention, the constant setting value at a required time is stored in the RAM area in response to the storage request from the constant setting operation panel, and the RAM area storing the change history at the desired time and all the constant setting values stored at the end. By restoring the constant at a desired time from, a certain control state can be instantly and accurately reproduced.
【0008】[0008]
【実施例】以下、この発明の一実施例を図について説明
する。図1は、この発明による定数設定装置の一実施例
を示すブロック図である。図において、1乃至6は図4
の従来例のものと同じである。7はCPU3と相互接続
され、最後に記憶要求があった時の全定数設定値を保存
するRAM領域、そして8はCPU3と相互接続され、
記憶するごとに前回および今回の記憶時の相異分を記憶
する変更履歴保存用RAM領域である。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a constant setting device according to the present invention. In the figure, 1 to 6 are shown in FIG.
The same as the conventional example. 7 is interconnected with the CPU 3, RAM area for storing all constant setting values at the last storage request, and 8 is interconnected with the CPU 3,
This is a change history storage RAM area that stores the difference between the previous time and the current time each time it is stored.
【0009】次に動作について説明する。図2はこの発
明の実施例において定数設定操作パネル1から記憶要求
があつたときの動作を説明するフローチャート図、そし
て図3は同様に定数設定操作パネル1から復元要求があ
ったときの動作を説明するフローチャート図である。Next, the operation will be described. FIG. 2 is a flow chart for explaining the operation when there is a storage request from the constant setting operation panel 1 in the embodiment of the present invention, and FIG. 3 similarly shows the operation when there is a restore request from the constant setting operation panel 1. It is a flowchart figure explaining.
【0010】先ず、定数設定操作パネル1から現在の設
定値に対する記憶要求があるときは、図2において、ス
テップST1によりこの要求が1回目かどうかについて
の判断がなされ、1回目のときは比較するものがないの
で、ステップST4で相異分の情報に付ける番号を0に
初期化するだけで変更履歴保存用RAM領域8には格納
しない。一方、1回目の要求ではない場合は、先ずステ
ップST2で相異分の情報に付ける番号を増加させる。
次に、ステップST3で現在、定数設定値保存用EEP
ROM4に格納されている設定値と、前回記憶要求があ
ったときの全定数設定値が格納されている最終記憶時全
定数設定値保存用RAM領域7のデータとを比較し、相
異するデータに対してどの定数が異なり、またその値は
いくらになったかなどの情報に番号を付けて変更履歴保
存用RAM領域8に格納する。さらに、ステップST5
で、1回目の記憶要求である場合も、そうでない場合
も、現在、定数設定値保存用EEPROM4に格納され
ている設定値データを最終記憶時全定数設定値保存用R
AM領域7に格納し、一連の記憶要求に対する処理を終
了する。First, when there is a storage request for the current set value from the constant setting operation panel 1, it is judged in step ST1 in FIG. 2 whether or not this request is the first time, and when it is the first time, a comparison is made. Since there is nothing, the number assigned to the information for the difference is initialized to 0 in step ST4 and is not stored in the change history storage RAM area 8. On the other hand, if it is not the first request, first, in step ST2, the number assigned to the different information is increased.
Next, in step ST3, the EEP for saving the current constant set value.
The set value stored in the ROM 4 is compared with the data in the RAM area 7 for storing all constant set values at the time of last storage in which the set values of all constants when the previous storage request was made are compared, and different data is compared. In contrast, information such as which constant is different and what its value is is numbered and stored in the change history storage RAM area 8. Furthermore, step ST5
Then, regardless of whether it is the first storage request or not, the setting value data currently stored in the EEPROM 4 for storing constant setting values is stored in the last storing all constant setting values R
The data is stored in the AM area 7, and the processing for a series of storage requests is completed.
【0011】次に、図3において、定数設定操作パネル
1から前記相異分の情報に付けた番号に対して指定した
番号の設定値の復元要求があったとき、ステップST1
1で、最終記憶時全定数設定値保存用RAM領域11に
格納されているデータを基にして変更履歴保存用RAM
領域8に格納されている履歴情報を順次たどって指定番
号に対する全定数設定値を復元する。例えば、現在の前
記相異分の情報に付けられた番号が10で、定数設定操
作パネル1から復元要求された指定番号が7のとき、変
更履歴保存用RAM領域8に格納されている履歴情報を
元に10→9→8→7と順次設定値を復元していくこと
により所望の指定番号に対する全定数設定値のデータを
復元することが可能になる。次に、ステップST12
で、復元したデータを定数設定値保存用EEPROM4
に格納し、ステップST13で復元した設定値に対して
前記制御演算用の変換を行い一連の復元処理を終了す
る。Next, in FIG. 3, when there is a request from the constant setting operation panel 1 to restore the set value of the number specified for the number added to the information for the difference, step ST1
1, the change history saving RAM based on the data stored in the RAM area 11 for saving all constant set values at the time of final storage
The history information stored in the area 8 is sequentially traced to restore all constant set values for the designated number. For example, when the number assigned to the current difference information is 10 and the designated number requested to be restored from the constant setting operation panel 1 is 7, history information stored in the change history storage RAM area 8 By sequentially restoring the set values in the order of 10 → 9 → 8 → 7, it becomes possible to restore the data of all constant set values for the desired designated number. Next, step ST12
Then, the restored data is stored in the EEPROM 4 for storing constant set values.
Stored in, and conversion for the control calculation is performed on the set value restored in step ST13, and a series of restoration processing ends.
【0012】[0012]
【発明の効果】以上のように、この発明は、マンマシン
・インタフェースの設定値記憶要求によりそのときの全
定数設定値を記憶する最終要求時記憶部と、記憶するご
とに前回記憶したデータとの相異点を記憶する変更履歴
記憶部と、前記最終要求時記憶部と前記変更履歴記憶部
とに接続され、前記マンマシン・インタフェースの要求
により前記最終要求時記憶部と前記変更履歴記憶部から
現在の設定をある時点に記憶した設定値に戻す復元部と
を備えているので、必要な時点の定数設定値を簡単に記
憶かつ復元できると共に、制御対象装置の特定の制御状
態を瞬時に作ることができ、さらに記憶および復元を全
てプログラムで行い、変更履歴保存用RAM領域への格
納は前回格納データとの相異分だけなのでRAM領域は
少なくて済み、安価に実現できるという効果を奏する。As described above, according to the present invention, the last-request storage unit that stores all constant set values at that time in response to a man-machine interface set value storage request, and the previously stored data for each storage Connected to the change history storage unit, the final request time storage unit and the change history storage unit, and the final request time storage unit and the change history storage unit at the request of the man-machine interface. Since it has a restoring unit that restores the current setting to the setting value stored at a certain time point, the constant setting value at a required time point can be easily stored and restored, and the specific control state of the controlled device can be instantaneously set. It can be created, and all storage and restoration is done by a program, and since the change history storage RAM area is only different from the previously stored data, the RAM area can be small. An effect that can be realized.
【図1】この発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】図1の実施例において記憶要求があったときの
動作を説明するフローチャート図である。FIG. 2 is a flow chart for explaining the operation when there is a storage request in the embodiment of FIG.
【図3】図1の実施例において復元要求があったときの
動作を説明するフローチャート図である。FIG. 3 is a flow chart for explaining the operation when there is a restoration request in the embodiment of FIG.
【図4】従来の定数設定装置を示すブロック図である。FIG. 4 is a block diagram showing a conventional constant setting device.
1 定数設定操作パネル 2 ROM 3 CPU 4 定数設定値保存用EEPROM 5 定数変換結果保存用RAM領域 6 制御対象装置 7 最終記憶時全定数設定値保存用RAM領域 8 変更履歴保存用RAM領域 1 constant setting operation panel 2 ROM 3 CPU 4 constant setting value storage EEPROM 5 constant conversion result storage RAM area 6 controlled device 7 final storage all constant setting value storage RAM area 8 change history storage RAM area
Claims (1)
憶要求によりそのときの全定数設定値を記憶する最終要
求時記憶部と、記憶するごとに前回記憶したデータとの
相異点を記憶する変更履歴記憶部と、前記最終要求時記
憶部と前記変更履歴記憶部とに接続され、前記マンマシ
ン・インタフェースの要求により前記最終要求時記憶部
と前記変更履歴記憶部から現在の設定をある時点に記憶
した設定値に戻す復元部とを備えたことを特徴とする定
数設定装置。What is claimed is: 1. A difference between a last-request storage unit that stores all constant setting values at that time in response to a man-machine interface setting value storage request, and the previously stored data for each storage. A change history storage unit that stores points, a final request time storage unit, and a change history storage unit are connected, and a current state is output from the final request time storage unit and the change history storage unit at the request of the man-machine interface. A constant setting device comprising: a restoring unit that restores a setting to a setting value stored at a certain time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18846291A JPH0535310A (en) | 1991-07-29 | 1991-07-29 | Constant setting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18846291A JPH0535310A (en) | 1991-07-29 | 1991-07-29 | Constant setting device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0535310A true JPH0535310A (en) | 1993-02-12 |
Family
ID=16224135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18846291A Pending JPH0535310A (en) | 1991-07-29 | 1991-07-29 | Constant setting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0535310A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4822803A (en) * | 1983-10-31 | 1989-04-18 | Merck Frosst Canada, Inc. | Benzofuran 2-carboxylic acid hydrazides useful as inhibitors of leukotriene biosynthesis |
-
1991
- 1991-07-29 JP JP18846291A patent/JPH0535310A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4822803A (en) * | 1983-10-31 | 1989-04-18 | Merck Frosst Canada, Inc. | Benzofuran 2-carboxylic acid hydrazides useful as inhibitors of leukotriene biosynthesis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0644292A (en) | Vector processor | |
US5301198A (en) | Method for debugging a program by executing a block mode run | |
JPH0535310A (en) | Constant setting device | |
SU615538A1 (en) | Arrangement for retrieving information from storage unit | |
JP2958978B2 (en) | Learning control method | |
JPS63138403A (en) | Data transfer system | |
JPH01320550A (en) | Tracing system | |
JPH0628150A (en) | Method for compressing program capacity | |
JP2924518B2 (en) | Layout compaction processing method | |
JPH0727405B2 (en) | Constant setting device | |
JPS60122449A (en) | Input and output controller of address variable system | |
JPH082727Y2 (en) | Programmable sequencer | |
JP3314401B2 (en) | Command correction filter and control device of automatic machine using it | |
JP3003059B2 (en) | Application specific integrated circuits | |
JP2845694B2 (en) | Data processing device | |
JP3102443B2 (en) | Data input device | |
JPH0652305A (en) | Data compressing device | |
JPH07182387A (en) | Division processing system for free curve data | |
JPH06243293A (en) | Feature point extracting system | |
JPH06242908A (en) | Computer system | |
JPH1173217A (en) | Interface agent for plant | |
JPH07262053A (en) | Information processor | |
JPS59202534A (en) | Method for recording data of decentralized computer controller | |
JPS62298810A (en) | Subprogram start system in numerical controller | |
JPH0522952A (en) | Adjusting method for constant data of inverter device |