Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4304091B2 - Signal input circuit and relay unit circuit - Google Patents
[go: Go Back, main page]

JP4304091B2 - Signal input circuit and relay unit circuit - Google Patents

Signal input circuit and relay unit circuit Download PDF

Info

Publication number
JP4304091B2
JP4304091B2 JP2004034920A JP2004034920A JP4304091B2 JP 4304091 B2 JP4304091 B2 JP 4304091B2 JP 2004034920 A JP2004034920 A JP 2004034920A JP 2004034920 A JP2004034920 A JP 2004034920A JP 4304091 B2 JP4304091 B2 JP 4304091B2
Authority
JP
Japan
Prior art keywords
signal
signal input
terminal
output
circuit
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.)
Expired - Fee Related
Application number
JP2004034920A
Other languages
Japanese (ja)
Other versions
JP2005229264A (en
Inventor
裕明 古川
Original Assignee
サンクス株式会社
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 サンクス株式会社 filed Critical サンクス株式会社
Priority to JP2004034920A priority Critical patent/JP4304091B2/en
Publication of JP2005229264A publication Critical patent/JP2005229264A/en
Application granted granted Critical
Publication of JP4304091B2 publication Critical patent/JP4304091B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Description

本発明は、PNP出力対応及びNPN出力対応の信号入力回路及びリレーユニット回路に関する。   The present invention relates to a signal input circuit and a relay unit circuit corresponding to PNP output and NPN output.

例えば多光軸光電スイッチなどの検出スイッチには、その検出動作に応じて出力される動作信号を、PNP型トランジスタのオープンコレクタ回路を介して外部に出力するタイプと、NPN型トランジスタのオープンコレクタ回路を介して外部に出力するタイプとがある。また、下記特許文献1には、多光軸光電スイッチ本体に、PNP出力用アダプタ及びNPN出力用アダプタを選択的に連結可能とすることで、1つの多光軸光電スイッチをPNP出力タイプとNPN出力タイプとに使い分けることができる技術が開示されている。
特開2003−255054公報
For example, a detection switch such as a multi-optical axis photoelectric switch has a type in which an operation signal output according to the detection operation is output to the outside via an open collector circuit of a PNP transistor, and an open collector circuit of an NPN transistor There is a type that outputs to the outside via the. Patent Document 1 below discloses that one multi-optical axis photoelectric switch can be connected to a PNP output type and an NPN by selectively connecting a PNP output adapter and an NPN output adapter to the multi-optical axis photoelectric switch body. A technique that can be properly used for an output type is disclosed.
JP 2003-255054 A

ところで、PNP出力タイプの多光軸光電スイッチにはPNP出力対応の入力回路(以下、「PNP対応入力回路」という)を、NPN出力タイプの多光軸光電スイッチにはNPN出力対応の入力回路(以下、「NPN対応入力回路」という)をそれぞれ連結する必要がある。ここで、従来、多光軸光電スイッチに連結される信号入力装置は、PNP対応入力回路及びNPN対応入力回路のいずれか一方を備えたものしかなかったので、ユーザ側及び製造者側は、PNP対応の信号入力装置とNPN対応の信号入力装置との2タイプを用意する必要があり不便であった。   By the way, a PNP output type multi-optical axis photoelectric switch has an input circuit corresponding to PNP output (hereinafter referred to as “PNP-compatible input circuit”), and an NPN output type multi-optical axis photoelectric switch has an input circuit compatible with NPN output ( Hereinafter, it is necessary to connect the “NPN-compatible input circuits”. Here, conventionally, since the signal input device connected to the multi-optical axis photoelectric switch has only one of the PNP-compatible input circuit and the NPN-compatible input circuit, the user side and the manufacturer side must It is inconvenient because it is necessary to prepare two types of signal input device corresponding to NPN and signal input device corresponding to NPN.

本発明は上記のような事情に基づいて完成されたものであって、PNP型の出力装置からの出力信号を取り込み可能な入力形態と、NPN型の出力装置からの出力信号を取り込み可能な入力形態とを自動で切り替えることが可能な信号入力回路及びリレーユニット回路を提供することを目的とする。   The present invention has been completed based on the above situation, and has an input form capable of capturing an output signal from a PNP output device and an input capable of capturing an output signal from an NPN output device. An object of the present invention is to provide a signal input circuit and a relay unit circuit capable of automatically switching between forms.

上記の目的を達成するための手段として、請求項1の発明は、PNP型の出力装置と、NPN型の出力装置とが選択的に連結可能とされ、前記PNP型の出力装置が連結されているときはこの出力装置からの出力信号を、前記NPN型の出力装置が連結されているときはこの出力装置からの出力信号を、取り込む信号入力回路であって、前記出力信号が入力される第1信号入力端子と、外部から信号が入力される第2信号入力端子と、前記第2信号入力端子が、互いにレベルの異なる高電位基準レベル及び低電位基準レベルのうち一方の基準レベルと略同一レベルにあるときに、前記第1信号入力端子の電圧レベルを前記低電位基準レベル側にして前記PNP型の出力装置からの出力信号を入力可能な第1入力形態とする一方で、前記第2信号入力端子が前記高電位基準レベル及び低電位基準レベルのうち他方の基準レベルと略同一レベルにあるときに、前記第1入力端子の電圧レベルを前記高電位基準レベル側にして前記NPN型の出力装置からの出力信号を入力可能な第2入力形態とする選択動作を行う選択回路とを備えて構成されていることを特徴とする。   As means for achieving the above object, the invention of claim 1 is such that a PNP type output device and an NPN type output device can be selectively connected, and the PNP type output device is connected. A signal input circuit for capturing an output signal from the output device when the output device is connected, and an output signal from the output device when the NPN-type output device is connected; One signal input terminal, a second signal input terminal to which a signal is input from the outside, and the second signal input terminal are substantially the same as one of a high potential reference level and a low potential reference level having different levels. When the voltage is at the level, the voltage level of the first signal input terminal is set to the low potential reference level side so that the output signal from the PNP type output device can be input. Trust When the input terminal is substantially at the same level as the other of the high potential reference level and the low potential reference level, the voltage level of the first input terminal is set to the high potential reference level side and the NPN output And a selection circuit for performing a selection operation in a second input form capable of inputting an output signal from the apparatus.

請求項2の発明は、請求項1に記載のものにおいて、前記選択回路は、前記第2信号入力端子の電圧レベルが、前記高電位基準レベル及び低電位基準レベルに挟まれる所定範囲内にあるときには、前記第1信号入力端子の電圧レベルを前記高電位基準レベル側及び前記低電位基準レベル側のいずれにもしない第3入力形態を選択するよう動作することを特徴とする。   According to a second aspect of the present invention, in the first aspect, the voltage level of the second signal input terminal is within a predetermined range between the high potential reference level and the low potential reference level. In some cases, the first signal input terminal operates so as to select a third input mode in which neither the high potential reference level side nor the low potential reference level side is set.

請求項3の発明は、請求項1または請求項2に記載のものにおいて、前記一方の基準レベルは前記低電位基準レベルであり、前記他方の基準レベルは前記高電位基準レベルであることを特徴とする。   According to a third aspect of the present invention, in the first or second aspect, the one reference level is the low potential reference level, and the other reference level is the high potential reference level. And

請求項4の発明は、請求項1ないし請求項3のいずれかに記載のものにおいて、前記選択回路は、前記高電位基準レベルと前記第2信号入力端子の電圧レベルとの電位差が所定値以上であることを条件に前記第1信号入力端子と前記低電位基準レベルの信号線側との間のリレー接点を閉じる動作をする第1の機械的リレー回路と、前記低電位基準レベルと前記第2信号入力端子の電圧レベルとの電位差が所定値以上であることを条件に前記第1信号入力端子と前記高電位基準レベルの信号線側との間のリレー接点を閉じる動作をする第2の機械的リレー回路とを備えて構成されていることを特徴とする。
なお、上記「所定値」は、第1の機械的リレー回路(例えばリレーコイルとリレー接点からなる構成)と第2の機械的リレー回路とで異なる構成としてもよい。
また、選択回路を、半導体リレー回路で構成したものは請求項1ないし請求項3の発明に含まれる。
According to a fourth aspect of the present invention, in the display device according to any one of the first to third aspects, the selection circuit is configured such that a potential difference between the high potential reference level and the voltage level of the second signal input terminal is not less than a predetermined value. A first mechanical relay circuit that closes a relay contact between the first signal input terminal and the signal line side of the low potential reference level on the condition that, the low potential reference level and the first potential A second operation of closing a relay contact between the first signal input terminal and the signal line side of the high potential reference level on condition that the potential difference with the voltage level of the two signal input terminals is a predetermined value or more. And a mechanical relay circuit.
The “predetermined value” may be different between the first mechanical relay circuit (for example, a configuration including a relay coil and a relay contact) and the second mechanical relay circuit.
Further, the selection circuit constituted by a semiconductor relay circuit is included in the inventions of claims 1 to 3.

請求項5の発明は、請求項1ないし請求項4のいずれかに記載のものにおいて、前記第1信号入力端子は、信号出力線、1対の電源入力線、前記1対の電源入力線とは別体或いはそれら1対の電源入力線のいずれか一方を兼ねるシールド部材とを有するとともに前記出力装置に連なるシールド電線のうち、前記信号出力線に接続される信号入力端子であり、前記1対の電源入力線にそれぞれ接続される1対の電源供給端子を備え、前記高電位基準レベル及び低電位基準レベルは、前記1対の電源供給端子の高電位端子及び低電位端子のそれぞれの電圧レベルであり、前記第2信号入力端子は、前記シールド部材に接続されるシールド用端子であることを特徴とする。
つまり、次のような構成である。
(構成A)「PNP型の出力装置と、NPN型の出力装置とが選択的に連結可能とされ、前記PNP型の出力装置が連結されているときはこの出力装置からの出力信号を、前記NPN型の出力装置が連結されているときはこの出力装置からの出力信号を、取り込む信号入力回路であって、
信号出力線と、1対の電源入力線と、前記1対の電源入力線とは別体或いはそれら1対の電源入力線のいずれか一方を兼ねるシールド部材とを備えるとともに、前記出力装置に連なるシールド電線のうち、前記信号出力線に接続される信号入力端子と、
前記1対の電源入力線にそれぞれ接続される1対の電源供給端子と、
前記シールド部材に接続されるシールド用端子と、
前記シールド用端子が前記1対の電源供給端子のうち一方の電源供給端子と略同一電圧レベルにあるときに、前記信号入力端子を前記1対の電源供給端子のうち低電位端子側に接続して前記PNP型の出力装置からの出力信号を入力可能な第1入力形態とする一方で、前記シールド用端子が前記1対の電源供給端子のうち他方の電源供給端子と略同一電圧レベルにあるときに、前記信号入力端子を前記1対の電源供給端子のうち高電位端子側に接続して前記NPN型の出力装置からの出力信号を入力可能な第2入力形態とする選択動作を行う選択回路とを備えて構成されていることを特徴とする信号入力回路。」
なお、本発明で「シールド電線」は、一方の電源入力線のいずれか一方が、シールド電線内においてシールド部材と共通化されている構成であってもよい。具体的には、シールド電線は、例えば、一方の電源入力線と、信号出力線と、それらを個別または一括に包囲する編組シールド(シールド部材)とを備えて、この編組シールドが他方の電源入力線を兼ねる構成であってもよい。この場合、信号入力回路側に接続される一端側において上記編組シールドが信号入力回路のシールド用端子に接続される一方で、編組シールドの一部が引き出されて1対の電源供給端子のいずれか一方に接続されることになる。
According to a fifth aspect of the present invention, in any one of the first to fourth aspects, the first signal input terminal includes a signal output line, a pair of power input lines, and the pair of power input lines. Is a signal input terminal connected to the signal output line among shielded electric wires connected to the output device, and having a shield member serving as either one of the pair of power input lines or a pair thereof. A pair of power supply terminals respectively connected to the power supply input lines, wherein the high potential reference level and the low potential reference level are respectively the voltage levels of the high potential terminal and the low potential terminal of the pair of power supply terminals. The second signal input terminal is a shielding terminal connected to the shield member.
That is, the configuration is as follows.
(Configuration A) “When a PNP output device and an NPN output device are selectively connectable, and the PNP output device is connected, an output signal from the output device is When an NPN type output device is connected, it is a signal input circuit that takes in an output signal from this output device,
A signal output line; a pair of power input lines; and a shield member that is separate from the pair of power input lines or serves as either one of the pair of power input lines, and is connected to the output device. Among the shielded wires, a signal input terminal connected to the signal output line,
A pair of power supply terminals respectively connected to the pair of power input lines;
A shielding terminal connected to the shielding member;
When the shielding terminal is at substantially the same voltage level as one of the pair of power supply terminals, the signal input terminal is connected to the low potential terminal side of the pair of power supply terminals. Thus, the shield terminal is at substantially the same voltage level as the other power supply terminal of the pair of power supply terminals, while the first input form is capable of inputting an output signal from the PNP output device. In some cases, the signal input terminal is connected to the high potential terminal side of the pair of power supply terminals, and the selection operation is performed to select the second input form in which the output signal from the NPN output device can be input. A signal input circuit comprising a circuit. "
In the present invention, the “shielded electric wire” may have a configuration in which any one of the power input lines is shared with the shield member in the shielded electric wire. Specifically, the shielded electric wire includes, for example, one power input line, a signal output line, and a braided shield (shield member) that surrounds them individually or collectively, and this braided shield is the other power input. The structure which serves also as a line may be sufficient. In this case, the braided shield is connected to the shield terminal of the signal input circuit on one end side connected to the signal input circuit side, while a part of the braided shield is pulled out to be one of the pair of power supply terminals. It will be connected to one side.

また、上記構成Aに次の構成Bから構成Dを加えた構成であってもよい。
(構成B)「前記選択回路は、前記シールド用端子の電圧レベルが、前記1対の電源供給端子の両電圧レベルに挟まれる所定範囲内にあるときには、前記信号入力端子を前記低電位端子側及び前記高電位端子側のいずれにも接続しない第3入力形態を選択するよう動作することを特徴とする構成A記載の信号入力回路。」(請求項2に含まれる構成)
(構成C)「前記一方の電源供給端子は低電位側端子であり、前記他方の電源供給端子は高電位側端子であることを特徴とする構成Aまたは構成B記載の信号入力回路。」(請求項3に含まれる構成)
(構成D)「前記選択回路は、
前記高電位側端子及びシールド用端子の電位差が所定値以上であることを条件に前記信号入力端子と前記低電位端子側との間のリレー接点を閉じる動作をする第1の機械的リレー回路と、
前記低電位側端子及びシールド用端子の電位差が所定値以上であることを条件に前記信号入力端子と前記高電位端子側との間のリレー接点を閉じる動作をする第2の機械的リレー回路とを備えて構成されていることを特徴とする構成Aないし構成Cのいずれかに記載の信号入力回路。」(請求項4に含まれる構成)
Moreover, the structure which added the structure D from the following structure B to the said structure A may be sufficient.
(Configuration B) “When the voltage level of the shielding terminal is within a predetermined range sandwiched between both voltage levels of the pair of power supply terminals, the selection circuit sets the signal input terminal to the low potential terminal side. And a signal input circuit according to Configuration A, wherein the signal input circuit operates so as to select a third input mode that is not connected to either of the high potential terminals. ”(Configuration included in Claim 2)
(Configuration C) “Signal input circuit according to Configuration A or Configuration B, wherein the one power supply terminal is a low potential side terminal and the other power supply terminal is a high potential side terminal.” Configuration included in claim 3)
(Configuration D) “The selection circuit includes
A first mechanical relay circuit that operates to close a relay contact between the signal input terminal and the low potential terminal side on condition that a potential difference between the high potential side terminal and the shield terminal is equal to or greater than a predetermined value; ,
A second mechanical relay circuit that operates to close a relay contact between the signal input terminal and the high potential terminal side on condition that a potential difference between the low potential side terminal and the shield terminal is equal to or greater than a predetermined value; The signal input circuit according to any one of configurations A to C, comprising: (Configuration included in claim 4)

また、本発明において次のような構成を加えてもよい。
即ち、「構成Aないし構成Dのいずれかに記載の信号入力回路において、前記シールド用端子の電圧レベルが前記低電位側端子の電圧レベル寄りにあるときに、当該低電位側端子と前記シールド用端子とを短絡させる一方で、前記シールド用端子の電圧レベルが前記高電位側端子の電圧レベル寄りににあるときに、当該高電位側端子と前記シールド用端子とを短絡させる短絡手段を備えている構成」。
より具体的には、「上記短絡手段は、前記高電位側端子(上記一方の電源端子)及びシールド用端子の電位差が所定値以上であることを条件に前記低電位側端子(上記他方の電源端子)及び前記シールド用端子間を短絡させる第3のリレー回路と、前記低電位側端子及びシールド用端子の電位差が所定値以上であることを条件に前記高電位側端子及び前記シールド用端子間を短絡させる第4のリレー回路とを備えて構成されているもの」。
このような構成であれば、例えば信号入力回路と出力装置とが長いシールド電線を介して離間して接続されるような場合、信号入力回路におけるシールド用端子を、低電位側端子或いは高電位側端子に短絡させて確実なシールド効果を得ることができる。
なお、この構成において、上記「所定値」は、第3のリレー回路と第4のリレー回路とで異なる構成としてもよい。また、リレー回路は、機械的リレー回路(例えばリレーコイルとリレー接点からなる構成)だけに限らず、半導体リレー回路(例えばスイッチ素子などの半導体素子による構成)であってもよい。
In the present invention, the following configuration may be added.
That is, in the signal input circuit according to any one of the configurations A to D, when the voltage level of the shield terminal is close to the voltage level of the low potential side terminal, the low potential side terminal and the shield Short-circuit means for short-circuiting the high-potential side terminal and the shield terminal when the voltage level of the shield terminal is close to the voltage level of the high-potential side terminal while short-circuiting the terminal Configuration ".
More specifically, “the short-circuiting means includes the low-potential side terminal (the other power source) on the condition that the potential difference between the high-potential side terminal (the one power source terminal) and the shielding terminal is a predetermined value or more. Terminal) and the third relay circuit for short-circuiting between the shield terminal, and between the high potential side terminal and the shield terminal, provided that the potential difference between the low potential side terminal and the shield terminal is equal to or greater than a predetermined value. And a fourth relay circuit that short-circuits the circuit. "
With such a configuration, for example, when the signal input circuit and the output device are separated and connected via a long shielded wire, the shield terminal in the signal input circuit is connected to the low potential side terminal or the high potential side. A reliable shielding effect can be obtained by short-circuiting the terminals.
In this configuration, the “predetermined value” may be different between the third relay circuit and the fourth relay circuit. The relay circuit is not limited to a mechanical relay circuit (for example, a configuration including a relay coil and a relay contact), but may be a semiconductor relay circuit (for example, a configuration using a semiconductor element such as a switch element).

