[go: up one dir, main page]

JP2001067122A - Method for diagnosing ladder program and equipment diagnostic device - Google Patents

Method for diagnosing ladder program and equipment diagnostic device

Info

Publication number
JP2001067122A
JP2001067122A JP23905399A JP23905399A JP2001067122A JP 2001067122 A JP2001067122 A JP 2001067122A JP 23905399 A JP23905399 A JP 23905399A JP 23905399 A JP23905399 A JP 23905399A JP 2001067122 A JP2001067122 A JP 2001067122A
Authority
JP
Japan
Prior art keywords
ladder program
cause
contact
equipment
tracking
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
JP23905399A
Other languages
Japanese (ja)
Inventor
Yasuyuki Kishi
靖之 岸
Kosaku Kitada
耕作 北田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP23905399A priority Critical patent/JP2001067122A/en
Publication of JP2001067122A publication Critical patent/JP2001067122A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a ladder program diagnostic method and an equipment diagnostic device capable of easily releasing a trouble in equipment to be controlled at its sequence and shortening release time. SOLUTION: The equipment diagnostic device 3 is constituted of a detection means 4, a cause tracing means 5, a display means 6 consisting of a monitor, and a storage means 7. A sequencer 2 for controlling equipment transmits/ receives controlling output and input signals Y, X to/from equipment 1 such as a robot, and when abnormality occurs in the equipment 1, the sequencer 2 sends a signal indicating the occurrence of abnormality to the device 3. The detection means 4 in the device 3 detects the occurrence of abnormality in the equipment 1 from the detection signal indicating the occurrence of abnormality and the tracing means 5 uses the detection signal inputted from the means 4 as a trigger and executes the tracing of a cause and the diagnosis of a trouble point from a rudder program stored in the storage means 7 and contact information indicating the operation state of the program on the basis of a cause tracing program (algorithm).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラに用いるラダープログラムの診断方法及び設
備診断装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for diagnosing a ladder program used in a programmable controller and an equipment diagnosis apparatus.

【0002】[0002]

【従来の技術】この種の診断方法及び装置の従来例とし
ては、特開平10−97318号に開示されたものがあ
る。
2. Description of the Related Art A conventional example of this kind of diagnostic method and apparatus is disclosed in Japanese Patent Application Laid-Open No. 10-97318.

【0003】この従来例では、シーケンサがプログラム
を実行するたびにシーケンス要素の状態変化を時系列的
に読み取り記録し、特定されたシーケンス要素の動作に
対し、一定の規則性のある他の要素を抽出し、それらの
変化情報をまとめて診断用の基準パターンを自動的に作
成するようになっている。
In this conventional example, each time a sequencer executes a program, the state change of a sequence element is read and recorded in a time series, and another element having a certain regularity with respect to the operation of the specified sequence element. The information is extracted and the change information is put together to automatically create a diagnostic reference pattern.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記の従来
例では、シーケンス要素の状態変化を時系列的に記録し
て、そこから基準を作成するために、正確な診断基準は
生成できず、信頼性の低いことが問題であった。
By the way, in the above-mentioned conventional example, since a state change of a sequence element is recorded in a time series and a reference is created therefrom, an accurate diagnostic reference cannot be generated. The problem was that it was poor.

【0005】本発明は、上記の点に鑑みて為されたもの
で、その目的とするところは、信頼性の高い診断が行
え、シーケンサの制御対象の設備機器のトラブル復旧が
容易にで、復旧時間の短縮が図れるラダープログラム診
断方法及び設備診断装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its object to perform highly reliable diagnosis and to easily recover from trouble of equipment to be controlled by a sequencer. It is an object of the present invention to provide a ladder program diagnosis method and a facility diagnosis device capable of reducing time.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、請求項1の発明では、シーケンサによるシーケンス
制御で動作する設備機器を対象とし、該設備機器が運転
中にある異常が発生したことを検知手段が検知すると、
該検知手段から出力される検知信号をトリガとして異常
の原因を、シーケンサのラダープログラムと接点情報と
に基づいて原因追跡手段で追跡・診断し、該診断結果と
して異常の発生原因を表示手段で表示させるとともに前
記記憶手段に記憶させることを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, an equipment which operates by sequence control by a sequencer is targeted, and an abnormality occurs while the equipment is operating. Is detected by the detection means,
Using the detection signal output from the detection means as a trigger, the cause of the abnormality is tracked and diagnosed by the cause tracking means based on the ladder program of the sequencer and the contact information, and the cause of the abnormality is displayed on the display means as the diagnosis result. And storing in the storage means.

【0007】請求項2の発明では、請求項1の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡する過程において、前記検知信号をトリガとして
前記ラダープログラムの出力命令から追跡を開始し、更
に内部リレーがある場合はその内部リレーコイルを追跡
する処理を繰り返すことを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, in the step of tracking the contact point of the cause from the ladder program and the contact information by using the detection signal as a trigger, the cause tracking means transmits the detection signal. Tracking is started from the output command of the ladder program as a trigger, and if there is an internal relay, the process of tracking the internal relay coil is repeated.

【0008】請求項3の発明では、請求項2の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡する過程において、前記ラダープログラムがオア
分岐している場合、すべての連鎖動作を分岐させ追跡す
ることを特徴とする。
According to a third aspect of the present invention, in the second aspect of the present invention, in the step of tracking the point of contact from the ladder program and the contact information using the detection signal as a trigger, the ladder program In the case of OR branching, all chained operations are branched and traced.

【0009】請求項4の発明では、請求項2の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡する過程において、前記ラダープログラムがアン
ド接続してあって、不具合接点が複数あった場合、すべ
ての連鎖動作を追跡することを特徴とする。
According to a fourth aspect of the present invention, in the second aspect of the present invention, in the step of tracking the point of contact from the ladder program and the contact information using the detection signal as a trigger, the ladder program When AND connection is made and there are a plurality of defective contacts, all chain operations are tracked.

【0010】請求項5の発明では、請求項2の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡する過程において、不具合接点の判定にあたり、
入力信号の立ち上がり命令を考慮して判定を行うことを
特徴とする。
According to a fifth aspect of the present invention, in the second aspect of the present invention, the cause tracking means determines a faulty contact in the process of tracking a cause contact from the ladder program and the contact information by using the detection signal as a trigger. Hits the,
The determination is performed in consideration of a rising command of the input signal.

【0011】請求項6の発明では、請求項2の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡する過程において、不具合接点の判定にあたり、
a接点のオフの論理と、b接点のオンの論理とを考慮し
て判定することを特徴とする。
According to a sixth aspect of the present invention, in the second aspect of the present invention, the cause tracking means determines a faulty contact in the process of tracking the cause contact from the ladder program and the contact information by using the detection signal as a trigger. Hits the,
The determination is made in consideration of the logic of turning off the contact a and the logic of turning on the contact b.

【0012】請求項7の発明では、請求項1の発明にお
いて、前記原因追跡手段で異常原因を追跡する際の範囲
を限定して該限定された範囲において、原因を追跡する
ことを特徴とする。
According to a seventh aspect of the present invention, in the first aspect of the present invention, the cause tracking means limits the range when the cause of the abnormality is tracked, and traces the cause within the limited range. .

【0013】請求項8の発明では、請求項1の発明にお
いて、前記原因追跡手段が、前記検知信号をトリガとし
て前記ラダープログラムと前記接点情報から原因の接点
を追跡した後に前記表示手段で不具合接点を表示する過
程において、全ての不具合接点の情報を外部出力するこ
とを特徴とする。
According to an eighth aspect of the present invention, in the first aspect of the present invention, the cause tracking means traces a cause contact from the ladder program and the contact information by using the detection signal as a trigger, and then displays the faulty contact on the display means. In the process of displaying, information on all the faulty contacts is externally output.

【0014】請求項9の発明では、請求項8の発明にお
いて、不具合接点と、その異常の原因とを診断する際に
用いるルールをIF〜THENルールとし、該ルールに
よりルールベースを構築することを特徴とする。
According to a ninth aspect of the present invention, in the invention of the eighth aspect, a rule used for diagnosing a faulty contact point and a cause of the abnormality is an IF to THEN rule, and a rule base is constructed by the rule. Features.

【0015】請求項10の発明では、請求項8の発明に
おいて、不具合接点に対応する不良個所をビジュアル化
して前記表示手段で表示することを特徴とする。
According to a tenth aspect of the present invention, in the invention of the eighth aspect, a defective portion corresponding to a defective contact is visualized and displayed on the display means.

【0016】請求項11の発明では、請求項8の発明に
おいて、検出した結果とルールベースに予め定めてある
診断ルールとに基づいて診断結果を生成し、生成した診
断結果が複数ある場合、優先順位を付けて出力すること
を特徴とする。
According to an eleventh aspect of the present invention, in the invention of the eighth aspect, a diagnostic result is generated based on the detected result and a diagnostic rule predetermined in a rule base. It is characterized by ranking and outputting.

【0017】請求項12の発明では、請求項1の発明に
おいて、前記設備機器がシリンダであって、シリンダ動
作のオーバータイムをシリンダの動作終了時に動作する
接点が動作しないことから判断する手段を検知手段とし
て用いたことを特徴とする。
According to a twelfth aspect of the present invention, in the first aspect of the present invention, the equipment is a cylinder, and means for judging overtime of the cylinder operation from the fact that a contact that operates at the end of the cylinder operation does not operate is detected. It is characterized in that it is used as a means.

【0018】請求項13の発明では、請求項1の発明に
おいて、前記シーケンサの前記ラダープログラムと前記
接点情報からリアルタイムで異常の原因を診断する際
に、前記ラダープログラムを命令リストに展開すること
を特徴する。
According to a thirteenth aspect of the present invention, in the first aspect of the present invention, when diagnosing a cause of an abnormality in real time from the ladder program of the sequencer and the contact information, the ladder program is expanded into an instruction list. Characterize.

【0019】請求項14の発明では、請求項13の発明
では、接点のオン状態若しくはオフ状態を2値の論理値
に置き換え、前記ラダープログラムを命令リストに展開
したときに、該命令リストに接点の状態に対応して前記
論理値を付加して成ることを特徴とする。
According to a fourteenth aspect of the present invention, in the thirteenth aspect, the on state or the off state of the contact is replaced with a binary logical value, and when the ladder program is expanded into an instruction list, the contact list is added to the instruction list. Wherein the logical value is added in accordance with the state of (1).

【0020】請求項15の発明では、請求項13の発明
では、接点のオン状態若しくはオフ状態を2値の論理値
に置き換え、ラダープログラムを命令リストに展開した
ときに、該命令リストに接点の状態に対応して前記論理
値を付加し、該付加した状態で、ラダープログラムを実
行順序とは逆の実行順序の命令リストに展開することを
特徴とする。
According to a fifteenth aspect, in the thirteenth aspect, the on state or the off state of the contact is replaced with a binary logical value, and when the ladder program is expanded into an instruction list, the contact list is stored in the instruction list. The logical value is added according to a state, and the ladder program is developed into an instruction list in an execution order opposite to the execution order in the added state.

【0021】請求項16の発明では、請求項15の発明
において、前記逆の実行順序の命令リストとして、出力
命令から論理演算開始命令までを一つの単位として、単
位毎の命令リストを展開することを特徴とする。
According to a sixteenth aspect of the present invention, in the invention according to the fifteenth aspect, the instruction list in the reverse execution order is expanded from an output instruction to a logical operation start instruction as one unit. It is characterized by.

【0022】請求項17の発明では、請求項16の発明
において、前記の一つの単位を設備機器のブロック毎に
グループ化して、原因追跡の原因の単位を限定したこと
を特徴とする。
According to a seventeenth aspect of the present invention, in the sixteenth aspect, the one unit is grouped for each block of the equipment to limit the cause unit of cause tracking.

【0023】請求項18の発明では、請求項17の発明
において、前記グループを階層構造としたことを特徴と
する。
According to an eighteenth aspect of the present invention, in the invention of the seventeenth aspect, the groups have a hierarchical structure.

【0024】請求項19の発明では、請求項1の発明に
おいて、前記検知手段は、入出力信号をリアルタイムで
監視して、特定の出力信号が出力されなかったことを検
知したときに検知信号をトリガ信号として原因追跡手段
に与えることを特徴とする。
According to a nineteenth aspect, in the first aspect, the detecting means monitors an input / output signal in real time and, when detecting that a specific output signal has not been output, detects the detection signal. The trigger signal is provided to the cause tracking means.

【0025】請求項20の発明では、請求項1の発明に
おいて、前記検知手段は、設備機器が異常停止したこと
を検知したときに検知信号をトリガ信号として原因追跡
手段に与えることを特徴とする。
According to a twentieth aspect of the present invention, in the first aspect of the present invention, the detecting means provides a detection signal as a trigger signal to the cause tracking means when detecting that the equipment has stopped abnormally. .

