JPH0731544B2 - Computational congestion monitoring device - Google Patents

Computational congestion monitoring device

Info

Publication number
JPH0731544B2
JPH0731544B2 JP59206986A JP20698684A JPH0731544B2 JP H0731544 B2 JPH0731544 B2 JP H0731544B2 JP 59206986 A JP59206986 A JP 59206986A JP 20698684 A JP20698684 A JP 20698684A JP H0731544 B2 JPH0731544 B2 JP H0731544B2
Authority
JP
Japan
Prior art keywords
signal
abnormality
reset
main cpu
abnormality detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59206986A
Other languages
Japanese (ja)
Other versions
JPS6188310A (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.)
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
Priority to JP59206986A priority Critical patent/JPH0731544B2/en
Publication of JPS6188310A publication Critical patent/JPS6188310A/en
Publication of JPH0731544B2 publication Critical patent/JPH0731544B2/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/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、シーケンス制御における例えばプログラマ
ブルコントローラの演算渋滞監視装置に関するものであ
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a calculation traffic congestion monitoring device, for example, a programmable controller in sequence control.

〔従来の技術〕[Conventional technology]

従来のシーケンス制御におけるプログラマブルコントロ
ーラの演算渋滞監視は、第2図に示す構成の装置で行な
われていた。図において(1)はカウンタ回路、(2)
はカウンタ回路(1)のカウント入力となるクロツク、
(3)はシーケンス演算を行うCPUであり、シーケンス
演算実行ごとにカウンタ回路(1)にリセツトをかける
ようになつている。
In the conventional sequence control, the operation congestion monitoring of the programmable controller is performed by the device having the configuration shown in FIG. In the figure, (1) is a counter circuit, (2)
Is the clock that becomes the count input of the counter circuit (1),
Reference numeral (3) is a CPU for performing a sequence operation, and the counter circuit (1) is reset each time the sequence operation is executed.

従来のプログラマブルコントローラの演算渋滞監視は上
記のように構成された装置によつてなされる。シーケン
ス制御動作が開始すると、この開始時点よりCPU(3)
によるシーケンス演算が順調に行なわれる限り、シーケ
ンス演算の終了ごとにCPU(3)の指令によつてカウン
タ回路(1)にリセツトがかかり、次のシーケンス演算
を開始する。
The calculation congestion monitoring of the conventional programmable controller is performed by the device configured as described above. When the sequence control operation starts, the CPU (3)
As long as the sequence calculation is performed smoothly, the counter circuit (1) is reset by a command from the CPU (3) every time the sequence calculation is completed, and the next sequence calculation is started.

