JP2001209410A - Method for specifying i/o module defect - Google Patents

Method for specifying i/o module defect

Info

Publication number
JP2001209410A
JP2001209410A JP2000017284A JP2000017284A JP2001209410A JP 2001209410 A JP2001209410 A JP 2001209410A JP 2000017284 A JP2000017284 A JP 2000017284A JP 2000017284 A JP2000017284 A JP 2000017284A JP 2001209410 A JP2001209410 A JP 2001209410A
Authority
JP
Japan
Prior art keywords
module
bus
slot
check
defect
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
JP2000017284A
Other languages
Japanese (ja)
Inventor
Hiroshi Kume
啓史 久米
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2000017284A priority Critical patent/JP2001209410A/en
Publication of JP2001209410A publication Critical patent/JP2001209410A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method to automatically specify a defect of I/O module mounted on a rack without stopping a power supply to realize a short-time module replacement. SOLUTION: The method specifies a defected I/O module by repeating bus checking releasing each I/O bus from the CPU side at defect occurrence time, so as to be able to send out a signal 3 for releasing the bus from CPU to each slot, making a means 2 plysically releasing the bus of each I/O module to specify which I/O module has a defect, when the defect of bus short, etc., occurs in some I/O module, in the case of rack mounted programmable controller mounting a module on a mount base installed bus line 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マウントベースに
モジュールを装着するラックマウント方式のプログラマ
ブルコントローラ(以下、PLCと略す)における、故
障I/Oモジュールの特定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for specifying a faulty I / O module in a rack-mount type programmable controller (hereinafter abbreviated as PLC) for mounting a module on a mount base.

【0002】[0002]

