JP2008310640A - Control device and control program switching method - Google Patents

Control device and control program switching method Download PDF

Info

Publication number
JP2008310640A
JP2008310640A JP2007158633A JP2007158633A JP2008310640A JP 2008310640 A JP2008310640 A JP 2008310640A JP 2007158633 A JP2007158633 A JP 2007158633A JP 2007158633 A JP2007158633 A JP 2007158633A JP 2008310640 A JP2008310640 A JP 2008310640A
Authority
JP
Japan
Prior art keywords
control program
control
stored
change
changed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007158633A
Other languages
Japanese (ja)
Inventor
Michiaki Majima
道明 真島
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007158633A priority Critical patent/JP2008310640A/en
Publication of JP2008310640A publication Critical patent/JP2008310640A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make a user check whether a control device incorporating a changed control program normally operates an apparatus or not without using any simulation program when a control program is changed. <P>SOLUTION: The control device is provided with a test execution means 11b executing the changed control program received from a maintenance device 2 while prohibiting output to the apparatus 3 when a request for test execution is made from the maintenance device 2, and a control program switching means 11c switching the control program to the changed control program for executing the changed control program as the control program when change of the control program is required by the maintenance device 2. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、プラントに影響を与えることなく、変更後の動作確認を行うことができる制御装置及び制御プログラム切り替え方法に関する。   The present invention relates to a control device and a control program switching method capable of performing an operation check after change without affecting a plant.

プラントを制御する一般的な制御装置において、制御装置の提供者はプラントを安定かつ安全に制御するための各種機器の起動、停止信号等からなる制御回路を制御プログラムとして制御装置に組み込み、プラント操業者へ提供する。   In a general control device for controlling a plant, the control device provider incorporates a control circuit including start and stop signals for various devices for controlling the plant stably and safely into the control device as a control program, and operates the plant. To provide

しかし、制御装置提供後に、提供者又はプラント操業者等の利用者は、運転条件の変更等何らかの理由により、組み込まれた制御プログラムを変更する場合がある。このような場合、利用者は保守装置を用いて制御プログラムの変更を行い、変更後の制御プログラムを制御装置にダウンロードさせて制御装置へ組み込んでいた。   However, after providing the control device, a provider or a user such as a plant operator may change the incorporated control program for some reason, such as a change in operating conditions. In such a case, the user changes the control program using the maintenance device, downloads the changed control program to the control device, and incorporates the control program into the control device.

図9は、従来の保守装置を用いて制御プログラムを制御装置へ組み込む手順を説明した模式図である。   FIG. 9 is a schematic diagram illustrating a procedure for incorporating a control program into a control device using a conventional maintenance device.

図9に示すように、従来は、制御装置101に保守装置102を制御LAN103を介して接続し、保守装置102によって変更された変更後制御プログラムを制御装置101にダウンロードすることにより、変更後制御プログラムを制御装置101に組み込んでいた。   As shown in FIG. 9, conventionally, the control device 101 is connected to the maintenance device 102 via the control LAN 103 and the changed control program changed by the maintenance device 102 is downloaded to the control device 101. The program was incorporated in the control device 101.

例えば、利用者が、保守装置102上で制御プログラム104の一部を変更(ADD命令をDIV命令へ修正)する場合、保守装置102は変更後制御プログラムを保守装置102内に記憶し、コンパイル後に変更後制御プログラムを制御装置101へダウンロードする。そして、制御装置101は、ダウンロードされた変更後制御プログラムを実行する。   For example, when the user changes a part of the control program 104 on the maintenance device 102 (ADD command is modified to DIV command), the maintenance device 102 stores the changed control program in the maintenance device 102 and after compilation The changed control program is downloaded to the control device 101. Then, the control device 101 executes the downloaded post-change control program.

しかし、図9に示すように、プラントのセンサからの入力変数Aの値が“0”であると、変更後制御プログラムの実行結果としてゼロ割が生じ、出力変数Zの値が無限大になる等プラント機器へ異常値が出力される場合がある。これにより、プラントが緊急停止してしまう等重大な影響が出る場合もあった。   However, as shown in FIG. 9, when the value of the input variable A from the sensor of the plant is “0”, a zero division occurs as a result of executing the control program after the change, and the value of the output variable Z becomes infinite. An abnormal value may be output to plant equipment. As a result, there was a case where a serious influence such as an emergency stop of the plant occurred.

そこで、このような異常値が出力された場合、保守装置102で変更後制御プログラムをUndoなどにより変更前の制御プログラムに戻し、変更前の制御プログラムを保守装置102から再度ダウンロードを行うことが考えられる。   Therefore, when such an abnormal value is output, the maintenance device 102 may return the changed control program to the control program before the change by using Undo or the like, and download the control program before the change from the maintenance device 102 again. It is done.

しかしながら、このように再ダウンロードする場合、保守装置102は再度制御プログラムの保存・コンパイル・ダウンロードを行う必要があり、制御装置101を変更前の状態に復旧するためには相当の時間を要していた。   However, when re-downloading in this way, the maintenance device 102 needs to save, compile, and download the control program again, and it takes a considerable amount of time to restore the control device 101 to the state before the change. It was.

そこで、例えば、入力模擬信号を生成するシミュレータを備えたオフラインシステムを用いて、利用者が変更後制御プログラムが正常に動作することを事前に確認した後、実機の制御装置101に変更後制御プログラムをダウンロードすることが考えられる。   Therefore, for example, after the user confirms in advance that the changed control program operates normally using an offline system including a simulator that generates an input simulation signal, the changed control program is stored in the actual control device 101. Can be downloaded.

図10は、変更後制御プログラムが組み込まれた制御装置が正常に動作するか否かを事前確認するためのオフラインシステムの概要を説明した模式図である。   FIG. 10 is a schematic diagram illustrating an outline of an offline system for confirming in advance whether or not the control device in which the control program after change is installed normally operates.

図10に示すように、従来技術のオフラインシステム110は制御プログラムを実行する制御プログラム実行部111と、プラント機器を模擬するシミュレーション実行部112と、シミュレーション実行部112及び制御プログラム実行部111とで用いられる入出力データを記憶するシミュレーションデータ記憶部113とを備えている。   As shown in FIG. 10, the offline system 110 of the prior art is used in a control program execution unit 111 that executes a control program, a simulation execution unit 112 that simulates plant equipment, a simulation execution unit 112, and a control program execution unit 111. And a simulation data storage unit 113 for storing input / output data.

シミュレーション実行部112は、シミュレーションプログラムを実行することによって、シミュレーションデータ記憶部113に記憶された出力信号に基づいて、プラントをシミュレートする。そして、シミュレーション実行部112は、シミュレーションプログラムの実行結果として入力信号を生成し、シミュレーションデータ記憶部113へ記憶させる。   The simulation execution unit 112 simulates the plant based on the output signal stored in the simulation data storage unit 113 by executing a simulation program. Then, the simulation execution unit 112 generates an input signal as the execution result of the simulation program and stores it in the simulation data storage unit 113.

制御プログラム実行部111は、シミュレーションデータ記憶部113に記憶された入力信号に基づいて、制御プログラムを実行する。そして、制御プログラムの実行結果として出力信号を生成し、シミュレーションデータ記憶部113に記憶させる。   The control program execution unit 111 executes the control program based on the input signal stored in the simulation data storage unit 113. Then, an output signal is generated as an execution result of the control program and stored in the simulation data storage unit 113.

そして、利用者は、制御プログラム実行部111の実行結果を確認した後、実機の制御装置101に変更後制御プログラムを反映させる。   Then, after confirming the execution result of the control program execution unit 111, the user reflects the changed control program in the actual control device 101.

しかしながら、上記のような入力信号を生成させるためのシミュレーションプログラムを作成するためには、利用者は、通常運転時及び予想外の事象発生時における全てのプラント機器の応答特性などを想定して作成する必要があり、これには多大なノウハウが必要になっていた。そのため、利用者がこのようなシミュレーションプログラムを作成するのは非常に困難であった。   However, in order to create a simulation program for generating the input signal as described above, the user assumes the response characteristics of all plant equipment during normal operation and when an unexpected event occurs. This required a great deal of know-how. Therefore, it has been very difficult for a user to create such a simulation program.

また、特許文献1には、ソフトウェアプログラムの動作異常時を検出し、検出したときに異常時処理プログラムを起動し、異常の種類と異常時の処理を記憶する数値制御装置が提案されている。
特開平5−197408号公報
Further, Patent Document 1 proposes a numerical control device that detects when an operation abnormality of a software program is detected, starts an abnormality processing program when the software program is detected, and stores the type of abnormality and processing at the time of abnormality.
JP-A-5-197408

しかしながら、特許文献1に記載の数値制御装置をプラントの制御装置に適用したとしても、ソフトウェアプログラム(制御プログラム)の異常が発生した場合、異常時処理プログラムを起動し、異常の種類と異常時の処理を記憶するが、制御装置を復旧するためには、再度ソフトウェアプログラムの保存・コンパイル・ダウンロードを行う必要があった。また、制御装置から異常値が出力されることによりプラントが緊急停止してしまう等重大な影響が出る場合もあった。   However, even if the numerical control device described in Patent Document 1 is applied to a plant control device, if an abnormality occurs in the software program (control program), the abnormality processing program is started, and the type of abnormality and the abnormality Although the process is stored, it is necessary to save, compile, and download the software program again in order to restore the control device. In addition, an abnormal value may be output from the control device, resulting in a serious influence such as an emergency stop of the plant.

