JPH01142801A - Programmable controller backup device - Google Patents

Programmable controller backup device

Info

Publication number
JPH01142801A
JPH01142801A JP29893987A JP29893987A JPH01142801A JP H01142801 A JPH01142801 A JP H01142801A JP 29893987 A JP29893987 A JP 29893987A JP 29893987 A JP29893987 A JP 29893987A JP H01142801 A JPH01142801 A JP H01142801A
Authority
JP
Japan
Prior art keywords
time
programmable controller
data
timer
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.)
Pending
Application number
JP29893987A
Other languages
Japanese (ja)
Inventor
Kenji Kakihara
柿原 健次
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 JP29893987A priority Critical patent/JPH01142801A/en
Publication of JPH01142801A publication Critical patent/JPH01142801A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To correct a shear in scanning time at the time of backup operation and to improve control accuracy by providing the title device with a timer means to be reset at the time of executing the copying operation of incomplete data by a pair of data storage means to restart time counting. CONSTITUTION:Incomplete data stored in a data storage device (DM) 15 on a control operation side are successively copied in a DM 25 on a controlled operation side every scanning time (ts) and the timer 5 repeatedly reset simultaneously with the start of copying. When a fault is generated in a CPU 11 or a program memory (PM) 12 in a normal system program controller PA at time t2 after a certain copying time t1, change-over switches S1-S3 are turned to the B side and a holding system programmable controller PB backs up the PA. At that time, the count value (td) of the timer 5 is read out and the time (td) required up to the start of backup operation is added to control data output time t3 to correct and output the incomplete data and control data. Consequently, control accuracy can be improved.

Description