請求項6の発明のリレーユニット回路は、上記請求項1ないし請求項4のいずれかに記載の信号入力回路と、外部機器が接続される1対の接続端子と、前記信号入力回路に取り込まれた前記出力信号に基づき前記1対の接続端子間を接続するリレー回路とを備えたことを特徴とする。   A relay unit circuit according to a sixth aspect of the invention is incorporated in the signal input circuit according to any one of the first to fourth aspects, a pair of connection terminals to which an external device is connected, and the signal input circuit. And a relay circuit for connecting the pair of connection terminals based on the output signal.

請求項7の発明は、請求項6記載のものにおいて、前記第1信号入力端子は、信号出力線、1対の電源入力線、前記1対の電源入力線とは別体或いはそれら1対の電源入力線のいずれか一方を兼ねるシールド部材とを有するとともに前記出力装置に連なるシールド電線のうち、前記信号出力線に接続される信号入力端子であり、前記1対の電源入力線にそれぞれ接続される1対の電源供給端子を備え、前記高電位基準レベル及び低電位基準レベルは、前記1対の電源供給端子の高電位端子及び低電位端子のそれぞれの電圧レベルであり、前記第2信号入力端子は、前記シールド部材に接続されるシールド用端子であることを特徴とする。   The invention according to claim 7 is the one according to claim 6, wherein the first signal input terminal is separated from the signal output line, the pair of power input lines, the pair of power input lines, or a pair of them. A shield member that also serves as one of the power input lines, and is a signal input terminal connected to the signal output line among the shielded wires connected to the output device, and is connected to the pair of power input lines, respectively. A pair of power supply terminals, wherein the high potential reference level and the low potential reference level are the voltage levels of the high potential terminal and the low potential terminal of the pair of power supply terminals, respectively, and the second signal input The terminal is a shielding terminal connected to the shield member.

請求項8の発明は、請求項7記載のものにおいて、前記PNP型の出力装置はPNP出力の多光軸光電センサであり、前記NPN型の出力装置は、NPN出力の多光軸光電センサであることを特徴とする。   The invention according to an eighth aspect is the one according to the seventh aspect, wherein the PNP output device is a PNP output multi-optical axis photoelectric sensor, and the NPN output device is an NPN output multi-optical axis photoelectric sensor. It is characterized by being.

<請求項1,請求項3〜請求項8の発明>
通常、シールド電線のシールド部材は、出力装置がPNP型(PNP出力タイプ)であれば、その一対の電源入力線のうち低電位側入力線に短絡されて、NPN型(NPN出力タイプ)であれば、その一対の電源入力線のうち高電位側入力線に短絡されている。従って、このシールド部材に接続されるシールド用端子の電圧レベルに基づき、連結されている出力装置(PNP型、NPN型)に対応してPNP入力形態(第1入力形態)と、NPN入力形態(第2入力形態)とに自動で切り換えることができる。
本願に係る信号入力回路は、この点に着目したものであり、具体的には、シールド用端子(第2信号入力端子)の電圧レベルが例えば低電位側端子の電圧レベル(低電位基準レベル)寄りにあるとき、連結されている出力装置がPNP型であるとして、信号入力端子(第1信号入力端子)を低電位端子側に接続して(低電位基準レベル側にして)PNP型の出力装置からの出力信号が入力される第1入力形態となる。一方、シールド用端子(第2信号入力端子)の電圧レベルが高電位側端子の電圧レベル(高電位基準レベル)寄りにあるとき、連結されている出力装置がNPN型であるとして、信号入力端子(第1信号入力端子)を高電位端子側に接続して(高電位基準レベル側にして)NPN型の出力装置からの出力信号が入力される第2入力形態となる。
このような構成によれば、出力装置を連結するだけで、それがPNP型かNPN型かを識別しそれに応じてPNP入力とNPN入力とに入力形態を自動で切り換えるよう動作する。従って、ユーザ側及び製造者側で、PNP対応の信号入力装置とNPN対応の信号入力装置との2タイプを用意する必要がなくなり、例えば管理コストの低減などを図ることができる。
<Invention of Claim 1, Claim 3 to Claim 8>
Normally, if the output device is a PNP type (PNP output type), the shield member of the shielded wire can be short-circuited to the low potential side input line of the pair of power input lines and be NPN type (NPN output type). For example, it is short-circuited to the high potential side input line of the pair of power input lines. Therefore, based on the voltage level of the shield terminal connected to the shield member, the PNP input form (first input form) and the NPN input form (corresponding to the connected output device (PNP type, NPN type)) The second input mode can be automatically switched.
The signal input circuit according to the present application pays attention to this point. Specifically, the voltage level of the shielding terminal (second signal input terminal) is, for example, the voltage level of the low potential side terminal (low potential reference level). When it is near, the connected output device is a PNP type, and the signal input terminal (first signal input terminal) is connected to the low potential terminal side (to the low potential reference level side) to output the PNP type. It becomes the 1st input form into which the output signal from a device is inputted. On the other hand, when the voltage level of the shielding terminal (second signal input terminal) is close to the voltage level (high potential reference level) of the high potential side terminal, it is assumed that the connected output device is an NPN type, and the signal input terminal By connecting the (first signal input terminal) to the high potential terminal side (to the high potential reference level side), the output signal from the NPN output device is input.
According to such a configuration, only by connecting the output device, it is discriminated whether it is a PNP type or an NPN type, and the input mode is automatically switched between the PNP input and the NPN input accordingly. Therefore, it is not necessary to prepare two types of signal input devices compatible with PNP and signal input devices compatible with NPN on the user side and the manufacturer side, and for example, management costs can be reduced.

