JPH05257725A - Error transmitter for cpu unit - Google Patents

Error transmitter for cpu unit

Info

Publication number
JPH05257725A
JPH05257725A JP4338645A JP33864592A JPH05257725A JP H05257725 A JPH05257725 A JP H05257725A JP 4338645 A JP4338645 A JP 4338645A JP 33864592 A JP33864592 A JP 33864592A JP H05257725 A JPH05257725 A JP H05257725A
Authority
JP
Japan
Prior art keywords
unit
error
cpu
signal
output
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
JP4338645A
Other languages
Japanese (ja)
Other versions
JP2706027B2 (en
Inventor
Shigeru Hiroi
茂 廣井
Tatsuya Akahori
達也 赤堀
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPH05257725A publication Critical patent/JPH05257725A/en
Application granted granted Critical
Publication of JP2706027B2 publication Critical patent/JP2706027B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To efficiently operate respective units by shortening system recovery time discriminating the cause of system error at the other unit and by continuing the operations without resetting when there is no influence upon the processing of its own unit, when the system error is generated. CONSTITUTION:Processing contents are selected corresponding to the states of a system reset signal 12 to be inputted/outputted between a CPU unit 2 for calculating/executing the contents of a program and the other unit (such as an output unit 3, special function unit 4 and data link unit 5) controlled by the CPU unit 2, and a CPU error signal 13 to directly transmit error inside the CPU unit 2 to the other unit.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、CPUユニットのエ
ラー検知およびエラー検知に基づく各種制御を実行する
CPUユニットのエラー伝達装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU unit error detection device and a CPU unit error transmission device for executing various controls based on the error detection.

【0002】[0002]

【従来の技術】図4は、従来におけるプログラマブルコ
ントローラの構成を示す説明図である。図において、1
はシステムに電源を供給する電源ユニット、2は他のユ
ニットを制御するために演算処理を実行する、システム
の中枢となるCPUユニット、3はCPUユニット2か
ら入力される指令に基づき外部へON/OFF情報を出
力する出力ユニット、4は外部機器(計算機、モニタ装
置)と接続し、CPUユニット2との間にて情報の授受
動作を行う特殊機能ユニットである。
2. Description of the Related Art FIG. 4 is an explanatory diagram showing a configuration of a conventional programmable controller. In the figure, 1
Is a power supply unit for supplying power to the system, 2 is for executing arithmetic processing for controlling other units, CPU unit is the center of the system, and 3 is externally turned on / off based on a command input from the CPU unit 2. The output unit 4 for outputting the OFF information is a special function unit which is connected to an external device (computer, monitor device) and exchanges information with the CPU unit 2.

【0003】また、5は専用回線によりシステム間のデ
ータ通信を行うデータリンクユニット、6は電源ユニッ
ト1,CPUユニット2,出力ユニット3,特殊機能ユ
ニット4,データリンクユニット5の各ユニット間を結
合するベースユニット、7はCPUユニット2内に設け
られ、電源系統からくる電源ダウン予告のエラー信号
(電源リセット信号:以下、ΣREL信号という)10
とCPU内部で発生するエラー(演算エラー等)信号
(以下、CPUERR信号という)11を統合してシス
テムリセット信号(以下、ΣMRE信号という)12を
出力するリセット回路、8は特殊機能ユニット4と接続
して情報の授受を実行する外部機器(計算機,モニタ装
置等)、9は専用回線を介してデータリンクユニット5
とつながるシステム(子局システム)である。また、1
5はCPUユニット2内に設けられたMPU(マイクロ
プロセッサ)、16は出力ユニット3内に設けられたラ
ッチ回路、17は特殊機能ユニット4内に設けられたM
PU(マイクロプロセッサ)、18は同様に特殊機能ユ
ニット4内に設けられた通信インタフェース、19はデ
ータリンクユニット5内に設けられたMPU(マイクロ
プロッサ)、20は同様にデータリンクユニット5内に
設けられた出力ポートである。
Reference numeral 5 is a data link unit for performing data communication between systems through a dedicated line, and 6 is a unit connecting a power supply unit 1, a CPU unit 2, an output unit 3, a special function unit 4 and a data link unit 5. The base unit 7 is provided in the CPU unit 2, and an error signal (power supply reset signal: hereinafter referred to as ΣREL signal) 10 from the power supply system to notify that the power supply is down 10
And a reset circuit that integrates an error (calculation error etc.) signal (hereinafter referred to as CPUERR signal) 11 generated inside the CPU and outputs a system reset signal (hereinafter referred to as ΣMRE signal) 12, 8 is connected to the special function unit 4 An external device (computer, monitor device, etc.) that exchanges information by executing the data link unit 5 via a dedicated line.
It is a system (slave station system) connected with. Also, 1
5 is an MPU (microprocessor) provided in the CPU unit 2, 16 is a latch circuit provided in the output unit 3, and 17 is an M provided in the special function unit 4.
PU (microprocessor), 18 is a communication interface also provided in the special function unit 4, 19 is an MPU (microprocessor) provided in the data link unit 5, and 20 is also provided in the data link unit 5. Output port.

【0004】次に、動作について説明する。システム内
において、電源ユニット1がダウンしたり、CPUユニ
ット2において、プログラム実行中に演算エラー等が発
生することにより実行不可能となった場合、各々電源ダ
ウン予告として、ΣREL信号10およびCPUERR
信号11が発生する。これらの信号はCPUユニット2
内のリセット回路7に入力され、回路内で論理和をとっ
てΣMRE信号12として各ユニットへ出力される。
Next, the operation will be described. In the system, if the power supply unit 1 goes down or the CPU unit 2 becomes unexecutable due to an operation error or the like during the execution of the program, the ΣREL signal 10 and the CPUERR will be issued as power down notices, respectively.
Signal 11 is generated. These signals are sent to the CPU unit 2
It is input to the reset circuit 7 therein, and the logical sum is obtained in the circuit and output as a ΣMRE signal 12 to each unit.

【0005】次に、上記ΣMRE信号を検出した各ユニ
ットでは、各々のリセット処理を実行する。出力ユニッ
ト3では、外部出力のラッチ回路16をクリアし、出力
全部をOFF状態にする。特殊機能ユニット4にあって
は、内部のMPU17のRESET端子にΣMRE信号
を接続しており、内部をリセット状態にして外部機器8
との交信を中断する。データリンクユニット5にあって
は、特殊機能ユニット4と同様にMPU19をリセット
状態にするが、伝送系統はリセットされないため、本シ
ステムがシステムダウンしたことを他の子局システムは
検知でき、本システムをリンク回線より解列してデータ
リンクを続行する。
Next, each unit that has detected the ΣMRE signal executes its reset processing. In the output unit 3, the external output latch circuit 16 is cleared and all the outputs are turned off. In the special function unit 4, the ΣMRE signal is connected to the RESET terminal of the internal MPU 17 so that the internal device is reset and the external device 8
Interrupt communication with. In the data link unit 5, like the special function unit 4, the MPU 19 is reset, but the transmission system is not reset, so other slave station systems can detect that the system is down, and this system Is disconnected from the link line to continue the data link.

【0006】その他、この発明に関連する参考技術文献
として特開平2−234241号公報に開示されている
「リセット・リトライ回路」、特開平3−172924
号公報に開示されている「プリンタ制御方式」がある。
In addition, "Reset / Retry Circuit" disclosed in Japanese Patent Application Laid-Open No. 2-234241 and Japanese Patent Application Laid-Open No. 3-172924 as reference technical documents related to the present invention.
There is a "printer control system" disclosed in the publication.

【0007】[0007]

【発明が解決しようとする課題】従来のシステムにあっ
ては、CPUユニット2内で発生するCPUERR信号
と電源ユニットからのΣREL信号のうち、どちらかの
エラーが発生しても全てΣMRE信号が出力されるた
め、他のユニットでは、どの要因によりリセットがかか
ったか判別できない状態でシステムダウンしてしまい、
その結果、リセットの要因を判別するのに時間がかか
り、システムの復旧に時間がかかってしまうという問題
点があった。
In the conventional system, the ΣMRE signal is output even if one of the CPUERR signal generated in the CPU unit 2 and the ΣREL signal from the power supply unit has an error. Therefore, in other units, the system goes down in a state where it cannot be determined which factor caused the reset,
As a result, there is a problem that it takes time to determine the cause of the reset and it takes time to restore the system.

【0008】また、システムダウンが発生したときに、
他のユニットは自ユニットに影響がない場合であっても
自動的にリセットをかけて運転を停止させるため、シス
テムの運用において非効率的であるという問題点もあっ
た。
When a system down occurs,
There is also a problem that other units are inefficient in operation of the system because they automatically reset and stop operation even if they do not affect their own units.

【0009】この発明は、上記のような問題点を解決す
るためになされたもので、システムエラー発生時に他の
ユニットにてシステムエラーの要因を判別し、システム
復旧時間を短縮し、自ユニットにおける処理に影響がな
い場合には、リセットをかけずに運転を続行し、各ユニ
ットの効率的な運用を図ることができるCPUユニット
のエラー伝達装置を得ることを目的とする。
The present invention has been made to solve the above problems, and when a system error occurs, another unit determines the cause of the system error, shortens the system recovery time, and reduces the system recovery time. It is an object of the present invention to obtain an error transmission device of a CPU unit that can continue the operation without resetting and efficiently operate each unit when there is no influence on the processing.

【0010】[0010]

【課題を解決するための手段】この発明に係るCPUユ
ニットのエラー伝達装置は、プログラムの内容を演算、
実行するCPUユニットと、前記CPUユニットに制御
される他のユニット(出力ユニット,特殊機能ユニッ
ト,データリンクユニット等)間において入出力される
システムリセット信号と、前記CPUユニット内部のエ
ラーを前記他のユニットに伝達するCPUエラー信号の
状態に基づいて処理内容を選択するものである。
An error transmitting device for a CPU unit according to the present invention calculates the contents of a program,
A system reset signal input / output between the CPU unit to be executed and another unit (output unit, special function unit, data link unit, etc.) controlled by the CPU unit, and an error inside the CPU unit, The processing content is selected based on the state of the CPU error signal transmitted to the unit.

【0011】[0011]

【作用】この発明におけるシステムリセット信号(ΣM
RE)と、CPUエラー信号(CPUERRL)は、シ
ステムエラー発生時に、その要因(電源系のエラー/C
PU内部のエラー)をCPUユニットから他のユニット
へ情報として伝達する。
The system reset signal (ΣM
RE) and the CPU error signal (CPUERRL) are factors (power system error / C) when a system error occurs.
Error in the PU) is transmitted from the CPU unit to other units as information.

【0012】[0012]

【実施例】【Example】

〔実施例1〕以下、この発明の一実施例を図について説
明する。図1において、1は電源ユニット、2はCPU
ユニット、3は出力ユニット、4は特殊機能ユニット、
5はデータリンクユニット、6はベースユニット、7は
電源ユニット1からのΣREL信号10と、CPUユニ
ット2内部のCPUERR信号11を統合してΣMRE
信号12を出力するリセット回路、8は特殊機能ユニッ
ト4との通信にて接続される外部機器(計算機,モニタ
装置)である。
[Embodiment 1] An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a power supply unit and 2 is a CPU
Unit, 3 is an output unit, 4 is a special function unit,
Reference numeral 5 is a data link unit, 6 is a base unit, 7 is a ΣREL signal 10 from the power supply unit 1 and a CPUERR signal 11 inside the CPU unit 2 are integrated to obtain a ΣMRE.
A reset circuit that outputs a signal 12 and an external device (computer, monitor device) 8 connected by communication with the special function unit 4.

【0013】また、9はデータリンクユニット5と専用
回線でつながるシステム(子局シスム)である。CPU
ユニット2内にCPU内部のCPUERR信号11とし
てリセット回路7につながる信号と、直接ベースユニッ
ト6より他のユニットまで接続されるCPUERRL信
号13の2つがある。また、出力ユニット3内ではCP
UERRL信号13を入力したときの出力形態(全点O
FFあるいは出力状態を保持)を選択する出力モード選
択スイッチ14を内蔵している。また、15はCPUユ
ニット2内に設けられたMPU(マイクロプロセッ
サ)、16は出力ユニット3内に設けられたラッチ回
路、17は特殊機能ユニット4内に設けられたMPU
(マイクロプロセッサ)、18は同様に特殊機能ユニッ
ト4内に設けられた通信インタフェース、19はデータ
リンクユニット5内に設けられたMPU(マイクロプロ
ッサ)、20は同様にデータリンクユニット5内に設け
られた出力ポートである。
Reference numeral 9 is a system (slave station system) connected to the data link unit 5 by a dedicated line. CPU
In the unit 2, there are two signals that are connected to the reset circuit 7 as a CPUERR signal 11 inside the CPU and a CPUERRL signal 13 that is directly connected from the base unit 6 to other units. In the output unit 3, CP
Output form when the UERRL signal 13 is input (all points O
The output mode selection switch 14 for selecting FF or holding the output state) is built in. Further, 15 is an MPU (microprocessor) provided in the CPU unit 2, 16 is a latch circuit provided in the output unit 3, and 17 is an MPU provided in the special function unit 4.
(Microprocessor), 18 is a communication interface also provided in the special function unit 4, 19 is an MPU (microprocessor) provided in the data link unit 5, and 20 is also provided in the data link unit 5. Output port.

【0014】次に、動作について説明する。図1におい
て、CPUユニット2およびシステムが正常動作してい
るとき、ΣMRE信号12とCPUERRL信号13は
ノンアクティブ状態である。ここで、電源系統の故障に
より電源ダウン予告としてΣREL信号10がアクティ
ブになると、従来のシステムと同様にΣMRE信号12
がアクティブとなり、各ユニット(出力ユニット3,特
殊機能ユニット4,データリンクユニット5)は、リセ
ット状態となり出力ユニット3は出力をOFFする。
Next, the operation will be described. In FIG. 1, when the CPU unit 2 and the system are operating normally, the ΣMRE signal 12 and the CPUERRL signal 13 are in the non-active state. Here, when the ΣREL signal 10 becomes active as a power-down notice due to a failure in the power supply system, the ΣMRE signal 12 is activated as in the conventional system.
Becomes active, each unit (output unit 3, special function unit 4, data link unit 5) enters a reset state, and the output unit 3 turns off the output.

【0015】特殊機能ユニット4では、電源ダウンとな
る前に通信インタフェース18を介してCPUERRL
信号13がノンアクティブであることから電源系のエラ
ーによりシステムダウンすることを外部機器8へ伝達で
き、外部機器8として従来よりもさらに具体的な対応
(例えば、電源系の異常による警報等)が可能になる。
データリンクユニット5では専用回線を通じ、特殊機能
ユニット4と同様に、他の子局9へ電源系のエラーによ
りシステムダウンしたことを伝達し、自局のシステムダ
ウンの要因まで子局に知らせることができる。
In the special function unit 4, before the power is turned off, the CPUERRL is passed through the communication interface 18.
Since the signal 13 is non-active, it can be transmitted to the external device 8 that the system is down due to an error in the power supply system, and the external device 8 can provide a more specific response (for example, an alarm due to an abnormality in the power supply system). It will be possible.
In the data link unit 5, similarly to the special function unit 4, the data link unit 5 can notify the other slave station 9 that the system is down due to an error in the power supply system, and notify the slave station of the cause of the system down of the own station. it can.