本発明は、上記課題に鑑みてなされたものであり、シミュレーションプログラムを用いることなく、利用者によって正常に動作することが確認された変更後制御プログラムを制御プログラムに替えて組み込むことができる制御装置及び制御プログラム切り替え方法を提供することを目的とする。   The present invention has been made in view of the above-described problems, and a control device that can incorporate a control program after change, which has been confirmed to operate normally by a user, without using a simulation program, in place of the control program. It is another object of the present invention to provide a control program switching method.

上記目的を達成するため、本発明に係る制御装置の第1の特徴は、制御プログラムを実行することによって機器の制御を行うと共に、接続された保守装置から制御プログラムに基づいて生成された変更後制御プログラムを受信し、受信した変更後制御プログラムと制御プログラムとを切り替える制御装置であって、保守装置からテスト実行が要求された場合に、保守装置から受信した変更後制御プログラムを機器への出力を禁止しつつ実行するテスト実行手段と、保守装置から制御プログラムの切り替えが要求された場合に、変更後制御プログラムを制御プログラムとして実行するために、変更後制御プログラムと制御プログラムとを切り替える制御プログラム切り替え手段とを備えたことにある。   In order to achieve the above object, the first feature of the control device according to the present invention is that the device is controlled by executing the control program, and after the change generated based on the control program from the connected maintenance device A control device that receives a control program and switches between the received modified control program and the control program, and outputs the modified control program received from the maintenance device to equipment when a test execution is requested from the maintenance device Test execution means for executing the control program, and a control program for switching the control program after the change and the control program in order to execute the control program after the change as a control program when the maintenance device requests the switching of the control program And switching means.

上記目的を達成するため、本発明に係る制御装置の第2の特徴は、制御プログラムと変更後制御プログラムとを少なくとも記憶する制御プログラム記憶手段と、制御プログラム記憶手段に記憶された制御プログラムのアドレスをオフセット領域に記憶すると共に、少なくとも変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、保守装置によりテスト実行が要求された場合に、保守装置から変更後制御プログラムを受信し、受信した変更後制御プログラムの出力命令を機器へ出力しないように変更し、この変更後のプログラムを出力変更後制御プログラムとして制御プログラム記憶手段に記憶させると共に、記憶させた該出力変更後制御プログラムのアドレスを制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを更に備え、テスト実行手段は、記憶制御手段によりテストオフセット記憶領域に記憶されたアドレスに基づいて、制御プログラム記憶手段に記憶された出力変更後制御プログラムを新たな変更後制御プログラムとして実行し、制御プログラム切り替え手段は、保守装置により制御プログラムの切り替えが要求された場合に、保守装置から再度、変更後制御プログラムを受信し、記憶制御手段により記憶された出力変更後制御プログラムをこの再度受信した変更後制御プログラムで上書きさせると共に、この上書きした変更後制御プログラムを制御プログラムとして切替えて実行するためにオフセット記憶領域に記憶されたアドレスを記憶制御手段によってテストオフセット記憶領域に記憶されたアドレスで上書きさせることにある。   In order to achieve the above object, a second feature of the control device according to the present invention is that control program storage means for storing at least a control program and a changed control program, and an address of the control program stored in the control program storage means Is stored in the offset area, and at least the address of the changed control program is stored in the test offset area, and when the maintenance device requests a test execution, the maintenance device sends the changed control program. Receive and change the output instruction of the received changed control program so that it is not output to the device, and store the changed program in the control program storage means as the output changed control program, and store the changed output The control program management information is recorded in the control program address. Storage control means for storing in the test offset storage area of the means, the test execution means after the output change stored in the control program storage means based on the address stored in the test offset storage area by the storage control means The control program is executed as a new changed control program, and the control program switching means receives the changed control program again from the maintenance apparatus when the maintenance apparatus requests switching of the control program, and the storage control means The stored control program after changing the output is overwritten by the received control program after the change again, and the address stored in the offset storage area is stored and controlled so that the overwritten control program after the change is switched as the control program and executed. Test offset by means It is to be overwritten with the address stored in the area.

上記目的を達成するため、本発明に係る制御装置の第3の特徴は、制御プログラムと変更後制御プログラムとを少なくとも記憶する制御プログラム記憶手段と、制御プログラム記憶手段に記憶された制御プログラムのアドレスをオフセット領域に記憶すると共に、少なくとも変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、保守装置によりテスト実行が要求された場合に、保守装置から受信した変更後制御プログラムを制御プログラム記憶手段に記憶させると共に、受信した変更後制御プログラムの出力命令を機器へ出力しないように変更し、この変更後のプログラムを出力変更後制御プログラムとして新たに制御プログラム記憶手段に記憶させ、この記憶させた該出力変更後制御プログラムのアドレスを制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを更に備え、テスト実行手段は、記憶制御手段によりテストオフセット記憶領域に記憶されたアドレスに基づいて、制御プログラム記憶手段に記憶された出力変更後制御プログラムを新たな変更後制御プログラムとして実行し、制御プログラム切り替え手段は、保守装置により制御プログラムの切り替えが要求された場合に、記憶制御手段により記憶された出力変更後制御プログラムを記憶制御手段により記憶された変更後制御プログラムで上書きさせると共に、この上書きした変更後制御プログラムを制御プログラムとして実行するためにオフセット記憶領域に記憶されたアドレスを記憶制御手段によってテストオフセット記憶領域に記憶されたアドレスで上書きさせることにある。   In order to achieve the above object, a third feature of the control device according to the present invention is that control program storage means for storing at least a control program and a changed control program, and an address of the control program stored in the control program storage means Is stored in the offset area, and at least the address of the control program after change is stored in the test offset area, and the control after change received from the maintenance apparatus when a test execution is requested by the maintenance apparatus The program is stored in the control program storage means, and the received output instruction of the changed control program is changed so as not to be output to the device, and the changed program is newly stored in the control program storage means as the output change control program. The stored control program after the output change is stored. Storage control means for storing the address of the program in the test offset storage area of the control program management information storage means, the test execution means based on the address stored in the test offset storage area by the storage control means The control program after output change stored in the storage means is executed as a new control program after change, and the control program switching means outputs the output stored by the storage control means when the maintenance device requests switching of the control program. The changed control program is overwritten by the changed control program stored by the storage control means, and the address stored in the offset storage area is tested by the storage control means in order to execute the overwritten changed control program as the control program. Offset It is to be overwritten with the address stored in the area.

上記目的を達成するため、本発明に係る制御装置の第4の特徴は、制御プログラムと変更後制御プログラムとを記憶する制御プログラム記憶手段と、制御プログラム記憶手段に記憶された制御プログラムのアドレスをオフセット領域に記憶すると共に、変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、保守装置によりテスト実行が要求された場合に、変更後制御プログラムを受信し、この受信した変更後制御プログラムを制御プログラム記憶手段に記憶させると共に、記憶させた変更後制御プログラムのアドレスを制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを備え、テスト実行手段は、記憶制御手段によりテストオフセット記憶領域に記憶されたアドレスに基づいて、前記制御プログラム記憶手段に記憶された変更後制御プログラムを機器へ出力しないように切り離して実行し、制御プログラム切り替え手段は、保守装置により制御プログラムの切り替えが要求された場合に、制御プログラム記憶手段に記憶された変更後制御プログラムを制御プログラムとして実行するために、オフセット記憶領域に記憶されたアドレスとテストオフセット記憶領域に記憶されたアドレスとを入れ替えることにある。   In order to achieve the above object, a fourth feature of the control device according to the present invention is that control program storage means for storing the control program and the changed control program, and the address of the control program stored in the control program storage means are stored. Control program management information storage means for storing the address of the changed control program in the test offset area as well as storing in the offset area, and receiving the changed control program when a test execution is requested by the maintenance device. Storage control means for storing the changed control program in the control program storage means and storing the address of the stored changed control program in the test offset storage area of the control program management information storage means, the test execution means , To the test offset storage area by storage control means Based on the stored address, the changed control program stored in the control program storage means is separated and executed so as not to be output to the device. The control program switching means is requested to switch the control program by the maintenance device. In this case, in order to execute the changed control program stored in the control program storage means as the control program, the address stored in the offset storage area and the address stored in the test offset storage area are exchanged.

上記目的を達成するため、本発明に係る制御プログラム切り替え方法の第1の特徴は、制御プログラムを実行することによって機器の制御を行う制御装置に接続された保守装置から、制御プログラムに基づいて生成された変更後制御プログラムを受信し、受信した変更後制御プログラムと制御プログラムとを切り替える制御プログラム切り替え方法であって、保守装置からテスト実行が要求された場合に、保守装置から受信した変更後制御プログラムを機器への出力を禁止しつつ実行するテスト実行ステップと、保守装置から制御プログラムの切り替えが要求された場合に、変更後制御プログラムを制御プログラムとして実行するために、変更後制御プログラムと前記制御プログラムとを切り替える制御プログラム切り替えステップとを有することにある。   In order to achieve the above object, a first feature of the control program switching method according to the present invention is generated based on a control program from a maintenance device connected to a control device that controls the device by executing the control program. Is a control program switching method for switching a received control program after change and switching between the received control program after change and the control program, and the control after change received from the maintenance device when a test execution is requested from the maintenance device. A test execution step for executing the program while prohibiting output to the device, and a control program after change to execute the control program after change as a control program when switching of the control program is requested from the maintenance device; A control program switching step for switching between control programs Lies in the fact.

