JP2003150244A - Device for output equipment - Google Patents

Device for output equipment

Info

Publication number
JP2003150244A
JP2003150244A JP2001345429A JP2001345429A JP2003150244A JP 2003150244 A JP2003150244 A JP 2003150244A JP 2001345429 A JP2001345429 A JP 2001345429A JP 2001345429 A JP2001345429 A JP 2001345429A JP 2003150244 A JP2003150244 A JP 2003150244A
Authority
JP
Japan
Prior art keywords
output
circuit
short
power supply
turned
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.)
Granted
Application number
JP2001345429A
Other languages
Japanese (ja)
Other versions
JP3719196B2 (en
Inventor
Toshiyuki Shigehisa
寿之 重久
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 Corp
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 Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2001345429A priority Critical patent/JP3719196B2/en
Publication of JP2003150244A publication Critical patent/JP2003150244A/en
Application granted granted Critical
Publication of JP3719196B2 publication Critical patent/JP3719196B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a slave capable of continuously operating an alarm means for specifying output equipment whose short circuit is occurred even at turning off a power source for the output equipment. SOLUTION: This device is provided with an output circuit 16 for turning ON/OFF an OUT terminal 16" and an internal circuit including an MPU 13 for controlling the operation of an output circuit (transistor 16') according to a control instruction from a PLC. The internal circuit and an output circuit are constituted to receive power supply from power feedlines in different systems, and the transistor outputs a short-circuit detection signal to the MPU at detecting the short-circuit. At receiving the short-circuit detection signal, the MPU turns ON a short-circuit buffer, and turns ON a relevant status LED 20. The MPU obtains the operating state of an I/O power source 19 through a photo-coupler 15c, and holes the short-circuit buffer in the ON state even when the power source is turned off. Therefore, the status LED can be lighted even when the power source is turned off.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、出力機器用装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for output equipment.

【0002】[0002]

【従来の技術】PLCを含むネットワークシステムの一
例としては、図1のようなものがある。すなわち、PL
Cユニット1と通信機能を備えたマスタユニット2を一
体化するとともに、そのマスタユニット2をフィールド
ネットワーク3に接続する。また、このフィールドネッ
トワーク3には、OUTスレーブ4等が接続される。そ
して、この例では、OUTスレーブ4のOUT端子に
は、バルブ,モータ等の出力機器5が接続されている。
2. Description of the Related Art An example of a network system including a PLC is shown in FIG. That is, PL
The C unit 1 and the master unit 2 having a communication function are integrated, and the master unit 2 is connected to the field network 3. The OUT slave 4 and the like are connected to the field network 3. In this example, the OUT terminal of the OUT slave 4 is connected to the output device 5 such as a valve or a motor.

【0003】OUTスレーブ4の内部構造は、例えば図
2,図3に示すようになっている。すなわち、フィール
ドネットワーク3に接続するための通信インタフェース
(通信コネクタ)4aを備え、この通信インタフェース
4aを介して受信した自己宛のフレーム,メッセージ等
は、通信部4bにて解析され、必要な情報がMPU4c
に与えられる。MPU4cでは、マスタユニット2から
OUTデータを受信すると、対応するOUT端子をON
/OFFにすべく、制御信号を送る。具体的には、ON
/OFF情報(1/0)をフリップフロップ4dに書き
込む。
The internal structure of the OUT slave 4 is as shown in FIGS. 2 and 3, for example. That is, a communication interface (communication connector) 4a for connecting to the field network 3 is provided, and a frame, message, etc. addressed to itself, which is received via this communication interface 4a, is analyzed by the communication unit 4b and necessary information is obtained. MPU4c
Given to. Upon receiving OUT data from the master unit 2, the MPU 4c turns on the corresponding OUT terminal.
Send a control signal to turn off / off. Specifically, ON
The / OFF information (1/0) is written in the flip-flop 4d.

【0004】このフリップフロップ4dの出力(与えら
れた制御信号の値と等価)は、フォトカプラ4eを介し
て短絡検知内蔵出力回路4fに与えられる。短絡検知内
蔵出力回路4fは、図3に示すように、短絡防止機能を
備えたトランジスタ4f′を備え、このトランジスタ4
f′をON/OFFすることにより、出力機器が接続さ
れたOUT端子4f″をON/OFFする。
The output of the flip-flop 4d (equivalent to the value of the given control signal) is given to the short circuit detection built-in output circuit 4f via the photocoupler 4e. As shown in FIG. 3, the short-circuit detection built-in output circuit 4f includes a transistor 4f 'having a short-circuit prevention function.
By turning on / off f ', the OUT terminal 4f "to which the output device is connected is turned on / off.

【0005】さらに、制御信号を送るラインには、OU
T端子4f″の状態(接点のON/OFF)を示すI/
O_LED4gを備えている。このI/O_LED4g
は、制御信号がONの時に点灯したり、ON/OFFに
よって点灯する色を変えるようにしたりする。
Further, the line for transmitting the control signal has an OU
I / indicating the state of the T terminal 4f ″ (contact ON / OFF)
It is equipped with O_LED 4g. This I / O_LED 4g
Lights up when the control signal is ON, or changes the color that lights up depending on ON / OFF.

【0006】さらにまた、図示のOUTスレーブ4は、
信号処理等をする内部回路と、出力機器5を駆動・動作
させる出力回路に分けられ、各回路は、それぞれ別の電
源により駆動するようになっている。つまり、出力回路
は、外部のI/O電源4iから電力供給を受けるように
なっており、この電源供給ラインに、上記したトランジ
スタ4f′を設けている。これにより、制御信号に基づ
きトランジスタ4f′がONになると、回路が閉じてI
/O電源4iからOUT端子4f″ひいては出力機器5
に通電される。さらに、I/O電源4iには、スイッチ
4i′が設けられており、このスイッチ4i′を開閉す
ることにより、出力回路の全体の電源のON/OFFを
管理できる。
Further, the illustrated OUT slave 4 is
It is divided into an internal circuit that performs signal processing and the like and an output circuit that drives and operates the output device 5, and each circuit is driven by a different power source. That is, the output circuit is adapted to receive power from the external I / O power supply 4i, and the transistor 4f 'described above is provided in this power supply line. As a result, when the transistor 4f 'is turned on based on the control signal, the circuit is closed and I
/ O power supply 4i to OUT terminal 4f ″ and then output device 5
Is energized. Further, the I / O power supply 4i is provided with a switch 4i ', and by opening / closing this switch 4i', ON / OFF of the power supply of the entire output circuit can be managed.

【0007】一方、内部回路への電力供給は、内部回路
電源4hから行われるが、この内部回路電源4hは、例
えば、独立した電源でも良いし、フィールドネットワー
ク3を介して供給されたものを適宜変換し、OUTスレ
ーブ4内の内部回路を構成する各素子等へ供給するよう
にしても良い。
On the other hand, the electric power is supplied to the internal circuit from the internal circuit power source 4h. The internal circuit power source 4h may be, for example, an independent power source, or may be the one supplied through the field network 3 as appropriate. It may be converted and supplied to each element or the like forming the internal circuit in the OUT slave 4.

【0008】さらに、図示したOUTスレーブ4は、上
記したように短絡防止機能が付いているが、具体的に
は、トランジスタ4f′が、自己に接続された出力機器
5の短絡の有無を判断し、短絡を検知した場合には、接
点をOFFにするとともに短絡検知信号を出力する。つ
まり、出力機器5が短絡すると、大きな短絡電流が流
れ、その通電に伴い発熱する。従って、係る過電流や発
熱を検知することにより、短絡と判断し、所定の動作を
行う。
Further, although the illustrated OUT slave 4 has the short-circuit preventing function as described above, specifically, the transistor 4f 'determines whether or not the output device 5 connected thereto is short-circuited. When a short circuit is detected, the contact is turned off and a short circuit detection signal is output. That is, when the output device 5 is short-circuited, a large short-circuit current flows and heat is generated along with the energization. Therefore, by detecting such an overcurrent or heat generation, it is determined that a short circuit has occurred and a predetermined operation is performed.

【0009】そして、短絡検知信号は、フォトカプラ4
eを介してバスバッファ4jに与えられ、所定のタイミ
ングでMPU4cに伝達される。さらに、この短絡検知
信号を受け取ったMPU4cは、例えば、フィールドネ
ットワーク3を介してマスタユニット2ひいてはPLC
ユニット1に送る。これにより、PLCユニット1で
は、所定の警報ランプを点灯させたり、警報ブザーを鳴
らすための処理を行い、異常があったことを通知する。
また、場合によってはシステムを停止する等の異常処理
を行う。
The short circuit detection signal is sent to the photocoupler 4
It is given to the bus buffer 4j via e and transmitted to the MPU 4c at a predetermined timing. Further, the MPU 4c which receives the short circuit detection signal is, for example, via the field network 3 the master unit 2 and then the PLC.
Send to unit 1. As a result, the PLC unit 1 performs processing for turning on a predetermined alarm lamp or sounding an alarm buzzer, and notifies that there is an abnormality.
Also, in some cases, abnormal processing such as stopping the system is performed.

【0010】このように、係るシステムの場合、出力機
器が短絡すると、上位のPLCなどに通知され、そこか
ら警報出力がされて監視員等に異常があったことを知ら
せることができる。従って、迅速に短絡が発生した現場
に作業員が出向いて短絡した出力機器の交換作業などの
メンテナンスが行える。
As described above, in the case of such a system, when the output device is short-circuited, the upper PLC or the like is notified, and an alarm is output from the upper PLC or the like to notify an observer or the like of the abnormality. Therefore, it is possible to perform maintenance such as replacement work of the output device in which the worker short-circuits by going to the site where the short circuit has occurred quickly.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記し
た従来の短絡検知機能を付加したOUTスレーブを含む
システムの場合、以下のような問題があった。すなわ
ち、短絡をしている出力機器(負荷)のメンテナンス
(修理,交換作業)を行う場合、誤動作による危険防止
のために、通常、スイッチ4i′を開いてI/O電源4
iをOFFにした状態で保守作業を行うようになってい
る。
However, the system including the OUT slave to which the conventional short-circuit detecting function is added has the following problems. That is, when performing maintenance (repair, replacement work) of an output device (load) that is short-circuited, the switch 4i 'is normally opened to prevent danger due to malfunction.
Maintenance work is performed with i turned off.

【0012】図3に示す回路構成からも明らかなよう
に、このようにI/O電源4iをOFFにすると、トラ
ンジスタ4f′に対しても通電されなくなる。その結
果、過電流でもなくなり、発熱も無くなるので、短絡し
ていないと判断し、短絡検知信号はOFFとなる。その
結果、内部回路電源4hからの電力供給を受けて動作し
ているMPU4cは、短絡が解消したと判断し、解消に
伴う所定の動作をする。
As is clear from the circuit configuration shown in FIG. 3, when the I / O power supply 4i is turned off in this way, the transistor 4f 'is not energized. As a result, overcurrent disappears and heat generation disappears, so it is determined that there is no short circuit, and the short circuit detection signal is turned off. As a result, the MPU 4c that is operating by being supplied with power from the internal circuit power supply 4h determines that the short circuit has been resolved, and performs the predetermined operation associated with the resolution.

【0013】すなわち、例えば、PLCユニット1に対
して短絡解消を通知し、それに伴いPLCユニット1
は、通常のサイクリックな制御を開始してしまう。しか
し、実際には短絡状態は解消していないため、誤動作の
おそれがある。また、例えば、PLCユニット1からの
制御命令或いはMPU4cからの命令に従って、短絡し
ている端子を特定するランプ(ステータスLED)を点
灯させているような場合、I/O電源4iのOFFとと
もに係るランプも消灯してしまうので、作業員はどの出
力機器で短絡が発生していたかが、係るランプの点灯の
有無で判断することができず、メンテナンスの対象の特
定処理が煩雑となる。
That is, for example, the PLC unit 1 is notified of the elimination of the short circuit, and accordingly, the PLC unit 1 is notified.
Will start normal cyclic control. However, since the short-circuited state is not actually solved, there is a risk of malfunction. Further, for example, when a lamp (status LED) for identifying a short-circuited terminal is turned on according to a control command from the PLC unit 1 or a command from the MPU 4c, the lamp is turned off together with the I / O power supply 4i being turned off. Also, since the worker turns off the light, it is not possible for the worker to determine in which output device the short circuit has occurred based on whether or not the lamp is turned on, and the process of identifying the maintenance target becomes complicated.

【0014】そこで、本発明では、出力機器用の電源を
OFFにしても、短絡等の異常を生じた出力機器(OU
T端子)を特定する警報手段を動作させ続けることがで
き、メンテナンスの対象の特定を容易にすることができ
る出力機器用装置を提供することを目的とする。
Therefore, according to the present invention, even if the power supply for the output device is turned off, the output device (OU
It is an object of the present invention to provide an apparatus for an output device capable of continuing to operate an alarm means for specifying (T terminal) and facilitating specification of a maintenance target.

【0015】[0015]

【課題を解決するための手段】この発明による出力機器
用装置は、例えば、PLCシステムに用いられる用いら
れるもので、出力機器を接続するための出力端子を備え
た出力機器用装置である。そして、前記出力端子をON
/OFFさせる出力回路と、前記出力回路の動作を制御
する制御手段を含む内部回路を有するとともに、前記内
部回路と前記出力回路はそれぞれ別系統の電源供給ライ
ンにより電力供給を受けるように構成され、前記出力回
路は、異常を検出した際に前記制御手段に向けて異常検
出信号を出力する機能を持ち、前記制御手段は、前記異
常検出信号を受信した際に、警報手段を動作させるため
の出力信号を出力するとともに、前記出力回路用の電源
供給ラインのON/OFF状態を監視し、その電源供給
ラインがOFFになっても直前に前記出力信号を出力し
ている場合にはその出力を継続するように構成した。
An apparatus for output device according to the present invention is used for a PLC system, for example, and is an apparatus for output device having an output terminal for connecting an output device. Then, turn on the output terminal
An output circuit for turning on / off and an internal circuit including a control means for controlling the operation of the output circuit, and the internal circuit and the output circuit are configured to be supplied with power from power supply lines of different systems, respectively. The output circuit has a function of outputting an abnormality detection signal to the control unit when an abnormality is detected, and the control unit outputs an output for operating an alarm unit when the abnormality detection signal is received. Outputs a signal and monitors the ON / OFF state of the power supply line for the output circuit, and continues to output the output signal immediately before the power supply line is turned off even if the power supply line is turned off. Configured to do so.

【0016】そして、好ましくは、前記制御手段は、前
記電源供給ラインがOFFからONに復帰した際に、前
記出力信号の出力を解除する機能を付加すると良い。も
ちろん係る機能はなくても良い。
Further, preferably, the control means may have a function of canceling the output of the output signal when the power supply line is returned from OFF to ON. Of course, such a function may not be necessary.

【0017】また、別の解決手段としては、出力端子を
ON/OFFさせる出力回路と、前記出力回路の動作を
制御する制御手段を含む内部回路を有するとともに、前
記内部回路と前記出力回路はそれぞれ別系統の電源供給
ラインにより電力供給を受けるように構成され、前記出
力回路は、異常を検出した際に前記制御手段に向けて異
常検出信号を出力する機能を持ち、前記制御手段は、前
記異常検出信号を受信した場合に、警報手段を動作させ
るための出力信号を出力し続け、かつ、前記出力回路用
の電源供給ラインのON/OFF状態を監視し、前記電
源供給ラインがOFFからONに復帰した場合に、前記
出力信号の出力を解除するように構成することである。
As another means for solving the problems, an output circuit for turning ON / OFF the output terminal and an internal circuit including a control means for controlling the operation of the output circuit are provided, and the internal circuit and the output circuit are respectively provided. The output circuit is configured to receive power from a power supply line of another system, and the output circuit has a function of outputting an abnormality detection signal to the control unit when an abnormality is detected, and the control unit is configured to output the abnormality. When the detection signal is received, the output signal for operating the alarm means is continuously output, and the ON / OFF state of the power supply line for the output circuit is monitored to turn the power supply line from OFF to ON. The configuration is such that the output of the output signal is canceled when the signal returns.

【0018】制御手段は、実施の形態ではMPU13,
43に対応し、警報手段は実施の形態ではステータスL
EDに対応する。この警報手段は、どの出力端子(出力
機器)が異常を生じているかがわかるようになってい
る。
In the embodiment, the control means is the MPU 13,
In the embodiment, the alarm means corresponds to the status L.
Corresponds to ED. This alarm means can identify which output terminal (output device) has an abnormality.

【0019】そして、出力機器用装置は、例えば、スレ
ーブ(OUTスレーブやMIXスレーブ等)であった
り、複数ユニットを連結して形成されるPLCを構成す
るための出力ユニット等が適用される。
The output device is, for example, a slave (OUT slave, MIX slave, or the like), or an output unit for configuring a PLC formed by connecting a plurality of units.

【0020】この発明によれば、出力機器等に短絡等の
異常が発生した場合、出力回路がそれを検知して異常検
知信号を出力する。制御手段では、その異常検知信号を
受信すると、出力信号を出力し、警報手段を動作させ
る。これにより、作業員,監視員等は異常があったこと
を知ることができる。
According to the present invention, when an abnormality such as a short circuit occurs in the output device or the like, the output circuit detects it and outputs an abnormality detection signal. When the control means receives the abnormality detection signal, it outputs an output signal to operate the alarm means. As a result, the worker, the monitor, etc. can know that there is an abnormality.

【0021】次いで、異常を解消すべくメンテナンス処
理をするに際し、出力回路の電源供給をOFFにする。
すると、出力回路も停止し、異常検知信号もOFFにな
るが、この場合でも、内部回路用の電源供給は継続され
ているため制御手段は正常に動作し、出力信号を出力し
つづけるので、警報手段も動作(警報出力)しつづけ
る。
Next, when performing the maintenance process to eliminate the abnormality, the power supply to the output circuit is turned off.
Then, the output circuit also stops and the abnormality detection signal turns off, but even in this case, since the power supply for the internal circuit is continued, the control means operates normally and continues to output the output signal. The means continues to operate (alarm output).

【0022】この発明による出力機器用装置を構成する
各手段を専用のハードウエア回路によって実現すること
ができるし、プログラムされたコンピュータによって実
現することもできる。
Each means constituting the apparatus for output device according to the present invention can be realized by a dedicated hardware circuit or can be realized by a programmed computer.

【0023】[0023]

【発明の実施の形態】図4,図5は、本発明が係るスレ
ーブの好適な一実施の形態を示している。このスレーブ
は、図1に示したようにフィールドネットワークに接続
され、マスタとの間でマスタ−フィールド間通信を行
い、I/Oデータの送受を行ったり、短絡検知信号をマ
スタユニットに向けて出力したりするようになってい
る。
FIG. 4 and FIG. 5 show a preferred embodiment of a slave according to the present invention. This slave is connected to the field network as shown in FIG. 1, performs master-field communication with the master, transmits / receives I / O data, and outputs a short circuit detection signal to the master unit. I'm supposed to do it.

【0024】そして、内部構造は、基本構成は従来のも
のと同様である。すなわち、フィールドネットワークに
接続するための通信インタフェース(通信コネクタ)1
1を備え、この通信インタフェース11を介して受信し
た自己宛のフレーム,メッセージ等が、通信部12にて
解析され、必要な情報がMPU13に与えられる。
The basic structure of the internal structure is the same as the conventional one. That is, a communication interface (communication connector) 1 for connecting to the field network
1, the frame, message, etc. addressed to itself received via the communication interface 11 are analyzed by the communication unit 12, and necessary information is given to the MPU 13.

【0025】MPU13は、8ビットのバスに接続さ
れ、そのバスを介してデータの送受を行う。つまり、こ
のバスには、2つのフリップフロップ14a,14c
と、1つのバスバッファ14bが接続されており、MP
U13は、それらフリップフロップ14a,14c,バ
スバッファ14bから択一的に選択された1つとの間で
データの送受をする(フリップフロップ14a,14c
にデータを書き込み、バスバッファ14bからデータを
読み出す)。
The MPU 13 is connected to an 8-bit bus and transmits / receives data via the bus. In other words, this bus has two flip-flops 14a and 14c.
, One bus buffer 14b is connected to
The U13 transmits / receives data to / from one of the flip-flops 14a and 14c and the bus buffer 14b (flip-flops 14a and 14c).
To write data to and read data from the bus buffer 14b).

【0026】そして、MPU13は、マスタユニットか
ら受信したOUTデータをフリップフロップ14aの所
定アドレスに書き込む。フリップフロップ14aの各出
力は、フォトカプラ15aを介して短絡検知内蔵出力回
路16を構成する各トランジスタ16′のベースに与え
られ、そのトランジスタ16′をON/OFFする。そ
して、各トランジスタ16′にはI/O電源19が接続
されているため、トランジスタ16′のON/OFFに
より、トランジスタ16′に接続されたI/O端子であ
るOUT端子16″ひいては、その端子に接続された出
力機器25がON/OFFする。本実施の形態でも、I
/O電源19にスイッチ19′が設置され、I/O電源
供給を全体的に遮断可能としている。
Then, the MPU 13 writes the OUT data received from the master unit in a predetermined address of the flip-flop 14a. Each output of the flip-flop 14a is given to the base of each transistor 16 'constituting the short circuit detection built-in output circuit 16 via the photocoupler 15a, and turns on / off the transistor 16'. Since an I / O power source 19 is connected to each transistor 16 ', the ON / OFF of the transistor 16' causes the OUT terminal 16 ", which is an I / O terminal connected to the transistor 16 ', and thus its terminal. The output device 25 connected to is turned on / off.
A switch 19 'is installed on the / O power supply 19 so that the I / O power supply can be shut off entirely.

【0027】さらに、制御信号を送るラインには、OU
T端子16″の状態(接点のON/OFF)を示すI/
O_LED17が接続されている。このI/O_LED
17は、制御信号がONの時に点灯したり、ON/OF
Fによって点灯する色を変えるようになっている。
Further, the line for transmitting the control signal has an OU
I / indicating the state of the T terminal 16 "(contact ON / OFF)
The O_LED 17 is connected. This I / O_LED
17 is lit when the control signal is ON, ON / OF
The color that lights up is changed by F.

【0028】さらにまた、このスレーブ10は、信号処
理等をする内部回路と、出力機器25を駆動・動作させ
る出力回路に分けられ、各回路は、それぞれ別の電源に
より駆動するようになっている。つまり、出力回路(ト
ランジスタ16′)は、外部のI/O電源19から電力
供給を受けるように構成されているのは上記した通りで
ある。そして、内部回路への電力供給は、内部回路電源
18から行われる。この内部回路電源18は、例えば、
独立した電源でも良いし、フィールドネットワークを介
して供給されたものを適宜変換し、スレーブ10内の内
部回路を構成する各素子等へ供給するようにしても良
い。
Furthermore, the slave 10 is divided into an internal circuit for performing signal processing and the like, and an output circuit for driving and operating the output device 25, and each circuit is driven by a different power source. . That is, the output circuit (transistor 16 ') is configured to receive power from the external I / O power source 19, as described above. Then, power is supplied to the internal circuit from the internal circuit power supply 18. The internal circuit power supply 18 is, for example,
An independent power source may be used, or the power supplied via the field network may be appropriately converted and supplied to each element or the like forming the internal circuit in the slave 10.

【0029】さらに、トランジスタ16′は、短絡防止
機能が付いており、自己に接続された出力機器25の短
絡を検知し、検知した場合には、接点をOFFにすると
ともに短絡検知信号を出力する。つまり、出力機器25
が短絡すると、大きな短絡電流が流れ、その通電に伴い
発熱する。従って、係る過電流や発熱を検知することに
より、短絡と判断し、上記した接点OFF処理並びに短
絡検知信号出力処理を行う。
Further, the transistor 16 'has a short-circuit prevention function, detects a short circuit of the output device 25 connected to itself, and when it detects, turns off the contact and outputs a short-circuit detection signal. . That is, the output device 25
When is short-circuited, a large short-circuit current flows and heat is generated as the current flows. Therefore, by detecting such an overcurrent or heat generation, it is determined that a short circuit has occurred, and the contact OFF processing and short circuit detection signal output processing described above are performed.

【0030】この短絡検知信号は、フォトカプラ15b
を介してバスバッファ14bに与えられ、所定のタイミ
ングでMPU13に伝達される。この短絡検知信号を受
け取ったMPU13は、対応するフリップフロップ14
cの入力端子をONにし、そのフリップフロップ14c
に接続されたステータスLED20を点灯させる。これ
により、どのステータスLED20が点灯しているかを
確認することにより、どの出力機器25が短絡している
かを容易に認識できる。さらに、MPU13は、短絡が
発生していることをフィールドネットワークを介してマ
スタユニットひいてはPLCユニットに通知するように
している。
This short circuit detection signal is supplied to the photocoupler 15b.
Is given to the bus buffer 14b via the and is transmitted to the MPU 13 at a predetermined timing. The MPU 13, which has received the short-circuit detection signal, has the corresponding flip-flop 14
The input terminal of c is turned on, and the flip-flop 14c
The status LED 20 connected to is turned on. Thus, by checking which status LED 20 is lit, it is possible to easily recognize which output device 25 is short-circuited. Further, the MPU 13 notifies the master unit and eventually the PLC unit that a short circuit has occurred via the field network.

【0031】ここで本発明では、I/O電源19からの
電源供給ラインを分岐し、フォトカプラ15cを介して
MPU13に与えるようにしている。つまり、I/O電
源19がONとなって電力供給がされている場合には、
フォトカプラ15cの出力がONになる。
Here, in the present invention, the power supply line from the I / O power supply 19 is branched and supplied to the MPU 13 via the photocoupler 15c. That is, when the I / O power supply 19 is turned on and power is being supplied,
The output of the photocoupler 15c is turned on.

【0032】そして、メンテナンス等のためにスイッチ
19′を開いてI/O電源19をOFFにすると、フォ
トカプラ15cの出力もOFFになる。よって、MPU
13では、係るフォトカプラ15cの出力(I/O電源
検知信号)を監視することにより、I/O電源19の動
作状態を認識することができる。
When the switch 19 'is opened to turn off the I / O power source 19 for maintenance or the like, the output of the photocoupler 15c is also turned off. Therefore, MPU
In 13, the operating state of the I / O power supply 19 can be recognized by monitoring the output (I / O power supply detection signal) of the photocoupler 15c.

【0033】そこで、本実施の形態では、MPU13
は、電源がOFFになった場合、そのOFFの際(直
前)に短絡検知信号が出力されている時には、ステータ
スLED20の点灯を継続するようにした。つまり、上
記したI/O電源19のOFFに伴いトランジスタ1
6′からの短絡検知信号もOFFになるため、通常であ
ればMPU13は短絡状態が解消したと判断してステー
タスLED20を消灯するところ、I/O電源19がO
FFしている場合には、係る電源供給が無くなったこと
によって検知信号もOFFになっただけで、実際には短
絡状態が続いていると判断し、ステータスLED20を
点灯させ続けるように動作させる。これにより、メンテ
ナンスのためにI/O電源19をOFFにしても、所定
のステータスLED20が点灯しているので、短絡を生
じていたOUT端子(出力機器)を容易に特定すること
ができる。
Therefore, in the present embodiment, the MPU 13
When the power is turned off, the status LED 20 is kept lit when the short circuit detection signal is being output (just before) when the power is turned off. That is, the transistor 1 is turned off when the I / O power supply 19 is turned off.
Since the short-circuit detection signal from 6'is also turned off, the MPU 13 normally judges that the short-circuit state has disappeared and turns off the status LED 20, but the I / O power supply 19 turns off.
In the case of FF, the detection signal is also turned off due to the loss of the power supply, and it is determined that the short-circuited state is actually continuing, and the status LED 20 is operated to continue lighting. As a result, even if the I / O power supply 19 is turned off for maintenance, the predetermined status LED 20 is lit, so that the OUT terminal (output device) that has a short circuit can be easily specified.

【0034】上記した処理機能を実現するために、MP
U13は、図6に示すフローチャートを実施する機能を
付加している。まず、MPU13は、バスバッファ14
bの各値を取り込み、トランジスタ16′から短絡検知
信号が出力されているか否かを判断する機能を持ち、更
に、係る判断(短絡検知)を行うか否かの状態設定も行
えるようになっている。つまり、短絡検知が有効の場合
に、実際にバスバッファ14bの値を取り込み、短絡し
ているか否かを判断する。換言すると、短絡検知が無効
の場合には、短絡検知信号のON/OFFに関係なく、
短絡の有無の判定をしない。もちろん、この短絡検知の
有効/無効は、各ビット単位で切替設定される。
In order to realize the above processing function, MP
U13 is added with a function for implementing the flowchart shown in FIG. First, the MPU 13 uses the bus buffer 14
It has a function of taking in each value of b and judging whether or not the short-circuit detection signal is output from the transistor 16 ', and further, it becomes possible to set the state of whether or not to carry out such judgment (short-circuit detection). There is. That is, when the short-circuit detection is valid, the value of the bus buffer 14b is actually fetched and it is determined whether or not there is a short circuit. In other words, if the short circuit detection is disabled, regardless of whether the short circuit detection signal is ON or OFF,
Does not judge whether there is a short circuit. Of course, the validity / invalidity of this short circuit detection is switched and set for each bit.

【0035】MPU13は、上記した短絡検知を判断す
る機能並びに短絡検知の有効/無効の切替機能を用い
て、以下のように動作する。まず、短絡ポートが短絡を
検知しているか否かを判断する(ST1)。この判断
は、短絡検知が有効で、かつ、バスバッファ14bの対
応するビットがON(トランジスタ16′が短絡検知信
号を出力)している場合にYesとなる。そして、それ
以外の場合、つまり、短絡検知が有効でもバスバッファ
14bの対応するビットがOFF(短絡を生じていな
い)の場合と、短絡検知が無効に設定されている場合に
は、ステップ1の分岐判断はNoとなる。ステップ1の
分岐判断でYesの場合には、MPU13内の該当する
短絡検知バッファをONにする(ST2)。これによ
り、ON状態がラッチされる。
The MPU 13 operates as follows by using the above-mentioned function of judging the short circuit detection and the function of switching the valid / invalid of the short circuit detection. First, it is determined whether or not the short circuit port detects a short circuit (ST1). This determination is Yes when the short circuit detection is valid and the corresponding bit of the bus buffer 14b is ON (the transistor 16 'outputs the short circuit detection signal). Then, in other cases, that is, when the corresponding bit of the bus buffer 14b is OFF (no short circuit has occurred) even if the short circuit detection is valid, and when the short circuit detection is set to invalid, the step 1 The branch determination is No. If the branch determination in step 1 is Yes, the corresponding short-circuit detection buffer in the MPU 13 is turned on (ST2). As a result, the ON state is latched.

【0036】次に、フォトカプラ15cの出力、つまり
I/O電源検知信号のON/OFF信号を取得し、I/
O電源の状態を確認する(ST3)。そして、前回の状
態がOFFで今回がONとなった場合には、電源が投入
されたと判断できるので、ステップ4に進み、短絡検知
バッファを一斉にOFFにし、全ての出力機器(OUT
端子)に対するステータスを短絡なしにする。これによ
り、フリップフロップ14cの全てのビットがOFFに
なり、ステータスLED20は消灯される。その後、全
ての短絡ポートに対して短絡検知を有効にセットし(S
T5)、次の監視に備える。
Next, the output of the photocoupler 15c, that is, the ON / OFF signal of the I / O power supply detection signal is acquired, and I / O is detected.
Check the state of the O power source (ST3). If the previous state is OFF and this time is ON, it can be determined that the power is turned on. Therefore, the process proceeds to step 4, and the short circuit detection buffer is turned off all at once, and all output devices (OUT
The status for (terminal) is set to no short circuit. As a result, all the bits of the flip-flop 14c are turned off and the status LED 20 is turned off. After that, set the short circuit detection to be effective for all short circuit ports (S
T5), preparing for the next monitoring.

【0037】一方、I/O電源検知信号のON/OFF
信号が、上記した状態以外の場合、つまり、OFFであ
ったり、前回と今回がともにONの場合には、ステップ
6に進み、短絡検知バッファのON/OFFをステータ
スへ反映する。実際には、短絡検知バッファがONにな
っているものを、短絡有りとしてステータスに反映す
る。これにより、短絡を生じた出力機器(OUT端子)
に割り付けられたステータスLED20に接続されるフ
リップフロップ14cの対応するビットがONになり、
該当するステータスLED20が点灯する。
On the other hand, ON / OFF of the I / O power supply detection signal
When the signal is in a state other than the above-mentioned state, that is, when it is OFF, or when both the previous time and the current time are ON, the process proceeds to step 6, and ON / OFF of the short circuit detection buffer is reflected in the status. Actually, the status in which the short circuit detection buffer is ON is reflected in the status as a short circuit. This caused an output device (OUT terminal) that caused a short circuit.
The corresponding bit of the flip-flop 14c connected to the status LED 20 assigned to
The corresponding status LED 20 lights up.

【0038】上記したフローチャートを実施することに
より、初期状態は短絡検知が有効となっており、一度短
絡検知をすると、短絡検知バッファがONになり(ST
2)、短絡ありがステータスに反映されて対応するステ
ータスLED20が点灯する(ST6)とともに、短絡
検知が無効とされる(ST7)。よって、ステップ5に
より短絡検知が有効になるまでの間は、短絡ボートの状
態判定自体を行わないので、ステータスLED20が点
灯状態が続く。
By executing the above-mentioned flowchart, the short circuit detection is enabled in the initial state, and once the short circuit is detected, the short circuit detection buffer is turned on (ST
2) When a short circuit is reflected in the status and the corresponding status LED 20 is turned on (ST6), the short circuit detection is invalidated (ST7). Therefore, the status determination of the short circuit boat itself is not performed until the short circuit detection is validated in step 5, and the status LED 20 continues to be in the lighting state.

【0039】一方、ステップ5は、I/O電源19が一
旦OFFされた後にONされた場合に実行される。よっ
て、メンテナンス等のためにI/O電源19がOFFさ
れただけでは短絡検知が無効のままとなるので、ステー
タスLED20は点灯状態を継続する。
On the other hand, step 5 is executed when the I / O power supply 19 is turned off and then turned on. Therefore, the short circuit detection remains ineffective only when the I / O power supply 19 is turned off for maintenance or the like, and the status LED 20 continues to be lit.

【0040】そして、メンテナンス終了後にI/O電源
19をONにすると、短絡検知バッファが一斉にOFF
されるため、ステータスLED20も消灯する。その
後、短絡検知が有効になるので(ST5)、仮に交換し
た出力機器やその他の出力機器が短絡を生じている場合
には、再度対応するステータスLED20が点灯するこ
とになる。
When the I / O power supply 19 is turned on after the maintenance is completed, the short circuit detection buffers are turned off all at once.
Therefore, the status LED 20 is also turned off. After that, since the short-circuit detection is enabled (ST5), if the replaced output device or other output device is short-circuited, the corresponding status LED 20 is turned on again.

【0041】また、上記した実施の形態の動作を説明す
ると、図7に示すタイムチャートのようになる。すなわ
ち、正常状態ではI/O電源がONであるので、I/O
電源検知信号もONとなる。そして、短絡検知信号もO
FFとなるので、短絡検知信号バッファもOFFとな
り、ひいてはステータスLED20消灯した状態とな
る。
The operation of the above embodiment will be described with reference to the time chart shown in FIG. That is, since the I / O power supply is ON in the normal state, I / O
The power supply detection signal also turns ON. And the short circuit detection signal is also O
Since it is FF, the short circuit detection signal buffer is also turned off, and the status LED 20 is turned off.

【0042】この状態において、タイミング(1)で短
絡が発生した場合には、短絡検知信号がONになるの
で、ステップ1の分岐判断でYesとなる(初期状態で
は短絡検知は有効)。これに伴い、短絡検知保持バッフ
ァがONとなり、それに追従してステータスLED20
も点灯する。
In this state, if a short circuit occurs at the timing (1), the short circuit detection signal is turned on, so that the branch determination in step 1 is Yes (short circuit detection is effective in the initial state). Along with this, the short-circuit detection holding buffer is turned on, and the status LED 20 is tracked accordingly.
Also lights up.

【0043】次に、タイミング(2)にてメンテナンス
のためにI/O電源をOFFにすると、I/O電源検知
信号もOFFになる。さらに、トランジスタ16′にも
通電されなくなることから短絡検知信号もOFFとな
る。但し、短絡検知信号保持バッファの出力は、ONに
ラッチされたままとなるので、ステータスLED20も
点灯し続ける。このように、I/O電源19をOFFに
している間も、ステータスLED20が点灯しているた
め、どれが点灯しているかを確認することにより、短絡
が発生した箇所を容易に特定できる。
Next, when the I / O power supply is turned off for maintenance at timing (2), the I / O power supply detection signal is also turned off. Further, since the transistor 16 'is not energized, the short circuit detection signal is also turned off. However, since the output of the short circuit detection signal holding buffer remains latched ON, the status LED 20 also keeps lighting. Thus, since the status LED 20 is still lit while the I / O power supply 19 is off, it is possible to easily identify the location where the short circuit has occurred by checking which one is lit.

【0044】そして、タイミング(3)にてメンテナン
ス作業が終了(正常な出力機器と交換等)し、I/O電
源19をONにすると、ステップ4,5が実行され、短
絡検知信号保持バッファはOFFになる。また、それに
伴いステータスLED20も消灯し、正常状態に戻る。
At timing (3), the maintenance work is completed (replacement with a normal output device, etc.) and the I / O power supply 19 is turned on. Then, steps 4 and 5 are executed and the short-circuit detection signal holding buffer is Turns off. In addition, the status LED 20 is also turned off accordingly, and the normal state is restored.

【0045】上記した実施の形態は、出力機器が接続さ
れるOUTスレーブについて説明したが、入力機器が併
せて接続された混在型のMIXスレーブについてももち
ろん適用できる。
Although the above embodiment has been described with respect to the OUT slave to which the output device is connected, it is of course applicable to a mixed type MIX slave to which the input device is also connected.

【0046】図8,図9は、本発明の他の実施の形態を
示している。本実施の形態は、上記した実施の形態と相
違し、PLCを構成する出力ユニットに適用した例を示
している。すなわち、良く知られているように、各機能
毎のユニットを用意し、必要な機能を持つユニットを連
結して1つのPLCを構成するものがある。図8では、
ベース30に対し、出力機器を接続する出力ユニット3
1,入力機器を接続する入力ユニット32,ユーザプロ
グラムを実行するCPUユニット33並びに各ユニット
を駆動するための電源を供給する電源ユニット34を連
結している。各ユニットは、バスにより接続され、ユニ
ット間でデータの送受をしたり、電源の供給を受けたり
するようになっている。もちろん、図示したユニットを
全て実装する必要はないし、他の種類のユニットを連結
する場合もある。
8 and 9 show another embodiment of the present invention. The present embodiment is different from the above-described embodiments and shows an example applied to an output unit forming a PLC. That is, as is well known, there is one in which a unit for each function is prepared and units having necessary functions are connected to form one PLC. In FIG.
An output unit 3 for connecting an output device to the base 30
1, an input unit 32 for connecting an input device, a CPU unit 33 for executing a user program, and a power supply unit 34 for supplying power for driving each unit. Each unit is connected by a bus, and data is transmitted and received between the units and power is supplied. Of course, it is not necessary to mount all the illustrated units, and other types of units may be connected.

【0047】そして、出力ユニット31の内部構造の一
例を示すと図9のようになる。PLCを構成する各ユニ
ットを電気的に連結するPLCバスに接続するためのイ
ンタフェース41を備えている。このインタフェース4
1には、MPU43が接続されており、このMPU43
は、インタフェース41を介して他のユニットとデータ
の送受を行う。
An example of the internal structure of the output unit 31 is shown in FIG. An interface 41 is provided for connecting each unit that constitutes the PLC to a PLC bus that electrically connects the units. This interface 4
1, an MPU 43 is connected, and this MPU 43
Transmits and receives data to and from other units via the interface 41.

【0048】さらに、MPU43は、8ビットのバスに
接続され、そのバスを介して2つのフリップフロップ4
4a,44cと、1つのバスバッファ44bとの間でデ
ータの送受をする。
Further, the MPU 43 is connected to an 8-bit bus, and two flip-flops 4 are connected via the bus.
Data is transmitted and received between 4a and 44c and one bus buffer 44b.

【0049】そして、MPU43は、CPUユニット3
3から送られてきたOUTデータをフリップフロップ4
4aの所定アドレスに書き込む機能を持つ。フリップフ
ロップ44aの各出力は、フォトカプラ45aを介して
短絡検知内蔵出力回路46を構成する各トランジスタ4
6′のベースに与えられ、そのトランジスタ46′をO
N/OFFする。
The MPU 43 has the CPU unit 3
OUT data sent from 3 is flip-flop 4
It has a function of writing to a predetermined address of 4a. The outputs of the flip-flops 44a are supplied to the respective transistors 4 forming the short-circuit detection built-in output circuit 46 via the photo coupler 45a.
6 ', and its transistor 46' is turned on.
N / OFF.

【0050】さらに、各トランジスタ46′にはI/O
電源49が接続されているため、トランジスタ46′の
ON/OFFにより、トランジスタ46′に接続された
OUT端子46″ひいては、そのOUT端子46″に接
続された出力機器51がON/OFFする。本実施の形
態でも、I/O電源49にスイッチ49′が設置され、
I/O電源供給を全体的に遮断可能としている。
Further, each transistor 46 'has an I / O.
Since the power supply 49 is connected, turning on / off the transistor 46 'turns on / off the OUT terminal 46 "connected to the transistor 46' and thus the output device 51 connected to the OUT terminal 46". Also in this embodiment, the switch 49 ′ is installed in the I / O power source 49,
The I / O power supply can be shut off entirely.

【0051】さらに、制御信号を送るラインには、OU
T端子46″の状態(接点のON/OFF)を示すI/
O_LED47が接続されている。このI/O_LED
47は、制御信号がONの時に点灯したり、ON/OF
Fによって点灯する色を変えるようになっている。
Further, the line for transmitting the control signal has an OU
I / indicating the state of the T terminal 46 "(contact ON / OFF)
The O_LED 47 is connected. This I / O_LED
47 is turned on when the control signal is ON, or ON / OF
The color that lights up is changed by F.

【0052】さらにまた、この出力ユニット31は、信
号処理等をする内部回路と、出力機器51を駆動・動作
させる出力回路に分けられ、各回路は、それぞれ別の電
源により駆動するようになっている。つまり、出力回路
(トランジスタ46′)は、外部のI/O電源49から
電力供給を受けるように構成され、内部回路への電力供
給は、PLCバスを介して与えられる。よって、I/O
電源49をOFFにすると、出力機器51への通電は遮
断されるものの内部回路は稼働する。
Furthermore, the output unit 31 is divided into an internal circuit for performing signal processing and the like and an output circuit for driving and operating the output device 51, and each circuit is driven by a different power source. There is. That is, the output circuit (transistor 46 ') is configured to receive power from the external I / O power supply 49, and power is supplied to the internal circuit via the PLC bus. Therefore, I / O
When the power supply 49 is turned off, the power supply to the output device 51 is cut off, but the internal circuit operates.

【0053】さらに、トランジスタ46′は、短絡防止
機能が付いており、自己に接続された出力機器51の短
絡を検知し、検知した場合には、接点をOFFにすると
ともに短絡検知信号を出力する。
Further, the transistor 46 'has a short-circuit prevention function, detects a short circuit of the output device 51 connected to itself, and when detecting it, turns off the contact and outputs a short-circuit detection signal. .

【0054】この短絡検知信号は、フォトカプラ45b
を介してバスバッファ44bに与えられ、所定のタイミ
ングでMPU43に伝達される。この短絡検知信号を受
け取ったMPU43は、対応するフリップフロップ44
cの入力端子をONにし、そのフリップフロップ44c
に接続されたステータスLED50を点灯させる。これ
により、どのステータスLED50が点灯しているかを
確認することにより、どの出力機器51が短絡している
かを容易に認識できる。
This short circuit detection signal is supplied to the photo coupler 45b.
To the MPU 43 at a predetermined timing. The MPU 43 receiving this short-circuit detection signal, the corresponding flip-flop 44
Turn on the input terminal of c, and flip-flop 44c
The status LED 50 connected to is turned on. Thus, by checking which status LED 50 is lit, it is possible to easily recognize which output device 51 is short-circuited.

【0055】ここで本発明では、I/O電源49からの
電源供給ラインを分岐し、フォトカプラ45cを介して
MPU43に与え、I/O電源49の状態を検出できる
ようにしている。そして、MPU43は、I/O電源が
OFFになった場合、そのOFFの際(直前)に短絡検
知信号が出力されている時には、ステータスLED50
の点灯を継続するように構成した。具体的には、図6に
示すフローチャートを実施する機能を組み込むことによ
り実現している。
In the present invention, the power supply line from the I / O power source 49 is branched and supplied to the MPU 43 via the photocoupler 45c so that the state of the I / O power source 49 can be detected. When the I / O power is turned off, the MPU 43 outputs the status LED 50 when the short-circuit detection signal is being output (just before) when the I / O power is turned off.
Is configured to continue to light. Specifically, it is realized by incorporating a function for implementing the flowchart shown in FIG.

【0056】なお、上記した各実施の形態における短絡
検知内蔵出力回路16,46(トランジスタ16′,4
6′)は、図7のタイミングチャートでも示したよう
に、短絡を検知している間、短絡検知信号を出力(O
N)し続けているが、必ずしも係る構成を採らず、短絡
した際に単発のパルスを出力するようにしてもよい。す
なわち、上記した実施の形態では、図6に示すフローチ
ャートで示すように、一旦短絡検知をすると、その状態
をラッチし、以後は短絡検知を無効にしているため、短
絡したことをMPUに通知した場合には、それ以後は短
絡検知信号を継続して出力しなくてもステータスLED
20,50を点灯し続けることができるためである。
The output circuits 16 and 46 with built-in short circuit detection (transistors 16 'and 4) according to the above-described embodiments.
As shown in the timing chart of FIG. 7, 6 ') outputs a short-circuit detection signal while detecting the short-circuit (O
N) is continued, but such a configuration may not necessarily be adopted, and a single pulse may be output when a short circuit occurs. That is, in the above-described embodiment, as shown in the flowchart of FIG. 6, once the short circuit is detected, the state is latched and the short circuit detection is disabled thereafter, so that the MPU is notified of the short circuit. In this case, the status LED is not required to continue to output the short circuit detection signal after that.
This is because it is possible to keep lighting 20 and 50.

【0057】また、図6に示すフローチャートでは、一
旦短絡を検知すると、その後は、I/O電源がONのと
きも短絡検知信号が出力されているか否かを監視せず、
短絡有りと推定して短絡検知バッファをONにしてステ
ータスLED20,50を点灯させつづけたが、本発明
はこれに限ることはなく、I/O電源がONのときは、
トランジスタ16′,46′から短絡検知信号が出力さ
れているか否かを判断し、I/O電源がOFFになった
場合には、その直前の状態(短絡検知信号の有無)を保
持するようにしても良い。
Further, in the flow chart shown in FIG. 6, once a short circuit is detected, thereafter, it is not monitored whether or not the short circuit detection signal is output even when the I / O power supply is ON,
It is estimated that there is a short circuit, and the short circuit detection buffer is turned on to keep the status LEDs 20 and 50 lit. However, the present invention is not limited to this, and when the I / O power supply is on,
Whether or not the short circuit detection signal is output from the transistors 16 'and 46' is determined, and when the I / O power supply is turned off, the state immediately before that (presence or absence of the short circuit detection signal) is retained. May be.

【0058】つまり、前回の短絡検知結果を記憶してお
き、I/O電源がOFFになった際に、直前に短絡検知
信号を受信し、ステータスLED20,50を点灯させ
ている場合には、I/O電源がOFFになった後も短絡
検知信号を受信しているとみなし、ステータスLED2
0,50を点灯し続けるように動作させる。なお、この
場合も、ステータスLED20,50の消灯は、例え
ば、I/O電源がOFFからONになったことをトリガ
として実行することができる。
That is, when the previous short circuit detection result is stored and the short circuit detection signal is received immediately before the I / O power supply is turned off and the status LEDs 20 and 50 are turned on, It is considered that the short circuit detection signal is received even after the I / O power supply is turned off, and the status LED2
The 0 and 50 are operated so as to keep lighting. In this case as well, the turning off of the status LEDs 20 and 50 can be executed, for example, when the I / O power supply is turned from OFF to ON.

【0059】係る機能を組み込んだ場合、例えば、メン
テナンスの際にI/O電源をOFFにすることなく、O
N状態のままメンテナンス処理を実行するような場合、
電源がOFFすることなく短絡状態が解消するが、係る
場合に短絡解消とともにステータスLEDを消灯させる
ことができる。
When such a function is incorporated, for example, the O
When performing maintenance processing in the N state,
Although the short-circuit state is resolved without turning off the power, in such a case, the status LED can be turned off together with the short-circuit elimination.

【0060】[0060]

【発明の効果】以上のように、この発明では、出力機器
用の電源をOFFにしても、短絡等の異常を生じた出力
機器(OUT端子)を特定する警報手段を動作させ続け
ることができ、メンテナンスの対象の特定を容易にする
ことができる。
As described above, according to the present invention, even if the power supply for the output device is turned off, the alarm means for specifying the output device (OUT terminal) having an abnormality such as a short circuit can be continuously operated. , It is possible to easily identify the target of maintenance.

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

【図1】従来例を示す図である。FIG. 1 is a diagram showing a conventional example.

【図2】従来のスレーブの内部構造の概略構成を示す図
である。
FIG. 2 is a diagram showing a schematic configuration of an internal structure of a conventional slave.

【図3】その内部構造の具体的な構成を示す図である。FIG. 3 is a diagram showing a specific configuration of the internal structure.

【図4】本発明の好適な一実施の形態であるスレーブの
内部構造の概略構成を示す図である。
FIG. 4 is a diagram showing a schematic configuration of an internal structure of a slave which is a preferred embodiment of the present invention.

【図5】その内部構造の具体的な構成を示す図である。FIG. 5 is a diagram showing a specific configuration of the internal structure.

【図6】MPUの機能を示すフローチャートである。FIG. 6 is a flowchart showing the functions of the MPU.

【図7】MPUの作用を説明するタイミングチャートで
ある。
FIG. 7 is a timing chart illustrating the operation of the MPU.

【図8】PLCの一例を示す図である。FIG. 8 is a diagram showing an example of a PLC.

【図9】本発明の好適な一実施の形態である出力ユニッ
トの内部構造の具体的な構成を示す図である。
FIG. 9 is a diagram showing a specific configuration of the internal structure of an output unit that is a preferred embodiment of the present invention.

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

10 スレーブ 11 通信インタフェース 12 通信部 13 MPU 14a,14c フリップフロップ 14b バスバッファ 15a〜15c フォトカプラ 16 短絡検知内蔵出力回路 16′ トランジスタ 16″ OUT端子 17 I/O_LED 18 内部回路電源 19 I/O電源 19′ スイッチ 20 ステータスLED 25 出力機器 30 ベース 31 出力ユニット 32 入力ユニット 33 CPUユニット 34 電源ユニット 41 インタフェース 43 MPU 44a,44c フリップフロップ 44b バスバッファ 45a〜45c フォトカプラ 46 短絡検知内蔵出力回路 46′ トランジスタ 46″ OUT端子 47 I/O_LED 49 I/O電源 49′ スイッチ 50 ステータスLED 51 出力機器 10 slaves 11 Communication interface 12 Communications Department 13 MPU 14a, 14c flip-flops 14b bus buffer 15a to 15c Photocoupler 16 Output circuit with built-in short circuit detection 16 'transistor 16 "OUT terminal 17 I / O_LED 18 Internal circuit power supply 19 I / O power supply 19 'switch 20 Status LED 25 Output device 30 base 31 Output unit 32 input units 33 CPU unit 34 power supply unit 41 Interface 43 MPU 44a, 44c flip-flops 44b bus buffer 45a-45c Photocoupler 46 Output circuit with built-in short circuit detection 46 'transistor 46 "OUT terminal 47 I / O_LED 49 I / O power supply 49 'switch 50 Status LED 51 Output device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 出力機器を接続するための出力端子を備
えた出力機器用装置であって、 前記出力端子をON/OFFさせる出力回路と、前記出
力回路の動作を制御する制御手段を含む内部回路を有す
るとともに、前記内部回路と前記出力回路はそれぞれ別
系統の電源供給ラインにより電力供給を受けるように構
成され、 前記出力回路は、異常を検出した際に前記制御手段に向
けて異常検出信号を出力する機能を持ち、 前記制御手段は、前記異常検出信号を受信した際に、警
報手段を動作させるための出力信号を出力するととも
に、前記出力回路用の電源供給ラインのON/OFF状
態を監視し、その電源供給ラインがOFFになっても直
前に前記出力信号を出力している場合にはその出力を継
続するようにしたことを特徴とする出力機器用装置。
1. An apparatus for an output device having an output terminal for connecting an output device, comprising: an output circuit for turning on / off the output terminal; and a control means for controlling an operation of the output circuit. While having a circuit, the internal circuit and the output circuit are configured to be supplied with power from respective power supply lines of different systems, and the output circuit outputs an abnormality detection signal to the control unit when an abnormality is detected. When receiving the abnormality detection signal, the control unit outputs an output signal for operating the alarm unit, and also turns on / off the power supply line for the output circuit. Output device equipment characterized by monitoring and continuing the output when the output signal is being output immediately before, even if the power supply line is turned off. Place
【請求項2】 前記制御手段は、前記電源供給ラインが
OFFからONに復帰した際に、前記出力信号の出力を
解除するようにしたことを特徴とする請求項1に記載の
出力機器用装置。
2. The output device apparatus according to claim 1, wherein the control means cancels the output of the output signal when the power supply line returns from OFF to ON. .
【請求項3】 出力機器を接続するための出力端子を備
えた出力機器用装置であって、 前記出力端子をON/OFFさせる出力回路と、前記出
力回路の動作を制御する制御手段を含む内部回路を有す
るとともに、前記内部回路と前記出力回路はそれぞれ別
系統の電源供給ラインにより電力供給を受けるように構
成され、 前記出力回路は、異常を検出した際に前記制御手段に向
けて異常検出信号を出力する機能を持ち、 前記制御手段は、前記異常検出信号を受信した場合に、
警報手段を動作させるための出力信号を出力し続け、 かつ、前記出力回路用の電源供給ラインのON/OFF
状態を監視し、前記電源供給ラインがOFFからONに
復帰した場合に、前記出力信号の出力を解除するように
したことを特徴とする出力機器用装置。
3. An output device apparatus having an output terminal for connecting an output device, comprising: an output circuit for turning on / off the output terminal; and a control means for controlling the operation of the output circuit. While having a circuit, the internal circuit and the output circuit are configured to be supplied with power from respective power supply lines of different systems, and the output circuit outputs an abnormality detection signal to the control unit when an abnormality is detected. Has a function of outputting, when the control means receives the abnormality detection signal,
Continue to output an output signal for operating the alarm means, and turn on / off the power supply line for the output circuit
An apparatus for output device, which monitors a state and cancels the output of the output signal when the power supply line returns from OFF to ON.
【請求項4】 前記出力機器用装置は、スレーブ或いは
PLCを構成するための出力ユニットであることを特徴
とする請求項1〜3の何れか1項に記載の出力機器用装
置。
4. The device for output equipment according to claim 1, wherein the device for output equipment is an output unit for constituting a slave or a PLC.
JP2001345429A 2001-11-09 2001-11-09 Slave output unit Expired - Fee Related JP3719196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001345429A JP3719196B2 (en) 2001-11-09 2001-11-09 Slave output unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001345429A JP3719196B2 (en) 2001-11-09 2001-11-09 Slave output unit

Publications (2)

Publication Number Publication Date
JP2003150244A true JP2003150244A (en) 2003-05-23
JP3719196B2 JP3719196B2 (en) 2005-11-24

Family

ID=19158764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001345429A Expired - Fee Related JP3719196B2 (en) 2001-11-09 2001-11-09 Slave output unit

Country Status (1)

Country Link
JP (1) JP3719196B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012198841A (en) * 2011-03-23 2012-10-18 Toshiba Mitsubishi-Electric Industrial System Corp Field network system
CN105302059A (en) * 2014-07-28 2016-02-03 发那科株式会社 Output module for programmable controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101747026B1 (en) 2016-03-08 2017-06-13 엘에스산전 주식회사 Communication device having relay

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012198841A (en) * 2011-03-23 2012-10-18 Toshiba Mitsubishi-Electric Industrial System Corp Field network system
CN105302059A (en) * 2014-07-28 2016-02-03 发那科株式会社 Output module for programmable controller
JP2016031584A (en) * 2014-07-28 2016-03-07 ファナック株式会社 Output module with on/off function for output common
US9983608B2 (en) 2014-07-28 2018-05-29 Fanuc Corporation Output module for programmable controller

Also Published As

Publication number Publication date
JP3719196B2 (en) 2005-11-24

Similar Documents

Publication Publication Date Title
JP6118043B2 (en) Display device
US7610521B2 (en) Communication control system and method for supervising a failure
JP3719196B2 (en) Slave output unit
JP4061489B2 (en) Communication speed control method for fieldbus system
US20230216704A1 (en) Onboard apparatus, onboard communication system, and communication control method
JP3321117B2 (en) Driving method of in-vehicle electronic unit with inspection function
CN108811221B (en) L ED driving device, driving method and L ED lamp
JP2007218453A (en) Air conditioner controller, air conditioner control method, and recording medium recording air conditioner control program
KR101731818B1 (en) Signal control duplex system of traffic signal controller
CN101146145A (en) Automatic testing system and method for power on and power off of transmission device
JP3472891B2 (en) Control communication system
JP2006264890A (en) Self-diagnosis device of elevator control system
JP2014032292A (en) Display device
WO2021261439A1 (en) Laser robot system
JP2003216451A (en) Duplex system device
JP2007045215A (en) Loading synchronous control system
JP3519633B2 (en) Disaster prevention monitoring control panel
JP4026409B2 (en) CPU device for controller, CPU unit, CPU base, and abnormality processing method for CPU device
JP2001355842A (en) Controller for combustion appliance
JP2002116851A (en) Cpu monitoring circuit
JPH08265877A (en) Load drive controller
KR20030060580A (en) Automobile checking system winthin hood and the method
KR200361248Y1 (en) Tilting control device
JPH11346240A (en) Hub device
JPH06292273A (en) Load controller and lighting controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050816

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050829

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3719196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080916

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090916

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090916

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100916

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100916

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110916

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110916

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120916

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130916

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees