JP2015050711A - Multiplex control monitoring system and control method - Google Patents

Multiplex control monitoring system and control method Download PDF

Info

Publication number
JP2015050711A
JP2015050711A JP2013182485A JP2013182485A JP2015050711A JP 2015050711 A JP2015050711 A JP 2015050711A JP 2013182485 A JP2013182485 A JP 2013182485A JP 2013182485 A JP2013182485 A JP 2013182485A JP 2015050711 A JP2015050711 A JP 2015050711A
Authority
JP
Japan
Prior art keywords
maintenance information
system maintenance
control
control device
machine control
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
JP2013182485A
Other languages
Japanese (ja)
Other versions
JP6109687B2 (en
Inventor
竜也 福島
Tatsuya Fukushima
竜也 福島
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 JP2013182485A priority Critical patent/JP6109687B2/en
Publication of JP2015050711A publication Critical patent/JP2015050711A/en
Application granted granted Critical
Publication of JP6109687B2 publication Critical patent/JP6109687B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a multiplex control monitoring system which can improve continuity of operation while the operation of a multiplexed control device is simplified and to provide a control method.SOLUTION: A multiplex control monitoring system includes a plurality of control devices for exclusively controlling a plurality of processing units in accordance with a request of a user. A storage section of the control device stores maintenance information used for controlling a self-device and the processing unit and a plurality of writing flags used for writing processing of the information. A control section of the control device writes the plurality of pieces of maintenance information in different storage regions of the storage section when the maintenance information is updated, and the maintenance information is written into the different writing flags whenever the maintenance information is written. When completion of writing into the plurality of writing flags and coincidence of the maintenance information written into the plurality of storage regions of the storage region are detected, the control section controls the processing unit by using the maintenance information which is read from the storage section.

Description

本発明の実施形態は、多重化制御監視システム、及び制御方法に関する。   Embodiments described herein relate generally to a multiplexed control monitoring system and a control method.

近年、複数の装置を組み合わせて目的の処理に応じたシステムを構成することが行われている。例えば、SNG(Satellite News Gathering)などに用いられる中継車では、映像や音声を編集する装置や、編集結果を符号化・変調する装置、衛星通信用に符号化・変調により得られた信号の帯域圧縮をする装置、衛星通信帯域への周波数変換する装置、衛星通信帯域の信号を増幅する装置、アンテナを制御する装置など、様々な装置を組み合わせて運用している。   In recent years, a system corresponding to a target process is configured by combining a plurality of devices. For example, in a relay vehicle used for SNG (Satellite News Gathering), etc., a device for editing video and audio, a device for encoding / modulating the editing result, and a band of a signal obtained by encoding / modulation for satellite communication Various devices such as a compression device, a device that converts a frequency to a satellite communication band, a device that amplifies a signal in the satellite communication band, and a device that controls an antenna are used in combination.

前述のように複数の装置を組み合わせて利用する場合には、システムの運用を効率的に行うために、個々の装置を個別に操作せずに、複数の装置に接続された制御装置であって目的の動作や処理に応じた個々の装置に対する制御を一括して行う制御装置が用いられている。このような制御装置を用いることにより、個々の装置の操作を覚える必要がなくなり、目的の動作や処理が変わる度に個々の装置を操作する手間を省くことができるという利点がある。   As described above, when a plurality of devices are used in combination, a control device connected to a plurality of devices without operating each device individually in order to efficiently operate the system. 2. Description of the Related Art A control device that collectively controls individual devices according to intended operations and processes is used. By using such a control device, there is an advantage that it is not necessary to memorize the operation of each device, and it is possible to save time and effort to operate each device each time a target operation or process changes.

しかし、制御装置に故障などの障害が発生してしまうと、個々の装置が利用可能な状態であるにも拘わらず、目的の動作や処理を行うことが困難になってしまうことがある。そこで、制御装置を多重化して、使用している制御装置に障害が発生した場合には他の制御装置を用いることにより、システムの運用を継続して行えるようにしている。   However, if a failure such as a failure occurs in the control device, it may be difficult to perform a target operation or process even though each device is available. Therefore, the control devices are multiplexed, and when a failure occurs in the control device being used, the operation of the system can be continued by using another control device.

特開2003−167782号公報JP 2003-167782 A 特開2009−053946号公報JP 2009-053946 A

しかしながら、複数の制御装置を備える多重化を行った場合には、制御装置を排他的に運用する必要や、制御装置の切り替えを適切に行う必要などがあり、その運用が煩雑になってしまうという課題がある。   However, when multiplexing with a plurality of control devices is performed, there is a need to operate the control devices exclusively, or it is necessary to switch the control devices appropriately, and the operation becomes complicated. There are challenges.

本発明が解決しようとする課題は、多重化された制御装置の運用を簡便にしつつ、運用の継続性を高めることができる多重化制御監視システム、及び制御方法を提供することである。   The problem to be solved by the present invention is to provide a multiplexed control monitoring system and a control method capable of improving the continuity of the operation while simplifying the operation of the multiplexed control device.

実施形態の多重化制御監視システムは、特定の処理を実行する複数の処理装置と、ユーザの要求に応じて複数の処理装置を排他的に制御する複数の制御装置とを備える。制御装置は、記憶部と制御部とを備える。記憶部は、自装置及び複数の処理装置の制御に用いるパラメータを含むシステムメンテナンス情報と、システムメンテナンス情報の書き込み処理に用いる複数の書込フラグと、所定値をパラメータとして含むデフォルト情報とを記憶する。制御部は、システムメンテナンス情報を更新する場合には、記憶部の異なる記憶領域に複数のシステムメンテナンス情報を書き込み、システムメンテナンス情報を書き込むごとに異なる書込フラグへの書き込みを行う。また、制御部は、複数の書込フラグへの書き込みの完了、及び、記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できた場合、記憶部から読み出したシステムメンテナンス情報を用いて処理装置の制御を行い、複数の書込フラグへの書き込みの完了、又は、記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できない場合、記憶部に記憶されているデフォルト情報を用いて処理装置の制御を行う。   The multiplexing control monitoring system according to the embodiment includes a plurality of processing devices that execute a specific process and a plurality of control devices that exclusively control the plurality of processing devices in response to a user request. The control device includes a storage unit and a control unit. The storage unit stores system maintenance information including parameters used for controlling the own apparatus and the plurality of processing apparatuses, a plurality of write flags used for writing processing of the system maintenance information, and default information including a predetermined value as a parameter. . When updating the system maintenance information, the control unit writes a plurality of system maintenance information in different storage areas of the storage unit, and writes to different write flags each time the system maintenance information is written. In addition, the control unit reads out from the storage unit when it is detected that the writing to the plurality of write flags is completed and the system maintenance information written in the plurality of storage areas matches. When processing system control is performed using system maintenance information and it is not possible to detect completion of writing to multiple write flags or that system maintenance information written to multiple storage areas in the storage area matches The processing device is controlled using the default information stored in the storage unit.

実施形態における多重化制御監視システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the multiplexing control monitoring system in embodiment. 同実施形態のマシンコントロール装置1におけるシステムメンテナンス情報の書込、更新の処理を示すフローチャートである。4 is a flowchart showing processing for writing and updating system maintenance information in the machine control device 1 of the embodiment. 同実施形態におけるマシンコントロール装置1における起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of starting in the machine control apparatus 1 in the embodiment. 同実施形態におけるマシンコントロール装置1における起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of starting in the machine control apparatus 1 in the embodiment. 同実施形態におけるマシンコントロール装置1におけるシステムメンテナンス情報を変更する処理を示すフローチャートである。It is a flowchart which shows the process which changes the system maintenance information in the machine control apparatus 1 in the embodiment. 同実施形態の多重化制御監視システムにおける入出力装置2に対する排他制御の一例を示す第1のシーケンス図である。It is a 1st sequence diagram which shows an example of the exclusive control with respect to the input / output device 2 in the multiplexing control monitoring system of the embodiment. 同実施形態の多重化制御監視システムにおける入出力装置2に対する排他制御の一例を示す第2のシーケンス図である。It is a 2nd sequence diagram which shows an example of the exclusive control with respect to the input / output device 2 in the multiplexing control monitoring system of the embodiment. 同実施形態の多重化制御監視システムにおけるシステムメンテナンス情報の同期の一例を示す第1のシーケンス図である。It is a 1st sequence diagram which shows an example of the synchronization of the system maintenance information in the multiplexing control monitoring system of the embodiment. 同実施形態の多重化制御監視システムにおけるシステムメンテナンス情報の同期の一例を示す第2のシーケンス図である。It is a 2nd sequence diagram which shows an example of the synchronization of the system maintenance information in the multiplexing control monitoring system of the embodiment. 同実施形態の多重化制御監視システムにおける動作モードの切り替えの一例を示すシーケンス図である。It is a sequence diagram which shows an example of switching of the operation mode in the multiplexing control monitoring system of the embodiment. 同実施形態におけるマシンコントロール装置1a、1b間における死活監視とシャットダウンとを行うための接続例を示す図である。It is a figure which shows the example of a connection for performing alive monitoring and shutdown between the machine control apparatuses 1a and 1b in the embodiment.

以下、図面を参照して、実施形態における多重化制御監視システム、及び制御方法を説明する。図1は、本実施形態における多重化制御監視システムの構成例を示すブロック図である。同図に示すように、多重化制御監視システムは、複数のマシンコントロール装置1(1a、1b)、複数の入出力装置2(2a〜2d)、及び、複数の処理装置3(3a〜3c)を備えている。同図には、2つのマシンコントロール装置1a、1bと、マシンコントロール装置1aに接続された2つの入出力装置2a、2bと、マシンコントロール装置1bに接続された2つの入出力装置2c、2dと、マシンコントロール装置1a、1bに異なるネットワークで接続された3つの処理装置3a、3b、3cとを多重化制御監視システムが備える構成が示されている。しかし、マシンコントロール装置1、入出力装置2、及び、処理装置3の数は同図に示す数と異なる数であってもよい。   Hereinafter, a multiplexing control monitoring system and a control method according to an embodiment will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a multiplexing control monitoring system in the present embodiment. As shown in the figure, the multiplexing control monitoring system includes a plurality of machine control devices 1 (1a, 1b), a plurality of input / output devices 2 (2a-2d), and a plurality of processing devices 3 (3a-3c). It has. The figure shows two machine control devices 1a and 1b, two input / output devices 2a and 2b connected to the machine control device 1a, and two input / output devices 2c and 2d connected to the machine control device 1b. 1 shows a configuration in which a multiplexing control monitoring system includes three processing devices 3a, 3b, and 3c connected to machine control devices 1a and 1b via different networks. However, the number of the machine control device 1, the input / output device 2, and the processing device 3 may be different from the number shown in FIG.

マシンコントロール装置1は、複数の処理装置3に対する制御の容易化や簡便化のために用いられる装置である。本実施形態の多重化制御監視システムには、マシンコントロール装置1が2つ備えられ、いずれかのマシンコントロール装置1の故障が生じても、複数の処理装置3の制御を継続できるようになっている。複数のマシンコントロール装置1のうち、いずれか一つが稼働モードで動作し、他のマシンコントロール装置1が待機モードで動作する。稼働モードは、マシンコントロール装置1が各処理装置3の制御を排他的に行う動作モードである。待機モードは、マシンコントロール装置1が各処理装置3の制御を行わずに、待機している動作モードである。   The machine control device 1 is a device used for facilitating and simplifying the control of the plurality of processing devices 3. The multiplexed control monitoring system of the present embodiment includes two machine control devices 1 so that control of a plurality of processing devices 3 can be continued even if one of the machine control devices 1 fails. Yes. One of the plurality of machine control devices 1 operates in the operation mode, and the other machine control device 1 operates in the standby mode. The operation mode is an operation mode in which the machine control device 1 exclusively controls each processing device 3. The standby mode is an operation mode in which the machine control device 1 is on standby without performing control of each processing device 3.

マシンコントロール装置1aには、入出力装置2a、2bが通信可能に接続されている。入出力装置2a、2bは、ユーザの操作を受け付け、当該操作を示す情報をマシンコントロール装置1aに出力する。また、入出力装置2a、2bは、マシンコントロール装置1aから入力されるマシンコントロール装置1aの状態や各処理装置3の状態や処理結果などを示す情報を表示する。マシンコントロール装置1bには、入出力装置2c、2dが通信可能に接続されている。入出力装置2c、2dは、入出力装置2a、2bと同様に、ユーザの操作を受け付けるとともに、マシンコントロール装置1bや各処理装置3の状態や処理結果などを示す情報を表示する。入出力装置2は、例えばコンピュータやタブレットPCなどを用いてもよいし、専用の入力装置と映像モニタとを組み合わせた装置であってもよい。   Input / output devices 2a and 2b are communicably connected to the machine control device 1a. The input / output devices 2a and 2b receive user operations and output information indicating the operations to the machine control device 1a. Further, the input / output devices 2a and 2b display information indicating the state of the machine control device 1a input from the machine control device 1a, the state of each processing device 3, the processing result, and the like. Input / output devices 2c and 2d are communicably connected to the machine control device 1b. Similarly to the input / output devices 2a and 2b, the input / output devices 2c and 2d receive user operations and display information indicating the state and processing results of the machine control device 1b and each processing device 3. The input / output device 2 may be, for example, a computer or a tablet PC, or may be a device that combines a dedicated input device and a video monitor.

処理装置3はユーザの目的に応じて備えられる装置である。例えば、SNGなどに用いられる中継車では、映像や音声を編集する装置や、編集結果を符号化・変調する装置、衛星通信用に符号化・変調により得られた信号の帯域圧縮をする装置、衛星通信帯域への周波数変換する装置、衛星通信帯域の信号を増幅する装置、アンテナを制御する装置などが処理装置3として多重化制御監視システムに備えられる。図1に示す構成例では、各処理装置3は、それぞれが異なるネットワークを介してマシンコントロール装置1a及びマシンコントロール装置1bと接続されている。ネットワークには、例えば、イーサネット(登録商標、以下同様)や、ARCNET、PIOなどが用いられる。   The processing device 3 is a device provided according to the user's purpose. For example, in a relay car used for SNG and the like, a device that edits video and audio, a device that encodes and modulates editing results, a device that compresses the band of signals obtained by coding and modulation for satellite communication, An apparatus for frequency conversion to a satellite communication band, an apparatus for amplifying a signal in the satellite communication band, an apparatus for controlling an antenna, and the like are provided as a processing apparatus 3 in the multiplexing control monitoring system. In the configuration example shown in FIG. 1, each processing device 3 is connected to the machine control device 1a and the machine control device 1b via different networks. For the network, for example, Ethernet (registered trademark, the same applies hereinafter), ARCNET, PIO, or the like is used.

マシンコントロール装置1は、ユーザインタフェース部11、制御部12、複数の通信インタフェース部13(13a〜13c)、及び、記憶部14を備えている。マシンコントロール装置1に備えられる通信インタフェース部13の数は、処理装置3との接続に用いられるネットワークの数に応じて定められる。ユーザインタフェース部11は、入出力装置2と通信可能に接続されており、ユーザが入出力装置2を操作して入力される指示やコマンドを受け付けて制御部12に出力する。また、ユーザインタフェース部11は、指示やコマンドの処理結果や、マシンコントロール装置1及び各処理装置3の状態を示す情報などが制御部12から入力される。ユーザインタフェース部11は、入力された処理結果や情報を入出力装置2に出力して、ユーザに通知(表示など)する。   The machine control device 1 includes a user interface unit 11, a control unit 12, a plurality of communication interface units 13 (13 a to 13 c), and a storage unit 14. The number of communication interface units 13 provided in the machine control device 1 is determined according to the number of networks used for connection with the processing device 3. The user interface unit 11 is communicably connected to the input / output device 2. The user interface unit 11 receives an instruction or a command input by a user operating the input / output device 2 and outputs the command or command to the control unit 12. In addition, the user interface unit 11 receives processing results of instructions and commands, information indicating the state of the machine control device 1 and each processing device 3, and the like from the control unit 12. The user interface unit 11 outputs the input processing results and information to the input / output device 2 and notifies (displays) the user.

制御部12は、ユーザインタフェース部11を介して入力される指示やコマンドに対応する処理装置3への制御情報を、制御対象の処理装置3が接続されている通信インタフェース部13に出力して、当該情報を処理装置3へ送信させる。ユーザの指示やコマンドに対応する処理装置3への制御情報は、指示やコマンドごとに、記憶部14に予め記憶されている。また、制御部12は、自装置の状態や、通信インタフェース部13を介して各処理装置3から受信する処理結果や処理装置3の状態を示す情報をユーザインタフェース部11に出力する。   The control unit 12 outputs control information to the processing device 3 corresponding to an instruction or command input via the user interface unit 11 to the communication interface unit 13 to which the processing device 3 to be controlled is connected, The information is transmitted to the processing device 3. Control information to the processing device 3 corresponding to a user instruction or command is stored in advance in the storage unit 14 for each instruction or command. In addition, the control unit 12 outputs information indicating the state of the own device, the processing result received from each processing device 3 via the communication interface unit 13, and the state of the processing device 3 to the user interface unit 11.

また、制御部12は、自装置に接続されている複数の入出力装置2の間における排他制御や、自装置と他のマシンコントロール装置1との間の排他制御を行う。また、制御部12は、自装置の制御や、各処理装置3の制御に用いるパラメータを含むシステムメンテナンス情報の更新や、他のマシンコントロール装置1との間におけるシステムメンテナンス情報の同期を行う。また、制御部12は、システムメンテナンス情報の更新に不備が生じた場合に備えて、標準的なパラメータ(所定値)で構成されたデフォルト情報を予め記憶している。例えば、制御部12がマイクロコントローラなどで構成される場合には、デフォルト情報は制御部12を実現させるためのプログラムに固定値として含まれることになる。なお、当該プログラムは制御部12の内部に記憶されていてもよいし、記憶部14に記憶されていてもよい。   Further, the control unit 12 performs exclusive control between a plurality of input / output devices 2 connected to the own device and exclusive control between the own device and another machine control device 1. Further, the control unit 12 controls the own apparatus, updates system maintenance information including parameters used for controlling each processing apparatus 3, and synchronizes system maintenance information with other machine control apparatuses 1. Further, the control unit 12 stores in advance default information composed of standard parameters (predetermined values) in preparation for a case where deficiency in updating the system maintenance information occurs. For example, when the control unit 12 is configured by a microcontroller or the like, the default information is included as a fixed value in a program for realizing the control unit 12. The program may be stored in the control unit 12 or stored in the storage unit 14.

通信インタフェース部13は、制御部12から入力される制御情報などを、処理装置3との間のネットワークの規格に応じたパケットやフレームに変換して処理装置3に送信する。また、通信インタフェース部13は、処理装置3から受信するパケットやフレームに含まれる処理結果や処理装置3の状態を示す情報を取得し、制御部12に出力する。通信インタフェース部13は、例えば、イーサネットや、ARCNETなどの規格に従って処理装置3との通信を行う。すなわち、通信インタフェース部13を介して制御部12による処理装置3の制御が行われる。   The communication interface unit 13 converts control information or the like input from the control unit 12 into a packet or a frame according to the standard of the network with the processing device 3 and transmits the packet or frame to the processing device 3. In addition, the communication interface unit 13 acquires information indicating a processing result included in a packet or frame received from the processing device 3 and a state of the processing device 3, and outputs the information to the control unit 12. The communication interface unit 13 communicates with the processing device 3 according to standards such as Ethernet and ARCNET, for example. That is, the control unit 12 controls the processing device 3 through the communication interface unit 13.

記憶部14には、前述の指示やコマンドに対応する制御情報や、システムメンテナンス情報、システムメンテナンス情報の同期処理に用いる書込フラグなどが記憶されている。書込フラグは、第1書込開始フラグ、第1書込終了フラグ、第2書込開始フラグ、及び、第2書込終了フラグの4つのフラグを含む。この4つのフラグは、システムメンテナンス情報を更新している最中に障害などが発生した場合に備え、更新の処理が正しく完了したかを検出するために用いられる。   The storage unit 14 stores control information corresponding to the above-described instructions and commands, system maintenance information, a write flag used for system maintenance information synchronization processing, and the like. The write flag includes four flags: a first write start flag, a first write end flag, a second write start flag, and a second write end flag. These four flags are used to detect whether or not the update process has been completed correctly in case a failure or the like occurs while updating the system maintenance information.

また、記憶部14には、入出力装置2から入力された指示又はコマンドや、処理装置3から受信した処理結果や状態を示す情報などが利用状況の記録(ログ)として記憶される。また、前述のように、システムメンテナンス情報にはマシンコントロール装置1の動作や各処理装置3の制御に用いられるパラメータが含まれている。そこで、マシンコントロール装置1を起動する都度のシステムメンテナンス情報の設定を不要にするために、記憶部14には不揮発性の半導体メモリなどが用いられる。   In addition, the storage unit 14 stores instructions or commands input from the input / output device 2, information indicating processing results and status received from the processing device 3, and the like as usage status records (logs). As described above, the system maintenance information includes parameters used for the operation of the machine control device 1 and the control of each processing device 3. Therefore, in order to make it unnecessary to set system maintenance information every time the machine control device 1 is activated, a nonvolatile semiconductor memory or the like is used for the storage unit 14.

図2は、本実施形態のマシンコントロール装置1におけるシステムメンテナンス情報の書込、更新の処理を示すフローチャートである。マシンコントロール装置1において、記憶部14に新たなシステムメンテナンス情報を書き込む処理、又はシステムメンテナンス情報の更新処理が開始されると、制御部12は、記憶部14に設けられている4つのフラグのうち、第1書込開始フラグへの書き込みを行うとともに、第1書込終了フラグ、第2書込開始フラグ、及び第2書込終了フラグを初期化する(ステップS11)。例えば、フラグへの書き込みは「0」を記憶させる動作であり、初期化は「1」を記憶させる動作である。   FIG. 2 is a flowchart showing processing for writing and updating system maintenance information in the machine control device 1 of the present embodiment. When the process of writing new system maintenance information in the storage unit 14 or the update process of the system maintenance information is started in the machine control device 1, the control unit 12 includes the four flags provided in the storage unit 14. In addition to writing to the first write start flag, the first write end flag, the second write start flag, and the second write end flag are initialized (step S11). For example, writing to the flag is an operation for storing “0”, and initialization is an operation for storing “1”.

制御部12は、第1書込開始フラグへの書き込みを終えると、記憶部14に記憶させるべきシステムメンテナンス情報を、記憶部14が有する記憶領域の第1記憶領域に書き込む(ステップS12)。
制御部12は、第1記憶領域へのシステムメンテナンス情報の書き込みを終えると、第1書込終了フラグへの書き込みを行う(ステップS13)。
When the writing to the first writing start flag is finished, the control unit 12 writes the system maintenance information to be stored in the storage unit 14 in the first storage area of the storage area of the storage unit 14 (step S12).
When the controller 12 finishes writing the system maintenance information to the first storage area, the controller 12 writes to the first write end flag (step S13).

制御部12は、第1書込終了フラグへの書き込みを終えると、第2書込開始フラグへの書き込みを行う(ステップS14)。
制御部12は、第2書込開始フラグへの書き込みを終えると、記憶部14に記憶させるべきシステムメンテナンス情報を、記憶部14が有する記憶領域のうち第1記憶領域と異なる第2記憶領域に書き込む(ステップS15)。
When the control unit 12 finishes writing to the first write end flag, the control unit 12 writes to the second write start flag (step S14).
When the control unit 12 finishes writing to the second write start flag, the system maintenance information to be stored in the storage unit 14 is stored in a second storage area different from the first storage area in the storage area of the storage unit 14. Write (step S15).

制御部12は、第2記憶領域へのシステムメンテナンス情報の書き込みを終えると、第2書込終了フラグへの書き込みを行い(ステップS16)、処理を終了させる。
制御部12は、システムメンテナンス情報の書き込み、更新を行う際、前述のように4つのフラグ及び2つの記憶領域への書き込みを行うことにより、処理の途中においてマシンコントロール装置1に障害が発生したり、マシンコントロール装置1のシャットダウン処理が正常に行われずに異常終了した場合においても、書き込みや更新が正しく終えたか否かを検出できるようにしている。なお、システムメンテナンス情報の書込、更新の処理の最中にマシンコントロール装置1がシャットダウン処理の要求を受け付けた場合、制御部12は、システムメンテナンス情報の書込、更新の処理を終えた後にシャットダウン処理を行う。
When the control unit 12 finishes writing the system maintenance information to the second storage area, the control unit 12 writes the second write end flag (step S16) and ends the process.
When the system maintenance information is written and updated, the control unit 12 performs writing to the four flags and the two storage areas as described above, thereby causing a failure in the machine control device 1 during the processing. Even when the shutdown process of the machine control device 1 is not normally performed and ends abnormally, it is possible to detect whether writing or updating has been correctly completed. If the machine control device 1 receives a request for shutdown processing during the writing or updating of system maintenance information, the control unit 12 shuts down after completing the writing and updating of system maintenance information. Process.

例えば、システムメンテナンス情報の書き込み又は更新の処理において、ステップS11が行われる前に、マシンコントロール装置1に障害や異常終了が発生した場合、記憶部14に記憶されているシステムメンテナンス情報に不備はないので、次回の起動において、制御部12は記憶部14に記憶されているシステムメンテナンス情報を読み出す。
ステップS11の処理が完了した後からステップS16の処理が完了する前までに、マシンコントロール装置1に障害や異常終了が発生した場合、記憶部14に記憶されているシステムメンテナンス情報に不備がある可能性があるので、次回の起動において、制御部12はデフォルト情報などを用いる。
For example, in the process of writing or updating the system maintenance information, if a failure or abnormal termination occurs in the machine control device 1 before step S11 is performed, the system maintenance information stored in the storage unit 14 is not incomplete. Therefore, at the next startup, the control unit 12 reads the system maintenance information stored in the storage unit 14.
If a failure or abnormal termination occurs in the machine control device 1 after the process of step S11 is completed and before the process of step S16 is completed, the system maintenance information stored in the storage unit 14 may be incomplete. Therefore, in the next activation, the control unit 12 uses default information or the like.

また、ステップS16の処理が完了した後に、マシンコントロール装置1に障害や異常終了が発生した場合、記憶部14に記憶されているシステムメンテナンス情報に不備はないので、次回の起動において、制御部12は記憶部14に記憶されているシステムメンテナンス情報を読み出す。
このように、システムメンテナンス情報を多重化するとともに、4つのフラグを用いて処理が途中で中断されずに完了したか否かを検出できるようにしている。
Further, if a failure or abnormal termination occurs in the machine control device 1 after the processing of step S16 is completed, the system maintenance information stored in the storage unit 14 is not incomplete, so that the control unit 12 is not activated at the next startup. Reads the system maintenance information stored in the storage unit 14.
As described above, the system maintenance information is multiplexed, and it is possible to detect whether or not the process is completed without being interrupted by using four flags.

図3は、本実施形態におけるマシンコントロール装置1における起動時の処理を示すフローチャートである。なお、同図における起動時の処理は、マシンコントロール装置1の動作モードが待機モードである場合の処理である。マシンコントロール装置1において、電源の供給が開始されるなどして、起動時の処理が開始されると、制御部12は、記憶部14に記憶されている2つの記憶領域のシステムメンテナンス情報と4つのフラグとを読み出す(ステップS21)。   FIG. 3 is a flowchart showing processing at the time of activation in the machine control device 1 according to the present embodiment. It should be noted that the process at the time of startup in the figure is a process when the operation mode of the machine control device 1 is the standby mode. In the machine control device 1, when the process at the start-up is started, for example, when the supply of power is started, the control unit 12 stores the system maintenance information 4 in the two storage areas stored in the storage unit 14. One flag is read (step S21).

制御部12は、ステップS21において読み出した4つのフラグである第1書込開始フラグ、第1書込終了フラグ、第2書込開始フラグ、及び第2書込終了フラグのすべてのフラグが書き込み状態であるか否かを判定する(ステップS22)。
4つのフラグすべてが書き込み状態でない場合(ステップS22:NO)、制御部12は、記憶部14に記憶されているシステムメンテナンス情報に不備があると判定し、デフォルト情報にて起動する(ステップS23)。
In the control unit 12, all the four flags read in step S21, the first write start flag, the first write end flag, the second write start flag, and the second write end flag are in the write state. It is determined whether or not (step S22).
When all the four flags are not in the written state (step S22: NO), the control unit 12 determines that the system maintenance information stored in the storage unit 14 is incomplete and starts with default information (step S23). .

制御部12は、不備の可能性があるシステムメンテナンス情報を破棄し、デフォルト情報を新たなシステムメンテナンス情報として記憶部14に書き込んで記憶させる(ステップS24)。なお、ステップS24における書き込みは、図2に示した処理によって行われる。
制御部12は、デフォルト情報を用いて起動したことを通知する情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS25)、デフォルト情報により起動したことを入出力装置2に表示させて処理を終了させる。
The control unit 12 discards system maintenance information that may be incomplete and writes default information as new system maintenance information in the storage unit 14 for storage (step S24). Note that the writing in step S24 is performed by the processing shown in FIG.
The control unit 12 outputs information notifying that it has been activated using default information to the input / output device 2 via the user interface unit 11 (step S25), and notifies the input / output device 2 that it has been activated based on the default information. Display and finish the process.

