JPH01109404A - Trouble diagnosis supporting system in sequence controller - Google Patents

Trouble diagnosis supporting system in sequence controller

Info

Publication number
JPH01109404A
JPH01109404A JP62267779A JP26777987A JPH01109404A JP H01109404 A JPH01109404 A JP H01109404A JP 62267779 A JP62267779 A JP 62267779A JP 26777987 A JP26777987 A JP 26777987A JP H01109404 A JPH01109404 A JP H01109404A
Authority
JP
Japan
Prior art keywords
rule
machine tool
operation control
control signal
response signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62267779A
Other languages
Japanese (ja)
Other versions
JPH083726B2 (en
Inventor
Akira Nishizawa
昭 西沢
Hiroshi Hamano
浜野 洋
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP62267779A priority Critical patent/JPH083726B2/en
Publication of JPH01109404A publication Critical patent/JPH01109404A/en
Publication of JPH083726B2 publication Critical patent/JPH083726B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate a cause analysis by extracting a rule including an action control signal or a condition response signal from a prescribed rule group and successively executing a rule extracted. CONSTITUTION:An operation control part 14 includes a CPU 26 to execute a prescribed action command through a sequencer 12 to a machine tool 10 and execute a trouble diagnosis supporting processing and a memory 28 to store a rule group used in a supporting processing. Based on a first rule group corresponding to plural action control signals and a condition response signal sent from the machine tool 10 and a second rule group corresponding to the action control signal and the condition response signal to change after a prescribed time in accordance with this, the CPU 26 extracts the action control signal or the condition response signal related to the troubled place. Thus, when the machine tool 10 is troubled, or becomes an abnormal condition and is stopped, the trouble cause can be easily analyzed by executing successively the first and second rule groups.

Description

【発明の詳細な説明】 し産業上の利用分野] 本発明はシーケンスプログラムによって工作機械等の制
御対象を制御するシーケンス制御装置における故障診断
支援システムに関し、−層詳細には、例えば、工作機械
等の制御対象に対してシーケンスプログラムに従って逐
次動作指令を行った際、当該工作機械等に動作異常や故
障が発生した場合の診断を所定の動作ルールを遡行する
ことで容易に行うことが出来るようにした故障診断支援
システムに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a failure diagnosis support system for a sequence control device that controls a controlled object such as a machine tool using a sequence program. When issuing sequential operation commands to a controlled object according to a sequence program, it is now possible to easily diagnose when an abnormality or failure occurs in the machine tool by tracing back the predetermined operation rules. The present invention relates to a failure diagnosis support system.

[発明の背景] 一般に、工作機械あるいは作業ロボット等の装置では人
員の削減、作動効率の向上環のため、その動作手順をシ
ーケンスプログラムによって設定し、所望の加工機能を
遂行するようにしたシーケンス制御装置が広く利用され
ている。このようなシーケンス制御装置を用いたシステ
ムにおいて、前記シーケンスプログラムはシーケンス制
御装置によって順次解読処理され、制御信号として工作
機械等の制御対象に供給される。
[Background of the Invention] Generally, in order to reduce the number of personnel and improve operating efficiency of equipment such as machine tools or work robots, sequence control is used to set the operating procedure using a sequence program and perform a desired machining function. The device is widely used. In a system using such a sequence control device, the sequence program is sequentially decoded by the sequence control device and supplied as a control signal to a controlled object such as a machine tool.

そして、当該制御対象は前記制御信号に基づいて対応す
る各部が動作し、所定の動作が終了するとリミットスイ
ッチ、センサ等の検出手段から検知信号を発生し、制御
対象の各部の動作遷移状態信号として前記シーケンスに
出力する。
Then, each part of the controlled object operates based on the control signal, and when a predetermined operation is completed, a detection signal is generated from a detection means such as a limit switch or sensor, and this is used as an operation transition state signal of each part of the controlled object. Output to said sequence.

一方、シーケンスは前記検知信号に基づいて制御対象の
各部が前記制御信号に対応して所定の動作を完了したこ
とを検出し、次のシーケンスプログラムステップの処理
を行い、これを順次繰り返して実行することにより当該
制御対象に対して所望の加工機能を遂行するようにして
いる。この場合、このようなシーケンス制御装置を用い
た工作機械等において、工作機械に故障や異常が発生し
停止した場合にはその原因を発見し保持、修理する必要
がある。
On the other hand, the sequence detects, based on the detection signal, that each part to be controlled has completed a predetermined operation in response to the control signal, processes the next sequence program step, and repeats this in sequence. By doing so, a desired processing function is performed on the controlled object. In this case, in a machine tool using such a sequence control device, if a failure or abnormality occurs in the machine tool and it stops, it is necessary to discover the cause, maintain it, and repair it.

