JPH07160314A - Input/output signal operation diagnostic device for programmable controller - Google Patents

Input/output signal operation diagnostic device for programmable controller

Info

Publication number
JPH07160314A
JPH07160314A JP5339644A JP33964493A JPH07160314A JP H07160314 A JPH07160314 A JP H07160314A JP 5339644 A JP5339644 A JP 5339644A JP 33964493 A JP33964493 A JP 33964493A JP H07160314 A JPH07160314 A JP H07160314A
Authority
JP
Japan
Prior art keywords
input
output signal
memory
programmable controller
output
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.)
Withdrawn
Application number
JP5339644A
Other languages
Japanese (ja)
Inventor
Yasumoto Ibarada
保基 茨田
Shigetada Osaki
重忠 大崎
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP5339644A priority Critical patent/JPH07160314A/en
Publication of JPH07160314A publication Critical patent/JPH07160314A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To specify the place of trouble when the trouble occurs by comparing a read actual machine input/output signal with a previously registered diagnostic pattern. CONSTITUTION:A programmable controller PC 10 which controls a production line by using the input/output signal operation diagnostic device and the production line 20 which is controlled by the PC are connected. The PC 10 fetches an input signal being data on a kind from the production line and an application program on the PC 10 supplies an output signal to a controlled device 20 so as to perform determined control. Then the input/output signal operation diagnostic device compares the actual machine input/output signal read out of the PC 10 with the previously registered diagnostic pattern to specify the trouble occurrence place. A trouble recovery time can, therefore, be made much shorter than before and economical loss is minimized.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、実機に使用しているそ
のままの形でプログラマブルコントローラの入出力信号
動作の良否を診断する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for diagnosing the quality of input / output signal operation of a programmable controller as it is used in an actual machine.

【0002】[0002]

【従来の技術】生産ラインなどでプログラマブルコント
ローラにより制御を行う場合、アプリケーションプログ
ラムについてはオンライン稼働前に充分なテストを行っ
ているためトラブルは多くなく、トラブルの原因の大半
は、入出力信号に関する動作不良によるものである。こ
のような入出力信号の動作不良には、例えばリミットス
イッチの場合には取付けの緩みによる動作不良であった
りとか、リミットスイッチは動作していても、リミット
スイッチとプログラマブルコントローラ間のインターフ
ェースリレーが、経年劣化により接点の接触不良を起こ
しプログラマブルコントローラへスイッチの信号が入力
されなかった等の場合がある。そしてそれらの原因の発
生タイミングを予測できない場合が多い。
2. Description of the Related Art When controlling with a programmable controller in a production line or the like, there are not many troubles because application programs are fully tested before online operation. Most of the troubles are caused by operations related to input / output signals. This is due to a defect. Such a malfunction of the input / output signal is, for example, a malfunction due to loose mounting in the case of a limit switch, or even if the limit switch is operating, the interface relay between the limit switch and the programmable controller is In some cases, contact failure may occur due to deterioration over time, and a switch signal may not be input to the programmable controller. In many cases, the occurrence timing of these causes cannot be predicted.

【0003】従って、上記トラブル発生時には、表示ラ
ンプや、プログラマブルコントローラの内部動作をモニ
ターするプログラミングパネルといったものを接続して
ラダー図の動作を調べる等をして、そのトラブル発生箇
所を特定していた。
Therefore, at the time of occurrence of the above trouble, the trouble occurrence point is specified by connecting an indicator lamp or a programming panel for monitoring the internal operation of the programmable controller and checking the operation of the ladder diagram. .

【0004】[0004]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、プログラマブルコントローラによる制
御規模(入出力点数)が大きくなるほど種々の問題が生
じていた。すなわち、トラブル発生箇所を特定するため
に調べなければならない範囲が広くなり、入出力信号に
よるラダー図の動作条件が複雑になるため、復旧に多大
の時間や人手がかかり、結果的には生産設備の長時間休
止を伴うなど、経済的に大きな損失を生じていた。
However, in the above-mentioned prior art, various problems occur as the control scale (the number of input / output points) by the programmable controller increases. In other words, the range that must be investigated to identify the trouble occurrence point becomes wider, and the operating conditions of the ladder diagram due to the input / output signals become more complicated, so much time and labor are required for restoration, and as a result, the production equipment It caused a great financial loss, such as a long break.

【0005】本発明の目的は、上記トラブル発生時にそ
の箇所を特定できる診断装置を提供することにある。
An object of the present invention is to provide a diagnostic device which can identify the location of the trouble when it occurs.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、入出力信号動作診断プログラムをストア
したコンピュータを、入力信号を保持するための入力用
メモリと、出力信号を保持するための出力用メモリと、
アプリケーションプログラムをストアするためのアプリ
ケーション用メモリと、アプリケーションプログラムが
データを保持するためのデータ用メモリとを有するプロ
グラマブルコントローラとからなる。診断パターンの登
録は、予め登録された入出力信号のアドレスをもとに実
機の入出力信号を読み取り、これをもとにして自動作成
することもできる。
In order to achieve the above object, the present invention provides a computer storing an input / output signal operation diagnosis program, which holds an input memory for holding an input signal and an output signal. Output memory for
The programmable controller includes an application memory for storing the application program and a data memory for the application program to hold data. The diagnostic pattern can be registered automatically by reading the input / output signal of the actual machine based on the address of the input / output signal registered in advance and automatically creating it.