ステップS22において、4つのフラグすべてが書き込み状態である場合(ステップS22:YES)、制御部12は、2つの記憶領域から読み出したシステムメンテナンス情報が一致するか否かを判定する(ステップS26)。
2つのシステムメンテナンス情報が一致していない場合(ステップS26:NO)、制御部12は、読み出したシステムメンテナンス情報に不備があると判定し、処理をステップS23に進め、デフォルト情報による起動を行う。
In step S22, when all the four flags are in the writing state (step S22: YES), the control unit 12 determines whether or not the system maintenance information read from the two storage areas matches (step S26).
If the two pieces of system maintenance information do not match (step S26: NO), the control unit 12 determines that the read system maintenance information is incomplete, advances the process to step S23, and activates the default information.

一方、2つのシステムメンテナンス情報が一致している場合(ステップS26:YES)、制御部12は、システムメンテナンス情報に不備はないと判定し、読み出したシステムメンテナンス情報にて起動する(ステップS27)。
制御部12は、読み出したシステムメンテナンス情報を用いて起動したこと、すなわち正常起動したことを示す情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS28)、正常起動したことを入出力装置2に表示させて処理を終了させる。
On the other hand, if the two system maintenance information matches (step S26: YES), the control unit 12 determines that the system maintenance information is not incomplete and starts up with the read system maintenance information (step S27).
The control unit 12 outputs information indicating that it has been started using the read system maintenance information, that is, normal startup to the input / output device 2 via the user interface unit 11 (step S28), and has been normally started. Is displayed on the input / output device 2 and the processing is terminated.