ところで、当該工作機械に動作制御するためのシーケン
スプログラムは専門知識を有する設計者やプログラマ−
によって作成される。この場合、制御をフローチャート
等でシーケンシャルに記載可能なシーケンス制御装置等
においては、装置が実行しているプログラムの各ステッ
プを順次追跡していくことによってプログラムの停止個
所を発見し、故障原因を解析することは比較的容易であ
る。然しなから、ランダムロジック型のシーケンス制御
装置では前記の方法を採用することが出来ない、従って
、一般には、設計者やプログラマ−と同等の知識を有す
る作業者にとって制m論理を1つずつ追跡していくこと
により故障原因の解析を行っている。このため、故障や
異常発生時の原因解析は経験を積んだエキスパートでな
ければ対応出来ないという不都合が指摘されている。
By the way, the sequence program for controlling the operation of the machine tool is created by a designer or programmer with specialized knowledge.
Created by In this case, for sequence control devices that can describe control sequentially in a flowchart, etc., by sequentially tracing each step of the program that the device is executing, you can find the point where the program stops and analyze the cause of the failure. It is relatively easy to do so. However, it is not possible to use the above method in random logic type sequence control devices.Therefore, it is generally not possible for operators with the same knowledge as designers and programmers to trace control logic one by one. By doing so, we are analyzing the cause of the failure. For this reason, it has been pointed out that there is a problem in that only experienced experts can analyze the cause of failures or abnormalities.

[発明の目的] 本発明は前記の不都合を克服するためになされたもので
あって、工作機械等の制御対象の故障、異常発生時にお
いて専門知識を有するエキスパートによることなく、一
般の作業者による原因解析を容易に行うことの出来るシ
ーケンス制御装置における故障診断支援システムを提供
することを目的とする。
[Purpose of the Invention] The present invention has been made to overcome the above-mentioned disadvantages, and when a failure or abnormality occurs in a controlled object such as a machine tool, it can be easily handled by a general worker without the need of an expert with specialized knowledge. It is an object of the present invention to provide a failure diagnosis support system for a sequence control device that allows easy cause analysis.

[目的を達成するための手段] 前記の目的を達成するために、本発明はシーケンスプロ
グラムに従って制御対象を動作制御するシーケンス制御
装置における故障診断支援システムであって、前記制御
対象を構成する複数の操作単位に対して出力される複数
の動作制御信号と前記動作制御信号に基づき該当する操
作単位から送出される状態応答信号とを対応付ける第1
のルール群と、前記動作制御信号と該動作制御信号に応
じて所定時間後に変化すべき操作単位からの状態応答信
号とを対応付ける第2のルール群と、前記動作制御信号
または状態応答信号の指定により前記・第1および第2
ルール群゛から当該動作制御信号または状態応答信号を
含むルールを抽出する抽出手段とを備え、前記抽出され
るルールを順次遡行することで故障原因の推論を支援し
得るようにしたことを特徴とする。
[Means for Achieving the Object] In order to achieve the above-mentioned object, the present invention provides a failure diagnosis support system for a sequence control device that controls the operation of a controlled object according to a sequence program. A first method for associating a plurality of operation control signals outputted to the operation unit with a status response signal sent from the corresponding operation unit based on the operation control signal.
a second rule group that associates the operation control signal with a state response signal from an operation unit that should change after a predetermined period of time according to the operation control signal, and designation of the operation control signal or the state response signal. According to the above-mentioned first and second
and extraction means for extracting a rule including the operation control signal or status response signal from the rule group, and by sequentially tracing back the extracted rules, it is possible to support inference of the cause of failure. do.

[実施態様] 次に、本発明に係るシーケンス制御装置における故障診
断支援システムについて好適な実施態様を挙げ、添付の
図面を参照しながら以下詳細に説明する。
[Embodiments] Next, preferred embodiments of the failure diagnosis support system for a sequence control device according to the present invention will be described in detail with reference to the accompanying drawings.

近年、知識工学の発達によりある因果関係をr if 
A then BJ  (若し、Aが真ならばBもまた
真である)とルール化してデータベースに蓄積し、各種
の推論に用いるエキスパートシステムや人工知能の開発
が進められている。一方、最近のシーケンス制御装置の
進歩により、ある時点での入出力の状態、すなわち、シ
ーケンス制御装置から制御対象を構成する各操作単位へ
の動作制御信号や各操作単位の動作状態を示す状態応答
信号等の状態をモニタすることが可能となっている。
In recent years, due to the development of knowledge engineering, certain causal relationships have been
A then BJ (if A is true, then B is also true) is converted into a rule and stored in a database, and expert systems and artificial intelligence are being developed for use in various inferences. On the other hand, with recent advances in sequence control devices, the state of input and output at a certain point in time, that is, the operation control signal from the sequence control device to each operation unit that makes up the controlled object, and the status response that indicates the operation state of each operation unit. It is possible to monitor the status of signals, etc.