<請求項2の発明>
例えば、何らかの原因で、例えば信号入力回路のシールド用端子(第2信号入力端子)がシールド電線のシールド部材に接続されていないときには、シールド用端子の電圧レベルが不安定状態となり、連結されている出力装置がPNP型かNPN型かを信号入力回路側において識別することが困難になることがある。
そこで、本構成によれば、シールド用端子の電圧レベルが、1対の電源供給端子の両電圧レベルに挟まれる所定範囲内にあるときには、信号入力端子を低電位端子側及び高電位端子側のいずれにも接続しない構成としている(第3入力形態)。
<Invention of Claim 2>
For example, for some reason, for example, when the shield terminal (second signal input terminal) of the signal input circuit is not connected to the shield member of the shield wire, the voltage level of the shield terminal becomes unstable and connected. It may be difficult to identify on the signal input circuit side whether the output device is a PNP type or an NPN type.
Therefore, according to this configuration, when the voltage level of the shield terminal is within a predetermined range between the voltage levels of the pair of power supply terminals, the signal input terminal is connected to the low potential terminal side and the high potential terminal side. It is set as the structure which is not connected to any (3rd input form).

以下、本発明の一実施形態を図1,図2に基づいて説明する。
本実施形態のリレーユニット50は、PNP型(PNP出力タイプ)の多光軸光電スイッチと、NPN型(NPN出力タイプ)の多光軸光電スイッチとに選択的に連結可能とされ、PNP型の多光軸光電スイッチが連結されているときはここからのPNP出力信号を、NPN型の多光軸光電スイッチが連結されているときはここからのNPN出力信号を、取り込むものである。
なお、以下において、PNP型の多光軸光電スイッチ及びNPN型の多光軸光電スイッチについて、両者を総称する場合には「多光軸光電スイッチ1」と呼び、区別する場合には、前者を「PNP出力光電スイッチ2」、後者を「NPN出力光電スイッチ3」)とそれぞれ呼ぶ。
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
The relay unit 50 of the present embodiment is selectively connectable to a PNP type (PNP output type) multi-optical axis photoelectric switch and an NPN type (NPN output type) multi-optical axis photoelectric switch. When the multi-optical axis photoelectric switch is connected, the PNP output signal from here is taken in, and when the NPN type multi-optical axis photoelectric switch is connected, the NPN output signal from here is taken in.
In the following description, the PNP type multi-optical axis photoelectric switch and the NPN type multi-optical axis photoelectric switch are collectively referred to as “multi-optical axis photoelectric switch 1”. The “PNP output photoelectric switch 2” and the latter will be referred to as “NPN output photoelectric switch 3”), respectively.

1.多光軸光電スイッチの構成
(1)多光軸光電スイッチの全体構成
本発明の出力装置としてのPNP出力光電スイッチ2及びNPN出力光電スイッチ3は、主として信号出力回路30の回路構成が異なるのみで他の構成は共通する。従って、まず共通構成について図1を参照しつつ説明する。
1. Configuration of multi-optical axis photoelectric switch (1) Overall configuration of multi-optical axis photoelectric switch The PNP output photoelectric switch 2 and the NPN output photoelectric switch 3 as output devices of the present invention are mainly different in the circuit configuration of the signal output circuit 30. Other configurations are common. Therefore, first, the common configuration will be described with reference to FIG.

(a)全体構成
この多光軸光電スイッチ1は、互いに対向配置される投光器10と受光器20とからなる。これら投受光器10,20は、共に、例えば上下に延びた角柱状をなし、投光器10のうち受光器20との対向面には、複数の投光素子11が上下方向に沿って一列に配され、受光器20のうち投光器10との対向面には、前記各投光素子11と対をなす複数の受光素子21が、やはり上下方向に沿って一列に配されている。
また、これら投受光素子11,21は、共に例えば16個ずつ備えられており、上下方向で同じ順位に配置された投受光端子11,21同士が、互いに正規の相手方になっている。そして、各受光素子21が光を受光して出力する受光信号は、正規の相手方投光素子11からの光を受光したときにのみ、受光回路22に受信される。なお、受光器20の上面には、動作表示部26が設けられている。この動作表示部26は、例えば、表示灯としてのLEDからなる。
(A) Overall Configuration The multi-optical axis photoelectric switch 1 includes a light projector 10 and a light receiver 20 that are arranged to face each other. Both of the light projecting / receiving devices 10 and 20 have, for example, a prismatic shape extending vertically, and a plurality of light projecting elements 11 are arranged in a line along the vertical direction on the surface of the light projecting device 10 facing the light receiving device 20. A plurality of light receiving elements 21 paired with the light projecting elements 11 are arranged in a line along the vertical direction on the surface of the light receiver 20 facing the light projecting element 10.
In addition, for example, 16 of these light projecting / receiving elements 11 and 21 are provided, for example, and the light projecting / receiving terminals 11 and 21 arranged in the same order in the vertical direction are normal counterparts. The light receiving signal output by each light receiving element 21 receiving light is received by the light receiving circuit 22 only when the light from the normal counterpart light projecting element 11 is received. An operation display unit 26 is provided on the upper surface of the light receiver 20. For example, the operation display unit 26 includes an LED as an indicator lamp.

(b)電気的構成
図1には、本実施形態の多光軸光電スイッチ1に係る電気的構成が示されている。同図に示すように、投光器10には、前記投光素子11が連なる投光回路14が設けられており、この投光回路14は、所定のクロックパルス信号に基づいて作動し、投光器10の上端側の投光素子11から下端側の投光素子11へと順次に駆動信号を与え、この動作を高周期で繰り返す。これにより、投光器10の上端側の投光素子11から順次に光信号が出射される。
一方、受光器20には、前記受光素子21が連なる受光回路22が設けられている。受光回路22には、複数のスイッチ素子25が備えられ、これらスイッチ素子25の一方のリード部に、各受光素子21の出力端子を電気的に接続すると共に、他方にリード部を、受光制御回路24の信号入力端子に共通接続してある。
(B) Electrical Configuration FIG. 1 shows an electrical configuration related to the multi-optical axis photoelectric switch 1 of the present embodiment. As shown in the figure, the projector 10 is provided with a projector circuit 14 in which the projector elements 11 are connected. The projector circuit 14 operates based on a predetermined clock pulse signal. A drive signal is sequentially given from the light projecting element 11 on the upper end side to the light projecting element 11 on the lower end side, and this operation is repeated at a high cycle. Thereby, an optical signal is sequentially emitted from the light projecting element 11 on the upper end side of the projector 10.
On the other hand, the light receiver 20 is provided with a light receiving circuit 22 connected to the light receiving element 21. The light receiving circuit 22 includes a plurality of switch elements 25. The output terminals of the respective light receiving elements 21 are electrically connected to one lead portion of the switch elements 25, and the lead portion is connected to the other, and the light receiving control circuit. Commonly connected to 24 signal input terminals.

また、各スイッチ素子25に備えた制御用端子25Aは、シフトレジスタ23を介して受光制御回路24の出力端子に電気的に接続されている。そして、各スイッチ素子25は、常には、オフ状態になっており、受光制御回路24からシフトレジスタ23を介して各スイッチ素子25に駆動信号が順次に与えられ、これによりオンしたスイッチ素子25に連なる受光素子21の受光信号だけが、受光制御回路24に取り込まれるようになっている。   Further, the control terminal 25 </ b> A provided in each switch element 25 is electrically connected to the output terminal of the light reception control circuit 24 through the shift register 23. Each switch element 25 is always in an off state, and a drive signal is sequentially given from the light reception control circuit 24 to each switch element 25 via the shift register 23. Only the light reception signal of the continuous light receiving element 21 is taken into the light reception control circuit 24.

さらに、受光制御回路24は、投受光器10,20を繋ぐ線L1を介して、投光回路14から前記クロックパルス信号を取り込んでおり、このクロックパルス信号(即ち、各投光素子11の投光タイミング)に同期して、所定のスイッチ素子25をオンさせる。具体的には、上下一列に配された投光素子11のうち所定順位の投光素子11が光信号を投光した瞬間に、その投光素子11と同順位に配された受光素子21に連なるスイッチ素子25のみをオンする。これにより、各受光素子21が、正規の相手方投光素子11からの光を受光したときにのみ、その受光素子21が出力した受光信号が受光制御回路24に取り込まれる。   Further, the light receiving control circuit 24 takes in the clock pulse signal from the light projecting circuit 14 via a line L1 connecting the light projecting / receiving devices 10 and 20, and this clock pulse signal (that is, the light projecting element 11 of each light projecting element 11) The predetermined switch element 25 is turned on in synchronization with the optical timing. Specifically, among the light projecting elements 11 arranged in the upper and lower rows, the light receiving elements 21 arranged in the same order as the light projecting elements 11 at the moment when the light projecting elements 11 of a predetermined order project an optical signal. Only the continuous switch element 25 is turned on. Thereby, only when each light receiving element 21 receives light from the normal counterpart light projecting element 11, the light reception signal output by the light receiving element 21 is taken into the light reception control circuit 24.

受光制御回路24は、各スイッチ素子25を順次にオンオフ制御するタイミングに同期して、取り込んだ受信信号と所定の基準電圧との大小関係をチェックする。そして、順次に受光制御回路24に取り込まれた受光信号の全てが、基準電圧VC1を上回った場合に、前記動作表示部26を消灯し、いずれか1つの受光信号でも基準電圧VC1を下回った場合には、動作表示部26を点灯させるとともに、例えば被検出物を検出したか否かによって反転する動作信号を次述する信号出力回路に出力する。   The light reception control circuit 24 checks the magnitude relationship between the received reception signal and a predetermined reference voltage in synchronization with the timing at which the switch elements 25 are sequentially turned on / off. When all of the light reception signals sequentially taken into the light reception control circuit 24 exceed the reference voltage VC1, the operation display unit 26 is turned off, and any one light reception signal falls below the reference voltage VC1. For example, the operation display unit 26 is turned on, and an operation signal that is inverted depending on whether or not an object to be detected is detected is output to a signal output circuit described below.

(2)信号出力回路の構成
先に述べたように、PNP出力光電スイッチ2とNPN出力光電スイッチ3とでは、信号出力回路30の回路構成が異なる。図2紙面左側には、PNP出力光電スイッチ2とNPN出力光電スイッチ3のそれぞれの信号出力回路31,41の回路構成が示されている。
(2) Configuration of Signal Output Circuit As described above, the circuit configuration of the signal output circuit 30 differs between the PNP output photoelectric switch 2 and the NPN output photoelectric switch 3. The circuit configurations of the signal output circuits 31 and 41 of the PNP output photoelectric switch 2 and the NPN output photoelectric switch 3 are shown on the left side of FIG.

(a)PNP出力光電スイッチの信号出力回路
この信号出力回路31は、受光制御回路24からの上記動作信号をベースに受けるPNP型トランジスタ32を備えて構成されている。具体的には、信号出力回路31は、出力側からシールド電線33が導出されている。このシールド電線33は、信号出力回路31と後述するリレーユニット50とを連結するためのものであり、リレーユニット50側のVcc端子52及びグランド端子53(本発明の「1対の電源供給端子」)に連なる1対の電源入力線34,35と、リレーユニット50側の信号入力端子54に電気的に接続される信号出力線36と、それらの線を包囲するシールド部材37(例えば編組シールド)とを備えて構成されている。上記PNP型トランジスタ32は、コレクタ側が、リレーユニット50側のVcc端子52に電気的に接続される高電位側入力線34に抵抗38を介して電気的に接続されるとともに、エミッタが信号出力線36に電気的に接続されている。また、シールド部材37は、リレーユニット50側のグランド端子53に電気的に接続される低電位側入力線35に短絡されている。
(A) Signal output circuit of PNP output photoelectric switch The signal output circuit 31 includes a PNP transistor 32 that receives the operation signal from the light receiving control circuit 24 as a base. Specifically, the signal output circuit 31 has a shield wire 33 led out from the output side. This shielded wire 33 is for connecting the signal output circuit 31 and a relay unit 50 to be described later. The Vcc terminal 52 and the ground terminal 53 on the relay unit 50 side (“one pair of power supply terminals” of the present invention). ), A signal output line 36 electrically connected to the signal input terminal 54 on the relay unit 50 side, and a shield member 37 (for example, a braided shield) surrounding these lines. And is configured. The PNP transistor 32 has a collector side electrically connected to a high potential side input line 34 electrically connected to a Vcc terminal 52 on the relay unit 50 side via a resistor 38, and an emitter connected to a signal output line. 36 is electrically connected. The shield member 37 is short-circuited to the low potential side input line 35 that is electrically connected to the ground terminal 53 on the relay unit 50 side.

(b)NPN出力光電スイッチの信号出力回路
この信号出力回路41は、受光制御回路24からの上記動作信号をベースに受けるNPN型トランジスタ42を備えて構成されている。具体的には、信号出力回路41は、やはり出力側からシールド電線43が導出されている。このシールド電線43は、信号出力回路41と後述するリレーユニット50とを連結するためのものであり、リレーユニット50側のVcc端子52及びグランド端子53に連なる1対の電源入力線44,45と、リレーユニット50側の信号入力端子54に電気的に接続される信号出力線46と、それらの線を包囲するシールド部材47(例えば編組シールド)とを備えて構成されている。上記NPN型トランジスタ42は、コレクタ側が、信号出力線46に電気的に接続されるとともに、エミッタが、リレーユニット50側のグランド端子53に電気的に接続される低電位側入力線45に抵抗48を介して電気的に接続されている。また、シールド部材47は、リレーユニット50側のVcc端子52に電気的に接続される高電位側入力線44に短絡されている。
(B) Signal output circuit of NPN output photoelectric switch The signal output circuit 41 includes an NPN transistor 42 that receives the operation signal from the light receiving control circuit 24 as a base. Specifically, in the signal output circuit 41, the shielded electric wire 43 is derived from the output side. The shielded electric wire 43 is for connecting the signal output circuit 41 and a relay unit 50 to be described later, and a pair of power input lines 44 and 45 connected to the Vcc terminal 52 and the ground terminal 53 on the relay unit 50 side. The signal output line 46 is electrically connected to the signal input terminal 54 on the relay unit 50 side, and a shield member 47 (for example, a braided shield) surrounding the lines. The NPN transistor 42 has a collector side electrically connected to the signal output line 46 and an emitter connected to the low potential side input line 45 connected to the ground terminal 53 on the relay unit 50 side. It is electrically connected via. The shield member 47 is short-circuited to the high potential side input line 44 that is electrically connected to the Vcc terminal 52 on the relay unit 50 side.

2.リレーユニットの構成
ここで、上述したように、一般的に、PNP型の信号出力回路31は、そのシールド部材37が低電位側入力線35に短絡されており、NPN型の信号出力回路41は、そのシールド部材47が高電位側入力線44に短絡されている。従って、信号出力回路31,41が接続された状態でシールド電線33,43のシールド部材37,47の電圧レベルに基づき、連結されている信号出力回路がPNP型かNPN型かを識別することができる。そこで、本実施形態では次のような構成になっている。
リレーユニット50は、上記多光軸光電スイッチ1からの出力信号を取り込む信号入力回路51と、外部機器が接続される接続端子対64,65と、上記信号入力回路に取り込まれる出力信号に基づき各接続端子対の間を電気的に接続するリレー回路とを備えて構成されている。
2. Here, as described above, generally, the PNP type signal output circuit 31 has its shield member 37 short-circuited to the low potential side input line 35, and the NPN type signal output circuit 41 The shield member 47 is short-circuited to the high potential side input line 44. Therefore, it is possible to identify whether the connected signal output circuit is a PNP type or an NPN type based on the voltage level of the shield members 37 and 47 of the shielded wires 33 and 43 in a state where the signal output circuits 31 and 41 are connected. it can. Therefore, the present embodiment has the following configuration.
The relay unit 50 includes a signal input circuit 51 that captures an output signal from the multi-optical axis photoelectric switch 1, a pair of connection terminals 64 and 65 to which an external device is connected, and an output signal that is captured by the signal input circuit. And a relay circuit that electrically connects the connection terminal pair.

具体的には、図2紙面右側に示すように、リレーユニット50の信号入力回路は、Vcc端子52及びグランド端子53(本発明の「1対の電源供給端子」)と、信号入力端子54と、シールド用端子55とを備えている。Vcc端子52及びグランド端子53は、各信号出力回路31,41に連なるシールド電線33,43の高電位側入力線34,44及び低電位側入力線35,45にそれぞれ電気的に接続されて多光軸光電スイッチ1に対して電源56(例えば24V)から電力供給を行うための端子である。信号入力端子54は、シールド電線33,43の信号出力線36,46に電気的に接続される端子であり、シールド用端子は、シールド電線33,43のシールド部材37,47に電気的に接続される端子である。   Specifically, as shown on the right side of FIG. 2, the signal input circuit of the relay unit 50 includes a Vcc terminal 52 and a ground terminal 53 (“one pair of power supply terminals” of the present invention), a signal input terminal 54, and the like. And a shielding terminal 55. The Vcc terminal 52 and the ground terminal 53 are electrically connected to the high potential side input lines 34 and 44 and the low potential side input lines 35 and 45 of the shielded wires 33 and 43 connected to the signal output circuits 31 and 41, respectively. This is a terminal for supplying power from the power source 56 (for example, 24 V) to the optical axis photoelectric switch 1. The signal input terminal 54 is a terminal electrically connected to the signal output lines 36 and 46 of the shielded wires 33 and 43, and the shield terminal is electrically connected to the shield members 37 and 47 of the shielded wires 33 and 43. Terminal.

Vcc端子52及びグランド端子53の間には2つのリレーコイル57,58が直列接続されており、それらのリレーコイル57,58の接続点がシールド用端子55に接続されている。次いで、信号入力端子54とグランド端子53との間には、上記リレーコイル57に生じる磁気力によってオン動作する1対のリレー接点59,60が直列接続されている。つまり、リレーコイル57と1対のリレー接点59,60が本発明の「第1の機械的リレー回路」に相当する。以下、「PNP用リレー回路」という。   Two relay coils 57 and 58 are connected in series between the Vcc terminal 52 and the ground terminal 53, and the connection point of these relay coils 57 and 58 is connected to the shield terminal 55. Next, between the signal input terminal 54 and the ground terminal 53, a pair of relay contacts 59 and 60 that are turned on by the magnetic force generated in the relay coil 57 are connected in series. That is, the relay coil 57 and the pair of relay contacts 59 and 60 correspond to the “first mechanical relay circuit” of the present invention. Hereinafter, it is referred to as a “PNP relay circuit”.

また、信号入力端子54とVcc端子52との間には、上記リレーコイル58に生じる磁気力によってオンオフ動作(開閉動作)する1対のリレー接点61,62が直列接続されている。つまり、リレーコイル58と1対のリレー接点61,62が本発明の「第2の機械的リレー回路」に相当する。以下、「NPN用リレー回路」という。また、これらの第1及び第2の機械的リレー回路で本発明の「選択回路」を構成している。   Further, between the signal input terminal 54 and the Vcc terminal 52, a pair of relay contacts 61 and 62 that are turned on / off (open / close operation) by the magnetic force generated in the relay coil 58 are connected in series. That is, the relay coil 58 and the pair of relay contacts 61 and 62 correspond to the “second mechanical relay circuit” of the present invention. Hereinafter, it is referred to as “NPN relay circuit”. The first and second mechanical relay circuits constitute a “selection circuit” of the present invention.

更に、1対のリレー接点59,60同士の接続点と、リレー接点61,62同士の接続点とは、請求項5でいう「リレー回路」を構成するリレーコイル63を介して共通接続されている。リレーユニット50には、2組の接続端子対64,65が設けられ、それぞれの接続端子対64,65同士は、上記リレーコイル63に生じる磁気力によってオンオフ動作(開閉動作)するリレー接点66,67を介して接続されている。   Further, the connection point between the pair of relay contacts 59 and 60 and the connection point between the relay contacts 61 and 62 are commonly connected via the relay coil 63 constituting the “relay circuit” according to claim 5. Yes. The relay unit 50 is provided with two connection terminal pairs 64, 65, and the connection terminal pairs 64, 65 are connected to the relay contacts 66, which are turned on / off (open / close operation) by the magnetic force generated in the relay coil 63. 67 is connected.

3.本実施形態の動作
(1)リレーユニットにPNP出力光電スイッチを連結した場合
この場合、シールド電線33のシールド部材37はPNP出力光電スイッチ2において0Vの低電位側入力線35に短絡接続されているから、これに接続されるシールド用端子55も略0Vになり、PNP用リレー回路のリレーコイル57には略24Vの電圧が印加されることになり、これにより生じる磁気力によってリレー接点59,60がオン動作(閉動作)して信号入力端子54がグランド端子53側に電気的に接続される。これにより、信号入力回路は、PNP出力光電スイッチ2からのPNP出力信号を入力可能なPNP入力形態(第1入力形態)となる。
3. Operation of this embodiment (1) When a PNP output photoelectric switch is connected to the relay unit In this case, the shield member 37 of the shielded electric wire 33 is short-circuited to the 0 V low potential side input line 35 in the PNP output photoelectric switch 2. Therefore, the shield terminal 55 connected to the relay terminal is also at approximately 0V, and a voltage of approximately 24V is applied to the relay coil 57 of the PNP relay circuit. Is turned on (closed), and the signal input terminal 54 is electrically connected to the ground terminal 53 side. Thereby, the signal input circuit becomes a PNP input form (first input form) capable of inputting the PNP output signal from the PNP output photoelectric switch 2.

また、このとき、リレーコイル63には、PNP出力光電スイッチ2側の信号出力回路31のPNP型トランジスタ32のオン動作時とオフ動作時とによって異なる値の電圧が印加される。本実施形態では、例えば被検出物を検出されていないときの動作信号によりPNP型トランジスタ32のオフ動作した時に、リレーコイル63に生じる磁気力によってリレー接点66,67がオン動作(閉動作)する構成になっている。従って、リレーユニット50は、その各接続端子対64,65を、制御対象となる外部機器としての工作機械などの電源供給ラインに介在させて、被検出物が検出されていないときにはリレー接点66,67をオン動作させて工作機械を駆動させる一方で、被検出物が検出されたときにはリレー接点66,67をオフ動作させて工作機械を停止させるなど、リレー回路として機能させることができる。   At this time, different voltages are applied to the relay coil 63 depending on whether the PNP transistor 32 of the signal output circuit 31 on the PNP output photoelectric switch 2 side is on or off. In the present embodiment, for example, when the PNP transistor 32 is turned off by an operation signal when an object to be detected is not detected, the relay contacts 66 and 67 are turned on (closed) by the magnetic force generated in the relay coil 63. It is configured. Therefore, the relay unit 50 has the connection terminal pairs 64 and 65 interposed in a power supply line of a machine tool or the like as an external device to be controlled, and when no object to be detected is detected, While the machine tool is driven by turning on 67, the relay contacts 66 and 67 are turned off to stop the machine tool when an object to be detected is detected.

(2)リレーユニットにNPN出力光電スイッチを連結した場合
この場合、シールド電線43のシールド部材47はNPN出力光電スイッチ3において24Vの高電位側入力線44に短絡接続されているから、これに接続されるシールド用端子55も略24Vになり、NPN用リレー回路のリレーコイル58には略24Vの電圧が印加されることになり、これにより生じる磁気力によってリレー接点61,62がオン動作(閉動作)して信号入力端子54がVcc端子52側に電気的に接続される。これにより、信号入力回路は、NPN出力光電スイッチ3からのNPN出力信号を入力可能なNPN入力形態(第2入力形態)となる。
(2) When an NPN output photoelectric switch is connected to the relay unit In this case, since the shield member 47 of the shielded electric wire 43 is short-circuited to the high potential side input line 44 of 24 V in the NPN output photoelectric switch 3, it is connected to this. The shield terminal 55 is also approximately 24V, and a voltage of approximately 24V is applied to the relay coil 58 of the NPN relay circuit, and the relay contacts 61 and 62 are turned on (closed) by the magnetic force generated thereby. The signal input terminal 54 is electrically connected to the Vcc terminal 52 side. Thereby, the signal input circuit becomes an NPN input form (second input form) capable of inputting the NPN output signal from the NPN output photoelectric switch 3.

また、このとき、リレーコイル63には、NPN出力光電スイッチ3側の信号出力回路41のNPN型トランジスタ42のオン動作時とオフ動作時とによって異なる値の電圧が印加される。本実施形態では、例えば被検出物を検出されていないときの動作信号によりNPN型トランジスタ42のオフ動作した時に、リレーコイル63に生じる磁気力によってリレー接点66,67がオン動作(閉動作)する構成になっている。従って、やはり、リレーユニット50は、その各接続端子対64,65を、制御対象となる外部機器としての工作機械などの電源供給ラインに介在させて、被検出物が検出されていないときにはリレー接点66,67をオン動作させて工作機械を駆動させる一方で、被検出物が検出されたときにはリレー接点66,67をオフ動作させて工作機械を停止させるなど、リレー回路として機能させることができる。   At this time, different voltages are applied to the relay coil 63 depending on whether the NPN transistor 42 of the signal output circuit 41 on the NPN output photoelectric switch 3 side is on or off. In the present embodiment, for example, when the NPN transistor 42 is turned off by an operation signal when an object to be detected is not detected, the relay contacts 66 and 67 are turned on (closed operation) by the magnetic force generated in the relay coil 63. It is configured. Therefore, the relay unit 50 also has its connection terminal pairs 64 and 65 interposed in a power supply line of a machine tool or the like as an external device to be controlled, and when no object to be detected is detected, the relay contact 50 While the machine tool is driven by turning on 66 and 67, the relay contacts 66 and 67 are turned off to stop the machine tool when an object to be detected is detected.