本発明に係る制御装置及び制御プログラム切り替え方法によれば、シミュレーションプログラムを用いることなく、利用者によって正常に動作することが確認された変更後制御プログラムを制御プログラムに替えて制御装置に組み込むことができる。   According to the control device and the control program switching method according to the present invention, it is possible to incorporate the control program after change confirmed to operate normally by the user into the control device instead of the control program without using the simulation program. it can.

以下、本発明を実施するための最良の形態について図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

<第1の実施形態>
図1は、本発明の第1の実施形態である制御装置1を適用した制御システム10の構成を示した構成図である。
<First Embodiment>
FIG. 1 is a configuration diagram showing a configuration of a control system 10 to which the control device 1 according to the first embodiment of the present invention is applied.

図1に示すように、制御システム10はプラント機器3と接続されており、プラント機器3は制御システム10からの制御信号に基づいて制御されると共に、センサ等によりプラント機器の状態信号等を制御システム10へ送信する。   As shown in FIG. 1, the control system 10 is connected to the plant equipment 3, and the plant equipment 3 is controlled based on a control signal from the control system 10, and controls the status signal of the plant equipment by a sensor or the like. Send to system 10.

また、制御システム10は、制御装置1及び保守装置2とを備えており、これら制御装置1と保守装置2とは、ネットワーク4を介して接続されている。   The control system 10 includes a control device 1 and a maintenance device 2, and the control device 1 and the maintenance device 2 are connected via a network 4.

制御装置1は、装置全体の制御中枢となるCPU11と、CPU11が実行するオペレーションシステムや保守制御プログラム等を記憶するプログラム記憶部12と、制御装置1を動作させるために必要な各種データを記憶するデータメモリ13とを備え、これらCPU11、プログラム記憶部12及びデータメモリ13はバス14を介して接続されている。また、このバス14には、更にプラント機器3と接続するための入出力インタフェース15と、保守装置2と接続するための通信インタフェース16とが接続されている。   The control device 1 stores a CPU 11 that is a control center of the entire device, a program storage unit 12 that stores an operation system, a maintenance control program, and the like executed by the CPU 11, and various data necessary for operating the control device 1. The CPU 11, the program storage unit 12, and the data memory 13 are connected via a bus 14. In addition, an input / output interface 15 for connecting to the plant equipment 3 and a communication interface 16 for connecting to the maintenance device 2 are connected to the bus 14.

プログラム記憶部12は、ハードディスク等で構成され、オペレーティングシステムなどのプログラムの他に、保守制御プログラムが記憶されている。   The program storage unit 12 is composed of a hard disk or the like, and stores a maintenance control program in addition to a program such as an operating system.

データメモリ13には、保守制御プログラムの他にCPU11が各種の処理を実行する上において必要なデータなども適宜記憶される。   In addition to the maintenance control program, the data memory 13 appropriately stores data necessary for the CPU 11 to execute various processes.

通信インタフェース16は、LANカードやシリアルポートなどの通信装置であり、この通信インタフェース16を介して保守装置2が接続される。   The communication interface 16 is a communication device such as a LAN card or a serial port, and the maintenance device 2 is connected via the communication interface 16.

また、CPU11には、制御プログラム管理情報記憶手段17と、制御プログラム記憶部18とがバス19を介して接続されている。   In addition, a control program management information storage unit 17 and a control program storage unit 18 are connected to the CPU 11 via a bus 19.

制御プログラム管理情報記憶部17は、オフセット記憶領域174とテストオフセット記憶領域175とを有している。そして、制御プログラム記憶部18に記憶された制御プログラムのアドレスをオフセット領域174に記憶すると共に、制御プログラムに基づいて変更された変更後制御プログラム、又は変更後制御プログラムに基づいて出力命令が変更された出力変更後制御プログラムのアドレスをテストオフセット領域175に記憶する。   The control program management information storage unit 17 has an offset storage area 174 and a test offset storage area 175. And the address of the control program memorize | stored in the control program memory | storage part 18 is memorize | stored in the offset area | region 174, and an output command is changed based on the control program after a change changed based on the control program, or a control program after a change The address of the control program after the output change is stored in the test offset area 175.

図2は、制御プログラム管理情報記憶部17に記憶された制御プログラム管理情報の一例を示した説明図である。   FIG. 2 is an explanatory diagram showing an example of the control program management information stored in the control program management information storage unit 17.

図2に示すように、制御プログラム管理情報は、「プログラムNO」(符号171)と、「登録フラグ」(符号172)と、「名称」(符号173)と、オフセット記憶領域に記憶する「オフセットアドレス」(符号174)と、テストオフセット記憶領域に記憶する「テストオフセットアドレス」(符号175)とが関連付けて記憶されている。   As shown in FIG. 2, the control program management information includes “program NO” (reference numeral 171), “registration flag” (reference numeral 172), “name” (reference numeral 173), and “offset” stored in the offset storage area. The “address” (reference numeral 174) and the “test offset address” (reference numeral 175) stored in the test offset storage area are stored in association with each other.

ここで、「プログラムNO」(符号171)は、N個まで管理されており、制御プログラムの実行される通し番号(1〜N)を示している。また、「登録フラグ」(符号172)は、制御プログラムが制御装置1に登録されているか否かを示しており、「名称」(符号173)は、保守装置2にて設定した制御プログラムの名称を示している。さらに、「オフセットアドレス」(符号174)は、制御プログラムの機械語が記憶された制御プログラム記憶部18のアドレスを示しており、「テストオフセットアドレス」(符号175)は、変更後制御プログラム又は出力変更後制御プログラムの機械語が記憶された制御プログラム記憶部18のアドレスを示している。なお、アドレスの値が、「FFFF」であれば、アドレスが記憶されていないことを示す。   Here, “program NO” (reference numeral 171) is managed up to N and indicates serial numbers (1 to N) in which the control program is executed. The “registration flag” (reference numeral 172) indicates whether or not the control program is registered in the control apparatus 1, and the “name” (reference numeral 173) is the name of the control program set by the maintenance apparatus 2. Is shown. Further, “offset address” (symbol 174) indicates the address of the control program storage unit 18 where the machine language of the control program is stored, and “test offset address” (symbol 175) indicates the control program or output after the change. The address of the control program storage unit 18 in which the machine language of the control program after change is stored is shown. If the value of the address is “FFFF”, it indicates that no address is stored.

制御プログラム記憶部18は、制御プログラムと変更後制御プログラム又は出力変更後制御プログラムとを記憶する。   The control program storage unit 18 stores the control program and the control program after change or the control program after output change.

図3は、制御プログラム記憶部18に記憶された制御プログラム、変更後制御プログラム、又は出力変更後制御プログラムの一例を示した説明図である。   FIG. 3 is an explanatory diagram showing an example of a control program, a changed control program, or an output changed control program stored in the control program storage unit 18.

図3に示すように、制御プログラム、変更後制御プログラム、又は出力変更後制御プログラムは、各種命令等が記述された「オペコード」(符号181)と、変数等が記述された「オペランド」(符号182)が関連付けて記憶されている。   As shown in FIG. 3, the control program, the control program after change, or the control program after output change includes an “opcode” (reference numeral 181) in which various instructions are described and an “operand” (reference numeral in which variables are described). 182) are stored in association with each other.

CPU11は、プログラム記憶部12に記憶されている保守制御プログラムを読み出し、読み出した保守制御プログラムを実行することによって記憶制御手段11aとテスト実行手段11bと制御プログラム切り替え手段11cとを実装する。   The CPU 11 reads the maintenance control program stored in the program storage unit 12, and implements the storage control means 11a, the test execution means 11b, and the control program switching means 11c by executing the read maintenance control program.

記憶制御手段11aは、保守装置2によりテスト実行が要求された場合に、保守装置2から変更後制御プログラムを受信し、受信した変更後制御プログラムの出力命令を機器へ出力しないように変更し、この変更後のプログラムを出力変更後制御プログラムとして制御プログラム記憶手段18に記憶させると共に、記憶させた出力変更後制御プログラムのアドレスを制御プログラム管理情報記憶手段17のテストオフセット記憶領域に記憶させる。   The storage control means 11a receives the changed control program from the maintenance device 2 when a test execution is requested by the maintenance device 2, and changes the received output instruction of the changed control program so as not to output to the device. The changed program is stored in the control program storage means 18 as a control program after output change, and the address of the stored control program after output change is stored in the test offset storage area of the control program management information storage means 17.

テスト実行手段11bは、記憶制御手段11aによりテストオフセット記憶領域に記憶されたアドレスに基づいて、制御プログラム記憶手段18に記憶された出力変更後制御プログラムを新たな変更後制御プログラムとして実行する。   The test execution unit 11b executes the output change control program stored in the control program storage unit 18 as a new post-change control program based on the address stored in the test offset storage area by the storage control unit 11a.