本発明に係る故障診断支援システムは、前述したエキス
パートシステムにおけるルール化の手法を用いたもので
あって前記の動作制御信号と状態応答信号とを対応付け
てルール化し、推論の支援をするようにしたものである
The fault diagnosis support system according to the present invention uses the above-described method of forming rules in the expert system, and supports inference by associating the above-mentioned operation control signals and status response signals and forming rules. This is what I did.

第1図は本実施態様に係る故障診断支援システムが適用
されるシーケンス制御装置を用いたシステムの全体構成
図である。この場合、当該システムはワークに対して所
定の作業を行う工作機械10と、設計者、プログラマ−
等によって作成されたシーケンスプログラムに基づいて
前記工作機械10の動作制御を行うシーケンサ12と、
シーケンサ12を介して工作機械IOを動作させること
によりシーケンスプログラムを作成する操作制御部14
とから基本的に構成される。なお、工作機械10とシー
ケンサ12との間およびシーケンサ12と操作制御部1
4との間はインタフェース16および18によって接続
される。
FIG. 1 is an overall configuration diagram of a system using a sequence control device to which a failure diagnosis support system according to the present embodiment is applied. In this case, the system includes a machine tool 10 that performs a predetermined operation on a workpiece, a designer, a programmer, etc.
a sequencer 12 that controls the operation of the machine tool 10 based on a sequence program created by, etc.;
An operation control unit 14 that creates a sequence program by operating the machine tool IO via the sequencer 12
It basically consists of. Note that between the machine tool 10 and the sequencer 12 and between the sequencer 12 and the operation control unit 1
4 are connected by interfaces 16 and 18.

シーケンサ12はシーケンスプログラムの格納されるメ
モリ20と、前記シーケンスプログラムを順次処理する
CPU22と、シーケンスプログラムに基づく動作制御
信号をインタフェース16を介して工作機械10に転送
すると共に前記動作制御信号による工作機械10の遷移
状態、すなわち、状態応答信号をCPU22に転送する
I10ボート24とを含む。
The sequencer 12 includes a memory 20 in which a sequence program is stored, a CPU 22 that sequentially processes the sequence program, and an interface 16 that transfers operation control signals based on the sequence program to the machine tool 10 and controls the machine tool according to the operation control signal. 10 transition states, an I10 port 24 that forwards state response signals to the CPU 22.

操作制御部14はシーケンサ12を介して工作機械10
に所定の動作指令を行うと共に前記動作指令に対応した
工作機械10の遷移状態を読み込み、後述する故障診断
支援処理を行うCPU26と、該支援処理において使用
される後述のルール群を格納するメモリ28と、工作機
械10への動作制御信号および工作機械10の遷移状態
を示す状態応答信号を授受するI10ポート30とを含
む。
The operation control unit 14 controls the machine tool 10 via the sequencer 12.
A CPU 26 that issues a predetermined operation command to the machine tool 10 and reads the transition state of the machine tool 10 corresponding to the operation command, and performs a failure diagnosis support process to be described later, and a memory 28 that stores a group of rules to be described later used in the support process. and an I10 port 30 for transmitting and receiving operation control signals to the machine tool 10 and status response signals indicating transition states of the machine tool 10.

この場合、メモリ28には、後述するように、動作制御
信号によって駆動される工作機械10の各種アクチュエ
ータ等の操作単位と、前記アクチュエータが所定の動作
を行ったことを検知するリミットスイッチ等の状態検知
手段からの状態応答信号とを関係付けたルール群が格納
される。
In this case, as will be described later, the memory 28 stores operation units such as various actuators of the machine tool 10 driven by operation control signals, and the status of limit switches etc. that detect when the actuators have performed a predetermined operation. A group of rules that are associated with the status response signal from the detection means are stored.

I10ポート30にはインタフェース32を介してデイ
スプレィ34およびキーボード36が接続されており、
このキーボード36を介して故障診断支援システムある
いは工作機械10に対する動作指令が行われ、デイスプ
レィ34を介して工作機械10の状態をモニタすること
が出来る。
A display 34 and a keyboard 36 are connected to the I10 port 30 via an interface 32.
Via this keyboard 36, operation commands are given to the failure diagnosis support system or the machine tool 10, and the status of the machine tool 10 can be monitored through the display 34.

