JP2012190608A - Switch - Google Patents

Switch Download PDF

Info

Publication number
JP2012190608A
JP2012190608A JP2011051701A JP2011051701A JP2012190608A JP 2012190608 A JP2012190608 A JP 2012190608A JP 2011051701 A JP2011051701 A JP 2011051701A JP 2011051701 A JP2011051701 A JP 2011051701A JP 2012190608 A JP2012190608 A JP 2012190608A
Authority
JP
Japan
Prior art keywords
abnormality
signal
unit
signal output
abnormal signal
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
JP2011051701A
Other languages
Japanese (ja)
Inventor
Kokichi Hida
孝吉 飛田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2011051701A priority Critical patent/JP2012190608A/en
Publication of JP2012190608A publication Critical patent/JP2012190608A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Rotary Switch, Piano Key Switch, And Lever Switch (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a switch capable of preventing unnecessary abnormalities from being notified.SOLUTION: A limit switch comprises an actuation body which is displaced according to the load of an external force, and an on/off signal output section 103 which outputs any one of on signal or off signal according to the displacement of the actuation body. The limit switch further comprises first abnormal signal control section 121 through fourth abnormal signal control section 124 having a function of outputting an abnormality forecast signal indicating occurrence of abnormality when it is detected, and first changeover switch 36 through fourth changeover switch 39 which change over to any one of an effective mode for making the function of the first abnormal signal control section 121 through fourth abnormal signal control section 124 effective, or an ineffective mode for making the function of the first abnormal signal control section 121 through fourth abnormal signal control section 124 ineffective.

Description

本発明は、外部からの力の荷重に応じて変位する作動体を備え、当該作動体の位置に応じてオン信号またはオフ信号を出力するスイッチに関する。   The present invention relates to a switch that includes an operating body that is displaced according to a load of force from the outside, and that outputs an ON signal or an OFF signal according to the position of the operating body.

従来、工場の生産ラインにおいて、加工すべき製品等の物体が所定の位置に移送されたことを検出し、加工機械を自動的に起動するのに使用されるリミットスイッチが知られている(非特許文献1参照)。このリミットスイッチは、物体との接触により移動する作動体を備え、作動体の位置に応じて動作する。この作動体は、スイッチの本体に備えられた回転軸に取り付けられることにより、回転軸を基準に回転が可能となる。また、作動体は、物体と接触していない状態の位置が基準位置であり、物体と接触することにより、基準位置から物体の大きさに応じた位置まで回転する。その後、作動体は、物体と離れることにより、基準位置に戻る。   Conventionally, a limit switch used to automatically start a processing machine by detecting that an object such as a product to be processed has been transferred to a predetermined position in a factory production line is known (non- Patent Document 1). The limit switch includes an operating body that moves by contact with an object, and operates according to the position of the operating body. The operating body is attached to a rotating shaft provided in the main body of the switch, so that it can rotate with respect to the rotating shaft. Further, the position of the operating body that is not in contact with the object is the reference position, and when the operating body is in contact with the object, the operating body rotates from the reference position to a position corresponding to the size of the object. Thereafter, the operating body returns to the reference position by moving away from the object.

このようなリミットスイッチに関して、特許文献1,2には、次のような技術が記載されている。リミットスイッチは、第1のスイッチ部と、第1のスイッチ部よりも復帰が遅い第2のスイッチ部と、時間を測定するタイマとを少なくとも備える。このようなリミットスイッチが、移送されてきた物体と接触すると、第1のスイッチ部と第2のスイッチ部とがON状態となる。その後、スイッチが物体と接触しなくなり、第1のスイッチ部がOFF状態になったあと、第2のスイッチ部がOFF状態となる。そして、タイマは、第1のスイッチ部がOFF状態になったときから、第2のスイッチ部がOFF状態になったときまでの時間を計測する。これにより、リミットスイッチの復帰時間が計測される。そして、計測された復帰時間がタイムアップ時間よりも長い場合に、何らかの影響で作動体の動作が鈍っており将来異常が生じる可能性があることを示す異常信号が発せられる。   Regarding such limit switches, Patent Documents 1 and 2 describe the following techniques. The limit switch includes at least a first switch unit, a second switch unit that returns later than the first switch unit, and a timer that measures time. When such a limit switch comes into contact with the transferred object, the first switch unit and the second switch unit are turned on. Thereafter, the switch does not come into contact with the object, and after the first switch unit is turned off, the second switch unit is turned off. The timer measures the time from when the first switch unit is turned off to when the second switch unit is turned off. Thereby, the return time of the limit switch is measured. Then, when the measured return time is longer than the time-up time, an abnormality signal is generated indicating that the operation of the operating body is dull due to some influence and that an abnormality may occur in the future.

このように、リミットスイッチは、作動体の復帰時間がタイムアップ時間よりも長いときに異常信号を出力する機能を備えている。また、この他にも例えば、水の浸入を検知したときに将来異常が生じる可能性があることを示す異常予知信号を出力する機能を備えている。リミットスイッチは、複数の異常のうち少なくとも1つを検知すると、外部の装置に異常信号を出力する。   As described above, the limit switch has a function of outputting an abnormal signal when the return time of the operating body is longer than the time-up time. In addition, for example, it has a function of outputting an abnormality prediction signal indicating that there is a possibility that an abnormality will occur in the future when water intrusion is detected. When the limit switch detects at least one of a plurality of abnormalities, the limit switch outputs an abnormal signal to an external device.

特開平2−281513号公報(1990年11月10日公開)JP-A-2-281513 (published on November 10, 1990) 特開昭64−043934号公報(1989年2月16日公開)JP 64-049344 A (released February 16, 1989)

オムロン株式会社、「リミットスイッチ テクニカルガイド」、[online]、[平成 22年 11月 19日検索]、インターネット〈 URL:http://www.fa.omron.co.jp/data_pdf/commentary/limitswitch_apparatus_tg_j_3_1_1-5.pdf〉OMRON Corporation, “Limit Switch Technical Guide”, [online], [Searched on November 19, 2010], Internet <URL: http://www.fa.omron.co.jp/data_pdf/commentary/limitswitch_apparatus_tg_j_3_1_1- 5.pdf>

しかしながら、リミットスイッチを使用するユーザのなかには、必要な異常信号だけを通知したいと考えるユーザもいる。具体的には、作動体の復帰時間の長期化に関する異常は通知せず、浸水による異常は通知してほしいと考えるユーザ、またはその逆を考えるユーザがいる。例えば、リミットスイッチを水中で使用するわけではないが、温度変化が大きく結露の発生しやすい場所に設置する場合、水の浸入による異常が発生する可能性がないものの、結露によって浸水による異常が頻繁に発生することが考えら得る。このような場合、浸水による異常の通知が頻繁に発せられ、ユーザがその都度、不要な確認をしなければならないという問題がある。また、物体の移動速度を頻繁に変更するような製造ラインにリミットスイッチを設置する場合、復帰時間も頻繁に変化することとなる。このような場合に、意図的に復帰時間が遅くなるような製造ラインに変更しているのに、復帰時間の長期化に関する異常が発せられ、ユーザがその都度、不要な確認をしなければならないという問題がある。   However, some users who use limit switches want to notify only necessary abnormality signals. Specifically, there is a user who does not notify the abnormality related to the extension of the return time of the operating body, and wants to notify the abnormality due to flooding, or the user who thinks the opposite. For example, if the limit switch is not used underwater, but installed in a place where temperature changes are large and condensation is likely to occur, abnormalities due to ingress of water may not occur, but abnormalities due to infiltration due to condensation are frequent. Can occur. In such a case, there is a problem that notification of abnormality due to flooding is frequently issued and the user has to make unnecessary confirmation each time. In addition, when a limit switch is installed on a production line that frequently changes the moving speed of an object, the return time also changes frequently. In such a case, although the production line is intentionally changed to delay the return time, an abnormality regarding the extension of the return time is issued, and the user has to make unnecessary confirmation each time. There is a problem.

本発明は、上記課題を解決するためになされたものであり、この発明の目的は、不要な異常が通知されることを防止することが可能なスイッチを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a switch that can prevent an unnecessary abnormality from being notified.

上記課題を解決するために、本発明のスイッチは、外部からの力の荷重に応じて変位する作動体と、上記作動体の変位量に応じてオン信号およびオフ信号の何れかを出力するオン/オフ信号出力部とを備え、前記オン/オフ信号出力部がハウジング内部に配置されるスイッチであって、異常を検出したときに、異常が発生していることを示す異常信号を出力する機能を有する異常信号出力部と、上記異常信号出力部の機能を有効とする有効モード、および、上記異常信号出力部の機能を無効とする無効モードのいずれかに切り換える切換部とを備える。   In order to solve the above-described problems, the switch of the present invention includes an operating body that is displaced according to a load of an external force, and an on signal that outputs either an on signal or an off signal according to the amount of displacement of the operating body. / Off signal output unit, and the on / off signal output unit is a switch disposed inside the housing, and outputs an abnormal signal indicating that an abnormality has occurred when an abnormality is detected And a switching unit that switches between an effective mode that enables the function of the abnormal signal output unit and an invalid mode that disables the function of the abnormal signal output unit.

上記の構成によれば、ユーザは、異常信号の出力が必要な場合には、切換部を有効モードにするように操作し、異常信号の出力が不要な場合には、切換部を無効モードにするように操作する。これにより、ユーザは、簡単な操作だけで、不要な異常が通知されることを防止することができる。   According to the above configuration, when the user needs to output an abnormal signal, the user operates the switching unit to be in the valid mode, and when the abnormal signal is not necessary, the user sets the switching unit to the invalid mode. To operate. Thereby, the user can prevent an unnecessary abnormality from being notified by a simple operation.

また、本発明のスイッチにおいて、上記異常信号出力部は、複数種類の異常を検出し、上記異常信号出力部は、上記複数種類の異常の何れかを検出したときに、検出された種類の異常が発生していることを示す異常信号を出力し、上記切換部は、上記複数種類の異常の各々について、有効モードおよび無効モードのいずれかに切り換えることが好ましい。   In the switch of the present invention, the abnormal signal output unit detects a plurality of types of abnormality, and the abnormal signal output unit detects the type of abnormality detected when any of the plurality of types of abnormality is detected. It is preferable to output an abnormal signal indicating that the error occurs, and the switching unit switches between the valid mode and the invalid mode for each of the plurality of types of abnormalities.

上記の構成によれば、複数の異常の各々について、異常信号を出力する機能を有効および無効の何れかに設定することができる。そのため、異常信号の出力が不要な種類の異常については無効に、異常信号の出力が必要な種類の異常については有効に適宜設定することができる。   According to the above configuration, the function of outputting an abnormality signal can be set to either valid or invalid for each of a plurality of abnormalities. Therefore, it is possible to appropriately set the invalidity for the type of abnormality that does not require the output of the abnormal signal and effectively set the type of abnormality that requires the output of the abnormal signal.

なお、異常の内容としては、例えば、以下のようなものがある。
まず、本発明のスイッチにおいて、上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、上記作動体における上記基準位置からの変位量を検出する位置検出部を備えており、上記オン/オフ信号出力部は、上記位置検出部により検出された変位量が所定の第1変位量以上である場合にオン信号を出力し、上記異常信号出力部は、上記第1変位量よりも大きい所定の第2変位量よりも、上記位置検出部により検出された変位量が大きくなった場合に、変位量が大きくなってきていることを示す異常を検出してもよい。
The contents of the abnormality include the following, for example.
First, in the switch of the present invention, the operating body is stopped at a predetermined reference position when there is no external force load, and position detection is performed to detect a displacement amount of the operating body from the reference position. The on / off signal output unit outputs an on signal when the displacement detected by the position detector is equal to or greater than a predetermined first displacement, and the abnormal signal output unit When an amount of displacement detected by the position detection unit is larger than a predetermined second amount of displacement that is greater than the first amount of displacement, an abnormality indicating that the amount of displacement is increasing is detected. Also good.

また、本発明のスイッチにおいて、上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、上記作動体における上記基準位置からの変位量を検出する位置検出部を備えており、上記オン/オフ信号出力部は、上記位置検出部により検出された変位量が所定の第1変位量以上である場合にオン信号を出力し、上記異常信号出力部は、上記位置検出部により検出された変位量の最大量が、上記第1変位量よりも大きく、かつ、所定の第3変位量よりも小さい場合に、変位量が小さくなってきていることを示す異常を検出してもよい。   Further, in the switch of the present invention, the operating body is stopped at a predetermined reference position when there is no external force load, and position detection for detecting a displacement amount of the operating body from the reference position. The on / off signal output unit outputs an on signal when the displacement detected by the position detector is equal to or greater than a predetermined first displacement, and the abnormal signal output unit An abnormality indicating that the amount of displacement is decreasing when the maximum amount of displacement detected by the position detection unit is larger than the first displacement amount and smaller than the predetermined third displacement amount. May be detected.

また、本発明のスイッチにおいて、上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、上記異常信号出力部は、外部からの力の荷重によって上記作動体が変位した後、外部からの力の荷重がなくなり上記作動体が上記基準位置に復帰する際の上記作動体の復帰速度が所定の基準速度よりも小さい場合に、復帰速度が低下していることを示す異常を検出してもよい。   In the switch of the present invention, the operating body is stopped at a predetermined reference position when there is no external force load, and the abnormal signal output unit is operated by the external force load. After the body is displaced, the return speed decreases when the return force of the operating body when the load of external force disappears and the operating body returns to the reference position is lower than a predetermined reference speed. An abnormality indicating this may be detected.

また、本発明のスイッチにおいて、上記異常信号出力部は、上記ハウジング内部に水が侵入したことを示す異常を検出してもよい。   In the switch of the present invention, the abnormal signal output unit may detect an abnormality indicating that water has entered the housing.

また、本発明のスイッチは、上記異常信号出力部が異常を検出する際の条件を設定する設定処理部と、上記異常信号出力部により出力された異常信号の頻度が所定頻度以上である場合、上記設定処理部による設定を促す通知を出力する通知処理部とを備えていてもよい。   Further, the switch of the present invention, when the abnormal signal output unit detects the abnormality, the setting processing unit to set the condition, and when the frequency of the abnormal signal output by the abnormal signal output unit is a predetermined frequency or more, A notification processing unit that outputs a notification that prompts the setting by the setting processing unit.

異常信号の出力頻度が所定頻度よりも高い場合、異常信号を受けているにも拘わらず、何らかの対処が施されず、同じ状態が維持されていることが予想される。このような状態では、異常信号の通知を受けたユーザが、特に問題がないため、対処が不要であると判断している可能性がある。一方、ユーザにとっては、異常信号が高い頻度で出力され続けるため、その確認に手間がかかってしまう。しかしながら、上記の構成によれば、設定処理部による設定を促す通知を行うことにより、異常が検出される際の条件が適切に変更され、不要な異常信号を減らすことができる。   When the output frequency of the abnormal signal is higher than the predetermined frequency, it is expected that some measures are not taken and the same state is maintained despite the reception of the abnormal signal. In such a state, the user who has received the notification of the abnormal signal may determine that no action is required because there is no particular problem. On the other hand, for the user, since the abnormal signal continues to be output at a high frequency, it takes time to confirm. However, according to the above configuration, the notification for prompting the setting by the setting processing unit is appropriately changed, so that the condition when the abnormality is detected is appropriately changed, and unnecessary abnormality signals can be reduced.

また、本発明のスイッチは、上記切換部は、上記有効モードおよび無効モードの他に、上記異常信号出力部の機能の有効および無効を自動的に切り換える自動モードにも切り換え可能であり、自動モードに設定されているとき、上記切換部は、上記異常信号出力部により出力された異常信号の頻度が所定頻度以上である場合に上記異常信号出力部の機能を無効とし、上記異常信号出力部により出力された異常信号の頻度が所定頻度未満である場合に上記異常信号出力部の機能を有効とすることが好ましい。   Further, the switch of the present invention can be switched to an automatic mode in which the switching unit automatically switches between valid and invalid of the function of the abnormal signal output unit in addition to the valid mode and invalid mode. When the frequency of the abnormal signal output by the abnormal signal output unit is equal to or higher than a predetermined frequency, the switching unit invalidates the function of the abnormal signal output unit, and the abnormal signal output unit It is preferable that the function of the abnormal signal output unit is validated when the frequency of the output abnormal signal is less than a predetermined frequency.

異常信号の出力頻度が所定頻度よりも高い場合、異常信号を受けているにも拘わらず、何らかの対処が施されず、同じ状態が維持されていることが予想される。このような状態では、異常信号の通知を受けたユーザが、特に問題がないため、対処が不要であると判断している可能性がある。一方、ユーザにとっては、異常信号が高い頻度で出力され続けるため、その確認に手間がかかってしまう。しかしながら、上記の構成によれば、異常信号の出力頻度が所定頻度よりも高い場合に、有効モードから無効モードに自動的に切り換えることにより、不要な異常信号を確認する手間を省くことができる。   When the output frequency of the abnormal signal is higher than the predetermined frequency, it is expected that some measures are not taken and the same state is maintained despite the reception of the abnormal signal. In such a state, the user who has received the notification of the abnormal signal may determine that no action is required because there is no particular problem. On the other hand, for the user, since the abnormal signal continues to be output at a high frequency, it takes time to confirm. However, according to the above configuration, when the output frequency of the abnormal signal is higher than the predetermined frequency, it is possible to save the trouble of checking the unnecessary abnormal signal by automatically switching from the valid mode to the invalid mode.

本発明によれば、不要な異常が通知されることを防止することが可能なスイッチを提供することができるという効果を奏する。   According to the present invention, it is possible to provide a switch capable of preventing an unnecessary abnormality from being notified.

本実施の形態におけるリミットスイッチを示す斜視図である。It is a perspective view which shows the limit switch in this Embodiment. スイッチモジュールを示す正面図である。It is a front view which shows a switch module. スイッチモジュールを分解したときの斜視図である。It is a perspective view when a switch module is disassembled. プランジャの前面を示す図である。It is a figure which shows the front surface of a plunger. プランジャの前面側からみた斜視図である。It is the perspective view seen from the front side of a plunger. プランジャの背面を示す図である。It is a figure which shows the back surface of a plunger. プランジャの背面側からみた斜視図である。It is the perspective view seen from the back side of a plunger. プランジャの横断面を示す図である。It is a figure which shows the cross section of a plunger. フォトインタラプタ部を基板とともに示す斜視図である。It is a perspective view which shows a photo interrupter part with a board | substrate. 複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す第1の図である。It is the 1st figure which shows the positional relationship of a some light emitting element, a some light receiving element, and a plunger in the cross section of a switch module. 複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す第2の図である。It is a 2nd figure which shows the positional relationship of a some light emitting element, a some light receiving element, and a plunger in the cross section of a switch module. 複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す第3の図である。It is a 3rd figure which shows the positional relationship of a some light emitting element, a some light receiving element, and a plunger in the cross section of a switch module. 複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す第4図である。FIG. 4 is a fourth view showing a positional relationship among a plurality of light emitting elements, a plurality of light receiving elements, and a plunger in a cross section of the switch module. 複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す第5の図である。It is a 5th figure which shows the positional relationship of a some light emitting element, a some light receiving element, and a plunger in the cross section of a switch module. 作動体の角度と受光素子の出力電圧との関係を示した図である。It is the figure which showed the relationship between the angle of an action body, and the output voltage of a light receiving element. スイッチモジュールの構成を示すブロック図である。It is a block diagram which shows the structure of a switch module. 抽出用テーブルの一例を示す図である。It is a figure which shows an example of the table for extraction. 作動体の角度と作動体の動作状態との関係を示す図である。It is a figure which shows the relationship between the angle of an action body, and the operation state of an action body. 受光素子から出力される電圧値と、設定処理部により設定される閾値と、各判定部から出力される信号との関係を示す図である。It is a figure which shows the relationship between the voltage value output from a light receiving element, the threshold value set by the setting process part, and the signal output from each determination part. 第1パターン〜第4パターンの点滅の一例を示す図である。It is a figure which shows an example of blink of a 1st pattern-a 4th pattern. 変形例1におけるスイッチモジュールの正面図を示す図である。It is a figure which shows the front view of the switch module in the modification 1. FIG. 変形例1におけるスイッチモジュールの構成を示すブロック図である。It is a block diagram which shows the structure of the switch module in the modification 1. 変形例2におけるスイッチモジュールの構成を示すブロック図である。FIG. 10 is a block diagram showing a configuration of a switch module in Modification 2.

図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   Embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

<リミットスイッチの全体構成>
図1は、本実施の形態におけるリミットスイッチを示す斜視図である。リミットスイッチは、物体の位置、変化、移動または通過等を検出し、検出の有無に応じて、操作対象となる外部装置に対してON(オン)信号/OFF(オフ)信号を出力するためのスイッチである。また、本実施の形態におけるリミットスイッチは、機械的強度や耐環境性を要求される場所に適用されることを考慮して、外力、水、油、ガス、塵埃などから保護される構成を有していることが好ましい。
<Overall configuration of limit switch>
FIG. 1 is a perspective view showing a limit switch in the present embodiment. The limit switch detects the position, change, movement, or passage of an object, and outputs an ON (ON) signal / OFF (OFF) signal to an external device to be operated according to the presence or absence of detection. Switch. In addition, the limit switch in the present embodiment has a configuration that is protected from external force, water, oil, gas, dust, etc., considering that it is applied to a place where mechanical strength and environmental resistance are required. It is preferable.

図1に示されるように、リミットスイッチ1は、ケーシング(ハウジング)3と、装着ブロック5と、作動体7とを備える。   As shown in FIG. 1, the limit switch 1 includes a casing (housing) 3, a mounting block 5, and an operating body 7.

ケーシング3は、その内部空間にスイッチモジュール11が配置され、当該スイッチモジュール11を外力、水、油、ガス、塵埃などから保護するためのものである。ケーシング3は、その内部空間にスイッチモジュール11を組み込むための開口を有するケーシング本体3aと、当該開口を閉じるための蓋部3bとからなる。   The casing 3 has a switch module 11 disposed in its internal space, and is intended to protect the switch module 11 from external force, water, oil, gas, dust and the like. The casing 3 includes a casing body 3a having an opening for incorporating the switch module 11 in the internal space thereof, and a lid portion 3b for closing the opening.

装着ブロック5は、ケーシング3の上部に取り付けられている。また、装着ブロック5には、作動体7がネジ9により回転可能に取り付けられる。   The mounting block 5 is attached to the upper part of the casing 3. In addition, the operating body 7 is rotatably attached to the mounting block 5 with screws 9.

作動体7は、装着ブロック5から突出しており、物体との接触により外部から力が加えられると回転するものである。この作動体7の回転角度に応じて、操作対象となる外部装置に対してON(オン)信号/OFF(オフ)信号が出力される。ここで、外部から力が加えられておらず停止しているときの作動体7の位置を基準位置とする。ここでは、作動体7の基準位置を、時計の0時の方向を向く位置としている。図1において、作動体7は、左方向から力が加えられると、ネジ9を基準に時計周りに回転し、その後、力が取り除かれると基準位置に戻る。一方、作動体7は、右方向から力が加えられると、ネジ9を基準に反時計周りに回転し、その後、力が取り除かれると基準位置に戻る。ここで、作動体7が回転可能な角度は、基準位置から所定角度(以下、限界値という)までの範囲(例えば、0度〜±50度)に設定されている。なお、以下では、作動体の位置を基準位置からの角度で示す。基準位置から時計回りの方向を正の方向とし、基準位置から反時計回りの方向を負の方向とする。以下では、作動体7が正の方向に回転する場合を例に説明する。   The operating body 7 protrudes from the mounting block 5 and rotates when a force is applied from the outside by contact with an object. An ON signal / OFF signal is output to the external device to be operated according to the rotation angle of the operating body 7. Here, the position of the operating body 7 when the force is not applied from the outside and the actuator 7 is stopped is set as a reference position. Here, the reference position of the operating body 7 is set to a position facing the direction of 0 o'clock of the timepiece. In FIG. 1, when a force is applied from the left direction, the actuator 7 rotates clockwise with respect to the screw 9 and then returns to the reference position when the force is removed. On the other hand, when a force is applied from the right direction, the operating body 7 rotates counterclockwise with respect to the screw 9 and then returns to the reference position when the force is removed. Here, the angle at which the operating body 7 can rotate is set in a range (for example, 0 degrees to ± 50 degrees) from a reference position to a predetermined angle (hereinafter referred to as a limit value). In the following, the position of the operating body is indicated by an angle from the reference position. A clockwise direction from the reference position is a positive direction, and a counterclockwise direction from the reference position is a negative direction. Hereinafter, a case where the operating body 7 rotates in the positive direction will be described as an example.

なお、ケーシング本体3a、蓋部3b、装着ブロック5、および作動体7との接続箇所にはシール部材が配置されており、水、油、ガスなどの侵入を防止している。   In addition, the sealing member is arrange | positioned in the connection location with the casing main body 3a, the cover part 3b, the mounting block 5, and the action body 7, and the penetration | invasion of water, oil, gas, etc. is prevented.

本実施形態では、リミットスイッチ1は、将来に故障が発生する可能性のある異常を検知し、当該異常の種類ごとに異なる異常予知信号を出力する機能を有している。これにより、ユーザは、リミットスイッチ1から出力された異常予知信号を確認することで、どのような種類の異常が発生しているかを認識し、適切な対応を早めに取ることができる。   In the present embodiment, the limit switch 1 has a function of detecting an abnormality that may cause a failure in the future and outputting a different abnormality prediction signal for each type of abnormality. Thereby, the user can recognize what kind of abnormality has occurred by confirming the abnormality prediction signal output from the limit switch 1, and can take appropriate action early.

ここで、リミットスイッチ1が検知する異常について説明する。
上述したように、リミットスイッチ1は、物体との接触によって作動体7が回転し、その基準位置からの角度(変位量)に応じて、リミットスイッチ1による操作対象となる外部装置に対してON信号を出力する。ただし、作動体7に常に同じ状態で物体が接触するとは限らない。重量、大きさ、移動経路などは物体によってわずかに変化する可能性がある。このような変化があったとしてもリミットスイッチ1が正常に動作することが望まれる。
Here, the abnormality detected by the limit switch 1 will be described.
As described above, the limit switch 1 is turned on with respect to the external device to be operated by the limit switch 1 in accordance with the angle (displacement amount) from the reference position when the operating body 7 is rotated by contact with the object. Output a signal. However, the object does not always contact the operating body 7 in the same state. Weight, size, travel path, etc. may vary slightly depending on the object. Even if there is such a change, it is desired that the limit switch 1 operates normally.

一方、リミットスイッチ1を長期間使用する場合、振動等の何らかの原因によって、リミットスイッチ1と物体の移動経路との相対位置関係が徐々に変化する可能性がある。このような長期間に亘る変化によって、物体が作動体7に接触した際の作動体7の角度が徐々に大きくなる、もしくは徐々に小さくなることが考えられる。   On the other hand, when the limit switch 1 is used for a long period of time, there is a possibility that the relative positional relationship between the limit switch 1 and the moving path of the object gradually changes due to some cause such as vibration. It is conceivable that the angle of the working body 7 when the object contacts the working body 7 gradually increases or gradually decreases due to such a change over a long period of time.

物体が作動体7に接触した際の作動体7の角度が長期間に亘って徐々に大きくなる場合、作動体7の角度の限界値を超えるような力が作動体7に加わり、機械的な故障が生じるおそれがある。そこで、本実施形態のリミットスイッチ1は、作動体7の角度(変位量)が大きくなってきている異常(角度超過異常)を検知し、異常予知信号として角度超過信号を出力する機能を有している。   When the angle of the actuating body 7 when the object contacts the actuating body 7 gradually increases over a long period of time, a force exceeding the limit value of the angle of the actuating body 7 is applied to the actuating body 7, and mechanical Failure may occur. Therefore, the limit switch 1 of the present embodiment has a function of detecting an abnormality (angle excess abnormality) in which the angle (displacement amount) of the operating body 7 is increasing and outputting an angle excess signal as an abnormality prediction signal. ing.

また、物体が作動体7に接触した際の作動体7の角度が長期間に亘って徐々に小さくなる場合、正常にON信号を出力しなくなるというおそれがある。生産ラインを稼動中にこのような故障や異常が発生すると、生産ライン全体を停止しなければならない。そのため、このような故障や異常が発生する前に、将来故障や異常が発生する可能性があることを予知できることが望まれる。そこで、本実施形態のリミットスイッチ1は、作動体7の角度(変位量)が小さくなってきている異常(角度不足異常)を検知し、異常予知信号として角度不足信号を出力する機能を有している。   In addition, when the angle of the working body 7 when the object contacts the working body 7 gradually decreases over a long period, there is a possibility that the ON signal is not normally output. If such a failure or abnormality occurs during operation of the production line, the entire production line must be stopped. Therefore, it is desirable to be able to predict that a failure or abnormality may occur in the future before such a failure or abnormality occurs. Therefore, the limit switch 1 of the present embodiment has a function of detecting an abnormality (angle shortage abnormality) in which the angle (displacement) of the operating body 7 is decreasing and outputting an angle shortage signal as an abnormality prediction signal. ing.

さらに、長期間使用する場合、何らかの影響により作動体7とその回転軸との摩擦力が徐々に大きくなる可能性がある。この場合、物体が作動体7から離れた直後の作動体7の基準位置への復帰速度が徐々に遅くなっていく。復帰速度が遅くなると、次の物体を正常に検知できないおそれがある。ここで、次の物体を正常に検知できなくなる復帰速度を所定限界速度とする。このとき、復帰速度が所定限界速度以下になる前に、復帰速度が遅くなり始めていることを予知できることが望まれる。そこで、本実施形態のリミットスイッチ1は、復帰速度が遅くなってきている異常(復帰速度低下異常)を検知し、異常予知信号として復帰速度低下信号を出力する機能を有している。   Furthermore, when using for a long period of time, the frictional force between the operating body 7 and its rotating shaft may gradually increase due to some influence. In this case, the return speed of the operating body 7 to the reference position immediately after the object is separated from the operating body 7 gradually decreases. If the return speed is slow, the next object may not be detected normally. Here, the return speed at which the next object cannot be detected normally is defined as a predetermined limit speed. At this time, it is desirable to be able to predict that the return speed is starting to decrease before the return speed becomes equal to or lower than the predetermined limit speed. Therefore, the limit switch 1 according to the present embodiment has a function of detecting an abnormality (return speed decrease abnormality) in which the return speed is slow and outputting a return speed decrease signal as an abnormality prediction signal.

さらに、ケーシング3の内部に水が侵入すると、故障が生じる可能性がある。そこで、本実施形態のリミットスイッチ1は、水の侵入による異常(シール異常)を検知し、異常予知信号としてシール不良信号を出力する機能を有している。   Furthermore, if water enters the inside of the casing 3, a failure may occur. Therefore, the limit switch 1 of the present embodiment has a function of detecting an abnormality (seal abnormality) due to water intrusion and outputting a seal failure signal as an abnormality prediction signal.

このように、リミットスイッチ1は、角度超過異常、角度不足異常、復帰速度低下異常およびシール異常の4種類の異常を検知し、対応する異常予知信号を出力する機能を有している。   Thus, the limit switch 1 has a function of detecting four types of abnormalities, that is, an excessive angle abnormality, an insufficient angle abnormality, a return speed decrease abnormality, and a seal abnormality and outputting a corresponding abnormality prediction signal.

<スイッチモジュールの構成>
リミットスイッチ1は、ケーシング3の内部空間にスイッチモジュール11を含む。スイッチモジュール11は、それと接続された外部の機器に各種の信号を出力する。
<Configuration of switch module>
The limit switch 1 includes a switch module 11 in the internal space of the casing 3. The switch module 11 outputs various signals to external devices connected thereto.

図2は、スイッチモジュールの外観を示す正面図である。図2に示されるように、スイッチモジュール11は、スイッチ部35と、点灯部20と、端子31〜34とを備える。   FIG. 2 is a front view showing the appearance of the switch module. As shown in FIG. 2, the switch module 11 includes a switch unit 35, a lighting unit 20, and terminals 31 to 34.

端子31,32は、電力を供給する装置と接続するための端子である。端子33,34は、生産ラインの作業に用いられる機器と接続される端子である。端子33,34から外部の機器に各種の信号が出力される。   The terminals 31 and 32 are terminals for connecting to a device that supplies power. The terminals 33 and 34 are terminals connected to equipment used for production line work. Various signals are output from the terminals 33 and 34 to an external device.

点灯部20は、第1点灯部21と、第2点灯部23と、第3点灯部25とを含む。第1点灯部21、第2点灯部23および第3点灯部25は、LED点灯回路と、LED点灯回路が発した光をスイッチモジュール11の表面に導くための導光棒とからなる。第2点灯部23は、スイッチモジュール11が電力供給装置から電力が供給されることにより発光し、具体的には、電源ランプである。   The lighting unit 20 includes a first lighting unit 21, a second lighting unit 23, and a third lighting unit 25. The first lighting unit 21, the second lighting unit 23, and the third lighting unit 25 include an LED lighting circuit and a light guide bar for guiding light emitted from the LED lighting circuit to the surface of the switch module 11. The second lighting unit 23 emits light when the switch module 11 is supplied with power from the power supply device, and is specifically a power lamp.

スイッチ部(切換部)35は、第1切換スイッチ(切換部)36と、第2切換スイッチ(切換部)37と、第3切換スイッチ(切換部)38と、第4切換スイッチ(切換部)39とを含む。ここで、第1切換スイッチ36〜39は、対象となる種類の異常について異常予知信号を出力する機能を、有効モードまたは無効モードのいずれかに切り換え可能なスイッチである。ユーザが有効モードに切り換えると、異常予知信号を出力する機能が有効となり、無効モードに切り換えると、異常予知信号を出力する機能が無効となる。なお、第1切換スイッチ36は角度超過異常を、第2切換スイッチ37は角度不足異常を、第3切換スイッチ38は復帰速度低下異常を、第4切換スイッチ39はシール異常を対象としている。   The switch section (switching section) 35 includes a first switch (switching section) 36, a second switching switch (switching section) 37, a third switching switch (switching section) 38, and a fourth switching switch (switching section). 39. Here, the first change-over switches 36 to 39 are switches that can switch the function of outputting the abnormality prediction signal for the target type of abnormality to either the valid mode or the invalid mode. When the user switches to the valid mode, the function of outputting the abnormality prediction signal is enabled, and when the user switches to the invalid mode, the function of outputting the abnormality prediction signal is disabled. The first changeover switch 36 is intended for an excessive angle abnormality, the second changeover switch 37 is for an insufficient angle abnormality, the third changeover switch 38 is for a return speed drop abnormality, and the fourth changeover switch 39 is for a seal abnormality.

図3は、スイッチモジュールを分解したときの斜視図である。図3に示されるように、スイッチモジュール11は、端子31〜34および点灯部20の他に、スイッチモジュール11の全体を制御するマイクロコンピュータ100と、光センサとしてのフォトインタラプタ部41と、コイルばね42と、プランジャ43と、シート46と、電極45,47とを備える。   FIG. 3 is a perspective view when the switch module is disassembled. As shown in FIG. 3, in addition to the terminals 31 to 34 and the lighting unit 20, the switch module 11 includes a microcomputer 100 that controls the entire switch module 11, a photo interrupter unit 41 as an optical sensor, and a coil spring. 42, a plunger 43, a seat 46, and electrodes 45 and 47.

シート46は、絶縁物質により構成されたシートであり、電極45と電極47の間に配置される。このため、電極45と電極47とは、非接触の状態となり、電極45と電極47との間の電気抵抗が高くなる。ただし、シート46は、電極45および電極47よりも平面積が小さい。従って、電極45と電極47との間のシート46が存在しない隙間に水が浸入した場合、電極45と電極47との間の電気抵抗が低くなる。そのため、電極45と電極47との間の電気抵抗値を確認することで、水の浸入の有無を推測することができる。   The sheet 46 is a sheet made of an insulating material, and is disposed between the electrode 45 and the electrode 47. For this reason, the electrode 45 and the electrode 47 are in a non-contact state, and the electrical resistance between the electrode 45 and the electrode 47 is increased. However, the sheet 46 has a smaller planar area than the electrodes 45 and 47. Therefore, when water enters the gap where the sheet 46 between the electrode 45 and the electrode 47 does not exist, the electrical resistance between the electrode 45 and the electrode 47 becomes low. Therefore, by checking the electrical resistance value between the electrode 45 and the electrode 47, the presence or absence of water intrusion can be estimated.

プランジャ43は、横幅と縦幅とが異なる棒状の部品である。プランジャ43は、作動体7が回転すると、その動きに連動して、プランジャ43の長手方向に平行に移動可能である。すなわち、プランジャ43は、外部からの力の荷重に応じて変位する変位部材である。なお、プランジャ43が作動体7の動きに連動する機構としては、様々な公知技術を用いることができる。ここでは、特許文献1に記載されているように、作動体7の回転軸の一部が偏平形状になっており、当該偏平形状の部分とプランジャ43の長手方向の一端とが接触するように構成されている。ここで、作動体7が基準位置にあり(つまり、作動体7が物体に接触しておらず回転していない状態)、偏平形状の部分とプランジャ43とが接触しているときの、プランジャ43の位置を定位置とする。この場合、作動体7の回転によって偏平形状の部分も回転し、プランジャ43に対して、プランジャ43の長手方向に力を加えることができる。その結果、プランジャ43は、定位置から、その長手方向に沿って変位する。また、プランジャ43には、コイルばね42により、定位置に戻すための付勢力が加わっている。そのため、作動体7が基準位置に戻ると、コイルばね42の付勢力により、プランジャ43も基準位置に戻る。   The plunger 43 is a rod-shaped component having a different horizontal width and vertical width. When the operating body 7 rotates, the plunger 43 can move in parallel with the longitudinal direction of the plunger 43 in conjunction with the movement. That is, the plunger 43 is a displacement member that is displaced according to the load of force from the outside. Various known techniques can be used as a mechanism in which the plunger 43 is interlocked with the movement of the operating body 7. Here, as described in Patent Document 1, a part of the rotating shaft of the operating body 7 has a flat shape, and the flat portion and one end in the longitudinal direction of the plunger 43 are in contact with each other. It is configured. Here, the plunger 43 when the operating body 7 is at the reference position (that is, the operating body 7 is not in contact with the object and does not rotate) and the flat portion and the plunger 43 are in contact with each other. The position of is a fixed position. In this case, the flat portion is also rotated by the rotation of the operating body 7, and a force can be applied to the plunger 43 in the longitudinal direction of the plunger 43. As a result, the plunger 43 is displaced from its home position along its longitudinal direction. Further, a biasing force for returning the plunger 43 to a fixed position is applied by the coil spring 42. Therefore, when the operating body 7 returns to the reference position, the plunger 43 also returns to the reference position by the biasing force of the coil spring 42.

ここで、プランジャ43の具体的な形状について説明する。図4は、プランジャの前面を示す図である。図5は、プランジャの前面側からみた斜視図である。図6は、プランジャの背面を示す図である。図7は、プランジャの背面側からみた斜視図である。図8は、プランジャの横断面を示す図である。図4〜8に示されるように、プランジャ43は、本体部70と、突起部76とを有する。突起部76は、本体部70と結合しており、本体部70よりも細い。突起部76は、コイルばね42の内部に挿入される。   Here, a specific shape of the plunger 43 will be described. FIG. 4 is a view showing the front surface of the plunger. FIG. 5 is a perspective view seen from the front side of the plunger. FIG. 6 is a view showing the back surface of the plunger. FIG. 7 is a perspective view seen from the back side of the plunger. FIG. 8 is a diagram showing a cross section of the plunger. 4-8, the plunger 43 has the main-body part 70 and the projection part 76. As shown in FIG. The protrusion 76 is coupled to the main body 70 and is thinner than the main body 70. The protrusion 76 is inserted into the coil spring 42.

本体部70は、スリット(開口部)71〜74を有する。ここで、スリット71〜74それぞれの形状は同じであるので、スリット71について説明する。スリット71は、プランジャ43の前面と背面との間において開口の大きさが異なる。具体的には、スリット71の開口の横断面の形状は、図8に示すような破線で囲まれた斜線の領域以外で示された領域の形状である。そして、プランジャ43の前面におけるスリット71の開口の大きさは、プランジャ43の背面におけるスリット71の開口の大きさよりも大きく設定されている。   The main body 70 has slits (openings) 71 to 74. Here, since the shapes of the slits 71 to 74 are the same, the slit 71 will be described. The slit 71 has a different opening size between the front surface and the back surface of the plunger 43. Specifically, the shape of the cross section of the opening of the slit 71 is the shape of the region shown other than the shaded region surrounded by the broken line as shown in FIG. The size of the opening of the slit 71 on the front surface of the plunger 43 is set larger than the size of the opening of the slit 71 on the back surface of the plunger 43.

フォトインタラプタ部41は、プランジャ43の位置に応じて変化する光の量に基づいて電圧を計測し、計測した電圧をマイクロコンピュータ100に出力する。フォトインタラプタ部41は、複数の発光素子と、複数の受光素子とを有する。受光素子は、例えば、シングルフォトトランジスタ、フォトICまたはフォトダイオードであり、受光面において受けた光の量に応じた電圧に変換する。発光素子は、例えば発光ダイオードであり、発光面から直線性の高い光を発する。複数の受光素子と複数の発光素子との間にはプランジャ43が配置され、プランジャ43は、それらの間で作動体7の動きに連動して移動する。このため、発光素子が発する光は、プランジャ43のスリットを通過したり、スリット以外の領域に遮断されたりする。したがって、複数の受光素子のそれぞれが受ける光は、複数の発光素子のそれぞれが発する光のうちプランジャ43のスリットを通過した光である。   The photo interrupter unit 41 measures a voltage based on the amount of light that changes according to the position of the plunger 43, and outputs the measured voltage to the microcomputer 100. The photo interrupter unit 41 includes a plurality of light emitting elements and a plurality of light receiving elements. The light receiving element is, for example, a single phototransistor, a photo IC or a photodiode, and converts the voltage into a voltage corresponding to the amount of light received on the light receiving surface. The light emitting element is, for example, a light emitting diode, and emits light with high linearity from the light emitting surface. A plunger 43 is disposed between the plurality of light receiving elements and the plurality of light emitting elements, and the plunger 43 moves in conjunction with the movement of the operating body 7 therebetween. For this reason, the light emitted from the light emitting element passes through the slit of the plunger 43 or is blocked by a region other than the slit. Therefore, the light received by each of the plurality of light receiving elements is light that has passed through the slit of the plunger 43 among the light emitted by each of the plurality of light emitting elements.

図9は、フォトインタラプタ部を基板とともに示す斜視図である。図9に示されるように、フォトインタラプタ部41は、同形同大の発光素子51〜54と、発光素子51〜54と同形同大の受光素子61〜64とを含む。なお、ここでは、発光素子51〜54および受光素子61〜64を同じ形状、同じ大きさとしているが、形状および大きさはすべて同じでなくてもよい。   FIG. 9 is a perspective view showing the photointerrupter portion together with the substrate. As shown in FIG. 9, the photo interrupter unit 41 includes light-emitting elements 51 to 54 having the same shape and the same size, and light-receiving elements 61 to 64 having the same shape and the same size as the light-emitting elements 51 to 54. Here, although the light emitting elements 51 to 54 and the light receiving elements 61 to 64 have the same shape and the same size, the shapes and the sizes may not all be the same.

発光素子51〜54および受光素子61〜64は、プランジャ43の長手方向に沿って、同一直線上に配置される。そして、発光素子51の発光面と受光素子61の受光面が対面する。同様に、発光素子52の発光面と受光素子62の受光面が対面し、発光素子53の発光面と受光素子63の受光面が対面し、発光素子54の発光面と受光素子64の受光面が対面する。したがって、受光素子61〜64は、発光素子51〜54が発する光を一対一の関係で受光することが可能である。すなわち、発光素子51と受光素子61とで、発光素子51と受光素子61との間の物体の存在の有無を検知する一つのフォトインタラプタ(光検出部)が構成される。同様に、発行素子52と受光素子62との組み合わせ、発光素子53と受光素子63との組み合わせ、発光素子54と受光素子64との組み合わせの各々が一つのフォトインタラプタ(光検出部)となる。   The light emitting elements 51 to 54 and the light receiving elements 61 to 64 are arranged on the same straight line along the longitudinal direction of the plunger 43. The light emitting surface of the light emitting element 51 and the light receiving surface of the light receiving element 61 face each other. Similarly, the light emitting surface of the light emitting element 52 and the light receiving surface of the light receiving element 62 face each other, the light emitting surface of the light emitting element 53 and the light receiving surface of the light receiving element 63 face each other, and the light emitting surface of the light emitting element 54 and the light receiving surface of the light receiving element 64. Face each other. Therefore, the light receiving elements 61 to 64 can receive light emitted from the light emitting elements 51 to 54 in a one-to-one relationship. That is, the light emitting element 51 and the light receiving element 61 constitute one photo interrupter (light detection unit) that detects the presence or absence of an object between the light emitting element 51 and the light receiving element 61. Similarly, each of the combination of the issuing element 52 and the light receiving element 62, the combination of the light emitting element 53 and the light receiving element 63, and the combination of the light emitting element 54 and the light receiving element 64 becomes one photo interrupter (light detection unit).

また、発光素子51〜54と受光素子61〜64とは、プランジャ43の短手方向の幅の距離、もしくは、当該幅よりもわずかに大きい距離だけ離れて配置されている。このため、発光素子51〜54と受光素子61〜64との間にプランジャ43を配置することが可能である。この配置により、プランジャ43は、作動体7の動きに連動して、発光素子51〜54および受光素子61〜64それぞれが向き合う方向に垂直な方向に平行移動することとなる。   In addition, the light emitting elements 51 to 54 and the light receiving elements 61 to 64 are arranged apart by a distance in the width direction of the plunger 43 or a distance slightly larger than the width. For this reason, it is possible to arrange the plunger 43 between the light emitting elements 51 to 54 and the light receiving elements 61 to 64. With this arrangement, the plunger 43 translates in a direction perpendicular to the direction in which the light emitting elements 51 to 54 and the light receiving elements 61 to 64 face each other in conjunction with the movement of the operating body 7.

<フォトインタラプタとプランジャの位置関係>
図10〜14は、複数の発光素子と複数の受光素子とプランジャとの位置関係をスイッチモジュールの横断面において示す図である。なお、図10は作動体7が基準位置に位置しているときの図であり、図11は作動体7が15度の位置(つまり、基準位置から15度回転した位置)に位置するときの図であり、図12は作動体7が22.5度の位置に位置するときの図であり、図13は作動体7が30度の位置に位置するときの図であり、図14は作動体7が42.5度の位置に位置するときの図である。ここで、発光素子51〜54および受光素子61〜64が配置される位置は、図9に示したとおりである。
<Positional relationship between photo interrupter and plunger>
FIGS. 10-14 is a figure which shows the positional relationship of a some light emitting element, a some light receiving element, and a plunger in the cross section of a switch module. 10 is a view when the operating body 7 is located at the reference position, and FIG. 11 is a view when the operating body 7 is located at a position of 15 degrees (that is, a position rotated 15 degrees from the reference position). 12 is a view when the operating body 7 is located at a position of 22.5 degrees, FIG. 13 is a view when the operating body 7 is located at a position of 30 degrees, and FIG. It is a figure when the body 7 is located in the position of 42.5 degree | times. Here, the positions at which the light emitting elements 51 to 54 and the light receiving elements 61 to 64 are arranged are as shown in FIG.

図10〜14に示されるように、スイッチモジュール11は、仕切り板81を備える。仕切り板81は、発光素子51〜54と、受光素子61〜64と、プランジャ43とを仕切るための板である。具体的には、仕切り板81は、発光素子51〜54とプランジャ43とを仕切るための第1の仕切り板81aと、受光素子61〜64とプランジャ43とを仕切るための第2の仕切り板81bと、第1の仕切り板81aと第2の仕切り板81bとの間に位置する第3の仕切り板81cとを備える。プランジャ43は、第1の仕切り板81aと第2の仕切り板81bとの間に配置される。ここでは、プランジャ43の背面を第2の仕切り板81bと隣接させ、プランジャ43の前面を第1の仕切り板81aと隣接させている。つまり、プランジャ43の前面と発光素子51〜54とが対面し、プランジャ43の背面と受光素子61〜64とが対面する。なお、図4に示したように、プランジャ43の本体部70のうちスリット71〜74以外の部分を斜線で示している。この斜線の部分を、以下では光遮断領域とする。   As shown in FIGS. 10 to 14, the switch module 11 includes a partition plate 81. The partition plate 81 is a plate for partitioning the light emitting elements 51 to 54, the light receiving elements 61 to 64, and the plunger 43. Specifically, the partition plate 81 includes a first partition plate 81 a for partitioning the light emitting elements 51 to 54 and the plunger 43, and a second partition plate 81 b for partitioning the light receiving elements 61 to 64 and the plunger 43. And a third partition plate 81c positioned between the first partition plate 81a and the second partition plate 81b. The plunger 43 is disposed between the first partition plate 81a and the second partition plate 81b. Here, the back surface of the plunger 43 is adjacent to the second partition plate 81b, and the front surface of the plunger 43 is adjacent to the first partition plate 81a. That is, the front surface of the plunger 43 and the light emitting elements 51 to 54 face each other, and the back surface of the plunger 43 and the light receiving elements 61 to 64 face each other. As shown in FIG. 4, portions other than the slits 71 to 74 in the main body portion 70 of the plunger 43 are indicated by hatching. This shaded area is hereinafter referred to as a light blocking area.

また、第1の仕切り板81aは、発光素子51〜54それぞれを仕切り、第2の仕切り板81bは、受光素子61〜64それぞれを仕切る。第1の仕切り板81aは、発光素子51〜54それぞれが配置される位置に対応して複数の開口を有する。具体的には、第1の仕切り板81aが有する複数の開口それぞれは、発光素子51〜54それぞれが発する光が通過可能な位置に位置する。第2の仕切り板81bは、受光素子61〜64それぞれが配置される位置に対応して複数の開口を有する。具体的には、第2の仕切り板81bが有する複数の開口それぞれは、受光素子61〜64それぞれが発光素子51〜54からの光を受けることが可能な位置に位置する。そのため、第1の仕切り板81aに形成された開口のそれぞれと、当該開口に対応する、第2の仕切り板81bに形成された開口とを直線的につなぐ領域が、発光素子から発せられた光の通過する領域(光路領域)となる。   Further, the first partition plate 81a partitions each of the light emitting elements 51 to 54, and the second partition plate 81b partitions each of the light receiving elements 61 to 64. The first partition plate 81a has a plurality of openings corresponding to positions where the light emitting elements 51 to 54 are disposed. Specifically, each of the plurality of openings of the first partition plate 81a is located at a position where light emitted from each of the light emitting elements 51 to 54 can pass. The second partition plate 81b has a plurality of openings corresponding to the positions where the light receiving elements 61 to 64 are arranged. Specifically, each of the plurality of openings of the second partition plate 81b is located at a position where each of the light receiving elements 61 to 64 can receive light from the light emitting elements 51 to 54. Therefore, the light emitted from the light emitting element is a region that linearly connects each of the openings formed in the first partition plate 81a and the opening formed in the second partition plate 81b corresponding to the opening. This is the region through which the light passes (optical path region).

さらに、第3の仕切り板81cは、プランジャ43の突起部76のみが挿通するための孔を有している。そのため、突起部76が内部に挿入されたコイルばね42は、第3の仕切り板81cと本体部70との間に存在する。作動体7の動きに応じてプランジャ43が第3の仕切り板81cの方向に平行移動すると、コイルばね42は、プランジャ43の本体部70と第3の仕切り板81cとの間に縮み、プランジャ43を基準位置に戻す力をプランジャ43に与える。   Furthermore, the third partition plate 81c has a hole through which only the protrusion 76 of the plunger 43 is inserted. Therefore, the coil spring 42 in which the protrusion 76 is inserted exists between the third partition plate 81 c and the main body 70. When the plunger 43 is translated in the direction of the third partition plate 81 c according to the movement of the operating body 7, the coil spring 42 contracts between the main body portion 70 of the plunger 43 and the third partition plate 81 c, and the plunger 43 A force is applied to the plunger 43 to return the position to the reference position.

上述したように、プランジャ43は、作動体7の動きに連動して、その長手方向に移動する。この移動の途中において、スリット71が、発光素子51に対応する第1の仕切り板81aの開口および受光素子61に対応する第2の仕切り板81bの開口と重なるように、プランジャ43にスリット71が形成されている。同様に、スリット72が、発光素子52に対応する第1の仕切り板81aの開口および受光素子62に対応する第2の仕切り板81bの開口と重なるように、プランジャ43にスリット72が形成されている。また、スリット73が、発光素子53に対応する第1の仕切り板81aの開口および受光素子63に対応する第2の仕切り板81bの開口と重なるように、プランジャ43にスリット73が形成されている。さらに、スリット74が、発光素子54に対応する第1の仕切り板81aの開口および受光素子64に対応する第2の仕切り板81bの開口と重なるように、プランジャ43にスリット74が形成されている。このように、スリット71〜74のそれぞれは、発光素子51〜54および受光素子61〜64のそれぞれに対応している。   As described above, the plunger 43 moves in the longitudinal direction in conjunction with the movement of the operating body 7. In the middle of this movement, the slit 71 is formed in the plunger 43 so that the slit 71 overlaps the opening of the first partition plate 81 a corresponding to the light emitting element 51 and the opening of the second partition plate 81 b corresponding to the light receiving element 61. Is formed. Similarly, the slit 72 is formed in the plunger 43 so that the slit 72 overlaps the opening of the first partition plate 81 a corresponding to the light emitting element 52 and the opening of the second partition plate 81 b corresponding to the light receiving element 62. Yes. Further, the slit 73 is formed in the plunger 43 so that the slit 73 overlaps the opening of the first partition plate 81 a corresponding to the light emitting element 53 and the opening of the second partition plate 81 b corresponding to the light receiving element 63. . Further, the slit 74 is formed in the plunger 43 so that the slit 74 overlaps the opening of the first partition plate 81 a corresponding to the light emitting element 54 and the opening of the second partition plate 81 b corresponding to the light receiving element 64. . Thus, each of the slits 71 to 74 corresponds to each of the light emitting elements 51 to 54 and the light receiving elements 61 to 64.

ただし、スリット71〜74の背面側の開口のそれぞれと当該スリットに対応する第2の仕切り板81bの開口との距離は、スリット71〜74ごとに異なる。具体的には、図10に示されるように、作動体7が基準位置にあるとき(すなわち、プランジャ43が基準位置にあるとき)、スリット71の背面側の開口とスリット71に対応する第2の仕切り板81bの開口との距離A、スリット72の背面側の開口とスリット72に対応する第2の仕切り板81bの開口との距離B、スリット73の背面側の開口とスリット73に対応する第2の仕切り板81bの開口との距離C、スリット74の背面側の開口とスリット74に対応する第2の仕切り板81bの開口との距離Dは、この順に大きくなるように、各スリット71〜74の位置が設定されている。   However, the distance between each of the openings on the back side of the slits 71 to 74 and the opening of the second partition plate 81 b corresponding to the slit is different for each of the slits 71 to 74. Specifically, as shown in FIG. 10, when the actuating body 7 is in the reference position (that is, when the plunger 43 is in the reference position), the opening on the back side of the slit 71 and the second corresponding to the slit 71. A distance A from the opening of the partition plate 81b, a distance B from the opening on the back side of the slit 72 and the opening of the second partition plate 81b corresponding to the slit 72, and an opening on the back side of the slit 73 and the slit 73. Each slit 71 has a distance C between the opening of the second partition plate 81b and a distance D between the opening on the back side of the slit 74 and the opening of the second partition plate 81b corresponding to the slit 74 in this order. The positions of -74 are set.

ここで、スリット71〜74を通過した光を受光素子61〜64が検出するときのプランジャ43の位置のうち、定位置からの変位量が最小となる位置を光検出開始位置とする。この場合、上記の距離A〜Dは、定位置から光検出開始位置までの距離を示すこととなる。   Here, among the positions of the plunger 43 when the light receiving elements 61 to 64 detect the light that has passed through the slits 71 to 74, the position where the amount of displacement from the fixed position is the minimum is the light detection start position. In this case, the distances A to D indicate distances from the home position to the light detection start position.

このようなプランジャ43が作動体7の動きに連動して平行移動すると、その位置に応じて発光素子51〜54が発する光を遮断または通過させることとなる。具体的には、プランジャ43の位置の変化により、第2の仕切り板81bが有する開口とプランジャ43の光遮断領域とが重なるとき、プランジャ43は、当該開口に対応する受光素子への光を遮断する。また、プランジャ43は、第2の仕切り板81bが有する開口とプランジャ43のスリットの少なくとも一部とが重なるとき、プランジャ43は、当該開口に対応する受光素子へ光を通過させる。言い換えると、発光素子51〜54から受光素子61〜64までの光路とスリット71〜74の少なくとも一部とが重なるときに、光が通過される。この際に受光素子に入射する光の量は、第2の仕切り板81bが有する当該開口とスリットの開口とが重なりあう領域の大きさに比例する。   When such a plunger 43 moves in parallel with the movement of the operating body 7, the light emitted from the light emitting elements 51 to 54 is blocked or allowed to pass according to the position. Specifically, when the opening of the second partition plate 81b overlaps the light blocking area of the plunger 43 due to the change in the position of the plunger 43, the plunger 43 blocks the light to the light receiving element corresponding to the opening. To do. In addition, when the opening of the second partition plate 81b and at least a part of the slit of the plunger 43 overlap with each other, the plunger 43 allows the light to pass to the light receiving element corresponding to the opening. In other words, light passes when the optical path from the light emitting elements 51 to 54 to the light receiving elements 61 to 64 and at least a part of the slits 71 to 74 overlap. The amount of light incident on the light receiving element at this time is proportional to the size of the area where the opening of the second partition plate 81b and the opening of the slit overlap.

プランジャ43が発光素子51〜54それぞれが発する光のうちいずれを遮断するかは、プランジャ43の位置、つまり、作動体7における基準位置からの角度と対応している。以下、図10〜14を参照して、作動体7の基準位置からの角度が変化するにつれ、各受光素子61〜64への光の入射の有無、および、入射する光の量がどのように変化するかについて説明する。   Which of the light emitted from each of the light emitting elements 51 to 54 is blocked by the plunger 43 corresponds to the position of the plunger 43, that is, the angle from the reference position in the operating body 7. Hereinafter, with reference to FIGS. 10 to 14, as the angle from the reference position of the operating body 7 changes, whether or not light is incident on each of the light receiving elements 61 to 64 and how the amount of incident light is changed. Explain how it changes.

図10に示されるように、プランジャ43は、作動体7が0度(基準位置)に位置するとき、発光素子51〜54が発する光のすべてを遮断する。具体的には、第2の仕切り板において受光素子61〜64が配置された位置に対応する全ての開口を、プランジャ43の光遮断領域が覆う。このため、発光素子51〜54それぞれが発する光がプランジャ43に遮断され、受光素子61〜64まで到達しない。   As shown in FIG. 10, the plunger 43 blocks all the light emitted from the light emitting elements 51 to 54 when the operating body 7 is positioned at 0 degree (reference position). Specifically, the light blocking area of the plunger 43 covers all the openings corresponding to the positions where the light receiving elements 61 to 64 are arranged on the second partition plate. For this reason, the light emitted from each of the light emitting elements 51 to 54 is blocked by the plunger 43 and does not reach the light receiving elements 61 to 64.

図10に示す状態から作動体7を回転させていき、プランジャ43をその長手方向に移動させていく。このとき、上述したように、スリット71の背面側の開口とスリット71に対応する第2の仕切り板81bの開口との距離Aが他の距離B〜Dよりも短いため、スリット71の背面側の開口と受光素子61に対応する第2の仕切り板81bの開口とだけが重なり始める。その後、作動体7の角度が大きくなるにつれ、プランジャ43の移動量が大きくなると、スリット71の背面側の開口と受光素子61に対応する第2の仕切り板81bの開口との重なり領域が大きくなるとともに、スリット72の背面側の開口と受光素子62に対応する第2の仕切り板81bの開口とが重なり始める。   The operating body 7 is rotated from the state shown in FIG. 10, and the plunger 43 is moved in the longitudinal direction. At this time, as described above, the distance A between the opening on the back side of the slit 71 and the opening of the second partition plate 81b corresponding to the slit 71 is shorter than the other distances B to D. Only the opening of the second partition plate 81 b corresponding to the light receiving element 61 starts to overlap. Thereafter, as the angle of the operating body 7 increases, the overlapping area between the opening on the back side of the slit 71 and the opening of the second partition plate 81 b corresponding to the light receiving element 61 increases as the movement amount of the plunger 43 increases. At the same time, the opening on the back side of the slit 72 and the opening of the second partition plate 81 b corresponding to the light receiving element 62 begin to overlap.

図11に示されるように、作動体7が15度の位置に位置するとき、スリット71の背面側の開口が受光素子61に対応する第2の仕切り板81bの開口の全領域と重なりあっている。言い換えると、第1の仕切り板81aにおいて発光素子51が配置された位置に対応する開口と、第2の仕切り板81bにおいて受光素子61が配置された位置に対応する開口とを直線的につなぐ空間(光路領域)の全てにおいて、スリット71の開口が位置する。また、スリット72の背面側の開口が受光素子62に対応する第2の仕切り板81bの開口の一部と重なりあっている。言い換えると、第1の仕切り板81aにおいて発光素子52が配置された位置に対応する開口と、第2の仕切り板81bにおいて受光素子62が配置された位置に対応する開口とを直線的につなぐ空間(光路領域)に、スリット72の開口の一部のみが位置する。そのため、受光素子61の受光量は最大値となり、受光素子62は、発光素子52から発光された光の一部のみを受光する。また、この段階では、まだ受光素子53,54が配置された位置に対応する第2の仕切り板81bの開口を、プランジャ43の光遮断領域が覆っている。そのため、受光素子53,54には光が到達しない。   As shown in FIG. 11, when the operating body 7 is located at a position of 15 degrees, the opening on the back side of the slit 71 overlaps with the entire area of the opening of the second partition plate 81 b corresponding to the light receiving element 61. Yes. In other words, a space that linearly connects the opening corresponding to the position where the light emitting element 51 is disposed in the first partition plate 81a and the opening corresponding to the position where the light receiving element 61 is disposed in the second partition plate 81b. In all of the (optical path region), the opening of the slit 71 is located. Further, the opening on the back side of the slit 72 overlaps with a part of the opening of the second partition plate 81 b corresponding to the light receiving element 62. In other words, a space that linearly connects the opening corresponding to the position where the light emitting element 52 is arranged in the first partition plate 81a and the opening corresponding to the position where the light receiving element 62 is arranged in the second partition plate 81b. In the (optical path region), only a part of the opening of the slit 72 is located. Therefore, the amount of light received by the light receiving element 61 becomes the maximum value, and the light receiving element 62 receives only a part of the light emitted from the light emitting element 52. At this stage, the light blocking area of the plunger 43 covers the opening of the second partition plate 81b corresponding to the position where the light receiving elements 53 and 54 are still arranged. Therefore, light does not reach the light receiving elements 53 and 54.

図11に示す状態からさらに作動体7を回転させていき、プランジャ43をその長手方向に移動させていく。このとき、作動体7の角度が大きくなるにつれ、プランジャ43の移動量が大きくなると、スリット72の背面側の開口と受光素子62に対応する第2の仕切り板81bの開口との重なり領域が大きくなるとともに、スリット73の背面側の開口と受光素子63に対応する第2の仕切り板81bの開口とが重なり始める。   The operating body 7 is further rotated from the state shown in FIG. 11, and the plunger 43 is moved in the longitudinal direction. At this time, as the angle of the operating body 7 increases, the overlapping area between the opening on the back side of the slit 72 and the opening of the second partition plate 81 b corresponding to the light receiving element 62 increases as the movement amount of the plunger 43 increases. At the same time, the opening on the back side of the slit 73 and the opening of the second partition plate 81 b corresponding to the light receiving element 63 begin to overlap.

図12に示されるように、作動体7が22.5度の位置に位置するとき、スリット71,72の背面側の開口のそれぞれが受光素子61,62に対応する第2の仕切り板81bの開口の全領域と重なりあっている。言い換えると、第1の仕切り板81aにおいて発光素子51が配置された位置に対応する開口と、第2の仕切り板81bにおいて受光素子61が配置された位置に対応する開口とを直線的につなぐ空間(光路領域)の全てにおいて、スリット71の開口が位置する。同様に、第1の仕切り板81aにおいて発光素子52が配置された位置に対応する開口と、第2の仕切り板81bにおいて受光素子62が配置された位置に対応する開口とを直線的につなぐ空間(光路領域)の全てにおいて、スリット72の開口が位置する。また、スリット73の背面側の開口が受光素子63に対応する第2の仕切り板81bの開口の一部と重なりあっている。言い換えると、第1の仕切り板81aにおいて発光素子53が配置された位置に対応する開口と、第2の仕切り板81bにおいて受光素子63が配置された位置に対応する開口とを直線的につなぐ空間(光路領域)に、スリット73の開口の一部のみが位置する。そのため、受光素子61,62の受光量は最大値となり、受光素子63は、発光素子53から発光された光の一部のみを受光する。なお、この段階では、まだ受光素子54が配置された位置に対応する第2の仕切り板81bの開口を、プランジャ43の光遮断領域が覆っている。そのため、受光素子64には光が到達しない。   As shown in FIG. 12, when the operating body 7 is located at a position of 22.5 degrees, the openings on the back side of the slits 71 and 72 of the second partition plate 81b corresponding to the light receiving elements 61 and 62, respectively. It overlaps with the entire area of the opening. In other words, a space that linearly connects the opening corresponding to the position where the light emitting element 51 is disposed in the first partition plate 81a and the opening corresponding to the position where the light receiving element 61 is disposed in the second partition plate 81b. In all of the (optical path region), the opening of the slit 71 is located. Similarly, a space that linearly connects the opening corresponding to the position where the light emitting element 52 is arranged in the first partition plate 81a and the opening corresponding to the position where the light receiving element 62 is arranged in the second partition plate 81b. In all of the (optical path region), the opening of the slit 72 is located. Further, the opening on the back side of the slit 73 overlaps with a part of the opening of the second partition plate 81 b corresponding to the light receiving element 63. In other words, a space that linearly connects the opening corresponding to the position where the light emitting element 53 is arranged in the first partition plate 81a and the opening corresponding to the position where the light receiving element 63 is arranged in the second partition plate 81b. In the (optical path region), only a part of the opening of the slit 73 is located. Therefore, the amount of light received by the light receiving elements 61 and 62 becomes the maximum value, and the light receiving element 63 receives only a part of the light emitted from the light emitting element 53. At this stage, the light blocking area of the plunger 43 covers the opening of the second partition plate 81b corresponding to the position where the light receiving element 54 is still arranged. Therefore, light does not reach the light receiving element 64.

図12に示す状態からさらに作動体7を回転させていき、プランジャ43をその長手方向に移動させていくと、スリット73の背面側の開口と受光素子63に対応する第2の仕切り板81bの開口との重なり領域が大きくなる。   When the operating body 7 is further rotated from the state shown in FIG. 12 and the plunger 43 is moved in the longitudinal direction, the opening on the back side of the slit 73 and the second partition plate 81b corresponding to the light receiving element 63 are arranged. The overlapping area with the opening increases.

図13に示されるように、作動体7が30度の位置に位置するとき、スリット71,72,73の背面側の開口のそれぞれが受光素子61,62,63に対応する第2の仕切り板81bの開口の全領域と重なりあっている。そのため、受光素子61,62,63の受光量は最大値となる。なお、この段階では、まだ受光素子54が配置された位置に対応する第2の仕切り板81bの開口を、プランジャ43の光遮断領域が覆っている。そのため、受光素子64には光が到達しない。   As shown in FIG. 13, when the operating body 7 is located at a position of 30 degrees, the second partition plates in which the openings on the back side of the slits 71, 72, 73 correspond to the light receiving elements 61, 62, 63 respectively. It overlaps with the entire area of the opening 81b. For this reason, the amount of light received by the light receiving elements 61, 62, and 63 has a maximum value. At this stage, the light blocking area of the plunger 43 covers the opening of the second partition plate 81b corresponding to the position where the light receiving element 54 is still arranged. Therefore, light does not reach the light receiving element 64.

図13に示す状態からさらに作動体7を回転させていき、プランジャ43をその長手方向に移動させていくと、スリット73の背面側の開口と受光素子63に対応する第2の仕切り板81bの開口とだけが重なり始める。   When the operating body 7 is further rotated from the state shown in FIG. 13 and the plunger 43 is moved in the longitudinal direction, the opening on the back side of the slit 73 and the second partition plate 81b corresponding to the light receiving element 63 are arranged. Only the opening begins to overlap.

図14に示されるように、作動体7が42.5度の位置に位置するとき、スリット71〜74の背面側の開口のそれぞれが受光素子61〜64に対応する第2の仕切り板81bの開口の全領域と重なりあっている。そのため、受光素子61〜64の受光量は最大値となる。   As shown in FIG. 14, when the operating body 7 is located at a position of 42.5 degrees, each of the openings on the back side of the slits 71 to 74 corresponds to the second partition plate 81 b corresponding to the light receiving elements 61 to 64. It overlaps with the entire area of the opening. For this reason, the amount of light received by the light receiving elements 61 to 64 is the maximum value.

図15は、作動体の角度と受光素子の出力電圧との関係を示した図である。図15に示されるように、受光素子61〜64それぞれが発光素子51〜54それぞれから光を受けることにより出力する電圧と作動体7の位置との関係を4つの折れ線91〜94によって示している。折れ線91は、受光素子61に対応し、折れ線92は、受光素子62に対応し、折れ線93は、受光素子63に対応し、折れ線94は、受光素子64に対応する。   FIG. 15 is a diagram showing the relationship between the angle of the operating body and the output voltage of the light receiving element. As shown in FIG. 15, the relationship between the voltage output when each of the light receiving elements 61 to 64 receives light from each of the light emitting elements 51 to 54 and the position of the operating body 7 is indicated by four broken lines 91 to 94. . The broken line 91 corresponds to the light receiving element 61, the broken line 92 corresponds to the light receiving element 62, the broken line 93 corresponds to the light receiving element 63, and the broken line 94 corresponds to the light receiving element 64.

作動体7の角度が0度以上5度未満のとき、発光素子51〜54それぞれが発する光を遮断し、作動体7の角度が12.5度以上20度未満のとき、発光素子51,52それぞれが発する光の少なくとも一部を通過させ、発光素子53〜55それぞれが発する光を遮断し、作動体7の角度が20度以上32.5度未満のとき、発光素子51〜53それぞれが発する光の少なくとも一部を通過させ、発光素子54,55それぞれが発する光を遮断し、作動体7の角度が32.5度以上50度未満のとき、発光素子51〜54それぞれが発する光の少なくとも一部を通過させる。また、角度が5〜15度において、受光素子61からの出力電圧は、角度に比例して連続的に大きくなっている。これは、受光素子61に対応する第2の仕切り板81bの開口とスリット71との重なり合う領域の大きさが角度の増大に応じて増えるからである。同様に、角度が12.5〜22.5度において受光素子62からの出力電圧が、角度が20〜30度において受光素子63からの出力電圧が、角度が32.5〜42.5度において受光素子64からの出力電圧が、角度に比例して連続的に大きくなっている。   When the angle of the operating body 7 is 0 degree or more and less than 5 degrees, the light emitted from each of the light emitting elements 51 to 54 is blocked, and when the angle of the operating body 7 is 12.5 degrees or more and less than 20 degrees, the light emitting elements 51 and 52. Each of the light emitting elements 51 to 53 emits when the light emitted from each of the light emitting elements 53 to 55 is blocked and the light emitted from each of the light emitting elements 53 to 55 is blocked, and the angle of the operating body 7 is 20 degrees or more and less than 32.5 degrees. When at least part of the light is allowed to pass through and the light emitted from each of the light emitting elements 54 and 55 is blocked, and the angle of the operating body 7 is 32.5 degrees or more and less than 50 degrees, at least the light emitted from each of the light emitting elements 51 to 54 Let some through. When the angle is 5 to 15 degrees, the output voltage from the light receiving element 61 increases continuously in proportion to the angle. This is because the size of the overlapping area between the opening of the second partition plate 81b corresponding to the light receiving element 61 and the slit 71 increases as the angle increases. Similarly, when the angle is 12.5 to 22.5 degrees, the output voltage from the light receiving element 62 is 20 degrees, and when the angle is 20 to 30 degrees, the output voltage from the light receiving element 63 is 32.5 to 42.5 degrees. The output voltage from the light receiving element 64 continuously increases in proportion to the angle.

このように、作動体7の角度が大きくなることに応じて、プランジャ43を通過する光が多くなる。逆に、作動体7の角度が小さくなることに応じて、プランジャ43を通過する光が少なくなる。このように、作動体7の基準位置からの回転角度に応じてプランジャ43の位置が変わり、プランジャ43の位置に応じて、受光素子61〜64の各々が受光する光の量が異なることとなる。また、受光素子61〜64の各々に対して、入射される光の量が最大となるプランジャ43の位置のうち、基準位置からの変位量が最小となるプランジャ43の位置を光量最大位置とするとき、受光素子61〜64ごとに光量最大位置が異なる。なお、受光素子61の光量最大位置は、作動体7が15度のときのプランジャ43の位置であり、受光素子62の光量最大位置は、作動体7が22.5度のときのプランジャ43の位置であり、受光素子63の光量最大位置は、作動体7が30度のときのプランジャ43の位置であり、受光素子64の光量最大位置は、作動体7が42.5度のときのプランジャ43の位置である。   Thus, the light passing through the plunger 43 increases as the angle of the operating body 7 increases. Conversely, as the angle of the operating body 7 decreases, the amount of light that passes through the plunger 43 decreases. In this manner, the position of the plunger 43 changes according to the rotation angle from the reference position of the operating body 7, and the amount of light received by each of the light receiving elements 61 to 64 differs depending on the position of the plunger 43. . In addition, among the positions of the plunger 43 where the amount of incident light is maximized with respect to each of the light receiving elements 61 to 64, the position of the plunger 43 where the amount of displacement from the reference position is the minimum is the light quantity maximum position. At this time, the light quantity maximum position is different for each of the light receiving elements 61 to 64. The light quantity maximum position of the light receiving element 61 is the position of the plunger 43 when the operating body 7 is 15 degrees, and the light quantity maximum position of the light receiving element 62 is the position of the plunger 43 when the operating body 7 is 22.5 degrees. The maximum light quantity position of the light receiving element 63 is the position of the plunger 43 when the operating body 7 is 30 degrees, and the maximum light quantity position of the light receiving element 64 is the plunger when the operating body 7 is 42.5 degrees. 43 positions.

また、図15は、受光素子61〜64が光を検出し始めるときのプランジャ43の位置(光検出開始位置)が、受光素子61〜64ごとに異なっていることも示している。具体的には、受光素子61に対応する光検出開始位置は、作動体7が5度の位置にあるときのプランジャ43の位置であり、受光素子62に対応する光検出開始位置は、作動体7が12.5度の位置にあるときのプランジャ43の位置であり、受光素子63に対応する光検出開始位置は、作動体7が20度の位置にあるときのプランジャ43の位置であり、受光素子64に対応する光検出開始位置は、作動体7が32.5度の位置にあるときのプランジャ43の位置である。   FIG. 15 also shows that the position of the plunger 43 (light detection start position) when the light receiving elements 61 to 64 start detecting light is different for each of the light receiving elements 61 to 64. Specifically, the light detection start position corresponding to the light receiving element 61 is the position of the plunger 43 when the operating body 7 is at a position of 5 degrees, and the light detection start position corresponding to the light receiving element 62 is the operating body. 7 is the position of the plunger 43 when the position is 12.5 degrees, and the light detection start position corresponding to the light receiving element 63 is the position of the plunger 43 when the operating body 7 is located at the position of 20 degrees. The light detection start position corresponding to the light receiving element 64 is the position of the plunger 43 when the operating body 7 is at the position of 32.5 degrees.

このように、光量最大位置、または、光検出開始位置が、受光素子61〜64ごとに異なるため、受光素子61〜64が光を検出する際のプランジャ43の位置範囲も異なることとなる。   Thus, since the light quantity maximum position or the light detection start position is different for each of the light receiving elements 61 to 64, the position range of the plunger 43 when the light receiving elements 61 to 64 detect light is also different.

なお、上記の説明では、プランジャ43の前面を発光素子51〜54と対向させ、プランジャ43の背面を受光素子61〜64と対向させるものとした。しかしながら、逆に、プランジャ43の背面を発光素子51〜54と対向させ、プランジャ43の前面を受光素子61〜64と対向させてもよい。この場合であっても、作動体の角度と受光素子の出力電圧との関係は図15と同じである。   In the above description, the front surface of the plunger 43 is opposed to the light emitting elements 51 to 54, and the rear surface of the plunger 43 is opposed to the light receiving elements 61 to 64. However, conversely, the back surface of the plunger 43 may be opposed to the light emitting elements 51 to 54, and the front surface of the plunger 43 may be opposed to the light receiving elements 61 to 64. Even in this case, the relationship between the angle of the operating body and the output voltage of the light receiving element is the same as in FIG.

<マイクロコンピュータとその周辺構成との関係>
図16は、スイッチモジュールの構成を示すブロック図である。図16に示されるように、スイッチモジュール11は、受光素子61〜64、第1点灯部21、第3点灯部25、スイッチ部35、マイクロコンピュータ100の他に、低電圧回路101と、ON/OFF信号出力部(オン/オフ信号出力部)103と、異常予知出力部(異常信号出力部)105と、抵抗測定部107とを備える。
<Relationship between microcomputer and peripheral components>
FIG. 16 is a block diagram showing the configuration of the switch module. As shown in FIG. 16, the switch module 11 includes the light receiving elements 61 to 64, the first lighting unit 21, the third lighting unit 25, the switch unit 35, the microcomputer 100, the low voltage circuit 101, An OFF signal output unit (ON / OFF signal output unit) 103, an abnormality prediction output unit (abnormal signal output unit) 105, and a resistance measurement unit 107 are provided.

低電圧回路101は、電力供給装置により電力が供給されると、負荷にかかる電圧を所定の電圧に変換した後マイクロコンピュータ100に出力する。マイクロコンピュータ100は、電力供給装置が供給する電力が低電圧回路101を介して入力されると、図2に示す第2点灯部23を点灯させる。   When power is supplied from the power supply device, the low voltage circuit 101 converts the voltage applied to the load into a predetermined voltage and then outputs the voltage to the microcomputer 100. When the power supplied from the power supply apparatus is input via the low voltage circuit 101, the microcomputer 100 lights the second lighting unit 23 shown in FIG.

抵抗測定部107は、電極45と電極47との間の電気抵抗値を測定し、測定した電気抵抗値をマイクロコンピュータ100に出力する。図3に示されるように、電極45と電極47との間に絶縁物質で形成されたシート46が挟まっているため、電極45と電極47とは非接触の状態にあるが、電極45と電極47の隙間に水が入り込むと電極45,47が通電状態となり電極45,47間の電気抵抗値が低下する。そのため、抵抗測定部107により測定された電気抵抗値が低下する場合、シール異常が起きていることとなる。   The resistance measurement unit 107 measures the electrical resistance value between the electrode 45 and the electrode 47 and outputs the measured electrical resistance value to the microcomputer 100. As shown in FIG. 3, since the sheet 46 formed of an insulating material is sandwiched between the electrode 45 and the electrode 47, the electrode 45 and the electrode 47 are not in contact with each other. When water enters the gap 47, the electrodes 45, 47 are energized, and the electrical resistance value between the electrodes 45, 47 decreases. Therefore, when the electrical resistance value measured by the resistance measuring unit 107 decreases, a seal abnormality has occurred.

受光素子61〜受光素子64は、それぞれ対応する発光素子51〜54から受けた光の量に応じた電圧をマイクロコンピュータ100に出力する。ここで、受光素子61〜64と発光素子51〜54との間の光路にプランジャ43の光遮断領域が存在しないときの受光素子61〜64のそれぞれから出力される電圧を最大電圧とする。   The light receiving elements 61 to 64 output voltages corresponding to the amounts of light received from the corresponding light emitting elements 51 to 54 to the microcomputer 100. Here, the voltage output from each of the light receiving elements 61 to 64 when the light blocking region of the plunger 43 does not exist in the optical path between the light receiving elements 61 to 64 and the light emitting elements 51 to 54 is defined as the maximum voltage.

スイッチ部35の各スイッチ36〜39は、ユーザにより設定された状態に従って、有効モードまたは無効モードを示す信号をマイクロコンピュータ100に出力する。   Each of the switches 36 to 39 of the switch unit 35 outputs a signal indicating the valid mode or the invalid mode to the microcomputer 100 according to the state set by the user.

ON/OFF信号出力部103は、マイクロコンピュータ100により制御されて、リミットスイッチ1による操作対象となる外部装置の駆動を制御するためのON信号(オン信号)またはOFF信号(オフ信号)を端子33(図2参照)から出力するものである。   The ON / OFF signal output unit 103 is controlled by the microcomputer 100 and receives an ON signal (ON signal) or an OFF signal (OFF signal) for controlling driving of an external device to be operated by the limit switch 1 as a terminal 33. (See FIG. 2).

異常予知出力部105は、マイクロコンピュータ100により制御されて、リミットスイッチ1に生じる異常を予知したことを示す異常予知信号を端子34(図2参照)から出力するものである。   The abnormality prediction output unit 105 is controlled by the microcomputer 100 and outputs an abnormality prediction signal indicating that an abnormality occurring in the limit switch 1 has been predicted from the terminal 34 (see FIG. 2).

第1点灯部21、第3点灯部25は、それぞれマイクロコンピュータ100により制御されて発光する。   The first lighting unit 21 and the third lighting unit 25 are controlled by the microcomputer 100 to emit light.

次に、マイクロコンピュータ100の内部の機能構成について説明する。なお、マイクロコンピュータ100は、CPUと、プログラムを記憶するメモリとを備え、CPUがメモリからプログラムを読み出し、当該プログラムに従った動作をすることにより機能する。図16に示されるように、マイクロコンピュータ100は、A/D変換部111と、位置検出部(位置検出手段)113と、メモリ115,117と、出力信号制御部119とを含む。   Next, an internal functional configuration of the microcomputer 100 will be described. The microcomputer 100 includes a CPU and a memory for storing a program, and the CPU functions by reading the program from the memory and performing an operation according to the program. As shown in FIG. 16, the microcomputer 100 includes an A / D conversion unit 111, a position detection unit (position detection unit) 113, memories 115 and 117, and an output signal control unit 119.

A/D変換部111は、受光素子61〜64から出力されたアナログ電圧を受け、当該アナログ電圧の値をデジタル値に変換するものである。   The A / D converter 111 receives the analog voltage output from the light receiving elements 61 to 64 and converts the value of the analog voltage into a digital value.

位置検出部113は、作動体7の位置(ここでは基準位置からの角度)を検出するものである。位置検出部113は、第1判定部113−1〜第4判定部113−4を備えている。なお、第1判定部113−1〜第4判定部113−4の機能は同じであるため、ここでは第1判定部113−1のみ説明する。   The position detection unit 113 detects the position of the operating body 7 (here, the angle from the reference position). The position detection unit 113 includes a first determination unit 113-1 to a fourth determination unit 113-4. Since the functions of the first determination unit 113-1 to the fourth determination unit 113-4 are the same, only the first determination unit 113-1 will be described here.

第1判定部113−1は、A/D変換部111から出力された受光素子61〜64に対応する4つのデジタル値の中から一つのデジタル値を抽出する。この抽出は、メモリ115に格納されている抽出用テーブルを用いて行われる。抽出用テーブルは、第k判定部(k=1〜4のいずれか)113−kについて、当該第k判定部113−kを識別する判定部識別情報と、受光素子61〜64に対応する4つのデジタル値のうち、当該第k判定部113−kにより使用される受光素子を識別する受光素子識別情報とが対応付けられた情報である。図17は、抽出用テーブルの一例である。図17に示す抽出用テーブルの場合、第1判定部113−1を示す判定部識別情報に対応する受光素子識別情報が受光素子61であることを示しているため、第1判定部113−1は、受光素子61からのデジタル値を抽出する。   The first determination unit 113-1 extracts one digital value from the four digital values corresponding to the light receiving elements 61 to 64 output from the A / D conversion unit 111. This extraction is performed using an extraction table stored in the memory 115. The extraction table includes 4 corresponding to determination unit identification information for identifying the kth determination unit 113-k and the light receiving elements 61 to 64 for the kth determination unit (any of k = 1 to 4) 113-k. Among the digital values, the information is associated with light receiving element identification information for identifying the light receiving element used by the k-th determination unit 113-k. FIG. 17 is an example of an extraction table. In the case of the extraction table shown in FIG. 17, since the light receiving element identification information corresponding to the determination unit identification information indicating the first determination unit 113-1 is the light receiving element 61, the first determination unit 113-1 is illustrated. Extracts a digital value from the light receiving element 61.

また、第1判定部113−1は、抽出したデジタル値と、メモリ117に格納されている第1閾値とを比較し、抽出したデジタル値が第1閾値以上である場合にHIGH信号を、抽出したデジタル値が第1閾値未満である場合にLOW信号を、出力信号制御部119に出力する。なお、メモリ117に格納されている第k閾値は、第k判定部113−kに対応するものであり、当該第k判定部113−kにより使用される。   The first determination unit 113-1 compares the extracted digital value with the first threshold value stored in the memory 117, and extracts a HIGH signal when the extracted digital value is equal to or greater than the first threshold value. When the digital value is less than the first threshold value, the LOW signal is output to the output signal control unit 119. The kth threshold value stored in the memory 117 corresponds to the kth determination unit 113-k and is used by the kth determination unit 113-k.

出力信号制御部119は、ON/OFF信号出力部103、異常予知出力部105、および第1点灯部21,第3点灯部25を制御するものである。出力信号制御部119は、操作対象である外部機器に対してON信号およびOFF信号のいずれを出力するかを制御するON/OFF信号制御部(オン/オフ信号出力部)120と、角度超過異常を検知し、角度超過信号の出力を制御する第1異常信号制御部(異常信号出力部)121と、角度不足異常を検知し、角度不足信号の出力を制御する第2異常信号制御部(異常信号出力部)122と、復帰速度低下異常を検知し、復帰速度低下信号の出力を制御する第3異常信号制御部(異常信号出力部)123と、シール異常を検知し、シール不良信号の出力を制御する第4異常信号制御部(異常信号出力部)124とを備えている。   The output signal control unit 119 controls the ON / OFF signal output unit 103, the abnormality prediction output unit 105, the first lighting unit 21, and the third lighting unit 25. The output signal control unit 119 includes an ON / OFF signal control unit (on / off signal output unit) 120 that controls whether an ON signal or an OFF signal is output to an external device that is an operation target, and an excessive angle abnormality. A first abnormality signal control unit (abnormal signal output unit) 121 that controls the output of the angle excess signal, and a second abnormality signal control unit (abnormality) that detects the angle shortage abnormality and controls the output of the angle insufficient signal. Signal output unit) 122, a third abnormality signal control unit (abnormal signal output unit) 123 that detects a return speed decrease signal and controls the output of a return speed decrease signal, and detects a seal error and outputs a seal failure signal. And a fourth abnormal signal control unit (abnormal signal output unit) 124 for controlling.

