JPS60160412A - System for deciding fault location - Google Patents

System for deciding fault location

Info

Publication number
JPS60160412A
JPS60160412A JP59015188A JP1518884A JPS60160412A JP S60160412 A JPS60160412 A JP S60160412A JP 59015188 A JP59015188 A JP 59015188A JP 1518884 A JP1518884 A JP 1518884A JP S60160412 A JPS60160412 A JP S60160412A
Authority
JP
Japan
Prior art keywords
external contact
state
unit
fault
unit operation
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
JP59015188A
Other languages
Japanese (ja)
Inventor
Masanori Katayama
片山 正典
Norihisa Komoda
薦田 憲久
Tomohiro Murata
智洋 村田
Kazuo Kaira
和郎 解良
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59015188A priority Critical patent/JPS60160412A/en
Priority to US06/691,910 priority patent/US4638227A/en
Priority to CA000472405A priority patent/CA1231422A/en
Priority to DE19853501592 priority patent/DE3501592A1/en
Priority to FR858500676A priority patent/FR2558277B1/en
Publication of JPS60160412A publication Critical patent/JPS60160412A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4067Restoring data or position after power failure or other interruption
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1181Detection of I-O faults, shut down of I-O
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34365After interrupt of operation, do other task and go on - resume operation

Abstract

PURPOSE:To detect simply and surely a fault by storing the on/off of each switch or the like at the start time or the like at each unit operation at the normal state and detecting a fault based thereupon in detecting the fault of a limit switch or the like. CONSTITUTION:A centralized controller 30 controls robots 11-14 or the like by using a centralized control memory 31 and robot operation teaching data memories 34, 35 or the like via robot controllers 32, 33. Moverover, an external contact diagnostic device 37 diagnoses external contacts by using a table 46 storing the concerned information. The said memory 31 has control message tables 41-45 or the like, and control information transmitted from the controller 30 to each equipment is registered in table 41 according to the operation No. where the centralized controller 30 is started in response to a synchronism exclusion step definition table 42 and an operation management table 43. Then the failure is detected only to external contacts having relation to the synchronism exclusion step and the fault is detected by the information taught at the normal state.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は異常箇所判定方式に関し、特に工業用ロボット
等の、リミットスイッチ類が多数用いられている加工設
備の動作制御装置における異常側部判定に好適な、異常
箇所判定方式に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for determining an abnormal location, and is particularly applicable to determining an abnormal side in an operation control device for processing equipment such as an industrial robot that uses a large number of limit switches. The present invention relates to a suitable abnormality location determination method.

〔発明の背景〕[Background of the invention]

最近、ファクトリ−オートメーション(FA)が注目さ
れているが、上記FA分野において、自動加工機械や工
業用ロボット等を組合わせて効率的に加工2組立作業を
行わせるという要求が強い。
Factory automation (FA) has recently been attracting attention, and in the FA field, there is a strong demand for efficient processing and assembly operations by combining automatic processing machines, industrial robots, and the like.

従来、ティーチング・プレイバック式のロボットや自動
加工機械を組合わせて協調動作を行わせる場合には、そ
れらの間のインターロックを取って制御プログラムを組
む必要があり、この作業がきわめて面倒であるという問
題があった。
Conventionally, when combining teaching-playback type robots and automatic processing machines to perform cooperative operations, it was necessary to create interlocks between them and create control programs, which was extremely troublesome. There was a problem.

以下、これを、より具体的に説明する。This will be explained in more detail below.

第1図は2台のロボットを用いる部品取付はステーショ
ンの構成図である。図において、1oは部品供給コンベ
ア、11は部品ハンドリングロボット(以下、「ロボッ
ト(1)」という)、12は部品位置決め装置、13は
回転テーブル、14はネジ締めロボット(以下、「ロボ
ット(2)」という)、15は部品取付は作業中のパレ
ットを示している。
FIG. 1 is a configuration diagram of a component mounting station using two robots. In the figure, 1o is a parts supply conveyor, 11 is a parts handling robot (hereinafter referred to as "robot (1)"), 12 is a parts positioning device, 13 is a rotary table, and 14 is a screw tightening robot (hereinafter referred to as "robot (2)"). ''), 15 indicates the pallet on which parts are being mounted.

第2図は第1図に示した設備の要期排他動作シーケンス
チャートであり、第1図の回転テーブル13、ロボット
(1)IL部品位置決め装置12およびロボット(2)
14の各設備を、それぞれ(a)〜(d)に示す如く、
同期、排他制御しながら協調的に動作させるためのもの
である。
FIG. 2 is a key period exclusive operation sequence chart of the equipment shown in FIG.
Each of the 14 facilities is as shown in (a) to (d), respectively.
This is to operate cooperatively under synchronized and exclusive control.

