JP2002296361A - Apparatus for setting of multiple optical-axis photoelectric sensor - Google Patents

Apparatus for setting of multiple optical-axis photoelectric sensor

Info

Publication number
JP2002296361A
JP2002296361A JP2001101726A JP2001101726A JP2002296361A JP 2002296361 A JP2002296361 A JP 2002296361A JP 2001101726 A JP2001101726 A JP 2001101726A JP 2001101726 A JP2001101726 A JP 2001101726A JP 2002296361 A JP2002296361 A JP 2002296361A
Authority
JP
Japan
Prior art keywords
sensor
setting
data
optical axis
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001101726A
Other languages
Japanese (ja)
Other versions
JP3965926B2 (en
Inventor
Hisashi Takeuchi
寿 竹内
Tetsuya Akagi
哲也 赤木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to 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

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To prevent a multiple optical-axis photoelectric sensor from being set erroneously due to a man-caused mistake, when definition of sensing operation is set at the photoelectric sensor. SOLUTION: A console 3 is connected to the multiple optical-axis photoelectric sensor S, which is composed of a light-projecting part 1 and light-receiving part 2, and setting data which indicates the definition of various sensing operations is instructed to the sensor S from the console 3. A control circuit 36 in the console 3 holds a setting item table for each kind of a sensor for safety and a sensor for non-safety, it fetches the type of sensor through communication with the sensor S, and the setting item table according to the type is selected, to be shifted to an operating mode which can be set.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数の光軸毎に
遮光状態を検知してその検知結果を出力する多光軸光電
センサに関するもので、特に、センサに対し、その検知
動作の定義を設定するための機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-optical axis photoelectric sensor which detects a light-shielded state for each of a plurality of optical axes and outputs the detection result. Related to equipment for setting.

【0002】[0002]

【従来の技術】一般的な多光軸光電センサは、複数の投
光素子が一列に配置された投光部と、投光素子と同数の
受光素子が一列に配置された受光部とを、各投受光素子
を一対一の関係で向かい合うように配置して成る。前記
投光部と受光部とは、通信線を介して接続されており、
投光部側で各投光素子を順次発光させるとともに、受光
部側で各投光素子に対応する受光素子から前記投光素子
の発光動作に同期するタイミングで得た受光量を取り出
すことにより、光軸毎の遮光状態を順に検知するように
している。さらに受光部では、各光軸毎の検知結果を用
いて検知エリアに物体があるか否かを判別し、その判別
結果を示す信号(以下、「物体検知信号」という。)を
出力する。
2. Description of the Related Art A general multi-optical axis photoelectric sensor includes a light projecting section in which a plurality of light projecting elements are arranged in a row, and a light receiving section in which the same number of light projecting elements are arranged in a row. The light emitting and receiving elements are arranged so as to face each other in a one-to-one relationship. The light emitting unit and the light receiving unit are connected via a communication line,
By causing each light emitting element to emit light sequentially on the light emitting part side, and by taking out the amount of light received at a timing synchronized with the light emitting operation of the light emitting element from the light receiving element corresponding to each light emitting element on the light receiving part side, The light blocking 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】この種のセンサは、通常は、いずれか一光
軸において遮光状態を検知すると、物体検知信号をオン
にするように設定される。しかしながらセンサの設置場
所やセンサの使用目的によっては、特定の光軸における
検知結果を無効にしたり、所定数以上の光軸が遮光され
た場合のみ物体検知信号をオンにするなど、検知動作の
内容に種々の条件を設定しなければならない場合があ
る。
Usually, this type of sensor is set to turn on an object detection signal when a light-shielded state is detected in any one optical axis. However, depending on the installation location of the sensor and the purpose of use of the sensor, the details of the detection operation, such as invalidating the detection result on a specific optical axis, turning on the object detection signal only when more than a predetermined number of optical axes are blocked, etc. May need to set various conditions.

【0004】図14は、特定光軸の無効化を必要とする
具体例であって、図中、101は投光部を、102は受
光部を、103は機械を、それぞれ示す。この例では、
機械103の危険領域に合わせて投受光部101,10
2を設置したとき、図14(1)に示すように、光軸の
一部(図中、P1,P2,P3と示す。)が機械103
に遮断された状態となるため、通常の設定では正常な検
知動作を行うことは不可能となる。このような場合に
は、図14(2)に点線で示すように、遮断される各光
軸P1,P2,P3をあらかじめ無効化して、有効な光
軸のみで検知を行うように設定する。なお、このように
一部の光軸を無効化する処理は、「フィックスブランキ
ング」と呼ばれている。
FIG. 14 shows a specific example in which a specific optical axis needs to be invalidated. In the figure, reference numeral 101 denotes a light projecting unit, 102 denotes a light receiving unit, and 103 denotes a machine. In this example,
Emitter / receiver units 101 and 10 according to the danger area of machine 103
14, a part of the optical axis (indicated as P1, P2, P3 in the figure) is a machine 103 as shown in FIG.
In this case, it is impossible to perform a normal detection operation under normal settings. In such a case, as shown by a dotted line in FIG. 14 (2), each of the blocked optical axes P1, P2, and P3 is invalidated in advance, and the detection is performed only with the valid optical axis. The process of invalidating a part of the optical axis is called "fixed blanking".

【0005】図15は、遮光光軸数の設定を必要とする
第2の例を示す。この例での多光軸光電センサは、ワー
クを差し込んで曲げ加工を行うタイプのプレス機におい
て、作業者の手が危険領域に近づいたとき、物体検知信
号をオンにしてプレス動作を停止させるように設定され
ている。しかしながら通常の検知動作によれば、作業者
の手よりも厚みの薄いワークにより光軸が遮光された場
合でもプレス動作が停止してしまうので、作業者の手の
大きさに応じた数の光軸が遮光状態となったときに物体
検知信号を出力するように設定する必要がある。(この
ような遮光される光軸の基準数を検出対象に合わせて設
定する処理を、「フローティングブランキング」と呼ん
でいる。)
FIG. 15 shows a second example in which the number of light shielding optical axes needs to be set. The multi-optical axis photoelectric sensor in this example is a type of press machine that inserts a workpiece and performs a bending process. When a worker's hand approaches a dangerous area, an object detection signal is turned on to stop the press operation. Is set to However, according to the normal detection operation, even when the optical axis is shielded by a work thinner than the worker's hand, the press operation is stopped. It is necessary to set so that an object detection signal is output when the shaft is in the light-shielded state. (The process of setting the reference number of the light-shielded optical axis in accordance with the detection target is called "floating blanking.")

【0006】従来、フィックスブランキングを行うに
は、センサをティーチングモードにした上で投受光動作
を行わせ、遮光状態となった光軸やその光軸の数を記憶
させるようにしている。他方、フローティングブランキ
ングについては、センサを専用のコントローラやパーソ
ナルコンピュータなどの設定用の機器に接続し、これら
の機器でユーザーが検出対象の物体の大きさに応じて決
定した遮光光軸数の入力を受け付けて、この入力値をセ
ンサに送信するようにしている。
Conventionally, in order to perform fixed blanking, a sensor is set to a teaching mode, and then a light emitting / receiving operation is performed to store the light-shielded optical axes and the number of the optical axes. On the other hand, for floating blanking, the sensor is connected to a dedicated controller or a setting device such as a 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. Is received and this input value is transmitted to the sensor.

【0007】[0007]

【発明が解決しようとする課題】この種の多光軸光電セ
ンサには、機械の作動などにより生じる危険領域に作業
者の身体が近づいたことを検知して機械を停止させるな
ど、事故防止のための対応をとる目的で使用されるセン
サ(以下、「安全用センサ」という。)として使用され
るものと、コンベア上を搬送されるワークを検出するな
ど、安全防止を目的としないセンサ(以下、「非安全用
センサ」という。)として使用されるものとがある。
The multi-optical axis photoelectric sensor of this type is designed to prevent accidents such as stopping the machine by detecting that the worker's body has approached a danger zone caused by the operation of the machine. (Hereinafter referred to as "safety sensors") and sensors not intended to prevent safety, such as detecting workpieces conveyed on a conveyor (hereinafter referred to as "safety sensors"). , "Non-safety sensors").

【0008】安全用センサについては、誤った設定を行
うと、人身事故を引き起こす虞があるため、ティーチン
グ作業を慎重に行う必要がある。たとえば前記フィック
スブランキングの設定時に、塵芥などのノイズによって
遮光状態となるべきでない光軸が遮光状態となって、誤
った光軸の無効化設定が行われると、検知時に、この誤
設定された光軸に入った人体が入っても、それを検知す
ることができなくなり、人体が危険領域に入る前に機械
を停止できなくなる虞が生じる。
[0008] In the case of incorrect setting of the safety sensor, there is a risk of causing a personal injury. Therefore, it is necessary to carefully perform a teaching operation. For example, when the fixed blanking is set, an optical axis that should not be in a light-shielded state due to noise such as dust is in a light-shielded state, and an invalid optical axis invalidation setting is performed. 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 dangerous area.

【0009】また人体が検知された場合に、この人体が
危険領域に入るまでに機械を停止できるように、センサ
を危険領域から十分に離れた位置に設置する必要があ
る。この安全確保のために必要な距離(以下、「安全距
離」という。)は、センサが物体検知信号を出力してか
ら機械が停止するまでの間に人体が移動する距離よりも
十分に大きく設定しなければならない。特に前記フロー
ティングブランキングを設定する場合、検出可能な物体
が大きくなるほど、物体検知にかかる時間が遅れるの
で、安全距離をより長く設定する必要がある。したがっ
てこの安全距離が確保できていない状態でフローティン
グブランキングが設定されると、たとえ人体を検知して
も、その人体が危険領域に入る前に機械を停止できな
い、という事態が生じる。
Further, when a human body is detected, it is necessary to install a sensor at a position sufficiently distant from the dangerous area so that the machine can be stopped before the human body enters the dangerous area. The distance required for ensuring this safety (hereinafter referred to as “safety distance”) is set to be 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 longer the detectable object is, the longer the time required for object detection is. Therefore, it is necessary to set a longer safe distance. Therefore, if floating blanking is set in a state where the safety distance cannot be secured, even if a human body is detected, the machine cannot be stopped before the human body enters the dangerous area.

【0010】また光軸毎の遮光状態の検知は、前記した
ように、受光素子により得られた受光量をしきい値と比
較することにより行われるが、安全用センサにおいて、
このしきい値を自由に設定できるようにすると、安全を
確保するには不十分なレベルにまでセンサの感度が低下
する虞がある。
[0010] 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.
If this threshold can be set freely, the sensitivity of the sensor may be reduced to a level that is insufficient for ensuring safety.

【0011】このようなことから、特に安全用センサに
対する設定は、設定の趣旨や内容を熟知している熟練者
が行うのが望ましい。しかしながらたとえ熟練者が設定
を行っても、フィックスブランキングの設定時にノイズ
の混入を見落としたり、フローティングブランキングの
設定時に安全距離の算出を誤ったり、安全用センサであ
るのに、非安全用センサであると勘違いして設定を行う
などのミスを起こす虞がある。
From the above, it is desirable that the setting for the safety sensor be performed by a skilled person who is familiar with the purpose and content of the setting. However, even if an expert performs the setting, it may overlook noise contamination when setting the fixed blanking, incorrectly calculate the safety distance when setting the floating blanking, or use the non-safety sensor There is a possibility that a mistake such as setting may be mistakenly made.

【0012】一方、非安全用センサについては、用途や
作業環境などに応じて設定を柔軟に変更できるようにす
るのが望ましい。また現場サイドでは、複数のセンサに
対する設定を1台の機器で行うようにしたいという要望
があるので、この要望に応じて、コンソールのような携
帯型の設定用機器により各センサの設定を行うことがで
きるようにするのが望ましい。しかしながらこの種の設
定用機器を、安全用センサと非安全用センサとの両方で
共用できるようにすると、一般の作業者が、作業を行い
やすくするために安全用センサの設定を勝手に変更し、
その結果、誤った設定がなされてしまう可能性がある。
On the other hand, it is desirable that the setting of the non-safety sensor can be flexibly changed according to the use or the working environment. On the site side, there is a demand that the settings for a plurality of sensors be performed by a single device. In response to this request, the settings of each sensor should be performed using 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 the safety sensor and the non-safety sensor, ordinary workers can change the setting of the safety sensor without permission to make work easier. ,
As a result, incorrect settings may be made.

【0013】この発明は上記問題点に着目してなされた
もので、多光軸光電センサに検知動作の定義を設定する
際に、人為的ミスなどにより誤まった設定がなされるの
を防止し、センサの使用目的に応じた正しい設定が行わ
れるようにすることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and prevents an erroneous setting due to a human error or the like when setting a definition of a detection operation in a multi-optical axis photoelectric sensor. It is another object of the present invention to ensure that correct settings are made according to the purpose of use of the sensor.

【0014】[0014]

【課題を解決するための手段】この発明が適用される多
光軸光電センサは、長手形状の機体を有する投光部およ
び受光部を、投受光面を対向させて配備して成る。投光
部および受光部の内部には、それぞれ複数の投光素子、
複数の受光素子が機体の長手方向に沿って配備されるほ
か、投受光動作を制御するための制御回路や通信回路な
どが組み込まれている。各通信回路は、通信線を介して
接続されており、この通信線を介した信号のやりとりに
より、各光軸を順に有効化して遮光状態を検知し、その
検知結果を出力する。
A multi-optical axis photoelectric sensor to which the present invention is applied is provided with a light projecting unit and a light receiving unit having a longitudinal body, which are arranged with light projecting and receiving surfaces facing each other. A plurality of light-emitting elements,
A plurality of light receiving elements are provided along the longitudinal direction of the body, and a control circuit, a communication circuit, and the like for controlling light emitting and receiving operations are 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-shielded state, and output the detection result.

【0015】この発明にかかる第1の構成の設定用の機
器は、上記の多光軸光電センサに接続されて、検知動作
の定義を教示するためのものである。ここでいう「検知
動作の定義」とは、前記フィックスブランキングやフロ
ーティングブランキングのほか、各光軸の遮光状態を判
断するためのしきい値,検知信号として出力される信号
の種類,外部入力信号(センサと機械側の駆動系との間
に介在させるリレーからの信号など)を受け付けるか否
かなど、センサの検知動作に関わる種々の条件について
の定義を意味する。
A setting device according to the first configuration of the present invention is connected to the above-described multi-optical axis photoelectric sensor and is for teaching the definition of a detecting operation. The “definition of the detection operation” here includes the fixed blanking and the floating blanking, a threshold value for determining the light blocking state of each optical axis, a type of a signal output as a detection signal, and an external input. This means the definition of various conditions related to the detection operation of the sensor, such as whether or not 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 models, applications, functions, and the like, and is preferably a portable device such as a console. However, it is not always necessary to configure as a setting device dedicated to the multi-optical axis photoelectric sensor, and a notebook computer or a general-purpose portable electronic device may be incorporated as a setting device by incorporating a teaching program.

【0017】この発明にかかる設定用の機器は、複数の
グループに分類された多光軸光電センサについて、グル
ープ毎にそのグループに許可された設定の内容を記憶す
るメモリと、接続されたセンサからそのセンサの所属す
るグループを示すデータを取り込んで、このデータに対
応する設定の内容を選択する手段と、前記選択された設
定の内容を用いて前記センサへの設定処理を行う手段と
を具備する。
[0017] The setting device according to the present invention comprises, for a multi-optical axis photoelectric sensor classified into a plurality of groups, a memory for storing the contents of the setting permitted for each group, and a connected sensor. A means for fetching data indicating a group to which the sensor belongs, and selecting a setting content corresponding to the data; and a means for performing a setting process for the sensor using the selected setting content. .

【0018】上記した設定の内容とは、複数の多光軸光
電センサを、光軸数,分解能などの構成の差異や用途な
どに応じて分類した場合のグループ毎に設定されるもの
で、たとえば各グループに許可された設定項目を示すテ
ーブルとして示すことができる。この発明では、少なく
とも安全用センサ用のテーブルと、非安全用センサ用の
テーブルとの2種類のテーブルを設定することができ、
また安全用センサ,非安全用センサについて、それぞれ
複数のテーブルを設けることもできる。また1グループ
につき1センサと考えて、センサの型式毎に個別にテー
ブルを設けることも可能である。
The contents of the above-mentioned setting are set for each group when a plurality of multi-optical axis photoelectric sensors are classified according to the difference in the configuration such as the number of optical axes and resolution, the use, and the like. It can be shown as a table showing the setting items permitted for each group. In the present invention, at least two types of tables, a table for a safety sensor and a table for a non-safety sensor, can be set,
In addition, 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 separate table for each sensor type, considering one sensor per group.

【0019】また各グループ毎のテーブルを設定する代
わりに、各種設定項目につき、それぞれ各グループ毎に
その項目にかかる設定が許可されているか否かを、フラ
グのようなデータにより示すこともできる。さらに設定
の内容としては、許可された設定項目に限らず、フロー
ティングブランキングにおいて遮光光軸数として設定で
きる数値範囲や、フィックスブランキングにおいて一連
の無効化された光軸による領域の数など、設定における
制限をグループ毎に示すこともできる。
Instead of setting a table for each group, it is also possible to indicate, for each setting group, whether or not setting for the item is permitted for each group by data such as a flag. In addition, the setting contents are not limited to the permitted setting items, such as a numerical range that can be set as the number of light-shielded optical axes in floating blanking, the number of areas due to a series of disabled optical axes in fixed blanking, and the like. Can be shown for each group.

【0020】『センサの所属するグループを示すデー
タ』は、たとえばセンサの型式であって、センサ側を、
起動時に自発的にデータ送信を行うように構成し、接続
機器側で、センサからのデータ送信を受け付けるように
して、センサの所属するグループを示すデータを取り込
むことができる。ただし、接続機器側において、センサ
にデータ送信を求めるコマンドを送り、このコマンドに
対するセンサからの応答を受け付けるようにすれば、セ
ンサが稼働している時でも、適宜、設定を変更すること
が可能になる。
The "data indicating the group to which the sensor belongs" is, for example, the type of the sensor,
It is possible to configure so that data transmission is performed spontaneously at the time of start-up, and the connected device side can receive data transmission from the sensor, and fetch data indicating the group to which the sensor belongs. However, if the connected device sends a command requesting data transmission to the sensor and accepts a response from the sensor to this command, it is possible to change the setting as appropriate even when the sensor is operating. Become.

【0021】上記構成によれば、センサ側からの送信デ
ータによりそのセンサの所属するグループに対応した設
定の内容を選択してセンサへの設定処理を行うので、作
業者が誤って別のタイプのセンサの設定を行う虞がなく
なり、設定ミスを防止することができる。
According to the above configuration, the setting content corresponding to the group to which the sensor belongs is selected based on the transmission data from the sensor side, and the setting process for the sensor is performed. There is no danger of setting the sensor, and setting errors can be prevented.

【0022】好ましい態様によれば、前記メモリには、
安全用センサおよび非安全用センサについての設定の内
容が記憶されており、安全用センサについては、非安全
用センサについて許可されている所定の設定項目につい
ての設定が禁止される。このような設定項目として、た
とえば光軸の遮光状態を判別するためのしきい値の変更
があげられる。この場合、検知レベルを維持して安全を
確保するために、安全用センサについては、検知レベル
を引き下げる虞のある設定を禁止するのが望ましい。他
方、非安全用センサについては、使用目的などに応じ
て、しきい値をある程度変更できるようにして、使い勝
手を向上することができる。
According to a preferred embodiment, the memory includes:
The settings of the safety sensor and the non-safety sensor are stored, and the setting of the predetermined setting item permitted for the non-safety sensor is prohibited for the safety sensor. As such a setting item, for example, there is a change of a threshold value for determining a light blocking state of the optical axis. In this case, in order to maintain safety by maintaining the detection level, it is desirable to prohibit the setting of the safety sensor that may lower the detection level. On the other hand, for the non-safety sensor, the threshold value can be changed to some extent according to the purpose of use and the like, so that usability can be improved.

【0023】また上記構成の接続用機器においては、接
続されたセンサからのデータにより前記センサが安全用
センサであるか否かを判別し、安全用センサであると判
別した場合には、このセンサを物体検知状態に設定する
手段を具備させるのが望ましい。このような設定によれ
ば、設定処理時には本来の物体検知状態と同様に機械の
動作を停止させるなどの処理が行われるので、設定処理
中の事故を防止でき、安全な環境下で設定作業を進める
ことができる。
In the connection device having the above configuration, it is determined whether or not the sensor is a safety sensor based on data from the connected sensor. It is desirable to provide a means for setting the object to the object detection state. According to such a setting, during the setting processing, processing such as stopping the operation of the machine is performed in the same manner as in the original object detection state, so that an accident during the setting processing can be prevented, and the setting work can be performed in a safe environment. You can proceed.

【0024】つぎにこの発明にかかる第2の構成の設定
用機器は、所定の設定項目についての教示データの入力
を受け付ける手段と、接続されたセンサから前記設定項
目に関わるセンサの特徴を示すパラメータを取り込ん
で、そのパラメータを用いて教示データの適否を判別す
る手段と、前記教示データが適正であると判別されたと
き、この教示データを確定して前記センサに送信する手
段とを具備する。たとえば、設定項目として、センサが
検知すべき最小の物体の大きさに対応する遮光光軸数
(すなわちフローティングブランキング)を設定する場
合、センサからは、センサから危険領域までの安全距離
を算出するためのパラメータ(センサの応答時間,光軸
数,光軸の間隔など)を取り込む必要がある。なお、こ
の種のパラメータは、設定の都度、センサにコマンドを
送信して取り込むこともできるが、センサに接続された
ときなどに一括して取り込むのが望ましい。
Next, the setting device of the second configuration according to the present invention is a means for receiving input of teaching data on a predetermined setting item, and a parameter indicating characteristics of a sensor related to the setting item from a connected sensor. And means for determining whether the teaching data is appropriate using the parameters, and means for determining the teaching data and transmitting it to the sensor when the teaching data is determined to be appropriate. For example, when setting the number of light-shielded optical axes (that is, floating blanking) corresponding to the minimum object size to be detected by the sensor as a setting item, a safe distance from the sensor to the dangerous area is calculated from the sensor. (Such as the response time of the sensor, the number of optical axes, and the interval between optical axes) must be captured. It should be noted that this kind of parameter can be sent to the sensor and taken in every time it is set, but it is desirable to take in all at once when connected to the sensor.

【0025】上記構成の設定用機器によれば、フローテ
ィングブランキングの設定時に、ユーザーの入力した遮
光光軸数に対応する安全距離を算出するためのパラメー
タを取り込んで安全距離を算出し、その算出結果により
適正な安全距離が確保されているか否かを判別する。こ
のようにユーザーの入力したデータを教示データとして
センサに設定する場合に、センサ側から取り込んだパラ
メータにより教示データの適否を判別した上で教示デー
タを確定するので、人為ミスにより誤った設定が行われ
るのを防止することができる。
According to the setting device having the above configuration, when setting the floating blanking, a parameter for calculating a safety distance corresponding to the number of light-shielded optical axes input by the user is calculated to calculate the safety distance. Based on the result, it is determined whether or not an appropriate safety distance is secured. In the case where the data input by the user is set as the teaching data in the sensor as described above, the teaching data is determined after judging the suitability of the teaching data based on the parameters fetched from the sensor side. Can be prevented.

【0026】また上記第1,第2の各構成の設定用機器
には、接続されたセンサに教示データを設定するのに先
立ち、この教示データを所定の制限値と比較して教示デ
ータの適否を判別する手段と、前記教示データが不適正
と判別されたときその教示データのセンサへの設定を禁
止する手段を設けるのが望ましい。この場合の『教示デ
ータの設定』とは、センサにおける遮光状態の検知結果
やユーザーの入力データに基づき設定用機器内で作成し
た教示データをセンサに送信して設定する処理をいう。
『制限値』とは、フィックスブランキングにおける無効
光軸数や光軸が無効化されている領域の数、フローティ
ングブランキングにおける遮光光軸の数など、センサの
検知感度を所定値内に維持する上で許容できる最大の値
に相当するもので、あらかじめ機器内に設定されたデフ
ォルト値またはユーザーにより十分に検討されて入力さ
れた値により設定することができる。
Prior to setting the teaching data to the connected sensor, the setting device of each of the first and second configurations compares the teaching data with a predetermined limit value to determine whether the teaching data is appropriate. And a means for prohibiting the setting of the teaching data to the sensor when the teaching data is determined to be inappropriate. “Teaching data setting” in this case refers to a process of transmitting the teaching data created in the setting device to the sensor based on the detection result of the light-shielded state of the sensor and the input data of the user, and setting the sensor.
The "limit value" means that the detection sensitivity of the sensor is maintained within a predetermined value, such as the number of invalid optical axes in fixed blanking, the number of areas where optical axes are invalidated, and the number of light-shielded optical axes in floating blanking. This corresponds to the maximum value that can be tolerated above, and can be set by a default value preset in the device or a value that has been sufficiently considered and input by the user.

【0027】上記構成によれば、たとえばフィックスブ
ランキングの設定時に、ノイズの混入により無効化され
るべきでない光軸が無効化されていることに気づかずに
教示を行おうとするなど、制限値を越えた教示が行われ
る場合に、この教示データのセンサへの送信が禁止され
るので、ノイズにより誤まった設定が行われるのを防止
することができる。またユーザーの入力データに基づい
て教示される項目についても、その入力データが不適正
であれば、教示が禁止されるので、ユーザーの誤入力に
より誤った設定が行われるのを防止することができる。
According to the above configuration, for example, when setting the fixed blanking, it is necessary to set a limit value such as trying to teach without noticing that the optical axis that should not be invalidated due to the noise is invalidated. In the case where the teaching is performed beyond this, transmission of the teaching data to the sensor is prohibited, so that erroneous setting due to noise can be prevented. Also, for items taught based on the user's input data, if the input data is incorrect, the teaching is prohibited, so that erroneous setting by user's erroneous input can be prevented. .

【0028】さらに上記各構成の接続機器には、前記検
知動作の定義を教示する方法およびこの教示に必要なデ
ータを電子データ形式で具備する制御回路と、改訂され
た電子データを具備する機器からその電子データの送信
を受け付ける手段と、受け付けた電子データにより前記
制御回路のデータを書き換える手段とを具備させるのが
望ましい。
Further, the connected devices having the above-described configurations include a method of teaching the definition of the detection operation, a control circuit having data necessary for the teaching in an electronic data format, and a device having the revised electronic data. It is desirable to have a means for receiving the transmission of the electronic data and a means for rewriting the data of the control circuit with the received electronic data.

【0029】なお、上記の電子データとは、検知動作の
定義を教示する上での処理手順を示すプログラムのほ
か、前記設定テーブルなどの固定データを含むが、必ず
しも全てのプログラムや固定データが変更された場合に
限らず、一部のプログラムまたはデータが変更された場
合も、データが改訂されたものと考えることができる。
また前記改訂されたデータを具備する機器(パーソナル
コンピュータなど)からのデータ送信を受けるには、こ
の機器と設定用機器とを通信線を介して接続するか、無
線による通信によって機器間でデータをやりとりできる
ように構成する必要がある。このような構成によれば、
新たに型式の異なるセンサが販売されたり、センサへの
設定の内容が変更されても、接続用機器を買い換える必
要がなく、変更に簡単かつ速やかに対応することができ
る。
The above-mentioned electronic data includes not only a program indicating a processing procedure for teaching the definition of the detection operation but also fixed data such as the setting table, but not all programs and fixed data are necessarily changed. Not only when the data is changed, but also when some programs or data are changed, the data can be considered to be revised.
To receive data transmission from a device (such as a personal computer) having the revised data, connect the device to a setting device via a communication line, or transfer data between devices by wireless communication. It needs to be configured to be able to communicate. According to such a configuration,
Even if a new sensor of a different type is sold or the content of the setting for the sensor is changed, there is no need to replace the connection device, and the change can be easily and promptly dealt with.

【0030】[0030]

【発明の実施の形態】図1は、この発明の一実施例にか
かる多光軸光電センサの構成を示す。この多光軸光電セ
ンサSは、複数の投光素子11が配備された投光部1
と、前記投光素子11と同数の受光素子21が配備され
た受光部2とを、投受光面を対向させて配備したもので
ある。投光部1には、前記投光素子11のほか、各投光
素子11を個別に駆動する駆動回路12,光軸順次選択
回路13,制御回路16,通信回路17,電源回路18
などが組み込まれる。また受光部2には、前記受光素子
21のほか、各受光素子21毎のアンプ22およびアナ
ログスイッチ23,光軸順次選択回路25,制御回路2
6,制御回路26への入力用のアンプ24,通信回路2
7,電源回路28などが組み込まれる。
FIG. 1 shows a 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 in which a plurality of light projecting elements 11 are provided.
And a light receiving unit 2 provided with the same number of light receiving elements 21 as the light emitting elements 11 are provided with their light emitting / receiving surfaces facing each other. The light projecting unit 1 includes, in addition to the light projecting elements 11, a driving circuit 12 for individually driving each of the light projecting elements 11, an optical axis sequential selecting circuit 13, a control circuit 16, a communication circuit 17, and a power supply circuit 18.
And so on. In addition to the light receiving elements 21, an amplifier 22 and an analog switch 23 for each light receiving element 21, an optical axis sequential selection circuit 25, a control circuit 2
6, amplifier 24 for input to control circuit 26, communication circuit 2
7, a power supply circuit 28 and the like are incorporated.

【0031】投受光部1,2の各制御回路16,26
は、CPUやメモリを具備するマイクロコンピュータな
どにより構成される。各通信回路17,27は、RS4
85に準拠する通信インターフェースであって、同じく
RS485に対応するタイプの2本の通信線6A,6B
を介して、投受光部1,2間における信号のやりとりを
制御する。
Each of the control circuits 16 and 26 of the light emitting and receiving sections 1 and 2
Is constituted by a microcomputer having a CPU and a memory. Each of the communication circuits 17 and 27 is an RS4
85, and two communication lines 6A and 6B of a type also corresponding to RS485.
, The exchange of signals between the light emitting and receiving units 1 and 2 is controlled.

【0032】各電源回路18,28は、共通の外部電源
5(直流電源)から電源の提供を受け、それぞれ同じ装
置内(投光部1または受光部2内)の各部に電源を供給
する。なお、外部電源5から各電源回路18,28への
電源供給は、2本の電源ライン7A,7Bをそれぞれ分
岐させて、一方を投光部1側の電源回路18に、他方を
受光部2側の電源回路28に接続することにより行われ
る。したがって投光部1と受光部2とは、前記通信線6
A,6Bおよび電源ライン7A,7Bにより接続された
状態となる。
Each of the power supply circuits 18 and 28 receives power from a common external power supply 5 (DC power supply) and supplies power to each unit 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 each of the power supply circuits 18 and 28 is performed by branching the two power supply lines 7A and 7B, and providing one to the power supply circuit 18 on the light emitting 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 emitting unit 1 and the light receiving unit 2 are connected to the communication line 6.
A, 6B and power supply lines 7A, 7B.

【0033】投光部1側の制御回路16は、所定の時間
毎にタイミング信号を発生させて、これを光軸順次選択
回路13に与える。光軸順次選択回路13は、各投光素
子11の駆動回路12を順に制御回路16に接続するた
めのゲート回路であって、この回路における切替処理に
より、前記制御回路16からのタイミング信号が各駆動
回路12に順に与えられて、各投光素子11の順次発光
動作が実現する。さらに前記タイミング信号は、通信回
路17,27を介して受光部2側の制御回路26にも与
えられる。
The control circuit 16 of the light projecting section 1 generates a timing signal at predetermined time intervals and supplies the timing signal to the optical axis sequential selection circuit 13. The optical axis sequential selection circuit 13 is a gate circuit for sequentially connecting the drive circuits 12 of the respective light projecting elements 11 to the control circuit 16, and the switching signal in this circuit causes the timing signal from the control circuit 16 to be 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】受光部2において、各受光素子21からの
出力(以下、受光出力」という。)は、アンプ22,ア
ナログスイッチ23を介して制御回路26への入力ライ
ン29に送出される。制御回路26は、投光部1からの
タイミング信号を光軸順次選択回路25に送って、各光
軸のアナログスイッチ23を順にオン動作させ、発光し
た投光素子11に対応する受光素子21からの受光出力
を取り込むとともに、各受光出力をそれぞれ所定のしき
い値と比較するなどして、各光軸が遮光状態であるか否
かを判別する。すべての光軸に対する受光出力の取り込
みが終了すると、制御回路26は、光軸毎の判別結果を
まとめて最終的な判別処理を行って、その判別結果を示
す物体検知信号を生成し、これを図示しない出力回路を
介して外部に出力する。
In the light receiving section 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 a control circuit 26 via an amplifier 22 and an analog switch 23. The control circuit 26 sends the timing signal from the light projecting unit 1 to the optical axis sequential selection circuit 25 to turn on the analog switches 23 of the respective optical axes in order, and from the light receiving element 21 corresponding to the light emitting element 11 that has emitted light. The received light output is taken in, and each received light output is compared with a predetermined threshold value to determine whether or not each optical axis is in a light-shielded state. When the reception of the light receiving outputs for all the optical axes is completed, the control circuit 26 performs a final determination process by combining the determination results for each optical axis, generates an object detection signal indicating the determination results, and Output to the outside via an output circuit (not shown).

【0035】さらにこの実施例では、前記投受光部1,
2間において、分岐コネクタ4により通信線6A,6B
や電源ライン7A,7Bを中継しつつ、これらのライン
を外部に分岐させて、設定用のコンソール3を接続する
ようにしている。
Further, in this embodiment, the light emitting and receiving units 1 and 2
Between the communication lines 6A, 6B by the branch connector 4.
While relaying the power supply lines 7A and 7B, these lines are branched to the outside and the setting console 3 is connected.

【0036】前記コンソール3は、稼働前のセンサSを
ティーチングモードにして、前記したフィックスブラン
キングやフローティングブランキングなど、種々の検知
動作の定義を設定するためのものである。図2は、前記
コンソール3の外観を示す。機体の前面には、数値やメ
ッセージなどを表示するための表示器31A,31Bの
ほか、コンソール3に設定されている制御モードを報知
するための複数の報知用ランプ32や押釦キー33など
が設けられる。また機体の上面には、前記分岐コネクタ
4からの接続ケーブル57を接続するための接続端子
(図示せず。)が設けられる。
The console 3 is for setting the sensor S before operation to a teaching mode and setting various detection operations such as the fixed blanking and floating blanking described above. FIG. 2 shows the appearance of the console 3. On the front of the body, there are provided display devices 31A and 31B for displaying numerical values and messages, and a plurality of notification lamps 32 and push button keys 33 for notifying the control mode set on the console 3. Can be A connection terminal (not shown) for connecting a connection cable 57 from the branch connector 4 is provided on the upper surface of the body.

【0037】前記押釦キー33は、センサSをティーチ
ングモードに設定したり、設定用のデータやコマンドを
入力するためのものである。表示部31A,31Bは、
押釦キー33の操作内容に応じたデータを表示したり、
フィックスブランキングの設定時などに、光軸毎の受光
量、または遮光状態の検知結果を必要に応じて表示した
り、ティーチング済の設定データを呼び出して表示する
のに用いられる。
The push button keys 33 are 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,
It is used to display the amount of light received for each optical axis or the detection result of the light-shielded state as necessary when setting fixed blanking, and to recall and display teaching-completed setting data.

【0038】図1に戻って、前記コンソール3の機体内
部には、マイクロコンピュータによる制御回路36のほ
か、通信回路37,電源回路38,表示回路34,入力
部35などが組み込まれる。通信回路37は、投受光部
2の通信回路と同様に、RS485規格のインターフェ
ースであり、前記分岐コネクタ4により分岐された通信
線6A,6Bに接続される。電源回路38は、分岐コネ
クタ4により分岐された電源ライン7A,7Bに接続さ
れており、外部電源5からの電源を取り込んでコンソー
ル3内の各部に供給する役割を果たす。
Returning to FIG. 1, inside the body of the console 3, a communication circuit 37, a power supply circuit 38, a display circuit 34, an input unit 35 and the like are incorporated in addition to a control circuit 36 by a microcomputer. The communication circuit 37 is an interface of the RS485 standard similarly to the communication circuit of the light emitting and receiving unit 2 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 the power from the external power supply 5 and supplying it to each part in the console 3.

【0039】表示回路34は、前記機体前面の表示器3
1A,31Bに情報を表示したり、報知用ランプ32を
点灯させるための制御を行う表示用インターフェースで
ある。また入力部35は、押釦キー33による入力を受
け付けて、その入力内容を制御回路36に伝える入力用
インターフェースである。
The display circuit 34 includes a display 3 on the front of the body.
This is a display interface for performing control for displaying information on 1A and 31B and for turning on the notification lamp 32. The input unit 35 is an input interface for receiving an input from the push button key 33 and transmitting the input content to the control circuit 36.

【0040】前記制御回路36は、CPUのほか、プロ
グラムや後記する設定項目テーブルなどが書き込まれた
フラッシュROMを具備するもので、入力部35を介し
て押釦キー33からの入力を取り込みながら、前記投光
部1及び受光部2との通信によりセンサSに各種検知動
作の定義を設定したり、センサSから現在の設定内容を
取り込んで表示器31A,31Bに表示させるなどの処
理を行う。
The control circuit 36 includes a CPU and a flash ROM in which a program and a setting item table described later are written. The control circuit 36 receives an input from the push button key 33 through an input unit 35 and Processing such as setting definitions of various detection operations in the sensor S by communication with the light projecting unit 1 and the light receiving unit 2 and taking in current setting contents from the sensor S and displaying them on the displays 31A and 31B are performed.

【0041】上記構成によれば、投光部1,受光部2,
およびコンソール3の各通信回路17,27,37にR
S485規格のインターフェースを組み込むことによっ
て、各機器間においてそれぞれ個別に双方向通信を行う
ように設定されるので、コンソール3では、投光部1,
受光部2のいずれに対しても、個別の設定処理を行うこ
とができる。物体検知に関わる定義の殆どは、受光部2
側の制御回路26に設定されるが、フィックスブランキ
ングのように、実際の検知処理結果を登録する必要のあ
る処理では、投光部1にコマンドを送信して投光動作を
行わせながら、受光部2側で得られた検知結果を取り込
んで、光軸の無効化処理などを行い、その結果を受光部
2に設定することになる。
According to the above configuration, the light projecting unit 1, the light receiving unit 2,
And the communication circuit 17, 27, 37 of the console 3
By incorporating an interface of the S485 standard, it is set so that bidirectional communication is performed individually between each device.
Individual setting processing can be performed on any of the light receiving units 2. Most of the definitions related to object detection are
Is set in the control circuit 26 on the side, but in a process such as fixed blanking in which an actual detection process result needs to be registered, a command is transmitted to the light emitting unit 1 to perform a light emitting operation. The detection result obtained on the light receiving unit 2 side is taken in, an optical axis invalidation process or the like is performed, and the result is set in the light receiving unit 2.

【0042】図3は、前記投受光部1,2の外観を分岐
コネクタ4の取り付け例とともに示す。なお、この図3
上では投受光部1,2の各部材の構成を示す符号にP,
Qを付けているが、以下の説明では、投受光部1,2の
両方の構成に言及する場合は、各構成に共通する数字部
分のみを示すことにする。
FIG. 3 shows the appearance of the light emitting and receiving sections 1 and 2 together with an example of mounting the branch connector 4. Note that FIG.
In the above, P, P,
Although Q is attached, in the following description, when referring to both the configurations of the light emitting and receiving units 1 and 2, only the numeral part common to each configuration will be shown.

【0043】この実施例の投光部1および受光部2の機
体本体は、両端が開口された長手形状のケース体51に
より構成される。ケース体51の両端開口部には、それ
ぞれ蓋体54が密封固定され、各蓋体54の上面には、
それぞれ接続用のコネクタ52,53が設けられてい
る。これら上下位置のコネクタ52,53は、前記通信
線6A,6Bや電源ライン7A,7Bのほか、入出力用
の複数の信号線を中継するためのもので、下方のコネク
タ53は雄コネクタ,上方のコネクタ52は雌コネクタ
として、それぞれ同一径に形成される。
The main body of the light projecting unit 1 and the light receiving unit 2 of this embodiment is constituted by a long case body 51 having both ends opened. Lids 54 are hermetically sealed at both end openings of the case body 51, and on the upper surface of each lid 54,
Connectors 52 and 53 for connection are provided, respectively. These upper and lower connectors 52 and 53 are 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. Are formed to have the same diameter as female connectors.

【0044】また各コネクタ52P,52Q,53P,
53Qの端子配置はいずれも同様であるが、各端子が扱
う信号には、投光部1,受光部2によって若干の違いが
ある。ただし、前記通信線6A,6Bおよび電源ライン
7A,7Bについては、いずれのコネクタでも同じ位置
の端子を使用する。
Each of the connectors 52P, 52Q, 53P,
Although the terminal arrangement of 53Q is the same, the signals handled by each terminal 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, the terminals at the same positions are used in all the connectors.

【0045】投光部1および受光部2は、それぞれ下方
の雄コネクタ53P,53Qがケーブル54を介して図
示しない配線基盤などに取り付けられる。前記分岐コネ
クタ4は、T字コネクタであって、コネクタ53P,5
3Qのいずれか一方(図示例では、受光部2側のコネク
タ53Q)とケーブル58Qとの間で信号を中継すると
ともに、分岐路は、前記コンソール3への接続用ケーブ
ル57に接続される。なおこの分岐コネクタ4により分
岐されるのは前記通信線6A,6Bおよび電源ライン7
A,7Bのみであり、その他の信号線については、接続
用コネクタ53からケーブル58への中継用の信号路の
みが形成される。なお、図中、55a,55b,55c
は、各部材の接続を固定させるためのローレット、5
6,59は中継用のコネクタである。
The light projecting section 1 and the light receiving section 2 have lower male connectors 53P and 53Q, respectively, attached to a wiring board (not shown) via a cable 54. The branch connector 4 is a T-shaped connector and includes connectors 53P, 5P.
The signal is relayed between one of the 3Qs (in the illustrated example, the connector 53Q on the light receiving unit 2 side) and the cable 58Q, and the branch path is connected to the cable 57 for connection to the console 3. Note that the branching connector 4 branches the communication lines 6A and 6B and the power line 7
A and 7B only, and for other signal lines, only a signal path for relay from the connector 53 for connection to the cable 58 is formed. In the figure, 55a, 55b, 55c
Are knurls for fixing the connection of each member, 5
6, 59 are relay connectors.

【0046】前記したように、投受光部1,2の各雄コ
ネクタ53P,53Qは、同一径であり、通信線6A,
6Bおよび電源ライン7A,7B用の端子が同じ位置に
配置されているので、分岐コネクタ4は、図4に示すよ
うに、投光部1および受光部2のいずれのコネクタ53
P,53Qにも接続することができる。
As described above, the male connectors 53P and 53Q of the light emitting and receiving units 1 and 2 have the same diameter, and have the communication lines 6A and 6A.
6B and the terminals for the power supply lines 7A and 7B are arranged at the same position, and therefore, as shown in FIG.
P, 53Q can also be connected.

【0047】また分岐コネクタ4の中継用の各接続口
は、一方が雄コネクタ53に、他方が雌コネクタ52に
それぞれ対応するように形成されている。したがって分
岐コネクタ4は、上方の雌コネクタ52P,52Qにも
接続することができるので、センサの設置場所などの条
件に応じて接続に最適のコネクタを選択して分岐コネク
タ4を取り付けることができ、コンソール3の接続や取
り外しをきわめて容易に行うことが可能となる。また分
岐コネクタ4自身も簡単に取り外すことができるので、
センサの設置場所を変更する場合などにも容易に対応す
ることができる。
Each of the relay connection ports of the branch connector 4 is formed so that one of them corresponds to the male connector 53 and the other corresponds to the female connector 52. Therefore, the branch connector 4 can also be connected to the upper female connectors 52P and 52Q. Therefore, the optimum connector for connection can be selected according to the conditions such as the installation location of the sensor, and the branch connector 4 can be attached. The connection and detachment of the console 3 can be performed very easily. Also, 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】さらにコンソール3は、必要に応じて分岐
コネクタ4に接続することができるので、複数のセンサ
が配備される環境においても、各センサに同様の分岐用
コネクタを取り付けておけば、共通のコンソール3を使
用することができ、設定用の機器にかかるコストを削減
することができる。このことから、この実施例では、コ
ンソール3に、安全用センサ,非安全用センサの両方の
タイプに対応する設定を行うためのプログラムを組み込
んで、各種センサに対する設定を1台のコンソール3で
行うようにしている。
Further, since the console 3 can be connected to the branch connector 4 as required, even in an environment where a plurality of sensors are provided, if a similar branch connector is attached to each sensor, a common branch connector is provided. The console 3 can be used, and the cost for the setting device can be reduced. For this reason, in this embodiment, a program for making settings corresponding to both types of the sensor for safety and the sensor for non-safety is incorporated in the console 3 and the settings for various sensors are made with one console 3. Like that.

【0049】さらにこのコンソール3は、設定用のプロ
グラムが変更されたり、新しい型式のセンサが発売され
た場合にも継続して使用できるように、適宜、制御回路
36のプログラムや固定データを書き換えることができ
るように構成される。
Further, the console 3 can rewrite the program and the fixed data of the control circuit 36 as appropriate so that the console 3 can be used continuously even when the setting program is changed or a new type of sensor is released. It is configured to be able to.

【0050】この書き換え処理は、図5に示すように、
コンソール3を、RS485・RS232C変換器80
を介して、バージョンアップ用の電子データを具備する
パーソナルコンピュータ81に接続した上で、コンソー
ル3の動作モードを後記する書き換えモードに切り替え
て行われる。なお、バージョンアップ時のコンソール3
の通信回路37は、専用ケーブルとして形成された通信
線61によって変換器80に接続される。また電源回路
38も、独立の電源ライン71によって外部電源5´に
接続される。
In this rewriting process, as shown in FIG.
Connect the console 3 to the RS485 / RS232C converter 80
Is connected to a personal computer 81 having electronic data for version upgrade via the PC, and the operation mode of the console 3 is switched to a rewrite mode described later. In addition, 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】つぎにこの実施例のコンソール3による処
理の内容を、具体的に説明する。なお、このコンソール
3による通信や設定は、投光部1または受光部2、もし
くは投受光部1,2の両方に対して行われるので、以下
の説明では、設定処理の対象を投受光部1,2を含む単
体のセンサSとして説明する。
Next, the contents of the processing by the console 3 of this embodiment will be specifically described. Note that communication and setting by the console 3 are performed for both the light emitting unit 1 or the light receiving unit 2 or both the light emitting and receiving units 1 and 2. , 2 will be described as a single sensor S.

【0052】この実施例のコンソール3は、安全用,非
安全用のいずれのセンサにも適用できるように、前記制
御回路36内に各種センサ毎の設定項目テーブルを組み
込んでいる。各設定項目テーブルは、それぞれ安全用セ
ンサ,非安全用センサに対して設定が許可された項目を
示すもので、安全用センサ対応のテーブルと非安全用セ
ンサ対応のテーブルとに共通する項目もあれば、いずれ
か一方のテーブルにのみ設けられる項目もある。
The console 3 of this embodiment incorporates a setting item table for each sensor in the control circuit 36 so as to be applicable to both safety and non-safety sensors. Each setting item table indicates an item for which setting is permitted for the safety sensor and the non-safety sensor. Some items are common to the table corresponding to the safety sensor and the table corresponding to the non-safety sensor. For example, some items are provided only in one of the tables.

【0053】たとえば、前記フィックスブランキングや
フローティングブランキングの設定については、安全
用,非安全用のいずれのセンサの設定項目テーブルにも
含まれている。一方、光軸毎の遮光状態を判別するため
のしきい値の変更については、非安全用センサ対応のテ
ーブルには設定項目として含まれているが、安全用セン
サ対応のテーブルでは、センサの感度が低下することが
ないように、設定項目からはずし、センサSにあらかじ
め設定されたしきい値を保持するようにしている。な
お、安全用センサ,非安全用センサの各設定項目テーブ
ルには、それぞれ複数の型式のセンサを対応させること
ができ、また前記書き換えモードを利用して、新たな型
式のセンサを追加することもできる。
For example, the setting of the fixed blanking and the floating blanking is included in the setting item tables 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 in the table corresponding to the non-safety sensor as a setting item. Is removed from the setting items so that the sensor S does not decrease, and the threshold value preset for the sensor S is held. A plurality of types of sensors can be associated with each setting item table of the safety sensor and the non-safety sensor, and a new type of sensor can be added using the rewrite mode. it can.

【0054】この実施例のコンソール3は、ユーザーが
誤って目的のセンサに対応しない設定項目テーブルを呼
び出してティーチングを行うことがないように、接続さ
れたセンサSからそのセンサSの型式を取り込み、この
型式に応じた設定項目テーブルを自動的に呼び出すよう
にしている。また各種設定項目について、あらかじめ設
定値の上限となる制限値を登録しておき、一般ユーザー
がこの制限値を越える設定を行った場合は、その設定値
がセンサに送信されるのを禁止するようにしている。特
にフローティングブランキングを設定する場合には、安
全距離が確保されていない状態での設定が行われること
がないように、接続されたセンサSの光軸数,光軸間の
間隔,検知エリアに入った物体を検知して検知出力を行
うまでの応答時間など、安全距離を算出するためのパラ
メータ(以下、「センサパラメータ」と総称する。)を
取り込んで設定された遮光光軸数に対応する安全距離を
算出し、この算出結果が制限値を越えていないかどうか
を確認するようにしている。
The console 3 of this embodiment fetches the type of the sensor S from the connected sensor S so that the user does not accidentally call the setting item table that does not correspond to the target sensor and perform teaching. The setting item table corresponding to this model is automatically called. In addition, for various setting items, a limit value that is the upper limit of the set value is registered in advance, and if a general user performs a setting exceeding this limit value, the setting value is prohibited from being transmitted to the sensor. I have to. In particular, when setting the floating blanking, the number of optical axes of the connected sensors S, the interval between the optical axes, and the detection area are set so that the setting in a state where the safety distance is not secured is not performed. A parameter for calculating a safe distance (hereinafter, collectively referred to as a “sensor parameter”), such as a response time required for detecting an entering object and performing a detection output, is taken in and corresponds to the set number of light-shielded optical axes. The safety distance is calculated, and it is checked whether the calculation result does not exceed the limit value.

【0055】なお、上記の設定値の適否を判別するため
の制限値には、後記する通常モードFの機能を用いて、
現場管理者などの特定のユーザーにより入力された値が
採用される。ただし制限値はこれに限らず、あらかじめ
制御回路36内にデフォルトの値を設定することもでき
る。またこのデフォルトの制限値を、前記設定項目テー
ブル内に組み込むようにしてもよい。
The limit value for judging whether the set value is appropriate or not is set by using a function of a normal mode F described later.
The value input by a specific user such as a site manager is adopted. 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】またこの実施例のセンサSには、複数種の
動作モードが設定されており、コンソール3からの指令
に応じて制御モードを切り替えることによって、適宜、
通常の検知動作を終了して設定変更を受け付けるように
している。ただし一連の投受光処理の途中でモードを切
り替えると、遮光状態にあるのにこの検知が出力されず
にモードが切り替わり、危険状態が発生する虞があるの
で、後記するように、センサS側の投受光処理が終了し
た時点でモードを切り替えるようにしている。
In the sensor S of this embodiment, a plurality of operation modes are set, and by switching the control mode in accordance with a command from the console 3, the operation mode can be appropriately changed.
The normal detection operation is terminated and the setting change is accepted. However, if the mode is switched in the middle of a series of light emission / reception processing, the mode is switched without outputting this detection even though the light is blocked, and a danger state may occur. The mode is switched when the light emitting / receiving process is completed.

【0057】図6は、センサSに設定される動作モード
と各モード間の関係とを概略的に示す。この実施例のセ
ンサSには、通常モード,設定モード,読み書きモード
の3つの動作モードが存在する。このうち通常モード
は、通常の物体検知処理を行うためのモードであり、読
み書きモードは、コンソール3からティーチングのため
のコマンドを受け付けてこれを実行するためのモードで
ある。設定モードは、通常モードと読み書きモードとの
中間に位置するモードであって、通常モードと同様に投
受光動作を行っているが、検知出力については、通常モ
ードにおいて物体を検知した時と同様の状態になるよう
に設定されている。(たとえば、物体検知時の出力信号
のレベルがLレベルであれば、同様にLレベルの信号を
出力する。)
FIG. 6 schematically shows the operation modes set for 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. The normal mode is a mode for performing a normal object detection process, and the read / write mode is a mode for receiving a command for teaching from the console 3 and executing the command. The setting mode is a mode located between the normal mode and the read / write mode, and performs the light emitting and receiving operation as in the normal mode. However, the detection output is the same as when an object is detected 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, a signal of L level is output similarly.)