<出力信号制御の具体例>
次に、本実施形態における出力信号制御の具体例について説明する。
図18は、作動体の角度と動作状態との関係を示す図である。ここでは、平均的な物体が作動体7に接触したときに、作動体7が30〜35度程度回転するように、物体の移動経路とリミットスイッチ1との相対位置関係が設定されているものとする。また、ここでは、作動体7の角度の限界値(図ではTTPと示す)が50度であるとする。
<Specific examples of output signal control>
Next, a specific example of output signal control in the present embodiment will be described.
FIG. 18 is a diagram illustrating the relationship between the angle of the operating body and the operating state. Here, the relative positional relationship between the movement path of the object and the limit switch 1 is set so that when the average object comes into contact with the working body 7, the working body 7 rotates about 30 to 35 degrees. And Here, it is assumed that the limit value of the angle of the operating body 7 (shown as TTP in the figure) is 50 degrees.

この場合、重量、大きさ、移動経路などの物体の個体差によらずに、正常な状態でリミットスイッチ1がON信号を出力するためには、平均的な作動体7の角度(30〜35度)よりも小さい角度(例えば15度)を、ON信号を出力する動作角度として設定することが好ましい。   In this case, in order for the limit switch 1 to output the ON signal in a normal state regardless of individual differences in the object such as the weight, size, movement path, etc., the average angle of the operating body 7 (30 to 35). It is preferable to set an angle smaller than (degrees) (for example, 15 degrees) as the operation angle for outputting the ON signal.