【0026】請求項21の発明では、請求項1の発明に
おいて、前記検知手段は、入出力信号をリアルタイムで
監視して、特定の出力信号が予め定めた基準パターンか
らずれたことを検知したときに検知信号をトリガ信号と
して原因追跡手段に与えることを特徴とする。
According to a twenty-first aspect of the present invention, in the first aspect of the present invention, the detecting means monitors an input / output signal in real time and detects that a specific output signal has deviated from a predetermined reference pattern. And providing a detection signal as a trigger signal to the cause tracking means.

【0027】請求項22の発明では、請求項1の発明に
おいて、原因追跡の実行前にリアルタイムに診断する対
象の設備機器のブロックや診断内容をテスト条件として
設定することを特徴とする。
According to a twenty-second aspect of the present invention, in the first aspect of the present invention, the block of the equipment to be diagnosed in real time and the contents of the diagnosis are set as test conditions before executing the cause tracking.

【0028】請求項23の発明では、請求項1の発明に
おいて、設備機器の制御中に異常が検知されたときに、
原因追跡手段に対し対してトリガをかけ診断を実行する
際の内容を1つ若しくは複数選択して設定することを特
徴とする。
According to a twenty-third aspect, in the first aspect, when an abnormality is detected during control of the equipment,
It is characterized in that one or a plurality of contents at the time of executing a diagnosis by triggering the cause tracking means are selected and set.

【0029】請求項24の発明では、シーケンサによる
シーケンス制御で動作する設備機器を対象とし、該設備
機器が運転中に異常が発生したときこれを検知する検知
手段と、該検知手段の検知信号をトリガとして異常の原
因をラダープログラムと接点情報とにより追跡する原因
追跡手段と、該原因追跡手段で追跡診断された異常の発
生原因及びラダープログラムを記憶する記憶手段と、異
常の発生原因を表示する表示手段とから成ることを特徴
とする。
The invention of claim 24 is directed to equipment which operates under sequence control by a sequencer, a detecting means for detecting when an abnormality occurs during the operation of the equipment, and a detecting signal of the detecting means. A cause tracking means for tracing the cause of the abnormality as a trigger by using the ladder program and the contact information, a storage means for storing the cause of the abnormality and a ladder program which are tracked and diagnosed by the cause tracking means, and a display of the cause of the abnormality And display means.

【0030】請求項25の発明では、請求項24の発明
において、ラダープログラム推論のための不具合接点診
断方法、不具合接点特性方法及び原因追跡方法のアルゴ
リズムと、診断のためのルールからなる知識ベースとを
実装し、前記原因追跡手段は、前記検知手段の検知信号
をトリガとして前記知識ベールのルールと、前記アルゴ
リズムとに基づいて、ラダープログラムと接点情報とに
より原因追跡と診断を行うことを特徴とする。
According to a twenty-fifth aspect, in the twenty-fourth aspect, an algorithm of a faulty contact diagnosis method, a faulty contact characteristic method and a cause tracking method for inferring a ladder program, and a knowledge base comprising rules for diagnosis are provided. The cause tracking means, based on the rule of the knowledge veil and the algorithm based on the detection signal of the detection means as a trigger, to perform cause tracking and diagnosis by a ladder program and contact information, I do.

【0031】請求項26の発明では、請求項25の発明
において、前記アルゴリズム及び知識ベースをシーケン
サに実装するとともに、シーケンサの演算処理手段によ
り、前記原因追跡手段、検知手段を構成して成ることを
特徴とする。
According to a twenty-sixth aspect, in the twenty-sixth aspect, the algorithm and the knowledge base are mounted on a sequencer, and the cause tracking means and the detection means are constituted by the arithmetic processing means of the sequencer. Features.

【0032】[0032]

【発明の実施の形態】以下本発明を実施形態により説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to embodiments.

【0033】(実施形態1)図2は本発明の診断方法を
用いた診断装置からなるラダープログラム診断システム
の基本構成を示しており、このシステムは設備機器1
と、設備制御用のシーケンサ(プログラマブルコントロ
ーラ)2と、コンピュータより構成される設備診断装置
3とからなる。設備診断装置3は、図1に示すように検
知手段4と、原因追跡手段5と、モニタからなる表示手
段6と、記憶手段7とから構成される。
(Embodiment 1) FIG. 2 shows a basic configuration of a ladder program diagnosis system comprising a diagnosis device using the diagnosis method of the present invention.
, A sequencer (programmable controller) 2 for equipment control, and an equipment diagnostic device 3 composed of a computer. As shown in FIG. 1, the equipment diagnosis apparatus 3 includes a detection unit 4, a cause tracking unit 5, a display unit 6 including a monitor, and a storage unit 7.

【0034】設備制御用のシーケンサ2はロボット等の
設備機器1との間で制御用の出力信号Yと入力信号Xと
の授受を行うようになっており、設備機器1において異
常が発生した時に設備制御用シーケンサ2は異常発生を
示す信号を設備診断装置3に与えるようになっている。
The equipment control sequencer 2 exchanges a control output signal Y and an input signal X with the equipment 1 such as a robot. The equipment control sequencer 2 supplies a signal indicating occurrence of an abnormality to the equipment diagnosis device 3.

【0035】設備診断装置3の検知手段4は異常発生を
示す信号から設備機器1に異常が発生したことを検知す
る手段であり、原因追跡手段5は、検知手段4の検知信
号をトリガとして記憶手段7に格納されたシーケンサ2
のラダープログラムと、接点の動作状態を示す接点情報
とから原因追跡プログラム(アルゴリズム)に基づいて
原因追跡と不具合接点の診断を行うもので、診断により
得られた発生原因を記憶手段7に格納するとともに診断
結果を表示手段6で表示させる機能を備えており、図3
に示すフローチャートにより一連の処理動作を行うよう
ようになっている。
The detecting means 4 of the equipment diagnosing device 3 is means for detecting the occurrence of an abnormality in the equipment 1 from the signal indicating the occurrence of the abnormality, and the cause tracking means 5 stores the detection signal of the detecting means 4 as a trigger. Sequencer 2 stored in means 7
The ladder program and the contact information indicating the operating state of the contact are used to track the cause and diagnose the faulty contact based on a cause tracking program (algorithm). The occurrence cause obtained by the diagnosis is stored in the storage means 7. 3 and a function of displaying a diagnosis result on the display means 6.
A series of processing operations are performed according to the flowchart shown in FIG.

【0036】上記記憶手段7に格納されるラダープログ
ラムは、シーケンサ2に支援装置等により入力されたラ
ダー図を所定の中間言語にコンパイルした状態としたも
のであり、例えば図4(a)に示すラダー図により記述
されたラダープログラムを図4(b)に示す命令リスト
(IL:INSTRUCTION LIST)という表
現形式で記憶する。勿論類似のニーモック表現で記憶し
ておいても良い。なお図4(b)の左端の数字はリスト
の行番号を、中央のLD、AND、…OUTは命令を、
右端は接点などを示す要素番号を示す。このような命令
リストに展開することでリアルタイムで不具合の原因追
跡及び診断を可能としている。
The ladder program stored in the storage means 7 is obtained by compiling a ladder diagram input to the sequencer 2 by a support device or the like into a predetermined intermediate language, for example, as shown in FIG. The ladder program described by the ladder diagram is stored in an instruction format (IL: INSTRUCTION LIST) shown in FIG. 4B. Of course, it may be stored in a similar mnemonic expression. In FIG. 4B, the numbers at the left end are the line numbers of the list, the LD, AND,.
The right end shows an element number indicating a contact point or the like. By expanding to such an instruction list, it is possible to track and diagnose the cause of the fault in real time.

【0037】ここで設備診断装置3にはキーボード等か
ら予めテスト条件として、設備機器1に対する異常追跡
を行ってリアルタイムに診断を行う対象をブロック化さ
れた設備機器1のラダープログラム(シーケンスプログ
ラム)の全てとするのか特定のブロックのラダープログ
ラム(シーケンスプログラム)とするのかを予め設定で
きるとともにその診断内容を設定できるようようになっ
ている。
Here, the equipment diagnosing device 3 executes a ladder program (sequence program) of the equipment 1 in which a target to be diagnosed in real time by performing abnormality tracking on the equipment 1 in real time as a test condition from a keyboard or the like. Whether to use all or a ladder program (sequence program) for a specific block can be set in advance, and the diagnostic content can be set.

【0038】つまり、原因追跡する過程において、異常
発生の検知信号から異常の発生原因を追跡する範囲を診
断ブロックとして限定し、該限定範囲内で原因を追跡す
ることで原因の追跡経路を簡素化するとともに、原因追
跡の効率化を図ることができるようになっている。図5
はブロックBL1,BL2、BL3というように設備機
器1を複数のブロックに分割した状態を示しており、夫
々に対応するラダープログラムを予め分割して記憶手段
7に格納しておくのである。図6(a)はブロックBL
1のラダープログラムのラダー図を、図6(b)はブロ
ックBL2のラダープログラムのラダー図を夫々示す。
That is, in the process of tracing the cause, the range for tracing the cause of the abnormality from the detection signal of the occurrence of the abnormality is limited as a diagnostic block, and the cause is traced within the limited range to simplify the path for tracing the cause. In addition, the efficiency of the cause tracking can be improved. FIG.
Indicates a state in which the equipment 1 is divided into a plurality of blocks, such as blocks BL1, BL2, and BL3. The ladder program corresponding to each is divided in advance and stored in the storage means 7. FIG. 6A shows the block BL.
6 is a ladder diagram of the ladder program of block BL2, and FIG. 6B is a ladder diagram of the ladder program of block BL2.

【0039】従って、異常発生の検知があると、原因追
跡手段5は異常発生があったブロックに対応するラダー
プログラムを記憶手段7から読み出して原因追跡を行う
のであるが、その際上記のテスト条件の設定により原因
追跡を行う対象を全てのブロックとするのか或いは特定
のブロックとするのかを判断し、またその診断内容を判
断する。
Therefore, when the occurrence of an abnormality is detected, the cause tracking means 5 reads the ladder program corresponding to the block in which the abnormality has occurred from the storage means 7 and tracks the cause. It is determined whether the target for which the cause is to be tracked is all blocks or a specific block, and the diagnostic content is determined.

【0040】つまりこのようにすることで、ラダープロ
グラムの原因追跡の範囲が限定され、追跡経路を簡素化
することができ、原因追跡(診断)の効率化が図れる。
That is, by doing so, the range of tracing the cause of the ladder program is limited, the tracing path can be simplified, and the efficiency of the cause tracing (diagnosis) can be improved.

【0041】まず原因追跡開始のトリガとなる設備機器
1の異常検知の方法としては、次のような方法〜を
採用している。
First, the following methods (1) to (4) are employed as a method for detecting an abnormality of the equipment 1 which triggers the start of cause tracking.

【0042】方法 この方法はシーケンサ2において、入力信号X、出力信
号Yをリアルタイムで監視し、ある特定の出力信号Yが
出力されたかった場合、該出力信号Yが無かったことで
異常発生と検知して検知信号を原因追跡手段5へ送るの
である。
Method In this method, the input signal X and the output signal Y are monitored in real time in the sequencer 2, and when a specific output signal Y is desired to be output, the occurrence of an abnormality is detected because the output signal Y is absent. Then, the detection signal is sent to the cause tracking means 5.

【0043】この場合、例えば、正常時には、図7に示
すように出力信号Y10〜Y13が出力されるところ、
例えば図8に示すように特定の出力信号、この場合Y1
3が或時間出力されなかったことが検知されると、この
検知をトリガとして原因追跡手段5は原因追跡・診断を
開始する。
In this case, for example, in a normal state, output signals Y10 to Y13 are output as shown in FIG.
For example, as shown in FIG. 8, a specific output signal, in this case Y1
When it is detected that the signal 3 has not been output for a certain period of time, the cause tracking means 5 starts the cause tracking / diagnosis using this detection as a trigger.

【0044】方法 この方法はシーケンサ2において、設備機器1が異常停
止して異常停止モードに入ったことを示す入力信号Xが
入力された場合異常発生と検知して、検知信号を検知手
段4を通じて原因追跡手段5へ送り、原因追跡手段5は
この検知をトリガとして原因追跡・診断を開始する。
Method In this method, when the sequencer 2 receives an input signal X indicating that the equipment 1 has stopped abnormally and has entered the abnormal stop mode, it is detected that an abnormality has occurred, and the detection signal is transmitted through the detection means 4. The cause is sent to the cause tracking means 5, and the cause tracking means 5 starts the cause tracking / diagnosis triggered by this detection.

【0045】方法 この方法は、方法と同様に入力信号X、出力信号Yを
リアルタイムで監視して、特定の出力信号Yが出力され
なかった場合を異常としたが、本方法では図9に示すよ
うなタイミングで出力信号Y10〜Y13が出力されて
いる正常時に対して、例えば出力信号Y11を基準信号
とした場合、例えば図10に示すように出力信号Y13
がずれると、診断が必要な場合と判断されて異常の検知
信号が原因追跡手段5へ送るのである。この出力信号Y
がずれる場合、設備機器1は正常に運転しているが、診
断を必要とする場合が多いので、上記のように異常発生
として検知するのである。本方法の場合、タイムチャー
トから基準信号に対する出力信号Yのずれを検知するツ
ールはシーケンサ2のユニットとして存在する。
Method In this method, the input signal X and the output signal Y are monitored in real time as in the method, and the case where a specific output signal Y is not output is regarded as abnormal. When the output signal Y11 is used as a reference signal with respect to the normal state in which the output signals Y10 to Y13 are output at such timing, for example, as shown in FIG.
If it is deviated, it is determined that diagnosis is necessary, and an abnormality detection signal is sent to the cause tracking means 5. This output signal Y
In the case of deviation, although the equipment 1 is operating normally, diagnosis is often required, so that it is detected as an abnormal occurrence as described above. In the case of this method, a tool for detecting a deviation of the output signal Y from the reference signal from the time chart exists as a unit of the sequencer 2.

【0046】方法 上記方法〜以外に、設備機器1がシリンダの場合に
は次のような方法でシリンダの異常を検知する。つまり
図11に示すようなシリンダ100([Y20]はその
出力信号を示す)と、シリンダの動作に連動するリード
スイッチ101A,101Bとからなる設備機器1にお
いて、図12のラダー図で示されるようなラダープログ
ラムが構成されている場合において、シリンダ100の
移動開始時にはまず図13(a)に示すようにオン状態
にあるリードスイッチ101Aのa接点X14、図13
(b)に示すようにオン状態にある内部リレーの内部接
点R10、非駆動状態のリードスイッチ101Bで図1
3(d)に示すようにオン状態にあるb接点X15を通
じて出力信号[Y20]が図13(c)に示すように得
られる。ついでシリンダ100の移動によりリードスイ
ッチ101Aが非駆動になってそのa接点X14がオフ
となるが、出力信号[Y20]は自己保持接点Y20に
よりオンを維持する。
Method In addition to the above methods 1 and 2, when the equipment 1 is a cylinder, the abnormality of the cylinder is detected by the following method. That is, in the equipment 1 including the cylinder 100 ([Y20] indicates an output signal) as shown in FIG. 11 and the reed switches 101A and 101B interlocked with the operation of the cylinder, as shown in the ladder diagram of FIG. When the ladder program is constructed, when the movement of the cylinder 100 is started, first, as shown in FIG.
As shown in FIG. 1B, the internal contact R10 of the internal relay in the ON state and the reed switch 101B in the non-driven state are used in FIG.
As shown in FIG. 13D, an output signal [Y20] is obtained as shown in FIG. 13C through the b-contact X15 in the ON state. Next, the reed switch 101A is not driven by the movement of the cylinder 100 and the a contact X14 is turned off, but the output signal [Y20] is maintained on by the self-holding contact Y20.

【0047】そして正常であればシリンダ100が動作
完了して、リードスイッチ101Bが駆動され、そのb
接点X15がオフする。従ってシリンダ100の出力信
号[Y20]がオフすることになる。
If it is normal, the operation of the cylinder 100 is completed, and the reed switch 101B is driven.
The contact X15 turns off. Therefore, the output signal [Y20] of the cylinder 100 is turned off.

【0048】しかしシリンダ100が詰まって完全に動
作できない場合には、リードスイッチ101Bが駆動さ
れず、そのb接点X15はオン状態を保つことになる。
つまり図12のラダー図で示すような接点動作状態に陥
る。従って原因追跡手段5の検知手段10は出力信号
[Y10]がシリンダ100の動作開始から一定時間以
上オン状態にある場合、リードスイッチ101Bのb接
点がシリンダ100の動作から一定時間オンしないこと
を検知することにより異常を検知することができるので
ある。
However, when the cylinder 100 is clogged and cannot be completely operated, the reed switch 101B is not driven, and the b contact X15 is kept on.
In other words, a contact operation state as shown in the ladder diagram of FIG. 12 occurs. Therefore, the detecting means 10 of the cause tracking means 5 detects that the contact b of the reed switch 101B does not turn on for a certain time after the operation of the cylinder 100 when the output signal [Y10] is in the on state for a certain time or more after the operation of the cylinder 100 starts. By doing so, an abnormality can be detected.

【0049】尚図12のラダー図においてa接点或いは
b接点のシンボル及び出力信号のシンボルにおいて、黒
塗りマークが記されているものは、オン状態を、無いも
のオフ状態を示す。つまり接点情報が示される。以下の
説明に用いる動作状態を示すラダー図においても同様に
示す。
In the ladder diagram of FIG. 12, a symbol with a black mark in the symbol of the a contact or the b contact and the symbol of the output signal indicates an on state and an off state without the symbol. That is, the contact information is shown. The same applies to a ladder diagram showing an operation state used in the following description.

【0050】以上のようにシリンダにかかる異常検知方
法及び、〜の方法は適宜組み合わせて備え、夫々
の方法により異常を検知する。
As described above, the abnormality detection method for the cylinder and the methods (1) to (4) are provided in an appropriate combination, and the abnormality is detected by each method.

【0051】さて上記の方法〜による異常発生検知
のトリガがあると、原因追跡手段5が原因追跡のプログ
ラム(アルゴリズム)に基づいて原因の追跡を行うこと
になる。
If there is a trigger for detecting the occurrence of an abnormality by the above-mentioned method (1), the cause tracking means 5 tracks the cause based on a cause tracking program (algorithm).

【0052】この追跡方法としては、記憶手段7に記憶
してあるラダープログラムの出力命令(出力コイル)か
らラダープログラムを前のステップに戻っていくように
して追跡し、更に内部リレー接点Rがある場合はその内
部リレーコイル[R]を追跡する処理を繰り返すのであ
る。
As this tracking method, the ladder program is traced from the output command (output coil) of the ladder program stored in the storage means 7 so as to return to the previous step, and there is an internal relay contact R. In such a case, the process of tracking the internal relay coil [R] is repeated.

【0053】図14は或るラダープログラムによる接点
動作状態を示すラダー図であって、このラダー図で示さ
れる接点動作状態において、出力信号[Y10]が異常
接点であると検知された場合、該出力信号[Y10]か
らラダープログラムを前のステップに戻って行き、1つ
1つの接点状態を確認しながら不具合接点を特定するカ
バレッジ診断を行う。
FIG. 14 is a ladder diagram showing a contact operation state according to a certain ladder program. In the contact operation state shown in the ladder diagram, when the output signal [Y10] is detected as an abnormal contact, the ladder program is activated. From the output signal [Y10], the ladder program returns to the previous step, and coverage diagnosis for specifying a defective contact is performed while confirming each contact state.

【0054】ここで出力信号[Y10]がオンしない原
因を、順次ステップを戻って診断する。まず直列(AN
D)接続された内部リレー接点R0.R11、R10を
チェックし、この直列接続された内部リレー接点中、R
11がオンしておらず、当該内部リレー接点R11が異
常な内部リレー接点と判断される。この内部リレー接点
R11に対応する内部リレーコイル[R11]がオン動
作しないのは、別の内部リレー接点R11と内部リレー
接点R0との直列回路からなる自己保持回路にOR接続
された入力接点X10、X12、内部リレー接点R13
の直列回路を診断すると、入力接点X10がオンしてい
ないと判断される。
Here, the cause of the output signal [Y10] not being turned on is diagnosed by sequentially returning to the steps. First, the series (AN
D) Connected internal relay contacts R0. Check R11 and R10, and in this series connected internal relay contact,
11, the internal relay contact R11 is determined to be an abnormal internal relay contact. The internal relay coil [R11] corresponding to the internal relay contact R11 does not turn on because the input contact X10 OR-connected to a self-holding circuit composed of a series circuit of another internal relay contact R11 and the internal relay contact R0. X12, internal relay contact R13
Is diagnosed, the input contact X10 is not turned on.

【0055】このようにして、不具合接点が入力接点X
10と診断できることになる。
As described above, when the defective contact is the input contact X
It can be diagnosed as 10.

【0056】かように異常検知があると、ラダープログ
ラム中、出力命令から追跡を開始して不具合の原因を追
跡診断するのである。
When the abnormality is detected, the tracing is started from the output instruction in the ladder program, and the cause of the defect is traced and diagnosed.

【0057】尚図12のラダー図で示される接点動作状
態の場合にはリードスイッチ101Bのb接点X15が
オンしないことにより、シリンダ100がオーバータイ
ムしたと異常原因の診断が直ちに行うことができ、診断
の虚報の回避や、信頼性の向上が図れる。
In the case of the contact operation state shown in the ladder diagram of FIG. 12, since the b contact X15 of the reed switch 101B is not turned on, it is possible to immediately diagnose the cause of the abnormality when the cylinder 100 is overtime, It is possible to avoid false reports of diagnosis and improve reliability.

【0058】また原因追跡に当たって、対象となるラダ
ープログラムがOR分岐している場合には、全ての連鎖
動作を分岐させて追跡する。
In tracing the cause, if the target ladder program has an OR branch, all the chained operations are branched and traced.

【0059】つまり設備機器1にトラブルが発生してい
る場合、その多くは何かの出力信号Yがオンになるべき
ところオフのままであるということがある。
That is, when a trouble has occurred in the equipment 1, many of them may remain off where some output signal Y should be on.

【0060】このとき、出力信号Yは、入力信号XのA
NDやORの組合せで生成されており、結局の原因は入
力信号Xがオンしていないというのが殆どである。
At this time, the output signal Y is the A of the input signal X.
It is generated by a combination of ND and OR, and in most cases, the cause is that the input signal X is not turned on.

【0061】この原因分析を設備機器のオペレータや保
全者が行うのは非常に難しく、リアルタイムに自動的に
診断し、トラブルが分かるようにOR分岐している場
合、全ての連鎖動作を分岐させて追跡するアルゴリズム
を原因追跡アルゴリズムとして記憶手段7に実装してあ
り、原因追跡手段5はラダープログラムがOR分岐して
いる場合には該アルゴリズムにより不具合接点を特定す
るガバレッジ診断を行う。
It is very difficult for an operator or a maintenance person of the equipment to perform this cause analysis. If the diagnosis is automatically made in real time and the OR branch is made so that the trouble can be identified, all the chain operations are branched. An algorithm to be traced is implemented in the storage means 7 as a cause tracking algorithm. When the ladder program branches in an OR manner, the cause tracking means 5 performs a coverage diagnosis for specifying a faulty contact by the algorithm.

【0062】例えば、図15のラダー図で示されるラダ
ープログラムにおいて、図示するように出力信号[Y1
1]がオンしなかった場合、ラダープログラムを前のス
テップに戻って行き、その途中でORの分岐点(図にお
いて●で示す)があった場合、両方の分岐路A,Bのス
テップに対してカバレッジ診断を行う。この図15のラ
ダー図で示される接点動作状態の場合、分岐路Aと分岐
路Bの一つ一つの接点を上記のようにカバレッジ診断を
行い、分岐路Aでは入力接点X10がオンしておらず、
そのため分岐路Bにおいて自己保持接点Y11がオンせ
ず、結果出力信号[Y11]がオンしないと判断でき、
その結果入力接点X10が不具合接点と診断できるので
ある。
For example, in the ladder program shown in the ladder diagram of FIG. 15, the output signal [Y1
If [1] is not turned on, the ladder program returns to the previous step, and if there is an OR branch point (indicated by ● in the figure) in the middle, the steps of both branch paths A and B are Perform coverage diagnosis. In the case of the contact operation state shown in the ladder diagram of FIG. 15, coverage diagnosis is performed on each contact of the branch path A and the branch path B as described above, and the input contact X10 is turned on in the branch path A. Without
Therefore, it can be determined that the self-holding contact Y11 does not turn on in the branch path B and the result output signal [Y11] does not turn on.
As a result, the input contact X10 can be diagnosed as a faulty contact.

【0063】ところでAND接続の場合において、不具
合接点が複数合った場合、その全ての連鎖動作を追跡す
る。
By the way, in the case of AND connection, when a plurality of defective contacts are matched, all chain operations are tracked.

【0064】例えば図16に示すラダープログラムの動
作状態において、原因追跡の開始点が出力信号[Y1
1]から開始したとすると、出力信号[Y11]にAN
D接続されたb接点X10、内部リレー接点R12,R
13中、内部リレー接点R12、R13がオフしている
と検出されたとき、夫々の内部リレー接点R12、R1
3に対応する内部リレーコイル[R13],[R14]
に関して原因追跡を行うのである。
For example, in the operation state of the ladder program shown in FIG. 16, the start point of cause tracking is determined by the output signal [Y1
1], the output signal [Y11] becomes AN
D contact b contact X10, internal relay contact R12, R
13, when it is detected that the internal relay contacts R12, R13 are off, the respective internal relay contacts R12, R1
3 internal relay coils [R13], [R14]
The cause is tracked.

【0065】また原因追跡において、接点中a接点と、
b接点と次のように論理で診断する。例えば図17
(a)に示すラダープログラムの動作状態では、出力信
号[Y10]がオンしないのは、a接点X20と内部リ
レー接点R9のAND接続に於いてa接点X20がオン
していないと診断される。
In the cause tracing, a contact among a contacts and
Diagnosis is made with the b contact by logic as follows. For example, FIG.
In the operation state of the ladder program shown in (a), the reason why the output signal [Y10] does not turn on is that the a-contact X20 is not turned on in the AND connection between the a-contact X20 and the internal relay contact R9.

【0066】図17(b)に示すラダープログラムの動
作状態では、出力信号[Y10]がオンしないのは、b
接点X20と内部リレー接点R9のAND接続におい
て、b接点X20がオンしてないためと診断される。
In the operation state of the ladder program shown in FIG. 17B, the output signal [Y10] is not turned on because b
In the AND connection between the contact X20 and the internal relay contact R9, it is diagnosed that the b contact X20 is not turned on.

【0067】更に入力信号Xの立ち上がり(微分信号)
命令DFが含まれるラダープログラムにあっては、この
命令を考慮して原因追跡を行う。
Further, the rising edge of the input signal X (differential signal)
In a ladder program including the instruction DF, the cause is tracked in consideration of the instruction.

【0068】つまり図18のラダー図で示されるラダー
プログラムでは、正常動作が為されると図19(a)に
示すように接点X20がオンになると、図19(b)に
示すように立ち上がり微分が為され、図19(c)に示
すように内部リレーコイル[R10]がオンし、結果内
部リレー接点R10のオンにより自己保持して内部リレ
ーコイル[R10]のオン状態が保持される。
In other words, in the ladder program shown in the ladder diagram of FIG. 18, when the normal operation is performed, when the contact X20 is turned on as shown in FIG. 19A, the rising differential as shown in FIG. 19 (c), the internal relay coil [R10] is turned on, and as a result, the internal relay coil [R10] is self-held by the turning on of the internal relay contact R10, and the on state of the internal relay coil [R10] is held.

【0069】従って通常接点X20がオフしていても、
内部リレーコイル[R10]がオンしている場合、接点
X20が正常に動作したと判定できるが、図18の接点
動作状態では、接点X20と内部リレーコイル[R1
0]が共にオフであるので、接点X20が正常にオン動
作せず、そのため内部リレーコイル[R10]がオン動
作しなかったと診断できるのである。
Therefore, even if the normal contact X20 is off,
When the internal relay coil [R10] is on, it can be determined that the contact X20 has operated normally. However, in the contact operating state of FIG. 18, the contact X20 and the internal relay coil [R1]
0] are off, the contact X20 does not normally turn on, so that it can be diagnosed that the internal relay coil [R10] did not turn on.

【0070】さて、上述の原因追跡・診断結果に基づい
て表示手段6により不具合動作の原因接点を表示する
際、検出された不具合動作の原因接点の候補を全て外部
出力する。
When displaying the cause contact of the malfunctioning operation on the display means 6 based on the result of the cause tracking / diagnosis described above, all the detected candidates of the cause contact of the malfunctioning operation are output to the outside.

【0071】例えば図20のラダー図で示されるラダー
プログラムにおいて、出力信号[Y20]が検知手段4
により不具合接点と検知された接点に対応するものであ
って、この検知により原因追跡手段5が原因追跡を実行
した結果、例えば入力接点X10がオンしない、入力接
点X14がオンしない、入力接点X20がオンしない、
ということが不具合動作の原因の候補として診断された
場合、これらを原因接点の候補として全て外部出力し、
図21に示すメッセージを表示手段6により表示させ
る。
For example, in the ladder program shown in the ladder diagram of FIG.
As a result of this detection, the cause tracking means 5 performs cause tracking, and as a result, for example, the input contact X10 does not turn on, the input contact X14 does not turn on, and the input contact X20 Do not turn on,
If it is diagnosed as a candidate for the cause of the malfunctioning operation, all of these are externally output as candidates for the cause contact,
The message shown in FIG.

【0072】このように表示することで、不具合動作
(異常)の原因が唯一つに限定できない場合でも正確な
診断が可能となる。
By displaying in this manner, accurate diagnosis can be performed even when the cause of the malfunctioning operation (abnormality) cannot be limited to only one.

【0073】表示手段6では上述のように不具合の原因
接点の候補をメッセージで表示するようにしてあるが、
表示手段6により図22(a)、(b)に示すように異
常に該当する個所のセンサ、接点位置などを設備機器1
の画像上に点滅表示させるようにしても良い。図中の※
が点滅箇所に対応する。
As described above, the display means 6 displays a message as a candidate of the contact point of the cause of the defect.
As shown in FIGS. 22 (a) and 22 (b), the display device 6 indicates a sensor, a contact position, and the like at a location corresponding to an abnormality.
May be displayed blinking on the image. * In the figure
Corresponds to the blinking point.

【0074】而して本実施形態では、図3に示すように
テスト条件の設定後、設備診断装置3を動作させると、
設備診断装置3では、シーケンサ2から設備(設備機器
1)制御中異常の発生を示す信号が送られて検知信号が
検知手段4を通じて原因追跡手段5に入力されると、原
因追跡手段5により上記の追跡方法に基づいて原因追跡
と、不具合接点の診断を行い、その診断結果を表示手段
6により上述のようにメッセージで或いはビジュアルで
表示するのである。 (実施形態2)上記実施形態1ではラダープログラムを
論理的に解析しやすように命令リストに展開して、原因
追跡・診断を行うようにしているが、各接点情報を命令
リストに付加(紐付け)するようにして、診断を容易に
するようにしても良い。
In this embodiment, when the equipment diagnostic device 3 is operated after setting the test conditions as shown in FIG.
In the equipment diagnosis apparatus 3, when a signal indicating the occurrence of an abnormality during control of the equipment (equipment 1) is sent from the sequencer 2 and a detection signal is input to the cause tracking means 5 through the detection means 4, the cause tracking means 5 Based on the tracking method, the cause is traced and the faulty contact is diagnosed, and the result of the diagnosis is displayed by the display means 6 in the form of a message or in a visual manner as described above. (Embodiment 2) In the first embodiment, the ladder program is developed into an instruction list so as to be easily analyzed logically, and cause tracking / diagnosis is performed. However, each contact information is added to the instruction list (string). Attached) to facilitate diagnosis.

【0075】つまり、図23のラダー図で示す原因追跡
開始時の接点状態を、ラダープログラムを展開した命令
リスト(図24)に、2値の論理値に置き換えて図25
に示すように付加するのである。つまりオンしている接
点には”1”を、オフしている接点には”0”の論理値
を付加するのである。
That is, the contact state at the start of the cause tracking shown in the ladder diagram of FIG. 23 is replaced with a binary logical value in the instruction list (FIG. 24) in which the ladder program is developed.
It is added as shown in FIG. That is, a logical value of "1" is added to a contact that is on and a logical value of "0" is added to a contact that is off.

【0076】このようにすることで、原因追跡手段5が
ラダープログラム(この場合命令リスト)と接点情報と
から原因追跡する際、解析が一層容易になる。 (実施形態3)上記実施形態1,2では原因追跡の際に
ラダープログラムを命令リストに展開して、ラダープロ
グラムを論理的に扱いやすくしているが、原因追跡はラ
ダープログラムの実行順序とは逆に遡ることにより行う
ため、本実施形態では、ラダープログラムを、図26
(a)に示すような通常の実行順序の命令リストに展開
せず、図26(b)に示すように実行順序を逆にした命
令リストに展開するのである。勿論命令リストには接点
情報を実施形態2と同様に付加している。
In this way, when the cause tracking means 5 tracks the cause from the ladder program (in this case, the instruction list) and the contact information, the analysis is further facilitated. (Embodiment 3) In the first and second embodiments, the ladder program is developed into an instruction list at the time of cause tracking to make the ladder program logically easier to handle. On the contrary, in the present embodiment, the ladder program is executed by tracing back.
The instruction list is not expanded into an instruction list in a normal execution order as shown in FIG. 26A, but is expanded into an instruction list in which the execution order is reversed as shown in FIG. Needless to say, contact information is added to the command list as in the second embodiment.

【0077】而して本実施形態では、ラダープログラム
を一層論理的に扱え、また原因追跡のアルゴリズムの構
築が容易になる。 (実施形態4)上記実施形態1乃至3においてラダープ
ログラムを命令リストに展開してラダープログラムを論
理的に扱い易くしているが、命令リストが長くなると、
原因追跡のアルゴリズムの構築が難しくなるため、本実
施形態では、実施形態3のようにラダープログラムを命
令リストに展開する際、OUT命令からLD命令までを
一つの単位として命令リストに展開するのである。従っ
て図27に示すように長い命令リストを、図28(a)
〜(c)に示すように複数の命令リストに展開するので
ある。これにより夫々の命令リストが短くなり、原因追
跡のアルゴリズムの構築が容易となる。 (実施形態5)上記実施形態1において設備機器1を複
数のブロックに分けて原因追跡の経路の簡素化を図って
いるが、本実施形態では、このブロック化に当たり、図
29に示すように設備機器1中関連のあるユニットの単
位を1つのブロックとして複数のブロックBL1…に分
割し、各ブロックBL1…に対して実施形態4のように
OUT命令からLD命令までを一つの単位とするように
命令リストL1…を複数に展開した命令リストグループ
G1…を対応させるようにしたものである。
Thus, in the present embodiment, the ladder program can be handled more logically, and the construction of the cause tracking algorithm becomes easy. (Embodiment 4) Although the ladder program is developed into an instruction list in the first to third embodiments to make it easier to handle the ladder program logically, if the instruction list becomes longer,
In this embodiment, when the ladder program is expanded into the instruction list as in the third embodiment, the processing from the OUT instruction to the LD instruction is expanded into the instruction list as one unit because it is difficult to construct the cause tracking algorithm. . Therefore, a long instruction list as shown in FIG.
As shown in (c), it is expanded into a plurality of instruction lists. This shortens each instruction list, and facilitates construction of an algorithm for tracking causes. (Embodiment 5) In the first embodiment, the equipment 1 is divided into a plurality of blocks to simplify the route of cause tracking. In the present embodiment, the block is divided into a plurality of blocks as shown in FIG. The unit of a related unit in the device 1 is divided into a plurality of blocks BL1... As one block, and from the OUT instruction to the LD instruction as one unit for each block BL1. An instruction list group G1... Obtained by expanding the instruction list L1.

【0078】而して本実施形態では、複数の命令リスト
をグループ化して、効率的に推論することができること
になる。 (実施形態6)本実施形態は、上記実施形態5におけ
る、各ブロックBL1…に対応させた命令リストのグル
ープG1…を階層構造としたものである。
Thus, in the present embodiment, a plurality of instruction lists can be grouped and inferred efficiently. (Embodiment 6) In the present embodiment, the groups G1... Of the instruction list corresponding to each block BL1.

【0079】つまり、図30に示すように設備機器1が
ブロックBL1〜BL3及び設備機器1の駆動部のブロ
ックBLkに分けられてあって、ブロックBL1〜BL
3のラダープログラムは、共通部分がないが、ブロック
BL1〜BL3の共通部分であるブロックBLkのラダ
ープログラムはこれらブロックBL1〜BL3のラダー
プログラムの上位に位置する場合、例えばブロックBL
1で異常が発生すると、その原因がブロックBLkの駆
動部である可能性がある。一方、独立しているブロック
BL2、BL3に原因であることはない。ブロックBL
2、BL3で異常が発生した場合も同様である。
That is, as shown in FIG. 30, the equipment 1 is divided into blocks BL1 to BL3 and a block BLk of a driving section of the equipment 1, and the blocks BL1 to BL3 are divided into blocks BL1 to BL3.
Ladder program No. 3 has no common part, but the ladder program of block BLk, which is a common part of blocks BL1 to BL3, is located above the ladder program of these blocks BL1 to BL3, for example, block BL
If an error occurs in step 1, the cause may be the drive unit of the block BLk. On the other hand, it is not caused by the independent blocks BL2 and BL3. Block BL
2. The same applies when an abnormality occurs in BL3.

【0080】従って、各ブロックBL1〜BL3及びB
Lkの命令リストグループG1〜G3及びGkを図示す
るように階層化することができるのである。
Therefore, each of the blocks BL1 to BL3 and B
The Lk instruction list groups G1 to G3 and Gk can be hierarchized as shown.

【0081】而して本実施形態では、複雑な設備機器1
をブロック化するとともに、ブロックに対応させた命令
リストグループを階層化することにより、異常発生時
に、原因追跡とその診断範囲を限定することができ、診
断の効率化を一層図れるのである。 (実施形態7)上記実施形態1の設備診断装置3では、
異常検知があると、ラダープログラムに沿って追跡を繰
り返して行う等により行うのであるが、本実施形態で
は、図31に示すようにコンピュータからなる設備診断
装置3の記憶手段7に診断ベースとして診断のための知
識ベースとしてルールを実装したルールベース70及び
原因追跡方法、不具合接点診断方法及びその特定方法に
対応する原因追跡アルゴリズム71とをラダープログラ
ム72と共に格納し、原因追跡・診断をルールベース7
0のルールと異常追跡アルゴリズム71に基づいて、ラ
ダープログラム72及び接点情報とから行うようにした
ものである。
In this embodiment, the complicated equipment 1
In addition, by classifying the blocks and by hierarchizing the instruction list groups corresponding to the blocks, when an abnormality occurs, the cause can be tracked and its diagnosis range can be limited, so that the diagnosis can be made more efficient. (Embodiment 7) In the equipment diagnosis apparatus 3 of Embodiment 1,
When an abnormality is detected, it is performed by repeatedly performing tracking according to a ladder program or the like. In the present embodiment, as shown in FIG. 31, diagnosis is performed as a diagnosis base in the storage unit 7 of the equipment diagnosis apparatus 3 including a computer. And a cause tracking method, a failure contact diagnosis method, and a cause tracking algorithm 71 corresponding to the identification method thereof are stored together with a ladder program 72, and the cause tracking / diagnosis is performed in the rule base 7.
The ladder program 72 and the contact information are used based on the rule 0 and the abnormality tracking algorithm 71.