【0016】次に、CPUユニット2内部にてエラーが
発生したとき、CPUユニット2における処理として
は、システムダウンさせる必要があるエラーと、システ
ムダウンする必要のないエラーが判別できるものとし、
システムダウンさせるエラーの場合は、CPUERR信
号11とCPUERRL信号13をアクティブにする。
これにより、ΣMRE信号12とCPUERRL信号1
3がアクティブとなり、各ユニット(出力ユニット3,
特殊機能ユニット4,データリンクユニット5)はリセ
ット状態となって、出力ユニット3は、その出力をOF
Fする。
Next, when an error occurs inside the CPU unit 2, the processing in the CPU unit 2 can distinguish between an error that requires a system down and an error that does not require a system down.
In the case of an error that causes the system to go down, the CPUERR signal 11 and the CPUERRL signal 13 are activated.
As a result, the ΣMRE signal 12 and the CPUERRL signal 1
3 becomes active, and each unit (output unit 3,
The special function unit 4 and the data link unit 5) are in a reset state, and the output unit 3 outputs its output OF.
F

【0017】特殊機能ユニット4ではリセット処理をす
る前に通信インタフェースを介してCPUERRL信号
13がアクティブとなっていることからCPUユニット
2内部のエラーにてシステムダウンすることを外部機器
8へ伝達でき、外部機器8として、従来よりもさらに具
体的な対応(CPU点検のメッセージ等)が可能とな
る。データリンクユニット5では専用回線を通じ、特殊
機能ユニット4と同様に他の子局9へCPUユニット2
内部のエラーによりシステムダウンしたことを伝達し、
自局のシステムダウンの要因まで子局に知らせることが
できる。
In the special function unit 4, since the CPUERRL signal 13 is active via the communication interface before the reset processing, it is possible to inform the external device 8 that the system is down due to an error in the CPU unit 2. As the external device 8, it becomes possible to take more specific measures (messages for CPU inspection, etc.) than before. In the data link unit 5, the CPU unit 2 is connected to another slave station 9 through the dedicated line in the same manner as the special function unit 4.
Communicate that the system is down due to an internal error,
It is possible to notify the slave station of the cause of the system down of its own station.

