JPH04137010A - Fault diagnostic device for sequencer - Google Patents

Fault diagnostic device for sequencer

Info

Publication number
JPH04137010A
JPH04137010A JP2259985A JP25998590A JPH04137010A JP H04137010 A JPH04137010 A JP H04137010A JP 2259985 A JP2259985 A JP 2259985A JP 25998590 A JP25998590 A JP 25998590A JP H04137010 A JPH04137010 A JP H04137010A
Authority
JP
Japan
Prior art keywords
sequencer
program
stroke
execution
stopped
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
JP2259985A
Other languages
Japanese (ja)
Inventor
Toshiya Aoki
俊也 青木
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2259985A priority Critical patent/JPH04137010A/en
Publication of JPH04137010A publication Critical patent/JPH04137010A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and quickly inspect and repair a faulty part by reading a stroke where the execution of the program of a sequencer is stopped, picking up external input included in the stroke by tracing the stroke in a direction opposite to an execution order, and displaying it on a display device. CONSTITUTION:This device is equipped with a means 3 to read the program of the sequencer, a means 3 which traces the stroke where the execution of a read program is stopped in an order opposite to the execution order and picks up the external input included in the stroke, and the display device 6 to display picked up external input. Therefore, the stroke where the execution of the program of the sequencer is stopped is traced in the direction opposite to the execution order of the stroke, and the external input included in the stroke is picked up, and is displayed on the display device 6. Thereby, it is possible to easily inspect and repair the faulty part by inspecting displayed external input.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、シーケンサ用故障診断装置に関する。[Detailed description of the invention] Industrial applications The present invention relates to a fault diagnosis device for a sequencer.

従来の技術 生産プロセスの設備機械などを制御する制御装置として
、これら制御対象力装置に対して時間軸上に設定された
論理動作を逐次的に実行させるための命令を与えるシー
ケンサが周知である。
BACKGROUND OF THE INVENTION As a control device for controlling equipment and machinery in a production process, a sequencer is well known, which provides commands for sequentially executing logical operations set on a time axis to force devices to be controlled.

第4図は、このようなンーゲンサに設定されるプログラ
ムの一例を示すラダー図である。
FIG. 4 is a ladder diagram showing an example of a program set in such a computer.

このラダー図において、常開スイッチR−S Wは外部
入力つまり制御対象である外部装置側に組み込まれたス
イッチである。このスイッチR−3Wと、これに並列に
接続された常閉接点000aと、この並列部分に直列に
接続されな常閉接点001bと、さらに常閉接点001
bに直列に接続された励磁コイル0OORとで、プログ
ラムの1行程OOが表現されている。
In this ladder diagram, the normally open switch R-SW is a switch built into an external input device, that is, an external device to be controlled. This switch R-3W, a normally closed contact 000a connected in parallel to this, a normally closed contact 001b not connected in series to this parallel part, and a normally closed contact 001
One stroke OO of the program is expressed by the excitation coil 0OOR connected in series to b.

また、常開スイッチL−3Wも制御対象である外部装置
側に組み込まれたスイッチつまり外部入力である。この
スイッチL−3Wと、これに並列に接続された常閉接点
001aと、この並列部分に直列に接続された常閉接点
000bと、さらに常閉接点000bに直列に接続され
た励磁コイル001Rとでプロ7ラムの池の1行程01
か表現されている。
Further, the normally open switch L-3W is also a switch built into the external device to be controlled, that is, an external input. This switch L-3W, a normally closed contact 001a connected in parallel to this, a normally closed contact 000b connected in series to this parallel part, and an excitation coil 001R connected in series to the normally closed contact 000b. So Pro 7 Ram Pond 1st leg 01
is expressed.

上記各接点のうち、常開接点000 aおよび常閉接点
000bは励磁コイル0OORの励磁によって動作する
接点てあり、この励磁コイル000Rは制御対象である
外部装置に対して所定の動作を促す出力となっている。
Among the above contacts, the normally open contact 000a and the normally closed contact 000b are contacts that operate by excitation of the excitation coil 0OOR, and this excitation coil 000R serves as an output that prompts the external device to perform a predetermined operation. It has become.

また、常開接点001aおよび常閉接点001bは励磁
コイル0OIRの励磁によって動作する接点であり、こ
の励磁コイル0OIRは制御対象である外部装置に対し
て別の動作を促す出力となっている。
Further, the normally open contact 001a and the normally closed contact 001b are contacts that operate by excitation of the excitation coil 0OIR, and this excitation coil 0OIR serves as an output that prompts the external device to be controlled to perform another operation.

すなわち、このプログラムては外部装置におけるスイッ
チR−S Wがオンとなると、このとき常閉接点001
bかオンであるので励磁コイル0OORが励磁され、外
部装置に対して所定の動作を促す出力が与えられる。つ
まり、行程00が実行される。外部装置の動作開始によ
りスイッチR−3Wはオフに復帰するが、このとき常開
接点000aが既にオンとなっているのて励磁コイル0
00Rは自己保持される。
That is, in this program, when the switch R-SW in the external device is turned on, the normally closed contact 001 is turned on.
Since the excitation coil 0OOR is on, the excitation coil 0OOR is excited, and an output is given to the external device to prompt a predetermined operation. In other words, process 00 is executed. When the external device starts operating, the switch R-3W returns to off, but at this time, the normally open contact 000a is already on, so the excitation coil 0 is turned off.
00R is self-maintained.

外部装置による行程00の動作の結果、つぎに外部装置
におけるスイッチL −S Wがオンとなると、励磁コ
イル001Rか励磁され、外部装置に対して所定の動作
を促す出力が与えられる。つまり、行程01が実行され
る。外部装置のこの動作の開始によりスイッチL−SW
はオフに復帰するが、このとき′l/;開接点001a
は既にオンとなっているので励磁コイル0OIRは自己
保持される。
As a result of the operation in step 00 by the external device, when the switch L-SW in the external device is turned on next, the excitation coil 001R is excited, and an output that prompts the external device to perform a predetermined operation is provided. In other words, step 01 is executed. The start of this operation of the external device causes the switch L-SW to
returns to off, but at this time 'l/; open contact 001a
is already turned on, so the excitation coil 0OIR is self-maintained.

第5図は、上記ラダー図のプログラムを通常のフローチ
ャートで示した図である。ステップn1の開始に次ぐ、
ステップn2およびステップo3までが行程OOの処理
に該当し、次°のステップn4およびステップn5まで
が行程01の処理に該当している。
FIG. 5 is a diagram showing the program of the above ladder diagram in a normal flowchart. Following the start of step n1,
Steps up to step n2 and step o3 correspond to the process of process OO, and steps up to the next step n4 and step n5 correspond to the process of process 01.

ところで、上述したプログラムは行程位置を示すf&述
するステータスフラグやステータスカウンタを用いない
プログラム、つまりステップフローを用いないプログラ
ムであるため、故障が生じてシーケンサが停止しても、
プログラムの実行が停止した行程位置を探すのが容易で
ない。その結果、故障の要因を見付は出すのに困難を住
うことになる。
By the way, since the above-mentioned program does not use a status flag or a status counter that indicates the stroke position, that is, it does not use a step flow, even if a failure occurs and the sequencer stops,
It is not easy to find the stroke position where program execution has stopped. As a result, it becomes difficult to identify the cause of the failure.

そこで、上述したラダ一方式のプログラムにおいても、
プロクラムの各行程を示すステータスフラグやステータ
スカウンタを用いて行程歩進型のプログラム表現とし、
故障時に停止した行程を容易に突き止められるようにす
ることが試みられている。
Therefore, even in the ladder one-way program mentioned above,
Using status flags and status counters that indicate each step of the program, it is expressed as a step-by-step program.
Attempts have been made to make it easier to locate the stopped process in the event of a failure.

第6図は、第4図のプログラムにステータスカウンタC
を付加して作成した行程歩進型のプログラムを示す図で
ある。
Figure 6 shows the status counter C added to the program in Figure 4.
It is a diagram showing a step-by-step program created by adding.

このプログラムては、励磁コイル0OORが励磁される
と常開接点000aがオンとなってステータスカウンタ
Cがクリアされ、このことから実行されているのが行程
oOであると確認される。
In this program, when the excitation coil 0OOR is excited, the normally open contact 000a is turned on and the status counter C is cleared, thereby confirming that the stroke oO is being executed.