4.本実施形態の効果
以上のように、本実施形態によれば、多光軸光電スイッチ1を接続すると、そのシールド用端子55の電圧レベルに基づきその多光軸光電スイッチ1がPNP出力光電スイッチ2なのかNPN出力光電スイッチ3なのかを識別しそれに応じた入力形態(PNP入力、NPN入力)に自動で切り替わるようになっている。従って、本実施形態のリレーユニット50を1台用意するだけで、PNP出力光電スイッチ2及びNPN出力光電スイッチ3のいずれにも対応することができる。
4). As described above, according to the present embodiment, when the multi-optical axis photoelectric switch 1 is connected, the multi-optical axis photoelectric switch 1 is connected to the PNP output photoelectric switch 2 based on the voltage level of the shielding terminal 55. Or an NPN output photoelectric switch 3 and automatically switches to an input form (PNP input, NPN input) corresponding to the switch. Therefore, it is possible to deal with both the PNP output photoelectric switch 2 and the NPN output photoelectric switch 3 by preparing only one relay unit 50 of the present embodiment.

また、本実施形態では、シールド用端子55の電圧レベルが略24Vか0Vである場合にだけリレーコイル57或いはリレーコイル58によりリレー接点59,60とリレー接点61,62をそれぞれオン動作させる一方で、24Vよりも所定値だけ低く、かつ、0Vよりも所定値だけ高いレベルにあるときには、いずれのリレー接点59〜62もオン動作させない構成としている(第3入力形態)。従って、何らか影響で多光軸光電スイッチ1がPNP出力かNPN出力かを識別できない状態でこの多光軸光電スイッチ1からの出力信号が入力されることを未然に防止することができる。また、このとき、リレーコイル63には電圧が印加されずリレー接点66,67もオン動作しないので、工作機械等の外部機器に対して誤った制御が行われることを防止できる。   In the present embodiment, the relay contacts 59 and 60 and the relay contacts 61 and 62 are turned on by the relay coil 57 or the relay coil 58 only when the voltage level of the shield terminal 55 is approximately 24 V or 0 V, respectively. , The relay contacts 59 to 62 are not turned on when the level is lower than 24V by a predetermined value and higher than the predetermined value by 0V (third input form). Accordingly, it is possible to prevent the output signal from the multi-optical axis photoelectric switch 1 from being input in a state where it cannot be identified whether the multi-optical axis photoelectric switch 1 is a PNP output or an NPN output due to some influence. At this time, since no voltage is applied to the relay coil 63 and the relay contacts 66 and 67 are not turned on, it is possible to prevent erroneous control of an external device such as a machine tool.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれ、さらに、下記以外にも要旨を逸脱しない範囲内で種々変更して実施することができる。
(1)上記各実施形態では、出力装置として多光軸光電スイッチ1を例に挙げて説明したが、これに限らず、要するに、PNP出力信号、NPN出力信号を出力する出力装置であればこれらに対して本発明を適用することができる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention, and further, within the scope not departing from the gist of the invention other than the following. Various modifications can be made.
(1) In each of the above embodiments, the multi-optical axis photoelectric switch 1 has been described as an example of an output device. However, the present invention is not limited to this, and in short, any output device that outputs a PNP output signal or an NPN output signal. The present invention can be applied to.

(2)上記実施形態では、信号出力回路31,41を、PNP型トランジスタ32、NPN型トランジスタ42のオープンコレクタ回路のバイポーラトランジスタによる出力回路として構成であったが、これに限らず、PchFET及びNchFETによる出力回路であってもよい。   (2) In the above embodiment, the signal output circuits 31 and 41 are configured as output circuits using bipolar transistors of the open collector circuit of the PNP type transistor 32 and the NPN type transistor 42. However, the present invention is not limited to this, and PchFET and NchFET May be an output circuit.

本発明の一実施形態の多光軸光電スイッチの回路構成図The circuit block diagram of the multi-optical axis photoelectric switch of one Embodiment of this invention 多光軸光電スイッチの信号出力回路及びリレーユニット回路の回路構成図Circuit configuration diagram of signal output circuit and relay unit circuit of multi-optical axis photoelectric switch

符号の説明Explanation of symbols

1…多光軸光電スイッチ(出力装置)
2…PNP出力光電スイッチ(PNP出力装置)
3…NPN出力光電スイッチ(NPN出力装置)
30(31,41)…信号出力回路
33,43…シールド電線
34,44…高電位側入力線(電源入力線)
35,45…低電位側入力線(電源入力線)
36,46…信号出力線
37,47…シールド部材
50…リレーユニット
51…信号入力回路
52…Vcc端子(高電位側端子)
53…グランド端子(低電位側端子)
54…信号入力端子
55…シールド用端子
57,58,63…リレーコイル
58…リレーコイル
59,60…リレー接点
59〜62,66,67…リレー接点
1. Multi-optical axis photoelectric switch (output device)
2. PNP output photoelectric switch (PNP output device)
3 ... NPN output photoelectric switch (NPN output device)
30 (31, 41) ... signal output circuit 33, 43 ... shielded wire 34, 44 ... high potential side input line (power input line)
35, 45 ... low potential side input line (power input line)
36, 46 ... Signal output line 37, 47 ... Shield member 50 ... Relay unit 51 ... Signal input circuit 52 ... Vcc terminal (high potential side terminal)
53 ... Ground terminal (low potential side terminal)
54 ... Signal input terminal 55 ... Shielding terminal 57, 58, 63 ... Relay coil 58 ... Relay coil 59, 60 ... Relay contact 59-62, 66, 67 ... Relay contact

Claims (8)