また、角度超過異常を認識するために、平均的な作動体7の角度(30〜35度)よりも大きく、かつ、限界値(50度)よりも小さい角度(例えば40度)を超えたときに、異常予知信号としての角度超過信号が出力されることが好ましい。なお、図中では、このような角度超過信号が出力されることが望まれる角度範囲を「OT取り過ぎ」として示している。   Further, when an angle exceeding an angle (for example, 40 degrees) that is larger than the average angle (30 to 35 degrees) and smaller than the limit value (50 degrees) is exceeded in order to recognize an excessive angle abnormality. In addition, it is preferable that an angle excess signal as an abnormality prediction signal is output. In the drawing, an angle range in which such an angle excess signal is desired to be output is indicated as “OT taking too much”.

さらに、角度不足異常を認識するために、平均的な作動体7の角度(30〜35度)よりも小さく、かつ、ON信号を出力する角度(例えば15度)よりも大きい角度(例えば25度)よりも小さい角度だけしか回転しないときに、異常予知信号としての角度不足信号が出力されることが好ましい。なお、図中では、このような角度不足信号が出力されることが望まれる角度範囲を「OT不足」として示している。   Furthermore, in order to recognize an angle shortage abnormality, an angle (for example, 25 degrees) that is smaller than the average angle (30 to 35 degrees) of the average operating body 7 and larger than the angle (for example, 15 degrees) that outputs the ON signal. It is preferable that an angle shortage signal is output as an abnormal prediction signal when the vehicle rotates only by an angle smaller than. In the drawing, the angle range in which such an angle shortage signal is desired to be output is indicated as “OT shortage”.