図4は、本実施形態におけるマシンコントロール装置1における起動時の処理を示すフローチャートである。なお、同図における起動時の処理は、マシンコントロール装置1の動作モードが稼働モードである場合の処理である。マシンコントロール装置1において、電源の供給が開始されるなどして、起動時の処理が開始されると、制御部12は、記憶部14に記憶されている2つの記憶領域のシステムメンテナンス情報と、4つのフラグとを読み出す(ステップS31)。   FIG. 4 is a flowchart showing processing at the time of activation in the machine control device 1 according to the present embodiment. In addition, the process at the time of starting in the figure is a process when the operation mode of the machine control device 1 is the operation mode. In the machine control device 1, when the process at the start-up is started, for example, when the supply of power is started, the control unit 12 includes system maintenance information of two storage areas stored in the storage unit 14, The four flags are read (step S31).

制御部12は、ステップS31において読み出した4つのフラグ(第1書込開始フラグ、第1書込終了フラグ、第2書込開始フラグ、及び第2書込終了フラグ)すべてが書き込み状態であるか否かを判定する(ステップS32)。
4つのフラグすべてが書き込み状態でない場合(ステップS32:NO)、制御部12は、記憶部14に記憶されているシステムメンテナンス情報に不備があると判定し、通信インタフェース部13のいずれかを通じて、他のマシンコントロール装置1に対してシステムメンテナンス情報を要求する(ステップS33)。
Whether the control unit 12 is in the write state in all four flags (first write start flag, first write end flag, second write start flag, and second write end flag) read in step S31. It is determined whether or not (step S32).
When all the four flags are not in the written state (step S32: NO), the control unit 12 determines that the system maintenance information stored in the storage unit 14 is incomplete, and passes through any of the communication interface units 13 to System maintenance information is requested to the machine control device 1 (step S33).

