JPS63257802A - Device for diagnosing failure of external apparatus for programmable controller - Google Patents

Device for diagnosing failure of external apparatus for programmable controller

Info

Publication number
JPS63257802A
JPS63257802A JP62092817A JP9281787A JPS63257802A JP S63257802 A JPS63257802 A JP S63257802A JP 62092817 A JP62092817 A JP 62092817A JP 9281787 A JP9281787 A JP 9281787A JP S63257802 A JPS63257802 A JP S63257802A
Authority
JP
Japan
Prior art keywords
measurement time
conditional branch
branch instruction
time
unit
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
JP62092817A
Other languages
Japanese (ja)
Inventor
Noboru Asami
朝見 昇
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP62092817A priority Critical patent/JPS63257802A/en
Publication of JPS63257802A publication Critical patent/JPS63257802A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To rapidly and accurately process the failures of actuators by monitoring the operation of these actuators by means of an alarm unit including an arithmetic part and a storage part when a programming tool to which a user program is inputted drives the plural actuators. CONSTITUTION:The programming tool 1 including a user program, a CPU unit 2, plural I/O units 3 for controlling the actuators 6, and the alarm unit 4 are connected to one system bus 5. Each I/O unit 3 is provided with a sensor 7 and the unit 4 for diagnosing failures and generating an alarm at the time of detecting abnormality is constituted of the arithmetic part 41 consisting of a microprocessor, the storage part 42 consisting of a RAM, a clock part 43 consisting of a reference clock generator and a counter, a display part 44 for informating a failure, a mode switching operation part 45, and an interface 46.

Description

【発明の詳細な説明】 (発明の分野) 本発明は、フローチャート形式のユーザプログラムを処
理するプログラマブル・コントローラに接続されて制御
される外部は器の故障を診断する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an apparatus for diagnosing faults in an external device connected to and controlled by a programmable controller that processes a user program in the form of a flowchart.

(発明の概要) 本発明では、プログラマブル・コントローラで処理され
るフローチャート形式のユーザプログラムから条件分岐
命令とその入力条件が変化すべきパターンとが抽出され
て対応記憶され、記憶済の条件分岐命令が実行されたと
ぎにその命令と対応して記憶されたパターンで入力条件
が変化するまでの時間が学習される。
(Summary of the Invention) In the present invention, a conditional branch instruction and a pattern in which its input condition should change are extracted from a user program in a flowchart format processed by a programmable controller, and the stored conditional branch instructions are stored in correspondence with each other. When the command is executed, the time until the input condition changes is learned using the stored pattern corresponding to the command.

そして所定のモードが選択されると、学習済の計測時間
に対して実際の計測時間が長いか否かが判断され、学門
の計測時間に対して実際の計測時間が長いときに、その
計測時間の入力条件を決定する外部機器の故障発生が報
知される。
When a predetermined mode is selected, it is determined whether the actual measurement time is longer than the learned measurement time, and if the actual measurement time is longer than the learning measurement time, the The occurrence of a failure in the external device that determines the time input conditions is notified.

(発明の背景) プログラマブル・コントローラに接続された外部機器は
ユーザプログラムに従いそのプログラマブル・コントロ
ーラでシーケンス制御されるが、使用中に故障が発生す
ると、その整備や部品の交換が行なわれる。
(Background of the Invention) External equipment connected to a programmable controller is sequence-controlled by the programmable controller according to a user program, but if a failure occurs during use, the equipment must be maintained or its parts replaced.

しかしながら従来においては、外部機器の故障発見に多
くの労力や時間を要し、このためシステム管理の省力化
が要望されていた。
However, in the past, it took a lot of effort and time to discover failures in external equipment, and therefore there was a demand for labor saving in system management.

(発明の目的) 本発明は上記従来の課題に鑑みてなされたものであり、
その目的は、フローチャート形式のユーザプログラムに
従いプログラマブル・コントローラで制御される外部機
器の故障発生を自動的に警報できる装置を提供すること
にある。
(Object of the invention) The present invention has been made in view of the above-mentioned conventional problems, and
The purpose is to provide a device that can automatically warn of the occurrence of a failure in external equipment controlled by a programmable controller according to a user program in the form of a flowchart.

(発明の構成と効果) 上記目的を達成するために、本発明は、フローチャート
形式のユーザプログラムから条件分岐命令と該命令実行
時の入力条件変化パターンとを抽出するプログラムデー
タ抽出手段と、抽出された条件分岐命令と入力条件変化
パターンとを対応して記憶する抽出データ記憶手段と、
記憶部の条件分岐命令が実行されたときに、該命令と対
応記憶のパターンで入力条件が変化するまでの時間を計
測する計時手段と、 記憶部の条件分岐命令及び入力条件変化パターンと対応
して計測時間を記憶する計測時間学習手段と、 所定のモードが選択されたときに、学習済の計測時間に
対して実際の計測時間が長いか否かを判断する計測時間
監視手段と、 学習済の計測時間に対して実際の計測時間が長いときに
、該計測時間の入力条件を決定する外部機器の故障発生
を報知する故障報知手段と、を有することを特徴とする
°。
(Structure and Effects of the Invention) In order to achieve the above object, the present invention provides a program data extraction means for extracting a conditional branch instruction and an input condition change pattern at the time of execution of the instruction from a user program in a flowchart format; extracted data storage means for storing a conditional branch instruction and an input condition change pattern in correspondence with each other;
a timer for measuring the time until an input condition changes according to a pattern stored in a memory corresponding to the instruction when a conditional branch instruction stored in the storage section is executed; measurement time learning means for storing the measurement time using the learned measurement time; measurement time monitoring means for determining whether the actual measurement time is longer than the learned measurement time when a predetermined mode is selected; The present invention is characterized by comprising a failure notification means for notifying the occurrence of a failure in an external device that determines input conditions for the measurement time when the actual measurement time is longer than the measurement time.

本発明によれば、条件分岐命令と該命令実行時の入力条
件変化パターンとその変化に要する時間とが予め自動的
に定められ、条件分岐命令の実行時に入力条件が時間内
に所定のパターンで変化しないときに外部機器の故障発
生が外部へ自動報知され、フローチャート形式のユーザ
プログラムに特別のプログラムを組込むことなく外部機
器の故障発生を自動的に判断して報知でき、したがって
ユーザにソフト上の負担を招くことなく外部機器の故障
発生に対する措置を迅速かつ適確に、そして極めて容易
に行なうことが可能となる。
According to the present invention, a conditional branch instruction, an input condition change pattern at the time of execution of the instruction, and the time required for the change are automatically determined in advance, and the input condition changes within a predetermined pattern within the time when the conditional branch instruction is executed. The occurrence of a failure in an external device is automatically notified to the outside when there is no change, and the occurrence of a failure in an external device can be automatically determined and notified without incorporating a special program into the user program in the form of a flowchart. It becomes possible to quickly, accurately, and extremely easily take measures against the occurrence of a failure in external equipment without incurring any burden.

(実施例の説明) 以下、図面に基づいて本発明に係る装置の好適な実施例
を説明する。
(Description of Embodiments) Hereinafter, preferred embodiments of the apparatus according to the present invention will be described based on the drawings.

第1図において、プログラミングツール1.CPUユニ
ット2.I10ユニット3・・・、警報ユニット4がシ
ステムバス5に接続されており、I10ユニット3・・
・には各種のアクチュエータ6(外部機器)、センサ7
が各々接続されている。
In FIG. 1, programming tool 1. CPU unit 2. I10 unit 3..., alarm unit 4 are connected to system bus 5, and I10 unit 3...
・Various actuators 6 (external devices) and sensors 7
are connected to each other.

そしてプログラミングツール1からフローチャート形式
のユーザプログラムが入力されており、そのユーザプロ
グラムはCPUユニット2で実行されている。
A user program in the form of a flowchart is input from the programming tool 1, and the user program is executed by the CPU unit 2.

その際には各センサ7の検出信号がI10ユニット3・
・・を介して取込まれており、ユーザプログラムの処理
で得られた制御信号はI10ユニット訃・・を介して各
アクチュエータ6へ送出されている。
At that time, the detection signal of each sensor 7 is
The control signals obtained through the processing of the user program are sent to each actuator 6 via the I10 unit.

これらアクチュエータ6の故障診断が診断ユニット4で
行なわれており、第2図にはそのブロック構成が示され
ている。
Failure diagnosis of these actuators 6 is performed by a diagnostic unit 4, whose block configuration is shown in FIG.

同図において、診断ユニット4はマイクロプロセッサを
中心として構成された演算部41.RAMにより構成さ
れた記憶部42.基準クロック発生器やカウンタ等で構
成された計時部43.アクチュエータ6の故障報知を行
なう表示部44.モード切替指令等を入力する操作部4
5を備えてあり、演算部41はインターフェース46及
びシステムバス5を介してCPUユニット2とデータの
交換を行なっている。
In the figure, the diagnostic unit 4 includes an arithmetic unit 41. Storage unit 42 configured with RAM. A timekeeping section 43 consisting of a reference clock generator, a counter, etc. A display unit 44 for notifying the failure of the actuator 6. Operation unit 4 for inputting mode switching commands, etc.
5, and the arithmetic unit 41 exchanges data with the CPU unit 2 via the interface 46 and the system bus 5.

第3図には演算部41で行なわれる概略の処理手順が示
されており、操作部サービス処理(ステツブ300)で
操作部45からモード指令が取込まれると、指令された
モードが教示モードか否かが判断される(ステップ30
1)。
FIG. 3 shows a general processing procedure performed by the calculation unit 41. When a mode command is received from the operation unit 45 in the operation unit service process (step 300), the commanded mode is changed to the teaching mode. It is determined whether or not (step 30
1).

そして指令されたモードが教示モードのとき(ステップ
301でYES)には教示処理(ステップ302)が行
なわれ、教示モードでなく(ステップ301でNO)、
診断モードのときくステップ303でYES)には診断
処理(ステップ304)が行なわれる。
When the commanded mode is the teaching mode (YES at step 301), teaching processing (step 302) is performed, and when the commanded mode is not the teaching mode (NO at step 301),
If the diagnostic mode is activated (YES in step 303), a diagnostic process (step 304) is performed.

第4図には教示処理の手順が示されており、まず第5図
に示されたアドレステーブルの編集中でおるか否かが判
断される(ステップ400)。
FIG. 4 shows the procedure of the teaching process. First, it is determined whether or not the address table shown in FIG. 5 is being edited (step 400).

そしてアドレステーブルの編集中でないことが確認され
ると(ステップ400でNO)、その作成が操作部45
により指令されているか否かが判断され(ステップ40
1) 、その指令入力が確認されるとくステップ401
でYES)、アドレステーブルが作成される(ステップ
402)。
When it is confirmed that the address table is not being edited (NO in step 400), the creation is completed by the operation section 45.
It is determined whether the command has been issued (step 40).
1) When the command input is confirmed, step 401
(YES), an address table is created (step 402).

またアドレステーブル作成の指令が入力されなかったと
き(ステップ401でNo>には、アドレステーブル編
集の指令が入力されたか否かが判断され(ステップ40
3)、7ドレステ一ブル編集の指令入力が確認されると
(ステップ403でYES) 、アドレステーブルの編
集中であることを示すフラグがセットされる(ステップ
404)。
Further, when an address table creation command is not input (No in step 401), it is determined whether an address table editing command has been input (step 401).
3) When the command input for editing the 7-address table is confirmed (YES at step 403), a flag indicating that the address table is being edited is set (step 404).

このフラグがセラ1〜されたときまたはそのセットが確
認されたとき(ステップ400でYES)にはアドレス
テーブルの編集が行なわれ(ステップ405)、その編
集の終了が確認されると(ステップ406でYES)、
m記フラグがリセットされる(ステップ407)。
When this flag is set to 1~ or when its setting is confirmed (YES at step 400), the address table is edited (step 405), and when the completion of the editing is confirmed (step 406) YES),
The mth flag is reset (step 407).

以上の教示処理(ステップ302)はCPUユニット2
でフローチャ−1〜形式のユーザプログラムが実行され
ているときに行なわれてあり、第6図のようにCPUユ
ニット2では次に実行されるステップを入力条件により
決定する条件分岐命令が実行されたときに(ステップ6
00でYES)、条件分岐命令処理(ステップ601)
の前にこの条件分岐命令のアドレスと入力条件が記憶さ
れる〈ステップ602,603>。
The above teaching process (step 302) is carried out by the CPU unit 2.
This is executed when the user program of flowchart 1~ format is being executed, and as shown in Figure 6, the CPU unit 2 executes a conditional branch instruction that determines the next step to be executed based on the input condition. Sometimes (Step 6
00: YES), conditional branch instruction processing (step 601)
The address and input conditions of this conditional branch instruction are stored before <Steps 602 and 603>.

その条件分岐命令のアドレスと入力条件はアドレステー
ブルの作成(ステップ402)中に第7図のように診断
ユニット4へ一定の時間間隔で逐次取込まれ、アドレス
は第5図のようにアドレステーブルのエリア42aへ格
納される。
The address and input condition of the conditional branch instruction are sequentially fetched into the diagnostic unit 4 at regular intervals as shown in FIG. 7 during address table creation (step 402), and the address is stored in the address table as shown in FIG. is stored in area 42a.

そしてアドレステーブルの編集(ステップ405)では
各入力条件の変化パターンを示すフラグデータが第5図
のエリア42bに格納される。
In editing the address table (step 405), flag data indicating the change pattern of each input condition is stored in area 42b in FIG.

なお、条件フラグエリア42bには条件分岐命令の入力
条件が「0」から「1」のパターンで変化するときに診
断を行なうかその逆のときに診断を行なうかのパターン
別にフラグがセットされ、双方のフラグがセラ]・され
ることにより両パターンでの診断が行なわれる。
In addition, in the condition flag area 42b, flags are set for each pattern of whether diagnosis is performed when the input condition of the conditional branch instruction changes in a pattern from "0" to "1" or vice versa. Diagnosis using both patterns is performed by setting both flags.

以上のようにして必要なデータがフローチャー1−形式
のユーザプログラムから抽出されて記憶されると、診断
モードが選択され(第3図 ステップ303でYES)
 、第8図の診断処理(ステップ304)が開始される
When the necessary data is extracted from the flowchart 1-format user program and stored as described above, the diagnostic mode is selected (YES in step 303 in Figure 3).
, the diagnostic process (step 304) of FIG. 8 is started.

その処理では診断の実動作中であるか否かがまず判断さ
れ(ステップ800) 、実動作中でない場合であって
その開始の指令が入力されていないとき(ステップ80
1でNo)には、計測時間のプリセット中であるか否か
が判断される(ステップ802)。
In this process, it is first determined whether or not the diagnosis is in actual operation (step 800), and when it is not in actual operation and a command to start it has not been input (step 80).
1 (No), it is determined whether or not the measurement time is being preset (step 802).

このときに計測時間のプリセット中でないことが確認さ
れると(ステップ802でNo> 、計測時間のプリセ
ット開始を指令する入力がおったか否かが判断され(ス
テップ803)、その指令入力が確認されるとくステッ
プ803でYES)、プリセット中を示すフラグがセッ
トされる(ステップ804)。
At this time, if it is confirmed that the measurement time is not being preset (No in step 802), it is determined whether there is an input to command the start of measurement time presetting (step 803), and the command input is confirmed. (YES in step 803), a flag indicating that presetting is in progress is set (step 804).

そしてCPUユニット2で現在実行中の命令が条件分岐
命令であるか否かの判断が第5図におけるエリア42a
の記憶アドレスを用いて判断され(ステップ805)、
実行中の命令が条件分岐命令でないときには第5図に示
されたエリア42cのアドレスが更新される(ステップ
806)。
The area 42a in FIG. 5 determines whether the instruction currently being executed by the CPU unit 2 is a conditional branch instruction.
(step 805),
If the instruction being executed is not a conditional branch instruction, the address of area 42c shown in FIG. 5 is updated (step 806).