第2図において、ボックス101〜133は各設備の単
位動作を示し、ボックスとボックスとを結ぶ実線の矢印
は該矢印の出発点のボックスに書かれた単位動作が完了
し、かつ、遷移条件、例えば、リミットスィッチ0N1
0FF条件が成立した場合、矢印の終点のボックスに書
かれた単位動作が起動されることを示している。
In FIG. 2, boxes 101 to 133 indicate unit operations of each piece of equipment, and solid arrows connecting the boxes indicate that the unit operation written in the box at the starting point of the arrow has been completed, and that the transition condition is For example, limit switch 0N1
This indicates that when the 0FF condition is satisfied, the unit operation written in the box at the end of the arrow is activated.

第2図(b)のシーケンスで[部品をつかむ」という単
位動作(112)が完了し、「位置決め装置にのせる」
という単位動作(113)が起動するための遷移条件と
しては、ロボット(1)11のハンド部についているリ
ミットスイッチがONになった場合を挙げることができ
る。
In the sequence shown in FIG. 2(b), the unit operation (112) of "grabbing the component" is completed, and "placing it on the positioning device"
As a transition condition for activating the unit operation (113), there is a case where the limit switch attached to the hand portion of the robot (1) 11 is turned on.

これは部品を確実につかめたか否かを確認するためのも
のであり、上記リミットスイッチがOFFであれば遷移
条件が成立せず、例えば、部品が倒れた等の何等かの原
因のため、部品をつかむという単位動作(112)が失
敗したと判断し、ロボットは停止する。
This is to confirm whether or not the part can be grasped securely.If the above limit switch is OFF, the transition condition does not hold, and for example, the part may have fallen due to some reason. It is determined that the unit action (112) of grasping has failed, and the robot stops.

リミットスイッチや近接スイッチが多数用いられている
自動化設備においては、上述の如く、上記リミットスイ
ッチ等が動作の確認のために利用されるが、これらのリ
ミットスイッチ等は物理的に動作するものであるためそ
の信頼性が低く、また、この種のスイッチの故障は再現
性が悪い。
In automated equipment where a large number of limit switches and proximity switches are used, the limit switches and the like are used to confirm operation, as mentioned above, but these limit switches and the like physically operate. Therefore, its reliability is low, and failures of this type of switch are not reproducible.

このため、従来の自動化設備においては、設備に異常が
発生した場合、どのような原因で異常が発生したのかが
分りにくく、特にリミットスイッチの故障が原因である
ことが分っても、どのリミットスイッチが故障している
のかを調べるのには大変手間がかかるという問題があっ
た。
For this reason, in conventional automated equipment, when an abnormality occurs in the equipment, it is difficult to determine the cause of the abnormality, and even if it is determined that the cause is a limit switch failure, which limit There was a problem in that it took a lot of time and effort to check whether the switch was malfunctioning.

これに対しては、制御用のデータとは別の故障診断用デ
ータを入れることも考えられるが、これには1診断用デ
ータを別に作る必要があることはもちろん、制御用デー
タを変更する場合には上記診断用データも変更する必要
がある等、面倒な点が多いという問題がある。
For this purpose, it is possible to include failure diagnosis data that is separate from the control data, but this requires the creation of separate diagnostic data, as well as the need to change the control data. However, there are problems in that there are many troublesome points, such as the need to change the above-mentioned diagnostic data.

〔発明の目的〕[Purpose of the invention]

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の自動化設備制御システムの異常検
出方式における上述の如き問題を解消し、これに代って
リミットスイッチ等の故障検出を簡単に、かつ、確実に
行うことが可能な異常箇所判定方式を提供することにあ
る。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the conventional abnormality detection method of automated equipment control systems, and to provide an alternative method for detecting failures in limit switches, etc. An object of the present invention is to provide an abnormality location determination method that can be easily and reliably performed.

〔発明の概要〕[Summary of the invention]

本発明の要点は、リミットスイッチ等の接点が多数用い
られている自動加工設備等において、上記リミットスイ
ッチ等の故障検出を行う際に、正常時に各リミットスイ
ッチ等がどの単位動作の起動時(または完了時)にON
またはOFFに状態変化するかを記憶しておき、そのデ
ータを基に、上記リミットスイッチ等の接点の故障を検
出するようにした点にある。但し、この操作を全部の接
点について毎回行うことは処理量の増大を招くことにな
るので、動作シーケンス実行中に遷移条件のみが不成立
である同期、排他ステップを自動検出し、その同期、排
他ステップに関係するリミットスイッチについて、正常
時に学習したデータから該リミットスイッチは現状では
ONであるべきかOFFであるべきかを判断してその異
常を検出するようにしているものである。
The main point of the present invention is that when detecting a failure of the limit switches, etc. in automatic processing equipment where a large number of contact points such as limit switches are used, it is possible to detect which unit operation (or ON when completed)
or OFF is stored, and based on that data, a failure of a contact such as the limit switch is detected. However, performing this operation every time for all contacts will increase the amount of processing, so we automatically detect synchronization and exclusive steps where only the transition condition is not satisfied during the execution of the operation sequence, and Regarding limit switches related to the above, abnormalities are detected by determining whether the limit switch should currently be ON or OFF based on data learned during normal operation.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面の基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第3図は本発明の一実施例を示す構成図である6図にお
いて、30は統括制御装置、31は統括制御用メモリ、
32.33はロボット制御装置、34.35はロボット
動作教示データ用メモリ、36はモニタ端末、37は外
部接点診断装置、38はリレー制御盤を示している。ま
た、11〜14は先に第1図に示したと同じ構成要素を
示しており、41〜45は統括制御情報を記憶している
テーブル、46は外部接点診断用の情報を記憶している
テーブルを示している。
FIG. 3 is a configuration diagram showing an embodiment of the present invention. In FIG. 6, 30 is an overall control device, 31 is an overall control memory,
Reference numerals 32 and 33 designate a robot control device, 34 and 35 a memory for robot operation teaching data, 36 a monitor terminal, 37 an external contact diagnosis device, and 38 a relay control panel. Further, 11 to 14 indicate the same components as previously shown in FIG. 1, 41 to 45 are tables storing general control information, and 46 is a table storing information for external contact diagnosis. It shows.

まず、上記統括制御用メモリ31中のテーブル41〜4
5の構成を説明する。テーブル42は同期排他ステップ
定義テーブルであり、先に第2図に示した同期あるいは
排他のためのインターロック信号待ちをしている単位動
作、およびインターロックをかけている単位動作の組合
わせを登録するテーブルである。第4図にその具体内容
を示す。
First, tables 41 to 4 in the overall control memory 31
The configuration of No. 5 will be explained. Table 42 is a synchronization exclusive step definition table, which registers the combinations of unit operations that are waiting for an interlock signal for synchronization or exclusion and unit operations that are interlocked, as shown in FIG. This is a table where Figure 4 shows the specific details.

第4図に完了時動作Nαおよび起動待動作Nαで示され
る各設備の単位動作の実行に関する情報は、動作管理テ
ーブル43に第5図に示す如き形で記憶しておく。各同
期排他ステップに登録しである完了時動作Nαの単位動
作がすべて完了した場合、後述する遷移条件が成立すれ
ば、起動待動作Nαの単位動作が起動される。
Information regarding the execution of unit operations of each facility, indicated by completion action Nα and start-up wait action Nα in FIG. 4, is stored in the operation management table 43 in the form shown in FIG. When all the unit operations of the completion-time operation Nα registered in each synchronization exclusive step are completed, if a transition condition described later is satisfied, the unit operation of the activation waiting operation Nα is activated.

すなわち、単位動作NαのメツセージNへが示す、後述
する第9図の制御メツセージテーブル41の制御情報を
該当する送信先に送信する。なお、第4図の遷移りは第
6図に示す遷移条件管理テーブル44に登録されている
遷移条件を示すポインタである。
That is, the control information in the control message table 41 of FIG. 9, which will be described later, indicated by the message N of the unit operation Nα is transmitted to the corresponding destination. Note that the transitions in FIG. 4 are pointers indicating transition conditions registered in the transition condition management table 44 shown in FIG. 6.

第5図に示す動作管理テーブル43において、起動管理
状態201としては、0:起動待と、1:起動済の状態
があり、これにより、前記同期排他ステップ定義テーブ
ル42に記憶させて動作シーケンスがどこまで進んでい
るかが示される。また、動作状態202には、これに対
応して、1:動作完と2=動作中の状態が記録されてい
る。
In the operation management table 43 shown in FIG. 5, the activation management status 201 includes 0: Waiting for activation and 1: Already activated. It shows how far you have progressed. Correspondingly, 1: operation completed and 2 = operating state are recorded in the operation state 202.

第6図に示す遷移条件テーブル44において、遷移条件
論理式203には、遷移条件を、外部接点Nαを被演算
子とした論理演算式で表わしたものを登録しておく。上
記遷移条件論理式203の各数字は外部接点Nαを表わ
しており、例えば、遷移In 1の論理式rllAND
1;IJは、外部接点N(LllがON、かつ、外部接
点12がONの場合に成立する。′遷移状態204には
、0:遷移条件未成室と、1:遷移条件成立とがある。
In the transition condition table 44 shown in FIG. 6, in the transition condition logical expression 203, a transition condition expressed as a logical operation expression with the external contact point Nα as an operand is registered. Each number in the transition condition logical formula 203 represents an external contact Nα, for example, the logical formula rllAND of transition In 1
1; IJ is established when the external contact N (Lll) is ON and the external contact 12 is ON.'The transition state 204 includes 0: Transition condition not satisfied and 1: Transition condition satisfied.

各部接点の0N10FF状態は外部接点0N10FF情
報テーブル45に、第7図に示す形で記憶しておく。第
7図において、現在の外部接点状態205としては、0
:外部接点OFF、1:外部接点ONとがあり、各設備
のリミットスイッチ等の外部接点の0N10FF情報を
一括管理している。また、状態監視フラグ208は上記
外部接点の状態変化を記憶するためのものであり、0:
外部接点状態が変化していない場合、1:変化した場合
に対応している。
The 0N10FF states of the contacts of each part are stored in the external contact 0N10FF information table 45 in the form shown in FIG. In FIG. 7, the current external contact state 205 is 0.
: External contact OFF, 1: External contact ON, and 0N10FF information of external contacts such as limit switches of each equipment is managed collectively. Further, the status monitoring flag 208 is for storing status changes of the external contacts, and is set to 0:
If the external contact status has not changed, 1 corresponds to the case where it has changed.

制御メツセージテーブル41には、統括制御装置30が
同期排他ステップ定義テーブル42および動作管理テー
ブル43に従って起動する動作Nαに対応して、統括制
御装置30が各設備に送信する制御情報を第9図に示す
形で登録しておく。第9図において、制御情報206に
は、起動プログラム:ih、動作パラロータNα:jh
およびリレー0N10FFパターン二mが登録されてい
る。
The control message table 41 contains control information that the central control device 30 transmits to each facility in response to the operation Nα activated by the central control device 30 according to the synchronous exclusive step definition table 42 and the operation management table 43, as shown in FIG. Register it in the format shown. In FIG. 9, the control information 206 includes startup program: ih, operating pararotor Nα: jh
and relay 0N10FF pattern 2m are registered.

以上が統括制御装置30で必要な制御用データである。The above is the control data necessary for the overall control device 30.

なお、第8図は外部接点診断用テーブル46であり、各
外部接点について、外部接点状態がONまたはOFF状
態に変化するのはどの単位動作の起動、完了のいずれか
に関係するものか、およびその単位動作により状態が変
化した回数は何回か等の情報が登録されている。第8図
において、動作状態は、1:渦動時、2:完了時に対応
している。
FIG. 8 is an external contact diagnosis table 46, which shows, for each external contact, which unit operation is related to the start or completion of which external contact state changes to ON or OFF state, and Information such as the number of times the state changed due to the unit operation is registered. In FIG. 8, the operating states correspond to 1: vortexing and 2: completion.

第10図に前記統括制御装置30の構成を示す。FIG. 10 shows the configuration of the overall control device 30.

図において、51は動作起動判定部、52は外部接点状
態学習部、53は動作管理情報更新部、54は起動動作
Nα読出部、55は完了信号ラッチ部、56は制御メツ
セージ送信部を示している。
In the figure, reference numeral 51 indicates an operation start determination section, 52 an external contact state learning section, 53 an operation management information update section, 54 a start operation Nα reading section, 55 a completion signal latch section, and 56 a control message transmission section. There is.

上記各構成要素の機能を説明する。動作起動判定部51
は前記同期排他ステップ定義テーブル42および動作管
理テーブル43から、完了待動作Nα、起動待動作Nα
とこれらの起動管理状態201゜動作状態202を読出
す(62,67)。また。
The functions of each of the above components will be explained. Operation start determination unit 51
From the synchronous exclusive step definition table 42 and the operation management table 43, the wait for completion action Nα and the wait for start action Nα
and these startup management states 201 and operating states 202 are read out (62, 67). Also.

遷移条件管理テーブル44および外部接点0N10FF
情報テーブル45から、上記同期排他ステップ定義テー
ブル42の遷移Nαに対応する遷移条件論理式203に
関係する外部接点状態205を読出す(65,66)。
Transition condition management table 44 and external contact 0N10FF
From the information table 45, the external contact state 205 related to the transition condition logical expression 203 corresponding to the transition Nα of the synchronous exclusion step definition table 42 is read (65, 66).

次に、動作起動判定部51は上記各データに基づき、第
11図に示すフローチャートに従って、完了待動作Nu
のすべての単位動作が完了し、起動待動作Nαのすべて
の単位動作が起動待ちであり、かつ、遷移条件が成立し
た同期排他ステップ勲を選び、これを起動動作翫読出部
54に送る(63)。
Next, based on the above-mentioned data, the motion start determination unit 51 executes the completion waiting motion Nu according to the flowchart shown in FIG.
A synchronous exclusive step is selected in which all unit operations in the activation waiting operation Nα are completed, all unit operations in the activation waiting operation Nα are waiting to be activated, and the transition condition is satisfied, and this is sent to the activation operation reading unit 54 (63 ).

起動動作魔読出部54は動作起動判定部51から送られ
た上記起動待動作態に対応する制御情報制御メツセージ
テーブル41から読出しく61)。
The activation operation reading section 54 reads out the control information control message table 41 corresponding to the activation standby state sent from the operation activation determination section 51 (61).

制御メツセージ送信部56に送る(77)。また。The control message is sent to the control message transmitter 56 (77). Also.

制御メツセージ送信部56は上記制御情報を該当する設
備の制御装置に送信する(75)。
The control message transmitter 56 transmits the control information to the control device of the corresponding equipment (75).

各設備は統括制御装置30から送られた上記制御情報に
対応する単位動作を実行し、単位動作の実行が終了した
時点で完了信号を、完了信号ラッチ部55に送る(74
)。動作管理情報更新部53はラッチされた上記完了信
号により、該動作Nαの動作状態を、動作中から動作完
の状態に更新する(73)。
Each piece of equipment executes a unit operation corresponding to the control information sent from the central control device 30, and sends a completion signal to the completion signal latch unit 55 when the execution of the unit operation is completed (74
). The operation management information updating unit 53 updates the operation state of the operation Nα from the in-operation state to the operation-completed state based on the latched completion signal (73).

外部接点状態学習部52は各完了信号を受信するか、動
作の起動信号を送信するごとに、第12図に示すフロー
チャートに従って、外部接点0N10FF情報テーブル
45を調べ、単位動作の起動または完了により状態の変
化した外部接点を見つける(69)。そして、状態の変
化した外部接点は、どの単位動作の起動または完了に関
係し、その単位動作により何回状態が変化したかを、前
記外部接点診断用テーブル46に記憶しておく(71)
The external contact state learning unit 52 checks the external contact 0N10FF information table 45 according to the flowchart shown in FIG. 12 each time it receives each completion signal or transmits an operation start signal, and determines the state according to the start or completion of the unit operation. Find the external contacts that have changed (69). Then, the external contact whose state has changed is related to which unit operation is started or completed, and how many times the state has changed due to that unit operation is stored in the external contact diagnosis table 46 (71).
.

また、動作起動判定部51で各同期排他ステップ−を第
11図のフローチャートに従って調べ、″1Iif*条
件のみが不成立である同期排他ステップN・を検出した
場合には、該同期排他ステップNαを外部接点診断装置
37に送る(76)。
In addition, when the operation start determination unit 51 examines each synchronous exclusive step according to the flowchart in FIG. It is sent to the contact diagnosis device 37 (76).

外部接点診断装置37は第13図に示す如き構成を有し
ており、81は故障外部接点Ha送信部、82は故障外
部接点Nα検出部、83は関連外部接点り読出部を示し
ている。
The external contact diagnosis device 37 has a configuration as shown in FIG. 13, in which reference numeral 81 indicates a faulty external contact Ha transmission section, 82 a faulty external contact Nα detection section, and 83 a related external contact reading section.

関連外部接点NCh読出部83は統括制御袋W130か
ら送られた同期排他ステップ翫が示す遷移翫を同期排他
ステップ定義テーブル42から読出しく94)、その遷
移虱が示す遷移条件論理式を遷移条件管理テーブル44
から読出す(96)。そして、その論理式を構成する外
部接点翫を故障外部接点翫検出部82に送る(98)。
The related external contact NCh reading unit 83 reads the transition column indicated by the synchronous exclusive step column sent from the general control bag W130 from the synchronous exclusive step definition table 42), and manages the transition condition logical expression indicated by the transition column. table 44
(96). Then, the external contact wires forming the logical formula are sent to the faulty external contact wire detection section 82 (98).

故障外部接点Na検出部82は関連外部接点り読出部8
3から送られた外部接点Nαを有する外部接点について
、第14図に示すフローチャートに従って、該外部接点
が故障か否かを判定する。すなわち、正常時に記憶した
外部接点診断用テーブル46から上記外部接点のON状
態への変化に関係する単位動作のうち、最も回数の多い
単位動作と、上記外部接点のOFF状態への変化に関係
する単位動作のうち、最も多い単位動作、およびそれぞ
れの単位動作の状態(完了または起動)を読出しく95
)、それらと現在起動済の単位動作とから、上記外部接
点はON状態であるはずか、OFF状態であるはずかを
判定する。
The failure external contact Na detection section 82 is connected to the related external contact reading section 8.
Regarding the external contact having the external contact Nα sent from No. 3, it is determined whether the external contact is in failure or not according to the flowchart shown in FIG. That is, among the unit operations related to the change of the external contact to the ON state from the external contact diagnosis table 46 stored during normal operation, the most frequent unit operation and the change of the external contact to the OFF state are determined. Among the unit operations, read out the unit operation that occurs most often and the status (completed or activated) of each unit operation.95
), and from these and the currently activated unit operation, it is determined whether the external contact should be in the ON state or the OFF state.

今、一連のシーケンスで、全く同じ動作の繰り返しがな
いものとすれば、上記外部接点についてON状態への変
化に関係する単位動作からOFF状態への変化に関係す
る単位動作まで、同期排他ステップ定義テーブル42を
たどれる場合は。
Now, assuming that there is no repetition of exactly the same operation in a series of sequences, synchronized exclusive step definitions for the external contacts from the unit operation related to the change to the ON state to the unit operation related to the change to the OFF state. If you can trace table 42.

ON状態への変化に関係する単位動作が起動または完了
してからOFF状態への変化に関係する単位動作が起動
または完了するまでの間、上記外部接点はON状態であ
り、それ以外め区間ではOFF状態であるはずである。
The external contact is in the ON state from the start or completion of the unit operation related to the change to the ON state until the start or completion of the unit operation related to the change to the OFF state, and in other sections. It should be in the OFF state.

一方、ON状態への変化に関係する単位動作からOFF
状態への変化に関係する単位動作まで、同期排他ステッ
プ定義テーブル42をたどれない場合には、OFF状態
への変化に関係する単位動作が起動または完了するまで
の間、上記外部接点はOFF状態であり、それ以外の区
間ではON状態であるはずである。
On the other hand, from the unit operation related to the change to the ON state to the OFF state
If the synchronous exclusive step definition table 42 cannot be traced to the unit operation related to the change to the OFF state, the external contact remains in the OFF state until the unit operation related to the change to the OFF state is started or completed. , and should be in the ON state in other sections.

例えば、同期排他ステップ1の場合、その遷移Nαは1
であり(第4図参照)、その遷移条件論理式はrl I
ANDI 2Jである(第6図参照)。
For example, in the case of synchronous exclusive step 1, its transition Nα is 1
(see Figure 4), and its transition condition logical formula is rl I
ANDI 2J (see Figure 6).

上記外部接点&11は外部接点診断用テーブル46から
、単位動作112が完了したときにON状態に変化し、
単位動作118が起動したときにOFF状態に変化する
ものである6単位動作112から同118へは、前記同
期排他ステップ定義テーブル42をたどることができる
ため、上記外部接点Nα11は単位動作112が完了し
単位動作118が起動されるまでの間、ON状態である
はずである。もし、外部接点Nαが、単位動作113が
起動済であるにも拘わらずOFF状態であれば、上記外
部接点Nα11は異常(故障)であると判定する。
According to the external contact diagnosis table 46, the external contact &11 changes to the ON state when the unit operation 112 is completed,
Since the synchronous exclusive step definition table 42 can be traced from the 6-unit operation 112 to 118, which changes to the OFF state when the unit operation 118 is activated, the external contact Nα11 indicates that the unit operation 112 is completed. It should remain in the ON state until the unit operation 118 is activated. If the external contact Nα is in the OFF state even though the unit operation 113 has been started, it is determined that the external contact Nα11 is abnormal (faulty).

異常の検出された外部接点Nαは故障外部接点り送信部
81に送られ(92)、故障外部接点Nα送信部81は
送られた外部接点Nαをモニタ画面の出力フォーマット
に変換してモニタ端末36に送る(91)、外部接点診
断装置37は上述の如く、正常時に記憶したデータから
、該外部接点(Nα11)は現況からONであるべきか
、OFFであるべきかを判定し、故障した外部接点を自
動的に検出する。
The external contact Nα in which an abnormality has been detected is sent to the faulty external contact transmitter 81 (92), and the faulty external contact Nα transmitter 81 converts the sent external contact Nα into the output format of the monitor screen and sends it to the monitor terminal 36. (91), the external contact diagnosis device 37 determines whether the external contact (Nα11) should be ON or OFF based on the current situation from the data stored during normal operation, and detects the failed external contact (91). Automatically detect contacts.

本実施例によれば、動作シーケンス実行中に遷移条件の
みが不成立である同期排他ステップを検出して、その同
期排他ステップに関係する外部接点についてのみ故障検
出を行うことにより、外部接点の故障検出を効果的に行
うことができ、制御用のデータとは別に故障診断用デー
タを用意しなくても、正常時に学習した情報に基づいて
故障した外部接点を検出することができる。
According to this embodiment, a synchronous exclusive step in which only the transition condition is not satisfied during the execution of an operation sequence is detected, and failure detection is performed only for external contacts related to the synchronous exclusive step, thereby detecting a failure of an external contact. can be effectively performed, and a failed external contact can be detected based on information learned during normal operation without having to prepare failure diagnosis data separately from control data.

なお、上記実施例においては、統括制御装置30と外部
接点診断装置37とを独立に設けているが、これらを統
合して1つの装置としても良いことは言うまでもない。
In the above embodiment, the overall control device 30 and the external contact diagnosis device 37 are provided independently, but it goes without saying that they may be integrated into one device.

また、統括制御用メモリ31に格納されている各統括制
御情報テーブル41〜45および外部接点診断用テーブ
ル46の形式は、上記実施例に示したものに限定される
べきものではないことも言うまでもないことである。
It goes without saying that the formats of the overall control information tables 41 to 45 and the external contact diagnosis table 46 stored in the overall control memory 31 are not limited to those shown in the above embodiments. That's true.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く、本発明によれば、リミットスイッチ等
の接点が多数用いられている自動加工設備等において、
上記リミットスイッチ等の故障の検出を行う際に、正常
時に各リミットスイッチ等がどの単位動作の起動時(ま
たは完了時)しこONまたはOFFに状態変化するかを
記憶しておき、そのデータを基に、上記リミッタスイッ
チ等の接点の故障を検出するようにしたので、上記リミ
ットスイッチ等の故障を簡単に、かつ、確実番;検出す
ることが可能な異常i断判定方式を実現できるという顕
著な効果を奏するものである。
As described above, according to the present invention, in automatic processing equipment etc. in which a large number of contacts such as limit switches are used,
When detecting failures in the limit switches, etc. mentioned above, remember which unit operation the limit switch, etc. changes to ON or OFF when the unit operation starts (or completes) during normal operation, and use that data. Based on this, failures in the contacts of the limiter switches, etc., are detected, making it possible to easily and reliably detect failures in the limit switches, etc. This has the following effects.

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

第1図は部品取付はステーションの構成図、第2図は部
品取付はステーションにおける設備の同期排他動作シー
ケンスチャート、第3図は本発明の一実施例を示す構成
図、第4図〜第9図は制御情報テーブルを示す図、第1
0図は統括制御装置の詳細な構成図、第11図、第12
図および第14図は処理フローチャート、第13図は外
部接点診断装置の詳細な構成図である。 30・・・統括制御装置、31・・・統括制御用メモリ
、37・・・外部接点診断装置、46・・・外部接点診
断用テーブル、52・・・外部接点状態学習部、82・
・・故冨 1 図 冨 2 図 ((L) (bン (C) (ρ() 第3図 冨4図 第 5 図 Z z 図 Y 7 図 烹3図 Hq図 ¥lρ図 ¥1III 図 第12図 猶 13 図
Fig. 1 is a block diagram of a station for mounting parts, Fig. 2 is a synchronous exclusive operation sequence chart of equipment at the station for mounting parts, Fig. 3 is a block diagram showing an embodiment of the present invention, and Figs. 4 to 9 The figure shows the control information table.
Figure 0 is a detailed configuration diagram of the overall control device, Figures 11 and 12
14 and 14 are processing flowcharts, and FIG. 13 is a detailed configuration diagram of the external contact diagnosis device. 30... General control device, 31... Memory for general control, 37... External contact diagnosis device, 46... Table for external contact diagnosis, 52... External contact state learning unit, 82.
... Late Tomi 1 Figure 2 Figure ((L) (bn (C) (ρ() Figure 3 Figure 4 Figure 5 Z z Figure Y 7 Figure 3 Hq Figure \lρ Figure \1III Figure Figure 12 Figure 13

Claims (1)

【特許請求の範囲】[Claims] 1、予め教示あるいはプログラムされた単位動作群を組
合わせて、同期または排他を含む一連の動作シーケンス
を構成する制御システムにおいて、同期または排他され
るべき各単位動作の起動順序関係を記憶する第1の記憶
手段と、外部接点の状態による前記単位動作の遷移条件
を記憶する第2の記憶手段と、前記外部接点の状態変化
に関係する単位動作を動作シーケンス実行中に記憶する
第3の記憶手段とを有し、動作シーケンス実行中に前記
第3の記憶手段に記憶した情報と現在の各設備の動作状
況とから、前記外部接点の状態を推定することを特徴と
する異常箇所判定方式。
1. In a control system that combines a group of unit operations taught or programmed in advance to form a series of operation sequences including synchronization or exclusion, a first system that stores the activation order relationship of each unit operation to be synchronized or excluded; a second storage means for storing the transition conditions of the unit operation depending on the state of the external contact; and a third storage means for storing the unit action related to the change in the state of the external contact during execution of the operation sequence. An abnormality location determination method, characterized in that the state of the external contact is estimated from the information stored in the third storage means during execution of the operation sequence and the current operating status of each equipment.
JP59015188A 1984-01-18 1984-02-01 System for deciding fault location Pending JPS60160412A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP59015188A JPS60160412A (en) 1984-02-01 1984-02-01 System for deciding fault location
US06/691,910 US4638227A (en) 1984-01-18 1985-01-16 Method and apparatus for recovering normality in moving sequence of machinery
CA000472405A CA1231422A (en) 1984-01-18 1985-01-18 Method and apparatus for recovering normality in moving sequence of machinery
DE19853501592 DE3501592A1 (en) 1984-01-18 1985-01-18 METHOD AND DEVICE FOR RESTORING THE NORMAL STATE IN THE MOTION OF A MACHINE
FR858500676A FR2558277B1 (en) 1984-01-18 1985-01-18 METHOD AND APPARATUS FOR RESTORING THE NORMAL STATE IN THE SEQUENCE OF MOVEMENTS OF A MACHINE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59015188A JPS60160412A (en) 1984-02-01 1984-02-01 System for deciding fault location

Publications (1)

Publication Number Publication Date
JPS60160412A true JPS60160412A (en) 1985-08-22

Family

ID=11881863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59015188A Pending JPS60160412A (en) 1984-01-18 1984-02-01 System for deciding fault location

Country Status (1)

Country Link
JP (1) JPS60160412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6255712A (en) * 1985-09-03 1987-03-11 Niigata Eng Co Ltd Method for diagnosing trouble of machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6255712A (en) * 1985-09-03 1987-03-11 Niigata Eng Co Ltd Method for diagnosing trouble of machine

Similar Documents

Publication Publication Date Title
US4638227A (en) Method and apparatus for recovering normality in moving sequence of machinery
JP2608593B2 (en) Failure diagnosis method
JP3269004B2 (en) Robot controller
WO1990002366A1 (en) System for diagnosing cnc
JPS60160412A (en) System for deciding fault location
US6701462B1 (en) Situational aware output configuration and execution
JPS6073705A (en) System for controlling operational sequence
JPH1139002A (en) Backup system for controller
JP2514882B2 (en) Communication network system of resistance welding machine
KR101376387B1 (en) Appartus and method for real-time diagnosis network 0f in redundant plc system
JPH0359703A (en) Failure diagnostic device for sequence controller
JP3112963B2 (en) Controller with equipment failure diagnosis function and failure diagnosis method
JPH0695731A (en) Fault factor diagnosis system
JP2572386B2 (en) Fault diagnosis device
JPS5941214B2 (en) Condition monitoring method
JP2820889B2 (en) controller
JP2973586B2 (en) Distributed control device
JPH02107099A (en) System test executing system
JPS6162104A (en) Operation sequence control device
JPH0730651A (en) Diagnostic system
JPS5858685B2 (en) Failure diagnosis device for control input/output mechanism
JPH05307512A (en) Communication terminal equipment
JPH0522408A (en) Exchange system maintenance system
JPH11134008A (en) Programmable controller
JPH07264266A (en) Fault detection system