JPH07134601A - Double bus control method - Google Patents

Double bus control method

Info

Publication number
JPH07134601A
JPH07134601A JP30324893A JP30324893A JPH07134601A JP H07134601 A JPH07134601 A JP H07134601A JP 30324893 A JP30324893 A JP 30324893A JP 30324893 A JP30324893 A JP 30324893A JP H07134601 A JPH07134601 A JP H07134601A
Authority
JP
Japan
Prior art keywords
function
stack
control
cpu
flag register
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
JP30324893A
Other languages
Japanese (ja)
Other versions
JP2993337B2 (en
Inventor
Yoshinori Okajima
嘉則 岡島
Naomi Shibata
直巳 柴田
Shinichi Baba
真一 馬場
Shinji Takeshita
真志 竹下
Satoru Uchida
悟 内田
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.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric Co Ltd
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 Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP5303248A priority Critical patent/JP2993337B2/en
Publication of JPH07134601A publication Critical patent/JPH07134601A/en
Application granted granted Critical
Publication of JP2993337B2 publication Critical patent/JP2993337B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a double bus control method which can ensure a fast control function of a programmable controller, etc., in a simple constitution and with high operability. CONSTITUTION:A common function unit 2 of a control system is provided with a flag register function 22a which designates the working one of both control function units 1A and 1B. Then the working control function unit designated based on contents of the function 22a transmits its own normal signal for each prescribed condition in an operation flow. If this normal signal does not reach the unit 2 for a prescribed time or longer, an abnormal state of the working control function unit is decided and the function 22a is inverted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は,プログラマブルコント
ロ−ラ等の汎用制御装置を使用した制御システムに係
り,特に,制御の信頼性を必要とする場合に適切な待機
2重系の制御システムにおける簡易なバスコントロ−ル
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system using a general-purpose control device such as a programmable controller, and more particularly to a standby dual system control system suitable when control reliability is required. The present invention relates to a simple bus control method.

【0002】[0002]

【従来の技術】各種化学プラントや機械加工,或いは鋳
造設備等の産業用システム,または,上下水道処理施設
等の公共用システム等の制御には,その制御システムに
コンピュ−タを主体要素にしたプログラマブルコントロ
−ラがしばしば使用される。上述のような制御において
は,主体要素であるプログラマブルコントロ−ラが故障
すると,例えば,何らかの原因で過電流遮断器がトリッ
プしたり電源装置が故障したり,または,プログラマブ
ルコントロ−ラを構成するいずれかのプリント板が故障
すると,それが軽度の故障であっても,システム全体の
機能が停止してしまうという問題があった。システム全
体の機能が停止すると,例えば,鋳造設備では溶解鉄が
流れ出したり,下水道処理施設では汚泥がタンクから氾
濫して流れ出すという問題や,化学プラントが化学反応
の中間で停止して多額の損害を被るというような問題も
発生する。その対策として,近時,信頼性を重視する制
御システムにおいては,2式の同一構成の制御ユニット
を用意し,常時はそのうちの1式を稼働させて他の1式
を待機させる待機2重系を構成した,いわゆる待機2重
化運転が実行される場合がある。待機2重化運転を実行
する待機2重系の制御システムには,例えば図5に示す
ような構成がある。
2. Description of the Related Art For the control of various chemical plants, industrial systems such as machining or casting equipment, or public systems such as water and sewage treatment facilities, computers are the main elements of the control system. Programmable controllers are often used. In the above control, if the programmable controller, which is the main element, fails, for example, the overcurrent breaker trips or the power supply device fails for some reason, or the programmable controller is configured. If the printed circuit board fails, the function of the entire system will stop even if it is a minor failure. When the function of the entire system stops, for example, molten iron flows out in a casting facility, sludge overflows from a tank in a sewerage treatment facility, and a chemical plant stops in the middle of a chemical reaction, resulting in a large amount of damage. There is also the problem of suffering. As a countermeasure, recently, in a control system that places importance on reliability, two sets of control units with the same configuration are prepared, and a standby dual system in which one of them is normally operated and the other one is on standby There is a case where a so-called standby duplex operation, which is configured as described above, is executed. A control system of a standby dual system that executes the standby duplex operation has a configuration as shown in FIG. 5, for example.

【0003】図5において,2式のプログラマブルコン
トロ−ラ31Aと31Bそれぞれの,I/Oバス31
a,31bは,この制御システムの制御用アクチェ−タ
やセンサ−類に接続する各種ケ−ブル33が接続するI
/Oモジュ−ル34にバスコントロ−ラ35を介して接
続されている。バスコントロ−ラ35は,内部に設けた
制御回路40によって制御される。このバスコントロ−
ラ35内部には,上述したI/Oバス31a,31bの
うちのアドレスバスが接続するアドレスマルチプレクサ
41およびデ−タバスが接続するデ−タマルチプレクサ
42が設けられ,アドレスマルチプレクサ41およびデ
−タバスマルチプレクサ42がI/0モジュ−ル34に
接続している。また,バスコントロ−ラ35には,コマ
ンド制御回路43と,シエ−クハンドレジスタ44が設
けられている。上述したコマンド制御回路43は,2式
のプログラマブルコントロ−ラ31Aと31Bそれぞれ
から出力されるコマンドの論理積をI/0モジュ−ル3
4に出力している。また,シエ−クハンドレジスタ44
は,2式のプログラマブルコントロ−ラ31Aと31B
のうちの稼働中のプログラマブルコントロ−ラが実行中
のデ−タを一時記録して他の待機中のプログラマブルコ
ントロ−ラに伝送する機能を備えている。即ち,上述の
機能構成において,2式のプログラマブルコントロ−ラ
31Aと31Bはそれぞれ同一の構成であって,同一の
プログラムが格納されている。
In FIG. 5, I / O bus 31 of each of two programmable controllers 31A and 31B.
a and 31b are I to which various cables 33 connected to control actuators and sensors of this control system are connected.
It is connected to the / O module 34 via a bus controller 35. The bus controller 35 is controlled by a control circuit 40 provided inside. This bus control
An address multiplexer 41 connected to the address bus of the above-mentioned I / O buses 31a and 31b and a data multiplexer 42 connected to the data bus are provided inside the controller 35. The address multiplexer 41 and the data bus A multiplexer 42 connects to the I / 0 module 34. Further, the bus controller 35 is provided with a command control circuit 43 and a seek hand register 44. The command control circuit 43 described above calculates the logical product of the commands output from each of the two programmable controllers 31A and 31B in the I / O module 3.
It is output to 4. In addition, the seek hand register 44
Are two types of programmable controllers 31A and 31B
Among them, the programmable controller in operation has a function of temporarily recording the data being executed and transmitting the data to another waiting programmable controller. That is, in the above-described functional configuration, the two types of programmable controllers 31A and 31B have the same configuration and store the same program.

【0004】2式のプログラマブルコントロ−ラのうち
の第1のプログラマブルコントロ−ラ31Aが稼働して
いると,制御回路40の働きで,アドレスマルチプレク
サ41,デ−タマルチプレクサ42,コマンド制御回路
43はそれぞれ,I/0モジュ−ル34が第1のプログ
ラマブルコントロ−ラ31Aに接続するように機能して
いる。また,第1のプログラマブルコントロ−ラ31A
は実行中のデ−タ等所定の情報をシエ−クハンドレジス
タ44に書き込み,待機中の第2のプログラマブルコン
トロ−ラ31Bはシエ−クハンドレジスタ44に書き込
まれた情報を読み取って所定のデ−タ類を内部の記録機
能に記録し,また,第1のプログラマブルコントロ−ラ
31Aの故障検知を行っている。上述の稼働中に第1の
プログラマブルコントロ−ラ31Aが異常状態になる
と,故障を検知した制御回路40は,アドレスマルチプ
レクサ41,デ−タマルチプレクサ42,コマンド制御
回路43をそれぞれ,I/0モジュ−ル34が第2のプ
ログラマブルコントロ−ラ31Bに接続するように機能
する。また,第1のプログラマブルコントロ−ラ31A
が異常状態になったのを検知した第2のプログラマブル
コントロ−ラ31Bは内部に記録したデ−タを使用して
この制御システムの制御を中断することなく実行する。
また,第2のプログラマブルコントロ−ラ31Bは実行
中のデ−タ等所定の情報をシエ−クハンドレジスタ44
に書き込む。
When the first programmable controller 31A of the two programmable controllers is operating, the control circuit 40 causes the address multiplexer 41, the data multiplexer 42, and the command control circuit 43 to operate. Each of the I / 0 modules 34 functions to connect to the first programmable controller 31A. In addition, the first programmable controller 31A
The predetermined programmable controller 31B writes predetermined information such as the data being executed to the seek hand register 44, and the second programmable controller 31B on standby reads the information written to the seek hand register 44 to obtain a predetermined data. -The data is recorded in the internal recording function, and the failure of the first programmable controller 31A is detected. When the first programmable controller 31A goes into an abnormal state during the above-described operation, the control circuit 40 that has detected the failure causes the address multiplexer 41, the data multiplexer 42, and the command control circuit 43 to receive the I / O module respectively. 34 functions to connect to the second programmable controller 31B. In addition, the first programmable controller 31A
The second programmable controller 31B, which has detected that an abnormal state has occurred, executes the control of this control system without interruption using the data recorded inside.
Also, the second programmable controller 31B sends predetermined information such as the data being executed to the seek hand register 44.
Write in.

【0005】[0005]

【発明が解決しようとする課題】ところで,上述したよ
うな待機2重系の構成による運転機能であると,切り替
え動作を実行する制御回路40や,シエ−クハンドレジ
スタ44は相互に各プログラマブルコントロ−ラの正常
か異常かを表示するフラグや必要容量のデ−タを記録す
る記録容量が必要である。また,稼働中のプログラマブ
ルコントロ−ラの制御機能は,その運転サイクル中に,
外部のI/O機能と同等条件のシエ−クハンドレジスタ
44の所定番地に所定のデ−タ類の書き込み処理が必要
であり,従って,その制御と処理およびデ−タ伝送等の
時間が必要である。そのために,バスコントロ−ラ35
の機能が複雑になるとともに,上述のデ−タ書き込み処
理を高速に実行するようにした場合,ノイズによってデ
−タが変質する恐れもあった。そのために,プログラマ
ブルコントロ−ラの動作1サイクルの時間を短縮する妨
げになっていた。また,稼働中のプログラマブルコント
ロ−ラとシエ−クハンドレジスタとの間のデ−タ伝送機
能のために,制御システムの設計条件が限定されるとい
う問題点もあった。また,交換したプログラマブルコン
トロ−ラを点検するため等の場合に,稼働プログラマブ
ルコントロ−ラを簡単に切り替えることができなかっ
た。本発明は上記従来のものの課題(問題点)を解決
し,単純な構成でプログラマブルコントロ−ラ等制御機
能の高速運転を可能にした操作性の良い2重系のバスコ
ントロ−ル方法を提供することを目的とする。
By the way, in the case of the operation function of the standby dual system as described above, the control circuit 40 for executing the switching operation and the shake hand register 44 are mutually programmable. -A flag that indicates whether the printer is normal or abnormal and a recording capacity that records the required capacity data are required. In addition, the control function of the programmable controller during operation is
It is necessary to write predetermined data into a predetermined address of the seek hand register 44 under the same condition as the external I / O function, and therefore control and processing and time for data transmission are required. Is. For that purpose, the bus controller 35
When the above-mentioned data writing process is executed at high speed, the data may be deteriorated due to noise. This has been an obstacle to shortening the time for one cycle of operation of the programmable controller. There is also a problem that the design condition of the control system is limited due to the data transmission function between the programmable controller and the seek hand register in operation. In addition, the operating programmable controller could not be easily switched when checking the replaced programmable controller. The present invention solves the above-mentioned problems (problems) of the prior art, and provides a dual-system bus control method with a simple structure that enables high-speed operation of a control function such as a programmable controller and has good operability. The purpose is to

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に本発明に基づく2重系のバスコントロ−ル方法におい
ては,2式の同一構成の制御機能ユニットを待機2重系
に構成する制御システムにおけるバスコントロ−ル方法
において,この制御システムの共通機能ユニットに2式
の制御機能ユニットのうちの稼働ユニットを指定するフ
ラグレジスタ機能を設け,フラグレジスタ機能の内容に
よって指定された稼働制御機能ユニットが稼働フロ−に
おける所定条件ごとに出力する自己正常信号が共通機能
ユニットに所定時間以上到達しない場合に,この稼働制
御機能ユニットが異常であると判定してフラグレジスタ
機能を反転させるようにした。この場合,上記2重系の
バスコントロ−ル方法において,2式の制御機能ユニッ
トそれぞれに通信機能を備え,稼働制御機能ユニットは
所定のデ−タをこの通信機能によって待機制御機能ユニ
ットに送信し,稼働制御機能ユニットが交代した場合
に,交代制御機能ユニットはこの受信デ−タを使用して
制御を続行するようにしても良い。また,上述したフラ
グレジスタ機能はスイッチ機能によって手動的に反転可
能にすることもできる。さらに,正常信号出力後にフラ
グレジスタ機能の内容判定をするようにしても良い。
In order to solve the above-mentioned problems, in a dual system bus control method according to the present invention, two types of control function units having the same configuration are arranged in a standby dual system. In the bus control method in the system, a flag register function for designating an operating unit of the two control function units is provided in the common functional unit of this control system, and the operation control functional unit designated by the contents of the flag register function. When the self-normality signal output for each predetermined condition in the operation flow does not reach the common function unit for a predetermined time or longer, it is determined that this operation control function unit is abnormal and the flag register function is inverted. In this case, in the above dual system bus control method, each of the two control function units has a communication function, and the operation control function unit sends predetermined data to the standby control function unit by this communication function. When the operation control function unit is changed, the change control function unit may use this reception data to continue the control. Further, the flag register function described above can be manually reversible by a switch function. Further, the contents of the flag register function may be judged after the normal signal is output.

【0007】[0007]

【作用】本発明は,上述のような方法によって作動する
ようにしたので,稼働制御機能ユニットの異常発生によ
ってフラグレジスタ機能が速やかに反転する。また,フ
ラグレジスタ機能によって所定の制御機能ユニット,ま
たは正常な制御機能ユニットを稼働させることができ
る。また,稼働中の制御機能ユニットのデ−タ類は通信
機能によって待機中の制御機能ユニットに伝送されるの
で,伝送時間が制御機能ユニットの稼働に影響をおよぼ
さない。通信機能はこのシステムの条件に対応して適切
に設定できるので,その機能性能選択の自由度が高い。
さらに,フラグレジスタ機能をスイッチ機能によって手
動的に反転可能にした場合は,必要な場合に容易に稼働
制御機能ユニットを切り替えることができる。さらに,
正常信号出力後にフラグレジスタ機能の内容判定をする
ようにすると,スイッチ操作等によってフラグレジスタ
機能を反転する等の場合にも,制御システムが誤動作す
ることなく稼働ユニットの切り替えが確実に実行でき
る。
Since the present invention operates by the above method, the flag register function is quickly reversed by the occurrence of an abnormality in the operation control function unit. Further, a predetermined control function unit or a normal control function unit can be operated by the flag register function. Further, since the data of the control function unit in operation is transmitted to the control function unit in standby by the communication function, the transmission time does not affect the operation of the control function unit. Since the communication function can be set appropriately according to the conditions of this system, there is a high degree of freedom in selecting its function performance.
Further, when the flag register function can be manually inverted by the switch function, the operation control function unit can be easily switched when necessary. further,
If the content of the flag register function is determined after the normal signal is output, even if the flag register function is reversed by a switch operation, the operating system can be reliably switched without the control system malfunctioning.

【0008】[0008]

【実施例】本発明に基づく2重系のバスコントロ−ル方
法の実施例を図を参照して説明する。図1,図2に,本
発明を適用した制御システム用制御装置の構成例を示す
もので,図1は制御装置の機能構成を,図2は総合的構
成である。図1,図2において,10は本発明を適用す
る施設の制御装置であって,制御装置10は,2式の同
一構成の制御機能ユニットである,第1の制御機能ユニ
ット,例えばプログラマブルコントロ−ラ(以降CPU
スタックと略称する)1Aと,第2の制御機能ユニッ
ト,例えばプログラマブルコントロ−ラ(以降CPUス
タックと略称する)1B,および,この制御装置10
と,その制御対象である施設に設けられる周辺機器やア
クチェ−タ,センサ−類とのインタフェ−ス機能とこの
制御システムの管理機能等を備えた,この制御装置の共
通機能ユニットである入出力接続機能(以降I/Oスタ
ックと略称する)2等によって構成されている。I/O
スタック2には,この制御装置10の内部に配置される
各要素機能類と,制御装置10の外部に配置される各要
素機能類との間を接続する信号伝送に必要な各種ケ−ブ
ル3,例えば,バスや,その他センサ−,アクチェ−タ
等を接続する信号線類に接続する端子が設けられてい
る。制御装置10には,電源配電線17が電源スイッチ
18,過電流遮断器19を経由した制御装置内電源母線
17aが上述した各スタックに入力している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a dual system bus control method according to the present invention will be described with reference to the drawings. 1 and 2 show a configuration example of a control device for a control system to which the present invention is applied. FIG. 1 shows a functional configuration of the control device and FIG. 2 shows a comprehensive configuration. In FIGS. 1 and 2, 10 is a control device of a facility to which the present invention is applied, and the control device 10 is a first control function unit, for example, a programmable control unit, which is a control function unit having two identical configurations. LA (hereafter CPU
A stack) 1A, a second control function unit, for example, a programmable controller (hereinafter abbreviated as CPU stack) 1B, and the controller 10
And an input / output that is a common functional unit of this control device, which has an interface function with peripheral devices, actuators, and sensors provided in the facility to be controlled, and a management function of this control system. The connection function (hereinafter abbreviated as I / O stack) 2 and the like. I / O
The stack 2 includes various cables 3 required for signal transmission that connect between the element functions arranged inside the control device 10 and the element functions arranged outside the control device 10. For example, a terminal for connecting to a bus and other signal lines for connecting a sensor, an actuator, etc. is provided. In the control device 10, the power distribution line 17 is input to each of the above-mentioned stacks via the power switch 18 and the overcurrent breaker 19 and the power bus 17a in the control device.

【0009】第1のCPUスタック1Aと第2のCPU
スタック1Bは,電源装置11,CPUカ−ド12,通
信カ−ド13,I/Oスタック(共通機能ユニット)接
続カ−ド14,その他必要なカ−ド類によって構成され
ており,前述した電源母線17aが過電流遮断器15を
経由して電源装置11に入力している。上述した各カ−
ドはそれぞれ所定の機能回路を備えたユニットであっ
て,それぞれの機能は,機能サイズ等に対応して,1個
のカ−ド(ユニット)または複数のカ−ド(ユニット)
によって構成されている。電源装置11は電源母線17
aから供給される電圧を,このCPUスタック内の各部
の作動に適した直流電圧に変換する。CPUカ−ド11
は,例えば,マイクロコンピュ−タとメモリ類を搭載
し,メモリにはこの制御装置が実行する所定のプログラ
マブルコントロ−ラとしてのプログラムが記録され,ま
た,処理中のデ−タを記録する機能を備えている。通信
カ−ド13は第1のCPUスタック1Aと第2のCPU
スタック1Bの間で相互に詳細を後述する所定のデ−タ
類を伝送する通信機能を備えていて,(以下通信機能を
通信カ−ドと称す)第1のCPUスタック1Aと第2の
CPUスタック1Bの間を,両者の間の距離等の条件に
対応して,例えば,光ケ−ブルで接続している。I/O
スタック接続カ−ド14はCPUカ−ド12との間をC
PUスタック内のバスと信号線等で接続している。ま
た,I/Oスタック接続カ−ド14はI/Oスタック2
との間を制御装置10内のバスと信号線等で接続してい
る。また,I/Oスタック接続カ−ド14は,この制御
システムの条件に対応して,入力信号,或いは,出力信
号の信号形状をその信号目的と必要条件に対応して,例
えば,ノイズを除去する,または,信号波形を許容処理
時間に適合するように変形する等の機能を備えることも
ある。
First CPU stack 1A and second CPU
The stack 1B is composed of a power supply device 11, a CPU card 12, a communication card 13, an I / O stack (common function unit) connection card 14, and other necessary cards. The power supply busbar 17 a is input to the power supply device 11 via the overcurrent breaker 15. Each of the above
Each of the cards is a unit having a predetermined functional circuit, and each function has one card (unit) or a plurality of cards (unit) depending on the function size.
It is composed by. The power supply device 11 is a power supply bus 17
The voltage supplied from a is converted into a DC voltage suitable for the operation of each part in the CPU stack. CPU card 11
Is equipped with, for example, a microcomputer and a memory, a program as a predetermined programmable controller executed by the control device is recorded in the memory, and a function for recording data being processed is provided. I have it. The communication card 13 has a first CPU stack 1A and a second CPU.
A first CPU stack 1A and a second CPU (hereinafter, the communication function is referred to as a communication card) having a communication function for mutually transmitting predetermined data described later in detail between the stacks 1B. The stacks 1B are connected by, for example, an optical cable in accordance with the conditions such as the distance between them. I / O
The stack connection card 14 and the CPU card 12 are connected to C
It is connected to the bus in the PU stack by a signal line or the like. The I / O stack connection card 14 is used for the I / O stack 2
And a bus in the control device 10 and a signal line or the like. Further, the I / O stack connection card 14 removes, for example, noise by adjusting the signal shape of the input signal or the output signal according to the purpose and the necessary condition of the input signal or the output signal according to the condition of the control system. Alternatively, it may be provided with a function of transforming the signal waveform so as to conform to the allowable processing time.

【0010】I/Oスタック2は電源装置21,切替カ
−ド22,I/Oカ−ド23,その他必要なカ−ド類に
よって構成されており,上述した電源母線17aが過電
流遮断器25を経由して電源装置21に入力している。
上述した各カ−ドはそれぞれ所定の機能回路を備えたユ
ニットであって,それぞれの機能は,機能サイズ等に対
応して,1個のカ−ド(ユニット)または複数のカ−ド
(ユニット)によって構成されている。電源装置21は
電源母線17aから供給される電圧をこのI/Oスタッ
ク2内の各部の作動に適した直流電圧に変換する。切替
カ−ド22は内部に詳細を後述するフラグレジスタ機能
22aを備え,フラグレジスタ機能22aは,この制御
装置10の図示しない操作盤等に設けたフラグレジスタ
機能操作スイッチ22bにも接続している。また,各C
PUカ−ド1A,1Bに制御装置10内のバスや信号線
等で接続しており,このバスは,フラグレジスタ機能2
2aの内容によって,第1のCPUスタック1A,また
は,第2のCPUスタック1Bへの接続が切り替えられ
る。なお,信号線にはフラグレジスタ機能22aの内容
を伝送する機能も備えている。I/Oカ−ド23には,
制御装置10の外部の各機器類との間を接続するバス等
所定の信号線を含むケ−ブル3が接続している。
The I / O stack 2 is composed of a power supply unit 21, a switching card 22, an I / O card 23, and other necessary cards, and the above-mentioned power supply busbar 17a is an overcurrent breaker. It is input to the power supply device 21 via 25.
Each of the above-mentioned cards is a unit having a predetermined functional circuit, and each function has one card (unit) or a plurality of cards (units) depending on the function size and the like. ). The power supply device 21 converts the voltage supplied from the power supply bus 17a into a DC voltage suitable for the operation of each part in the I / O stack 2. The changeover card 22 is internally provided with a flag register function 22a, the details of which will be described later, and the flag register function 22a is also connected to a flag register function operation switch 22b provided on an operation panel (not shown) of the controller 10. . Also, each C
The PU cards 1A and 1B are connected to each other by a bus, a signal line, or the like in the control device 10, and this bus has a flag register function 2
Depending on the contents of 2a, the connection to the first CPU stack 1A or the second CPU stack 1B is switched. The signal line also has a function of transmitting the contents of the flag register function 22a. In the I / O card 23,
A cable 3 including a predetermined signal line such as a bus is connected to each device outside the controller 10.

【0011】次に,上述したフラグレジスタ機能22a
の働きを説明する。フラグレジスタ機能22aは,1お
よび0を表示する2ステ−ブルのフリップフロップまた
は相当機能によって構成され,その表示内容によって稼
働するCPUスタックを指定する。例えば,フラグレジ
スタ機能22aと各CPUスタック1A,1Bとの間は
実質的に図4に示すように接続されている。図4におい
て,22cはインバ−タであって,その他の符号は図1
と共通である。即ち,フラグレジスタ機能22aが0の
場合は第2のCPUスタック1Bに1を入力して,第2
のCPUスタック1Bが稼働するように指定する。第1
のCPUスタック1Aには0を入力して,第1のCPU
スタック1Aが待機するように指定する。また,フラグ
レジスタ機能22aの指定内容に従って,各所定のバス
類が指定された第2のCPUスタック1Bに接続され
る。即ち,第2のCPUスタック1Bが稼働を指定され
ると,各所定のバスが第2のCPUスタック1Bに接続
され,第2のCPUスタック1Bが稼働する。従って,
また,フラグレジスタ機能22aが1の場合は第1のC
PUスタック1Aにその稼働を指定し,第2のCPUス
タック1Bには0を入力して,第2のCPUスタック1
Bは待機するように指定する。第1のCPUスタック1
Aが稼働を指定されると,各所定のバスが第1のCPU
スタック1Aに接続され,第1のCPUスタック1Aが
稼働する。
Next, the above-mentioned flag register function 22a
Explain the function of. The flag register function 22a is composed of a 2-stable flip-flop for displaying 1 and 0 or a corresponding function, and specifies a CPU stack to operate according to the displayed contents. For example, the flag register function 22a and each of the CPU stacks 1A and 1B are connected substantially as shown in FIG. In FIG. 4, reference numeral 22c is an inverter, and other symbols are those in FIG.
Is common with. That is, when the flag register function 22a is 0, 1 is input to the second CPU stack 1B,
CPU stack 1B is designated to operate. First
0 is input to the CPU stack 1A of the first CPU
Specifies that stack 1A is waiting. Further, according to the contents designated by the flag register function 22a, each predetermined bus is connected to the designated second CPU stack 1B. That is, when the second CPU stack 1B is designated to operate, each predetermined bus is connected to the second CPU stack 1B and the second CPU stack 1B operates. Therefore,
When the flag register function 22a is 1, the first C
The operation is specified in the PU stack 1A, 0 is input in the second CPU stack 1B, and the second CPU stack 1A is input.
B designates to wait. First CPU stack 1
When A is designated to operate, each predetermined bus is connected to the first CPU.
Connected to the stack 1A, the first CPU stack 1A operates.

【0012】この制御装置10の電源スイッチ18が操
作されて制御装置が立ち上がると,フラグレジスタ機能
22aは初期条件として予め設定された状態になる。即
ち,例えば,フラグレジスタ機能22aは1を出力し
て,第1のCPUスタック1Aを指定し稼働させる。従
って,第1のCPUスタック1AのI/Oスタック接続
カ−ド14は,I/Oスタック2との間に接続されるバ
ス類に伝送される入力信号を取り込むように機能し,I
/Oスタック2に所定の信号類を伝送し,または/およ
び,I/Oスタック2を介してこの制御装置10の外に
伝送する信号を出力するように機能する。
When the power switch 18 of the control device 10 is operated to start up the control device, the flag register function 22a is set in a preset condition as an initial condition. That is, for example, the flag register function 22a outputs 1 to designate and operate the first CPU stack 1A. Therefore, the I / O stack connection card 14 of the first CPU stack 1A functions to take in the input signal transmitted to the buses connected to the I / O stack 2,
It functions to transmit predetermined signals to the / O stack 2 and / or output a signal to be transmitted to the outside of the control device 10 via the I / O stack 2.

【0013】各CPUスタックはその記載されたプログ
ラムによって,予め設定されたタイミング毎に正常信号
をI/Oスタック2に伝送している。従って,I/Oス
タック2は,2セットのCPUスタックが正常か異常か
を常時,判定している。従って,I/Oスタック2が第
1のCPUスタック1Aと第2のCPUスタック1Bが
いずれも正常であると判定すると,フラグレジスタ機能
22aをそのまま維持し,予め設定された条件に従って
所定の機能を実行する。I/Oスタック2が第1のCP
Uスタック1Aが正常で,第2のCPUスタック1Bが
異常であると判定すると,フラグレジスタ機能22aを
そのまま維持し,予め設定された条件に従って警報を出
力する等,所定の機能を実行する。I/Oスタック2が
稼働していた第1のCPUスタック1Aが異常で,第2
のCPUスタック1Bが正常であると判定すると,フラ
グレジスタ機能22aを反転させて,稼働CPUスタッ
クを第1のCPUスタック1Aから第2のCPUスタッ
ク1Bに切り替えるように機能する。
Each CPU stack transmits a normal signal to the I / O stack 2 at preset timings according to the described program. Therefore, the I / O stack 2 constantly determines whether the two sets of CPU stacks are normal or abnormal. Therefore, when the I / O stack 2 determines that both the first CPU stack 1A and the second CPU stack 1B are normal, the flag register function 22a is maintained as it is, and the predetermined function is performed according to the preset condition. Run. I / O stack 2 is the first CP
When it is determined that the U stack 1A is normal and the second CPU stack 1B is abnormal, the flag register function 22a is maintained as it is, and a predetermined function such as outputting an alarm according to a preset condition is executed. The I / O stack 2 was operating, the first CPU stack 1A was abnormal, and the second CPU stack 1A
If it is determined that the CPU stack 1B is normal, the flag register function 22a is inverted to switch the operating CPU stack from the first CPU stack 1A to the second CPU stack 1B.

