JP3965926B2 - Multi-optical axis photoelectric sensor setting device - Google Patents

Multi-optical axis photoelectric sensor setting device Download PDF

Info

Publication number
JP3965926B2
JP3965926B2 JP2001101726A JP2001101726A JP3965926B2 JP 3965926 B2 JP3965926 B2 JP 3965926B2 JP 2001101726 A JP2001101726 A JP 2001101726A JP 2001101726 A JP2001101726 A JP 2001101726A JP 3965926 B2 JP3965926 B2 JP 3965926B2
Authority
JP
Japan
Prior art keywords
sensor
setting
optical axis
light
safety
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2001101726A
Other languages
Japanese (ja)
Other versions
JP2002296361A (en
Inventor
寿 竹内
哲也 赤木
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
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 filed Critical Omron Corp
Priority to JP2001101726A priority Critical patent/JP3965926B2/en
Publication of JP2002296361A publication Critical patent/JP2002296361A/en
Application granted granted Critical
Publication of JP3965926B2 publication Critical patent/JP3965926B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Switches Operated By Changes In Physical Conditions (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、複数の光軸毎に遮光状態を検知してその検知結果を出力する多光軸光電センサに関するもので、特に、センサに対し、その検知動作の定義を設定するための機器に関する。
【0002】
【従来の技術】
一般的な多光軸光電センサは、複数の投光素子が一列に配置された投光部と、投光素子と同数の受光素子が一列に配置された受光部とを、各投受光素子を一対一の関係で向かい合うように配置して成る。前記投光部と受光部とは、通信線を介して接続されており、投光部側で各投光素子を順次発光させるとともに、受光部側で各投光素子に対応する受光素子から前記投光素子の発光動作に同期するタイミングで得た受光量を取り出すことにより、光軸毎の遮光状態を順に検知するようにしている。さらに受光部では、各光軸毎の検知結果を用いて検知エリアに物体があるか否かを判別し、その判別結果を示す信号(以下、「物体検知信号」という。)を出力する。
【0003】
この種のセンサは、通常は、いずれか一光軸において遮光状態を検知すると、物体検知信号をオンにするように設定される。しかしながらセンサの設置場所やセンサの使用目的によっては、特定の光軸における検知結果を無効にしたり、所定数以上の光軸が遮光された場合のみ物体検知信号をオンにするなど、検知動作の内容に種々の条件を設定しなければならない場合がある。
【0004】
図14は、特定光軸の無効化を必要とする具体例であって、図中、101は投光部を、102は受光部を、103は機械を、それぞれ示す。この例では、機械103の危険領域に合わせて投受光部101,102を設置したとき、図14(1)に示すように、光軸の一部(図中、P1,P2,P3と示す。)が機械103に遮断された状態となるため、通常の設定では正常な検知動作を行うことは不可能となる。このような場合には、図14(2)に点線で示すように、遮断される各光軸P1,P2,P3をあらかじめ無効化して、有効な光軸のみで検知を行うように設定する。
なお、このように一部の光軸を無効化する処理は、「フィックスブランキング」と呼ばれている。
【0005】
図15は、遮光光軸数の設定を必要とする第2の例を示す。この例での多光軸光電センサは、ワークを差し込んで曲げ加工を行うタイプのプレス機において、作業者の手が危険領域に近づいたとき、物体検知信号をオンにしてプレス動作を停止させるように設定されている。しかしながら通常の検知動作によれば、作業者の手よりも厚みの薄いワークにより光軸が遮光された場合でもプレス動作が停止してしまうので、作業者の手の大きさに応じた数の光軸が遮光状態となったときに物体検知信号を出力するように設定する必要がある。(このような遮光される光軸の基準数を検出対象に合わせて設定する処理を、「フローティングブランキング」と呼んでいる。)
【0006】
従来、フィックスブランキングを行うには、センサをティーチングモードにした上で投受光動作を行わせ、遮光状態となった光軸やその光軸の数を記憶させるようにしている。他方、フローティングブランキングについては、センサを専用のコントローラやパーソナルコンピュータなどの設定用の機器に接続し、これらの機器でユーザーが検出対象の物体の大きさに応じて決定した遮光光軸数の入力を受け付けて、この入力値をセンサに送信するようにしている。
【0007】
【発明が解決しようとする課題】
この種の多光軸光電センサには、機械の作動などにより生じる危険領域に作業者の身体が近づいたことを検知して機械を停止させるなど、事故防止のための対応をとる目的で使用されるセンサ(以下、「安全用センサ」という。)として使用されるものと、コンベア上を搬送されるワークを検出するなど、安全防止を目的としないセンサ(以下、「非安全用センサ」という。)として使用されるものとがある。
【0008】
安全用センサについては、誤った設定を行うと、人身事故を引き起こす虞があるため、ティーチング作業を慎重に行う必要がある。たとえば前記フィックスブランキングの設定時に、塵芥などのノイズによって遮光状態となるべきでない光軸が遮光状態となって、誤った光軸の無効化設定が行われると、検知時に、この誤設定された光軸に入った人体が入っても、それを検知することができなくなり、人体が危険領域に入る前に機械を停止できなくなる虞が生じる。
【0009】
また人体が検知された場合に、この人体が危険領域に入るまでに機械を停止できるように、センサを危険領域から十分に離れた位置に設置する必要がある。この安全確保のために必要な距離(以下、「安全距離」という。)は、センサが物体検知信号を出力してから機械が停止するまでの間に人体が移動する距離よりも十分に大きく設定しなければならない。特に前記フローティングブランキングを設定する場合、検出可能な物体が大きくなるほど、物体検知にかかる時間が遅れるので、安全距離をより長く設定する必要がある。
したがってこの安全距離が確保できていない状態でフローティングブランキングが設定されると、たとえ人体を検知しても、その人体が危険領域に入る前に機械を停止できない、という事態が生じる。
【0010】
また光軸毎の遮光状態の検知は、前記したように、受光素子により得られた受光量をしきい値と比較することにより行われるが、安全用センサにおいて、このしきい値を自由に設定できるようにすると、安全を確保するには不十分なレベルにまでセンサの感度が低下する虞がある。
【0011】
このようなことから、特に安全用センサに対する設定は、設定の趣旨や内容を熟知している熟練者が行うのが望ましい。しかしながらたとえ熟練者が設定を行っても、フィックスブランキングの設定時にノイズの混入を見落としたり、フローティングブランキングの設定時に安全距離の算出を誤ったり、安全用センサであるのに、非安全用センサであると勘違いして設定を行うなどのミスを起こす虞がある。
【0012】
一方、非安全用センサについては、用途や作業環境などに応じて設定を柔軟に変更できるようにするのが望ましい。また現場サイドでは、複数のセンサに対する設定を1台の機器で行うようにしたいという要望があるので、この要望に応じて、コンソールのような携帯型の設定用機器により各センサの設定を行うことができるようにするのが望ましい。
しかしながらこの種の設定用機器を、安全用センサと非安全用センサとの両方で共用できるようにすると、一般の作業者が、作業を行いやすくするために安全用センサの設定を勝手に変更し、その結果、誤った設定がなされてしまう可能性がある。
【0013】
この発明は上記問題点に着目してなされたもので、多光軸光電センサに検知動作の定義を設定する際に、人為的ミスなどにより誤まった設定がなされるのを防止し、センサの使用目的に応じた正しい設定が行われるようにすることを目的とする。
【0014】
【課題を解決するための手段】
この発明が適用される多光軸光電センサは、長手形状の機体を有する投光部および受光部を、投受光面を対向させて配備して成る。投光部および受光部の内部には、それぞれ複数の投光素子、複数の受光素子が機体の長手方向に沿って配備されるほか、投受光動作を制御するための制御回路や通信回路などが組み込まれている。各通信回路は、通信線を介して接続されており、この通信線を介した信号のやりとりにより、各光軸を順に有効化して遮光状態を検知し、その検知結果を出力する。
【0015】
この発明にかかる設定用の機器は、上記の多光軸光電センサに接続されて、検知動作の定義を設定するためのものである。ここでいう「検知動作の定義」とは、前記フィックスブランキングやフローティングブランキングのほか、各光軸の遮光状態を判断するためのしきい値,検知信号として出力される信号の種類,外部入力信号(センサと機械側の駆動系との間に介在させるリレーからの信号など)を受け付けるか否かなど、センサの検知動作に関わる種々の条件についての定義を意味する。
【0016】
設定用の機器は、型式,用途,機能などが異なる複数のセンサに接続可能な機器であって、コンソールのような携帯型の機器であるのが望ましい。ただし、必ずしも多光軸光電センサに専用の設定用機器として構成する必要はなく、ノート型コンピュータや汎用の携帯電子機器に教示用のプログラムを組み込んで設定用機器として使用することもできる。
【0017】
この発明にかかる設定用の機器は、複数種の多光軸光電センサのうちの任意の1つに着脱自由かつ通信可能に接続される接続手段と、事故防止のための対応をとる目的で出力信号が使用される安全用センサ、および前記の目的で出力信号が使用されることのない非安全用センサのいずれに設定するかによって各センサを分類することにより設けられた複数のグループに、それぞれそのグループのセンサの使用目的に適した設定の内容と当該グループに属するセンサの識別情報とを対応づけて記憶するメモリと、前記接続手段により接続されたセンサからそのセンサの識別情報を受信し、その受信情報に基づき前記メモリを照合して前記接続されたセンサの属するグループを判別する判別手段と、前記判別手段が判別したグループに対応づけられて前記メモリに記憶されている設定の内容に基づいて前記検知動作の定義を示す設定データを作成し、この設定データを前記接続されたセンサに送信することにより、前記接続されたセンサへの設定処理を行う設定手段とを、具備する。
【0018】
上記した設定の内容は、各グループに許可された設定項目を示すテーブルとして示すことができる。この発明では、安全用センサおよび非安全用センサについて、それぞれ少なくとも1種類のテーブルを設定することができ、また安全用センサ,非安全用センサについて、それぞれ複数のテーブルを設けることもできる。また1グループにつき1センサと考えて、センサの型式毎に個別にテーブルを設けることも可能である。
【0019】
また各グループ毎のテーブルを設定する代わりに、各種設定項目につき、それぞれ各グループ毎にその項目にかかる設定が許可されているか否かを、フラグのようなデータにより示すこともできる。
さらに設定の内容としては、許可された設定項目に限らず、フローティングブランキングにおいて遮光光軸数として設定できる数値範囲や、フィックスブランキングにおいて一連の無効化された光軸による領域の数など、設定における制限をグループ毎に示すこともできる。
【0020】
『センサの識別情報』は、たとえばセンサの型式であって、センサ側を、起動時に自発的にデータ送信を行うように構成し、接続機器側で、センサからのデータ送信を受け付けるようにして、センサの所属するグループを示すデータを取り込むことができる。ただし、接続機器側において、センサにデータ送信を求めるコマンドを送り、このコマンドに対するセンサからの応答を受け付けるようにすれば、センサが稼働している時でも、適宜、設定を変更することが可能になる。
【0021】
上記構成によれば、センサから受信した識別情報によりそのセンサの所属するグループを判別し、このグループに対応した設定の内容に基づいてセンサへの設定処理を行うので、作業者のミスにより、安全用センサに事故防止に適さない設定が行われるのを防止することができる。
【0022】
好ましい態様によれば、前記メモリに記憶される設定の内容のうち、安全用センサが属するグループに対する設定の内容に関して、非安全用センサが属するグループに許可されている所定の設定項目についての設定が禁止される。
この態様が適用される設定項目として、たとえば光軸の遮光状態を判別するためのしきい値の変更があげられる。この場合、検知レベルを維持して安全を確保するために、安全用センサについては、検知レベルを引き下げる虞のある設定を禁止するのが望ましい。他方、非安全用センサについては、使用目的などに応じて、しきい値をある程度変更できるようにして、使い勝手を向上することができる。
【0023】
また上記構成の接続用機器においては、判別手段が接続されているセンサを安全用センサのグループに属すると判別したとき、設定手段による処理が行われている間、このセンサからの信号が物体を検知したときと同様の状態になるように設定するためのコマンドを、前記接続されているセンサに送信する手段を、さらに具備させるのが望ましい。このようにすれば、安全用センサに対する設定処理時には、本来の物体検知状態と同様に機械の動作を停止させるなどの処理が行われるので、設定処理中の事故を防止でき、安全な環境下で設定作業を進めることができる。
【0024】
他の好ましい態様のセンサは、設定データを入力するための操作部をさらに備える。またメモリには、前記安全用センサのグループに対し、センサから危険領域までの間に確保すべき安全距離について所定の制限値が記憶されており、前記設定手段は、前記接続されたセンサが前記判別手段により安全用センサのグループに属すると判別され、かつ前記操作部において、このセンサから物体検知信号を出力する場合の最小の遮光光軸数を入力する操作が行われたとき、当該センサから検知エリアに入った物体に対する応答時間および光軸間の間隔を表すパラメータを入力し、これらのパラメータを用いて前記操作部から入力された遮光光軸数に対応する安全距離を算出し、算出された安全距離が前記制限値を下回る場合には、前記入力された最小の遮光光軸数をセンサに設定しないように構成される。
【0025】
上記構成の設定用機器によれば、フローティングブランキングの設定時に、ユーザーの入力した遮光光軸数に対応する安全距離を算出するためのパラメータを取り込んで安全距離を算出し、その算出結果により適正な安全距離が確保されているか否かを判別する。このようにユーザーの入力したデータを教示データとしてセンサに設定する場合に、センサ側から取り込んだパラメータにより教示データの適否を判別した上で教示データを確定するので、人為ミスにより誤った設定が行われるのを防止することができる。
【0026】
他の好ましい態様のセンサでは、前記メモリは、無効光軸およびこの無効光軸の集合により形成される無効領域の数について、所定の制限値が格納される。また、前記設定手段は、接続されているセンサに投受光動作を行わせて、遮光状態となった光軸を無効に設定するための設定データを作成したとき、この設定データによる無効光軸および無効領域の数をそれぞれ前記メモリ内の対応する制限値と比較し、いずれかの数が制限値を上回る場合には、前記作成された設定データをセンサに送信しないように構成される。
【0027】
上記構成によれば、フィックスブランキングの設定時に、ノイズの混入により無効化されるべきでない光軸が無効化されていることに気づかずに設定を行おうとするなど、制限値を超えた設定が行われる場合に、この設定データのセンサへの送信が禁止されるので、ノイズにより誤った設定が行われるのを防止することができる。
【0028】
さらに好ましい態様の接続機器には、前記メモリに、各グループに対応づけられる情報および前記設定手段の動作に関するプログラムを含む電子データが格納され、電子データの改訂版を具備する機器からその改訂された電子データの送信を受け付ける手段と、受け付けた電子データにより前記メモリのデータを書き換える手段とが、設けられる。
【0029】
なお、上記の電子データとは、検知動作の定義を教示する上での処理手順を示すプログラムのほか、前記設定テーブルなどの固定データを含むが、必ずしも全てのプログラムや固定データが変更された場合に限らず、一部のプログラムまたはデータが変更された場合も、データが改訂されたものと考えることができる。また前記改訂されたデータを具備する機器(パーソナルコンピュータなど)からのデータ送信を受けるには、この機器と設定用機器とを通信線を介して接続するか、無線による通信によって機器間でデータをやりとりできるように構成する必要がある。
このような構成によれば、新たに型式の異なるセンサが販売されたり、センサへの設定の内容が変更されても、接続用機器を買い換える必要がなく、変更に簡単かつ速やかに対応することができる。
【0030】
【発明の実施の形態】
図1は、この発明の一実施例にかかる多光軸光電センサの構成を示す。
この多光軸光電センサSは、複数の投光素子11が配備された投光部1と、前記投光素子11と同数の受光素子21が配備された受光部2とを、投受光面を対向させて配備したものである。投光部1には、前記投光素子11のほか、各投光素子11を個別に駆動する駆動回路12,光軸順次選択回路13,制御回路16,通信回路17,電源回路18などが組み込まれる。また受光部2には、前記受光素子21のほか、各受光素子21毎のアンプ22およびアナログスイッチ23,光軸順次選択回路25,制御回路26,制御回路26への入力用のアンプ24,通信回路27,電源回路28などが組み込まれる。
【0031】
投受光部1,2の各制御回路16,26は、CPUやメモリを具備するマイクロコンピュータなどにより構成される。各通信回路17,27は、RS485に準拠する通信インターフェースであって、同じくRS485に対応するタイプの2本の通信線6A,6Bを介して、投受光部1,2間における信号のやりとりを制御する。
【0032】
各電源回路18,28は、共通の外部電源5(直流電源)から電源の提供を受け、それぞれ同じ装置内(投光部1または受光部2内)の各部に電源を供給する。なお、外部電源5から各電源回路18,28への電源供給は、2本の電源ライン7A,7Bをそれぞれ分岐させて、一方を投光部1側の電源回路18に、他方を受光部2側の電源回路28に接続することにより行われる。したがって投光部1と受光部2とは、前記通信線6A,6Bおよび電源ライン7A,7Bにより接続された状態となる。
【0033】
投光部1側の制御回路16は、所定の時間毎にタイミング信号を発生させて、これを光軸順次選択回路13に与える。光軸順次選択回路13は、各投光素子11の駆動回路12を順に制御回路16に接続するためのゲート回路であって、この回路における切替処理により、前記制御回路16からのタイミング信号が各駆動回路12に順に与えられて、各投光素子11の順次発光動作が実現する。
さらに前記タイミング信号は、通信回路17,27を介して受光部2側の制御回路26にも与えられる。
【0034】
受光部2において、各受光素子21からの出力(以下、受光出力」という。)は、アンプ22,アナログスイッチ23を介して制御回路26への入力ライン29に送出される。制御回路26は、投光部1からのタイミング信号を光軸順次選択回路25に送って、各光軸のアナログスイッチ23を順にオン動作させ、発光した投光素子11に対応する受光素子21からの受光出力を取り込むとともに、各受光出力をそれぞれ所定のしきい値と比較するなどして、各光軸が遮光状態であるか否かを判別する。すべての光軸に対する受光出力の取り込みが終了すると、制御回路26は、光軸毎の判別結果をまとめて最終的な判別処理を行って、その判別結果を示す物体検知信号を生成し、これを図示しない出力回路を介して外部に出力する。
【0035】
さらにこの実施例では、前記投受光部1,2間において、分岐コネクタ4により通信線6A,6Bや電源ライン7A,7Bを中継しつつ、これらのラインを外部に分岐させて、設定用のコンソール3を接続するようにしている。
【0036】
前記コンソール3は、稼働前のセンサSをティーチングモードにして、前記したフィックスブランキングやフローティングブランキングなど、種々の検知動作の定義を設定するためのものである。
図2は、前記コンソール3の外観を示す。機体の前面には、数値やメッセージなどを表示するための表示器31A,31Bのほか、コンソール3に設定されている制御モードを報知するための複数の報知用ランプ32や押釦キー33などが設けられる。また機体の上面には、前記分岐コネクタ4からの接続ケーブル57を接続するための接続端子(図示せず。)が設けられる。
【0037】
前記押釦キー33は、センサSをティーチングモードに設定したり、設定用のデータやコマンドを入力するためのものである。表示部31A,31Bは、押釦キー33の操作内容に応じたデータを表示したり、フィックスブランキングの設定時などに、光軸毎の受光量、または遮光状態の検知結果を必要に応じて表示したり、ティーチング済の設定データを呼び出して表示するのに用いられる。
【0038】
図1に戻って、前記コンソール3の機体内部には、マイクロコンピュータによる制御回路36のほか、通信回路37,電源回路38,表示回路34,入力部35などが組み込まれる。通信回路37は、投受光部2の通信回路と同様に、RS485規格のインターフェースであり、前記分岐コネクタ4により分岐された通信線6A,6Bに接続される。電源回路38は、分岐コネクタ4により分岐された電源ライン7A,7Bに接続されており、外部電源5からの電源を取り込んでコンソール3内の各部に供給する役割を果たす。
【0039】
表示回路34は、前記機体前面の表示器31A,31Bに情報を表示したり、報知用ランプ32を点灯させるための制御を行う表示用インターフェースである。また入力部35は、押釦キー33による入力を受け付けて、その入力内容を制御回路36に伝える入力用インターフェースである。
【0040】
前記制御回路36は、CPUのほか、プログラムや後記する設定項目テーブルなどが書き込まれたフラッシュROMを具備するもので、入力部35を介して押釦キー33からの入力を取り込みながら、前記投光部1及び受光部2との通信によりセンサSに各種検知動作の定義を設定したり、センサSから現在の設定内容を取り込んで表示器31A,31Bに表示させるなどの処理を行う。
【0041】
上記構成によれば、投光部1,受光部2,およびコンソール3の各通信回路17,27,37にRS485規格のインターフェースを組み込むことによって、各機器間においてそれぞれ個別に双方向通信を行うように設定されるので、コンソール3では、投光部1,受光部2のいずれに対しても、個別の設定処理を行うことができる。物体検知に関わる定義の殆どは、受光部2側の制御回路26に設定されるが、フィックスブランキングのように、実際の検知処理結果を登録する必要のある処理では、投光部1にコマンドを送信して投光動作を行わせながら、受光部2側で得られた検知結果を取り込んで、光軸の無効化処理などを行い、その結果を受光部2に設定することになる。
【0042】
図3は、前記投受光部1,2の外観を分岐コネクタ4の取り付け例とともに示す。なお、この図3上では投受光部1,2の各部材の構成を示す符号にP,Qを付けているが、以下の説明では、投受光部1,2の両方の構成に言及する場合は、各構成に共通する数字部分のみを示すことにする。
【0043】
この実施例の投光部1および受光部2の機体本体は、両端が開口された長手形状のケース体51により構成される。ケース体51の両端開口部には、それぞれ蓋体54が密封固定され、各蓋体54の上面には、それぞれ接続用のコネクタ52,53が設けられている。これら上下位置のコネクタ52,53は、前記通信線6A,6Bや電源ライン7A,7Bのほか、入出力用の複数の信号線を中継するためのもので、下方のコネクタ53は雄コネクタ,上方のコネクタ52は雌コネクタとして、それぞれ同一径に形成される。
【0044】
また各コネクタ52P,52Q,53P,53Qの端子配置はいずれも同様であるが、各端子が扱う信号には、投光部1,受光部2によって若干の違いがある。ただし、前記通信線6A,6Bおよび電源ライン7A,7Bについては、いずれのコネクタでも同じ位置の端子を使用する。
【0045】
投光部1および受光部2は、それぞれ下方の雄コネクタ53P,53Qがケーブル58を介して図示しない配線基盤などに取り付けられる。前記分岐コネクタ4は、T字コネクタであって、コネクタ53P,53Qのいずれか一方(図示例では、受光部2側のコネクタ53Q)とケーブル58Qとの間で信号を中継するとともに、分岐路は、前記コンソール3への接続用ケーブル57に接続される。なおこの分岐コネクタ4により分岐されるのは前記通信線6A,6Bおよび電源ライン7A,7Bのみであり、その他の信号線については、接続用コネクタ53からケーブル58への中継用の信号路のみが形成される。
なお、図中、55a,55b,55cは、各部材の接続を固定させるためのローレット、56,59は中継用のコネクタである。
【0046】
前記したように、投受光部1,2の各雄コネクタ53P,53Qは、同一径であり、通信線6A,6Bおよび電源ライン7A,7B用の端子が同じ位置に配置されているので、分岐コネクタ4は、図4に示すように、投光部1および受光部2のいずれのコネクタ53P,53Qにも接続することができる。
【0047】
また分岐コネクタ4の中継用の各接続口は、一方が雄コネクタ53に、他方が雌コネクタ52にそれぞれ対応するように形成されている。したがって分岐コネクタ4は、上方の雌コネクタ52P,52Qにも接続することができるので、センサの設置場所などの条件に応じて接続に最適のコネクタを選択して分岐コネクタ4を取り付けることができ、コンソール3の接続や取り外しをきわめて容易に行うことが可能となる。また分岐コネクタ4自身も簡単に取り外すことができるので、センサの設置場所を変更する場合などにも容易に対応することができる。
【0048】
さらにコンソール3は、必要に応じて分岐コネクタ4に接続することができるので、複数のセンサが配備される環境においても、各センサに同様の分岐用コネクタを取り付けておけば、共通のコンソール3を使用することができ、設定用の機器にかかるコストを削減することができる。このことから、この実施例では、コンソール3に、安全用センサ,非安全用センサの両方のタイプに対応する設定を行うためのプログラムを組み込んで、各種センサに対する設定を1台のコンソール3で行うようにしている。
【0049】
さらにこのコンソール3は、設定用のプログラムが変更されたり、新しい型式のセンサが発売された場合にも継続して使用できるように、適宜、制御回路36のプログラムや固定データを書き換えることができるように構成される。
【0050】
この書き換え処理は、図5に示すように、コンソール3を、RS485・RS232C変換器80を介して、バージョンアップ用の電子データを具備するパーソナルコンピュータ81に接続した上で、コンソール3の動作モードを後記する書き換えモードに切り替えて行われる。
なお、バージョンアップ時のコンソール3の通信回路37は、専用ケーブルとして形成された通信線61によって変換器80に接続される。また電源回路38も、独立の電源ライン71によって外部電源5´に接続される。
【0051】
つぎにこの実施例のコンソール3による処理の内容を、具体的に説明する。なお、このコンソール3による通信や設定は、投光部1または受光部2、もしくは投受光部1,2の両方に対して行われるので、以下の説明では、設定処理の対象を投受光部1,2を含む単体のセンサSとして説明する。
【0052】
この実施例のコンソール3は、安全用,非安全用のいずれのセンサにも適用できるように、前記制御回路36内に各種センサ毎の設定項目テーブルを組み込んでいる。各設定項目テーブルは、それぞれ安全用センサ,非安全用センサに対して設定が許可された項目を示すもので、安全用センサ対応のテーブルと非安全用センサ対応のテーブルとに共通する項目もあれば、いずれか一方のテーブルにのみ設けられる項目もある。
【0053】
たとえば、前記フィックスブランキングやフローティングブランキングの設定については、安全用,非安全用のいずれのセンサの設定項目テーブルにも含まれている。一方、光軸毎の遮光状態を判別するためのしきい値の変更については、非安全用センサ対応のテーブルには設定項目として含まれているが、安全用センサ対応のテーブルでは、センサの感度が低下することがないように、設定項目からはずし、センサSにあらかじめ設定されたしきい値を保持するようにしている。
なお、安全用センサ,非安全用センサの各設定項目テーブルには、それぞれ複数の型式のセンサを対応させることができ、また前記書き換えモードを利用して、新たな型式のセンサを追加することもできる。
【0054】
この実施例のコンソール3は、ユーザーが誤って目的のセンサに対応しない設定項目テーブルを呼び出してティーチングを行うことがないように、接続されたセンサSからそのセンサSの型式を取り込み、この型式に応じた設定項目テーブルを自動的に呼び出すようにしている。また各種設定項目について、あらかじめ設定値の上限となる制限値を登録しておき、一般ユーザーがこの制限値を越える設定を行った場合は、その設定値がセンサに送信されるのを禁止するようにしている。特にフローティングブランキングを設定する場合には、安全距離が確保されていない状態での設定が行われることがないように、接続されたセンサSの光軸数,光軸間の間隔,検知エリアに入った物体を検知して検知出力を行うまでの応答時間など、安全距離を算出するためのパラメータ(以下、「センサパラメータ」と総称する。)を取り込んで設定された遮光光軸数に対応する安全距離を算出し、この算出結果が制限値を越えていないかどうかを確認するようにしている。
【0055】
なお、上記の設定値の適否を判別するための制限値には、後記する通常モードFの機能を用いて、現場管理者などの特定のユーザーにより入力された値が採用される。ただし制限値はこれに限らず、あらかじめ制御回路36内にデフォルトの値を設定することもできる。またこのデフォルトの制限値を、前記設定項目テーブル内に組み込むようにしてもよい。
【0056】
またこの実施例のセンサSには、複数種の動作モードが設定されており、コンソール3からの指令に応じて制御モードを切り替えることによって、適宜、通常の検知動作を終了して設定変更を受け付けるようにしている。ただし一連の投受光処理の途中でモードを切り替えると、遮光状態にあるのにこの検知が出力されずにモードが切り替わり、危険状態が発生する虞があるので、後記するように、センサS側の投受光処理が終了した時点でモードを切り替えるようにしている。
【0057】
図6は、センサSに設定される動作モードと各モード間の関係とを概略的に示す。この実施例のセンサSには、通常モード,設定モード,読み書きモードの3つの動作モードが存在する。このうち通常モードは、通常の物体検知処理を行うためのモードであり、読み書きモードは、コンソール3からティーチングのためのコマンドを受け付けてこれを実行するためのモードである。設定モードは、通常モードと読み書きモードとの中間に位置するモードであって、通常モードと同様に投受光動作を行っているが、検知出力については、通常モードにおいて物体を検知した時と同様の状態になるように設定されている。(たとえば、物体検知時の出力信号のレベルがLレベルであれば、同様にLレベルの信号を出力する。)
【0058】
この実施例のセンサSは、電源が立ち上げられた直後に通常モードが設定されるが、コンソール3から設定モードへの突入命令を受け付けると、設定モードに切り替えられる。さらに設定モードにおいては、コンソール3からの読み書きモードへの突入命令によって読み書きモードに切り替えられ、読み書きモードにおいて、コンソール3からの読み書きモード終了命令を受け付けると、読み書きモードを終了して設定モードに戻る。また設定モードにおいて、コンソール3から設定モード終了命令を受けると、システムをリセットすることによって、電源が立ち上げられた直後の通常モードに戻る。
【0059】
図7はコンソール3側に設定される動作モードと各モード間の関係を示す。このコンソール3には、センサSへの設定用機器として動作するための通常モードと、前記したプログラムや設定データの更新のための書き換えモードとの2種類のモードが存在し、通常はディップスイッチをオフにすることにより、通常モードが設定される。
【0060】
通常モードは、図中、A〜Fの6つの動作モードに細分化される。
通常モードAは、センサSから前記した型式やセンサパラメータなどのデータ送信を受け付けてセンサSの種類を判別するモードであり、通常モードBは、判別した型式に応じて、ティーチング時のセンサS側の動作モードを変更する処理を行うモードである。
【0061】
通常モードCは、前記押釦キー33によるユーザーの入力操作に待機するモードであり、このモードにおいてユーザーの入力がなされると、その入力内容に応じて以下のモードD,E,Fのいずれかが実行され、再び、通常モードCに戻るように設定されている。
【0062】
通常モードDは、前記通常モードCにおいて、所定の設定項目についての設定を行う設定命令(既に設定されたデータを変更する命令も含む。)が入力された場合に、この命令を実行するモードであって、ユーザーの指定した設定項目について、センサ側に入力された設定値を登録させる処理を行う。通常モードEは、通常モードCにおいて、センサSに現在設定されている設定値をモニタする命令が入力された場合に、この命令を実行するモードであって、センサS側からユーザーの指定した設定項目についての設定値を取り込んで、これを前記表示器31A,31Bに表示するなどの処理を行う。
【0063】
さらに通常モードFは、ユーザーがティーチングのための設定値の制限値を入力したときに、これを受け付けてメモリ内に登録したり、ユーザーがティーチング終了後にセンサSを書込みロック状態に設定するためのコマンドを入力したときに、これを受け付けてセンサSを設定値の変更が不可能な状態に設定するなど、設定値の変更に制約を設けるための処理を行うためのものである。なお、この通常モードFについては、現場管理者など特定のユーザーの入力のみを受け付けるように、まずパスワードの登録を行って、その後、登録されたパスワードの入力を伴うコマンドのみを受け付けるようにするのが望ましい。
【0064】
センサSへの設定を行う際には、まず通常モードAにおいて接続されているセンサSから型式を取り込んでそのセンサSの種類を判別した後、通常モードBにおいて、前記センサSに、そのセンサSの種類に応じた動作モードを設定する。以下、通常モードCにおいてコマンドの入力がなされる都度、そのコマンドの内容に応じて通常モードD,E,Fのいずれかを実行することによってセンサSに各種項目についての設定を行うことになる。
【0065】
なお、コンソール3側の通常モードA〜Fにおいて、センサSからデータを取り込んだり、センサSに設定データやコマンドを送信するためには、事前にセンサSに設定モード突入命令や読み書きモード突入命令を送ってセンサS側の動作モードを読み書きモードに切り替えておく必要がある。ただし、センサS側が通常の検知動作を行っている途中にモードの切替が行われると、センサSの検知エリアに物体が入っているのにこれを検知できない危険状態が生じる虞があるので、この実施例では、モードの切替えについては、センサS側に権限をもたせている。具体的には、1サイクル分の投受光処理が終了した時点で、センサS側がコンソール3に、モードを切り替えるかどうかを確認し、コンソール3からの切替の指示があれば、つぎのモードに移行するようにしている。
【0066】
またこの実施例では、ティーチング時には、コンソール3上で設定データの内容を決定してからセンサSに設定データやコマンドを送信することになるので、センサSは、コンソール3からの送信を受けるまでは待機状態となる。この実施例では、設定対象のセンサSが安全用センサである場合には、この待機状態下でのセンサを前記設定モードにすることにより、センサSからの検知出力を物体を検知したときと同じ状態として、機械の動作を止めるなどの安全対策をとるようにしている。他方、設定対象のセンサSが非安全用センサである場合には、前記待機状態下の空き時間にも物体検知ができるように、前記センサSを通常モードに設定するようにしている。
【0067】
図8は、前記センサSの3つのモードにおける処理手順を示す。(図中、各ステップは「st」と示す。)なお、ここに示す手順は、安全用センサ,非安全用センサのいずれについても共通である。
まず電源が立ち上げられると、通常モードが開始されて、1サイクル分の投受光処理が実行される(st1)。なお、ここでは図示していないが、この1サイクル分の投受光処理により物体を検知した場合には、物体検知状態を示すレベルに設定された検知信号を出力する。
【0068】
つぎのst2では、コンソール3に対し、設定モードに突入するか否かを確認するための信号を送信するようにしている。この信号に対し、コンソール3から後記する突入命令を受け取ると、st3が「YES」となり、通常モードを終了して設定モードを開始する。
【0069】
設定モードでは、まずst4において、受光部2からの検知出力を物体検知状態を示すレベルに設定した後、つぎのst5において、1サイクル分の投受光処理を実行する。
つぎのst6では、コンソール3に対し、読み書きモードに突入するか否かを確認するための信号を送信するようにしている。この信号に対し、コンソール3から突入命令が返送されると、st7が「YES」となり、設定モードを終了して読み書きモードへと進む。
【0070】
一方、前記読み書きモードへの突入確認用の信号に対し、コンソール3から設定モードの終了命令が返送されると、st8が「YES」となってst9に進み、ソフトウェアリセット命令を実行することによって設定モードを終了し、通常モードへと戻る。
【0071】
読み書きモードは、投受光処理を行わなずに、コンソール3からのコマンドに応じた処理のみを行うもので、コンソール3からコマンドが送信されると、st10からst11を経由してst12に進み、コマンドに応じた処理を実行する。ただし送信されたコマンドが読み書きモードの終了命令である場合は、st11が「YES」となり、読み書きモードから設定モードへと戻る。
【0072】
図9は、前記コンソール3が起動してからティーチング処理開始に至るまで(前記図7の通常モードCの段階に至るまで)の手順を示す。(図中、各ステップは「ST」と示す。)
まず起動時には、ST1において、ディップスイッチをチェックする。ここでディップスイッチがオンであれば、ST1が「YES」となって図示しないプログラムの書換え処理手順を実行する。一方、ディップスイッチがオフであれば、以下、センサSからの確認信号に待機する。
【0073】
接続されたセンサSが通常モード下にあれば、前記図8のst1〜3に示したように、このセンサSからは、1サイクル分の投受光処理を行う毎に、設定モードへの確認用の信号が送信される。この信号を受け付けると、ST2が「YES」となってST3に進み、前記センサSからの確認信号に対し設定モードへの突入命令を送信する。
【0074】
送信を終えた後は、再びST2に戻って、センサSからの再度の信号送信に待機する。先の突入命令により設定モードに切り替えられたセンサSは、図8のst5,6において、1サイクル分の投受光処理を行う毎に読み書きモードへの突入確認用の信号を送信しているから、この信号を受け付けると、ST4からST5に進み、前記センサSからの確認信号に対し読み書きモードへの突入命令を送信する。
【0075】
この突入命令を受けたセンサSは、前記したように読み書きモードに切り替えられてコンソール3からのコマンドに待機するようになる。コンソール3側では、ST6において、前記読み書きモードに入ったセンサSに対し、型式やセンサパラメータの送信を要求するコマンドを送ってこれらのデータを取り込み、さらにつぎのST7で前記取り込んだデータからセンサの種類を判別する。
【0076】
つぎに、ST8では、センサSに読み書きモード終了命令を送信して、センサSを読み書きモードから設定モードに戻す。ここで前記ST7において判別したセンサSの種類が安全用センサであれば、つぎのST9が「YES」となってST10に進み、前記2種類の設定項目テーブルのうち、安全用センサ対応の設定項目テーブルの方を選択する。
【0077】
一方、センサSが非安全用センサである場合は、ST9からST11に進んで、前記センサSからの読み書きモードへの突入確認用の信号送信に待機する。ここで信号が送信されると、ST11からST12に進んで、設定モード終了命令を送信することにより、センサS側に、本体をリセットして通常モードに復帰する処理を行わせる。
【0078】
こうしてセンサSを通常モードに復帰させると、つぎのST13では、前記2種類の設定項目テーブルのうち、非安全用センサ対応の設定項目テーブルの方を選択する。
【0079】
このように、センサSから取り込んだ型式に基づき、設定項目テーブルを選択するとともに、センサSの種類に応じてセンサSの動作モードを設定モードまたは通常モードのいずれかに設定する。この設定が終了すると、ST14に進み、前記表示器31A,31Bに選択した設定項目テーブルの設定項目を表示して、ユーザーの項目選択に待機する。
【0080】
なお、安全用センサについては、ST10の処理によりティーチング時に設定モードを維持して安全を確保する必要があるので、ティーチング時に設定やモニタのためのコマンドを送信する際に、設定モードから読み書きモードに切り替えてコマンドを送信した場合は、速やかに設定モードに復帰するのが望ましい。(勿論、読み書きモード下においても、センサの検知出力を物体検知時と同じ状態に設定する必要がある。)
【0081】
一方、非安全用センサについては、前記ST12の処理により通常モードに復帰させてティーチング時の待機時間中に検知動作を行わせているから、設定やモニタのためのコマンドを送信する際には、まず通常モードの投受光処理が終了するのを待って設定モードに切り替え、さらに設定モードから読み書きモードに切り替えてコマンドを送信し、しかる後に通常モードに復帰させる必要がある。
【0082】
つぎにコンソール3による設定処理の具体例として、代表的なティーチングであるフィックスブランキングとフローティングブランキングの設定にかかる手順を順に説明する。図10は、フィックスブランキングの設定時の手順を、ST21〜32の符号により示し、図11は、フローティングブランキングの設定時の手順を、ST41〜52の符号により示す。
【0083】
まずフィックスブランキングの設定においては、ユーザーが設定項目を選択したことに応じて、前記表示器31A,31Bにティーチング処理開始の確認用メッセージを表示する。この表示に対し、ユーザーが確定操作を行うと、ST22からST23に進み、センサSから各光軸の遮光状態の検知結果を取り込んで、各光軸が遮光または非遮光のいずれの状態にあるかを判別する。
【0084】
つぎのST24では、遮光状態と判定された光軸を無効光軸として設定する。なお、光軸を無効化する処理は、光軸毎に設定されたフラグをオン設定する処理により行うことができる。
【0085】
つぎにST25で、表示器に、設定されたデータの送信を行うかどうかを確認するメッセージを表示する。ここでユーザーが確定操作を行うと、ST26が「YES」となり、以下の判別処理を順に実行する。
【0086】
ST27では、センサSが書込みロック状態に設定されているかどうかをチェックする。つぎのST28では、前記無効化処理により、検知エリアに設定された無効領域(1または複数の連続する光軸が無効化されている領域)の数を制限値N1と比較する。さらにつぎのST29では、無効化された光軸の総数を制限値N2と比較する。
【0087】
上記の判別処理において、センサSが書込みロック状態ではなく、無効領域数,無効光軸数のいずれもそれぞれの制限値N1,N2の範囲内にあれば、ST30に進み、各光軸につき前記有効,無効を示すフラグデータをセンサSに送信し、これらデータをメモリ内に登録させる。
【0088】
一方、センサSが書込みロック状態に設定されているか、無効領域数または無効光軸数が制限値N1,N2を越えている場合は、ST31に移行し、前記表示器31A,31Bに「送信不可」を示すメッセージなどを表示した後、ST22に戻って再入力に待機する。ここでユーザーが再度、ティーチング開始のための確定操作を行うと、再び前記ST23以下の処理により、各光軸毎の検知結果を取り込んで、設定データを作成し直すことになる。よって最初の設定時に、ノイズの混入により無効領域数または無効光軸数が制限値を越えてセンサSへの教示が禁止されても、再度の検知結果の取り込みにより適正な設定データが作成された場合は、ST30に進んで、センサSに設定データが送信されることになる。
【0089】
なお、ST21またはST25の確認メッセージに対し、ユーザーが確定操作を行わずにキャンセル操作を行った場合、または、ST31の「送信不可」のメッセージに対してキャンセル操作を行った場合には、ST32またはST33が「YES」となり、設定処理は中止される。
【0090】
つぎにフローティングブランキングの設定においては、ユーザーが設定項目を選択したことに応じて、前記表示器31A,31Bに、遮光光軸数を入力する画面を提示する(ST41)。ここでユーザーが遮光光軸数を入力すると、ST42からST43に進み、入力された数を遮光光軸数として決定した後、つぎのST44で、前記表示器31A,31Bに、設定データの送信を行うかどうかを確認するメッセージを表示する。
【0091】
このメッセージに対し、ユーザーが確定操作を行うと、ST45からST46に進んで、センサSが書込みロックされているかどうかを判別する。さらに書込みロックがなされていない場合は、つぎのST47において、前記遮光光軸数を制限値N3と比較する。
【0092】
遮光光軸数が制限値N3以内であれば、ST47からST48に進み、前記センサSから型式とともに取り込んだセンサパラメータを用いて、前記遮光光軸数に対応する安全距離を算出する。
この安全距離をSとすると、Sは、つぎの(1)式により算出される。
S=K×T+C ・・・(1)
【0093】
上記(1)式において、Kは検出物体(たとえば手)の移動速度であり、あらかじめコンソール3に設定された標準的な値が使用される。Tは、センサSが物体を検知してから機械が停止するまでの応答時間、すなわちセンサSから取り込んだセンサSの応答時間とあらかじめ入力された機械の応答時間(またはデフォルトの応答時間)とを加算した値に相当する。Cは、物体がセンサの検知エリアに入ってからセンサに検知されるまでにかかる時間に応じて設定されるオフセット値であって、センサから取り込んだ光軸間の間隔と前記遮光光軸数とに基づき、センサが検知可能な最小の物体の大きさを求め、この物体が大きくなるほどCの値も大きくなるように設定される。
【0094】
たとえば、前記図15のようにプレス機に入り込む手を検知対象とする場合、フローティングブランキングの遮光光軸数としてユーザーの指の厚みに対応する光軸数が設定されている場合は、検知エリアに入ったユーザーの手をすぐに検知することができるので、Cの値を小さくすることができる。これに対し、遮光光軸数がユーザーの腕の厚みに対応する数に設定されている場合は、ユーザーの手が検知されるまでにかなりの時間がかかり、検知された時点でユーザーの指先は、センサSの検知エリアよりかなり先まで進んでいるから、前記Cの値を大きくする必要がある。
【0095】
この実施例では、センサSの応答時間と最小の検知物体を特定するための光軸の間隔とをセンサSから取り込むようにしているので、前記応答時間Tおよびオフセット値Cを正確に求めることができる。
【0096】
よって、ST48で算出された安全距離は、前記遮光光軸数に対応する物体について、安全を確保するのに必要な距離を精度良く反映したものとなる。つぎのST49では、この安全距離を制限値D0と比較する。ここで安全距離が制限値D0以内であれば、ST49からST50に進み、前記遮光光軸数を前記センサSに送信し、設定データとしてメモリ内に登録させる。
なお、前記制限値D0は、前記通常モードFの機能を用いてセンサSの検知領域から危険領域までの実際の距離に所定のオフセット値を加算した値を入力し、制御回路36内に登録しておくのが望ましい。
【0097】
一方、センサSが書込みロックされている場合や、遮光光軸数または安全距離のいずれかが制限値N3,D0を越えている場合は、ST51に進み、前記表示器31A,31Bに「送信不可」を示すメッセージなどを表示した後、ST42に戻って、遮光光軸数の再入力を受け付ける。したがって前回に誤った遮光光軸数が入力された場合も、再入力時に正しい値を入力すれば、その入力値に対してST50までの処理を進めて、前記再入力された遮光光軸数をセンサSに送信して設定することが可能となる。
【0098】
なお、前記ST41の入力画面、ST44の確認メッセージの表示画面、またはST51の「送信不可」のメッセージ表示画面に対してキャンセル操作が行われた場合は、設定処理を中止する。
【0099】
このように、この実施例では、フィックスブランキングやフローティングブランキングにおいて、センサSに設定データを送信する前に、その設定データを制限値と照合することによりノイズや誤入力による誤った設定データがセンサS側に送信されるのを禁止するようにしたから、安全用センサについて、誤った設定により通常モード時のセンサに誤動作が生じるのを防止でき、危険状態が発生するのを防止することができる。
【0100】
特に、フィックスブランキングの設定においては、無効領域および無効光軸数の2つのパラメータを用いて、設定データの適否をチェックするので、ノイズにより誤った光軸が無効化されて物体を正しく検知できない状態になるのを防止することができる。またフローティングブランキングの設定においては、人身事故につながりかねない安全距離をセンサパラメータを用いて精度良く求め、ユーザが入力した設定値の適否を判別するので、不適正な遮光光軸数がセンサSに設定されるのを確実に防止することができる。
【0101】
ところで前記図1〜3の構成によれば、複数のセンサを、両端部のコネクタ52を介して複数接続した場合も、同様に、マルチドロップ通信を行うように構成することができる。したがってこのシステムでも、前記分岐コネクタ4を用いてコンソール3を接続するようにすれば、各センサにそれぞれ個別に検知動作の定義を設定することが可能となる。
【0102】
図12は、複数の多光軸センサ(図中SA,Bの2個のみ示す。)を接続した場合の構成例を示す。なお、この図12では、各投光部1A,1Bおよび受光部2A,2Bの構成のうち、図示しない投受光動作に関わる構成については、いずれのセンサも図1と同様の構成を具備するので図示を省略し、通信に関与する構成(制御回路16,26,通信回路17,27)および電源回路18,28のみを示す。
【0103】
この実施例では、前記両端部の接続用コネクタ52,53を介して各センサSA,Bが投光部毎,受光部毎に連結される。最上位のセンサSAの投光部1Aと受光部2Aとは、図1の実施例と同様に通信線6A,6Bおよび電源ライン7A,7Bによって接続されており、またセンサ間においては、前記接続用コネクタ52,53により、通信線6A,6Bおよび電源ライン7A,7Bがシリアルに中継される。さらに各投受光部の通信回路17,27は通信線6A,6Bに、電源回路18,28は電源ライン7A,7Bに、それぞれ接続されて、各投受光部が一連に接続される。
【0104】
さらにこの実施例では、最上位のセンサSAの投受光部1A,1B間の通信線6A,6Bおよび電源ライン7A,7Bを、前記図1と同様に、分岐コネクタ4により中継するとともに、外部に分岐させて、コンソール3を接続するようにしている。
【0105】
図12の構成によれば、各投受光部1,2およびコンソール3には、それぞれ個別のアドレスが割り当てられるので、センサ間,同じセンサの投受光部1,2間,および各センサとコンソール3との間で、それぞれ個別に双方向通信を行うことができる。
たとえば上位センサから順に検知動作を行うように設定されている場合、上位センサSA側の投光部1Aまたは受光部2Aからつぎに動作すべきセンサの投光部2Aまたは受光部2Bにコマンドを送信することにより、センサ間での検知処理の引き継ぎが行われる。また各センサにおいては、投光部1A,1Bから対応する受光部2A,2Bにあてて各光軸毎のタイミング信号を送信することにより、単体のセンサにおけるのと同様に投受光動作を同期させて、一連の物体検知処理を実行する。また下位のセンサSBの投光部1Bまたは受光部2Bは、上記のセンサSAの投光部1Aまたは受光部2Aに対し、一連の検知動作が終了する都度、自機における最終的な検知結果を出力する。
【0106】
さらにコンソール3が接続された場合は、コンソール3と各センサSA,Bとの間で個別に通信を行って、各センサの型式やセンサパラメータを取り込み、さらにセンサの型式(種類)に応じた動作モードを設定した上で各種の教示を行うことになる。
【0107】
なお、前記したように、各センサの投受光部1,2の接続用コネクタ52,53は、同一径に形成されているので、上記構成における分岐コネクタ4は、図13に示すように、いずれの位置にある接続用コネクタ52,53にも取り付けることができる。したがってユーザーは、これらセンサSA,SBの設置環境や各センサSA,SBの位置関係などに応じて、各接続用コネクタの中からコンソール3を接続するのに最適な場所を選択することができ、利便性を大幅に向上することができる。
【0108】
【発明の効果】
この発明によれば、安全用センサおよび非安全用センサの双方に対する設定を、1台の設定用機器により行うことが可能になる。また設定用機器を1台にしても、安全用センサに対し、誤って、非安全用センサに対応する設定を行ったり、誤った設定値を設定するなど、事故防止に適さない設定が行われるのを防止することができ、センサの使用目的に応じた正しい設定を行うことができる。
【図面の簡単な説明】
【図1】この発明の一実施例にかかるコンソール3と多光軸光電センサとの接続状態を示すブロック図である。
【図2】コンソール3の外観を示す正面図である。
【図3】投受光部の外観および分岐コネクタの取付例を示す正面図である。
【図4】分岐コネクタの取付例を示す正面図である。
【図5】コンソール3のプログラムや設定データを書き換える際の構成を示すブロック図である。
【図6】センサ側の動作モードと各モード間の関係とを示す説明図である。
【図7】コンソール3側の動作モードと各モード間の関係とを示す説明図である。
【図8】センサの各動作モードにおける処理手順を示すフローチャートである。
【図9】コンソール3が起動してからティーチング可能な状態になるまでの処理手順を示すフローチャートである。
【図10】フィックスブランキングの設定におけるコンソール3の処理手順を示すフローチャートである。
【図11】フローティングブランキングの設定におけるコンソール3の処理手順を示すフローチャートである。
【図12】複数のセンサを接続する場合の設定用システムの構成を示すブロック図である。
【図13】分岐コネクタの取付例を示す正面図である。
【図14】フィックスブランキングの概念を示す説明図である。
【図15】フローティングブランキングの概念を示す説明図である。
【符号の説明】
S 多光軸光電センサ
1 投光部
2 受光部
3 コンソール3
6A,6B 通信線
16,26,36 制御回路
17,27,37 通信回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a multi-optical axis photoelectric sensor that detects a light blocking state for each of a plurality of optical axes and outputs the detection result, and more particularly to an apparatus for setting the definition of the detection operation for the sensor.
[0002]
[Prior art]
A general multi-optical axis photoelectric sensor includes a light projecting unit in which a plurality of light projecting elements are arranged in a row and a light receiving unit in which the same number of light receiving elements as the light projecting devices are arranged in a row. They are arranged to face each other in a one-to-one relationship. The light projecting unit and the light receiving unit are connected via a communication line, and each light projecting element sequentially emits light on the light projecting unit side, and from the light receiving element corresponding to each light projecting element on the light receiving unit side. By taking out the amount of light received at the timing synchronized with the light emitting operation of the light projecting element, the light shielding state for each optical axis is detected in order. Further, the light receiving unit determines whether or not there is an object in the detection area using the detection result for each optical axis, and outputs a signal indicating the determination result (hereinafter referred to as “object detection signal”).
[0003]
This type of sensor is normally set to turn on an object detection signal when a light blocking state is detected in any one optical axis. However, depending on the location of the sensor and the intended use of the sensor, the details of the detection operation, such as invalidating the detection results for a specific optical axis or turning on the object detection signal only when a certain number of optical axes are blocked, In some cases, various conditions must be set.
[0004]
FIG. 14 is a specific example that requires invalidation of a specific optical axis. In the figure, 101 indicates a light projecting unit, 102 indicates a light receiving unit, and 103 indicates a machine. In this example, when the light projecting / receiving units 101 and 102 are installed in accordance with the dangerous area of the machine 103, as shown in FIG. 14 (1), a part of the optical axis (indicated as P1, P2, and P3 in the figure). ) Is cut off by the machine 103, it is impossible to perform a normal detection operation under normal settings. In such a case, as indicated by a dotted line in FIG. 14 (2), each of the blocked optical axes P1, P2, and P3 is invalidated in advance, and setting is performed so that detection is performed only with an effective optical axis.
The process of invalidating a part of the optical axes in this way is called “fixed blanking”.
[0005]
FIG. 15 shows a second example that requires setting of the number of light-shielding optical axes. The multi-optical axis photoelectric sensor in this example is a type of press machine that inserts a workpiece and performs bending. When the operator's hand approaches a dangerous area, the object detection signal is turned on to stop the press operation. Is set to However, according to the normal detection operation, the press operation stops even when the optical axis is shielded by a workpiece that is thinner than the operator's hand. It is necessary to set so that an object detection signal is output when the shaft is in a light shielding state. (Such a process for setting the reference number of light-shielded optical axes in accordance with the detection target is called “floating blanking”.)
[0006]
Conventionally, in order to perform fixed blanking, a light emitting / receiving operation is performed after the sensor is set to a teaching mode, and the optical axis in a light-shielded state and the number of optical axes are stored. On the other hand, for floating blanking, the sensor is connected to a setting device such as a dedicated controller or personal computer, and the user inputs the number of light-shielded optical axes determined by the user according to the size of the object to be detected. The input value is transmitted to the sensor.
[0007]
[Problems to be solved by the invention]
This type of multi-optical axis photoelectric sensor is used for the purpose of preventing accidents, such as stopping the machine by detecting that the operator's body has approached a dangerous area caused by machine operation, etc. Sensors (hereinafter referred to as “safety sensors”) and sensors that are not intended to prevent safety, such as detecting workpieces conveyed on a conveyor (hereinafter referred to as “non-safety sensors”). ) Are used.
[0008]
As for the safety sensor, if it is set incorrectly, there is a risk of causing personal injury. Therefore, it is necessary to perform teaching work carefully. For example, when the fixed blanking is set, if an optical axis that should not be blocked by noise such as dust is blocked, and the wrong optical axis is invalidated, this error is set during detection. Even if a human body enters the optical axis, it cannot be detected, and there is a possibility that the machine cannot be stopped before the human body enters the danger area.
[0009]
In addition, when a human body is detected, the sensor needs to be installed at a position sufficiently away from the dangerous area so that the machine can be stopped before the human body enters the dangerous area. The distance required for ensuring safety (hereinafter referred to as “safety distance”) is set sufficiently larger than the distance that the human body moves from when the sensor outputs an object detection signal to when the machine stops. Must. In particular, when the floating blanking is set, the larger the detectable object, the longer the time required for object detection. Therefore, it is necessary to set the safety distance longer.
Therefore, if the floating blanking is set in a state where the safety distance cannot be secured, even if a human body is detected, a situation occurs in which the machine cannot be stopped before the human body enters the danger area.
[0010]
In addition, as described above, the detection of the light blocking state for each optical axis is performed by comparing the amount of light received by the light receiving element with a threshold value. In the safety sensor, this threshold value can be set freely. If possible, the sensitivity of the sensor may be reduced to a level that is insufficient to ensure safety.
[0011]
For this reason, it is desirable that an expert who is familiar with the purpose and contents of the setting perform the setting for the safety sensor. However, even if an expert performs the setting, it may overlook the inclusion of noise when setting fixed blanking, or the safety distance may be wrongly calculated when setting floating blanking. There is a risk of making mistakes such as making settings by misunderstanding.
[0012]
On the other hand, for the non-safety sensor, it is desirable that the setting can be flexibly changed in accordance with the application and the working environment. In addition, on the site side, there is a request to set a plurality of sensors with a single device. In response to this request, each sensor must be set with a portable setting device such as a console. It is desirable to be able to
However, if this type of setting device can be shared by both safety sensors and non-safety sensors, general workers will change the settings of the safety sensors on their own to make the work easier. As a result, an incorrect setting may be made.
[0013]
The present invention has been made paying attention to the above-mentioned problems, and when setting the definition of the detection operation for the multi-optical axis photoelectric sensor, it is possible to prevent erroneous setting due to human error, etc. The purpose is to make the correct setting according to the purpose of use.
[0014]
[Means for Solving the Problems]
A multi-optical axis photoelectric sensor to which the present invention is applied includes a light projecting unit and a light receiving unit each having a longitudinal body, with the light projecting and receiving surfaces facing each other. Inside the light projecting unit and the light receiving unit, a plurality of light projecting elements and a plurality of light receiving elements are arranged along the longitudinal direction of the machine body, as well as a control circuit and a communication circuit for controlling the light projecting / receiving operation. It has been incorporated. Each communication circuit is connected via a communication line, and by exchanging signals via this communication line, each optical axis is sequentially enabled to detect a light shielding state and output the detection result.
[0015]
  This inventionFor settingsThe device is connected to the multi-optical axis photoelectric sensor described above to define the detection operation.SettingIs to do. “Definition of detection operation” here refers to the above-mentioned fixed blanking and floating blanking, as well as a threshold value for judging the light blocking state of each optical axis, the type of signal output as a detection signal, and external input It means the definition of various conditions related to the detection operation of the sensor, such as whether to accept a signal (such as a signal from a relay interposed between the sensor and the drive system on the machine side).
[0016]
The setting device is a device that can be connected to a plurality of sensors having different types, uses, functions, etc., and is preferably a portable device such as a console. However, it is not always necessary to configure the multi-optical axis photoelectric sensor as a dedicated setting device, and a teaching program can be incorporated into a notebook computer or a general-purpose portable electronic device and used as a setting device.
[0017]
  The setting device according to the present invention is:A connection means that is detachably and communicably connected to any one of a plurality of types of multi-optical axis photoelectric sensors, a safety sensor that uses an output signal for the purpose of preventing accidents, and Suitable for the purpose of use of the sensor of each group in a plurality of groups provided by classifying each sensor according to whether it is set to a non-safety sensor that does not use an output signal for the above purpose A memory for storing the setting contents and the identification information of sensors belonging to the group in association with each other, receiving the identification information of the sensor from the sensor connected by the connection means, and collating the memory based on the received information Determining means for determining a group to which the connected sensor belongs, and a setting stored in the memory in association with the group determined by the determining means. Of creating the setting data indicating the definition of the detection operation based on the contents, by transmitting the configuration data to the connected sensor, and setting means for setting processing to the connected sensor,It has.
[0018]
  With the above settingsContents,It can be shown as a table indicating setting items permitted for each group. In this invention,At least one table can be set for each of the safety sensor and the non-safety sensor,A plurality of tables can be provided for each of the safety sensor and the non-safety sensor. It is also possible to provide a table for each type of sensor, considering one sensor per group.
[0019]
Further, instead of setting a table for each group, it is possible to indicate whether or not the setting for each item is permitted for each group by data such as a flag.
In addition, the setting contents are not limited to permitted setting items, but can be set such as the numerical range that can be set as the number of light-blocking optical axes in floating blanking, the number of areas with a series of invalidated optical axes in fixed blanking, etc. The restrictions on can also be shown for each group.
[0020]
  "Sensor'sIdentification information”Is a sensor type, for example, the sensor side is configured to transmit data spontaneously at startup, and the connected device side receives data transmission from the sensor, and the group to which the sensor belongs Can be captured. However, if the connected device sends a command for data transmission to the sensor and accepts a response from the sensor to this command, the setting can be changed as appropriate even when the sensor is operating. Become.
[0021]
  According to the above configuration,Based on the identification information received from the sensor, the group to which the sensor belongs is determined and based on the settings corresponding to this group.Because the setting process to the sensor is performed,The safety sensor is not set to prevent accidents.Can be prevented.
[0022]
  According to a preferred embodiment,Of the settings stored in the memory, regarding the settings for the group to which the safety sensor belongs,Setting of predetermined setting items permitted for the group to which the non-safety sensor belongs is prohibited.
  This aspect appliesAn example of the setting item is a change of a threshold value for determining the light blocking state of the optical axis. In this case, in order to maintain the detection level and ensure safety, it is desirable to prohibit the setting for the safety sensor that may lower the detection level. On the other hand, the non-safety sensor can be improved in usability by allowing the threshold value to be changed to some extent according to the purpose of use.
[0023]
  In the connection device having the above configuration,When it is determined that the sensor to which the determination unit is connected belongs to the safety sensor group, the signal from the sensor is in the same state as when the object is detected while the processing by the setting unit is being performed. Means for transmitting a command for setting to the connected sensor,It is desirable to have it.In this way, during the setting process for the safety sensor,Since processing such as stopping the operation of the machine is performed in the same manner as in the original object detection state, an accident during the setting process can be prevented, and the setting operation can proceed in a safe environment.
[0024]
  Another preferred aspect of the sensor further includes an operation unit for inputting setting data. The memory stores a predetermined limit value for a safety distance to be secured between the sensor and the dangerous area for the group of safety sensors, and the setting means is configured so that the connected sensor When it is determined by the determining means that the sensor belongs to the group of safety sensors, and the operation unit performs an operation of inputting the minimum number of light-shielding optical axes when an object detection signal is output from the sensor, Input parameters that indicate the response time and the distance between the optical axes for an object that has entered the detection area, and use these parameters to calculate the safety distance corresponding to the number of light-shielding optical axes input from the operation unit. When the safe distance is less than the limit value, the input minimum number of light-shielding optical axes is not set in the sensor.
[0025]
According to the setting device having the above configuration, when setting the floating blanking, the safety distance is calculated by taking in the parameter for calculating the safety distance corresponding to the number of light-shielded optical axes input by the user, and the appropriate result is calculated. It is determined whether or not a safe distance is secured. In this way, when data input by the user is set to the sensor as teaching data, the teaching data is determined after determining the suitability of the teaching data based on the parameters acquired from the sensor side. Can be prevented.
[0026]
  In another preferred aspect of the sensor, the memory stores a predetermined limit value regarding the number of invalid optical axes and the number of invalid areas formed by the set of invalid optical axes. In addition, when the setting unit creates setting data for invalidating the optical axis in a light-shielded state by causing the connected sensor to perform a light projecting / receiving operation, the invalid optical axis and the setting data are set. The number of invalid areas is respectively compared with a corresponding limit value in the memory, and if any number exceeds the limit value, the generated setting data is not transmitted to the sensor.
[0027]
  In the above configurationAccording toWhen setting fixed blanking, without noticing that the optical axis that should not be invalidated due to noise contamination is invalidatedSettingLimit value, such as trying to doExceeded settingThis is done whenSettingSince transmission of data to the sensor is prohibited, noiseIncorrectTo prevent settings from being madeit can.
[0028]
  furtherIn the connection device according to a preferred aspect, electronic data including information associated with each group and a program relating to the operation of the setting unit is stored in the memory, and the revised electronic data from the device having the revised version of the electronic data is stored. Means for accepting data transmission and means for rewriting the data in the memory with the accepted electronic data are provided.
[0029]
Note that the above electronic data includes fixed data such as the setting table in addition to a program indicating a processing procedure for teaching the definition of detection operation, but all programs and fixed data are changed. The present invention is not limited to this, and when a part of a program or data is changed, it can be considered that the data is revised. In addition, in order to receive data transmission from a device (such as a personal computer) having the revised data, the device and the setting device are connected via a communication line, or data is transmitted between devices by wireless communication. It needs to be configured so that it can communicate.
According to such a configuration, even if a sensor with a different type is sold or the setting content of the sensor is changed, it is not necessary to replace the connection device, and the change can be handled easily and quickly. it can.
[0030]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows the configuration of a multi-optical axis photoelectric sensor according to an embodiment of the present invention.
The multi-optical axis photoelectric sensor S includes a light projecting unit 1 provided with a plurality of light projecting elements 11 and a light receiving unit 2 provided with the same number of light receiving elements 21 as the light projecting elements 11. It is deployed in opposition. In addition to the light projecting element 11, the light projecting unit 1 includes a drive circuit 12, an optical axis sequential selection circuit 13, a control circuit 16, a communication circuit 17, a power circuit 18 and the like that individually drive each light projecting element 11. It is. In addition to the light receiving element 21, the light receiving unit 2 includes an amplifier 22 and an analog switch 23 for each light receiving element 21, an optical axis sequential selection circuit 25, a control circuit 26, an amplifier 24 for input to the control circuit 26, communication. A circuit 27, a power supply circuit 28, and the like are incorporated.
[0031]
Each of the control circuits 16 and 26 of the light projecting / receiving units 1 and 2 is constituted by a microcomputer having a CPU and a memory. Each of the communication circuits 17 and 27 is a communication interface conforming to RS485, and controls the exchange of signals between the light projecting and receiving units 1 and 2 via two communication lines 6A and 6B of the same type corresponding to RS485. To do.
[0032]
Each power supply circuit 18, 28 is supplied with power from a common external power supply 5 (DC power supply), and supplies power to each part in the same device (in the light projecting unit 1 or the light receiving unit 2). The power supply from the external power supply 5 to the power supply circuits 18 and 28 is made by branching the two power supply lines 7A and 7B, respectively, one to the power supply circuit 18 on the light projecting unit 1 side and the other to the light receiving unit 2. This is done by connecting to the power supply circuit 28 on the side. Therefore, the light projecting unit 1 and the light receiving unit 2 are connected by the communication lines 6A and 6B and the power supply lines 7A and 7B.
[0033]
The control circuit 16 on the light projecting unit 1 side generates a timing signal at every predetermined time, and gives this to the optical axis sequential selection circuit 13. The optical axis sequential selection circuit 13 is a gate circuit for sequentially connecting the drive circuit 12 of each light projecting element 11 to the control circuit 16, and the timing signal from the control circuit 16 is changed by the switching process in this circuit. The light is sequentially supplied to the drive circuit 12 so that the light emitting elements 11 sequentially emit light.
Further, the timing signal is also supplied to the control circuit 26 on the light receiving unit 2 side via the communication circuits 17 and 27.
[0034]
In the light receiving unit 2, an output from each light receiving element 21 (hereinafter referred to as a light receiving output) is sent to an input line 29 to the control circuit 26 via an amplifier 22 and an analog switch 23. The control circuit 26 sends a timing signal from the light projecting unit 1 to the optical axis sequential selection circuit 25 to sequentially turn on the analog switches 23 of the respective optical axes, and from the light receiving elements 21 corresponding to the light projecting elements 11 that have emitted light. And receiving each light reception output and comparing each light reception output with a predetermined threshold value to determine whether each optical axis is in a light shielding state or not. When capturing of the light reception outputs for all the optical axes is completed, the control circuit 26 collects the determination results for each optical axis and performs a final determination process to generate an object detection signal indicating the determination results. Output to the outside via an output circuit (not shown).
[0035]
Further, in this embodiment, the communication line 6A, 6B and the power supply lines 7A, 7B are relayed by the branch connector 4 between the light projecting / receiving units 1 and 2, and these lines are branched to the outside to set the console. 3 are connected.
[0036]
The console 3 is used to set various detection operation definitions such as fixed blanking and floating blanking by setting the sensor S before operation in the teaching mode.
FIG. 2 shows the appearance of the console 3. In addition to the indicators 31A and 31B for displaying numerical values and messages, etc., a plurality of notification lamps 32 and push button keys 33 for notifying the control mode set in the console 3 are provided on the front surface of the aircraft. It is done. A connection terminal (not shown) for connecting the connection cable 57 from the branch connector 4 is provided on the upper surface of the machine body.
[0037]
The push button key 33 is used to set the sensor S to the teaching mode and to input setting data and commands. The display units 31A and 31B display data corresponding to the operation content of the push button key 33, and display the light reception amount for each optical axis or the detection result of the light shielding state as necessary when setting the fixed blanking. It is used to call up and display teaching setting data.
[0038]
Returning to FIG. 1, a communication circuit 37, a power supply circuit 38, a display circuit 34, an input unit 35, and the like are incorporated in the machine body of the console 3 in addition to a control circuit 36 by a microcomputer. Similar to the communication circuit of the light projecting / receiving unit 2, the communication circuit 37 is an RS485 standard interface and is connected to the communication lines 6A and 6B branched by the branch connector 4. The power supply circuit 38 is connected to the power supply lines 7A and 7B branched by the branch connector 4 and plays a role of taking in power from the external power supply 5 and supplying it to each part in the console 3.
[0039]
The display circuit 34 is a display interface that performs control for displaying information on the indicators 31A and 31B on the front surface of the machine body and lighting the notification lamp 32. The input unit 35 is an input interface that receives input from the push button key 33 and transmits the input content to the control circuit 36.
[0040]
The control circuit 36 includes a flash ROM in which a program and a setting item table to be described later are written in addition to the CPU. The control circuit 36 captures the input from the push button key 33 through the input unit 35 and 1 and the definition of various detection operations are set in the sensor S through communication with the light receiving unit 2, and the current setting content is taken from the sensor S and displayed on the display devices 31 </ b> A and 31 </ b> B.
[0041]
According to the above configuration, the RS485 standard interface is incorporated in each of the communication circuits 17, 27, and 37 of the light projecting unit 1, the light receiving unit 2, and the console 3. Therefore, the console 3 can perform individual setting processing for both the light projecting unit 1 and the light receiving unit 2. Most of the definitions related to object detection are set in the control circuit 26 on the light receiving unit 2 side. However, in processing that needs to register the actual detection processing result, such as fixed blanking, a command is sent to the light projecting unit 1. The detection result obtained on the light receiving unit 2 side is fetched while performing the light projecting operation, the optical axis is invalidated, and the result is set in the light receiving unit 2.
[0042]
FIG. 3 shows an appearance of the light projecting / receiving units 1 and 2 together with an example of attaching the branch connector 4. In FIG. 3, P and Q are attached to the reference numerals indicating the configuration of each member of the light projecting / receiving units 1 and 2, but in the following description, both configurations of the light projecting / receiving unit 1 and 2 are referred to. Indicates only the numeric part common to each configuration.
[0043]
The airframe main body of the light projecting unit 1 and the light receiving unit 2 of this embodiment is composed of a longitudinal case body 51 having both ends opened. Lids 54 are hermetically fixed to the opening portions at both ends of the case body 51, and connectors 52 and 53 for connection are provided on the upper surface of each lid body 54, respectively. These upper and lower connectors 52 and 53 are used for relaying a plurality of input / output signal lines in addition to the communication lines 6A and 6B and the power supply lines 7A and 7B. The connectors 52 are formed as female connectors with the same diameter.
[0044]
Further, the terminal arrangements of the connectors 52P, 52Q, 53P, and 53Q are the same, but the signals handled by the terminals are slightly different depending on the light projecting unit 1 and the light receiving unit 2. However, as for the communication lines 6A and 6B and the power supply lines 7A and 7B, terminals at the same position are used in any connector.
[0045]
  The light projecting unit 1 and the light receiving unit 2 are respectively provided with lower male connectors 53P and 53Q.58It is attached to a wiring board (not shown) via The branch connector 4 is a T-shaped connector that relays a signal between one of the connectors 53P and 53Q (in the illustrated example, the connector 53Q on the light receiving unit 2 side) and the cable 58Q. Are connected to a cable 57 for connection to the console 3. Note that only the communication lines 6A and 6B and the power supply lines 7A and 7B are branched by the branch connector 4, and only the signal path for relay from the connection connector 53 to the cable 58 is provided for the other signal lines. It is formed.
  In the figure, 55a, 55b, and 55c are knurls for fixing the connection of the members, and 56 and 59 are relay connectors.
[0046]
As described above, the male connectors 53P and 53Q of the light projecting and receiving units 1 and 2 have the same diameter, and the terminals for the communication lines 6A and 6B and the power supply lines 7A and 7B are arranged at the same position. The connector 4 can be connected to any of the connectors 53P and 53Q of the light projecting unit 1 and the light receiving unit 2 as shown in FIG.
[0047]
Each of the connection ports for relay of the branch connector 4 is formed so that one corresponds to the male connector 53 and the other corresponds to the female connector 52. Therefore, since the branch connector 4 can be connected to the upper female connectors 52P and 52Q, the optimum connector for connection can be selected according to conditions such as the installation location of the sensor, and the branch connector 4 can be attached. Connection and removal of the console 3 can be performed very easily. Further, since the branch connector 4 itself can be easily removed, it is possible to easily cope with a case where the installation location of the sensor is changed.
[0048]
Furthermore, since the console 3 can be connected to the branch connector 4 as needed, even in an environment where a plurality of sensors are provided, if a similar branch connector is attached to each sensor, the common console 3 can be connected. It can be used, and the cost for the setting device can be reduced. Therefore, in this embodiment, the console 3 incorporates a program for performing settings corresponding to both the safety sensor type and the non-safety sensor type, and the settings for various sensors are performed by the single console 3. I am doing so.
[0049]
Further, the console 3 can appropriately rewrite the program and fixed data of the control circuit 36 so that the console 3 can be continuously used even when a setting program is changed or a new type of sensor is released. Configured.
[0050]
As shown in FIG. 5, the rewriting process is performed by connecting the console 3 to the personal computer 81 having electronic data for version upgrade via the RS485 / RS232C converter 80 and changing the operation mode of the console 3. This is performed by switching to a rewriting mode described later.
Note that the communication circuit 37 of the console 3 at the time of version upgrade is connected to the converter 80 by a communication line 61 formed as a dedicated cable. The power supply circuit 38 is also connected to the external power supply 5 ′ by an independent power supply line 71.
[0051]
Next, the contents of processing by the console 3 of this embodiment will be specifically described. Since communication and setting by the console 3 are performed for the light projecting unit 1 or the light receiving unit 2 or both of the light projecting / receiving units 1 and 2, in the following description, the target of setting processing is the light projecting / receiving unit 1 , 2 as a single sensor S.
[0052]
The console 3 of this embodiment incorporates a setting item table for each sensor in the control circuit 36 so that it can be applied to both safety and non-safety sensors. Each setting item table shows the items that are allowed to be set for safety sensors and non-safety sensors. Some items are common to safety sensor-compatible tables and non-safety sensor-compatible tables. For example, some items are provided only in one of the tables.
[0053]
For example, the setting of the fixed blanking and the floating blanking is included in the setting item table of both the safety and non-safety sensors. On the other hand, the change of the threshold value for determining the light blocking state for each optical axis is included as a setting item in the table corresponding to the non-safety sensor, but the sensitivity of the sensor is not included in the table corresponding to the safety sensor. Therefore, the threshold value preset in the sensor S is held so as not to decrease.
Each setting item table for safety sensors and non-safety sensors can correspond to a plurality of types of sensors, and a new type of sensor can be added using the rewrite mode. it can.
[0054]
The console 3 of this embodiment takes in the model of the sensor S from the connected sensor S so that the user does not accidentally call a setting item table that does not correspond to the target sensor and perform teaching. The corresponding setting item table is automatically called. In addition, for each setting item, a limit value that is the upper limit of the set value is registered in advance. If a general user makes a setting that exceeds this limit value, the setting value is prohibited from being sent to the sensor. I have to. In particular, when setting floating blanking, the number of optical axes of the connected sensor S, the interval between the optical axes, and the detection area are set so that the setting is not performed in a state where the safety distance is not secured. Corresponds to the number of light-shielding optical axes set by taking in parameters for calculating safety distance (hereinafter referred to as “sensor parameters”) such as response time from detection of an entered object to detection output. The safety distance is calculated, and it is confirmed whether or not the calculation result exceeds the limit value.
[0055]
The limit value for determining the suitability of the set value is a value input by a specific user such as a site manager using the function of the normal mode F described later. However, the limit value is not limited to this, and a default value can be set in the control circuit 36 in advance. The default limit value may be incorporated in the setting item table.
[0056]
In addition, a plurality of operation modes are set in the sensor S of this embodiment, and by switching the control mode according to a command from the console 3, the normal detection operation is appropriately terminated and a setting change is accepted. I am doing so. However, if the mode is switched during a series of light emitting / receiving processes, there is a possibility that the mode is switched without outputting this detection even though it is in a light shielding state, and a dangerous state may occur. The mode is switched when the light emitting / receiving process is completed.
[0057]
FIG. 6 schematically shows the operation modes set in the sensor S and the relationship between the modes. The sensor S of this embodiment has three operation modes: a normal mode, a setting mode, and a read / write mode. Of these modes, the normal mode is a mode for performing normal object detection processing, and the read / write mode is a mode for receiving a command for teaching from the console 3 and executing it. The setting mode is a mode located between the normal mode and the read / write mode, and performs the light projecting / receiving operation as in the normal mode, but the detection output is the same as when detecting an object in the normal mode. It is set to be in a state. (For example, if the level of the output signal at the time of object detection is L level, an L level signal is output in the same manner.)
[0058]
The sensor S of this embodiment is set to the normal mode immediately after the power is turned on, but is switched to the setting mode when receiving an entry command to the setting mode from the console 3. Further, in the setting mode, the mode is switched to the read / write mode by an entry command to the read / write mode from the console 3, and when the read / write mode end command is received from the console 3 in the read / write mode, the read / write mode is terminated and the setting mode is restored. In the setting mode, when a setting mode end command is received from the console 3, the system is reset to return to the normal mode immediately after the power is turned on.
[0059]
FIG. 7 shows the operation mode set on the console 3 side and the relationship between the modes. This console 3 has two modes, a normal mode for operating as a device for setting the sensor S and a rewrite mode for updating the program and setting data as described above. By turning it off, the normal mode is set.
[0060]
The normal mode is subdivided into six operation modes A to F in the figure.
The normal mode A is a mode in which data transmission such as the above-described model and sensor parameters is received from the sensor S to determine the type of the sensor S, and the normal mode B is the sensor S side during teaching according to the determined model. In this mode, the operation mode is changed.
[0061]
The normal mode C is a mode for waiting for a user input operation by the push button key 33. When a user input is made in this mode, one of the following modes D, E, and F is selected according to the input content. It is executed and set to return to the normal mode C again.
[0062]
The normal mode D is a mode in which, in the normal mode C, when a setting command (including a command to change already set data) for setting a predetermined setting item is input, this command is executed. Therefore, a process for registering the setting value input on the sensor side for the setting item designated by the user is performed. The normal mode E is a mode in which, in the normal mode C, when a command for monitoring the set value currently set in the sensor S is input, this command is executed, and the setting designated by the user from the sensor S side. A setting value for an item is fetched and displayed on the display devices 31A and 31B.
[0063]
Further, in the normal mode F, when the user inputs a set value limit value for teaching, it is accepted and registered in the memory, or the user sets the sensor S in the write lock state after the teaching is completed. This is for performing a process for setting a restriction on the change of the setting value, such as receiving a command when the command is input and setting the sensor S in a state where the setting value cannot be changed. In this normal mode F, the password is registered first so that only the input of a specific user such as a site manager is accepted, and then only the command accompanied by the input of the registered password is accepted. Is desirable.
[0064]
When setting the sensor S, first, the model is taken from the sensor S connected in the normal mode A to determine the type of the sensor S, and then the sensor S is moved to the sensor S in the normal mode B. Set the operation mode according to the type. Hereinafter, each time a command is input in the normal mode C, various items are set in the sensor S by executing one of the normal modes D, E, and F according to the content of the command.
[0065]
In the normal mode A to F on the console 3 side, in order to capture data from the sensor S or transmit setting data or commands to the sensor S, a setting mode entry command or a read / write mode entry command is sent to the sensor S in advance. It is necessary to switch the operation mode on the sensor S side to the read / write mode. However, if the mode is switched during the normal detection operation of the sensor S side, there is a risk that a dangerous state may occur in which an object is in the detection area of the sensor S, but this cannot be detected. In the embodiment, the authority is given to the sensor S side for the mode switching. Specifically, at the time when the light projecting / receiving process for one cycle is completed, the sensor S checks whether or not to switch the mode to the console 3, and if there is a switching instruction from the console 3, shifts to the next mode. Like to do.
[0066]
In this embodiment, since the setting data and command are transmitted to the sensor S after determining the content of the setting data on the console 3 during teaching, the sensor S does not receive transmission from the console 3. It will be in a standby state. In this embodiment, when the sensor S to be set is a safety sensor, the detection output from the sensor S is the same as when an object is detected by setting the sensor in the standby state to the setting mode. As a condition, safety measures such as stopping the operation of the machine are taken. On the other hand, when the sensor S to be set is a non-safety sensor, the sensor S is set to the normal mode so that the object can be detected even during the idle time in the standby state.
[0067]
FIG. 8 shows processing procedures in the three modes of the sensor S. (In the figure, each step is indicated as “st”.) The procedure shown here is common to both safety sensors and non-safety sensors.
First, when the power is turned on, the normal mode is started and the light projecting / receiving process for one cycle is executed (st1). Although not shown here, when an object is detected by the light projection / reception processing for one cycle, a detection signal set to a level indicating the object detection state is output.
[0068]
In the next st2, a signal for confirming whether or not to enter the setting mode is transmitted to the console 3. When a rush command to be described later is received from the console 3 in response to this signal, st3 becomes “YES”, the normal mode is terminated, and the setting mode is started.
[0069]
In the setting mode, first, in st4, the detection output from the light receiving unit 2 is set to a level indicating the object detection state, and then, in next st5, the light projecting / receiving process for one cycle is executed.
In the next st6, a signal for confirming whether or not to enter the read / write mode is transmitted to the console 3. When a rush command is returned from the console 3 in response to this signal, st7 becomes “YES”, the setting mode is terminated, and the process proceeds to the read / write mode.
[0070]
On the other hand, when an instruction to end the setting mode is returned from the console 3 in response to the signal for confirming entry into the read / write mode, st8 becomes “YES” and the process proceeds to st9 to execute the software reset instruction. Exit mode and return to normal mode.
[0071]
In the read / write mode, only the process according to the command from the console 3 is performed without performing the light emitting / receiving process. When the command is transmitted from the console 3, the process proceeds from st10 to st12 via st11 to the command. The process according to is executed. However, when the transmitted command is an instruction to end the read / write mode, st11 becomes “YES” and the mode returns from the read / write mode to the setting mode.
[0072]
FIG. 9 shows a procedure from the start of the console 3 to the start of the teaching process (until the stage of the normal mode C in FIG. 7). (In the figure, each step is indicated as “ST”.)
First, at startup, the dip switch is checked in ST1. If the dip switch is ON, ST1 becomes “YES” and a program rewrite processing procedure (not shown) is executed. On the other hand, if the dip switch is OFF, the process waits for a confirmation signal from the sensor S.
[0073]
If the connected sensor S is in the normal mode, as shown in st1 to st3 of FIG. 8, the sensor S is used for confirming the setting mode every time the light projecting / receiving process for one cycle is performed. Is transmitted. When this signal is received, ST2 becomes “YES” and the process proceeds to ST3, and an entry command to the setting mode is transmitted in response to the confirmation signal from the sensor S.
[0074]
After completing the transmission, the process returns to ST2 again and waits for the signal transmission from the sensor S again. Since the sensor S that has been switched to the setting mode by the previous entry command transmits a signal for confirming entry into the read / write mode every time the light projecting / receiving process for one cycle is performed in st5 and 6 of FIG. When this signal is received, the process proceeds from ST4 to ST5, and an entry command to the read / write mode is transmitted in response to the confirmation signal from the sensor S.
[0075]
The sensor S that has received the entry command is switched to the read / write mode as described above and waits for a command from the console 3. On the console 3 side, in ST6, a command requesting transmission of the model and sensor parameters is sent to the sensor S that has entered the read / write mode, and these data are fetched. In ST7, the sensor data is read from the fetched data. Determine the type.
[0076]
Next, in ST8, a read / write mode end command is transmitted to the sensor S, and the sensor S is returned from the read / write mode to the setting mode. Here, if the type of the sensor S determined in ST7 is a safety sensor, the next ST9 is “YES”, and the process proceeds to ST10. Of the two types of setting item tables, the setting item corresponding to the safety sensor is set. Select the table.
[0077]
On the other hand, if the sensor S is a non-safety sensor, the process proceeds from ST9 to ST11, and waits for a signal for confirming entry into the read / write mode from the sensor S. When a signal is transmitted here, the process proceeds from ST11 to ST12, and a setting mode end command is transmitted to cause the sensor S to perform processing for resetting the main body and returning to the normal mode.
[0078]
When the sensor S is returned to the normal mode in this way, in the next ST13, the setting item table corresponding to the non-safety sensor is selected from the two types of setting item tables.
[0079]
As described above, the setting item table is selected based on the model acquired from the sensor S, and the operation mode of the sensor S is set to either the setting mode or the normal mode according to the type of the sensor S. When this setting is completed, the process proceeds to ST14, where the setting items of the selected setting item table are displayed on the display devices 31A and 31B, and the user waits for item selection.
[0080]
For safety sensors, it is necessary to maintain the setting mode during teaching by the processing of ST10 to ensure safety, so when sending commands for setting and monitoring during teaching, the setting mode is changed to the read / write mode. When a command is sent after switching, it is desirable to quickly return to the setting mode. (Of course, even in the read / write mode, it is necessary to set the detection output of the sensor to the same state as at the time of object detection.)
[0081]
On the other hand, the non-safety sensor is returned to the normal mode by the processing of ST12 and the detection operation is performed during the standby time at teaching. Therefore, when sending a command for setting or monitoring, First, it is necessary to switch to the setting mode after waiting for completion of the light emitting / receiving process in the normal mode, and further to switch from the setting mode to the read / write mode to transmit a command, and then return to the normal mode.
[0082]
Next, as a specific example of the setting process by the console 3, a procedure for setting fixed blanking and floating blanking, which are typical teachings, will be described in order. FIG. 10 shows the procedure at the time of setting fixed blanking by the reference numerals ST21 to 32, and FIG. 11 shows the procedure at the time of setting floating blanking by the reference numerals ST41 to 52.
[0083]
First, in the setting of fixed blanking, a confirmation message for starting teaching processing is displayed on the display devices 31A and 31B in response to the user selecting a setting item. When the user performs a confirmation operation on this display, the process proceeds from ST22 to ST23, and the detection result of the light shielding state of each optical axis is fetched from the sensor S, and whether each optical axis is in a light shielding or non-light shielding state. Is determined.
[0084]
In the next ST24, the optical axis determined to be in the light shielding state is set as an invalid optical axis. In addition, the process which invalidates an optical axis can be performed by the process which sets on the flag set for every optical axis.
[0085]
Next, in ST25, a message for confirming whether or not to transmit the set data is displayed on the display. Here, when the user performs a confirmation operation, ST26 becomes “YES”, and the following determination processing is executed in order.
[0086]
In ST27, it is checked whether or not the sensor S is set in the write lock state. In the next ST28, the number of invalid areas (areas where one or more continuous optical axes are invalidated) set in the detection area is compared with the limit value N1 by the invalidation process. In the next ST29, the total number of invalidated optical axes is compared with the limit value N2.
[0087]
If the sensor S is not in the write lock state and both the number of invalid areas and the number of invalid optical axes are within the respective limits N1 and N2 in the above determination processing, the process proceeds to ST30, and the valid for each optical axis. , Flag data indicating invalidity is transmitted to the sensor S, and these data are registered in the memory.
[0088]
On the other hand, if the sensor S is set in the write lock state, or if the number of invalid areas or the number of invalid optical axes exceeds the limit values N1 and N2, the process proceeds to ST31 and the display units 31A and 31B indicate “transmission impossible. "Is displayed, and then the process returns to ST22 and waits for re-input. Here, when the user again performs a confirming operation for starting teaching, the detection data for each optical axis is fetched again and the setting data is recreated by the processing from ST23 onward. Therefore, at the time of initial setting, even if the number of invalid areas or the number of invalid optical axes exceeds the limit value due to mixing of noise and teaching to the sensor S is prohibited, appropriate setting data is created by capturing the detection result again. In this case, the process proceeds to ST30, and the setting data is transmitted to the sensor S.
[0089]
In addition, when the user performs a cancel operation without performing a confirmation operation with respect to the confirmation message of ST21 or ST25, or when a cancel operation is performed with respect to the “transmission impossible” message of ST31, ST32 or ST33 becomes “YES”, and the setting process is stopped.
[0090]
Next, in the setting of floating blanking, a screen for inputting the number of light-shielding optical axes is presented on the display devices 31A and 31B in response to the user selecting a setting item (ST41). When the user inputs the number of light-shielded optical axes, the process proceeds from ST42 to ST43. After the input number is determined as the number of light-shielded optical axes, the setting data is transmitted to the display units 31A and 31B in the next ST44. Displays a message confirming whether to do so.
[0091]
When the user performs a confirming operation in response to this message, the process proceeds from ST45 to ST46, and it is determined whether or not the sensor S is write-locked. If the write lock is not performed, the number of light shielding optical axes is compared with the limit value N3 in the next ST47.
[0092]
If the number of light-shielding optical axes is within the limit value N3, the process proceeds from ST47 to ST48, and the safety distance corresponding to the number of light-shielding optical axes is calculated using the sensor parameters taken together with the model from the sensor S.
If this safety distance is S, S is calculated by the following equation (1).
S = K × T + C (1)
[0093]
In the above equation (1), K is the moving speed of the detection object (for example, a hand), and a standard value set in the console 3 in advance is used. T is a response time from when the sensor S detects an object until the machine stops, that is, a response time of the sensor S acquired from the sensor S and a response time of the machine (or a default response time) input in advance. It corresponds to the added value. C is an offset value set according to the time it takes for the object to be detected by the sensor after entering the detection area of the sensor, and the interval between the optical axes taken from the sensor and the number of light-shielding optical axes The size of the smallest object that can be detected by the sensor is obtained based on the above, and the value of C is set so as to increase as this object increases.
[0094]
For example, when the hand entering the press machine is to be detected as shown in FIG. 15 and the number of optical axes corresponding to the thickness of the user's finger is set as the number of light blocking optical axes for floating blanking, Since the user's hand that has entered can be immediately detected, the value of C can be reduced. On the other hand, when the number of light-shielding optical axes is set to a number corresponding to the thickness of the user's arm, it takes a considerable amount of time until the user's hand is detected. Since the sensor S has advanced considerably beyond the detection area, the value C needs to be increased.
[0095]
In this embodiment, since the response time of the sensor S and the interval of the optical axis for specifying the minimum detection object are taken from the sensor S, the response time T and the offset value C can be accurately obtained. it can.
[0096]
Therefore, the safety distance calculated in ST48 accurately reflects the distance necessary to ensure safety for the object corresponding to the number of light shielding optical axes. In the next ST49, the safety distance is compared with the limit value D0. If the safety distance is within the limit value D0, the process proceeds from ST49 to ST50, where the number of light-shielding optical axes is transmitted to the sensor S and registered in the memory as setting data.
The limit value D0 is registered in the control circuit 36 by inputting a value obtained by adding a predetermined offset value to the actual distance from the detection area of the sensor S to the danger area using the function of the normal mode F. It is desirable to keep it.
[0097]
On the other hand, if the sensor S is write-locked, or if either the number of light-shielding optical axes or the safety distance exceeds the limit values N3 and D0, the process proceeds to ST51 and the display units 31A and 31B are notified by "Is displayed, and then the process returns to ST42 to accept re-input of the number of light-shielding optical axes. Therefore, even if an incorrect number of light-shielding optical axes is input last time, if a correct value is input at the time of re-input, the process up to ST50 is advanced for the input value, and the re-input light-shielding optical axis number is calculated. It can be set by transmitting to the sensor S.
[0098]
If a cancel operation is performed on the input screen of ST41, the confirmation message display screen of ST44, or the message display screen of “transmission impossible” in ST51, the setting process is stopped.
[0099]
Thus, in this embodiment, in the fixed blanking or floating blanking, before sending the setting data to the sensor S, the setting data is collated with the limit value, so that erroneous setting data due to noise or erroneous input is obtained. Since the transmission to the sensor S side is prohibited, it is possible to prevent a malfunction in the sensor in the normal mode due to an incorrect setting of the safety sensor and to prevent a dangerous state from occurring. it can.
[0100]
In particular, in the setting of fixed blanking, the validity of the setting data is checked using two parameters, the invalid area and the number of invalid optical axes, so that the wrong optical axis is invalidated due to noise and the object cannot be detected correctly. It can be prevented from becoming a state. Also, in the setting of floating blanking, the safe distance that may lead to personal injury is accurately obtained using sensor parameters and the suitability of the set value input by the user is determined. Setting can be surely prevented.
[0101]
By the way, according to the configuration of FIGS. 1 to 3, even when a plurality of sensors are connected via the connectors 52 at both ends, the multi-drop communication can be similarly performed. Therefore, even in this system, if the console 3 is connected using the branch connector 4, it is possible to set the definition of the detection operation individually for each sensor.
[0102]
FIG. 12 shows a plurality of multi-optical axis sensors (S in the figure).A,SBOnly two of these are shown. ) Is shown as an example of the configuration. In FIG. 12, among the configurations of the light projecting units 1A and 1B and the light receiving units 2A and 2B, all of the sensors have the same configuration as that in FIG. The illustration is omitted, and only the configuration related to communication (control circuits 16 and 26, communication circuits 17 and 27) and power supply circuits 18 and 28 are shown.
[0103]
In this embodiment, each sensor S is connected via the connectors 52 and 53 at both ends.A,SBAre connected for each light emitting unit and each light receiving unit. Top sensor SAThe light projecting unit 1A and the light receiving unit 2A are connected by communication lines 6A and 6B and power supply lines 7A and 7B as in the embodiment of FIG. 1, and the connection connectors 52 and 53 are connected between sensors. Thus, the communication lines 6A and 6B and the power supply lines 7A and 7B are relayed serially. Further, the communication circuits 17 and 27 of each light projecting and receiving unit are connected to the communication lines 6A and 6B, the power supply circuits 18 and 28 are connected to the power supply lines 7A and 7B, and the light projecting and receiving units are connected in series.
[0104]
Furthermore, in this embodiment, the top sensor SAThe communication lines 6A and 6B and the power lines 7A and 7B between the light projecting and receiving units 1A and 1B are relayed by the branch connector 4 and branched to the outside to connect the console 3 as in FIG. ing.
[0105]
According to the configuration of FIG. 12, since individual addresses are assigned to the light projecting / receiving units 1 and 2 and the console 3, respectively, between the sensors, between the light projecting / receiving units 1 and 2 of the same sensor, and between each sensor and the console 3 Bi-directional communication can be performed individually.
For example, when the detection operation is set in order from the upper sensor, the upper sensor SABy transmitting a command from the side light projecting unit 1A or the light receiving unit 2A to the light projecting unit 2A or the light receiving unit 2B of the sensor to be operated next, the detection process between the sensors is taken over. In each sensor, the light projecting / receiving operation is synchronized as in the case of a single sensor by transmitting timing signals for each optical axis from the light projecting units 1A, 1B to the corresponding light receiving units 2A, 2B. Then, a series of object detection processing is executed. Lower sensor SBThe light projecting unit 1B or the light receiving unit 2B is connected to the sensor S described above.AEach time a series of detection operations are completed, the final detection result in the own device is output to the light projecting unit 1A or the light receiving unit 2A.
[0106]
Further, when the console 3 is connected, the console 3 and each sensor SA,SBAre communicated individually with each other, the model and sensor parameters of each sensor are taken in, and various teachings are performed after setting the operation mode according to the model (type) of the sensor.
[0107]
As described above, the connection connectors 52 and 53 of the light projecting and receiving portions 1 and 2 of each sensor are formed to have the same diameter. Therefore, as shown in FIG. It can also be attached to the connection connectors 52 and 53 at the position. Therefore, the user can use these sensors SA, SBInstallation environment and sensors SA, SBAccording to the positional relationship, the most suitable place for connecting the console 3 can be selected from the connectors for connection, and the convenience can be greatly improved.
[0108]
【The invention's effect】
  According to the present invention, it is possible to set both the safety sensor and the non-safety sensor with a single setting device. In addition, even if one setting device is used, settings that are not suitable for accident prevention, such as accidentally setting the safety sensor to correspond to the non-safety sensor or setting an incorrect setting value, are performed. Can preventSensorFor purpose of useThe correct settings can be made accordingly.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a connection state between a console 3 and a multi-optical axis photoelectric sensor according to one embodiment of the present invention.
FIG. 2 is a front view showing the appearance of the console 3;
FIG. 3 is a front view showing an appearance of a light projecting / receiving unit and an example of attaching a branch connector.
FIG. 4 is a front view showing an example of attachment of a branch connector.
FIG. 5 is a block diagram showing a configuration when a program and setting data of the console 3 are rewritten.
FIG. 6 is an explanatory diagram showing an operation mode on the sensor side and a relationship between the modes.
FIG. 7 is an explanatory diagram showing an operation mode on the console 3 side and a relationship between the modes.
FIG. 8 is a flowchart showing a processing procedure in each operation mode of the sensor.
FIG. 9 is a flowchart showing a processing procedure from when the console 3 is activated until it is in a state where teaching is possible.
FIG. 10 is a flowchart showing a processing procedure of the console 3 in setting of fixed blanking.
FIG. 11 is a flowchart showing a processing procedure of the console 3 in setting of floating blanking.
FIG. 12 is a block diagram showing a configuration of a setting system when a plurality of sensors are connected.
FIG. 13 is a front view showing an example of attachment of a branch connector.
FIG. 14 is an explanatory diagram showing the concept of fixed blanking.
FIG. 15 is an explanatory diagram showing the concept of floating blanking.
[Explanation of symbols]
S Multi-optical axis photoelectric sensor
1 Light emitter
2 Light receiver
3 Console 3
6A, 6B communication line
16, 26, 36 Control circuit
17, 27, 37 Communication circuit

Claims (6)

複数の光軸毎に遮光状態を検知し、その検知結果に基づき物体の有無を示す信号を出力する多光軸光電センサに接続されて、このセンサに検知動作の定義を設定するための機器であって、
複数種の多光軸光電センサのうちの任意の1つに着脱自由かつ通信可能に接続される接続手段と、
事故防止のための対応をとる目的で出力信号が使用される安全用センサ、および前記の目的で出力信号が使用されることのない非安全用センサのいずれに設定するかによって各センサを分類することにより設けられた複数のグループに、それぞれそのグループのセンサの使用目的に適した設定の内容と当該グループに属するセンサの識別情報とを対応づけて記憶するメモリと、
前記接続手段により接続されたセンサからそのセンサの識別情報を受信し、その受信情報に基づき前記メモリを照合して前記接続されたセンサの属するグループを判別する判別手段と、
前記判別手段が判別したグループに対応づけられて前記メモリに記憶されている設定の内容に基づいて前記検知動作の定義を示す設定データを作成し、この設定データを前記接続されたセンサに送信することにより、前記接続されたセンサへの設定処理を行う設定手段とを、具備して成る多光軸光電センサの設定用機器。
Detecting a plurality of light shielding state for every optical axis, and is connected to the multi-optical axis photoelectric sensor that outputs a signal indicating the presence or absence of an object based on the detection result, by the device for setting a definition of the detecting operation to the sensor There,
Connection means connected to any one of a plurality of types of multi-optical axis photoelectric sensors in a detachable and communicable manner;
Each sensor is classified according to whether it is a safety sensor that uses an output signal for the purpose of preventing accidents or a non-safety sensor that does not use an output signal for the above purpose. A plurality of groups provided by the above, a memory for storing the setting contents suitable for the purpose of use of the sensor of each group and the identification information of the sensors belonging to the group ,
Determining means for receiving identification information of the sensor from the sensor connected by the connecting means, and checking the memory based on the received information to determine a group to which the connected sensor belongs;
The setting data indicating the definition of the detection operation is created based on the contents of the setting stored in the memory in association with the group determined by the determination unit, and the setting data is transmitted to the connected sensor. Thus , a setting device for a multi-optical axis photoelectric sensor comprising setting means for performing a setting process for the connected sensor.
前記メモリに記憶される設定の内容のうち、安全用センサが属するグループに対する設定の内容に関しては、非安全用センサが属するグループに許可されている所定の設定項目についての設定が禁止されている、請求項1に記載された多光軸光電センサの設定用機器。 Of the setting contents stored in the memory, regarding the setting contents for the group to which the safety sensor belongs, the setting for the predetermined setting items permitted to the group to which the non-safety sensor belongs is prohibited . The multi-optical axis photoelectric sensor setting device according to claim 1. 前記判別手段が接続されているセンサを安全用センサのグループに属すると判別したとき、前記設定手段による処理が行われている間、このセンサからの信号が物体を検知したときと同様の状態になるように設定するためのコマンドを、前記接続されているセンサに送信する手段を、さらに具備する請求項1に記載された多光軸光電センサの設定用機器。 When it is determined that the sensor to which the determination unit is connected belongs to the safety sensor group, the signal from the sensor is in the same state as when the object is detected while the processing by the setting unit is performed. The apparatus for setting a multi-optical axis photoelectric sensor according to claim 1 , further comprising means for transmitting a command for setting so as to become to the connected sensor. 請求項1〜3のいずれかに記載された設定用機器であって、
設定データを入力するための操作部をさらに備え、
前記メモリには、前記安全用センサのグループに対し、センサから危険領域までの間に確保すべき安全距離について所定の制限値が記憶されており、
前記設定手段は、前記接続されたセンサが前記判別手段により安全用センサのグループに属すると判別され、かつ前記操作部において、このセンサから物体検知信号を出力する場合の最小の遮光光軸数を入力する操作が行われたとき、当該センサから検知エリアに入った物体に対する応答時間および光軸間の間隔を表すパラメータを入力し、これらのパラメータを用いて前記操作部から入力された遮光光軸数に対応する安全距離を算出し、算出された安全距離が前記制限値を下回る場合には、前記入力された最小の遮光光軸数をセンサに設定しないように構成される、多光軸光電センサの設定用機器。
The setting device according to any one of claims 1 to 3,
It further includes an operation unit for inputting setting data.
In the memory, a predetermined limit value is stored for a safety distance to be secured between the sensor and the dangerous area for the group of safety sensors,
The setting means determines the minimum number of light-shielding optical axes when the connected sensor is determined to belong to the safety sensor group by the determination means, and the operation unit outputs an object detection signal from the sensor. When an input operation is performed, parameters indicating response time and an interval between the optical axes for the object entering the detection area from the sensor are input, and the light-shielded optical axis input from the operation unit using these parameters A multi-optical axis photoelectric sensor configured to calculate a safety distance corresponding to a number and not to set the input minimum number of light-shielding optical axes in the sensor when the calculated safety distance is less than the limit value. Sensor setting device.
請求項1〜3のいずれかに記載された設定用機器であって、
前記メモリには、無効光軸およびこの無効光軸の集合により形成される無効領域の数について、所定の制限値が格納されており、
前記設定手段は、接続されているセンサに投受光動作を行わせて、遮光状態となった光軸を無効に設定するための設定データを作成したとき、この設定データによる無効光軸および無効領域の数をそれぞれ前記メモリ内の対応する制限値と比較し、いずれかの数が制限値を上回る場合には、前記作成された設定データをセンサに送信しないように構成される、多光軸光電センサの設定用機器。
The setting device according to any one of claims 1 to 3,
The memory stores a predetermined limit value regarding the number of invalid optical axes and invalid areas formed by the set of invalid optical axes,
When the setting means creates the setting data for invalidating the light axis in the light shielding state by causing the connected sensor to perform the light projecting / receiving operation, the invalid optical axis and the invalid area based on the setting data are created. Each of which is compared with a corresponding limit value in the memory, and if any number exceeds the limit value, the multi-optical axis photoelectric sensor is configured not to transmit the created setting data to a sensor. Sensor setting device.
請求項1に記載された設定用機器であって、
前記メモリには、前記各グループに対応づけられる情報および前記設定手段の動作に関するプログラムを含む電子データが格納されており、前記電子データの改訂版を具備する機器からその改訂された電子データの送信を受け付ける手段と、受け付けた電子データに より前記メモリのデータを書き換える手段とを、さらに具備する多光軸光電センサの設定用機器。
A setting device according to claim 1,
The memory stores electronic data including information associated with each group and a program relating to the operation of the setting unit, and transmits the revised electronic data from a device having a revised version of the electronic data. means and, accepted and means for more rewriting the data of the memory to the electronic data, further setting device of the multi-optical axis photoelectric sensor comprising for accepting.
JP2001101726A 2001-03-30 2001-03-30 Multi-optical axis photoelectric sensor setting device Expired - Lifetime JP3965926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001101726A JP3965926B2 (en) 2001-03-30 2001-03-30 Multi-optical axis photoelectric sensor setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001101726A JP3965926B2 (en) 2001-03-30 2001-03-30 Multi-optical axis photoelectric sensor setting device

Publications (2)

Publication Number Publication Date
JP2002296361A JP2002296361A (en) 2002-10-09
JP3965926B2 true JP3965926B2 (en) 2007-08-29

Family

ID=18955001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001101726A Expired - Lifetime JP3965926B2 (en) 2001-03-30 2001-03-30 Multi-optical axis photoelectric sensor setting device

Country Status (1)

Country Link
JP (1) JP3965926B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160052153A (en) * 2014-11-04 2016-05-12 삼성전자주식회사 Method for performing function through using of sensor data and electronic device for supporting the same
WO2019187557A1 (en) * 2018-03-30 2019-10-03 パナソニック デバイスSunx 株式会社 Relay unit for photoelectric sensor

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4009862B2 (en) 2003-09-30 2007-11-21 オムロン株式会社 Multi-axis photoelectric sensor
JP4211719B2 (en) * 2004-09-30 2009-01-21 オムロン株式会社 Multi-axis photoelectric sensor
EP1785745A1 (en) 2005-11-10 2007-05-16 Omron Electronics Manufacturing of Germany GmbH Method and operating unit for configuring and monitoring a system with functional safety.
JP4839805B2 (en) * 2005-11-30 2011-12-21 オムロン株式会社 Sensor device
JP2007235408A (en) * 2006-02-28 2007-09-13 Keyence Corp Multi-optical axis photoelectric safety device and control method thereof
JP5286608B2 (en) * 2009-01-15 2013-09-11 竹中エンジニアリング株式会社 Optical axis adjustment unit with built-in bidirectional wireless communication module
JP2010175488A (en) 2009-01-31 2010-08-12 Keyence Corp Optical scan type photoelectric switch
JP5473044B2 (en) 2009-01-31 2014-04-16 株式会社キーエンス Safety photoelectric switch
US8415609B2 (en) 2009-01-31 2013-04-09 Keyence Corporation Safety photoelectric switch
JP5393183B2 (en) * 2009-01-31 2014-01-22 株式会社キーエンス Safety photoelectric switch and safety control method using the same
JP6007717B2 (en) * 2011-10-14 2016-10-12 オムロン株式会社 Photoelectric sensor
DE102012212754B4 (en) 2012-06-29 2022-03-03 Robert Bosch Gmbh Method for operating a sensor system and sensor system
GB2505046B (en) * 2012-06-29 2018-09-19 Bosch Gmbh Robert Method for operating a sensor system and sensor system
JP6481921B2 (en) * 2014-04-18 2019-03-13 竹中エンジニアリング株式会社 Optical axis adjustment function of light sensor
JP6303882B2 (en) * 2014-07-14 2018-04-04 オムロン株式会社 Multi-optical axis photoelectric sensor system
JP5959674B2 (en) * 2015-02-02 2016-08-02 株式会社キーエンス Multi-axis photoelectric sensor
JP6809088B2 (en) 2016-09-28 2021-01-06 オムロン株式会社 Multi-optical axis photoelectric sensor
JP7021610B2 (en) * 2018-07-04 2022-02-17 オムロン株式会社 Data processing device for multi-optical axis photoelectric sensor
FR3108430B1 (en) * 2020-03-18 2022-04-15 Marc Lecomte Alarm and monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160052153A (en) * 2014-11-04 2016-05-12 삼성전자주식회사 Method for performing function through using of sensor data and electronic device for supporting the same
KR102251964B1 (en) * 2014-11-04 2021-05-14 삼성전자 주식회사 Method for performing function through using of sensor data and electronic device for supporting the same
WO2019187557A1 (en) * 2018-03-30 2019-10-03 パナソニック デバイスSunx 株式会社 Relay unit for photoelectric sensor
US11262476B2 (en) 2018-03-30 2022-03-01 Panasonic Industrial Devices Sunx Co., Ltd. Relay unit for photoelectric sensor

Also Published As

Publication number Publication date
JP2002296361A (en) 2002-10-09

Similar Documents

Publication Publication Date Title
JP3965926B2 (en) Multi-optical axis photoelectric sensor setting device
EP1717653A2 (en) Safety device
JP5215169B2 (en) Method and apparatus for safely, systematically and exclusively assigning operator command approvals for controllable technical devices
US7411319B2 (en) Safety relay system
US6256556B1 (en) Remote operation system for a robot
US11181885B2 (en) Manufacturing device monitoring system and manufacturing device
US20090024230A1 (en) Program development support apparatus of safety controller
JP2008535415A5 (en)
US8090993B2 (en) I/O unit and industrial controller
US20050091410A1 (en) Safety controller with simplified interface
KR920004304B1 (en) Signal transmission device for elevator
CN109643110B (en) Method for operating an industrial control system and corresponding control system
JP2009176275A (en) Safety master
US11698618B2 (en) Safety controller
JP5254968B2 (en) Control device
CN108572611B (en) Information processing apparatus, information processing method, and computer-readable recording medium
CN113165179B (en) Method for operating a machine control system and machine control system
JP2005025479A (en) Safety relay system and control method for safety relay
JP2009223398A (en) Industrial controller
US20190324410A1 (en) Safety Switch
KR920008284B1 (en) Duplex computer system
JP2003288105A (en) Control unit
JP2009190822A (en) Control operation examination device of elevator
JP2008063053A (en) Elevator transmission control device
JPH118949A (en) Device for preventing fraudulent control of electric power system control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040922

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070521

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3965926

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 6

EXPY Cancellation because of completion of term