さらに、復帰速度低下異常を認識するために、復帰時の速度を示すパラメータ、例えば、角度15度以上の位置より角度15度に到達した時点から角度10度に到達する時点までの復帰時間を測定する。そして、所定限界速度(次の物体を正常に検知できなくなる復帰速度)に対応する時間よりも短く、かつ、正常に復帰しているときの復帰時間よりも長い所定時間と、測定した復帰時間とを比較し、所定時間よりも測定した復帰時間が長い場合に、異常予知信号としての復帰速度低下信号が出力されることが好ましい。   Furthermore, in order to recognize the return speed drop abnormality, a parameter indicating the speed at the time of return, for example, the return time from the time when the angle reaches 15 degrees from the position of the angle of 15 degrees or more to the time when the angle reaches 10 degrees is measured. To do. A predetermined time shorter than a time corresponding to a predetermined limit speed (recovery speed at which the next object cannot be normally detected) and longer than a normal recovery time, and a measured return time; When the return time measured is longer than the predetermined time, it is preferable to output a return speed reduction signal as an abnormal prediction signal.

このようなON信号、角度超過信号、角度不足信号および復帰速度低下信号を出力するために、抽出用テーブルがメモリ115に、第1から第4閾値がメモリ117に予め格納されている。   In order to output such an ON signal, an excessive angle signal, an insufficient angle signal, and a return speed decrease signal, the extraction table is stored in the memory 115 and the first to fourth threshold values are stored in the memory 117 in advance.