【従来の技術】図3に、従来のバスラインを設置したマ
ウントベースにモジュールを装着するラックマウント方
式のプログラマブルコントローラPLCの概略ブロック
図を示す。図3に示すように、バスラインに接続される
各スロットの、あるI/Oモジュール(例えば、スロッ
ト1)でバスの短絡等の故障が発生したような場合は、
このシステムはCPUからの共通のバスラインに各I/
Oモジュールが接続されて、それぞれのIDによりCP
Uとの間でデータ通信やバス・チェック等が行われる方
式なので、そのままでは他の正常なI/Oモジュール
(スロット2、スロット3、・・・n)全てに対してI
/Oサービスができなくなり、各I/Oモジュール毎の
バスチェックもできなくなるので故障I/Oモジュール
を自動的に特定することも不可能である。したがって、
故障したI/Oモジュールを特定するには作業者が機器
の設置されている場所まで出向き、各I/Oモジュール
(スロット1〜n)を切り離して個別にチェックする方
法がとられていた。
2. Description of the Related Art FIG. 3 is a schematic block diagram of a conventional rack-mount type programmable controller PLC in which modules are mounted on a mount base on which a bus line is installed. As shown in FIG. 3, when a failure such as a bus short circuit occurs in a certain I / O module (for example, slot 1) of each slot connected to the bus line,
In this system, each I / O is connected to a common bus line from the CPU.
O module is connected and CP
Since data communication and bus checking are performed with the U, the I / O modules (slot 2, slot 3,...
Since the I / O service cannot be performed and the bus check cannot be performed for each I / O module, it is impossible to automatically identify the failed I / O module. Therefore,
In order to identify a failed I / O module, a method has been adopted in which a worker goes to a place where equipment is installed, and separates each I / O module (slots 1 to n) to individually check.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例においては、故障I/Oモジュールの特定に時間が
かかり、システムの電源も落とす必要が発生するので、
システムを停止させられない状況下の場合は、故障モジ
ュールを特定できないという問題があった。そこで、本
発明は、CPU側からソフトにより自動的に故障モジュ
ールを特定することによって、システムの電源を落とす
こと無しに故障モジュールの交換ができるようにして、
システムの停止によるスループット(稼働率)の低下を
抑制できる故障I/Oモジュールの特定方法を提供する
ことを目的としている。
However, in the above conventional example, it takes time to specify the faulty I / O module, and it is necessary to turn off the power of the system.
In a situation where the system cannot be stopped, there is a problem that a failed module cannot be specified. In view of the above, the present invention enables the replacement of a failed module without powering down the system by automatically specifying the failed module by software from the CPU side.
It is an object of the present invention to provide a method of specifying a failed I / O module that can suppress a decrease in throughput (operating rate) due to a stop of a system.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、バスラインを設置したマウントベースに
モジュールを装着するラックマウント方式のプログラマ
ブルコントローラにおける故障I/Oモジュールの特定
方法において、複数のI/Oモジュールの中の、あるI
/Oモジュールでバスの短絡等の故障が発生した場合
に、前記故障の発生したI/Oモジュールを特定するた
め各I/Oモジュールのバスを物理的に解放する手段を
備えて、故障発生時にCPUより各スロットのバスを解
放する手段へ信号を送出してI/Oモジュールのバスを
解放し、各I/Oモジュール毎にバスチェックを繰り返
して前記故障I/Oを特定することを特徴としている。
この故障I/Oモジュールの特定方法によれば、CPU
から各スロットに対してバス解放の信号を送出して各I
/Oのバスを切離し、切り離したスロット以外のスロッ
トにバス・チェックを順次行って、故障I/Oモジュー
ルを自動的に特定することにより、システムの電源を停
止させないで故障モジュールの交換を行うことができ
る。
In order to achieve the above object, the present invention relates to a method for specifying a faulty I / O module in a rack mount type programmable controller in which a module is mounted on a mount base on which a bus line is installed. A certain I in the I / O module of
A means for physically releasing the bus of each I / O module in order to identify the I / O module in which the failure has occurred when a failure such as a bus short circuit occurs in the / O module; A signal is sent from the CPU to means for releasing the bus of each slot to release the bus of the I / O module, and a bus check is repeated for each I / O module to specify the faulty I / O. I have.
According to the method of specifying the failed I / O module, the CPU
Sends a bus release signal to each slot,
The I / O bus is disconnected, the bus check is sequentially performed on slots other than the disconnected slot, and the failed I / O module is automatically specified, thereby replacing the failed module without stopping the power supply of the system. Can be.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態につい
て図を参照して説明する。図1は本発明の実施の形態に
係るPLCのI/Oバスインタフェース部のブロック図
である。図2は図1に示すPLCの動作のフローチャー
トである。図1において、1はCPUからのI/Oバス
ライン(マウントベース)、2は各I/Oモジュールの
バスインターフェースを物理的に開放する手段であり、
例えば、リレー等のスイッチ素子により内部バスI/F
を切離すSW回路である。3はCPUからの信号であ
り、マウントベース上の各スロット1〜nのバス解放手
段2を動作させるためのON/OFF用信号である。な
お、図1にはプログラマブル・コントローラPLCの一
般的なI/Oバスラインの構成を示しているが、実際の
ラックマウント・タイプPLCは、例えば、マウントベ
ース(スロット数6〜16スロット)に装着される、電
源モジュール、CPUモジュール、入出力I/Oモジュ
ール(DC24V、AC100、200V、リレー)、
サーボ1〜4軸制御用モーションモジュール、通信モジ
ュール、リモートI/Oモジュール等の構成となってい
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an I / O bus interface unit of a PLC according to an embodiment of the present invention. FIG. 2 is a flowchart of the operation of the PLC shown in FIG. In FIG. 1, reference numeral 1 denotes an I / O bus line (mount base) from a CPU, and 2 denotes means for physically opening a bus interface of each I / O module.
For example, the internal bus I / F is provided by a switch element such as a relay.
Is a SW circuit for disconnecting the switch. Reference numeral 3 denotes a signal from the CPU, which is an ON / OFF signal for operating the bus release means 2 of each of the slots 1 to n on the mount base. FIG. 1 shows the configuration of a general I / O bus line of a programmable controller PLC. An actual rack mount type PLC is mounted on, for example, a mount base (6 to 16 slots). Power supply module, CPU module, input / output I / O module (DC24V, AC100, 200V, relay),
It has a configuration of a motion module for controlling servos 1 to 4 axes, a communication module, a remote I / O module, and the like.

【0006】つぎに動作について説明する。今、PLC
の自己診断機能(バス・チェック、ウォッチドッグ・タ
イマ、メモリ・チェック、ラダー・チェック、バッテリ
チェック、上位リンク・チェック等を行う監視プログラ
ム)により異常が検出されて、あるI/Oモジュール
(例えばスロット1)でバスのショート等の故障が発生
した場合、従来の共通バス・システムでは、正常なバス
・チェックができなくなるのでバスショート箇所として
スロット1を特定できなかったが、本発明では、CPU
はSW回路のON/OFF用信号3を、各スロットのS
W回路(バス解放手段)へ送出して、順番に各スロット
のバスを解放し、既存のバス・チェックを行うことによ
って、自動的に故障スロットを特定できるようにしてい
る。なお、以下スロット数は通常n段構成であるが、説
明を簡単にするために図1に示すように、スロット1、
2、3の3段構成として説明する。
Next, the operation will be described. Now PLC
An abnormality is detected by the self-diagnosis function (a bus check, a watchdog timer, a memory check, a ladder check, a battery check, a higher-order link check, etc.) of an I / O module (for example, a slot). If a failure such as a short-circuit of the bus occurs in 1), the conventional common bus system cannot perform a normal bus check, so that the slot 1 cannot be specified as a bus short-circuit location.
Indicates the ON / OFF signal 3 of the SW circuit and the S
The faulty slot is automatically transmitted to the W circuit (bus release means) to release the bus of each slot in order and to check the existing bus. In the following, the number of slots is usually n stages, but for simplicity of description, as shown in FIG.
Description will be made as a two- or three-stage configuration.

