JPS6255712A - Method for diagnosing trouble of machine - Google Patents

Method for diagnosing trouble of machine

Info

Publication number
JPS6255712A
JPS6255712A JP60194702A JP19470285A JPS6255712A JP S6255712 A JPS6255712 A JP S6255712A JP 60194702 A JP60194702 A JP 60194702A JP 19470285 A JP19470285 A JP 19470285A JP S6255712 A JPS6255712 A JP S6255712A
Authority
JP
Japan
Prior art keywords
machine
input
sequence
control device
sequence control
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
JP60194702A
Other languages
Japanese (ja)
Inventor
Tadamasa Yamada
山田 忠正
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.)
Niigata Engineering Co Ltd
Original Assignee
Niigata Engineering 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 Niigata Engineering Co Ltd filed Critical Niigata Engineering Co Ltd
Priority to JP60194702A priority Critical patent/JPS6255712A/en
Publication of JPS6255712A publication Critical patent/JPS6255712A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect quickly and completely the factor of a trouble when the working of a machine is stopped and to improve the working efficiency of the machine, by collating a logic equation stored in a diagnosis data area with the input/output state of a sequence controller and discriminate each working element or the state of a detector to detect the trouble area. CONSTITUTION:A sequence controller PC reads a trouble diagnosis logic equa tion LG having equation number (N=1) out of those equations LG stored in the trouble diagnosis data area of a data storing part 2. Then the controller PC refer to the input/output state table of a table part 3 to check whether or not both right and left members of the equation LG are satisfied. The equa tion number N receives +1 in the trouble diagnosis data area and the next equation LG is checked in case the left member is not satisfied and both right an left members are satisfied respectively. Then the abnormal states of both output and input elements OUT and IN of the equation LG are displayed on a display control panel 4 when the right member is not satisfied although the left member is satisfied.

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、シーケンス制御装置の指令によってシーケン
ス動作する機械の故障診断を行なう故障診断方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a fault diagnosis method for diagnosing a fault in a machine that operates in sequence according to commands from a sequence control device.

「従来の技術」 一般に、この柚のシーケンス動作をする機械にあっては
、第7図に示すように、シーケンス制御装置PCK対し
て、外部から開始指令5TART(例えば、押釦スイッ
チや数値制御装置からのファンクション命令、その他ワ
ーク搬入信号等)が入力されると、その時の他の作動要
素の状況との関連を示す論理(シーケンス動作用の論理
式で表わされる)SLYが判別され、この論理式SLI
が成立した時に、制御対象である機械MAK対してシー
ケンス制御装置M、pcから指令出力OUT 1が送出
され【、この指令出力0UTIK対応した作動要素(例
えば、シリンダ)Alが動作し、次いでこの作動製素人
1に付設したセンサー(例えは、りきットスイッチ)が
次段の作動1lA2の動作用の入力INIになることに
よって、順次、各作動要素AI、A2が連続して動作し
、一連の機械動作が行なわれるようになっている。そし
て、通常、シーケンス動作をする機械の制御回路を設計
する場合には、タイムチャート(各作動要素の動作順序
、及び各作動要素間の関連を示す)図から、上記シーケ
ンス動作用の各論理式SLI、SL2、SL3を設計し
、これらの論理式S L 1 、 SL2、SL3をつ
なげることで機械がシーケンス制御される。この場合、
各作動要素AI、A2あるいはこれらに付設されたセン
サー等が正常であれば、各作動要素AI、A2に対する
指令出力0UT1.0UT2に対応して、各入力INI
、IN2がシーケンス制御装置PCK取シ込まれること
になり、しかも各作動41索Al、A2どうしは、直接
関連がなく、別個にシーケンス制御装置PCの指令によ
シ作動せしめられている。
"Prior Art" Generally, in a machine that performs this sequence operation, as shown in FIG. When a function command, other workpiece loading signal, etc.) is input, a logic (expressed by a logical formula for sequence operation) SLY indicating the relationship with the status of other operating elements at that time is determined, and this logical formula SLI
When this is established, a command output OUT 1 is sent from the sequence control device M, PC to the machine MAK, which is the controlled object, [and the operating element (for example, cylinder) Al corresponding to this command output 0UTIK operates, and then this operation When the sensor (for example, a cut switch) attached to the manufacturer 1 becomes the input INI for the operation of the next stage of operation 11A2, each of the operation elements AI and A2 operate in sequence, resulting in a series of mechanical operations. is now being carried out. Usually, when designing a control circuit for a machine that operates in sequence, each logical formula for the sequence operation is determined from a time chart (indicating the operating order of each operating element and the relationship between each operating element). The machine is sequence-controlled by designing SLI, SL2, and SL3 and connecting these logical expressions S L 1 , SL2, and SL3. in this case,
If each operating element AI, A2 or the sensor attached to these is normal, each input INI corresponds to the command output 0UT1.0UT2 for each operating element AI, A2.
, IN2 are input to the sequence control device PCK, and the actuation lines Al and A2 are not directly related to each other and are operated separately according to commands from the sequence control device PC.

「発明が解決しようとする問題点」 ところで、上記シーケンス動作をする機械は、大型化し
、複雑化する傾向にアシ、これにつれて、該機械に故障
が発生した場合の保守作業に多大な労力と時間を必要と
し、かつダウンタイム(故障等圧よって機械が稼動を停
止してから修理調整が完了して、再び稼動が可能になる
までの休止時間)が増大するため稼動時間の低下を招く
という問題がある。このため、従来から、定期点検や使
用時間によシ機械の部品を交換するなどして、上記機 
   械の故障を未然に防止しようとしてきたが、例え
ば、リミットスイッチ、電磁弁のソレノイド等、工作機
掴め制御に使用される電気部品は、切粉やクーラント油
などに接するような悪い環境下で使用されることが多く
、定期的な保守、交換では対応しきれないため、現状で
は上記電気部品の故障が原因で、機械が稼動を停止する
ことが多いという問題がある。
``Problems to be Solved by the Invention'' By the way, machines that perform the above-mentioned sequential operations tend to become larger and more complex, and as a result, maintenance work in the event of a failure of the machine requires a great deal of effort and time. The problem is that the downtime (the downtime from when the machine stops operating due to a breakdown until the machine can be operated again after repairs and adjustments are completed) increases, resulting in a reduction in operating time. There is. For this reason, the above-mentioned machines have traditionally been inspected regularly and replaced parts at intervals of usage.
Efforts have been made to prevent machine failures, but for example, electric parts used to control machine tool grips, such as limit switches and solenoid valve solenoids, are used in harsh environments where they come into contact with chips, coolant oil, etc. This problem cannot be dealt with through periodic maintenance and replacement, and as a result, there is currently a problem in that machines often stop operating due to failures in the electrical components mentioned above.

%に、 近年、マイクロコンピュータの普及で、シーケ
ンス動作する機械の制御装置に、マイクロコンピュータ
を用いたプログラム可能なシーケンス制a装置t Cプ
ログラマブルシーケンスコントローラ)が採用されるよ
うになって、故障箇所の探索方法が難しくなってきてい
る。すなわち、シーケンス論理の処理方法が、従来のリ
レー回路を組合わせたシーケンス制御装置と、上記マイ
クロコンピュータを用いた制御装置とでは、全く異なっ
ておシ、かつ保守要員にとって、このマイクロコンピュ
ータを用いたシーケンス制御装置の内部がわからなくな
っている(ブラックボックス化している)ことが多いた
め、シーケンス制御装置の指令に対して、ある出力要素
が動作しなかった場合に1その出力要素に対する論理東
件に対して、リレーのオン、オフ状態を電気回路に沿っ
て確認していく方法(従来、リレー回路を組込んだシー
ケンス制御装置において行なわれていた故障診断方法)
が使えないという問題がある。
In recent years, with the spread of microcomputers, programmable sequence controllers (programmable sequence controllers) using microcomputers have been adopted as control devices for machines that operate in sequence. Search methods are becoming more difficult. In other words, the method of processing sequence logic is completely different between a sequence control device that combines conventional relay circuits and a control device that uses the above-mentioned microcomputer, and it is difficult for maintenance personnel to use this microcomputer. Because the internals of the sequence control device are often unknown (black box), if a certain output element does not operate in response to the commands of the sequence control device, the logic condition for that output element will be changed. On the other hand, a method of checking the on/off state of a relay along an electric circuit (a fault diagnosis method conventionally used in sequence control devices incorporating a relay circuit)
The problem is that it cannot be used.

本発明は、上記事情に鑑み、シーケンス動作をする機械
における故障が、大部分、電気系統、特に使用環境が悪
い箇所に設置されているリミットスイッチ、ソレノイド
等に生じ、かつこれによシ、シーケンス動作が中断する
ことに着目してなされたもので、その目的とするところ
は、シーケンス制御されている機械がその稼動を停止し
た場合に、速やかに、かつ確実に故障原因を発見でき、
機械の稼動率の向上を図ることができる機械の故障診断
方法を提供することにある。
In view of the above circumstances, the present invention aims to solve the problem that most failures in machines that operate in sequence occur in the electrical system, especially in limit switches, solenoids, etc. installed in locations with poor operating environments, and that It was developed with a focus on interruptions in operation, and its purpose is to quickly and reliably discover the cause of failure when a sequence-controlled machine stops operating.
An object of the present invention is to provide a method for diagnosing machine failures that can improve the operating rate of machines.

「問題点を解決するための手段」 上記目的を達成するために、本発明は、あらかじめ診断
用データ領域に、シーケンス動作する機械が正常動作す
る場合に成立する論理式を記憶しておき、上記機械のシ
ーケンス動作時に、シーケンス制御装置が機械の各作動
要素に対して出力する指令出力と、該シーケンス制御装
置に入力される各検出器の検出入力とを、それぞれ順次
、入出力状態テーブルに記憶し、次いで、故障診断開始
指令に基づいて、上記診断用データ領域に記憶された論
理式と入出力状態テーブルに記憶されたシーケンス制御
装置の入出力状態とを照合して、上記各作動要素あるい
は検出器の状態を判別し、機械の故障箇所を発見するも
のである。
"Means for Solving Problems" In order to achieve the above object, the present invention stores in advance in a diagnostic data area a logical formula that holds true when a machine that operates in sequence operates normally, and During sequence operation of the machine, the command output that the sequence control device outputs to each operating element of the machine and the detection input of each detector that is input to the sequence control device are stored in an input/output state table, respectively. Then, based on the failure diagnosis start command, the logical formula stored in the diagnostic data area is compared with the input/output status of the sequence control device stored in the input/output status table, and each of the operating elements or It determines the status of the detector and discovers the location of the machine's failure.

「作用」 本発明の故障診断方法にあっては、故障診断開始時に1
診断用データ領域にあらかじめ記憶された機械の正常動
作時に成立する論理式と、入出力状態テーブルに記憶さ
れた実運転時のシーケンス制御装置の入出力状態とを照
合して、各作動要素あるいは検出器の状態が正常である
か、あるいは異常であるかを判別し、機械の故障箇所を
速やかにかつ確実に特定する。
"Operation" In the fault diagnosis method of the present invention, at the start of fault diagnosis,
The logical expressions that hold true during normal operation of the machine, stored in the diagnostic data area in advance, are compared with the input/output status of the sequence control device during actual operation stored in the input/output status table, and each operating element or detection To determine whether the condition of a machine is normal or abnormal, and quickly and reliably identify the location of a machine failure.

「実施例」 以下、第7図ないし第6図に基づいて本発明の一実施例
を説明する。
"Embodiment" Hereinafter, an embodiment of the present invention will be described based on FIGS. 7 to 6.

第2図中PCは、プログラマブルシーケンス制御装置で
あシ、このシーケンス制御装RPCは、入力の状態に応
じて、シーケンス動作データ(シーケンス動作用論理式
)な調べ、出力を制御するためのシーケンス用プログラ
ム及び故障診断処理をするための故障診断用ブロクラム
を格納するプログラム記憶部(ROM)1と、上記シー
ケンス動作データ及び故障診断用データを格納するデー
タ記憶部2と、入力及び出力状態を記憶するテーブル部
3と、異常状態や、入力状態あるいはシーケンス動作状
態等を表示したシ、シーケンス動作データ、あるいは故
障診断用データを登録、変更するための表示操作盤4と
、上記各プログラムに基づいて機株のシーケンス制御を
行ない、あるいは故障診断処理を行なう中央処理装置(
CP U)5と、各検出器6からの入力信号をパスBU
Sを介して中央処理装置f5に送出する入力インターフ
ェース7と、中央処理装置5からの指令出力を各作動要
素8に対して送出する出力インターフェース9とから構
成されている。なお、上記故障診断用データはROM 
(読出し専用メモリ)に記憶され、かつ入出力状態の記
憶には、RAM (iF込み読出しメモリ)が使用され
ている。
In FIG. 2, the PC is a programmable sequence control device, and this sequence control device RPC is used for checking sequence operation data (logic formulas for sequence operation) and controlling output according to the input state. A program storage unit (ROM) 1 stores a program and a block diagram for failure diagnosis for performing failure diagnosis processing, a data storage unit 2 stores the sequence operation data and failure diagnosis data, and stores input and output states. A table section 3, a display panel 4 for registering or changing abnormal conditions, input conditions, sequence operation status, etc., sequence operation data, or failure diagnosis data, and A central processing unit (which performs stock sequence control or trouble diagnosis processing)
CPU) 5 and the input signals from each detector 6 are passed through BU.
It is comprised of an input interface 7 that sends out to the central processing unit f5 via S, and an output interface 9 that sends command output from the central processing unit 5 to each operating element 8. In addition, the above failure diagnosis data is stored in ROM.
(read-only memory), and RAM (iF read-out memory) is used to store the input/output status.

上記のように構成されたシーケンス制御装fit PC
において、機械のシーケンス制御を行なう前に、あらか
じめデータ記憶部2に故障診断用データ(論理式)を登
録する。この故障診断用論理式は、シーケンス回路の設
計に通常使用されるプール代数式と形式は似ているが、
内容は異なっている。
Sequence control device fit PC configured as above
In this process, before sequence control of the machine is performed, failure diagnosis data (logical formulas) are registered in the data storage section 2 in advance. This logical formula for fault diagnosis is similar in form to the pool algebraic formula normally used for designing sequential circuits, but
The content is different.

すなわち、故障診断用論理式は、シーケンス制御装置P
Cが出力する指令出力OUTとこの指令出力OUTに基
づいて、シーケンス制御装*pcに入力される検出入力
INとの関係をプール代数式の形を借シて記述している
ものであシ、左辺に指令出力OUTを組合わせて記述し
、その指令出力送出された時に変化する入力群を右辺に
組合わせて記述したものである。なお、このような形式
(プール代数形式)にしているのは、シーケンス論理式
を設計する者が、故障診断用論理式を作成あるいは検査
し易いようにしたものであシ、この形式にこだわる必要
はなく、指令出力と入力との関連付けがされているもの
であれはよい。
That is, the logical formula for failure diagnosis is the sequence control device P.
The relationship between the command output OUT output by C and the detection input IN input to the sequence control device *pc based on this command output OUT is described in the form of a pool algebraic expression. The command output OUT is written in combination with the command output OUT, and the input group that changes when the command output is sent is written in combination on the right side. Note that this format (pool algebra format) is intended to make it easier for those who design sequence logical formulas to create or test logical formulas for fault diagnosis, and it is not necessary to stick to this format. It is not necessary to have a command output, as long as the command output and input are associated with each other.

そして、例えば、第一図に示すように1シリンダ10の
両端にそれぞれ流体を供給するために、上記シーケンス
制御装置PCが電磁弁の各ソレノイドを励磁する励磁信
号00UTO,0OUTIと、各、励磁信号00UTO
,0OUTIを出力した際の、シリンダ10のピストン
ロント10 aノ動きを検出する一対のリミットスイッ
チ(検出器)a /、  S#の検出人力0INO,0
INIとの関係は、上記故障診断用論理式において、次
のように表わされる。すなわち、 00UTOGO=OIN10F(1)。
For example, in order to supply fluid to both ends of one cylinder 10, as shown in FIG. 00UTO
A pair of limit switches (detectors) a/, detecting the movement of the piston front 10a of the cylinder 10 when outputting 0OUTI, Detection of human power 0INO,0
The relationship with INI is expressed in the above logical formula for fault diagnosis as follows. That is, 00UTOGO=OIN10F(1).

0INO0N(2);  ・・・・・・(1)00UT
I  GO=OINOOF<1>。
0INO0N(2); ......(1)00UT
IGO=OINOOF<1>.

0INI  ON<2);  曲・・(2)ここで、上
記α)式について説明すると、今、シーケンス制御装*
pcが、上記電磁弁のソレノイド忙励磁信号00UTO
を出力(GO)すると、シリンダ10の基端側(第一図
において左端側)に流体が供給されて、ピストンロンド
10aが前進し、まず、ピストンロンド1Oaの先端に
取付けられている検出突起10bが、上記リミットスイ
ッチ6′の作動子aから離れること罠より、リミットス
イッチ6′の検出入力QINIがオフ状態になシ〔式(
1)においてはOFと記述されている〕、次いで、上記
検出突起10bが、リミットスイッチ6′の作動子すに
接触することによシ、該リミットスイッチ6′の検出入
力OINOがオン(ON)状態になる。また、上記(2
)式においては、シーケンス制御装置PCが、上記電磁
弁のソレノイドに励磁信号00UTIを出力(GO)す
ると、シリンダ10のピストンロッド端側(第一図にお
いて右端側)に流体が供給されて、ピストンロッド10
aが後退し、上記検出突起10bが、上記IJ ミツト
スイッチ6′の作動子すから離れることによシ、リミッ
トスイッチ6′の検出入力0INOがオフ状態になり、
次いで、検出突起10bが、リミットスイッチ6′の作
動子aK液接触ることによシ、該リミットスイッチ6′
の検出人力0INllがオン状態になる。このように、
上記各式(1)、 (2)によって、シリンダIOK関
する入出力状態の関係が記述される。そして、各式(1
)、(2)毎に1第3図に示すように、データ記憶部2
内の故障診断用データ領域に登録しておく。
0INI ON<2); Song... (2) Now, to explain the above equation α), the sequence control device *
pc is the solenoid busy excitation signal 00UTO of the above solenoid valve.
When output (GO), fluid is supplied to the proximal end side of the cylinder 10 (the left end side in Figure 1), the piston rond 10a moves forward, and first, the detection protrusion 10b attached to the tip of the piston rond 10a moves forward. However, due to the trap of separating from the actuator a of the limit switch 6', the detection input QINI of the limit switch 6' becomes OFF state [Formula (
1), the detection protrusion 10b contacts the actuator of the limit switch 6', thereby turning on the detection input OINO of the limit switch 6'. become a state. In addition, the above (2)
), when the sequence control device PC outputs (GO) the excitation signal 00UTI to the solenoid of the solenoid valve, fluid is supplied to the piston rod end side of the cylinder 10 (the right end side in Figure 1), and the piston rod 10
a retreats and the detection protrusion 10b separates from the actuator of the IJ limit switch 6', so that the detection input 0INO of the limit switch 6' is turned off.
Next, the detection protrusion 10b contacts the actuator aK of the limit switch 6', thereby causing the limit switch 6'
The detection human power 0INll is turned on. in this way,
The above equations (1) and (2) describe the relationship between the input and output states regarding the cylinder IOK. Then, each formula (1
), (2) 1 as shown in FIG.
Register it in the data area for failure diagnosis in .

上述したようにして、制御対象となる機械の構成(作動
要素)単位毎に、出力と入力との関連を記述して、上記
データ記憶部2内に各々記憶すれば、必要とされる故障
診断用データが得られる。
As described above, if the relationship between output and input is described for each unit of configuration (operating element) of the machine to be controlled and stored in the data storage unit 2, the necessary fault diagnosis can be performed. data can be obtained.

これらの故障診断用データ(論理式)は、タイムチャー
ト図、油圧関係図面、機械組立図等、機械の動作とリミ
ットスイッチ等の検出器との関係を表現した図面から容
易に作成される。そして、例えば、第3図に示すように
、データ記憶部2内に、大番号N=1〜22に対応して
それぞれ故障診断用論理式LGを格納しておく。図にお
いて、m。
These failure diagnosis data (logical formulas) are easily created from drawings expressing the relationship between machine operations and detectors such as limit switches, such as time charts, hydraulic diagrams, and machine assembly drawings. For example, as shown in FIG. 3, logical formulas LG for failure diagnosis are stored in the data storage unit 2 in correspondence with large numbers N=1 to 22, respectively. In the figure, m.

UT3.m工Nnはそれぞれシーケンス制御装置PCか
らの指令出力及びシーケンス制御装置PCへの入力を示
し、GOは指令出力の送出を、かつON、OFはそれぞ
れ入力のオン、オフを示す。
UT3. m and Nn respectively indicate a command output from the sequence control device PC and an input to the sequence control device PC, GO indicates sending of a command output, and ON and OF indicate input on and off, respectively.

また、くO〉は左辺が成立した時に、その条件罠なって
いることを示し、<1>、<2>、<3>。
Also, kuO〉 indicates that the condition is a trap when the left side is satisfied, and <1>, <2>, and <3>.

・・・は、左辺が成立したときに、右辺の各要素が成立
する順序を示すものである。さらに、論理式中r/J、
r=J、r、J、r;J、rφ」は、それぞれ、「また
は」、「式の区切シ」、「要素の区切り」、「式の終力
」、「データの終シ」を示す。例えば、大番号N=3に
記憶されている故障診断用論理式LG、すなわち00U
TOGO=OINOON<O>、0INION<1>、
0IN20 N < 2 > pは、左辺要素00UT
Oまた+100UT1が出力(G O)されると、その
時、入力要素0INOは、入っておシ(ON)、次いで
、OINIが切れ(OFF)、さらKSOIN2が入る
(ON)ということを示している。
... indicates the order in which each element on the right side holds true when the left side holds true. Furthermore, in the logical formula r/J,
r=J, r, J, r; J, rφ" indicate "or", "formula delimiter", "element delimiter", "terminal force of expression", and "terminal force of data", respectively. . For example, the fault diagnosis logical formula LG stored in the large number N=3, that is, 00U
TOGO=OINOON<O>, 0INION<1>,
0IN20 N < 2 > p is the left side element 00UT
When +100UT1 is output (GO), the input element 0INO is turned on (ON), then OINI is turned off (OFF), and KSOIN2 is turned on (ON). .

上述したように、データ記憶部2に故障診断用データを
記憶した後に、シーケンス制a装置pcは、従来同様、
プログラム記憶部IK記憶されたシーケンス用プログラ
ムに基づいて、シーケンス処理を行なう。すなわち、シ
ーケンス制御装NPCは、まず、データ記憶部2に記憶
されているシーケンス動作データ(シーケンス動作用論
理式)を検索し、その論理式の要素状態を、テーブル部
3の入出力状態テーブルに格納されている各入出力の状
態から調べ該論理式が成立すれば、シーケンス制御装置
PCは、その結果を指令出力OUTとして、制御対象で
ある機械の作動要素8に対して送出すると共に、入出力
状態テーブルに格納する。そして、シーケンス制御装置
1t、PCハ、データ記憶部2に記憶されている各シー
ケンス動作用論理式を順次検索して、該各論理式が成立
するたびに、指令出力OUTを送出する。これによシ、
テーブル部3の入出力状態テーブルには、第9図に示す
よう[、各入出力0INO,0INI、0IN2、 ・
、0OUTO,0OUTI、 ・・・が記録される。
As described above, after storing the failure diagnosis data in the data storage unit 2, the sequence system a device pc performs the following steps as before.
Sequence processing is performed based on the sequence program stored in the program storage unit IK. That is, the sequence control device NPC first searches the sequence operation data (logical formula for sequence operation) stored in the data storage section 2, and stores the element states of the logical formula in the input/output state table of the table section 3. If the logical expression is established based on the status of each input/output stored, the sequence control device PC sends the result as a command output OUT to the operating element 8 of the machine to be controlled, and also outputs the result as a command output OUT. Store in the output status table. Then, each logical formula for sequence operation stored in the sequence control device 1t, the PC C, and the data storage unit 2 is sequentially searched, and a command output OUT is sent out each time each logical formula is established. For this,
As shown in FIG. 9, the input/output status table of the table unit 3 includes [, each input/output 0INO, 0INI, 0IN2, ・
, 0OUTO, 0OUTI, . . . are recorded.

このようにして、シーケンス制御装置PCは、制御対象
である機械をシーケンス制御するが、このシーケンス処
理中において、故障が発生して機械が運転を停止した場
合には、シーケンス制御装置lPCのプログラム記憶部
1に記憶されている故障唸断用プログラムを起動させる
。これにより、シーケンス制御装&PCは、上記故障診
断用プログラムに基づいて、第6図において、ステップ
5PIK示すように、データ記憶部2の故障診断用デー
タ領域に記憶された故障診断用論理式LGのうち大番号
N=1のものを読み出し、上記テーブル部3の入出力状
態テーブルを参照して、該故障診断用1aJffi式I
、Gの左辺項及び右辺項が成立しているか否かを調べる
(ステップSP2.SP3参照)。
In this way, the sequence control device PC performs sequence control on the machine to be controlled, but if a failure occurs and the machine stops operating during this sequence processing, the program memory of the sequence control device PC The fault cutout program stored in section 1 is activated. As a result, the sequence control device & PC executes the fault diagnosis logic formula LG stored in the fault diagnosis data area of the data storage unit 2, as shown in step 5PIK in FIG. 6, based on the above fault diagnosis program. Among them, the one with the largest number N=1 is read out, and with reference to the input/output status table of the table section 3, the fault diagnosis 1aJffi formula I is determined.
, it is checked whether the left-hand side terms and right-hand side terms of G hold true (see steps SP2 and SP3).

そして、左辺項が成立していない場合、及び左辺項と右
辺項とが共に成立している場合には、ステップSP4に
進み、故障診断用データ領域の式番号Nを+1して、次
の故障診断用論理式LGを曽べるのに対して、左辺項が
成立しているにもかかわらず、右辺項が成立していない
場合には、ステップSP5に示すように1不成立の故障
診断用論理式LGの出力要紫OUT、入力4I素INの
異常状態を表示操作盤4に表示すると共に、異常ランプ
を点灯させる。この表示された内容に基づいて保守要員
が機械な胸ぺて不良部品(ソレノイド、リミットスイッ
チ等)を交換する。例えば、第一図において、シーケン
ス制御装置PCから指令出力00UTOが送出(GO)
された場合に1リミツトスイツチ6′の検出入力0IN
Iがオフになったにもかかわらず、リミットスイッチ6
′の検出人力0INOがオンにならなかったとすると、
リミットスイッチ61の検出人力0INOのオン信号が
シーケンス制御装置1tPcに入力されないため、シー
クyxllyl1m!H1PCは、次のシーケンス動作
への入力になっているリミットスイッチσの検出入力O
INOのオン信号が入力されないことにより、シーケン
ス制御を停止する。この結果、制御対象である機械が運
転を停止する。この状態において、故障診断プログラム
を起動すると、シーケンス制御装[PCは、上記(1)
式の左辺項(OOUTOGO)が成立しているにもかか
わらず、右辺項(OlN0ON<2>)が成立していな
いことにより、このリミットスイッチ6′が不良である
と判定する。この場合、励磁信号(指令出力00UTO
が出力(GO)された時の、各リミットスイッチel、
  6#の検出人力0INO,0INIの状態忙は、以
下の9通りの場合がるる。
Then, if the left-hand side term does not hold true, or if both the left-hand side term and the right-hand side term hold true, the process proceeds to step SP4, where the equation number N in the fault diagnosis data area is incremented by 1 and the next fault is set. If the term on the left side holds true while the term on the right side does not hold true when the diagnostic logical formula LG is calculated, the fault diagnosis logic with 1 not true is created as shown in step SP5. The abnormal state of the output OUT and input 4I of the formula LG is displayed on the display operation panel 4, and the abnormality lamp is lit. Based on the displayed content, maintenance personnel replace mechanical parts (solenoids, limit switches, etc.) that are defective. For example, in Figure 1, the command output 00UTO is sent from the sequence control device PC (GO).
1 limit switch 6' detection input 0IN
limit switch 6 even though I was turned off.
’ detection human power 0INO is not turned on,
Since the on signal of the detected human power 0INO of the limit switch 61 is not input to the sequence control device 1tPc, seek yxllyl1m! H1PC is the detection input O of the limit switch σ, which is the input to the next sequence operation.
Sequence control is stopped when the INO ON signal is not input. As a result, the machine to be controlled stops operating. In this state, when you start the fault diagnosis program, the sequence control device [PC
Although the left-hand side term (OOUTOGO) of the equation holds true, the right-hand side term (OlN0ON<2>) does not hold, so it is determined that this limit switch 6' is defective. In this case, the excitation signal (command output 00UTO
Each limit switch el when is output (GO),
There are the following 9 cases for the state of 6# detection human power 0INO, 0INI.

表1 表1においては、機械状態における正常、不良の判定を
、上記(1)式中の不良箇所がノケ所でおると限定して
説明したが、実際には複数箇所に故障が発生することが
おる。この場合、本発明に係る故障診断方法を実施して
も、−回の検紫で全ての不良箇所を発見できるとは限ら
ないが、表示操作盤4に表示された故障箇所を修理した
後、再度、故障診断プログラムを起動する操作を繰返す
ことによυ、全ての不良箇所が確実に発見され、修理さ
れる。
Table 1 In Table 1, the determination of whether the machine is normal or defective is explained based on the assumption that the defective location in formula (1) above is a hole, but in reality, failures may occur at multiple locations. There is. In this case, even if the fault diagnosis method according to the present invention is carried out, it may not be possible to discover all the faulty parts in - times of inspection, but after repairing the faulty parts displayed on the display operation panel 4, By repeating the operation of activating the fault diagnosis program again, all faulty parts are reliably discovered and repaired.

このようにして、シーケンス制御装W、PCがシーケン
ス制御している機械に故障が発生した場合に、あらかじ
めデータ記憶部2に記憶されている故障診断用データ(
論理式)LGと、テーブル部3に記録された入出力状態
とを照合することによって、自動的に故障箇所を探すも
のであるから、系統的に故障箇所が探索されて、迅速か
つ確実に故障箇所が発見される。従って、故障箇所発見
までの時間が大幅に短縮され−から、機械の稼動率が向
上する。また、上記故障診断用データは、機械の構造か
ら(タイムチャート図、油圧関係図、機械組立図等から
)簡単に作成され、データ作成のわずられしさ、難しさ
等がない。
In this way, when a failure occurs in a machine that is sequence-controlled by the sequence control device W or the PC, the failure diagnosis data stored in advance in the data storage unit 2 (
Since the fault location is automatically searched by comparing the logical formula) LG with the input/output status recorded in the table section 3, the fault location is systematically searched and the fault is detected quickly and reliably. location is discovered. Therefore, the time required to discover a fault location is significantly shortened, and the operating rate of the machine is improved. Furthermore, the failure diagnosis data is easily created from the structure of the machine (from time charts, hydraulic diagrams, machine assembly drawings, etc.), and there is no hassle or difficulty in creating the data.

なお、上記実施例においては、シーケンス制御装RPC
K、機械のシーケンス制御機能及び故障故障診断処理機
能を持たせて説明したが、°シーケンス制御を行なうシ
ーケンス制御装置mpcと別個に、故障診断装置を設け
たものでもよい。
In addition, in the above embodiment, the sequence control device RPC
K. Although the machine has been described as having a sequence control function and a failure diagnosis processing function, a failure diagnosis device may be provided separately from the sequence control device mpc that performs sequence control.

「発明の効果」 以上説明したように、本発明は、あらかじめ診断用デー
タ領域に、シーケンス動作する機械が正常動作する場合
に成立する論理式を記憶しておき、上記機械のシーケン
ス動作時に、シーケンス制御装置が機械の各作動要素に
対して出力する指令用記憶し、次いで、故障診断開始指
令に基づいて、上記診断用データ領域に記憶された論理
式と入出力状態テーブルに記憶されたシーケンス制御装
置の入出力状態とを照合して、上記各作動要素あるいは
検出器の状態を判別し、機械の故障箇所を発見するもの
であるから、故障診断開始時に、診断用データ領域にあ
らかじめ記憶された機械の正常動作時に成立する論理式
と、入出力状態テーブルに記憶された実運転時のシーケ
ンス制御装置の入出力状態とを照合して、各作動12′
Aあるいは検出器の状態が正常であるか、あるいは異常
であるかを判別することKよ〕、機械の故障箇所を速や
かKかつ確寮に特定でき、機械の休止時間を抑制するこ
とができて、機械の稼動率を大幅に向上させることがで
きるという優れた効果を有する。
"Effects of the Invention" As explained above, the present invention stores in advance in the diagnostic data area a logical formula that holds true when a machine that operates in sequence operates normally, and when the machine operates in sequence, The control device stores commands output to each operating element of the machine, and then, based on the failure diagnosis start command, the logical formula stored in the diagnostic data area and the sequence control stored in the input/output status table. The purpose is to compare the input and output status of the device to determine the status of each of the operating elements or detectors mentioned above, and to discover the location of the machine failure. Each operation 12' is determined by comparing the logical formula that holds during normal operation of the machine with the input/output status of the sequence control device during actual operation stored in the input/output status table.
To determine whether the condition of the A or detector is normal or abnormal, the failure location of the machine can be quickly identified and the downtime of the machine can be suppressed. , which has the excellent effect of significantly improving the operating rate of the machine.

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

第1図ないし第6図は本発明の一実施例を示すもので、
第7図はシーケンス制御装置の概略構成図、第一図は入
出力関係を示す説明図、第3図は故障診断用データ領域
を説明する説明図、第9図は入出力状態テーブルを説明
する説明図、第3図は故障診断用データ領域内圧記憶さ
れた故障診断用論理式の一例を示す説明図、第6図は故
障診断処理の内容を説明する流れ図、第7図はシーケン
ス制御を説明する概略説明図である。 PC・・・・・・シーケンス制御装置、LG・・・・・
・故障診断用論理式、3・・・・・・テーブル部、6・
・・・・・検出器、8・・・・・・作動要素、OUT・
・・・・・指令出力、IN・・・・・・検出入力。 代理人 弁理士 志 賀 正 武 ;l :’、。 第1@ 第2図 OαバO0OLJTI 第3図 第5図 22  BOLFTIGO−201JT1ON(e>、
1lN3ON<1>、21N2ON<2>;#
1 to 6 show an embodiment of the present invention,
Fig. 7 is a schematic configuration diagram of the sequence control device, Fig. 1 is an explanatory diagram showing the input/output relationship, Fig. 3 is an explanatory diagram explaining the data area for failure diagnosis, and Fig. 9 is an explanatory diagram explaining the input/output status table. 3 is an explanatory diagram showing an example of a logical formula for fault diagnosis stored in the data area for fault diagnosis; FIG. 6 is a flowchart for explaining the contents of the fault diagnosis process; and FIG. 7 is for explaining sequence control. FIG. PC...Sequence control device, LG...
・Logical formula for failure diagnosis, 3... Table section, 6.
...Detector, 8...Operating element, OUT.
...Command output, IN...Detection input. Agent: Patent Attorney Masatake Shiga ;l:',. Figure 1 @ Figure 2 Oα BA O0OLJTI Figure 3 Figure 5 22 BOLFTIGO-201JT1ON (e>,
1lN3ON<1>, 21N2ON<2>;#

Claims (1)

【特許請求の範囲】[Claims] シーケンス制御装置の指令によつてシーケンス動作する
機械の故障診断を行なう故障診断方法において、あらか
じめ診断用データ領域に、上記機械が正常動作状態の場
合に成立する論理式を記憶しておき、上記機械のシーケ
ンス動作時に、上記シーケンス制御装置が機械の各作動
要素に対して出力する指令出力と、該シーケンス制御装
置に入力される各検出器の検出入力とを、それぞれ順次
、入出力状態テーブルに記憶し、次いで、故障診断開始
指令に基づいて、上記診断用データ領域に記憶された論
理式と、上記入出力状態テーブルに記憶された上記シー
ケンス制御装置の入出力状態とを照合して、上記各作動
要素あるいは検出器の状態を判別し、機械の故障箇所を
発見することを特徴とする機械の故障診断方法。
In a fault diagnosis method for diagnosing the failure of a machine that operates in sequence according to commands from a sequence control device, a logical formula that holds true when the machine is in a normal operating state is stored in the diagnostic data area in advance, and the machine During sequence operation, the command output that the sequence control device outputs to each operating element of the machine and the detection input of each detector that is input to the sequence control device are stored in an input/output state table, respectively. Then, based on the failure diagnosis start command, the logical formula stored in the diagnostic data area is compared with the input/output status of the sequence control device stored in the input/output status table, and each of the above is determined. A method for diagnosing a machine failure, characterized by determining the state of an operating element or a detector and discovering a failure location in the machine.
JP60194702A 1985-09-03 1985-09-03 Method for diagnosing trouble of machine Pending JPS6255712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60194702A JPS6255712A (en) 1985-09-03 1985-09-03 Method for diagnosing trouble of machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60194702A JPS6255712A (en) 1985-09-03 1985-09-03 Method for diagnosing trouble of machine

Publications (1)

Publication Number Publication Date
JPS6255712A true JPS6255712A (en) 1987-03-11

Family

ID=16328842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60194702A Pending JPS6255712A (en) 1985-09-03 1985-09-03 Method for diagnosing trouble of machine

Country Status (1)

Country Link
JP (1) JPS6255712A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01116709A (en) * 1987-10-30 1989-05-09 Toshiba Corp Trouble locating device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53105684A (en) * 1977-02-25 1978-09-13 Nissan Motor Co Ltd Down diagnostic method in sequence controlling
JPS5941043A (en) * 1982-08-31 1984-03-07 Sharp Corp Attaching means of sheet file in multi-item input device
JPS60160412A (en) * 1984-02-01 1985-08-22 Hitachi Ltd System for deciding fault location

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53105684A (en) * 1977-02-25 1978-09-13 Nissan Motor Co Ltd Down diagnostic method in sequence controlling
JPS5941043A (en) * 1982-08-31 1984-03-07 Sharp Corp Attaching means of sheet file in multi-item input device
JPS60160412A (en) * 1984-02-01 1985-08-22 Hitachi Ltd System for deciding fault location

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01116709A (en) * 1987-10-30 1989-05-09 Toshiba Corp Trouble locating device

Similar Documents

Publication Publication Date Title
JPS58159164A (en) Defect diagnosis method and apparatus for memory programmable controller
KR100958686B1 (en) Maintenance guidance display device, maintenance guidance display method, and maintenance guidance display program recording medium
US5742624A (en) Fault detecting apparatus and method
TWI710955B (en) Contingent load suppression
KR100938179B1 (en) Plant control system control program creation/display device
JPH10319180A (en) Recovery aiding system for plant anomaly
JPS6255712A (en) Method for diagnosing trouble of machine
JPH0577143A (en) Failure diagnosis device for automated line
JP2554282B2 (en) Fault diagnosis device for sequence controller
JPS61813A (en) Deciding system for faulty area of sequence controller
KR20080005242A (en) Plant control system
JP2001067122A (en) Method for diagnosing ladder program and equipment diagnostic device
JPH0667921A (en) Information processor having fault processing function
JPH11212606A (en) Programming device and program monitoring device
JP2687726B2 (en) Failure detection device and method
JPH08305595A (en) Diagnostic method for information processing unit
JP3246175B2 (en) Failure analysis support device
JPS5875203A (en) Sequence controller of double structure
JPS5916014A (en) Abnormality checking system of sequence controller
JPS6274547A (en) Failure controlling method for machine tool
JPH05143395A (en) Diagnostic program execution system and log information display system to be used for the execution system
JPH04137010A (en) Fault diagnostic device for sequencer
JPH02263244A (en) Process control system
JPH0844583A (en) Diagnostic system for information processor
JPS62237850A (en) Fault diagnostic system