一方、工作機械10は、例えば、第2図に示すように構
成される。すなわち、この工作機械10はワークWに対
してドリル38を用いて孔明は加工を行うものであり、
加工部40および被加工部42から基本的に構成される
。加工部40ではベース44上にドリル38をワークW
に指向して変位する送り用モータ46が固定される。こ
の場合、送り用モータ46の駆動軸48には被加工部4
2に指向して延在するボール螺子50が一体的に取着さ
れ、このボール螺子50に移動テーブル52が螺着する
On the other hand, the machine tool 10 is configured as shown in FIG. 2, for example. That is, this machine tool 10 performs drilling on the workpiece W using the drill 38,
It basically consists of a processing section 40 and a processed section 42. In the machining section 40, the drill 38 is placed on the base 44.
A feed motor 46 that is displaced in the direction is fixed. In this case, the drive shaft 48 of the feed motor 46 has the workpiece 4
A ball screw 50 extending toward 2 is integrally attached, and a moving table 52 is screwed onto this ball screw 50.

前記移動テーブル52にはドリル38の回転軸54を支
持するスピンドルユニット56が取着され、このスピン
ドルユニット56には前記回転軸54を駆動する駆動用
モータ58が装着される。なお、駆動用モータ58の駆
動軸60とスピンドルユニット56に支持される回転軸
54とはプーリ62および64を介してベルト66によ
り連結される。ここで、移動テーブル52の位置はボー
ル螺子50に沿って配設される3つのリミットスイッチ
LSI、LS2およびLS3によって検出される。すな
わち、リミットスイッチLSIは移動テーブル52がド
リル38の切削開始点にあることを検出する。
A spindle unit 56 that supports the rotating shaft 54 of the drill 38 is attached to the moving table 52, and a driving motor 58 that drives the rotating shaft 54 is attached to this spindle unit 56. The drive shaft 60 of the drive motor 58 and the rotating shaft 54 supported by the spindle unit 56 are connected by a belt 66 via pulleys 62 and 64. Here, the position of the moving table 52 is detected by three limit switches LSI, LS2, and LS3 arranged along the ball screw 50. That is, the limit switch LSI detects that the movable table 52 is at the cutting start point of the drill 38.

また、リミットスイッチLS3は移動テーブル52が前
進端にあることを検出する。
Further, the limit switch LS3 detects that the moving table 52 is at the forward end.

被加工部42ではベース68上にワーク取付台70が固
着され、このワーク取付台70にはクランプ治具72に
よってワークWが位置決め固定される。
In the workpiece portion 42 , a workpiece mount 70 is fixed onto a base 68 , and a workpiece W is positioned and fixed to the workpiece mount 70 by a clamp jig 72 .

すなわち、クランプ治具72はワーク取付台70に固着
されるクランプ用シリンダ74と、クランプ用シリンダ
74のシリンダロッド76に一端部が軸着し中間部がワ
ーク取付台70に固定された支持部材78により軸支さ
れるクランプ部材80とからなり、前記クランプ部材8
0の他端部によってワークWが位置決め固定される。こ
の場合、クランプ治具72によるワークWのクランプ状
態およびアンクランプ状態は2つのリミットスイッチL
S4およびLS5によって夫々検出される。
That is, the clamp jig 72 includes a clamp cylinder 74 fixed to the workpiece mount 70 and a support member 78 whose one end is pivoted to the cylinder rod 76 of the clamp cylinder 74 and whose middle part is fixed to the workpiece mount 70. and a clamp member 80 pivotally supported by the clamp member 8.
The workpiece W is positioned and fixed by the other end of the workpiece W. In this case, the clamping state and unclamping state of the work W by the clamp jig 72 are determined by the two limit switches L.
Detected by S4 and LS5, respectively.

なお、ベース68には切削油82を貯留するタンク84
が載置されており、前記切削油82は切削油供給用モー
タ86によって駆動されるポンプ88により管路90を
介してワークWに供給される。
Note that the base 68 includes a tank 84 for storing cutting oil 82.
is mounted, and the cutting oil 82 is supplied to the workpiece W via a pipe line 90 by a pump 88 driven by a cutting oil supply motor 86.

本実施態様に係る故障診断支援システムが適用されるシ
ーケンス制御装置を用いたシステムは基本的には以上の
ように構成されるものであり、その作用並びに効果につ
いて説明する。
A system using a sequence control device to which the failure diagnosis support system according to the present embodiment is applied is basically configured as described above, and its operation and effects will be explained.

ここで、工作機械10を動作制御するためのシーケンス
プログラムは設計者によって、第3図に示すタイムチャ
ートとして設定され、このタイムチャートに基づいてプ
ログラマ−がリレシンボル等を用いたラダーダイヤグラ
ムを作成した後、シーケンサの翻訳プログラムにより該
ラダーダイヤグラムから論理条件式を求めて作成される
Here, the sequence program for controlling the operation of the machine tool 10 is set by the designer as a time chart shown in FIG. 3, and after the programmer creates a ladder diagram using relay symbols etc. based on this time chart. , a logical conditional expression is determined and created from the ladder diagram by a translation program of the sequencer.

