JPH0720166B2 - Control device - Google Patents
Control deviceInfo
- Publication number
- JPH0720166B2 JPH0720166B2 JP2003827A JP382790A JPH0720166B2 JP H0720166 B2 JPH0720166 B2 JP H0720166B2 JP 2003827 A JP2003827 A JP 2003827A JP 382790 A JP382790 A JP 382790A JP H0720166 B2 JPH0720166 B2 JP H0720166B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- control device
- detecting
- communication
- detection
- 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.)
- Expired - Lifetime
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、被制御装置を制御する制御装置に利用する。
特に、通信手段などで結合され上位と下位に分割されて
いる制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is used for a control device for controlling a controlled device.
In particular, the present invention relates to a control device that is connected by communication means or the like and is divided into upper and lower parts.
本発明は、上位手段と下位手段とに分割され、この両者
間が通信線で接続された制御装置において、 上位手段、下位手段および通信線で発生した障害が復旧
したときに上位手段のメモリ内容を下位手段に自動的に
ダウンロードすることにより、 制御装置の誤動作を防止し、復旧後の状態再設定に要す
る時間を短縮することができるようにしたものである。The present invention is divided into an upper means and a lower means, and in a control device in which the two are connected by a communication line, the memory contents of the upper means when a failure occurred in the upper means, the lower means and the communication line is recovered. By automatically downloading to the lower means, the malfunction of the control device can be prevented and the time required for resetting the state after restoration can be shortened.
従来の上位と下位に分割されている制御装置では、状態
を変化させる個々の命令の制御手段の中で上位と下位と
で状態を一致させる手段をもっており、制御装置内に障
害がないかまたは障害中に何の変化もなければ状態の不
一致は生じない。In the conventional control device divided into upper and lower levels, there is a means for matching the states of the upper and lower sides among the control means of the individual commands for changing the state, and there is no fault in the control device or there is a fault. If there is no change in the state, there will be no inconsistency.
このような従来例装置では、障害中に別の障害が二重発
生して状態変化が発生した場合や、個々の命令で予め対
処手段が組込まれている障害に対しては対処可能である
が予想外の障害が発生した場合には、状態の不一致が生
ずる可能性がある。In such a conventional example device, it is possible to deal with a case where another fault occurs twice during a fault and a state change occurs, or a fault in which a countermeasure is incorporated in advance in each instruction. In the event of an unexpected failure, a state mismatch may occur.
これにより、 (a) 状態の不一致が生じたことを人間が認識して対
処するまでに制御装置に誤動作が生ずる可能性があり、 (b) 状態を一致させるためには、下位制御装置を一
度停止して上位制御装置から手動で状態再設定を行わな
ければならないので、時間と手間とがかかる などの問題点があった。As a result, (a) the control device may malfunction before the human recognizes and copes with the state inconsistency. (B) In order to make the state coincide, the lower-order control device is set once. Since it is necessary to stop and manually reset the status from the host controller, there was a problem that it took time and effort.
本発明は、被制御装置に接続され、この被制御装置の状
態を変化させる状態セット手段とこの状態セット手段が
参照する上記被制御装置の状態データを記憶する第一の
状態メモリとを備えた下位制御装置と、この下位制御装
置に通信線を介して接続され、上記被制御装置にかかわ
る状態データを記憶する第二の状態メモリとこの第二の
状態メモリに記憶された内容を上記通信線を経由して上
記第一の状態メモリに転送する状態ダウンロード手段と
を備えた上位制御装置とを備えた制御装置において、上
記上位制御装置は、自装置の障害が復旧されたことを検
出する立上検出手段と、上記通信線の伝送可能状態を検
出する通信復旧検出手段とを備え、上記状態ダウンロー
ド手段は自装置の障害が復旧されたことおよび上記通信
線の伝送可能状態が検出されたことを条件にして自手段
を起動する手段を含むことを特徴とする。The present invention comprises a state setting means connected to a controlled device for changing the state of the controlled device, and a first state memory for storing the state data of the controlled device referred to by the state setting means. A lower-level control device, a second state memory connected to the lower-level control device via a communication line, for storing state data relating to the controlled device, and the contents stored in the second state memory for the communication line. In a control device having a host control device having a state download means for transferring to the first state memory via the above, the host control device detects whether the fault of the host device has been recovered. Upper state detecting means and communication restoration detecting means for detecting the transmission possible state of the communication line, and the state downloading means has recovered from the failure of its own device and the transmission possible state of the communication line. Characterized in that it comprises a means for activating the self means on condition that the detected.
さらに、上記下位制御装置は、自装置の障害が復旧され
たことを検出し、この検出結果を上記上位制御装置に通
知する立上検出・通知手段を備え、上記状態ダウンロー
ド手段は、この立上検出・通知手段からの通知に応じて
自手段を起動する手段を含むことが好ましい。Further, the lower-level control device includes a start-up detection / notification means for detecting that the failure of the own device has been recovered and notifying the higher-order control device of the detection result. It is preferable to include means for activating its own means in response to the notification from the detection / notification means.
さらに、上記状態ダウンロード手段は、上記立上検出手
段、上記通信復旧検出手段および上記立上検出・通知手
段のうちの複数個の手段が引き続き検出を行ったときに
最後に検出を行った手段に応じて自手段を起動する手段
を含むことが好ましい。Further, the state downloading means is a means that finally detects when a plurality of means among the start detecting means, the communication restoration detecting means, and the start detecting / notifying means continue to detect. Accordingly, it is preferable to include means for activating its own means.
上位手段および下位手段の状態データと被制御装置の状
態とに不一致が発生し、この発生要因が除去されると上
位手段に保持されている状態データを下位手段にダウン
ロードして保持させ、この状態データに基づいて被制御
装置の状態を変化させる。これにより、状態不一致に起
因する制御装置の誤動作を防止し、状態一致に要する手
作業を省くことができる。When a mismatch occurs between the status data of the higher-order means and the lower-order means and the status of the controlled device, and when the cause of this inconsistency is removed, the status data held in the higher-order means is downloaded and held in the lower-order means. Change the state of the controlled device based on the data. As a result, it is possible to prevent a malfunction of the control device due to the state mismatch, and to omit the manual work required for the state match.
以下、本発明の一実施例について図面を参照して説明す
る。An embodiment of the present invention will be described below with reference to the drawings.
第1図はこの実施例の構成を示すブロック構成図であ
る。この実施例は、第1図に示すように、上位制御装置
1と、下位制御装置3と、上位制御装置1と下位制御装
置3の通信を司る通信線2と、被制御装置4とから構成
される。FIG. 1 is a block diagram showing the configuration of this embodiment. As shown in FIG. 1, this embodiment is composed of an upper control device 1, a lower control device 3, a communication line 2 for controlling the communication between the upper control device 1 and the lower control device 3, and a controlled device 4. To be done.
すなわち、この実施例は、被制御装置に接続され、この
被制御装置の状態を変化させる状態セット手段とこの状
態セット手段が参照する上記被制御装置の状態データを
記憶する第一の状態メモリとを備えた下位制御装置と、
この下位制御装置に通信線を介して接続され、上記被制
御装置にかかわる状態データを記憶する第二の状態メモ
リとこの第二の状態メモリに記憶された内容を上記通信
線を経由して上記第一の状態メモリに転送する状態ダウ
ンロード手段とを備えた上位制御装置とを備え、さらに
本発明の特徴とする手段として、上記上位制御装置は、
自装置の障害が復旧されたことを検出する立上検出手段
と、上記通信線の伝送可能状態を検出する通信復旧検出
手段とを備え、上記状態ダウンロード手段は自装置の障
害が復旧されたことおよび上記通信線の伝送可能状態が
検出されたことを条件にして自手段を起動する手段を含
み、上記下位制御装置は、自装置の障害が復旧されたこ
とを検出し、この検出結果を上記上位制御装置に通知す
る立上検出・通知手段を備え、上記状態ダウンロード手
段は、この立上検出・通知手段からの通知に応じて自手
段を起動する手段を含み、上記状態ダウンロード手段
は、上記立上検出手段、上記通信復旧検出手段および上
記立上検出・通知手段のうちの複数個の手段が引き続き
検出を行ったときに最後に検出を行った手段に応じて自
手段を起動する手段を含む。That is, this embodiment is provided with a state setting means connected to the controlled device for changing the state of the controlled device, and a first state memory for storing the state data of the controlled device referred to by the state setting means. A lower-level control device having
A second state memory that is connected to the lower-level control device via a communication line and stores state data related to the controlled device, and the contents stored in the second state memory to the second state memory via the communication line. A host controller including a status download means for transferring to the first status memory, and as a feature of the present invention, the host controller comprises:
The state detecting means includes a start-up detecting means for detecting that the failure of the own apparatus has been recovered, and a communication recovery detecting means for detecting the transmission possible state of the communication line, and the status downloading means has recovered the failure of the own apparatus. And a means for activating its own means on the condition that the transmission enabled state of the communication line is detected, the lower-level control device detects that the failure of the own device has been recovered, and the detection result is The state detection means includes a startup detection / notification means for notifying the host controller, and the state download means includes means for activating its own means in response to the notification from the startup detection / notification means. When a plurality of the start-up detecting means, the communication recovery detecting means, and the start-up detecting / notifying means continue to detect, a means for activating its own means in accordance with the last detected means Including.
ここで、上位制御装置1内の状態メモリ11と、下位制御
装置3内の状態メモリ31と、被制御装置4の実際の状態
との間で不一致が生ずる可能性がある。この実施例で
は、これらの状態を一致させる手段として状態ダウンロ
ード手段12と、状態ダウンロードを実行しなければなら
ない要因の検出手段として上位制御装置1の立上検出手
段13、通信復旧検出手段14および下位制御装置3の立上
検出・通知手段33を用いる。Here, there is a possibility that a discrepancy may occur between the state memory 11 in the upper control device 1, the state memory 31 in the lower control device 3, and the actual state of the controlled device 4. In this embodiment, a state download means 12 is provided as means for matching these states, and a rise detection means 13, a communication restoration detection means 14, and a lower order detection means of the host controller 1 are provided as means for detecting a factor that has to execute the state download. The start-up detection / notification means 33 of the control device 3 is used.
状態の不一致は上記制御装置1と下位制御装置3との両
方が互いに一致した動作を行うことができない状況で上
位制御装置1または下位制御装置3の一方が独自に動作
をしてしまった場合に発生する。このような状況が生ず
る原因として、(a)上位制御装置1の障害(b)上位
制御装置1と下位制御装置3との通信障害(c)下位制
御装置3の障害とがある。したがって状態の不一致を修
復するには、(a)上位制御装置の復旧(b)通信復旧
(c)下位制御装置の復旧が起こった時点で状態を一致
させれば良い。The state inconsistency is caused when one of the upper control device 1 and the lower control device 3 operates independently in a situation in which both the control device 1 and the lower control device 3 cannot perform the same operation. Occur. The causes of such a situation include (a) failure of the upper control device 1, (b) communication failure between the upper control device 1 and the lower control device 3, and (c) failure of the lower control device 3. Therefore, in order to repair the inconsistency of the states, it is sufficient to bring the states into agreement when (a) restoration of the upper control device (b) communication restoration (c) restoration of the lower control device occurs.
第2図は、(a)の上位制御装置1が復旧した場合の状
態を一致させる動作を示すフローチャートである。上記
制御装置1の復旧は立上検出手段13で検出され、上位制
御装置1の立上が開始される(ステップS1)。まず、通
信可否の判断がなされ(ステップS2)、通信不可であれ
ば(b)の通信復旧の処理へ進む(ステップS3)。通信
可であれば被制御装置4の状態を記憶している状態メモ
リ11の内容を読み(ステップS4)、その状態を状態ダウ
ンロード手段12を経由して下位制御装置3へダウンロー
ド(メッセージ通信)する(ステップS5)。下位制御装
置3では、ダウンロードされたメッセージをもとに状態
メモリ31へ書込み(ステップS6)、被制御装置4への状
態設定を状態セット手段32を経由して行い(ステップS
7)、これで状態一致化が完了する(ステップS8)。FIG. 2 is a flow chart showing the operation for matching the states when the upper control device 1 in (a) is restored. The recovery of the control device 1 is detected by the startup detection means 13, and the startup of the host control device 1 is started (step S1). First, it is determined whether communication is possible (step S2), and if communication is not possible, the process proceeds to the communication recovery process (b) (step S3). If communication is possible, the contents of the state memory 11 storing the state of the controlled device 4 are read (step S4), and the state is downloaded to the lower-level control device 3 via the state download means 12 (message communication). (Step S5). The lower-level control device 3 writes the downloaded message to the state memory 31 (step S6), and sets the state of the controlled device 4 via the state setting means 32 (step S6).
7) Then, the state matching is completed (step S8).
第3図は、(b)の通信が復旧した場合の動作を示すフ
ローチャートである。通信の復旧は上位制御装置1内の
通信復旧検出手段14で検出され、実行が開始される(ス
テップS9)。ひきつづき、第2図のステップS4以降の処
理と同じ処理が行われる(ステップS10)。FIG. 3 is a flowchart showing the operation when the communication of (b) is restored. The restoration of communication is detected by the communication restoration detecting means 14 in the host controller 1, and the execution is started (step S9). Subsequently, the same processing as the processing after step S4 in FIG. 2 is performed (step S10).
第4図は、(c)の下位制御装置3が復旧した場合の動
作を示すフローチャートである。下位制御装置3の立上
検出・通知手段33で下位制御装置3の立上が検出されて
実行が開始され(ステップS11)、上位制御装置1へ立
上通知(メッセージ通信)を実行する(ステップS1
2)。下位制御装置3からの立上通知に応じて、上記制
御装置1は第2図のステップS4以降と同じダウンロード
処理を実行する(ステップS13)。FIG. 4 is a flowchart showing the operation when the lower-level control device 3 in (c) is restored. The start-up detection / notification means 33 of the lower-order control device 3 detects the start-up of the lower-order control device 3 and starts execution (step S11), and executes a start-up notification (message communication) to the higher-order control device 1 (step). S1
2). In response to the start-up notification from the lower-level control device 3, the control device 1 executes the same download processing as that of step S4 and subsequent steps in FIG. 2 (step S13).
なお、(a)、(b)および(c)の要因が複合した場
合は、最後に復旧したものが状態ダウンロードの要因に
なり、状態一致化処理が実行される。When the factors (a), (b), and (c) are combined, the one that was restored last becomes the factor of the state download, and the state matching process is executed.
本発明は、以上説明したように、状態の不一致が発生す
る可能性がある要因が発生した場合に、要因の復旧時に
状態ダウンロードを実行して状態の一致化を自動的に行
うので、状態不一致による制御装置の誤動作をなくし、
状態一致化のための手作業を不要にする効果がある。As described above, according to the present invention, when a factor that may cause a state mismatch occurs, a state download is executed at the time of restoration of the factor to automatically match the states. Eliminates the malfunction of the control device due to
This has the effect of eliminating the need for manual work for status matching.
第1図は、本発明実施例の構成を示すブロック構成図。 第2図は、上位制御装置復旧時の動作を説明するフロー
チャート。 第3図は、通信線復旧時の動作を説明するフローチャー
ト。 第4図は、下位制御装置復旧時の動作を説明するフロー
チャート。 1……上位制御装置、2……通信線、3……下位制御装
置、4……被制御装置、11、31……状態メモリ、12……
状態ダウンロード手段、13……立上検出手段、14……通
信復旧検出手段、32……状態セット手段、33……立上検
出・通知手段。FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention. FIG. 2 is a flow chart for explaining the operation at the time of restoration of the host controller. FIG. 3 is a flow chart for explaining the operation when the communication line is restored. FIG. 4 is a flow chart for explaining the operation when the lower control device is restored. 1 ... High-order control device, 2 ... communication line, 3 ... low-order control device, 4 ... controlled device, 11, 31 ... state memory, 12 ...
Status download means, 13 ... rise detection means, 14 ... communication restoration detection means, 32 ... state setting means, 33 ... rise detection / notification means.
Claims (3)
状態を変化させる状態セット手段とこの状態セット手段
が参照する上記被制御装置の状態データを記憶する第一
の状態メモリとを備えた下位制御装置と、 この下位制御装置に通信線を介して接続され、上記被制
御装置にかかわる状態データを記憶する第二の状態メモ
リとこの第二の状態メモリに記憶された内容を上記通信
線を経由して上記第一の状態メモリに転送する状態ダウ
ンロード手段とを備えた上位制御装置と を備えた制御装置において、 上記上位制御装置は、自装置の障害が復旧されたことを
検出する立上検出手段と、上記通信線の伝送可能状態を
検出する通信復旧検出手段とを備え、上記状態ダウンロ
ード手段は自装置の障害が復旧されたことおよび上記通
信線の伝送可能状態が検出されたことを条件にして自手
段を起動する手段を含む ことを特徴とする制御装置。1. A state setting means connected to a controlled device for changing the state of the controlled device, and a first state memory for storing the state data of the controlled device referred to by the state setting means. A lower state control device, a second state memory connected to the lower side control device via a communication line and storing state data relating to the controlled device, and the contents stored in the second state memory A higher-order control device having a state download means for transferring to the first state memory via a line, the higher-order control device detects that the fault of its own device has been recovered. The state detecting means includes a start-up detecting means and a communication restoration detecting means for detecting a transmission possible state of the communication line, and the state downloading means has recovered from the failure of its own device and the transmission of the communication line Control apparatus characterized by state is in the condition that has been detected comprises means for starting the self-unit.
されたことを検出し、この検出結果を上記上位制御装置
に通知する立上検出・通知手段を備え、上記状態ダウン
ロード手段は、この立上検出・通知手段からの通知に応
じて自手段を起動する手段を含む請求項1記載の制御装
置。2. The lower-level control device includes a start-up detection / notification means for detecting that the failure of the own device has been recovered and notifying the higher-order control device of the detection result, and the state downloading means The control device according to claim 1, further comprising means for activating its own means in response to the notification from the startup detection / notification means.
出手段、上記通信復旧検出手段および上記立上検出・通
知手段のうちの複数個の手段が引き続き検出を行ったと
きに最後に検出を行った手段に応じて自手段を起動する
手段を含む請求項1または2記載の制御装置。3. The state downloading means performs the detection last when a plurality of means among the start-up detecting means, the communication restoration detecting means and the start-up detecting / notifying means continue to detect. 3. The control device according to claim 1, further comprising means for activating its own means in accordance with the means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003827A JPH0720166B2 (en) | 1990-01-10 | 1990-01-10 | Control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003827A JPH0720166B2 (en) | 1990-01-10 | 1990-01-10 | Control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03208436A JPH03208436A (en) | 1991-09-11 |
| JPH0720166B2 true JPH0720166B2 (en) | 1995-03-06 |
Family
ID=11568034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003827A Expired - Lifetime JPH0720166B2 (en) | 1990-01-10 | 1990-01-10 | Control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0720166B2 (en) |
-
1990
- 1990-01-10 JP JP2003827A patent/JPH0720166B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03208436A (en) | 1991-09-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20080229158A1 (en) | Restoration device for bios stall failures and method and computer program product for the same | |
| CN107885305B (en) | Control device, control method, and recording medium | |
| JP5041290B2 (en) | PROGRAMMABLE CONTROLLER AND ITS ERROR RECOVERY METHOD | |
| JPH0720166B2 (en) | Control device | |
| JP2827594B2 (en) | Firmware online update method for microprocessor device and update method thereof | |
| JP2000163274A (en) | Electronic equipment and recording medium with rom data monitoring program recorded thereon | |
| JP4708088B2 (en) | Failure recovery method and microcomputer | |
| JP3785844B2 (en) | Programmable controller and activation method thereof | |
| JP6835422B1 (en) | Information processing device and information processing method | |
| JP4499233B2 (en) | Distributed control system | |
| JP2002063044A (en) | Arithmetic device and program rewriting method | |
| US11550296B2 (en) | Numerical controller | |
| JP2006079229A (en) | Method and device for maintaining data integrity for flash memory microcomputer | |
| JPH01142801A (en) | Programmable controller backup device | |
| JP2005276013A (en) | System boot device | |
| JP2001014238A (en) | Method and device for recovery from system down caused by update program abnormality | |
| JPH10105407A (en) | Program failure autonomous recovery system | |
| JPH02196341A (en) | Fault restoring system for information processor | |
| JP2026055828A (en) | Control program, control method, and control device | |
| JPH0581065A (en) | Self diagnostic method for programmable controller system | |
| JPH052499A (en) | Job trouble re-processing system of information processor | |
| JP2530900B2 (en) | Loading device | |
| JPH0196712A (en) | Start system for information processor | |
| JPH07210219A (en) | Process control equipment | |
| JPS63109545A (en) | Self-diagnostic system for hardware |