JP2011033450A - Detection sensor - Google Patents

Detection sensor Download PDF

Info

Publication number
JP2011033450A
JP2011033450A JP2009179260A JP2009179260A JP2011033450A JP 2011033450 A JP2011033450 A JP 2011033450A JP 2009179260 A JP2009179260 A JP 2009179260A JP 2009179260 A JP2009179260 A JP 2009179260A JP 2011033450 A JP2011033450 A JP 2011033450A
Authority
JP
Japan
Prior art keywords
display
function
magnification
detection
signal level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009179260A
Other languages
Japanese (ja)
Other versions
JP5517521B2 (en
Inventor
Yuji Sakai
雄二 酒井
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.)
Panasonic Industrial Devices SUNX Co Ltd
Original Assignee
Panasonic Electric Works SUNX Co Ltd
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 Panasonic Electric Works SUNX Co Ltd filed Critical Panasonic Electric Works SUNX Co Ltd
Priority to JP2009179260A priority Critical patent/JP5517521B2/en
Publication of JP2011033450A publication Critical patent/JP2011033450A/en
Application granted granted Critical
Publication of JP5517521B2 publication Critical patent/JP5517521B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a detection sensor preventing worker's false recognition. <P>SOLUTION: A CPU is switchably equipped with: a normal display function for displaying a signal level (average value MA) of an output signal in a second display section; and a focus function for displaying an adjustment value AD obtained by multiplying the signal level of an output signal by a focus magnification Fx at the second display section. The CPU is set to be in a display mode for normally displaying the average value MA at the second display section in the normal display function, and is set to be in a display mode for alternately displaying the adjustment value AD and a character string "Foc" at the second display section in the focus function. When a worker selects either one of the normal display function and the focus display function, the CPU displays the signal level of an output signal in either display mode by the selected display function. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、被検出物を検出する検出センサに関するものである。   The present invention relates to a detection sensor for detecting an object to be detected.

例えば光電センサなどの検出センサは、投光素子から投光された光を受光素子にて受光し、被検出物(ワーク)の有無による受光量の変化に対して設定された閾値レベルに基づき被検出物の検出を行なっている(例えば特許文献1参照)。   For example, a detection sensor such as a photoelectric sensor receives light projected from a light projecting element by a light receiving element, and receives light based on a threshold level set for a change in the amount of received light depending on the presence or absence of an object to be detected (work). The detected object is detected (for example, refer to Patent Document 1).

特許文献1の検出センサでは、受光部にて得られる検出値を適宜拡大調整し、その調整後の値を表示部に表示値として表示する表示機能(スケーリング機能)を有している。この表示機能は、例えば受光素子にて得られる検出値の表示の際に、表示値を見易くするなどの理由から得られた検出値を所定の倍率で乗算するものである。   The detection sensor of Patent Document 1 has a display function (scaling function) that appropriately enlarges and adjusts the detection value obtained by the light receiving unit and displays the adjusted value as a display value on the display unit. This display function, for example, multiplies the detection value obtained for the purpose of making the display value easy to see at a predetermined magnification when displaying the detection value obtained by the light receiving element.

特開2007−158641号公報JP 2007-158641 A

ところで、上記のような表示機能を有する検出センサでは、その表示機能を使用すると、受光素子にて得られる検出値の変化量以上に、表示部に表示される調整後の表示値が変化する。そのため、その表示機能を使用していることを認識している作業者においては、その調整後の表示値の変化については問題ないと感じるものの、表示機能を使用していることを認識していない作業者においては、その調整後の表示値の変化に対して違和感を持ち、検出センサの故障を疑うような誤認識する虞がある。   By the way, in the detection sensor having the display function as described above, when the display function is used, the display value after adjustment displayed on the display unit changes more than the change amount of the detection value obtained by the light receiving element. Therefore, workers who are aware that they are using the display function feel that there is no problem with the change in the display value after the adjustment, but they are not aware that the display function is being used. An operator may feel uncomfortable with the change in the display value after the adjustment, and may erroneously recognize that the detection sensor has failed.

本発明は、上記課題を解決するためになされたものであって、その目的は、作業者による誤認識の防止を図ることができる検出センサを提供することにある。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a detection sensor capable of preventing erroneous recognition by an operator.

上記課題を解決するために、請求項1に記載の発明は、被検出物の検出状態に応じた検出信号を出力する検出手段と、前記検出手段にて得られた前記検出信号の信号レベルを表示可能な表示手段と、前記検出信号の信号レベルを前記表示手段に表示させる制御手段と、を備えた検出センサであって、前記制御手段は、前記検出信号の信号レベルを前記表示手段に表示させる第1表示機能と、前記検出信号の信号レベルを所定の倍率で演算した演算後の信号レベルを前記表示手段に表示させる第2表示機能とを備えるとともに、前記第1表示機能による表示態様と前記第2表示機能による表示態様とが異なるように設定され、前記第1表示機能及び前記第2表示機能のいずれか一方の機能を選択可能な機能選択手段により選択された表示機能にて、前記信号レベルを前記表示手段に表示させることをその要旨とする。   In order to solve the above-mentioned problem, the invention according to claim 1 is characterized in that a detection means for outputting a detection signal corresponding to a detection state of an object to be detected, and a signal level of the detection signal obtained by the detection means. A detection sensor comprising display means capable of displaying and control means for displaying the signal level of the detection signal on the display means, wherein the control means displays the signal level of the detection signal on the display means. And a second display function for causing the display means to display a signal level after the calculation of the signal level of the detection signal at a predetermined magnification, and a display mode by the first display function The display function is set to be different from the display mode by the second display function, and is selected by the function selection means capable of selecting one of the first display function and the second display function. , And its gist that for displaying the signal level on the display means.

この発明では、制御手段には、出力信号の信号レベルを表示手段に表示する第1表示機能と、出力信号レベルを所定の倍率で演算した演算結果を表示手段に表示する第2表示機能とが切り替え可能に備えられる。第1表示機能による表示態様と第2表示機能による表示態様とが異なるように設定され、第1表示機能及び第2表示機能のいずれか一方が選択手段により選択された際に、その選択された表示機能にて信号レベルが制御手段により表示手段に表示される。このように第1表示機能と第2表示機能のそれぞれの表示態様を異なるように構成したことで、いずれかの一方の表示機能にて表示手段に信号レベルが表示される場合に、作業者に対して各表示機能の表示態様の違いによって、どちらの表示機能が選択されているのか報知することができるため、検出センサの故障等の使用者による誤認識を抑えることができる。   In this invention, the control means has a first display function for displaying the signal level of the output signal on the display means, and a second display function for displaying the calculation result obtained by calculating the output signal level at a predetermined magnification on the display means. Provided to be switchable. The display mode by the first display function is set to be different from the display mode by the second display function, and when one of the first display function and the second display function is selected by the selection means, the selected one is selected. The signal level is displayed on the display means by the control means by the display function. As described above, since the display modes of the first display function and the second display function are configured to be different, when the signal level is displayed on the display means by any one of the display functions, On the other hand, since it is possible to notify which display function is selected depending on the display mode of each display function, it is possible to suppress erroneous recognition by the user such as a detection sensor failure.

請求項2に記載の発明は、請求項1に記載の検出センサにおいて、前記検出手段にて検出される前記被検出物の検出状態における信号レベル及び非検出状態における信号レベルと、予め設定される目標値との比率に基づき、前記第2表示機能における前記倍率を設定する倍率設定手段を備えたことをその要旨とする。   According to a second aspect of the present invention, in the detection sensor according to the first aspect, the signal level in the detection state and the signal level in the non-detection state of the detected object detected by the detection means are set in advance. The gist of the invention is that it includes magnification setting means for setting the magnification in the second display function based on the ratio to the target value.

この発明では、検出手段にて検出される被検出物の検出状態における信号レベル及び非検出状態における信号レベルと、予め設定される目標値との比率に基づき、第2表示機能における倍率を設定する倍率設定手段が備えられる。このような構成であっても、第1表示機能の表示態様と第2表示機能の表示態様とが異なるため、請求項1と同様の効果を奏することができる。   In the present invention, the magnification in the second display function is set based on the ratio between the signal level in the detection state and the signal level in the non-detection state of the detected object detected by the detection means, and a preset target value. A magnification setting means is provided. Even in such a configuration, since the display mode of the first display function is different from the display mode of the second display function, the same effect as in the first aspect can be obtained.

請求項3に記載の発明は、請求項2に記載の検出センサにおいて、前記第2表示機能における前記倍率が基準レベルを超えた際に、異常と判定して報知する異常判定手段を備えたことをその要旨とする。   According to a third aspect of the present invention, in the detection sensor according to the second aspect of the present invention, when the magnification of the second display function exceeds a reference level, an abnormality determination unit that determines and reports an abnormality is provided. Is the gist.

この発明では、第2表示機能における倍率が基準レベルを超えた際に、異常と判定して報知する異常判定手段が備えられる。このように、異常判定手段により、倍率が基準レベルを超えた際に、表示・音等により報知されることで、第2表示機能における倍率を基準レベル以下に誘導することができる。   In this invention, when the magnification in the second display function exceeds the reference level, an abnormality determining unit that determines and reports an abnormality is provided. As described above, when the magnification exceeds the reference level by the abnormality determination unit, the magnification in the second display function can be guided to the reference level or less by being notified by display / sound or the like.

請求項4に記載の発明は、請求項2又は3に記載の検出センサにおいて、前記目標値を変更可能な変更手段を備え、前記倍率設定手段は、前記変更手段にて前記目標値が変更された際に、前記第2表示機能における前記倍率を再設定することをその要旨とする。   According to a fourth aspect of the present invention, in the detection sensor according to the second or third aspect of the present invention, the detection unit includes a changing unit capable of changing the target value, and the magnification setting unit changes the target value by the changing unit. In this case, the gist is to reset the magnification in the second display function.

この発明では、目標値を変更可能な変更手段が備えられ、その変更手段にて目標値が変更された際に、倍率設定手段により第2表示機能における倍率が再設定される。このように、使用者により目標値を変更可能な変更手段を設け、その変更手段により目標値が変更された場合に倍率を再設定することで、第2表示機能における倍率を調整することができる。そのため、例えば請求項3に記載の構成のように、第2表示機能における倍率が基準レベルを超えてその旨が報知された場合に、目標値を再設定して倍率を基準レベル以下に調整することができる。   In the present invention, there is provided changing means capable of changing the target value, and when the target value is changed by the changing means, the magnification in the second display function is reset by the magnification setting means. As described above, by providing the changing means that can change the target value by the user and resetting the magnification when the target value is changed by the changing means, the magnification in the second display function can be adjusted. . Therefore, for example, when the magnification in the second display function exceeds the reference level and the fact is notified as in the configuration described in claim 3, the target value is reset and the magnification is adjusted to the reference level or less. be able to.

請求項5に記載の発明は、請求項2〜4のいずれか一項に記載の検出センサにおいて、前記制御手段は、前記機能選択手段により前記第2表示機能が選択されている際には、前記第2表示機能における前記倍率で演算した演算後の信号レベルと、前記倍率とを前記表示手段に表示させることをその要旨とする。   According to a fifth aspect of the present invention, in the detection sensor according to any one of the second to fourth aspects, the control means is configured such that when the second display function is selected by the function selection means, The gist of the present invention is to display the calculated signal level calculated with the magnification in the second display function and the magnification on the display means.

この発明では、機能選択手段により第2表示機能が選択されている際には、制御手段により、第2表示機能における倍率で演算した演算後の信号レベルと、第2表示機能における倍率とが表示手段に表示される。このように、第2表示機能選択時において、第2表示機能における倍率で演算した演算後の信号レベルと、その倍率とが表示手段にて表示されることで、使用者に対し、演算後の信号レベルが基の信号レベルからどの程度の倍率で変更されたものなのか報知することができる。   In this invention, when the second display function is selected by the function selection means, the control means displays the signal level after the calculation calculated by the magnification in the second display function and the magnification in the second display function. Displayed on the means. In this way, when the second display function is selected, the signal level after calculation calculated by the magnification in the second display function and the magnification are displayed on the display means, so that the user can perform the calculation after the calculation. It is possible to notify how much the signal level has been changed from the original signal level.

従って、上記記載の発明によれば、作業者による誤認識の防止を図ることができる検出センサを提供することができる。   Therefore, according to the above described invention, it is possible to provide a detection sensor capable of preventing erroneous recognition by an operator.

本実施形態におけるファイバセンサの平面図。The top view of the fiber sensor in this embodiment. ファイバセンサの電気的構成を示すブロック図。The block diagram which shows the electrical constitution of a fiber sensor. (a)(b)(c)は機能の階層構造を示す説明図。(A) (b) (c) is explanatory drawing which shows the hierarchical structure of a function. フォーカス倍率の設定動作の一例を説明するためのフローチャート。7 is a flowchart for explaining an example of a setting operation for focus magnification. フォーカス機能選択時の動作の一例を説明するためのフローチャート。6 is a flowchart for explaining an example of an operation when a focus function is selected.

以下、本発明をファイバセンサに具体化した一実施形態を図面に従って説明する。
図1に示すように、ファイバセンサ10のセンサ本体11は略直方体に形成されるとともに、その上面には例えば8桁のデジタル表示が可能な表示手段としてのデジタル表示部12が設けられている。デジタル表示部12の先端側(図1において左側)には、例えばLED(発光ダイオード)からなる放置手段としての動作表示灯13が設けられている。
Hereinafter, an embodiment in which the present invention is embodied in a fiber sensor will be described with reference to the drawings.
As shown in FIG. 1, the sensor body 11 of the fiber sensor 10 is formed in a substantially rectangular parallelepiped shape, and a digital display unit 12 as display means capable of, for example, 8-digit digital display is provided on the upper surface thereof. On the front end side (left side in FIG. 1) of the digital display unit 12, an operation indicator lamp 13 is provided as a leaving means made of, for example, an LED (light emitting diode).

また、デジタル表示部12には、ファイバセンサ10が備える複数の機能(例えば、閾値レベルの設定及びその微調整)や各種設定値等が表示される。デジタル表示部12は、4桁を表示する4つの7セグメントLED14a〜14dからなる第1表示部14と、4桁を表示する4つの7セグメントLED15a〜15dからなる第2表示部15とが一列に接続されている。   In addition, the digital display unit 12 displays a plurality of functions (for example, setting of a threshold level and fine adjustment thereof) and various setting values provided in the fiber sensor 10. The digital display unit 12 includes a first display unit 14 including four 7-segment LEDs 14a to 14d for displaying four digits and a second display unit 15 including four 7-segment LEDs 15a to 15d for displaying four digits. It is connected.

また、センサ本体11の上面において、デジタル表示部12の基端側(図1において右側)には、一対の三角形状の選択スイッチ16,17が設けられるとともに、これら選択スイッチ16,17の前記デジタル表示部12とは反対側(図1において右側)に四角形状の決定スイッチ18が設けられている。   A pair of triangular selection switches 16 and 17 are provided on the upper surface of the sensor body 11 on the base end side (right side in FIG. 1) of the digital display unit 12. A square-shaped determination switch 18 is provided on the side opposite to the display unit 12 (right side in FIG. 1).

選択スイッチ16,17は、それぞれの押圧操作によりデジタル表示部12に表示される機能等を互いに逆方向の順序で切り替えるためのものであり、決定スイッチ18は、その押圧操作によりデジタル表示部12に表示される現在の機能等を決定するためのものである。   The selection switches 16 and 17 are used for switching the functions displayed on the digital display unit 12 by the respective pressing operations in the order opposite to each other. The determination switch 18 is displayed on the digital display unit 12 by the pressing operation. This is for determining the current function to be displayed.

に示すように、ファイバセンサ10は、投光素子21を備えた投光回路22と、受光素子23を備えた検出手段としての受光回路24と、制御手段を構成するCPU25とを備えている。CPU25内には、記憶手段としてのメモリ26及びタイマ27が備えられている。投光回路22は、CPU25からの出力信号を受けて投光素子21を所定の光量で発光させる。発光された光は受光素子23によって光電変換されて受光回路24に入力され、受光素子23での受光量に応じたレベルの出力信号がCPU25に出力される。 As shown in FIG. 2 , the fiber sensor 10 includes a light projecting circuit 22 including a light projecting element 21, a light receiving circuit 24 serving as a detecting unit including a light receiving element 23, and a CPU 25 constituting a control unit. Yes. The CPU 25 is provided with a memory 26 and a timer 27 as storage means. The light projecting circuit 22 receives the output signal from the CPU 25 and causes the light projecting element 21 to emit light with a predetermined light amount. The emitted light is photoelectrically converted by the light receiving element 23 and input to the light receiving circuit 24, and an output signal having a level corresponding to the amount of light received by the light receiving element 23 is output to the CPU 25.

図1に示すセンサ本体11には、順次搬送される被検出物Wの搬送経路(図2において白抜き矢印の方向)の両側に、図2に示す投光用ファイバ28及び受光用ファイバ29が配置されるようになっている。また、これら投光用ファイバ28及び受光用ファイバ29は、その先端が前記搬送経路の垂直方向において対向するように配置されている。そして、両ファイバ28,29を介して形成される投光素子21及び受光素子23間の光路(検出領域)内への被検出物Wの進入量によって変化する受光素子23の受光量(検出値)に応じたレベルの出力信号(アナログ信号)が、受光回路24からCPU25へ出力されるように構成されている。   In the sensor body 11 shown in FIG. 1, light projecting fibers 28 and light receiving fibers 29 shown in FIG. 2 are provided on both sides of the transport path (in the direction of the white arrow in FIG. 2) of the object W to be transported sequentially. It is arranged. Further, the light projecting fiber 28 and the light receiving fiber 29 are arranged so that their tips are opposed to each other in the vertical direction of the transport path. Then, the amount of light received by the light receiving element 23 (detection value) that changes depending on the amount of the object to be detected W entering the optical path (detection region) between the light projecting element 21 and the light receiving element 23 formed via both fibers 28 and 29. ) Is output from the light receiving circuit 24 to the CPU 25.

CPU25は、前記出力信号をサンプリングした複数(例えば3つ)の測定点での受光信号レベルの移動平均値MAを算出し、この平均値MAと閾値レベルとの大小を比較する。そして、CPU25は平均値と閾値レベルとの比較結果に応じて反転する検出信号を出力回路30に出力するとともに、動作表示灯13を例えば赤色に点灯させる。   The CPU 25 calculates a moving average value MA of the received light signal level at a plurality of (for example, three) measurement points obtained by sampling the output signal, and compares the average value MA with the threshold level. Then, the CPU 25 outputs a detection signal that is inverted according to the comparison result between the average value and the threshold level to the output circuit 30 and lights the operation indicator lamp 13 in red, for example.

CPU25には制御手段を構成する表示回路31が電気的に接続されており、CPU25は表示回路31を介してデジタル表示部12の7セグメントLED14a〜14d,15a〜15dを駆動しデジタル表示部12に文字・数字・記号を表示する。また、CPU25にはスイッチ入力回路32が電気的に接続されており、CPU25はスイッチ入力回路32を介して選択スイッチ16,17及び決定スイッチ18の操作を検出し、選択スイッチ16,17及び決定スイッチ18の操作に応じてデジタル表示部12の表示を制御する。   The CPU 25 is electrically connected to a display circuit 31 constituting control means. The CPU 25 drives the 7-segment LEDs 14 a to 14 d and 15 a to 15 d of the digital display unit 12 via the display circuit 31 to the digital display unit 12. Display letters, numbers and symbols. Further, a switch input circuit 32 is electrically connected to the CPU 25. The CPU 25 detects the operations of the selection switches 16, 17 and the determination switch 18 via the switch input circuit 32, and the selection switches 16, 17 and the determination switch are detected. The display on the digital display unit 12 is controlled in accordance with the operation 18.

デジタル表示部12に表示される各機能は、関連するもの同士がまとめられて、上層(上位階層)、中層(中位階層)、下層(下位階層)の二層の階層構造に分類されており、選択スイッチ16,17及び決定スイッチ18の操作によって各機能を実行することができる。   The functions displayed on the digital display unit 12 are grouped in a related manner, and are classified into a two-layered structure of upper layer (upper layer), middle layer (middle layer), and lower layer (lower layer). Each function can be executed by operating the selection switches 16 and 17 and the decision switch 18.

具体的には図3(a)に示すように、上層には、「RUN(被検出物Wの検出動作を実行する通常検出状態)」、「TEACH(閾値レベルの設定)」、「L/D ON(入光時ON/非入光時ONの設定)」「TIMER(タイマ動作の設定)」、「CUST(カスタム設定の内容表示)」、「PRO(詳細設定)」の各機能が分類されている。   Specifically, as shown in FIG. 3A, the upper layer includes “RUN (normal detection state in which the detection operation of the object W is detected)”, “TEACH (threshold level setting)”, “L / D ON (light-on / non-light-on setting), TIMER (timer operation setting), CUST (custom setting contents display), and PRO (detailed setting) functions are classified. Has been.

また上層「PRO」の一段下位の層である中層には、「PRO1」〜「PRO5」の各機能が分類されている。また、中層の一段下位の層である下層には、「Pro1」〜「Pro5」に対応する各機能が分類されている。   In addition, each function of “PRO1” to “PRO5” is classified in the middle layer, which is one layer lower than the upper layer “PRO”. In addition, each function corresponding to “Pro1” to “Pro5” is classified in the lower layer, which is one layer lower than the middle layer.

尚、本実施形態のファイバセンサ10には、前記平均値MAを第2表示部15に表示する第1表示機能としての通常表示機能と、前記平均値MAに対し所定の倍率(後述するフォーカス倍率Fx)を乗算してその調整した調整値ADを第2表示部15に表示する第2表示機能としてのフォーカス機能とを有している。特に、各機能の選択等の設定は、中層の機能「PRO2(フォーカス機能の設定)」で行い、その機能「PRO2」の一段下位の層である下層には、図3(c)に示すように「SET(フォーカス機能時における目標値の設定)」、「DTCH(フォーカス倍率の処理)」、「FSEL(フォーカス機能の選択)」の各機能が分類されている。   The fiber sensor 10 of the present embodiment includes a normal display function as a first display function for displaying the average value MA on the second display unit 15 and a predetermined magnification (focus magnification described later) with respect to the average value MA. Fx) and a focus function as a second display function for displaying the adjusted adjustment value AD on the second display unit 15. In particular, the selection of each function or the like is performed by the middle-layer function “PRO2 (focus function setting)”, and the lower layer, which is one level lower than the function “PRO2”, is shown in FIG. “SET (target value setting during focus function)”, “DTCH (focus magnification processing)”, and “FSEL (focus function selection)” are classified.

被検出物Wを検出している状態において、第1表示部14には閾値レベルが表示されるとともに、第2表示部15には受光信号レベルが表示される、このとき、決定スイッチ18が押圧操作されると、デジタル表示部12の上4桁の第1表示部14に上層機能「RUN」が表示される。この状態で、例えば選択スイッチ16が押圧操作されると、図3(a)に示すように、第1表示部14に表示される上層の機能がその操作回数に応じて、「RUN」→「TEACH」→「L/D ON」→「TIMER」→「CUST」→「PRO」→「RUN」の順でループ状に切り替えられる。また、選択スイッチ17が操作されると、その操作回数に応じて第1表示部14に表示される上層の機能が、選択スイッチ16が押圧操作される場合とは逆向きの順番でループ状に切り替えられる。   In a state where the detection object W is detected, the threshold level is displayed on the first display unit 14 and the received light signal level is displayed on the second display unit 15. At this time, the determination switch 18 is pressed. When operated, the upper layer function “RUN” is displayed on the first four-digit first display portion 14 of the digital display portion 12. In this state, for example, when the selection switch 16 is pressed, as shown in FIG. 3A, the upper layer function displayed on the first display unit 14 changes “RUN” → “ It is switched to a loop in the order of “TEACH” → “L / D ON” → “TIMER” → “CUST” → “PRO” → “RUN”. When the selection switch 17 is operated, the upper layer functions displayed on the first display unit 14 according to the number of operations are looped in the reverse order to the case where the selection switch 16 is pressed. Can be switched.

更に、例えば第1表示部14に上層の機能「RUN」、「TEACH」、「L/D ON」、「TIMER」及び「CUST」のいずれかが表示されている状態で決定スイッチ18が押圧操作されると、当該機能に係る処理が許容される。また、第1表示部14に上層の機能「PRO」が表示されている状態で、決定スイッチ18が押圧操作されると、図3(b)に示すように、第1表示部14に表示される機能が一段下位の層である中層の機能「Pro1」に切り替えられる。そして、この状態で、例えば選択スイッチ16が押圧操作されると、第1表示部14に表示される中層の機能がその操作回数に応じて、「Pro1」→「Pro2」→「Pro3」→「Pro4」→「Pro5」→「Pro1」の順番でループ状に切り替えられる。また、選択スイッチ17が押圧操作されると、その操作回数に応じて第1表示部14に表示される中層の機能が、選択スイッチ16が押圧操作される場合とは逆向きの順番でループ状に切り替えられる。   Further, for example, the determination switch 18 is pressed in a state where one of the upper layer functions “RUN”, “TEACH”, “L / D ON”, “TIMER”, and “CUST” is displayed on the first display unit 14. Then, processing related to the function is allowed. In addition, when the determination switch 18 is pressed while the upper layer function “PRO” is displayed on the first display unit 14, as shown in FIG. 3B, it is displayed on the first display unit 14. Is switched to the function “Pro1” in the middle layer, which is a lower layer. In this state, for example, when the selection switch 16 is pressed, the functions of the middle layer displayed on the first display unit 14 are “Pro1” → “Pro2” → “Pro3” → “ The loop is switched in the order of “Pro4” → “Pro5” → “Pro1”. When the selection switch 17 is pressed, the functions of the middle layer displayed on the first display unit 14 according to the number of operations are looped in the reverse order to the case where the selection switch 16 is pressed. Can be switched to.

また、例えば第1表示部14に中層の機能「Pro2」が表示されている状態で決定スイッチ18が押圧操作されると、第1表示部14に表示される機能が一段下位の層である下層の機能「SET」に切り替えられる。そして、この状態で、例えば選択スイッチ16が押圧操作されると、第1表示部14に表示される下層の機能がその操作回数に応じて、「SET」→「DTCH」→「FSEL」→「SET」の順番でループ状に切り替えられる。また、選択スイッチ17が押圧操作されると、その操作回数に応じて第1表示部14に表示される中層の機能が、選択スイッチ16が押圧操作される場合とは逆向きの順番でループ状に切り替えられる。   For example, when the determination switch 18 is pressed in a state where the middle layer function “Pro2” is displayed on the first display unit 14, the function displayed on the first display unit 14 is a lower layer that is one level lower. Is switched to the function “SET”. In this state, for example, when the selection switch 16 is pressed, the lower layer functions displayed on the first display unit 14 change “SET” → “DTCH” → “FSEL” → “ It is switched to a loop in the order of “SET”. When the selection switch 17 is pressed, the functions of the middle layer displayed on the first display unit 14 according to the number of operations are looped in the reverse order to the case where the selection switch 16 is pressed. Can be switched to.

また、フォーカス機能時において、第2表示部15における表示上限値である第1目標値T1は、第2表示部15に表示される最大値(例えば4096)が設定され、CPU25のメモリ26に予め記憶されている。また、第2表示部15における表示下限値である第2目標値T2は、第2表示部15に表示される最小値(例えば0)が設定され、CPU25のメモリ26に予め記憶されている。但し、これら、目標値T1,T2は作業者により、任意に変更可能な構成であってもよく、例えば下層の機能「SET」が表示されている状態で決定スイッチ18が押圧操作されると、第1目標値T1が設定可能な状態に切り替えられる。この状態において、第1目標値T1が作業者により設定され、決定スイッチ18が押圧操作されると、第2目標値T2が設定可能な状態に切り替えられる。この状態において、第2目標値T2が作業者により入力され、決定スイッチ18が押圧操作されると、第1表示部14には「SET」が表示され、フォーカス機能選択時における目標値の設定が完了する。   At the time of the focus function, the first target value T1 that is the display upper limit value on the second display unit 15 is set to the maximum value (for example, 4096) displayed on the second display unit 15, and is stored in the memory 26 of the CPU 25 in advance. It is remembered. The second target value T2 that is the display lower limit value in the second display unit 15 is set to the minimum value (for example, 0) displayed on the second display unit 15 and is stored in the memory 26 of the CPU 25 in advance. However, these target values T1 and T2 may be configured to be arbitrarily changeable by the operator. For example, when the determination switch 18 is pressed while the lower layer function “SET” is displayed, The first target value T1 is switched to a settable state. In this state, when the first target value T1 is set by the operator and the determination switch 18 is pressed, the second target value T2 is switched to a settable state. In this state, when the second target value T2 is input by the operator and the determination switch 18 is pressed, “SET” is displayed on the first display unit 14, and the target value is set when the focus function is selected. Complete.

また、第1表示部14に下層の機能「DTCH」が表示されている状態で、決定スイッチ18が押圧操作されると、図4に示すようにフォーカス機能における表示倍率の設定動作がCPU25にて実行されるようになっている。   When the determination switch 18 is pressed while the lower layer function “DTCH” is displayed on the first display unit 14, the display magnification setting operation in the focus function is performed by the CPU 25 as shown in FIG. 4. It is supposed to be executed.

