JP2014085785A - Control parameter setting method, device, and control system - Google Patents

Control parameter setting method, device, and control system Download PDF

Info

Publication number
JP2014085785A
JP2014085785A JP2012233535A JP2012233535A JP2014085785A JP 2014085785 A JP2014085785 A JP 2014085785A JP 2012233535 A JP2012233535 A JP 2012233535A JP 2012233535 A JP2012233535 A JP 2012233535A JP 2014085785 A JP2014085785 A JP 2014085785A
Authority
JP
Japan
Prior art keywords
control
unit
storage unit
processing unit
control processing
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
Application number
JP2012233535A
Other languages
Japanese (ja)
Other versions
JP5973868B2 (en
Inventor
Yoshitaka Osawa
義孝 大澤
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2012233535A priority Critical patent/JP5973868B2/en
Publication of JP2014085785A publication Critical patent/JP2014085785A/en
Application granted granted Critical
Publication of JP5973868B2 publication Critical patent/JP5973868B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To set a control parameter without giving any influence to the operation of a control processing part which is not accompanied by a change of the control parameter.SOLUTION: An operation stop control part 102 outputs stop instruction of an operation to a control processing part 123-1 or a control processing part 123-2 corresponding to a first storage part 121-1 or a first storage part 121-2 which has detected a change of a control parameter by a change detection part 101. Afterwards, a copy control part 103 copies the control parameter stored in the first storage part 121-1 or the first storage part 121-2 which has detected the change of the control parameter to a second storage part 122-1 or a second storage part 122-2 corresponding to the first storage part 121-1 or the first storage part 121-2 which has detected the change of the control parameter between the second storage part 122-1 and the second storage part 122-2.

Description

本発明は、制御コントローラを構成している制御プログラムで用いられる制御パラメータの設定を行う制御パラメータ設定方法,装置および制御システムに関する。   The present invention relates to a control parameter setting method, apparatus, and control system for setting control parameters used in a control program constituting a control controller.

ビルなどの建築物に設けられている空調などの設備やプラントにおけるプロセス機器は、制御コントローラにより遠隔制御されている。このような制御を行う制御コントローラでは、汎用的な制御演算を行うために、PID制御などの制御パラメータ,アナログおよびデジタルデータのI/O制御パラメータ、あるいは通信制御のパラメータなど、様々なパラメータが設定可能とされている。制御においては、上述したように設定されているパラメータを用い、制御プログラム(制御処理部)を動作させ、各設備やプロセス機器、また計測器などの末端の機器を制御している。   Equipment such as air conditioners provided in buildings such as buildings and process equipment in plants are remotely controlled by a controller. In a control controller that performs such control, various parameters such as control parameters such as PID control, I / O control parameters for analog and digital data, and communication control parameters are set in order to perform general-purpose control calculations. It is possible. In the control, using the parameters set as described above, a control program (control processing unit) is operated to control each piece of equipment, process equipment, and terminal equipment such as measuring instruments.

このような、設定されているパラメータを用いた制御プログラムの動作による制御では、例えば、制御対象となる機器の追加および変更などの発生により、パラメータの追加,変更、および制御プログラム自体の追加,変更が必要となる。これらの追加変更においては、制御コントローラの動作を停止し、必要な追加変更を行い、この後、制御コントローラの動作を再開させている。   In such control by the operation of the control program using the set parameters, for example, addition or change of parameters, and addition or change of the control program itself due to the addition or change of devices to be controlled. Is required. In these additional changes, the operation of the control controller is stopped, necessary additional changes are made, and then the operation of the control controller is resumed.

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

ところで、上述したような制御コントローラでは、複数の制御プログラム(制御処理部)が同時に動作している。しかしながら、上述した制御パラメータの設定方法では、制御コントローラを停止しているため、変更などの対象となっていない制御処理部も全て停止されることになる。このため、制御パラメータの変更などを行うときには、例えば全プロセスを停止し、設定をした後に全プロセスを再起動させることになるため、大がかりなものとなる。また、空調制御やプロセスの停止が行えない場合、変更などが行えないことになる。   By the way, in the control controller as described above, a plurality of control programs (control processing units) are operating simultaneously. However, in the control parameter setting method described above, since the control controller is stopped, all control processing units that are not subject to change are also stopped. For this reason, when changing the control parameter or the like, for example, all processes are stopped and all the processes are restarted after being set, so that the process becomes large. Further, if the air conditioning control or the process cannot be stopped, the change or the like cannot be performed.

本発明は、以上のような問題点を解消するためになされたものであり、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようにすることを目的とする。   The present invention has been made to solve the above-described problems, and it is possible to set control parameters without affecting the operation of the control processing unit without changing the control parameters. Objective.

本発明に係る制御パラメータ設定方法は、制御パラメータを用いて制御対象の制御を行う複数の制御処理部の各々に対応して設けられ、制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部に記憶されている制御パラメータの変更を検出する変更検出ステップと、制御処理部の動作が停止された後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止ステップと、複数の第1記憶部の各々に対応して設けられ、制御処理部に出力されて制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部の中の、変更を検出した第1記憶部に対応する第2記憶部に、変更を検出した第1記憶部に記憶されている制御パラメータをコピーするコピーステップと、第2記憶部に対する制御パラメータのコピーが終了した後、停止された制御処理部の動作を再開する動作再開ステップとを少なくとも備える。   A control parameter setting method according to the present invention is provided corresponding to each of a plurality of control processing units that perform control of a control target using a control parameter, and stores a plurality of control parameters used in control of the control processing unit. A change detection step for detecting a change in the control parameter stored in the first storage unit, and a control processing unit corresponding to the first storage unit that has detected the change in the control parameter after the operation of the control processing unit is stopped An operation stop step for stopping the operation, and a plurality of first parameters that are provided corresponding to each of the plurality of first storage units and that are output to the control processing unit and used for control of the control processing unit are stored. A copy step of copying the control parameter stored in the first storage unit detecting the change to the second storage unit corresponding to the first storage unit detecting the change in the two storage units; After the copy of the control parameters for the storage unit is completed, comprising at least a resuming operation restart step operation of the stop control process unit.

上記制御パラメータ設定方法において、制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認ステップを備え、動作停止ステップは、整合性が確認された後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止するようにしてもよい。   In the above control parameter setting method, the control parameter setting method includes a consistency confirmation step for confirming the consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected, and the operation stop step is performed after the consistency is confirmed. The operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter may be stopped.

本発明に係る制御パラメータ設定装置は、制御パラメータを用いて制御対象の制御を行う複数の制御処理部の各々に対応して設けられ、制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部に記憶されている制御パラメータの変更を検出する変更検出部と、変更検出部が制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止制御部と、動作停止制御部により制御処理部の動作が停止された後、複数の第1記憶部の各々に対応して設けられ、制御処理部に出力されて制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部の中の、変更を検出した第1記憶部に対応する第2記憶部に、変更を検出した第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、コピー制御部による第2記憶部に対する制御パラメータのコピーが終了した後、停止された制御処理部の動作を再開する動作再開制御部とを少なくとも備える。   A control parameter setting device according to the present invention is provided corresponding to each of a plurality of control processing units that perform control of a control target using a control parameter, and stores a plurality of control parameters used in control of the control processing unit A change detection unit that detects a change in the control parameter stored in the first storage unit, and an operation stop that stops the operation of the control processing unit corresponding to the first storage unit in which the change detection unit has detected the change in the control parameter After the operation of the control processing unit is stopped by the control unit and the operation stop control unit, the control processing unit is provided corresponding to each of the plurality of first storage units, and is output to the control processing unit and used for control of the control processing unit. The control parameter stored in the first storage unit that has detected the change is stored in the second storage unit corresponding to the first storage unit that has detected the change, among the plurality of second storage units in which the control parameters are stored. copy A copy control section that, after the copy of the control parameters for the second storage unit according to the copy control unit has ended, comprises at least a resume operation resumption control unit the operation of the control unit which is stopped.

上記制御パラメータ設定装置において、変更検出部により制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認部を備え、動作停止制御部は、整合確認部が整合性を確認した後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する構成としてもよい。   The control parameter setting device includes a consistency confirmation unit that confirms consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected by the change detection unit. After the unit confirms the consistency, the operation of the control processing unit corresponding to the first storage unit that has detected the change in the control parameter may be stopped.

本発明に係る制御システムは、制御パラメータを用いて制御対象の制御を行う複数の制御処理部と、複数の制御処理部の各々に対応して設けられ、制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部と、複数の第1記憶部の各々に対応して設けられ、制御処理部に出力されて制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部と、第1記憶部に記憶されている制御パラメータの変更を検出する変更検出部と、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止制御部と、動作停止制御部により制御処理部の動作が停止された後、複数の第2記憶部の中の、変更を検出した第1記憶部に対応する第2記憶部に、変更を検出した第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、第2記憶部に対する制御パラメータのコピーが終了した後、停止された制御処理部の動作を再開する動作再開制御部とを少なくとも備える。   A control system according to the present invention includes a plurality of control processing units that perform control of a control target using control parameters, and a control parameter that is provided for each of the plurality of control processing units and is used for control of the control processing unit. Are stored corresponding to each of the plurality of first storage units, and a plurality of control parameters that are output to the control processing unit and used for control of the control processing unit are stored. The operation of the second storage unit, the change detection unit that detects the change of the control parameter stored in the first storage unit, and the control processing unit corresponding to the first storage unit that detected the change of the control parameter is stopped. After the operation of the control processing unit is stopped by the operation stop control unit and the operation stop control unit, the second storage unit is changed to the second storage unit corresponding to the first storage unit that detected the change among the plurality of second storage units. Stored in the first storage unit that detected A copy controller for copying the control parameter that is, after the copy of the control parameter to the second storage unit is completed, comprising at least a resume operation resumption control unit the operation of the stop control process unit.

また、本発明に係る制御システムは、制御パラメータを用いて制御対象の制御を行う複数の制御処理部と、複数の制御処理部の各々に対応して設けられ、制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部と、複数の第1記憶部の各々に対応して設けられ、制御処理部に出力されて制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部と、第1記憶部に記憶されている制御パラメータの変更を検出して変更されたことを示すフラグを該当する第1記憶部に設定する変更検出部と、変更検出部が第1記憶部に記憶されている制御パラメータの変更を検出したことにより、複数の制御処理部に対して動作の停止を指示する動作停止制御部と、動作停止制御部により制御処理部の動作が停止された後、複数の第2記憶部の中の、フラグが設定されている第1記憶部に対応する第2記憶部に、フラグが設定されている第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、第2記憶部に対する制御パラメータのコピーが終了した後、複数の制御処理部に対して動作の再開を指示する動作再開制御部とを少なくとも備え、制御処理部は、対応する第1記憶部にフラグが設定されている場合に、動作停止制御部からの動作の停止指示を受け付けて動作を停止し、動作再開制御部からの動作の再開指示を受け付けて動作再開する。   In addition, a control system according to the present invention is provided corresponding to each of a plurality of control processing units that perform control of a control target using control parameters, and a plurality of control processing units, and is used for control of the control processing unit. A plurality of first storage units for storing control parameters and a plurality of first storage units are provided corresponding to each of the plurality of first storage units, and control parameters output to the control processing unit and used for control of the control processing unit are stored. A plurality of second storage units, a change detection unit for detecting a change in the control parameter stored in the first storage unit and setting a flag indicating that the control parameter has been changed in the corresponding first storage unit, and a change detection When the control unit detects a change in the control parameter stored in the first storage unit, an operation stop control unit that instructs the plurality of control processing units to stop the operation, and the operation stop control unit Operation stopped After that, the control parameter stored in the first storage unit in which the flag is set is stored in the second storage unit corresponding to the first storage unit in which the flag is set in the plurality of second storage units. A copy control unit for copying, and an operation resumption control unit for instructing a plurality of control processing units to resume operation after copying of control parameters to the second storage unit is completed. When the flag is set in the first storage unit, the operation stop instruction is received from the operation stop control unit, the operation is stopped, and the operation restart instruction is received from the operation resumption control unit.

上記制御システムにおいて、変更検出部により制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認部を備え、動作停止制御部は、整合確認部が整合性を確認した後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する構成としてもよい。   The control system includes a matching check unit for checking the consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected by the change detection unit. After confirming the consistency, the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter may be stopped.

以上説明したことにより、本発明によれば、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになるという優れた効果が得られる。   As described above, according to the present invention, it is possible to obtain an excellent effect that the control parameter can be set without affecting the operation of the control processing unit without changing the control parameter.

図1は、本発明の実施の形態1における制御システムの構成を示す構成図である。FIG. 1 is a configuration diagram showing a configuration of a control system in Embodiment 1 of the present invention. 図2は、本発明の実施の形態1における制御パラメータ設定方法を説明するフローチャートである。FIG. 2 is a flowchart illustrating a control parameter setting method according to Embodiment 1 of the present invention. 図3は、本発明の実施の形態2における制御システムの構成を示す構成図である。FIG. 3 is a configuration diagram showing the configuration of the control system according to the second embodiment of the present invention. 図4は、本発明の実施の形態2における制御パラメータ設定方法を説明するフローチャートである。FIG. 4 is a flowchart for explaining a control parameter setting method according to the second embodiment of the present invention. 図5は、本発明の実施の形態3における制御システムの構成を示す構成図である。FIG. 5 is a configuration diagram showing the configuration of the control system in Embodiment 3 of the present invention. 図6は、本発明の実施の形態3における制御パラメータ設定方法を説明するフローチャートである。FIG. 6 is a flowchart for explaining a control parameter setting method according to the third embodiment of the present invention. 図7は、本発明の実施の形態4における制御システムの構成を示す構成図である。FIG. 7 is a configuration diagram showing the configuration of the control system in the fourth embodiment of the present invention. 図8は、本発明の実施の形態4における制御パラメータ設定方法を説明するフローチャートである。FIG. 8 is a flowchart for explaining a control parameter setting method according to the fourth embodiment of the present invention. 図9は、本発明の実施の形態5における制御システムの構成を示す構成図である。FIG. 9 is a configuration diagram showing the configuration of the control system in the fifth embodiment of the present invention. 図10は、本発明の実施の形態6における制御パラメータ設定方法を説明するフローチャートである。FIG. 10 is a flowchart illustrating a control parameter setting method according to the sixth embodiment of the present invention.

以下、本発明の実施の形態について図を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[実施の形態1]
はじめに、本発明の実施の形態1について図1,図2を用いて説明する。図1は、本発明の実施の形態1における制御システムの構成を示す構成図である。また、図2は、本発明の実施の形態1における制御パラメータ設定方法を説明するフローチャートである。
[Embodiment 1]
First, Embodiment 1 of the present invention will be described with reference to FIGS. FIG. 1 is a configuration diagram showing a configuration of a control system in Embodiment 1 of the present invention. FIG. 2 is a flowchart illustrating a control parameter setting method according to Embodiment 1 of the present invention.

この制御システムは、制御パラメータ設定装置100および制御コントローラ120を備える。制御パラメータ設定装置100は、変更検出部101,動作停止制御部102,コピー制御部103,動作再開制御部104,および入力部105を備える。また、制御コントローラ120は、2つの第1記憶部121−1,第1記憶部121−2、2つの第2記憶部122−1,第2記憶部122−2、および2つの制御処理部123−1,制御処理部123−2を備える。   This control system includes a control parameter setting device 100 and a control controller 120. The control parameter setting device 100 includes a change detection unit 101, an operation stop control unit 102, a copy control unit 103, an operation resumption control unit 104, and an input unit 105. The controller 120 includes two first storage units 121-1, a first storage unit 121-2, two second storage units 122-1, a second storage unit 122-2, and two control processing units 123. -1, a control processing unit 123-2 is provided.

第1記憶部121−1,第1記憶部121−2は、制御パラメータを用いて制御対象(不図示)の制御を行う制御処理部123−1,制御処理部123−2の各々に対応して設けられ、制御処理部123−1,制御処理部123−2の制御で用いられる制御パラメータが記憶される。実施の形態1では、第1記憶部121−1が、制御処理部123−1に対応し、第1記憶部121−2が、制御処理部123−2に対応している。制御対象は、例えば、ビルなどの建築物に設けられている空調などの設備やプラントにおけるプロセス機器である。   The first storage unit 121-1 and the first storage unit 121-2 correspond to the control processing unit 123-1 and the control processing unit 123-2 that control the control target (not shown) using the control parameter. And control parameters used in the control of the control processing unit 123-1 and the control processing unit 123-2 are stored. In the first embodiment, the first storage unit 121-1 corresponds to the control processing unit 123-1, and the first storage unit 121-2 corresponds to the control processing unit 123-2. The control target is, for example, equipment such as an air conditioner provided in a building such as a building or process equipment in a plant.

第2記憶部122−1,第2記憶部122−2は、第1記憶部121−1,第1記憶部121−2の各々に対応して設けられ、制御処理部123−1または制御処理部123−2に出力されて制御処理部123−1,制御処理部123−2の制御に用いられる制御パラメータが記憶されている。   The second storage unit 122-1 and the second storage unit 122-2 are provided corresponding to the first storage unit 121-1 and the first storage unit 121-2, respectively. Control parameters output to the unit 123-2 and used for control of the control processing unit 123-1 and the control processing unit 123-2 are stored.

実施の形態1では、制御コントローラにおいて、第2記憶部122−1が、第1記憶部121−1に対応し、第2記憶部122−1に記憶されている制御パラメータが、制御処理部123−1に出力されて制御に用いられる。また、制御コントローラ120において、第2記憶部122−2が、第1記憶部121−2に対応し、第2記憶部122−2に記憶されている制御パラメータが、制御処理部123−2に出力されて制御に用いられる。   In Embodiment 1, in the control controller, the second storage unit 122-1 corresponds to the first storage unit 121-1, and the control parameter stored in the second storage unit 122-1 is the control processing unit 123. -1 is used for control. In the control controller 120, the second storage unit 122-2 corresponds to the first storage unit 121-2, and the control parameters stored in the second storage unit 122-2 are transferred to the control processing unit 123-2. It is output and used for control.

なお、第1記憶部,第2記憶部,および制御処理部の組は、上述した2つに限られるものではなく、3つ以上の複数組が存在する状態が一般的である。ただし、実施の形態では、説明のため、2組の場合を例にしている。   In addition, the group of a 1st memory | storage part, a 2nd memory | storage part, and a control processing part is not restricted to two mentioned above, The state in which three or more multiple sets exist is common. However, in the embodiment, the case of two sets is taken as an example for explanation.

次に、変更検出部101は、第1記憶部121−1または第1記憶部121−2に記憶されている制御パラメータの変更を検出する。また、動作停止制御部102は、変更検出部101により制御パラメータの変更を検出した第1記憶部121−1または第1記憶部121−2に対応する制御処理部123−1または制御処理部123−2の動作を停止する。動作停止制御部102は、例えば、対応する制御処理部123−1または制御処理部123−2に動作の停止指示を出力することで、制御処理部123−1または制御処理部123−2の動作を停止する。   Next, the change detection unit 101 detects a change in the control parameter stored in the first storage unit 121-1 or the first storage unit 121-2. In addition, the operation stop control unit 102 controls the control processing unit 123-1 or the control processing unit 123 corresponding to the first storage unit 121-1 or the first storage unit 121-2 that has detected the change of the control parameter by the change detection unit 101. -2 operation is stopped. The operation stop control unit 102 outputs an operation stop instruction to the corresponding control processing unit 123-1 or control processing unit 123-2, for example, so that the operation of the control processing unit 123-1 or the control processing unit 123-2 is performed. To stop.

例えば、変更検出部101が、第1記憶部121−1における制御パラメータの変更を検出すると、動作停止制御部102は、制御処理部123−1に対して動作の停止指示を出力する。また、変更検出部101が、第1記憶部121−2における制御パラメータの変更を検出すると、動作停止制御部102は、制御処理部123−2に対して動作の停止指示を出力する。   For example, when the change detection unit 101 detects a change in the control parameter in the first storage unit 121-1, the operation stop control unit 102 outputs an operation stop instruction to the control processing unit 123-1. When the change detection unit 101 detects a change in the control parameter in the first storage unit 121-2, the operation stop control unit 102 outputs an operation stop instruction to the control processing unit 123-2.

コピー制御部103は、第2記憶部122−1または第2記憶部122−2のうち、変更を検出した第1記憶部121−1または第1記憶部121−2に対応する第2記憶部122−1または第2記憶部122−2に、変更を検出した第1記憶部121−1または第1記憶部121−2に記憶されている制御パラメータをコピーする。   The copy control unit 103 is a second storage unit corresponding to the first storage unit 121-1 or the first storage unit 121-2 that has detected the change in the second storage unit 122-1 or the second storage unit 122-2. The control parameter stored in the first storage unit 121-1 or the first storage unit 121-2 that has detected the change is copied to the 122-1 or the second storage unit 122-2.

例えば、変更検出部101により第1記憶部121−1における制御パラメータの変更が検出されていると、コピー制御部103は、第1記憶部121−1に記憶されている制御パラメータを、第2記憶部122−1にコピーする。また、変更検出部101により第1記憶部121−2における制御パラメータの変更が検出されていると、コピー制御部103は、第1記憶部121−2に記憶されている制御パラメータを、第2記憶部122−2にコピーする。   For example, if a change in the control parameter in the first storage unit 121-1 is detected by the change detection unit 101, the copy control unit 103 changes the control parameter stored in the first storage unit 121-1 to the second parameter. Copy to the storage unit 122-1. When the change detection unit 101 detects a change in the control parameter in the first storage unit 121-2, the copy control unit 103 changes the control parameter stored in the first storage unit 121-2 to the second parameter. Copy to storage unit 122-2.

動作再開制御部104は、第2記憶部122−1または第2記憶部122−2に対する制御パラメータのコピーが終了した後、停止された制御処理部123−1または制御処理部123−2の動作を再開する。動作再開制御部104は、例えば、停止されている制御処理部123−1または制御処理部123−2に対して動作の再開指示を出力することで、制御処理部123−1または制御処理部123−2の動作を再開させる。   The operation resumption control unit 104 operates the control processing unit 123-1 or the control processing unit 123-2 that has been stopped after the copying of the control parameters to the second storage unit 122-1 or the second storage unit 122-2 is completed. To resume. The operation resumption control unit 104 outputs, for example, an operation resumption instruction to the stopped control processing unit 123-1 or control processing unit 123-2, so that the control processing unit 123-1 or the control processing unit 123 is output. -2 is resumed.

例えば、変更検出部101により第1記憶部121−1における制御パラメータの変更が検出されている場合、前述したように、動作停止制御部102により、制御処理部123−1に対して動作の停止指示が出力されている。また、コピー制御部103により、第1記憶部121−1に記憶されている制御パラメータが、第2記憶部122−1にコピーされる。このコピーの後、動作再開制御部104は、制御処理部123−1に対して動作の再開指示を出力する。   For example, when the change detection unit 101 detects a change in the control parameter in the first storage unit 121-1, the operation stop control unit 102 stops the operation with respect to the control processing unit 123-1, as described above. An instruction is output. Further, the copy control unit 103 copies the control parameters stored in the first storage unit 121-1 to the second storage unit 122-1. After this copying, the operation resumption control unit 104 outputs an operation resumption instruction to the control processing unit 123-1.

また、変更検出部101により第1記憶部121−2における制御パラメータの変更が検出されている場合、前述したように、動作停止制御部102により、制御処理部123−2に対して動作の停止指示が出力されている。また、コピー制御部103により、第1記憶部121−2に記憶されている制御パラメータが、第2記憶部122−2にコピーされる。このコピーの後、動作再開制御部104は、制御処理部123−2に対して動作の再開指示を出力する。   When the change detection unit 101 detects a change in the control parameter in the first storage unit 121-2, as described above, the operation stop control unit 102 stops the operation with respect to the control processing unit 123-2. An instruction is output. In addition, the copy control unit 103 copies the control parameters stored in the first storage unit 121-2 to the second storage unit 122-2. After the copying, the operation resumption control unit 104 outputs an operation resumption instruction to the control processing unit 123-2.

なお、制御パラメータ設定装置100および制御コントローラ120は、CPUと主記憶装置と外部記憶装置とネットワーク接続装置となどを備えたコンピュータ機器であり、主記憶装置に展開されたプログラムによりCPUが動作することで、上述した各機能が実現される。また、各機能は、複数のコンピュータ機器に分散させるようにしてもよい。   The control parameter setting device 100 and the control controller 120 are computer devices including a CPU, a main storage device, an external storage device, a network connection device, and the like, and the CPU operates by a program developed in the main storage device. Thus, each function described above is realized. Each function may be distributed among a plurality of computer devices.

次に、本発明の実施の形態1における制御パラメータ設定装置100の動作(制御パラメータ設定方法)について、図2のフローチャートを用いて説明する。   Next, the operation (control parameter setting method) of the control parameter setting device 100 according to Embodiment 1 of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS101で、変更検出部101が、第1記憶部121−1または第1記憶部121−2に記憶されている制御パラメータが変更されたことを検出する(変更検出ステップ)。例えば、プロセスの変更などにより、制御処理部123−1の制御処理に必要な制御パラメータの変更が発生すると、ユーザの入力部105の操作により、第1記憶部121−1の制御パラメータが変更される。このように制御パラメータを変更した後、ユーザからの指示入力により、制御パラメータ設定装置100が設定変更動作開始状態となり、変更検出部101の動作が開始され、上述した動作が開始される。   First, in step S101, the change detection unit 101 detects that the control parameter stored in the first storage unit 121-1 or the first storage unit 121-2 has been changed (change detection step). For example, when a control parameter change necessary for the control process of the control processing unit 123-1 occurs due to a process change or the like, the control parameter of the first storage unit 121-1 is changed by the operation of the user input unit 105. The After changing the control parameter in this way, the control parameter setting device 100 enters the setting change operation start state by an instruction input from the user, the operation of the change detection unit 101 is started, and the above-described operation is started.

上述したようにステップS101で、制御パラメータが変更されたことが検出されると(S101のy)、ステップS102で、制御パラメータの変更が検出された第1記憶部121−1,第1記憶部121−2に対応する制御処理部123−1,制御処理部123−2の動作を、動作停止制御部102が停止する(動作停止ステップ)。例えば、動作停止制御部102は、対応する制御処理部123−1または制御処理部123−2に対し、動作の停止指示を出力する。この動作停止指示により、制御処理部123−1または制御処理部123−2は、制御動作を一時停止する。   As described above, when it is detected in step S101 that the control parameter is changed (y in S101), the first storage unit 121-1, the first storage unit in which the change of the control parameter is detected in step S102. The operation stop control unit 102 stops the operations of the control processing unit 123-1 and the control processing unit 123-2 corresponding to 121-2 (operation stop step). For example, the operation stop control unit 102 outputs an operation stop instruction to the corresponding control processing unit 123-1 or control processing unit 123-2. In response to the operation stop instruction, the control processing unit 123-1 or the control processing unit 123-2 temporarily stops the control operation.

例えば、ステップS101で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されると、ステップS102で、制御処理部123−1に、動作の停止指示が出力される。これにより、制御処理部123−1が、制御動作を停止する。一方、制御処理部123−2は、制御動作を継続する。また、ステップS101で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されると、ステップS102で、制御処理部123−2に、動作の停止指示が出力される。制御処理部123−2が、制御動作を停止する。一方、制御処理部123−1は、制御動作を継続する。   For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S101, an operation stop instruction is output to the control processing unit 123-1 in step S102. Thereby, the control processing unit 123-1 stops the control operation. On the other hand, the control processing unit 123-2 continues the control operation. When a change in the control parameter stored in the first storage unit 121-2 is detected in step S101, an operation stop instruction is output to the control processing unit 123-2 in step S102. The control processing unit 123-2 stops the control operation. On the other hand, the control processing unit 123-1 continues the control operation.

次に、ステップS103で、コピー制御部103が、第2記憶部122−1,第2記憶部122−2の中の、変更を検出した第1記憶部121−1,第1記憶部121−2に対応する第2記憶部122−1,第2記憶部122−2に、変更を検出した第1記憶部121−1,第1記憶部121−2に記憶されている制御パラメータをコピーする(コピーステップ)。   Next, in step S103, the copy control unit 103 detects the change in the first storage unit 121-1, the first storage unit 121- in the second storage unit 122-1, the second storage unit 122-2. 2 is copied to the second storage unit 122-1 and the second storage unit 122-2 corresponding to the control parameter stored in the first storage unit 121-1 and the first storage unit 121-2 that have detected the change. (Copy step).

例えば、ステップS101で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されている場合、ステップS103では、第2記憶部122−1に、第1記憶部121−1に記憶されている制御パラメータをコピーする。また、ステップS101で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されている場合、ステップS103では、第2記憶部122−2に、第1記憶部121−2に記憶されている制御パラメータをコピーする。   For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S 101, the second storage unit 122-1 is stored in the first storage unit 121-1 in step S 103. Copy stored control parameters. If a change in the control parameter stored in the first storage unit 121-2 is detected in step S101, the second storage unit 122-2 is stored in the first storage unit 121-2 in step S103. Copy stored control parameters.

次に、ステップS104で、上述したように第2記憶部122−1または第2記憶部122−2に対する制御パラメータのコピーが終了した後、動作再開制御部104が、停止している制御処理部123−1または制御処理部123−2の動作を再開させる(動作再開ステップ)。動作再開制御部104は、例えば、停止している制御処理部123−1または制御処理部123−2に対して再開指示を出力することで、動作を再開させる。この再開指示により、制御処理部123−1または制御処理部123−2は、制御動作を再開する。この結果、制御処理部123−1および制御処理部123−2の全てが、制御動作を行っている状態となる。   Next, in step S104, after the copying of the control parameters to the second storage unit 122-1 or the second storage unit 122-2 is completed as described above, the operation restart control unit 104 is stopped. The operation of 123-1 or the control processing unit 123-2 is resumed (operation resumption step). For example, the operation resumption control unit 104 outputs a resumption instruction to the stopped control processing unit 123-1 or control processing unit 123-2, thereby resuming the operation. In response to the restart instruction, the control processing unit 123-1 or the control processing unit 123-2 restarts the control operation. As a result, all of the control processing unit 123-1 and the control processing unit 123-2 are in a state of performing the control operation.

例えば、ステップS101で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されている場合、第1記憶部121−1に記憶されている制御パラメータの第2記憶部122−1に対するコピーが終了した後、ステップS104で、制御処理部123−1に対して動作の再開指示が出力される。これにより、制御処理部123−1が、制御動作を再開する。   For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S101, the second storage unit 122- of the control parameter stored in the first storage unit 121-1. After the copying for 1 is completed, an operation resumption instruction is output to the control processing unit 123-1 in step S104. As a result, the control processing unit 123-1 restarts the control operation.

また、ステップS101で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されている場合、第1記憶部121−2に記憶されている制御パラメータの第2記憶部122−2に対するコピーが終了した後、ステップS104で、制御処理部123−2に対して動作の再開指示が出力される。これにより、制御処理部123−2が、制御動作を再開する。   When a change in the control parameter stored in the first storage unit 121-2 is detected in step S101, the second storage unit 122- of the control parameter stored in the first storage unit 121-2 is detected. After the copy for 2 is completed, an operation resumption instruction is output to the control processing unit 123-2 in step S104. Thereby, the control processing unit 123-2 restarts the control operation.

以上に説明した制御パラメータ設定装置100による制御パラメータ設定方法によれば、まず、制御パラメータが変更されると、変更された制御パラメータが用いられる制御処理部(制御プログラム)は動作停止対象となるが、他の制御処理部は動作停止対象とならない。このように、実施の形態1によれば、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになる。また、動作が停止されてから動作が再開されるまでの動作停止期間は、設定変更をしている間ではなく、第1記憶部の制御パラメータが対応する第2記憶部にコピーされるまでの間となるので、非常に短い時間で終了する。   According to the control parameter setting method performed by the control parameter setting device 100 described above, first, when the control parameter is changed, the control processing unit (control program) in which the changed control parameter is used becomes an operation stop target. Other control processing units are not subject to operation stop. As described above, according to the first embodiment, control parameters can be set without affecting the operation of the control processing unit without changing the control parameters. Further, the operation stop period from when the operation is stopped until the operation is restarted is not during the setting change, but until the control parameter of the first storage unit is copied to the corresponding second storage unit. Because it is between, it ends in a very short time.

[実施の形態2]
次に、本発明の実施の形態2について図3,図4を用いて説明する。図3は、本発明の実施の形態2における制御システムの構成を示す構成図である。また、図4は、本発明の実施の形態2における制御パラメータ設定方法を説明するフローチャートである。
[Embodiment 2]
Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 3 is a configuration diagram showing the configuration of the control system according to the second embodiment of the present invention. FIG. 4 is a flowchart illustrating a control parameter setting method according to Embodiment 2 of the present invention.

実施の形態2における制御システムは、制御パラメータ設定装置200および制御コントローラ120を備える。制御パラメータ設定装置200は、変更検出部101,動作停止制御部102,コピー制御部103,動作再開制御部104,および入力部105を備える。また、制御コントローラ120は、2つの第1記憶部121−1,第1記憶部121−2、2つの第2記憶部122−1,第2記憶部122−2、および2つの制御処理部123−1,制御処理部123−2を備える。これらの構成は、前述した実施の形態1と同様であり、詳しい説明を省略する。   The control system in the second embodiment includes a control parameter setting device 200 and a control controller 120. The control parameter setting device 200 includes a change detection unit 101, an operation stop control unit 102, a copy control unit 103, an operation resumption control unit 104, and an input unit 105. The controller 120 includes two first storage units 121-1, a first storage unit 121-2, two second storage units 122-1, a second storage unit 122-2, and two control processing units 123. -1, a control processing unit 123-2 is provided. These configurations are the same as those of the first embodiment described above, and detailed description thereof is omitted.

実施の形態2では、制御パラメータ設定装置200が、変更検出部101により制御パラメータの変更が検出された第1記憶部121−1または第1記憶部121−2に記憶されている制御パラメータの整合性を確認する整合確認部106を備える。実施の形態2では、動作停止制御部102は、整合確認部106が整合性を確認した後、制御パラメータの変更を検出した第1記憶部121−1または第1記憶部121−2に対応する制御処理部123−1または制御処理部123−2に動作の停止指示を出力する   In the second embodiment, the control parameter setting device 200 matches the control parameters stored in the first storage unit 121-1 or the first storage unit 121-2 in which the change detection unit 101 has detected a change in the control parameter. An alignment confirmation unit 106 for confirming the characteristics. In the second embodiment, the operation stop control unit 102 corresponds to the first storage unit 121-1 or the first storage unit 121-2 that has detected the change of the control parameter after the consistency confirmation unit 106 confirms the consistency. An operation stop instruction is output to the control processing unit 123-1 or the control processing unit 123-2.

例えば、変更検出部101により第1記憶部121−1における制御パラメータの変更が検出されると、整合確認部106は、第1記憶部121−1に記憶されている制御パラメータの整合性を確認する。また、変更検出部101により第1記憶部121−2における制御パラメータの変更が検出されると、整合確認部106は、第1記憶部121−2に記憶されている制御パラメータの整合性を確認する。   For example, when the change detection unit 101 detects a change in the control parameter in the first storage unit 121-1, the matching confirmation unit 106 checks the consistency of the control parameter stored in the first storage unit 121-1. To do. When the change detection unit 101 detects a change in the control parameter in the first storage unit 121-2, the matching check unit 106 checks the consistency of the control parameter stored in the first storage unit 121-2. To do.

整合確認部106は、例えば、変更を検出した制御パラメータが、予め設定されているパラメータの範囲となっていることを確認する。変更を検出した制御パラメータが、予め設定されているパラメータの範囲となっていることが確認されると、動作停止制御部102により停止指示が出力される。一方、変更を検出した制御パラメータが、予め設定されているパラメータの範囲外の場合、整合確認部106は、ユーザに視認可能な状態で変更されたパラメータが規格外であることを通知する。この通知は、例えば、図示しない表示部に表示することなどにより行えばよい。   For example, the matching confirmation unit 106 confirms that the control parameter for which the change has been detected is within a preset parameter range. When it is confirmed that the control parameter that has detected the change is within the preset parameter range, the operation stop control unit 102 outputs a stop instruction. On the other hand, if the control parameter that has detected the change is outside the preset parameter range, the matching confirmation unit 106 notifies the user that the parameter that has been changed while being visible is out of specification. This notification may be performed, for example, by displaying on a display unit (not shown).

次に、本発明の実施の形態2における制御パラメータ設定装置200の動作(制御パラメータ設定方法)について、図4のフローチャートを用いて説明する。   Next, the operation (control parameter setting method) of the control parameter setting device 200 according to Embodiment 2 of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS201で、変更検出部101が、第1記憶部121−1または第1記憶部121−2に記憶されている制御パラメータが変更されたことを検出する(変更検出ステップ)。例えば、プロセスの変更などにより、制御処理部123−1の制御処理に必要な制御パラメータの変更が発生すると、ユーザの入力部105の操作により、第1記憶部121−1の制御パラメータが変更される。このように制御パラメータを変更した後、ユーザからの指示入力により、制御パラメータ設定装置200が設定変更動作開始状態となり、変更検出部101の動作が開始され、上述した動作が開始される。   First, in step S201, the change detection unit 101 detects that the control parameter stored in the first storage unit 121-1 or the first storage unit 121-2 has been changed (change detection step). For example, when a control parameter change necessary for the control process of the control processing unit 123-1 occurs due to a process change or the like, the control parameter of the first storage unit 121-1 is changed by the operation of the user input unit 105. The After changing the control parameter in this way, the control parameter setting device 200 enters the setting change operation start state by an instruction input from the user, the operation of the change detection unit 101 is started, and the above-described operation is started.

上述したようにステップS201で、制御パラメータが変更されたことが検出されると(S201のy)、ステップS202で、整合確認部106が、制御パラメータの変更が検出された第1記憶部121−1,第1記憶部121−2に記憶されている制御パラメータの整合性を確認する(整合確認ステップ)。例えば、ステップS201で第1記憶部121−1に記憶されている制御パラメータの変更が検出されると、ステップS202で、第1記憶部121−1に記憶されている制御パラメータの整合性を確認する。また、ステップS201で第1記憶部121−2に記憶されている制御パラメータの変更が検出されると、ステップS202で、第1記憶部121−2に記憶されている制御パラメータの整合性を確認する。   As described above, when it is detected in step S201 that the control parameter has been changed (y in S201), in step S202, the alignment confirmation unit 106 detects that the change in the control parameter has been detected. 1, the consistency of the control parameters stored in the first storage unit 121-2 is confirmed (consistency confirmation step). For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S201, the consistency of the control parameter stored in the first storage unit 121-1 is confirmed in step S202. To do. If a change in the control parameter stored in the first storage unit 121-2 is detected in step S201, the consistency of the control parameter stored in the first storage unit 121-2 is confirmed in step S202. To do.

このステップS202における制御パラメータの整合性確認において、例えば、制御パラメータが、予め設定されているパラメータの範囲外の場合(ステップS202のn)、ステップS203で、整合確認部106が、ユーザに視認可能な状態で変更されたパラメータが規格外であることを通知する。一方、ステップS202における制御パラメータの整合性確認において、制御パラメータが、予め設定されているパラメータの範囲内の場合(ステップS202のy)、ステップS204に進む。   In the control parameter consistency check in step S202, for example, when the control parameter is out of the preset parameter range (step S202: n), the alignment check unit 106 can be visually recognized by the user in step S203. That the parameter changed in a non-standard state is out of specification. On the other hand, in the control parameter consistency check in step S202, if the control parameter is within the preset parameter range (y in step S202), the process proceeds to step S204.

ステップS204では、動作停止制御部102が、制御パラメータの変更が検出された第1記憶部121−1,第1記憶部121−2に対応する制御処理部123−1,制御処理部123−2の動作を停止する(動作停止ステップ)。例えば、対応する制御処理部123−1,制御処理部123−2に、動作停止制御部102が、動作の停止指示を出力する。この動作停止指示により、制御処理部123−1または制御処理部123−2は、制御動作を一時停止する。   In step S204, the operation stop control unit 102 controls the first storage unit 121-1, the control processing unit 123-2 corresponding to the first storage unit 121-1, and the first storage unit 121-2 in which the change of the control parameter is detected. Is stopped (operation stop step). For example, the operation stop control unit 102 outputs an operation stop instruction to the corresponding control processing unit 123-1 and control processing unit 123-2. In response to the operation stop instruction, the control processing unit 123-1 or the control processing unit 123-2 temporarily stops the control operation.

例えば、ステップS201で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されていると、ステップS204で、制御処理部123−1に、動作の停止指示が出力される。これにより、制御処理部123−1が、制御動作を停止する。一方、制御処理部123−2は、制御動作を継続する。また、ステップS201で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されていると、ステップS204で、制御処理部123−2に、動作の停止指示が出力される。制御処理部123−2が、制御動作を停止する。一方、制御処理部123−1は、制御動作を継続する。   For example, if a change in the control parameter stored in the first storage unit 121-1 is detected in step S201, an operation stop instruction is output to the control processing unit 123-1 in step S204. Thereby, the control processing unit 123-1 stops the control operation. On the other hand, the control processing unit 123-2 continues the control operation. If a change in the control parameter stored in the first storage unit 121-2 is detected in step S201, an operation stop instruction is output to the control processing unit 123-2 in step S204. The control processing unit 123-2 stops the control operation. On the other hand, the control processing unit 123-1 continues the control operation.

次に、ステップS205で、コピー制御部103が、第2記憶部122−1,第2記憶部122−2の中の、変更を検出した第1記憶部121−1,第1記憶部121−2に対応する第2記憶部122−1,第2記憶部122−2に、変更を検出した第1記憶部121−1,第1記憶部121−2に記憶されている制御パラメータをコピーする(コピーステップ)。   Next, in step S205, the copy control unit 103 detects the change in the second storage unit 122-1 and the second storage unit 122-2, the first storage unit 121-1 and the first storage unit 121-. 2 is copied to the second storage unit 122-1 and the second storage unit 122-2 corresponding to the control parameter stored in the first storage unit 121-1 and the first storage unit 121-2 that have detected the change. (Copy step).

例えば、ステップS201で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されている場合、ステップS205では、第2記憶部122−1に、第1記憶部121−1に記憶されている制御パラメータをコピーする。また、ステップS201で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されている場合、ステップS205では、第2記憶部122−2に、第1記憶部121−2に記憶されている制御パラメータをコピーする。   For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S 201, the second storage unit 122-1 is stored in the first storage unit 121-1 in step S 205. Copy stored control parameters. If a change in the control parameter stored in the first storage unit 121-2 is detected in step S201, the second storage unit 122-2 is stored in the first storage unit 121-2 in step S205. Copy stored control parameters.

次に、ステップS206で、上述したように第2記憶部122−1または第2記憶部122−2に対する制御パラメータのコピーが終了した後、動作再開制御部104が、停止している制御処理部123−1または制御処理部123−2の動作を再開させる(動作再開ステップ)。動作再開制御部104は、例えば、停止している制御処理部123−1または制御処理部123−2に対して再開指示を出力することで、動作を再開させる。この再開指示により、制御処理部123−1または制御処理部123−2は、制御動作を再開する。この結果、制御処理部123−1および制御処理部123−2の全てが、制御動作を行っている状態となる。   Next, in step S206, after the copying of the control parameters to the second storage unit 122-1 or the second storage unit 122-2 is completed as described above, the operation restart control unit 104 is stopped. The operation of 123-1 or the control processing unit 123-2 is resumed (operation resumption step). For example, the operation resumption control unit 104 outputs a resumption instruction to the stopped control processing unit 123-1 or control processing unit 123-2, thereby resuming the operation. In response to the restart instruction, the control processing unit 123-1 or the control processing unit 123-2 restarts the control operation. As a result, all of the control processing unit 123-1 and the control processing unit 123-2 are in a state of performing the control operation.

例えば、ステップS201で、第1記憶部121−1に記憶されている制御パラメータの変更が検出されている場合、第1記憶部121−1に記憶されている制御パラメータの第2記憶部122−1に対するコピーが終了した後、ステップS206で、制御処理部123−1に対して動作の再開指示が出力される。これにより、制御処理部123−1が、制御動作を再開する。   For example, when a change in the control parameter stored in the first storage unit 121-1 is detected in step S201, the second storage unit 122- of the control parameter stored in the first storage unit 121-1. After the copy for 1 is completed, an operation resumption instruction is output to the control processing unit 123-1 in step S206. As a result, the control processing unit 123-1 restarts the control operation.

また、ステップS201で、第1記憶部121−2に記憶されている制御パラメータの変更が検出されている場合、第1記憶部121−2に記憶されている制御パラメータの第2記憶部122−2に対するコピーが終了した後、ステップS206で、制御処理部123−2に対して動作の再開指示が出力される。これにより、制御処理部123−2が、制御動作を再開する。   When a change in the control parameter stored in the first storage unit 121-2 is detected in step S201, the second storage unit 122- of the control parameter stored in the first storage unit 121-2 is detected. After the copying for 2 is completed, an operation resumption instruction is output to the control processing unit 123-2 in step S206. Thereby, the control processing unit 123-2 restarts the control operation.

以上に説明した制御パラメータ設定装置200による制御パラメータ設定方法によれば、まず、制御パラメータが変更されると、変更された制御パラメータが用いられる制御処理部(制御プログラム)は動作停止対象となるが、他の制御処理部は動作停止対象とならない。このように、実施の形態2によれば、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになる。また、動作が停止されてから動作が再開されるまでの動作停止期間は、設定変更をしている間ではなく、第1記憶部の制御パラメータが対応する第2記憶部にコピーされるまでの間となるので、非常に短い時間で終了する。   According to the control parameter setting method performed by the control parameter setting device 200 described above, first, when the control parameter is changed, the control processing unit (control program) in which the changed control parameter is used becomes an operation stop target. Other control processing units are not subject to operation stop. As described above, according to the second embodiment, control parameters can be set without affecting the operation of the control processing unit without changing the control parameters. Further, the operation stop period from when the operation is stopped until the operation is restarted is not during the setting change, but until the control parameter of the first storage unit is copied to the corresponding second storage unit. Because it is between, it ends in a very short time.

また、実施の形態2では、整合確認部106を備えるようにしたので、例えば規格外の制御パラメータの設定が抑制できるようになり、動作開始時の異常動作を事前に確認できるようになる。この結果、制御パラメータの設定ミスなどが防げ、効率よく設定パラメータの変更,確認作業が行えるようになる。   In the second embodiment, since the matching confirmation unit 106 is provided, for example, setting of non-standard control parameters can be suppressed, and an abnormal operation at the start of operation can be confirmed in advance. As a result, mistakes in setting control parameters can be prevented, and setting parameters can be changed and confirmed efficiently.

[実施の形態3]
次に、本発明の実施の形態3について図5,図6を用いて説明する。図5は、本発明の実施の形態3における制御システムの構成を示す構成図である。また、図6は、本発明の実施の形態3における制御パラメータ設定方法を説明するフローチャートである。
[Embodiment 3]
Next, Embodiment 3 of the present invention will be described with reference to FIGS. FIG. 5 is a configuration diagram showing the configuration of the control system in Embodiment 3 of the present invention. FIG. 6 is a flowchart illustrating a control parameter setting method according to Embodiment 3 of the present invention.

実施の形態3における制御システムは、制御パラメータ設定装置300および制御コントローラ320を備える。制御パラメータ設定装置300は、変更検出部301,動作停止制御部302,コピー制御部303,動作再開制御部304,および入力部305を備える。また、制御コントローラ320は、2つの第1記憶部321−1,第1記憶部321−2、2つの第2記憶部322−1,第2記憶部322−2、および2つの制御処理部323−1,制御処理部323−2を備える。   The control system in the third embodiment includes a control parameter setting device 300 and a control controller 320. The control parameter setting device 300 includes a change detection unit 301, an operation stop control unit 302, a copy control unit 303, an operation resumption control unit 304, and an input unit 305. The controller 320 also includes two first storage units 321-1, a first storage unit 321-2, two second storage units 322-1, a second storage unit 322-2, and two control processing units 323. -1, a control processing unit 323-2 is provided.

制御処理部323−1,制御処理部323−2は、制御パラメータを用いて制御対象(不図示)の制御を行う。制御対象は、例えば、ビルなどの建築物に設けられている空調などの設備やプラントにおけるプロセス機器である。   The control processing unit 323-1 and the control processing unit 323-2 control a control target (not shown) using the control parameter. The control target is, for example, equipment such as an air conditioner provided in a building such as a building or process equipment in a plant.

第1記憶部321−1,第1記憶部321−2は、制御処理部323−1,制御処理部323−2の各々に対応して設けられ、制御処理部323−1,制御処理部323−2の制御で用いられる制御パラメータが記憶される。また、実施の形態3においては、第1記憶部321−2は、制御処理部323−1の制御で用いられる制御パラメータも記憶されている。言い換えると、制御処理部323−1は、第1記憶部321−1に加え、第1記憶部321−2に記憶されている制御パラメータも用いて制御を行う。実施の形態3では、第1記憶部321−2が、制御処理部323−2に加えて制御処理部323−1にも対応している場合を例にしている。   The first storage unit 321-1 and the first storage unit 321-2 are provided corresponding to each of the control processing unit 323-1 and the control processing unit 323-2, and the control processing unit 323-1 and the control processing unit 323 are provided. The control parameters used in the control of -2. In the third embodiment, the first storage unit 321-2 also stores control parameters used in the control of the control processing unit 323-1. In other words, the control processing unit 323-1 performs control using the control parameters stored in the first storage unit 321-2 in addition to the first storage unit 321-1. In the third embodiment, an example is given in which the first storage unit 321-2 is compatible with the control processing unit 323-1 in addition to the control processing unit 323-2.

第2記憶部322−1,第2記憶部322−2は、制御処理部323−1,制御処理部323−2の各々に対応して設けられ、制御処理部323−1,制御処理部323−2に出力されて制御処理部323−1,制御処理部323−2の制御に用いられる制御パラメータが記憶されている。実施の形態3では、第2記憶部322−2が、記憶している制御パラメータを、制御処理部323−1に対しても出力する。言い換えると、制御処理部323−1は、第2記憶部322−1に加え、第2記憶部322−2より出力される制御パラメータも用いて制御を行う。   The second storage unit 322-1 and the second storage unit 322-2 are provided corresponding to each of the control processing unit 323-1 and the control processing unit 323-2, and the control processing unit 323-1 and the control processing unit 323 are provided. -2 is stored and control parameters used for control of the control processing unit 323-1 and the control processing unit 323-2 are stored. In the third embodiment, the second storage unit 322-2 outputs the stored control parameters to the control processing unit 323-1. In other words, the control processing unit 323-1 performs control using the control parameter output from the second storage unit 322-2 in addition to the second storage unit 322-1.

変更検出部301は、第1記憶部321−1,第1記憶部321−2に記憶されている制御パラメータの変更を検出して変更されたことを示すフラグを該当する第1記憶部321−1または第1記憶部321−2に設定する。   The change detection unit 301 detects a change in the control parameter stored in the first storage unit 321-1 and the first storage unit 321-2 and indicates a flag indicating that the change has been made. 1 or the first storage unit 321-2.

動作停止制御部302は、変更検出部301が第1記憶部321−1,第1記憶部321−2に記憶されている制御パラメータの変更を検出すると、制御処理部323−1,制御処理部323−2に対して動作の停止指示を出力する。実施の形態3では、制御パラメータの変更の有無にかかわらず、動作停止制御部302は、全ての制御処理部323−1,制御処理部323−2に対して動作の停止指示を出力する。   When the change detection unit 301 detects a change in the control parameter stored in the first storage unit 321-1 or the first storage unit 321-2, the operation stop control unit 302 controls the control processing unit 323-1 or the control processing unit. An operation stop instruction is output to 323-2. In the third embodiment, the operation stop control unit 302 outputs an operation stop instruction to all the control processing units 323-1 and 323-2 regardless of whether or not the control parameter is changed.

コピー制御部303は、第2記憶部322−1,第2記憶部322−2の中の、フラグが設定されている第1記憶部321−1または第1記憶部321−2に対応する第2記憶部322−1または第2記憶部322−2に、フラグが設定されている第1記憶部321−1または第1記憶部321−2に記憶されている制御パラメータをコピーする。コピー制御部303は、上述したコピーの動作を、動作停止制御部302により制御処理部323−1または制御処理部323−2の動作が停止された後、言い換えると、動作停止制御部302が動作の停止指示を出力し、この結果、対象となる制御処理部323−1または制御処理部323−2が動作を停止した後に行う。   The copy control unit 303 corresponds to the first storage unit 321-1 or the first storage unit 321-2 in which the flag is set in the second storage unit 322-1 and the second storage unit 322-2. The control parameter stored in the first storage unit 321-1 or the first storage unit 321-2 for which the flag is set is copied to the second storage unit 322-1 or the second storage unit 322-2. The copy control unit 303 performs the above-described copying operation after the operation stop control unit 302 stops the operation of the control processing unit 323-1 or the control processing unit 323-2, in other words, the operation stop control unit 302 operates. This is performed after the target control processing unit 323-1 or control processing unit 323-2 has stopped operating.

動作再開制御部304は、第2記憶部322−1または第2記憶部322−2に対する制御パラメータのコピーが終了した後、制御処理部323−1,制御処理部323−2に対して動作の再開指示を出力する。実施の形態3では、制御パラメータの変更の有無にかかわらず、動作再開制御部304は、全ての制御処理部323−1,制御処理部323−2に対して動作の再開指示を出力する。   The operation resumption control unit 304 operates the control processing unit 323-1 and the control processing unit 323-2 after the copying of the control parameters to the second storage unit 322-1 or the second storage unit 322-2 is completed. A resume instruction is output. In the third embodiment, the operation resumption control unit 304 outputs an operation resumption instruction to all the control processing units 323-1 and 323-2 regardless of whether or not the control parameter is changed.

また、実施の形態3では、制御処理部323−1,制御処理部323−2は、対応する第1記憶部321−1,第1記憶部321−2にフラグが設定されている場合に、動作停止制御部302からの動作の停止指示を受け付けて動作を停止し、動作再開制御部304からの動作の再開指示を受け付けて動作を再開する。実施の形態3の例では、制御処理部323−1は、第1記憶部321−1に加えて第1記憶部321−2にも対応しているため、第1記憶部321−2にフラグが設定されていると、制御処理部323−1および制御処理部323−2が動作を停止することになる。一方、第1記憶部321−1にフラグが設定されると、制御処理部323−1のみが動作を停止することになる。   In the third embodiment, the control processing unit 323-1 and the control processing unit 323-2 are set when the flag is set in the corresponding first storage unit 321-1 and the first storage unit 321-2. An operation stop instruction from the operation stop control unit 302 is received to stop the operation, and an operation restart instruction from the operation restart control unit 304 is received to restart the operation. In the example of the third embodiment, since the control processing unit 323-1 corresponds to the first storage unit 321-2 in addition to the first storage unit 321-1, the first storage unit 321-2 is flagged. Is set, the control processing unit 323-1 and the control processing unit 323-2 stop operating. On the other hand, when the flag is set in the first storage unit 321-1, only the control processing unit 323-1 stops its operation.

次に、本発明の実施の形態3における制御パラメータ設定装置300の動作(制御パラメータ設定方法)について、図6のフローチャートを用いて説明する。   Next, the operation (control parameter setting method) of the control parameter setting device 300 according to Embodiment 3 of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS301で、変更検出部301が、第1記憶部321−1または第1記憶部321−2に記憶されている制御パラメータが変更されたことを検出する(変更検出ステップ)。例えば、プロセスの変更などにより、制御処理部323−1の制御処理に必要な制御パラメータの変更が発生すると、ユーザの入力部305の操作により、第1記憶部321−1の制御パラメータが変更される。このように制御パラメータを変更した後、ユーザからの指示入力により、制御パラメータ設定装置300が設定変更動作開始状態となり、変更検出部301の動作が開始され、上述した動作が開始される。以下では、第1記憶部321−1の制御パラメータが変更された場合を例にして説明する。   First, in step S301, the change detection unit 301 detects that the control parameter stored in the first storage unit 321-1 or the first storage unit 321-2 has been changed (change detection step). For example, when a change in the control parameter necessary for the control processing of the control processing unit 323-1 occurs due to a process change or the like, the control parameter in the first storage unit 321-1 is changed by the operation of the user input unit 305. The After changing the control parameter in this manner, the control parameter setting device 300 enters the setting change operation start state by an instruction input from the user, the operation of the change detection unit 301 is started, and the above-described operation is started. Hereinafter, a case where the control parameter of the first storage unit 321-1 is changed will be described as an example.

上述したようにステップS301で、制御パラメータが変更されたことが検出されると(S301のy)、ステップS302で、変更検出部301が、制御パラメータが変更された第1記憶部321−1に、変更されたことを示すフラグを設定する(動作停止ステップ)。次に、ステップS303で、動作停止制御部302が、制御処理部323−1,制御処理部323−2に対して動作停止指示を出力する(動作停止ステップ)。この動作停止指示の出力により、フラグが設定されている第1記憶部321−1に対応する制御処理部323−1は、制御動作を一時停止する。一方、フラグが設定されていない第1記憶部321−2に対応する制御処理部323−2は、動作停止指示を無視して動作を継続する。   As described above, when it is detected in step S301 that the control parameter has been changed (y in S301), in step S302, the change detection unit 301 stores in the first storage unit 321-1 in which the control parameter has been changed. Then, a flag indicating the change is set (operation stop step). Next, in step S303, the operation stop control unit 302 outputs an operation stop instruction to the control processing unit 323-1 and the control processing unit 323-2 (operation stop step). In response to the output of the operation stop instruction, the control processing unit 323-1 corresponding to the first storage unit 321-1 in which the flag is set temporarily stops the control operation. On the other hand, the control processing unit 323-2 corresponding to the first storage unit 321-2 for which no flag is set ignores the operation stop instruction and continues the operation.

次に、ステップS304で、コピー制御部303が、フラグが設定されている第1記憶部321−1に対応する第2記憶部322−1に、フラグが設定されている第1記憶部321−1に記憶されている制御パラメータをコピーする(コピーステップ)。このコピーの処理過程において、第2記憶部322−1の制御パラメータを用いる制御処理部323−1,制御処理部323−3,制御処理部323−4は、動作を停止しているので、異常動作を起こすことがない。   Next, in step S304, the copy control unit 303 sets the first storage unit 321- with the flag set in the second storage unit 322-1 corresponding to the first storage unit 321-1 with the flag set. The control parameter stored in 1 is copied (copy step). In this copying process, the control processing unit 323-1, the control processing unit 323-3, and the control processing unit 323-4 that use the control parameters of the second storage unit 322-1 have stopped operating. There is no action.

次に、ステップS305で、上述したように第2記憶部322−1に対する制御パラメータのコピーが終了した後、動作再開制御部304が、制御処理部323−1,制御処理部323−2に対して動作の再開指示を出力する(動作再開ステップ)。動作再開制御部304による再開指示が出力されることで、フラグが設定されている第1記憶部321−1に対応する制御処理部323−1では、一時停止していた制御動作を再開する。一方、フラグが設定されていない第1記憶部321−2に対応する制御処理部323−2では、制御動作は継続されており、送信されてきた再開指示を無視する。この結果、制御処理部323−1および制御処理部323−2の全てが、制御動作を行っている状態となる。また、この時点では、第2記憶部322−1に対する制御パラメータのコピーは終了しているので、第2記憶部322−1に記憶されている制御パラメータを用いる制御処理部323−1は、正常な動作が行える。この後、ステップS306で、変更検出部301が、第1記憶部321−1におけるフラグ設定を解除する。   Next, in step S305, after the copying of the control parameters to the second storage unit 322-1 is completed as described above, the operation resumption control unit 304 performs the control processing unit 323-1 and the control processing unit 323-2. The operation resumption instruction is output (operation resumption step). When the restart instruction is output from the operation restart control unit 304, the control processing unit 323-1 corresponding to the first storage unit 321-1 for which the flag is set restarts the control operation that has been temporarily stopped. On the other hand, in the control processing unit 323-2 corresponding to the first storage unit 321-2 in which the flag is not set, the control operation is continued, and the transmitted restart instruction is ignored. As a result, all of the control processing unit 323-1 and the control processing unit 323-2 are in a state of performing the control operation. At this time, since the copy of the control parameter to the second storage unit 322-1 has been completed, the control processing unit 323-1 that uses the control parameter stored in the second storage unit 322-1 is normal. Can be performed. Thereafter, in step S306, the change detection unit 301 cancels the flag setting in the first storage unit 321-1.

以上に説明した制御パラメータ設定装置300による制御パラメータ設定方法によれば、まず、制御パラメータが変更されると、変更された制御パラメータが用いられる制御処理部(制御プログラム)は動作停止対象となるが、他の制御処理部は動作停止対象とならない。このように、実施の形態3においても、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになる。また、動作が停止されてから動作が再開されるまでの動作停止期間は、設定変更をしている間ではなく、第1記憶部の制御パラメータが対応する第2記憶部にコピーされるまでの間となるので、非常に短い時間で終了する。   According to the control parameter setting method by the control parameter setting device 300 described above, first, when the control parameter is changed, the control processing unit (control program) in which the changed control parameter is used becomes an operation stop target. Other control processing units are not subject to operation stop. As described above, also in the third embodiment, the control parameter can be set without affecting the operation of the control processing unit without changing the control parameter. Further, the operation stop period from when the operation is stopped until the operation is restarted is not during the setting change, but until the control parameter of the first storage unit is copied to the corresponding second storage unit. Because it is between, it ends in a very short time.

[実施の形態4]
次に、本発明の実施の形態4について図7,図8を用いて説明する。図7は、本発明の実施の形態4における制御システムの構成を示す構成図である。また、図8は、本発明の実施の形態4における制御パラメータ設定方法を説明するフローチャートである。
[Embodiment 4]
Next, a fourth embodiment of the present invention will be described with reference to FIGS. FIG. 7 is a configuration diagram showing the configuration of the control system in the fourth embodiment of the present invention. FIG. 8 is a flowchart for explaining a control parameter setting method according to the fourth embodiment of the present invention.

実施の形態4における制御システムは、制御パラメータ設定装置400および制御コントローラ420を備える。制御パラメータ設定装置400は、変更検出部401,動作停止制御部402,コピー制御部403,動作再開制御部404,および入力部405を備える。また、制御コントローラ420は、2つの第1記憶部421−1,第1記憶部421−2、2つの第2記憶部422−1,第2記憶部422−2、および4つの制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4を備える。   The control system in the fourth embodiment includes a control parameter setting device 400 and a control controller 420. The control parameter setting device 400 includes a change detection unit 401, an operation stop control unit 402, a copy control unit 403, an operation restart control unit 404, and an input unit 405. The controller 420 also includes two first storage units 421-1, a first storage unit 421-2, two second storage units 422-1, a second storage unit 422-2, and four control processing units 423. -1, control processing unit 423-2, control processing unit 423-3, and control processing unit 423-4.

制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4は、制御パラメータを用いて制御対象(不図示)の制御を行う。制御対象は、例えば、ビルなどの建築物に設けられている空調などの設備やプラントにおけるプロセス機器である。   The control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4 control the control target (not shown) using the control parameter. The control target is, for example, equipment such as an air conditioner provided in a building such as a building or process equipment in a plant.

第1記憶部421−1,第1記憶部421−2は、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4の各々に対応して設けられ、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4の制御で用いられる制御パラメータが記憶される。   The first storage unit 421-1 and the first storage unit 421-2 correspond to the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4, respectively. Control parameters are provided and used for control by the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4.

実施の形態4においては、第1記憶部421−1は、制御処理部423−1,制御処理部423−3,制御処理部423−4の制御で用いられる制御パラメータが記憶されている。また、第1記憶部421−2は、制御処理部423−2,制御処理部423−4の制御で用いられる制御パラメータが記憶されている。従って、制御処理部423−4は、第1記憶部421−1に加え、第1記憶部421−2に記憶されている制御パラメータも用いて制御を行う。   In the fourth embodiment, the first storage unit 421-1 stores control parameters used in the control of the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4. In addition, the first storage unit 421-2 stores control parameters used in the control of the control processing unit 423-2 and the control processing unit 423-4. Therefore, the control processing unit 423-4 performs control using the control parameters stored in the first storage unit 421-2 in addition to the first storage unit 421-1.

第2記憶部422−1,第2記憶部422−2は、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4の各々に対応して設けられ、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に出力されて制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4の制御に用いられる制御パラメータが記憶されている。   The second storage unit 422-1 and the second storage unit 422-2 correspond to the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4, respectively. Control processing unit 423-1, control processing unit 423-2, control processing unit 423-3, output to control processing unit 423-4 and control processing unit 423-1, control processing unit 423-2, control processing Control parameters used for control of the unit 423-3 and the control processing unit 423-4 are stored.

実施の形態4では、まず、第2記憶部422−1は、記憶している制御パラメータを、制御処理部423−1,制御処理部423−3,および制御処理部423−4に対して出力する。また、第2記憶部422−2は、記憶している制御パラメータを、制御処理部423−2,制御処理部423−4に対して出力する。従って、制御処理部423−4は、第2記憶部422−1に加え、第2記憶部422−2より出力される制御パラメータも用いて制御を行う。   In Embodiment 4, first, the second storage unit 422-1 outputs the stored control parameters to the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4. To do. The second storage unit 422-2 outputs the stored control parameters to the control processing unit 423-2 and the control processing unit 423-4. Therefore, the control processing unit 423-4 performs control using the control parameter output from the second storage unit 422-2 in addition to the second storage unit 422-1.

変更検出部401は、第1記憶部421−1,第1記憶部421−2に記憶されている制御パラメータの変更を検出して変更されたことを示すフラグを該当する第1記憶部421−1または第1記憶部421−2に設定する。   The change detection unit 401 detects a change in the control parameter stored in the first storage unit 421-1 and the first storage unit 421-2 and displays a flag indicating that the change has been made, in the corresponding first storage unit 421-. 1 or the first storage unit 421-2.

動作停止制御部402は、変更検出部401が第1記憶部421−1,第1記憶部421−2に記憶されている制御パラメータの変更を検出すると、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4の全てに対して動作の停止指示を出力する。   When the change detection unit 401 detects a change in the control parameter stored in the first storage unit 421-1 and the first storage unit 421-2, the operation stop control unit 402 controls the control processing unit 423-1 An operation stop instruction is output to all of the control processing unit 423-3 and the control processing unit 423-4.

コピー制御部403は、第2記憶部422−1,第2記憶部422−2の中の、フラグが設定されている第1記憶部421−1または第1記憶部421−2に対応する第2記憶部422−1または第2記憶部422−2に、フラグが設定されている第1記憶部421−1または第1記憶部421−2に記憶されている制御パラメータをコピーする。コピー制御部403は、上述したコピーの動作を、動作停止制御部402により,制御処理部423−1,制御処理部423−2,制御処理部423−3,または制御処理部423−4の動作が停止された後、言い換えると、動作停止制御部402が動作の停止指示を出力し、この結果、対象となる制御処理部423−1,制御処理部423−2,制御処理部423−3,または制御処理部423−4が動作を停止した後に行う。   The copy control unit 403 corresponds to the first storage unit 421-1 or the first storage unit 421-2 in which the flag is set in the second storage unit 422-1 and the second storage unit 422-2. The control parameter stored in the first storage unit 421-1 or the first storage unit 421-2 for which the flag is set is copied to the second storage unit 422-1 or the second storage unit 422-2. The copy control unit 403 performs the above-described copying operation by the operation stop control unit 402 by the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, or the operation of the control processing unit 423-4. In other words, the operation stop control unit 402 outputs an operation stop instruction, and as a result, the target control processing unit 423-1, the control processing unit 423-2, and the control processing unit 423-3 Alternatively, after the control processing unit 423-4 stops operating.

動作再開制御部404は、第2記憶部422−1または第2記憶部422−2に対する制御パラメータのコピーが終了した後、制御処理部423−1,制御処理部423−2,制御処理部423−3,および制御処理部423−4の全てに対して動作の再開指示を出力する。   The operation resumption control unit 404 performs the control processing unit 423-1, the control processing unit 423-2, and the control processing unit 423 after the copy of the control parameter to the second storage unit 422-1 or the second storage unit 422-2 is completed. -3 and the control processing unit 423-4 are all instructed to resume the operation.

実施の形態4では、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4は、対応する第1記憶部421−1,第1記憶部421−2にフラグが設定されている場合に、動作停止制御部402からの動作の停止指示を受け付けて動作を停止し、動作再開制御部404からの動作の再開指示を受け付けて動作を再開する。   In the fourth embodiment, the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4 correspond to the corresponding first storage unit 421-1 and first storage unit 421. When the flag is set to -2, the operation stop instruction from the operation stop control unit 402 is received to stop the operation, and the operation restart instruction from the operation resumption control unit 404 is received to restart the operation.

実施の形態4の例では、第1記憶部421−1は、制御処理部423−1,制御処理部423−3,制御処理部423−4に対応しているため、第1記憶部421−1にフラグが設定されていると、制御処理部423−1,制御処理部423−3,制御処理部423−4が動作を停止する。また、第1記憶部421−2は、制御処理部423−2,制御処理部423−4に対応しているため、第1記憶部421−2にフラグが設定されていると、制御処理部423−2,制御処理部423−4が動作を停止する。このため、制御処理部423−4は、第1記憶部421−1にフラグが設定された場合および第1記憶部421−2にフラグが設定された場合の両者において、動作を停止することになる。   In the example of the fourth embodiment, the first storage unit 421-1 corresponds to the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4, and thus the first storage unit 421-1. When the flag is set to 1, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4 stop operating. In addition, since the first storage unit 421-2 corresponds to the control processing unit 423-2 and the control processing unit 423-4, if the flag is set in the first storage unit 421-2, the control processing unit 423-2 and the control processing unit 423-4 stop operating. Therefore, the control processing unit 423-4 stops the operation both when the flag is set in the first storage unit 421-1 and when the flag is set in the first storage unit 421-2. Become.

次に、本発明の実施の形態4における制御パラメータ設定装置400の動作(制御パラメータ設定方法)について、図8のフローチャートを用いて説明する。   Next, the operation (control parameter setting method) of the control parameter setting device 400 according to Embodiment 4 of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS401で、変更検出部401が、第1記憶部421−1または第1記憶部421−2に記憶されている制御パラメータが変更されたことを検出する(変更検出ステップ)。例えば、プロセスの変更などにより、制御処理部423−1の制御処理に必要な制御パラメータの変更が発生すると、ユーザの入力部405の操作により、第1記憶部421−1の制御パラメータが変更される。このように制御パラメータを変更した後、ユーザからの指示入力により、制御パラメータ設定装置400が設定変更動作開始状態となり、変更検出部401の動作が開始され、上述した動作が開始される。以下では、第1記憶部421−1の制御パラメータが変更された場合を例にして説明する。   First, in step S401, the change detection unit 401 detects that the control parameter stored in the first storage unit 421-1 or the first storage unit 421-2 has been changed (change detection step). For example, when a control parameter change necessary for the control process of the control processing unit 423-1 occurs due to a process change or the like, the control parameter of the first storage unit 421-1 is changed by the operation of the user input unit 405. The After changing the control parameter in this manner, the control parameter setting device 400 enters the setting change operation start state by an instruction input from the user, the operation of the change detection unit 401 is started, and the above-described operation is started. Below, the case where the control parameter of the 1st memory | storage part 421-1 is changed is demonstrated to an example.

上述したようにステップS401で、制御パラメータが変更されたことが検出されると(S401のy)、ステップS402で、変更検出部401が、制御パラメータが変更された第1記憶部421−1に、変更されたことを示すフラグを設定する(動作停止ステップ)。次に、ステップS403で、動作停止制御部402が、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に対して動作停止指示を出力する(動作停止ステップ)。この動作停止指示の出力により、フラグが設定されている第1記憶部421−1に対応する制御処理部423−1,制御処理部423−3,制御処理部423−4は、制御動作を一時停止する。一方、フラグが設定されていない第1記憶部421−2にのみ対応する制御処理部423−2は、動作停止指示を無視して動作を継続する。   As described above, when it is detected in step S401 that the control parameter has been changed (y in S401), in step S402, the change detection unit 401 stores in the first storage unit 421-1 in which the control parameter has been changed. Then, a flag indicating the change is set (operation stop step). Next, in step S403, the operation stop control unit 402 outputs an operation stop instruction to the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4. (Operation stop step). In response to the output of the operation stop instruction, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4 corresponding to the first storage unit 421-1 for which the flag is set temporarily Stop. On the other hand, the control processing unit 423-2 corresponding only to the first storage unit 421-2 for which the flag is not set ignores the operation stop instruction and continues the operation.

次に、ステップS404で、コピー制御部403が、フラグが設定されている第1記憶部421−1に対応する第2記憶部422−1に、フラグが設定されている第1記憶部421−1に記憶されている制御パラメータをコピーする(コピーステップ)。このコピーの処理過程において、第2記憶部422−1の制御パラメータを用いる制御処理部423−1,制御処理部423−3,制御処理部423−4は、動作を停止しているので、異常動作を起こすことがない。   Next, in step S404, the copy control unit 403 causes the first storage unit 421- with the flag set to the second storage unit 422-1 corresponding to the first storage unit 421-1 for which the flag is set. The control parameter stored in 1 is copied (copy step). In this copying process, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4 that use the control parameters of the second storage unit 422-1 have stopped operating. There is no action.

次に、ステップS405で、上述したように第2記憶部422−1に対する制御パラメータのコピーが終了した後、動作再開制御部404が、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に対して動作の再開指示を出力する(動作再開ステップ)。   Next, in step S405, after the copying of the control parameters to the second storage unit 422-1 is completed as described above, the operation resumption control unit 404 performs the control processing unit 423-1, the control processing unit 423-2, and the control. An operation resumption instruction is output to the processing unit 423-3 and the control processing unit 423-4 (operation resumption step).

動作再開制御部404による再開指示が出力されることで、フラグが設定されている第1記憶部421−1に対応する制御処理部423−1,制御処理部423−3,制御処理部423−4では、一時停止していた制御動作を再開する。一方、フラグが設定されていない第1記憶部421−2のみに対応する制御処理部423−2では、制御動作は継続されており、送信されてきた再開指示を無視する。この結果、制御処理部423−1,制御処理部423−2,制御処理部423−3,および制御処理部423−4の全てが、制御動作を行っている状態となる。また、この時点では、第2記憶部422−1に対する制御パラメータのコピーは終了しているので、第2記憶部422−1に記憶されている制御パラメータを用いる制御処理部423−1,制御処理部423−3,および制御処理部423−4は、正常な動作が行える。この後、ステップS406で、変更検出部401が、第1記憶部421−1におけるフラグ設定を解除する。   By outputting a restart instruction from the operation restart control unit 404, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423- corresponding to the first storage unit 421-1 for which the flag is set. In 4, the control operation that has been paused is resumed. On the other hand, in the control processing unit 423-2 corresponding to only the first storage unit 421-2 in which the flag is not set, the control operation is continued, and the transmitted restart instruction is ignored. As a result, all of the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4 are performing the control operation. At this time, since the copy of the control parameter to the second storage unit 422-1 is complete, the control processing unit 423-1, control processing using the control parameter stored in the second storage unit 422-1 The unit 423-3 and the control processing unit 423-4 can perform normal operations. Thereafter, in step S406, the change detection unit 401 cancels the flag setting in the first storage unit 421-1.

以上に説明した制御パラメータ設定装置400による制御パラメータ設定方法によれば、まず、制御パラメータが変更されると、変更された制御パラメータが用いられる制御処理部(制御プログラム)は動作停止対象となるが、他の制御処理部は動作停止対象とならない。このように、実施の形態4においても、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになる。また、動作が停止されてから動作が再開されるまでの動作停止期間は、設定変更をしている間ではなく、第1記憶部の制御パラメータが対応する第2記憶部にコピーされるまでの間となるので、非常に短い時間で終了する。   According to the control parameter setting method by the control parameter setting device 400 described above, first, when the control parameter is changed, the control processing unit (control program) in which the changed control parameter is used becomes an operation stop target. Other control processing units are not subject to operation stop. As described above, also in the fourth embodiment, the control parameters can be set without affecting the operation of the control processing unit without changing the control parameters. Further, the operation stop period from when the operation is stopped until the operation is restarted is not during the setting change, but until the control parameter of the first storage unit is copied to the corresponding second storage unit. Because it is between, it ends in a very short time.

[実施の形態5]
次に、本発明の実施の形態5について図9,図10を用いて説明する。図9は、本発明の実施の形態5における制御システムの構成を示す構成図である。また、図10は、本発明の実施の形態5における制御パラメータ設定方法を説明するフローチャートである。
[Embodiment 5]
Next, a fifth embodiment of the present invention will be described with reference to FIGS. FIG. 9 is a configuration diagram showing the configuration of the control system in the fifth embodiment of the present invention. FIG. 10 is a flowchart for explaining a control parameter setting method according to the fifth embodiment of the present invention.

実施の形態5における制御システムは、制御パラメータ設定装置500および制御コントローラ420を備える。制御パラメータ設定装置500は、変更検出部401,動作停止制御部402,コピー制御部403,動作再開制御部404,および入力部405を備える。また、制御コントローラ420は、2つの第1記憶部421−1,第1記憶部421−2、2つの第2記憶部422−1,第2記憶部422−2、および4つの制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4を備える。これらの構成は、前述した実施の形態4と同様であり、詳しい説明を省略する。   The control system in the fifth embodiment includes a control parameter setting device 500 and a control controller 420. The control parameter setting device 500 includes a change detection unit 401, an operation stop control unit 402, a copy control unit 403, an operation resumption control unit 404, and an input unit 405. The controller 420 also includes two first storage units 421-1, a first storage unit 421-2, two second storage units 422-1, a second storage unit 422-2, and four control processing units 423. -1, control processing unit 423-2, control processing unit 423-3, and control processing unit 423-4. These configurations are the same as those of the fourth embodiment described above, and detailed description thereof is omitted.

実施の形態5では、制御パラメータ設定装置500が、変更検出部401により制御パラメータの変更が検出された第1記憶部421−1または第1記憶部421−2に記憶されている制御パラメータの整合性を確認する整合確認部406を備える。実施の形態5では、動作停止制御部402は、整合確認部406が整合性を確認した後、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に動作の停止指示を出力する。   In the fifth embodiment, the control parameter setting device 500 matches the control parameters stored in the first storage unit 421-1 or the first storage unit 421-2 in which the change detection unit 401 has detected a change in the control parameter. A matching confirmation unit 406 for confirming the characteristics. In the fifth embodiment, after the consistency check unit 406 confirms consistency, the operation stop control unit 402 controls the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423. The operation stop instruction is output to -4.

例えば、変更検出部401により第1記憶部421−1における制御パラメータの変更が検出されると、整合確認部406は、第1記憶部421−1に記憶されている制御パラメータの整合性を確認する。また、変更検出部401により第1記憶部421−2における制御パラメータの変更が検出されると、整合確認部406は、第1記憶部421−2に記憶されている制御パラメータの整合性を確認する。   For example, when the change detection unit 401 detects a change in the control parameter in the first storage unit 421-1, the matching confirmation unit 406 checks the consistency of the control parameter stored in the first storage unit 421-1. To do. When the change detection unit 401 detects a change in the control parameter in the first storage unit 421-2, the matching confirmation unit 406 checks the consistency of the control parameter stored in the first storage unit 421-2. To do.

整合確認部406は、例えば、変更を検出した制御パラメータが、予め設定されているパラメータの範囲となっていることを確認する。変更を検出した制御パラメータが、予め設定されているパラメータの範囲となっていることが確認されると、動作停止制御部402により停止指示が出力される。一方、変更を検出した制御パラメータが、予め設定されているパラメータの範囲外の場合、整合確認部406は、ユーザに視認可能な状態で変更されたパラメータが規格外であることを通知する。この通知は、例えば、図示しない表示部に表示することなどにより行えばよい。   For example, the matching confirmation unit 406 confirms that the control parameter for which the change has been detected is within a preset parameter range. When it is confirmed that the control parameter that has detected the change is within a preset parameter range, the operation stop control unit 402 outputs a stop instruction. On the other hand, when the control parameter that has detected the change is outside the preset parameter range, the matching confirmation unit 406 notifies the user that the parameter that has been changed while being visible is out of specification. This notification may be performed, for example, by displaying on a display unit (not shown).

次に、本発明の実施の形態5における制御パラメータ設定装置500の動作(制御パラメータ設定方法)について、図10のフローチャートを用いて説明する。   Next, the operation (control parameter setting method) of the control parameter setting device 500 according to the fifth embodiment of the present invention will be described with reference to the flowchart of FIG.

まず、ステップS501で、変更検出部401が、第1記憶部421−1または第1記憶部421−2に記憶されている制御パラメータが変更されたことを検出する(変更検出ステップ)。例えば、プロセスの変更などにより、制御処理部423−1の制御処理に必要な制御パラメータの変更が発生すると、ユーザの入力部405の操作により、第1記憶部421−1の制御パラメータが変更される。このように制御パラメータを変更した後、ユーザからの指示入力により、制御パラメータ設定装置500が設定変更動作開始状態となり、変更検出部401の動作が開始され、上述した動作が開始される。以下では、第1記憶部421−1の制御パラメータが変更された場合を例にして説明する。   First, in step S501, the change detection unit 401 detects that the control parameter stored in the first storage unit 421-1 or the first storage unit 421-2 has been changed (change detection step). For example, when a control parameter change necessary for the control process of the control processing unit 423-1 occurs due to a process change or the like, the control parameter of the first storage unit 421-1 is changed by the operation of the user input unit 405. The After changing the control parameter in this way, the control parameter setting device 500 enters the setting change operation start state by an instruction input from the user, the operation of the change detection unit 401 is started, and the above-described operation is started. Below, the case where the control parameter of the 1st memory | storage part 421-1 is changed is demonstrated to an example.

上述したようにステップS501で、制御パラメータが変更されたことが検出されると(S501のy)、ステップS502で、変更検出部401が、制御パラメータが変更された第1記憶部421−1に、変更されたことを示すフラグを設定する(動作停止ステップ)。次に、ステップS503で、整合確認部406が、制御パラメータの変更が検出された第1記憶部421−1に記憶されている制御パラメータの整合性を確認する(整合確認ステップ)。   As described above, when it is detected in step S501 that the control parameter has been changed (y in S501), in step S502, the change detection unit 401 stores in the first storage unit 421-1 in which the control parameter has been changed. Then, a flag indicating the change is set (operation stop step). Next, in step S503, the consistency confirmation unit 406 confirms the consistency of the control parameters stored in the first storage unit 421-1 in which the change of the control parameter is detected (consistency confirmation step).

このステップS503における制御パラメータの整合性確認において、例えば、制御パラメータが、予め設定されているパラメータの範囲外の場合(ステップS503のn)、ステップS504で、整合確認部406が、ユーザに視認可能な状態で変更されたパラメータが規格外であることを通知する。一方、ステップS503における制御パラメータの整合性確認において、制御パラメータが、予め設定されているパラメータの範囲内の場合(ステップS503のn)、ステップS505に進む。   In the control parameter consistency check in step S503, for example, when the control parameter is out of the preset parameter range (step S503 n), the alignment check unit 406 can be visually recognized by the user in step S504. That the parameter changed in a non-standard state is out of specification. On the other hand, in the control parameter consistency check in step S503, if the control parameter is within the preset parameter range (n in step S503), the process proceeds to step S505.

ステップS505では、動作停止制御部402が、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に対して動作停止指示を出力する(動作停止ステップ)。この動作停止指示の出力により、フラグが設定されている第1記憶部421−1に対応する制御処理部423−1,制御処理部423−3,制御処理部423−4は、制御動作を一時停止する。一方、フラグが設定されていない第1記憶部421−2にのみ対応する制御処理部423−2は、動作停止指示を無視して動作を継続する。   In step S505, the operation stop control unit 402 outputs an operation stop instruction to the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4 (operation stop). Step). In response to the output of the operation stop instruction, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4 corresponding to the first storage unit 421-1 for which the flag is set temporarily Stop. On the other hand, the control processing unit 423-2 corresponding only to the first storage unit 421-2 for which the flag is not set ignores the operation stop instruction and continues the operation.