【0014】異常スタックを修理交換した後等で交換し
たCPUスタックをチェックし,または稼働CPUを切
り替える必要が生じると,この制御装置10のオペレ−
タは,フラグレジスタ機能操作スイッチ22bを操作す
る。フラグレジスタ機能操作スイッチ22bが操作され
ると,フラグレジスタ機能22aが反転する。その場
合,必要に応じて,上記スイッチ操作をすぐに行うので
はなく,現在稼働中,または,切り替え先である,第1
のCPUスタック1A,または,第2のCPUスタック
1Bが所定の条件になった場合に反転するようにしても
良い。また,2式のCPUスタックがいずれも異常の場
合にもフラグレジスタ機能操作スイッチ22bを操作し
て任意のCPUスタックを作動させることができる。
When it is necessary to check the replaced CPU stack or switch the operating CPU after repairing or replacing the abnormal stack, the operation of the control unit 10 is performed.
Switch operates the flag register function operation switch 22b. When the flag register function operation switch 22b is operated, the flag register function 22a is inverted. In that case, if necessary, the switch operation is not performed immediately, but is currently in operation or is the switching destination.
The CPU stack 1A or the second CPU stack 1B may be inverted when a predetermined condition is satisfied. Further, even when both of the two types of CPU stacks are abnormal, the flag register function operation switch 22b can be operated to operate any CPU stack.

【0015】I/Oスタック2においては,稼働CPU
スタックとの間でデ−タ類の伝送中であるという条件に
おいては,この伝送が完了するまで,フラグレジスタ機
能22aの反転等,切替カ−ドの作動を保留して,信号
が中断されて正常ではない信号が読み書きされることを
防止する機能を備えている。制御装置10は詳細を後述
するように,所定のタイミングでフラグレジスタ機能2
2aの内容をチェックするので,その制御を中断する恐
れなしにその稼働CPUスタックを切り替える。
In the I / O stack 2, the operating CPU
Under the condition that data is being transmitted to and from the stack, until the transmission is completed, the operation of the switching card such as inversion of the flag register function 22a is suspended and the signal is interrupted. It has a function to prevent reading and writing of abnormal signals. As will be described later in detail, the control device 10 has a flag register function 2 at a predetermined timing.
Since the contents of 2a are checked, the operating CPU stack is switched without fear of interrupting the control.

【0016】次に,図3に示す概略フロ−を用いて,図
1,図2に示した構成例における働きを説明する。図3
には,第1のCPUスタック1A内の働きを示すフロ−
(A),第2のCPUスタック1B内の働きを示すフロ
−(B),I/Oスタック2内の働きを示すフロ−
(C)を分割して記している。第1のCPUスタック1
A内の働きと,第2のCPUスタック1B内の働きは同
一なので,図3による説明には,第1のCPUスタック
1Aが稼働CPUスタックであるフロ−(A)を主体と
して説明する。図1において,制御装置10の電源スイ
ッチ18が操作されると,各CPUスタック内の電源装
置11に装置内電源母線17aから電圧が供給されるの
で,両方のCPUスタック内の各カ−ド,CPUカ−ド
12,通信カ−ド13,I/Oスタック接続カ−ド14
等に所定の電圧が供給されて所定の作動を開始する。ま
た,I/Oスタック2内の電源装置21に装置内電源母
線17aから電圧が供給されるので,I/Oスタック2
内の各カ−ド,切替カ−ド22,I/Oカ−ド23等に
所定の電圧が供給されて所定の作動を開始する。切替カ
−ド22内のフラグレジスタ機能22aは所定の初期条
件,例えば,前述したように1にセットされる。また,
この制御装置10に接続する図示しないこの制御システ
ムに配属される各種機器類に所定の処置が実行され電源
が供給されるので,I/Oスタック2とケ−ブル3で接
続する制御装置10の各外部機能も予め定められた所定
の作動を開始する。
Next, the operation of the configuration example shown in FIGS. 1 and 2 will be described using the schematic flow chart shown in FIG. Figure 3
Is a flow showing the function in the first CPU stack 1A.
(A), a flow showing the operation in the second CPU stack 1B (B), a flow showing the operation in the I / O stack 2
(C) is divided and described. First CPU stack 1
Since the function in A and the function in the second CPU stack 1B are the same, in the description with FIG. 3, the flow (A) in which the first CPU stack 1A is the operating CPU stack will be mainly described. In FIG. 1, when the power switch 18 of the control device 10 is operated, a voltage is supplied from the in-device power bus 17a to the power devices 11 in the respective CPU stacks. CPU card 12, communication card 13, I / O stack connection card 14
And the like are supplied with a predetermined voltage to start a predetermined operation. Further, since the voltage is supplied to the power supply device 21 in the I / O stack 2 from the in-device power supply bus 17a, the I / O stack 2
A predetermined voltage is supplied to each of the cards, the switching card 22, the I / O card 23, etc. to start a predetermined operation. The flag register function 22a in the switching card 22 is set to a predetermined initial condition, for example, 1 as described above. Also,
Since various treatments (not shown) connected to the control device 10 and attached to the control system are subjected to predetermined treatment and power is supplied, the control device 10 connected by the I / O stack 2 and the cable 3 Each external function also starts a predetermined operation.

【0017】図3の(A)において,第1のCPUスタ
ック1Aが作動を開始すると,CPUカ−ド12に設け
られた図示しないメモリ機能に記録されたプログラムに
従って所定の制御イニシャル処理を行い,制御イニシャ
ル処理が完了すると,自己CPUスタックが正常である
ことを示す所定の正常信号をI/Oスタック2に出力す
る。 正常信号を出力した後I/Oスタック2の切替カ
−ド22から伝送されるフラグレジスタ機能22aの内
容をチェックする。フラグレジスタ機能22aが1であ
って,自己CPUスタックの稼働を示していると,通信
カ−ド13を送信モ−ドにして,I/Oスタック接続カ
−ド14がI/Oスタック2の切替カ−ド22と接続す
るバスによって伝送されるデ−タ信号を取り込み,CP
Uカ−ド12に設けられた図示しないメモリ機能に記録
された制御プログラムに従って所定の一連の処理を行
い,処理結果を,I/Oスタック接続カ−ド14がI/
Oスタック2の切替カ−ド22と接続するバスに出力す
る。また,処理結果の所定のデ−タを通信カ−ド13に
出力する。CPUカ−ド12は上記の処理と出力動作を
実行すると,自己CPUスタックが正常であることを示
す所定の正常信号をI/Oスタック2に所定の信号線に
よって出力する。従って,上述した処理動作が反復実行
される。この一連の動作には,例えば,100ミリ秒が
当てられる。従って,この場合,正常信号は100ミリ
秒毎に出力される。
In FIG. 3A, when the first CPU stack 1A starts to operate, predetermined control initial processing is performed according to a program recorded in a memory function (not shown) provided in the CPU card 12. When the control initial process is completed, a predetermined normal signal indicating that the self CPU stack is normal is output to the I / O stack 2. After outputting the normal signal, the contents of the flag register function 22a transmitted from the switching card 22 of the I / O stack 2 are checked. When the flag register function 22a is 1 and indicates the operation of the self CPU stack, the communication card 13 is set to the transmission mode and the I / O stack connection card 14 is set to the I / O stack 2. The data signal transmitted by the bus connected to the switching card 22 is taken in and the CP
A predetermined series of processing is performed according to a control program recorded in a memory function (not shown) provided in the U-card 12, and the processing result is output by the I / O stack connection card 14 to the I / O stack card 14.
Output to the bus connected to the switching card 22 of the O-stack 2. Also, predetermined data of the processing result is output to the communication card 13. When the CPU card 12 executes the above processing and output operation, it outputs a predetermined normal signal indicating that the self CPU stack is normal to the I / O stack 2 through a predetermined signal line. Therefore, the processing operation described above is repeatedly executed. For example, 100 milliseconds is applied to this series of operations. Therefore, in this case, the normal signal is output every 100 milliseconds.

【0018】通信カ−ド13においては,通信カ−ド1
3に設けられた図示しないラッチ機能にCPUカ−ド1
2から送られたデ−タを一時記録した後,予め設定され
た所定のプロトコルに従って,第2のCPUスタック1
Bの通信カ−ド13に送信する。
In the communication card 13, the communication card 1
The CPU card 1 has a latch function (not shown) provided in FIG.
The data sent from the second CPU stack 1 is temporarily recorded, and then the second CPU stack 1 is operated according to a predetermined protocol set in advance.
It is transmitted to the communication card 13 of B.

【0019】上述したI/Oスタック2の切替カ−ド2
2から伝送されるフラグレジスタ機能22aの内容をチ
ェックした結果フラグレジスタ機能22aの内容が0で
あって自己CPUスタックが待機であることを判定する
と,CPUカ−ド12は,上述した制御プログラムを実
行せず,通信カ−ド13を受信モ−ドにして,通信カ−
ド13に設けられた,図示しないラッチ機能に記録され
た受信デ−タを取り込んで図示しないメモリ機能の所定
番地に記録する。即ち,待機を指定された通信カ−ド1
3は所定のプロトコルに従って稼働CPUスタックの通
信カ−ド13から伝送されるデ−タを受信して図示しな
いラッチ機能に記録しておく。CPUカ−ド12は上記
の処理と入力動作を実行すると,自己CPUスタックが
正常であることを示す所定の正常信号をI/Oスタック
2に出力する。従って,上述した処理動作が反復実行さ
れる。反復実行の所要時間は,一連の動作稼働状態にお
ける正常信号の出力ピッチと同一に設定されている。従
って,正常信号は,例えば,100ミリ秒毎に出力され
る。上述のタイムシ−ケンスによって,制御プログラム
実行中にフラグレジスタ機能22aが反転された場合に
も,制御プログラムが中断されることなく安全に稼働ス
タックが切り替えられる。
Switching card 2 for the above-mentioned I / O stack 2
As a result of checking the content of the flag register function 22a transmitted from the CPU 2, it is determined that the content of the flag register function 22a is 0 and the self CPU stack is in standby, the CPU card 12 executes the control program described above. The communication card 13 is set to the reception mode without executing the communication card.
The reception data recorded in the latch function (not shown) provided in the mode 13 is fetched and recorded in a predetermined address of the memory function (not shown). That is, the communication card 1 designated to wait
3 receives the data transmitted from the communication card 13 of the operating CPU stack according to a predetermined protocol and records it in a latch function (not shown). When the CPU card 12 executes the above processing and input operation, it outputs a predetermined normal signal to the I / O stack 2 indicating that its own CPU stack is normal. Therefore, the processing operation described above is repeatedly executed. The time required for repetitive execution is set to be the same as the output pitch of a normal signal in a series of operating states. Therefore, the normal signal is output, for example, every 100 milliseconds. By the time sequence described above, even if the flag register function 22a is inverted during execution of the control program, the operating stack can be safely switched without interruption of the control program.

【0020】I/Oスタック2は作動を開始すると,図
3の(C)において,前述したように,切替カ−ド22
に設けたフラグレジスタ機能22aを1にセットして第
1のCPUスタック1Aを稼働し,第2のCPUスタッ
ク1Bを待機させる。即ち,I/Oカ−ド23に接続し
ているケ−ブル3の所定の信号線類等各バス類が第1の
CPUスタック1AのI/Oスタック接続カ−ド14に
接続するように機能する。以降は,第1のCPUスタッ
ク1Aおよび第2のCPUスタック1Bから入力する正
常信号を確認し,例えば,第1のCPUスタック1Aか
ら入力する正常信号が100ミリ秒から所定時間待って
も入力しないと切替カ−ド22に設けたフラグレジスタ
機能22aを0にして第1のCPUスタック1Aを待機
させ,第2のCPUスタック1Bを稼働させる。即ち,
また,I/Oカ−ド23に接続しているケ−ブル3の所
定の信号線類等各バス類が第2のCPUスタック1Bの
I/Oスタック接続カ−ド14に接続するように機能す
る。
When the I / O stack 2 starts to operate, as described above with reference to FIG.
The flag register function 22a provided in 1 is set to 1 to operate the first CPU stack 1A and put the second CPU stack 1B on standby. That is, each bus such as predetermined signal lines of the cable 3 connected to the I / O card 23 is connected to the I / O stack connection card 14 of the first CPU stack 1A. Function. After that, the normal signal input from the first CPU stack 1A and the second CPU stack 1B is confirmed, and for example, the normal signal input from the first CPU stack 1A is not input even after waiting a predetermined time from 100 milliseconds. Then, the flag register function 22a provided in the switching card 22 is set to 0 to make the first CPU stack 1A stand by and the second CPU stack 1B to operate. That is,
Further, each bus such as predetermined signal lines of the cable 3 connected to the I / O card 23 is connected to the I / O stack connection card 14 of the second CPU stack 1B. Function.

【0021】また,フラグレジスタ機能操作スイッチ2
2bから切り替え信号が入力すると,所定の条件に従っ
て,切替カ−ド22に設けたフラグレジスタ機能22a
を反転し,第1のCPUスタック1Aと第2のCPUス
タック1Bとの稼働を切り替える。
The flag register function operation switch 2
When a switching signal is input from 2b, a flag register function 22a provided in the switching card 22 is provided according to a predetermined condition.
Is reversed to switch the operation of the first CPU stack 1A and the second CPU stack 1B.

【0022】上述のように,第1のCPUスタック1A
が作動していて,第1のCPUスタック1A自体の電源
入力部に設けた過電流遮断器15がトリップする,電源
装置11が故障する,または,CPUカ−ド12の故障
信号出力機能やI/Oスタック接続カ−ド14等の故障
が発生すると,当然,正常信号は出力されない。また,
CPUカ−ド12のその他の機能や通信カ−ド13等が
故障するとCPUカ−ド12に予め設けた所定のチェッ
ク機能によって正常信号の出力を停止させる。従って,
前述したように,I/Oスタック2のフラグレジスタ機
能22aは反転される。
As described above, the first CPU stack 1A
Is operating, the overcurrent breaker 15 provided in the power input section of the first CPU stack 1A itself trips, the power supply device 11 fails, or the failure signal output function of the CPU card 12 or I When a failure occurs in the / O stack connection card 14 or the like, the normal signal is naturally not output. Also,
When the other functions of the CPU card 12, the communication card 13 or the like fails, the normal check signal provided in the CPU card 12 stops the output of the normal signal. Therefore,
As described above, the flag register function 22a of the I / O stack 2 is inverted.

【0023】上述の説明は本発明の技術思想を実現する
ための基本手法と構成を示したものであって,種々応用
改変することができる。例えば,図1,図2に示す構成
は,本発明を適用する一実施例であって,上述した技術
思想が実現できればその他の構成システムにも適用でき
る。その場合は図3に示したフロ−例もその回路構成に
対応して変形すればよい。また,各スタック,カ−ド類
の機能を適切に設定しても良い。例えば,I/Oスタッ
ク2のI/Oカ−ド23とCPUスタックのI/Oスタ
ック接続カ−ド14の接続を切り替えるには,上述の実
施例の説明では,I/Oスタック2の切替カ−ド22に
バス類が接続されていて,所定の条件でバスを切り替え
るように説明したが,その切り換え用に切替カ−ド22
に切り替え用のゲ−ト類を設けても,CPUスタックの
I/Oスタック接続カ−ド14に入出力動作(信号遮断
または伝送/受信実行)を行うゲ−ト類を設けるように
しても良い。また,フラグレジスタ機能は,実施例によ
って説明した機能を備えれば,どのような構成でも方法
を使用しても良いことは当然である。また,伝送信号の
処理機能の構成と分担は,I/Oスタック2におけるバ
ス類接続カ−ドの構成を切替カ−ド22以外の別の構成
にする等,その制御装置を構成するシステムの条件等に
対応して,制御装置の構成と機能である各スタック類の
適切な設計思想に基づいて機能するようにすれば良いこ
とは当然である。
The above description shows the basic method and configuration for realizing the technical idea of the present invention, and can be variously applied and modified. For example, the configurations shown in FIGS. 1 and 2 are examples of applying the present invention, and can be applied to other configuration systems as long as the above-described technical idea can be realized. In that case, the flow example shown in FIG. 3 may be modified in accordance with the circuit configuration. Also, the functions of each stack and cards may be set appropriately. For example, in order to switch the connection between the I / O card 23 of the I / O stack 2 and the I / O stack connection card 14 of the CPU stack, the switching of the I / O stack 2 is described in the above description of the embodiment. Although it has been described that buses are connected to the card 22 and the buses are switched under a predetermined condition, the switching card 22 is used for the switching.
Even if the switching gates are provided in the CPU stack, the I / O stack connection card 14 of the CPU stack may be provided with gates for performing input / output operations (signal interruption or transmission / reception execution). good. Further, the flag register function may of course have any configuration and method as long as it has the function described in the embodiment. Further, the configuration and sharing of the transmission signal processing function are performed by the system constituting the control unit such as the configuration of the bus connecting card in the I / O stack 2 other than the switching card 22. It is natural that the control device should function according to the conditions and the like based on an appropriate design concept of each stack, which is the configuration and function of the control device.

【0024】[0024]

【発明の効果】本発明は上記のような方法であるから,
次に示すような優れた効果を有する。 簡単な構成で,異常制御機能ユニット(CPUスタッ
ク)と正常制御機能ユニット(CPUスタック)の別を
判定できる。 簡単な構成で,異常制御機能ユニット(CPUスタッ
ク)と正常制御機能ユニット(CPUスタック)の交換
を安全,迅速に実行できる。 待機側制御機能ユニット(CPUスタック)は実行中
の稼働側制御機能ユニット(CPUスタック)のデ−タ
を受信しているので,稼働側制御機能ユニット(CPU
スタック)が異常になると,誤動作することなく待機側
制御機能ユニット(CPUスタック)が速やかに稼働側
としての機能を実行できる。 稼働側制御機能ユニット(CPUスタック)が待機側
制御機能ユニット(CPUスタック)にデ−タを伝送す
るには,通信機能によって実行するので,制御プログラ
ムの実行サイクルに送信時間が影響せず,実行サイクル
の時間が短縮できる。 稼働側制御機能ユニット(CPUスタック)が待機側
制御機能ユニット(CPUスタック)にデ−タを伝送す
るには,通信機能によって実行するので,制御システム
と制御装置の条件に対応して適切なデ−タ通信機能を構
成でき,ノイズ等によるデ−タ変質が防止できる。 正常信号を実行サイクル毎に送信し,正常信号の所定
時間内の不受信をそのユニットの異常と判定するように
すると,迅速,容易にユニットの正常と異常との別を判
定できる。 フラグレジスタ機能操作スイツチ22bを正常信号出
力時に使用するようにし,正常信号出力後にフラグレジ
スタ機能の内容判定をするようにすると,スイッチ操作
等によってフラグレジスタ機能を反転する等の場合に
も,フラグレジスタ機能の内容判定から制御動作実行の
間にフラグレジスタ機能の反転を防止できるので,制御
システムが誤動作することなく稼働ユニットの切り替え
が確実に実行できる。 2式の制御機能ユニット(CPUスタック)の両者が
異常であっても,スイッチ操作によって作動される制御
機能ユニット(CPUスタック)の切り替えを実行でき
るようにした場合は,異常内容の点検を実行できる。
Since the present invention is a method as described above,
It has the following excellent effects. With a simple configuration, it is possible to determine whether the abnormal control function unit (CPU stack) or the normal control function unit (CPU stack). With a simple structure, the abnormal control function unit (CPU stack) and the normal control function unit (CPU stack) can be replaced safely and quickly. Since the standby side control function unit (CPU stack) receives the data of the running side control function unit (CPU stack) being executed, the operation side control function unit (CPU stack)
When the stack becomes abnormal, the standby side control function unit (CPU stack) can promptly execute the function as the operating side without malfunctioning. Since the operating side control function unit (CPU stack) transmits data to the standby side control function unit (CPU stack) by the communication function, it is executed without affecting the transmission time in the control program execution cycle. The cycle time can be shortened. Since the operating control function unit (CPU stack) transmits the data to the standby control function unit (CPU stack) by the communication function, it is appropriate to handle the data depending on the conditions of the control system and the control device. -The data communication function can be configured, and the alteration of data due to noise can be prevented. If a normal signal is transmitted in each execution cycle, and non-reception of the normal signal within a predetermined time is determined to be an abnormality of the unit, it is possible to quickly and easily determine whether the unit is normal or abnormal. If the flag register function operation switch 22b is used at the time of outputting a normal signal and the content of the flag register function is judged after the normal signal is output, even if the flag register function is reversed by a switch operation, etc. Since it is possible to prevent the flag register function from being inverted between the determination of the content of the function and the execution of the control operation, it is possible to reliably switch the operating unit without causing the control system to malfunction. Even if both of the two types of control function units (CPU stacks) are abnormal, if the switching of the control function units (CPU stacks) operated by the switch operation can be executed, the abnormality content can be inspected. .

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

【図1】本発明に基づく2重系のバスコントロ−ル方法
を適用する制御システムにおける制御装置の機能構成例
を示す概要ブロック図である。
FIG. 1 is a schematic block diagram showing a functional configuration example of a control device in a control system to which a dual system bus control method according to the present invention is applied.

【図2】本発明に基づく2重系のバスコントロ−ル方法
を適用する制御システムにおける制御装置の全体構成例
を示す概要ブロック図である。
FIG. 2 is a schematic block diagram showing an example of the overall configuration of a control device in a control system to which a dual system bus control method according to the present invention is applied.

【図3】図1に示す制御システム構成例における本発明
に基づく動作フロ−例を示す概略フロ−図である。
3 is a schematic flowchart showing an example of an operation flow based on the present invention in the control system configuration example shown in FIG.

【図4】図1に示すフラグレジスタ機能の働きを説明す
る接続図である。
FIG. 4 is a connection diagram illustrating the operation of the flag register function shown in FIG.

【図5】従来の2重系のバスコントロ−ル方法例を説明
する概要ブロック図である。
FIG. 5 is a schematic block diagram illustrating an example of a conventional dual system bus control method.

【符号の説明】[Explanation of symbols]

1A,1B:CPUスタック(制御機能ユニット) 2:I/Oスタック(共通機能ユニット) 3:ケ−ブル 10:制御装置 11,21:電源装置 12:CPUカ−ド 13:通信カ−ド(通信機能) 14:I/Oスタック接続カ−ド(共通機能ユニット接
続カ−ド) 22:切替カ−ド 22a:フラグレジスタ機能 22b:フラグレジスタ機能操作スイッチ(スイッチ機
能) 22c:インバ−タ 23:I/Oカ−ド
1A, 1B: CPU stack (control function unit) 2: I / O stack (common function unit) 3: Cable 10: Control device 11, 21: Power supply device 12: CPU card 13: Communication card ( Communication function) 14: I / O stack connection card (common function unit connection card) 22: Changeover card 22a: Flag register function 22b: Flag register function operation switch (switch function) 22c: Inverter 23 : I / O card

───────────────────────────────────────────────────── フロントページの続き (72)発明者 竹下 真志 愛知県豊橋市三弥町字元屋敷150番地 神 鋼電機株式会社豊橋製作所内 (72)発明者 内田 悟 愛知県豊橋市三弥町字元屋敷150番地 神 鋼電機株式会社豊橋製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Masashi Takeshita Inventor Masashi Takeshita, Toyohashi City, Aichi Prefecture 150 Motoyashiki, Shinko Electric Co., Ltd. Address Shinko Electric Co., Ltd. Toyohashi Works

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 2式の同一構成の制御機能ユニットを待
機2重系に構成する制御システムにおけるバスコントロ
−ル方法において,当該制御システムの共通機能ユニッ
トに上記2式の制御機能ユニットのうちの稼働制御機能
ユニットを指定するフラグレジスタ機能を設け,このフ
ラグレジスタ機能の内容による指定を判定し,バスが接
続されて稼働する稼働制御機能ユニットが稼働フロ−に
おける所定条件ごとに出力する自己正常信号が共通機能
ユニットに所定時間以上到達しない場合に,該稼働制御
機能ユニットが異常であると判定して上記フラグレジス
タ機能を反転させ,稼働制御機能ユニットを交代してバ
スの接続を変換するようにしたことを特徴とする2重系
のバスコントロ−ル方法。
1. A bus control method in a control system in which two sets of control function units having the same structure are configured in a standby dual system, wherein a common function unit of the control system is one of the two sets of control function units. A flag register function that specifies the operation control function unit is provided, and the specification based on the contents of this flag register function is determined, and the operation control function unit that is connected to the bus and operates outputs a self-normality signal for each predetermined condition in the operation flow. If the operation control function unit does not reach the common function unit for a predetermined time or longer, it is determined that the operation control function unit is abnormal, the flag register function is inverted, and the operation control function unit is replaced to change the bus connection. A dual system bus control method characterized by the above.
【請求項2】 請求項1記載の2重系のバスコントロ−
ル方法において,2式の制御機能ユニットそれぞれに通
信機能を備え,稼働制御機能ユニットは所定のデ−タを
該通信機能によって待機制御機能ユニットに送信し,稼
働制御機能ユニットが交代した場合に,交代した新稼働
制御機能ユニットは該受信デ−タを使用して制御を続行
するようにした2重系のバスコントロ−ル方法。
2. The dual system bus controller according to claim 1.
In the above method, each of the two control function units is provided with a communication function, and the operation control function unit transmits predetermined data to the standby control function unit by the communication function, and when the operation control function unit is replaced, A dual system bus control method in which the new operation control functional unit that has been replaced continues to control using the received data.
【請求項3】 請求項1記載のフラグレジスタ機能はス
イッチ機能によって手動的に反転可能にした2重系のバ
スコントロ−ル方法。
3. A dual system bus control method wherein the flag register function according to claim 1 can be manually inverted by a switch function.
【請求項4】 請求項1記載の制御機能ユニットにおけ
る正常信号出力タイミングと,フラグレジスタ機能の内
容判定タイミングは,正常信号出力後にフラグレジスタ
機能の内容判定をするようにした2重系のバスコントロ
−ル方法。
4. The dual system bus controller in which the normal signal output timing and the flag register function content determination timing in the control function unit according to claim 1 are determined after the normal signal is output. -Le method.
JP5303248A 1993-11-10 1993-11-10 Double bus control method Expired - Fee Related JP2993337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5303248A JP2993337B2 (en) 1993-11-10 1993-11-10 Double bus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5303248A JP2993337B2 (en) 1993-11-10 1993-11-10 Double bus control method

Publications (2)

Publication Number Publication Date
JPH07134601A true JPH07134601A (en) 1995-05-23
JP2993337B2 JP2993337B2 (en) 1999-12-20

Family

ID=17918667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5303248A Expired - Fee Related JP2993337B2 (en) 1993-11-10 1993-11-10 Double bus control method

Country Status (1)

Country Link
JP (1) JP2993337B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236120A (en) * 2000-02-22 2001-08-31 Hitachi Ltd Masterless control system
JP2008135027A (en) * 1996-12-13 2008-06-12 Emerson Process Management Power & Water Solutions Inc Drop in fully redundant, workstation-based distributed process control system
JP2011193071A (en) * 2010-03-12 2011-09-29 Fuji Electric Co Ltd Analog input duplicating device and analog input duplicating method
CN103728909A (en) * 2014-01-22 2014-04-16 哈尔滨工业大学 Double-bus control mode multi-IO control device facing to high-speed chip mounter
JP2019028875A (en) * 2017-08-02 2019-02-21 東芝三菱電機産業システム株式会社 Control device
US10845788B2 (en) 2016-02-03 2020-11-24 Mitsubishi Electric Corporatioon Control system and control unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008135027A (en) * 1996-12-13 2008-06-12 Emerson Process Management Power & Water Solutions Inc Drop in fully redundant, workstation-based distributed process control system
JP2001236120A (en) * 2000-02-22 2001-08-31 Hitachi Ltd Masterless control system
JP2011193071A (en) * 2010-03-12 2011-09-29 Fuji Electric Co Ltd Analog input duplicating device and analog input duplicating method
CN103728909A (en) * 2014-01-22 2014-04-16 哈尔滨工业大学 Double-bus control mode multi-IO control device facing to high-speed chip mounter
US10845788B2 (en) 2016-02-03 2020-11-24 Mitsubishi Electric Corporatioon Control system and control unit
JP2019028875A (en) * 2017-08-02 2019-02-21 東芝三菱電機産業システム株式会社 Control device

Also Published As

Publication number Publication date
JP2993337B2 (en) 1999-12-20

Similar Documents

Publication Publication Date Title
JP2007511806A (en) Redundancy automation system for controlling technical equipment and method of operation thereof
JPS59106056A (en) Failsafe type data processing system
JP2993337B2 (en) Double bus control method
JPH086866A (en) Power source controller of electronic computer
JPH06149718A (en) Switching system of input/output device
KR20020064041A (en) Out put device using serial communication of triple type control device and control method thereof
KR100378593B1 (en) Double Switch Board and A method of switch board redundancy
KR200275119Y1 (en) Ethernet using double line
JPH0537421A (en) Method and device for switching transmission line
JPH05307491A (en) Method and device for switching multiplexing processor
GB2146810A (en) Achieving redundancy in a distributed process control system
CN114936131A (en) Self-monitoring controller
KR100318925B1 (en) P-bus channel selector of exchange
KR970004888B1 (en) Method for controlling double scsi adapter at a time in full electronic switching system
JPH04158457A (en) Duplex system
JPH02231603A (en) Duplex switch system
JP3107182B2 (en) Redundant storage device
CN117008462A (en) Redundant controller
KR19990059294A (en) Redundant switching system at the exchange
JPH05342076A (en) Dual writing filing device
KR19990055661A (en) System control device and method using dual port RAM
JPH01209564A (en) Information processor
JPS61189097A (en) Duplex controller
JPH04179335A (en) Data transmission system
JPH02186459A (en) Filing subsystem

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071022

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20081022

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20091022

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101022

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111022

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20121022

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20121022

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 14

Free format text: PAYMENT UNTIL: 20131022

LAPS Cancellation because of no payment of annual fees