具体的には、図17に示されるように、抽出用テーブルにおいて第1判定部113−1に対して受光素子61が設定されている。そして、図19の(a)部に示されるように、第1閾値として、作動体7を基準位置から10度だけ回転させたときの受光素子61からの出力電圧(デジタル値)がメモリ117に予め設定されている。   Specifically, as shown in FIG. 17, the light receiving element 61 is set for the first determination unit 113-1 in the extraction table. As shown in FIG. 19A, the output voltage (digital value) from the light receiving element 61 when the operating body 7 is rotated by 10 degrees from the reference position is stored in the memory 117 as the first threshold value. It is set in advance.

これにより、図19の(b)部に示されるように、第1判定部113−1は、受光素子61からの出力電圧値が第1閾値以上である場合にHIGH信号を、受光素子61からの出力電圧値が第1閾値未満である場合にLOW信号を出力する。そのため、第1判定部113−1からHIGH信号が出力されている場合、作動体7が角度10度以上の位置にあり、第1判定部113−1からLOW信号が出力されている場合、作動体7が角度10度未満の位置にあることがわかる。また、第1判定部113−1からの信号がLOWからHIGH、または、HIGHからLOWに変化したときに作動体7の角度が10度であることがわかる。   Thereby, as shown in part (b) of FIG. 19, the first determination unit 113-1 sends a HIGH signal from the light receiving element 61 when the output voltage value from the light receiving element 61 is equal to or higher than the first threshold value. When the output voltage value is less than the first threshold, a LOW signal is output. Therefore, when the HIGH signal is output from the first determination unit 113-1, the operating body 7 is at a position of 10 degrees or more, and when the LOW signal is output from the first determination unit 113-1, It can be seen that the body 7 is at a position of less than 10 degrees. It can also be seen that the angle of the operating body 7 is 10 degrees when the signal from the first determination unit 113-1 changes from LOW to HIGH, or from HIGH to LOW.

ここで、図19は、受光素子から出力される電圧値(デジタル値)と、閾値と、各判定部から出力される信号との関係を示す図である。図19において、(a)部は、受光素子61〜64から出力される電圧値と閾値との関係を示しており、(b)部は、各判定部から出力される信号を示している。   Here, FIG. 19 is a diagram illustrating a relationship between a voltage value (digital value) output from the light receiving element, a threshold value, and a signal output from each determination unit. In FIG. 19, (a) part has shown the relationship between the voltage value output from the light receiving elements 61-64, and a threshold value, and (b) part has shown the signal output from each determination part.

また、図17に示されるように、抽出用テーブルにおいて第1判定部113−2に対して受光素子62が設定されている。そして、図19の(a)部に示されるように、第2閾値として、作動体7を基準位置から15度だけ回転させたときの受光素子62からの出力電圧(デジタル値)がメモリ117に予め設定されている。   As shown in FIG. 17, the light receiving element 62 is set for the first determination unit 113-2 in the extraction table. Then, as shown in part (a) of FIG. 19, the output voltage (digital value) from the light receiving element 62 when the operating body 7 is rotated by 15 degrees from the reference position is stored in the memory 117 as the second threshold value. It is set in advance.