第3図のタイムチャートの場合、工作機械10はシーケ
ンスプログラムが起動されると、先ず、クランプ治具7
2がワークWをクランプし、加工部40における移動テ
ーブル52が後退端から切削開始点まで前進する0次に
、駆動用モータ58が駆動されてドリル38が回転する
と共に切削油82がワークWに供給され、切削作業が開
始される。
In the case of the time chart in FIG. 3, when the sequence program is started, the machine tool 10 first starts with the clamp jig 7.
2 clamps the workpiece W, and the moving table 52 in the machining section 40 moves forward from the retreat end to the cutting start point.Next, the drive motor 58 is driven to rotate the drill 38 and the cutting oil 82 is applied to the workpiece W. It is supplied and the cutting operation begins.

移動テーブル52が前進端まで移動するとドリル38の
回転および切削油82の供給が停止し、その後、移動テ
ーブル52が後退端まで移動する。最後に、クランプ治
具72がアンクランプ状態となって一連の動作が終了す
る。
When the moving table 52 moves to the forward end, the rotation of the drill 38 and the supply of cutting oil 82 are stopped, and then the moving table 52 moves to the backward end. Finally, the clamp jig 72 becomes unclamped, and the series of operations ends.

上記の動作において、工作機械を構成するクランプ用シ
リンダ74、移動テーブル52の送り用モータ46、ド
リル3Bの駆動用モータ58、切削油供給用モータ等の
各操作単位に対してシーケンサ12からシーケンスプロ
グラムに基づいて送出される動作制御信号と、これらの
動作制御信号によって各操作単位が所定の動作を行い予
定の遷移状態となったことをシーケンサ12に応答する
状態応答信号との対応関係は第4図に示す如くになる。
In the above operation, the sequence program is sent from the sequencer 12 to each operation unit such as the clamp cylinder 74, the feed motor 46 of the moving table 52, the drive motor 58 of the drill 3B, and the cutting oil supply motor that make up the machine tool. The correspondence relationship between the operation control signals sent out based on the operation control signals and the state response signal that responds to the sequencer 12 indicating that each operation unit has performed a predetermined operation according to these operation control signals and entered the planned transition state is as follows. The result will be as shown in the figure.

次に、第3図のタイムチャートにおいて説明した工作機
械lOの動作をシーケンサ12から工作機械lOの各操
作単位に対する動作制御信号と各操作単位が動作した際
の状態応答信号との関係で説明する。すなわち、第4図
に示すように、シーケンスプログラムが起動され、クラ
ンプ用シリンダ74に対して動作制御信号Y2がシーケ
ンサ12から送出されると、クランプ用シリンダ74が
ワークWをクランプし、リミットスイッチLS4により
状態応答信号X8が発生されシーケンサ12に転送され
る。シーケンサ12はこの状態応答信号X−を確認した
後、次に動作されるべき移動テーブル52の送り用モー
タ46に対する動作制御信号Ys(非切削の前進)を出
力する。
Next, the operation of the machine tool IO explained in the time chart of FIG. 3 will be explained in terms of the relationship between the operation control signal for each operation unit of the machine tool IO from the sequencer 12 and the state response signal when each operation unit operates. . That is, as shown in FIG. 4, when the sequence program is started and the operation control signal Y2 is sent from the sequencer 12 to the clamping cylinder 74, the clamping cylinder 74 clamps the workpiece W and the limit switch LS4 is activated. A status response signal X8 is generated and transferred to the sequencer 12. After confirming the status response signal X-, the sequencer 12 outputs an operation control signal Ys (advance without cutting) to the feed motor 46 of the moving table 52 to be operated next.

移動テーブル52が切削開始位置に達するとリミットス
イッチLS2より状態応答信号Xsがシーケンサ12に
転送される。以下同様に第3図のタイムチャートに示さ
れる順序で動作制御が行われる。
When the moving table 52 reaches the cutting start position, the limit switch LS2 transfers the status response signal Xs to the sequencer 12. Thereafter, the operation control is similarly performed in the order shown in the time chart of FIG.

ここで、動作制御信号Yt(i=1.2、・・・)と状
態応答信号X五との関係は操作単位からの状態応答信号
XLに対してその原因となる動作制御信号Y+ という
関係にあり、この因果関係はr if Xムthen 
 Y五」というルールで表現することが出来る。この関
係を全ての制御論理についてルール化し第1のルール群
として操作制御部14のメモリ28に格納しておく。
Here, the relationship between the operation control signal Yt (i=1.2, . . . ) and the status response signal Yes, this causal relationship is r if X then
It can be expressed using the rule "Y5". This relationship is made into rules for all control logics and stored in the memory 28 of the operation control unit 14 as a first rule group.

一方、動作制御信号Ytに対して工作機械10がどのよ
うな状態でどの程度の時間で変化するか、すなわち、ど
の操作単位からどのような状態応答信号X i * 1
が得られるかを示す因果関係は’ if Y= the
n  Xt+1 Jというルールで表現することが出来
る。この関係を全ての制御論理についてルール化し、第
2のルール群として第1のルール群と同様にメモリ28
に格納しておく。
On the other hand, what state and how much time does the machine tool 10 change in response to the operation control signal Yt, that is, what state response signal X i * 1 is generated from what unit of operation?
The causal relationship showing whether is obtained is ' if Y= the
It can be expressed using the rule n Xt+1 J. This relationship is made into a rule for all control logic, and as a second rule group, the memory 28
Store it in

そこで、ある状態で工作機械lOが故障し停止した場合
、操作制御部14はシーケンサ12からの動作制御信号
Y1と工作機械10からの状態応答信号Xiをモニタす
ることが出来る。この場合、例えば、デイスプレィ34
、キーボード36からある動作制御信号Y、が何故送出
されないかの問い合わせをする。
Therefore, if the machine tool IO fails and stops in a certain state, the operation control section 14 can monitor the operation control signal Y1 from the sequencer 12 and the status response signal Xi from the machine tool 10. In this case, for example, the display 34
, an inquiry is made as to why a certain operation control signal Y is not sent from the keyboard 36.

CP U26はこの問い合わせに基づいてメモリ28を
検索し、第1のルール群からYムを含むルールを抽出す
る0次いで抽出された各ルール群の状態応答信号Xiに
ついてモニタしているXiと比較し、状態応答信号Xi
が不成立のものを抽出する。そして、CPU26は前記
抽出されたX直に対してメモリ28を検索し、第2のル
ール群にXlを含むルールを抽出する。さらに、抽出さ
れた前記各ルールに含まれている新たな動作制御信号Y
、、をモニタにより確認する。上記の各ステップを繰り
返し第1および第2ルール群を順次遡行して故障原因を
推論していく。
Based on this inquiry, the CPU 26 searches the memory 28 and extracts the rule containing Y from the first rule group.The CPU 26 then compares the status response signal Xi of each extracted rule group with the monitored Xi. , state response signal Xi
Extract those for which is not true. Then, the CPU 26 searches the memory 28 for the extracted X direct, and extracts a rule that includes Xl in the second rule group. Furthermore, a new operation control signal Y included in each of the extracted rules is added.
, , are confirmed on the monitor. The above steps are repeated and the first and second rule groups are sequentially traced back to infer the cause of the failure.

第5図は、第3図のタイムチャートに示された工作機械
10の動作シーケンスと、第1ルール群および第2ルー
ル群とを第4図に示す動作制御信号Yi、状態応答信号
XIによって示した図である。第5図において、シーケ
ンス12は状態応答信号X、があると動作制御信号Y2
が発生され、次いで、その応答として状態応答信号X2
が発生されるというように順次進行する。
FIG. 5 shows the operation sequence of the machine tool 10 shown in the time chart of FIG. 3 and the first rule group and second rule group using the operation control signal Yi and the status response signal XI shown in FIG. This is a diagram. In FIG. 5, sequence 12 is a status response signal X, and when there is an operation control signal Y2.
is generated, and then in response a status response signal X2
is generated, and so on.

なお、第1ルール群および第2ルール群は夫々rif 
X1then  Y1+ if  Y、then  X
1*1 Jなる前述の因果関係を表したものである。
Note that the first rule group and the second rule group are each rif
X1then Y1+ if Y, then X
1*1J represents the above-mentioned causal relationship.

例えば、リミットスイッチLS4が故障して状態応答信
号X2が発生していないと仮定した場合、操作者は操作
制御部14に対して動作制御信号Y4がない理由の問い
合わせを行う。そこで、CPU26は第1ルール群より
Y4を含むルールを抽出する。この場合、X、かないた
めであることが判る。次に、第2ルール群よりこのX4
を含むルールを抽出し、X4がないのはY。
For example, if it is assumed that the limit switch LS4 has failed and the status response signal X2 is not generated, the operator inquires of the operation control unit 14 as to why the operation control signal Y4 is not present. Therefore, the CPU 26 extracts a rule including Y4 from the first rule group. In this case, it can be seen that this is because X does not exist. Next, from the second rule group, this
Extract the rules that include , and if there is no X4, it is Y.

かないためであることが判る。さらに、第1ルール群よ
りY3を含むルールを抽出し、Y、がないのはX、かな
いためであることが判る。次に、第2ルール群よりX、
を含むルールを抽出し、X3がないのはY8がないため
であることが判り、さらに、第1ルール群よりY2を含
むルールを抽出すると、YzがないのはX2がないため
であることが判る。このように第1および第2ルール群
を順次繰り返して遡行していくことによってリミットス
イッチLS4が故障して状態応答信号X2が発生してい
ないために工作機械10が停止したことを推論すること
が出来る。
It turns out that this is because it is not possible. Furthermore, a rule containing Y3 is extracted from the first rule group, and it is found that the reason why Y is absent is because X is not valid. Next, from the second rule group,
By extracting the rules that include Y2, we find that the reason why there is no X3 is because there is no Y8. Furthermore, when we extract the rules that include Y2 from the first rule group, we find that the reason that there is no Yz is because there is no X2. I understand. In this way, by sequentially repeating the first and second rule groups and going back, it is possible to infer that the machine tool 10 has stopped because the limit switch LS4 has failed and the status response signal X2 has not been generated. I can do it.

[発明の効果コ 以上説明したように、本発明に係る故障診断支援システ
ムは、被制御対象の操作単位に与えられる複数の動作制
御信号と操作単位から送出される状態応答信号とを対応
付ける第1ルール群と、前記動作制御信号と該動作制御
信号に応じて所定時間後に変化すべき操作単位からの状
態応答信号とを対応付ける第2のルール群とに基づいて
故障個所に係る動作制御信号まはた状態応答信号を自動
的に抽出するように構成している。そのため、制御対象
である工作機械が故障あるいは異常状態となって停止し
た場合、前記第1および第2ルール群を順次遡行するこ
とにより特別に経験を積んだ専門知識を有するエキスパ
ートによることな(容易に故障原因を解析することが可
能となる。
[Effects of the Invention] As explained above, the fault diagnosis support system according to the present invention provides a first system for associating a plurality of operation control signals given to an operation unit of a controlled object with a status response signal sent from the operation unit. Based on a rule group and a second rule group that associates the operation control signal with a status response signal from an operation unit that should change after a predetermined time according to the operation control signal, the operation control signal or the operation control signal related to the failure location is determined. The system is configured to automatically extract state response signals. Therefore, when the machine tool to be controlled stops due to a failure or abnormal condition, it is possible to trace back the first and second rule groups in order to prevent it from being handled by an expert with special experience. This makes it possible to analyze the cause of failure.

以上、本発明について好適な実施態様を挙げて説明した
が、本発明はこの実施態様に限定されるものではなく、
本発明の要旨を逸脱しない範囲において種々の改良並び
に設計の変更が可能なことは勿論である。
Although the present invention has been described above with reference to preferred embodiments, the present invention is not limited to these embodiments.
Of course, various improvements and changes in design are possible without departing from the gist of the present invention.

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

第1図は本発明に係る故障診断支援システムが適用され
るシーケンス制御装置を用いたシステムの全体構成図、 第2図は本発明に係る故障診断支援システムが適用され
る工作機械の構成図、 第3図は第2図に示す工作機械の動作手順を示すタイム
チャート、 第4図はシーケンサと工作機械の各操作単位との間の各
信号の関係説明図、 第5図は第3図のタイムチャートで示すシーケンスと第
1および第2ルール群との関係説明図である。 10・・・工作機械    12・・・シーケンサ14
・・・操作制御部   16、・□・18・・・インタ
フェース20・・・メモリ      22・・・CP
U24・・司10ボート26・・・cpu28・・・メ
、モリ      30・・・I10ポート34・・・
デイスプレィ  36・・・キーボード38・・・ドリ
ル     40・・・加工部42・・・被加工部  
  W・・・ワークLSI〜LS5・・・リミットスイ
ッチFIG、5
FIG. 1 is an overall configuration diagram of a system using a sequence control device to which a failure diagnosis support system according to the present invention is applied; FIG. 2 is a configuration diagram of a machine tool to which a failure diagnosis support system according to the present invention is applied; Figure 3 is a time chart showing the operating procedure of the machine tool shown in Figure 2, Figure 4 is an explanatory diagram of the relationship of each signal between the sequencer and each operation unit of the machine tool, and Figure 5 is the same as in Figure 3. FIG. 2 is an explanatory diagram of the relationship between a sequence shown in a time chart and first and second rule groups. 10...Machine tool 12...Sequencer 14
...Operation control unit 16, □, 18...Interface 20...Memory 22...CP
U24... Tsukasa 10 boat 26... cpu28... memory 30... I10 port 34...
Display 36...Keyboard 38...Drill 40...Machining section 42...Working part
W...Work LSI~LS5...Limit switch FIG, 5

Claims (1)

【特許請求の範囲】[Claims] (1)シーケンスプログラムに従って制御対象を動作制
御するシーケンス制御装置における故障診断支援システ
ムであって、前記制御対象を構成する複数の操作単位に
対して出力される複数の動作制御信号と前記動作制御信
号に基づき該当する操作単位から送出される状態応答信
号とを対応付ける第1のルール群と、前記動作制御信号
と該動作制御信号に応じて所定時間後に変化すべき操作
単位からの状態応答信号とを対応付ける第2のルール群
と、前記動作制御信号または状態応答信号の指定により
前記第1および第2ルール群から当該動作制御信号また
は状態応答信号を含むルールを抽出する抽出手段とを備
え、前記抽出されるルールを順次遡行することで故障原
因の推論を支援し得るようにしたことを特徴とするシー
ケンス制御装置における故障診断支援システム。
(1) A failure diagnosis support system for a sequence control device that controls the operation of a controlled object according to a sequence program, wherein a plurality of operation control signals output to a plurality of operation units forming the control object and the operation control signal a first rule group that associates the state response signal sent from the corresponding operation unit based on the operation control signal, and the state response signal from the operation unit that should change after a predetermined time according to the operation control signal and the operation control signal. a second rule group to be associated with each other; and an extraction means for extracting a rule including the operation control signal or the status response signal from the first and second rule groups based on the specification of the operation control signal or the status response signal, 1. A failure diagnosis support system for a sequence control device, characterized in that it can support inference of a cause of a failure by sequentially going back through the rules.
JP62267779A 1987-10-22 1987-10-22 Failure diagnosis support system in sequence control device Expired - Fee Related JPH083726B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62267779A JPH083726B2 (en) 1987-10-22 1987-10-22 Failure diagnosis support system in sequence control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62267779A JPH083726B2 (en) 1987-10-22 1987-10-22 Failure diagnosis support system in sequence control device

Publications (2)

Publication Number Publication Date
JPH01109404A true JPH01109404A (en) 1989-04-26
JPH083726B2 JPH083726B2 (en) 1996-01-17

Family

ID=17449464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62267779A Expired - Fee Related JPH083726B2 (en) 1987-10-22 1987-10-22 Failure diagnosis support system in sequence control device

Country Status (1)

Country Link
JP (1) JPH083726B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260902A (en) * 1991-01-24 1992-09-16 Mitsubishi Electric Corp Device for diagnosing failure
CN102902211A (en) * 2012-09-28 2013-01-30 烟台宝钢钢管有限责任公司 Method for preventing malfunction of emergency stop and quick stop signals in control system
CN113424115A (en) * 2019-02-14 2021-09-21 三菱电机株式会社 Control system, programmable logic controller, method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260902A (en) * 1991-01-24 1992-09-16 Mitsubishi Electric Corp Device for diagnosing failure
CN102902211A (en) * 2012-09-28 2013-01-30 烟台宝钢钢管有限责任公司 Method for preventing malfunction of emergency stop and quick stop signals in control system
CN113424115A (en) * 2019-02-14 2021-09-21 三菱电机株式会社 Control system, programmable logic controller, method, and program

Also Published As

Publication number Publication date
JPH083726B2 (en) 1996-01-17

Similar Documents

Publication Publication Date Title
US6202003B1 (en) Numerically controlled machine tool and method
EP0662662B1 (en) Computer system
US20130006391A1 (en) Block execution sequence display system
CN103386685A (en) Robot programming control method
JP2003271215A (en) Method and device for checking machining program of nc machine tool, as well as nc machine tool equipped therewith
JP2018512630A (en) How to monitor machine tools
JPH01109404A (en) Trouble diagnosis supporting system in sequence controller
CN116820034B (en) Shaft mode switching method and device and related equipment
EP0428950B1 (en) Motor driving control apparatus
JPH08263113A (en) Abnormality processing control unit
JPH06202723A (en) Numerically controlled machine tool
CN210818418U (en) Numerical control drilling machine execution system
JPH033786A (en) Control method for manipulator
JPH0288139A (en) Exchanging device for tool
JPH01100603A (en) Sequence program generation supporting system for sequence controller
JP3180805B2 (en) Numerically controlled machine tools
JPH01116803A (en) Sequence program generating method
JP3700528B2 (en) Device that displays a ladder circuit when an abnormality occurs in a programmable controller
JP7256931B1 (en) Numerical Control Systems, Numerical Control Devices, Industrial Devices and Computer Programs
JP7464726B2 (en) Control device
JP7355965B1 (en) Numerical control device and numerical control system
JP2559044B2 (en) Programmable controller system
JPH02151909A (en) Control device for industrial machine
JPH0195304A (en) Method for generating sequence program
Tay Contingency management in flexible manufacturing systems using modal state logic

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees