JPH1074104A - Input circuit fir controller - Google Patents

Input circuit fir controller

Info

Publication number
JPH1074104A
JPH1074104A JP23097796A JP23097796A JPH1074104A JP H1074104 A JPH1074104 A JP H1074104A JP 23097796 A JP23097796 A JP 23097796A JP 23097796 A JP23097796 A JP 23097796A JP H1074104 A JPH1074104 A JP H1074104A
Authority
JP
Japan
Prior art keywords
input
circuit
sensor
voltage
state detection
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
JP23097796A
Other languages
Japanese (ja)
Inventor
Takeshi Hosoda
剛 細田
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP23097796A priority Critical patent/JPH1074104A/en
Publication of JPH1074104A publication Critical patent/JPH1074104A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To save power consumption and to reduce the heat generation of an input circuit by reducing current consumption in the input circuit in which plural level judging circuits are connected in parallel between input terminals. SOLUTION: This input module 20 for the input circuit is provided with a sensor state detecting circuit 22 arranged in an energizing route from a DC power source 5 to a sensor 4a and capable of inputting a signal expressing the ON of the sensor 4a to a CPU when voltage between input terminals 20a, 20b is more than threshold voltage corresponding to power voltage and a connection state detecting circuit 24 for inputting a signal expressing the normality of wiring with the sensor to the CPU when the inter-terminal voltage is more than a threshold corresponding to a leak current ILeak allowed to flow through a main circuit in the sensor 4a and constituted so that the CPU detects the disconnection of the energizing route when both outputs from the circuits 22, 24 are low levels. When the circuit 22 judges the ON of the sensor 4a, connection between the circuit 24 and the input terminal 20a is interrupted to suppress a current flowing onto the module 20. Consequently the power consumtion of the module 21 can be saved and heat generation can be reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブル・
コントローラ等の制御装置に外部装置からの信号を入力
する入力回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
The present invention relates to an input circuit for inputting a signal from an external device to a control device such as a controller.

【0002】[0002]

【従来の技術】従来より、プログラマブル・コントロー
ラ等の制御装置にセンサやスイッチからの信号を入力す
る入力回路として、入力信号の信号レベルが所定値以上
か否かを判定する複数の判定回路を入力端子に並列に接
続し、各判定回路による判定結果(2値信号)を制御装
置に夫々入力するようにした入力回路が知られている
(例えば、特開昭57−27310号公報参照)。
2. Description of the Related Art Conventionally, as an input circuit for inputting a signal from a sensor or a switch to a control device such as a programmable controller, a plurality of judgment circuits for judging whether a signal level of an input signal is a predetermined value or more are input. 2. Description of the Related Art There is known an input circuit which is connected in parallel to a terminal and inputs a determination result (binary signal) by each determination circuit to a control device (for example, see Japanese Patent Application Laid-Open No. 57-27310).

【0003】即ち、例えば、図7に示す如く、プログラ
マブル・コントローラ(以下、単にP・Cとも記載す
る)において、検出結果に応じてオン・オフ状態が切り
換わる直流2線式センサ(以下、単にセンサともいう)
50からの検出信号(オン・オフ信号)を入力する入力
モジュール60は、DC(直流)電源52からセンサ5
0に電源供給を行う通電経路上に設けられ、その通電経
路に接続された+側入力端子60aと−側入力端子60
bとの間の端子間電圧からセンサ50のオン・オフ状態
を検出するセンサ状態検出回路62と、同じくその端子
間電圧から入力モジュール60へのセンサ50の接続状
態(つまりDC電源52からセンサ50への通電経路の
断線)を検出する接続状態検出回路64と、の2つの判
定回路から構成される。
That is, for example, as shown in FIG. 7, in a programmable controller (hereinafter simply referred to as PC), a DC two-wire sensor (hereinafter simply referred to as “PC”) whose on / off state is switched according to a detection result. (Also called a sensor)
An input module 60 for inputting a detection signal (on / off signal) from the DC 50 supplies a DC (direct current) power 52 to the sensor 5.
0 and a negative input terminal 60a and a negative input terminal 60a which are provided on an energizing path for supplying power to the
b, a sensor state detection circuit 62 for detecting the on / off state of the sensor 50 from the voltage between the terminals, and the connection state of the sensor 50 to the input module 60 from the voltage between the terminals (that is, from the DC power supply 52 to the sensor 50). And a connection state detection circuit 64 for detecting a disconnection of the current supply path).

【0004】そして、この入力モジュール60におい
て、センサ状態検出回路62は、入力端子60a,60
b間に接続された電圧分圧用の抵抗器R1,R2と、抵
抗器R2に並列接続された発光ダイオード及びこの発光
ダイオードからの光を受光してオン状態となるフォトト
ランジスタからなるフォトカプラPC1と、フォトカプ
ラPC1のフォトトランジスタがオン状態であるときに
フォトトランジスタを介してP・C側の電源電圧(+5
V)が印加される信号入力用の抵抗器R5と、を備え、
端子間電圧が、センサ50のオン時にDC電源52から
入力される電源電圧に対応した所定のしきい値電圧以上
であるときに、フォトカプラPC1の発光ダイオードが
発光してフォトトランジスタがオンし、抵抗器R5にP
・C側の電源電圧が印加されて、抵抗器R5からCPU
にHighレベル(+5V)の検出信号VPC1 を入力するよ
うに動作する。
In the input module 60, the sensor state detection circuit 62 includes input terminals 60a, 60
b, voltage dividing resistors R1 and R2, a light-emitting diode connected in parallel to the resistor R2, and a photocoupler PC1 including a phototransistor that receives light from the light-emitting diode and is turned on. When the phototransistor of the photocoupler PC1 is on, the power supply voltage on the PC side (+5) via the phototransistor
V) to which a signal input resistor R5 is applied.
When the inter-terminal voltage is equal to or higher than a predetermined threshold voltage corresponding to the power supply voltage input from the DC power supply 52 when the sensor 50 is turned on, the light emitting diode of the photocoupler PC1 emits light to turn on the phototransistor; P for resistor R5
When the power supply voltage on the C side is applied and the resistor R5 is connected to the CPU
Operates to input a high level (+5 V) detection signal VPC1.

【0005】また、接続状態検出回路64は、入力端子
60a,60b間に接続された電圧分圧用の抵抗器R
3,R4と、抵抗器R4に並列接続された発光ダイオー
ド及びこの発光ダイオードからの光を受光してオン状態
となるフォトトランジスタからなるフォトカプラPC2
と、フォトカプラPC2のフォトトランジスタがオン状
態であるときにフォトトランジスタを介してP・C側の
電源電圧(+5V)が印加される信号入力用の抵抗器R
6と、を備え、端子間電圧が、センサ50のオフ時に通
電経路に流れる漏れ電流ILeakによって生じる電圧に対
応した所定のしきい値電圧以上であるときに、フォトカ
プラPC2の発光ダイオードが発光してフォトトランジ
スタがオンし、抵抗器R6にP・C側の電源電圧が印加
されて、抵抗器R6からCPUにHighレベル(+5V)
の検出信号VPC2 を入力するように動作する。
The connection state detection circuit 64 includes a voltage dividing resistor R connected between the input terminals 60a and 60b.
3, a light-emitting diode connected in parallel with the resistor R4, and a photocoupler PC2 including a phototransistor that receives light from the light-emitting diode and is turned on.
And a signal input resistor R to which a power supply voltage (+5 V) on the PC side is applied via the phototransistor when the phototransistor of the photocoupler PC2 is on.
6. When the inter-terminal voltage is equal to or higher than a predetermined threshold voltage corresponding to the voltage generated by the leakage current ILeak flowing through the current path when the sensor 50 is turned off, the light emitting diode of the photocoupler PC2 emits light. As a result, the phototransistor is turned on, the power supply voltage on the PC side is applied to the resistor R6, and a high level (+5 V) is applied from the resistor R6 to the CPU.
Operates to input the detection signal VPC2.

【0006】尚、図7において、センサ50は、通電経
路に直列に設けられたスイッチング素子としてのトラン
ジスタTrと、このトランジスタTrを検出対象の動作
状態に応じてオン・オフさせる主回路と、トランジスタ
Tr及び主回路を過電圧から保護するツェナーダイオー
ドZDとから構成され、トランジスタTrのオフ時に
は、主回路の動作によって通電経路に漏れ電流ILeakが
流れる。また、入力モジュール60の−側入力端子60
bには、入力端子60a,60b間に直流電圧が逆方向
に印加された際に、入力端子60a,60b間に流れる
電流ICircuit (延いては、センサ状態検出回路62及
び接続状態検出回路64に夫々流れる入力電流IIN及び
Iopw )が逆方向となって、各回路62,64が故障す
るのを防止するための、逆流防止用ダイオードD1が設
けられている。
In FIG. 7, a sensor 50 includes a transistor Tr as a switching element provided in series in an energizing path, a main circuit for turning on / off the transistor Tr in accordance with an operation state of a detection target, and a transistor. Tr and a Zener diode ZD that protects the main circuit from overvoltage. When the transistor Tr is turned off, a leakage current ILeak flows through the conduction path due to the operation of the main circuit. Also, the negative input terminal 60 of the input module 60
b, a current ICircuit flowing between the input terminals 60a and 60b when a DC voltage is applied in the opposite direction between the input terminals 60a and 60b (therefore, the current ICcircuit is applied to the sensor state detection circuit 62 and the connection state detection circuit 64). A backflow prevention diode D1 is provided to prevent the input currents IIN and Iopw) flowing in opposite directions from causing the circuits 62 and 64 to fail.

【0007】[0007]

【発明が解決しようとする課題】しかし、図7に示した
P・Cの入力モジュール60のように、入力端子間に複
数の判定回路を並列接続して、各判定回路からの信号を
制御装置に入力するようにした入力回路では、全ての判
定回路が常時動作することから、入力回路に流れる電流
量(換言すれば入力回路での消費電力)が多くなって、
入力回路が発熱し易くなる、といった問題があった。
However, as in the PC input module 60 shown in FIG. 7, a plurality of judging circuits are connected in parallel between input terminals, and a signal from each judging circuit is transmitted to the control device. In the input circuit configured to input to the input circuit, since all the determination circuits always operate, the amount of current flowing in the input circuit (in other words, the power consumption in the input circuit) increases,
There is a problem that the input circuit easily generates heat.

【0008】即ち、図7に示した入力モジュール60で
は、図8に示すように、入力端子60a,60bが、信
号入力用のケーブルを介して、センサ50及びDC電源
52に接続されると、センサ状態検出回路62の抵抗器
R1,R2とフォトカプラPC1と逆流防止用ダイオー
ドD1、及び接続状態検出回路64の抵抗器R3,R4
とフォトカプラPC2と逆流防止用ダイオードD1によ
り、センサ50の通電経路が形成される。そして、この
経路には、これら各抵抗器R1〜R4と、センサ50及
び信号線の内部抵抗とにより決定される電流ICircuit
が流れ、各回路62,64には、抵抗器R1,R2の抵
抗値と抵抗器R3,R4の抵抗値とにより決定される分
流比に対応した入力電流IIN及びIOPW が夫々流れる
(ICircuit=IIN+Iopw)。
That is, in the input module 60 shown in FIG. 7, when the input terminals 60a and 60b are connected to the sensor 50 and the DC power supply 52 via a signal input cable as shown in FIG. The resistors R1 and R2 of the sensor state detection circuit 62, the photocoupler PC1, the backflow prevention diode D1, and the resistors R3 and R4 of the connection state detection circuit 64
The photocoupler PC2 and the backflow prevention diode D1 form an energization path for the sensor 50. In this path, a current IC Circuit determined by each of the resistors R1 to R4 and the internal resistance of the sensor 50 and the signal line is provided.
Flows through the circuits 62 and 64, and the input currents IIN and IOPW corresponding to the shunt ratios determined by the resistance values of the resistors R1 and R2 and the resistance values of the resistors R3 and R4 flow respectively (ICircuit = IIN + Iopw). ).

【0009】従って、上記各回路62,64では、これ
ら各入力電流IIN,Iopw と抵抗器R1とR2,R3と
R4の抵抗値とで夫々決定される電圧値に応じて、フォ
トカプラPC1,PC2がオン・オフし、センサ50の
オフ時には、センサ状態検出回路62からLow レベルの
信号(センサ状態検出信号VPC1 )を、接続状態検出回
路64からHighレベルの信号(接続状態検出信号VPC2
)を、夫々、発生させて、CPUにセンサ50がオフ
状態である旨を報知し、センサ50のオン時には、これ
ら各回路62,64からHighレベルの信号を発生させ
て、CPUにセンサがオン状態である旨を報知し、しか
も、入力モジュール60とセンサ50及びDC電源52
とを接続するケーブルが外れたり、断線したような場合
には、上記各回路62,64からの出力が共にLow レベ
ルとなって、CPUにケーブルの接続状態の異常を報知
することができる。
Therefore, in each of the circuits 62 and 64, the photocouplers PC1 and PC2 respond to the voltage values determined by the input currents IIN and Iopw and the resistance values of the resistors R1 and R2 and R3 and R4. Are turned on and off, and when the sensor 50 is turned off, a low level signal (sensor state detection signal VPC1) is output from the sensor state detection circuit 62 and a high level signal (connection state detection signal VPC2) is output from the connection state detection circuit 64.
) Is generated to notify the CPU that the sensor 50 is off. When the sensor 50 is turned on, a high-level signal is generated from each of the circuits 62 and 64, and the CPU is turned on by the CPU. The input module 60, the sensor 50, and the DC power supply 52
In the case where the cable connecting the cables is disconnected or broken, the outputs from the circuits 62 and 64 are both at the low level, and the CPU can be notified of an abnormality in the cable connection state.

【0010】しかし、こうした従来の入力モジュール6
0では、その入力端子60a,60bにセンサ50及び
DC電源52が正常に接続されている場合には、センサ
50のオン・オフ状態にかかわらず、センサ状態検出回
路62及び接続状態検出回路64に電流が流れる。この
ため、特に、これら各回路62,64が共にHighレベル
の信号を発生するセンサ50のオン時には、入力モジュ
ール60への入力電流ICircuit が極めて大きくなり、
入力モジュール60での消費電力が多くなって、入力モ
ジュール60が過熱し易くなるのである。
However, such a conventional input module 6
At 0, when the sensor 50 and the DC power supply 52 are normally connected to the input terminals 60a and 60b, regardless of the ON / OFF state of the sensor 50, the sensor state detection circuit 62 and the connection state detection circuit 64 Electric current flows. Therefore, especially when the sensor 50 in which both of the circuits 62 and 64 generate a high level signal is turned on, the input current ICircuit to the input module 60 becomes extremely large.
The power consumption of the input module 60 increases, and the input module 60 is easily overheated.

【0011】なお、こうした入力回路の過熱を防止する
には、入力回路を構成する複数の判定回路を分散配置し
たり、放熱性のよい大型部品を使用することも考えられ
るが、この場合、入力回路を小型化(高密度実装化)す
ることができなくなってしまう。特に、P・Cでは、セ
ンサやスイッチ類からの信号を多数取り込む必要があ
り、これらの信号を取り込む入力部には、上記入力モジ
ュールのような入力回路が多数設けられることから、各
入力回路には、発熱量が少なく小型のものが要求される
が、従来の入力回路は発熱し易く、発熱対策のために判
定回路を分散配置したり大型部品を使用すると、入力回
路が却って大きくなるので、こうした要求に応えること
ができない。
In order to prevent such overheating of the input circuit, it is conceivable to dispose a plurality of decision circuits constituting the input circuit or to use large components having good heat dissipation. The circuit cannot be miniaturized (high-density mounting). In particular, in PC, it is necessary to take in a large number of signals from sensors and switches, and the input section for taking in these signals is provided with a large number of input circuits such as the above-mentioned input module. However, conventional input circuits tend to generate heat easily, and if the judgment circuits are dispersed and large-sized parts are used to prevent heat generation, the input circuit will be rather large. We cannot meet these demands.

【0012】本発明は、こうした問題に鑑みなされたも
ので、上記入力モジュールのように、信号レベル判定用
の判定回路が入力端子間に複数並列接続される制御装置
の入力回路において、入力回路での消費電流を低減して
省電力化を図り、入力回路の発熱量を抑制すること、を
目的とする。
The present invention has been made in view of such a problem. In an input circuit of a control device in which a plurality of determination circuits for determining a signal level are connected in parallel between input terminals as in the above-described input module, the input circuit includes: To reduce power consumption, reduce power consumption, and suppress the amount of heat generated by the input circuit.

【0013】[0013]

【課題を解決するための手段】かかる目的を達成するた
めになされた請求項1に記載の制御装置の入力回路は、
外部装置からの信号を入力する一対の入力端子と、この
入力端子間に並列に接続され、その端子間電圧が互いに
異なる値に設定されたしきい値電圧以上か否かを夫々判
定して、判定結果を制御装置に入力する複数の判定回路
と、を備えるだけでなく、しきい値電圧が入力端子の端
子間電圧以下となる判定回路が複数ある場合に、その複
数の判定回路の内のしきい値電圧が最も大きい判定回路
を除く判定回路と、前記入力端子との接続を遮断する信
号経路遮断手段を備える。
According to an aspect of the present invention, there is provided an input circuit for a control device, comprising:
A pair of input terminals for inputting a signal from an external device and connected in parallel between the input terminals, and determine whether the voltage between the terminals is equal to or greater than a threshold voltage set to different values, respectively, A plurality of determination circuits for inputting the determination result to the control device, and when there are a plurality of determination circuits having a threshold voltage equal to or lower than the terminal voltage of the input terminal, among the plurality of determination circuits, A determination circuit excluding the determination circuit having the largest threshold voltage; and a signal path blocking unit configured to block connection to the input terminal.

【0014】このため、本発明の入力回路によれば、例
えば、入力端子間に並列接続される判定回路が3個あ
り、端子間電圧がこれら各判定回路のしきい値電圧以上
であるような場合には、信号経路遮断手段によって、3
個の判定回路の内のしきい値電圧が最も高い判定回路を
除く2つの判定回路と入力端子との接続が遮断され、ま
た端子間電圧が、しきい値電圧が最も高い判定回路のし
きい値電圧よりも低く、他の2つの判定回路のしきい値
電圧以上であるような場合には、信号経路遮断手段によ
って、その2つの判定回路の内のしきい値電圧が低い方
の判定回路と入力端子との接続が遮断されることにな
る。
Therefore, according to the input circuit of the present invention, for example, there are three judging circuits connected in parallel between the input terminals, and the voltage between the terminals is equal to or higher than the threshold voltage of each judging circuit. In this case, 3
The connection between the input terminals and the two determination circuits except for the determination circuit having the highest threshold voltage among the determination circuits is cut off, and the terminal-to-terminal voltage is the threshold of the determination circuit having the highest threshold voltage. In the case where the threshold voltage is lower than the threshold voltage and equal to or higher than the threshold voltages of the other two determination circuits, the signal path cutoff means determines which of the two determination circuits has the lower threshold voltage. And the input terminal is disconnected.

【0015】つまり、入力端子に複数の判定回路が接続
された入力回路においては、しきい値電圧が端子間電圧
以下となる判定回路が複数存在する場合、その内のしき
い値電圧が最も大きい判定回路からの出力を制御装置に
入力するようにしても、制御装置に対して、端子間電圧
を報知することができる。そこで本発明では、しきい値
電圧が端子間電圧以下となる判定回路が複数ある場合
に、その内のしきい値電圧が最も高い判定回路を除く判
定回路と入力端子との接続を遮断することにより、その
接続を遮断した判定回路に流れる電流を零にして、入力
端子から入力回路に流れ込む電流量を抑制するのであ
る。
That is, in an input circuit in which a plurality of determination circuits are connected to an input terminal, when there are a plurality of determination circuits whose threshold voltages are lower than the inter-terminal voltage, the threshold voltage among them is the largest. Even when the output from the determination circuit is input to the control device, the terminal voltage can be notified to the control device. Therefore, in the present invention, when there are a plurality of determination circuits whose threshold voltage is equal to or lower than the terminal voltage, the connection between the determination circuit except for the determination circuit having the highest threshold voltage and the input terminal is cut off. As a result, the current flowing in the determination circuit whose connection is cut off is reduced to zero, and the amount of current flowing from the input terminal to the input circuit is suppressed.

【0016】従って、本発明によれば、端子間電圧の判
定結果を制御装置に入力する入力回路としての機能を損
なうことなく、入力回路における消費電力を低減して、
入力回路の発熱を抑制することができる。またこのよう
に、本発明によれば、入力回路の省電力化を図り、発熱
を抑えることができるので、入力回路における回路素子
の高密度実装化を図り、入力回路を小型化することも可
能になる。
Therefore, according to the present invention, the power consumption in the input circuit can be reduced without impairing the function as an input circuit for inputting the determination result of the voltage between terminals to the control device.
Heat generation of the input circuit can be suppressed. Further, as described above, according to the present invention, power consumption of the input circuit can be reduced and heat generation can be suppressed, so that high-density mounting of circuit elements in the input circuit can be achieved and the input circuit can be downsized. become.

【0017】尚、本発明において、端子間電圧が各判定
回路のしきい値電圧よりも低い場合には、入力端子との
接続が遮断される判定回路はなく、全ての判定回路が入
力端子に接続されるが、この場合には、入力端子から各
判定回路に流れ込む電流量が少なく、発熱量も少なくな
る。従って、本発明において、信号経路遮断手段によっ
て入力端子との接続が遮断される判定回路が存在しない
か或は少なくなっても、入力回路全体で消費される電力
が多くなるようなことはなく、入力回路の省電力化を良
好に実現できる。
In the present invention, when the inter-terminal voltage is lower than the threshold voltage of each judgment circuit, there is no judgment circuit for disconnecting the connection with the input terminal, and all the judgment circuits are connected to the input terminals. In this case, the amount of current flowing from the input terminal to each determination circuit is small, and the amount of heat generation is also small. Therefore, in the present invention, even if there is no or a small number of judgment circuits whose connection with the input terminal is cut off by the signal path cutoff means, the power consumed by the entire input circuit does not increase. Power saving of the input circuit can be favorably realized.

【0018】ここで、本発明の入力回路としては、例え
ば、しきい値電圧を所定の分解能で設定した多数の判定
回路を入力端子に並列接続することにより、外部装置か
らのアナログ入力電圧を各判定回路のしきい値電圧の分
解能にてデジタル値に変換するA/D変換器にも適用で
きるし、図7に示した入力モジュールのように、2つの
判定回路を用いて、所定条件にてオン・オフ状態が切り
換えられるセンサ装置のオン・オフ状態と、そのセンサ
装置と入力端子との接続状態とを夫々検出する、スイッ
チ式のセンサ装置の入力回路にも適用できる。
Here, as the input circuit of the present invention, for example, by connecting a large number of determination circuits, each having a threshold voltage set at a predetermined resolution, to an input terminal, an analog input voltage from an external device can be applied to each input terminal. The present invention can be applied to an A / D converter for converting a digital value into a digital value at the resolution of the threshold voltage of the determination circuit, or under a predetermined condition using two determination circuits as in the input module shown in FIG. The present invention is also applicable to an input circuit of a switch-type sensor device that detects an on / off state of a sensor device whose on / off state is switched and a connection state between the sensor device and an input terminal.

【0019】そして、こうしたスイッチ式のセンサ装置
の入力回路を構成する場合には、例えば、請求項2に記
載のように、入力端子には、センサ装置を介して電源を
接続し、請求項1に記載の複数の判定回路として、入力
端子の端子間電圧が電源電圧に対応したしきい値電圧以
上であるか否かを判定することにより、センサ装置のオ
ン・オフ状態を検出するセンサ状態検出回路と、端子間
電圧が、センサ装置のオフ時にセンサ装置を流れる電流
に対応した、センサ状態検出回路のしきい値電圧よりも
低いしきい値電圧以上であるか否かを判定することによ
り、入力端子と前記センサ装置との接続状態を検出する
接続状態検出回路とを備え、信号経路遮断手段を、セン
サ状態検出回路にてセンサ装置のオン状態が検出されて
いるとき、入力端子と接続状態検出回路との接続を遮断
するように構成すればよい。
When an input circuit of such a switch-type sensor device is constructed, for example, a power supply is connected to the input terminal via the sensor device. A plurality of determination circuits for detecting whether the voltage between the input terminals is equal to or higher than a threshold voltage corresponding to the power supply voltage, thereby detecting an on / off state of the sensor device. By determining whether the voltage between the circuit and the terminal is equal to or higher than a threshold voltage lower than the threshold voltage of the sensor state detection circuit corresponding to the current flowing through the sensor device when the sensor device is off, A connection state detection circuit for detecting a connection state between the input terminal and the sensor device, wherein a signal path cutoff means is provided when the sensor state detection circuit detects the ON state of the sensor device; It may be configured to cut off the connection between the connected state detecting circuit.

【0020】但し、このような入力回路を用いてセンサ
装置のオン・オフ状態及び入力端子とセンサ装置との接
続状態を検出する場合、センサ装置には、請求項2に記
載のように、そのオフ時には、オン時よりも少ない電流
が流れるものを使用する必要がある。従って、センサ装
置が図7に示したような直流2線式センサであれば、内
部回路(主回路)の動作によって、センサ装置のオフ時
にもリーク電流が流れるので問題がないが、後述の直流
3線式センサのように、センサ装置内にてオン・オフさ
れるスイッチング素子と、スイッチング素子をオン・オ
フさせる内部回路(主回路)との通電経路が異なる場合
には、スイッチング素子のオン・オフ状態検出のため
に、スイッチング素子の通電経路に入力回路を接続した
際、スイッチング素子のオフ時にも接続状態検出用の電
流が流れるように、センサ装置を一部改造する必要はあ
る。
However, when the ON / OFF state of the sensor device and the connection state between the input terminal and the sensor device are detected by using such an input circuit, the sensor device is provided with the following features. At the time of off, it is necessary to use a device through which a smaller amount of current flows than at the time of on. Therefore, if the sensor device is a DC two-wire sensor as shown in FIG. 7, there is no problem because the leak current flows even when the sensor device is turned off due to the operation of the internal circuit (main circuit). As in the case of a three-wire sensor, if the energization path of the switching element that is turned on and off in the sensor device and the internal circuit (main circuit) that turns on and off the switching element are different, the on / off state of the switching element is changed. When the input circuit is connected to the conduction path of the switching element for detecting the OFF state, it is necessary to partially modify the sensor device so that the current for detecting the connection state flows even when the switching element is OFF.

【0021】またこのようにセンサ装置のオン・オフ状
態を検出する場合、センサ装置が交流駆動式のものであ
れば、入力端子には、センサ装置を介して交流電源が入
力されることになるが、この場合には、例えば、判定回
路を、交流電圧をしきい値電圧と大小判定可能に構成す
るか、或は、端子間電圧を整流・平滑化する信号処理回
路を別途設け、この信号処理回路からの入力電圧を直流
電圧判定用の判定回路に入力するようにすればよい。
When the on / off state of the sensor device is detected as described above, if the sensor device is of the AC drive type, an AC power is input to the input terminal via the sensor device. However, in this case, for example, the determination circuit is configured to be able to determine the magnitude of the AC voltage as the threshold voltage, or a signal processing circuit for rectifying and smoothing the voltage between terminals is separately provided, What is necessary is just to input the input voltage from the processing circuit to the determination circuit for determining the DC voltage.

【0022】一方、請求項2に記載のように、入力回路
を、センサ装置のオン・オフ状態及び入力回路とセンサ
装置との接続状態を夫々検出するように構成する場合に
は、請求項3に記載のように、センサ状態検出回路及び
接続状態検出回路を、夫々、発光素子と受光素子とから
なるフォトカプラと、入力端子間に接続され、その端子
間電圧を分圧した電圧を発光素子に印加することによ
り、端子間電圧がしきい値電圧以上であるときに発光素
子を発光させる分圧回路と、から構成し、受光素子を介
して制御装置に判定信号を入力するようにすればよい。
On the other hand, when the input circuit is configured to detect the on / off state of the sensor device and the connection state between the input circuit and the sensor device, respectively, the input circuit may be configured as follows. As described in, the sensor state detection circuit and the connection state detection circuit are connected between a photocoupler including a light emitting element and a light receiving element, respectively, and an input terminal, and a voltage obtained by dividing the voltage between the terminals is used as a light emitting element. A voltage dividing circuit that causes the light emitting element to emit light when the voltage between the terminals is equal to or higher than the threshold voltage, and a determination signal is input to the control device via the light receiving element. Good.

【0023】つまり、入力回路を、図7に示した入力モ
ジュールのように、フォトカプラと分圧回路とから構成
すれば、フォトカプラにより、入力端子に接続されるセ
ンサ装置側の信号経路と、制御装置側の信号経路とを、
完全に遮断することができ、センサ装置側から入力され
たノイズ等が、入力回路を介して、制御装置側に入力さ
れ、制御装置が誤動作する、といったことを防止でき
る。
That is, if the input circuit is composed of a photocoupler and a voltage dividing circuit as in the input module shown in FIG. 7, the signal path on the sensor device side connected to the input terminal by the photocoupler, The signal path on the control device side
It is possible to completely cut off the noise and prevent noise or the like input from the sensor device from being input to the control device via the input circuit and causing the control device to malfunction.

【0024】また、本発明は、外部装置からの信号を制
御装置に入力する入力回路であれば適用できるが、特
に、請求項4に記載のように、プログラマブル・コント
ローラにおいて、センサやスイッチ類等の外部装置から
の信号を入力する入力回路に適用すれば、プログラマブ
ル・コントローラの入力部における消費電力を低減し、
入力部での発熱を抑えることができる。
The present invention can be applied to any input circuit for inputting a signal from an external device to a control device. In particular, in a programmable controller, a sensor, a switch, etc. When applied to an input circuit that inputs signals from external devices, the power consumption at the input section of the programmable controller can be reduced,
Heat generation at the input unit can be suppressed.

【0025】つまり、既述したように、プログラマブル
・コントローラでは、センサやスイッチ類からの信号を
多数取り込む必要があり、これらの信号を取り込む入力
部には、多数の入力回路が設けられるが、本発明によれ
ば、その入力部に設けられる各入力回路の省電力化を図
り、発熱を抑制できることから、本発明を、プログラマ
ブル・コントローラの入力回路に適用すれば、その入力
部での消費電力を低減して発熱を抑えることができるの
である。
That is, as described above, in a programmable controller, it is necessary to take in many signals from sensors and switches, and an input section for taking in these signals is provided with many input circuits. According to the invention, the power consumption of each input circuit provided in the input unit can be reduced and the heat generation can be suppressed. Therefore, if the present invention is applied to the input circuit of the programmable controller, the power consumption in the input unit can be reduced. It is possible to reduce the heat generation.

【0026】また本発明によれば、入力回路の発熱量を
抑えつつ入力回路を小型化できるので、本発明をプログ
ラマブル・コントローラに適用すれば、多数の入力回路
が設けられる入力部を小さくして、プログラマブル・コ
ントローラの小型化を図ることも可能である。
Further, according to the present invention, the input circuit can be downsized while suppressing the heat generation of the input circuit. Therefore, if the present invention is applied to a programmable controller, the input section provided with a large number of input circuits can be reduced in size. In addition, the size of the programmable controller can be reduced.

【0027】[0027]

【発明の実施の形態】以下に、本発明の実施例を図面と
共に説明する。まず図1は本発明が適用されたプログラ
マブル・コントローラ(P・C)2とその周辺装置の構
成を表わす概略構成図である。
Embodiments of the present invention will be described below with reference to the drawings. First, FIG. 1 is a schematic configuration diagram showing the configuration of a programmable controller (PC) 2 to which the present invention is applied and its peripheral devices.

【0028】図1に示す如く、本実施例のP・C2は、
工場の自動化ラインの制御装置として使用されるもので
あり、CPUを中心とするマイクロコンピュータからな
る演算部10と、演算部10での演算動作に必要なプロ
グラムや各種データが記憶される記憶部12と、工場の
自動化ラインに配置されたデジタルSW,近接SW,セ
レクタSW,押しボタンSW,リミットSW(但し、S
Wはスイッチを表わす)等からなる操作・検出部4から
の信号を入力する入力部14と、工場の自動化ラインに
配置されたパイロットランプ,電磁弁,数字表示器,モ
ータ等からなる表示・駆動部6に駆動用の信号を出力す
る出力部16と、これら各部10〜16を接続するバス
ライン18とから構成される。
As shown in FIG. 1, PC C2 of this embodiment is
It is used as a control device of an automation line in a factory, and includes an arithmetic unit 10 composed of a microcomputer mainly including a CPU, and a storage unit 12 in which programs and various data necessary for arithmetic operations in the arithmetic unit 10 are stored. And the digital SW, proximity SW, selector SW, push button SW, and limit SW (although S
W represents a switch) and an input unit 14 for inputting a signal from an operation / detection unit 4, and a display / drive unit including a pilot lamp, a solenoid valve, a numeric display, a motor, and the like arranged on an automation line of a factory. It comprises an output section 16 for outputting a driving signal to the section 6 and a bus line 18 connecting these sections 10 to 16.

【0029】そして、P・C2においては、演算部10
の制御の下に、入力部14が、操作・検出部4を構成す
るリミットSWや近接SW等からの信号を取り込み、演
算部10が、入力部14を介して取り込んだ入力信号に
基づき、表示・駆動部6を構成する各部の制御量を演算
し、出力部16から表示・駆動部6に、その演算結果に
対応した駆動信号を出力させる。
Then, in PC2, the operation unit 10
Under the control of (1), the input unit 14 fetches signals from limit SWs, proximity SWs, and the like that constitute the operation / detection unit 4, and the arithmetic unit 10 displays based on the input signals fetched via the input unit 14. Calculate the control amount of each part constituting the drive unit 6 and make the output / output unit 16 output a drive signal corresponding to the calculation result from the output unit 16.

【0030】次に、図2は、操作・検出部4を構成する
各種スイッチからの信号を個々に取り込むために、各ス
イッチに対応してP・C2の入力部14に設けられた入
力モジュール20の構成を表わす。尚、図2に示す入力
モジュール20は、図7に示した従来の入力モジュール
60と同様、リミットSWや近接SW等を構成する直流
2線式センサ(以下、単にセンサという)4aからの信
号を取り込むようにされている。
Next, FIG. 2 shows an input module 20 provided in the input section 14 of the PC 2 corresponding to each switch in order to individually take in signals from various switches constituting the operation / detection section 4. Represents the configuration of The input module 20 shown in FIG. 2 receives a signal from a DC two-wire sensor (hereinafter simply referred to as a sensor) 4a constituting a limit switch, a proximity switch, etc., similarly to the conventional input module 60 shown in FIG. It is designed to capture.

【0031】図2に示す如く、本実施例の入力モジュー
ル20は、図7に示した従来の入力モジュール60と同
様、DC電源5からセンサ4aに電源供給を行う通電経
路上に設けられ、その通電経路に接続された+側入力端
子20aと−側入力端子20bとの間の端子間電圧から
センサ4aのオン・オフ状態を検出するセンサ状態検出
回路22と、同じくその端子間電圧から入力モジュール
20へのセンサ4aの接続状態を検出する接続状態検出
回路24と、の2つの判定回路から構成される。
As shown in FIG. 2, the input module 20 of this embodiment is provided on an energizing path for supplying power from the DC power supply 5 to the sensor 4a, similarly to the conventional input module 60 shown in FIG. A sensor state detection circuit 22 for detecting the on / off state of the sensor 4a from a terminal voltage between the + input terminal 20a and the-input terminal 20b connected to the current path; And a connection state detection circuit 24 for detecting the connection state of the sensor 4a to the sensor 20.

【0032】そして、この入力モジュール20におい
て、センサ状態検出回路22及び接続状態検出回路24
は、図7に示したセンサ状態検出回路62及び接続状態
検出回路64と全く同様に構成されており、入力モジュ
ール20と図7に示した従来の入力モジュール60との
異なる点は、センサ状態検出回路22の抵抗器R5から
演算部10内のCPUに至る検出信号の入力ラインとP
・C2側の電源ライン(+5V)との間(換言すればフ
ォトカプラPC1を構成するフォトトランジスタのコレ
クタ−エミッタ間)に、抵抗器R8,R9の直列回路を
接続すると共に、これら抵抗器R8,R9の接続点に、
PNPトランジスタTR1のベースを接続し、このPN
PトランジスタTR1のエミッタを、P・C2側の電源
ライン(+5V)に接続し、このPNPトランジスタT
R1のコレクタを、フォトカプラPC3を構成する発光
ダイオード及び電流制限用の抵抗器R7を介して、P・
C2のグランドライン(0V)に接地し、更に、フォト
カプラPC3を構成するフォトトランジスタを、入力モ
ジュール20の+側入力端子20aと接続状態検出回路
24との間の信号経路に設けた点である。
In the input module 20, the sensor state detecting circuit 22 and the connection state detecting circuit 24
Is configured in exactly the same way as the sensor state detection circuit 62 and the connection state detection circuit 64 shown in FIG. 7, and the difference between the input module 20 and the conventional input module 60 shown in FIG. The input line of the detection signal from the resistor R5 of the circuit 22 to the CPU in the arithmetic section 10 and P
A series circuit of resistors R8 and R9 is connected between the power supply line (+ 5V) on the C2 side (in other words, between the collector and the emitter of the phototransistor constituting the photocoupler PC1). At the connection point of R9,
The base of the PNP transistor TR1 is connected, and this PN
The emitter of the P transistor TR1 is connected to the power line (+5 V) on the PC2 side, and this PNP transistor T
The collector of R1 is connected via a light emitting diode constituting the photocoupler PC3 and a current limiting resistor R7 to P ·
It is grounded to the ground line (0 V) of C2, and a phototransistor constituting the photocoupler PC3 is provided in a signal path between the + input terminal 20a of the input module 20 and the connection state detection circuit 24. .

【0033】このように構成された本実施例の入力モジ
ュール20においては、図3に示すように、入力端子2
0a,20bが、信号入力用のケーブルを介して、セン
サ4a及びDC電源5に接続されていない場合(未配
線)や、ケーブルが外れたり、ケーブルが断線した場合
には、センサ4a側から入力モジュール20に電流ICi
rcuit が流れ込むことはない。従って、この場合には、
センサ状態検出回路22及び接続状態検出回路24の入
力電流IIN及びIopw が零となって、これら各回路2
2,24からの出力VPC1及びVPC2は共にLow レベルと
なり、図7に示した従来の入力モジュール60と同様、
CPU側に、ケーブルが正常に接続されていない旨を報
知することができる。
In the input module 20 of the present embodiment having the above-described configuration, as shown in FIG.
In the case where 0a and 20b are not connected to the sensor 4a and the DC power supply 5 via the signal input cable (unwired), the cable is disconnected, or the cable is disconnected, the input from the sensor 4a side. The current ICi
No rcuit flows in. Therefore, in this case,
The input currents IIN and Iopw of the sensor state detection circuit 22 and the connection state detection circuit 24 become zero,
The outputs VPC1 and VPC2 from the terminals 2 and 24 are both at the low level, similar to the conventional input module 60 shown in FIG.
It is possible to notify the CPU that the cable is not properly connected.

【0034】また、入力モジュール20とセンサ4a及
びDC電源5とがケーブルを介して正常に接続されてい
る状態で、センサ4aがオフ状態になっている場合に
は、まず、センサ状態検出回路22の抵抗器R1,R2
により、センサ4aの通電経路が形成される。そして、
この場合、センサ状態検出回路22の入力電流IINは、
センサ4aのオフ時に流れるリーク電流ILeakに対応し
た微小電流となるため、センサ状態検出回路22のフォ
トカプラPC1はオフ状態となり、センサ状態検出信号
VPC1 がLow レベルとなる。
If the sensor 4a is turned off while the input module 20 is normally connected to the sensor 4a and the DC power supply 5 via a cable, the sensor state detecting circuit 22 Resistors R1, R2
Thus, an energization path for the sensor 4a is formed. And
In this case, the input current IIN of the sensor state detection circuit 22 is
Since the current becomes a small current corresponding to the leak current ILeak flowing when the sensor 4a is turned off, the photocoupler PC1 of the sensor state detection circuit 22 is turned off, and the sensor state detection signal VPC1 becomes low level.

【0035】一方、センサ状態検出信号VPC1 がLow レ
ベルであれば、PNPトランジスタTR1はオン状態と
なり、フォトカプラPC3の発光ダイオードに電流が流
れて、フォトダイオードがオンするため、接続状態検出
回路24の抵抗器R3,R4にも、リーク電流ILeakに
対応した電流が流れる。そして、接続状態検出回路24
では、このリーク電流ILeakに対応した微小電流にてフ
ォトカプラPC2がオンするため、接続状態検出信号V
PC2 はHighレベルとなる。
On the other hand, if the sensor state detection signal VPC1 is at the low level, the PNP transistor TR1 is turned on, and a current flows through the light emitting diode of the photocoupler PC3 to turn on the photodiode. A current corresponding to the leak current ILeak also flows through the resistors R3 and R4. Then, the connection state detection circuit 24
In this case, the photocoupler PC2 is turned on by a very small current corresponding to the leak current ILeak.
PC2 becomes High level.

【0036】この結果、本実施例の入力モジュール20
においては、センサ4aがオフ状態にある場合には、セ
ンサ状態検出回路22からの出力(センサ状態検出信
号)VPC1 がLow レベル、接続状態検出回路24からの
出力(接続状態検出信号)VPC2 がHighレベルとなっ
て、図7に示した従来の入力モジュール60と同様、C
PU側に、センサ4aがオフ状態である旨を報知するこ
とができる。
As a result, the input module 20 of this embodiment
When the sensor 4a is in the off state, the output (sensor state detection signal) VPC1 from the sensor state detection circuit 22 is at a low level, and the output (connection state detection signal) VPC2 from the connection state detection circuit 24 is at a high level. Level, and as with the conventional input module 60 shown in FIG.
The PU side can be notified that the sensor 4a is off.

【0037】次に、入力モジュール20とセンサ4a及
びDC電源5とがケーブルを介して正常に接続されてい
る状態で、センサ4aがオン状態になった場合には、D
C電源5からの出力電圧が入力端子20a,20b間に
殆どそのまま印加されることから、センサ状態検出回路
22の入力電流IINが、この電圧により大電流となっ
て、センサ状態検出信号VPC1 は、図7に示した従来の
入力モジュール60と同様、Highレベルになる。
Next, when the sensor 4a is turned on while the input module 20 is normally connected to the sensor 4a and the DC power supply 5 via a cable, D
Since the output voltage from the C power supply 5 is applied almost as it is between the input terminals 20a and 20b, the input current IIN of the sensor state detection circuit 22 becomes a large current due to this voltage, and the sensor state detection signal VPC1 becomes As in the case of the conventional input module 60 shown in FIG.

【0038】しかし、センサ状態検出信号VPC1 がHigh
レベルになると、PNPトランジスタTR1がオフ状態
となって、フォトカプラPC3の発光ダイオードに電流
が流れず、フォトカプラPC3(詳しくはフォトトラン
ジスタ)がオフすることから、センサ4aのオン時に
は、接続状態検出回路24と+側入力端子20aとの接
続が遮断され、接続状態検出回路24の抵抗器R3,R
4には電流が流れず、接続状態検出回路24の動作が停
止されることになる。
However, when the sensor state detection signal VPC1 is high.
When the sensor 4a is turned on, the PNP transistor TR1 is turned off, no current flows through the light emitting diode of the photocoupler PC3, and the photocoupler PC3 (specifically, the phototransistor) is turned off. The connection between the circuit 24 and the + input terminal 20a is cut off, and the resistors R3, R
4, no current flows, and the operation of the connection state detection circuit 24 is stopped.

【0039】この結果、本実施例の入力モジュール20
においては、センサ4aがオン状態にある場合には、セ
ンサ状態検出回路22からの出力(センサ状態検出信
号)VPC1 がHighレベル、接続状態検出回路24からの
出力(接続状態検出信号)VPC2 がLow レベルとなる。
As a result, the input module 20 of this embodiment
When the sensor 4a is in the ON state, the output (sensor state detection signal) VPC1 from the sensor state detection circuit 22 is at a high level, and the output (connection state detection signal) VPC2 from the connection state detection circuit 24 is at a low level. Level.

【0040】この場合のCPUへの入力信号VPC1,VP
C2は、図7に示した従来の入力モジュール60とは異な
るものの、CPU側では、センサ状態検出回路22から
のセンサ状態検出信号VPC1 がHighレベルであれば、セ
ンサ4aがオン状態であり、入力モジュール20とセン
サ4a及びDC電源5との接続状態は正常であることを
判定できることから、演算部10側での制御動作に悪影
響を与えることはなく、P・C2は正常動作することが
できる。
In this case, the input signals VPC1, VP to the CPU are
Although C2 is different from the conventional input module 60 shown in FIG. 7, on the CPU side, when the sensor state detection signal VPC1 from the sensor state detection circuit 22 is at the high level, the sensor 4a is in the on state, Since it can be determined that the connection state between the module 20, the sensor 4a, and the DC power supply 5 is normal, the control operation on the arithmetic unit 10 side is not adversely affected, and the PC 2 can operate normally.

【0041】そして、この場合、接続状態検出回路24
は+側入力端子20aと遮断され、接続状態検出回路2
4の入力電流Iopw は零になることから、例えば、セン
サ状態検出回路22内の抵抗器R1と接続状態検出回路
24内の抵抗器R3との抵抗比を1:1であるとすれ
ば、入力モジュール20に流れる電流ICircuit は、図
7に示した従来の入力モジュール60の略半分(50
%)となる。つまり、本実施例では、従来の入力モジュ
ール60において、センサ50のオン時に接続状態検出
回路64に流れる、図8にハッチングを付与した電流分
を削減し、このとき入力モジュール20に流れる電流I
Circuit を低減しているのである。
In this case, the connection state detection circuit 24
Is disconnected from the + input terminal 20a and the connection state detection circuit 2
4, the input current Iopw becomes zero. For example, if the resistance ratio between the resistor R1 in the sensor state detection circuit 22 and the resistor R3 in the connection state detection circuit 24 is 1: 1, The current I Circuit flowing through the module 20 is approximately half (50) of the conventional input module 60 shown in FIG.
%). That is, in the present embodiment, in the conventional input module 60, the current that flows through the connection state detection circuit 64 when the sensor 50 is turned on and is hatched in FIG.
Circuit is reduced.

【0042】このため、本実施例によれば、入力モジュ
ール20における電力消費量を低減して、入力モジュー
ル20の発熱を抑制することができる。またこのよう
に、入力モジュール20の電力消費量を低減してその発
熱を抑制できるので、入力モジュール20を構成する回
路素子の高密度実装化を図り、入力モジュール20,延
いてはP・C2を小型化することも可能になる。
Therefore, according to the present embodiment, the power consumption of the input module 20 can be reduced, and the heat generation of the input module 20 can be suppressed. In addition, since the power consumption of the input module 20 can be reduced and the heat generation thereof can be suppressed, the circuit elements constituting the input module 20 can be mounted at a high density, and the input module 20 and, consequently, the PC2 can be mounted. It is also possible to reduce the size.

【0043】ここで、上記実施例では、センサ4aがオ
ン状態で、入力端子20a,20bにDC電源5の出力
電圧が略そのまま印加される場合に、フォトカプラPC
1,PC2がオンする際のしきい値が高いセンサ状態検
出回路22のみを動作させ、接続状態検出回路24と+
側入力端子20aとの接続を遮断するための信号経路遮
断手段として、PNPトランジスタTR1とフォトカプ
ラPC3と抵抗器R7〜R9とからなる信号経路遮断回
路を使用し、センサ状態検出回路22からの出力に応じ
て、その出力(センサ状態検出信号)がHighレベルであ
るときに、接続状態検出回路24と+側入力端子20a
との接続を遮断するように構成した。
Here, in the above embodiment, when the output voltage of the DC power supply 5 is applied to the input terminals 20a, 20b substantially as it is while the sensor 4a is on, the photocoupler PC
1, only the sensor state detection circuit 22 having a high threshold when the PC2 is turned on is operated, and the connection state detection circuit 24
A signal path cutoff circuit including a PNP transistor TR1, a photocoupler PC3, and resistors R7 to R9 is used as a signal path cutoff means for cutting off the connection with the side input terminal 20a. When the output (sensor state detection signal) is at the high level, the connection state detection circuit 24 and the + side input terminal 20a
It was configured to cut off the connection with

【0044】しかし、こうした信号経路遮断手段として
の機能を実現するためには、必ずしもセンサ状態検出回
路22からの出力を利用する必要はなく、入力端子20
a,20bの端子間電圧に応じて、接続状態検出回路2
4と入力端子20a(又は20b)との接続を遮断する
ようにしてもよい。
However, in order to realize such a function as the signal path cutoff means, it is not always necessary to use the output from the sensor state detection circuit 22.
a, 20b according to the voltage between the terminals.
4 and the input terminal 20a (or 20b) may be disconnected.

【0045】以下、このように入力端子の端子間電圧に
基づき、接続状態検出回路24と+側入力端子(又は−
側入力端子)との接続を遮断するようにした入力モジュ
ールについて、図4及び図5を用いて説明する。まず図
4に示す入力モジュール30は、上記実施例の入力モジ
ュール20と同様、DC電源5からセンサ4aに電源供
給を行う通電経路上に設けられ、その通電経路に接続さ
れた+側入力端子30aと−側入力端子30bとの間の
端子間電圧からセンサ4aのオン・オフ状態を検出する
センサ状態検出回路32と、同じくその端子間電圧から
入力モジュール30へのセンサ4aの接続状態を検出す
る接続状態検出回路34と、の2つの判定回路から構成
される。
Hereinafter, based on the inter-terminal voltage of the input terminals, the connection state detecting circuit 24 and the + input terminal (or-
An input module configured to cut off connection with the input terminal will be described with reference to FIGS. First, similarly to the input module 20 of the above embodiment, the input module 30 shown in FIG. 4 is provided on an energizing path for supplying power from the DC power supply 5 to the sensor 4a, and the + input terminal 30a connected to the energizing path. A sensor state detection circuit 32 for detecting the on / off state of the sensor 4a from a voltage between terminals between the input terminal 30b and the negative input terminal 30b, and a connection state of the sensor 4a to the input module 30 from the voltage between the terminals. And a connection state detection circuit 34.

【0046】そして、この入力モジュール30におい
て、センサ状態検出回路32及び接続状態検出回路34
は、上記実施例のセンサ状態検出回路22及び接続状態
検出回路24と全く同様に構成されており、上記実施例
の入力モジュール20と異なる点は、センサ状態検出回
路22からの出力がHighレベルであるときに、接続状態
検出回路24と+側入力端子20aとの接続を遮断する
ための、PNPトランジスタTR1,フォトカプラPC
3,及び抵抗器R7〜R9からなる通電経路遮断回路に
代えて、入力端子30a,30b間に設けられた抵抗器
R11〜R15及びPNPトランジスタTR11と、接
続状態検出回路34と+側入力端子30aとの間に設け
られたPNPトランジスタTR12とからなる通電経路
遮断回路を設けた点である。
In the input module 30, the sensor state detection circuit 32 and the connection state detection circuit 34
Is configured in exactly the same way as the sensor state detection circuit 22 and the connection state detection circuit 24 of the above-described embodiment. The difference from the input module 20 of the above-described embodiment is that the output from the sensor state detection circuit 22 is at a high level. At one time, a PNP transistor TR1 and a photocoupler PC for cutting off the connection between the connection state detection circuit 24 and the + side input terminal 20a.
3 and resistors R11 to R15 and a PNP transistor TR11 provided between input terminals 30a and 30b, a connection state detection circuit 34, and a + side input terminal 30a, instead of an energization path cutoff circuit including resistors R7 to R9. This is the point that an energization path cutoff circuit composed of a PNP transistor TR12 provided between the circuit and the PNP transistor TR12 is provided.

【0047】即ち、図4の入力モジュール30において
は、入力端子30a,30b間に、ダイオードD1を介
して、抵抗器R11及びR12が接続され、これら抵抗
器R11及びR12の接続点には、PNPトランジスタ
TR11のベースが接続されている。またPNPトラン
ジスタTR11のエミッタは、+側入力端子30aに接
続され、コレクタは、抵抗器R13及びダイオードD1
を介して、−側入力端子30bに接続されている。
That is, in the input module 30 of FIG. 4, the resistors R11 and R12 are connected between the input terminals 30a and 30b via the diode D1, and the connection point of the resistors R11 and R12 is connected to the PNP. The base of the transistor TR11 is connected. The emitter of the PNP transistor TR11 is connected to the + input terminal 30a, and the collector is connected to the resistor R13 and the diode D1.
Is connected to the negative input terminal 30b.

【0048】そして、接続状態検出回路34と+側入力
端子30aとの間には、コレクタが接続状態検出回路3
4に、エミッタが+側入力端子30aに、夫々接続さ
れ、ベースが、PNPトランジスタTR11と抵抗器R
13との接続点に抵抗器R14を介して接続されると共
に、抵抗器R15を介して+側入力端子30aに接続さ
れた、PNPトランジスタTR12が設けられている。
The collector is connected between the connection state detecting circuit 34 and the + input terminal 30a.
4, the emitter is connected to the + input terminal 30a, respectively, and the base is connected to the PNP transistor TR11 and the resistor R.
13 is provided with a PNP transistor TR12 which is connected via a resistor R14 to a connection point with the input terminal 13 and connected to a + input terminal 30a via a resistor R15.

【0049】このように構成された図4の入力モジュー
ル30では、PNPトランジスタTR11がオフ状態で
あれば、PNPトランジスタTR12がオン状態となっ
て、接続状態検出回路34と+側入力端子30aとが接
続され、PNPトランジスタTR11がオン状態であれ
ば、PNPトランジスタTR12がオフ状態となって、
接続状態検出回路34と+側入力端子30aとの接続が
遮断される。
In the input module 30 of FIG. 4 configured as described above, if the PNP transistor TR11 is off, the PNP transistor TR12 is turned on, and the connection state detection circuit 34 and the + input terminal 30a are connected. Connected, if the PNP transistor TR11 is on, the PNP transistor TR12 is off,
The connection between the connection state detection circuit 34 and the + input terminal 30a is cut off.

【0050】そして、PNPトランジスタTR11のベ
ースは、抵抗器R11とR12との接続点に接続されて
いることから、端子間電圧Vinが、センサ状態検出回路
32の出力VPC1 がHighレベルとなるしきい値電圧近傍
の所定電圧以上であるときに、PNPトランジスタTR
11がオン状態となるように、各抵抗器R11,R12
の抵抗値が設定されている。
Since the base of the PNP transistor TR11 is connected to the connection point between the resistors R11 and R12, the threshold voltage between the terminals is such that the output VPC1 of the sensor state detection circuit 32 becomes high. When the voltage is equal to or higher than a predetermined voltage near the value voltage, the PNP transistor TR
11 are turned on so that each of the resistors R11, R12
Is set.

【0051】つまり、PNPトランジスタTR11がオ
ン状態となるのは、そのベース−エミッタ間電圧VBE
(換言すれば抵抗器R11の両端電圧)が、0.7V程
度の所定電圧以上になったときであることから、図4の
入力モジュール30では、センサ4aがオン状態となっ
て、センサ状態検出回路32の出力がHighレベルとなる
場合には、抵抗器R11の両端電圧も、PNPトランジ
スタTR11がオンする電圧以上となるように、抵抗器
R11,R12の抵抗値が設定されている。例えば、セ
ンサ状態検出回路32の出力がHighレベルとなる端子間
電圧Vinの下限が5Vで、DC電源5の下限が10Vで
あるとき、PNPトランジスタTR11がオンするのに
要する端子間電圧Vinの下限を7Vに設定する場合、P
NPトランジスタTR11がオン状態となるVBEが−1
V,ダイオードD1の順方向電圧VF が1Vであるとす
ると、抵抗器R11,R12の両端電圧が6V(=7V
−VF )となった時に、PNPトランジスタTR11が
オンするように、R11とR12の抵抗比を、R11:
R12=1:5とすればよい。
That is, the PNP transistor TR11 is turned on only when its base-emitter voltage VBE
(In other words, when the voltage across the resistor R11) becomes equal to or higher than a predetermined voltage of about 0.7 V, the sensor 4a is turned on in the input module 30 of FIG. When the output of the circuit 32 is at the high level, the resistance values of the resistors R11 and R12 are set such that the voltage across the resistor R11 is also equal to or higher than the voltage at which the PNP transistor TR11 is turned on. For example, when the lower limit of the inter-terminal voltage Vin at which the output of the sensor state detection circuit 32 becomes High level is 5 V, and the lower limit of the DC power supply 5 is 10 V, the lower limit of the inter-terminal voltage Vin required for the PNP transistor TR11 to be turned on. Is set to 7V, P
VBE at which the NP transistor TR11 is turned on is -1.
Assuming that the forward voltage V.sub.F of the diode D1 is 1 V, the voltage across the resistors R11 and R12 is 6V (= 7V).
−VF), the resistance ratio of R11 and R12 is set to R11: R11 so that the PNP transistor TR11 is turned on.
R12 may be set to 1: 5.

【0052】この結果、図4の入力モジュール30で
は、センサ状態検出回路32からの出力(センサ状態検
出信号)VPC1 を利用することなく、この信号VPC1 が
Highレベルであるときに、接続状態検出回路34に入力
電流Iopw が流れるのを禁止でき、図2の入力モジュー
ル20と同様の効果を得ることができる。
As a result, in the input module 30 of FIG. 4, the signal VPC1 is output without using the output (sensor state detection signal) VPC1 from the sensor state detection circuit 32.
When it is at the high level, the input current Iopw can be prevented from flowing through the connection state detection circuit 34, and the same effect as the input module 20 of FIG. 2 can be obtained.

【0053】一方、図5に示す入力モジュール40も、
図2或は図4に示した上記実施例の入力モジュール2
0,30と同様、DC電源5からセンサ4aに電源供給
を行う通電経路上に設けられ、その通電経路に接続され
た+側入力端子40aと−側入力端子40bとの間の端
子間電圧からセンサ4aのオン・オフ状態を検出するセ
ンサ状態検出回路42と、同じくその端子間電圧から入
力モジュール30へのセンサ4aの接続状態を検出する
接続状態検出回路44と、の2つの判定回路から構成さ
れる。
On the other hand, the input module 40 shown in FIG.
Input module 2 of the above embodiment shown in FIG. 2 or FIG.
Like 0 and 30, the DC power supply 5 is provided on an energizing path for supplying power to the sensor 4a, and a voltage between terminals between the + side input terminal 40a and the − side input terminal 40b connected to the energizing path. It is composed of two determination circuits: a sensor state detection circuit 42 for detecting the on / off state of the sensor 4a, and a connection state detection circuit 44 for detecting the connection state of the sensor 4a to the input module 30 from the voltage between its terminals. Is done.

【0054】そして、この入力モジュール40において
も、センサ状態検出回路42及び接続状態検出回路44
は、図2に示したセンサ状態検出回路22及び接続状態
検出回路24と全く同様に構成されており、図2に示し
た入力モジュール20と異なる点は、センサ状態検出回
路22からの出力がHighレベルであるときに、接続状態
検出回路24と+側入力端子20aとの接続を遮断す
る、PNPトランジスタTR1,フォトカプラPC3,
及び抵抗器R7〜R9からなる通電経路遮断回路に代え
て、入力端子40a,40b間に設けられた抵抗器R2
1〜R25及びNPNトランジスタTR21と、接続状
態検出回路44と−側入力端子40bとの間に設けられ
たNPNトランジスタTR22とからなる通電経路遮断
回路を設けた点である。
In the input module 40, the sensor state detection circuit 42 and the connection state detection circuit 44
Is configured in exactly the same way as the sensor state detection circuit 22 and the connection state detection circuit 24 shown in FIG. 2, and is different from the input module 20 shown in FIG. 2 in that the output from the sensor state detection circuit 22 is high. When the level is at the level, the connection between the connection state detection circuit 24 and the + input terminal 20a is cut off.
And a resistor R2 provided between the input terminals 40a and 40b instead of the current path cutoff circuit including the resistors R7 to R9.
1 to R25 and an NPN transistor TR21, and an energization path cutoff circuit including an NPN transistor TR22 provided between the connection state detection circuit 44 and the negative input terminal 40b.

【0055】即ち、図5の入力モジュール40において
は、入力端子40a,40b間に、ダイオードD1を介
して、抵抗器R21及びR22が接続され、これら抵抗
器R21及びR22の接続点には、NPNトランジスタ
TR21のベースが接続されている。またNPNトラン
ジスタTR21のコレクタは、抵抗器R23を介して+
側入力端子40aに接続されると共に、抵抗器R24,
R25及びダイオードD1を介して−側入力端子40b
に接続され、NPNトランジスタTR21のエミッタ
は、ダイオードD1を介して−側入力端子40bに接続
されている。
That is, in the input module 40 of FIG. 5, the resistors R21 and R22 are connected between the input terminals 40a and 40b via the diode D1, and the connection point of the resistors R21 and R22 is connected to the NPN. The base of the transistor TR21 is connected. The collector of the NPN transistor TR21 is connected to the +
Side input terminal 40a and a resistor R24,
-Side input terminal 40b via R25 and diode D1
, And the emitter of the NPN transistor TR21 is connected to the negative input terminal 40b via the diode D1.

【0056】そして、接続状態検出回路44と−側入力
端子40bとの間には、コレクタが接続状態検出回路4
4に、エミッタが−側入力端子40bに、夫々接続さ
れ、ベースが、抵抗器R24と抵抗器R25との接続点
に接続された、NPNトランジスタTR22が設けられ
ている。
The collector is connected between the connection state detecting circuit 44 and the negative input terminal 40b.
4, an NPN transistor TR22 having an emitter connected to the negative input terminal 40b and a base connected to a connection point between the resistor R24 and the resistor R25.

【0057】このように構成された図5の入力モジュー
ル40では、NPNトランジスタTR21がオフ状態で
あれば、NPNトランジスタTR22がオン状態となっ
て、接続状態検出回路44と−側入力端子40bとが接
続され、NPNトランジスタTR21がオン状態であれ
ば、NPNトランジスタTR22がオフ状態となって、
接続状態検出回路44と−側入力端子40bとの接続が
遮断される。そして、NPNトランジスタTR21のベ
ースは、抵抗器R21とR22との接続点に接続されて
いることから、端子間電圧Vinが、センサ状態検出回路
42の出力VPC1 がHighレベルとなるしきい値電圧近傍
の所定電圧以上であるときに、NPNトランジスタTR
21がオン状態となるように、各抵抗器R21,R22
の抵抗値が設定されている。
In the input module 40 of FIG. 5 configured as described above, if the NPN transistor TR21 is off, the NPN transistor TR22 is turned on, and the connection state detection circuit 44 and the negative input terminal 40b are connected. Connected, if the NPN transistor TR21 is on, the NPN transistor TR22 is off,
The connection between the connection state detection circuit 44 and the negative input terminal 40b is cut off. Since the base of the NPN transistor TR21 is connected to the connection point between the resistors R21 and R22, the inter-terminal voltage Vin becomes close to the threshold voltage at which the output VPC1 of the sensor state detection circuit 42 becomes high. NPN transistor TR
Each resistor R21, R22 is turned on so that the resistor 21 is turned on.
Is set.

【0058】この結果、図5の入力モジュール40にお
いても、図4の入力モジュール30と同様、センサ状態
検出回路42からの出力(センサ状態検出信号)VPC1
を利用することなく、この信号VPC1 がHighレベルであ
るときに、接続状態検出回路34に入力電流Iopw が流
れるのを禁止でき、図2の入力モジュール20と同様の
効果を得ることができる。
As a result, in the input module 40 shown in FIG. 5, similarly to the input module 30 shown in FIG. 4, the output (sensor state detection signal) VPC1 from the sensor state detection circuit 42 is obtained.
When the signal VPC1 is at the high level, the input current Iopw can be prevented from flowing through the connection state detection circuit 34, and the same effect as the input module 20 of FIG. 2 can be obtained.

【0059】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく、種
々の態様を採ることができる。例えば、上記実施例で
は、入力モジュール20(30,40)を用いて、直流
2線式センサ4aからの信号をP・C2内に取り込む場
合について説明したが、図6に示すような直流3線式セ
ンサ4bからの信号を取り込む際にも、上記実施例にて
説明した入力モジュール20(30,40)をそのまま
使用することができる。
As described above, one embodiment of the present invention has been described. However, the present invention is not limited to the above-described embodiment, and various embodiments can be adopted. For example, in the above-described embodiment, a case has been described in which the signal from the DC two-wire sensor 4a is taken into the PC2 using the input module 20 (30, 40). The input module 20 (30, 40) described in the above embodiment can also be used as it is when capturing the signal from the expression sensor 4b.

【0060】但し、この場合、図6に示すように、入力
モジュール20(30,40)は、DC電源5から直流
3線式センサ4bの主回路に至る給電経路上には配置さ
れず、DC電源5から主回路によりオン・オフされるス
イッチング素子(図ではトランジスタTr)に至る通電
経路上に配置されることから、トランジスタTrのオフ
時には、通電経路が完全に遮断されて、入力モジュール
20(30,40)に接続状態検出用の電流が流れない
ことがある。
However, in this case, as shown in FIG. 6, the input module 20 (30, 40) is not arranged on the power supply path from the DC power supply 5 to the main circuit of the DC three-wire sensor 4b. Since the power supply 5 is arranged on a conduction path from the power supply 5 to a switching element (transistor Tr in the figure) which is turned on / off by the main circuit, when the transistor Tr is turned off, the conduction path is completely cut off and the input module 20 ( 30, 40), the current for detecting the connection state may not flow.

【0061】そこで、このような場合には、接続状態検
出用の電流を流すために、センサ4bのトランジスタT
rに並列に、漏れ電流を流すためのリーク抵抗Roを設
け、トランジスタTrのオフ時にも、入力モジュール2
0(30,40)に、接続状態検出用の電流が流れるよ
うにする必要はある。尚、図6に示す直流3線式センサ
4bには、DC電源5からセンサ4b内に流入する電流
方向を規制して、逆電流が流れることのないようにする
ための、逆流防止用ダイオードDoが設けられている。
Therefore, in such a case, in order to allow a current for detecting the connection state to flow, the transistor T of the sensor 4b is used.
r, a leakage resistor Ro for flowing a leakage current is provided in parallel with the input module 2 even when the transistor Tr is turned off.
It is necessary to allow a current for connection state detection to flow at 0 (30, 40). The direct current three-wire sensor 4b shown in FIG. 6 has a reverse current preventing diode Do for regulating the direction of current flowing from the DC power supply 5 into the sensor 4b so that no reverse current flows. Is provided.

【0062】また次に、上記実施例では、本発明の入力
回路を、P・C2の入力モジュールに適用した場合につ
いて説明したが、本発明は、P・C2以外の制御装置に
対する信号の入力回路に適用することもできる。また、
上記実施例では、判定回路として、近接SWやリミット
SW等のオン・オフ状態が変化するセンサ装置のオン・
オフ状態を検出するセンサ状態検出回路と、ケーブルの
断線等を検出する接続状態検出回路との2つの判定回路
を備えた入力回路について説明したが、多数の判定回路
を入力端子間に並列に接続した入力回路であっても、本
発明を適用して入力回路の省電力化を図ることができ
る。
Further, in the above embodiment, the case where the input circuit of the present invention is applied to the input module of P · C2 has been described. However, the present invention relates to an input circuit of a signal to a control device other than P · C2. It can also be applied to Also,
In the above embodiment, the ON / OFF state of the sensor device whose ON / OFF state changes, such as the proximity SW and the limit SW, is determined as the determination circuit.
The input circuit provided with two determination circuits, a sensor state detection circuit for detecting an OFF state and a connection state detection circuit for detecting a disconnection of a cable or the like, has been described. A large number of determination circuits are connected in parallel between input terminals. Even with such an input circuit, the present invention can be applied to reduce the power consumption of the input circuit.

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

【図1】 実施例のプログラマブル・コントローラ(P
・C)とその周辺装置の構成を表わす概略構成図であ
る。
FIG. 1 shows a programmable controller (P
FIG. 3C is a schematic configuration diagram illustrating the configuration of peripheral devices.

【図2】 本発明が適用されたP・Cの入力モジュール
の第1の構成例を表わす電気回路図である。
FIG. 2 is an electric circuit diagram showing a first configuration example of a PC input module to which the present invention is applied.

【図3】 図2の入力モジュールの動作を説明するタイ
ムチャートである。
FIG. 3 is a time chart for explaining the operation of the input module of FIG. 2;

【図4】 本発明が適用されたP・Cの入力モジュール
の第2の構成例を表わす電気回路図である。
FIG. 4 is an electric circuit diagram illustrating a second configuration example of the PC input module to which the present invention is applied.

【図5】 本発明が適用されたP・Cの入力モジュール
の第3の構成例を表わす電気回路図である。
FIG. 5 is an electric circuit diagram illustrating a third configuration example of the PC input module to which the present invention is applied.

【図6】 直流3線式センサの構成及び直流3線式セン
サへの入力モジュールの接続状態を表わす説明図であ
る。
FIG. 6 is an explanatory diagram illustrating a configuration of a DC three-wire sensor and a connection state of an input module to the DC three-wire sensor.

【図7】 従来のP・Cの入力モジュールの構成例を表
わす電気回路図である。
FIG. 7 is an electric circuit diagram illustrating a configuration example of a conventional PC input module.

【図8】 図7の入力モジュールの動作を説明するタイ
ムチャートである。
FIG. 8 is a time chart for explaining the operation of the input module of FIG. 7;

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

2…P・C(プログラマブル・コントローラ) 4…
操作・検出部 4a…センサ(直流2線式センサ) 5…DC電源
6…表示・駆動部 10…演算部 12…記憶部 14…入力部 1
6…出力部 18…バスライン 20,30,40…入力モジュー
ル 20a,30a,40a…+側入力端子 20b,30b,40b…−側入力端子 22,32,42…センサ状態検出回路 24,34,44…接続状態検出回路 PC1,PC2,PC3…フォトカプラ R1〜R9,R11〜R15,R21〜R25…抵抗器 TR1,TR11,TR12…PNPトランジスタ TR21,TR22…NPNトランジスタ 4b…センサ(直流3線式センサ) Ro…リーク抵抗
2 ... PC (programmable controller) 4 ...
Operation / detection unit 4a: Sensor (DC 2-wire sensor) 5: DC power supply
6 display / drive unit 10 arithmetic unit 12 storage unit 14 input unit 1
6 Output unit 18 Bus line 20, 30, 40 Input module 20a, 30a, 40a + input terminal 20b, 30b, 40b-negative input terminal 22, 32, 42 Sensor state detection circuit 24, 34 44 Connection state detection circuit PC1, PC2, PC3 Photocoupler R1-R9, R11-R15, R21-R25 Resistor TR1, TR11, TR12 PNP transistor TR21, TR22 NPN transistor 4b Sensor (DC 3-wire type) Sensor) Ro… Leak resistance

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部装置からの信号を入力する一対の入
力端子と、 該入力端子間に並列に接続され、該端子間電圧が互いに
異なる値に設定されたしきい値電圧以上か否かを夫々判
定して、該判定結果を制御装置に入力する複数の判定回
路と、 を備えた制御装置の入力回路において、 前記しきい値電圧が前記端子間電圧以下となる判定回路
が複数ある場合に、その複数の判定回路の内のしきい値
電圧が最も大きい判定回路を除く判定回路と、前記入力
端子との接続を遮断する信号経路遮断手段を設けたこと
を特徴とする制御装置の入力回路。
1. A pair of input terminals for inputting a signal from an external device, connected in parallel between the input terminals, and determining whether or not the voltage between the terminals is equal to or higher than a threshold voltage set to a different value from each other. A plurality of determination circuits for making respective determinations and inputting the result of the determination to the control device, wherein in the input circuit of the control device comprising: a plurality of determination circuits in which the threshold voltage is equal to or less than the inter-terminal voltage. An input circuit of a control device, comprising: a determination circuit excluding the determination circuit having the largest threshold voltage among the plurality of determination circuits; and a signal path interrupting unit for interrupting connection with the input terminal. .
【請求項2】 前記入力端子には、前記外部装置とし
て、所定条件にてオン・オフ状態が切り換えられ、オフ
時にはオン時よりも少ない電流を通電可能なセンサ装置
を介して電源が接続され、 前記複数の判定回路として、 前記端子間電圧が電源電圧に対応したしきい値電圧以上
であるか否かを判定することにより、前記センサ装置の
オン・オフ状態を検出するセンサ状態検出回路と、 前記端子間電圧が、前記センサ装置のオフ時に前記セン
サ装置を流れる電流に対応した、前記センサ状態検出回
路のしきい値電圧よりも低いしきい値電圧以上であるか
否かを判定することにより、前記入力端子と前記センサ
装置との接続状態を検出する接続状態検出回路と、 を備え、 前記信号経路遮断手段は、前記センサ状態検出回路にて
前記センサ装置のオン状態が検出されているとき、前記
入力端子と前記接続状態検出回路との接続を遮断するこ
とを特徴とする請求項1に記載の制御装置の入力回路。
2. An on / off state is switched to the input terminal under a predetermined condition as the external device, and a power supply is connected to the input terminal via a sensor device capable of supplying a smaller current than the on state when the device is off. A sensor state detection circuit that detects an on / off state of the sensor device by determining whether the inter-terminal voltage is equal to or higher than a threshold voltage corresponding to a power supply voltage; By determining whether or not the inter-terminal voltage is equal to or higher than a threshold voltage lower than a threshold voltage of the sensor state detection circuit corresponding to a current flowing through the sensor device when the sensor device is off. A connection state detection circuit for detecting a connection state between the input terminal and the sensor device, wherein the signal path cutoff means is configured to detect the connection state of the sensor device by the sensor state detection circuit. When the down state is detected, the input circuit of the control device according to claim 1, characterized in that interrupting the connection between the input terminal and the connection status detection circuit.
【請求項3】 前記センサ状態検出回路及び接続状態検
出回路は、夫々、 発光素子と受光素子とからなるフォトカプラと、 前記入力端子間に接続され、該端子間電圧を分圧した電
圧を前記発光素子に印加することにより、該端子間電圧
が前記しきい値電圧以上であるときに前記発光素子を発
光させる分圧回路と、 からなり、前記受光素子を介して制御装置に検出信号を
入力することを特徴とする請求項2に記載の制御装置の
入力回路。
3. The sensor state detection circuit and the connection state detection circuit are connected between the input terminal and a photocoupler including a light emitting element and a light receiving element, respectively, and a voltage obtained by dividing the voltage between the terminals is provided. A voltage dividing circuit that, when applied to the light emitting element, causes the light emitting element to emit light when the voltage between the terminals is equal to or higher than the threshold voltage, and inputs a detection signal to a control device via the light receiving element. The input circuit of the control device according to claim 2, wherein
【請求項4】 前記制御装置は、前記外部装置からの入
力に応じて、予め設定されたプログラムに従い所定の制
御動作を実行するプログラマブル・コントローラである
ことを特徴とする請求項1〜請求項3いずれか記載の制
御装置の入力回路。
4. The control device according to claim 1, wherein the control device is a programmable controller that executes a predetermined control operation according to a preset program in response to an input from the external device. An input circuit of the control device according to any one of the above.
JP23097796A 1996-08-30 1996-08-30 Input circuit fir controller Withdrawn JPH1074104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23097796A JPH1074104A (en) 1996-08-30 1996-08-30 Input circuit fir controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23097796A JPH1074104A (en) 1996-08-30 1996-08-30 Input circuit fir controller

Publications (1)

Publication Number Publication Date
JPH1074104A true JPH1074104A (en) 1998-03-17

Family

ID=16916297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23097796A Withdrawn JPH1074104A (en) 1996-08-30 1996-08-30 Input circuit fir controller

Country Status (1)

Country Link
JP (1) JPH1074104A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226004A (en) * 2007-03-14 2008-09-25 Omron Corp Input slave unit
US9058294B2 (en) 2011-03-22 2015-06-16 Mitsubishi Electric Corporation Programmable logic controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226004A (en) * 2007-03-14 2008-09-25 Omron Corp Input slave unit
US9058294B2 (en) 2011-03-22 2015-06-16 Mitsubishi Electric Corporation Programmable logic controller

Similar Documents

Publication Publication Date Title
JP5502439B2 (en) Protective relay
US7898782B2 (en) Inverter
JPH0894695A (en) Semiconductor power switch system
KR20110058730A (en) Digital output circuit
US5541500A (en) Power supply arrangement comprising a direct voltage monitoring circuit
JPH1074104A (en) Input circuit fir controller
US5731595A (en) Diagnostic input for programmable logic controller
US5542049A (en) Programmable controller
US4740686A (en) Optical sensor circuitry
US5087838A (en) Sourcing or sinking output circuit
US11920990B2 (en) In-vehicle temperature detection circuit
JP2615890B2 (en) Input device for control equipment
US4631362A (en) Low resistance origination scan circuit
US20220094355A1 (en) Bidirectional switch for power control in a daisy chain
JP3123319B2 (en) Error notification circuit and temperature detection circuit
JP3677373B2 (en) DC input circuit and programmable controller
JP2567502B2 (en) Detection switch circuit
JP2001034347A (en) Reduced/excess voltage detection circuit
KR20020053330A (en) Power supply control circuit of multi-tab
JP2629488B2 (en) Multi-output sensor circuit
JP3562071B2 (en) Constant current supply device
JPH05122836A (en) Safety holder for two-line transmitter
JP2019159938A (en) Input circuit
JP2006213109A (en) Turning-on control device of lighting fixture for vehicle
JPH1094165A (en) Current protective circuit and interface device using it

Legal Events

Date Code Title Description
A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20041209