【0018】最後に、CPUユニット2内部のエラーの
うち、システムダウンする必要のないエラーである場合
は、CPUERR信号11はノンアクティブでCPUE
RRL信号13のみアクティブにする。これによって、
ΣMRE信号12はノンアクティブでCPUERRL信
号13のみアクティブとなって各ユニット(出力ユニッ
ト3,特殊機能ユニット4,データリンクユニット5)
に伝達され、出力ユニット3では、モード設定スイッチ
14により、システムダウンする必要のないエラーが発
生したときに出力を全点OFFさせるか、あるいは出力
状態を保持させるかを選定でき、各々のモードにて動作
することができる。また、特殊機能ユニット4やデータ
リンクユニット5では、正常動作(外部機器8や子局9
とのデータ通信)を継続しながら自局ののCPUユニッ
ト2内でエラーが発生したことを1つの情報として外部
機器8や他の子局9へ伝達することができる。
Finally, among the errors inside the CPU unit 2, if the error does not require system down, the CPUERR signal 11 is inactive and the CPUE
Only the RRL signal 13 is activated. by this,
ΣMRE signal 12 is non-active and only CPUERRL signal 13 is active, and each unit (output unit 3, special function unit 4, data link unit 5)
In the output unit 3, the mode setting switch 14 can be used to select whether to turn off all the outputs or maintain the output state when an error that does not require a system down occurs. Can work. In addition, the special function unit 4 and the data link unit 5 operate normally (external device 8 and slave station 9
It is possible to transmit the fact that an error has occurred in the CPU unit 2 of the local station to the external device 8 or another slave station 9 as one piece of information while continuing the data communication).

【0019】〔実施例2〕次に、この発明に係る第2の
実施例を説明する。図2および図3は、この発明の第2
の実施例を説明する説明図であり、上記図1に示した実
施例1と内容が重複する部分については、その説明を省
略する。
[Second Embodiment] Next, a second embodiment according to the present invention will be described. 2 and 3 show a second embodiment of the present invention.
2 is an explanatory diagram for explaining the embodiment of FIG. 2, and the description of the portions having the same contents as those of the embodiment 1 shown in FIG. 1 will be omitted.