【0058】この実施例のセンサSは、電源が立ち上げ
られた直後に通常モードが設定されるが、コンソール3
から設定モードへの突入命令を受け付けると、設定モー
ドに切り替えられる。さらに設定モードにおいては、コ
ンソール3からの読み書きモードへの突入命令によって
読み書きモードに切り替えられ、読み書きモードにおい
て、コンソール3からの読み書きモード終了命令を受け
付けると、読み書きモードを終了して設定モードに戻
る。また設定モードにおいて、コンソール3から設定モ
ード終了命令を受けると、システムをリセットすること
によって、電源が立ち上げられた直後の通常モードに戻
る。
In the sensor S of this embodiment, the normal mode is set immediately after the power is turned on.
When a command to enter the setting mode is received from the device, the mode is switched to the setting mode. Further, in the setting mode, the mode is switched to the read / write mode by a command to enter the read / write mode from the console 3. In the read / write mode, when a read / write mode end command from the console 3 is received, the read / write mode is ended and the mode returns to the setting mode. 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】図7はコンソール3側に設定される動作モ
ードと各モード間の関係を示す。このコンソール3に
は、センサSへの設定用機器として動作するための通常
モードと、前記したプログラムや設定データの更新のた
めの書き換えモードとの2種類のモードが存在し、通常
はディップスイッチをオフにすることにより、通常モー
ドが設定される。
FIG. 7 shows an operation mode set on the console 3 side and a relationship between each mode. The console 3 has two types of modes, a normal mode for operating as a setting device for the sensor S and a rewrite mode for updating the program and setting data described above. By turning off, the normal mode is set.

