JPS63292205A - Device for diagnosing deterioration in programmable controller - Google Patents

Device for diagnosing deterioration in programmable controller

Info

Publication number
JPS63292205A
JPS63292205A JP62127756A JP12775687A JPS63292205A JP S63292205 A JPS63292205 A JP S63292205A JP 62127756 A JP62127756 A JP 62127756A JP 12775687 A JP12775687 A JP 12775687A JP S63292205 A JPS63292205 A JP S63292205A
Authority
JP
Japan
Prior art keywords
input
output
mode
output pattern
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62127756A
Other languages
Japanese (ja)
Inventor
Makio Sakano
坂野 真紀雄
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP62127756A priority Critical patent/JPS63292205A/en
Priority to EP88108256A priority patent/EP0292914B1/en
Priority to DE88108256T priority patent/DE3883075T2/en
Priority to AT88108256T priority patent/ATE93072T1/en
Priority to US07/197,914 priority patent/US4942513A/en
Publication of JPS63292205A publication Critical patent/JPS63292205A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save the capacity of a memory and to perform fault diagnosis more precisely, by designating an input/output arbitrarily, and generating the teaching pattern of only the input/output possible to be related to a fault. CONSTITUTION:A mode setting means, an input/output designation control means, and a teaching operation control means which monitors the outputs pattern of a programmable controller, stores the input/output pattern after change, and deletes a deletion designated input/output pattern out of obtained input/output pattern strings from input/output pattern strings setting a mode at a teaching mode as a condition are provided. Also, a diagnosing operation control means which judges no arrival of each input/output pattern consisting of a stored input/output pattern string within a preset monitoring time as deterioration in an equipment targeted to be controlled and informs a discrepant part between the input/output pattern at that time and a taught input/output pattern as a deterioration correlative part setting the mode at a diagnosis mode as the condition is provided. In such a way, it is possible to generate the model pattern of the change of an input/output signal in the normal operation of a machine targeted to be controlled efficiently and automatically.

Description

【発明の詳細な説明】 (発明の分野) この発明は、プログラマブル・コントローラの故障診断
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a fault diagnosis device for a programmable controller.

(発明の概要) この発明では、入出力指定モード、教示モード。(Summary of the invention) In this invention, there is an input/output designation mode and a teaching mode.

診断モードを持ち、入出力指定モードにより故障診断の
対象I10のうち特に必要でおるものを指定または余り
重要でないもめを削除でき、教示モードによって自動的
に出力パターン変化時の入出力状態を記憶、圧縮する。
It has a diagnosis mode, and the input/output designation mode allows you to specify particularly necessary items of failure diagnosis target I10 or delete less important problems, and the teaching mode automatically memorizes the input/output status when the output pattern changes. Compress.

診断モードによって入出力パターンと教示パターンか異
なるときに巽常とする。
This usually occurs when the input/output pattern and teaching pattern differ depending on the diagnostic mode.

(従来技術とその問題点) 従来、プログラマブル・コン1−ローラによって制御さ
れる装置において故障が発生した場合、保全員はその状
態を目視観察したり、あるいはテスタ、シンクロスコー
プ等で検査することによって故障箇所を発見していた。
(Prior art and its problems) Conventionally, when a failure occurs in a device controlled by a programmable controller, maintenance personnel visually observe the condition or inspect it with a tester, synchroscope, etc. I had discovered the location of the failure.

しかしながら、これでは故障発見に時間かかかり、また
故障を確実に発見するためにはシーケンス回路及びその
機械を相当に熟知していなければならなかった。
However, this takes time to find faults, and in order to reliably find faults, it is necessary to be quite familiar with sequence circuits and their machines.