【発明の詳細な説明】 [発明の目的1 (産業上の利用分野) この発明はプログラマプロコントローラのバックアップ
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention 1 (Field of Industrial Application) This invention relates to a backup device for a programmer controller.

(従来の技術) 一般にシーケンス制御系の命令処理部として使用される
ブOグラマプルコント0−ラは、制御処理の重要な地位
を占めているためにその動作の信頼性が強く要求されて
いる。しかしながら、完全なプログラマブルコントロー
ラというものはあり得ず、故障、破壊その他の原因によ
り動作不能に陥るが、そのようなとき、単体で用いる場
合にはその故障発生により制御そのものができなくなる
問題があった。
(Prior Art) A programming controller, which is generally used as an instruction processing unit in a sequence control system, plays an important role in control processing, and therefore, there is a strong demand for reliability in its operation. . However, there is no such thing as a completely programmable controller, and it may become inoperable due to failure, destruction, or other causes, and in such cases, when used alone, there is a problem that the control itself becomes impossible due to the failure. .

そこで第4図に示すような常用系のプログラマブルコン
トローラに対し、バックアップ装置として待機系のプロ
グラマブルコントローラを設け、常用系の異常時にはバ
スを待機系のプログラマブルコントローラに切換えるこ
とにより制御を続行させるようにするプログラマブルコ
ントローラバックアップ装置が知られている。。
Therefore, a standby programmable controller is provided as a backup device for the regular programmable controller as shown in Figure 4, and when an error occurs in the regular system, the bus is switched to the standby programmable controller to continue control. Programmable controller backup devices are known. .

この従来のプログラマブルコントローラバックアップ装
置について説明すると、中央演算処理装置(CPU)1
1とプログラム記憶装置(PM)12とが常用系のプロ
グラマブルコントローラPAを構成し、CPU 21と
PM22とが待機系のプログラマブルコントローラPB
を構成し、通常は常用系のプログラマブルコントローラ
PAが動作し、この常用系の故障時にバス切換装置3に
より入出力データバスをバス13からバス23に切換え
、同時にメモリバスをバス14からバス24に切換えて
待機系を動作させるようにしている。
To explain this conventional programmable controller backup device, the central processing unit (CPU) 1
1 and a program storage device (PM) 12 constitute a regular programmable controller PA, and a CPU 21 and PM22 constitute a standby programmable controller PB.
The programmable controller PA in the regular system normally operates, and when the regular system fails, the bus switching device 3 switches the input/output data bus from the bus 13 to the bus 23, and at the same time switches the memory bus from the bus 14 to the bus 24. The system switches to operate the standby system.

すなわち、通常はバス切換装置3内の切換スイッチ81
.82.83がそれぞれ常用系接点A側にあり、常用系
のCPU11がI10データバス13を介して入出力装
置(Ilo)4に結合され、PM12のプログラムに従
って制御動作を行なう。
That is, normally the changeover switch 81 in the bus switching device 3
.. 82 and 83 are respectively located on the normal-use system contact A side, and the normal-use CPU 11 is coupled to the input/output device (Ilo) 4 via the I10 data bus 13, and performs control operations according to the program of the PM 12.

また途中データは、メモリバス14を介して結合されて
いるデータ記憶装置(DM)15に保持され、この0M
15の途中データが順次待機系の0M25にコピーされ
るようになっている。
Further, intermediate data is held in a data storage device (DM) 15 connected via a memory bus 14, and this 0M
15 intermediate data are sequentially copied to the standby system 0M25.

この状態で常用系PAのCPU11またはPM12に異
常が発生すると、直ちにバス切換装置3内の切換スイッ
チ81.32.83がB側に切換ねり、待機系プログラ
マブルコントローラPBのCPLI21がI10バス2
3を介してl104に接続されると共に、メモリバス2
4を介して0M25と結合され、この0M25にコピー
されている正常な途中データを用いてPM22のプラグ
ラムによる待機系PBの制御が継続され、常用系PAの
動作が待機系PBによりバックアップ動作されるのであ
る。
If an abnormality occurs in the CPU 11 or PM 12 of the regular system PA in this state, the changeover switches 81, 32, 83 in the bus switching device 3 are immediately switched to the B side, and the CPLI 21 of the standby system programmable controller PB is switched to the I10 bus 2.
3 to l104 and memory bus 2
Control of the standby PB by the program of PM22 is continued using the normal intermediate data copied to this 0M25 via 0M25, and the operation of the regular PA is backed up by the standby PB. It is.

(発明が解決しようとする問題点) 一般にプログラマブルコントローラはシーケンス命令や
粋術演算命令で組まれたプログラムを数10m5〜数1
0On+sという高速で繰返し実行する。この繰返しの
実行時間をスキャニングタイム(tS)と称するが、前
記バックアップ装置の場合も通常時は0M12のプログ
ラムを【Sの周期にて繰返し実行し、1回実行を終える
度に故障がないかどうか調べ、ない場合のみ0M15の
途中データを0M25にコピーし、0M25に常に正常
な時のデータが保持されるようにしている。
(Problem to be solved by the invention) In general, programmable controllers can run programs of several 10 m5 to several 1 using sequence commands and sophisticated operation commands.
It is repeatedly executed at a high speed of 0On+s. This repeated execution time is called scanning time (tS), and in the case of the backup device mentioned above, normally the 0M12 program is repeatedly executed at a cycle of After checking, only if there is no such data, the intermediate data of 0M15 is copied to 0M25, so that normal data is always held in 0M25.

そこで、この状態でバックアップ動作が行なわれたとき
のスキャニングタイムtsについて考えてみると、第5
図に示したように通常は【Sによる等間隔の制御が行な
われており、時間に比例して出力を増加させる制御を行
なった場合には出力が直線的に変化する。
Therefore, if we consider the scanning time ts when the backup operation is performed in this state, the fifth
As shown in the figure, control is normally performed at equal intervals by [S, and when control is performed to increase the output in proportion to time, the output changes linearly.

しかしながら、制御の途中の時点t2でPA側に故障が
発生してバックアップ動作が行なわれると、故障が発生
する直前の正常な途中データがコピーされてからバック
アップ後の最初の途中データがコピーされるれまでの時
間tdはスキャニングタイムtsとは異なるため、この
バックアップ動作前後で出力の直線性が失われることに
なる。
However, if a failure occurs on the PA side at time t2 during control and a backup operation is performed, the normal intermediate data immediately before the failure occurs is copied, and then the first intermediate data after backup is copied. Since the time td up to this point is different from the scanning time ts, the linearity of the output will be lost before and after this backup operation.

つまり、常用系PAが0M15の途中データを0M25
にコピーした時点を言の後PM12のプログラムを実行
している途中の時点t2において故障が発生し、バック
アップ動作が行なわれ、待機系PBの0M25にコピー
されている正常な途中データを逆に0M15ヘコピーし
、制御を開始する時点t3までの時間を考える時、(t
3−t2)は一定であるが、(j2−j+)が不定であ
るため、td(=t 3−t 、 )も不定となってし
まう。
In other words, the regular PA transfers the intermediate data of 0M15 to 0M25.
A failure occurred at time t2 while the program of PM12 was being executed, and a backup operation was performed, and the normal intermediate data that had been copied to 0M25 of the standby PB was reversely copied to 0M15. When considering the time up to time t3 when the control is started, (t
3-t2) is constant, but since (j2-j+) is indefinite, td(=t3-t, ) also becomes indefinite.

この結果、従来のプログラマブルコントローラバックア
ップ装置では、例えば位置決めなどの制御を行なってい
る途中にバックアップ動作が発生した場合には、出力の
ずれδが生じるために位置の絶対精度が低下することに
なるという問題点があった。
As a result, with conventional programmable controller backup devices, if a backup operation occurs during control such as positioning, an output deviation δ occurs, resulting in a decrease in absolute position accuracy. There was a problem.

この発明はこのような従来の問題点を解決するためにな
されたものであって、バックアップ動作時のスキャニン
グタイムtsのずれを補正し、制御の精度を一層向上さ
せることのできるプログラマブルコントローラバックア
ップ装置を提供することを目的とする。
The present invention has been made to solve these conventional problems, and provides a programmable controller backup device that can correct the deviation in scanning time ts during backup operation and further improve control accuracy. The purpose is to provide.

[発明の構成] (問題点を解決するための手段) この発明のプログラマブルコントローラバックアップ装
置は、常用系プログラマブルコントローラが異常ににな
った時に入出力データバスとメモリバスとを待機系プロ
グラマブルコントローラ側に切換えて制御動作を継続さ
せるバス切換手段と、前記常用系、待機系、それぞれの
プログラマブルコントローラに接続され、制御動作側は
途中データを記憶し、非制御動作側は前記制御動作側の
記憶している途中データを周期的にコピーする1組のデ
ータ記憶手段と、この1組のデータ記憶手段における途
中データのコピー動作時にリセットされ、時間カウント
を再開するタイマ手段とを備えたちのである。
[Structure of the Invention] (Means for Solving Problems) The programmable controller backup device of the present invention transfers the input/output data bus and memory bus to the standby programmable controller when the regular programmable controller becomes abnormal. It is connected to a bus switching means for switching to continue the control operation, and to each of the programmable controllers of the regular system and the standby system, the control operation side stores intermediate data, and the non-control operation side stores the data of the control operation side. The apparatus includes a set of data storage means for periodically copying the intermediate data, and a timer means that is reset when the intermediate data is copied in the set of data storage means and restarts time counting.

(作用) この発明のプログラマブルコントローラバックアップ装
置では、常用系プログラマブルコントローラが動作して
いる時には、制御動作側のデータ記憶手段が非制御動作
側のデータ記憶手段に途中データをコピーした時点でリ
セットされ、再び時間カウントを開始するタイマ手段に
より、バックアップ動作が行なわれたときにはその直前
の途中データのコピーの時点から故障発生までの間の時
間をタイマ手段により正確に知ることができ、このリカ
バリー時間を用いて記憶データの補正を行なうことがで
きる。
(Function) In the programmable controller backup device of the present invention, when the regular programmable controller is operating, the data storage means on the control operation side is reset at the time when data is copied to the data storage means on the non-control operation side, By using the timer means to start counting the time again, when a backup operation is performed, the timer means can accurately know the time from the time when the data was copied immediately before the backup operation until the occurrence of a failure, and using this recovery time. The stored data can be corrected.

(実施例) 以下、この発明の実施例を図に基いて詳説する。(Example) Hereinafter, embodiments of the present invention will be explained in detail with reference to the drawings.

第1図はこの発明の一実施例を示しており、従来例で示
したバックアップ装置と同一の構成装置については同一
の符号を付して示してあり、常用系プログラマブルコン
トローラPAとしてCPU11、PM12が備えられ、
待機系プログラマブルコントローラPBとしてCPU2
1、PM22が備えられている。
FIG. 1 shows an embodiment of the present invention, in which the same components as the backup device shown in the conventional example are denoted by the same reference numerals, and the CPU 11 and PM 12 are used as the regular programmable controller PA. provided,
CPU2 as standby programmable controller PB
1. PM22 is provided.

バス切換装置3には、I10データバス13゜23の切
換のためのスイッチS1、メモリバス14.24の切換
のためのスイッチS2,83が設けられ、さらに、0M
15.25のコピー動作の開始時にリセットされ、新た
に時間カウント動作を行なうタイマ5が設けられている
The bus switching device 3 is provided with a switch S1 for switching the I10 data bus 13.23, and switches S2 and 83 for switching the memory bus 14.24.
A timer 5 is provided which is reset at the start of the copy operation of 15.25 and performs a new time counting operation.

上記の構成のプログラマブルコントローラバックアップ
装置の動作について次に説明する。
The operation of the programmable controller backup device having the above configuration will be described next.

通常動作においてはバス切換装置3内の切換スイッチ8
1.82.33がそれぞれA側にあり、常用系のプログ
ラマブルコントローラPΔのCPLJllがI10バス
13を介してl104に結合され、PM12のプログラ
ムに従って制御動作が行なわれる。
In normal operation, the changeover switch 8 in the bus switching device 3
1, 82, and 33 are located on the A side, and the CPLJll of the regular programmable controller PΔ is coupled to I104 via the I10 bus 13, and control operations are performed according to the program of PM12.

これと共に、第2図(a)に示すように途中データD+
 、D2・・・、は、メモリバス14を介して結合され
る制御動作側の0M15に保持され、この0M15に保
持される途中データはスキャニングタイムts時間毎に
非制御動作側のDM25側に順次コピーされ、このコピ
ー開始と同時にタイマ5は繰返しリセットされる。
Along with this, as shown in FIG. 2(a), the intermediate data D+
, D2... are held in 0M15 on the control operation side connected via the memory bus 14, and the intermediate data held in this 0M15 is sequentially transferred to DM25 on the non-control operation side every scanning time ts. The timer 5 is repeatedly reset at the same time as the copying starts.

このタイマ5は第2図(b)に示すようにリセットされ
るとOから時間カウント動作を開始する特性のものであ
る。そこで、第2図(a)に示すように途中データD+
 、D2 、・・・が直線的に増加するものである場合
、スキャニングタイム【S毎に途中データD+ 、D2
 、・・・が0M15からD’M25側にコピーされる
。そしであるコピーの時点t1の後、時点t2において
CPU11またはPM12に故障が発生したとすると、
直ちに切換スイッチS1゜32.83はB側に切換ねり
、これによって待機系PBがバックアップし、CPU2
1が0M25に保存されている正常時の最新の途中デー
タを用いてシステムを停止することなく制御を継続する
As shown in FIG. 2(b), this timer 5 has a characteristic that when it is reset, it starts the time counting operation from 0. Therefore, as shown in FIG. 2(a), the intermediate data D+
, D2, . . . increase linearly, the scanning time [S]
, . . . are copied from 0M15 to D'M25. Suppose that a failure occurs in the CPU 11 or PM 12 at time t2 after copying time t1.
The selector switch S1゜32.83 is immediately switched to the B side, and as a result, the standby system PB backs up and the CPU2
1 continues control without stopping the system using the latest intermediate data during normal operation stored in 0M25.

この時バックアップ開始時点でタイマ5のカウント値t
dを読出し、制御動作側に切換った0M25にコピーさ
れている正常な途中データを非制御動作側に切換った0
M15ヘコピーし、且つ制御データを出力する時点t3
において上記バックアップ動作開始までの時間tdを加
味して上記の途中データ及び制御データに対し補正を掛
けて出力する。
At this time, the count value t of timer 5 at the start of backup
d was read and switched to the control operation side.0 The normal intermediate data copied to M25 was switched to the non-control operation side.
Time t3 when copying to M15 and outputting control data
In this step, the intermediate data and control data are corrected by taking into consideration the time td until the start of the backup operation and output.

従って、ある不特定の時点t2において故障が発生した
としても、タイマ5によりバックアップ動作時間tdを
知ることができるために、第2図(a)に示すように時
間に比例して出力を増加させる制御を行なう場合には、
fl、lJ御の途中でバックアップ動作が発生しても従
来の第5図に示すような出力のずれを生じさせることな
く直線的に変化させることにより出力データの補正を行
なうことができ、制御の精度の向上が図れるのである。
Therefore, even if a failure occurs at an unspecified time t2, the backup operation time td can be determined by the timer 5, so the output is increased in proportion to the time as shown in FIG. 2(a). When controlling,
Even if a backup operation occurs during control of fl and lJ, the output data can be corrected by changing it linearly without causing the output deviation as shown in the conventional method shown in Fig. 5. This allows for improved accuracy.

第3図はこの発明の他の実施例を示しており、複数の常
用系プログラマブルコントローラPA。
FIG. 3 shows another embodiment of the present invention, in which a plurality of regular programmable controllers PA are used.

PCに対し、1つの待機系プログラマブルコントローラ
PBを用いる場合の実施例である。
This is an example in which one standby programmable controller PB is used for a PC.

この実施例の場合には、常用系プログラマブルコントロ
ーラPA、PCそれぞれが中央演算処理HffCPU1
11,112とプログラム記憶装置PM121.122
によって構成されており、待機系プログラマブルコント
ローラPBは上記の実施例と同様にCPU21、PM2
2によって構成されている。
In this embodiment, each of the regular programmable controllers PA and PC has a central processing unit HffCPU1.
11,112 and program storage device PM121.122
The standby programmable controller PB consists of a CPU 21 and a PM 2 as in the above embodiment.
It is composed of 2.

またバス切換装置31.32がそれぞれ常用系プログラ
マブルコントローラPA、PCと待機系プログラマブル
コントローラPBとの切換を行なうために設けられてお
り、常用系PAと待機系PBとの間の切換のためのバス
切換装置31には、データバス131.23の切換のた
めのスイッチS1と、メモリバス141.24の切換の
ためのスイッチS2.S3が備えられている。
In addition, bus switching devices 31 and 32 are provided for switching between the regular system programmable controllers PA and PC and the standby system programmable controller PB, respectively. The switching device 31 includes a switch S1 for switching the data bus 131.23 and a switch S2 . for switching the memory bus 141.24. S3 is provided.

切換スイッチSLに対してl1041が接続されている
11041 is connected to the changeover switch SL.

切換スイッチ82.83に対してデータ記憶装置 置DM151.DM251が切換られように接続されて
おり、また、タイマ51が備えられている。
The data storage device DM151. A DM 251 is connected so as to be switched, and a timer 51 is also provided.

常用系プログラマブルコントローラPCと待機系プログ
ラマブルコントローラPBとの切換のためのバス切換装
置32にも切換スイッチS1が設ケラレ、l1042に
対しI10データバス132.23の切換接続ができる
ようになっており、またメモリバス142,24の切換
のための切換スイッチ82.83が備えられ、データ記
憶装置DM152.252の切換ができるようになって
いる。そしてこの0M152.252に対しタイマ52
が備えられている。
A changeover switch S1 is also installed in the bus switching device 32 for switching between the regular programmable controller PC and the standby programmable controller PB, so that the I10 data bus 132.23 can be switched and connected to the I1042. Further, changeover switches 82 and 83 for changing over the memory buses 142 and 24 are provided, so that the data storage devices DM152 and 252 can be changed over. And for this 0M152.252, timer 52
is provided.

この第2実施例の場合の動作について説明すると、通常
動作時には常用系プログラマブルコントローラPA、P
Cがそれぞれ動作し、PM121゜122に記憶されて
いるそれぞれのプログラムに従ってCPU111.11
2が動作し、スキャニングタイムjs+ 、 ts2毎
にそれぞれ0M151゜152に記憶されている途中デ
ータが定期的に0M151.252にコピーされる。
To explain the operation of this second embodiment, during normal operation, the regular programmable controllers PA, P
The CPUs 111 and 11 operate according to the respective programs stored in the PMs 121 and 122.
2 operates, and the intermediate data stored in 0M151°152 is periodically copied to 0M151.252 at each scanning time js+ and ts2.

今、いずれか一方の常用系プログラマブルコントローラ
、例えばPCに異常が発生しその動作が停止したならば
、直ちに切換装置32側のスイッチ81.82.S3は
B側に切換られ、待機系プログラマブルコントローラP
Bが常用系PCに対してバックアップ動作を開始するこ
とになる。従って、それまで0M252に記憶されてい
た途中データを基にCPLI 21が動作を継続し、制
御を継続することができる。
Now, if an abnormality occurs in one of the regular programmable controllers, such as a PC, and its operation stops, immediately switch 81, 82. S3 is switched to the B side and the standby programmable controller P
B will start a backup operation for the regular PC. Therefore, the CPLI 21 can continue operating based on the intermediate data that has been stored in the 0M252 and can continue control.

この場合にも、タイマ52はスキャニングタイム毎にリ
セットされ、ある時点で故障が発生した場合、その直前
のコピー時点から開始している時間カウントをバックア
ップ動作完了まで行ない、このカウント値に基づきCP
U21は制御データの新たな途中データに対して補正演
算を行ない、0M252に与え、制御を継続するのであ
る。
In this case as well, the timer 52 is reset every scanning time, and if a failure occurs at a certain point, the timer 52 counts the time starting from the previous copying point until the backup operation is completed, and based on this count value, the CP
U21 performs a correction calculation on the new intermediate data of the control data, supplies it to 0M252, and continues control.

なお、上記のように常用系プログラマブルコントローラ
2台に対し待機系プログラマブルコントローラ1台を用
意する実施例に限定されることがなく、さらに多くのプ
ログラマブルコントローラに対し1台の待機系プログラ
マブルコントローラを設けることも可能であり、逆に各
常用系プログラマブルコントローラ毎に1台の待機系プ
ログラマブルコントローラを備えることも可能である。
Note that the present invention is not limited to the embodiment in which one standby programmable controller is provided for two regular programmable controllers as described above, and one standby programmable controller may be provided for more programmable controllers. Alternatively, it is also possible to provide one standby programmable controller for each regular programmable controller.

[発明の効果] 以上のようにこの発明のによれば、常用系プログラマブ
ルコントローラに対し待機系プログラマブルコントロー
ラをそれらのデータバスとメモリバスとを切換接続でき
るように設け、さらにスキャニングタイム毎に途中デー
タをコピーすることのできるデータ記憶手段を設けるこ
と共に、データコピー時にリセットされるタイマを設け
、常用系プログラマブルコントローラが故障した場合に
待機系ブOグラマプルコントローラがバックアップ動作
を開始するまでの時間を計測するようにしているため、
このタイマのカウント値を用いて途中データの補正を行
ない、制御動作することができ、従来のようにある時点
でコピーされた後常用系プログラマブルコントローラが
故障を起こすまでの不定の時間についても正確に捕捉し
、バックアップ動作の開始までに必要な時間を正確に把
握して途中データの補正が行なえ、精度の高い制御に利
用することができる。
[Effects of the Invention] As described above, according to the present invention, a standby programmable controller is provided to the regular programmable controller so that the data bus and memory bus thereof can be switched and connected, and furthermore, data is transmitted in the middle at each scanning time. In addition to providing a data storage means that can copy the data, a timer that is reset at the time of data copying is provided to increase the time until the standby programmable controller starts backup operation in the event that the regular programmable controller fails. Because we are trying to measure
The count value of this timer can be used to correct intermediate data and perform control operations, making it possible to accurately control the undefined period of time until the regular programmable controller malfunctions after being copied at a certain point, unlike in the past. It is possible to accurately grasp the time required to capture data and start the backup operation, correct the data in the middle, and use it for highly accurate control.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例のブロック図、第2図は上
記実施例の動作説明図、第3図はこの発明の他の実施例
のブロック図、第4図は従来例のブロック図、第5図は
従来例の動作説明図である。 11.111,112,212.21・・・中央演算処
理装置(CPU) 12.121,122.22・・・プログラム記憶装置
(PM) 13.131,132.23・・・入出力データバス 14.141,142.24・・・メモリバス15.1
51.152・・・データ記憶装置(DM)25.25
1.252・・・データ記憶装置(DM)3.31.3
2・・・バス切換装置 4.41.42・・・入出力装2i(Ilo)5.51
.52・・・タイマ 81.82.83・・・スイッチ
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram of the operation of the above embodiment, Fig. 3 is a block diagram of another embodiment of the invention, and Fig. 4 is a block diagram of a conventional example. , FIG. 5 is an explanatory diagram of the operation of the conventional example. 11.111, 112, 212.21... Central processing unit (CPU) 12.121, 122.22... Program storage device (PM) 13.131, 132.23... Input/output data bus 14 .141, 142.24...Memory bus 15.1
51.152...Data storage device (DM) 25.25
1.252...Data storage device (DM) 3.31.3
2... Bus switching device 4.41.42... Input/output device 2i (Ilo) 5.51
.. 52...Timer 81.82.83...Switch

Claims (3)

【特許請求の範囲】[Claims] (1)常用系プログラマブルコントローラが異常ににな
つた時に入出力データバスとメモリバスとを待機系プロ
グラマブルコントローラ側に切換えて制御動作を継続さ
せるバス切換手段と、前記常用系、待機系それぞれのプ
ログラマブルコントローラに接続され、制御動作側は途
中データを記憶し、非制御動作側は前記制御動作側の記
憶している途中データを周期的にコピーする1組のデー
タ記憶手段と、この1組のデータ記憶手段における途中
データのコピー動作時にリセットされ、時間カウントを
再開するタイマ手段とを備えて成るプログラマブルコン
トローラバックアップ装置。
(1) Bus switching means that switches the input/output data bus and memory bus to the standby programmable controller side to continue control operation when the regular programmable controller becomes abnormal; a set of data storage means connected to the controller, for storing intermediate data on the control operation side and periodically copying intermediate data stored on the control operation side on the non-control operation side; A programmable controller backup device comprising: timer means that is reset during an intermediate data copy operation in a storage means and restarts time counting.
(2)複数台の常用系プログラマブルコントローラに対
して1台の待機系プログラマブルコントローラを設け、
前記常用系プログラマブルコントローラのいずれかが異
常となった時に、バス切換手段により待機系プログラマ
ブルコントローラに切換接続する特許請求の範囲第1項
に記載のプログラマブルコントローラバックアップ装置
(2) Provide one standby programmable controller for multiple regular programmable controllers,
2. The programmable controller backup device according to claim 1, wherein when one of the regular programmable controllers becomes abnormal, the bus switching means switches the connection to the standby programmable controller.
(3)前記タイマによるバックアップ動作開始までのカ
ウント時間に応じて異常発生直前にコピーされた途中デ
ータに補正を加えて新たな途中データとする補正手段を
備えて成る特許請求の範囲第1項に記載のプログラマブ
ルコントローラバックアップ装置。
(3) Claim 1 further comprises a correction means for correcting the intermediate data copied immediately before the occurrence of the abnormality to create new intermediate data according to the count time until the backup operation starts by the timer. Programmable controller backup device as described.
JP29893987A 1987-11-28 1987-11-28 Programmable controller backup device Pending JPH01142801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29893987A JPH01142801A (en) 1987-11-28 1987-11-28 Programmable controller backup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29893987A JPH01142801A (en) 1987-11-28 1987-11-28 Programmable controller backup device

Publications (1)

Publication Number Publication Date
JPH01142801A true JPH01142801A (en) 1989-06-05

Family

ID=17866143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29893987A Pending JPH01142801A (en) 1987-11-28 1987-11-28 Programmable controller backup device

Country Status (1)

Country Link
JP (1) JPH01142801A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0363802A (en) * 1989-08-02 1991-03-19 Tokyo Gas Co Ltd Backup method for control circuit and sequencer mechanism capable of performing mutual backup
WO1991011759A1 (en) * 1990-02-02 1991-08-08 Fanuc Ltd Extended pmc
CN101916069A (en) * 2010-08-19 2010-12-15 中国航空工业第六一八研究所 Redundancy configuration structure of fly-by-wire flight control simulation backup system
WO2016038988A1 (en) * 2014-09-09 2016-03-17 三菱重工業株式会社 Steam turbine, control method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0363802A (en) * 1989-08-02 1991-03-19 Tokyo Gas Co Ltd Backup method for control circuit and sequencer mechanism capable of performing mutual backup
WO1991011759A1 (en) * 1990-02-02 1991-08-08 Fanuc Ltd Extended pmc
US5258905A (en) * 1990-02-02 1993-11-02 Fanuc Ltd. Expanded programmable machine controller
CN101916069A (en) * 2010-08-19 2010-12-15 中国航空工业第六一八研究所 Redundancy configuration structure of fly-by-wire flight control simulation backup system
WO2016038988A1 (en) * 2014-09-09 2016-03-17 三菱重工業株式会社 Steam turbine, control method, and program

Similar Documents

Publication Publication Date Title
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
JPH0213321B2 (en)
CA2530149C (en) Starting control method, duplex platform system, and information processor
US5390103A (en) Synchronized programmable controller and method of controlling the same
JPH07334382A (en) Multicontroller system
JPH01142801A (en) Programmable controller backup device
JPH05158502A (en) Decentralized controller
JPH04253235A (en) Backup system for filing system
JPH03132143A (en) Emergency restart processing system in exchange system
JPH08185208A (en) Plant controller
JPH0599061A (en) Controller for automobile
JP2799104B2 (en) Redundant switching device for programmable controller
JP6835422B1 (en) Information processing device and information processing method
JPH02194446A (en) Module recovery method for duplex information processing system
JPH02196341A (en) Fault restoring system for information processor
JPS5990102A (en) Program controller
JPS6218060B2 (en)
KR20210070656A (en) Apparatus for back up user data file of plc and method of the same
JPH0581065A (en) Self diagnostic method for programmable controller system
JPH04270403A (en) Method and device for ipl management at computer system
JPS6272038A (en) Testing method for program runaway detecting device
JPH01209516A (en) System for monitoring timer working
JPH0517743U (en) Redundant computer system
JPH0519897A (en) Resetting control circuit of information processor
JPH025165A (en) Automatic restarting system