次に、ステップS506で、コピー制御部403が、フラグが設定されている第1記憶部421−1に対応する第2記憶部422−1に、フラグが設定されている第1記憶部421−1に記憶されている制御パラメータをコピーする(コピーステップ)。このコピーの処理過程において、第2記憶部422−1の制御パラメータを用いる制御処理部423−1,制御処理部423−3,制御処理部423−4は、動作を停止しているので、異常動作を起こすことがない。   Next, in step S506, the copy control unit 403 causes the second storage unit 422-1 corresponding to the first storage unit 421-1 for which the flag has been set to the first storage unit 421- for which the flag has been set. The control parameter stored in 1 is copied (copy step). In this copying process, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423-4 that use the control parameters of the second storage unit 422-1 have stopped operating. There is no action.

次に、ステップS507で、上述したように第2記憶部422−1に対する制御パラメータのコピーが終了した後、動作再開制御部404が、制御処理部423−1,制御処理部423−2,制御処理部423−3,制御処理部423−4に対して動作の再開指示を出力する(動作再開ステップ)。   Next, in step S507, after the copy of the control parameter to the second storage unit 422-1 is completed as described above, the operation resumption control unit 404 controls the control processing unit 423-1, the control processing unit 423-2, and the control. An operation resumption instruction is output to the processing unit 423-3 and the control processing unit 423-4 (operation resumption step).