そのため、予めその機械の正常時における入出力信号変
化のモデルパターンを人手によって作成し、機械運転時
におってはモデルパターンと実際のパターンとの一致を
プログラマブル・コン1〜ローラ自体に組込まれた診断
プログラムで判断させていたが、これでは入出力変化モ
デルパターンを作成するのに時間がかかるし、当該シー
ケンス回路を熟知した人でなければ作成できず、また、
モデルパターン以外の所で故障が発生する可能性もめっ
た。
Therefore, a model pattern of input/output signal changes during normal operation of the machine is created manually in advance, and when the machine is in operation, a diagnostic built into the programmable controller 1 to the roller itself is used to check whether the model pattern matches the actual pattern. The decision was made by a program, but this takes time to create the input/output change model pattern, and only someone who is familiar with the sequence circuit in question can create it.
There is also a rare possibility that failures will occur outside of the model pattern.

さらに、既に完成されたユーザプログラム内に故障診断
プログラムを組込むことはなかなか面倒であった。
Furthermore, it is quite troublesome to incorporate a fault diagnosis program into an already completed user program.

(発明の目的) この発明は制御対象機械の正常時にあCプる入出力信号
変化のモデルパターンを効率よく自動的に作成すること
ができ、しかもユーザプログラム中に故障診断プログラ
ムを組込むことなく当該機械の故障診断を行なうことが
できるようにしたプログラマブル・コントローラの故障
診断装置を提供することにある。
(Object of the Invention) The present invention is capable of efficiently and automatically creating a model pattern of input/output signal changes that occur during normal operation of a machine to be controlled, and without incorporating a fault diagnosis program into the user program. It is an object of the present invention to provide a fault diagnosis device for a programmable controller that is capable of diagnosing a fault in a machine.

(発明の構成と効果) この発明は上記の目的を達成するために、動作モードを
、入出力指定モード、教示モードまたは診断モードの1
つに択一的に設定可能なモード設定手段と、 入出力指定モードへの設定を条件として、プログラマブ
ル・コントローラで特に診断したいか、またはしたくな
い入出力を登録または削除指定する入出力指定制御手段
と、 教示モードへの設定を条件として、プログラマブル・コ
ンl−ローラの出力パターンを監視し、その変化のたび
に変化後の入出力パターンを記憶させ、得られた入出力
パターン列のうち削除指定入出力を入出力パターン列よ
り削除する教示動作制御手段と、 診断モードへの設定を条件として、記憶された入出力パ
ターン列を構成する各入出力パターンがそれぞれ設定さ
れた監視時間内に到来するかを判定し、到来しないとき
には制御対象機器に劣化が生じたと判断してその時点の
入出力パターンと教示された入出力パターンとの不一致
箇所を劣化相関箇所として報知する診断動作制御手段と
、を具備することを特徴とするものである。
(Structure and Effects of the Invention) In order to achieve the above object, the present invention changes the operation mode to one of an input/output designation mode, a teaching mode, and a diagnostic mode.
mode setting means that can be set alternatively to input/output specification mode, and input/output specification control that specifies registration or deletion of inputs and outputs that are particularly desired to be diagnosed or not desired in the programmable controller, subject to setting to input/output specification mode. Under the condition that the programmable controller is set to teaching mode, the output pattern of the programmable controller is monitored, and each time the input/output pattern changes, the input/output pattern after the change is memorized, and the input/output pattern sequence obtained is deleted. A teaching operation control means for deleting a specified input/output from an input/output pattern sequence, and a teaching operation control means for deleting a specified input/output from an input/output pattern sequence, and a teaching operation control means for deleting a designated input/output from an input/output pattern sequence, and a teaching operation control means for deleting a designated input/output from an input/output pattern sequence, and each input/output pattern constituting the stored input/output pattern sequence arriving within a set monitoring time, subject to setting to a diagnostic mode. a diagnostic operation control means that determines whether the deterioration occurs, and if it does not arrive, determines that deterioration has occurred in the device to be controlled, and notifies a point of mismatch between the input/output pattern at that time and the taught input/output pattern as a deterioration correlation point; It is characterized by comprising the following.

このような構成によれば、入出力指定モードへの設定に
応答して、特に診断に必要な入出力または診断に不必要
な入出力を任意に選択できる。
According to such a configuration, in response to the setting to the input/output designation mode, it is possible to arbitrarily select input/outputs particularly necessary for diagnosis or input/outputs unnecessary for diagnosis.

また、教示モードへの設定に応答して、故障に関係し得
る入出力のみ教示パターンが自動的に作成される。
Further, in response to setting to the teaching mode, a teaching pattern is automatically created for only input/outputs that may be related to the failure.

また、診断モードへの設定(こ応答して、故障診断動作
が行なわれる。
Furthermore, in response to the setting to the diagnostic mode, a fault diagnosis operation is performed.

任意に入出力を指定し故障に関係し得る入出力のみの教
示パターンを自動的に作成することによって、不必要な
入出力パターンを記憶しないためメモリの大幅な節約が
でき、より正確な故障診断を行える。
By specifying any input/output and automatically creating a teaching pattern for only input/output that may be related to a failure, unnecessary input/output patterns are not stored, resulting in significant memory savings and more accurate failure diagnosis. can be done.

(実施例の説明) 第1図は本発明か適用されたビルディング・ブロック・
タイプのプログラマブル・コン1〜ローラ全体の構成を
示すブロック図である。
(Explanation of Examples) Figure 1 shows the building blocks to which the present invention is applied.
FIG. 2 is a block diagram showing the overall configuration of a type of programmable controller 1 to roller.

このシステムはシステムバス1に対してCPUユニット
2.複数台のI10ユニツ1〜3.訃・・および本発明
に係わる故障診断ユニット4を接続して構成される。な
あ、電源ユニツ]・その他は図示を省略している。
This system has a system bus 1 and a CPU unit 2. Multiple I10 units 1-3. It is configured by connecting the driver and the failure diagnosis unit 4 according to the present invention. By the way, the power supply unit] and others are omitted from illustration.

第2図に示す如く、故障診断ユニット4はマイクロプロ
セッサを主体として構成される演算部41、RAMを主
体として構成される記憶部42゜基準クロックやカウン
タ等を主体として構成される計時部43.故障相関箇所
に相当する入出力および故障発生を表示可能な表示部4
4およびモード切替、起動などの指令を発する機能を備
えた操作部45とから構成されている。また演算部41
はインタフェース46を介してシステムバスに接続可能
となっている。
As shown in FIG. 2, the fault diagnosis unit 4 includes a calculation section 41 mainly composed of a microprocessor, a storage section 42 mainly composed of RAM, a timekeeping section 43 mainly composed of a reference clock, a counter, etc. Display unit 4 capable of displaying input/output and failure occurrence corresponding to failure correlation locations
4, and an operation section 45 having the function of issuing commands such as mode switching and activation. Also, the calculation section 41
can be connected to the system bus via an interface 46.

第3図のゼネラルフローチャートに示されるように、故
障診断装置4の動作は操作部45のモード切替が入出力
指定モード(ステップ305)。
As shown in the general flowchart of FIG. 3, the operation of the failure diagnosis device 4 is such that the mode of the operation unit 45 is switched to the input/output designation mode (step 305).

教示モード(ステップ300)、または診断モード(ス
テップ301)のいずれに設定されているかによって、
入出力指定動作制御処理(ステップ306)、教示動作
制御処理(ステップ302)または診断動作制御処理(
ステップ303)のいずれかを択一的に実行する。
Depending on whether the setting is teaching mode (step 300) or diagnosis mode (step 301),
Input/output designation operation control processing (step 306), teaching operation control processing (step 302), or diagnostic operation control processing (
Either step 303) is alternatively executed.

また、操作部制御処理(ステップ304)として、種々
のパラメータ設定を行う処理も有している。なお、この
処理(ステップ304)は他の処理と並行して実行され
る。
Furthermore, the operation unit control process (step 304) includes a process for setting various parameters. Note that this process (step 304) is executed in parallel with other processes.