また実行中の命令が何れかの条件分岐命令で市ることが
エリア42aの記憶アドレスから確認ざれると(ステッ
プ805で一致)、これに対応してエリア42bに格納
されたフラグのパターンで入力条件が変化したか否かが
判断され(ステップ807)、そのパターンの入力条件
変化が確認されないとき(ステップ807でNO>には
該命令実行時からの経過時間を示す時間データがエリア
42cの現在アドレスに書込まれ(ステップ808)、
このアドレスが更新される(ステップ806)。なあ、
第5図のように時間データはrOJ→rIJ、MJ→「
○」のパターンに分けられて占込まれる。
Furthermore, if it is confirmed from the memory address in area 42a that the instruction being executed is executed by any conditional branch instruction (match in step 805), the pattern of the flag stored in area 42b is input accordingly. It is determined whether or not the conditions have changed (step 807), and if no change in the input conditions for that pattern is confirmed (NO in step 807), time data indicating the elapsed time since the execution of the command is displayed in the current area 42c. written to the address (step 808);
This address is updated (step 806). Hey,
As shown in Figure 5, the time data is rOJ → rIJ, MJ →
It is divided into ○ patterns and occupied.

そして記憶パターンの入力条件変化が確認されるとくス
テップ807でYES) 、エリア42Gのアドレスが
更新され(ステップ806)、ユーザプログラムの1回
処理が確認されるまで(ステップ809でNOの間)、
以上の処理(ステップ805〜808)が繰り返される
(時間プリセット)。
Then, when the input condition change of the memory pattern is confirmed (YES in step 807), the address of area 42G is updated (step 806), and until one-time processing of the user program is confirmed (while NO in step 809),
The above processing (steps 805 to 808) is repeated (time preset).

その結果、各条件分岐命令の実行時からその入力条件が
正規のパターンで変化するまでの経過時間がサンプリン
グされて連続アドレスに逐次書込まれ、これにより各条
件分岐命令及びそれらの人力条件が変化すべき正規のパ
ターンに対応してそのパターン変化までの時間が学習さ
れる(時間プリセット)。
As a result, the elapsed time from the execution of each conditional branch instruction until its input condition changes in a regular pattern is sampled and sequentially written to consecutive addresses, which causes each conditional branch instruction and its manual conditions to change. The time until the pattern changes corresponding to the regular pattern to be changed is learned (time preset).

その後、ユーザプログラムが1回処理されてその確認が
行なわれるとくステップ809,810でYES) 、
時間プリセット中を示すフラグがリセットされる(ステ
ップ8]1)。
Thereafter, the user program is processed once and confirmed (YES in steps 809 and 810).
A flag indicating that the time is being preset is reset (step 8] 1).

このリセットにより再び教示処理(ステップ302)が
自動的に開始され、第5図のエリア42Cに対する編集
が開始される(第4図 ステップ405)。
With this reset, the teaching process (step 302) is automatically started again, and editing for area 42C in FIG. 5 is started (step 405 in FIG. 4).

そのときには、故障報知を必要としないアクチユエータ
46が操作部45の操作人力で指定され、指定のアクチ
ユエータ6に関する条件分岐命令の記憶アドレスに対応
したエリア42bのフラグがリセットされる。
At that time, the actuator 46 that does not require failure notification is designated by the manual operation of the operating unit 45, and the flag in the area 42b corresponding to the storage address of the conditional branch instruction regarding the designated actuator 6 is reset.

またエリア42cの時間データが自動的に叱正され、こ
れによりプリセット済の計測時間が一定倍され、あるい
は一定時間ずつ延長される。なお、それらの時間は操作
部45の操作入力で必要に応じて強制変更される。
Further, the time data in the area 42c is automatically corrected, and thereby the preset measurement time is multiplied by a certain amount or extended by a certain period of time. Note that these times can be forcibly changed by operation input from the operation unit 45 as necessary.

この編集が終了すると診断モードが指定され(ステップ
303でYES) 、第8図の処理が開始される。
When this editing is completed, the diagnostic mode is designated (YES at step 303), and the process shown in FIG. 8 is started.

その際には実診断動作の開始が指令され(ステップ80
1でYES) 、これにより診断の実動作中であること
を示すフラグがセットされる(ステップ8]2)。
At that time, the start of the actual diagnostic operation is commanded (step 80).
1: YES), thereby setting a flag indicating that the actual diagnosis is in progress (step 8] 2).

次いでCPUユニット2で現在実行中の命令のアドレス
とエリア42a(第5図参照)の各アドレスとが比較さ
れ(ステップ813)、アトルス一致の確認が行なわれ
たときで、エリア42bの対応フラグがセットされてい
るとぎ(ステップ813でYES)には、その条件分岐
命令のアドレスに対応したエリア42bのフラグで示さ
れる正規パターンの人力条件変化が監視される(ステッ
プ8]4)。
Next, the address of the instruction currently being executed by the CPU unit 2 and each address of the area 42a (see FIG. 5) are compared (step 813), and when it is confirmed that the atrus matches, the corresponding flag of the area 42b is set. When the flag is set (YES in step 813), a change in the manual condition of the normal pattern indicated by the flag in the area 42b corresponding to the address of the conditional branch instruction is monitored (step 8]4).

その変化が認められないときくステップ814でNo)
には第5図のエリア42dにおける現在アドレスへ条件
分岐命令実行時からの経過時間を示すカウント値が占込
まれてそのアドレスが更新され(ステップ815)、ま
た正規パターンの入力条件変化が確認されたとき(ステ
ップ814でYES)には、このカウント(直がリセッ
トされる(ステップ816)。
If the change is not recognized (No in step 814)
The current address in area 42d in FIG. 5 is updated with a count value indicating the elapsed time since the execution of the conditional branch instruction (step 815), and a change in the input condition of the regular pattern is confirmed. When this happens (YES in step 814), this count is reset (step 816).

以上の処理(ステップ813〜815)はユーザプログ
ラムの1回処理が終了するまで繰り返され、その結果、
時間プリセットの場合の時間データと同様に経過時間を
示すカウント値が第5図のエリア42dに書込まれる。
The above processing (steps 813 to 815) is repeated until one processing of the user program is completed, and as a result,
A count value indicating the elapsed time is written in the area 42d in FIG. 5, similar to the time data in the case of time presetting.

その後、ユーザプログラムの1口実行終了が確認される
と(ステップ817でYES) 、カウンタ更新が行な
われた後(ステップ818)、プリセットデータで示さ
れる時間を越える時間となるカウント1直がエリア42
dからサーチされる(ステップ819)。
Thereafter, when it is confirmed that the execution of one batch of the user program has been completed (YES in step 817), the counter is updated (step 818), and then the count 1 shift, which exceeds the time indicated by the preset data, is placed in the area 42.
d (step 819).

そしてその異常なカウント値がサーチされたとき(ステ
ップ819でYES>には、エリア42a、42bのア
ドレス、フラグを用いて入力命令。
When the abnormal count value is searched (YES in step 819), an input command is issued using the addresses and flags of areas 42a and 42b.

条件分岐命令、アクチュエータ6の故障を示す情報かセ
ラ1〜されて表示部44で表示される(ステップ820
.821>。
The conditional branch instruction and information indicating a failure of the actuator 6 are executed and displayed on the display unit 44 (step 820
.. 821>.

なお、診断停止が指示されたとき(ステップ822でY
ES)には診断中を示すフラグかりセットされ(ステッ
プ823)、この処理が終了する。
Note that when an instruction is given to stop the diagnosis (Y in step 822)
A flag indicating that diagnosis is in progress is set in ES) (step 823), and this process ends.

また、入力条件の受信間隔(例えば2Qmsec)を決
定するデータ(例えば50)が学門された時間(例えば
1秒)に応じて自動的に予めムシ定され、必要に応じて
操作部45の操作で修正される。
Further, the data (for example, 50) that determines the reception interval of the input condition (for example, 2Qmsec) is automatically preset according to the time at which the input condition is received (for example, 1 second), and the operation unit 45 is operated as necessary. will be corrected.

以上説明したように本実施例によれば、ユーザプログラ
ム中に特別なプログラムを組込むことなく、各アクチュ
エータ6の故障発生を自動報知できるので、プログラマ
ブル・コントローラのラフ1〜上でユーザの負担を招く
ことなく各アクチュエータ6の故障発生に対する措置を
迅速かつ適確に、そして極めて容易にとることが可能と
なる。
As explained above, according to this embodiment, it is possible to automatically notify the occurrence of a failure in each actuator 6 without incorporating a special program into the user program. It becomes possible to quickly, accurately, and extremely easily take measures against the occurrence of a failure in each actuator 6 without causing any problems.

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

第1図は本発明が適用されたシステムの一例を示す全体
ブロック図、第2図は第1図にあける診断ユニットの1
苫成を示すブロック図、第3図及び第4図は第2図の演
算部で行なわれる処理手順を示すフローチャー1〜、第
5図は第2図にお(プる記憶部の記′践内容説明図、第
6図は第1図にあけるCPUユニットで行なわれる命令
実行内容説明図、第7図は第1図のCPUユニツ[〜か
ら診断ユニットへ与えられるデータの内容説明図、第8
図は第2図における演算部の処理内容を説明するフロー
チャートで必る。 10・・・プログラミングツール 2・・・・・・CPUユニツ1〜 3・・・・・・I10ユニット 4・・・・・・診断ユニット 5・・・・・・アクチュエータ 6・・・・・・センサ 41・・・演算部 42・・・記憶部 43・・・計時部 44・・・表示部 45・・・操作部 46・・・インターフェース 特許出願人  立石電機株式会社 第1図 第2図 第3図 第6図 第7図
FIG. 1 is an overall block diagram showing an example of a system to which the present invention is applied, and FIG. 2 is a diagram showing one of the diagnostic units shown in FIG. 1.
FIGS. 3 and 4 are flowcharts 1 to 4 showing the processing procedure performed in the arithmetic section of FIG. 2, and FIG. FIG. 6 is an explanatory diagram of the contents of the instruction executed by the CPU unit shown in FIG. 1. FIG. 8
The figure is a flowchart explaining the processing contents of the arithmetic unit in FIG. 2. 10... Programming tool 2... CPU units 1 to 3... I10 unit 4... Diagnosis unit 5... Actuator 6... Sensor 41...Calculation unit 42...Storage unit 43...Timekeeping unit 44...Display unit 45...Operation unit 46...Interface Patent applicant Tateishi Electric Co., Ltd. Figure 1 Figure 2 Figure 3 Figure 6 Figure 7

Claims (1)

【特許請求の範囲】[Claims] (1)フローチャート形式のユーザプログラムから条件
分岐命令と該命令実行時の入力条件変化パターンとを抽
出するプログラムデータ抽出手段と、抽出された条件分
岐命令と入力条件変化パターンとを対応して記憶する抽
出データ記憶手段と、記憶済の条件分岐命令が実行され
たときに、該命令と対応記憶のパターンで入力条件が変
化するまでの時間を計測する計時手段と、 記憶済の条件分岐命令及び入力条件変化パターンと対応
して計測時間を記憶する計測時間学習手段と、 所定のモードが選択されたときに、学習済の計測時間に
対して実際の計測時間が長いか否かを判断する計測時間
監視手段と、 学習済の計測時間に対して実際の計測時間が長いときに
、該計測時間の入力条件を決定する外部機器の故障発生
を報知する故障報知手段と、を有することを特徴とする
プログラマブル・コントローラ用外部機器の故障診断装
置。
(1) Program data extraction means for extracting a conditional branch instruction and an input condition change pattern at the time of execution of the instruction from a user program in a flowchart format, and storing the extracted conditional branch instruction and input condition change pattern in correspondence. Extracted data storage means; Timing means for measuring the time until an input condition changes according to a stored pattern corresponding to the stored conditional branch instruction when the stored conditional branch instruction is executed; and the stored conditional branch instruction and input. Measurement time learning means for storing measurement times in correspondence with condition change patterns; Measurement time for determining whether the actual measurement time is longer than the learned measurement time when a predetermined mode is selected. The device is characterized by comprising: a monitoring means; and a failure notification means for notifying the occurrence of a failure in an external device that determines the input conditions for the measurement time when the actual measurement time is longer than the learned measurement time. Failure diagnosis device for external equipment for programmable controllers.
JP62092817A 1987-04-15 1987-04-15 Device for diagnosing failure of external apparatus for programmable controller Pending JPS63257802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62092817A JPS63257802A (en) 1987-04-15 1987-04-15 Device for diagnosing failure of external apparatus for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62092817A JPS63257802A (en) 1987-04-15 1987-04-15 Device for diagnosing failure of external apparatus for programmable controller

Publications (1)

Publication Number Publication Date
JPS63257802A true JPS63257802A (en) 1988-10-25

Family

ID=14064976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62092817A Pending JPS63257802A (en) 1987-04-15 1987-04-15 Device for diagnosing failure of external apparatus for programmable controller

Country Status (1)

Country Link
JP (1) JPS63257802A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03280185A (en) * 1990-03-28 1991-12-11 Tatsuta Electric Wire & Cable Co Ltd Card system management device
JPH04199490A (en) * 1990-11-29 1992-07-20 Tatsuta Electric Wire & Cable Co Ltd Card system control device
US8922140B2 (en) 2011-11-09 2014-12-30 Honeywell International Inc. Dual potentiometer address and direction selection for an actuator
US8972064B2 (en) 2011-11-09 2015-03-03 Honeywell International Inc. Actuator with diagnostics
US9041319B2 (en) 2011-11-09 2015-05-26 Honeywell International Inc. Actuator having an address selector
US9106171B2 (en) 2013-05-17 2015-08-11 Honeywell International Inc. Power supply compensation for an actuator
US9981529B2 (en) 2011-10-21 2018-05-29 Honeywell International Inc. Actuator having a test mode
US10113762B2 (en) 2011-11-09 2018-10-30 Honeywell International Inc. Actuator having an adjustable running time

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03280185A (en) * 1990-03-28 1991-12-11 Tatsuta Electric Wire & Cable Co Ltd Card system management device
JPH04199490A (en) * 1990-11-29 1992-07-20 Tatsuta Electric Wire & Cable Co Ltd Card system control device
US9981529B2 (en) 2011-10-21 2018-05-29 Honeywell International Inc. Actuator having a test mode
US10744848B2 (en) 2011-10-21 2020-08-18 Honeywell International Inc. Actuator having a test mode
US8922140B2 (en) 2011-11-09 2014-12-30 Honeywell International Inc. Dual potentiometer address and direction selection for an actuator
US8972064B2 (en) 2011-11-09 2015-03-03 Honeywell International Inc. Actuator with diagnostics
US9041319B2 (en) 2011-11-09 2015-05-26 Honeywell International Inc. Actuator having an address selector
US10113762B2 (en) 2011-11-09 2018-10-30 Honeywell International Inc. Actuator having an adjustable running time
US9106171B2 (en) 2013-05-17 2015-08-11 Honeywell International Inc. Power supply compensation for an actuator

Similar Documents

Publication Publication Date Title
JPS63257802A (en) Device for diagnosing failure of external apparatus for programmable controller
JP3303105B2 (en) Process input / output device
JPH08278804A (en) Diagnostic system for sequence program
JPS63234303A (en) Warning device for deterioration of performance of external equipment for programmable controller
JP2001005504A (en) Motion controller and peripheral equipment for motion controller
JP2550580B2 (en) Programmable controller failure diagnosis device
JP3102486B2 (en) Digital protection relay analyzer
JPS5924311A (en) Program timer
JP2554282B2 (en) Fault diagnosis device for sequence controller
JPH09297524A (en) Training stimulation device of facility controlling system
JP2000347731A (en) Automatic data collecting device
JPH08185208A (en) Plant controller
JP2540127B2 (en) Programmable controller failure diagnosis device
JPH09114517A (en) Monitor and control equipment
JP2701842B2 (en) Fault diagnosis device for programmable controller
JPH0668369A (en) System monitoring abnormality progress reproducing device
JPH08202909A (en) Operation state monitoring device
JPS63240602A (en) Abnormality diagnosing device for sequence controller
JPH07210218A (en) Abnormality detecting system for sequence program
JP2001076269A (en) Operation managing device and operation managing method
JPS59205613A (en) Sequence monitor device
JPS63108447A (en) Input output equipment supervising device
JP2714443B2 (en) Update data validity display method and process operation monitoring device
JP3493059B2 (en) Plant operation equipment
JP3384141B2 (en) Programmable controller and programmable controller maintenance device