【0082】図32は設備診断装置3の動作処理のフロ
ーチャートを示しており、キーボードからテスト条件の
データ入力を予め行い、設備制御中に異常が検知される
とルールベース70に基づいた原因追跡アルゴリズム7
1により原因追跡を行い、その追跡によって得られた診
断結果を生成し、モニタからなる表示手段6により図3
3に示すようにビジュアル表示を行うようになってい
る。ここで、実施形態1で説明した複数の検知方法の1
つ若しくは複数を選択設定しておくことにより、異常発
生検知があった場合、選択設定してある検知方法による
トリガであれば原因追跡・診断を開始するようになって
おり、効率的な運用と効率的な原因追跡・診断の実行を
可能としている。
FIG. 32 is a flow chart of the operation process of the equipment diagnosis apparatus 3. Data of test conditions is input in advance from a keyboard, and if an abnormality is detected during equipment control, a cause tracking algorithm based on the rule base 70 is performed. 7
1 is traced, a diagnostic result obtained by the trace is generated, and a display means 6 comprising a monitor is used to generate a diagnosis result.
A visual display is performed as shown in FIG. Here, one of the plurality of detection methods described in the first embodiment
By selecting and setting one or more, if an abnormality occurrence is detected, the cause tracking / diagnosis is started if the trigger is based on the detection method selected and set, and efficient operation and It enables efficient cause tracking and diagnosis.

【0083】ここで診断する際に用いるルールベース7
0には、次のようなルールを実装してある。つまりルー
ルとしてIF〜THENルールを用い、例えば図34に
示すシリンダ100が定位置にあるときは、リードスイ
ッチ101Aがオンし、シリンダ100が動作すると、
リードスイッチ101Aがオフし、動作完了するとリー
ドスイッチ101Bがオンする。
The rule base 7 used for diagnosis here
0 implements the following rules. That is, when the IF-THEN rule is used as a rule, for example, when the cylinder 100 shown in FIG. 34 is in a fixed position, the reed switch 101A is turned on and the cylinder 100 operates,
The reed switch 101A turns off, and when the operation is completed, the reed switch 101B turns on.

【0084】もしシリンダ100が正常に動作しなかっ
た場合、リードスイッチ100Aがオフしたが、101
Bがオンしないといった現象が見られる。
If the cylinder 100 does not operate normally, the reed switch 100A is turned off.
There is a phenomenon that B does not turn on.

【0085】この現象に対応して、例えばIF X15
=off THENというルールをシリンダ100のリ
ードスイッチ101Bがオンしなかったという現象に対
応させてルールベース70に格納しておくのである。
In response to this phenomenon, for example, IF X15
The rule of = OFF THEN is stored in the rule base 70 in correspondence with the phenomenon that the reed switch 101B of the cylinder 100 has not been turned on.

【0086】また例えばセンサがオンしなかったという
現象に対応して、IF X10=off THEN と
いうルールをルールベース70に格納しておけば、セン
サに対応する入力接点X10がオンしない不具合が生じ
たい場合、センサがオンしなかったと判断できる。
For example, if a rule of IF X10 = off THEN is stored in the rule base 70 in response to the phenomenon that the sensor did not turn on, a problem that the input contact X10 corresponding to the sensor would not turn on would occur. In this case, it can be determined that the sensor has not been turned on.

【0087】このようにして不具合の各現象に応じたル
ールをルールベース70に格納しておけば、該ルールベ
ース70の格納ルールにより高度な診断が高速に行える
ことになる。
If the rules corresponding to the respective phenomena of the defect are stored in the rule base 70 in this way, advanced diagnosis can be performed at high speed by the rules stored in the rule base 70.

【0088】ところで上記のようなルールベース70に
格納しているルールと、異常接点を検出した結果とに基
づいて原因追跡手段5が診断結果を生成するのである
が、その診断結果が複数ある場合には優先順位を付けて
表示する。
By the way, the cause tracking means 5 generates a diagnosis result based on the rule stored in the rule base 70 as described above and the result of detecting the abnormal contact. Are displayed with priorities.

【0089】例えば3つのルールから、 センサがオンしていません。For example, from three rules, the sensor is not turned on.

【0090】シリンダのリードスイッチがオンしてい
ないか、シリンダが動作していません。
The reed switch of the cylinder is not turned on or the cylinder is not operating.

【0091】別のシリンダのリードスイッチがオンし
ていないか、別のシリンダが動作していません。という
診断結果が得られた場合、この3つの診断結果中、の
トラブルが多く発生している場合、のメッセージを表
示手段6により優先表示させたり、或いは異常原因の可
能性の高いものはメッセージ表示のトップに表示させた
りするのである。
The reed switch of another cylinder is not turned on or another cylinder is not operating. If the diagnosis result is obtained, if any of the three diagnosis results has a lot of troubles, the message is displayed preferentially on the display means 6, or the message having a high possibility of an abnormal cause is displayed as a message. Or at the top of the

【0092】このように診断結果が、優先順位を付けて
表示されるため、作業者にとって判り易く、異常状態を
復旧させるための対処が容易となる。
As described above, the diagnosis results are displayed with the priorities displayed, so that the operator can easily understand the diagnosis results and can easily take measures for restoring the abnormal state.

【0093】尚、リアルタイムで不具合の原因追跡する
際に、論理的に推論することができるように本実施形態
では、上記実施形態1乃至6で説明した何れかの方法に
よりラダープログラムを命令リストに展開しておき、論
理的に解析することができるようにしてある。命令リス
トの展開方法については、実施形態1乃至6の説明を参
照して、ここでは省略する。
In this embodiment, the ladder program is stored in the instruction list by any of the methods described in the first to sixth embodiments so that the cause of the failure can be logically inferred in real time. It is expanded so that it can be analyzed logically. The method of expanding the instruction list will be omitted here with reference to the description of the first to sixth embodiments.

【0094】(実施形態8)実施形態7ではコンピュー
タにより構成される設備診断装置3を用いているが、シ
ーケンサ2のCPUを用いて、原因追跡・診断を行うよ
うにしたもので、シーケンサ2自体で設備診断装置3を
兼用し、表示手段6をシーケンサ2に接続するととも
に、原因追跡アルゴリズム71,ルールベース70、ラ
ダープログラム72を格納する記憶手段7を付設してあ
る。
(Eighth Embodiment) In the seventh embodiment, although the equipment diagnosis device 3 constituted by a computer is used, the cause tracking / diagnosis is performed by using the CPU of the sequencer 2, and the sequencer 2 itself is used. The display device 6 is connected to the sequencer 2 and a storage means 7 for storing a cause tracking algorithm 71, a rule base 70, and a ladder program 72 is provided.

【0095】尚シーケンサ2のCPUをマルチCPUと
して、一方のCPUをシーケンス制御用に、他方の原因
追跡・診断用として用い、両CPUに共用できるメモリ
領域を設けて、同期をとるようにしても良い。
Note that the CPU of the sequencer 2 may be a multi-CPU, one of the CPUs may be used for sequence control, and the other may be used for tracking and diagnosing the cause. good.

【0096】原因追跡及び診断方法は実施形態7に準ず
るためここでは説明を省略する。
[0096] The method of tracking and diagnosing the cause is the same as that of the seventh embodiment, and the description is omitted here.

【0097】[0097]

【発明の効果】請求項1の発明は、シーケンサによるシ
ーケンス制御で動作する設備機器を対象とし、該設備機
器が運転中にある異常が発生したことを検知手段が検知
すると、該検知手段から出力される検知信号をトリガと
して異常の原因を、シーケンサのラダープログラムと接
点情報とに基づいて原因追跡手段で追跡・診断し、該診
断結果として異常の発生原因を表示手段で表示させると
ともに前記記憶手段に記憶させるので、設備機器にトラ
ブルが発生しても、トラブル(異常)の発生原因の追跡
と診断を信頼性高く且つ速やかに行え、その結果設備機
器のトラブル復旧が容易に行え、設備機器のトラブル復
旧に要する時間の短縮でき、メンテナンス性の向上が図
れるという効果がある。
According to the first aspect of the present invention, when the detecting means detects that an abnormality has occurred while the equipment is operating, the detecting means outputs the output from the detecting means. The cause of the abnormality is tracked and diagnosed by the cause tracing means based on the ladder program of the sequencer and the contact information with the detected signal as a trigger, and the cause of the abnormality is displayed on the display means as the diagnosis result, and the storage means Even if a trouble occurs in the equipment, the cause of the trouble (abnormality) can be tracked and diagnosed with high reliability and promptly, and as a result, the trouble of the equipment can be easily recovered. There is an effect that the time required for trouble recovery can be shortened and the maintainability can be improved.

【0098】請求項2の発明は、請求項1の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡する過程において、前記検知信号をトリガとして前
記ラダープログラムの出力命令から追跡を開始し、更に
内部リレーがある場合はその内部リレーコイルを追跡す
る処理を繰り返すので、請求項1の発明の効果に加えて
診断の信頼性が向上するという効果がある。
According to a second aspect of the present invention, in the first aspect of the invention, in the step of tracking the contact point of the cause from the ladder program and the contact information using the detection signal as a trigger, The tracking is started from the output command of the ladder program as a trigger, and if there is an internal relay, the process of tracking the internal relay coil is repeated, so that the reliability of diagnosis is improved in addition to the effect of the invention of claim 1. This has the effect.

【0099】請求項3の発明は、請求項2の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡する過程において、前記ラダープログラムがオア分
岐している場合、すべての連鎖動作を分岐させ追跡する
ので、請求項2の発明の効果に加えて、診断の信頼性が
一層向上するという効果がある。
According to a third aspect of the present invention, in the second aspect of the present invention, in the step of tracking the contact point of the cause from the ladder program and the contact information by using the detection signal as a trigger, In the case of OR branching, all chained operations are branched and traced, so that in addition to the effect of the invention of claim 2, there is an effect that the reliability of diagnosis is further improved.

【0100】請求項4の発明は、請求項2の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡する過程において、前記ラダープログラムがアンド
接続してあって、不具合接点が複数あった場合、すべて
の連鎖動作を追跡するので、請求項2の発明の効果に加
えて、診断の信頼性が一層向上するとともに、診断の精
度を高めることができるという効果がある。
According to a fourth aspect of the present invention, in the second aspect of the present invention, in the step of tracking the point of contact from the ladder program and the contact information using the detection signal as a trigger, the ladder program If there is a plurality of defective contacts due to AND connection, all chain operations are tracked, so that in addition to the effect of the invention of claim 2, the reliability of diagnosis is further improved and the accuracy of diagnosis is improved. There is an effect that can be.

【0101】請求項5の発明は、請求項2の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡する過程において、不具合接点の判定にあたり、入
力信号の立ち上がり命令を考慮して判定を行うので、請
求項2の発明の効果に加えて、誤診断の回避と、信頼性
の一層の向上が図れるという効果がある。
According to a fifth aspect of the present invention, in the second aspect of the present invention, the cause tracking means determines a faulty contact in the process of tracking the cause contact from the ladder program and the contact information by using the detection signal as a trigger. In this case, since the determination is made in consideration of the rising command of the input signal, in addition to the effect of the second aspect of the present invention, there is an effect that erroneous diagnosis can be avoided and reliability can be further improved.

【0102】請求項6の発明は、請求項2の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡する過程において、不具合接点の判定にあたり、a
接点のオフの論理と、b接点のオンの論理とを考慮して
判定するので、請求項2の発明の効果に加えて、誤診断
の回避と、信頼性の一層の向上が図れるという効果があ
る。
According to a sixth aspect of the present invention, in the second aspect of the present invention, the cause tracking means determines a faulty contact in the process of tracking a cause contact from the ladder program and the contact information by using the detection signal as a trigger. A
Since the determination is made in consideration of the logic of turning off the contact and the logic of turning on the contact b, in addition to the effects of the invention of claim 2, the effects of avoiding erroneous diagnosis and further improving the reliability can be achieved. is there.

【0103】請求項7の発明は、請求項1の発明におい
て、前記原因追跡手段で異常原因を追跡する際の範囲を
限定して該限定された範囲において、原因を追跡するの
で、請求項1の発明の効果に加えて、原因追跡の経路を
簡素化することができ、その結果原因追跡・診断の効率
化が図れるという効果がある。
According to a seventh aspect of the present invention, in the first aspect of the present invention, the cause is traced within the limited range by limiting the range when the cause of the abnormality is traced by the cause tracking means. In addition to the effects of the invention, the route of cause tracking can be simplified, and as a result, the efficiency of cause tracking and diagnosis can be improved.

【0104】請求項8の発明は、請求項1の発明におい
て、前記原因追跡手段が、前記検知信号をトリガとして
前記ラダープログラムと前記接点情報から原因の接点を
追跡した後に前記表示手段で不具合接点を表示する過程
において、全ての不具合接点の情報を外部出力するの
で、請求項1の発明の効果に加えて異常の原因が唯一つ
に限定できない場合でも正確な診断が可能となるという
効果がある。
According to an eighth aspect of the present invention, in the first aspect of the present invention, after the cause tracing means traces the contact of the cause from the ladder program and the contact information by using the detection signal as a trigger, the defective contact is displayed on the display means. In the process of displaying, the information of all the faulty contacts is output to the outside, so that in addition to the effect of the invention of claim 1, there is an effect that accurate diagnosis is possible even when the cause of the abnormality cannot be limited to only one. .

【0105】請求項9の発明は、請求項8の発明におい
て、不具合接点と、その異常の原因とを診断する際に用
いるルールをIF〜THENルールとし、該ルールによ
りルールベースを構築するので、請求項8の発明の効果
に加えて高度な診断が高速に行えるという効果がある。
According to a ninth aspect of the present invention, in the invention of the eighth aspect, a rule used when diagnosing a faulty contact point and a cause of the abnormality is an IF-THEN rule, and a rule base is constructed by the rule. In addition to the effect of the invention of claim 8, there is an effect that advanced diagnosis can be performed at high speed.

【0106】請求項10の発明は、請求項8の発明にお
いて、不具合接点に対応する不良個所をビジュアル化し
て前記表示手段で表示するので、請求項8の発明の効果
に加えて、トラブル(異常)発生箇所が視覚化されて判
りやすく、トラブル復旧が容易となるという効果があ
る。
According to a tenth aspect of the present invention, in accordance with the eighth aspect of the present invention, a defective portion corresponding to a defective contact is visualized and displayed on the display means. ) The location of occurrence is visualized and easy to understand, so that there is an effect that trouble recovery becomes easy.

【0107】請求項11の発明は、請求項8の発明にお
いて、検出した結果とルールベースに予め定めてある診
断ルールとに基づいて診断結果を生成し、生成した診断
結果が複数ある場合、優先順位を付けて出力するので、
請求項8の発明の効果に加えて、診断結果が作業者に判
り易く提示でき、その結果トラブル復旧が容易になると
いう効果がある。
According to an eleventh aspect of the present invention, in the invention of the eighth aspect, a diagnostic result is generated based on the detected result and a diagnostic rule predetermined in a rule base. Because it outputs with ranking,
In addition to the effect of the invention of claim 8, there is an effect that the diagnosis result can be presented to the worker in an easily understandable manner, and as a result, trouble recovery becomes easy.

【0108】請求項12の発明は、請求項1の発明にお
いて、前記設備機器がシリンダであって、シリンダ動作
のオーバータイムをシリンダの動作終了時に動作する接
点が動作しないことから判断する手段を検知手段として
用いたので、請求項1の発明の効果に加えて、誤診断の
回避が図れ、信頼性の向上が図れるという効果がある。
[0108] According to a twelfth aspect of the present invention, in the first aspect of the present invention, the equipment is a cylinder, and means for judging overtime of the cylinder operation from the fact that the contact operating at the end of the cylinder operation does not operate is detected. Since it is used as a means, in addition to the effect of the invention of claim 1, there is an effect that erroneous diagnosis can be avoided and reliability can be improved.

【0109】請求項13の発明は、請求項1の発明にお
いて、前記シーケンサの前記ラダープログラムと前記接
点情報からリアルタイムで異常の原因を診断する際に、
前記ラダープログラムを命令リストに展開するので、請
求項1の発明の効果に加えて、論理的に推論することが
可能となるという効果がある。
According to a thirteenth aspect, in the first aspect, when diagnosing the cause of the abnormality in real time from the ladder program of the sequencer and the contact information,
Since the ladder program is expanded into an instruction list, there is an effect that logical inference can be performed in addition to the effect of the first aspect of the present invention.

【0110】請求項14の発明は、請求項13の発明に
おいて、接点のオン状態若しくはオフ状態を2値の論理
値に置き換え、前記ラダープログラムを命令リストに展
開したときに、該命令リストに接点の状態に対応して前
記論理値を付加して成るので、請求項13の発明の効果
に加えて、原因追跡・診断が容易となるという効果があ
る。
According to a fourteenth aspect of the present invention, in the thirteenth aspect, when the on state or the off state of the contact is replaced with a binary logical value, and the ladder program is expanded into an instruction list, the contact list is added to the instruction list. Since the logical value is added in accordance with the above condition, in addition to the effect of the thirteenth aspect, there is an effect that the cause tracking / diagnosis becomes easy.

【0111】請求項15の発明は、請求項13の発明に
おいて、接点のオン状態若しくはオフ状態を2値の論理
値に置き換え、ラダープログラムを命令リストに展開し
たときに、該命令リストに接点の状態に対応して前記論
理値を付加し、該付加した状態で、ラダープログラムを
実行順序とは逆の実行順序の命令リストに展開するの
で、請求項13の効果に加えて、ラダープログラムを論
理的に扱え、アルゴリズムの構築が容易となる。
According to a fifteenth aspect, in the thirteenth aspect, the on state or the off state of the contact is replaced with a binary logical value, and when the ladder program is developed in the instruction list, the contact list of the instruction is added to the instruction list. The ladder program is added to the instruction list in the execution order opposite to the execution order in the added state, and the ladder program is added to the logic value in accordance with the state. And the construction of the algorithm becomes easy.

【0112】請求項16の発明は、請求項15の発明に
おいて、前記逆の実行順序の命令リストとして、出力命
令から論理演算開始命令までを一つの単位として、単位
毎の命令リストを展開するので、請求項15の効果に加
えて、アルゴリズムの構築が一層容易となる効果があ
る。
According to a sixteenth aspect of the present invention, in accordance with the fifteenth aspect, as the instruction list in the reverse execution order, an instruction list for each unit is developed from the output instruction to the logical operation start instruction as one unit. In addition to the effect of claim 15, there is an effect that the construction of the algorithm is further facilitated.

【0113】請求項17の発明は、請求項16の発明に
おいて、前記の一つの単位を設備機器のブロック毎にグ
ループ化して、原因追跡の原因の単位を限定したので、
請求項16の効果に加えて、効率的に推論することがで
きるという効果がある。
According to a seventeenth aspect of the present invention, in the sixteenth aspect of the present invention, the one unit is grouped for each block of the equipment to limit the unit of cause for cause tracking.
In addition to the effect of the sixteenth aspect, there is an effect that inference can be efficiently performed.

【0114】請求項18の発明は、請求項17の発明に
おいて、前記グループを階層構造としたので、複雑の設
備機器の診断範囲を限定でき、その結果診断の効率化が
図れるという効果がある。
According to the eighteenth aspect of the present invention, in the invention of the seventeenth aspect, since the groups have a hierarchical structure, the range of diagnosis of complicated equipment can be limited, and as a result, the efficiency of diagnosis can be improved.

【0115】請求項19の発明は、請求項1の発明にお
いて、前記検知手段は、入出力信号をリアルタイムで監
視して、特定の出力信号が出力されなかったことを検知
したときに検知信号をトリガ信号として原因追跡手段に
与えるので、請求項1の発明の効果に加えて、リアルタ
イムに自動診断を行うことが可能となる。
According to a nineteenth aspect, in the first aspect, the detecting means monitors an input / output signal in real time and detects a detection signal when a specific output signal is not output. Since the trigger signal is given to the cause tracking means, automatic diagnosis can be performed in real time in addition to the effect of the first aspect of the present invention.

【0116】請求項20の発明は、請求項1の発明にお
いて、前記検知手段は、設備機器が異常停止したことを
検知したときに検知信号をトリガ信号として原因追跡手
段に与えるので、請求項1の発明の効果に加えて、リア
ルタイムに自動診断を行うことが可能となる。
According to a twentieth aspect of the present invention, in the first aspect of the present invention, the detecting means sends a detection signal to the cause tracking means as a trigger signal when detecting that the equipment has stopped abnormally. In addition to the effects of the invention, automatic diagnosis can be performed in real time.

【0117】請求項21の発明は、請求項1の発明にお
いて、前記検知手段は、入出力信号をリアルタイムで監
視して、特定の出力信号が予め定めた基準パターンから
ずれたことを検知したときに検知信号をトリガ信号とし
て原因追跡手段に与えるので、請求項1の発明の効果に
加えて、リアルタイムに自動診断を行うことが可能とな
る。
According to a twenty-first aspect of the present invention, in the first aspect of the present invention, the detecting means monitors an input / output signal in real time and detects that a specific output signal deviates from a predetermined reference pattern. Since the detection signal is supplied to the cause tracking means as a trigger signal, automatic diagnosis can be performed in real time in addition to the effect of the first aspect of the present invention.

【0118】請求項22の発明は、請求項1の発明にお
いて、原因追跡の実行前にリアルタイムに診断する対象
の設備機器のブロックや診断内容をテスト条件として設
定するので、請求項1の発明の効果に加えて、設備診断
装置の効率的運用や、効率的な原因追跡・診断の実行が
可能であるという効果がある。
According to a twenty-second aspect of the present invention, in accordance with the first aspect of the present invention, a block of equipment to be diagnosed and the contents of the diagnosis are set as test conditions in real time before execution of cause tracking. In addition to the effects, there is an effect that efficient operation of the equipment diagnosis apparatus and efficient execution of cause tracking and diagnosis are possible.

【0119】請求項23の発明は、請求項1の発明にお
いて、設備機器の制御中に異常が検知されたときに、原
因追跡手段に対し対してトリガをかけ診断を実行する際
の内容を1つ若しくは複数選択して設定するので、請求
項1の発明の効果に加えて、設備診断装置の効率的運用
や、効率的な原因追跡・診断の実行が可能であるという
効果がある。
According to a twenty-third aspect of the present invention, in the first aspect of the present invention, when an abnormality is detected during the control of the equipment, a trigger is issued to the cause tracking means to execute the diagnosis. Since one or more are selected and set, in addition to the effect of the first aspect of the invention, there is an effect that efficient operation of the equipment diagnosis device and efficient execution of cause tracking and diagnosis are possible.

【0120】請求項24の発明は、シーケンサによるシ
ーケンス制御で動作する設備機器を対象とし、該設備機
器が運転中に異常が発生したときこれを検知する検知手
段と、該検知手段の検知信号をトリガとして異常の原因
をラダープログラムと接点情報とにより追跡する原因追
跡手段と、該原因追跡手段で追跡診断された異常の発生
原因及びラダープログラムを記憶する記憶手段と、異常
の発生原因を表示する表示手段とから成るので、設備機
器にトラブルが発生しても、トラブル(異常)の発生原
因の追跡と診断を速やかに行え、その結果設備機器のト
ラブル復旧が容易に行え、設備機器のトラブル復旧に要
する時間の短縮でき、結果メンテナンス性の向上が図れ
る設備診断装置を提供できるという効果がある。
A twenty-fourth aspect of the present invention is directed to equipment which operates under sequence control by a sequencer, detecting means for detecting when an abnormality occurs during the operation of the equipment, and detecting a detection signal of the detection means. A cause tracking means for tracing the cause of the abnormality as a trigger by using the ladder program and the contact information, a storage means for storing the cause of the abnormality and a ladder program which are tracked and diagnosed by the cause tracking means, and a display of the cause of the abnormality Since it consists of display means, even if a trouble occurs in the equipment, the cause of the trouble (abnormality) can be tracked and diagnosed promptly, and as a result, the trouble of the equipment can be easily recovered, and the trouble of the equipment can be recovered This makes it possible to provide a facility diagnosis apparatus that can reduce the time required for the maintenance and improve the maintainability.

【0121】請求項25の発明は、請求項24の発明に
おいて、ラダープログラム推論のための不具合接点診断
方法、不具合接点特性方法及び原因追跡方法のアルゴリ
ズムと、診断のためのルールからなる知識ベースとを実
装し、前記原因追跡手段は、前記検知手段の検知信号を
トリガとして前記知識ベールのルールと、前記アルゴリ
ズムとに基づいて、ラダープログラムと接点情報とによ
り原因追跡と診断を行うので、請求項24の発明の効果
に加えて、高度な原因追跡・診断が行える設備診断装置
を提供できる。
According to a twenty-fifth aspect of the present invention, in accordance with the twenty-fourth aspect, an algorithm of a faulty contact diagnosis method, a faulty contact characteristic method, and a cause tracking method for inferring a ladder program, and a knowledge base comprising rules for diagnosis The cause tracking means performs the cause tracking and diagnosis with a ladder program and contact information based on the rule of the knowledge veil and the algorithm with the detection signal of the detection means as a trigger, In addition to the effects of the twenty-fourth invention, it is possible to provide a facility diagnosis apparatus capable of performing advanced cause tracking and diagnosis.

【0122】請求項26の発明は、請求項25の発明に
おいて、前記アルゴリズム及び知識ベースをシーケンサ
に実装するとともに、シーケンサの演算処理手段によ
り、前記原因追跡手段、検知手段を構成して成るので、
請求項25の発明の効果に加えて、装置のコストを安価
にできるという効果がある。
According to a twenty-sixth aspect of the present invention, in the twenty-fifth aspect, the algorithm and the knowledge base are implemented in a sequencer, and the cause tracking means and the detection means are constituted by the arithmetic processing means of the sequencer.
In addition to the effect of the twenty-fifth aspect, there is an effect that the cost of the apparatus can be reduced.

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

【図1】本発明の実施形態1の設備診断装置を含むシス
テムのブロック図である。
FIG. 1 is a block diagram of a system including a facility diagnostic device according to a first embodiment of the present invention.

【図2】同上の設備診断装置を含むシステムの概略構成
図である。
FIG. 2 is a schematic configuration diagram of a system including the equipment diagnostic device according to the first embodiment.

【図3】同上の設備診断装置の動作説明用のフローチャ
ートである。
FIG. 3 is a flowchart for explaining the operation of the equipment diagnostic device according to the first embodiment;

【図4】同上の設備診断装置におけるラダープログラム
の命令リスト展開説明図である。
FIG. 4 is an explanatory diagram of an instruction list expansion of a ladder program in the equipment diagnostic apparatus according to the first embodiment.

【図5】同上の設備診断装置における原因追跡方法の一
例の説明図である。
FIG. 5 is an explanatory diagram of an example of a cause tracking method in the equipment diagnostic device according to the embodiment.

【図6】同上の設備機器のブロック毎のラダープログラ
ム例を示すラダー図である。
FIG. 6 is a ladder diagram showing an example of a ladder program for each block of the above equipment.

【図7】同上の設備診断装置における正常時の出力信号
例のタイムチャートである。
FIG. 7 is a time chart of an example of an output signal in a normal state in the equipment diagnostic apparatus according to the first embodiment;

【図8】同上の設備診断装置における異常発生時の出力
信号例のタイムチャートである。
FIG. 8 is a time chart of an example of an output signal at the time of occurrence of an abnormality in the equipment diagnostic device according to the first embodiment.

【図9】同上の設備診断装置における正常時の出力信号
例のタイムチャートである。
FIG. 9 is a time chart of an output signal example in a normal state in the equipment diagnostic apparatus according to the first embodiment.

【図10】同上の診断装置における異常発生時の出力信
号例のタイムチャートである。
FIG. 10 is a time chart of an example of an output signal when an abnormality occurs in the diagnostic device of the above.

【図11】同上の設備機器であるシリンダの構成例図で
ある。
FIG. 11 is a structural example diagram of a cylinder as the equipment device of the above.

【図12】同上の図11におけるシリンダの制御のラダ
ープログラムの接点情報を付加したラダー図である。
FIG. 12 is a ladder diagram to which contact information of a ladder program for controlling the cylinder in FIG. 11 is added.

【図13】同上の図12におけるシリンダの制御の動作
説明用タイムチャートである。
FIG. 13 is a time chart for explaining an operation of controlling the cylinder in FIG.

【図14】同上の設備診断装置における原因追跡方法の
別の例の説明図である。
FIG. 14 is an explanatory diagram of another example of the cause tracking method in the equipment diagnostic device according to the embodiment.

【図15】同上の設備診断装置における原因追跡方法の
他の例の説明図である。
FIG. 15 is an explanatory diagram of another example of a cause tracking method in the equipment diagnostic device of the above.

【図16】同上の設備診断装置における原因追跡方法の
また別の例の説明図である。
FIG. 16 is an explanatory diagram of still another example of the cause tracking method in the equipment diagnostic device of the above.

【図17】同上の設備診断装置における原因追跡におけ
るa接点、b接点の論理性の説明図である。
FIG. 17 is an explanatory diagram of the logic of the “a” contact and the “b” contact in the cause tracing in the equipment diagnostic device of the above.

【図18】同上の診断対象となるラダープログラム例に
対応するラダー図である。
FIG. 18 is a ladder diagram corresponding to an example of a ladder program to be diagnosed according to the embodiment;

【図19】同上のラダープログラムにおける各接点の動
作説明用タイムチャートである。
FIG. 19 is a time chart for explaining the operation of each contact in the ladder program of the above.

【図20】同上の診断対象となるラダープログラム例に
対応するラダー図である。
FIG. 20 is a ladder diagram corresponding to an example of a ladder program to be diagnosed according to the embodiment;

【図21】同上の図20におけるラダープログラム例の
診断結果の出力例の説明図である。
21 is an explanatory diagram of an output example of a diagnosis result of the ladder program example in FIG. 20 of the above.

【図22】同上の原因追跡・診断結果の表示例の説明図
である。
FIG. 22 is an explanatory diagram of a display example of a cause tracking / diagnosis result of the above.

【図23】本発明の実施形態2におけるラダープログラ
ムの命令リスト展開の説明用のラダープログラム例のラ
ダー図である。
FIG. 23 is a ladder diagram of an example of a ladder program for explaining instruction list expansion of the ladder program according to the second embodiment of the present invention.

【図24】通常の命令リストの展開例図である。FIG. 24 is a development example diagram of a normal instruction list.

【図25】本発明の実施形態2におけるラダープログラ
ムの命令リスト展開例図である。
FIG. 25 is an example of instruction list expansion of a ladder program according to the second embodiment of the present invention.

【図26】本発明の実施形態3のラダープログラムの命
令リスト展開説明図である。
FIG. 26 is an explanatory diagram of an instruction list expansion of a ladder program according to the third embodiment of the present invention.

【図27】本発明の実施形態4の命令リスト展開説明用
の命令リストの展開比較例図である。
FIG. 27 is a diagram illustrating an instruction list expansion comparative example for explaining an instruction list expansion according to the fourth embodiment of the present invention.

【図28】同上の命令リストの展開例図である。FIG. 28 is a development example diagram of the above instruction list.

【図29】本発明の実施形態5の命令リストと設備機器
のブロックとの関連説明図である。
FIG. 29 is a diagram illustrating a relation between an instruction list and equipment blocks according to the fifth embodiment of the present invention.

【図30】本発明の実施形態6の命令リストのグループ
とと設備機器のブロックとの関連説明図である。
FIG. 30 is a diagram illustrating a relation between a group of instruction lists and blocks of equipment according to the sixth embodiment of the present invention.

【図31】本発明の実施形態7の設備診断装置を用いた
システム構成図である。
FIG. 31 is a system configuration diagram using the equipment diagnosis apparatus according to the seventh embodiment of the present invention.

【図32】同上の動作説明用フローチャートである。FIG. 32 is a flowchart for explaining the operation of the above.

【図33】同上の表示手段での表示例図である。FIG. 33 is a view showing an example of display by the display means of the above.

【図34】同上に用いるルールベースに格納するルール
の説明図である。
FIG. 34 is an explanatory diagram of rules stored in a rule base used in the Embodiment.

【図35】本発明の実施形態8の設備診断装置を用いた
システム構成図である。
FIG. 35 is a system configuration diagram using the equipment diagnosis apparatus according to the eighth embodiment of the present invention.

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

1 設備機器 2 シーケンサ 3 設備診断装置 4 検知手段 5 原因追跡手段 6 表示手段 7 記憶手段 DESCRIPTION OF SYMBOLS 1 Facility equipment 2 Sequencer 3 Facility diagnostic device 4 Detecting means 5 Cause tracking means 6 Display means 7 Storage means