制御プログラム切り替え手段11cは、保守装置2により制御プログラムの切り替えが要求された場合に、保守装置2から再度、変更後制御プログラムを受信し、記憶制御手段11aによって記憶された出力変更後制御プログラムをこの受信した変更後制御プログラムで上書きさせると共に、この上書きした変更後制御プログラムを制御プログラムとして実行するためにオフセット記憶領域に記憶されたアドレスを記憶制御手段11aによってテストオフセット記憶領域に記憶されたアドレスで上書きさせる。   The control program switching unit 11c receives the changed control program from the maintenance device 2 again when the maintenance device 2 requests switching of the control program, and receives the output changed control program stored by the storage control unit 11a. The address stored in the test offset storage area by the storage control means 11a is overwritten by the received control program after change and the address stored in the offset storage area for executing the overwritten change control program as the control program. Overwrite with.

保守装置2は、制御装置1が実行する制御プログラムの保守用の端末であり、CPU21、メインメモリ22、記憶部23、及び通信インタフェース24を備え、各々はバス25を介して相互に接続されている。   The maintenance device 2 is a terminal for maintenance of a control program executed by the control device 1, and includes a CPU 21, a main memory 22, a storage unit 23, and a communication interface 24, which are connected to each other via a bus 25. Yes.

CPU21は、利用者の入力操作により制御プログラムの変更等やコンパイル等を行い、コンパイルした変更後制御プログラムを制御装置1へ送信する。   The CPU 21 changes the control program, compiles, and the like by a user input operation, and transmits the compiled control program after change to the control device 1.

メインメモリ22には、CPU21が各種の処理を実行する上において必要なデータなども適宜記憶される。   The main memory 22 appropriately stores data necessary for the CPU 21 to execute various processes.

記憶部23は、ハードディスク等で構成され、オペレーティングシステムなどのプログラムの他に、制御プログラム等が記憶されている。   The storage unit 23 is configured by a hard disk or the like, and stores a control program and the like in addition to a program such as an operating system.

通信インタフェース24は、LANカードやシリアルポートなどの通信装置であり、この通信インタフェース24を介して保守装置2が制御装置1に接続される。   The communication interface 24 is a communication device such as a LAN card or a serial port, and the maintenance device 2 is connected to the control device 1 via the communication interface 24.

<作用>
次に、本発明の第1の実施形態である制御装置1を適用した制御システム10の作用について説明する。
<Action>
Next, the operation of the control system 10 to which the control device 1 according to the first embodiment of the present invention is applied will be described.

図4は、制御システム10の保守装置2の処理手順を示したフローチャートである。   FIG. 4 is a flowchart showing a processing procedure of the maintenance device 2 of the control system 10.

まず、保守装置2のCPU21は、利用者の入力操作により制御プログラムのテスト実行が要求されると、(ステップS101)、テスト実行要求信号を通信インタフェース24を介して制御装置1に送信する。さらに、CPU21は、記憶部23に記憶された制御プログラムを読み出し、読み出した制御プログラムを新たな制御プログラムとして生成し、記憶部23に記憶する(ステップS102)。   First, when the CPU 21 of the maintenance device 2 is requested to execute a test of the control program by a user input operation (step S101), the CPU 21 transmits a test execution request signal to the control device 1 via the communication interface 24. Furthermore, the CPU 21 reads out the control program stored in the storage unit 23, generates the read control program as a new control program, and stores it in the storage unit 23 (step S102).

そして、利用者の入力操作により、CPU21は、ステップS102において生成された新たな制御プログラムを記憶部23から読み出す。そして、利用者の入力操作により、読み出した制御プログラムが変更されると、CPU21は、この変更後制御プログラムを記憶部23に記憶すると共に、この変更後制御プログラムを通信インタフェース24を介して、制御装置1へ送信する(ステップS103)。   And CPU21 reads the new control program produced | generated in step S102 from the memory | storage part 23 by a user's input operation. When the read control program is changed by the input operation of the user, the CPU 21 stores the changed control program in the storage unit 23 and controls the changed control program via the communication interface 24. It transmits to the apparatus 1 (step S103).

次に、CPU21は、利用者の入力操作により制御プログラムの切り替えが要求されると(ステップS104)、切り替え要求信号を通信インタフェース24を介して、制御装置1へを送信する(ステップS105)。さらに、CPU21は、記憶部23に記憶された変更後制御プログラムを読み出し、読み出した変更後制御プログラムを通信インタフェース24を介して、制御装置1へ送信する(ステップS106)。   Next, when switching of the control program is requested by the user's input operation (step S104), the CPU 21 transmits a switching request signal to the control device 1 via the communication interface 24 (step S105). Furthermore, the CPU 21 reads the changed control program stored in the storage unit 23 and transmits the read changed control program to the control device 1 via the communication interface 24 (step S106).

そして、CPU21は、記憶部23に記憶されている変更前の制御プログラムをステップS106において送信した変更後制御プログラムで上書きする(ステップS107)。   Then, the CPU 21 overwrites the control program before change stored in the storage unit 23 with the control program after change transmitted in step S106 (step S107).

図5は、制御システム10の制御装置1の処理手順を示したフローチャートである。   FIG. 5 is a flowchart showing a processing procedure of the control device 1 of the control system 10.

制御装置1のCPU11の記憶制御手段11aは、保守装置2から要求信号を受信すると、受信した要求信号が書き換え要求信号かテスト実行要求信号かを判定する(ステップS201)。   When the storage control unit 11a of the CPU 11 of the control device 1 receives the request signal from the maintenance device 2, it determines whether the received request signal is a rewrite request signal or a test execution request signal (step S201).

そして、記憶制御手段11aは、受信した要求信号が書き換え要求信号である場合には、保守装置2から通信インタフェース16を介して制御プログラムを受信し、受信した制御プログラムを制御プログラム記憶部18に記憶させる(ステップS202)。さらに、記憶制御手段11aは、制御プログラム記憶部18に記憶させた制御プログラムのアドレスを制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶させる(ステップS203)。   When the received request signal is a rewrite request signal, the storage control unit 11a receives a control program from the maintenance device 2 via the communication interface 16, and stores the received control program in the control program storage unit 18. (Step S202). Further, the storage control unit 11a stores the address of the control program stored in the control program storage unit 18 in the offset storage area 174 of the control program management information storage unit 17 (step S203).

次に、CPU11は、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスに示される制御プログラム記憶部18に記憶された制御プログラムを実行する(ステップS204)。具体的には、CPU11は、制御プログラム管理情報のプログラムNO(符号171)の“1”から“N”までの登録フラグ(符号172)の値が“Yes”であるオフセットアドレス(符号174)を順に読み込み、読み込んだオフセットアドレス(符号174)に対応する制御プログラムを制御プログラム記憶部18から読み込み、実行する。   Next, the CPU 11 executes the control program stored in the control program storage unit 18 indicated by the address stored in the offset storage area 174 of the control program management information storage unit 17 (step S204). Specifically, the CPU 11 obtains an offset address (reference numeral 174) in which the value of the registration flag (reference numeral 172) from “1” to “N” in the program NO (reference numeral 171) of the control program management information is “Yes”. The control program corresponding to the read offset address (reference numeral 174) is read from the control program storage unit 18 and executed.

一方、ステップS201において、受信した要求信号がテスト実行要求信号であると判定された場合、記憶制御手段11aは、変更後制御プログラムを保守装置2から通信インタフェース16を介して受信する(ステップS205)。   On the other hand, if it is determined in step S201 that the received request signal is a test execution request signal, the storage control unit 11a receives the changed control program from the maintenance device 2 via the communication interface 16 (step S205). .

そして、記憶制御手段11aは、受信した変更後制御プログラムを制御プログラム記憶部18に記憶させると共に(ステップS206)、制御プログラム記憶部18に記憶させた変更後制御プログラムのアドレスを制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶させる(ステップS207)。   The storage control unit 11a stores the received changed control program in the control program storage unit 18 (step S206), and stores the address of the changed control program stored in the control program storage unit 18 in the control program management information storage. The data is stored in the test offset storage area 175 of the unit 17 (step S207).

次に、記憶制御手段11aは、変更後制御プログラムの出力命令をプラント機器3へ出力しないように変更する(ステップS208)。具体的には、記憶制御手段11aは、制御プログラム記憶部18に記憶させた変更後制御プログラムを読み出す。そして、プラント機器へ出力しないように、読み出した変更後制御プログラムに記述されたオペコード181のうち出力命令を“NOP”に変更し、出力変更後制御プログラムとして制御プログラム記憶部18に記憶させる。   Next, the storage control unit 11a changes so as not to output the output command of the changed control program to the plant equipment 3 (step S208). Specifically, the storage control unit 11 a reads out the changed control program stored in the control program storage unit 18. Then, the output command is changed to “NOP” in the operation code 181 described in the read control program after change so as not to output to the plant equipment, and is stored in the control program storage unit 18 as a control program after output change.

次に、CPU11は、変更前の制御プログラムを実行する(ステップS209)。具体的には、CPU11は、制御プログラム管理情報のプログラムNO(符号171)の“1”から“N”までの登録フラグ(符号172)の値が“Yes”であるオフセットアドレス(符号174)を順に読み込み、読み込んだオフセットアドレス(符号174)に対応する制御プログラムを制御プログラム記憶部18から読み込み、実行する。   Next, the CPU 11 executes the control program before the change (step S209). Specifically, the CPU 11 obtains an offset address (reference numeral 174) in which the value of the registration flag (reference numeral 172) from “1” to “N” in the program NO (reference numeral 171) of the control program management information is “Yes”. The control program corresponding to the read offset address (reference numeral 174) is read from the control program storage unit 18 and executed.