マシンコントロール装置1aにおいて、他のマシンコントロール装置1bからシステムメンテナンス情報を要求された場合、制御部12は、自装置の記憶部14に記憶されている4つのフラグすべてが書き込み状態であること、及び2つのシステムメンテナンス情報が一致していることが検出できた場合に、自装置の記憶部14に記憶されているシステムメンテナンス情報を、要求元のマシンコントロール装置1bに送信する。   In the machine control device 1a, when the system maintenance information is requested from another machine control device 1b, the control unit 12 indicates that all four flags stored in the storage unit 14 of the own device are in a write state, and When it is detected that the two system maintenance information matches, the system maintenance information stored in the storage unit 14 of the own device is transmitted to the requesting machine control device 1b.

ステップS33における要求に応じて、他のマシンコントロール装置1からシステムメンテナンス情報を受信できた場合(ステップS34:YES)、制御部12は、受信したシステムメンテナンス情報にて起動する(ステップS35)。
制御部12は、不備の可能性があるシステムメンテナンス情報を破棄し、受信したシステムメンテナンス情報を新たなシステムメンテナンス情報として記憶部14に書き込んで記憶させる(ステップS36)。なお、ステップS36における書き込みは、図2に示した処理によって行われる。
When the system maintenance information can be received from the other machine control device 1 in response to the request in step S33 (step S34: YES), the control unit 12 is activated with the received system maintenance information (step S35).
The control unit 12 discards system maintenance information that may be incomplete and writes the received system maintenance information as new system maintenance information in the storage unit 14 for storage (step S36). Note that the writing in step S36 is performed by the processing shown in FIG.

制御部12は、受信したシステムメンテナンス情報を用いて起動したことを通知する情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS37)、受信したシステムメンテナンス情報により起動したことを入出力装置2に表示させて処理を終了させる。   The control unit 12 outputs information notifying that it has been activated using the received system maintenance information to the input / output device 2 via the user interface unit 11 (step S37), and has been activated based on the received system maintenance information Is displayed on the input / output device 2 and the processing is terminated.

ステップS33における要求に応じて、他のマシンコントロール装置1からシステムメンテナンス情報を受信できなかった場合(ステップS34:NO)、制御部12は、記憶部14に記憶されているデフォルト情報を読み出し、当該デフォルト情報にて起動する(ステップS38)。
制御部12は、不備の可能性があるシステムメンテナンス情報を破棄し、デフォルト情報を新たなシステムメンテナンス情報として記憶部14に書き込んで記憶させる(ステップS39)。なお、ステップS39における書き込みは、図2に示した処理によって行われる。
When the system maintenance information cannot be received from the other machine control device 1 in response to the request in step S33 (step S34: NO), the control unit 12 reads the default information stored in the storage unit 14, and It starts with default information (step S38).
The control unit 12 discards system maintenance information that may be incomplete and writes default information as new system maintenance information in the storage unit 14 for storage (step S39). Note that the writing in step S39 is performed by the processing shown in FIG.

制御部12は、デフォルト情報を用いて起動したことを通知する情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS40)、デフォルト状態により起動したことを入出力装置2に表示させて処理を終了させる。   The control unit 12 outputs information notifying that it has been activated using default information to the input / output device 2 via the user interface unit 11 (step S40), and notifies the input / output device 2 that it has been activated in the default state. Display and finish the process.

ステップS32において、4つのフラグすべてが書き込み状態である場合(すてっぷS32:YES)、制御部12は、2つの記憶領域から読み出したシステムメンテ何畳法が一致する過否かを判定する(ステップS41)。
2つのシステムメンテナンス情報が一致していない場合(ステップS41:NO)、制御部12は、読み出したシステムメンテナンス情報に不備があると判定し、処理をステップS33に進め、他のマシンコントロール装置1からシステムメンテナンス情報又はデフォルト情報による起動を行う。
In step S32, when all the four flags are in the written state (step S32: YES), the control unit 12 determines whether the system maintenance method read from the two storage areas matches (step S41). ).
When the two pieces of system maintenance information do not match (step S41: NO), the control unit 12 determines that the read system maintenance information is incomplete, and proceeds to step S33, from other machine control devices 1. Starts with system maintenance information or default information.

一方、2つのシステムメンテナンス情報が一致している場合(ステップS41:YES)、制御部12は、システムメンテナンス情報に不備はないと判定し、読み出したシステムメンテナンス情報似て起動する(ステップS42)。
制御部12は、読み出したシステムメンテナンス情報を用いて起動したこと、すなわち生業起動したことを示す情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS43)、正常起動したことを入出力装置2に表示させて処理を終了させる。
On the other hand, if the two system maintenance information matches (step S41: YES), the control unit 12 determines that the system maintenance information is not incomplete and starts up similarly to the read system maintenance information (step S42).
The control unit 12 outputs information indicating that it has started using the read system maintenance information, that is, that the business has started, to the input / output device 2 via the user interface unit 11 (step S43), and has started normally Is displayed on the input / output device 2 and the processing is terminated.

図5は、本実施形態におけるマシンコントロール装置1におけるシステムメンテナンス情報を変更する処理を示すフローチャートである。システムメンテナンス情報を変更するコマンドが入出力装置2から入力されると処理を開始し、マシンコントロール装置1において制御部12が、ユーザインタフェース部11を介して当該コマンドを受け付け、制御部12内に一時的に記憶しているシステムメンテナンス情報を更新する(ステップS51)。   FIG. 5 is a flowchart showing processing for changing the system maintenance information in the machine control device 1 according to the present embodiment. When a command for changing the system maintenance information is input from the input / output device 2, the process is started. In the machine control device 1, the control unit 12 receives the command via the user interface unit 11, and temporarily enters the control unit 12. The stored system maintenance information is updated (step S51).

制御部12は、更新したシステムメンテナンス情報を新たなシステムメンテナンス情報として記憶部14に書き込んで記憶させる(ステップS52)。なお、ステップS52における書き込みは、図2に示した処理によって行われる。
制御部12は、システムメンテナンス情報の書き込みを終えると、システムメンテナンス情報の書き込みが完了したことを示す情報を、ユーザインタフェース部11を介して入出力装置2に出力し(ステップS53)、更新が終了したことを入出力装置2に表示させて勝利を終了させる。
The control unit 12 writes the updated system maintenance information into the storage unit 14 as new system maintenance information and stores it (step S52). Note that the writing in step S52 is performed by the processing shown in FIG.
When the writing of the system maintenance information is completed, the control unit 12 outputs information indicating that the writing of the system maintenance information is completed to the input / output device 2 via the user interface unit 11 (step S53), and the update is completed. This is displayed on the input / output device 2 to end the victory.

図6と図7とは、本実施形態の多重化制御監視システムにおける入出力装置2に対する排他制御の一例を示すシーケンス図である。ここでは、マシンコントロール装置1aが起動しており、マシンコントロール装置1aの動作モードが稼働モードである状態を初期状態として説明する。また、マシンコントロール装置1aを操作する権利である制御権は、入出力装置2aと入出力装置2bとのいずれも取得していないものとする。   6 and 7 are sequence diagrams showing an example of exclusive control for the input / output device 2 in the multiplexing control monitoring system of the present embodiment. Here, the state in which the machine control device 1a is activated and the operation mode of the machine control device 1a is the operation mode will be described as an initial state. Further, it is assumed that neither the input / output device 2a nor the input / output device 2b has acquired the control right that is the right to operate the machine control device 1a.

入出力装置2aは、ユーザの操作に応じてマシンコントロール装置1aの制御権を取得するために、BUSY要求をマシンコントロール装置1aに入力する(ステップS61)。
マシンコントロール装置1aの制御部12は、BUSY要求に応じて、自装置の制御権を入出力装置2aに与えることを示すBUSY受理を入出力装置2a及び入出力装置2bに出力し(ステップS62)、マシンコントロール装置1aの制御権を入出力装置2aが取得したことを表示させる。
The input / output device 2a inputs a BUSY request to the machine control device 1a in order to acquire the control right of the machine control device 1a according to the user's operation (step S61).
In response to the BUSY request, the control unit 12 of the machine control device 1a outputs a BUSY acceptance indicating that the control right of the own device is given to the input / output device 2a to the input / output device 2a and the input / output device 2b (step S62). The fact that the input / output device 2a has acquired the control right of the machine control device 1a is displayed.

入出力装置2aは、マシンコントロール装置1aの制御権、すなわち多重化制御監視システムにおける各処理装置3を利用する権利を取得すると、各処理装置3を制御する指示やコマンドをマシンコントロール装置1aに出力する(ステップS63−1、S63−2、…、S63−n)。
マシンコントロール装置1aにおいて、入出力装置2aから出力される指示やコマンドは、通信インタフェース部13を介して制御部12に入力され、制御部12は指示やコマンドに対応する制御情報を通信インタフェース部13を介して各処理装置3に送信する(ステップS64−1、S64−2、…、S64−n)。
When the input / output device 2a acquires the control right of the machine control device 1a, that is, the right to use each processing device 3 in the multiplexing control monitoring system, the input / output device 2a outputs an instruction or a command for controlling each processing device 3 to the machine control device 1a. (Steps S63-1, S63-2, ..., S63-n).
In the machine control device 1a, instructions and commands output from the input / output device 2a are input to the control unit 12 via the communication interface unit 13, and the control unit 12 transmits control information corresponding to the instructions and commands to the communication interface unit 13. To each processing device 3 (steps S64-1, S64-2, ..., S64-n).

入出力装置2aがマシンコントロール装置1aの制御権を取得している間は、入出力装置2bがBUSY要求をマシンコントロール装置1aに出力したり(ステップS65)、処理装置3を制御する指示やコマンドを入出力装置2bがマシンコントロール装置1aに出力したりしても(ステップS66)、マシンコントロール装置1aは応答しない。   While the input / output device 2a acquires the control right of the machine control device 1a, the input / output device 2b outputs a BUSY request to the machine control device 1a (step S65), and an instruction or command for controlling the processing device 3 Even if the input / output device 2b outputs to the machine control device 1a (step S66), the machine control device 1a does not respond.

マシンコントロール装置1aの制御部12は、通信インタフェース部13を介して、
処理装置3の状態を把握するために状態を示す状態情報の要求を処理装置3に送信する(ステップS71)。制御部12は、通信インタフェース部13を介して、処理装置3の応答としての状態情報を受信する(ステップS72)。
The control unit 12 of the machine control device 1a is connected via the communication interface unit 13.
In order to grasp the state of the processing device 3, a request for state information indicating the state is transmitted to the processing device 3 (step S71). The control unit 12 receives state information as a response of the processing device 3 via the communication interface unit 13 (step S72).

制御部12は、ユーザインタフェース部11を介して、受信した状態情報を入出力装置2aと入出力装置2bとに出力して各処理装置3の状態を表示させる(ステップS73)。なお、各処理装置3の状態を示す状態情報の通知は、制御権の有無に拘わらず、マシンコントロール装置1aに接続されているすべての入出力装置2a、2bに対して行われる。   The control unit 12 outputs the received status information to the input / output device 2a and the input / output device 2b via the user interface unit 11 to display the status of each processing device 3 (step S73). The notification of the status information indicating the status of each processing device 3 is made to all the input / output devices 2a and 2b connected to the machine control device 1a regardless of the presence or absence of the control right.

入出力装置2aは、ユーザの操作に応じてマシンコントロール装置1aの制御権を解放するために、BUSY解除要求をマシンコントロール装置1aに入力する(ステップS75)。
マシンコントロール装置1aの制御部12は、BUSY解放要求に応じて、入出力装置2aの制御権を解除し、マシンコントロール装置1aの制御権が解放されたことを示すBUSY解除を入出力装置2a及び入出力装置2bに出力し(ステップS76)、マシンコントロール装置1aの制御権が解放されたことを表示させる。
The input / output device 2a inputs a BUSY release request to the machine control device 1a in order to release the control right of the machine control device 1a in accordance with a user operation (step S75).
In response to the BUSY release request, the control unit 12 of the machine control device 1a releases the control right of the input / output device 2a, and releases the BUSY release indicating that the control right of the machine control device 1a has been released. The data is output to the input / output device 2b (step S76) to display that the control right of the machine control device 1a has been released.

入出力装置2bは、ユーザの操作に応じてマシンコントロール装置1aの制御権を取得するために、BUSY要求をマシンコントロール装置1aに入力する(ステップS81)。
マシンコントロール装置1aの制御部12は、BUSY要求に応じて、自装置の制御権を入出力装置2bに与えることを示すBUSY受理を入出力装置2a及び入出力装置2bに出力し(ステップS82)、マシンコントロール装置1aの制御権を入出力装置2bが取得したことを表示させる。
The input / output device 2b inputs a BUSY request to the machine control device 1a in order to acquire the control right of the machine control device 1a in accordance with a user operation (step S81).
In response to the BUSY request, the control unit 12 of the machine control device 1a outputs a BUSY acceptance indicating that the control right of the own device is given to the input / output device 2b to the input / output device 2a and the input / output device 2b (step S82). Then, it is displayed that the input / output device 2b has acquired the control right of the machine control device 1a.

入出力装置2bは、マシンコントロール装置1aの制御権、すなわち多重化制御監視システムにおける各処理装置3を利用する権利を取得すると、各処理装置3を制御する指示やコマンドをマシンコントロール装置1aに出力する(ステップS83−1、S83−2、…、S83−n)。
マシンコントロール装置1aにおいて、入出力装置2bから出力される指示やコマンドは、通信インタフェース部13を介して制御部12に入力され、制御部12は指示やコマンドに対応する制御情報を通信インタフェース部13を介して各処理装置3に送信する(ステップS84−1、S84−2、…、S84−n)。
When the input / output device 2b acquires the control right of the machine control device 1a, that is, the right to use each processing device 3 in the multiplexing control monitoring system, the input / output device 2b outputs an instruction or a command for controlling each processing device 3 to the machine control device 1a. (Steps S83-1, S83-2,..., S83-n).
In the machine control device 1a, an instruction or command output from the input / output device 2b is input to the control unit 12 via the communication interface unit 13, and the control unit 12 transmits control information corresponding to the instruction or command to the communication interface unit 13. To each processing device 3 (steps S84-1, S84-2,..., S84-n).

マシンコントロール装置1aの制御部12は、入出力装置2bが制御権を取得してから予め定められたタイムアウト期間の間に、制御権の延長要求又はBUSY解除要求が入力されないと、入出力装置2bの制御権を解除し、マシンコントロール装置1aの制御権が解放されたことを示すBUSY解除を入出力装置2a及び入出力装置2bに出力し(ステップS85)、マシンコントロール装置1aの制御権が解放されたことを表示させる。   If the control right extension request or the BUSY release request is not input during a predetermined timeout period after the input / output device 2b obtains the control right, the control unit 12 of the machine control device 1a receives the input / output device 2b. The control right of the machine control device 1a is released, a BUSY release indicating that the control right of the machine control device 1a is released is output to the input / output device 2a and the input / output device 2b (step S85), and the control right of the machine control device 1a is released. Display the message.

なお、制御部12は、制御権を取得している入出力装置2からの制御権の延長要求のみを受け付ける。制御部12は、制御権を取得していない入出力装置2からの制御権の延長要求を受け付けない。なお、制御権の延長要求は、BUSY要求を再度入力することにより行われる。また、タイムアウト期間は、固定期間(例えば20秒など)であってもよいし、システムメンテナンス情報に含まれるパラメータによって定めるようにしてもよい。すなわち、システムメンテナンス情報を更新することにより、多重化制御監視システムの利用状況に応じて変更できるようにしてもよい。   The control unit 12 accepts only a control right extension request from the input / output device 2 that has acquired the control right. The control unit 12 does not accept a control right extension request from the input / output device 2 that has not acquired the control right. Note that the control right extension request is made by inputting the BUSY request again. The timeout period may be a fixed period (for example, 20 seconds), or may be determined by a parameter included in the system maintenance information. In other words, the system maintenance information may be updated so that it can be changed according to the use status of the multiplexed control monitoring system.

図8と図9とは、本実施形態の多重化制御監視システムにおけるシステムメンテナンス情報の同期の一例を示すシーケンス図である。ここでは、マシンコントロール装置1aとマシンコントロール装置1bとは起動していない状態を初期状態として説明する。また、マシンコントロール装置1aをメインに用いて各処理装置3を制御し、マシンコントロール装置1bをバックアップ用とする。例えば、複数のマシンコントロール装置1のうちいずれをメインとして用いるマシンコントロール装置1(主制御装置)とするかは、システムメンテナンス情報に含まれるパラメータで定めるようにしてもよいし、ハードウェアスイッチ等を用いて事前に定めるようにしてもよい。   8 and 9 are sequence diagrams showing an example of synchronization of system maintenance information in the multiplexed control monitoring system of the present embodiment. Here, a state where the machine control device 1a and the machine control device 1b are not activated will be described as an initial state. The machine control device 1a is mainly used to control each processing device 3, and the machine control device 1b is used for backup. For example, which of the plurality of machine control devices 1 is used as the main machine control device 1 (main control device) may be determined by a parameter included in the system maintenance information, or a hardware switch or the like may be set. It may be determined in advance.

マシンコントロール装置1aが起動していない状態では、入出力装置2aがマシンコントロール装置1aに対して動作モードを要求するコマンドを入力しても(ステップS100)、当該コマンドに対してマシンコントロール装置1aは応答しない。同様に、入出力装置2bがマシンコントロール装置1aに対して動作モードを要求するコマンドを入力しても(ステップS101)、当該コマンドに対してマシンコントロール装置1aは応答しない。なお、マシンコントロール装置1は、システムメンテナンス情報又はデフォルト情報による起動が完了するまで、入出力装置2からの要求には応答しない。   In a state where the machine control device 1a is not activated, even if the input / output device 2a inputs a command requesting an operation mode to the machine control device 1a (step S100), the machine control device 1a responds to the command. Do not respond. Similarly, even if the input / output device 2b inputs a command requesting an operation mode to the machine control device 1a (step S101), the machine control device 1a does not respond to the command. Note that the machine control device 1 does not respond to a request from the input / output device 2 until activation by the system maintenance information or default information is completed.

マシンコントロール装置1aは、電源が供給されるなどして起動すると、動作モードを待機モードとし、他のマシンコントロール装置1bに対して動作モードを問い合わせる(ステップS103)。マシンコントロール装置1aは、ステップS103の問い合わせの応答として、動作モードが待機モードであることを示す情報をマシンコントロール装置1bから受信する(ステップS104)。なお、マシンコントロール装置1aとマシンコントロール装置1bとは、通信インタフェース部13のいずれかを用いて通信して、動作モードの問い合わせ及びその応答を行う。   When the machine control device 1a is started by supplying power or the like, the operation mode is set to the standby mode, and the operation mode is inquired to the other machine control device 1b (step S103). As a response to the inquiry in step S103, the machine control device 1a receives information indicating that the operation mode is the standby mode from the machine control device 1b (step S104). Note that the machine control device 1a and the machine control device 1b communicate with each other using any of the communication interface units 13 to make an inquiry about an operation mode and a response to the inquiry.

マシンコントロール装置1aの制御部12は、自装置がメインに用いられること、他のマシンコントロール装置1bの動作モードが待機モードであることを検出すると、自装置の動作モードを稼働モードに切り替え(ステップS105)、自装置の動作モードが稼働モードであることを他のマシンコントロール装置1bに通知する(ステップS106)。また、マシンコントロール装置1aの制御部12は、図4に示した起動時の処理を実行し、自装置の起動に用いたシステムメンテナンス情報を他のマシンコントロール装置1bに送信し、システムメンテナンス情報の同期を図る(ステップS107)。なお、マシンコントロール装置1bにおけるシステムメンテナンス情報の同期は、図5に示したシステムメンテナンス情報を更新する処理と同様に、マシンコントロール装置1aから受信したシステムメンテナンス情報を用いて行われる。   When the control unit 12 of the machine control device 1a detects that the own device is mainly used and the operation mode of the other machine control device 1b is the standby mode, the control unit 12 switches the operation mode of the own device to the operation mode (step S105) Notifies the other machine control device 1b that the operation mode of the own device is the operation mode (step S106). Further, the control unit 12 of the machine control device 1a executes the process at the time of startup shown in FIG. 4, transmits the system maintenance information used for starting the own device to the other machine control device 1b, and stores the system maintenance information. Synchronization is attempted (step S107). The synchronization of the system maintenance information in the machine control device 1b is performed using the system maintenance information received from the machine control device 1a, as in the process of updating the system maintenance information shown in FIG.

稼働モードで動作しているマシンコントロール装置1aは、自装置に接続されている各処理装置3に対して、処理装置3の状態を把握するために状態情報の要求を送信する(ステップS111)。なお、各処理装置3に対する状態情報の要求は、予め定められた時間間隔で行うようにしてもよいし、システムメンテナンス情報のパラメータで定められた時間間隔で行うようにしてもよい。また、状態情報を要求する時間間隔は、処理装置3ごとに異なる時間間隔を定めるようにしてもよい。
マシンコントロール装置1aは、各処理装置3から状態情報を受信すると、受信した状態情報を入出力装置2a及び入出力装置2bに出力して、各処理装置3の状態を表示させる(ステップS113)。
The machine control device 1a operating in the operation mode transmits a request for state information to grasp the state of the processing device 3 to each processing device 3 connected to the own device (step S111). The request for status information for each processing device 3 may be performed at a predetermined time interval or may be performed at a time interval determined by a parameter of system maintenance information. Further, the time interval for requesting the state information may be set to a different time interval for each processing device 3.
When the machine control device 1a receives the status information from each processing device 3, the machine control device 1a outputs the received status information to the input / output device 2a and the input / output device 2b to display the status of each processing device 3 (step S113).

また、稼働モードと待機モードとのいずれの動作モードであるかに拘わらず、マシンコントロール装置1a及びマシンコントロール装置1bは、互いの動作状態を把握するために通信可能な通信インタフェース部13すべてを用いて死活監視を行う(ステップS115、ステップS116)。このとき、すべての通信インタフェース部13を通じて応答が得られないときは、死活監視対象のマシンコントロール装置1がシャットダウンしているか、又は障害によりダウンしている可能性がるので、入出力装置2に対してアラームを出力するようにしてもよい。或いは、マシンコントロール装置1が互いにネットワーク等を通じて遠隔操作が可能であれば、シャットダウンの後に再起動するようにコマンド等を送信するようにしてもよい。   Regardless of whether the operation mode is the operation mode or the standby mode, the machine control device 1a and the machine control device 1b use all the communication interface units 13 that can communicate to grasp each other's operation state. The life and death monitoring is performed (step S115, step S116). At this time, if no response is obtained through all the communication interface units 13, the machine control device 1 to be monitored for life or death may be shut down or down due to a failure. Alternatively, an alarm may be output. Alternatively, if the machine control devices 1 can be remotely operated via a network or the like, a command or the like may be transmitted so as to restart after shutdown.

マシンコントロール装置1aの制御部12は、入出力装置2aから動作モード要求が入力されると(ステップS121)、当該動作モード要求に対する応答として自装置の動作モードが稼働モードであることを通知する(ステップS122)。
また、マシンコントロール装置1aの制御部12は、入出力装置2bから動作モード要求が入力されると(ステップS123)、当該動作モード要求に対する応答として自装置の動作モードが稼働モードであることを通知する(ステップS124)。
When the operation mode request is input from the input / output device 2a (step S121), the control unit 12 of the machine control device 1a notifies that the operation mode of the own device is the operation mode as a response to the operation mode request ( Step S122).
When the operation mode request is input from the input / output device 2b (step S123), the control unit 12 of the machine control device 1a notifies that the operation mode of the own device is the operation mode as a response to the operation mode request. (Step S124).

マシンコントロール装置1aの制御部12は、入出力装置2aからBUSY要求が入力されると(ステップS131)、自装置の制御権を入出力装置2aと入出力装置2bとのいずれにも与えていないので、入出力装置2aに自装置の制御権を与える。マシンコントロール装置1aの制御部12は、自装置の制御権を入出力装置2aに与えることを示すBUSY受理を入出力装置2a及び入出力装置2bに出力し(ステップS132)、マシンコントロール装置1aの制御権を入出力装置2aが取得したことを表示させる。   When the BUSY request is input from the input / output device 2a (step S131), the control unit 12 of the machine control device 1a does not give the right to control the own device to either the input / output device 2a or the input / output device 2b. Therefore, the control right of the own device is given to the input / output device 2a. The control unit 12 of the machine control device 1a outputs a BUSY acceptance indicating that the control right of the own device is given to the input / output device 2a to the input / output device 2a and the input / output device 2b (step S132). The fact that the input / output device 2a has acquired the control right is displayed.

マシンコントロール装置1aの制御部12は、入出力装置2aからシステムメンテナンス情報の変更を示すコマンドが入力されると(ステップS133)、図5に示したシステムメンテナンス情報を変更する処理を行う(ステップS134)。   When a command indicating change of system maintenance information is input from the input / output device 2a (step S133), the control unit 12 of the machine control device 1a performs processing for changing the system maintenance information illustrated in FIG. 5 (step S134). ).

システムメンテナンス情報の更新が完了すると、マシンコントロール装置1aの制御部12は、自装置のシステムメンテナンス情報と他のマシンコントロール装置1bのシステムメンテナンス情報との同期を図るために、更新後のシステムメンテナンス情報と更新の要求とをマシンコントロール装置1bに送信する(ステップS135)。   When the update of the system maintenance information is completed, the control unit 12 of the machine control device 1a updates the updated system maintenance information in order to synchronize the system maintenance information of the own device and the system maintenance information of the other machine control device 1b. And an update request are transmitted to the machine control device 1b (step S135).

マシンコントロール装置1bの制御部12は、マシンコントロール装置1aから受信したシステムメンテナンス情報を用いて、図5に示したシステムメンテナンス情報を更新する処理と同様に行う。   The control unit 12 of the machine control device 1b uses the system maintenance information received from the machine control device 1a in the same manner as the processing for updating the system maintenance information shown in FIG.

図10は、本実施形態の多重化制御監視システムにおける動作モードの切り替えの一例を示すシーケンス図である。ここでは、マシンコントロール装置1aが稼働モードで動作し、マシンコントロール装置1bが待機モードで動作している状態において、入出力装置2cからの要求に応じて、マシンコントロール装置1bを稼働モードで動作させる場合について説明する。   FIG. 10 is a sequence diagram showing an example of operation mode switching in the multiplexing control monitoring system of this embodiment. Here, in a state where the machine control device 1a operates in the operation mode and the machine control device 1b operates in the standby mode, the machine control device 1b is operated in the operation mode in response to a request from the input / output device 2c. The case will be described.

マシンコントロール装置1bの制御部12は、入出力装置2cから動作モード要求が入力されると(ステップS141)、当該動作モード要求に対する応答として自装置の動作モードが待機モードであることを通知する(ステップS142)。   When the operation mode request is input from the input / output device 2c (step S141), the control unit 12 of the machine control device 1b notifies that the operation mode of the own device is the standby mode as a response to the operation mode request (step S141). Step S142).

マシンコントロール装置1bの制御部12は、入出力装置2cからBUSY要求が入力されると(ステップS143)、自装置の制御権を入出力装置2cと入出力装置2dとのいずれにも与えていないので、入出力装置2cに自装置の制御権を与える。マシンコントロール装置1bの制御部12は、自装置の制御権を入出力装置2cに与えることを示すBUSY受理を入出力装置2c及び入出力装置2dに出力し(ステップS144)、マシンコントロール装置1bの制御権を入出力装置2cが取得したことを表示させる。   When a BUSY request is input from the input / output device 2c (step S143), the control unit 12 of the machine control device 1b does not give the right to control the own device to either the input / output device 2c or the input / output device 2d. Therefore, the control right of the own device is given to the input / output device 2c. The control unit 12 of the machine control device 1b outputs a BUSY acceptance indicating that the control right of the own device is given to the input / output device 2c to the input / output device 2c and the input / output device 2d (step S144). It is displayed that the input / output device 2c has acquired the control right.

マシンコントロール装置1bの制御部12は、入出力装置2cから動作モードを稼働モードに切り替えることの要求が入力されると(ステップS145)、マシンコントロール装置1aに対してシャットダウンの要求を送信する(ステップS146)。マシンコントロール装置1bの制御部12は、マシンコントロール装置1aに対して死活監視を行い(ステップS147)、マシンコントロール装置1aがシャットダウンしたことを確認する。   When a request for switching the operation mode to the operation mode is input from the input / output device 2c (step S145), the control unit 12 of the machine control device 1b transmits a shutdown request to the machine control device 1a (step S145). S146). The control unit 12 of the machine control device 1b performs alive monitoring on the machine control device 1a (step S147), and confirms that the machine control device 1a is shut down.

マシンコントロール装置1bの制御部12は、マシンコントロール装置1aがシャットダウンしたことを検出すると、自装置の動作モードを稼働モードに切り替える(ステップS148)。なお、マシンコントロール装置1aがシャットダウンしたことが検出できない場合、マシンコントロール装置1bの制御部12は、自装置の動作モードを稼働モードに切り替えずに、稼働モードへの切り替えが失敗したことを入出力装置2cに通知する。更に、マシンコントロール装置1aのシャットダウンを手動で行う旨を入出力装置2cに通知するようにしてもよい。   When detecting that the machine control device 1a is shut down, the control unit 12 of the machine control device 1b switches the operation mode of the own device to the operation mode (step S148). If it is not possible to detect that the machine control device 1a is shut down, the control unit 12 of the machine control device 1b inputs / outputs that the switch to the operation mode has failed without switching the operation mode of the own device to the operation mode. Notify the device 2c. Further, the input / output device 2c may be notified that the machine control device 1a is manually shut down.

マシンコントロール装置1bの制御部12は、入出力装置2cから動作モード要求が入力されると(ステップS149)、当該動作モード要求に対応する応答として自装置の動作モードが稼働モードであることを通知する(ステップS150)。
マシンコントロール装置1bの制御部12は、入出力装置2cから各処理装置3を制御する指示又はコマンドが入力されると(ステップS151)、入力された指示又はコマンドに対応する制御情報を、通信インタフェース部13を介して各処理装置3に送信する(ステップS152)。
When the operation mode request is input from the input / output device 2c (step S149), the control unit 12 of the machine control device 1b notifies that the operation mode of the own device is the operation mode as a response corresponding to the operation mode request. (Step S150).
When an instruction or command for controlling each processing device 3 is input from the input / output device 2c (step S151), the control unit 12 of the machine control device 1b transmits control information corresponding to the input instruction or command to the communication interface. It transmits to each processing apparatus 3 via the unit 13 (step S152).

マシンコントロール装置1bの制御部12は、入出力装置2cからシステムメンテナンス情報の更新を示すコマンドが入力されると(ステップS153)、図5にしめしたシステムメンテなす情報を更新する処理を行う(ステップS154)。
なお、バックアップ用に定められているマシンコントロール装置1bは、メインとして用いるマシンコントロール装置1aと異なり、自装置のシステムメンテナンス情報と、メインとして用いられるマシンコントロール装置1aのシステムメンテナンス情報との同期を行わない。
When a command indicating update of system maintenance information is input from the input / output device 2c (step S153), the control unit 12 of the machine control device 1b performs processing for updating the information for system maintenance shown in FIG. 5 (step S153). S154).
The machine control device 1b defined for backup is different from the machine control device 1a used as the main, and synchronizes the system maintenance information of the own device with the system maintenance information of the machine control device 1a used as the main. Absent.

図11は、本実施形態におけるマシンコントロール装置1a、1b間における死活監視とシャットダウンとを行うための接続例を示す図である。同図に示すように、マシンコントロール装置1aとマシンコントロール装置1bとは、PIO(汎用デジタル入出力)とEX(外部入出力)とを用いて接続されている。自装置のEXのPin3,4は、相手装置のPIOのIN15に接続されている。自装置のPIOのOUT09は、空いて装置のEXのPin1に接続されている。   FIG. 11 is a diagram illustrating a connection example for performing life and death monitoring and shutdown between the machine control devices 1a and 1b in the present embodiment. As shown in the figure, the machine control device 1a and the machine control device 1b are connected using PIO (general-purpose digital input / output) and EX (external input / output). Pins 3 and 4 of the own device EX are connected to IN15 of the PIO of the partner device. The PIO OUT09 of its own device is open and connected to Pin1 of the device EX.

マシンコントロール装置1は、起動すると、EXのPin3,4をアクティブにする。マシンコントロール装置1は、他のマシンコントロール装置1が起動しているか否か(死活状態)をPIOのIN15に入力される信号のレベルにより検出することができる。   When activated, the machine control device 1 activates Pins 3 and 4 of EX. The machine control device 1 can detect whether or not the other machine control device 1 is activated (dead or active state) based on the level of the signal input to the IN 15 of the PIO.

マシンコントロール装置1は、入出力装置2から死活監視のコマンドが入力されると、EXのPin3,4にパルスを発生させる。PIOのIN15にパルスが入力されると、マシンコントロール装置1は、自装置のEXのPin3、4に入力されたパルスに応答するパルスを発生させる。これにより、マシンコントロール装置1は、互いの状態を検出することができる。   When a command for alive monitoring is input from the input / output device 2, the machine control device 1 generates a pulse on the EX pins 3 and 4. When a pulse is input to the IN 15 of the PIO, the machine control device 1 generates a pulse that responds to the pulse input to the Pins 3 and 4 of the EX of its own device. Thereby, the machine control apparatus 1 can detect each other's state.

マシンコントロール装置1は、入出力装置2から他のマシンコントロール装置1をシャットダウンするコマンド、又は自装置を待機モードから稼働モードに切り替えるコマンドなどが入力されると、PIOのOUT09に所定幅のパルス(例えば4秒のパルス)を発生させる。マシンコントロール装置1は、EXのPin1に所定幅のパルスを検出すると、電源供給を停止したり、シャットダウン処理を開始したりする。   When a command for shutting down another machine control device 1 from the input / output device 2 or a command for switching the own device from the standby mode to the operation mode is input from the input / output device 2, the machine control device 1 outputs a pulse (P For example, a 4-second pulse) is generated. When the machine control device 1 detects a pulse having a predetermined width at Pin 1 of EX, the machine control device 1 stops the power supply or starts the shutdown process.

以上のように構成された本実施形態の多重化制御監視システムでは、マシンコントロール装置1(制御装置)が、自装置及び各処理装置3の制御に用いるパラメータを含むシステムメンテナンス情報を更新する際、記憶部14の異なる記憶領域それぞれに新たなシステムメンテナンス情報を書き込み、書き込みの開始及び終了ごとに書込フラグへの書き込みを行う構成としている(図2)。マシンコントロール装置1は、起動する際に、4つの書込フラグへの書き込みが完了していること、及び、複数の記憶領域のシステムメンテナンス情報が一致していることを検出すると、当該システムメンテナンス情報には不備がないと判断して、当該システムメンテナンス情報を用いた自装置及び処理装置3の制御を行う。   In the multiplexed control monitoring system of the present embodiment configured as described above, when the machine control device 1 (control device) updates system maintenance information including parameters used for control of the own device and each processing device 3, New system maintenance information is written in each of different storage areas of the storage unit 14, and writing to the write flag is performed every time writing is started and ended (FIG. 2). When the machine control device 1 detects that the writing to the four write flags has been completed and the system maintenance information of the plurality of storage areas coincides when it starts, the system maintenance information Is determined to be incomplete, and the own apparatus and the processing apparatus 3 are controlled using the system maintenance information.

これにより、マシンコントロール装置1及び処理装置3の制御に要するシステムメンテナンス情報の更新が正しく行われているか否かを検出することができ、不備を含む可能性があるシステムメンテナンス情報を用いることなく制御を行うことができる。その結果、システムメンテナンス情報を更新した際に、正しく更新が行われたか否かの確認をユーザが行う必要がなくなり、多重化された制御装置の運用を簡便にしつつ、運用の継続性を高めることができる。   Thereby, it is possible to detect whether or not the update of the system maintenance information required for the control of the machine control device 1 and the processing device 3 is correctly performed, and the control is performed without using the system maintenance information that may include defects. It can be performed. As a result, when the system maintenance information is updated, it is not necessary for the user to check whether or not the update has been performed correctly, thereby improving the continuity of operation while simplifying the operation of the multiplexed control device. Can do.

また、本実施形態の多重化制御監視システムでは、マシンコントロール装置1間においてシステムメンテナンス情報の同期を図るようにしている。これにより、各処理装置3の制御を行うマシンコントロール装置1を切り替えた場合においても、切り替え前後で同様の処理を継続して行うことができ、多重化された制御装置の運用を簡便にしつつ、運用の継続性を高めることができる。   In the multiplexed control monitoring system of this embodiment, system maintenance information is synchronized between the machine control devices 1. Thereby, even when the machine control device 1 that controls each processing device 3 is switched, the same processing can be continuously performed before and after the switching, and the operation of the multiplexed control device is simplified. The continuity of operation can be improved.

また、本実施形態の多重化制御監視システムでは、記憶部14に記憶されているシステムメンテナンス情報に不備がある可能性があると判断した場合、制御部12は、他のマシンコントロール装置1にシステムメンテナンス情報を要求する用にしている。これにより、自装置の記憶部14に記憶されているシステムメンテナンス情報に不備がある場合であっても、マシンコントロール装置1間で同期しているシステムメンテナンス情報を用いて自装置及び各処理装置3の制御を行うことができる。その結果、本実施形態の多重化制御監視システムは、多重化された制御装置の運用を簡便にしつつ、運用の継続性を高めることができる。   Further, in the multiplexed control monitoring system of the present embodiment, if it is determined that there is a possibility that the system maintenance information stored in the storage unit 14 is incomplete, the control unit 12 sends the system control information to another machine control device 1. Used for requesting maintenance information. Thereby, even if the system maintenance information stored in the storage unit 14 of the own device is incomplete, the own device and each processing device 3 are used by using the system maintenance information synchronized between the machine control devices 1. Can be controlled. As a result, the multiplexed control monitoring system of this embodiment can improve the continuity of operation while simplifying the operation of the multiplexed control devices.

また、本実施形態の多重化制御監視システムでは、バックアップ用のマシンコントロール装置1bは、マシンコントロール装置1aからシステムメンテナンス情報を要求された際、自装置に記憶されているシステムメンテナンス情報に不備がないこと、すなわち書込フラグすべてに書き込みがなされていること、及び、2つのシステムメンテナンス情報が一致していることが検出できた場合に、システムメンテナンス情報を送信する。これにより、不備の可能性があるシステムメンテナンス情報によって、マシンコントロール装置1や処理装置3の制御が行われることを抑制し、安定した多重化制御監視システムの運用を図ることができる。   Further, in the multiplexed control monitoring system of this embodiment, the backup machine control device 1b has no deficiency in the system maintenance information stored in its own device when the system control information is requested from the machine control device 1a. That is, when it is detected that all the write flags are written and that the two system maintenance information matches, the system maintenance information is transmitted. Thereby, it is possible to suppress the control of the machine control device 1 and the processing device 3 by the system maintenance information that may be incomplete, and to operate the multiplexed control monitoring system stably.

なお、上述した本実施形態に係る多重化制御監視システムは、上述の態様に限定されるものでなく、以下のように変形可能である。
例えば、マシンコントロール装置1の記憶部14に記憶されるログは、システムメンテナンス情報と同様に、異なる記憶領域に記憶するようにしてもよい。また、マシンコントロール装置1が起動する都度、制御部12はログを保存用の異なるファイルにコピーして記憶部14に記憶させるようにしてもよい。これにより、マシンコントロール装置1に異常が生じた場合においても、保存用のファイルを読み出すことにより異常内容の確認や、生じた異常の解析を行うことができる。
The multiplexing control monitoring system according to this embodiment described above is not limited to the above-described aspect, and can be modified as follows.
For example, the log stored in the storage unit 14 of the machine control device 1 may be stored in a different storage area, similar to the system maintenance information. Further, each time the machine control device 1 is activated, the control unit 12 may copy the log to a different file for storage and store the log in the storage unit 14. As a result, even when an abnormality occurs in the machine control device 1, it is possible to check the content of the abnormality and analyze the abnormality that has occurred by reading the file for storage.

また、上述した本実施形態に係る多重化制御監視システムでは、2つのシステムメンテナンス情報を記憶部14の異なる記憶領域に記憶させる構成について説明したが、3つ以上の異なる記憶領域それぞれにシステムメンテナンス情報を記憶させ、すべてのシステムメンテナンス情報が一致するか否かにより不備の有無を判定するようにしてもよい。この場合、記憶領域ごとに書込開始フラグと書込終了フラグとを設け、すべてのフラグへの書き込みが完了しているか否かも検出することになる。   In the multiplexed control monitoring system according to this embodiment described above, the configuration in which two system maintenance information is stored in different storage areas of the storage unit 14 has been described. However, the system maintenance information is stored in each of three or more different storage areas. May be stored, and the presence or absence of deficiencies may be determined based on whether all system maintenance information matches. In this case, a write start flag and a write end flag are provided for each storage area, and it is also detected whether or not writing to all the flags is completed.

また、上述した本実施形態に係る多重化制御監視システムにおいて、マシンコントロール装置1は、稼働モードで動作中の他のマシンコントロール装置1に対する死活監視の結果、当該マシンコントロール装置1がダウンしていると判定できる場合、自装置を待機モードから稼働モードに切り替えて動作するようにしてもよい。なお、通信インタフェース部13すべてにおいて死活監視対象のマシンコントロール装置1からの応答が得られない場合に、当該マシンコントロール装置1がダウンしていると判定するようにしてもよい。   Further, in the multiplexed control monitoring system according to the above-described embodiment, the machine control device 1 is down as a result of the alive monitoring for the other machine control devices 1 operating in the operation mode. If it can be determined, the own apparatus may be switched from the standby mode to the operation mode to operate. It should be noted that if no response is obtained from the machine control device 1 subject to alive monitoring in all the communication interface units 13, it may be determined that the machine control device 1 is down.

また、上述した本実施形態に係る多重制御監視システムでは、マシンコントロール装置1ごとに入出力装置2を接続する構成について説明したが、複数のマシンコントロール装置1に対して複数の入出力装置2を共通に接続するようにしてもよい。例えば、マシンコントロール装置1a、1bが入出力装置2a〜2dに接続されていてもよい。また、マシンコントロール装置1a、1bと入出力装置2a〜2dとをネットワークを介して通信可能に接続し、通信相手となる装置を適宜定めることにより、通信相手を切り替えるようにしてもよい。これにより、入出力装置2の故障や、マシンコントロール装置1の故障によりシステム稼働率の低下を抑制することができる。   In the multiple control monitoring system according to this embodiment described above, the configuration in which the input / output device 2 is connected to each machine control device 1 has been described. However, a plurality of input / output devices 2 are connected to the plurality of machine control devices 1. You may make it connect in common. For example, the machine control devices 1a and 1b may be connected to the input / output devices 2a to 2d. In addition, the machine control devices 1a and 1b and the input / output devices 2a to 2d may be communicably connected via a network, and the communication partner may be switched by appropriately determining a communication partner device. Thereby, it is possible to suppress a decrease in system operation rate due to a failure of the input / output device 2 or a failure of the machine control device 1.

また、上述したマシンコントロール装置1は、一般的な半導体集積回路によって実装されるものであってもよいし、例えば、FPGA(Field Programmable Gate Array)等のカスタマイズ可能な電子回路によって実装されるものであってもよい。   Further, the above-described machine control device 1 may be mounted by a general semiconductor integrated circuit, for example, by a customizable electronic circuit such as an FPGA (Field Programmable Gate Array). There may be.

また、マシンコントロール装置1の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりマシンコントロール装置1としきて機能させてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。更に「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。   In addition, the program for realizing the function of the machine control device 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed, whereby the machine control device 1 and the program are executed. You may make it function. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system having a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、或いは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。更に、前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものとする。   As mentioned above, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the invention described in the claims and equivalents thereof, as long as they are included in the scope and gist of the invention.