第4図に示されるように、入出力指定動作制御処理が開
始されると、入出力No、を登録するのか(ステップ4
00)の判定がなされ、登録指定でなければ入出力No
、を削除指定するのか(ステップ401)の判定がなさ
れ、削除指定されていたら指定l10NO,を削除指定
する(ステップ402)。
As shown in FIG. 4, when the input/output designation operation control process is started, the input/output number is registered (step 4).
00) is determined, and if the registration is not specified, the input/output No.
, is designated for deletion (step 401), and if deletion is designated, the designation 110NO, is designated for deletion (step 402).

他方、入出力登録指定のときは(ステップ400肖定)
、削除不能I/、0として指定l10NO。
On the other hand, when input/output registration is specified (Step 400 Portrait)
, designated as non-deletable I/, 0 l10NO.

を削除不能I10指定(ステップ403)L、、処理を
続行する。
I10 specifies that it cannot be deleted (step 403) L, and the process continues.

次に、教示動作制御処理について説明する。教示動作制
御処理には教示■動作と教示■動作とがめる。教示■動
作では、入出力パターン登録を行い、教示■動作では教
示工動作で登録された入出力パターンを圧縮する。
Next, the teaching motion control process will be explained. The teaching operation control process involves the teaching ■motion and the teaching ■motion. In the teaching ■ operation, input/output patterns are registered, and in the teaching ■ operation, the input/output patterns registered in the teaching operation are compressed.

第5図に示されるように、教示動作制御処理が開始され
ると、教示■動作中かの確認がなされ(ステップ500
)、動作中でなければ教示■動作中かの確認(ステップ
501)がなされる。
As shown in FIG. 5, when the teaching operation control process is started, it is confirmed whether the teaching operation is in progress (step 500).
), if it is not in operation, a confirmation is made as to whether it is in operation (step 501).

教示■動作中でなければ、教示開始の指示が必るかの確
認を行う(ステップ502)。開始指示がおれば、教示
動作中フラグをセット(ステップ503)し、工程カウ
ンタ5TEPをQにする(ステップ504)。その後、
現入出力パターンを第9図に示す如<5TEP=Oの記
憶エリアに登録しくステップ505)、5TEP値を更
新する(ステップ506)。
Teaching ■ If the operation is not in progress, it is confirmed whether an instruction to start teaching is required (step 502). If there is a start instruction, the teaching operation flag is set (step 503), and the process counter 5TEP is set to Q (step 504). after that,
The current input/output pattern is registered in the storage area <5TEP=O as shown in FIG. 9 (step 505), and the 5TEP value is updated (step 506).

次回の教示動作制御処理が呼出されると、教示工動作中
なので(ステップ500) 、終了指示があるかくステ
ップ507)を確認し、終了でなければ出力パターンに
変化があるか(ステップ508)を確認する。
When the next teaching operation control process is called, since the teaching operation is in progress (step 500), it is checked whether there is an instruction to end the teaching operation (step 507), and if it is not completed, it is checked whether there is a change in the output pattern (step 508). confirm.

変化必りなら変化俊の入出力パターンを登録しくステッ
プ505)、5TEPを更新し、処理を続行し、終了指
示がおる(ステップ507に定)まで先の処理を行う。
If a change is necessary, a changeable input/output pattern is registered (step 505), 5TEP is updated, processing is continued, and the previous processing is performed until an end instruction is received (defined in step 507).

出力パターン変化なしくステップ507否定)なら何も
処理を行わず次の処理に移る。
If there is no change in the output pattern (No in step 507), no processing is performed and the process moves to the next processing.

終了指示があったら(ステップ5070定)、教示工動
作中フラグをリセットしくステップ509)、教示■動
作(ステップ510)を行う。
If there is an instruction to end (step 5070), the teaching operation flag is reset (step 509), and the teaching operation (step 510) is performed.

従って、今仮に第8図に示されるような入力1〜3.出
力1〜3があった場合、ユーザプログラム1スキヤン毎
の入出力変化は第8図のようになり、出力変化のおった
時刻t、、t4+  t7+  t9において入出力パ
ターンが第9図のように登録される。
Therefore, if inputs 1 to 3 as shown in FIG. If there are outputs 1 to 3, the input/output changes for each scan of the user program will be as shown in Figure 8, and at times t, t4 + t7 + t9 when the output changes occur, the input/output pattern will be as shown in Figure 9. be registered.

第6図に示されるように教示扛動作が開始されると、ま
ず教示■動作中か(ステップ601)の確認か行われ、
動作中でないと教示■動作フラグがセットされ(ステッ
プ602>、工程カウンタ5TEPをOにする(ステッ
プ603)。
As shown in FIG. 6, when the teaching operation is started, first a confirmation is made as to whether the teaching operation is in progress (step 601).
If the process is not in operation, the teaching ① operation flag is set (step 602>), and the process counter 5TEP is set to O (step 603).

続いて、5TEP=Oの入出力パターンを基準入出力パ
ターンとしてセットしくステップ604)、比較結果デ
ータをリセットしくステップ605)、5TEP値を更
新して処理を続行する(ステップ606)。
Next, the input/output pattern of 5TEP=O is set as the reference input/output pattern (step 604), the comparison result data is reset (step 605), the 5TEP value is updated, and the process continues (step 606).

次に、教示■動作が呼出されると、教示■動作中でおる
から(ステップ601) 、5TEPfOが終了値より
大きくなっていないかを確認する(ステップ607)。
Next, when the teaching ■ operation is called, since the teaching ■ operation is in progress (step 601), it is checked whether 5TEPfO is greater than the end value (step 607).

終了値より大きくない場合には、該当5TEP値の入出
力パターンと単(1ワ入出力パターンどの排他的論理和
(FOR)がとられる。このとさ”、基準入出力パター
ンと変化のめった入出力だけが比較結果データ上でパ1
゛″となり、ざらに前回比較結果との論理和(OR)が
とられ、新たな比較結果データとなり(ステップ608
)、5TEP値を更新して(ステップ606)処理を続
りる。従って、最終的な比較結果データには、1回でも
変化のおったIloに対して“′1゛′が立つ。
If it is not larger than the end value, the exclusive OR (FOR) of the input/output pattern of the corresponding 5 TEP value and the single input/output pattern is taken. Only the output is par 1 on the comparison result data.
'', and is roughly logically summed (OR) with the previous comparison result to become new comparison result data (step 608
), the 5TEP value is updated (step 606), and the process continues. Therefore, in the final comparison result data, "'1" is set for Ilo that has changed even once.

一方、5TEP値が最終5TEP値+1になると(ステ
ップ607肯定)、削除指定I10を登録データより削
除しくステップ609)、比較結果データ上で“0″ 
(変化なし)となった登録データNo、を抽出する(ス
テップ6千〇)。
On the other hand, when the 5TEP value becomes the final 5TEP value + 1 (step 607 affirmative), the deletion specification I10 is deleted from the registered data (step 609), and "0" is displayed on the comparison result data.
(No change) The registered data No. is extracted (step 6000).

変化なしIloありのときには(ステップ611肯定)
、そのIloが削除不能かを判定する(ステップ612
)。削除不能I10でないとぎには、これを登録データ
より削除する(ステップ613)。削除不能I10のと
きには、ステップ610に戻る。
When there is no change Ilo (step 611 affirmative)
, determines whether the Ilo cannot be deleted (step 612
). If it is not I10 that cannot be deleted, it is deleted from the registered data (step 613). If deletion is impossible I10, the process returns to step 610.

変化なしIloがなかったときにはくステップ611否
定)、教示■動作中フラグをリセットしくステップ61
4)、処理を続行づる。
If there is no change Ilo, step 611 is negative), teaching ■ Reset the operating flag Step 61
4) Continue processing.