そして、CPU11のテスト実行手段11bは、制御プログラム管理情報記憶部17のテストオフセット記憶領域175にアドレスが記憶されている場合(ステップS210)、このテストオフセット記憶領域175に記憶されたアドレスが示す出力変更後制御プログラムを制御プログラム記憶部18から読み出し、実行する(ステップS211)。具体的には、CPU11のテスト実行手段11bは、制御プログラム管理情報記憶部17に記憶された制御プログラム管理情報のテストオフセットアドレス(符号175)の値を読み込み、この値が“FFFF”ではないテストオフセットアドレス(符号175)に対応する出力変更後制御プログラムを制御プログラム記憶部18から読み込み、実行する。   When the address is stored in the test offset storage area 175 of the control program management information storage unit 17 (step S210), the test execution unit 11b of the CPU 11 outputs the output indicated by the address stored in the test offset storage area 175. The changed control program is read from the control program storage unit 18 and executed (step S211). Specifically, the test execution unit 11b of the CPU 11 reads the value of the test offset address (reference numeral 175) of the control program management information stored in the control program management information storage unit 17, and this value is not “FFFF”. The control program after output change corresponding to the offset address (reference numeral 175) is read from the control program storage unit 18 and executed.

次に、CPU11の制御プログラム切り替え手段11cが、保守装置2から通信インタフェース16を介して切り替え要求信号を受信した場合(ステップS212)、記憶制御手段11aは、再度、変更後制御プログラムを保守装置2から通信インタフェース16を介して受信する(ステップS213)。   Next, when the control program switching unit 11c of the CPU 11 receives a switching request signal from the maintenance device 2 via the communication interface 16 (step S212), the storage control unit 11a again transmits the changed control program to the maintenance device 2. Is received via the communication interface 16 (step S213).

そして、制御プログラム切り替え手段11cは、ステップS208において制御プログラム記憶部18が記憶した出力変更後制御プログラムを、ステップS213において受信した変更後制御プログラムで上書きさせる(ステップS214)。さらに、制御プログラム切り替え手段11cは、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスを、テストオフセット記憶領域175に記憶されたアドレスで上書きさせる(ステップS215)。   Then, the control program switching unit 11c overwrites the post-change control program stored in the control program storage unit 18 in step S208 with the post-change control program received in step S213 (step S214). Further, the control program switching unit 11c overwrites the address stored in the offset storage area 174 of the control program management information storage unit 17 with the address stored in the test offset storage area 175 (step S215).

次に、制御プログラム切り替え手段11cは、制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶されたアドレスを削除させる(ステップS216)。   Next, the control program switching unit 11c deletes the address stored in the test offset storage area 175 of the control program management information storage unit 17 (step S216).

図6は、制御システム10の処理の一例を説明した模式図である。   FIG. 6 is a schematic diagram illustrating an example of processing of the control system 10.

図6に示すように、まず、保守装置2は、利用者の入力操作により制御プログラムのテスト実行が要求されると、記憶部23に記憶された変更前の制御プログラム26をコピーして新たな制御プログラムを生成する。   As shown in FIG. 6, first, when the maintenance device 2 is requested to execute a test of the control program by a user input operation, the maintenance device 2 copies the control program 26 before the change stored in the storage unit 23 to a new one. Generate a control program.

そして、利用者の入力操作により、生成された新たな制御プログラムが変更されて変更後制御プログラムが生成される。図6に示した例では、制御プログラム26の「ADD」命令が「DIV」命令に変更されて変更後制御プログラム27が生成される。保守装置2は、この変更された変更後制御プログラム27を記憶部23に記憶する。   And the new control program produced | generated is changed by a user's input operation, and the control program after a change is produced | generated. In the example shown in FIG. 6, the “ADD” instruction of the control program 26 is changed to the “DIV” instruction, and the changed control program 27 is generated. The maintenance device 2 stores the changed post-change control program 27 in the storage unit 23.

次に、保守装置2は、テスト実行要求信号と変更後制御プログラム27とをネットワーク4を介して制御装置1へ送信する。   Next, the maintenance device 2 transmits the test execution request signal and the changed control program 27 to the control device 1 via the network 4.

制御装置1は、テスト実行要求信号を受信した場合には、保守装置2から受信した変更後制御プログラム27を制御プログラム記憶部18に記憶させると共に、制御プログラム記憶部18に記憶させた制御プログラム27のアドレスを制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶させる。   When receiving the test execution request signal, the control device 1 stores the changed control program 27 received from the maintenance device 2 in the control program storage unit 18 and the control program 27 stored in the control program storage unit 18. Are stored in the test offset storage area 175 of the control program management information storage unit 17.

次に、制御装置1は、変更後制御プログラム27の出力変数を機器へ出力しないように、例えば“ST”等の出力命令であるオペコード181を “NOP”に変更した後、出力変更後制御プログラム28として制御プログラム記憶部18の同じアドレスに記憶する。   Next, the control device 1 changes the operation code 181 that is an output command such as “ST” to “NOP”, for example, so as not to output the output variable of the control program 27 after the change to the device, and then the control program after the output change 28 is stored in the same address of the control program storage unit 18.

そして、制御装置1は、制御プログラム記憶部18に記憶された制御プログラム26を実行し、制御プログラム管理情報記憶部17のテストオフセット領域175にデータが記憶されている場合は、このテストオフセット領域175に記憶されたアドレスに対応する出力変更後制御プログラム28を実行する。   Then, the control device 1 executes the control program 26 stored in the control program storage unit 18, and when data is stored in the test offset region 175 of the control program management information storage unit 17, this test offset region 175 The post-output change control program 28 corresponding to the address stored in is executed.

次に、保守装置2は、利用者の入力操作により制御プログラムの切り替えが要求されると、切り替え要求信号を制御装置1へを送信すると共に、記憶部23に記憶された変更後制御プログラム27を読み出し、読み出した変更後制御プログラム27を制御装置1へ送信する。   Next, when switching of the control program is requested by the user's input operation, the maintenance device 2 transmits a switching request signal to the control device 1 and loads the changed control program 27 stored in the storage unit 23. The changed control program 27 that has been read and read is transmitted to the control device 1.

次に、切り替え要求信号と変更後制御プログラム27とを受信した制御装置1は、制御プログラム記憶部18に記憶された出力変更後制御プログラム28を、受信した変更後制御プログラム27で上書きする。さらに、制御装置1は、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスを、テストオフセット記憶領域175に記憶されたアドレスで上書きする。図6に示した例では、例えば、制御プログラム管理情報記憶部17の「プログラムNO」(符号171)が“1”の「オフセットアドレス」(符号174)の値“offset1”を、「テストオフセットアドレス」(符号175)の値“offset_x”で上書きする。   Next, the control device 1 that has received the switching request signal and the changed control program 27 overwrites the changed output control program 28 stored in the control program storage unit 18 with the received changed control program 27. Further, the control device 1 overwrites the address stored in the offset storage area 174 of the control program management information storage unit 17 with the address stored in the test offset storage area 175. In the example illustrated in FIG. 6, for example, the value “offset1” of “offset address” (reference numeral 174) in which “program NO” (reference numeral 171) in the control program management information storage unit 17 is “1” is set to “test offset address”. "(Reference numeral 175) is overwritten with the value" offset_x ".

そして、制御装置1は、制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶されたアドレスを削除する。   Then, the control device 1 deletes the address stored in the test offset storage area 175 of the control program management information storage unit 17.

以上のように、第1の実施形態である制御装置1によれば、制御プログラム26を変更した場合、利用者はプラント機器3からの入力信号を用いて出力変更後制御プログラム28に基づいて実行された実行結果を確認した後、制御装置1に変更後制御プログラム27を制御装置1に反映することができる。そのため、プラント機器3に悪影響を与えることなく、変更後制御プログラム27に基づいて制御装置1を正常に動作させることができる。   As described above, according to the control device 1 according to the first embodiment, when the control program 26 is changed, the user executes the output based on the control program 28 after the output change using the input signal from the plant equipment 3. After confirming the execution result, the changed control program 27 can be reflected in the control device 1 in the control device 1. Therefore, the control apparatus 1 can be normally operated based on the post-change control program 27 without adversely affecting the plant equipment 3.

なお、第1の実施形態である制御装置1では、保守装置2によりテスト実行が要求された場合に、変更後制御プログラムを出力変更後制御プログラムで上書きさせる記憶制御手段11aと、保守装置2により制御プログラムの切り替えが要求された場合に、保守装置2から再度、変更後制御プログラムを受信する制御プログラム切り替え手段11cとを有する構成としたが、本発明に係る制御装置はこれに限らない。   In the control device 1 according to the first embodiment, when the test execution is requested by the maintenance device 2, the storage control unit 11a for overwriting the changed control program with the changed output control program and the maintenance device 2 Although the control program switching unit 11c that receives the changed control program again from the maintenance device 2 when switching of the control program is requested, the control device according to the present invention is not limited to this.

