JPH06103444B2 - Standby dual programmable controller switching method - Google Patents

Standby dual programmable controller switching method

Info

Publication number
JPH06103444B2
JPH06103444B2 JP19362984A JP19362984A JPH06103444B2 JP H06103444 B2 JPH06103444 B2 JP H06103444B2 JP 19362984 A JP19362984 A JP 19362984A JP 19362984 A JP19362984 A JP 19362984A JP H06103444 B2 JPH06103444 B2 JP H06103444B2
Authority
JP
Japan
Prior art keywords
switching
programmable controller
control
controller
control sequence
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
Application number
JP19362984A
Other languages
Japanese (ja)
Other versions
JPS6172302A (en
Inventor
正 宮下
俊勝 河合
博 有光
清司 秦野
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 JP19362984A priority Critical patent/JPH06103444B2/en
Publication of JPS6172302A publication Critical patent/JPS6172302A/en
Publication of JPH06103444B2 publication Critical patent/JPH06103444B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は制御対象として例えば無人搬送台車を自動運転
するために用いられる待機2重系プログラマブルコント
ローラにおいて、特にその切換時周辺装置を含めたフェ
イルセーフ論理を組み込んで切換制御を行なうようにし
た待機2重系プログラマブルコントローラの切換方法に
関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a standby dual system programmable controller used as an object to be controlled, for example, for automatically operating an automated guided vehicle, and in particular, a fail safe including peripheral devices at the time of switching. The present invention relates to a switching method for a standby dual system programmable controller that incorporates logic to perform switching control.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

制御対象として例えば無人搬送台車を自動運転するため
のプロセスコントローラにおいてはその信頼性を確保す
るため多重化構成が採用されている。このようなプロセ
スコントローラにおいて、特に多重化構成のうち多く採
用されている方式としては故障時に完全故障となる中央
演算処理部(CPU)を2重化し、制御入出力部を共用と
する構成のものがある。この構成の場合、制御入出力部
には通常ヘルシーチェックロジックが有り、異常時には
正常側CPUに自動切換ができるようになっている。またC
PUの異常時には制御入出力部に有するヘルシーチェック
ロジックによる最終的な入/出力切換を待つまでもな
く、バックアップ用CPUのオペレーションシステムのプ
ログラム(OS)により、マスタ側のエラー発生を常時監
視し、異常検出によりマスタ側の切離しを指令する方法
もとられている。したがって、このような方法を採れば
プロセスコントローラを瞬時に切換えることにより、制
御上はあたかも連続制御となるようにバックアップさせ
ることができる。
For example, a process controller for automatically operating an automated guided vehicle as a control target employs a multiplex configuration to ensure its reliability. In such a process controller, a method that is often used among the multiplex configurations is one in which the central processing unit (CPU), which becomes a complete failure at the time of failure, is duplicated and the control input / output section is shared. There is. In the case of this configuration, the control input / output unit normally has a healthy check logic so that the CPU can be automatically switched to the normal side CPU when an abnormality occurs. Also C
In the event of a PU error, without waiting for the final input / output switching by the healthy check logic in the control I / O unit, the backup CPU operation system program (OS) constantly monitors the error occurrence on the master side, A method of instructing disconnection on the master side by detecting abnormality is also used. Therefore, if such a method is adopted, the process controller can be instantaneously switched to back up the control as if it were continuous control.

ところで、このような2重化構成のプロセスコントロー
ラにおいて、CPU異常時に連続制御を行なわせるには、
各実行サイクルを終了する毎にそれが正常終了であるこ
とを確認してその時の内部レジスタをそのままバックア
ップ用レジスタに転送しておき、常に最新レジスタ状態
からバックアップ側で制御を開始できるように構成して
ある。
By the way, in such a duplex process controller, in order to perform continuous control when the CPU is abnormal,
After each execution cycle, confirm that it is completed normally, transfer the internal register at that time to the backup register as it is, and configure the backup side to always start control from the latest register state. There is.

第6図は前述した2重化構成のプロセスコントローラの
概念を示すブロック図である。第6図において、中央演
算処理装置(CPU)1,2、内部レジスタ(Reg)3,4及び周
辺装置5,6はマスタ側及びスレーブ側共に対称な構成と
なっている。入出力部(I/O)7は入/出力切換ロジッ
ク部(CH)8を介してマスタ側又はスレーブ側CPU1,2に
信号的に結合されている。CH部8はバックアップ側オペ
レーションシステムプログラム(OS)によるバックアッ
プ切換とCH部8に有するヘルシーチェックロジックによ
りI/O7の切換えが行なわれるようになっている。
FIG. 6 is a block diagram showing the concept of the above-mentioned duplexed process controller. In FIG. 6, the central processing units (CPUs) 1 and 2, the internal registers (Reg) 3 and 4 and the peripheral devices 5 and 6 have symmetrical configurations on the master side and the slave side. The input / output unit (I / O) 7 is signal-coupled to the master side or slave side CPUs 1 and 2 via the input / output switching logic unit (CH) 8. The CH section 8 is configured to perform backup switching by a backup side operation system program (OS) and I / O7 switching by a healthy check logic included in the CH section 8.

しかしこのようなバックアップ切換えはCPU本体の演算
処理機能の故障の検出によりバックアップを行なうこと
を主体としており、周辺装置の故障に対しては一般的に
バックアップ処理がなされていない。したがって、前述
したようなプロセスコントローラにより例えば無人搬送
台車の自動運転制御装置を構成する場合、周辺装置にそ
の制御を継続するに必要不可欠なる装置があるとその周
辺装置の故障により自動運転制御機能が停止してしま
い、連続制御の実現ができなくなる。また切換時のハー
ド的なトラブルにより切換失敗を起したような場合には
保安制御機能がないため制御対象が異常動作を引き起し
てしまうこともある。
However, such backup switching is mainly performed by detecting the failure of the arithmetic processing function of the CPU main body, and the backup processing is generally not performed for the failure of the peripheral device. Therefore, for example, when an automatic operation control device for an automated guided vehicle is configured by the process controller as described above, if there is a device in the peripheral device that is indispensable to continue its control, the automatic operation control function will occur due to the failure of the peripheral device. It will be stopped and continuous control cannot be realized. Further, when the switching fails due to a hardware trouble at the time of switching, the control target may cause an abnormal operation because there is no security control function.

〔発明の目的〕[Object of the Invention]

本発明は上記のような事情に鑑みてなされたもので、CP
U本体の演算処理機能の故障に対しては既に確立されて
いる切換処理機能によりバックアップ制御を行なうこと
ができ、またプロセスコントローラに付加される周辺装
置の故障の場合でも連続制御を行ないながら切換を行な
うことができる待機2重系プログラマブルコントローラ
の切換方法を提供することを目的とする。
The present invention has been made in view of the above circumstances.
In the case of a failure in the arithmetic processing function of the U main unit, backup control can be performed by the switching processing function that has already been established, and even if a peripheral device added to the process controller fails, switching can be performed while performing continuous control. An object of the present invention is to provide a switching method of a standby dual system programmable controller that can be performed.

〔発明の概要〕[Outline of Invention]

本発明はかかる目的を達成するため、プログラマブルコ
ントローラ自体の診断を行なう診断機能およびこの診断
機能により故障が検出されると待機系に自動的に切換え
る自動切換機能を有するプログラマブルコントローラと
このプログラマブルコントローラに接続された周辺装置
とを一つの系として待機2重系を構成したシステムにお
いて、前記各系のプログラマブルコントローラの制御シ
ーケンスにその系の周辺装置の故障を監視する故障監視
機能を持たせ、周辺装置が故障した時にはそのプログラ
マブルコントローラの制御シーケンスにより該プログラ
マブルコントローラ自体を模擬的に故障状態にしてプロ
グラマブルコントローラに有する前記自動切換機能によ
り待機系に切換えることを特徴としている。
In order to achieve such an object, the present invention is connected to a programmable controller having a diagnostic function for diagnosing the programmable controller itself and an automatic switching function for automatically switching to a standby system when a failure is detected by the diagnostic function. In the system in which the standby dual system is configured with the peripheral devices as one system, the control sequence of the programmable controller of each system has a failure monitoring function for monitoring the failure of the peripheral devices of the system, When a failure occurs, the programmable controller itself is simulated as a failure state by the control sequence of the programmable controller, and is switched to the standby system by the automatic switching function of the programmable controller.

〔発明の実施例〕Example of Invention

以下本発明の一実施例を図面を参照して説明する。第1
図は本発明による待機2重系プログラマブルコントロー
ラの全体の構成例を示すものである。第1図において、
マスタ側コントローラ10はマスタ側レジスタ11を用いて
自動制御シーケンスを実行し、マスタ側情報伝送装置12
により集中指令装置40に結合されている。また制御対象
32に対しては2重化構成のために設けられた入出力切換
コントローラ31を経由して入出力部31より制御信号が入
/出力されるようになっている。
An embodiment of the present invention will be described below with reference to the drawings. First
The figure shows an example of the overall configuration of a standby dual system programmable controller according to the present invention. In FIG.
The master-side controller 10 executes the automatic control sequence using the master-side register 11, and the master-side information transmission device 12
Is connected to the centralized command device 40 by. Control target
A control signal is input / output to / from the input / output unit 31 via the input / output switching controller 31 provided for the duplex configuration.

バックアップ側コントローラ20も上記系と同様にバック
アップ側レジスタ21、バックアップ側情報伝送装置22に
より構成され、マスタ側と同一機能の自動制御シーケン
スが実行できるようになっている。
The backup controller 20 is also composed of the backup register 21 and the backup information transmission device 22 similarly to the above system, and is capable of executing the automatic control sequence of the same function as the master side.

入出力切換コントローラ30は連続制御状態を維持しなが
ら自動切換を行なうためにマスタ側コントローラ10およ
びバックアップ側コントローラ20からそれぞれ出力され
る電源正常信号301,311と故障信号302,312を監視し、第
2図のマトリックスで示されるロジックにより自動切換
が行なわれるようになっている。すなわち、第2図にお
いて、“ON"は信号有り、“OFF"は信号無しを表わし、
例えばケース1について見ればマスタ側コントローラの
電源正常信号が“ON"で故障信号が“OFF"であり、また
バックアップ側コントローラの電源正常信号が“ON"で
故障信号が“OFF"の場合には入出力切換コントローラの
ロジック処理としては現状維持となる。
The input / output switching controller 30 monitors the power supply normal signals 301, 311 and the failure signals 302, 312 output from the master side controller 10 and the backup side controller 20, respectively, in order to perform automatic switching while maintaining a continuous control state, and the matrix of FIG. The automatic switching is performed by the logic shown by. That is, in FIG. 2, “ON” means that there is a signal, “OFF” means that there is no signal,
For example, in case 1, if the master controller power supply normal signal is “ON” and the failure signal is “OFF”, and if the backup controller power supply normal signal is “ON” and the failure signal is “OFF”, The current state is maintained as the logic processing of the input / output switching controller.

また、マスタ側レジスタ11とバックアップ側レジスタ21
は制御側となっているコントローラの制御シーケンスが
正常に終ったことを確認した上で例えばマスク側レジス
タ11の内容(内部信号及び最終入/出力信号状態)をバ
ックアップ側レジスタ21にコピーするようになってい
る。したがって、切換により制御側となったコントロー
ラは通常の制御シーケンスの実行を開始させることで、
切換前のコントローラの行なっていたシーケンスを継続
して実行させることが可能となる。
In addition, the master side register 11 and the backup side register 21
Confirm that the control sequence of the controller on the control side has ended normally, and then copy the contents of the mask side register 11 (internal signal and final input / output signal state) to the backup side register 21. Has become. Therefore, the controller that became the control side due to switching starts execution of the normal control sequence,
It is possible to continuously execute the sequence performed by the controller before switching.

一方、両コントローラ共用の入出力部31にはマスタ側コ
ントローラ10から出力される前述した電源正常信号301
と故障信号302及びバックアップ側コントローラ20から
出力される電源正常信号311と故障信号312がそれぞれ入
力されるようになっている。また入出力部31にマスタ側
情報伝送装置12から出力される電源正常信号303と故障
信号304及びバックアップ側情報伝送装置22から出力さ
れる電源正常信号313と故障信号314がそれぞれ入力され
るようになっている。さらに入出力部31には入出力切換
コントローラ30から出力される入出力切換ポジションを
示す入出力マスタ側接続信号305、入出力スレーブ側接
続信号315の何れかが入力されるようになっている。
On the other hand, the power supply normal signal 301 output from the master side controller 10 is output to the input / output unit 31 shared by both controllers.
The failure signal 302, the power supply normal signal 311 output from the backup controller 20, and the failure signal 312 are input. Further, the power supply normal signal 303 and the failure signal 304 output from the master side information transmission device 12 and the power supply normal signal 313 and the failure signal 314 output from the backup side information transmission device 22 are input to the input / output unit 31, respectively. Has become. Further, either the input / output master side connection signal 305 or the input / output slave side connection signal 315 indicating the input / output switching position output from the input / output switching controller 30 is input to the input / output unit 31.

そして、入出力部31にそれぞれ入力されるこれらの信号
は制御中のコントローラによって制御シーケンス内でそ
れぞれ読み込むことができるようになっている。
Then, these signals respectively input to the input / output unit 31 can be read in the control sequence by the controller being controlled.

次に上記のように構成された待機2重系プログラマブル
コントローラにおいて、その切換方法を第3図乃至第5
図を用いて具体的に説明する。
Next, in the standby dual system programmable controller configured as described above, the switching method will be described with reference to FIGS.
A specific description will be given with reference to the drawings.

マスタ側コントローラ10から出力される電源正常信号30
1及びバックアップ側コントローラ20から出力される電
源正常信号311は基本信号としてコントローラの電源状
態が正常の場合“ON"となる。またマスタ側コントロー
ラ10から出力される故障信号302及びバックアップ側コ
ントローラ312から出力される故障信号312はコントロー
ラがシーケンスを実行する際にコントローラの異常とし
て検知されるシーケンス実行タイムアウト、イリーガル
シーケンス命令の実行を含むコントローラ機能が故障す
ると“ON"となる。
Power supply normal signal 30 output from the master controller 10
The power supply normal signal 311 output from the controller 1 and the backup controller 20 is “ON” when the controller power supply is normal as a basic signal. Further, the failure signal 302 output from the master side controller 10 and the failure signal 312 output from the backup side controller 312 are sequence execution time-out detected as an abnormality of the controller when the controller executes the sequence, execution of an illegal sequence instruction. Turns on when the controller function including it fails.

マスタ側情報伝送装置12から出力される電源正常信号30
3及びバックアップ側情報伝送装置22から出力される電
源正常信号313は情報伝送装置の電源状態が正常な場合
“ON"となり、またマスタ側情報伝送装置12から出力さ
れる故障信号304及びバックアップ側情報伝送装置22か
ら出力される故障信号314は情報伝送機能が故障すると
“ON"となる。
Power supply normal signal 30 output from master side information transmission device 12
3 and the power supply normal signal 313 output from the backup side information transmission device 22 is “ON” when the power supply state of the information transmission device is normal, and the failure signal 304 and the backup side information output from the master side information transmission device 12 The failure signal 314 output from the transmission device 22 turns “ON” when the information transmission function fails.

これらの電源正常信号301,311,303,313及び故障信号30
2,312,304,314は全て入力信号として入出力部31から制
御側コントローラにそれぞれ入力される。制御側コント
ローラではこれらの入力信号により自動運転制御シーケ
ンスにおいて第3図に示すような論理判断を行なう。す
なわち、マスタ側コントローラ10の電源正常信号が“OF
F"であったり、故障信号が“ON"の場合や、マスタ側情
報伝送装置12の電源正常信号が“OFF"であったり、故障
信号が“ON"の場合には制御シーケンス判断1としてマ
スタ側への切換が不可能と判断し、また制御シーケンス
判断2としてバックアップ側への切換が必要と判断す
る。またバックアップ側コントローラ20の電源正常信号
が“OFF"であったり、故障信号が“ON"の場合やバック
アップ側情報伝送装置22の電源正常信号が“OFF"であっ
たり、故障信号が“ON"の場合には制御シーケンス判断
1としてバックアップ側への切換が不可能と判断し、ま
た制御シーケンス判断2としてマスタ側への切換が必要
と判断する。
These power supply normal signals 301, 311, 303, 313 and failure signals 30
2,312, 304 and 314 are all input as input signals from the input / output unit 31 to the control side controller. The controller on the control side makes a logical decision as shown in FIG. 3 in the automatic driving control sequence based on these input signals. That is, the power supply normal signal of the master side controller 10 is "OF".
If it is F ", the failure signal is" ON ", the power supply normal signal of the master side information transmission device 12 is" OFF ", or the failure signal is" ON ", the master is determined as the control sequence judgment 1. It is judged that switching to the backup side is impossible, and it is necessary to switch to the backup side as the control sequence judgment 2. Also, the power supply normal signal of the backup side controller 20 is "OFF" or the failure signal is "ON". In the case of "or the power supply normal signal of the backup side information transmission device 22 is" OFF "or the failure signal is" ON ", it is judged as the control sequence judgment 1 that switching to the backup side is impossible, and As control sequence determination 2, it is determined that switching to the master side is necessary.

このように制御シーケンスによる論理判断が行なわれる
と、その判断にもとずいて第5図に示すような処理が行
なわれる。すなわち、制御シーケンス判断1としてバッ
クアップ側への切換が不可能と判断され、また制御シー
ケンス判断2としてマスタ側への切換が必要と判断され
た場合には入出力マスタ側選択信号が“ON"であれば切
換処理無とし、入出力バックアップ側選択信号が“ON"
であればバックアップ側への切換処理を行なう。また制
御シーケンス判断1としてマスタ側への切換が不可能と
判断され、また制御シーケンス2としてバックアップ側
への切換が必要と判断された場合には、入出力マスタ側
選択信号が“ON"であれば、バックアップ側への切換処
理を行ない、入出力バックアップ側選択信号が“ON"で
あれば、切換処理無とする。
When the logical judgment is made by the control sequence in this manner, the processing shown in FIG. 5 is executed based on the judgment. That is, when it is judged that the switching to the backup side is impossible as the control sequence judgment 1, and when it is judged that the switching to the master side is necessary as the control sequence judgment 2, the input / output master side selection signal is “ON”. If there is, no switching processing is performed, and the input / output backup side selection signal is "ON".
If so, the switching process to the backup side is performed. If it is determined in control sequence determination 1 that switching to the master side is impossible, and if it is determined in control sequence 2 that switching to the backup side is necessary, the I / O master side selection signal must be "ON". For example, switching processing to the backup side is performed, and if the input / output backup side selection signal is "ON", there is no switching processing.

さらに第3図に示す論理判断が第4図に示す処理ケース
3のように制御シーケンス判断1と制御シーケンス判断
2とが相くい違う組合せの場合、つまり制御シーケンス
判断1ではバックアップ側への切換が不可能、マスタ側
への切換えも不可能と判断しているのに対し、制御シー
ケンス2ではバックアップ側への切換が必要、マスタ側
への切換が必要と判断している場合には、入出力マスタ
側選択信号、入出力バックアップ選択信号の何れが“O
N"であっても保安処理を行なう。
Furthermore, when the logic judgment shown in FIG. 3 is a combination of control sequence judgment 1 and control sequence judgment 2 which are different from each other as in processing case 3 shown in FIG. 4, that is, in control sequence judgment 1, switching to the backup side is performed. I / O is judged to be impossible and switching to the master side is also impossible, whereas in control sequence 2 it is judged that switching to the backup side is necessary and switching to the master side is necessary, input / output Either the master side selection signal or the input / output backup selection signal is “O
Even if it is N ", security processing is performed.

ここで、第4図に示すように制御シーケンス論理判断に
よる処理を行なうに際して制御コントローラ10,20には
次のような機能を持せてある。
Here, as shown in FIG. 4, the control controllers 10 and 20 are provided with the following functions when performing processing based on the control sequence logic judgment.

(i) 第4図に示す処理が切換処理となった場合の手
順。
(I) Procedure when the process shown in FIG. 4 is a switching process.

(1) 被制御対象が例えば搬送台車の場合にはその全
搬送台車に対して制御継続が可能な最も安全な制御指令
(例えば低速走行指令)に切換る。
(1) When the controlled object is, for example, a carrier vehicle, the control command is switched to the safest control command (for example, a low speed traveling command) that allows control to continue for all the carrier vehicles.

(2) 相手側コントローラへ制御シーケンスにより切
換手順が踏まれたことを示す内部信号をセットする。
(2) An internal signal indicating that the switching procedure has been performed according to the control sequence is set to the partner controller.

(3) 相手側コントローラへレジスタの内容(内部信
号及び最終出力信号状態)がコピーされるよう正常シー
ケンスを1スキャン実行させる。
(3) The normal sequence is executed for one scan so that the register contents (internal signal and final output signal state) are copied to the partner controller.

(4) 最も動作の速い切換を行なわせるようにイリー
ガルシーケンス命令を実行させる。
(4) The illegal sequence instruction is executed so that the fastest switching is performed.

次にこのような手順による切換により起動された相手側
コントローラの制御シーケンスは次の手順により正常切
換の確認と切換完了処理を行なう。
Next, the control sequence of the partner controller activated by the switching according to the above procedure confirms the normal switching and performs the switching completion processing by the following procedure.

(1) 入出力マスタ側選択信号と入出力バックアップ
選択信号の最終入力信号に対して今回の入力信号が変化
しているか否かを確認し、変化しているときに判断を開
始する。
(1) It is confirmed whether or not the current input signal has changed with respect to the final input signal of the input / output master side selection signal and the input / output backup selection signal, and when there is a change, judgment is started.

(2) 切換が起き、かつ内部信号として切換手順が踏
まれたことを確認できた場合は切換完了処理を行ない、
正常シーケンスの実行を許可する。
(2) When it is confirmed that switching has occurred and the switching procedure has been performed as an internal signal, switching completion processing is performed,
Allow normal sequence execution.

(3) 切換のみが起った状態のときは、入出力切換コ
ントローラによる切換として制御シーケンスを継続させ
る。
(3) When only switching has occurred, the control sequence is continued as switching by the input / output switching controller.

(ii) 第4図に示す処理が保安処理となった場合。(Ii) When the process shown in FIG. 4 is a security process.

この場合には被制御対象としての例えば搬送台車に対
し、安全停止指令を出力し、制御シーケンスを終了させ
ることができ、保安設備による最終段階の機能に頼るこ
となく、安全停止指令によるスムーズな保安制御が可能
となる。
In this case, a safety stop command can be output to the controlled vehicle, for example, and the control sequence can be terminated, and smooth safety control by the safety stop command can be performed without relying on the final stage function of the safety equipment. It becomes possible to control.

以上のような制御コントローラの制御シーケンスによる
判断及び処理の流れを示すと第5図(a)〜(c)のよ
うになる。ここで、その流れについて述べると、先ず第
5図(a)のステップ(イ)において、入出力選択信号
が変化したか否かを判別し、変化しているときはステッ
プ(ロ)にて入出力マスタ側選択信号が“ON"か否かを
判別し、“ON"であればステップ(ハ)にて切換手順が
踏まれたかどうかを判別し、切換手順が踏まれていれば
ステップ(ニ)にてマスタ側への切換完了処理を行な
う。また上記ステップ(ロ)にて入出力マスタ側選択信
号が“ON"でなければ、ステップ(ホ)にて切換手順が
踏まれたかどうかを判別し、踏まれていればステップ
(ヘ)にてバックアップ側への切換完了処理を行なう。
The flow of judgment and processing by the control sequence of the controller as described above is shown in FIGS. 5 (a) to 5 (c). The flow will be described. First, in step (a) of FIG. 5 (a), it is determined whether or not the input / output selection signal has changed, and if it has changed, the input is performed in step (b). It is determined whether or not the output master side selection signal is "ON". If it is "ON", it is determined whether or not the switching procedure is performed in step (C). ) To complete the switching to the master side. If the input / output master side selection signal is not "ON" in step (b) above, it is determined in step (e) whether or not the switching procedure is stepped. If so, in step (f). Complete the switching to the backup side.

このようにステップ(ニ),(ヘ)にて切換完了処理が
行なわれた場合、あるいはステップ(ハ),(ホ)にて
切換手順が踏まれていないと判断された場合には、ステ
ップ(ト)にて切換手順がイニシャライズされ、第5図
(b)に示すステップ(チ)に進む。ステップ(チ)で
は第3図に示すシーケンス判断1を実行し、次いでステ
ップ(リ)にてシーケンス判断2を実行する。そしてそ
の判断がステップ(ヌ)にてマスタ側への切換が不可能
であるか否かを判別し、不可能でなければステップ
(ル)にてマスタ側への切換が必要かどうかを判別す
る。マスタ側への切換が必要であれば、ステップ(オ)
にて入出力バックアップ側選択信号が“ON"であるかど
うかを判別し、“ON"であれば、ステップ(ワ)にてマ
スタ側への切換処理が行なわれる。また上記ステップ
(ヌ)にてマスタ側への切換が不可能であると判別され
ると、ステップ(カ)にてマスタ側への切換が必要であ
るか否かを判別し、必要であればステップ(ヨ)にて入
出力バックアップ信号が“ON"であるかどうかを判別
し、“ON"であればステップ(タ)にてバックアップ側
の保安処理が行なわれる。
In this way, when the switching completion processing is performed in steps (d) and (f), or when it is determined that the switching procedure is not performed in steps (c) and (e), step ( Switching procedure is initialized, and the process proceeds to step (h) shown in FIG. 5 (b). In step (h), the sequence judgment 1 shown in FIG. 3 is executed, and then in step (ri), the sequence judgment 2 is executed. Then, in step (n), it is determined whether or not it is impossible to switch to the master side, and if not, in step (l) it is determined whether or not it is necessary to switch to the master side. . If it is necessary to switch to the master side, go to step (e).
It is determined whether or not the input / output backup side selection signal is "ON", and if it is "ON", the switching process to the master side is performed in step (5). Further, if it is determined in step (e) above that switching to the master side is impossible, it is determined in step (f) whether or not switching to the master side is necessary. In step (Y), it is determined whether the input / output backup signal is "ON". If "ON", the backup side security process is performed in step (T).

このようにステップ(ワ)にてマスタ側への切換処理、
ステップ(タ)にて保安処理が行なわれた場合、あるい
はステップ(ル),(カ)にてマスタ側への切換が必要
でないと判別されたり、ステップ(オ),(ヨ)にて入
出力バックアップ選択信号が“ON"でない場合には第6
図(c)に示すステップ(レ)に進む。ステップ(レ)
にてバックアップ側への切換が不可能であるか否かを判
別し、不可能でなければステップ(ソ)にてバックアッ
プ側への切換が必要であるかどうかを判別し、必要であ
ればステップ(ツ)にて入出力マスタ側選択信号が“O
N"であるか否かを判別し、“ON"であればステップ
(ネ)にてバックアップ側への切換処理が行なわれる。
また上記ステップ(レ)にてバックアップ側への切換が
不可能であると判別されるとステップ(ナ)にてバック
アップ側への切換が必要であるか否かが判別され、必要
であればステップ(ラ)にて入出力マスタ側選択信号が
“ON"であるかどうかが判別され、“ON"であればステッ
プ(ム)にてマスタ側の保安処理が行なわれる。
In this way, in step (wa), the switching process to the master side,
When security processing is performed in step (TA), or it is determined that switching to the master side is not necessary in steps (LE) and (F), and input / output in steps (E) and (YO). 6th when the backup selection signal is not "ON"
The process proceeds to step (re) shown in FIG. Step (re)
Determines whether switching to the backup side is impossible, and if not, determines whether switching to the backup side is necessary in step (so), and if necessary, step In (), the input / output master side selection signal is "O
Whether it is N "or not is determined, and if" ON ", the switching process to the backup side is performed in step (n).
Further, if it is determined in the above step (re) that switching to the backup side is impossible, it is determined in step (na) whether or not switching to the backup side is necessary, and if necessary, step In (a), it is determined whether or not the input / output master side selection signal is "ON". If it is "ON", the security processing on the master side is performed in step (m).

このようにステップ(ネ)にてバックアップ側への切換
処理、ステップ(ム)にて保安処理が行なわれると一連
の処理ルーチンが終了する。また、ステップ(ソ),
(ナ)にてバックアップ側への切換が必要でないと判断
されたり、ステップ(ツ),(ラ)にて入出力マスタ側
選択信号が“ON"でない場合にも処理ルーチンが終了す
る。
In this way, when the switching process to the backup side is performed in step (n) and the security process is performed in step (m), a series of processing routines are ended. In addition, step (so),
The processing routine is also terminated when it is determined in (a) that switching to the backup side is not necessary, or when the input / output master side selection signal is not "ON" in steps (t) and (la).

以上のような第5図(a)〜(c)に示すフローチャー
トからも判るように本実施例では各系のプログラマブル
コントローラの制御シーケンスにその系の周辺装置の故
障を監視する故障監視機能を持たせ、周辺装置が故障し
た時にはそのプログラマブルコントローラの制御シーケ
ンスにより該プログラマコントローラ自体を模擬的に故
障状態にしてプログラマブルコントローラに有する自動
切換機能により待機系に切換えるようにしたので、プロ
セスコントローラに付加される周辺装置の故障に対し連
続制御を行ないながら、しかも瞬時切換機能を損なうこ
となく、周辺装置の同期切換を行なうことができる。
As can be seen from the flow charts shown in FIGS. 5A to 5C as described above, in this embodiment, the control sequence of the programmable controller of each system has a failure monitoring function for monitoring the failure of peripheral devices of the system. When the peripheral device fails, the programmer controller itself is made to be in a simulated failure state by the control sequence of the programmable controller and switched to the standby system by the automatic switching function of the programmable controller. Therefore, it is added to the process controller. It is possible to perform the synchronous switching of the peripheral device while continuously controlling the failure of the peripheral device and without impairing the instantaneous switching function.

また、プログラマブルコントローラの制御シーケンス判
断による切換に際して、切換制御を開始する前に制御シ
ーケンスによる制御対象機器の通常停止制御を開始さ
せ、切換後の相手側制御シーケンスで正常切換を確認し
た上で通常停止制御を中止するようにしているので、切
換制御中に発生した故障により切換後異常動作するよう
なことがない。
In addition, when switching based on the control sequence judgment of the programmable controller, start the normal stop control of the control target device by the control sequence before starting the switching control, confirm the normal switching in the partner control sequence after switching, and then stop normally. Since the control is stopped, there is no possibility of abnormal operation after switching due to a failure that occurs during switching control.

さらに、プログラマブルコントローラの制御シーケンス
判断による切換に際して切換先の系の切換可能状態の監
視を行ない、切換不可能時には切換制御を実行させる代
りに制御シーケンスにより制御対象機器の通常停止制御
を実行させた後に制御を打切るようにしているので、制
御対象機器が異常動作をするようなことがない。
Furthermore, when switching is performed based on the judgment of the control sequence of the programmable controller, the switchable state of the switching destination system is monitored, and when the switching is not possible, instead of executing the switching control, the normal stop control of the control target equipment is executed by the control sequence. Since the control is terminated, the controlled device does not operate abnormally.

さらに、プログラマブルコントローラには入出力切換コ
ントローラの切換選択信号を入力し、切換選択信号と切
換要因発生論理判断が一致している場合のみ切換制御を
開始するようにしているので、マスタ側及びバックアッ
プ側プログラマブルコントローラに組込まれる制御シー
ケンスを全く同一にすることが可能となり、シーケンス
の修正等によるメンテナンスの煩しさを無くすことがで
きる。
Further, since the programmable controller is input with the switching selection signal of the input / output switching controller and the switching control is started only when the switching selection signal and the switching factor occurrence logic judgment match, the master side and the backup side The control sequences incorporated in the programmable controller can be made completely the same, and the trouble of maintenance due to the correction of the sequences can be eliminated.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、プログラマブルコン
トローラ自体の故障に対しては既に確立されている切換
処理機能によりバックアップ制御を行なうことができる
ことは勿論、プロセスコントローラに付加される周辺装
置の故障の場合でも連続制御を行ないながら、しかも瞬
時切換機能を損なうことなく、周辺装置の同期切換を行
なうことができる待機2重系プログラマブルコントロー
ラの切換方法が提供できる。
As described above, according to the present invention, it is possible to perform the backup control by the switching processing function which has already been established for the failure of the programmable controller itself, and of course the failure of the peripheral device added to the process controller. Even in such a case, it is possible to provide a switching method of a standby dual system programmable controller capable of performing synchronous switching of peripheral devices while performing continuous control and without impairing the instantaneous switching function.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明による待機2重系プログラマブルコント
ローラの切換方法を説明するための一実施例を示す全体
のシステム構成のブロック図、第2図は同実施例におけ
る入出力切換コントローラの自動切換ロジックの説明
図、第3図及び第4図は同実施例における制御シーケン
スの論理判断及び処理の説明図、第5図は同実施例のフ
ローチャートを示す図、第6図は従来の待機2重系プロ
グラマブルコントローラの全体のシステム構成を示すブ
ロック図である。 10……マスタ側コントローラ、11……マスタ側レジス
タ、12……マスタ側情報伝送装置、20……バックアップ
側コントローラ、21……バックアップ側レジスタ、22…
…バックアップ側情報伝送装置、30……入出力コントロ
ーラ、31……入出力部、32……被制御対象。
FIG. 1 is a block diagram of an entire system configuration showing an embodiment for explaining a switching method of a standby dual system programmable controller according to the present invention, and FIG. 2 is an automatic switching logic of an input / output switching controller in the same embodiment. FIG. 3, FIG. 3 and FIG. 4 are explanatory diagrams of the logic judgment and processing of the control sequence in the same embodiment, FIG. 5 is a flowchart showing the same embodiment, and FIG. 6 is a conventional standby dual system. It is a block diagram which shows the whole system configuration of a programmable controller. 10 …… Master side controller, 11 …… Master side register, 12 …… Master side information transmission device, 20 …… Backup side controller, 21 …… Backup side register, 22…
... Backup side information transmission device, 30 ... I / O controller, 31 ... I / O unit, 32 ... Controlled object.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 有光 博 岡山県倉敷市水島川崎通1丁目(無番地) 川崎製鉄株式会社水島製鉄所内 (72)発明者 秦野 清司 岡山県倉敷市水島川崎通1丁目(無番地) 川崎製鉄株式会社水島製鉄所内 (56)参考文献 特開 昭52−30358(JP,A) 特開 昭58−66105(JP,A) 特開 昭49−12747(JP,A) 特開 昭48−49350(JP,A) 特開 昭57−93403(JP,A) 特開 昭55−121501(JP,A) 特開 昭59−157704(JP,A) 特開 昭59−149503(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hiroshi Arimitsu, Hiroshi Arimitsu 1-chome, Mizushima Kawasaki-dori, Kurashiki-shi, Okayama Prefecture (no address) Inside the Mizushima Steel Works, Kawasaki Steel Co., Ltd. Chome (no address) Kawasaki Steel Co., Ltd. Mizushima Steel Works (56) Reference JP-A-52-30358 (JP, A) JP-A-58-66105 (JP, A) JP-A-49-12747 (JP, A) JP-A-48-49350 (JP, A) JP-A-57-93403 (JP, A) JP-A-55-121501 (JP, A) JP-A-59-157704 (JP, A) JP-A-59-149503 (JP, A)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】プログラマブルコントローラ自体の診断を
行なう診断機能およびこの診断機能により故障が確認さ
れると待機系に自動的に切換える自動切換機能を有する
プログラマブルコントローラとこのプログラマブルコン
トローラに接続された周辺装置とを一つの系として待機
2重系を構成したシステムにおいて、前記各系のプログ
ラマブルコントローラの制御シーケンスにその系の周辺
装置の故障を監視する故障監視機能を持たせ、前記周辺
装置が故障した時にはそのプログラマブルコントローラ
の制御シーケンスにより該プログラマブルコントローラ
自体を模擬的に故障状態にしてプログラマブルコントロ
ーラに有する前記自動切換機能により待機系に切換える
ことを特徴とする待機2重系プログラマブルコントロー
ラの切換方法。
1. A programmable controller having a diagnostic function for diagnosing the programmable controller itself and an automatic switching function for automatically switching to a standby system when a failure is confirmed by the diagnostic function, and a peripheral device connected to the programmable controller. In a system in which a standby dual system is configured with one system as a system, the control sequence of the programmable controller of each system has a failure monitoring function for monitoring a failure of a peripheral device of the system, and when the peripheral device fails, A standby dual system programmable controller switching method characterized in that the programmable controller itself is simulated to a failure state by a control sequence of the programmable controller and is switched to a standby system by the automatic switching function of the programmable controller.
【請求項2】各系のプログラマブルコントローラの制御
シーケンスは切換制御を開始する前に被制御対象の通常
停止制御を開始させ、切換後にあっては相手側制御シー
ケンスで正常切換を確認した上で通常停止制御を中止す
るようにした特許請求の範囲第(1)項に記載の待機2
重系プログラマブルコントローラの切換方法。
2. In the control sequence of the programmable controller of each system, the normal stop control of the controlled object is started before the switching control is started, and after the switching, the normal switching is confirmed by the partner control sequence. Standby 2 according to claim (1), in which stop control is stopped
Switching method for heavy system programmable controller.
【請求項3】各系のプログラマブルコントローラの制御
シーケンスは切換先の系が切換可能状態にあるか否かの
監視を行ない、切換不可能な時には被制御対象に対して
通常停止制御を実行させた後、制御を中止するようにし
た特許請求の範囲第(1)に記載の待機2重系プログラ
マブルコントローラの切換方法。
3. The control sequence of the programmable controller of each system monitors whether or not the system to be switched to is in a switchable state, and when the system cannot be switched, normal stop control is executed for the controlled object. Thereafter, the control method is stopped, and the standby dual system programmable controller switching method according to claim (1).
【請求項4】各系のプログラマブルコントローラの制御
シーケンスは何れの系が選択されているかを表わす切換
選択信号と切換要因発生論理判断が一致している場合の
み切換制御を開始するようにした特許請求の範囲第
(1)項に記載の待機2重系プログラマブルコントロー
ラの切換方法。
4. The control sequence of the programmable controller of each system is such that the switching control is started only when the switching selection signal indicating which system is selected matches the switching factor generation logic judgment. In the range (1), the method for switching the standby dual system programmable controller.
JP19362984A 1984-09-14 1984-09-14 Standby dual programmable controller switching method Expired - Lifetime JPH06103444B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19362984A JPH06103444B2 (en) 1984-09-14 1984-09-14 Standby dual programmable controller switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19362984A JPH06103444B2 (en) 1984-09-14 1984-09-14 Standby dual programmable controller switching method

Publications (2)

Publication Number Publication Date
JPS6172302A JPS6172302A (en) 1986-04-14
JPH06103444B2 true JPH06103444B2 (en) 1994-12-14

Family

ID=16311118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19362984A Expired - Lifetime JPH06103444B2 (en) 1984-09-14 1984-09-14 Standby dual programmable controller switching method

Country Status (1)

Country Link
JP (1) JPH06103444B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5210756A (en) * 1990-09-26 1993-05-11 Honeywell Inc. Fault detection in relay drive circuits
JP6639310B2 (en) * 2016-04-06 2020-02-05 株式会社東芝 Virtual plant simulation system, command device, virtual plant simulation method
US11126176B2 (en) 2016-08-10 2021-09-21 Hitachi Automottve Systems, Ltd. Vehicle control apparatus

Also Published As

Publication number Publication date
JPS6172302A (en) 1986-04-14

Similar Documents

Publication Publication Date Title
US4890284A (en) Backup control system (BUCS)
US5128943A (en) Independent backup mode transfer and mechanism for digital control computers
JPH06103444B2 (en) Standby dual programmable controller switching method
EP0265366B1 (en) An independent backup mode transfer method and mechanism for digital control computers
JP3813909B2 (en) Electronic interlocking device
JPS5929890B2 (en) Preliminary switching control method
JPS5854470A (en) Controlling system for constitution of multiple electronic computer
JPH0644093A (en) System for changing-over duplicating device
JPH08292894A (en) Digital controller
JPS60222945A (en) Backup system for abnormality or the like
JPS60112103A (en) Hybrid controller
JPS599304Y2 (en) I/O device diagnostic equipment
JPS58214952A (en) Information processing system
JPS61182107A (en) Digital controller
JPS58114145A (en) Monitoring system for fault of master microprocessor
JPH037961B2 (en)
JPS59112349A (en) Duplicated operation system
JPS61221903A (en) Backup control
JPS61221941A (en) Back up device for programmable controller
JPH053017B2 (en)
JPH02244208A (en) Information processor control system
JPH0664569B2 (en) Micro program loading method
JPH02196341A (en) Fault restoring system for information processor
JPH06292393A (en) Selector for standby machine for controlling number of motor
JPS60254308A (en) Power supply disconnection system for computer system