また、励磁コイル001Rが励磁されると常開接点00
1aがオンとなってステータスカウンタCの値が1にイ
ンクリメントされ、このことから実行されているのが行
程01であると確認される。
Also, when the exciting coil 001R is excited, the normally open contact 00
1a is turned on and the value of status counter C is incremented to 1, which confirms that step 01 is being executed.

この場合には、停止した行程が判明することによって、
故障箇所の範囲か限定されるため故障の詮所やチエツク
を容易に行うことかできる。
In this case, by identifying the stopped process,
Since the range of the failure location is limited, it is easy to inspect and check the failure location.

発明か解決しようとする課題 しかしなから、上述したステ・ノブフローを用いたプロ
グラムを組む場合でも、プログラマの個人差によってそ
のプログラム表現には大きな差異が生じること、および
プログラム手法として統一された手法が未だ定められて
いないことなどがネックとなって、そのようなプログラ
ムを設定したシーケンサに対して、従来、適切な故障誇
断を行える誇断装置が開発されなかった。
However, even when creating a program using the Ste-Knob flow described above, there are large differences in program expression due to individual differences among programmers, and there is no unified programming method. Due to the fact that it has not yet been determined, no diagnostic device has been developed that can appropriately determine failures for sequencers with such programs.

したがって、本発明の目的は、行程歩進型のプログラム
を設定したシーケンサに対して故障誇断を迅速かつ容易
に行うことのできるシーゲンサ用故障於断装置を提供す
ることである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a fault interrupting device for a sequencer that can quickly and easily confirm a fault in a sequencer set with a step-by-step program.

課題を解決するための手段 本発明は、制御対象の装置に対し論理動作を逐次的に実
行させるための命令を与える行程歩進型のプログラムが
設定されたシーケンサの動作が停止したときに、そのシ
ーケンサのプログラムのどの箇所で故障か起きたかを診
断するシーケンサ用故障診断装置において、 シーケンサのプログラムを読み取る手段と、読み取った
プログラムの中の実行か停止した行程をその実行順序と
は逆の順序でたどり、その行程に含まれる外部入力を拾
い出す手段と、拾い出した外部入力を表示する表示装置
とを備えたことを特徴とするシーケンサ用故障診断装置
である。
Means for Solving the Problems The present invention provides a method for solving the problems when the operation of a sequencer in which a step-by-step program is set that gives instructions for sequentially executing logical operations to a device to be controlled stops. A fault diagnosis device for a sequencer that diagnoses where in a sequencer program a failure has occurred has a means for reading the sequencer program and a means for reading executed or stopped steps in the read program in the reverse order of execution. This is a fault diagnosis device for a sequencer, characterized in that it includes means for tracing and picking up external inputs included in the process, and a display device for displaying the picked up external inputs.

作  用 本発明に従えば、シーケンサのプログラムの中の実行を
停止した行程をその実行順序の逆方向にたどって、その
行程に含まれる外部入力が拾い出され表示装置に表示さ
れるので、表示された外部入力を点検することによって
容易に故障箇所を点検・修理できる。
According to the present invention, a step in the sequencer program whose execution has been stopped is traced in the reverse direction of its execution order, and external inputs included in that step are picked up and displayed on the display device. By checking the external input that has been received, it is possible to easily check and repair the malfunctioning part.

実施例 第1図は、本発明の一実施例であるシーケンサ用故障診
断装置1と、この故障診断装置1によって故障診断か行
われるシーケンサ2との間の電気的な接続構成を示すフ
ロンク図である。
Embodiment FIG. 1 is a front diagram showing an electrical connection configuration between a fault diagnosis device 1 for a sequencer, which is an embodiment of the present invention, and a sequencer 2 whose fault diagnosis is performed by this fault diagnosis device 1. be.

上記シーケンサ用故障診断装置1は、中央処理装置(C
entral ProccessinHUniシ以下、
CPUと略称する)3、読出し専用メモリ(Read 
OnlyMemory :以下、ROMと略称する)4
、随時書込み読出しメモリ(Random^ccess
 Memory ;以下、RAMと略称する)5、表示
装置6、インタフェース7などによって構成されている
The above fault diagnosis device 1 for a sequencer includes a central processing unit (C
internal ProcessinHUni and below,
3. Read-only memory (abbreviated as CPU)
OnlyMemory: Hereinafter abbreviated as ROM)4
, Random write/read memory (Random^ccess
It is composed of a memory (hereinafter abbreviated as RAM) 5, a display device 6, an interface 7, and the like.

ROM4はシーケンサ2の故障診断装置う診断プログラ
ムが書き込まれたメモリであり、その於断フ゛ロクラム
の実行はCPU3によって行われる。
The ROM 4 is a memory in which a diagnostic program for the fault diagnostic device of the sequencer 2 is written, and the CPU 3 executes the program.

RAM5は、上記診断プログラムの実行によりシーケン
サ2から読み出されたプログラムなどや、故障診断の処
理の際に使用するデータなどをストアしておくためのメ
モリである。
The RAM 5 is a memory for storing programs read out from the sequencer 2 by executing the diagnostic program, data used in failure diagnosis processing, and the like.

表示装置6は故障診断の結果を表示する機能を担う装置
である。
The display device 6 is a device that has the function of displaying the results of failure diagnosis.

インタフェース7は、シーケンサ2がらプログラムなど
を読み出す際にシーケンサ2との間でデータ通信を行う
機能を担う装置である。
The interface 7 is a device that performs data communication with the sequencer 2 when reading a program or the like from the sequencer 2.

第2図は上記シーケンサ用故障診断装置1による故障診
断装置の手順を示すフローチャートを示し、第3図はシ
ーケンサ2に設定されているフ゛ログラムの一例を示す
ラダー図である。
FIG. 2 shows a flowchart showing the procedure of the fault diagnosing device 1 for a sequencer, and FIG. 3 is a ladder diagram showing an example of a program set in the sequencer 2.

第3図のラダー図は、先に第6図に示したプログラムと
同様の行程歩進型のプログラムであって、その処理行程
は基本的には第6図の場合と同しである。
The ladder diagram in FIG. 3 is a step-by-step program similar to the program shown in FIG. 6 earlier, and its processing steps are basically the same as those in FIG. 6.

このプログラムの場合には、各行程ごとにステップ番号
が割り当てられている。すなわち、行程00にはステッ
プ番号00が、行程o1にはステップ番号01がそれぞ
れ割り当てられている。
In this program, a step number is assigned to each process. That is, step number 00 is assigned to process 00, and step number 01 is assigned to process o1.

また各行程ごとに、その行程から次の行程に処理を移す
きっかけを与えるための標識(以下、トラジションと呼
ぶ)が設けられている。すなわち、行程00にはライフ
001行程01にはライン01というトラジションがそ
れぞれ設けられている。
Further, for each process, a mark (hereinafter referred to as a transition) is provided to give an opportunity to move the process from that process to the next process. That is, the transition 00 has a life of 001, and the transition 01 has a transition of a line 01.

これらのトラジションにはその行程の終了を知らせる要
素が付加されている。すなわち、ライン01には、その
要素として励磁コイル0OORに対応する常開接点00
0aか接続され、ラインOOには、その要素として励磁
コイル001Rに対応する常開接点001aが接続され
たプログラム表現となっている。
These transitions have an element attached to them that indicates the end of the process. That is, line 01 has normally open contact 00 corresponding to excitation coil 0OOR as its element.
0a is connected to the line OO, and the normally open contact 001a corresponding to the excitation coil 001R is connected as an element to the line OO.

つまり、この場合のプログラムは、行程01が実行され
てシーケンサ2の制御対象である図示しない外部装置に
対する出力として励磁コイルo。
That is, in this case, the program executes step 01 and outputs the exciting coil o as an output to an external device (not shown) that is controlled by the sequencer 2.

IRが励磁されると、常開接点001aがオンとなって
ライン00のトラジションが次の行程oOに処理を移す
きっかけを与え、また行程ooが実行されて外部装置に
対する出力として励磁コイル000Rが励磁されると、
常開接点000aがオンとなってライン01のトランジ
ションが次の行程01に処理を移すきっかけを与えるよ
うに作成されている。
When the IR is energized, the normally open contact 001a is turned on, and the transition on line 00 triggers the process to move to the next step oO, and when step oo is executed, the exciting coil 000R is output as an output to the external device. When excited,
It is created so that the normally open contact 000a is turned on and the transition of line 01 provides an opportunity to move the process to the next step 01.

次に、第2図のフローチャートおよび第3図のラダー図
を参照して、上記シーケンサ用故障診断装置によるシー
ケンサ2の故障診断動作を説明する。
Next, with reference to the flowchart of FIG. 2 and the ladder diagram of FIG. 3, the operation of diagnosing the sequencer 2 by the sequencer failure diagnosing device will be described.

故障のためシーケンサ2の動作が停止した場合、シーケ
ンサ用故障診断装置1とシーケンサ2の間てデータ通信
を開始させる。
When the operation of the sequencer 2 is stopped due to a failure, data communication is started between the sequencer failure diagnosis device 1 and the sequencer 2.

このときシーケンサ用故障診断装置1ては第2図に示す
ように、ステ・ツブS1の開始に次ぐステップs2でま
ずシーケンサ2に設定されている第3図に示す行程歩進
型のプログラムにおける現在の行程つまり実行停止時の
行程を読み出す。具体的には実行が停止した行程に対応
するステップ番号を読み出す。読み出したステップ番号
はRAM5にストアする。
At this time, as shown in FIG. 2, the fault diagnosis device 1 for the sequencer first checks the current state of the step-by-step program shown in FIG. Read out the process, that is, the process when execution is stopped. Specifically, the step number corresponding to the process whose execution has stopped is read. The read step number is stored in RAM5.

次のステップS3では、シーケンサ2のプログラムの中
から上記ステップ番号に該当する行程部分を読み出す。
In the next step S3, the process portion corresponding to the step number is read out of the program of the sequencer 2.

すなわち、第3図でたとえば励磁コイル001Rが励磁
されない状態のもとてプログラムの実行が中断したとす
ると、トランジョンであるラインOOは次の行程00へ
処理を移すきっかけを与えないので、この場合に読み出
されるのはステップ番号01で、これに伴って第3図に
示すプログラム部分が読み出されることなる。読み出し
たプログラム部分もRAM5にストアする。
That is, in FIG. 3, if the execution of the program is interrupted because excitation coil 001R is not excited, line OO, which is a transition, does not trigger the process to move to the next step 00, so in this case, Step number 01 is read out, and the program portion shown in FIG. 3 is read out accordingly. The read program portion is also stored in the RAM 5.

結局、この場合には、読み出されるステップ番号01か
らプログラムの行程01の範囲内に故障箇所があるもの
と′#J+断される。
After all, in this case, it is determined that the failure location is within the range of step 01 of the program from the read step number 01.

次のステップS4ては、停止した行程O1をその実行順
次を逆にたどって故障箇所を検索する。
In the next step S4, the stopped process O1 is traced in reverse order to search for a failure location.

具体的には、第3図に矢印で示すようにまず第■番自と
して停止した行程01に対応するトランジョンであるラ
イン00からそれに接続されている要素つまり常開接点
001aへと検索を行う。
Specifically, as shown by the arrow in FIG. 3, a search is first made from line 00, which is the transition corresponding to the stopped process 01 as No. 2, to the element connected thereto, that is, the normally open contact 001a. .

このトランジョンを含む線上にはそれ以上の要素がない
ので、次に第■番目として出力である励磁コイル0OI
Rから同一線上を左方の常閉接点000bへと検索を進
める。
Since there are no more elements on the line that includes this transition, the next item is the excitation coil 0OI, which is the output.
The search proceeds on the same line from R to the normally closed contact 000b on the left.

次に第0番目として、同じ線上の互いに並列接続されて
いるスイッチL−3Wおよび常開接点001aのうちス
イッチL −S W側に検索を進める。
Next, as the 0th point, the search proceeds to the switch L-SW side among the switch L-3W and the normally open contact 001a that are connected in parallel to each other on the same line.

このスイッチL −5’、Vは先述したようにシーケン
サ2の制御対象である外部装置側に組み込まれているス
イッチ、つまりシーケンサ2にとっては外部入力である
ので、このスイ・/チL −S Wをこれまての検索て
最初に見(寸けた故障要因の候補として表示装置6に表
示する。すなわち、この実施例の故障診断てはシーケン
サ2内部のりトーなとについては一応故障かないものと
みなして、故障要因の候補から除外される。
As mentioned earlier, these switches L-5' and V are switches built into the external device that is controlled by the sequencer 2, that is, they are external inputs for the sequencer 2, so this switch L-S W is searched so far and is displayed on the display device 6 as a candidate for the cause of the failure.In other words, in the failure diagnosis of this embodiment, it is assumed that there is no failure in the internal gates of the sequencer 2. Therefore, it is excluded as a candidate for failure cause.

上記スイッチL −S Wを驚む分岐線上にはそれ以上
左側に検索を進めても他の要素がないのて、検索の経路
を一旦常閉接点ooobまて後退し、次に第■番目とし
て、スイッチL −S Wに並列に接続されている常開
接点001aを含む分岐線上へと検索を進める。
There are no other elements on the branch line that surprises the above switch L - SW, even if the search is continued further to the left, so the search path is temporarily moved back to the normally closed contact ooob, and then as the , the search proceeds to the branch line including the normally open contact 001a connected in parallel to the switch L-SW.

その分岐線にも常開接点001aのほかに要素はないの
で、検索の経路を一旦先の常閉接点000bまで後退し
、次に第0番目として励磁コイル000Rへと検索を進
める。
Since there is no element in that branch line other than the normally open contact 001a, the search path is temporarily retracted to the normally closed contact 000b, and then the search proceeds to the 0th excitation coil 000R.

以下は励磁コイル0OIRを含む上述した線上における
検索と同様の手順を繰り返して外部入力であるスイッチ
R−S Wを検索し、このスイッチを故障要因の候補と
して表示装置6に表示する。
Hereinafter, the same procedure as the above-mentioned search on the line including the excitation coil 0OIR is repeated to search for the switch R-SW which is an external input, and this switch is displayed on the display device 6 as a candidate for the failure cause.

このような手順により、シーケンサ2のプログラムの停
止行程位置に近い外部入力が故障要因の候補として順次
ピlクア・Iプされると、ステツブs5て故障診断の処
理を終了する。
Through such a procedure, when external inputs near the stop stroke position of the program of the sequencer 2 are sequentially picked up as failure cause candidates, the failure diagnosis process is completed in step s5.

この故障診断装置1のオペレータは、表示装置2に故障
要因の候補としてと12ア・/プされた外部入力つまり
外部装置側のスイッチL−3W、R8Wを点検すること
によって故障診断を半自動的に行うことかできる。
The operator of this fault diagnosis device 1 semi-automatically performs fault diagnosis by checking external inputs, that is, switches L-3W and R8W on the external device side, which are displayed on the display device 2 as candidates for fault causes. I can do what I want to do.

なお、上記実施例では説明を簡単にするためにシーケン
サ2自信のリレーなどの検索は故障がないものとみなし
て、外部入力のみを故障要因の候補としてピックアップ
する場合につ・いて示したが、シーケンサ2内部のリレ
ーなどの故障検索を自動的に行う周知の処理技術を上記
実施例に併用してもよい。
In addition, in the above embodiment, in order to simplify the explanation, it is assumed that the search for relays in the sequencer 2 itself is not faulty, and only the external input is picked up as a candidate for the fault cause. A well-known processing technique that automatically searches for failures in relays and the like inside the sequencer 2 may be used in combination with the above embodiment.

発明の効果 以上のように、本発明のシーケンサ用故障診断装置によ
れば、シーケンサのプログラムの中の実行を停止した行
程を読みだし、その行程を実行順序の逆方向にたどって
、その行程に含まれる外部入力を拾い出し表示装置に表
示するように構成しているので・、表示された外部入力
を点検する二とによって容易かつ迅速に故障箇所を点検
 修理できる。
Effects of the Invention As described above, according to the fault diagnosis device for a sequencer of the present invention, a process in a sequencer program that has stopped execution is read out, the process is traced in the reverse direction of the execution order, and the process is executed. Since the included external inputs are picked up and displayed on the display device, the failure location can be easily and quickly inspected and repaired by inspecting the displayed external inputs.

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

第1図は本発明の一実施例であるシーケンサ用故障診断
装置とシーケンサとを組み合わせた構成を示すプロ・ツ
ク図、第2図はそのシーケンサ用故障診断装置の故障診
断手順を示すフローチャート、第3図はシーケンサに設
定される行程歩進型のプログラムの一例を示すラダー図
、第4図はシーケンサに設定されるステ・lプロローを
用いないプログラムの一例を示すラダー図、第5図はそ
のプログラムを通常のフローチャートて表現した図、第
6図はシーケンサに設定される行程歩進型のプログラム
の一例を示すラダー図である。 トシーケンサ用故障診断装置、3・・・CPU、4− 
ROM、5・・・RAM、6 ・表示装置、7.インタ
フェース 代理人  弁理士 画数 圭一部 第2
FIG. 1 is a program diagram showing a combination of a sequencer fault diagnosis device and a sequencer, which is an embodiment of the present invention; FIG. 2 is a flowchart showing a fault diagnosis procedure of the sequencer fault diagnosis device; Figure 3 is a ladder diagram showing an example of a step-by-step program set in the sequencer, Figure 4 is a ladder diagram showing an example of a program that does not use step-prolow, and Figure 5 is a ladder diagram of the program set in the sequencer. FIG. 6 is a ladder diagram showing an example of a step-by-step program set in a sequencer. fault diagnosis device for sequencer, 3...CPU, 4-
ROM, 5...RAM, 6 - Display device, 7. Interface agent Patent attorney Number of strokes Keibu 2nd

Claims (1)

【特許請求の範囲】 制御対象の装置に対し論理動作を逐次的に実行させるた
めの命令を与える行程歩進型のプログラムが設定された
シーケンサの動作が停止したときに、そのシーケンサの
プログラムのどの箇所で故障が起きたかを診断するシー
ケンサ用故障診断装置において、 シーケンサのプログラムを読み取る手段と、読み取った
プログラムの中の実行が停止した行程をその実行順序と
は逆の順序でたどり、その行程に含まれる外部入力を拾
い出す手段と、 拾い出した外部入力を表示する表示装置とを備えたこと
を特徴とするシーケンサ用故障診断装置。
[Claims] When the operation of a sequencer that is set with a step-by-step program that provides instructions for sequentially executing logical operations on a device to be controlled stops, which of the programs in that sequencer is A fault diagnosis device for a sequencer that diagnoses whether a failure has occurred at a location includes a means for reading the program of the sequencer, a step in the read program that has stopped execution, and a method that traces the step in the read program in the opposite order of execution. A fault diagnosis device for a sequencer, comprising means for picking up included external inputs, and a display device for displaying the picked up external inputs.
JP2259985A 1990-09-27 1990-09-27 Fault diagnostic device for sequencer Pending JPH04137010A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2259985A JPH04137010A (en) 1990-09-27 1990-09-27 Fault diagnostic device for sequencer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2259985A JPH04137010A (en) 1990-09-27 1990-09-27 Fault diagnostic device for sequencer

Publications (1)

Publication Number Publication Date
JPH04137010A true JPH04137010A (en) 1992-05-12

Family

ID=17341683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2259985A Pending JPH04137010A (en) 1990-09-27 1990-09-27 Fault diagnostic device for sequencer

Country Status (1)

Country Link
JP (1) JPH04137010A (en)

Similar Documents

Publication Publication Date Title
US5997167A (en) Programmable controller including diagnostic and simulation facilities
US3975622A (en) Programmable logic controller system
US5253158A (en) Apparatus for supporting the development of sequence software to be used in automated equipments, and method thereof
JPH04137010A (en) Fault diagnostic device for sequencer
JPH0577143A (en) Failure diagnosis device for automated line
JPS63240602A (en) Abnormality diagnosing device for sequence controller
WO2007086113A1 (en) Plant control system
JP2590277B2 (en) System test equipment
JPH06266420A (en) Programmable controller
KR19980019215A (en) Microcomputer with self-diagnostic unit
JPS61813A (en) Deciding system for faulty area of sequence controller
JPS63201736A (en) Programming device for programmable controller
JPH0216639A (en) Electronic device diagnosing and maintaining equipment
JPS6073705A (en) System for controlling operational sequence
JPH0362104A (en) Inspection instrument
JP2687726B2 (en) Failure detection device and method
JPH02253306A (en) Fault diagnosing device
JPH0464105A (en) Fault diagnostic device for programmable controller
JP2004046509A (en) Emulation device of programmable controller
JPS63257839A (en) Debug system for test program
JPS6048762B2 (en) Sequence control status display device
JPH02238530A (en) Test system for working of program
JPS63223808A (en) Trouble diagnosing device
JP2001243084A (en) Power system monitor controller and storage medium with program for executing the same stored
JP2002157143A (en) Debug support system for integrated circuit test program