【0007】[0007]

【作用】上記手段によれば、プログラマブルコントロー
ラから読取った実機入出力信号を、予め登録されている
診断パターンとを比較することによってトラブル発生箇
所が特定できるようになり、トラブル復旧時間を従来に
比べ大幅に短縮させることができ、経済的な損失を最小
限にくいとめることが可能になる。
According to the above means, the trouble occurrence point can be specified by comparing the actual machine input / output signal read from the programmable controller with the diagnostic pattern registered in advance, and the trouble recovery time can be compared with the conventional case. It can be greatly shortened, and it is possible to minimize economic loss.

【0008】[0008]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。図1は、本発明による入出力信号動作
診断装置を使用して生産ラインの制御をするプログラマ
ブルコントローラPC10とこのPCによって制御され
る生産ラインとのつながりの一実施例を示すブロック図
である。PCは生産ライン20からの種々のデータであ
る入力信号を取込み、図2に示すアプリケーションプロ
グラムAp7aにより、定められた制御を行うように出
力信号を被制御装置20へ与える。図2は、プログラマ
ブルコントローラPC10内部の出力用メモリ5及び入
力用メモリ6と入出力信号動作診断装置8とのデータの
やりとりと、アプリケーションプログラムAp7aと各
メモリとのデータのやりとり及びシステム管理ソフトウ
ェアOS2とのデータのやりとりを示すブロック図であ
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a connection between a programmable controller PC10 for controlling a production line using the input / output signal operation diagnosis apparatus according to the present invention and a production line controlled by this PC. The PC takes in input signals which are various data from the production line 20, and gives an output signal to the controlled device 20 so as to perform a predetermined control by the application program Ap7a shown in FIG. FIG. 2 shows data exchange between the output memory 5 and the input memory 6 inside the programmable controller PC10 and the input / output signal operation diagnostic device 8, data exchange between the application program Ap7a and each memory, and system management software OS2. FIG. 4 is a block diagram showing the exchange of data of the above.

【0009】図3は、図1と図2と図5及び図6に示
す、PCの内部メモリマップである。図4は、モータ弁
が閉状態から開くまでのタイミングチャートである。図
5は、本発明による入出力信号動作診断装置8と、入出
力信号動作診断装置8を使用して、診断しようとするプ
ログラマブルコントローラPCとの機器構成を示すブロ
ック図である。図6は、入出力信号動作診断装置診断処
理フローチャートとPCのアプリケーションプログラム
の処理フローチャートである。
FIG. 3 is an internal memory map of the PC shown in FIGS. 1, 2, 5, and 6. FIG. 4 is a timing chart from the closed state to the opening of the motor valve. FIG. 5 is a block diagram showing a device configuration of the input / output signal operation diagnosis device 8 according to the present invention and the programmable controller PC to be diagnosed by using the input / output signal operation diagnosis device 8. FIG. 6 is a flow chart of the input / output signal operation diagnosis device diagnosis processing and the processing flow of the application program of the PC.

【0010】まず、図2の構成から説明する。アプリケ
ーションプログラムAp7aは、生産ライン20の制御
をするプログラムで、その処理手順はラダー図とよばれ
るもので記載されており、データメモリ7bは、Ap7
aのラダー図のオペランドで指定されるアドレスのデー
タメモリ領域である。Ap7aの動作は、システム管理
ソフトウェア2が生産ライン20から入力ユニット4を
介して、入力用メモリ6に書込んだ外部からの入力状態
をAp7aが読取り、Ap7aに記載された手順通りに
処理し、その結果を、例えばモータの起動を意味する信
号(モータ起動指令)として外部に出力するために、出
力用メモリ5に値を書込む。このようにして、システム
管理ソフトウェア2が出力用メモリ5に書込まれた内容
に基づき、出力ユニット3を介して、外部の生産ライン
20にモータの起動を意味する出力信号を出力する。
First, the configuration of FIG. 2 will be described. The application program Ap7a is a program for controlling the production line 20, and its processing procedure is described as what is called a ladder diagram, and the data memory 7b is Ap7a.
It is a data memory area of an address designated by the operand of the ladder diagram of a. In the operation of Ap7a, the system management software 2 reads the external input state written in the input memory 6 from the production line 20 via the input unit 4, and the Ap7a reads the input state and processes it according to the procedure described in Ap7a. A value is written in the output memory 5 in order to output the result to the outside as a signal (motor start command) meaning start of the motor. In this way, the system management software 2 outputs an output signal, which means the activation of the motor, to the external production line 20 via the output unit 3 based on the contents written in the output memory 5.

【0011】次に、入出力信号動作を入出力信号動作診
断装置8を使用して診断する方法について説明する。入
出力信号動作診断装置8を使用した入出力信号動作の診
断においては、Ap7aが処理するための信号の入出力
が、Ap7a処理タイミング通りになっているか否かを
診断することに等しい。すなわち、出力用メモリ5に書
込まれた内容に応じて生産ラインへの出力信号が出力さ
れ、設備が動作し、その結果が設備からの応答信号とし
て入力用メモリ6に書込まれることになる。したがっ
て、入出力信号動作の診断は、入出力信号動作タイミン
グが決められた時間範囲内にあるか否かをチェックすれ
ばよいことになる。
Next, a method of diagnosing the input / output signal operation using the input / output signal operation diagnosis device 8 will be described. Diagnosis of the input / output signal operation using the input / output signal operation diagnosis device 8 is equivalent to diagnosing whether the input / output of the signal for processing by the Ap7a is in accordance with the Ap7a processing timing. That is, an output signal to the production line is output according to the contents written in the output memory 5, the equipment operates, and the result is written in the input memory 6 as a response signal from the equipment. . Therefore, the diagnosis of the input / output signal operation may be performed by checking whether the input / output signal operation timing is within the determined time range.

【0012】これについて、図4で説明する。モータの
正転指令が図2のプログラマブルコントローラ10か
ら出力されモータ弁が開動作し、モータの正転指令
からT1秒後に閉端リミットスイッチLSが不動作
(オフ)となり、モータの正転指令からT2秒後に開
端リミットスイッチLSが動作(オン)し開端リミッ
トスイッチLSの動作信号を取込み、プログラマブル
コントローラ10はモータの正転指令の出力をオフす
る。これら一連の動作において、図2の入出力信号動作
診断装置8は、プログラマブルコントローラ10から出
力されるモータの正転指令を、図2の出力用メモリ5
から読取ると、これを起点にしてT1秒後には閉端リミ
ットスイッチLS信号がオフ、T2秒後には開端リミ
ットスイッチLS信号がオンになったかどうかを、図
2の入力用メモリ6を定期的に読込むことにより診断を
行う。入出力については、その設備の動作特性に応じて
±αの許容範囲を予め決めておき診断すればよい。な
お、本診断装置は動作特性に応じた許容範囲を設けた
が、診断対象によっては許容範囲を設けないものもあ
る。なお、ここではデジタル信号の入出力について説明
したが、アナログ信号についても同様の方法で診断を行
える。
This will be described with reference to FIG. A normal rotation command of the motor is output from the programmable controller 10 of FIG. 2, the motor valve opens, the closed end limit switch LS becomes inoperative (OFF) T1 seconds after the normal rotation command of the motor, and the normal rotation command of the motor is detected. After T2 seconds, the open end limit switch LS operates (turns on) to take in the operation signal of the open end limit switch LS, and the programmable controller 10 turns off the output of the motor forward rotation command. In this series of operations, the input / output signal operation diagnostic device 8 of FIG. 2 outputs the normal rotation command of the motor output from the programmable controller 10 to the output memory 5 of FIG.
From this, as a starting point, the closed end limit switch LS signal is turned off after T1 seconds, and the open end limit switch LS signal is turned on after T2 seconds. Diagnose by reading. For input / output, the allowable range of ± α may be determined in advance in accordance with the operating characteristics of the equipment and diagnosed. Although the diagnostic device has an allowable range according to the operating characteristics, some diagnostic objects do not have the allowable range. Although the input / output of the digital signal has been described here, the analog method can be diagnosed by the same method.

【0013】次に、図3の構成について説明する。図3
は、プログラマブルコントローラPCのメモリマップで
あり、図2と次のように対比させると判り易い。 〔プログラマブルコントローラのシステムを管理するOSの領域〕 図3 図2 システム領域21 : システム管理ソフトウェア2 〔アプリケーションプログラム(ラダー図)の領域〕 図3 図2 Ap領域22a : Ap(ラダー図)7a 〔アプリケーションプログラムが使用するデータメモリ領域〕 図3 図2 データメモリ領域22b : データメモリ7b 〔出力信号を保持するためのメモリ領域〕 図3 図2 出力用メモリ領域23 : 出力用メモリ5 〔入力信号を保持するためのメモリ領域〕 図3 図2 入力用メモリ領域24 : 入力用メモリ6
Next, the configuration of FIG. 3 will be described. Figure 3
Is a memory map of the programmable controller PC, which can be easily understood by comparing with FIG. 2 as follows. [OS area that manages the system of the programmable controller] Fig. 3 Fig. 2 System area 21: System management software 2 [Application program (ladder diagram) area] Fig. 3 Ap area 22a: Ap (ladder diagram) 7a [Application Data Memory Area Used by Program] FIG. 3 FIG. 2 Data Memory Area 22b: Data Memory 7b [Memory Area for Holding Output Signal] FIG. 3 Output Memory Area 23: Output Memory 5 [Hold Input Signal] Memory area for input] FIG. 3 FIG. 2 Input memory area 24: Input memory 6

【0014】次に、図5の構成について説明する。図5
は図2の機器構成を詳細に示したものであり、プログラ
マブルコントローラPC10にはプログラムローダ及び
モニタ装置32を使用してアプリケーションプログラム
が組込まれており、入出力信号動作診断装置8には、キ
ーボード34とマウス35を使用して、プログラマブル
コントローラPC10に組込まれたアプリケーションプ
ログラムで指定された入出力信号のうち、チェックする
信号のアドレスが登録されている。
Next, the configuration of FIG. 5 will be described. Figure 5
2 shows in detail the device configuration of FIG. 2, in which an application program is incorporated into the programmable controller PC10 using a program loader and monitor device 32, and the input / output signal operation diagnosis device 8 has a keyboard 34. Using the mouse 35, the address of the signal to be checked is registered among the input / output signals designated by the application program incorporated in the programmable controller PC10.

【0015】入出力信号動作診断装置8の処理経過や結
果などは、入出力信号動作診断装置8のCRT画面でも
監視できるようになっているが、記録として残す場合に
は、外部出力装置36(例えばプリンタ)に出力できる
ようにしておく。このような構成で、プログラマブルコ
ントローラPC10の入出力信号動作診断方法について
は、既に説明した通りである。
The processing progress and results of the input / output signal operation diagnosis device 8 can be monitored on the CRT screen of the input / output signal operation diagnosis device 8. However, when they are to be recorded, an external output device 36 ( For example, it is possible to output to a printer. With such a configuration, the input / output signal operation diagnosis method of the programmable controller PC10 is as already described.

【0016】次に、図6の処理フローチャートについて
説明する。図6は、プログラマブルコントローラPCに
組込まれた、ラダー図の処理フローチャートと、入出力
信号動作診断装置に組込まれた入出力信号動作診断プロ
グラムの処理フローチャートを示したものである。PC
のラダー図は、決められたスキャン周期でスキャンを開
始し(S1)、入力用メモリとデータメモリからデータ
を読取り(S2,5)、決められた手順で処理し(S
4)、定められた制御を行うように出力信号を出力し
(S6,7)、一部データはデータメモリに保存して処
理を終了し、次のスキャン開始を待つ(S8)。入出力
信号動作診断装置に組込まれた入出力信号動作診断プロ
グラムはRUNすると、PCとは非同期に、先ず起点と
なるアドレスのデータを入力メモリ、データメモリまた
は出力メモリから読取り、起点の条件に合致した信号変
化があれば診断を開始し、そうでなければ決められた条
件になるまで入力メモリ、データメモリまたは出力メモ
リからデータを読取り続ける(S10)。
Next, the processing flowchart of FIG. 6 will be described. FIG. 6 shows a processing flowchart of a ladder diagram installed in the programmable controller PC and a processing flowchart of an input / output signal operation diagnostic program installed in the input / output signal operation diagnostic device. PC
In the ladder diagram of Fig. 3, scanning is started at a predetermined scan cycle (S1), data is read from the input memory and the data memory (S2, 5), and processed according to a predetermined procedure (S1).
4) Output an output signal to perform the predetermined control (S6, 7), save some data in the data memory, finish the process, and wait for the start of the next scan (S8). When the input / output signal operation diagnosis program installed in the input / output signal operation diagnosis device RUNs, the data at the starting address is first read from the input memory, data memory or output memory asynchronously with the PC, and the starting condition is met. If there is a signal change, the diagnosis is started, and if not, the data is continuously read from the input memory, the data memory or the output memory until the predetermined condition is satisfied (S10).

【0017】起点となる信号を読取ったら(S11)、
起点以外の信号の変化を入力用メモリまたは出力用メモ
リから読取り(S12)、その信号動作時間が決められ
た時間範囲内にあるかどうかを予め登録されている診断
パターンと比較し(S13)、決められた時間範囲を外
れたかの判断を行い(S14)、外れた場合には停止す
る(S16)。決められた時間範囲内であれば、別の信
号を入力メモリまたは出力メモリから読取り・・・とい
うように、繰り返し処理を行い、終点となる信号を読取
るまで続ける(S15)。終点となる信号を読取るまで
に全ての信号動作時間が、決められた時間範囲を外れな
かった場合には始めに戻り、同じ処理を繰り返し行う。
When the signal as the starting point is read (S11),
The change in the signal other than the starting point is read from the input memory or the output memory (S12), and whether the signal operating time is within a predetermined time range is compared with a diagnostic pattern registered in advance (S13), It is determined whether the time is out of the determined time range (S14), and if it is out, the operation is stopped (S16). If it is within the determined time range, another signal is read from the input memory or the output memory, and the like is repeatedly performed until the signal at the end point is read (S15). If all the signal operation times do not fall outside the predetermined time range until the signal as the end point is read, the process returns to the beginning and the same processing is repeated.