次に、CPU(3)によるシーケンス演算が順調に行なわ
れずに、カウンタ回路(1)がクロツク(2)によりカ
ウントアツプする前にCPU(3)からのリセツト信号が
ない場合は、カウンタ回路(1)から演算渋滞信号が発
せられ、所定の警報あるいは表示部を作動させるように
なつている。
Next, if the sequence operation by the CPU (3) is not smoothly performed and there is no reset signal from the CPU (3) before the counter circuit (1) counts up by the clock (2), the counter circuit (1 ), A traffic congestion signal is issued, and a predetermined alarm or display unit is activated.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記のような従来のプラグラマブルコントローラの渋滞
監視を行う装置においては、シーケンス演算が順調に行
なわれていないにもかかわらず例えばCPU(3)が誤つ
てライト・リード(WR)する等のCPU(3)の異常状態
が原因でカウンタ回路(2)に対して、常時リセツト信
号が出てしまうと演算渋体信号が出力しないという問題
点およびカウンタ回路(2)の定数が決まつており、演
算渋滞監視時間が一定になつてしまうという問題点があ
つた。
In the conventional device for monitoring congestion of the pluggable controller as described above, for example, the CPU (3) erroneously writes / reads (WR) even if the sequence operation is not smoothly performed (CPU ( The problem that the calculation astringent signal is not output when the reset signal is constantly output to the counter circuit (2) due to the abnormal state of 3) and the constant of the counter circuit (2) is determined. There was a problem that the traffic congestion monitoring time was constant.

この発明は、かかる問題点を解決するためになされたも
ので、CPU(3)が異常状態になつても、演算渋滞信号
が発せられ、又、演算渋滞監視時間をプログラマブルに
変更できるような渋滞監視方式を提供することを目的と
する。
The present invention has been made to solve such a problem, and even when the CPU (3) is in an abnormal state, a traffic congestion signal is issued and traffic congestion such that the traffic congestion monitoring time can be programmable is changed. The purpose is to provide a monitoring method.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係る演算渋滞監視装置は、シーケンス制御を行
うと共に、相互に相手方の異常を検索し合い、相手方の
異常を検出したときそれぞれ第1、第2の異常検出信号
を出力する主CPU及び副CPUと、シーケンス演算の終了の
たびに主CPUから入力されるリセット信号によりリセッ
トされると共に入力された所定のクロック信号をカウン
トし、プログラマブルに予め主CPUにより設定された設
定値により示される時間内にリセット信号が入力されな
いと第3の異常検出信号を出力するカウンタ回路と、第
1、第2及び第3の異常検出信号の論理和をとる論理和
回路とを備え、論理和回路の出力を演算渋滞信号とする
ようにしたものである。
The operation congestion monitoring apparatus according to the present invention performs sequence control, mutually searches for abnormalities of the other party, and outputs the first and second abnormality detection signals when detecting the other party's abnormality, respectively. Each time a sequence operation is completed, the CPU and the reset signal input from the main CPU are reset, and the specified clock signal that is input is counted and programmable within the time indicated by the preset value set by the main CPU. A counter circuit that outputs a third abnormality detection signal when a reset signal is not input to and a logical sum circuit that performs a logical sum of the first, second, and third abnormality detection signals are provided. The traffic congestion signal is calculated.

〔作 用〕[Work]

本発明においては、主CPU及び副CPUが相互に相手方の異
常を検索し合い、相手方の異常が検出されるとそれぞれ
第1、第2の異常検出信号が出力され、主CPUからシー
ケンス演算の終了のたびに入力されるリセット信号によ
りリセットされるカウンタ回路により、所定の入力され
たクロック信号がカウントされると共にプログラマブル
に予め主CPUにより設定された設定値により示される時
間内にリセット信号が入力されないと第3の異常検出信
号が出力され、第1、第2及び第3の異常検出信号の論
理和が論理和回路によりとられ、この論理和出力が演算
渋滞信号となる。
In the present invention, the main CPU and the sub CPU mutually search for the other party's abnormality, and when the other party's abnormality is detected, the first and second abnormality detection signals are output respectively, and the main CPU completes the sequence operation. The counter circuit that is reset by the reset signal that is input every time counts the predetermined input clock signal and does not input the reset signal within the time indicated by the preset value programmable by the main CPU. And a third abnormality detection signal are output, the logical sum of the first, second and third abnormality detection signals is obtained by the logical sum circuit, and the logical sum output becomes the operation congestion signal.

〔実施例〕〔Example〕

第1図はこの発明による演算渋滞監視を行う装置の一実
施例を示すブロツク構成図である。(1)はカウンタ回
路、(2)はクロツク、(3a),(3b)はそれぞれ主、
副CPU、(4)はOR回路であり、(3a),(3b)の主、
副CPUは相互に相手側の異常を検索し合い、カウンタ回
路(1)を作動させて主CPU(3)のシーケンス演算を
計時し、異常時にOR回路(4)より渋滞信号が出力され
るようになつている。
FIG. 1 is a block diagram showing an embodiment of an apparatus for monitoring traffic congestion according to the present invention. (1) is a counter circuit, (2) is a clock, (3a) and (3b) are main,
Sub CPU, (4) is an OR circuit, the main of (3a), (3b),
The sub CPU mutually searches for the other party's abnormality, activates the counter circuit (1) to time the sequence calculation of the main CPU (3), and when there is an abnormality, the OR circuit (4) outputs a traffic jam signal. It has become.

上記のように構成されたシーケンス制御装置において
は、まず主CPU(3a)が、カウンタ回路(1)の設定を
プログラマブルに行い、シーケンス演算を開始する。主
CPU(3a)がシーケンス演算を行ない、この演算が所定
時間に終了すると、主CPU(3a)の指令で図示のAライ
ンを介してカウンタ回路(1)はリセツトされる。主CP
U(3a)によるシーケンス演算が渋滞して所定時間内に
各ステツプのシーケンス演算が行なわれない場合は、直
ちに図示のBラインを介して論理和回路、例えばOR回路
(5)に第3の異常検出信号が伝達されて演算渋滞信号
が発せられる。
In the sequence control device configured as described above, the main CPU (3a) first sets the counter circuit (1) in a programmable manner and starts the sequence operation. main
When the CPU (3a) performs a sequence operation and this operation is completed within a predetermined time, the counter circuit (1) is reset via the A line shown in the figure by a command from the main CPU (3a). Main CP
If the sequence calculation by U (3a) is congested and the sequence calculation of each step is not performed within a predetermined time, immediately the third abnormality is caused in the logical sum circuit, for example, the OR circuit (5) via the B line shown in the figure. The detection signal is transmitted and the calculation congestion signal is issued.

また、主CPU(3a)あるいは副CPU(3b)のいずれかが異
常状態になつた場合は、図示のCまたはDラインを介し
てOR回路(5)へそれぞれ第1の異常検出信号又は第2
の異常検出信号が伝達され、Eで示す演算渋滞信号が発
せられるようになつている。
When either the main CPU (3a) or the sub CPU (3b) is in an abnormal state, the first abnormality detection signal or the second abnormality detection signal or the second abnormality detection signal is sent to the OR circuit (5) via the illustrated C or D line, respectively.
The abnormality detection signal is transmitted, and the operation congestion signal indicated by E is issued.

なお、上記実施例では、プログラマブルコントローラに
よるシーケンス演算の場合について述べたが、他のシー
ケンス制御機器による演算の場合にも適用できることは
いうまでもない。
In the above embodiment, the case of the sequence calculation by the programmable controller is described, but it goes without saying that the present invention can also be applied to the case of the calculation by another sequence control device.

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

以上のように、本発明によれば、主CPU及び副CPUが相互
に相手方の異常を検索し合い、相手方の異常を検出する
とそれぞれ第1、第2の異常検出信号を出力し、主CPU
からシーケンス演算の終了のたびに入力されるリセット
信号によりリセットされるカウンタ回路により、所定の
入力されたクロック信号をカウントすると共にプログラ
マブルに予め主CPUにより設定された設定値により示さ
れる時間内にリセット信号が入力されないと第3の異常
検出信号を出力し、第1、第2及び第3の異常検出信号
の論理和を論理和回路によりとり、この論理和出力を演
算渋滞信号とするようにしたので、プログラマブルに的
確な演算渋滞検出ができると共に、演算渋滞検出におけ
る検出漏れが阻止でき、これを用いた装置の信頼性を向
上できるという効果を有する。
As described above, according to the present invention, the main CPU and the sub CPU mutually search for the other party's abnormality, and when the other party's abnormality is detected, the first and second abnormality detection signals are output, respectively.
A counter circuit that is reset by a reset signal that is input each time the sequence operation is completed counts a predetermined clock signal that is input and is programmable and resets within the time indicated by the preset value set by the main CPU in advance. When no signal is input, the third abnormality detection signal is output, the logical sum of the first, second and third abnormality detection signals is taken by the logical sum circuit, and this logical sum output is used as the operation congestion signal. Therefore, it is possible to perform programmable and accurate calculation traffic congestion detection, prevent detection omission in calculation traffic congestion detection, and improve the reliability of an apparatus using the detection traffic congestion.

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

第1図はこの発明の一実施例による演算渋滞監視を行う
ための装置の構成を示すブロツク図、第2図は従来の演
算渋滞監視装置の構成を示すブロツク図である。 図において、(1)はカウンタ回路、(2)はクロツ
ク、(3a)は主CPU、(3b)は副CPU、(4)はOR回路で
ある。 なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an apparatus for monitoring traffic congestion according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional traffic congestion monitoring apparatus. In the figure, (1) is a counter circuit, (2) is a clock, (3a) is a main CPU, (3b) is a sub CPU, and (4) is an OR circuit. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】シーケンス制御を行うと共に、相互に相手
方の異常を検索し合い、相手方の異常を検出したときそ
れぞれ第1、第2の異常検出信号を出力する主CPU及び
副CPUと、 シーケンス演算の終了のたびに前記主CPUから入力され
るリセット信号によりリセットされると共に入力された
所定のクロック信号をカウントし、プログラマブルに予
め前記主CPUにより設定された設定値により示される時
間内に前記リセット信号が入力されないと第3の異常検
出信号を出力するカウンタ回路と、 第1、第2及び第3の異常検出信号の論理和をとる論理
和回路とを備え、 前記論理和回路の出力を演算渋滞信号とすることを特徴
とする演算渋滞監視装置。
1. A main CPU and a sub CPU, which perform sequence control, mutually search for the other party's abnormality, and output first and second abnormality detection signals respectively when the other party's abnormality is detected, and a sequence operation. Each time the end of the above, it is reset by the reset signal input from the main CPU and counts a predetermined clock signal that is input, and the reset is performed within the time indicated by the preset value that is programmable in advance and set by the main CPU. A counter circuit that outputs a third abnormality detection signal when no signal is input, and a logical sum circuit that performs a logical sum of the first, second, and third abnormality detection signals are provided, and the output of the logical sum circuit is calculated. A traffic jam monitoring device characterized by using a traffic jam signal.
JP59206986A 1984-10-04 1984-10-04 Computational congestion monitoring device Expired - Lifetime JPH0731544B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59206986A JPH0731544B2 (en) 1984-10-04 1984-10-04 Computational congestion monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59206986A JPH0731544B2 (en) 1984-10-04 1984-10-04 Computational congestion monitoring device

Publications (2)

Publication Number Publication Date
JPS6188310A JPS6188310A (en) 1986-05-06
JPH0731544B2 true JPH0731544B2 (en) 1995-04-10

Family

ID=16532282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59206986A Expired - Lifetime JPH0731544B2 (en) 1984-10-04 1984-10-04 Computational congestion monitoring device

Country Status (1)

Country Link
JP (1) JPH0731544B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5741709A (en) * 1980-08-22 1982-03-09 Mitsubishi Electric Corp Operation monitor device
JPS5741704A (en) * 1980-08-26 1982-03-09 Toshiba Corp Sequence controller

Also Published As

Publication number Publication date
JPS6188310A (en) 1986-05-06

Similar Documents

Publication Publication Date Title
JPH0731544B2 (en) Computational congestion monitoring device
JPH0348720Y2 (en)
JP2858493B2 (en) Failure information storage method
JPS6339069A (en) Periodical interruption informing method for digital input/output controller
JPH02281343A (en) Cpu operation monitor system
JP2680473B2 (en) Watchdog mechanism
JPH01283641A (en) Interruption controller
JPH02271449A (en) Bus fault detecting system
JPH0498540A (en) Processor load monitoring system
JPH02166846A (en) Multiframe detecting circuit
JPS6051141B2 (en) Program runaway detection method
JPH0426738B2 (en)
JPH02268212A (en) Integration type angle detecting apparatus
JPH0325501A (en) Recovery device for plant abnormal
JPS5819097B2 (en) Computer system monitoring method
JP2725107B2 (en) Interrupt device
JPS6028986Y2 (en) data processing equipment
JPH0348718Y2 (en)
JPH01185742A (en) Program runaway detection circuit
JPS61295742A (en) Circuit processing system with start-stop synchronizing procedure
JPH01306901A (en) Abnormality detector
JPS63241622A (en) Data processor
JPS6171749A (en) Transmission controller
JPS61267144A (en) Program abnormality detecting system
JPS6379444A (en) Serial data receiver