JPH07104839A - Abnormality diagnostic system of production equipment - Google Patents

Abnormality diagnostic system of production equipment

Info

Publication number
JPH07104839A
JPH07104839A JP5219122A JP21912293A JPH07104839A JP H07104839 A JPH07104839 A JP H07104839A JP 5219122 A JP5219122 A JP 5219122A JP 21912293 A JP21912293 A JP 21912293A JP H07104839 A JPH07104839 A JP H07104839A
Authority
JP
Japan
Prior art keywords
abnormality
production equipment
computer
program
abnormality diagnosis
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
JP5219122A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Sugawara
好幸 菅原
Tetsuo Shibazaki
哲郎 柴崎
Jundora Hantaruto
ジャンドラ ハンタルト
Chin Chai Sen
チン チャイ セン
Mei San Ii
メイ サン イー
Chi Howe Chang
チー ハウ チャン
E Kyon Eric Ram
イー キョン エリック ラム
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.)
Sony Display Device Singapore Pte Ltd
Original Assignee
Sony Display Device Singapore Pte 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 Sony Display Device Singapore Pte Ltd filed Critical Sony Display Device Singapore Pte Ltd
Priority to JP5219122A priority Critical patent/JPH07104839A/en
Publication of JPH07104839A publication Critical patent/JPH07104839A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To make it possible to diagnose the abnormality of a production equipment without necessitating the knowledge of a user. CONSTITUTION: A computer 3 is connected to a programmable controller 2 for controlling the operation of the production equipment 1 and this abnormality diagnostic system automatically detects the abnormal state of the production equipment 1 and performs display relating to the detected abnormal state by the computer 3. The computer 3 fetches the program from the controller 2, analyzes it and also fetches input/output data relating to the operation sequence of the production equipment. From the input/output data and an analyzed result, the abnormality of the production equipment is detected based on a knowledge database provided beforehand. Instruction information relating to the detected abnormal state is supplied to the user.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、生産設備の故障など
の異常を自己診断し、使用者の対処に寄与する指示を行
うようにする異常診断システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality diagnosing system which self-diagnoses an abnormality such as a failure of production equipment and gives an instruction contributing to a user's coping.

【0002】[0002]

【従来の技術】例えば、所定の処理の実行、次の処理部
への搬送、当該次の処理部での処理の実行などのような
一連のシーケンスを順次に実行することにより目的物の
生産が行われる生産設備においては、自動化が進み、こ
の生産設備を制御する制御装置のプログラムにより、ほ
ぼ全自動で一連の生産工程が実行されるようになってき
ている。
2. Description of the Related Art For example, a target product can be produced by sequentially executing a series of sequences such as execution of a predetermined process, transfer to a next processing unit, execution of a process in the next processing unit, and the like. In the production equipment to be carried out, automation is progressing, and a series of production steps are almost fully automatically executed by a program of a control device for controlling the production equipment.

【0003】このような生産設備に使用されている制御
装置は、PLC(Programable Logic Controller;プロ
グラマブル・ロジック・コントローラ)と呼ばれ、一連
の生産工程のシーケンスを制御するプログラムが、この
PLCに組み込まれている。このプログラムはユーザに
よって作成されるものであるが、通常のコンピュータで
使用される言語とは異なるラダー言語と呼ばれる言語で
作成されている。
A control device used in such a production facility is called a PLC (Programmable Logic Controller), and a program for controlling a sequence of a series of production steps is incorporated in this PLC. ing. Although this program is created by the user, it is created in a language called a ladder language, which is different from the language used in a normal computer.

【0004】ところで、このPLCのプログラムは、シ
ーケンスを制御するものであるため、生産設備に故障な
どの異常が発生した場合に、その故障の発生の事実をシ
ーケンスの一部として警報するようにプログラムを組む
ことは可能であるが、故障箇所や、その故障に対して、
使用者に作業指示などを行うようにする異常診断までを
もプログラムとして組み込むことは困難である。また、
警報を発生できる故障は、生産設備として予め予測され
るものでなければならず、予測されていない異常に関し
ては警報すらできない。
By the way, since this PLC program controls the sequence, when an abnormality such as a failure occurs in the production equipment, the program is to warn the fact of the occurrence of the failure as a part of the sequence. Although it is possible to build a
It is difficult to incorporate even abnormality diagnosis that gives a user a work instruction as a program. Also,
A failure that can generate an alarm must be predicted in advance as production equipment, and even an unexpected failure cannot be alarmed.

【0005】このため、使用者自身が故障診断を行わな
ければならないが、最近の生産設備は複雑化しているの
で、熟練者と言えども、この故障診断はなかなか困難で
ある。そこで、スタンドアローンのコンピュータを用い
て生産設備の故障診断を行う方法が採用されている。
For this reason, the user himself has to carry out the failure diagnosis, but since the recent production equipment is complicated, even the expert can easily find out the failure diagnosis. Therefore, a method of diagnosing the failure of the production equipment using a stand-alone computer is adopted.

【0006】この場合、故障診断のためのソフトウエア
として、いわゆるエキスパートシステムと呼ばれるもの
がよく使用されている。このエキスパートシステムと
は、「人口知能応用分野の1つで、コンピュータに、知
識や解決のノウハウを組み込んでおき、熟練者や専門家
が行うのと同等以上の高度の業務を支援しようとするシ
ステム」である。
In this case, what is called an expert system is often used as software for fault diagnosis. This expert system is one of the fields of artificial intelligence application. It is a system that incorporates knowledge and know-how in solution into a computer to support higher-level work that is equivalent to or higher than that performed by a skilled person or expert. It is.

【0007】このエキスパートシステムを故障診断に使
用する場合には、その診断に必要な知識を事前にコンピ
ュータに入力しておく。そして、実際の故障診断におい
ては、コンピュータは、使用者に故障に関する質問を順
次行う。使用者は、その質問の答えを順次コンピュータ
に入力する。コンピュータは、この使用者の入力情報か
ら、コンピュータ自身に蓄積されている知識やノウハウ
(知識データベース)を元に、故障を診断し、解決手段
を見い出し、使用者のその情報を出力する。
When this expert system is used for failure diagnosis, knowledge necessary for the diagnosis is input to the computer in advance. Then, in the actual failure diagnosis, the computer sequentially asks the user questions regarding the failure. The user sequentially inputs the answers to the question into the computer. From the input information of the user, the computer diagnoses the failure based on the knowledge and know-how (knowledge database) accumulated in the computer itself, finds a solution, and outputs the information of the user.

【0008】[0008]

【発明が解決しようとする課題】上述のように、従来の
異常診断システムは、その診断に必要な知識を事前にコ
ンピュータに入力することが前提となっており、しか
も、エキスパートシステムを使用したコンピュータが出
力する質問に使用者が答えなければならないために、使
用者は、生産設備の構造や、シーケンスに通暁している
ことが必要となり、誰でもが扱えるというわけにはいか
ず、トラブル発生から生産設備が停止してしまっている
時間が長くなってしまっているという問題があるこの発
明は、以上の点に鑑み、素人でも容易に扱うことができ
るようにした生産設備の異常診断システムを提供しよう
とするものである。
As described above, the conventional abnormality diagnosis system is based on the premise that knowledge necessary for the diagnosis is input to the computer in advance, and furthermore, the computer using the expert system. Since the user must answer the question output by the user, the user needs to be familiar with the structure of the production equipment and the sequence, and not everyone can handle it. In view of the above points, the present invention has a problem that the equipment has stopped for a long time. In view of the above points, the present invention will provide an abnormality diagnosis system for production equipment that can be easily handled by an amateur. It is what

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、この発明による生産設備の異常診断システムは、生
産設備の動作を制御するプログラム可能な制御装置に、
コンピュータを接続し、このコンピュータによって、上
記生産設備の異常状態を自動的に検出し、検出した異常
状態に関連する表示を行うようにした異常診断システム
であって、上記コンピュータは、上記制御装置から、そ
のプログラムを取り込んで解析すると共に、上記生産設
備の動作シーケンスに関する入出力データを取り込み、
上記データと、上記解析結果とから、予め備えられてい
る知識データベースに基づいて上記生産設備の異常を検
出し、検出した異常状態に関連する指示情報を使用者に
供与するようにしたことを特徴とする。
In order to solve the above problems, a system for diagnosing abnormalities in production equipment according to the present invention includes a programmable controller for controlling the operation of production equipment.
An abnormality diagnosis system in which a computer is connected and an abnormal state of the production equipment is automatically detected by the computer, and a display relating to the detected abnormal state is performed, wherein the computer is operated by the control device. , The program is imported and analyzed, and input / output data related to the operation sequence of the production equipment is imported,
From the data and the analysis result, an abnormality of the production facility is detected based on a knowledge database provided in advance, and instruction information related to the detected abnormal state is provided to the user. And

【0010】[0010]

【作用】上記の構成のこの発明においては、コンピュー
タは、制御装置、すなわち、PLCから、そのプログラ
ムと入出力ポートからのデータを取り込み、プログラム
を解析すると共に、入出力ポートからのデータを参照し
ながら、コンピュータ自身がいわゆるQアンドAを行っ
て、異常診断を行い、使用者に異常発生箇所の情報や、
作業指示などを提供する。
In the present invention having the above structure, the computer takes in the program and data from the input / output port from the control device, that is, the PLC, analyzes the program, and refers to the data from the input / output port. However, the computer itself performs so-called Q & A to perform abnormality diagnosis, and informs the user of the location of the abnormality,
Provide work instructions.

【0011】[0011]

【実施例】以下、この発明による生産設備の異常診断シ
ステムの一実施例を、図を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the abnormality diagnosis system for production equipment according to the present invention will be described below with reference to the drawings.

【0012】図1は、この例の異常診断システムの全体
の構成を示すブロック図である。図1において、1は生
産設備、2はPLCで、PLC2のプログラムにより、
生産設備1の動作シーケンスが制御される。
FIG. 1 is a block diagram showing the overall configuration of the abnormality diagnosis system of this example. In FIG. 1, 1 is a production facility, 2 is a PLC, and by the program of PLC2,
The operation sequence of the production facility 1 is controlled.

【0013】生産設備1の動作シーケンス制御に際し
て、PLC2は、生産設備1に動作指令Cmを与える
が、その際、生産設備1からのセンサ出力などの種々の
情報SeをI/Oデータ(入出力データ)として受け
て、そのセンサ出力Seなどを確認しながら次の動作シ
ーケンスのための制御指令を生産設備1に送出して、所
望のシーケンスを実行してゆくように制御する。
During the operation sequence control of the production equipment 1, the PLC 2 gives an operation command Cm to the production equipment 1, and at that time, various information Se such as sensor output from the production equipment 1 is input / output as I / O data (input / output). The control command for the next operation sequence is sent to the production facility 1 while confirming the sensor output Se, etc., and the desired sequence is executed.

【0014】例えば、所定の位置にある物品を、他の位
置に移動させるシーケンスであれば、先ず、PLC2
は、生産設備1に対して、物品移動手段を物品がある所
定位置まで移動させる指令を送る。そして、正しく所定
位置まで移動したか否かをセンサ出力から検知する。所
定位置まで移動手段が移動したことを確認したら、PL
C2は、移動手段に物品を載置させる指令を送る。物品
が移動手段に載置されたか否かをセンサ出力により確認
したら、PLC2は、移動手段を他の位置まで移動させ
る指令を生産設備1に送る。他の位置まで移動したか否
かをセンサ出力により確認して、このシーケンスの終了
となる。
For example, in the case of a sequence for moving an article at a predetermined position to another position, first the PLC 2
Sends a command to the production facility 1 to move the article moving means to a predetermined position. Then, it is detected from the sensor output whether or not it has correctly moved to a predetermined position. After confirming that the moving means has moved to the predetermined position, PL
C2 sends a command to place the article on the moving means. When the sensor output confirms whether or not the article is placed on the moving means, the PLC 2 sends a command to the production facility 1 to move the moving means to another position. The sensor output confirms whether or not the position has moved to another position, and this sequence ends.

【0015】なお、実際的には、PLC2は、I/Oデ
ータのセンサ出力Seとして、各センサに対応して設け
られたリレーのオン・オフの情報を受信する。また、各
センサ(すなわちリレー)には、識別のための番号等が
付されている。
Actually, the PLC 2 receives the information on the on / off of the relay provided corresponding to each sensor as the sensor output Se of the I / O data. Further, each sensor (that is, relay) is provided with a number or the like for identification.

【0016】上述したようなシーケンスの際に、何等か
のトラブルにより例えば移動手段が途中で停止してしま
った場合などの異常事態が発生したときは、生産設備1
は停止してしまうと共に、PLC2はその状態でプログ
ラム停止となる。プログラムのどこで停止したかは、セ
ンサ出力により知ることができるが、PLCには、その
プログラムは含まれていない。そのトラブルが生産設備
として予め想定されたトラブルであればPLC2のシー
ケンスの一部として警報ブザーを鳴らしたり、警報ラン
プを点灯させるようにする。しかし、予め予知できない
ようなトラブルの場合には、警報は発せられず、システ
ムは停止したままとなる。
In the sequence as described above, when an abnormal situation occurs, for example, when the moving means is stopped halfway due to some trouble, the production facility 1
Will stop and the PLC 2 will stop the program in that state. Where the program stopped can be known from the sensor output, but the program is not included in the PLC. If the trouble is a trouble assumed in advance as production equipment, an alarm buzzer is sounded or an alarm lamp is turned on as a part of the sequence of the PLC 2. However, in the case of a trouble that cannot be predicted in advance, no alarm is given and the system remains stopped.

【0017】このような異常状態を自動的に診断し、使
用者に適切な作業指示を与えるために、この発明では、
コンピュータ3がPLC2に対して接続される。この場
合、このコンピュータ3には、使用者に異常箇所の情報
や異常に対処するための作業指示を行うための表示用デ
ィスプレイ装置4が接続されている。また、コンピュー
タ3に対しては、異常診断をスタートさせるように、使
用者が操作するキー操作部5が接続されている。なお、
コンピュータ3内のブロックは、このコンピュータ3内
での処理機能を勘案した機能ブロックである。
In order to automatically diagnose such an abnormal condition and give a proper work instruction to the user, the present invention provides:
The computer 3 is connected to the PLC 2. In this case, the computer 3 is connected to a display device 4 for display for giving the user information about an abnormal portion and a work instruction for dealing with the abnormality. Further, a key operation unit 5 operated by a user is connected to the computer 3 so as to start abnormality diagnosis. In addition,
The blocks in the computer 3 are functional blocks in consideration of processing functions in the computer 3.

【0018】この例の場合、コンピュータ3は、故障診
断のプログラムソフトとして、エキスパートシステムを
使用する。しかし、この発明では、従来と異なり、PL
C2のプログラムをこのエキスパートシステムにより解
析させて認識させ、また、生産設備1のセンサ出力をも
参照して、故障箇所を見出し、使用者に対する作業指示
を自動的に行わせるようにする。
In the case of this example, the computer 3 uses an expert system as program software for failure diagnosis. However, in the present invention, unlike the conventional case, the PL
The program of C2 is analyzed and recognized by this expert system, and the sensor output of the production facility 1 is also referred to so as to find a failure location and automatically give a work instruction to the user.

【0019】この場合に、PLC2のプログラムは、前
述したように、通常のコンピュータで使用されるもので
はないラダー言語が使用されるので、これをエキスパー
トシステムで解析可能な言語に変換する必要がある。そ
こで、コンピュータ3は、機能的には、エキスパートシ
ステムからなる異常診断部20と、データ取り込み及び
データ変換部10とから構成される。
In this case, the PLC2 program uses a ladder language which is not used in a normal computer, as described above, so it is necessary to convert this into a language that can be analyzed by an expert system. . Therefore, the computer 3 is functionally composed of an abnormality diagnosing unit 20 including an expert system and a data capturing and data converting unit 10.

【0020】[異常診断動作の説明]前述したように生
産設備が動作を停止してしまった状態になったとき、使
用者がキー操作部5を操作して、コンピュータ3による
異常診断のプログラムをスタートさせると、コンピュー
タ3は、データ送信要求発生部30からデータ送信要求
RQをPLC2に送出する。PLC2は、このデータ送
信要求RQを受けて、そのプログラムPR及び生産設備
1からのセンサ出力などのI/Oデータ(ステータスや
コメント)を、コンピュータ3に送信する。
[Explanation of Abnormality Diagnosis Operation] As described above, when the production equipment has stopped operating, the user operates the key operation unit 5 to execute the abnormality diagnosis program by the computer 3. When started, the computer 3 sends a data transmission request RQ from the data transmission request generation unit 30 to the PLC 2. Upon receiving the data transmission request RQ, the PLC 2 transmits the program PR and I / O data (status or comment) such as sensor output from the production facility 1 to the computer 3.

【0021】コンピュータ3は、データ取り込み及びデ
ータ変換部10の記憶部11PにPLC2の制御プログ
ラムを取り込むと共に、I/Oデータを記憶部11Dに
取り込む。そして、このデータ取り込み及びデータ変換
部10では、記憶部11PのPLC2のプログラムを、
ニーモニック変換部12でニーモニックコードに変換し
て、その記憶部12Mにファイルする。次に、エキスパ
ートシステムからなる故障診断部20に引き渡すため
に、このニーモニックコードを、エキスパート変換部1
3において、エキスパートシステム用のフォーマットの
データに変換し、その記憶部13Mにファイルする。
The computer 3 loads the control program of the PLC 2 into the storage unit 11P of the data loading and data conversion unit 10 and loads the I / O data into the storage unit 11D. Then, in the data acquisition and data conversion unit 10, the program of the PLC2 of the storage unit 11P is
The mnemonic conversion unit 12 converts the mnemonic code and files it in the storage unit 12M. Next, this mnemonic code is transferred to the expert conversion unit 1 in order to deliver it to the failure diagnosis unit 20 composed of an expert system.
In 3, the data is converted into the data of the format for the expert system and filed in the storage unit 13M.

【0022】今、例えばPLC2のラダープログラム
が、図2に示すようなもので、「A且つCあるいはB且
つCであれば、出力Dが得られる」ことを意味している
とすれば、それをエキスパートシステム用のフォーマッ
トに変換すると、図3に示すようなものとなる。
Now, for example, if the ladder program of PLC2 is as shown in FIG. 2 and it means "if A and C or B and C, then output D is obtained", Is converted into the format for the expert system, the result is as shown in FIG.

【0023】こうして、エキスパートシステム用のフォ
ーマットに変換されたPLCのプログラムのデータと、
記憶部11DのI/Oデータとは、異常診断部20の解
析診断部21に引き渡される。
In this way, the PLC program data converted into the format for the expert system,
The I / O data in the storage unit 11D is delivered to the analysis / diagnosis unit 21 of the abnormality diagnosis unit 20.

【0024】前述もしたように、異常診断部20には、
知識データベース部23が設けられており、その知識デ
ータベースとして、予め、生産設備1の異常診断のため
の情報が蓄えられている。解析診断部21では、PLC
2のプログラムのデータ、I/Oデータに基づいて生産
設備1の異常検索を行い、知識データベースを用いて、
発見した異常に対して診断結果を下す。そして、その診
断結果に基づいて指示情報発生部22から使用者に対す
る操作指示情報を発生させ、ディスプレイ4に表示す
る。
As described above, the abnormality diagnosing unit 20 includes
The knowledge database unit 23 is provided, and information for abnormality diagnosis of the production facility 1 is stored in advance as the knowledge database. In the analysis / diagnosis unit 21, the PLC
Based on the data of the program of 2 and I / O data, the production facility 1 is searched for abnormalities, and the knowledge database is used.
The diagnosis result is given to the detected abnormality. Then, based on the diagnosis result, the instruction information generator 22 generates operation instruction information for the user and displays it on the display 4.

【0025】[異常診断のより詳細な例の説明]エキス
パートシステムからなる異常診断部20における異常診
断の動作の一例を、図5のフローチャートに示す。以
下、このフローチャートを参照しながら、異常診断の、
より具体的な動作例について説明する。
[Detailed Description of Abnormality Diagnosis] An example of the operation of abnormality diagnosis in the abnormality diagnosis unit 20 which is an expert system is shown in the flowchart of FIG. Below, referring to this flowchart,
A more specific operation example will be described.

【0026】この例の異常診断システムにおいては、発
生するトラブル(異常)を、予め、生産設備として予想
されるトラブル(予測可能トラブルと以下称する)と、
生産設備として予想されていないトラブル(アンノウン
トラブルと以下称する)とに分けて、トラブル検索を行
う。この場合、予測可能トラブルは、生産設備に設けら
れている赤、黄などの警報ランプにより判断できるトラ
ブルであり、アンノウントラブルは、警報ランプには何
も現れずに、生産設備が停止してしまった場合のトラブ
ルである。
In the abnormality diagnosing system of this example, the trouble (abnormality) that occurs is referred to in advance as a trouble expected as production equipment (hereinafter referred to as a predictable trouble).
Trouble search is performed separately for troubles that are not expected as production equipment (hereinafter referred to as unknown troubles). In this case, the predictable trouble is a trouble that can be judged by the warning lamps such as red and yellow provided in the production equipment. It is a trouble when it comes.

【0027】図5に示すように、異常診断部部20にお
ける異常診断の手順においては、先ず、予測可能トラブ
ルについて検索する(ステップ101)。
As shown in FIG. 5, in the abnormality diagnosis procedure in the abnormality diagnosis section 20, first, a predictable trouble is searched (step 101).

【0028】この例では、PLC2のプログラムは、標
準化されており、プログラムで使用されるナンバー(セ
ンサに対応した制御リレーに付与されているナンバー)
は、例えば図4の表に示すように、特定の意味を持って
おり、異常診断部20は、これらのナンバーの部分から
異常診断の検索を開始する。予測可能トラブルは、この
検索で発見される。
In this example, the PLC2 program is standardized, and the number used in the program (the number given to the control relay corresponding to the sensor) is used.
Has a specific meaning as shown in the table of FIG. 4, for example, and the abnormality diagnosis unit 20 starts the search for abnormality diagnosis from these numbers. Predictable troubles are found in this search.

【0029】そして、次のステップ102において、予
測可能トラブルが発見されたか否か判別され、予測可能
トラブルが発見された場合には、ステップ103に進
み、予測可能トラブルが発見されなかった場合には、後
述するようにステップ110に進んで、アンノウントラ
ブルについての処理のフローに移る。
Then, in the next step 102, it is judged whether or not the predictable trouble is found. If the predictable trouble is found, the process proceeds to step 103, and if the predictable trouble is not found. As will be described later, the process proceeds to step 110 and moves to the process flow for the unknown trouble.

【0030】[予測可能トラブルが発生した場合の例]
ここで、生産設備がナンバー13100の緊急停止の状
態になった予測可能トラブルが発生した場合を例として
説明する。この状態では、図4の表に示したように、制
御リレーIR13100(IRは制御リレーを示してい
る)が「オン」しており、これがステップ102で検出
され、ステップ103に移る。
[Example when predictable trouble occurs]
Here, a case will be described as an example where a predictable trouble occurs in which the production facility is in the emergency stop state with the number 13100. In this state, as shown in the table of FIG. 4, the control relay IR13100 (IR indicates a control relay) is “ON”, this is detected in step 102, and the process proceeds to step 103.

【0031】ステップ103では、ナンバー13100
のPLC2のラダープログラムが解析される。この例の
場合、この緊急停止に関するPLC2のプログラム(ラ
ダープログラム)は、図6に示すようなものとされてお
り、これをエキスパートシステム用としてフォーマッテ
ィングされたデータは、図7に示すようなものとなる。
つまり、出力「13100」についての条件のプログラ
ムとなっている。図6に示すナンバーにおいて、IR0
0000は緊急停止スイッチであり、また、IR000
01はリセットスイッチである。このことは、知識デー
タベース部23に知識として蓄えられている。
In step 103, the number 13100
The PLC2 ladder program is analyzed. In the case of this example, the PLC2 program (ladder program) relating to this emergency stop is as shown in FIG. 6, and the data formatted for this as an expert system is as shown in FIG. Become.
That is, it is a program of the condition for the output “13100”. In the numbers shown in FIG. 6, IR0
0000 is an emergency stop switch, and IR000
01 is a reset switch. This is stored as knowledge in the knowledge database unit 23.

【0032】また、ステップ103では、エキスパート
システムとして周知のようにして、その解析結果からツ
リー構造のエキスパートオブジェクトを、出力「131
00」に対して生成し、ステップ104に移行する。図
8に、そのツリー構造のエキスパートオブジェクトを示
す。
In step 103, a tree-structured expert object is output from the analysis result as is well known as an expert system.
00 ”and the process proceeds to step 104. FIG. 8 shows the expert object of the tree structure.

【0033】ステップ104では、図8のツリーについ
て、なぜリレーIR13100のステータスがオンであ
るかを、I/Oデータを参照しながら検索する。そのサ
ーチの順序は、図8において、パス1から始めて、次に
パス2を検索する。ここで、サーチがエンドレスになっ
てしまうのを防止するため、実際の入出力データ(この
場合には、IR00000、IR00001のステータ
ス)を発見すると、これらの状態に注目して、サーチを
ストップする。
In step 104, the reason why the status of the relay IR13100 is ON in the tree of FIG. 8 is searched with reference to the I / O data. The order of the search is to start from path 1 and then search path 2 in FIG. Here, in order to prevent the search from becoming endless, when the actual input / output data (in this case, the statuses of IR00000 and IR00001) are found, the search is stopped by paying attention to these states.

【0034】この場合、IR00000及びIR000
01は、共に「オフ」となっており、IR13100が
a接点(常開接点)使用であり、IR00000及びI
R00001がb接点(常閉接点)使用である。図7で
IRは常時開接点を示し、INは常時閉接点を示してい
る。このことから、IR13100が「オン」となった
のは、IR00000及びIR00001が、共に「オ
フ」であるためであると判断される。次に、ステップ1
05に進む。
In this case, IR00000 and IR000
01 is both “off”, the IR13100 uses a-contact (normally open contact), and IR00000 and I
R00001 uses b contact (normally closed contact). In FIG. 7, IR indicates a normally open contact and IN indicates a normally closed contact. From this, it is determined that IR13100 is turned "on" because both IR00000 and IR00001 are "off". Next, step 1
Go to 05.

【0035】IR00000が「オフ」であるのは、緊
急停止スイッチが押されているか、あるいは、断線が生
じていることを意味しており、また、IR00001が
「オフ」であるのは、リセットスイッチが押されていな
いことを意味している。これは、予め、知識データベー
ス部23に登録されている。そこで、ステップ105で
は、次のようなメッセージを作成し、それをディスプレ
イに表示させる。
"IR0000" is "OFF" means that the emergency stop switch is pressed or a wire break occurs, and "IR00001" is "OFF" when the reset switch is set. Means that is not pressed. This is registered in the knowledge database unit 23 in advance. Therefore, in step 105, the following message is created and displayed on the display.

【0036】[メッセージの例] Emergency SW が押されている、又は断線 Reset SW が押されていない これらの箇所をチェックしてください。[Example of message] Emergency SW is pressed or disconnection Reset SW is not pressed. Check these points.

【0037】ステップ105の次には、ステップ106
に進み、異常診断を終了する。使用者は、上記のメッセ
ージを見て、生産設備のメンテナンスを行う。
After step 105, step 106 is performed.
To complete the abnormality diagnosis. The user sees the above message and maintains the production equipment.

【0038】[アンノウントラブルが発生した場合]ス
テップ102において、予測トラブルが発見できなかっ
たときには、すなわち、発生したトラブルがアンノウン
トラブルのときには、ステップ110に進んで、以下の
ようにしてその異常診断を行う。
[Unknown trouble has occurred] If no predicted trouble is found in step 102, that is, if the trouble that has occurred is an unknown trouble, the routine proceeds to step 110, and the abnormality diagnosis is performed as follows. To do.

【0039】この例では、図9及び図10に示すよう
に、トランスファーマシーン(移動手段)を用いて、あ
る処理目標物をチャックにおき、その後、次の処理目標
物を、別のチャックのところまで取りに行き、元のチャ
ック位置まで戻る〜までの工程からなるシーケンス
を考える。このときのI/Oポートの入力データは、図
11のような割り当てになっているとする。各I/Oア
ドレスに対応してスイッチやリレーIRが設けられ、選
択されたスイッチやリレーIRがオンとされて、I/O
データが入出力される。
In this example, as shown in FIGS. 9 and 10, a processing target object is placed on the chuck by using a transfer machine (moving means), and then the next processing target object is placed on another chuck. Let's consider a sequence consisting of the steps up to and returning to the original chuck position. It is assumed that the input data of the I / O port at this time is assigned as shown in FIG. A switch or relay IR is provided corresponding to each I / O address, and the selected switch or relay IR is turned on,
Data is input / output.

【0040】そして、トラブルとしてI/Oポートの入
力アドレスX108のロードレディ(LOAD Ready)信号
が入らず、設備が停止していると仮定する。このトラブ
ル状態では、警報ランプによる表示はなく、生産設備は
トラブルとして認識していない。
As a trouble, it is assumed that the load ready signal of the input address X108 of the I / O port is not input and the equipment is stopped. In this trouble state, there is no indication by the alarm lamp, and the production equipment does not recognize it as a trouble.

【0041】ロードレディ信号は、これが得られてから
シーケンスのヘッドダウンが実行されるようにプログ
ラムが作成されている。このヘッドダウンの部分のラダ
ープログラムを図12に示す。また、このラダープログ
ラムをエキスパートシステム用のフォーマットに変換し
た状態を図13に示す。このとき、リレーIR0010
8が「オフ」(なぜならロードレディ信号が入って来な
い)であるので、コントロールリレーIR15008は
「オフ」となって、ここでプログラムが停止している。
The load ready signal is programmed so that the head down of the sequence is executed after the load ready signal is obtained. FIG. 12 shows the ladder program of this head-down portion. Further, FIG. 13 shows a state in which this ladder program is converted into a format for an expert system. At this time, the relay IR0010
Since 8 is "off" (because no load ready signal comes in), the control relay IR15008 is "off" and the program is stopped here.

【0042】ステップ110では、図9のシーケンスの
どこでプログラムが停止しているかを検索する。これは
各シーケンス〜のコントロールリレーの状態を、エ
キスパートオブジェクトを作成しながらサーチすること
により行うことができる。上述のアンノウントラブルの
場合には、リレーIR15008が「オフ」であること
から、工程の部分でプログラム停止となっていること
を、ステップ111において発見する。
In step 110, the place where the program stops in the sequence of FIG. 9 is searched. This can be done by searching the states of the control relays of each sequence through while creating the expert object. In the case of the above-mentioned unknown trouble, since the relay IR 15008 is “off”, it is found in step 111 that the program is stopped in the process part.

【0043】こうしてプログラムが停止した部分を検知
したら、ステップ112に進んで、前述した予想可能ト
ラブルと同様にして、トラブルの生じているナンバー1
5008のプログラム部分(図12及び図13参照)か
ら、図14に示すようなツリー構造のエキスパートオブ
ジェクトを生成し、パス10→パス11の順に、なぜリ
レーIR15008が「オフ」しているか、原因を見出
す。前述したように、エキスパートシステムは、実際の
入出力に到達するまで検索を続けるので、この例の場合
には、リレーIR00108「オフ」という結果が得ら
れる。
When the portion where the program has stopped is detected in this way, the process proceeds to step 112 and, in the same manner as the above-mentioned predictable trouble, the number 1 in which the trouble has occurred.
From the program part of 5008 (see FIGS. 12 and 13), an expert object having a tree structure as shown in FIG. 14 is generated, and the reason why the relay IR15008 is “off” in the order of path 10 → path 11 is explained. Find out. As mentioned above, the expert system will continue to search until the actual input / output is reached, resulting in the relay IR00108 "off" for this example.

【0044】次に、ステップ104に進んで、ステップ
112で検出した結果と知識データベースとを組み合わ
せて使用者に対する指示を発生させ、ステップ105に
おいて、ディスプレイ4にそのメッセージを表示するよ
うにする。ステップ105の次は、ステップ106に進
んで、この異常診断のフローを終了する。
Next, in step 104, the result detected in step 112 is combined with the knowledge database to generate an instruction to the user, and in step 105, the message is displayed on the display 4. After step 105, the routine proceeds to step 106, and this abnormality diagnosis flow is ended.

【0045】以上の例では、異常診断のプログラムソフ
トとして、エキスパートシステムを用いた場合について
説明したが、使用可能なソフトウエアとしては、これに
限られるものでないことはいうまでもない。
In the above example, the case where the expert system is used as the program software for abnormality diagnosis has been described, but it goes without saying that usable software is not limited to this.

【0046】また、使用者に対する指示は、ディスプレ
イに表示するようにしたが、音声により指示を使用者に
対して供与するようにしても良い。
Although the instruction to the user is displayed on the display, the instruction may be given to the user by voice.

【0047】[0047]

【発明の効果】以上説明したように、この発明によれ
ば、PLCに接続されたコンピュータが、自分自身で異
常診断を行い、使用者に対する指示を行うようにするの
で、従来、知識を有するものだけが行っていた、いわゆ
るトラブルシューティングが、誰でも行うことができ
る。このため、異常発生による生産設備が停止している
時間が削減され、生産設備の可動率が向上し、生産量の
増加を期待できる。
As described above, according to the present invention, since the computer connected to the PLC performs the abnormality diagnosis by itself and gives the instruction to the user, it has the conventional knowledge. Anyone can do so-called troubleshooting, which was only done by anyone. Therefore, the time during which the production facility is stopped due to an abnormality is reduced, the movability of the production facility is improved, and the production amount can be expected to increase.

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

【図1】この発明による生産設備の異常診断システムの
一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a production facility abnormality diagnosis system according to the present invention.

【図2】PLCのプログラムの一例を示す図である。FIG. 2 is a diagram showing an example of a PLC program.

【図3】図2のプログラムをエキスパートシステム用の
フォーマットに変換したものを示す図である。
FIG. 3 is a diagram showing the program of FIG. 2 converted into a format for an expert system.

【図4】PLCのプログラムナンバーと、その特定の意
味の例を示す図である。
FIG. 4 is a diagram showing an example of a PLC program number and its specific meaning.

【図5】異常診断の動作の一例のフローチャートであ
る。
FIG. 5 is a flowchart of an example of an abnormality diagnosis operation.

【図6】PLCのプログラムの一例を示す図である。FIG. 6 is a diagram showing an example of a PLC program.

【図7】図6のプログラムをエキスパートシステム用の
フォーマットに変換したものを示す図である。
FIG. 7 is a diagram showing the program of FIG. 6 converted into a format for an expert system.

【図8】ツリー構造のエキスパートオブジェクトの例を
示す図である。
FIG. 8 is a diagram showing an example of a tree-structured expert object.

【図9】生産設備のシーケンスの例を示す図である。FIG. 9 is a diagram showing an example of a sequence of production equipment.

【図10】生産設備のシーケンスの例を示す図である。FIG. 10 is a diagram showing an example of a sequence of production equipment.

【図11】I/Oポートの割り当ての一例を示す図であ
る。
FIG. 11 is a diagram showing an example of I / O port allocation.

【図12】PLCのプログラムの一例を示す図である。FIG. 12 is a diagram showing an example of a PLC program.

【図13】図11のプログラムをエキスパートシステム
用のフォーマットに変換したものを示す図である。
FIG. 13 is a diagram showing the program of FIG. 11 converted into a format for an expert system.

【図14】ツリー構造のエキスパートオブジェクトの例
を示す図である。
FIG. 14 is a diagram showing an example of a tree-structured expert object.

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

1 生産設備 2 PLC(制御装置) 3 コンピュータ 10 データ取り込み及びデータ変換部 12 ニーモニック記号への変換部 13 エキスパートシステム用のフォーマットへの変換
部 20 異常診断部 21 解析診断部 22 指示情報発生部 23 知識データベース部
1 Production Equipment 2 PLC (Control Device) 3 Computer 10 Data Acquisition and Data Conversion Unit 12 Mnemonic Symbol Conversion Unit 13 Expert System Format Conversion Unit 20 Abnormality Diagnosis Unit 21 Analysis Diagnosis Unit 22 Instruction Information Generation Unit 23 Knowledge Database section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴崎 哲郎 シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 (72)発明者 ハンタルト ジャンドラ シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 (72)発明者 セン チン チャイ シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 (72)発明者 イー メイ サン シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 (72)発明者 チャン チー ハウ シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 (72)発明者 ラム イー キョン エリック シンガポール国シンガポール2263トゥアス ロード1 ソニー・ディスプレイ・デバイ ス(シンガポール)プライベートリミテッ ド内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Tetsuro Shibasaki Singapore 2263 Tuas Road 1 Singapore Private Limited Limited (72) Inventor Huntart Jundra Singapore 2263 Tuas Road 1 Singapore 2263 Sony Assurance 1 Private Limited Display Device (Singapore) Private Limited (72) Inventor Sen Ching Chai Singapore, Singapore 2263 Tuas Road 1 Sony Display Device (Singapore) Private Limited (72) Inventor E Meisan Singapore Singapore 2263 Tuas Road 1 Sony Display Device (Singapo ) Private Limited (72) Inventor Chang Chee Haw Singapore 2263 Tuas Road, Singapore 2263 Sony Display Devices (Singapore) Private Limited (72) Inventor Ram Eikyon Eric Singapore 2263 Tuas Road 1 Within Sony Display Devices (Singapore) Private Limited

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 生産設備の動作を制御するプログラム可
能な制御装置に、コンピュータを接続し、このコンピュ
ータによって、上記生産設備の異常状態を自動的に検出
し、検出した異常状態に関連する表示を行うようにした
異常診断システムであって、 上記コンピュータは、 上記制御装置から、そのプログラムを取り込んで解析す
ると共に、 上記生産設備の動作シーケンスに関する入出力データを
取り込み、 上記データと、上記解析結果とから、予め備えられてい
る知識データベースに基づいて上記生産設備の異常を検
出し、検出した異常状態に関連する指示情報を使用者に
供与するようにしたことを特徴とする生産設備の異常診
断システム。
1. A computer is connected to a programmable controller for controlling the operation of a production facility, the computer automatically detects an abnormal state of the production facility, and displays a display relating to the detected abnormal state. An abnormality diagnosis system configured to perform, wherein the computer loads and analyzes the program from the control device, loads input / output data regarding an operation sequence of the production facility, and collects the data and the analysis result. From the above, the abnormality diagnosis system of the production facility is characterized in that the abnormality of the production facility is detected based on a knowledge database provided in advance and the instruction information related to the detected abnormal state is provided to the user. .
【請求項2】 請求項1に記載の生産設備の異常診断シ
ステムにおいて、 上記コンピュータは、制御装置のプログラムの解析結果
から、ツリー構造の診断手順を構築し、この診断手順を
上記入出力ポートデータを参照しながら実行して異常を
検出するようにしたことを特徴とする生産設備の異常診
断システム。
2. The abnormality diagnosis system for production equipment according to claim 1, wherein the computer constructs a tree-structured diagnosis procedure from an analysis result of a program of a control device, and the diagnosis procedure is used as the input / output port data. An abnormality diagnosis system for production equipment, which is characterized in that the abnormality diagnosis system is executed by referring to.
【請求項3】 上記生産設備で発生する異常を、上記生
産設備として予測可能な第1の異常と、予測されていな
い第2の異常とに分け、 異常診断の検索は、上記第1の異常について行って、異
常が第1の異常でないときに、上記第2の異常について
行うようにしたことを特徴とする生産設備の異常診断シ
ステム。
3. An abnormality occurring in the production equipment is divided into a first abnormality that can be predicted as the production equipment and a second abnormality that is not predicted, and the abnormality diagnosis is searched for by using the first abnormality. The abnormality diagnosis system for production equipment, wherein the abnormality diagnosis system is for the second abnormality when the abnormality is not the first abnormality.
JP5219122A 1993-08-11 1993-08-11 Abnormality diagnostic system of production equipment Pending JPH07104839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5219122A JPH07104839A (en) 1993-08-11 1993-08-11 Abnormality diagnostic system of production equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5219122A JPH07104839A (en) 1993-08-11 1993-08-11 Abnormality diagnostic system of production equipment

Publications (1)

Publication Number Publication Date
JPH07104839A true JPH07104839A (en) 1995-04-21

Family

ID=16730592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5219122A Pending JPH07104839A (en) 1993-08-11 1993-08-11 Abnormality diagnostic system of production equipment

Country Status (1)

Country Link
JP (1) JPH07104839A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002296151A (en) * 2001-03-29 2002-10-09 Osaka Gas Co Ltd Equipment diagnostic system, equipment diagnostic method and equipment diagnostic program using lubricating oil
US20130241586A1 (en) * 2010-12-09 2013-09-19 Mitsubishi Electric Corporation Industrial automatic-diagnostic device
JP2020177713A (en) * 2018-10-23 2020-10-29 株式会社キーエンス Programmable logic controller
US11656596B2 (en) 2018-10-23 2023-05-23 Keyence Corporation Programmable logic controller and program creation supporting apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002296151A (en) * 2001-03-29 2002-10-09 Osaka Gas Co Ltd Equipment diagnostic system, equipment diagnostic method and equipment diagnostic program using lubricating oil
US20130241586A1 (en) * 2010-12-09 2013-09-19 Mitsubishi Electric Corporation Industrial automatic-diagnostic device
DE112010006057T5 (en) 2010-12-09 2013-10-10 Mitsubishi Electric Corp. Industrial device for automatic diagnosis
US9678160B2 (en) 2010-12-09 2017-06-13 Mitsubishi Electric Corporation Industrial automatic-diagnostic device
JP2020177713A (en) * 2018-10-23 2020-10-29 株式会社キーエンス Programmable logic controller
US11656596B2 (en) 2018-10-23 2023-05-23 Keyence Corporation Programmable logic controller and program creation supporting apparatus

Similar Documents

Publication Publication Date Title
JP2001134309A (en) Robot operation terminal and remote control system for robot
JPH09330114A (en) Device and method for abnormality diagnosis of processing facility
KR0149178B1 (en) Apparatus and method for controlling a system process
JPH07104839A (en) Abnormality diagnostic system of production equipment
WO1990002366A1 (en) System for diagnosing cnc
WO2000043846A2 (en) Integration of diagnostics and control in a component-based production line
KR100240957B1 (en) Distribution/intelligence type remote supervisory method and apparatus for elevators
JPH04131915A (en) Trouble diagnostic system for molding machine
JP3825107B2 (en) Equipment abnormality monitoring apparatus and abnormality monitoring method thereof
JP2011175353A (en) Abnormality analysis device and method for controlling the same device
KR100645397B1 (en) Fault Diagnosis System and Method of Machine Tool
KR19980030105A (en) Elevator diagnostic system and its control method
KR100206992B1 (en) The method of plc diagnosis
KR20040050973A (en) Total management system and control method for realtime monitoring of time interlock
JP3337145B2 (en) Error recovery device for sequence control device
EP4231104A1 (en) Interactive proposal system for determining a set of operational parameters for a machine tool, control system for a machine tool, machine tool and method for determining a set of operational parameters
JP2528386B2 (en) Failure diagnosis method
JPH08194530A (en) Abnormality diagnosis supporting system
JPH08292894A (en) Digital controller
Wu Methodology of generating recovery procedures in a robotic cell
JP3110958B2 (en) Plant maintenance equipment
JP2003271239A (en) Error diagnosis device, error foretaste diagnosis device, and unwanted event detecting device
JP2582813B2 (en) Command support system
JPS61256403A (en) Automation system for operation of plant
JPH1132448A (en) Supervisory controller for power system