【0060】通常モードは、図中、A〜Fの6つの動作
モードに細分化される。通常モードAは、センサSから
前記した型式やセンサパラメータなどのデータ送信を受
け付けてセンサSの種類を判別するモードであり、通常
モードBは、判別した型式に応じて、ティーチング時の
センサS側の動作モードを変更する処理を行うモードで
ある。
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 of the type and the sensor parameters described above is received from the sensor S and the type of the sensor S is determined. The normal mode B is a mode in which the sensor S side during teaching according to the determined type. Is a mode for performing a process of changing the operation mode of the operation.

【0061】通常モードCは、前記押釦キー33による
ユーザーの入力操作に待機するモードであり、このモー
ドにおいてユーザーの入力がなされると、その入力内容
に応じて以下のモードD,E,Fのいずれかが実行さ
れ、再び、通常モードCに戻るように設定されている。
The normal mode C is a mode in which the system waits for a user's input operation by the push button key 33. When a user's input is made in this mode, the following modes D, E, and F are set according to the input contents. Either is executed, and the setting is made to return to the normal mode C again.

【0062】通常モードDは、前記通常モードCにおい
て、所定の設定項目についての設定を行う設定命令(既
に設定されたデータを変更する命令も含む。)が入力さ
れた場合に、この命令を実行するモードであって、ユー
ザーの指定した設定項目について、センサ側に入力され
た設定値を登録させる処理を行う。通常モードEは、通
常モードCにおいて、センサSに現在設定されている設
定値をモニタする命令が入力された場合に、この命令を
実行するモードであって、センサS側からユーザーの指
定した設定項目についての設定値を取り込んで、これを
前記表示器31A,31Bに表示するなどの処理を行
う。
In the normal mode D, when a setting command (including a command for changing already set data) for setting a predetermined setting item is input in the normal mode C, this command is executed. In this mode, for the setting items specified by the user, a process of registering the setting values input to the sensor side is performed. The normal mode E is a mode in which, in the normal mode C, when a command for monitoring a set value currently set in the sensor S is input, the command is executed, and the setting specified by the user from the sensor S is performed. Processing such as taking in set values for items and displaying them on the displays 31A and 31B is performed.

【0063】さらに通常モードFは、ユーザーがティー
チングのための設定値の制限値を入力したときに、これ
を受け付けてメモリ内に登録したり、ユーザーがティー
チング終了後にセンサSを書込みロック状態に設定する
ためのコマンドを入力したときに、これを受け付けてセ
ンサSを設定値の変更が不可能な状態に設定するなど、
設定値の変更に制約を設けるための処理を行うためのも
のである。なお、この通常モードFについては、現場管
理者など特定のユーザーの入力のみを受け付けるよう
に、まずパスワードの登録を行って、その後、登録され
たパスワードの入力を伴うコマンドのみを受け付けるよ
うにするのが望ましい。
In the normal mode F, when a user inputs a limit value of a set value for teaching, this is accepted and registered in a memory, or the user sets the sensor S to a write locked state after the end of teaching. When a command for inputting a command is input, the command is received and the sensor S is set to a state where the set value cannot be changed.
This is for performing a process for providing a restriction on the change of the set value. In this normal mode F, a password is first registered so that only a specific user such as a site manager can be input, and then only a command accompanied by the input of the registered password is received. Is desirable.

【0064】センサSへの設定を行う際には、まず通常
モードAにおいて接続されているセンサSから型式を取
り込んでそのセンサSの種類を判別した後、通常モード
Bにおいて、前記センサSに、そのセンサSの種類に応
じた動作モードを設定する。以下、通常モードCにおい
てコマンドの入力がなされる都度、そのコマンドの内容
に応じて通常モードD,E,Fのいずれかを実行するこ
とによってセンサSに各種項目についての設定を行うこ
とになる。
When setting the sensor S, first, the model is taken from the sensor S connected in the normal mode A and the type of the sensor S is determined. An operation mode corresponding to the type of the sensor S is set. Hereinafter, each time a command is input in the normal mode C, any one of the normal modes D, E, and F is executed in accordance with the content of the command to set various items in the sensor S.

【0065】なお、コンソール3側の通常モードA〜F
において、センサSからデータを取り込んだり、センサ
Sに設定データやコマンドを送信するためには、事前に
センサSに設定モード突入命令や読み書きモード突入命
令を送ってセンサS側の動作モードを読み書きモードに
切り替えておく必要がある。ただし、センサS側が通常
の検知動作を行っている途中にモードの切替が行われる
と、センサSの検知エリアに物体が入っているのにこれ
を検知できない危険状態が生じる虞があるので、この実
施例では、モードの切替えについては、センサS側に権
限をもたせている。具体的には、1サイクル分の投受光
処理が終了した時点で、センサS側がコンソール3に、
モードを切り替えるかどうかを確認し、コンソール3か
らの切替の指示があれば、つぎのモードに移行するよう
にしている。
The normal modes A to F on the console 3 side
In order to fetch data from the sensor S or transmit setting data and 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, and the operation mode on the sensor S side is read / written. It is necessary to switch to. However, if the mode is switched while the sensor S is performing the normal detection operation, there is a possibility that a danger state in which an object is in the detection area of the sensor S but cannot be detected may occur. In this embodiment, the mode is switched by giving the authority to the sensor S side. Specifically, when the light emission / reception processing for one cycle is completed, the sensor S side transmits the
It is checked whether or not the mode is to be switched, and if there is a switching instruction from the console 3, the mode is shifted to the next mode.

【0066】またこの実施例では、ティーチング時に
は、コンソール3上で設定データの内容を決定してから
センサSに設定データやコマンドを送信することになる
ので、センサSは、コンソール3からの送信を受けるま
では待機状態となる。この実施例では、設定対象のセン
サSが安全用センサである場合には、この待機状態下で
のセンサを前記設定モードにすることにより、センサS
からの検知出力を物体を検知したときと同じ状態とし
て、機械の動作を止めるなどの安全対策をとるようにし
ている。他方、設定対象のセンサSが非安全用センサで
ある場合には、前記待機状態下の空き時間にも物体検知
ができるように、前記センサSを通常モードに設定する
ようにしている。
In this embodiment, at the time of teaching, setting data and commands are transmitted to the sensor S after the contents of the setting data are determined on the console 3. It will be in a standby state until it is received. In this embodiment, when the sensor S to be set is a safety sensor, the sensor in the standby state is set to the setting mode, whereby the sensor S
The detection output from is set to the same state as when an object is detected, and 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 an object can be detected even during the idle time in the standby state.

【0067】図8は、前記センサSの3つのモードにお
ける処理手順を示す。(図中、各ステップは「st」と
示す。)なお、ここに示す手順は、安全用センサ,非安
全用センサのいずれについても共通である。まず電源が
立ち上げられると、通常モードが開始されて、1サイク
ル分の投受光処理が実行される(st1)。なお、ここ
では図示していないが、この1サイクル分の投受光処理
により物体を検知した場合には、物体検知状態を示すレ
ベルに設定された検知信号を出力する。
FIG. 8 shows a processing procedure of the sensor S in three modes. (In the figure, each step is shown as "st.") The procedure shown here is common to both the safety sensor and the non-safety sensor. First, when the power is turned on, the normal mode is started, and the light emitting / receiving process for one cycle is executed (st1). Although not shown here, when an object is detected by this one cycle of light emission / reception processing, a detection signal set to a level indicating the object detection state is output.

【0068】つぎのst2では、コンソール3に対し、
設定モードに突入するか否かを確認するための信号を送
信するようにしている。この信号に対し、コンソール3
から後記する突入命令を受け取ると、st3が「YE
S」となり、通常モードを終了して設定モードを開始す
る。
In the next st2, the console 3 is
A signal for confirming whether to enter the setting mode is transmitted. The console 3
Receives a rush command described later from the
S ", the normal mode ends and the setting mode starts.

【0069】設定モードでは、まずst4において、受
光部2からの検知出力を物体検知状態を示すレベルに設
定した後、つぎのst5において、1サイクル分の投受
光処理を実行する。つぎのst6では、コンソール3に
対し、読み書きモードに突入するか否かを確認するため
の信号を送信するようにしている。この信号に対し、コ
ンソール3から突入命令が返送されると、st7が「Y
ES」となり、設定モードを終了して読み書きモードへ
と進む。
In the setting mode, first, in st4, the detection output from the light receiving section 2 is set to a level indicating the object detection state, and then in st5, one cycle of light emission / reception processing 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 "Y
ES ", the setting mode ends, and the process proceeds to the read / write mode.

【0070】一方、前記読み書きモードへの突入確認用
の信号に対し、コンソール3から設定モードの終了命令
が返送されると、st8が「YES」となってst9に
進み、ソフトウェアリセット命令を実行することによっ
て設定モードを終了し、通常モードへと戻る。
On the other hand, when the console 3 returns a command to end the setting mode in response to the signal for confirming the entry into the read / write mode, st8 becomes "YES", the process proceeds to st9, and the software reset command is executed. This ends the setting mode and returns to the normal mode.

【0071】読み書きモードは、投受光処理を行わなず
に、コンソール3からのコマンドに応じた処理のみを行
うもので、コンソール3からコマンドが送信されると、
st10からst11を経由してst12に進み、コマ
ンドに応じた処理を実行する。ただし送信されたコマン
ドが読み書きモードの終了命令である場合は、st11
が「YES」となり、読み書きモードから設定モードへ
と戻る。
In the read / write mode, only the processing according to the command from the console 3 is performed without performing the light emission / reception processing.
The process proceeds from st10 to st12 via st11, and executes processing according to the command. However, if the transmitted command is a read / write mode end command, st11
Becomes "YES" and returns from the read / write mode to the setting mode.

【0072】図9は、前記コンソール3が起動してから
ティーチング処理開始に至るまで(前記図7の通常モー
ドCの段階に至るまで)の手順を示す。(図中、各ステ
ップは「ST」と示す。) まず起動時には、ST1において、ディップスイッチを
チェックする。ここでディップスイッチがオンであれ
ば、ST1が「YES」となって図示しないプログラム
の書換え処理手順を実行する。一方、ディップスイッチ
がオフであれば、以下、センサSからの確認信号に待機
する。
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). (Each step is shown as “ST” in the figure.) First, at the time of startup, a dip switch is checked in ST1. If the dip switch is ON, ST1 becomes "YES" and a program rewriting process 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】接続されたセンサSが通常モード下にあれ
ば、前記図8のst1〜3に示したように、このセンサ
Sからは、1サイクル分の投受光処理を行う毎に、設定
モードへの確認用の信号が送信される。この信号を受け
付けると、ST2が「YES」となってST3に進み、
前記センサSからの確認信号に対し設定モードへの突入
命令を送信する。
If the connected sensor S is in the normal mode, as shown in st1 to st3 of FIG. 8, the sensor S switches to the setting mode every time light emission / reception processing for one cycle is performed. Is transmitted. When this signal is received, ST2 becomes "YES" and proceeds to ST3.
A command to enter the setting mode is transmitted in response to the confirmation signal from the sensor S.

【0074】送信を終えた後は、再びST2に戻って、
センサSからの再度の信号送信に待機する。先の突入命
令により設定モードに切り替えられたセンサSは、図8
のst5,6において、1サイクル分の投受光処理を行
う毎に読み書きモードへの突入確認用の信号を送信して
いるから、この信号を受け付けると、ST4からST5
に進み、前記センサSからの確認信号に対し読み書きモ
ードへの突入命令を送信する。
After completing the transmission, return to ST2 again,
It waits for another signal transmission from the sensor S. The sensor S switched to the setting mode by the previous rush command is shown in FIG.
In st5 and st6, a signal for confirming entry into the read / write mode is transmitted each time light emission / reception processing for one cycle is performed.
And sends a command to enter the read / write mode in response to the confirmation signal from the sensor S.

【0075】この突入命令を受けたセンサSは、前記し
たように読み書きモードに切り替えられてコンソール3
からのコマンドに待機するようになる。コンソール3側
では、ST6において、前記読み書きモードに入ったセ
ンサSに対し、型式やセンサパラメータの送信を要求す
るコマンドを送ってこれらのデータを取り込み、さらに
つぎのST7で前記取り込んだデータからセンサの種類
を判別する。
The sensor S which has received the rush command is switched to the read / write mode as described above and
Will wait for a command from. On the console 3 side, in ST6, a command requesting the transmission of the model and the sensor parameters is sent to the sensor S that has entered the read / write mode to capture these data, and in the next ST7, the sensor data is read out from the captured data. Determine the type.

【0076】つぎに、ST8では、センサSに読み書き
モード終了命令を送信して、センサSを読み書きモード
から設定モードに戻す。ここで前記ST7において判別
したセンサSの種類が安全用センサであれば、つぎのS
T9が「YES」となってST10に進み、前記2種類
の設定項目テーブルのうち、安全用センサ対応の設定項
目テーブルの方を選択する。
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. If the type of the sensor S determined in ST7 is a safety sensor, the next S
T9 becomes "YES" and the process proceeds to ST10, where the setting item table corresponding to the safety sensor is selected from the two types of setting item tables.

【0077】一方、センサSが非安全用センサである場
合は、ST9からST11に進んで、前記センサSから
の読み書きモードへの突入確認用の信号送信に待機す
る。ここで信号が送信されると、ST11からST12
に進んで、設定モード終了命令を送信することにより、
センサS側に、本体をリセットして通常モードに復帰す
る処理を行わせる。
On the other hand, if the sensor S is a non-safety sensor, the process proceeds from ST9 to ST11 to wait for the sensor S to transmit a signal for confirming entry into the read / write mode. If the signal is transmitted here, ST11 to ST12
To send the setting mode end command,
The sensor S is caused to perform a process of resetting the main body and returning to the normal mode.

【0078】こうしてセンサSを通常モードに復帰させ
ると、つぎのST13では、前記2種類の設定項目テー
ブルのうち、非安全用センサ対応の設定項目テーブルの
方を選択する。
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】このように、センサSから取り込んだ型式
に基づき、設定項目テーブルを選択するとともに、セン
サSの種類に応じてセンサSの動作モードを設定モード
または通常モードのいずれかに設定する。この設定が終
了すると、ST14に進み、前記表示器31A,31B
に選択した設定項目テーブルの設定項目を表示して、ユ
ーザーの項目選択に待機する。
As described above, the setting item table is selected based on the model taken 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 indicators 31A and 31B are displayed.
Display the setting item of the selected setting item table and wait for the user to select the item.

【0080】なお、安全用センサについては、ST10
の処理によりティーチング時に設定モードを維持して安
全を確保する必要があるので、ティーチング時に設定や
モニタのためのコマンドを送信する際に、設定モードか
ら読み書きモードに切り替えてコマンドを送信した場合
は、速やかに設定モードに復帰するのが望ましい。(勿
論、読み書きモード下においても、センサの検知出力を
物体検知時と同じ状態に設定する必要がある。)
The safety sensor is described in ST10.
It is necessary to maintain the setting mode at the time of teaching by the processing of and secure the safety.When sending the command for setting and monitoring at the time of teaching, if the command is switched from the setting mode to the read / write mode and the command is sent, It is desirable to return to the setting mode promptly. (Of course, even in the read / write mode, the detection output of the sensor needs to be set to the same state as when the object is detected.)

【0081】一方、非安全用センサについては、前記S
T12の処理により通常モードに復帰させてティーチン
グ時の待機時間中に検知動作を行わせているから、設定
やモニタのためのコマンドを送信する際には、まず通常
モードの投受光処理が終了するのを待って設定モードに
切り替え、さらに設定モードから読み書きモードに切り
替えてコマンドを送信し、しかる後に通常モードに復帰
させる必要がある。
On the other hand, for the non-safety sensor,
Since the detection operation is performed during the standby time at the time of teaching by returning to the normal mode by the processing of T12, when transmitting a command for setting or monitoring, first, the light emission / reception processing in the normal mode ends. Then, it is necessary to switch to the setting mode, switch from the setting mode to the read / write mode, transmit the command, and then return to the normal mode.

【0082】つぎにコンソール3による設定処理の具体
例として、代表的なティーチングであるフィックスブラ
ンキングとフローティングブランキングの設定にかかる
手順を順に説明する。図10は、フィックスブランキン
グの設定時の手順を、ST21〜32の符号により示
し、図11は、フローティングブランキングの設定時の
手順を、ST41〜52の符号により示す。
Next, as a specific example of the setting processing by the console 3, a procedure for setting fixed blanking and floating blanking, which are typical teaching, will be described in order. FIG. 10 shows the procedure at the time of setting the fixed blanking by reference numerals ST21 to ST32, and FIG. 11 shows the procedure at the time of setting the floating blanking by reference numerals ST41 to ST52.

【0083】まずフィックスブランキングの設定におい
ては、ユーザーが設定項目を選択したことに応じて、前
記表示器31A,31Bにティーチング処理開始の確認
用メッセージを表示する。この表示に対し、ユーザーが
確定操作を行うと、ST22からST23に進み、セン
サSから各光軸の遮光状態の検知結果を取り込んで、各
光軸が遮光または非遮光のいずれの状態にあるかを判別
する。
First, in setting the fixed blanking, a message for confirming the start of the teaching process is displayed on the indicators 31A and 31B in response to the user selecting the setting item. When the user performs a confirming operation on this display, the process proceeds from ST22 to ST23, in which the detection result of the light-shielded state of each optical axis is fetched from the sensor S, and whether each optical axis is in the light-shielded or non-light-shielded state is determined. Is determined.

【0084】つぎのST24では、遮光状態と判定され
た光軸を無効光軸として設定する。なお、光軸を無効化
する処理は、光軸毎に設定されたフラグをオン設定する
処理により行うことができる。
In the next step ST24, the optical axis determined to be in the light-shielded state is set as an invalid optical axis. Note that the process of invalidating the optical axis can be performed by a process of turning on a flag set for each optical axis.

【0085】つぎにST25で、表示器に、設定された
データの送信を行うかどうかを確認するメッセージを表
示する。ここでユーザーが確定操作を行うと、ST26
が「YES」となり、以下の判別処理を順に実行する。
Next, in ST25, a message for confirming whether to transmit the set data is displayed on the display. Here, when the user performs the confirmation operation, ST26
Is "YES", and the following determination processing is sequentially performed.

【0086】ST27では、センサSが書込みロック状
態に設定されているかどうかをチェックする。つぎのS
T28では、前記無効化処理により、検知エリアに設定
された無効領域(1または複数の連続する光軸が無効化
されている領域)の数を制限値N1と比較する。さらに
つぎのST29では、無効化された光軸の総数を制限値
N2と比較する。
In ST27, it is checked whether or not the sensor S is set in the write locked state. Next S
At T28, the number of invalid areas (areas in which one or more continuous optical axes are invalidated) set in the detection area is compared with a limit value N1 by the invalidation processing. Further, in the next ST29, the total number of the revoked optical axes is compared with a limit value N2.

【0087】上記の判別処理において、センサSが書込
みロック状態ではなく、無効領域数,無効光軸数のいず
れもそれぞれの制限値N1,N2の範囲内にあれば、S
T30に進み、各光軸につき前記有効,無効を示すフラ
グデータをセンサSに送信し、これらデータをメモリ内
に登録させる。
In the above-described determination processing, if the sensor S is not in the write locked state and both the number of invalid areas and the number of invalid optical axes are within the limits N1 and N2, respectively, S
Proceeding to T30, the flag data indicating the validity / invalidity for each optical axis is transmitted to the sensor S, and these data are registered in the memory.

【0088】一方、センサSが書込みロック状態に設定
されているか、無効領域数または無効光軸数が制限値N
1,N2を越えている場合は、ST31に移行し、前記
表示器31A,31Bに「送信不可」を示すメッセージ
などを表示した後、ST22に戻って再入力に待機す
る。ここでユーザーが再度、ティーチング開始のための
確定操作を行うと、再び前記ST23以下の処理によ
り、各光軸毎の検知結果を取り込んで、設定データを作
成し直すことになる。よって最初の設定時に、ノイズの
混入により無効領域数または無効光軸数が制限値を越え
てセンサSへの教示が禁止されても、再度の検知結果の
取り込みにより適正な設定データが作成された場合は、
ST30に進んで、センサSに設定データが送信される
ことになる。
On the other hand, the sensor S is set in the write locked state, or the number of invalid areas or the number of invalid optical axes is equal to the limit value N.
If it exceeds 1, N2, the process proceeds to ST31, where a message indicating "transmission impossible" is displayed on the indicators 31A, 31B, and the process returns to ST22 to wait for re-input. Here, when the user again performs the determination operation for starting the teaching, the detection result for each optical axis is fetched again and the setting data is created again by the processing of ST23 and thereafter. Therefore, at the time of the first setting, even if the number of invalid areas or the number of invalid optical axes exceeds the limit value and teaching to the sensor S is prohibited due to the contamination of noise, appropriate setting data is created by taking in the detection result again. If
Proceeding to ST30, the setting data is transmitted to the sensor S.

【0089】なお、ST21またはST25の確認メッ
セージに対し、ユーザーが確定操作を行わずにキャンセ
ル操作を行った場合、または、ST31の「送信不可」
のメッセージに対してキャンセル操作を行った場合に
は、ST32またはST33が「YES」となり、設定
処理は中止される。
When the user performs the cancel operation without performing the confirmation operation in response to the confirmation message in ST21 or ST25, or when the transmission is impossible in ST31.
If a cancel operation has been performed for the message No. ST32 or ST33, "YES" is determined, and the setting process is stopped.

【0090】つぎにフローティングブランキングの設定
においては、ユーザーが設定項目を選択したことに応じ
て、前記表示器31A,31Bに、遮光光軸数を入力す
る画面を提示する(ST41)。ここでユーザーが遮光
光軸数を入力すると、ST42からST43に進み、入
力された数を遮光光軸数として決定した後、つぎのST
44で、前記表示器31A,31Bに、設定データの送
信を行うかどうかを確認するメッセージを表示する。
Next, in setting the floating blanking, a screen for inputting the number of light-shielded optical axes is presented on the displays 31A and 31B in response to the user selecting a setting item (ST41). Here, if the user inputs the number of light-shielded optical axes, the process proceeds from ST42 to ST43, where the input number is determined as the number of light-shielded optical axes, and then the next ST
At 44, a message is displayed on the indicators 31A and 31B to confirm whether to transmit the setting data.

【0091】このメッセージに対し、ユーザーが確定操
作を行うと、ST45からST46に進んで、センサS
が書込みロックされているかどうかを判別する。さらに
書込みロックがなされていない場合は、つぎのST47
において、前記遮光光軸数を制限値N3と比較する。
When the user performs a confirmation operation in response to this message, the process proceeds from ST45 to ST46, where the sensor S
Is write-locked. Further, if the write lock is not established, the next ST47
, The number of light-shielded optical axes is compared with a limit value N3.

【0092】遮光光軸数が制限値N3以内であれば、S
T47からST48に進み、前記センサSから型式とと
もに取り込んだセンサパラメータを用いて、前記遮光光
軸数に対応する安全距離を算出する。この安全距離をS
とすると、Sは、つぎの(1)式により算出される。 S=K×T+C ・・・(1)
If the number of light shielding optical axes is within the limit value N3, S
The process proceeds from T47 to ST48 to calculate a safety distance corresponding to the number of light-shielded optical axes using the sensor parameters taken together with the model from the sensor S. This safe distance is S
Then, S is calculated by the following equation (1). S = K × T + C (1)

【0093】上記(1)式において、Kは検出物体(た
とえば手)の移動速度であり、あらかじめコンソール3
に設定された標準的な値が使用される。Tは、センサS
が物体を検知してから機械が停止するまでの応答時間、
すなわちセンサSから取り込んだセンサSの応答時間と
あらかじめ入力された機械の応答時間(またはデフォル
トの応答時間)とを加算した値に相当する。Cは、物体
がセンサの検知エリアに入ってからセンサに検知される
までにかかる時間に応じて設定されるオフセット値であ
って、センサから取り込んだ光軸間の間隔と前記遮光光
軸数とに基づき、センサが検知可能な最小の物体の大き
さを求め、この物体が大きくなるほどCの値も大きくな
るように設定される。
In the above equation (1), K is the moving speed of the detected object (for example, a hand).
The standard value set in is used. T is the sensor S
Response time from when the object is detected until the machine stops
That is, it is equivalent to a value obtained by adding the response time of the sensor S taken from the sensor S and the response time (or the default response time) of the machine input in advance. C is an offset value that is set in accordance with the time required from when the object enters the detection area of the sensor to when it is detected by the sensor. , The size of the smallest object that can be detected by the sensor is determined, and the larger the object, the larger the value of C is set.

【0094】たとえば、前記図15のようにプレス機に
入り込む手を検知対象とする場合、フローティングブラ
ンキングの遮光光軸数としてユーザーの指の厚みに対応
する光軸数が設定されている場合は、検知エリアに入っ
たユーザーの手をすぐに検知することができるので、C
の値を小さくすることができる。これに対し、遮光光軸
数がユーザーの腕の厚みに対応する数に設定されている
場合は、ユーザーの手が検知されるまでにかなりの時間
がかかり、検知された時点でユーザーの指先は、センサ
Sの検知エリアよりかなり先まで進んでいるから、前記
Cの値を大きくする必要がある。
For example, when a hand entering a press machine is to be detected as shown in FIG. 15, when the number of optical axes corresponding to the thickness of the user's finger is set as the number of light shielding optical axes of floating blanking, , Since the hand of the user entering the detection area can be detected immediately,
Can be reduced. On the other hand, if 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 before the user's hand is detected, and at that point, the user's fingertips , Since it has advanced considerably beyond the detection area of the sensor S, it is necessary to increase the value of C.

【0095】この実施例では、センサSの応答時間と最
小の検知物体を特定するための光軸の間隔とをセンサS
から取り込むようにしているので、前記応答時間Tおよ
びオフセット値Cを正確に求めることができる。
In this embodiment, the response time of the sensor S and the distance between the optical axes for specifying the smallest detected object are determined by the sensor S.
Therefore, the response time T and the offset value C can be accurately obtained.

【0096】よって、ST48で算出された安全距離
は、前記遮光光軸数に対応する物体について、安全を確
保するのに必要な距離を精度良く反映したものとなる。
つぎのST49では、この安全距離を制限値D0と比較
する。ここで安全距離が制限値D0以内であれば、ST
49からST50に進み、前記遮光光軸数を前記センサ
Sに送信し、設定データとしてメモリ内に登録させる。
なお、前記制限値D0は、前記通常モードFの機能を用
いてセンサSの検知領域から危険領域までの実際の距離
に所定のオフセット値を加算した値を入力し、制御回路
36内に登録しておくのが望ましい。
Therefore, the safety distance calculated in ST48 accurately reflects the distance required to ensure safety for the objects corresponding to the number of light-shielded optical axes.
In the next ST49, the safety distance is compared with a limit value D0. If the safe distance is within the limit value D0, ST
From 49, the process proceeds to ST50, where the number of light-shielded optical axes is transmitted to the sensor S, and registered as setting data in the memory.
Note that the limit value D0 is a value obtained by adding a predetermined offset value to the actual distance from the detection area of the sensor S to the dangerous area using the function of the normal mode F, and is registered in the control circuit 36. It is desirable to keep.

【0097】一方、センサSが書込みロックされている
場合や、遮光光軸数または安全距離のいずれかが制限値
N3,D0を越えている場合は、ST51に進み、前記
表示器31A,31Bに「送信不可」を示すメッセージ
などを表示した後、ST42に戻って、遮光光軸数の再
入力を受け付ける。したがって前回に誤った遮光光軸数
が入力された場合も、再入力時に正しい値を入力すれ
ば、その入力値に対してST50までの処理を進めて、
前記再入力された遮光光軸数をセンサSに送信して設定
することが可能となる。
On the other hand, when the sensor S is write-locked, or when either the number of light-shielded optical axes or the safety distance exceeds the limit values N3 and D0, the process proceeds to ST51, where the indicators 31A and 31B are displayed. After displaying a message indicating "transmission is impossible", the process returns to ST42 to accept the re-input of the number of light-shielded optical axes. Therefore, even if the wrong number of light-shielded optical axes was input last time, if a correct value is input at the time of re-input, the processing up to ST50 is advanced for the input value,
The re-input number of light-shielded optical axes can be transmitted to the sensor S and set.

【0098】なお、前記ST41の入力画面、ST44
の確認メッセージの表示画面、またはST51の「送信
不可」のメッセージ表示画面に対してキャンセル操作が
行われた場合は、設定処理を中止する。
The input screen of ST41, ST44
If the cancel operation is performed on the display screen of the confirmation message of "1" or the message display screen of "transmission not possible" in ST51, the setting process is stopped.

【0099】このように、この実施例では、フィックス
ブランキングやフローティングブランキングにおいて、
センサSに設定データを送信する前に、その設定データ
を制限値と照合することによりノイズや誤入力による誤
った設定データがセンサS側に送信されるのを禁止する
ようにしたから、安全用センサについて、誤った設定に
より通常モード時のセンサに誤動作が生じるのを防止で
き、危険状態が発生するのを防止することができる。
As described above, in this embodiment, in fixed blanking and floating blanking,
Before the setting data is transmitted to the sensor S, the setting data is checked against the limit value to prevent erroneous setting data due to noise or erroneous input from being transmitted to the sensor S. With respect to the sensor, it is possible to prevent a malfunction in the sensor in the normal mode due to an incorrect setting, and to prevent a danger state from occurring.

【0100】特に、フィックスブランキングの設定にお
いては、無効領域および無効光軸数の2つのパラメータ
を用いて、設定データの適否をチェックするので、ノイ
ズにより誤った光軸が無効化されて物体を正しく検知で
きない状態になるのを防止することができる。またフロ
ーティングブランキングの設定においては、人身事故に
つながりかねない安全距離をセンサパラメータを用いて
精度良く求め、ユーザが入力した設定値の適否を判別す
るので、不適正な遮光光軸数がセンサSに設定されるの
を確実に防止することができる。
In particular, in setting the fixed blanking, the validity of the setting data is checked by using two parameters of the invalid area and the number of invalid optical axes. It is possible to prevent a state where detection cannot be performed correctly. In the setting of the floating blanking, a safe distance that may lead to a personal injury is accurately obtained by using the sensor parameters, and it is determined whether or not the set value input by the user is appropriate. Setting can be reliably prevented.

【0101】ところで前記図1〜3の構成によれば、複
数のセンサを、両端部のコネクタ52を介して複数接続
した場合も、同様に、マルチドロップ通信を行うように
構成することができる。したがってこのシステムでも、
前記分岐コネクタ4を用いてコンソール3を接続するよ
うにすれば、各センサにそれぞれ個別に検知動作の定義
を設定することが可能となる。
By the way, according to the configuration shown in FIGS. 1 to 3, even when a plurality of sensors are connected via the connectors 52 at both ends, multi-drop communication can be similarly performed. So even in this system,
If the console 3 is connected using the branch connector 4, it is possible to individually set the definition of the detection operation for each sensor.

【0102】図12は、複数の多光軸センサ(図中SA,
Bの2個のみ示す。)を接続した場合の構成例を示
す。なお、この図12では、各投光部1A,1Bおよび
受光部2A,2Bの構成のうち、図示しない投受光動作
に関わる構成については、いずれのセンサも図1と同様
の構成を具備するので図示を省略し、通信に関与する構
成(制御回路16,26,通信回路17,27)および
電源回路18,28のみを示す。
FIG. 12 shows a plurality of multi-optical axis sensors (S A,
It shows only two of the S B. 3) shows an example of a configuration in the case of connecting. In FIG. 12, among the configurations of the light projecting units 1A and 1B and the light receiving units 2A and 2B, as for the configuration relating to the light emitting and receiving operation (not shown), all the sensors have the same configuration as that of FIG. The illustration is omitted, and only the components (control circuits 16 and 26, communication circuits 17 and 27) involved in communication and the power supply circuits 18 and 28 are shown.

【0103】この実施例では、前記両端部の接続用コネ
クタ52,53を介して各センサS A,Bが投光部毎,
受光部毎に連結される。最上位のセンサSAの投光部1
Aと受光部2Aとは、図1の実施例と同様に通信線6
A,6Bおよび電源ライン7A,7Bによって接続され
ており、またセンサ間においては、前記接続用コネクタ
52,53により、通信線6A,6Bおよび電源ライン
7A,7Bがシリアルに中継される。さらに各投受光部
の通信回路17,27は通信線6A,6Bに、電源回路
18,28は電源ライン7A,7Bに、それぞれ接続さ
れて、各投受光部が一連に接続される。
In this embodiment, the connection connectors at both ends are connected.
Sensors S via the sensors 52 and 53 A,SBIs for each light emitting part,
Each light receiving unit is connected. Top sensor SAFloodlight 1
A and the light receiving section 2A are connected to the communication line 6 in the same manner as in the embodiment of FIG.
A, 6B and power supply lines 7A, 7B.
And between the sensors, the connector
The communication lines 6A and 6B and the power line
7A and 7B are serially relayed. In addition, each emitter / receiver
Communication circuits 17 and 27 are connected to communication lines 6A and 6B by a power supply circuit.
18 and 28 are connected to power supply lines 7A and 7B, respectively.
Then, each light emitting and receiving unit is connected in series.

【0104】さらにこの実施例では、最上位のセンサS
Aの投受光部1A,1B間の通信線6A,6Bおよび電
源ライン7A,7Bを、前記図1と同様に、分岐コネク
タ4により中継するとともに、外部に分岐させて、コン
ソール3を接続するようにしている。
Further, in this embodiment, the uppermost sensor S
The communication lines 6A and 6B and the power supply lines 7A and 7B between the light emitting and receiving sections 1A and 1B of A are relayed by the branch connector 4 as in the case of FIG. I have to.

【0105】図12の構成によれば、各投受光部1,2
およびコンソール3には、それぞれ個別のアドレスが割
り当てられるので、センサ間,同じセンサの投受光部
1,2間,および各センサとコンソール3との間で、そ
れぞれ個別に双方向通信を行うことができる。たとえば
上位センサから順に検知動作を行うように設定されてい
る場合、上位センサSA側の投光部1Aまたは受光部2
Aからつぎに動作すべきセンサの投光部2Aまたは受光
部2Bにコマンドを送信することにより、センサ間での
検知処理の引き継ぎが行われる。また各センサにおいて
は、投光部1A,1Bから対応する受光部2A,2Bに
あてて各光軸毎のタイミング信号を送信することによ
り、単体のセンサにおけるのと同様に投受光動作を同期
させて、一連の物体検知処理を実行する。また下位のセ
ンサSBの投光部1Bまたは受光部2Bは、上記のセン
サSAの投光部1Aまたは受光部2Aに対し、一連の検
知動作が終了する都度、自機における最終的な検知結果
を出力する。
According to the configuration shown in FIG.
Since the console 3 and the console 3 are respectively assigned individual addresses, bidirectional communication can be individually performed between the sensors, between the light emitting and receiving units 1 and 2 of the same sensor, and between each sensor and the console 3. it can. For example, if it is set to perform detection operation in order from the upper sensor, the light projecting portion of the upper sensor S A side 1A or the light receiving portion 2
By transmitting a command from A to the light projecting unit 2A or the light receiving unit 2B of the sensor to be operated next, the detection process is taken over between the sensors. Further, in each sensor, by transmitting a timing signal for each optical axis from the light emitting units 1A and 1B to the corresponding light receiving units 2A and 2B, the light emitting and receiving operations are synchronized in the same manner as in a single sensor. Then, a series of object detection processing is executed. The lower sensor S projecting portion 1B or the light receiving portion 2B of B, compared projecting portion 1A or the light receiving portion 2A of the sensor S A, each time the series of detection operation is completed, the final detection in the own device Output the result.

【0106】さらにコンソール3が接続された場合は、
コンソール3と各センサSA,Bとの間で個別に通信を
行って、各センサの型式やセンサパラメータを取り込
み、さらにセンサの型式(種類)に応じた動作モードを
設定した上で各種の教示を行うことになる。
If the console 3 is further connected,
The console 3 and each of the sensors S A and S B individually communicate with each other, fetch the model and sensor parameters of each sensor, set an operation mode according to the model (type) of the sensor, and perform various operations. Teaching will be performed.

【0107】なお、前記したように、各センサの投受光
部1,2の接続用コネクタ52,53は、同一径に形成
されているので、上記構成における分岐コネクタ4は、
図13に示すように、いずれの位置にある接続用コネク
タ52,53にも取り付けることができる。したがって
ユーザーは、これらセンサSA,SBの設置環境や各セン
サSA,SBの位置関係などに応じて、各接続用コネクタ
の中からコンソール3を接続するのに最適な場所を選択
することができ、利便性を大幅に向上することができ
る。
As described above, since the connecting connectors 52 and 53 of the light emitting and receiving sections 1 and 2 of each sensor are formed to have the same diameter, the branch connector 4 in the above configuration is
As shown in FIG. 13, it can be attached to the connection connectors 52 and 53 at any positions. Thus the user, the sensors S A, depending on the positional relationship between the S installation environment and the sensor S A for B, S B, selecting the best place to connect the console 3 from each connector And the convenience can be greatly improved.

【0108】[0108]

【発明の効果】この発明では、多光軸光電センサに検知
動作の定義を教示するための設定用機器において、接続
されたセンサからそのセンサの所属するグループを示す
データを取り込んで、そのグループに許可された設定を
行うようにしたから、安全用センサ,非安全用センサの
ように、複数種のセンサについての設定を1台の機器で
行うようにしても、誤って他のタイプのセンサ向けの設
定を行うのを防止でき、センサの使用目的や機能に応じ
た正しい設定を行うことができる。
According to the present invention, in a setting device for teaching a definition of a detection operation to a multi-optical axis photoelectric sensor, data indicating a group to which the sensor belongs is taken in from a connected sensor, and the group is assigned to the group. Because the permitted settings are made, even if the settings for multiple types of sensors, such as safety sensors and non-safety sensors, are made by one device, the settings for other types of sensors may be mistakenly made. Setting can be prevented, and correct setting can be performed according to the purpose and function of the sensor.

【0109】さらにこの発明では、接続されたセンサか
ら所定の設定項目に関わるセンサの特徴を示すパラメー
タを取り込み、このパラメータを用いて入力された教示
データの適否を判別し、適正であると判別されたときに
教示データをセンサに送信するようにしたから、誤った
教示データがセンサに設定されるのを防止することがで
きる。
Further, according to the present invention, a parameter indicating a characteristic of the sensor relating to a predetermined setting item is fetched from the connected sensor, and the appropriateness of the input teaching data is determined using the parameter, and the input data is determined to be appropriate. Since the teaching data is transmitted to the sensor when the error occurs, it is possible to prevent erroneous teaching data from being set to the sensor.

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

【図1】この発明の一実施例にかかるコンソール3と多
光軸光電センサとの接続状態を示すブロック図である。
FIG. 1 is a block diagram showing a connection state between a console 3 and a multi-optical axis photoelectric sensor according to an embodiment of the present invention.

【図2】コンソール3の外観を示す正面図である。FIG. 2 is a front view showing the appearance of the console 3.

【図3】投受光部の外観および分岐コネクタの取付例を
示す正面図である。
FIG. 3 is a front view showing the appearance of the light emitting and receiving unit and an example of mounting a branch connector.

【図4】分岐コネクタの取付例を示す正面図である。FIG. 4 is a front view showing an example of mounting a branch connector.

【図5】コンソール3のプログラムや設定データを書き
換える際の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration when rewriting a program and setting data of a console 3.

【図6】センサ側の動作モードと各モード間の関係とを
示す説明図である。
FIG. 6 is an explanatory diagram showing an operation mode on the sensor side and a relationship between the modes.

【図7】コンソール3側の動作モードと各モード間の関
係とを示す説明図である。
FIG. 7 is an explanatory diagram showing an operation mode on the console 3 side and a relationship between the modes.

【図8】センサの各動作モードにおける処理手順を示す
フローチャートである。
FIG. 8 is a flowchart showing a processing procedure in each operation mode of the sensor.

【図9】コンソール3が起動してからティーチング可能
な状態になるまでの処理手順を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a processing procedure from the start of the console 3 until the teaching becomes possible.

【図10】フィックスブランキングの設定におけるコン
ソール3の処理手順を示すフローチャートである。
FIG. 10 is a flowchart showing a processing procedure of a console 3 in setting of fixed blanking.

【図11】フローティングブランキングの設定における
コンソール3の処理手順を示すフローチャートである。
FIG. 11 is a flowchart illustrating a processing procedure of the console 3 in setting of floating blanking.

【図12】複数のセンサを接続する場合の設定用システ
ムの構成を示すブロック図である。
FIG. 12 is a block diagram illustrating a configuration of a setting system when a plurality of sensors are connected.

【図13】分岐コネクタの取付例を示す正面図である。FIG. 13 is a front view showing an example of mounting a branch connector.

【図14】フィックスブランキングの概念を示す説明図
である。
FIG. 14 is an explanatory diagram showing the concept of fixed blanking.

【図15】フローティングブランキングの概念を示す説
明図である。
FIG. 15 is an explanatory diagram illustrating the concept of floating blanking.

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

S 多光軸光電センサ 1 投光部 2 受光部 3 コンソール3 6A,6B 通信線 16,26,36 制御回路 17,27,37 通信回路 S Multi-optical axis photoelectric sensor 1 Light emitting unit 2 Light receiving unit 3 Console 3 6A, 6B Communication line 16, 26, 36 Control circuit 17, 27, 37 Communication circuit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G065 AA04 BC33 BC35 DA15 DA20 5G055 AA03 AA10 AB01 AC02 AD01 AD04 AD08 AE49 AG18 AG21 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G065 AA04 BC33 BC35 DA15 DA20 5G055 AA03 AA10 AB01 AC02 AD01 AD04 AD08 AE49 AG18 AG21

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数の光軸毎に遮光状態を検知してその
検知結果を出力する多光軸光電センサに接続されて、こ
のセンサに検知動作の定義を教示するための機器であっ
て、 複数のグループに分類された多光軸光電センサについ
て、グループ毎にそのグループに許可された設定の内容
を記憶するメモリと、 接続されたセンサからそのセンサの所属するグループを
示すデータを取り込んで、このデータに対応する設定の
内容を選択する手段と、 前記選択された設定の内容を用いて前記センサへの設定
処理を行う手段とを具備して成る多光軸光電センサの設
定用機器。
An apparatus connected to a multi-optical axis photoelectric sensor that detects a light-shielded state for each of a plurality of optical axes and outputs a detection result, and teaches a definition of a detecting operation to the sensor. For a multi-optical axis photoelectric sensor classified into a plurality of groups, a memory for storing the contents of the settings permitted to the group for each group, and data indicating the group to which the sensor belongs from the connected sensors are fetched. A device for setting a multi-optical axis photoelectric sensor, comprising: means for selecting the content of the setting corresponding to the data; and means for performing a setting process for the sensor using the content of the selected setting.
【請求項2】 前記メモリには、安全用センサおよび非
安全用センサについての設定の内容が記憶されており、
安全用センサについては、非安全用センサについて許可
されている所定の設定項目についての設定が禁止されて
いる請求項1に記載された多光軸光電センサの設定用機
器。
2. The memory stores settings of a safety sensor and a non-safety sensor,
2. The device for setting a multi-optical axis photoelectric sensor according to claim 1, wherein the setting of predetermined setting items permitted for the non-safety sensor is prohibited for the safety sensor.
【請求項3】 請求項1に記載された機器であって、 前記接続されたセンサから取り込んだデータにより前記
センサが安全用センサであるか否かを判別し、安全用セ
ンサであると判別したとき、前記センサを物体検知状態
に設定する手段を具備して成る多光軸光電センサの設定
用機器。
3. The device according to claim 1, wherein it is determined whether or not the sensor is a safety sensor based on data taken from the connected sensor, and the sensor is determined to be a safety sensor. A device for setting a multi-optical axis photoelectric sensor, comprising means for setting the sensor to an object detection state.
【請求項4】 複数の光軸毎に遮光状態を検知してその
検知結果を出力する多光軸光電センサに接続されて、こ
のセンサに検知動作の定義を教示するための機器であっ
て、 所定の設定項目についての教示データの入力を受け付け
る手段と、 接続されたセンサから前記設定項目に関わるセンサの特
徴を示すパラメータを取り込んで、そのパラメータを用
いて前記教示データの適否を判別する手段と、 前記教示データが適正であると判別されたとき、この教
示データを確定して前記センサに送信する手段とを具備
して成る多光軸光電センサの設定用機器。
4. A device connected to a multi-optical axis photoelectric sensor for detecting a light-shielded state for each of a plurality of optical axes and outputting the detection result, and for teaching a definition of a detecting operation to the sensor. Means for receiving input of teaching data for a predetermined setting item, means for taking in parameters indicating characteristics of a sensor related to the setting item from a connected sensor, and determining whether or not the teaching data is appropriate using the parameter. Means for setting the teaching data when the teaching data is determined to be appropriate and transmitting the teaching data to the sensor.
【請求項5】 前記設定項目は、センサが検知すべき最
小の物体の大きさに対応する遮光光軸数であり、前記教
示データの適否を判別する手段は、接続されたセンサか
ら前記遮光光軸数に対応する安全距離を算出するための
パラメータを取り込んで安全距離を算出し、その算出結
果を用いた判別処理を実行する請求項4に記載された多
光軸光電センサの設定用機器。
5. The method according to claim 1, wherein the setting item is a number of light-shielding optical axes corresponding to a minimum size of an object to be detected by the sensor, and the means for determining whether the teaching data is appropriate is provided from the connected sensor. The apparatus for setting a multi-optical axis photoelectric sensor according to claim 4, wherein a parameter for calculating a safety distance corresponding to the number of axes is taken in, a safety distance is calculated, and a determination process is performed using the calculation result.
【請求項6】 請求項1または4に記載された機器であ
って、 接続されたセンサに教示データを設定するのに先立ち、
この教示データを所定の制限値と比較して教示データの
適否を判別する手段と、前記教示データが不適正と判別
されたときその教示データのセンサへの設定を禁止する
手段とを具備して成る多光軸光電センサの設定用機器。
6. The device according to claim 1, wherein prior to setting the teaching data to the connected sensor,
A means for comparing the teaching data with a predetermined limit value to determine the suitability of the teaching data; and a means for prohibiting setting of the teaching data to the sensor when the teaching data is determined to be inappropriate. Equipment for setting multi-optical axis photoelectric sensors.
【請求項7】 請求項1または4に記載された機器であ
って、 前記検知動作の定義を教示する方法およびこの教示に必
要なデータを電子データ形式で具備する制御回路と、改
訂された電子データを具備する機器からその電子データ
の送信を受け付ける手段と、受け付けた電子データによ
り前記制御回路のデータを書き換える手段とを具備して
成る多光軸光電センサの設定用機器。
7. The apparatus according to claim 1, wherein a method of teaching the definition of the detection operation, a control circuit including data necessary for the teaching in an electronic data format, and a revised electronic device. A device for setting a multi-optical axis photoelectric sensor, comprising: means for receiving transmission of electronic data from a device having data; and means for rewriting data of the control circuit with the received electronic data.
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 true JP2002296361A (en) 2002-10-09
JP3965926B2 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 (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006098373A (en) * 2004-09-30 2006-04-13 Omron Corp Multiple optical axes photoelectric sensor
US7183533B2 (en) 2003-09-30 2007-02-27 Omron Corporation Optical multi-axis optoelectronic sensor
JP2007150986A (en) * 2005-11-30 2007-06-14 Omron Corp Sensor apparatus
JP2007235408A (en) * 2006-02-28 2007-09-13 Keyence Corp Multi-optical axis photoelectric safety device and control method thereof
JP2009515265A (en) * 2005-11-10 2009-04-09 オムロン株式会社 Functional safety device setting and monitoring method and operator control unit
JP2010166341A (en) * 2009-01-15 2010-07-29 Takenaka Engineering Co Ltd Optical axis adjustment unit with built-in bidirectional radio communication module
DE102010006397A1 (en) 2009-01-31 2010-08-05 Keyence Corporation Photoelectric safety switch
JP2010178235A (en) * 2009-01-31 2010-08-12 Keyence Corp Safety photoelectric switch and safety control method using the same
US8319171B2 (en) 2009-01-31 2012-11-27 Keyence Corporation Optical scanning type photoelectric switch
US8330095B2 (en) 2009-01-31 2012-12-11 Keyence Corporation Safety photoelectric switch
JP2013102424A (en) * 2011-10-14 2013-05-23 Omron Corp Photoelectric sensor
GB2505046A (en) * 2012-06-29 2014-02-19 Bosch Gmbh Robert Capacitive sensor system having a safety function and an operating function
JP2015111586A (en) * 2015-02-02 2015-06-18 株式会社キーエンス Multiple optical axis photoelectric sensor
JP2015207846A (en) * 2014-04-18 2015-11-19 竹中エンジニアリング株式会社 Optical axis adjustment function of beam type sensor
JP2016021646A (en) * 2014-07-14 2016-02-04 オムロン株式会社 Multiple optical axis photoelectric sensor system
US9559515B2 (en) 2012-06-29 2017-01-31 Robert Bosch Gmbh Method for switching a sensor system between modes and switchable sensor system
EP3301487A2 (en) 2016-09-28 2018-04-04 Omron Corporation Multi-optical axis photoelectric sensor
WO2020009195A1 (en) 2018-07-04 2020-01-09 オムロン株式会社 Data processing device for multiple optical axis photoelectric sensor
FR3108430A1 (en) * 2020-03-18 2021-09-24 Marc Lecomte Alarm and surveillance system
US11262476B2 (en) 2018-03-30 2022-03-01 Panasonic Industrial Devices Sunx Co., Ltd. Relay unit for photoelectric sensor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102251964B1 (en) * 2014-11-04 2021-05-14 삼성전자 주식회사 Method for performing function through using of sensor data and electronic device for supporting the same

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7183533B2 (en) 2003-09-30 2007-02-27 Omron Corporation Optical multi-axis optoelectronic sensor
DE102004047346C5 (en) * 2003-09-30 2019-08-29 Omron Corp. Multi-axis optoelectronic sensor
DE102004047346B4 (en) * 2003-09-30 2014-01-09 Omron Corp. Multi-axis optoelectronic sensor
JP2006098373A (en) * 2004-09-30 2006-04-13 Omron Corp Multiple optical axes photoelectric sensor
JP2009515265A (en) * 2005-11-10 2009-04-09 オムロン株式会社 Functional safety device setting and monitoring method and operator control unit
US7990269B2 (en) 2005-11-10 2011-08-02 Omron Corporation Method and operator control unit for configuring and monitoring a device with functional safety
JP2007150986A (en) * 2005-11-30 2007-06-14 Omron Corp Sensor apparatus
JP2007235408A (en) * 2006-02-28 2007-09-13 Keyence Corp Multi-optical axis photoelectric safety device and control method thereof
JP2010166341A (en) * 2009-01-15 2010-07-29 Takenaka Engineering Co Ltd Optical axis adjustment unit with built-in bidirectional radio communication module
US8319171B2 (en) 2009-01-31 2012-11-27 Keyence Corporation Optical scanning type photoelectric switch
US8330095B2 (en) 2009-01-31 2012-12-11 Keyence Corporation Safety photoelectric switch
US8415609B2 (en) 2009-01-31 2013-04-09 Keyence Corporation Safety photoelectric switch
DE102010006397A1 (en) 2009-01-31 2010-08-05 Keyence Corporation Photoelectric safety switch
JP2010178235A (en) * 2009-01-31 2010-08-12 Keyence Corp Safety photoelectric switch and safety control method using the same
US8648292B2 (en) 2009-01-31 2014-02-11 Keyence Corporation Safety photoelectric switch
JP2013102424A (en) * 2011-10-14 2013-05-23 Omron Corp Photoelectric sensor
GB2505046A (en) * 2012-06-29 2014-02-19 Bosch Gmbh Robert Capacitive sensor system having a safety function and an operating function
GB2505046B (en) * 2012-06-29 2018-09-19 Bosch Gmbh Robert Method for operating a sensor system and sensor system
US9559515B2 (en) 2012-06-29 2017-01-31 Robert Bosch Gmbh Method for switching a sensor system between modes and switchable sensor system
JP2015207846A (en) * 2014-04-18 2015-11-19 竹中エンジニアリング株式会社 Optical axis adjustment function of beam type sensor
JP2016021646A (en) * 2014-07-14 2016-02-04 オムロン株式会社 Multiple optical axis photoelectric sensor system
CN105319606A (en) * 2014-07-14 2016-02-10 欧姆龙株式会社 Multi-optical axis photoelectric sensor system
US9671522B2 (en) 2014-07-14 2017-06-06 Omron Corporation Multi-optical axis photoelectric sensor system
KR101837806B1 (en) * 2014-07-14 2018-03-12 오므론 가부시키가이샤 Multi-optical axis photoelectric sensor system
EP2975434B1 (en) 2014-07-14 2019-02-27 Omron Corporation Multi-optical axis photoelectric sensor system
JP2015111586A (en) * 2015-02-02 2015-06-18 株式会社キーエンス Multiple optical axis photoelectric sensor
JP2018054409A (en) * 2016-09-28 2018-04-05 オムロン株式会社 Multi-optical axis photoelectric sensor
EP3301487A2 (en) 2016-09-28 2018-04-04 Omron Corporation Multi-optical axis photoelectric sensor
US10539709B2 (en) 2016-09-28 2020-01-21 Omron Corporation Multi-optical axis photoelectric sensor
US11262476B2 (en) 2018-03-30 2022-03-01 Panasonic Industrial Devices Sunx Co., Ltd. Relay unit for photoelectric sensor
WO2020009195A1 (en) 2018-07-04 2020-01-09 オムロン株式会社 Data processing device for multiple optical axis photoelectric sensor
JP2020008352A (en) * 2018-07-04 2020-01-16 オムロン株式会社 Data processing apparatus for multi-optical axis photoelectric sensor
CN112368608A (en) * 2018-07-04 2021-02-12 欧姆龙株式会社 Data processing device of multi-optical axis photoelectric sensor
JP7021610B2 (en) 2018-07-04 2022-02-17 オムロン株式会社 Data processing device for multi-optical axis photoelectric sensor
EP3819677A4 (en) * 2018-07-04 2022-04-06 Omron Corporation Data processing device for multiple optical axis photoelectric sensor
FR3108430A1 (en) * 2020-03-18 2021-09-24 Marc Lecomte Alarm and surveillance system

Also Published As

Publication number Publication date
JP3965926B2 (en) 2007-08-29

Similar Documents

Publication Publication Date Title
JP2002296361A (en) Apparatus for setting of multiple optical-axis photoelectric sensor
EP1717653A2 (en) Safety device
US7430451B2 (en) Safety unit, controller system, connection method of controllers, control method of the controller system and monitor method of the controller system
EP2228699B1 (en) I/O unit and industrial controller
JP5141905B2 (en) Safety master
WO2015122294A1 (en) Programmable display, mobile terminal device, data processing method, and program
JP2001142512A (en) Remote operation system for robot
US10317516B2 (en) Optical safety system
US20030043028A1 (en) Home network system
JP2008535415A5 (en)
JP2008080474A (en) Robot control system
KR920004304B1 (en) Signal transmission device for elevator
US11698618B2 (en) Safety controller
CN113165179B (en) Method for operating a machine control system and machine control system
US20220163939A1 (en) Master device, arithmetic processing device, programmable logic controller, network, and information processing method
JP4126882B2 (en) Setting system for multi-optical axis photoelectric sensor
JP6149393B2 (en) Communication coupler, information processing apparatus, control method, and program
JP2003288105A (en) Control unit
JP2008097285A (en) Plant monitor and control system
JP4976726B2 (en) Sensor system and sensor unit
KR100786821B1 (en) Apparatus for controlling lighting devices and heating/cooling equipment, and controlling method thereof
US12005587B2 (en) Robot system and operation authority setting program
US20220203539A1 (en) Robot system and operation authority setting program
JP4008721B2 (en) Sensor system
JP3541761B2 (en) Electronics

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