1、1a、1b…マシンコントロール装置
2、2a、2b、2c、2d…入出力装置
3、3a、3b、3c…処理装置
11…ユーザインタフェース部
12…制御部
13、13a、13b、13c…通信インタフェース部
14…記憶部
DESCRIPTION OF SYMBOLS 1, 1a, 1b ... Machine control device 2, 2a, 2b, 2c, 2d ... Input / output device 3, 3a, 3b, 3c ... Processing device 11 ... User interface part 12 ... Control part 13, 13a, 13b, 13c ... Communication Interface unit 14 ... storage unit

Claims (5)

特定の処理を実行する複数の処理装置をユーザの要求に応じて排他的に制御する複数の制御装置を備える多重化制御監視システムであって、
前記制御装置は、
自装置及び前記複数の処理装置の制御に用いるパラメータを含むシステムメンテナンス情報と、システムメンテナンス情報の書き込み処理に用いる複数の書込フラグと、所定値をパラメータとして含むデフォルト情報とを記憶する記憶部と、
前記システムメンテナンス情報を更新する場合には、前記記憶部の異なる記憶領域に複数のシステムメンテナンス情報を書き込み、システムメンテナンス情報を書き込むごとに異なる前記書込フラグへの書き込みを行う制御部と、
を備え、
前記制御部は、
前記複数の書込フラグへの書き込みの完了、及び、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できた場合、前記記憶部から読み出したシステムメンテナンス情報を用いて前記処理装置の制御を行い、
前記複数の書込フラグへの書き込みの完了、又は、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できない場合、前記記憶部に記憶されているデフォルト情報を用いて前記処理装置の制御を行う
ことを特徴とする多重化制御監視システム。
A multiplexing control monitoring system comprising a plurality of control devices that exclusively control a plurality of processing devices that execute specific processing in response to a user request,
The controller is
A storage unit for storing system maintenance information including parameters used for controlling the own apparatus and the plurality of processing apparatuses, a plurality of write flags used for writing the system maintenance information, and default information including a predetermined value as a parameter; ,
When updating the system maintenance information, writing a plurality of system maintenance information in different storage areas of the storage unit, and writing to the different write flag every time the system maintenance information is written,
With
The controller is
When it is detected that the writing to the plurality of write flags is completed and the system maintenance information written in the plurality of storage areas of the storage area is the same, the system maintenance information read from the storage unit To control the processing device using
The default information stored in the storage unit when it is not possible to detect completion of writing to the plurality of write flags or that system maintenance information written in the plurality of storage areas of the storage area matches. A multiplex control monitoring system characterized in that the processing apparatus is controlled using a control system.
前記複数の制御装置のうち、いずれか一つの制御装置が主に用いる主制御装置として定められており、
前記主制御装置においてシステムメンテナンス情報が更新されると、前記主制御装置の制御部は、システムメンテナンス情報を他の前記制御装置に対して当該システムメンテナンス情報を送信し、
他の前記制御装置の制御部は、受信したシステムメンテナンス情報を自装置の記憶部のシステムメンテナンス情報を更新する
ことを特徴とする請求項1に記載の多重化制御監視システム。
Among the plurality of control devices, any one control device is defined as a main control device used mainly,
When the system maintenance information is updated in the main control device, the control unit of the main control device transmits the system maintenance information to the other control devices.
The multiplexing control monitoring system according to claim 1, wherein the control unit of the other control device updates the system maintenance information of the storage unit of the own device with the received system maintenance information.
前記主制御装置の制御部は、
前記複数の書込フラグへの書き込みの完了、又は、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できない場合、他の前記制御装置に対してシステムメンテナンス情報を要求し、
他の前記制御装置から受信したシステムメンテナンス情報を用いて前記処理装置の制御を行う
ことを特徴とする請求項2に記載の多重化制御監視システム。
The control unit of the main controller is
When it is not possible to detect completion of writing to the plurality of write flags or that the system maintenance information written in the plurality of storage areas of the storage area matches, system maintenance is performed for the other control devices. Request information,
The multiplexed control monitoring system according to claim 2, wherein the processing device is controlled using system maintenance information received from another control device.
前記複数の制御装置のうち前記主制御装置以外の他の制御装置の制御部は、
前記主制御装置からシステムメンテナンス情報を要求された際、前記複数の書込フラグへの書き込みの完了、及び、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できた場合に、自装置の記憶部に記憶されているシステムメンテナンス情報を前記主制御装置に送信する
ことを特徴とする請求項3に記載の多重化制御監視システム。
Of the plurality of control devices, a control unit of a control device other than the main control device,
When system maintenance information is requested from the main controller, the completion of writing to the plurality of write flags and the system maintenance information written to the plurality of storage areas of the storage area match. 4. The multiplexed control monitoring system according to claim 3, wherein, when it is detected, the system maintenance information stored in the storage unit of the own device is transmitted to the main control device.
特定の処理を実行する複数の処理装置及び自装置の制御に用いるパラメータを含むシステムメンテナンス情報と、システムメンテナンス情報の書き込み処理に用いる複数の書込フラグと、所定値をパラメータとして含むデフォルト情報とを記憶する記憶部と、前記システムメンテナンス情報を更新する場合には、前記記憶部の異なる記憶領域に複数のシステムメンテナンス情報を書き込み、システムメンテナンス情報を書き込むごとに異なる前記書込フラグへの書き込みを行う制御部とを備え、ユーザの要求に応じて前記複数の処理装置を排他的に制御する制御装置を複数備える多重化制御監視システムにおける制御方法であって、
前記制御部が、前記複数の書込フラグへの書き込みの完了、及び、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できた場合、前記記憶部から読み出したシステムメンテナンス情報を用いて前記処理装置の制御を行うステップと、
前記制御部が、前記複数の書込フラグへの書き込みの完了、又は、前記記憶領域の複数の記憶領域に書き込まれたシステムメンテナンス情報が一致していることが検出できない場合、前記記憶部に記憶されているデフォルト情報を用いて前記処理装置の制御を行うステップと
を有することを特徴とする制御方法。
System maintenance information including parameters used for control of a plurality of processing devices that execute specific processing and its own device, a plurality of write flags used for writing processing of system maintenance information, and default information including predetermined values as parameters When updating the storage unit and the system maintenance information to be stored, a plurality of system maintenance information is written to different storage areas of the storage unit, and writing to the different write flag is performed each time the system maintenance information is written. A control method in a multiplexed control monitoring system comprising a control unit and a plurality of control devices that exclusively control the plurality of processing devices according to a user request,
When the control unit detects that the writing to the plurality of write flags is completed and the system maintenance information written in the plurality of storage areas matches, the storage unit Controlling the processing apparatus using the read system maintenance information;
If the control unit cannot detect completion of writing to the plurality of write flags or that system maintenance information written in the plurality of storage areas of the storage area matches, the control unit stores the information in the storage unit And a step of controlling the processing device using the default information.
JP2013182485A 2013-09-03 2013-09-03 Multiplexed control monitoring system and control method Active JP6109687B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013182485A JP6109687B2 (en) 2013-09-03 2013-09-03 Multiplexed control monitoring system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013182485A JP6109687B2 (en) 2013-09-03 2013-09-03 Multiplexed control monitoring system and control method

Publications (2)

Publication Number Publication Date
JP2015050711A true JP2015050711A (en) 2015-03-16
JP6109687B2 JP6109687B2 (en) 2017-04-05

Family

ID=52700349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013182485A Active JP6109687B2 (en) 2013-09-03 2013-09-03 Multiplexed control monitoring system and control method

Country Status (1)

Country Link
JP (1) JP6109687B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016002709A1 (en) 2015-03-13 2016-09-15 Ngk Insulators, Ltd. honeycomb structure

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076050A (en) * 1993-06-15 1995-01-10 Mitsubishi Electric Corp Duplex system switching method
JPH0822398A (en) * 1994-07-05 1996-01-23 Toshiba Corp Duplex computer system
JPH09274575A (en) * 1996-04-04 1997-10-21 Hitachi Ltd Integrated system managing system
JP2000047949A (en) * 1998-05-27 2000-02-18 Hewlett Packard Co <Hp> Data processor and computer system having data unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076050A (en) * 1993-06-15 1995-01-10 Mitsubishi Electric Corp Duplex system switching method
JPH0822398A (en) * 1994-07-05 1996-01-23 Toshiba Corp Duplex computer system
JPH09274575A (en) * 1996-04-04 1997-10-21 Hitachi Ltd Integrated system managing system
JP2000047949A (en) * 1998-05-27 2000-02-18 Hewlett Packard Co <Hp> Data processor and computer system having data unit
US20010016920A1 (en) * 1998-05-27 2001-08-23 Jong Chan Memory controller supporting redundant synchronous memories

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016002709A1 (en) 2015-03-13 2016-09-15 Ngk Insulators, Ltd. honeycomb structure

Also Published As

Publication number Publication date
JP6109687B2 (en) 2017-04-05

Similar Documents

Publication Publication Date Title
JP6827501B2 (en) Hot backup system, hot backup method, and computer equipment
JP5623593B2 (en) Rack and method for simultaneously updating a basic input / output system
US10606551B2 (en) Content streaming apparatus and method
KR20040024412A (en) Method for updating firmware
JP2017167593A (en) Relay device, relay device control method, control program, and recording medium
JP6109687B2 (en) Multiplexed control monitoring system and control method
CN110399150A (en) A kind of bios upgrade method, system, device and computer storage medium
CN103236096B (en) Bluetooth-type intelligent code key
CN112130889A (en) Resource management method and device, storage medium and electronic device
JP2016134038A (en) Information transmitter, information presentation device, control method for information transmitter, control method for information presentation device, control program, and recording medium
CN110045980B (en) Method, device and system for remotely upgrading NB-IOT (NB-IOT) device
CN110879760B (en) Unified storage system and method and electronic equipment
CN116069373A (en) BMC firmware upgrading method, device and medium thereof
CN116414588A (en) System repairing method and device for electronic equipment, electronic equipment and storage medium
WO2012070421A1 (en) Medical image processing system and medical image processing server
US9529581B2 (en) Circuit and method for writing program codes of basic input/output system
WO2015194651A1 (en) Malfunction notification apparatus, malfunction notification method, and program
CN108400881A (en) Message engine dynamic adjusting method, device and electronic equipment based on state machine
CN109697110B (en) Transaction coordination processing system, method and device and electronic equipment
CN113453376A (en) Network configuration method, related device, equipment and storage medium
CN110968557A (en) Data processing method and device in distributed file system and electronic equipment
CN107194241B (en) Control method of terminal equipment, server, terminal equipment and control system
JP2020046781A (en) Information processing apparatus, information processing system and information processing method
US20240015490A1 (en) System for real time correction during network device provisioning
CN113641524B (en) Reset method, device and equipment for single board starting overtime and readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170308

R151 Written notification of patent or utility model registration

Ref document number: 6109687

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151