フロントページの続き Fターム(参考) 5H220 BB09 CC03 CC05 DD04 JJ12 JJ28 JJ34 JJ42 KK08 LL07 5H223 CC03 CC08 DD03 EE05 EE19 FF06 Continued on the front page F term (reference) 5H220 BB09 CC03 CC05 DD04 JJ12 JJ28 JJ34 JJ42 KK08 LL07 5H223 CC03 CC08 DD03 EE05 EE19 FF06

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】シーケンサによるシーケンス制御で動作す
る設備機器を対象とし、該設備機器が運転中にある異常
が発生したことを検知手段が検知すると、該検知手段か
ら出力される検知信号をトリガとして異常の原因を、シ
ーケンサのラダープログラムと接点情報とに基づいて原
因追跡手段で追跡・診断し、該診断結果として異常の発
生原因を表示手段で表示させるとともに前記記憶手段に
記憶させることを特徴とするラダープログラム診断方
法。
An apparatus which operates under sequence control by a sequencer is targeted. When a detecting means detects that an abnormality has occurred while the equipment is operating, a detection signal output from the detecting means is used as a trigger. The cause of the abnormality is tracked and diagnosed by the cause tracking means based on the ladder program of the sequencer and the contact information, and the cause of the abnormality is displayed on the display means as the diagnosis result and stored in the storage means. Ladder program diagnosis method.
【請求項2】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡する過程において、前記検知信号をトリガ
として前記ラダープログラムの出力命令から追跡を開始
し、更に内部リレーがある場合はその内部リレーコイル
を追跡する処理を繰り返すことを特徴とする請求項1記
載のラダープログラム診断方法。
2. A process in which the cause tracking means starts tracking from an output command of the ladder program by using the detection signal as a trigger in a process of tracking a cause contact from the ladder program and the contact information using the detection signal as a trigger. 2. The ladder program diagnosis method according to claim 1, further comprising, if there is an internal relay, repeating a process of tracking the internal relay coil.
【請求項3】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡する過程において、前記ラダープログラム
がオア分岐している場合、すべての連鎖動作を分岐させ
追跡することを特徴とする請求項2記載のラダープログ
ラム診断方法。
3. In a process in which the cause tracking means tracks a contact point of a cause from the ladder program and the contact information using the detection signal as a trigger, if the ladder program is OR-branched, all chain operations are performed. 3. The ladder program diagnosis method according to claim 2, wherein branching and tracking are performed.
【請求項4】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡する過程において、前記ラダープログラム
がアンド接続してあって、不具合接点が複数あった場
合、すべての連鎖動作を追跡することを特徴とする請求
項2記載のラダープログラム診断方法。
4. A process in which the cause tracing means traces a contact of a cause from the ladder program and the contact information by using the detection signal as a trigger. 3. The ladder program diagnosis method according to claim 2, wherein all chained actions are tracked when the ladder program is executed.
【請求項5】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡する過程において、不具合接点の判定にあ
たり、入力信号の立ち上がり命令を考慮して判定を行う
ことを特徴とする請求項2記載のラダープログラム診断
方法。
5. In the step of tracking a contact of a cause from the ladder program and the contact information using the detection signal as a trigger, the cause tracking means determines a defective contact by taking into account a rising command of an input signal. 3. The method for diagnosing a ladder program according to claim 2, wherein:
【請求項6】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡する過程において、不具合接点の判定にあ
たり、a接点のオフの論理と、b接点のオンの論理とを
考慮して判定することを特徴とする請求項2記載のラダ
ープログラム診断方法。
6. A logic for turning off an a contact, a b contact and a b contact in determining a faulty contact in a process in which the cause tracking means tracks a contact of a cause from the ladder program and the contact information by using the detection signal as a trigger. 3. The ladder program diagnosis method according to claim 2, wherein the determination is made in consideration of an ON logic of the ladder program.
【請求項7】前記原因追跡手段で異常原因を追跡する際
の範囲を限定して該限定された範囲において、原因を追
跡することを特徴とする請求項1記載のラダープログラ
ム診断方法。
7. The ladder program diagnosis method according to claim 1, wherein a range when the cause of the abnormality is tracked by the cause tracking means is limited, and the cause is tracked within the limited range.
【請求項8】前記原因追跡手段が、前記検知信号をトリ
ガとして前記ラダープログラムと前記接点情報から原因
の接点を追跡した後に前記表示手段で不具合動作接点を
表示する過程において、不具合接点が検出された場合、
全ての不具合接点の情報を外部出力することを特徴とす
る請求項1記載のラダープログラム診断方法。
8. A process in which said cause tracking means displays a malfunctioning contact on said display means after tracking a cause contact from said ladder program and said contact information using said detection signal as a trigger, and detects a malfunction contact. If
2. The ladder program diagnosis method according to claim 1, wherein information on all faulty contacts is externally output.
【請求項9】不具合接点と、その異常の原因とを診断す
る際に用いるルールをIF〜THENルールとし、該ル
ールによりルールベースを構築することを特徴とする請
求項8記載のラダープログラム診断方法。
9. The ladder program diagnosis method according to claim 8, wherein a rule used when diagnosing the faulty contact point and the cause of the abnormality is an IF to THEN rule, and a rule base is constructed based on the rule. .
【請求項10】不具合接点に対応する不良個所をビジュ
アル化して前記表示手段で表示することを特徴とする請
求項8記載のラダープログラム診断方法。
10. The ladder program diagnosis method according to claim 8, wherein a defective portion corresponding to the defective contact is visualized and displayed on said display means.
【請求項11】検出した結果とルールベースに予め定め
てある診断ルールとに基づいて診断結果を生成し、生成
した診断結果が複数ある場合、優先順位を付けて出力す
ることを特徴とする請求項8記載のラダープログラム診
断方法。
11. A diagnostic result is generated based on a detected result and a diagnostic rule predetermined in a rule base, and when there are a plurality of generated diagnostic results, the diagnostic results are assigned priorities and output. Item 9. The ladder program diagnosis method according to item 8.
【請求項12】前記設備機器がシリンダであって、シリ
ンダ動作のオーバータイムをシリンダの動作終了時に動
作する接点が動作しないことから判断する手段を検知手
段として用いたことを特徴とする請求項1記載のラダー
プログラム診断方法。
12. The apparatus according to claim 1, wherein said equipment is a cylinder, and means for judging the overtime of the cylinder operation based on the fact that a contact operating at the end of operation of the cylinder does not operate is used as detection means. The ladder program diagnostic method described.
【請求項13】前記シーケンサの前記ラダープログラム
と前記接点情報からリアルタイムで異常の原因を診断す
る際に、前記ラダープログラムを命令リストに展開する
ことを特徴する請求項1記載のラダープログラム診断方
法。
13. The ladder program diagnosis method according to claim 1, wherein when diagnosing the cause of the abnormality in real time based on the ladder program of the sequencer and the contact information, the ladder program is developed in an instruction list.
【請求項14】接点のオン状態若しくはオフ状態を2値
の論理値に置き換え、前記ラダープログラムを命令リス
トに展開したときに、該命令リストに接点の状態に対応
して前記論理値を付加して成ることを特徴とする請求項
13記載のラダープログラム診断方法。
14. An on-state or off-state of a contact is replaced with a binary logical value, and when the ladder program is expanded into an instruction list, the logical value is added to the instruction list in accordance with the state of the contact. 14. The method for diagnosing a ladder program according to claim 13, comprising:
【請求項15】接点のオン状態若しくはオフ状態を2値
の論理値に置き換え、ラダープログラムを命令リストに
展開したときに、該命令リストに接点の状態に対応して
前記論理値を付加し、該付加した状態で、ラダープログ
ラムを実行順序とは逆の実行順序の命令リストに展開す
ることを特徴とする請求項13記載のラダープログラム
診断方法。
15. An on-state or off-state of a contact is replaced with a binary logical value, and when the ladder program is expanded into an instruction list, the logical value is added to the instruction list in accordance with the state of the contact, 14. The ladder program diagnosis method according to claim 13, wherein the ladder program is expanded into an instruction list in an execution order opposite to the execution order in the state where the ladder program is added.
【請求項16】前記逆の実行順序の命令リストとして、
出力命令から論理演算開始命令までを一つの単位とし
て、単位毎の命令リストを展開することを特徴とする請
求項15記載のラダープログラム診断方法。
16. The instruction list in the reverse execution order includes:
16. The ladder program diagnosis method according to claim 15, wherein an instruction list for each unit is developed with the output instruction to the logical operation start instruction as one unit.
【請求項17】前記の一つの単位を設備機器のブロック
毎にグループ化して、原因追跡の原因の単位を限定した
ことを特徴とする請求項16記載のラダープログラム診
断方法。
17. The ladder program diagnosis method according to claim 16, wherein said one unit is grouped for each block of equipment and a unit of cause of cause tracking is limited.
【請求項18】前記グループを階層構造としたことを特
徴とする請求項17記載のラダープログラム診断方法。
18. The ladder program diagnosis method according to claim 17, wherein said groups have a hierarchical structure.
【請求項19】前記検知手段は、入出力信号をリアルタ
イムで監視して、特定の出力信号が出力されなかったこ
とを検知したときに検知信号をトリガ信号として原因追
跡手段に与えることを特徴とする請求項1記載のラダー
プログラム診断方法。
19. The detecting means monitors an input / output signal in real time and, when detecting that a specific output signal is not output, supplies the detected signal as a trigger signal to the cause tracking means. The ladder program diagnosis method according to claim 1, wherein
【請求項20】前記検知手段は、設備機器が異常停止し
たことを検知したときに検知信号をトリガ信号として原
因追跡手段に与えることを特徴とする請求項1記載のラ
ダープログラム診断方法。
20. The ladder program diagnosis method according to claim 1, wherein said detecting means supplies a detection signal as a trigger signal to the cause tracking means when detecting that the equipment has stopped abnormally.
【請求項21】前記検知手段は、入出力信号をリアルタ
イムで監視して、特定の出力信号が予め定めた基準パタ
ーンからずれたことを検知したときに検知信号をトリガ
信号として原因追跡手段に与えることを特徴とする請求
項1記載のラダープログラム診断方法。
21. The detecting means monitors an input / output signal in real time and, when detecting that a specific output signal deviates from a predetermined reference pattern, supplies the detection signal to the cause tracking means as a trigger signal. 2. The ladder program diagnosis method according to claim 1, wherein:
【請求項22】原因追跡の実行前にリアルタイムに診断
する対象の設備機器のブロックや診断内容をテスト条件
として設定することを特徴とする請求項1記載のラダー
プログラム診断方法。
22. The ladder program diagnosis method according to claim 1, wherein a block of the equipment to be diagnosed in real time and contents of the diagnosis are set as test conditions before executing the cause tracking.
【請求項23】設備機器の制御中に異常が検知されたと
きに、原因追跡手段に対し対してトリガをかけ診断を実
行する際の内容を1つ若しくは複数選択して設定するこ
とを特徴とする請求項1記載のラダープログラム診断方
法。
23. When an abnormality is detected during control of equipment, one or more contents for executing a diagnosis by triggering the cause tracking means are selected and set. The ladder program diagnosis method according to claim 1, wherein
【請求項24】シーケンサによるシーケンス制御で動作
する設備機器を対象とし、該設備機器が運転中に異常が
発生したときこれを検知する検知手段と、該検知手段の
検知信号をトリガとして異常の原因をラダープログラム
と接点情報とにより追跡する原因追跡手段と、該原因追
跡手段で追跡診断された異常の発生原因及びラダープロ
グラムを記憶する記憶手段と、異常の発生原因を表示す
る表示手段とから成ることを特徴とする設備診断装置。
24. A device for operating equipment which operates by sequence control by a sequencer, which detects when an abnormality occurs during the operation of the equipment, and a cause of the abnormality triggered by a detection signal of the detection means as a trigger. Tracking means for tracking the error by using a ladder program and contact information, a storage means for storing the cause of the abnormality and a ladder program which are tracked and diagnosed by the cause tracking means, and a display means for displaying the cause of the abnormality. A facility diagnostic device characterized by the above-mentioned.
【請求項25】ラダープログラム推論のための不具合接
点診断方法、不具合接点特性方法及び原因追跡方法のア
ルゴリズムと、診断のためのルールからなる知識ベース
とを実装し、前記原因追跡手段は、前記検知手段の検知
信号をトリガとして前記知識ベールのルールと、前記ア
ルゴリズムとに基づいて、ラダープログラムと接点情報
とにより原因追跡と診断を行うことを特徴とする請求項
24記載の設備診断装置。
25. An algorithm of a faulty contact diagnosis method, a faulty contact characteristic method, and a cause tracking method for inferring a ladder program, and a knowledge base comprising rules for diagnosis are mounted. 25. The equipment diagnosis apparatus according to claim 24, wherein a cause tracing and diagnosis are performed by a ladder program and contact information based on the rule of the knowledge veil and the algorithm, using a detection signal of the means as a trigger.
【請求項26】前記アルゴリズム及び知識ベースをシー
ケンサに実装するとともに、シーケンサの演算処理手段
により、前記原因追跡手段、検知手段を構成して成るこ
とを特徴とする請求項25記載の設備診断装置。
26. The equipment diagnosis apparatus according to claim 25, wherein said algorithm and knowledge base are mounted on a sequencer, and said cause tracking means and detection means are constituted by arithmetic processing means of the sequencer.
JP23905399A 1999-08-26 1999-08-26 Method for diagnosing ladder program and equipment diagnostic device Pending JP2001067122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23905399A JP2001067122A (en) 1999-08-26 1999-08-26 Method for diagnosing ladder program and equipment diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23905399A JP2001067122A (en) 1999-08-26 1999-08-26 Method for diagnosing ladder program and equipment diagnostic device

Publications (1)

Publication Number Publication Date
JP2001067122A true JP2001067122A (en) 2001-03-16

Family

ID=17039182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23905399A Pending JP2001067122A (en) 1999-08-26 1999-08-26 Method for diagnosing ladder program and equipment diagnostic device

Country Status (1)

Country Link
JP (1) JP2001067122A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005091098A1 (en) * 2004-03-22 2005-09-29 Digital Electronics Corporation Indicator, program product for functioning computer as indicator, and recording medium with the program product stored therein
JP2007536637A (en) * 2004-05-04 2007-12-13 フィッシャー−ローズマウント・システムズ・インコーポレーテッド Integration of process modules and expert systems in process plants
WO2012099342A3 (en) * 2011-01-20 2012-09-20 주식회사 해피글로벌솔루션 Robot diagnosis system and robot diagnosis method using same
JP2013161380A (en) * 2012-02-08 2013-08-19 Mitsubishi Electric Corp Control logic management device
JP2016170662A (en) * 2015-03-13 2016-09-23 ファナック株式会社 Monitor device having branch circuit extraction display function of ladder program
CN107329465A (en) * 2017-06-19 2017-11-07 上海航天控制技术研究所 A kind of electric steering engine instrument operating condition monitoring method based on Data-Link

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005091098A1 (en) * 2004-03-22 2005-09-29 Digital Electronics Corporation Indicator, program product for functioning computer as indicator, and recording medium with the program product stored therein
JPWO2005091098A1 (en) * 2004-03-22 2008-02-07 株式会社デジタル Display, program product for causing computer to function as display, and recording medium storing program product
KR100850843B1 (en) * 2004-03-22 2008-08-06 가부시끼가이샤 디지탈 A recording medium storing an indicator and a program for causing the computer to function as an indicator
JP4617302B2 (en) * 2004-03-22 2011-01-26 株式会社デジタル Display, program product for causing computer to function as display, and recording medium storing program product
JP2007536637A (en) * 2004-05-04 2007-12-13 フィッシャー−ローズマウント・システムズ・インコーポレーテッド Integration of process modules and expert systems in process plants
JP2013041596A (en) * 2004-05-04 2013-02-28 Fisher Rosemount Systems Inc Integration of process modules and expert systems in process plants
WO2012099342A3 (en) * 2011-01-20 2012-09-20 주식회사 해피글로벌솔루션 Robot diagnosis system and robot diagnosis method using same
JP2013161380A (en) * 2012-02-08 2013-08-19 Mitsubishi Electric Corp Control logic management device
JP2016170662A (en) * 2015-03-13 2016-09-23 ファナック株式会社 Monitor device having branch circuit extraction display function of ladder program
US9766994B2 (en) 2015-03-13 2017-09-19 Fanuc Corporation Monitoring device with function of extracting and displaying branch circuit in ladder program
DE102016104029B4 (en) * 2015-03-13 2019-02-07 Fanuc Corporation Control device with the function of extracting and representing a branch circle in a ladder program
CN107329465A (en) * 2017-06-19 2017-11-07 上海航天控制技术研究所 A kind of electric steering engine instrument operating condition monitoring method based on Data-Link

Similar Documents

Publication Publication Date Title
JP2547069B2 (en) Failure diagnosis method
EP0401816B1 (en) Plant operation supporting method
US5353238A (en) Welding robot diagnostic system and method of use thereof
JPH06266727A (en) Method and equipment for displaying diagnosis
JPH06236207A (en) Method and apparatus for diagnosis of trouble
WO2010064459A1 (en) Operation training system and plant operation supporting system
JP2001067122A (en) Method for diagnosing ladder program and equipment diagnostic device
JP2888436B2 (en) Method and apparatus for testing operating components in a heater
US10899010B2 (en) Cable damage detection assistance apparatus and cable damage detection assistance method in robot mechanism
KR0169808B1 (en) Expert system for fault diagnosis and fault diagnosis method
JP3217648B2 (en) Equipment failure diagnosis device
JP2000358029A (en) Automatic fault diagnostic network system, and automatic fault diagnostic method for network
JP3012297B2 (en) Abnormal event identification method and device
JPH0577143A (en) Failure diagnosis device for automated line
JPS62175060A (en) Automatic trouble diagnosing system of electronic exchange
JP2017173882A (en) Plant operation monitoring control system and plant operation monitoring control method
JP2544927B2 (en) Plant operation support system
JPS63240602A (en) Sequence controller abnormality diagnosis device
JP2006285734A (en) Diagnosis method of control device
SU1738527A1 (en) Method of testing serviceability of mechanisms and units of welding equipment
CN119600765A (en) A method, device, equipment and medium for processing alarm of robot teaching pendant
JP2633378B2 (en) Self-failure occurrence / learning device
KR0136342B1 (en) Inspection adjusting device and its diagnosis method using expert system
JPH05313712A (en) Programmable controller
JPH02281301A (en) Failure diagnosis device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060808

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061205