動作再開制御部404による再開指示が出力されることで、フラグが設定されている第1記憶部421−1に対応する制御処理部423−1,制御処理部423−3,制御処理部423−4では、一時停止していた制御動作を再開する。一方、フラグが設定されていない第1記憶部421−2のみに対応する制御処理部423−2では、制御動作は継続されており、送信されてきた再開指示を無視する。この結果、制御処理部423−1,制御処理部423−2,制御処理部423−3,および制御処理部423−4の全てが、制御動作を行っている状態となる。また、この時点では、第2記憶部422−1に対する制御パラメータのコピーは終了しているので、第2記憶部422−1に記憶されている制御パラメータを用いる制御処理部423−1,制御処理部423−3,および制御処理部423−4は、正常な動作が行える。この後、ステップS508で、変更検出部401が、第1記憶部421−1におけるフラグ設定を解除する。   By outputting a restart instruction from the operation restart control unit 404, the control processing unit 423-1, the control processing unit 423-3, and the control processing unit 423- corresponding to the first storage unit 421-1 for which the flag is set. In 4, the control operation that has been paused is resumed. On the other hand, in the control processing unit 423-2 corresponding to only the first storage unit 421-2 in which the flag is not set, the control operation is continued, and the transmitted restart instruction is ignored. As a result, all of the control processing unit 423-1, the control processing unit 423-2, the control processing unit 423-3, and the control processing unit 423-4 are performing the control operation. At this time, since the copy of the control parameter to the second storage unit 422-1 is complete, the control processing unit 423-1, control processing using the control parameter stored in the second storage unit 422-1 The unit 423-3 and the control processing unit 423-4 can perform normal operations. Thereafter, in step S508, the change detection unit 401 cancels the flag setting in the first storage unit 421-1.