これにより、図19の(c)部に示されるように、第2判定部113−2は、受光素子62からの出力電圧(デジタル値)が第2閾値以上である場合にHIGH信号を、受光素子62からの出力電圧が第2閾値未満である場合にLOW信号を出力する。そのため、第2判定部113−2からHIGH信号が出力されている場合、作動体7が角度15度以上の位置にあり、第2判定部113−2からLOW信号が出力されている場合、作動体7が角度15度未満の位置にあることがわかる。また、第2判定部113−2からの信号がLOWからHIGH、または、HIGHからLOWに変化したときに作動体7の角度が15度であることがわかる。   Accordingly, as shown in FIG. 19C, the second determination unit 113-2 receives the HIGH signal when the output voltage (digital value) from the light receiving element 62 is equal to or higher than the second threshold. When the output voltage from the element 62 is less than the second threshold, a LOW signal is output. Therefore, when the HIGH signal is output from the second determination unit 113-2, the operating body 7 is at a position of 15 degrees or more, and when the LOW signal is output from the second determination unit 113-2, the operation is performed. It can be seen that the body 7 is at a position of less than 15 degrees. Further, it can be seen that the angle of the operating body 7 is 15 degrees when the signal from the second determination unit 113-2 changes from LOW to HIGH or from HIGH to LOW.

また、図17に示されるように、抽出用テーブルにおいて第3判定部113−3に対して受光素子63が設定されている。そして、図19の(a)部に示されるように、第3閾値として、作動体7を基準位置から25度だけ回転させたときの受光素子63からの出力電圧(デジタル値)がメモリ117に予め設定されている。   In addition, as shown in FIG. 17, the light receiving element 63 is set for the third determination unit 113-3 in the extraction table. As shown in part (a) of FIG. 19, the output voltage (digital value) from the light receiving element 63 when the operating body 7 is rotated by 25 degrees from the reference position is stored in the memory 117 as the third threshold value. It is set in advance.

これにより、図19の(c)部に示されるように、第3判定部113−3は、受光素子63からの出力電圧(デジタル値)が第3閾値以上である場合にHIGH信号を、受光素子63からの出力電圧が第3閾値未満である場合にLOW信号を出力する。そのため、第3判定部113−3からHIGH信号が出力されている場合、作動体7が角度25度以上の位置にあり、第3判定部113−3からLOW信号が出力されている場合、作動体7が角度25度未満の位置にあることがわかる。また、第3判定部113−3からの信号がLOWからHIGH、または、HIGHからLOWに変化したときに作動体7の角度が25度であることがわかる。   Thereby, as shown in part (c) of FIG. 19, the third determination unit 113-3 receives the HIGH signal when the output voltage (digital value) from the light receiving element 63 is equal to or higher than the third threshold value. When the output voltage from the element 63 is less than the third threshold, a LOW signal is output. Therefore, when the HIGH signal is output from the third determination unit 113-3, the operating body 7 is at a position of an angle of 25 degrees or more, and when the LOW signal is output from the third determination unit 113-3, the operation is performed. It can be seen that the body 7 is at a position of less than 25 degrees. It can also be seen that the angle of the operating body 7 is 25 degrees when the signal from the third determination unit 113-3 changes from LOW to HIGH, or from HIGH to LOW.

最後に、図17に示されるように、抽出用テーブルにおいて第4判定部113−4に対して受光素子64が設定されている。そして、図19の(a)部に示されるように、第4閾値として、作動体7を基準位置から40度だけ回転させたときの受光素子64からの出力電圧(デジタル値)がメモリ117に予め設定されている。   Finally, as shown in FIG. 17, the light receiving element 64 is set for the fourth determination unit 113-4 in the extraction table. As shown in FIG. 19A, the output voltage (digital value) from the light receiving element 64 when the operating body 7 is rotated by 40 degrees from the reference position is stored in the memory 117 as the fourth threshold value. It is set in advance.

これにより、図19の(c)部に示されるように、第4判定部113−4は、受光素子64からの出力電圧(デジタル値)が第4閾値以上である場合にHIGH信号を、受光素子64からの出力電圧が第4閾値未満である場合にLOW信号を出力する。そのため、第4判定部113−4からHIGH信号が出力されている場合、作動体7が角度40度以上の位置にあり、第4判定部113−4からLOW信号が出力されている場合、作動体7が角度40度未満の位置にあることがわかる。また、第4判定部113−4からの信号がLOWからHIGH、または、HIGHからLOWに変化したときに作動体7の角度が40度であることがわかる。   Thereby, as shown in part (c) of FIG. 19, the fourth determination unit 113-4 receives the HIGH signal when the output voltage (digital value) from the light receiving element 64 is equal to or higher than the fourth threshold value. When the output voltage from the element 64 is less than the fourth threshold, a LOW signal is output. Therefore, when the HIGH signal is output from the fourth determination unit 113-4, the operating body 7 is at a position of an angle of 40 degrees or more, and when the LOW signal is output from the fourth determination unit 113-4, the operation is performed. It can be seen that the body 7 is at a position of less than 40 degrees. It can also be seen that the angle of the operating body 7 is 40 degrees when the signal from the fourth determination unit 113-4 changes from LOW to HIGH or from HIGH to LOW.

そして、出力信号制御部119の各部は、以下のような処理を行うように設定されている。   Each part of the output signal control unit 119 is set to perform the following processing.

すなわち、ON/OFF信号制御部120は、第2判定部113−2からの信号がHIGHを示している間、ON信号が出力されるようにON/OFF信号出力部103を制御するとともに、第1点灯部21を点灯させるように制御する。また、ON/OFF信号制御部120は、第2判定部113−2からの信号がLOWを示している間、OFF信号が出力されるようにON/OFF信号出力部103を制御するとともに、第1点灯部21を点灯させないように制御する。   That is, the ON / OFF signal control unit 120 controls the ON / OFF signal output unit 103 so that the ON signal is output while the signal from the second determination unit 113-2 indicates HIGH, and It controls so that the 1 lighting part 21 is lighted. The ON / OFF signal control unit 120 controls the ON / OFF signal output unit 103 so that an OFF signal is output while the signal from the second determination unit 113-2 indicates LOW, Control is performed so that the 1 lighting section 21 is not lit.

ここで、上述したように、第2判定部113−2に対応する受光素子識別情報には受光素子62を示す情報が設定されており、第2閾値として、作動体7の角度が15度であるときの受光素子62の出力電圧(デジタル値)が設定されている。そのため、ON信号が出力される動作角度を15度とすることができる。   Here, as described above, information indicating the light receiving element 62 is set in the light receiving element identification information corresponding to the second determination unit 113-2, and the angle of the operating body 7 is 15 degrees as the second threshold value. The output voltage (digital value) of the light receiving element 62 at a certain time is set. Therefore, the operating angle at which the ON signal is output can be set to 15 degrees.

第1異常信号制御部121は、第1切換スイッチ36が有効モードおよび無効モードのいずれに設定されているか確認する。第1切換スイッチ36が無効モードに設定されている場合、第1異常信号制御部121は動作しない。   The first abnormality signal control unit 121 checks whether the first changeover switch 36 is set to the valid mode or the invalid mode. When the first changeover switch 36 is set to the invalid mode, the first abnormality signal control unit 121 does not operate.

一方、第1切換スイッチ36が有効モードに設定されている場合、第1異常信号制御部121は、以下の処理を実行する。   On the other hand, when the first changeover switch 36 is set to the valid mode, the first abnormal signal control unit 121 executes the following processing.

すなわち、第1異常信号制御部121は、第4判定部113−4からの信号がHIGHを示している間だけ、角度超過異常を検知したものと判断し、角度超過信号が出力されるように異常予知出力部105を制御するとともに、第3点灯部25を第1パターンに従って点滅させるように制御する。   That is, the first abnormality signal control unit 121 determines that the angle excess abnormality has been detected only while the signal from the fourth determination unit 113-4 indicates HIGH, and the angle excess signal is output. The abnormality prediction output unit 105 is controlled, and the third lighting unit 25 is controlled to blink according to the first pattern.

ここで、上述したように、第4判定部113−4に対応する受光素子識別情報には受光素子64を示す情報が設定されており、第4閾値として、作動体7の角度が40度であるときの受光素子64の出力電圧(デジタル値)が設定されている。そのため、角度超過信号が出力される角度範囲を40度以上とすることができる。   Here, as described above, information indicating the light receiving element 64 is set in the light receiving element identification information corresponding to the fourth determination unit 113-4, and the angle of the operating body 7 is 40 degrees as the fourth threshold value. The output voltage (digital value) of the light receiving element 64 at a certain time is set. Therefore, the angle range in which the angle excess signal is output can be 40 degrees or more.

第2異常信号制御部122は、第2切換スイッチ37が有効モードおよび無効モードのいずれに設定されているか確認する。第2切換スイッチ37が無効モードに設定されている場合、第2異常信号制御部122は動作しない。   The second abnormality signal control unit 122 confirms whether the second changeover switch 37 is set to the valid mode or the invalid mode. When the second changeover switch 37 is set to the invalid mode, the second abnormality signal control unit 122 does not operate.

一方、第2切換スイッチ37が有効モードに設定されている場合、第2異常信号制御部122は、以下の処理を実行する。   On the other hand, when the 2nd changeover switch 37 is set to the effective mode, the 2nd abnormality signal control part 122 performs the following processes.

すなわち、第2異常信号制御部122は、第2判定部113−2からの信号がLOWからHIGHに変化した時点から第2判定部113−2からの信号がHIGHからLOWに変化する時点までの間に、第3判定部113−3からの信号がLOWからHIGHに変化したかを判断する。第3判定部113−3からの信号がLOWからHIGHに変化していない場合、第2異常信号制御部122は、角度不足異常を検知したものと判断し、角度不足信号が出力されるように異常予知出力部105を制御するとともに、第3点灯部25を第2パターンに従って点滅させるように制御する。   That is, the second abnormal signal control unit 122 is from the time when the signal from the second determination unit 113-2 changes from LOW to HIGH to the time when the signal from the second determination unit 113-2 changes from HIGH to LOW. In the meantime, it is determined whether the signal from the third determination unit 113-3 has changed from LOW to HIGH. When the signal from the third determination unit 113-3 has not changed from LOW to HIGH, the second abnormality signal control unit 122 determines that an angle shortage abnormality has been detected, and an angle shortage signal is output. The abnormality prediction output unit 105 is controlled, and the third lighting unit 25 is controlled to blink according to the second pattern.

ここで、上述したように、第3判定部113−3に対応する受光素子識別情報には受光素子63を示す情報が設定されており、第3閾値として、作動体7の角度が25度であるときの受光素子63の出力電圧(デジタル値)が設定されている。そのため、角度不足信号が出力される角度範囲を25度未満とすることができる。   Here, as described above, information indicating the light receiving element 63 is set in the light receiving element identification information corresponding to the third determination unit 113-3, and the angle of the operating body 7 is 25 degrees as the third threshold value. The output voltage (digital value) of the light receiving element 63 at a certain time is set. Therefore, the angle range in which the angle shortage signal is output can be less than 25 degrees.

第3異常信号制御部123は、第3切換スイッチ38が有効モードおよび無効モードのいずれに設定されているか確認する。第3切換スイッチ38が無効モードに設定されている場合、第3異常信号制御部123は動作しない。   The third abnormality signal control unit 123 checks whether the third changeover switch 38 is set to the valid mode or the invalid mode. When the third changeover switch 38 is set to the invalid mode, the third abnormality signal control unit 123 does not operate.

一方、第3切換スイッチ38が有効モードに設定されている場合、第3異常信号制御部123は、以下の処理を実行する。   On the other hand, when the third changeover switch 38 is set to the valid mode, the third abnormal signal control unit 123 executes the following processing.

まず、第3異常信号制御部123は、予め復帰速度基準時間を記憶しておく。そして、第3異常信号制御部123は、第2判定部113−2からの信号がHIGHからLOWに変化した時点から第1判定部113−1からの信号がHIGHからLOWに変化する時点までの時間を計測し、計測した時間が復帰速度基準時間よりも長いか否かを判断する。測定した時間が所定時間よりも長い場合、第3異常信号制御部123は、復帰速度低下異常を検知したものと判断し、復帰速度低下信号が出力されるように異常予知出力部105を制御するとともに、第3点灯部25を第3パターンに従って点滅させるように制御する。   First, the third abnormality signal control unit 123 stores a return speed reference time in advance. Then, the third abnormal signal control unit 123 is from the time when the signal from the second determination unit 113-2 changes from HIGH to LOW to the time when the signal from the first determination unit 113-1 changes from HIGH to LOW. Time is measured, and it is determined whether or not the measured time is longer than the return speed reference time. When the measured time is longer than the predetermined time, the third abnormality signal control unit 123 determines that the return speed decrease abnormality has been detected, and controls the abnormality prediction output unit 105 so that the return speed decrease signal is output. At the same time, the third lighting unit 25 is controlled to blink according to the third pattern.

ここで、上述したように、第1判定部113−1に対応する受光素子識別情報には受光素子61を示す情報が設定されており、第1閾値として、作動体7の角度が10度であるときの受光素子61の出力電圧(デジタル値)が設定されている。そのため、作動体7が復帰する際の角度15度から角度10度まで移動する時間に応じて、復帰速度低下信号を出力することができる。   Here, as described above, information indicating the light receiving element 61 is set in the light receiving element identification information corresponding to the first determination unit 113-1, and the angle of the operating body 7 is 10 degrees as the first threshold value. The output voltage (digital value) of the light receiving element 61 at a certain time is set. Therefore, the return speed reduction signal can be output according to the time required for the operating body 7 to move from the angle 15 degrees to the angle 10 degrees when returning.

第4異常信号制御部124は、第4切換スイッチ39が有効モードおよび無効モードのいずれに設定されているか確認する。第4切換スイッチ39が無効モードに設定されている場合、第4異常信号制御部124は動作しない。   The fourth abnormality signal control unit 124 checks whether the fourth changeover switch 39 is set to the valid mode or the invalid mode. When the fourth changeover switch 39 is set to the invalid mode, the fourth abnormality signal control unit 124 does not operate.

一方、第4切換スイッチ39が有効モードに設定されている場合、第4異常信号制御部124は、以下の処理を実行する。   On the other hand, when the fourth changeover switch 39 is set to the valid mode, the fourth abnormality signal control unit 124 executes the following processing.

すなわち、第4異常信号制御部124は、予め定められた基準抵抗値を記憶しており、当該所定抵抗値と、抵抗測定部107により測定された電気抵抗値とを比較する。そして、測定された電気抵抗値が基準抵抗値以下になった場合、第4異常信号制御部124は、シール異常があったものと判断し、シール不良信号が出力されるように異常予知出力部105を制御するとともに、第3点灯部25を第4パターンに従って点滅させるように制御する。   That is, the fourth abnormal signal control unit 124 stores a predetermined reference resistance value, and compares the predetermined resistance value with the electrical resistance value measured by the resistance measurement unit 107. When the measured electrical resistance value becomes equal to or less than the reference resistance value, the fourth abnormality signal control unit 124 determines that there is a seal abnormality and outputs an abnormality prediction output unit so that a seal failure signal is output. 105 is controlled, and the third lighting unit 25 is controlled to blink according to the fourth pattern.

なお、上記の第1〜第4パターンは、点滅する回数、周期などが異なるパターンである。例えば、図20に示されるように、4秒を周期とし、一周期に点滅させる回数をパターンごとに変えている。   In addition, said 1st-4th pattern is a pattern from which the frequency | count of blinking, a period, etc. differ. For example, as shown in FIG. 20, the cycle is 4 seconds, and the number of blinks in one cycle is changed for each pattern.

上述したように、本実施形態によれば、リミットスイッチ1は、第1切換スイッチ36が有効モードに設定されていることを条件に、角度超過異常を検出したときに角度超過異常信号を出力し、第1切換スイッチ36が無効モードに設定されていることを条件に、角度超過異常信号の出力処理を行わない。これにより、ユーザは、角度超過異常の通知を所望するか否かに応じて、第1切換スイッチ36を切り換える簡単な操作で当該通知の有効/無効を切り換えることができる。   As described above, according to the present embodiment, the limit switch 1 outputs an excessive angle abnormality signal when the excessive angle abnormality is detected on condition that the first changeover switch 36 is set to the effective mode. On the condition that the first changeover switch 36 is set to the invalid mode, the output process of the angle excess abnormality signal is not performed. As a result, the user can switch between valid / invalid of the notification by a simple operation of switching the first changeover switch 36 according to whether or not notification of an excessive angle abnormality is desired.

同様に、リミットスイッチ1は、第2切換スイッチ37が有効モードに設定されていることを条件に、角度不足異常を検出したときに角度不足異常信号を出力し、第2切換スイッチ37が無効モードに設定されていることを条件に、角度不足異常信号の出力処理を行わない。これにより、ユーザは、角度不足異常の通知を所望するか否かに応じて、第2切換スイッチ37を切り換える簡単な操作で当該通知の有効/無効を切り換えることができる。   Similarly, the limit switch 1 outputs an angle shortage abnormality signal when an angle shortage abnormality is detected on the condition that the second changeover switch 37 is set to the valid mode, and the second changeover switch 37 is in the invalid mode. The output process of the angle shortage abnormality signal is not performed on the condition that it is set. As a result, the user can switch between valid / invalid of the notification by a simple operation of switching the second change-over switch 37 according to whether or not notification of an insufficient angle abnormality is desired.

また、リミットスイッチ1は、第3切換スイッチ38が有効モードに設定されていることを条件に、復帰速度低下異常を検出したときに復帰速度低下異常信号を出力し、第3切換スイッチ38が無効モードに設定されていることを条件に、復帰速度低下異常信号の出力処理を行わない。これにより、ユーザは、復帰速度低下異常の通知を所望するか否かに応じて、第3切換スイッチ38を切り換える簡単な操作で当該通知の有効/無効を切り換えることができる。   Further, the limit switch 1 outputs a return speed drop abnormality signal when the return speed drop abnormality is detected on condition that the third changeover switch 38 is set to the valid mode, and the third changeover switch 38 is disabled. If the mode is set, the return speed reduction abnormal signal output processing is not performed. As a result, the user can switch between valid / invalid of the notification by a simple operation of switching the third changeover switch 38 according to whether or not notification of a return speed decrease abnormality is desired.

さらに、リミットスイッチ1は、第4切換スイッチ39が有効モードに設定されていることを条件に、シール異常を検出したときにシール不良信号を出力し、第4切換スイッチ39が無効モードに設定されていることを条件に、シール不良信号の出力処理を行わない。これにより、ユーザは、シール異常の通知を所望するか否かに応じて、第4切換スイッチ39を切り換える簡単な操作で、当該通知の有効/無効を切り換えることができる。   Further, on the condition that the fourth changeover switch 39 is set to the valid mode, the limit switch 1 outputs a seal failure signal when the seal abnormality is detected, and the fourth changeover switch 39 is set to the invalid mode. However, the output process of the seal failure signal is not performed. As a result, the user can switch between valid / invalid of the notification by a simple operation of switching the fourth changeover switch 39 according to whether or not notification of the seal abnormality is desired.

したがって、ユーザは、第1切換スイッチ36〜第4切換スイッチ39のうち通知を望む異常に対応する切換スイッチを有効に設定し、通知を望まない異常に対応する切換スイッチを無効に設定することにより、所望の異常だけを通知することができる。そして、不要な通知を受けることを防止することができる。   Therefore, the user sets the changeover switch corresponding to the abnormality desired to be notified among the first changeover switch 36 to the fourth changeover switch 39 to be valid and sets the changeover switch corresponding to the abnormality not desired to be notified to be invalid. Only the desired abnormality can be notified. And it can prevent receiving unnecessary notification.

<変形例1>
本発明は上述した実施形態に限定されるものではなく、様々な変更が可能である。例えば、角度超過異常や角度不足異常を通知する際の角度の条件、および、復帰速度低下異常やシール異常の検知条件を設定変更できる機能を有していてもよい。そして、第1切換スイッチ36〜第4切換スイッチ39において有効に設定されており、かつ、異常予知信号の出力頻度が所定値よりも高い場合に、設定変更を促す通知を行ってもよい。
<Modification 1>
The present invention is not limited to the above-described embodiments, and various modifications can be made. For example, an angle condition for notifying an angle excess abnormality or an angle insufficient abnormality, and a function capable of setting and changing a detection condition for a return speed decrease abnormality or a seal abnormality may be provided. And when it is set effectively in the 1st changeover switch 36-the 4th changeover switch 39, and the output frequency of an abnormality prediction signal is higher than a predetermined value, you may perform notification which urges | hangs a setting change.

異常予知信号の出力頻度が所定値よりも高い場合、異常予知信号を受けているにも拘わらず、何らかの対処が施されず、同じ状態が維持されていることが予想される。このような状態では、異常予知信号の通知を受けたユーザが、特に問題がないため、対処が不要であると判断している可能性がある。一方、ユーザにとっては、異常予知信号が高い頻度で出力され続けるため、その確認に手間がかかってしまう。そこで、上記のように設定変更を促す通知を行うことにより、ユーザが異常予知信号が出力される条件を適切に変更し、不要な異常予知信号を減らすことができる。   When the output frequency of the abnormality prediction signal is higher than a predetermined value, it is expected that some measures are not taken and the same state is maintained even though the abnormality prediction signal is received. In such a state, there is a possibility that the user who has received the notification of the abnormality prediction signal has determined that no countermeasure is required because there is no particular problem. On the other hand, since the abnormality prediction signal continues to be output at a high frequency for the user, it takes time to confirm the signal. Thus, by making a notification for prompting the setting change as described above, the user can appropriately change the condition for outputting the abnormality prediction signal, and reduce unnecessary abnormality prediction signals.

以下、このような変形例について説明する。なお、説明の便宜上、前記実施形態にて説明した図面と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。   Hereinafter, such a modification will be described. For convenience of explanation, members having the same functions as those in the drawings described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

図21は、本変形例に係るスイッチモジュールの外観を示す図である、図21に示されるように、本変形例に係るスイッチモジュール11aは、各種の異常を検知する条件を設定するための設定ボタン27を備えている。   FIG. 21 is a diagram showing the appearance of the switch module according to this modification. As shown in FIG. 21, the switch module 11a according to this modification is a setting for setting conditions for detecting various abnormalities. A button 27 is provided.

また、図22は、本変形例に係るスイッチモジュールの機能構成を示すブロック図である。図22に示されるように、本変形例に係るスイッチモジュール11aが備えるマイクロコンピュータ100aは、モード切換部131および設定処理部133を備えており、かつ、出力信号制御部119の代わりに出力信号制御部119aを備えている点で、図16に示すマイクロコンピュータ100と異なる。   FIG. 22 is a block diagram illustrating a functional configuration of the switch module according to the present modification. As shown in FIG. 22, the microcomputer 100 a included in the switch module 11 a according to this modification includes a mode switching unit 131 and a setting processing unit 133, and outputs signal control instead of the output signal control unit 119. The microcomputer 100 differs from the microcomputer 100 shown in FIG. 16 in that the unit 119a is provided.

設定ボタン27は、ユーザにより押下されると、設定モードへ切り換える旨のLOW信号をマイクロコンピュータ100aに出力する。一方、設定ボタン27は、押下されない場合、常にHIGH信号をマイクロコンピュータ100aに出力する。   When the setting button 27 is pressed by the user, a LOW signal for switching to the setting mode is output to the microcomputer 100a. On the other hand, when the setting button 27 is not pressed, a HIGH signal is always output to the microcomputer 100a.

モード切換部131は、設定ボタン27からLOW信号を受けたときに、設定モードに切り換え、設定処理部133に設定指示を出力し、第1異常信号制御部121〜第4異常信号制御部124の動作を停止する。また、モード切換部131は、設定処理部133から設定完了の通知を受けると、通常モードに切り換える。なお、モード切換部131は、通常モードに切り換えた場合、設定処理部133の動作を停止させ、第1異常信号制御部121〜第4異常信号制御部124を動作させる。   When the mode switching unit 131 receives the LOW signal from the setting button 27, the mode switching unit 131 switches to the setting mode, outputs a setting instruction to the setting processing unit 133, and the first abnormality signal control unit 121 to the fourth abnormality signal control unit 124. Stop operation. Further, when the mode switching unit 131 receives a notification of setting completion from the setting processing unit 133, the mode switching unit 131 switches to the normal mode. Note that, when switching to the normal mode, the mode switching unit 131 stops the operation of the setting processing unit 133 and operates the first abnormal signal control unit 121 to the fourth abnormal signal control unit 124.

なお、モード切換部131は、所定時間内に受けた設定ボタン27からのLOW信号の回数に応じて、角度超過異常、角度不足異常、復帰速度低下異常、シール異常のいずれの異常に関する設定を変更するかを決定する。そして、モード切換部131は、設定対象となる異常の種類を示す信号を設定指示とともに設定処理部133に出力する。例えば、LOW信号の回数が1回の場合、モード切換部131は、角度超過異常に関する設定を変更するものと決定する。   Note that the mode switching unit 131 changes the settings related to any of the abnormalities of excess angle, insufficient angle, return speed decrease, and seal abnormality according to the number of LOW signals from the setting button 27 received within a predetermined time. Decide what to do. The mode switching unit 131 outputs a signal indicating the type of abnormality to be set to the setting processing unit 133 together with a setting instruction. For example, when the number of LOW signals is one, the mode switching unit 131 determines to change the setting related to the excessive angle abnormality.

設定処理部133は、角度超過異常、角度不足異常、復帰速度低下異常、シール異常のいずれの異常を検知する条件を設定するものである。設定処理部133は、モード切換部131からの設定指示および異常の種類を示す信号を受けると、当該信号で示される異常を設定対象の異常とし、設定処理を開始する。具体的には、以下の処理を行う。   The setting processing unit 133 sets a condition for detecting any abnormality of excess angle abnormality, insufficient angle abnormality, return speed reduction abnormality, and seal abnormality. When the setting processing unit 133 receives the setting instruction and the signal indicating the type of abnormality from the mode switching unit 131, the setting processing unit 133 sets the abnormality indicated by the signal as the abnormality to be set and starts the setting process. Specifically, the following processing is performed.

設定対象が角度超過異常である場合、設定処理部133は、次のような処理を行う。設定処理部133は、A/D変換部111から出力された受光素子61〜64に対応する4つのデジタル値の中から、当該デジタル値が取りうる範囲のうち、少なくとも最小電圧(0V)および最大電圧(5V)を除く所定範囲(例えば、最大電圧5Vの10%〜90%の範囲である0.5〜4.5V)内である一つのデジタル値を抽出する。なお、所定範囲内のデジタル値を出力する受光素子が複数ある場合、当該所定範囲の中央値(つまり、最大電圧の1/2の電圧を示す値)に最も近い一つのデジタル値を抽出すればよい。そして、設定処理部133は、抽出したデジタル値を出力している受光素子を識別する情報を、第4判定部113−4を示す判定部識別情報に対応する受光素子識別情報としてメモリ115の抽出用テーブルを更新する。また、設定処理部133は、抽出したデジタル値を、第4閾値としてメモリ117を更新する。設定処理部133は、メモリ115、117を更新すると、設定完了の旨をモード切換部131に通知する。   If the setting target is an angle excess abnormality, the setting processing unit 133 performs the following process. The setting processing unit 133 includes at least a minimum voltage (0 V) and a maximum among the ranges that can be taken from the four digital values corresponding to the light receiving elements 61 to 64 output from the A / D conversion unit 111. One digital value within a predetermined range excluding the voltage (5 V) (for example, 0.5 to 4.5 V which is a range of 10% to 90% of the maximum voltage 5 V) is extracted. When there are a plurality of light receiving elements that output a digital value within a predetermined range, if one digital value closest to the median value of the predetermined range (that is, a value indicating a voltage half the maximum voltage) is extracted. Good. Then, the setting processing unit 133 extracts the information identifying the light receiving element outputting the extracted digital value as the light receiving element identification information corresponding to the determination unit identification information indicating the fourth determination unit 113-4. Update table. In addition, the setting processing unit 133 updates the memory 117 with the extracted digital value as the fourth threshold value. When the setting processing unit 133 updates the memories 115 and 117, the setting processing unit 133 notifies the mode switching unit 131 that the setting is completed.

ユーザは、作動体7を角度超過異常が検出される所望の角度まで移動させた状態で設定ボタン27を押下することにより、当該状態での受光素子からの出力電圧値が第4閾値として設定される。その結果、第1異常信号制御部121は、新たに設定された第4閾値以上のデジタル値が受光素子から出力されていることを示すHIGH信号を第4判定部113−4から受けたときに、角度超過異常信号を出力させる。これにより、所望の角度以上に作動体7が変位したときに、角度超過異常信号が出力されることとなる。   When the user presses the setting button 27 in a state where the operating body 7 is moved to a desired angle at which an excess angle abnormality is detected, the output voltage value from the light receiving element in that state is set as the fourth threshold value. The As a result, when the first abnormality signal control unit 121 receives from the fourth determination unit 113-4 a HIGH signal indicating that a newly set digital value equal to or greater than the fourth threshold value is output from the light receiving element. And output an excessive angle abnormality signal. Thereby, when the operating body 7 is displaced beyond a desired angle, an excessive angle abnormality signal is output.

また、設定対象が角度不足異常である場合、設定処理部133は、次のような処理を行う。設定処理部133は、A/D変換部111から出力された受光素子61〜64に対応する4つのデジタル値の中から、当該デジタル値が取りうる範囲のうち、少なくとも最小電圧(0V)および最大電圧(5V)を除く所定範囲(例えば、最大電圧5Vの10%〜90%の範囲である0.5〜4.5V)内である一つのデジタル値を抽出する。なお、所定範囲内のデジタル値を出力する受光素子が複数ある場合、当該所定範囲の中央値(つまり、最大電圧の1/2の電圧を示す値)に最も近い一つのデジタル値を抽出すればよい。そして、設定処理部133は、抽出したデジタル値を出力している受光素子を識別する情報を、第3判定部113−3を示す判定部識別情報に対応する受光素子識別情報としてメモリ115の抽出用テーブルを更新する。また、設定処理部133は、抽出したデジタル値を、第3閾値としてメモリ117を更新する。設定処理部133は、メモリ115、117を更新すると、設定完了の旨をモード切換部131に通知する。   When the setting target is an angle shortage abnormality, the setting processing unit 133 performs the following process. The setting processing unit 133 includes at least a minimum voltage (0 V) and a maximum among the ranges that can be taken from the four digital values corresponding to the light receiving elements 61 to 64 output from the A / D conversion unit 111. One digital value within a predetermined range excluding the voltage (5 V) (for example, 0.5 to 4.5 V which is a range of 10% to 90% of the maximum voltage 5 V) is extracted. When there are a plurality of light receiving elements that output a digital value within a predetermined range, if one digital value closest to the median value of the predetermined range (that is, a value indicating a voltage half the maximum voltage) is extracted. Good. Then, the setting processing unit 133 extracts the information for identifying the light receiving element outputting the extracted digital value as the light receiving element identification information corresponding to the determination unit identification information indicating the third determination unit 113-3. Update table. In addition, the setting processing unit 133 updates the memory 117 with the extracted digital value as the third threshold value. When the setting processing unit 133 updates the memories 115 and 117, the setting processing unit 133 notifies the mode switching unit 131 that the setting is completed.

ユーザは、作動体7を角度不足異常が検出される所望の角度まで移動させた状態で設定ボタン27を押下することにより、当該状態での受光素子からの出力電圧値が第3閾値として設定される。その結果、第2異常信号制御部122は、新たに設定された第3閾値以上のデジタル値が受光素子から出力されていることを示すHIGH信号を第3判定部113−3から受けないときに、角度不足異常信号を出力させる。これにより、所望の角度まで作動体7が変位しないときに、角度不足異常信号が出力されることとなる。   When the user presses the setting button 27 in a state where the operating body 7 is moved to a desired angle at which the angle shortage abnormality is detected, the output voltage value from the light receiving element in the state is set as the third threshold value. The As a result, when the second abnormality signal control unit 122 does not receive from the third determination unit 113-3 a HIGH signal indicating that a digital value not less than the newly set third threshold value is output from the light receiving element. The angle shortage abnormality signal is output. Thereby, when the operating body 7 is not displaced to a desired angle, an angle shortage abnormality signal is output.

また、設定対象が復帰速度低下異常である場合、設定処理部133は、次のような処理を行う。設定処理部133は、所定期間(例えば、30分)、第2判定部113−2からの信号がHIGHからLOWに変化した時点から第1判定部113−1からの信号がHIGHからLOWに変化する時点までの時間を計測し、その時間の平均値を求める。そして、設定処理部133は、その平均値に所定倍数(例えば、1.3倍など)を乗じた値を新たな復帰速度基準時間として、第3異常信号制御部123が記憶する復帰速度基準時間を更新する。また、設定処理部133は、復帰速度基準時間を更新すると、設定完了の旨をモード切換部131に通知する。   In addition, when the setting target is a return speed drop abnormality, the setting processing unit 133 performs the following process. The setting processing unit 133 changes the signal from the first determination unit 113-1 from HIGH to LOW from the time when the signal from the second determination unit 113-2 changes from HIGH to LOW for a predetermined period (for example, 30 minutes). Measure the time up to the point in time, and find the average value of the time. Then, the setting processing unit 133 uses the value obtained by multiplying the average value by a predetermined multiple (for example, 1.3 times) as a new return speed reference time, and the return speed reference time stored in the third abnormality signal control unit 123. Update. Further, when the setting processing unit 133 updates the return speed reference time, the setting processing unit 133 notifies the mode switching unit 131 that the setting is completed.

ユーザは、物体が作動体7に接触する通常の動作を繰り返している際に設定ボタン27を押下することにより、通常の動作における復帰速度の平均値が測定される。そして、当該平均値に所定倍数を乗じた値が自動的に、復帰速度基準時間として更新される。その結果、生産ラインを変更したときのように復帰速度が変更するような場合であっても、新たな生産ラインに適した復帰速度基準時間が設定される。これにより、不要な復帰速度低下信号が出力されることを防止できる。   The user presses the setting button 27 while repeating the normal operation in which the object contacts the operating body 7, whereby the average value of the return speed in the normal operation is measured. A value obtained by multiplying the average value by a predetermined multiple is automatically updated as the return speed reference time. As a result, even when the return speed is changed as when the production line is changed, the return speed reference time suitable for the new production line is set. Thereby, it is possible to prevent an unnecessary return speed reduction signal from being output.

また、設定対象がシール異常である場合、設定処理部133は、次のような処理を行う。設定処理部133は、所定期間(例えば、30分)、抵抗測定部107による測定結果である抵抗値の平均値を求める。そして、設定処理部133は、その平均値に所定倍数(例えば、0.7倍など)を乗じた値を新たな基準抵抗値として、第4異常信号制御部124が記憶する基準抵抗値を更新する。また、設定処理部133は、基準抵抗値を更新すると、設定完了の旨をモード切換部131に通知する。   When the setting target is a seal abnormality, the setting processing unit 133 performs the following process. The setting processing unit 133 obtains an average value of resistance values, which are measurement results by the resistance measuring unit 107, for a predetermined period (for example, 30 minutes). Then, the setting processing unit 133 updates the reference resistance value stored in the fourth abnormal signal control unit 124 using a value obtained by multiplying the average value by a predetermined multiple (for example, 0.7 times) as a new reference resistance value. To do. In addition, when the setting processing unit 133 updates the reference resistance value, the setting processing unit 133 notifies the mode switching unit 131 that the setting is completed.

ユーザは、設定ボタン27を押下することにより、リミットスイッチ1が設置された環境下での抵抗値の平均値が測定される。そして、当該平均値に所定倍数を乗じた値が自動的に、基準抵抗値として更新される。その結果、設置環境に応じた基準抵抗値が設定される。   The user presses the setting button 27 to measure the average resistance value in the environment where the limit switch 1 is installed. A value obtained by multiplying the average value by a predetermined multiple is automatically updated as the reference resistance value. As a result, a reference resistance value corresponding to the installation environment is set.

出力信号制御部119aは、通知処理部125を備える点で、図16に示す出力信号制御部119と異なる。   The output signal control unit 119a is different from the output signal control unit 119 shown in FIG.

通知処理部125は、異常予知信号の出力頻度を計測し、当該出力頻度に応じて、設定変更を促す信号を出力するように異常予知出力部105を制御するものである。   The notification processing unit 125 measures the output frequency of the abnormality prediction signal, and controls the abnormality prediction output unit 105 so as to output a signal for prompting a setting change according to the output frequency.

具体的には、通知処理部125は、所定期間(例えば、24時間前から現時点までの期間)内において、角度超過異常信号、角度不足異常信号、復帰速度低下信号およびシール不良信号それぞれの出力回数を計測する。   Specifically, the notification processing unit 125 outputs the number of times of an excessive angle abnormality signal, an insufficient angle abnormality signal, a return speed reduction signal, and a seal failure signal within a predetermined period (for example, a period from 24 hours before to the present time). Measure.

通知処理部125は、所定期間内における角度超過異常信号の出力回数が所定回数N1(所定頻度)以上に達した場合、角度超過異常を検知する条件の設定変更を促す信号を出力するように異常予知出力部105を制御する。   When the number of output of the angle excess abnormality signal within the predetermined period reaches the predetermined number N1 (predetermined frequency) or more, the notification processing unit 125 abnormally outputs a signal that prompts the setting change of the condition for detecting the angle excess abnormality. The prediction output unit 105 is controlled.

また、通知処理部125は、所定期間内における角度不足異常信号の出力回数が所定回数N2(所定頻度)以上に達した場合、角度不足異常を検知する条件の設定変更を促す信号を出力するように異常予知出力部105を制御する。   Further, the notification processing unit 125 outputs a signal that prompts the user to change the setting of the condition for detecting the angle shortage abnormality when the number of output of the angle shortage abnormality signal within the predetermined period reaches the predetermined number N2 (predetermined frequency) or more. Then, the abnormality prediction output unit 105 is controlled.

また、通知処理部125は、所定期間内における復帰速度低下信号の出力回数が所定回数N3(所定頻度)以上に達した場合、復帰速度低下異常を検知する条件の設定変更を促す信号を出力するように異常予知出力部105を制御する。   In addition, the notification processing unit 125 outputs a signal that prompts the setting change of the condition for detecting the return speed decrease abnormality when the output number of the return speed decrease signal within the predetermined period reaches the predetermined number N3 (predetermined frequency) or more. Thus, the abnormality prediction output unit 105 is controlled.

さらに、通知処理部125は、所定期間内におけるシール不良信号の出力回数が所定回数N4(所定頻度)以上に達した場合、シール異常を検知する条件の設定変更を促す信号を出力するように異常予知出力部105を制御する。   Further, the notification processing unit 125 abnormally outputs a signal that prompts the user to change the setting of the condition for detecting the seal abnormality when the number of output of the seal failure signal within the predetermined period reaches the predetermined number N4 (predetermined frequency) or more. The prediction output unit 105 is controlled.