【0020】図2において、30はシステムゲートアレ
イであり、装置における各種エラーチェックを実行する
エラーチェック回路30aと、CPUエラー用I/Oポ
ート30bとを具備している。上記エラーチェック回路
30aはハードウェアによりWDTエラー等を検出す
る。また、上記CPUエラー用I/Oポート30bは重
度、中度、軽度の各種エラーを選択的に出力する。ここ
で、重度エラーとしてはCPUの暴走、CPUのハード
ウェアが正常に動作しない場合、WDTエラー等があ
り、また、中度エラーとしては演算チェックエラー等、
さらに、軽度エラーとしてはバッテリエラー等がある。
また、31は中度エラーをユーザ側において、軽度エラ
ーとして扱うか、あるいは重度エラーとして扱うかを選
択設定できる設定スイッチであり、32はMPU15と
エラーチェック回路30a、CPUエラー用I/Oポー
トとの間において信号を伝達するCPUバスである。
In FIG. 2, a system gate array 30 is provided with an error check circuit 30a for executing various error checks in the apparatus and a CPU error I / O port 30b. The error check circuit 30a detects a WDT error or the like by hardware. Further, the CPU error I / O port 30b selectively outputs various errors of severe, moderate and mild. Here, the severe error includes a runaway of the CPU, a WDT error when the hardware of the CPU does not operate normally, and the moderate error includes a calculation check error.
Further, the minor error includes a battery error and the like.
Further, 31 is a setting switch which allows the user to selectively set whether to treat the medium error as a minor error or a serious error, and 32 is an MPU 15, an error check circuit 30a, and a CPU error I / O port. A CPU bus for transmitting signals between the two.

【0021】以上の構成において、CPUERRL信号
13と、ΣMRE信号12とによりどのようにエラーの
区別をするかに関して以下に説明する。第1に、CPU
ERRL信号13が“L”レベルで、ΣMRE信号12
が“H”レベルの場合にあっては、CPUの軽度エラー
と判断する。第2に、CPUERRL信号13が“H”
レベルで、ΣMRE信号12が“L”レベルの場合にあ
っては、電源エラー等の中度エラーと判断する。第3
に、CPUERRL信号13が“L”レベルで、ΣMR
E信号12が“L”レベルの場合にあっては、CPUの
重度エラーと判断する。第4に、CPUERRL信号1
3が“H”レベルで、ΣMRE信号12が“H”レベル
の場合にあっては、正常と判断するものである。
In the above configuration, how the CPUERRL signal 13 and the .SIGMA.MRE signal 12 are used to distinguish between errors will be described below. First, the CPU
When the ERRL signal 13 is at the “L” level, the ΣMRE signal 12
Is at the "H" level, it is judged to be a minor CPU error. Secondly, the CPUERRL signal 13 is "H".
When the ΣMRE signal 12 is at the “L” level, it is determined to be a medium error such as a power supply error. Third
When the CPUERRL signal 13 is at the “L” level,
When the E signal 12 is at "L" level, it is determined that the CPU has a serious error. Fourth, CPUERRL signal 1
When 3 is at "H" level and the ΣMRE signal 12 is at "H" level, it is determined to be normal.

【0022】図3は、上記第2の実施例における出力カ
ードユニット3a、インテリジェント特殊機能ユニット
4a、データリンクユニット5aの構成を示す説明図で
あり、出力ユニット3aには、ラッチ回路16の他に、
CPUのエラー、特に中度エラー、軽度エラーの場合に
おける出力を保持するか、あるいはリセットするかをユ
ーザ側にて選択可能な設定スイッチ14aが設けられて
いる。
FIG. 3 is an explanatory diagram showing the configurations of the output card unit 3a, the intelligent special function unit 4a, and the data link unit 5a in the second embodiment. In addition to the latch circuit 16, the output unit 3a includes ,
A setting switch 14a is provided which allows the user to select whether to hold or reset the output in the case of a CPU error, particularly a medium error or a light error.

【0023】インテリジェント特殊機能ユニット4aに
は、MPU17、外部機器8との通信を実行する通信イ
ンタフェース18の他、I/Oポート33が設けられて
いる。そして、エラー発生時における上記MPU17は
NMI動作によりI/Oポート33のエラー内容をチェ
ックし、その内容を通信インタフェース18へ送ること
により、外部機器8側にてシステム内のエラーが判断可
能となり、復帰時間の短縮を図ることができる。
The intelligent special function unit 4a is provided with an I / O port 33 in addition to the MPU 17 and the communication interface 18 for communicating with the external device 8. Then, when an error occurs, the MPU 17 checks the error content of the I / O port 33 by the NMI operation and sends the content to the communication interface 18, whereby the external device 8 side can determine the error in the system, The recovery time can be shortened.

【0024】データリンクユニット5aには、MPU1
9の他、I/Oポート34およびリンクインタフェース
35が設けられている。このデータリンクユニット5a
は、上記インテリジェント特殊機能ユニット4aと同様
に、エラー発生により他の子局システムへ自局のエラー
を伝達することができる。
The data link unit 5a includes an MPU 1
9, an I / O port 34 and a link interface 35 are provided. This data link unit 5a
Similarly to the intelligent special function unit 4a, can transmit an error of its own station to another slave station system when an error occurs.

【0025】[0025]

【発明の効果】以上のように、この発明によれば、CP
UERRL信号とΣMRE信号をバス上に布線し、これ
に対し、2つの信号の内容によりエラー内容を判別でき
る各ユニット(出力ユニット3,特殊機能ユニット4,
データリンクユニット5)にて構成したことにより、専
用回線により接続された他のシステム(外部機器,子
局)へ自局のエラーを伝達することができ、システムエ
ラー発生時に他のユニットにてシステムエラーの要因を
判別し、システム復旧時間を短縮し、自ユニットにおけ
る処理に影響がない場合には、リセットをかけずに運転
を続行し、各ユニットの効率的な運用を図ることができ
る。
As described above, according to the present invention, CP
The UERRL signal and the ΣMRE signal are wired on the bus, and on the other hand, each unit (output unit 3, special function unit 4, which can determine the error content by the content of the two signals)
By configuring with the data link unit 5), the error of its own station can be transmitted to other systems (external device, slave station) connected by the dedicated line, and when a system error occurs, the system of other units When the cause of the error is determined, the system recovery time is shortened, and when the processing in the own unit is not affected, the operation can be continued without resetting and efficient operation of each unit can be achieved.

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

【図1】この発明に係るプログラマブルコントローラの
概略構成(実施例1)を示す説明図である。
FIG. 1 is an explanatory diagram showing a schematic configuration (Embodiment 1) of a programmable controller according to the present invention.

【図2】この発明に係るプログラマブルコントローラの
概略構成(実施例2)を示す説明図である。
FIG. 2 is an explanatory diagram showing a schematic configuration (second embodiment) of a programmable controller according to the present invention.

【図3】この発明に係るプログラマブルコントローラの
概略構成(実施例2)を示す説明図である。
FIG. 3 is an explanatory diagram showing a schematic configuration (second embodiment) of a programmable controller according to the present invention.

【図4】従来におけるプログラマブルコントローラの概
略構成を示す説明図である。
FIG. 4 is an explanatory diagram showing a schematic configuration of a conventional programmable controller.

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

1 電源ユニット 2 CPUユニット 3 出力ユニット 3a 出力カードユニット 4 特殊機能ユニット 4a インテリジェント特殊機能ユニット 5 データリンクユニット 5a データリンクユニット 6 ベースユニット 7 リセット回路 8 外部機器 9 子局システム 10 エラー信号(ΣREL) 11 エラー信号(CPUERR) 12 システムリセット信号(ΣMRE) 13 エラー信号(CPUERRL) 14 出力モード選択スイッチ 30 システムゲートアレイ 30a エラーチェック回路 30b CPUエラー用I/Oポート 31 設定スイッチ 1 Power Supply Unit 2 CPU Unit 3 Output Unit 3a Output Card Unit 4 Special Function Unit 4a Intelligent Special Function Unit 5 Data Link Unit 5a Data Link Unit 6 Base Unit 7 Reset Circuit 8 External Device 9 Slave Station System 10 Error Signal (ΣREL) 11 Error signal (CPUERR) 12 System reset signal (ΣMRE) 13 Error signal (CPUERRL) 14 Output mode selection switch 30 System gate array 30a Error check circuit 30b CPU error I / O port 31 Setting switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラム内容を演算/実行するCPU
ユニットと、前記CPUユニットに制御される他のユニ
ット(出力ユニット,特殊機能ユニット,データリンク
ユニット等)間において入出力されるシステムリセット
信号と、前記CPUユニット内部のエラーを前記他のユ
ニットに直接伝達するCPUエラー信号の状態に基づい
て処理内容を選択することを特徴とするCPUユニット
のエラー伝達装置。
1. A CPU for calculating / executing program contents
A system reset signal input / output between a unit and another unit controlled by the CPU unit (output unit, special function unit, data link unit, etc.) and an error inside the CPU unit are directly transmitted to the other unit. An error transmission device for a CPU unit, characterized in that processing contents are selected based on a state of a transmitted CPU error signal.
JP4338645A 1991-12-19 1992-12-18 Programmable controller Expired - Lifetime JP2706027B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3-336904 1991-12-19
JP33690491 1991-12-19

Publications (2)

Publication Number Publication Date
JPH05257725A true JPH05257725A (en) 1993-10-08
JP2706027B2 JP2706027B2 (en) 1998-01-28

Family

ID=18303716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4338645A Expired - Lifetime JP2706027B2 (en) 1991-12-19 1992-12-18 Programmable controller

Country Status (1)

Country Link
JP (1) JP2706027B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011258003A (en) * 2010-06-09 2011-12-22 Hitachi Industrial Equipment Systems Co Ltd Programmable controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233608A (en) * 1988-03-15 1989-09-19 Fujitsu Ltd Power failure processing system
JPH03176710A (en) * 1989-12-06 1991-07-31 Hitachi Ltd Initialization control system for information processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233608A (en) * 1988-03-15 1989-09-19 Fujitsu Ltd Power failure processing system
JPH03176710A (en) * 1989-12-06 1991-07-31 Hitachi Ltd Initialization control system for information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011258003A (en) * 2010-06-09 2011-12-22 Hitachi Industrial Equipment Systems Co Ltd Programmable controller

Also Published As

Publication number Publication date
JP2706027B2 (en) 1998-01-28

Similar Documents

Publication Publication Date Title
JPS59106056A (en) Failsafe type data processing system
JPH02189663A (en) Input/output data transfer system
JPH05257725A (en) Error transmitter for cpu unit
JPH10105422A (en) Control circuit of protecting device
JPS63224446A (en) Communication system
JP2564397B2 (en) Redundant system data output device
JPH07129424A (en) One-bit error detection informing device for ecc function circuit
JP3107104B2 (en) Standby redundancy method
JPH0537421A (en) Method and device for switching transmission line
JPH03222020A (en) Reset system for multi-micro processor system
JPH0726762Y2 (en) Bus mismatch circuit
JPS61213932A (en) Decentralized duplex computer system and its control method
JPH08106400A (en) Duplex controller with duplexed process input/output device
JPS60140438A (en) System switching control system of information processing system
JP2892821B2 (en) Data transfer device
JPS6213153Y2 (en)
JPH01161472A (en) Multiprocessor
JPH0756762A (en) Data transmitting equipment
JPS5816497B2 (en) Data processing system with system common parts
JPH037177B2 (en)
JPS61187056A (en) Abnormality monitor circuit of transmission unit for multidrop serial bus
JPS60251443A (en) Backup device of programmable controller
JPH06175869A (en) Duplex computer system
JPS61187013A (en) Process control computer
JPS63263547A (en) Microcomputer

Legal Events

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

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111009

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 16

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 16