例えば、保守装置2によりテスト実行が要求された場合に、保守装置2から受信した変更後制御プログラムを制御プログラム記憶手段18に記憶させると共に、出力変更後制御プログラムを新たに制御プログラム記憶手段18に記憶させる記憶制御手段11aと、保守装置2により制御プログラムの切り替えが要求された場合に、再度、変更後制御プログラムを受信することなく、出力変更後制御プログラムを記憶された変更後制御プログラムで上書きさせると共に、この上書きした変更後制御プログラムを制御プログラムとして実行するためにオフセット記憶領域に記憶されたアドレスを記憶制御手段11aによってテストオフセット記憶領域に記憶されたアドレスで上書きさせる制御プログラム切り替え手段11cとを備える構成としても良い。   For example, when a test execution is requested by the maintenance device 2, the changed control program received from the maintenance device 2 is stored in the control program storage unit 18, and the output change control program is newly stored in the control program storage unit 18. When switching of the control program is requested by the storage control means 11a to be stored and the maintenance device 2, the control program after the output change is overwritten with the stored control program after the change without receiving the control program after the change again. And a control program switching means 11c for overwriting the address stored in the offset storage area with the address stored in the test offset storage area by the storage control means 11a in order to execute the overwritten modified control program as a control program. As a configuration with Good.

<第2の実施形態>
本発明の第1の実施形態である制御装置1は、切り替え要求信号を受信した場合に、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスを、テストオフセット記憶領域175に記憶されたアドレスで上書きすることにより、変更後制御プログラムを制御装置1に反映したが、本発明に係る制御装置はこれに限らない。
<Second Embodiment>
When receiving the switching request signal, the control device 1 according to the first embodiment of the present invention stores the address stored in the offset storage area 174 of the control program management information storage unit 17 in the test offset storage area 175. The changed control program is reflected in the control device 1 by overwriting with the address that has been changed, but the control device according to the present invention is not limited to this.

例えば、本発明の第2の実施形態である制御装置5では、切り替え要求信号を受信した場合に、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスと、テストオフセット記憶領域175に記憶されたアドレスとを入れ替えることにより、変更後の制御プログラムを制御装置5に反映する。   For example, in the control device 5 according to the second embodiment of the present invention, the address stored in the offset storage area 174 of the control program management information storage unit 17 and the test offset storage area 175 when a switching request signal is received. The control program after the change is reflected in the control device 5 by exchanging the address stored in.

図7は、本発明の第2の実施形態である制御装置5の処理手順を示したフローチャートである。   FIG. 7 is a flowchart showing a processing procedure of the control device 5 according to the second embodiment of the present invention.

制御装置5のCPU11の記憶制御手段11aは、保守装置2から要求信号を受信すると、受信した要求信号が書き換え要求信号かテスト実行要求信号かを判定する(ステップS301)。   When the storage control unit 11a of the CPU 11 of the control device 5 receives the request signal from the maintenance device 2, it determines whether the received request signal is a rewrite request signal or a test execution request signal (step S301).

そして、記憶制御手段11aは、受信した要求信号が書き換え要求信号である場合には、保守装置2から通信インタフェース16を介して制御プログラムを受信し、受信した制御プログラムを制御プログラム記憶部18に記憶させる(ステップS302)。さらに、記憶制御手段11aは、制御プログラム記憶部18に記憶させた制御プログラムのアドレスを制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶させる(ステップS303)。   When the received request signal is a rewrite request signal, the storage control unit 11a receives a control program from the maintenance device 2 via the communication interface 16, and stores the received control program in the control program storage unit 18. (Step S302). Further, the storage control unit 11a stores the address of the control program stored in the control program storage unit 18 in the offset storage area 174 of the control program management information storage unit 17 (step S303).

次に、CPU11は、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスに示される制御プログラム記憶部18に記憶された制御プログラムを実行する(ステップS304)。具体的には、CPU11は、制御プログラム管理情報のプログラムNO(符号171)の“1”から“N”までの登録フラグ(符号172)の値が“Yes”であるオフセットアドレス(符号174)を順に読み込み、読み込んだオフセットアドレス(符号174)に対応する制御プログラムを制御プログラム記憶部18から読み込み、実行する。   Next, the CPU 11 executes the control program stored in the control program storage unit 18 indicated by the address stored in the offset storage area 174 of the control program management information storage unit 17 (step S304). Specifically, the CPU 11 obtains an offset address (reference numeral 174) in which the value of the registration flag (reference numeral 172) from “1” to “N” in the program NO (reference numeral 171) of the control program management information is “Yes”. The control program corresponding to the read offset address (reference numeral 174) is read from the control program storage unit 18 and executed.

一方、ステップS301において、受信した要求信号がテスト実行要求信号であると判定された場合、記憶制御手段11aは、変更後制御プログラムを保守装置2から通信インタフェース16を介して受信する(ステップS305)。   On the other hand, if it is determined in step S301 that the received request signal is a test execution request signal, the storage control unit 11a receives the changed control program from the maintenance device 2 via the communication interface 16 (step S305). .

そして、記憶制御手段11aは、受信した変更後制御プログラムを制御プログラム記憶部18に記憶させると共に(ステップS306)、制御プログラム記憶部18に記憶させた変更後制御プログラムのアドレスを制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶させる(ステップS307)。   The storage control unit 11a stores the received changed control program in the control program storage unit 18 (step S306), and stores the address of the changed control program stored in the control program storage unit 18 in the control program management information storage. The data is stored in the test offset storage area 175 of the unit 17 (step S307).

次に、CPU11は、変更前の制御プログラムを実行する(ステップS308)。具体的には、CPU11は、制御プログラム管理情報のプログラムNO(符号171)の“1”から“N”までの登録フラグ(符号172)の値が“Yes”であるオフセットアドレス(符号174)を順に読み込み、読み込んだオフセットアドレス(符号174)に対応する制御プログラムを制御プログラム記憶部18から読み込み、実行する。   Next, the CPU 11 executes the control program before the change (step S308). Specifically, the CPU 11 obtains an offset address (reference numeral 174) in which the value of the registration flag (reference numeral 172) from “1” to “N” in the program NO (reference numeral 171) of the control program management information is “Yes”. The control program corresponding to the read offset address (reference numeral 174) is read from the control program storage unit 18 and executed.

そして、CPU11のテスト実行手段11bは、制御プログラム管理情報記憶部17のテストオフセット領域175にデータが記憶されている場合(ステップS309)、変更後制御プログラムの出力変数をプラント機器3へ出力しないように出力を切り離した上で(ステップS310)、テストオフセット領域175に記憶されたアドレスが示す変更後制御プログラムを制御プログラム記憶部18から読み出し、実行する(ステップS311)。具体的には、CPU11のテスト実行手段11cは、制御プログラム管理情報記憶部17に記憶された制御プログラム管理情報のテストオフセットアドレス(符号175)の値を読み込み、この値が“FFFF”ではないテストオフセットアドレス(符号175)に対応する変更後制御プログラムを制御プログラム記憶部18から読み込み、出力を切り離した上で、実行する。これにより、オフセットアドレス(符号174)に対応する制御プログラムの機器へ出力を許可し、テストオフセットアドレス(符号175)に対応する変更後制御プログラムの機器への出力を禁止することができる。   Then, when data is stored in the test offset area 175 of the control program management information storage unit 17 (step S309), the test execution unit 11b of the CPU 11 does not output the output variable of the changed control program to the plant equipment 3. After the output is disconnected (step S310), the changed control program indicated by the address stored in the test offset area 175 is read from the control program storage unit 18 and executed (step S311). Specifically, the test execution unit 11c of the CPU 11 reads the value of the test offset address (reference numeral 175) of the control program management information stored in the control program management information storage unit 17, and this value is not “FFFF”. The post-change control program corresponding to the offset address (reference numeral 175) is read from the control program storage unit 18, the output is disconnected, and the control program is executed. Thereby, the output of the control program corresponding to the offset address (reference numeral 174) can be permitted, and the output of the changed control program corresponding to the test offset address (reference numeral 175) to the apparatus can be prohibited.

次に、CPU11の制御プログラム切り替え手段11cは、保守装置2から通信インタフェース16を介して、切り替え要求信号を受信した場合(ステップS312)、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスと、テストオフセット記憶領域175に記憶されたアドレスとを入れ替える(ステップS313)。具体的には、制御プログラム切り替え手段11cは、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスをコピーして、制御プログラム管理情報記憶部17内に一時的に記憶させておく。そして、制御プログラム切り替え手段11cは、テストオフセット記憶領域175に記憶されたアドレスをオフセット記憶領域174に記憶されたアドレスに上書きさせた後に、一時的に記憶させたアドレスを、テストオフセット記憶領域175に記憶されたアドレスに上書きさせる。   Next, when the control program switching unit 11c of the CPU 11 receives a switching request signal from the maintenance device 2 via the communication interface 16 (step S312), it is stored in the offset storage area 174 of the control program management information storage unit 17. And the address stored in the test offset storage area 175 are exchanged (step S313). Specifically, the control program switching unit 11 c copies the address stored in the offset storage area 174 of the control program management information storage unit 17 and temporarily stores it in the control program management information storage unit 17. . Then, the control program switching unit 11c overwrites the address stored in the test offset storage area 175 with the address stored in the offset storage area 174, and then stores the temporarily stored address in the test offset storage area 175. Overwrite the stored address.

図8は、制御装置5を備えた制御システム10の処理の一例を説明した模式図である。   FIG. 8 is a schematic diagram illustrating an example of processing of the control system 10 including the control device 5.

図8に示すように、まず、保守装置2は、利用者の入力操作により制御プログラムのテスト実行が要求されると、記憶部23に記憶された変更前の制御プログラム26をコピーして新たな制御プログラムを生成する。   As shown in FIG. 8, first, when the maintenance device 2 is requested to execute a test of the control program by a user input operation, the maintenance device 2 copies the control program 26 before the change stored in the storage unit 23 to a new one. Generate a control program.

そして、利用者の入力操作により、生成された新たな制御プログラムが変更されて、変更後制御プログラム27が生成される。図8に示した例では、制御プログラム26の「ADD」命令が「DIV」命令に変更されて、変更後制御プログラム27が生成されている。保守装置2は、この変更された変更後制御プログラム27を記憶部23に記憶する。   And the new control program produced | generated is changed by the user's input operation, and the control program 27 after a change is produced | generated. In the example shown in FIG. 8, the “ADD” instruction of the control program 26 is changed to the “DIV” instruction, and the changed control program 27 is generated. The maintenance device 2 stores the changed post-change control program 27 in the storage unit 23.

次に、保守装置2は、テスト実行要求信号とこの変更後制御プログラム27とをネットワーク4を介して制御装置5へ送信する。   Next, the maintenance device 2 transmits a test execution request signal and the changed control program 27 to the control device 5 via the network 4.

制御装置5は、テスト実行要求信号を受信した場合には、保守装置2から受信した変更後制御プログラム27を制御プログラム記憶部18に記憶させると共に、制御プログラム記憶部18に記憶させた変更後制御プログラム27のアドレスを制御プログラム管理情報記憶部17のテストオフセット記憶領域175に記憶させる。   When receiving the test execution request signal, the control device 5 stores the changed control program 27 received from the maintenance device 2 in the control program storage unit 18 and the changed control stored in the control program storage unit 18. The address of the program 27 is stored in the test offset storage area 175 of the control program management information storage unit 17.

そして、制御装置5は、制御プログラム記憶部18に記憶された制御プログラム26を実行し、制御プログラム管理情報記憶部17のテストオフセット領域175にデータが記憶されている場合は、このテストオフセット領域175に記憶されたアドレスに対応する変更後制御プログラム27を出力を切り離して実行する。   Then, the control device 5 executes the control program 26 stored in the control program storage unit 18, and when data is stored in the test offset region 175 of the control program management information storage unit 17, this test offset region 175 The post-change control program 27 corresponding to the address stored in is executed with the output disconnected.

次に、保守装置2は、利用者の入力操作により制御プログラムの切り替えが要求されると、切り替え要求信号を制御装置5へ送信する。   Next, when the switching of the control program is requested by the user's input operation, the maintenance device 2 transmits a switching request signal to the control device 5.

そして、制御装置5は、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスと、テストオフセット記憶領域175に記憶されたアドレスとを入れ替える。図8に示した例では、例えば、制御プログラム管理情報記憶部17の「プログラムNO」(符号171)が“1”の「オフセットアドレス」(符号174)の値“offset1”と、「テストオフセットアドレス」(符号175)の値“offset_x”とを入れ替える。   Then, the control device 5 replaces the address stored in the offset storage area 174 of the control program management information storage unit 17 with the address stored in the test offset storage area 175. In the example shown in FIG. 8, for example, the value “offset1” of “offset address” (reference numeral 174) in which “program NO” (reference numeral 171) in the control program management information storage unit 17 is “1” and “test offset address” ”(Reference numeral 175) is replaced with“ offset_x ”.

このように、制御プログラム管理情報記憶部17のオフセット記憶領域174に記憶されたアドレスと、テストオフセット記憶領域175に記憶されたアドレスとを入れ替えるので、入れ替えた後も、入れ替え前の制御プログラム及びアドレスが、各々制御プログラム記憶部18及び制御プログラム管理情報記憶部17に記憶されている。   As described above, the address stored in the offset storage area 174 of the control program management information storage unit 17 and the address stored in the test offset storage area 175 are exchanged. Are stored in the control program storage unit 18 and the control program management information storage unit 17, respectively.

そのため、制御プログラムの入れ替え後にプラント機器に想定外の動作が発生した場合、制御装置5は、再度制御プログラムの入れ替えを行うことにより、制御装置5は、記憶されている変更前の制御プログラムに基づいて、プラント機器を制御することができる。   Therefore, when an unexpected operation occurs in the plant equipment after replacement of the control program, the control device 5 performs replacement of the control program again, so that the control device 5 is based on the stored control program before change. The plant equipment can be controlled.

この場合、制御装置5は、入れ替え直前の入力値に基づいて変更前の制御プログラムを実行するので、ローカル変数の初期値等の影響により出力値が急変することを防止ことができる。   In this case, since the control device 5 executes the control program before the change based on the input value immediately before the replacement, it is possible to prevent the output value from changing suddenly due to the influence of the initial value of the local variable or the like.

本発明の第1の実施形態である制御装置を適用した制御システム10の構成を示した構成図である。1 is a configuration diagram illustrating a configuration of a control system 10 to which a control device according to a first embodiment of the present invention is applied. 制御プログラム管理情報記憶部に記憶された制御プログラム管理情報の一例を示した説明図である。It is explanatory drawing which showed an example of the control program management information memorize | stored in the control program management information storage part. 制御プログラム記憶部に記憶された制御プログラム及び変更後の制御プログラムの一例を示した説明図である。It is explanatory drawing which showed an example of the control program memorize | stored in the control program memory | storage part, and the control program after a change. 制御システムの保守装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the maintenance apparatus of a control system. 制御システムの制御装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the control apparatus of a control system. 制御システムの処理の一例を説明した模式図である。It is a mimetic diagram explaining an example of processing of a control system. 本発明の第2の実施形態である制御装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the control apparatus which is the 2nd Embodiment of this invention. 制御装置を備えた制御システムの処理の一例を説明した模式図である。It is the schematic diagram explaining an example of the process of the control system provided with the control apparatus. 従来の制御装置と保守装置を用いて制御プログラムを制御装置へ組み込む手順を説明した模式図である。It is the schematic diagram explaining the procedure which incorporates a control program in a control apparatus using the conventional control apparatus and a maintenance apparatus. 変更後制御プログラムが組み込まれた制御装置が正常に動作するか否かを事前確認するためのオフラインシステムの概要を説明した模式図である。It is the schematic diagram explaining the outline | summary of the offline system for confirming beforehand whether the control apparatus incorporating the control program after a change operate | moves normally.

符号の説明Explanation of symbols

1,5…制御装置
2…保守装置
3…プラント機器
4…ネットワーク
10…制御システム
11…CPU
11a…記憶制御手段
11b…制御プログラム切り替え手段
12…プログラム記憶部
13…データメモリ
15…入出力インタフェース
16…通信インタフェース
17…制御プログラム管理情報記憶部(制御プログラム管理情報記憶手段)
18…制御プログラム記憶部(制御プログラム記憶手段)
DESCRIPTION OF SYMBOLS 1,5 ... Control apparatus 2 ... Maintenance apparatus 3 ... Plant equipment 4 ... Network 10 ... Control system 11 ... CPU
DESCRIPTION OF SYMBOLS 11a ... Storage control means 11b ... Control program switching means 12 ... Program storage part 13 ... Data memory 15 ... Input / output interface 16 ... Communication interface 17 ... Control program management information storage part (control program management information storage means)
18 ... Control program storage section (control program storage means)

Claims (5)

制御プログラムを実行することによって機器の制御を行うと共に、接続された保守装置から前記制御プログラムに基づいて生成された変更後制御プログラムを受信し、受信した変更後制御プログラムと前記制御プログラムとを切り替える制御装置であって、
前記保守装置からテスト実行が要求された場合に、前記保守装置から受信した前記変更後制御プログラムを前記機器への出力を禁止しつつ実行するテスト実行手段と、
前記保守装置から前記制御プログラムの切り替えが要求された場合に、前記変更後制御プログラムを前記制御プログラムとして実行するために、前記変更後制御プログラムと前記制御プログラムとを切り替える制御プログラム切り替え手段と、
を備えたことを特徴とする制御装置。
The control of the device is performed by executing the control program, the changed control program generated based on the control program is received from the connected maintenance device, and the received changed control program and the control program are switched. A control device,
Test execution means for executing the control program after change received from the maintenance device while prohibiting output to the device when a test execution is requested from the maintenance device;
Control program switching means for switching between the control program after change and the control program in order to execute the control program after change as the control program when switching of the control program is requested from the maintenance device;
A control device comprising:
前記制御プログラムと前記変更後制御プログラムとを少なくとも記憶する制御プログラム記憶手段と、
前記制御プログラム記憶手段に記憶された前記制御プログラムのアドレスをオフセット領域に記憶すると共に、少なくとも前記変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、
前記保守装置によりテスト実行が要求された場合に、前記保守装置から前記変更後制御プログラムを受信し、受信した変更後制御プログラムの出力命令を前記機器へ出力しないように変更し、この変更後のプログラムを出力変更後制御プログラムとして前記制御プログラム記憶手段に記憶させると共に、記憶させた該出力変更後制御プログラムのアドレスを前記制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを更に備え、
前記テスト実行手段は、
前記記憶制御手段により前記テストオフセット記憶領域に記憶されたアドレスに基づいて、前記制御プログラム記憶手段に記憶された出力変更後制御プログラムを新たな変更後制御プログラムとして実行し、
前記制御プログラム切り替え手段は、
前記保守装置により制御プログラムの切り替えが要求された場合に、前記保守装置から再度、前記変更後制御プログラムを受信し、前記記憶制御手段によって記憶された前記出力変更後制御プログラムをこの再度受信した前記変更後制御プログラムで上書きさせると共に、この上書きした前記変更後制御プログラムを前記制御プログラムとして切替えて実行するために前記オフセット記憶領域に記憶されたアドレスを前記記憶制御手段によって前記テストオフセット記憶領域に記憶されたアドレスで上書きさせる
ことを特徴とする請求項1に記載の制御装置。
Control program storage means for storing at least the control program and the changed control program;
Control program management information storage means for storing the address of the control program stored in the control program storage means in an offset area and storing at least the address of the changed control program in a test offset area;
When the test execution is requested by the maintenance device, the changed control program is received from the maintenance device, and the output instruction of the received changed control program is changed so as not to be output to the device. Storage control means for storing a program in the control program storage means as a control program after output change, and storing the address of the stored control program after output change in a test offset storage area of the control program management information storage means; In addition,
The test execution means includes
Based on the address stored in the test offset storage area by the storage control unit, the post-output change control program stored in the control program storage unit is executed as a new post-change control program,
The control program switching means is
When switching of the control program is requested by the maintenance device, the control program after change is received again from the maintenance device, and the control program after output change stored by the storage control means is received again. Overwrite with the control program after change, and store the address stored in the offset storage area in the test offset storage area by the storage control means for switching and executing the overwritten control program as the control program. The control device according to claim 1, wherein the control device is overwritten with the designated address.
前記制御プログラムと前記変更後制御プログラムとを少なくとも記憶する制御プログラム記憶手段と、
前記制御プログラム記憶手段に記憶された前記制御プログラムのアドレスをオフセット領域に記憶すると共に、少なくとも前記変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、
前記保守装置によりテスト実行が要求された場合に、前記保守装置から受信した変更後制御プログラムを前記制御プログラム記憶手段に記憶させると共に、前記受信した変更後制御プログラムの出力命令を前記機器へ出力しないように変更し、この変更後のプログラムを出力変更後制御プログラムとして新たに前記制御プログラム記憶手段に記憶させ、この記憶させた該出力変更後制御プログラムのアドレスを前記制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを更に備え、
前記テスト実行手段は、
前記記憶制御手段により前記テストオフセット記憶領域に記憶されたアドレスに基づいて、前記制御プログラム記憶手段に記憶された出力変更後制御プログラムを新たな変更後制御プログラムとして実行し、
前記制御プログラム切り替え手段は、
前記保守装置により制御プログラムの切り替えが要求された場合に、前記記憶制御手段により記憶された前記出力変更後制御プログラムを前記記憶制御手段により記憶された前記変更後制御プログラムで上書きさせると共に、この上書きした前記変更後制御プログラムを前記制御プログラムとして実行するために前記オフセット記憶領域に記憶されたアドレスを前記記憶制御手段によって前記テストオフセット記憶領域に記憶されたアドレスで上書きさせる
ことを特徴とする請求項1に記載の制御装置。
Control program storage means for storing at least the control program and the changed control program;
Control program management information storage means for storing the address of the control program stored in the control program storage means in an offset area and storing at least the address of the changed control program in a test offset area;
When a test execution is requested by the maintenance device, the changed control program received from the maintenance device is stored in the control program storage unit, and the output instruction of the received changed control program is not output to the device. And the new program is stored in the control program storage means as a control program after output change, and the address of the control program after output change is stored in the test of the control program management information storage means. Storage control means for storing in the offset storage area,
The test execution means includes
Based on the address stored in the test offset storage area by the storage control unit, the post-output change control program stored in the control program storage unit is executed as a new post-change control program,
The control program switching means is
When switching of the control program is requested by the maintenance device, the control program after the output change stored by the storage control unit is overwritten with the control program after the change stored by the storage control unit, and this overwriting is performed. The address stored in the offset storage area is overwritten with the address stored in the test offset storage area by the storage control means in order to execute the changed control program as the control program. The control apparatus according to 1.
前記制御プログラムと前記変更後制御プログラムとを記憶する制御プログラム記憶手段と、
前記制御プログラム記憶手段に記憶された制御プログラムのアドレスをオフセット領域に記憶すると共に、前記変更後制御プログラムのアドレスをテストオフセット領域に記憶する制御プログラム管理情報記憶手段と、
前記保守装置によりテスト実行が要求された場合に、前記変更後制御プログラムを受信し、この受信した変更後制御プログラムを前記制御プログラム記憶手段に記憶させると共に、記憶させた変更後制御プログラムのアドレスを前記制御プログラム管理情報記憶手段のテストオフセット記憶領域に記憶させる記憶制御手段とを備え、
前記テスト実行手段は、
前記記憶制御手段により前記テストオフセット記憶領域に記憶されたアドレスに基づいて、前記制御プログラム記憶手段に記憶された変更後制御プログラムを前記機器へ出力しないように切り離して実行し、
前記制御プログラム切り替え手段は、
前記保守装置により制御プログラムの切り替えが要求された場合に、前記制御プログラム記憶手段に記憶された変更後制御プログラムを前記制御プログラムとして実行するために、前記オフセット記憶領域に記憶されたアドレスと前記テストオフセット記憶領域に記憶されたアドレスとを入れ替える
ことを特徴とする請求項1に記載の制御装置。
Control program storage means for storing the control program and the changed control program;
Control program management information storage means for storing the address of the control program stored in the control program storage means in an offset area and storing the address of the changed control program in a test offset area;
When the test execution is requested by the maintenance device, the control program after change is received, the received control program after change is stored in the control program storage means, and the address of the stored control program after change is stored. Storage control means for storing in a test offset storage area of the control program management information storage means,
The test execution means includes
Based on the address stored in the test offset storage area by the storage control means, the control program after change stored in the control program storage means is executed separately so as not to be output to the device,
The control program switching means is
In order to execute the control program after change stored in the control program storage means as the control program when switching of the control program is requested by the maintenance device, the address stored in the offset storage area and the test The control device according to claim 1, wherein the address stored in the offset storage area is replaced.
制御プログラムを実行することによって機器の制御を行う制御装置に接続された保守装置から、前記制御プログラムに基づいて生成された変更後制御プログラムを受信し、受信した変更後制御プログラムと前記制御プログラムとを切り替える制御プログラム切り替え方法であって、
前記保守装置からテスト実行が要求された場合に、前記保守装置から受信した前記変更後制御プログラムを前記機器への出力を禁止しつつ実行するテスト実行ステップと、
前記保守装置から制御プログラムの切り替えが要求された場合に、前記変更後制御プログラムを前記制御プログラムとして実行するために、前記変更後制御プログラムと前記制御プログラムとを切り替える制御プログラム切り替えステップと、
を有することを特徴とする制御プログラム切り替え方法。
A changed control program generated based on the control program is received from a maintenance device connected to a control device that controls the device by executing the control program, and the received changed control program, the control program, A control program switching method for switching between
A test execution step of executing the control program after change received from the maintenance device while prohibiting output to the device when a test execution is requested from the maintenance device;
A control program switching step of switching between the control program after change and the control program in order to execute the control program after change as the control program when switching of the control program is requested from the maintenance device;
A control program switching method characterized by comprising:
JP2007158633A 2007-06-15 2007-06-15 Control device and control program switching method Pending JP2008310640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007158633A JP2008310640A (en) 2007-06-15 2007-06-15 Control device and control program switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007158633A JP2008310640A (en) 2007-06-15 2007-06-15 Control device and control program switching method

Publications (1)

Publication Number Publication Date
JP2008310640A true JP2008310640A (en) 2008-12-25

Family

ID=40238175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007158633A Pending JP2008310640A (en) 2007-06-15 2007-06-15 Control device and control program switching method

Country Status (1)

Country Link
JP (1) JP2008310640A (en)

Similar Documents

Publication Publication Date Title
JP5039428B2 (en) Programmable controller and PLC system
CN110663006B (en) Method for performing failover of programmable logic controller and controlling physical system
JP6830800B2 (en) Methods for programming safety controllers and safety controllers
EP3151071B1 (en) System for updating a control program while actively controlling an industrial process
JP2017142794A (en) Programmable controller system, controller thereof, support device, hci device, and duplex controller system
WO2019121516A1 (en) Seamless and safe upgrade of software intensive systems during operation
US20120310379A1 (en) Programmable controller
JP6171385B2 (en) Controller and information processing apparatus
JP2008310640A (en) Control device and control program switching method
JP2005158026A (en) Field bus system
US11022948B2 (en) Safety control device and method for changing a range of functions of a safety control device
WO2013005350A1 (en) Symbol table generation method, method for communication with peripheral apparatus and programmable logic controller
JP4849078B2 (en) Programmable logic controller and programmable logic controller logic update support tool
CN114637496A (en) Configuration data processing system, method and electronic equipment
CN110764840B (en) Method, device and system for wirelessly debugging android device
CN114244828B (en) Data transmission method and vehicle-mounted dynamic data management system
JP3464417B2 (en) Test display method of screen data for control device
JPH07306710A (en) Device and system for monitoring and control
CN103052920A (en) Programmable controller system, tool device, tool program and recording medium, and programmable controller
US20210110006A1 (en) Controller, Method for Managing License, and Program for Managing License
JP2005038261A (en) Programmable controller system and program development support device
JP2002063045A (en) Changing method of operating program
JP2009223861A (en) Logic verification system
JP2004272629A (en) Device for programmable controller, and programmable updating method and program starting method for the same
WO2006011271A1 (en) Field bus system