これにより、ユーザに対して、設定ボタン27を押下することによる設定変更を促すことができる。   Thereby, the user can be prompted to change the setting by pressing the setting button 27.

<変形例2>
第1切換スイッチ36〜第4切換スイッチ39は、有効モードおよび無効モード以外に、自動切換モードへの切り換えが可能であってもよい。自動切換モードとは、異常予知信号の出力頻度が所定値よりも高い場合に、有効モードから無効モードに自動的に切り換えるモードである。
<Modification 2>
The first changeover switch 36 to the fourth changeover switch 39 may be capable of switching to the automatic changeover mode in addition to the valid mode and the invalid mode. The automatic switching mode is a mode for automatically switching from the valid mode to the invalid mode when the output frequency of the abnormality prediction signal is higher than a predetermined value.

異常予知信号の出力頻度が所定値よりも高い場合、異常予知信号を受けているにも拘わらず、何らかの対処が施されず、同じ状態が維持されていることが予想される。このような状態では、異常予知信号の通知を受けたユーザが、特に問題がないため、対処が不要であると判断している可能性がある。一方、ユーザにとっては、異常予知信号が高い頻度で出力され続けるため、その確認に手間がかかってしまう。そこで、上記のように、異常予知信号の出力頻度が所定値よりも高い場合に、有効モードから無効モードに自動的に切り換えることにより、不要な異常予知信号を確認する手間を省くことができる。   When the output frequency of the abnormality prediction signal is higher than a predetermined value, it is expected that some measures are not taken and the same state is maintained even though the abnormality prediction signal is received. In such a state, there is a possibility that the user who has received the notification of the abnormality prediction signal has determined that no countermeasure is required because there is no particular problem. On the other hand, since the abnormality prediction signal continues to be output at a high frequency for the user, it takes time to confirm the signal. Therefore, as described above, when the output frequency of the abnormality prediction signal is higher than the predetermined value, it is possible to save the trouble of checking the unnecessary abnormality prediction signal by automatically switching from the valid mode to the invalid mode.

以下、このような変形例について説明する。なお、説明の便宜上、前記実施形態にて説明した図面と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。   Hereinafter, such a modification will be described. For convenience of explanation, members having the same functions as those in the drawings described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

図23は、本変形例に係るスイッチモジュールの機能構成を示すブロック図である。図23に示されるように、本変形例に係るスイッチモジュール11bは、第1切換スイッチ36〜第4切換スイッチ39の代わりに第1切換スイッチ36b〜第4切換スイッチ39bを備え、マイクロコンピュータ100の代わりにマイクロコンピュータ100bを備える点で図16に示すスイッチモジュール11と異なる。また、本変形例に係るマイクロコンピュータ100bは、自動切換部(切換部)141を備えている点で、図16に示すマイクロコンピュータ100と異なる。   FIG. 23 is a block diagram illustrating a functional configuration of the switch module according to the present modification. As shown in FIG. 23, the switch module 11b according to the present modification includes a first changeover switch 36b to a fourth changeover switch 39b instead of the first changeover switch 36 to the fourth changeover switch 39, and Instead, it differs from the switch module 11 shown in FIG. 16 in that it includes a microcomputer 100b. Further, the microcomputer 100b according to this modification differs from the microcomputer 100 shown in FIG. 16 in that an automatic switching unit (switching unit) 141 is provided.

第1切換スイッチ36b〜第4切換スイッチ39bは、有効モード、無効モードおよび自動モードの3種類のモード何れかに設定可能なスイッチである。これにより、ユーザは、所望のモードの何れかに設定することができる。   The first changeover switch 36b to the fourth changeover switch 39b are switches that can be set to any one of three types of modes, an effective mode, an invalid mode, and an automatic mode. Thereby, the user can set to any desired mode.

自動切換部141は、第1切換スイッチ36b〜第4切換スイッチ39bが有効モードに設定されている場合、第1切換スイッチ36b〜第4切換スイッチ39bが有効モードである旨を出力信号制御部119に出力する。また、自動切換部141は、第1切換スイッチ36b〜第4切換スイッチ39bが無効モードに設定されている場合、第1切換スイッチ36b〜第4切換スイッチ39bが無効モードである旨を出力信号制御部119に出力する。   When the first changeover switch 36b to the fourth changeover switch 39b are set to the effective mode, the automatic changeover unit 141 indicates that the first changeover switch 36b to the fourth changeover switch 39b are in the effective mode. Output to. In addition, when the first changeover switch 36b to the fourth changeover switch 39b are set to the invalid mode, the automatic changeover unit 141 controls the output signal to indicate that the first changeover switch 36b to the fourth changeover switch 39b are in the invalid mode. Output to the unit 119.

一方、自動切換部141は、第1切換スイッチ36b〜第4切換スイッチ39bが自動モードに設定されている場合、所定期間(例えば、24時間前から現時点までの期間)内において、角度超過異常信号、角度不足異常信号、復帰速度低下信号およびシール不良信号それぞれの出力回数を計測する。   On the other hand, when the first changeover switch 36b to the fourth changeover switch 39b are set to the automatic mode, the automatic changeover unit 141 detects the excessive angle abnormality signal within a predetermined period (for example, a period from 24 hours before to the present time). The number of outputs of each of the angle shortage abnormality signal, the return speed reduction signal, and the seal failure signal is measured.

そして、自動切換部141は、所定期間内における角度超過異常信号の出力回数が所定回数N1(所定頻度)以上である場合、第1切換スイッチ36bが無効モードである旨を出力信号制御部119に出力する。また、自動切換部141は、所定期間内における角度超過異常信号の出力回数が所定回数N1未満である場合、第1切換スイッチ36bが有効モードである旨を出力信号制御部119に出力する。   Then, the automatic switching unit 141 notifies the output signal control unit 119 that the first changeover switch 36b is in the invalid mode when the number of output of the angle excess abnormality signal within the predetermined period is equal to or greater than the predetermined number N1 (predetermined frequency). Output. The automatic switching unit 141 outputs to the output signal control unit 119 that the first changeover switch 36b is in the effective mode when the output number of the angle excess abnormality signal within the predetermined period is less than the predetermined number N1.

同様に、自動切換部141は、所定期間内における角度不足異常信号の出力回数が所定回数N2(所定頻度)以上である場合、第2切換スイッチ37bが無効モードである旨を出力信号制御部119に出力する。また、自動切換部141は、所定期間内における角度不足異常信号の出力回数が所定回数N2未満である場合、第2切換スイッチ37bが有効モードである旨を出力信号制御部119に出力する。   Similarly, the automatic switching unit 141 indicates that the second changeover switch 37b is in the invalid mode when the number of output of the angle shortage abnormality signal within the predetermined period is equal to or greater than the predetermined number N2 (predetermined frequency). Output to. Further, when the number of output of the angle shortage abnormality signal within the predetermined period is less than the predetermined number N2, the automatic switching unit 141 outputs to the output signal control unit 119 that the second changeover switch 37b is in the effective mode.

また、自動切換部141は、所定期間内における復帰速度低下信号の出力回数が所定回数N3(所定頻度)以上である場合、第3切換スイッチ38bが無効モードである旨を出力信号制御部119に出力する。また、自動切換部141は、所定期間内における復帰速度低下信号の出力回数が所定回数N3未満である場合、第3切換スイッチ38bが有効モードである旨を出力信号制御部119に出力する。   Further, the automatic switching unit 141 notifies the output signal control unit 119 that the third changeover switch 38b is in the invalid mode when the number of times of output of the return speed decrease signal within the predetermined period is equal to or greater than the predetermined number N3 (predetermined frequency). Output. Further, when the number of times the return speed decrease signal is output within the predetermined period is less than the predetermined number N3, the automatic switching unit 141 outputs to the output signal control unit 119 that the third changeover switch 38b is in the effective mode.

さらに、自動切換部141は、所定期間内におけるシール不良信号の出力回数が所定回数N4(所定頻度)以上である場合、第4切換スイッチ39bが無効モードである旨を出力信号制御部119に出力する。また、自動切換部141は、所定期間内におけるシール不良信号の出力回数が所定回数N4未満である場合、第4切換スイッチ39bが有効モードである旨を出力信号制御部119に出力する。   Further, the automatic switching unit 141 outputs to the output signal control unit 119 that the fourth changeover switch 39b is in the invalid mode when the number of output of the seal failure signal within the predetermined period is equal to or greater than the predetermined number N4 (predetermined frequency). To do. Further, when the number of output of the seal failure signal within the predetermined period is less than the predetermined number N4, the automatic switching unit 141 outputs to the output signal control unit 119 that the fourth changeover switch 39b is in the effective mode.

本変形例によれば、異常予知信号の出力頻度が所定値よりも高い場合に、有効モードから無効モードに自動的に切り換えることにより、不要な異常予知信号を確認する手間を省くことができる。   According to this modification, when the output frequency of the abnormality prediction signal is higher than a predetermined value, it is possible to save the trouble of checking the unnecessary abnormality prediction signal by automatically switching from the valid mode to the invalid mode.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different forms are also included. It is included in the technical scope of the present invention.

本発明は、生産ライン等で用いられるリミットスイッチに利用することができる。   The present invention can be used for a limit switch used in a production line or the like.

1 リミットスイッチ(スイッチ)
3 ケーシング(ハウジング)
7 作動体
11,11a,11b スイッチモジュール
35 スイッチ部(切換部)
36,36b 第1切換スイッチ(切換部)
37,37b 第2切換スイッチ(切換部)
38,38b 第3切換スイッチ(切換部)
39,39b 第4切換スイッチ(切換部)
100,100a,100b マイクロコンピュータ
103 ON/OFF信号出力部(オン/オフ信号出力部)
105 異常予知出力部(異常信号出力部)
107 抵抗測定部
113 位置検出部
119,119a 出力信号制御部(異常信号出力部)
120 ON/OFF信号制御部(オン/オフ信号出力部)
121 第1異常信号制御部(異常信号出力部)
122 第2異常信号制御部(異常信号出力部)
123 第3異常信号制御部(異常信号出力部)
124 第4異常信号制御部(異常信号出力部)
125 通知処理部
133 設定処理部
141 自動切換部(切換部)
1 Limit switch (switch)
3 Casing (housing)
7 Actuator 11, 11a, 11b Switch module 35 Switch part (switching part)
36, 36b 1st changeover switch (switching part)
37, 37b Second changeover switch (switching part)
38, 38b Third changeover switch (switching part)
39, 39b Fourth changeover switch (switching part)
100, 100a, 100b Microcomputer 103 ON / OFF signal output unit (ON / OFF signal output unit)
105 Abnormal prediction output unit (abnormal signal output unit)
107 Resistance measurement unit 113 Position detection unit 119, 119a Output signal control unit (abnormal signal output unit)
120 ON / OFF signal control unit (ON / OFF signal output unit)
121 1st abnormal signal control part (abnormal signal output part)
122 2nd abnormal signal control part (abnormal signal output part)
123 3rd abnormal signal control part (abnormal signal output part)
124 4th abnormal signal control part (abnormal signal output part)
125 Notification processing unit 133 Setting processing unit 141 Automatic switching unit (switching unit)

Claims (8)

外部からの力の荷重に応じて変位する作動体と、
上記作動体の変位量に応じてオン信号およびオフ信号の何れかを出力するオン/オフ信号出力部とを備え、
前記オン/オフ信号出力部がハウジング内部に配置されるスイッチであって、
異常を検出したときに、異常が発生していることを示す異常信号を出力する機能を有する異常信号出力部と、
上記異常信号出力部の機能を有効とする有効モード、および、上記異常信号出力部の機能を無効とする無効モードのいずれかに切り換える切換部とを備えることを特徴とするスイッチ。
An actuating body that is displaced according to the load of an external force;
An on / off signal output unit that outputs either an on signal or an off signal according to the displacement of the operating body;
The on / off signal output unit is a switch disposed inside the housing,
An abnormality signal output unit having a function of outputting an abnormality signal indicating that an abnormality has occurred when an abnormality is detected;
A switch comprising: a switching unit that switches between an effective mode that enables the function of the abnormal signal output unit and an invalid mode that disables the function of the abnormal signal output unit.
上記異常信号出力部は、複数種類の異常を検出し、
上記異常信号出力部は、上記複数種類の異常の何れかを検出したときに、検出された種類の異常が発生していることを示す異常信号を出力し、
上記切換部は、上記複数種類の異常の各々について、有効モードおよび無効モードのいずれかに切り換えることを特徴とする請求項1に記載のスイッチ。
The abnormal signal output unit detects a plurality of types of abnormalities,
The abnormal signal output unit outputs an abnormal signal indicating that the detected type of abnormality has occurred when detecting any of the plurality of types of abnormalities,
The switch according to claim 1, wherein the switching unit switches each of the plurality of types of abnormalities to either the valid mode or the invalid mode.
上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、
上記作動体における上記基準位置からの変位量を検出する位置検出部を備えており、
上記オン/オフ信号出力部は、上記位置検出部により検出された変位量が所定の第1変位量以上である場合にオン信号を出力し、
上記異常信号出力部は、上記第1変位量よりも大きい所定の第2変位量よりも、上記位置検出部により検出された変位量が大きくなった場合に、変位量が大きくなってきていることを示す異常を検出することを特徴とする請求項1または2に記載のスイッチ。
The operating body stops at a predetermined reference position when there is no external force load,
A position detection unit for detecting a displacement amount from the reference position in the operating body;
The on / off signal output unit outputs an on signal when the displacement detected by the position detector is equal to or greater than a predetermined first displacement,
The abnormal signal output unit has an increased displacement when the displacement detected by the position detector is larger than a predetermined second displacement greater than the first displacement. 3. The switch according to claim 1, wherein an abnormality indicative of the error is detected.
上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、
上記作動体における上記基準位置からの変位量を検出する位置検出部を備えており、
上記オン/オフ信号出力部は、上記位置検出部により検出された変位量が所定の第1変位量以上である場合にオン信号を出力し、
上記異常信号出力部は、上記位置検出部により検出された変位量の最大量が、上記第1変位量よりも大きく、かつ、所定の第3変位量よりも小さい場合に、変位量が小さくなってきていることを示す異常を検出することを特徴とする請求項1または2に記載のスイッチ。
The operating body stops at a predetermined reference position when there is no external force load,
A position detection unit for detecting a displacement amount from the reference position in the operating body;
The on / off signal output unit outputs an on signal when the displacement detected by the position detector is equal to or greater than a predetermined first displacement,
The abnormal signal output unit has a small displacement amount when the maximum displacement amount detected by the position detection unit is larger than the first displacement amount and smaller than a predetermined third displacement amount. The switch according to claim 1, wherein an abnormality indicating that the switch has come is detected.
上記作動体は、外部からの力の荷重がないときに、所定の基準位置に停止しており、
上記異常信号出力部は、外部からの力の荷重によって上記作動体が変位した後、外部からの力の荷重がなくなり上記作動体が上記基準位置に復帰する際の上記作動体の復帰速度が所定の基準速度よりも小さい場合に、復帰速度が低下していることを示す異常を検出することを特徴とする請求項1または2に記載のスイッチ。
The operating body stops at a predetermined reference position when there is no external force load,
The abnormal signal output unit has a predetermined return speed of the working body when the working body is returned to the reference position after the working body is displaced by an external force load and the external force load disappears. 3. The switch according to claim 1, wherein an abnormality indicating that the return speed is lowered is detected when the speed is lower than the reference speed.
上記異常信号出力部は、上記ハウジング内部に水が侵入したことを示す異常を検出することを特徴とする請求項1または2に記載のスイッチ。   The switch according to claim 1, wherein the abnormality signal output unit detects an abnormality indicating that water has entered the housing. 上記異常信号出力部が異常を検出する際の条件を設定する設定処理部と、
上記異常信号出力部により出力された異常信号の頻度が所定頻度以上である場合、上記設定処理部による設定を促す通知を出力する通知処理部とを備えていることを特徴とする請求項1から6の何れか1項に記載のスイッチ。
A setting processing unit for setting conditions when the abnormal signal output unit detects an abnormality,
2. A notification processing unit that outputs a notification for prompting setting by the setting processing unit when the frequency of the abnormal signal output by the abnormal signal output unit is equal to or higher than a predetermined frequency. The switch according to any one of 6.
上記切換部は、上記有効モードおよび無効モードの他に、上記異常信号出力部の機能の有効および無効を自動的に切り換える自動モードにも切り換え可能であり、
自動モードに設定されているとき、上記切換部は、上記異常信号出力部により出力された異常信号の頻度が所定頻度以上である場合に上記異常信号出力部の機能を無効とし、上記異常信号出力部により出力された異常信号の頻度が所定頻度未満である場合に上記異常信号出力部の機能を有効とすることを特徴とする請求項1から7の何れか1項に記載のスイッチ。
In addition to the valid mode and invalid mode, the switching unit can be switched to an automatic mode that automatically switches between valid and invalid of the function of the abnormal signal output unit,
When the automatic mode is set, the switching unit invalidates the function of the abnormal signal output unit when the frequency of the abnormal signal output by the abnormal signal output unit is equal to or higher than a predetermined frequency, and outputs the abnormal signal. The switch according to any one of claims 1 to 7, wherein the function of the abnormal signal output unit is validated when the frequency of the abnormal signal output by the unit is less than a predetermined frequency.
JP2011051701A 2011-03-09 2011-03-09 Switch Withdrawn JP2012190608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011051701A JP2012190608A (en) 2011-03-09 2011-03-09 Switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011051701A JP2012190608A (en) 2011-03-09 2011-03-09 Switch

Publications (1)

Publication Number Publication Date
JP2012190608A true JP2012190608A (en) 2012-10-04

Family

ID=47083577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011051701A Withdrawn JP2012190608A (en) 2011-03-09 2011-03-09 Switch

Country Status (1)

Country Link
JP (1) JP2012190608A (en)

Similar Documents

Publication Publication Date Title
US8350731B2 (en) Complex-operation input device
CA2865152A1 (en) Contactless switch
CN101662927A (en) Electronic component mounting apparatus
JP4978730B2 (en) switch
JP4784701B1 (en) switch
KR20120082411A (en) Attachment module with life monitoring for an electromagnetic switching device, and associated method
JP5195855B2 (en) switch
JP2012190608A (en) Switch
CN101414515B (en) Method and apparatus for detecting contact position
US4897754A (en) Switching apparatus
KR101320258B1 (en) Illumination detection method, flip-type electronic device and program
TW201343001A (en) Load controller
JP4860197B2 (en) Distance setting type photoelectric sensor
ITVI20120344A1 (en) MULTIPLE ZERO SIGNAL SAFETY SWITCH FOR MOBILE PROTECTION BARRIERS
JP2014199730A (en) Light device
CN204498093U (en) For controlling the switching device of the motor drive mechanism of weaving loom
JP2906593B2 (en) Switch mechanism
JP2003141975A (en) Failure warning function switch
KR101275643B1 (en) Touch switch using optical sensor package and control method thereof
JP5423277B2 (en) Switch device and multi-optical axis photoelectric sensor using the switch device
JP2007033097A (en) Distance setting type photoelectric sensor
JP4938258B2 (en) Distance setting type photoelectric sensor
JP2003151414A (en) Switch with trouble predicting function
JP2015030308A (en) Dimming device
JP2008123797A (en) Contactless switch

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513