以上に説明した制御パラメータ設定装置500による制御パラメータ設定方法によれば、まず、制御パラメータが変更されると、変更された制御パラメータが用いられる制御処理部(制御プログラム)は動作停止対象となるが、他の制御処理部は動作停止対象とならない。このように、実施の形態5においても、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになる。また、動作が停止されてから動作が再開されるまでの動作停止期間は、設定変更をしている間ではなく、第1記憶部の制御パラメータが対応する第2記憶部にコピーされるまでの間となるので、非常に短い時間で終了する。   According to the control parameter setting method by the control parameter setting device 500 described above, first, when the control parameter is changed, the control processing unit (control program) in which the changed control parameter is used becomes the operation stop target. Other control processing units are not subject to operation stop. As described above, also in the fifth embodiment, the control parameter can be set without affecting the operation of the control processing unit without changing the control parameter. Further, the operation stop period from when the operation is stopped until the operation is restarted is not during the setting change, but until the control parameter of the first storage unit is copied to the corresponding second storage unit. Because it is between, it ends in a very short time.

また、実施の形態5では、整合確認部406を備えるようにしたので、例えば規格外の制御パラメータの設定が抑制できるようになり、動作開始時の異常動作を事前に確認できるようになる。この結果、制御パラメータの設定ミスなどが防げ、効率よく設定パラメータの変更,確認作業が行えるようになる。   In the fifth embodiment, since the matching confirmation unit 406 is provided, for example, setting of non-standard control parameters can be suppressed, and an abnormal operation at the start of operation can be confirmed in advance. As a result, mistakes in setting control parameters can be prevented, and setting parameters can be changed and confirmed efficiently.

以上に説明したように、本発明によれば、制御パラメータの設定変更は第1記憶部に対して行い、第1記憶部の制御パラメータをコピーした第2記憶部に記憶されている制御パラメータにより制御処理部が対象の制御を行うようにしたので、制御パラメータの変更を伴わない制御処理部の動作に影響を与えることなく、制御パラメータが設定できるようになるという優れた効果が得られる。   As described above, according to the present invention, the setting change of the control parameter is performed on the first storage unit, and the control parameter stored in the second storage unit copied from the control parameter of the first storage unit is used. Since the control processing unit controls the target, an excellent effect is obtained that the control parameter can be set without affecting the operation of the control processing unit without changing the control parameter.

なお、本発明は以上に説明した実施の形態に限定されるものではなく、本発明の技術的思想内で、当分野において通常の知識を有する者により、多くの変形および組み合わせが実施可能であることは明白である。例えば、制御パラメータ設定装置が、制御コントローラに含まれた構成としてもよい。   The present invention is not limited to the embodiment described above, and many modifications and combinations can be implemented by those having ordinary knowledge in the art within the technical idea of the present invention. It is obvious. For example, the control parameter setting device may be included in the control controller.

また、制御処理部および記憶部の数は、上述した実施の形態に示した数に限るものではなく、制御処理部は5個以上あってもよく、第1記憶部および第2記憶部の組は、3組以上あってもよい。   Further, the number of control processing units and storage units is not limited to the number shown in the above-described embodiment, and there may be five or more control processing units, and a set of the first storage unit and the second storage unit. There may be three or more sets.

100…制御パラメータ設定装置、101…変更検出部、102…動作停止制御部、103…コピー制御部、104…動作再開制御部、105…入力部、120…制御コントローラ、121−1,121−2…第1記憶部、122−1,122−2…第2記憶部、123−1,123−2…制御処理部。   DESCRIPTION OF SYMBOLS 100 ... Control parameter setting apparatus 101 ... Change detection part 102 ... Operation stop control part 103 ... Copy control part 104 ... Operation restart control part 105 ... Input part 120 ... Control controller 121-1, 121-2 ... 1st memory | storage part, 122-1, 122-2 ... 2nd memory | storage part, 123-1, 123-2 ... Control processing part.

Claims (7)

制御パラメータを用いて制御対象の制御を行う複数の制御処理部の各々に対応して設けられ、前記制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部に記憶されている制御パラメータの変更を検出する変更検出ステップと、
制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止ステップと、
制御処理部の動作が停止された後、複数の前記第1記憶部の各々に対応して設けられ、前記制御処理部に出力されて前記制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部の中の、変更を検出した前記第1記憶部に対応する第2記憶部に、変更を検出した前記第1記憶部に記憶されている制御パラメータをコピーするコピーステップと、
前記第2記憶部に対する制御パラメータのコピーが終了した後、停止された前記制御処理部の動作を再開する動作再開ステップと
を少なくとも備えることを特徴とする制御パラメータ設定方法。
Control parameters are provided corresponding to each of a plurality of control processing units that perform control of a control target, and are stored in a plurality of first storage units that store control parameters used in the control processing unit control. A change detection step for detecting a change in the control parameter;
An operation stop step of stopping the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter;
After the operation of the control processing unit is stopped, a control parameter is provided corresponding to each of the plurality of first storage units and output to the control processing unit and used for control of the control processing unit is stored. A copy step of copying a control parameter stored in the first storage unit in which the change is detected to a second storage unit corresponding to the first storage unit in which the change has been detected among a plurality of second storage units When,
A control parameter setting method comprising: an operation resumption step of resuming operation of the stopped control processing unit after copying of control parameters to the second storage unit is completed.
請求項1記載の制御パラメータ設定方法において、
制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認ステップを備え、
前記動作停止ステップは、前記整合性が確認された後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する
ことを特徴とする制御パラメータ設定方法。
The control parameter setting method according to claim 1,
A consistency confirmation step for confirming consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected;
The operation stop step stops the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter after the consistency is confirmed.
制御パラメータを用いて制御対象の制御を行う複数の制御処理部の各々に対応して設けられ、前記制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部に記憶されている制御パラメータの変更を検出する変更検出部と、
前記変更検出部が制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止制御部と、
前記動作停止制御部により制御処理部の動作が停止された後、複数の前記第1記憶部の各々に対応して設けられ、前記制御処理部に出力されて前記制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部の中の、変更を検出した前記第1記憶部に対応する第2記憶部に、変更を検出した前記第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、
前記コピー制御部による前記第2記憶部に対する制御パラメータのコピーが終了した後、停止された前記制御処理部の動作を再開する動作再開制御部と
を少なくとも備えることを特徴とする制御パラメータ設定装置。
Control parameters are provided corresponding to each of a plurality of control processing units that perform control of a control target, and are stored in a plurality of first storage units that store control parameters used in the control processing unit control. A change detection unit for detecting a change in the control parameter,
An operation stop control unit for stopping the operation of the control processing unit corresponding to the first storage unit in which the change detection unit has detected a change in the control parameter;
After the operation of the control processing unit is stopped by the operation stop control unit, the control processing unit is provided corresponding to each of the plurality of first storage units, and is output to the control processing unit and used for control of the control processing unit. Control stored in the first storage unit that has detected the change in the second storage unit corresponding to the first storage unit that has detected the change among the plurality of second storage units in which the control parameters are stored. A copy control unit for copying parameters;
An operation resumption control unit that resumes the operation of the stopped control processing unit after the copy control unit has finished copying the control parameter to the second storage unit.
請求項3記載の制御パラメータ設定装置において、
前記変更検出部により制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認部を備え、
前記動作停止制御部は、前記整合確認部が前記整合性を確認した後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する
ことを特徴とする制御パラメータ設定装置。
In the control parameter setting device according to claim 3,
A consistency confirmation unit for confirming the consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected by the change detection unit;
The operation stop control unit stops the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter after the consistency confirmation unit confirms the consistency. apparatus.
制御パラメータを用いて制御対象の制御を行う複数の制御処理部と、
複数の前記制御処理部の各々に対応して設けられ、前記制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部と、
複数の前記第1記憶部の各々に対応して設けられ、前記制御処理部に出力されて前記制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部と、
前記第1記憶部に記憶されている制御パラメータの変更を検出する変更検出部と、
制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する動作停止制御部と、
前記動作停止制御部により制御処理部の動作が停止された後、複数の前記第2記憶部の中の、変更を検出した前記第1記憶部に対応する第2記憶部に、変更を検出した前記第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、
前記第2記憶部に対する制御パラメータのコピーが終了した後、停止された前記制御処理部の動作を再開する動作再開制御部と
を少なくとも備えることを特徴とする制御システム。
A plurality of control processing units that perform control of a control target using control parameters;
A plurality of first storage units provided corresponding to each of the plurality of control processing units and storing control parameters used in the control of the control processing units;
A plurality of second storage units that are provided corresponding to each of the plurality of first storage units and that are output to the control processing unit and used to control the control processing unit;
A change detection unit for detecting a change in the control parameter stored in the first storage unit;
An operation stop control unit that stops the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter;
After the operation of the control processing unit is stopped by the operation stop control unit, a change is detected in the second storage unit corresponding to the first storage unit that has detected the change among the plurality of second storage units. A copy control unit for copying the control parameter stored in the first storage unit;
An operation resumption control unit that resumes the operation of the stopped control processing unit after the copy of the control parameter to the second storage unit is completed.
制御パラメータを用いて制御対象の制御を行う複数の制御処理部と、
複数の前記制御処理部の各々に対応して設けられ、前記制御処理部の制御で用いられる制御パラメータが記憶される複数の第1記憶部と、
複数の前記第1記憶部の各々に対応して設けられ、前記制御処理部に出力されて前記制御処理部の制御に用いられる制御パラメータが記憶されている複数の第2記憶部と、
前記第1記憶部に記憶されている制御パラメータの変更を検出して変更されたことを示すフラグを該当する前記第1記憶部に設定する変更検出部と、
前記変更検出部が前記第1記憶部に記憶されている制御パラメータの変更を検出したことにより、複数の前記制御処理部に対して動作の停止を指示する動作停止制御部と、
前記動作停止制御部により制御処理部の動作が停止された後、複数の前記第2記憶部の中の、フラグが設定されている前記第1記憶部に対応する第2記憶部に、フラグが設定されている前記第1記憶部に記憶されている制御パラメータをコピーするコピー制御部と、
前記第2記憶部に対する制御パラメータのコピーが終了した後、複数の前記制御処理部に対して動作の再開を指示する動作再開制御部と
を少なくとも備え、
前記制御処理部は、対応する前記第1記憶部に前記フラグが設定されている場合に、前記動作停止制御部からの動作の停止指示を受け付けて動作を停止し、前記動作再開制御部からの動作の再開指示を受け付けて動作再開することを特徴とする制御システム。
A plurality of control processing units that perform control of a control target using control parameters;
A plurality of first storage units provided corresponding to each of the plurality of control processing units and storing control parameters used in the control of the control processing units;
A plurality of second storage units that are provided corresponding to each of the plurality of first storage units and that are output to the control processing unit and used to control the control processing unit;
A change detection unit that detects a change in the control parameter stored in the first storage unit and sets a flag indicating the change in the corresponding first storage unit;
An operation stop control unit for instructing a plurality of control processing units to stop operation by detecting the change of the control parameter stored in the first storage unit;
After the operation of the control processing unit is stopped by the operation stop control unit, a flag is stored in the second storage unit corresponding to the first storage unit in which the flag is set, among the plurality of second storage units. A copy control unit for copying the control parameters stored in the set first storage unit;
An operation resumption control unit that instructs the plurality of control processing units to resume operation after copying of control parameters to the second storage unit is completed;
The control processing unit, when the flag is set in the corresponding first storage unit, receives an operation stop instruction from the operation stop control unit, stops the operation, and from the operation restart control unit A control system characterized by accepting an operation resumption instruction and resuming the operation.
請求項5または6記載の制御システムにおいて、
前記変更検出部により制御パラメータの変更が検出された第1記憶部に記憶されている制御パラメータの整合性を確認する整合確認部を備え、
前記動作停止制御部は、前記整合確認部が前記整合性を確認した後、制御パラメータの変更を検出した第1記憶部に対応する制御処理部の動作を停止する
ことを特徴とする制御システム。
The control system according to claim 5 or 6,
A consistency confirmation unit for confirming the consistency of the control parameter stored in the first storage unit in which the change of the control parameter is detected by the change detection unit;
The operation stop control unit stops the operation of the control processing unit corresponding to the first storage unit that has detected the change of the control parameter after the consistency confirmation unit confirms the consistency.
JP2012233535A 2012-10-23 2012-10-23 Control parameter setting method, apparatus and control system Active JP5973868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012233535A JP5973868B2 (en) 2012-10-23 2012-10-23 Control parameter setting method, apparatus and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012233535A JP5973868B2 (en) 2012-10-23 2012-10-23 Control parameter setting method, apparatus and control system

Publications (2)

Publication Number Publication Date
JP2014085785A true JP2014085785A (en) 2014-05-12
JP5973868B2 JP5973868B2 (en) 2016-08-23

Family

ID=50788804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012233535A Active JP5973868B2 (en) 2012-10-23 2012-10-23 Control parameter setting method, apparatus and control system

Country Status (1)

Country Link
JP (1) JP5973868B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202101A (en) * 2000-01-18 2001-07-27 Toshiba Corp Duplex control system and program maintenance method for the system
JP2009301392A (en) * 2008-06-16 2009-12-24 Yamatake Corp Method and device for adjusting pid parameter
JP2011186866A (en) * 2010-03-10 2011-09-22 Hitachi Ltd Plant monitor and control device, and maintenance support method thereof
JP2011215822A (en) * 2010-03-31 2011-10-27 Keyence Corp Programmable controller, setting value change system, arithmetic display device and setting value change unit
JP2012128571A (en) * 2010-12-14 2012-07-05 Canon Inc Information processing apparatus and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202101A (en) * 2000-01-18 2001-07-27 Toshiba Corp Duplex control system and program maintenance method for the system
JP2009301392A (en) * 2008-06-16 2009-12-24 Yamatake Corp Method and device for adjusting pid parameter
JP2011186866A (en) * 2010-03-10 2011-09-22 Hitachi Ltd Plant monitor and control device, and maintenance support method thereof
JP2011215822A (en) * 2010-03-31 2011-10-27 Keyence Corp Programmable controller, setting value change system, arithmetic display device and setting value change unit
JP2012128571A (en) * 2010-12-14 2012-07-05 Canon Inc Information processing apparatus and control method thereof

Also Published As

Publication number Publication date
JP5973868B2 (en) 2016-08-23

Similar Documents

Publication Publication Date Title
US10113764B2 (en) Air-conditioning management system
JP5684950B2 (en) Data collection system and data collection system program
JP5973868B2 (en) Control parameter setting method, apparatus and control system
JP6964681B2 (en) Update system and update device
US10528015B2 (en) Building automation system controller with real time software configuration and database backup
JP2007272383A (en) Process control system
JP6396084B2 (en) Engineering apparatus, engineering system, and download processing method
JP6248682B2 (en) Information processing apparatus, BIOS update method, and BIOS update program
JP2009026182A (en) Program execution system and execution device
WO2013161085A1 (en) Machine control system, motion controller, and connection device
JP7172575B2 (en) Robot management system
JP2007241570A (en) Setting system of shared memory for communication between programmable controller
JP5797247B2 (en) Air conditioning management system, sub air conditioning management device and program
JP2019040550A (en) Device and method for converting control programs
JP6176206B2 (en) Programmable logic controller
JP2005107776A (en) Duplicated controller system and method therefor
JPWO2019207679A1 (en) Monitor support device, monitor support method, and monitor support program
JP2008118518A (en) Plant monitoring controller
JP2007137654A (en) Control system for elevator
JP2013138527A (en) Linked display system
JP2007183804A (en) Console, operation management device, simultaneous operation management system, simultaneous operation method of a plurality of devices, and program
JP2005274092A (en) Control device for air conditioner
JP2009129041A (en) Trend monitoring system, trend monitoring device, and trend monitoring method
WO2019026968A1 (en) Message input/output device, method, and recording medium
JP2011024289A (en) Power system monitoring control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160706

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: 20160712

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160715

R150 Certificate of patent or registration of utility model

Ref document number: 5973868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150