【0007】以下、図2を参照して具体的手順を説明す
る。今、システムの電源ONのままCPUは信号3によ
りスロット1のSW回路2を解放(OFF)する(S1
00)。続いてCPUは、スキャン周期を基準とする監
視タイミングで、データ通信の空きタイムスロットを用
いポーリング式で実施される既存のバス・チェックを利
用して、他のスロット2以降順番にバス・チェックを行
う(S101)。そのチェック結果よりスロット2以下
が正常か?を判断する(S102)。正常と判断された
場合はスロット1が異常であると特定し、モニターに故
障箇所と故障内容とを「スロット1、バスショート」と
いうように表示警告する(S103)。又、S102の
判断で、スロット2以下のチェック結果が異常と判断さ
れた時は、今度はスロット2のSW回路を解放(OF
F)し、スロット1はSW回路を接続(ON)に戻す
(S104)。次に、スロット1、スロット3のバス・
チェックを行う(S105)。そのチェック結果が正常
か?否かを判断する(S106)。正常と判断された場
合はCPUは故障バスはスロット2と特定して表示する
(S107)。又、S106の判断で、スロット1、3
以下のチェックを行った結果が異常であった場合は、ス
ロット2を接続し直し、スロット3を解放する(S10
8)。続いて、スロット1、スロット2のバス・チェッ
クを行う(S109)。チェック結果の判断を行う(S
110)。判断結果が正常な場合は故障バスはスロット
3であると特定して、その旨表示する(S111)。S
110の判断で異常と判断された場合は、スロット1、
スロット2、スロット3を、それぞれ個別に順に解放し
て行ったチェック結果が、全て異常となったことにな
り、これは複数スロットの故障であると判断する。そし
て、この場合の処理は、例えば、スロット3を解放した
まま、先ず、スロット1を解放して、つまり、スロット
1とスロット3を解放状態にして、スロット2のバスチ
ェックを行い、正常な場合は故障バスはスロット1とス
ロット3と特定すると言うようなチェック処理を行う。
最後に、故障バスを解放状態にしたまま、作業者はモニ
タ表示を参考に、故障スロットのI/Oモジュールの交
換等の保守・保全処理を行い、CPUは確認・復帰処理
を実施し、モニタに表示を行って終了する(S11
2)。なお、この場合各モジュールの装着構造に活線挿
抜型(フック型)のものを併用すれば、修復時間をより
短縮することが可能になる。
Hereinafter, a specific procedure will be described with reference to FIG. Now, the CPU releases (OFF) the SW circuit 2 of the slot 1 by the signal 3 while the power of the system is ON (S1).
00). Subsequently, at monitoring timing based on the scan cycle, the CPU utilizes the existing bus check performed in a polling manner using an empty time slot for data communication, and performs a bus check sequentially from the other slot 2 onward. Perform (S101). It is determined from the check result whether slots 2 and below are normal (S102). If it is determined that the slot 1 is normal, the slot 1 is identified as abnormal, and the monitor displays a fault location and details of the fault such as "slot 1, bus short" on the monitor (S103). If it is determined in S102 that the check result of the slot 2 and below is abnormal, the SW circuit of the slot 2 is released (OF).
F), and the slot 1 returns the SW circuit to connection (ON) (S104). Next, the bus of slot 1 and slot 3
A check is performed (S105). It is determined whether the check result is normal (S106). If it is determined that the bus is normal, the CPU identifies and displays the failed bus as slot 2 (S107). Also, in the determination of S106, slots 1, 3
If the result of the following check is abnormal, slot 2 is reconnected and slot 3 is released (S10).
8). Subsequently, a bus check for slots 1 and 2 is performed (S109). Judge the check result (S
110). If the result of the determination is normal, the failed bus is specified to be slot 3 and that fact is displayed (S111). S
If it is determined that there is an abnormality in the determination of 110, slot 1,
The results of the check performed by releasing the slots 2 and 3 individually and sequentially are all abnormal, and it is determined that this is a failure in a plurality of slots. The processing in this case is, for example, to release the slot 1 while leaving the slot 3 open, that is, to put the slots 1 and 3 in the released state and perform the bus check of the slot 2. Performs a check process such that the failed bus is specified as slot 1 and slot 3.
Finally, with the faulty bus in the released state, the operator performs maintenance / maintenance processing such as replacement of the I / O module in the faulty slot with reference to the monitor display, and the CPU performs the check / return processing and performs monitoring. Is displayed and the process is terminated (S11).
2). In this case, if a hot-swap type (hook type) is used in combination with the mounting structure of each module, the repair time can be further reduced.

【0008】このように、本実施の形態によれば、CP
U側から監視プログラム等のソフトによる簡単な手順に
よって、自動的に故障I/Oモジュールを正確に特定す
ることが可能になり、スロット単位でバスの解放/復帰
(ON/OFF)が自由に実施できるので、システムの
電源をストップすることなしに、故障モジュールの交換
が可能になる。なお、本実施の形態では、ここまでマウ
ント・ラックの各スロットに直接装着されるI/Oモジ
ュールの例について説明したが、更に、分岐されるリモ
ートI/Oモジュール・システム等にも適用可能であ
る。また、チェック対象はバス・チェックについて説明
したが、更に、バスラインを介して実施される先に挙げ
たような自己診断機能の、他の機能チェックにも拡張さ
れることは当然である。
As described above, according to the present embodiment, the CP
From the U side, the faulty I / O module can be automatically and accurately identified by a simple procedure using software such as a monitoring program, and the release / return (ON / OFF) of the bus can be freely performed for each slot. As a result, a failed module can be replaced without stopping the power supply of the system. In the present embodiment, the example of the I / O module directly mounted on each slot of the mount rack has been described. However, the present invention can be further applied to a branched remote I / O module system or the like. is there. Although the check target has been described for the bus check, the present invention is naturally extended to other function checks of the self-diagnosis function as described above, which is performed via the bus line.

【0009】[0009]

【発明の効果】以上説明したように、本発明によれば、
CPU側からソフトにより自動的に故障モジュールの特
定が可能となり、バスを切り離す機構によってシステム
の電源を落とすこと無しに故障モジュールの交換が可能
になる効果がある。また、作業者の手動特定作業による
必要がないので、故障モジュールを特定する時間、シス
テム全体の電源を落とせる状態にするまでの時間、およ
び、モジュール交換に要する時間をそれぞれ短縮できる
効果がある。
As described above, according to the present invention,
The software can automatically identify the failed module from the CPU side, and there is an effect that the failed module can be replaced without turning off the system power by the mechanism for disconnecting the bus. In addition, since there is no need for manual identification by the operator, the time required to identify the failed module, the time required to turn off the power of the entire system, and the time required for module replacement can be reduced.

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

【図1】本発明の実施の形態に係るPLCのI/Oバス
インタフェース部のブロック図である。
FIG. 1 is a block diagram of an I / O bus interface unit of a PLC according to an embodiment of the present invention.

【図2】図1に示すPLCの動作のフローチャートであ
る。
FIG. 2 is a flowchart of an operation of the PLC shown in FIG. 1;

【図3】従来のPLCのI/Oバスインタフェース部の
ブロック図である。
FIG. 3 is a block diagram of an I / O bus interface unit of a conventional PLC.

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

1 I/Oバスライン 2 解放手段 3 ON/OFF用信号 1 I / O bus line 2 Release means 3 ON / OFF signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バスラインを設置したマウントベースに
モジュールを装着するラックマウント方式のプログラマ
ブルコントローラにおける故障I/Oモジュールの特定
方法において、 複数のI/Oモジュールの中の、あるI/Oモジュール
にバスの短絡等の故障が発生した場合に、前記故障の発
生したI/Oモジュールを特定するため各I/Oモジュ
ールのバスを物理的に解放する手段を備えて、故障発生
時にCPUより各スロットのバスを解放する手段へ信号
を送出してI/Oモジュールのバスを解放し、各I/O
モジユール毎にバス・チェックを繰り返して前記故障I
/Oモジュールを特定することを特徴とする故障I/O
モジュールの特定方法。
1. A method for identifying a failed I / O module in a rack-mount type programmable controller in which a module is mounted on a mount base on which a bus line is installed, wherein a faulty I / O module is selected from among a plurality of I / O modules. Means for physically releasing the bus of each I / O module in order to identify the I / O module in which the failure has occurred when a failure such as a short circuit occurs in the bus. A signal is sent to the means for releasing the bus of the I / O module to release the bus of the I / O module.
By repeating the bus check for each module,
Failure I / O characterized by specifying an I / O module
How to identify the module.
JP2000017284A 2000-01-26 2000-01-26 Method for specifying i/o module defect Pending JP2001209410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000017284A JP2001209410A (en) 2000-01-26 2000-01-26 Method for specifying i/o module defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000017284A JP2001209410A (en) 2000-01-26 2000-01-26 Method for specifying i/o module defect

Publications (1)

Publication Number Publication Date
JP2001209410A true JP2001209410A (en) 2001-08-03

Family

ID=18544296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000017284A Pending JP2001209410A (en) 2000-01-26 2000-01-26 Method for specifying i/o module defect

Country Status (1)

Country Link
JP (1) JP2001209410A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651761B1 (en) * 2004-07-13 2006-12-01 엘에스산전 주식회사 Module replacement system in plc system
KR100865286B1 (en) 2007-01-31 2008-10-27 엘에스산전 주식회사 A System For Replacing Broken Input/Output Modules And A Method Thereof
KR100905874B1 (en) 2006-10-16 2009-07-03 오므론 가부시키가이샤 Programmable Logic Controller
KR101778330B1 (en) * 2013-01-10 2017-09-13 엘에스산전 주식회사 Function Module for Base Diagnosis of Programmable Logic Controller System

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651761B1 (en) * 2004-07-13 2006-12-01 엘에스산전 주식회사 Module replacement system in plc system
KR100905874B1 (en) 2006-10-16 2009-07-03 오므론 가부시키가이샤 Programmable Logic Controller
KR100865286B1 (en) 2007-01-31 2008-10-27 엘에스산전 주식회사 A System For Replacing Broken Input/Output Modules And A Method Thereof
KR101778330B1 (en) * 2013-01-10 2017-09-13 엘에스산전 주식회사 Function Module for Base Diagnosis of Programmable Logic Controller System

Similar Documents

Publication Publication Date Title
GB2380019A (en) Device interface which can determine communication protocol and halt use upon detecting a fault
JP2001075880A (en) Device for electronically monitoring supply currents of module connected with bus
JP4287591B2 (en) In particular, a method and apparatus for replacing defective modules in digital exchange facilities
JP2001209410A (en) Method for specifying i/o module defect
KR101431301B1 (en) Safety extention base and its control method
CN113721448B (en) Redundant module switching method and device
CN106557054B (en) The system and method that the failure of transformer cooler intelligent controlling device is automatically repaired
KR20110082847A (en) Communication module for busduct power distributing board and communication method thereof, installation structure thereof
KR0164411B1 (en) Alarm processing method and device to maintain remote safety supervision system
Cisco Processor Cards
US20060047981A1 (en) Power supply control method, power supply control unit and information processing apparatus
JP5606652B2 (en) Control and monitoring signal transmission system
Cisco Troubleshooting
Cisco Troubleshooting
JP2006260072A (en) System management device, information processor and system management device redundant method
JP2004010200A (en) Signal switching method for elevator
CN214374995U (en) Fault detection device for vehicle-mounted multimedia equipment and vehicle
CN113028584B (en) Abnormity processing method and device for air conditioner singlechip
CN217063308U (en) Integrated fuse box for electric engineering machinery and power distribution structure thereof
JP7297688B2 (en) Monitoring equipment, switchboards and monitoring systems
JPH07199798A (en) I/o unit of programable controller
CN107741740B (en) Multi-board system fault reporting method
CN117459368A (en) Control method for energy storage system
JP3972472B2 (en) Building monitoring and control system using multiplex transmission
JP2019221043A (en) Remote monitoring control device and connector conversion unit for the same

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060324