CPU25は、投光回路22及び受光回路24を介して投光素子21及び受光素子23を制御し、例えば被検出物Wが無い状態の受光量(以下、第1取得値という)G1を取得し(ステップS10)、その取得した第1取得値G1を例えばメモリ26に記憶する(ステップS20)。次いで、決定スイッチ18が押圧操作されると、被検出物Wがある状態の受光量(以下、第2取得値という)G2を取得し(ステップS30)、その取得した第2取得値G2をメモリ26に記憶する(ステップS40)。その後、CPU25は、式1に示す如くフォーカス機能選択時におけるフォーカス倍率Fxの演算を行う(ステップS50)。尚、フォーカス倍率Fx設定時において、例えばその倍率が基準レベルを超えていた場合、CPU25は表示回路31を介して例えば第2表示部15に「hard」と表示させる。   The CPU 25 controls the light projecting element 21 and the light receiving element 23 via the light projecting circuit 22 and the light receiving circuit 24, and acquires, for example, a received light amount (hereinafter referred to as a first acquired value) G1 in a state where there is no object to be detected W. (Step S10), the acquired first acquisition value G1 is stored in, for example, the memory 26 (Step S20). Next, when the determination switch 18 is pressed, a received light amount (hereinafter referred to as a second acquired value) G2 in a state where the object W is present is acquired (step S30), and the acquired second acquired value G2 is stored in the memory. 26 (step S40). Thereafter, the CPU 25 calculates the focus magnification Fx when the focus function is selected as shown in Expression 1 (step S50). When the focus magnification Fx is set, for example, if the magnification exceeds a reference level, the CPU 25 displays “hard” on the second display unit 15 via the display circuit 31, for example.

Figure 2011033450
そして、CPU25は、上記式1にて求めたフォーカス倍率Fxが基準レベル以下であればその倍率Fxをメモリ26に記憶し(ステップS60)、その後第1表示部には「DTCH」が表示され、フォーカス倍率Fxの設定が終了する。
Figure 2011033450
Then, the CPU 25 stores the magnification Fx in the memory 26 if the focus magnification Fx obtained by the above equation 1 is equal to or lower than the reference level (step S60), and then “DTCH” is displayed on the first display unit. The setting of the focus magnification Fx is completed.

ここで、メモリ26は、不揮発性のメモリにて構成されており、例えば本センサ10の電源オフした後に、再度電源オンした場合、前記フォーカス倍率Fxはそのまま記憶されている。つまり、フォーカス倍率Fxの変更をしない限りは、そのフォーカス倍率Fxの値は一定となるように構成されている。   Here, the memory 26 is configured by a nonvolatile memory. For example, when the power of the sensor 10 is turned off and then turned on again, the focus magnification Fx is stored as it is. That is, as long as the focus magnification Fx is not changed, the value of the focus magnification Fx is configured to be constant.

また、第1表示部14に下層の機能「FSEL」が表示されている状態で、決定スイッチ18が押圧操作されると第2表示部15には「on」若しくは「off」と表示され、選択スイッチ16,17が押圧操作されることで第2表示部15に表示される文字列が「on」と「off」とで切り替えられるようになっている。   Further, when the determination switch 18 is pressed while the lower layer function “FSEL” is displayed on the first display unit 14, “on” or “off” is displayed on the second display unit 15, and the selection is made. When the switches 16 and 17 are pressed, the character string displayed on the second display unit 15 is switched between “on” and “off”.

そして、第2表示部15に「on」と表示された状態で、決定スイッチ18が押圧操作されると、CPU25は、上層の機能「RUN」実行時に、フォーカス機能を有効として各種動作を実行する。尚、フォーカス機能を選択した場合に、前述のフォーカス倍率Fxの設定(機能「DTCH」)がなされていない場合には、第2表示部15に「Err」と表示させ、作業者に対してその旨を報知する。   When the determination switch 18 is pressed in a state where “on” is displayed on the second display unit 15, the CPU 25 executes various operations with the focus function enabled when the upper layer function “RUN” is executed. . When the focus function is selected and the focus magnification Fx is not set (function “DTCH”), “Err” is displayed on the second display unit 15, and the operator is informed. Inform the effect.

また、第2表示部15に「off」と表示された状態で決定スイッチ18が押圧操作されると、CPU25は、上層の機能「RUN」実行時に、フォーカス機能を無効、つまり通常表示機能を選択したとして各種動作を実行する。   In addition, when the determination switch 18 is pressed in a state in which “off” is displayed on the second display unit 15, the CPU 25 disables the focus function, that is, selects the normal display function when executing the upper layer function “RUN”. As a result, various operations are executed.

(フォーカス機能選択)
次に、上記のように設定されたフォーカス倍率Fxを用いて、フォーカス機能(第2表示機能)を選択した場合のファイバセンサ10の動作例について図5を用いて説明する。
(Select focus function)
Next, an operation example of the fiber sensor 10 when the focus function (second display function) is selected using the focus magnification Fx set as described above will be described with reference to FIG.

CPU25は、上層の機能「RUN」が表示されている状態で、決定スイッチ18が押圧操作されると、被検出物Wの検出が開始される。そして、CPU25には、前述したように受光素子23での受光量に応じたレベルの出力信号が受光回路24を介して入力され、図5に示すようにCPU25は、CPU25に入力される出力信号をサンプリングした複数(例えば3つ)の測定点での受光信号レベルの移動平均値MAを算出し、この平均値(現在値)MAを取得する(ステップS100)。   When the determination switch 18 is pressed while the upper layer function “RUN” is displayed, the CPU 25 starts detecting the detection target W. Then, as described above, an output signal of a level corresponding to the amount of light received by the light receiving element 23 is input to the CPU 25 via the light receiving circuit 24, and the CPU 25 outputs an output signal input to the CPU 25 as shown in FIG. The moving average value MA of the received light signal level at a plurality of (for example, three) measurement points sampled is calculated, and this average value (current value) MA is obtained (step S100).

次いで、CPU25は前記機能「DTCH」にて取得した被検出物Wありの状態の第2取得値G2をメモリ26から読み込み(ステップS110)、前記平均値MAから第2取得値G2を除算して、前記平均値MAと第2取得値G2との差D1を算出する(ステップS120)。   Next, the CPU 25 reads the second acquired value G2 in the state with the detected object W acquired by the function “DTCH” from the memory 26 (step S110), and divides the second acquired value G2 from the average value MA. A difference D1 between the average value MA and the second acquired value G2 is calculated (step S120).

そして、CPU25は、前記ステップS120にて算出した差D1と前記機能「DTCH」にて設定されたフォーカス倍率Fxを乗算し(ステップS130)、その乗算した値に第2目標値T2を加算することでオフセットさせて調整値ADを算出する(ステップS140)。尚、前述したように予め第1目標値T1を第2表示部15に表示される表示上限値(4096)に設定し、予め第2目標値を第2表示部15に表示される表示下限値(0)に設定しているため、調整値ADの上限を表示上限値、調整値ADの下限を表示下限値となるように調整し、表示することができるようになっている。   Then, the CPU 25 multiplies the difference D1 calculated in step S120 by the focus magnification Fx set by the function “DTCH” (step S130), and adds the second target value T2 to the multiplied value. The adjustment value AD is calculated by offsetting at (step S140). As described above, the first target value T1 is set in advance to the display upper limit value (4096) displayed on the second display unit 15, and the second target value is displayed in advance on the second display unit 15. Since (0) is set, the upper limit of the adjustment value AD can be adjusted to be the display upper limit value, and the lower limit of the adjustment value AD can be adjusted to be the display lower limit value, and can be displayed.

そして、CPU25は、表示回路31を制御し、第2表示部15には文字列「Foc」と、調整値ADとを交互に表示させる(ステップS150)。尚、CPU25は、表示回路31を制御して第1表示部14に閾値レベルを表示させる。そして、CPU25はステップS100からステップS160までを繰り返すように動作する。   Then, the CPU 25 controls the display circuit 31 to alternately display the character string “Foc” and the adjustment value AD on the second display unit 15 (step S150). The CPU 25 controls the display circuit 31 to display the threshold level on the first display unit 14. Then, the CPU 25 operates to repeat steps S100 to S160.

(通常表示機能選択)
一方、前述のフォーカス機能を無効、つまり通常表示機能を選択した場合、CPU25は、表示回路31を制御し受光回路24からCPU25へ出力される出力信号の平均値MAを第2表示部15に表示させる。また、CPU25は、表示回路31を制御して第1表示部14に閾値レベルを表示させるようになっている。
(Normal display function selection)
On the other hand, when the above-described focus function is disabled, that is, when the normal display function is selected, the CPU 25 controls the display circuit 31 to display the average value MA of the output signal output from the light receiving circuit 24 to the CPU 25 on the second display unit 15. Let Further, the CPU 25 controls the display circuit 31 to display the threshold level on the first display unit 14.

上記の構成される検出センサとしてのファイバセンサ10では、通常表示機能を選択した場合には、信号レベルとしての平均値MAを第2表示部15に表示させ、フォーカス機能を選択した場合には、フォーカス機能(第1表示機能)が選択されているということを第2表示部15に文字列「Foc」と信号レベルとしての調整値ADを表示させる。このように、表示機能の違いにより、表示態様を異ならせて、どちらの表示機能が選択されているのかを作業者に対して知らせることができるため、故障でないにも関わらず故障と認識してしまうような作業者による誤認識を抑えることが可能となる。   In the fiber sensor 10 as the detection sensor configured as described above, when the normal display function is selected, the average value MA as the signal level is displayed on the second display unit 15, and when the focus function is selected, The fact that the focus function (first display function) has been selected is displayed on the second display unit 15 with the character string “Foc” and the adjustment value AD as the signal level. In this way, it is possible to notify the operator of which display function is selected by changing the display mode depending on the display function. Thus, it is possible to suppress misrecognition by the operator.

次に、本実施形態の特徴的な作用効果を記載する。
(1)制御手段としてのCPU25には、出力信号の信号レベルとしての受光信号レベル(平均値MA)を第2表示部15に表示する第1表示機能としての通常表示機能と、受光信号レベルを所定の倍率(フォーカス倍率Fx)で乗算した演算結果である調整値ADを第2表示部15に表示する第2表示機能としてのフォーカス機能とが切り替え可能に備えられる。CPU25は、通常表示機能において第2表示部15に平均値MAをそのまま常時表示させる表示態様となるように設定され、フォーカス機能において第2表示部15に調整値ADと文字列「Foc」を交互に表示する表示態様となるように設定される。そして、CPU25は作業者により通常表示機能及びフォーカス表示機能のいずれか一方が選択されると、その選択された表示機能(平均値MAの常時表示若しくは調整値ADと文字列「Foc」の交互表示)によるいずれかの表示態様にて受光信号レベルを表示する。このように通常表示機能とフォーカス機能のそれぞれの表示態様を異なるように構成したことで、いずれかの一方の表示機能にて第2表示部15に出力信号の信号レベルが表示される場合に、作業者に対して各表示機能の表示態様の違いによって、どちらの表示機能が選択されているのか報知することができるため、検出センサの故障等の使用者による使用者による誤認識を抑えることができる。
Next, characteristic effects of the present embodiment will be described.
(1) The CPU 25 as the control means has a normal display function as a first display function for displaying a light reception signal level (average value MA) as a signal level of the output signal on the second display unit 15, and a light reception signal level. A focus function as a second display function for displaying the adjustment value AD, which is a calculation result multiplied by a predetermined magnification (focus magnification Fx), on the second display unit 15 is switchable. The CPU 25 is set so that the average value MA is always displayed as it is on the second display unit 15 in the normal display function, and the adjustment value AD and the character string “Foc” are alternately displayed on the second display unit 15 in the focus function. The display mode is set to be displayed. When either one of the normal display function and the focus display function is selected by the operator, the CPU 25 displays the selected display function (always displaying the average value MA or alternately displaying the adjustment value AD and the character string “Foc”). The received light signal level is displayed in any of the display modes. As described above, since the display modes of the normal display function and the focus function are configured differently, when the signal level of the output signal is displayed on the second display unit 15 by any one of the display functions, Since the operator can be notified of which display function is selected depending on the display mode of each display function, it is possible to suppress erroneous recognition by the user by the user such as a detection sensor failure. it can.

(2)また、予め第1目標値T1を第2表示部15に表示される表示上限値(4096)と設定され、予め第2目標値を第2表示部15に表示される表示下限値(0)と設定されている。そのため、調整値ADの上限を表示上限値、調整値ADの下限を表示下限値となるように調整し、表示することができるようになっている。この場合、従来構成の検出センサでは、フォーカス機能が選択されているかどうか知らない作業者が上記のような調整値を見た場合、信号レベルの飽和と誤認識する虞がある。しかしながら、例えば本実施形態の様に第2表示部15に調整値と文字列「Foc」を交互に表示するような構成とすることで、前述のように誤認識することを抑えることができる。   (2) The first target value T1 is set in advance as the display upper limit value (4096) displayed on the second display unit 15, and the second target value is displayed in advance on the second display unit 15 (display lower limit value ( 0). For this reason, the upper limit of the adjustment value AD can be adjusted to be the display upper limit value, and the lower limit of the adjustment value AD can be adjusted to be the display lower limit value. In this case, in the conventional detection sensor, when an operator who does not know whether or not the focus function is selected looks at the adjustment value as described above, there is a risk of erroneously recognizing that the signal level is saturated. However, for example, the configuration in which the adjustment value and the character string “Foc” are alternately displayed on the second display unit 15 as in the present embodiment can prevent erroneous recognition as described above.

(3)フォーカス機能時におけるフォーカス倍率Fxが基準レベルを超えた際に、異常と判定して報知する異常判定手段としてのCPU25が備えられる。このように、CPU25により、倍率Fxが基準レベルを超えた際に、第2表示部15に「hard」と表示させて報知することで、フォーカス機能における倍率Fxを基準レベル以下に誘導することができる。   (3) A CPU 25 is provided as an abnormality determining means for determining that an abnormality has occurred and notifying when the focus magnification Fx during the focus function exceeds a reference level. As described above, when the magnification Fx exceeds the reference level, the CPU 25 can notify the second display unit 15 by displaying “hard”, thereby inducing the magnification Fx in the focus function below the reference level. it can.

(4)CPU25には目標値T1,T2を変更可能な変更手段としての機能「SET」が備えられ、その機能「SET」にて目標値T1,T2が変更された際に、倍率設定手段によりフォーカス機能における倍率Fxが再設定される。このように、使用者により目標値T1,T2を変更可能な機能「SET」を設け、その機能により目標値T1,T2が変更された場合に倍率Fxを再設定することで、フォーカス機能における倍率Fxを調整することができる。そのため、フォーカス機能における倍率Fxが基準レベルを超えてその旨が報知された場合に、目標値T1,T2を再設定して倍率Fxを基準レベル以下に調整することができる。   (4) The CPU 25 is provided with a function “SET” as changing means capable of changing the target values T1, T2, and when the target values T1, T2 are changed by the function “SET”, the magnification setting means The magnification Fx in the focus function is reset. As described above, the function “SET” that allows the user to change the target values T1 and T2 is provided, and the magnification Fx is reset when the target values T1 and T2 are changed by the function. Fx can be adjusted. For this reason, when the magnification Fx in the focus function exceeds the reference level and the fact is notified, the target values T1 and T2 can be reset to adjust the magnification Fx below the reference level.

(5)メモリ26は、不揮発性メモリで構成されているため、本センサ10の電源を切断(電源オフ)することによる、設定値の消失が防止されている。このため、フォーカス倍率Fxの設定を電源再投入(電源オン)毎に行う必要が無いため、作業者の作業量を軽減させることができる。   (5) Since the memory 26 is composed of a non-volatile memory, the set value is prevented from being lost by turning off the power of the sensor 10 (power off). Therefore, it is not necessary to set the focus magnification Fx every time when the power is turned on again (power is turned on), so that the work amount of the worker can be reduced.

尚、本発明の実施形態は、以下のように変更してもよい。
・上記実施形態では、フォーカス機能有効(選択)時に、第2表示部15に文字列「Foc」を表示するように構成したが、これに限らない。
In addition, you may change embodiment of this invention as follows.
In the above embodiment, the character string “Foc” is displayed on the second display unit 15 when the focus function is valid (selected). However, the present invention is not limited to this.

例えば、第1表示部14による閾値レベルを非表示として、フォーカス機能無効とされる通常表示機能選択時には、第1表示部14に文字列「no」と表示するとともに、第2表示部15には平均値MAを表示する。そして、フォーカス機能有効(選択)時には、第1表示部14に文字列「Foc」と表示するとともに、第2表示部15に前記平均値MAにフォーカス倍率Fxを乗算した調整値ADを表示するような構成としてもよい。   For example, when the normal display function is selected in which the threshold level of the first display unit 14 is not displayed and the focus function is disabled, the character string “no” is displayed on the first display unit 14 and the second display unit 15 displays The average value MA is displayed. When the focus function is valid (selected), the character string “Foc” is displayed on the first display unit 14 and the adjustment value AD obtained by multiplying the average value MA by the focus magnification Fx is displayed on the second display unit 15. It is good also as a simple structure.

また、上記実施形態では特に言及していないが、デジタル表示部12(第2表示部15)の発光色をフォーカス機能選択時と通常表示機能選択時とで切り替えるようにしてもよい。   Although not particularly mentioned in the above embodiment, the light emission color of the digital display unit 12 (second display unit 15) may be switched between when the focus function is selected and when the normal display function is selected.

また、例えば通常表示機能選択時において第2表示部15に表示される平均値MAを点灯表示させ、フォーカス機能選択時において第2表示部15に表示される調整値ADを点滅表示するように構成してもよい。   Further, for example, the average value MA displayed on the second display unit 15 is lit on when the normal display function is selected, and the adjustment value AD displayed on the second display unit 15 is blinked when the focus function is selected. May be.

また、フォーカス機能選択時において、フォーカス倍率Fxを用いて演算した信号レベルである調整値ADと、フォーカス倍率Fxを例えば第2表示部15に交互に表示させる構成としてもよい。このように、フォーカス機能選択時において、フォーカス機能における倍率で演算した演算後の信号レベルである調整値ADと、その倍率Fxとが第2表示部15にて表示されることで、使用者に対し、演算後の信号レベル(調整値AD)が基の信号レベル(平均値MA)からどの程度の倍率Fxで変更されたものなのか、報知することができる。尚、上記実施形態の構成に加え、第1表示部14若しくは別途を設ける表示部に、倍率Fxを表示させる構成であってもよい。   Further, when the focus function is selected, an adjustment value AD that is a signal level calculated using the focus magnification Fx and the focus magnification Fx may be alternately displayed on the second display unit 15, for example. As described above, when the focus function is selected, the adjustment value AD that is the signal level after the calculation with the magnification in the focus function and the magnification Fx are displayed on the second display unit 15, so that the user can On the other hand, it is possible to notify how much the calculated signal level (adjustment value AD) has been changed from the original signal level (average value MA) at what magnification Fx. In addition to the configuration of the above embodiment, the configuration may be such that the magnification Fx is displayed on the first display unit 14 or a display unit provided separately.

・上記実施形態では、機能フォーカス倍率Fxが基準レベルを超えていた場合に、第2表示部15に「hard」と表示して報知する構成としたが、音などによって報知する構成であってもよい。   In the above embodiment, when the function focus magnification Fx exceeds the reference level, “hard” is displayed on the second display unit 15 and the notification is made. Good.

・上記実施形態では、CPU25の機能「SET」にて第1目標値T1と第2目標値T2とを変更可能に構成したが、これに限らず、例えば装置10出荷段階で予め決められた目標値T1,T2のみを用いる構成、つまり目標値T1,T2を変更不能な構成であってもよい。   In the above embodiment, the first target value T1 and the second target value T2 can be changed by the function “SET” of the CPU 25. However, the present invention is not limited to this. A configuration using only the values T1 and T2, that is, a configuration in which the target values T1 and T2 cannot be changed may be used.

・上記実施形態では、メモリ26を不揮発性メモリにて構成したが、揮発性メモリにて構成してもよい。尚、揮発性メモリで構成した場合であってもそのメモリに電力供給することで、メモリ内にフォーカス倍率Fxが保持された状態を保つことができる。   In the above embodiment, the memory 26 is configured by a nonvolatile memory, but may be configured by a volatile memory. Even when the volatile memory is used, the focus magnification Fx can be maintained in the memory by supplying power to the memory.

・上記実施形態では、デジタル表示部12を7セグメントLEDを複数(計8個)用いて構成したが、これに限らず、デジタル表示部12をマトリックス状の表示装置としてもよい。又はLED(発光ダイオード)に代えてLCD(液晶表示装置)等の他の表示装置を用いてもよい。   In the above embodiment, the digital display unit 12 is configured by using a plurality of 7-segment LEDs (a total of 8), but the present invention is not limited to this, and the digital display unit 12 may be a matrix display device. Alternatively, another display device such as an LCD (liquid crystal display device) may be used instead of the LED (light emitting diode).

・上記実施形態では、投光素子21及び受光素子23を対向配置した所謂透過型のファイバセンサにて構成したが、これに限らず、例えば投光素子及び受光素子を備えた投受光ユニットとそのユニットと対向配置される反射ミラーとで構成した所謂反射ミラー型のファイバセンサで構成してもよい。また、前記投受光ユニットを備え被検出物Wからの反射光を利用して被検出物Wの有無を検出する所謂反射型のファイバセンサにて構成してもよい。   In the above embodiment, a so-called transmission type fiber sensor in which the light projecting element 21 and the light receiving element 23 are arranged to face each other is used. However, the present invention is not limited to this. You may comprise with what is called a reflection mirror type fiber sensor comprised with the reflection mirror arranged facing a unit. Further, a so-called reflection type fiber sensor that includes the light projecting / receiving unit and detects the presence / absence of the detection target W using reflected light from the detection target W may be used.

・上記実施形態では、本発明をファイバセンサに具体化したが、これに限らず、その他の検出センサに具体化してもよい。   In the above embodiment, the present invention is embodied in the fiber sensor, but is not limited thereto, and may be embodied in other detection sensors.

10…ファイバセンサ(検出センサ)、12…デジタル表示部(表示手段)、15…第2表示部(表示手段及び異常放置手段)、16,17…選択スイッチ(機能選択手段)、18…決定スイッチ(機能選択手段)23…受光素子(検出手段)、24…受光回路(検出手段)、25…CPU(制御手段、機能選択手段、倍率設定手段及び変更手段)、Fx…フォーカス倍率、T1,T2…目標値、W…被検出物。   DESCRIPTION OF SYMBOLS 10 ... Fiber sensor (detection sensor), 12 ... Digital display part (display means), 15 ... 2nd display part (display means and abnormal leaving means), 16, 17 ... Selection switch (function selection means), 18 ... Determination switch (Function selection means) 23... Light receiving element (detection means) 24... Light reception circuit (detection means), 25... CPU (control means, function selection means, magnification setting means and change means), Fx. ... Target value, W ... Detected object.

Claims (5)

被検出物の検出状態に応じた検出信号を出力する検出手段と、
前記検出手段にて得られた前記検出信号の信号レベルを表示可能な表示手段と、
前記検出信号の信号レベルを前記表示手段に表示させる制御手段と、
を備えた検出センサであって、
前記制御手段は、
前記検出信号の信号レベルを前記表示手段に表示させる第1表示機能と、前記検出信号の信号レベルを所定の倍率で演算した演算後の信号レベルを前記表示手段に表示させる第2表示機能とを備えるとともに、
前記第1表示機能による表示態様と前記第2表示機能による表示態様とが異なるように設定され、
前記第1表示機能及び前記第2表示機能のいずれか一方の機能を選択可能な機能選択手段により選択された表示機能にて、前記信号レベルを前記表示手段に表示させることを特徴とする検出センサ。
Detection means for outputting a detection signal corresponding to the detection state of the detected object;
Display means capable of displaying the signal level of the detection signal obtained by the detection means;
Control means for displaying the signal level of the detection signal on the display means;
A detection sensor comprising:
The control means includes
A first display function for causing the display means to display the signal level of the detection signal; and a second display function for causing the display means to display a calculated signal level obtained by calculating the signal level of the detection signal at a predetermined magnification. As well as
The display mode by the first display function is set to be different from the display mode by the second display function,
A detection sensor characterized in that the signal level is displayed on the display means by a display function selected by a function selection means capable of selecting one of the first display function and the second display function. .
請求項1に記載の検出センサにおいて、
前記検出手段にて検出される前記被検出物の検出状態における信号レベル及び非検出状態における信号レベルと、予め設定される目標値との比率に基づき、前記第2表示機能における前記倍率を設定する倍率設定手段を備えたことを特徴とする検出センサ。
The detection sensor according to claim 1,
The magnification in the second display function is set based on the ratio between the signal level in the detection state of the detected object detected by the detection means and the signal level in the non-detection state and a preset target value. A detection sensor comprising a magnification setting means.
請求項2に記載の検出センサにおいて、
前記第2表示機能における前記倍率が基準レベルを超えた際に、異常と判定して報知する異常判定手段を備えたことを特徴とする検出センサ。
The detection sensor according to claim 2,
A detection sensor comprising abnormality determination means for determining that an abnormality has occurred and notifying when the magnification in the second display function exceeds a reference level.
請求項2又は3に記載の検出センサにおいて、
前記目標値を変更可能な変更手段を備え、
前記倍率設定手段は、前記変更手段にて前記目標値が変更された際に、前記第2表示機能における前記倍率を再設定することを特徴とする検出センサ。
The detection sensor according to claim 2 or 3,
A changing means capable of changing the target value;
The detection sensor, wherein the magnification setting unit resets the magnification in the second display function when the target value is changed by the changing unit.
請求項2〜4のいずれか一項に記載の検出センサにおいて、
前記制御手段は、前記機能選択手段により前記第2表示機能が選択されている際には、前記第2表示機能における前記倍率で演算した演算後の信号レベルと、前記倍率とを前記表示手段に表示させることを特徴とする検出センサ。
In the detection sensor as described in any one of Claims 2-4,
When the second display function is selected by the function selection unit, the control unit uses the display unit to display the calculated signal level calculated by the magnification in the second display function and the magnification. A detection sensor characterized by being displayed.
JP2009179260A 2009-07-31 2009-07-31 Detection sensor Active JP5517521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009179260A JP5517521B2 (en) 2009-07-31 2009-07-31 Detection sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009179260A JP5517521B2 (en) 2009-07-31 2009-07-31 Detection sensor

Publications (2)

Publication Number Publication Date
JP2011033450A true JP2011033450A (en) 2011-02-17
JP5517521B2 JP5517521B2 (en) 2014-06-11

Family

ID=43762670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009179260A Active JP5517521B2 (en) 2009-07-31 2009-07-31 Detection sensor

Country Status (1)

Country Link
JP (1) JP5517521B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0567958A (en) * 1992-01-31 1993-03-19 Takenaka Denshi Kogyo Kk Photoelectric switch
JP2007142627A (en) * 2005-11-16 2007-06-07 Keyence Corp Photoelectric sensor
JP2007158641A (en) * 2005-12-05 2007-06-21 Keyence Corp Photoelectric sensor
JP2007192791A (en) * 2005-12-22 2007-08-02 Keyence Corp Detector
JP2008092219A (en) * 2006-09-29 2008-04-17 Sunx Ltd Sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0567958A (en) * 1992-01-31 1993-03-19 Takenaka Denshi Kogyo Kk Photoelectric switch
JP2007142627A (en) * 2005-11-16 2007-06-07 Keyence Corp Photoelectric sensor
JP2007158641A (en) * 2005-12-05 2007-06-21 Keyence Corp Photoelectric sensor
JP2007192791A (en) * 2005-12-22 2007-08-02 Keyence Corp Detector
JP2008092219A (en) * 2006-09-29 2008-04-17 Sunx Ltd Sensor

Also Published As

Publication number Publication date
JP5517521B2 (en) 2014-06-11

Similar Documents

Publication Publication Date Title
US9841808B2 (en) Photoelectric sensor
JP2006236845A (en) Photoelectric switch and setting method of photoelectric switch
JP4687674B2 (en) Display integrated touch input device
TWI244823B (en) Photoelectric switch
JP4428416B2 (en) Photoelectric sensor
JP2007142627A (en) Photoelectric sensor
JP5517521B2 (en) Detection sensor
JP4979325B2 (en) Detection sensor
JP2008028779A (en) Detection sensor, master unit, and sensor system
JP5046266B2 (en) Detection device
JP5139049B2 (en) Photoelectric sensor
JP2007093464A (en) Photo-electric sensor
JP2006352559A (en) Photoelectric switch
JP2005109528A (en) Photoelectric switch
JP4620594B2 (en) Sensor device
JP5066237B2 (en) Photoelectric switch and photoelectric switch setting method
JP2007324915A (en) Detection sensor
JP2015011928A (en) Light-emitting device
JP2008092219A (en) Sensor
JP2008252463A (en) Detection sensor
WO2022190520A1 (en) Sensor device
JP2008275475A (en) Detection sensor
JP2006238189A (en) Photoelectric switch
JP6291290B2 (en) LED driving device, control method, and portable terminal
JP2019215292A (en) Photoelectric sensor and display method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130906

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140325

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140401

R150 Certificate of patent or registration of utility model

Ref document number: 5517521

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250