ここで、入出力指定動作で入力2を削除不能(10、入
力3を削除I10としていたとすると、教示動作■によ
って、第10図のように教示パターンが作成される。
Here, assuming that the input/output designation operation is such that input 2 cannot be deleted (10) and input 3 is set to be deleted I10, a teaching pattern as shown in FIG. 10 is created by teaching operation (2).

つまり、入力2は入力変化はないか入出力指定で指定さ
れていないため削除不可、入力3は入力変化はあるが入
出力指定で削除指定されているために削除される。
In other words, input 2 cannot be deleted because there is no input change or it is not designated by the input/output designation, and input 3 is deleted because it is designated for deletion by the input/output designation even though there is an input change.

手動にて、入出力の削除または指定登録を行う理由は、
以下の通りでおる。入出力中には機械の表示用入出力な
ど特に機械の動作上問題のないものや正常時OFF、 
異常時ONとなるような入出力などがある。
The reason for manually deleting input/output or specifying registration is as follows.
It is as follows. During input/output, input/output for display of the machine, etc. that does not cause any problem with the operation of the machine, or that is OFF during normal operation.
There are inputs and outputs that are turned ON when an error occurs.

入出力削除指定登録をしなかった場合、前者で・は特に
故障とは言えないような表示部の変化で異常としてしま
うし、後者では平常時入出力変化がないため、診断登録
I10から外されてしまい、異常時も異常と認識しない
という不具合が生じる。
If input/output deletion specification registration is not performed, in the former case, a change in the display unit that cannot be called a malfunction will be considered an abnormality, and in the latter case, since there is no input/output change during normal operation, it will be removed from the diagnostic registration I10. This causes the problem that even when an abnormality occurs, it is not recognized as abnormal.

これらを防止するために、特にモニタ必要なものを手動
にて登録し、モニタ不必要なものを診断対象I10から
外し正確な診断を行う。
In order to prevent these, things that especially need to be monitored are manually registered, and things that do not need to be monitored are removed from the diagnosis target I10 to perform accurate diagnosis.

第7図に示されるように、絆断動作制御処理が開始され
ると、診断中かを確認しくステップ701)、診断中で
ない場合(ステップ701否定)、開始指示があるまで
処理を続行する。
As shown in FIG. 7, when the bond cutting operation control process is started, it is checked whether a diagnosis is being made (step 701), and if the diagnosis is not being made (no in step 701), the process is continued until a start instruction is given.

開始指示があると(ステップ702肯定)、診断中フラ
グを立て(ステップ703)、5TEP。
If there is a start instruction (step 702 affirmative), a diagnostic flag is set (step 703) and 5TEP.

一致フラグをリセットしくステップ704.705>、
5TEP=Oの入出力パターンを基準データとしてセッ
トしくステップ706)、lタイマを起動しくステップ
707)、監視タイマのタイムアツプ前に現入出力パタ
ーンと基準パターンとが一致することを待つ(ステップ
708.709)。なお、鑑資時間としては、例えば1
4−1+、t7 t<、ts  i7に適当な係数を乗
じたものを使用すればよい。両パターンが一致したら(
ステップ708肖定)、一致フラグを立て(ステップ7
10)、異常出力OFF、5TEP更新して(ステップ
711.712>、以上の処理を繰り返す。
Steps 704 and 705 to reset the match flag,
Set the input/output pattern of 5TEP=O as reference data (step 706), start the l timer (step 707), and wait for the current input/output pattern to match the reference pattern before the monitoring timer times up (step 708). 709). In addition, as the investment appraisal time, for example, 1
4-1+, t7 t<, ts i7 multiplied by an appropriate coefficient may be used. If both patterns match (
Step 708 Portrait) and set a match flag (Step 7
10) Turn off the abnormal output, update 5TEP (steps 711 and 712>, and repeat the above processing).

一方この間に監視タイマがタイムアツプすると(ステッ
プ709肯定)、異常と診断し、現人出力パターンと基
準入出力パターンの不一致箇所を求めこれを故障相関箇
所とし、該当出力をONする(ステップ715)。これ
により故障相関箇所が視覚的に報知される。
On the other hand, if the monitoring timer times up during this time (step 709 affirmative), it is diagnosed as an abnormality, a mismatch point between the current person's output pattern and the reference input/output pattern is found, this is determined as a failure correlation point, and the corresponding output is turned on (step 715). As a result, the failure-related locations are visually notified.

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

第1図は本発明が適用されたプログラマブル・コントロ
ーラを示すブロック図、第2図は故障診断装置の詳細を
示すブロック図、第3図は故障診断装置のゼネラルフロ
ーチャート、第4図は入出力指定動作制御処理を示すフ
ローチャート、第5図は教示T動作制御処理を示すフロ
ーチャー1・、第6図は教示■動作制御処理を示すフロ
ーチャート、第7図は診断動作制御処理を示すフローヂ
ャ−ト、第8図は入出力パターンの遷移例を示す説明図
、第9図は教示工動作によって作成された基準入出力パ
ターンを示す説明図、第10図は教示■動作によって作
成された基準入出力パターンを示す説明図、第11図は
記憶部の全体の構成を示すメモリマツプである。 1・・・システムバス 2・・・CPUユニット 3・・・I10ユニツ[・ 4・・・故障診断ユニット 41・・・演算部 42・・・記憶部 43・・・計時部 44・・・表示部 45・・・操作部 46・・・インタフェース
Fig. 1 is a block diagram showing a programmable controller to which the present invention is applied, Fig. 2 is a block diagram showing details of the fault diagnosis device, Fig. 3 is a general flowchart of the fault diagnosis device, and Fig. 4 is input/output specification. Flowchart showing the operation control process, FIG. 5 is a flowchart 1 showing the teaching T operation control process, FIG. 6 is a flowchart showing the teaching ■ operation control process, FIG. 7 is a flowchart showing the diagnostic operation control process, Fig. 8 is an explanatory diagram showing an example of input/output pattern transition, Fig. 9 is an explanatory diagram showing a reference input/output pattern created by teaching operation, and Fig. 10 is an explanatory diagram showing a reference input/output pattern created by teaching operation. FIG. 11 is a memory map showing the overall configuration of the storage section. 1... System bus 2... CPU unit 3... I10 unit [・ 4... Trouble diagnosis unit 41... Arithmetic unit 42... Storage unit 43... Time measurement unit 44... Display Section 45...Operation section 46...Interface

Claims (1)

【特許請求の範囲】[Claims] (1)動作モードを、入出力指定モード、教示モードま
たは診断モードの1つに択一的に設定可能なモード設定
手段と、 入出力指定モードへの設定を条件として、プログラマブ
ル・コントローラで特に診断したいか、またはしたくな
い入出力を登録または削除指定する入出力指定制御手段
と、 教示モードへの設定を条件として、プログラマブル・コ
ントローラの出力パターンを監視し、その変化のたびに
変化後の入出力パターンを記憶させ、得られた入出力パ
ターン列のうち削除指定入出力を入出力パターン列より
削除する教示動作制御手段と、 診断モードへの設定を条件として、記憶された入出力パ
ターン列を構成する各入出力パターンがそれぞれ設定さ
れた監視時間内に到来するかを判定し、到来しないとき
には制御対象機器に劣化が生じたと判断してその時点の
入出力パターンと教示された入出力パターンとの不一致
箇所を劣化相関箇所として報知する診断動作制御手段と
、を具備することを特徴とするプログラマブル・コント
ローラの故障診断装置。
(1) A mode setting means that can selectively set the operation mode to one of input/output specification mode, teaching mode, or diagnostic mode, and a programmable controller that can be used especially for diagnosis, provided that the input/output specification mode is set. An input/output designation control means for registering or deleting inputs and outputs that are desired or undesired, and a programmable controller that monitors the output pattern of the programmable controller under the condition that it is set to teach mode, and updates the input and output patterns after each change. A teaching operation control means for storing an output pattern and deleting an input/output designated for deletion from the input/output pattern sequence obtained from the input/output pattern sequence; It is determined whether each constituent input/output pattern arrives within the set monitoring time, and if it does not arrive, it is determined that the device to be controlled has deteriorated, and the input/output pattern at that time and the taught input/output pattern are A fault diagnosis device for a programmable controller, comprising: diagnostic operation control means for notifying a mismatch point as a deterioration correlation point.
JP62127756A 1987-05-25 1987-05-25 Device for diagnosing deterioration in programmable controller Pending JPS63292205A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP62127756A JPS63292205A (en) 1987-05-25 1987-05-25 Device for diagnosing deterioration in programmable controller
EP88108256A EP0292914B1 (en) 1987-05-25 1988-05-24 Trouble diagnosis apparatus for controlled device
DE88108256T DE3883075T2 (en) 1987-05-25 1988-05-24 Fault diagnostic device for controlled equipment.
AT88108256T ATE93072T1 (en) 1987-05-25 1988-05-24 CONTROLLED EQUIPMENT TROUBLESHOOTING DEVICE.
US07/197,914 US4942513A (en) 1987-05-25 1988-05-24 Trouble diagnosis apparatus for controlled device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127756A JPS63292205A (en) 1987-05-25 1987-05-25 Device for diagnosing deterioration in programmable controller

Publications (1)

Publication Number Publication Date
JPS63292205A true JPS63292205A (en) 1988-11-29

Family

ID=14967911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127756A Pending JPS63292205A (en) 1987-05-25 1987-05-25 Device for diagnosing deterioration in programmable controller

Country Status (1)

Country Link
JP (1) JPS63292205A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218523A (en) * 1983-05-27 1984-12-08 Nissan Motor Co Ltd Fault diagnosing device for sequence machine
JPS6249518A (en) * 1985-08-29 1987-03-04 Omron Tateisi Electronics Co Trouble diagnosis unit for programmable controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218523A (en) * 1983-05-27 1984-12-08 Nissan Motor Co Ltd Fault diagnosing device for sequence machine
JPS6249518A (en) * 1985-08-29 1987-03-04 Omron Tateisi Electronics Co Trouble diagnosis unit for programmable controller

Similar Documents

Publication Publication Date Title
JPS63292205A (en) Device for diagnosing deterioration in programmable controller
JPS63257802A (en) Device for diagnosing failure of external apparatus for programmable controller
JP2701842B2 (en) Fault diagnosis device for programmable controller
JPH0296205A (en) Display device for restoring method of machine abnormality
JP2550580B2 (en) Programmable controller failure diagnosis device
JPS6249518A (en) Trouble diagnosis unit for programmable controller
JPH08185208A (en) Plant controller
JPS58208532A (en) Self-diagnosing device for air conditioner
JPH07271411A (en) Fault diagnostic device for programmable controller
JP2504408B2 (en) Power plant monitoring device
JPS63108447A (en) Input output equipment supervising device
JPH0381804A (en) Maintenance aid system for machine tool
JPH02281301A (en) Trouble diagnostic device
JP3309533B2 (en) Fault diagnosis device
JPH0654447B2 (en) Failure prediction device
JPH08286734A (en) Programmable display device
JP3452708B2 (en) Programmable controller
JP2001242926A (en) Control device for operation of apparatus and method of control
JPS59205613A (en) Sequence monitor device
JPH01310402A (en) Plant operating device
JPH07281734A (en) Monitor and controlling device
JP3198703B2 (en) Blink method in distribution system monitoring and control system
JPH07230314A (en) Plant fault monitoring/treating device
JP2001076269A (en) Operation managing device and operation managing method
JPS6022213A (en) Monitor device for plant operation