【0018】なお、診断パターンの登録は、予め登録さ
れた入出力信号のアドレスをもとに実機の入出力信号を
読み取り、これをもとにして自動作成することもでき
る。
The diagnostic pattern can be registered by automatically reading the input / output signal of the actual machine based on the address of the input / output signal registered in advance and automatically creating it.

【0019】以下に、図面を用いて、より具体的な例で
本発明を説明する。図7は、油圧制御により、ホッパー
の弁の開閉動作を行なう場合の構成図である。図8は、
その際の各電磁弁およびリミットスイッチの動作状態の
タイムチャートを示すものである。ホッパー100の下
部に弁101が設けられ、弁101の開閉は、ラックギ
ア103とピニオンギア102により行われる。ラック
ギア103に取り付けされたLSストライカ112は、
ラックギア103の動きに伴って、4つのリミットスイ
ッチLS.1ないしLS.4を動作させる。LS.1
は、開端位置検出用リミットスイッチで、LS.2は、
開減速位置検出リミットスイッチで、LS.3は、閉減
速位置検出リミットスイッチで、そして、LS.4は、
閉端位置検出リミットスイッチである。ラックギア10
3は、油圧制御されるシリンダ104により、動かされ
る。110は、アキュムレータである。
The present invention will be described below in more specific examples with reference to the drawings. FIG. 7 is a configuration diagram in the case of performing the opening / closing operation of the valve of the hopper by hydraulic control. Figure 8
It is a time chart of the operating state of each solenoid valve and limit switch at that time. A valve 101 is provided below the hopper 100, and the valve 101 is opened and closed by a rack gear 103 and a pinion gear 102. The LS striker 112 attached to the rack gear 103 is
With the movement of the rack gear 103, the four limit switches LS. 1 to LS. 4 is operated. LS. 1
Is a limit switch for detecting the open end position. 2 is
Open deceleration position detection limit switch, LS. 3 is a closed deceleration position detection limit switch, and LS. 4 is
It is a closed end position detection limit switch. Rack gear 10
3 is moved by a hydraulically controlled cylinder 104. 110 is an accumulator.

【0020】シリンダ104の制御は、ポンプとタンク
間に設けられた配管により油を移動させることで行われ
る。配管の途中には、閉動作、開動作およびパイロット
用の流量調整弁105,106,109と、閉保持用パ
イロットチェック弁107およびチェック弁108,1
11が設けられている。さらに、配管中の油の流れ方向
を変更するための電磁油圧切替弁113,114も設け
られている。SOL.1、SOL.2およびSOL.3
は、これらの弁を制御するためのソレノイドである。特
に、113は、ショックレス電磁油圧切替弁であり、内
部に減速作動機構を備え、油圧切替弁の切り替わりの瞬
間に生じるショックを軽減するものである。
The cylinder 104 is controlled by moving oil through a pipe provided between the pump and the tank. In the middle of the piping, flow rate adjusting valves 105, 106, 109 for closing operation, opening operation and pilot, and a pilot check valve 107 for closing and holding and check valves 108, 1
11 is provided. Further, electromagnetic hydraulic switching valves 113 and 114 for changing the direction of oil flow in the pipe are also provided. SOL. 1, SOL. 2 and SOL. Three
Is a solenoid for controlling these valves. In particular, reference numeral 113 is a shockless electromagnetic hydraulic switching valve, which has a deceleration operation mechanism inside to reduce a shock that occurs at the moment of switching the hydraulic switching valve.

【0021】次に図8により、動作を説明する。ホッパ
ー100の弁101を閉位置から開位置に移動させる場
合、閉位置にあるときは、LSストライカ112は、L
S.3およびLS.4の両方に接触しているので、L
S.3およびLS.4の出力はオン状態にある。
Next, the operation will be described with reference to FIG. When moving the valve 101 of the hopper 100 from the closed position to the open position, when in the closed position, the LS striker 112 moves the L
S. 3 and LS. Since it is in contact with both 4
S. 3 and LS. The output of 4 is in the ON state.

【0022】弁101を開にするためには、まず、ソレ
ノイドSOL.3を励磁し、続いてSOL.1を励磁す
る。これにより、電磁切替弁114のポート間の油の流
れを、それまではPからAへ、およびBからTへと流れ
ていたのを、PからBへ、およびAからTへの流れに変
更する。これにより、閉保持用のパイロットチェック弁
107を開とする。そして、電磁油圧切替弁113のポ
ート間の油の流れを、PからAと、BからTの流れに変
更する。
In order to open the valve 101, the solenoid SOL. 3 and then SOL. Energize 1. As a result, the flow of oil between the ports of the electromagnetic switching valve 114, which had been flowing from P to A and B to T until then, is changed from P to B and from A to T. To do. As a result, the pilot check valve 107 for holding and closing is opened. Then, the flow of oil between the ports of the electromagnetic hydraulic pressure switching valve 113 is changed from P to A and from B to T.

【0023】これにより、油は、ポンプから電磁切替弁
114を経由して、パイロットチェック弁107を開に
し、一方で、電磁油圧切替弁113を経由して、シリン
ダロッド104aを上に押し上げることになる。シリン
ダロッド104aが上昇するにつれてLSストライカ1
12は、LS.4,LS.3から離れ、今度は、LS.
2,LS.1に順番に接触していき、オンにしていく。
LS.2がオンすると、SOL.1を無励磁にし、L
S.1がオンするまでの間では、開の減速動作が行われ
る。LS.1のオンにより、開動作が完了する。開保持
の状態では、SOL.3が励磁状態、LS.1およびL
S.2がオン状態である。
As a result, oil causes the pilot check valve 107 to open from the pump via the electromagnetic switching valve 114, while pushing up the cylinder rod 104a via the electromagnetic hydraulic switching valve 113. Become. As the cylinder rod 104a rises, the LS striker 1
12 is LS. 4, LS. 3 away from LS.
2, LS. Touch 1 in order and turn on.
LS. 2 turns on, the SOL. Deenergize 1 and L
S. Until 1 is turned on, the deceleration operation of opening is performed. LS. When 1 is turned on, the opening operation is completed. In the open hold state, SOL. 3 is the excited state, LS. 1 and L
S. 2 is on.

【0024】次に、弁を開状態から閉状態にするには、
SOL.2を励磁する。これにより、電磁切替弁113
のポート間の油の流れは、PからBへと、AからTへの
流れに変更される。これにより、油は、ポンプからパイ
ロットチェック弁107、チェック付き流量制御弁10
6を介してシリンダに供給され、シリンダロッド104
aを押し下げる。押し下げていくと、LS.1がオフ
し、続いてLS.2がオフとなる。そして、LS.3が
オンになると、SOL.2の励磁を停止し、LS.4の
オンまでの間、閉の減速動作を行なう。LS.4のオン
によりSOL.3の励磁を止め、閉動作は完了する。
Next, to change the valve from the open state to the closed state,
SOL. Energize 2. As a result, the electromagnetic switching valve 113
The oil flow between the ports is changed from P to B and from A to T. As a result, the oil flows from the pump to the pilot check valve 107 and the flow control valve with check 10.
Is supplied to the cylinder via 6, and the cylinder rod 104
Push down a. When pushed down, LS. 1 turns off, followed by LS. 2 is off. Then, LS. 3 is turned on, the SOL. 2 is stopped, and LS. Until 4 is turned on, the closing deceleration operation is performed. LS. 4 is turned on, the SOL. The excitation of No. 3 is stopped, and the closing operation is completed.

【0025】このとき、電磁切替弁114のポート間の
油の流れは、PからAへ、およびBからTへとなる。そ
して、閉保持用のパイロットチェック弁107は閉とな
り、アキュムレータ110により、閉状態が保持され
る。
At this time, the oil flow between the ports of the electromagnetic switching valve 114 goes from P to A and from B to T. The closed pilot check valve 107 is closed, and the accumulator 110 holds the closed state.

【0026】このような、システムに本発明の診断装置
を用いると、診断装置のCRT装置上では、次のように
診断状況が示される。ここでは、開状態から閉状態にす
るときの動作の診断で説明する。
When the diagnostic device of the present invention is used in such a system, the diagnostic status is shown on the CRT device of the diagnostic device as follows. Here, the diagnosis of the operation when changing from the open state to the closed state will be described.

【0027】まず、プログラマブルコントローラによ
り、正常時の動作を行なわせ、その動作に従って図9
(a)のような診断パターンを予め作成しておく。正常
時の起点となる信号を、ここでは、閉動作の開始を示す
SOL.2の励磁とする。すなわち、制御動作におい
て、まず、SOL.2を励磁し(ステップ200)、そ
の後LS.1がオフとなり(ステップ201)、LS.
2もオフとなる(ステップ202)。つぎに、LS.3
がオンになり(ステップ203)、SOL.2を無励磁
にする(ステップ204)。そして、LS.4がオンと
なり(ステップ206)、SOL.3を無励磁にする
(ステップ206)。
First, the programmable controller is caused to perform a normal operation, and the operation shown in FIG.
A diagnostic pattern as shown in (a) is created in advance. Here, the signal that is the starting point in the normal state is the SOL. 2 excitation. That is, in the control operation, first, SOL. 2 (step 200) and then LS. 1 is turned off (step 201), and LS.
2 is also turned off (step 202). Next, LS. Three
Is turned on (step 203), and SOL. 2 is de-energized (step 204). Then, LS. 4 is turned on (step 206), and SOL. 3 is de-excited (step 206).

【0028】なお、この診断パターンは、プログラマブ
ルコントローラのラダー図等より、自動的に生成させる
ようにし、正常時の動作を記憶させてもよいし、個別に
監視対象として作成し、制御動作とのリンクをつけても
よい。
Note that this diagnostic pattern may be automatically generated from the ladder diagram of the programmable controller and the like, and the normal operation may be stored, or it may be created individually as a monitoring target and may be combined with the control operation. You may add a link.

【0029】このような動作において、各ステップに示
す動作は、前の動作との関係で、予め設定された時間内
に動作する。よって、各ステップに示す動作毎に前の動
作開始のときからあるいは前の動作終了のときから、た
とえば、何秒以内に動作開始あるいは動作検知等がされ
るかを設定する。設定は、ラダー図から自動的に設定す
るようにしてもよい。
In such an operation, the operation shown in each step operates within a preset time in relation to the previous operation. Therefore, for each operation shown in each step, for example, within how many seconds from the start of the previous operation or the end of the previous operation, the operation start or the operation detection is set. The setting may be automatically set from the ladder diagram.

【0030】診断は、上記の正常動作の診断パターンが
記憶されている状態で、実際にその制御を実行させ、現
場からのデータを収集等して行われる。
The diagnosis is performed by actually executing the control and collecting the data from the site while the diagnosis pattern of the normal operation is stored.

【0031】つぎに、診断結果については、正常に動作
した場合は、とくに異常表示はされない。しかし、所定
の一連の動作が所定時間内に行われなかったときは、そ
のステップが、例えば、反転表示や色違い表示等がされ
る。図9(b)の場合は、ステップ203,204の部
分が、所定時間内に信号変化がなかったことを示す。図
9(b)の斜線部分の動作に異常があった、すなわち、
その部分にいわゆるトラブルが発生したことになる。こ
こでは、例えば、減速動作が効かず、弁101がホッパ
ー100本体に当たったため、弁体に亀裂が生じ、それ
がもとでトラブルになった場合等があり得る。
Next, regarding the diagnosis result, no abnormal display is displayed when the operation is normal. However, when the predetermined series of operations is not performed within the predetermined time, the step is displayed in reverse video or in different colors, for example. In the case of FIG. 9B, steps 203 and 204 indicate that the signal has not changed within a predetermined time. There was an abnormality in the operation of the shaded portion in FIG. 9B, that is,
So-called trouble occurred in that part. Here, for example, the deceleration operation does not work and the valve 101 hits the main body of the hopper 100, so that a crack may occur in the valve body, which may cause a trouble.

【0032】[0032]

【発明の効果】以上より明らかな如く、本発明によれ
ば、プログラマブルコントローラと入出力信号動作診断
装置を伝送系で接続したシステムにおいて、パソコンが
プログラマブルコントローラと非同期にプログラマブル
コントローラの入出力用メモリを読取り、その結果か
ら、予め決められた条件(入出力信号動作診断パター
ン)以内にあるかどうか診断する手段を設けるようにし
たので実機使用環境において、プログラマブルコントロ
ーラの入出力信号動作にトラブルが発生した時に、その
箇所を特定できるようになるので、トラブル復旧時間を
大幅に短縮させることができ、経済的な損失を最小限に
くいとめることが可能になる。
As is apparent from the above, according to the present invention, in the system in which the programmable controller and the input / output signal operation diagnosis device are connected by the transmission system, the personal computer asynchronously operates the input / output memory of the programmable controller. Since a means for diagnosing whether or not it is within a predetermined condition (input / output signal operation diagnosis pattern) is read from the result of reading, trouble occurred in the input / output signal operation of the programmable controller in the actual machine usage environment. Sometimes, the location can be identified, so that the trouble recovery time can be greatly shortened and the economical loss can be minimized.

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

【図1】本発明による入出力信号動作診断装置を使用し
て生産ラインの制御をするプログラマブルコントローラ
と生産ラインのつながりの一実施例を示す図である。
FIG. 1 is a diagram showing an embodiment of a connection between a programmable controller for controlling a production line using the input / output signal operation diagnosis apparatus according to the present invention and the production line.

【図2】PC内部のメモリと入出力信号動作診断装置間
のデータのやりとりを示す図である。
FIG. 2 is a diagram showing data exchange between a memory inside a PC and an input / output signal operation diagnosis device.

【図3】PCのメモリマップである。FIG. 3 is a memory map of a PC.

【図4】モータ弁が閉状態から開くまでのタイミングチ
ャートである。
FIG. 4 is a timing chart from when the motor valve is closed to when the motor valve is opened.

【図5】本発明の入出力信号動作診断装置を用いて診断
するプログラマブルコントローラとの機器構成を示すブ
ロック図である。
FIG. 5 is a block diagram showing a device configuration with a programmable controller for diagnosing using the input / output signal operation diagnosing device of the present invention.

【図6】本発明の入出力信号動作診断装置の処理のフロ
ーチャートと、プログラマブルコントローラのアプリケ
ーションプログラムの処理のフローチャートである。
FIG. 6 is a flowchart of the processing of the input / output signal operation diagnosis apparatus of the present invention and a flowchart of the processing of the application program of the programmable controller.

【図7】本発明の適用の例の一実施例を示す図である。FIG. 7 is a diagram showing an example of an application example of the present invention.

【図8】図7の例におけるタイムチャートを示す図であ
る。
8 is a diagram showing a time chart in the example of FIG. 7. FIG.

【図9】図7の例における診断時のCRT表示の例を示
す図である。
9 is a diagram showing an example of CRT display at the time of diagnosis in the example of FIG.

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

2 システム管理ソフトウェア(OS) 3 出力ユニット 4 入力ユニット 5 出力用メモリ 6 入力用メモリ 7a アプリケーションプログラムAp(ラダー図) 7b データメモリ 8 入出力信号動作診断装置 10 プログラマブルコントローラ 20 生産ライン 21 システム領域 22a アプリケーションプログラム領域 22b データメモリ領域 23 出力用メモリ領域 24 入力用メモリ領域 32 プログラムローダ及びモニタ装置 34 キーボード 35 マウス 36 外部出力装置 2 system management software (OS) 3 output unit 4 input unit 5 output memory 6 input memory 7a application program Ap (ladder diagram) 7b data memory 8 input / output signal operation diagnostic device 10 programmable controller 20 production line 21 system area 22a application Program area 22b Data memory area 23 Output memory area 24 Input memory area 32 Program loader and monitor device 34 Keyboard 35 Mouse 36 External output device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力信号を保持するための入力用メモリ
と、 出力信号を保持するための出力用メモリと、 アプリケーションプログラムをストアするためのアプリ
ケーション用メモリと、 アプリケーションプログラムがデータを保存するための
データ用メモリとを有するプログラマブルコントローラ
と、 入出力信号動作診断プログラムをストアしたコンピュー
タとからなり、 上記コンピュータの入出力信号動作診断プログラムに基
づき、上記入出力用メモリ又はデータ用メモリから入出
力信号を読込み入出力信号の変化を予め登録されている
診断パターンと比較することにより、入出力信号の良否
を診断するようにしたプログラマブルコントローラの入
出力信号動作診断装置。
1. An input memory for holding an input signal, an output memory for holding an output signal, an application memory for storing an application program, and an application memory for storing data. A programmable controller having a data memory and a computer that stores an input / output signal operation diagnostic program, and outputs an input / output signal from the input / output memory or the data memory based on the input / output signal operation diagnostic program of the computer. An input / output signal operation diagnosis device for a programmable controller for diagnosing the quality of an input / output signal by comparing a change in a read input / output signal with a pre-registered diagnostic pattern.
JP5339644A 1993-12-03 1993-12-03 Input/output signal operation diagnostic device for programmable controller Withdrawn JPH07160314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5339644A JPH07160314A (en) 1993-12-03 1993-12-03 Input/output signal operation diagnostic device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5339644A JPH07160314A (en) 1993-12-03 1993-12-03 Input/output signal operation diagnostic device for programmable controller

Publications (1)

Publication Number Publication Date
JPH07160314A true JPH07160314A (en) 1995-06-23

Family

ID=18329459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5339644A Withdrawn JPH07160314A (en) 1993-12-03 1993-12-03 Input/output signal operation diagnostic device for programmable controller

Country Status (1)

Country Link
JP (1) JPH07160314A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003295914A (en) * 2001-05-21 2003-10-17 Omron Corp Slave, node, processing device, processing method, network power supply monitor system, power supply monitor method, input/output device power supply monitor system, and monitoring method for network system
JP2008262604A (en) * 2008-08-04 2008-10-30 Omron Corp Programmable controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003295914A (en) * 2001-05-21 2003-10-17 Omron Corp Slave, node, processing device, processing method, network power supply monitor system, power supply monitor method, input/output device power supply monitor system, and monitoring method for network system
JP2008262604A (en) * 2008-08-04 2008-10-30 Omron Corp Programmable controller

Similar Documents

Publication Publication Date Title
JP2009251790A (en) Device for monitoring automatic machine
JPH07160314A (en) Input/output signal operation diagnostic device for programmable controller
JPH0296205A (en) Display device for restoring method of machine abnormality
JP3384477B2 (en) Failure control device
JPS6261963B2 (en)
JP2595082B2 (en) Operation state monitoring device for programmable controller
JPH09151911A (en) Method and device for detecting abnormality of solenoid valve for blast furnace hydraulic equipment
JPH08185208A (en) Plant controller
JPH05113820A (en) Facility operation state display device
JP2994050B2 (en) Security test support equipment
JPH05196329A (en) Operation controller of refrigerating machine
JP3336222B2 (en) Combustion device and its failure diagnosis method
JP2001009515A (en) Hydraulic reduction diagnosis device
JP2737443B2 (en) Fault diagnosis device
CA2131717C (en) Method and system for automatic graphic display modification based on control program modification
JP2884422B2 (en) Monitoring method
JP2531139B2 (en) Remote diagnostic device
JPS61133412A (en) Fault diagnostic device
JPH0125082B2 (en)
JP4484450B2 (en) Integrated monitoring analyzer
WO1992021073A1 (en) Method for debugging sequential program
JPH11134008A (en) Programmable controller
JPS6255712A (en) Method for diagnosing trouble of machine
CN117146042A (en) Closed-loop control system and method for remote activity test of steam extraction check valve
CN117420786A (en) Centralized and distributed control system and control method for hoist underwater equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010206