PNP型の出力装置と、NPN型の出力装置とが選択的に連結可能とされ、前記PNP型の出力装置が連結されているときはこの出力装置からの出力信号を、前記NPN型の出力装置が連結されているときはこの出力装置からの出力信号を、取り込む信号入力回路であって、
前記出力信号が入力される第1信号入力端子と、
外部から信号が入力される第2信号入力端子と、
前記第2信号入力端子が、互いにレベルの異なる高電位基準レベル及び低電位基準レベルのうち一方の基準レベルと略同一レベルにあるときに、前記第1信号入力端子の電圧レベルを前記低電位基準レベル側にして前記PNP型の出力装置からの出力信号を入力可能な第1入力形態とする一方で、前記第2信号入力端子が前記高電位基準レベル及び低電位基準レベルのうち他方の基準レベルと略同一レベルにあるときに、前記第1入力端子の電圧レベルを前記高電位基準レベル側にして前記NPN型の出力装置からの出力信号を入力可能な第2入力形態とする選択動作を行う選択回路とを備えて構成されていることを特徴とする信号入力回路。
A PNP-type output device and an NPN-type output device can be selectively connected. When the PNP-type output device is connected, an output signal from the output device is sent to the NPN-type output device. Is a signal input circuit that takes in an output signal from this output device when connected,
A first signal input terminal to which the output signal is input;
A second signal input terminal to which a signal is input from the outside;
When the second signal input terminal is at substantially the same level as one of a high potential reference level and a low potential reference level having different levels, the voltage level of the first signal input terminal is set to the low potential reference. On the level side, the first input form is configured such that an output signal from the PNP type output device can be input, while the second signal input terminal is the other reference level of the high potential reference level and the low potential reference level. When the voltage level of the first input terminal is set to the high potential reference level side, the selection operation is performed so that the output signal from the NPN-type output device can be input. A signal input circuit comprising a selection circuit.
前記選択回路は、前記第2信号入力端子の電圧レベルが、前記高電位基準レベル及び低電位基準レベルに挟まれる所定範囲内にあるときには、前記第1信号入力端子の電圧レベルを前記高電位基準レベル側及び前記低電位基準レベル側のいずれにもしない第3入力形態を選択するよう動作することを特徴とする請求項1記載の信号入力回路。 The selection circuit sets the voltage level of the first signal input terminal to the high potential reference when the voltage level of the second signal input terminal is within a predetermined range between the high potential reference level and the low potential reference level. 2. The signal input circuit according to claim 1, wherein the signal input circuit operates so as to select a third input mode which is not set on either the level side or the low potential reference level side. 前記一方の基準レベルは前記低電位基準レベルであり、前記他方の基準レベルは前記高電位基準レベルであることを特徴とする請求項1または請求項2記載の信号入力回路。 3. The signal input circuit according to claim 1, wherein the one reference level is the low potential reference level, and the other reference level is the high potential reference level. 前記選択回路は、
前記高電位基準レベルと前記第2信号入力端子の電圧レベルとの電位差が所定値以上であることを条件に前記第1信号入力端子と前記低電位基準レベルの信号線側との間のリレー接点を閉じる動作をする第1の機械的リレー回路と、
前記低電位基準レベルと前記第2信号入力端子の電圧レベルとの電位差が所定値以上であることを条件に前記第1信号入力端子と前記高電位基準レベルの信号線側との間のリレー接点を閉じる動作をする第2の機械的リレー回路とを備えて構成されていることを特徴とする請求項1ないし請求項3のいずれかに記載の信号入力回路。
The selection circuit includes:
A relay contact between the first signal input terminal and the signal line side of the low potential reference level on condition that a potential difference between the high potential reference level and the voltage level of the second signal input terminal is a predetermined value or more. A first mechanical relay circuit that operates to close
A relay contact between the first signal input terminal and the signal line side of the high potential reference level on condition that a potential difference between the low potential reference level and the voltage level of the second signal input terminal is equal to or greater than a predetermined value. 4. The signal input circuit according to claim 1, further comprising a second mechanical relay circuit that performs an operation of closing the first and second relay circuits.
前記第1信号入力端子は、信号出力線、1対の電源入力線、前記1対の電源入力線とは別体或いはそれら1対の電源入力線のいずれか一方を兼ねるシールド部材とを有するとともに前記出力装置に連なるシールド電線のうち、前記信号出力線に接続される信号入力端子であり、
前記1対の電源入力線にそれぞれ接続される1対の電源供給端子を備え、前記高電位基準レベル及び低電位基準レベルは、前記1対の電源供給端子の高電位端子及び低電位端子のそれぞれの電圧レベルであり、
前記第2信号入力端子は、前記シールド部材に接続されるシールド用端子であることを特徴とする請求項1ないし請求項4のいずれかに記載の信号入力回路。
The first signal input terminal includes a signal output line, a pair of power input lines, a shield member that is separate from the pair of power input lines or serves as either one of the pair of power input lines. Of the shielded electric wires connected to the output device, the signal input terminal connected to the signal output line,
A pair of power supply terminals connected to the pair of power supply input lines, respectively, wherein the high potential reference level and the low potential reference level are respectively the high potential terminal and the low potential terminal of the pair of power supply terminals; Voltage level of
5. The signal input circuit according to claim 1, wherein the second signal input terminal is a shield terminal connected to the shield member. 6.
上記請求項1ないし請求項4のいずれかに記載の信号入力回路と、
外部機器が接続される1対の接続端子と、
前記信号入力回路に取り込まれた前記出力信号に基づき前記1対の接続端子間を接続するリレー回路とを備えたリレーユニット回路。
A signal input circuit according to any one of claims 1 to 4;
A pair of connection terminals to which external devices are connected;
A relay unit circuit comprising: a relay circuit that connects the pair of connection terminals based on the output signal captured by the signal input circuit.
前記第1信号入力端子は、信号出力線、1対の電源入力線、前記1対の電源入力線とは別体或いはそれら1対の電源入力線のいずれか一方を兼ねるシールド部材とを有するとともに前記出力装置に連なるシールド電線のうち、前記信号出力線に接続される信号入力端子であり、
前記1対の電源入力線にそれぞれ接続される1対の電源供給端子を備え、前記高電位基準レベル及び低電位基準レベルは、前記1対の電源供給端子の高電位端子及び低電位端子のそれぞれの電圧レベルであり、
前記第2信号入力端子は、前記シールド部材に接続されるシールド用端子であることを特徴とする請求項6記載のリレーユニット回路。
The first signal input terminal includes a signal output line, a pair of power input lines, a shield member that is separate from the pair of power input lines or serves as either one of the pair of power input lines. Of the shielded electric wires connected to the output device, the signal input terminal connected to the signal output line,
A pair of power supply terminals connected to the pair of power supply input lines, respectively, wherein the high potential reference level and the low potential reference level are respectively the high potential terminal and the low potential terminal of the pair of power supply terminals; Voltage level of
The relay unit circuit according to claim 6, wherein the second signal input terminal is a shielding terminal connected to the shield member.
前記PNP型の出力装置はPNP出力の多光軸光電センサであり、前記NPN型の出力装置は、NPN出力の多光軸光電センサであることを特徴とする請求項7記載のリレーユニット回路。 8. The relay unit circuit according to claim 7, wherein the PNP output device is a PNP output multi-optical axis photoelectric sensor, and the NPN output device is an NPN output multi-optical axis photoelectric sensor.
JP2004034920A 2004-02-12 2004-02-12 Signal input circuit and relay unit circuit Expired - Fee Related JP4304091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004034920A JP4304091B2 (en) 2004-02-12 2004-02-12 Signal input circuit and relay unit circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004034920A JP4304091B2 (en) 2004-02-12 2004-02-12 Signal input circuit and relay unit circuit

Publications (2)

Publication Number Publication Date
JP2005229264A JP2005229264A (en) 2005-08-25
JP4304091B2 true JP4304091B2 (en) 2009-07-29

Family

ID=35003650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004034920A Expired - Fee Related JP4304091B2 (en) 2004-02-12 2004-02-12 Signal input circuit and relay unit circuit

Country Status (1)

Country Link
JP (1) JP4304091B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4862912B2 (en) * 2009-03-30 2012-01-25 ブラザー工業株式会社 Output interface circuit
JP4807431B2 (en) * 2009-03-30 2011-11-02 ブラザー工業株式会社 Input interface circuit
WO2012117472A1 (en) * 2011-03-03 2012-09-07 株式会社パトライト Input circuit and integrated circuit having the input circuit integrated therein

Also Published As

Publication number Publication date
JP2005229264A (en) 2005-08-25

Similar Documents

Publication Publication Date Title
WO2018040381A1 (en) Reversible plugging-recognizing power supply device and smart charging device
JP4133646B2 (en) Signal output circuit, detection switch and multi-optical axis photoelectric switch
JP2008270640A (en) Light emitting device and inspection method thereof
CN102142834A (en) Digital output circuit
JPH11161391A (en) Interface circuit
KR20090128814A (en) Port Selector, Device Evaluation System and Method Using the Same
JP4304091B2 (en) Signal input circuit and relay unit circuit
US20110114858A1 (en) Digital input circuit
US20200169041A1 (en) Detection circuit
JP5363862B2 (en) Sensor controller, photoelectric sensor system and photoelectric sensor
JP2011078133A (en) Device for wire connection to remote electronic board
JP4260704B2 (en) Signal control device, detection sensor, and multi-optical axis photoelectric sensor
JP2005345155A (en) Signal input device, detection sensor system, photoelectric sensor system, and sensor controller therefor
JP2005143002A (en) Input circuit
JP2008180653A (en) Multiple optical axis photoelectric sensor
JP6435249B2 (en) Contact input control device
JP5008036B2 (en) Game machine
JP2009033633A (en) Signal output circuit, detection switch, and multiple optical axis photoelectric switch
JP5184246B2 (en) Output circuit and detection switch using the same
JP4783128B2 (en) Multi-optical axis photoelectric switch, basic unit of multi-optical axis photoelectric switch, and extension unit of multi-optical axis photoelectric switch
JP4093407B2 (en) Overcurrent detection circuit
JP2008054042A (en) Isolated contact output circuit
CN103930963B (en) A detection device in a current circuit device with standby shutdown function
CN107017872B (en) Input circuit
JP2002025376A (en) Switch open / close state judgment device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070112

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070709

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070710

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090402

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: 20090421

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090427

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

Free format text: PAYMENT UNTIL: 20120501

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4304091

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130501

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20140501

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees