[go: up one dir, main page]

JP2010165270A - Continuously-arranged sensor system, network unit, and sensor unit - Google Patents

Continuously-arranged sensor system, network unit, and sensor unit Download PDF

Info

Publication number
JP2010165270A
JP2010165270A JP2009008453A JP2009008453A JP2010165270A JP 2010165270 A JP2010165270 A JP 2010165270A JP 2009008453 A JP2009008453 A JP 2009008453A JP 2009008453 A JP2009008453 A JP 2009008453A JP 2010165270 A JP2010165270 A JP 2010165270A
Authority
JP
Japan
Prior art keywords
unit
sensor
parameter
sensor unit
network unit
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.)
Pending
Application number
JP2009008453A
Other languages
Japanese (ja)
Inventor
Koji Fukumura
孝二 福村
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.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2009008453A priority Critical patent/JP2010165270A/en
Publication of JP2010165270A publication Critical patent/JP2010165270A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To recognize the change of the parameter of each sensor unit without increasing communication traffic in a continuously-arranged sensor system. <P>SOLUTION: The continuously-arranged sensor system is configured of a network 10 and a plurality of sensor units 30-1 to 30-16, and they are connected through a serial transmission line 41. When a parameter such as a threshold is changed by each sensor unit, an update flag of the parameter is set, and the update flag is transferred through the serial transmission line 41 to the network unit 10 during normal data transfer. Only when the update flag is set, the network unit 10 requests the sensor unit to transmit the parameter. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、被検知対象物の状態監視などを行う連設型センサシステム及びそのセンサシステムに用いるネットワークユニット、及びセンサユニットに関する。   The present invention relates to a continuous sensor system that monitors the state of an object to be detected, a network unit used in the sensor system, and a sensor unit.

自動化された製造ラインでは、ワークの加工などを確実に行うために、ワークの加工状態を監視しつつ製造が行われる。従って自動化された製造ラインでは、ワーク(被検知対象物)の近傍に加工状態を監視するセンサを多数配置し、各センサの判別信号を監視しつつワークの加工が行われる。   In an automated production line, production is performed while monitoring the machining state of the workpiece in order to reliably machine the workpiece. Therefore, in an automated production line, a number of sensors for monitoring the machining state are arranged in the vicinity of the workpiece (object to be detected), and the workpiece is machined while monitoring the discrimination signal of each sensor.

このようなセンサシステムにおいては、多数のセンサとセンサの制御機器との配線が面倒であるため、これらの機器をユニット化し、各ユニットを物理的に連結することによって各ユニットを接続し、各ユニット間の配線を同時に完了させる連設型センサシステムが活用されている。連設型センサシステムでは、ワークの近傍に多数のセンサユニットを連設して設置し、各センサユニットに接続された光ファイバなどのセンサヘッドをワークの監視部位の近傍に近接させて多数配設し、各センサユニットから出力される検知信号をネットワークユニットを介して上位制御装置で監視する連設型センサシステムが知られている。   In such a sensor system, since wiring between a large number of sensors and sensor control devices is troublesome, these devices are unitized and each unit is physically connected to connect each unit. A continuous sensor system that simultaneously completes wiring between the two is utilized. In a continuous sensor system, a large number of sensor units are installed in the vicinity of the workpiece, and a large number of sensor heads such as optical fibers connected to each sensor unit are placed in the vicinity of the monitoring portion of the workpiece. In addition, a continuous sensor system is known in which a detection signal output from each sensor unit is monitored by a host controller via a network unit.

特許文献1は各センサユニットからネットワークユニットへリアルタイムでセンサの判別信号を伝えると共に、その他のセンサ情報を伝送する方策として、パラレル伝送と、シリアル伝送による2系統の伝送路を有する連設型センサシステムが記載されている。   Patent Document 1 discloses a sensor system having two transmission paths by parallel transmission and serial transmission as a measure for transmitting a sensor discrimination signal from each sensor unit to a network unit in real time and transmitting other sensor information. Is described.

この構成によれば、各センサユニットのセンサの検知信号を各々独立してパラレル伝送路を通じてネットワークユニット側へ伝送するので、センサの検知信号を遅延なくネットワークユニット側へ伝送でき、ワークの稼働を高速に行うことができる。またセンサの受光量や閾値などの種々のセンサ情報をデジタルデータとしてネットワークユニット側へ伝送して上位制御装置で集中管理したり、あるいは、上位制御装置やネットワークユニットから各センサユニットへ指令信号を伝送して各センサユニットのセンサヘッドの発光タイミングの制御や設定の変更を行うような集中制御を行うことができる。   According to this configuration, the sensor detection signal of each sensor unit is independently transmitted to the network unit side through the parallel transmission path, so that the sensor detection signal can be transmitted to the network unit side without delay, and work can be performed at high speed. Can be done. Various sensor information such as the amount of light received by the sensor and threshold value is transmitted as digital data to the network unit and centrally managed by the host controller, or command signals are transmitted from the host controller and network unit to each sensor unit. Thus, it is possible to perform centralized control that controls the light emission timing of the sensor head of each sensor unit and changes the setting.

また特許文献2には複数のセンサアンプとセンサアンプ管理装置がデータ通信によって連結されたセンサシステムが提案されている。   Patent Document 2 proposes a sensor system in which a plurality of sensor amplifiers and a sensor amplifier management device are connected by data communication.

特開2004−295276号公報JP 2004-295276 A 特開2003−97983号公報Japanese Patent Laid-Open No. 2003-97983

しかるにセンサユニットには、通常物理量を判別して二値信号にするための閾値や使用距離などが設定されている。連設型センサシステムの中には上位のネットワークユニットが各センサユニットに閾値などのパラメータを設定し、センサユニットで独自にはパラメータを設定できないようにしたシステムがある。一方、センサユニットに夫々操作部が設けられ、独自に閾値や使用距離等を設定することができる連設型センサユニットもある。後者のセンサユニットの場合には、ネットワークユニットは各センサユニットに設定パラメータを問い合わせ、上位制御装置から転送要求があった場合に備えてネットワークユニットに設定パラメータを保持しておく必要がある。   However, a threshold value, a use distance, and the like for determining a normal physical quantity and converting it into a binary signal are set in the sensor unit. Among the continuous sensor systems, there is a system in which a higher-order network unit sets parameters such as a threshold value for each sensor unit, and the sensor unit cannot set parameters independently. On the other hand, there is also a continuous sensor unit in which an operation unit is provided in each sensor unit, and a threshold value, a use distance, and the like can be set independently. In the case of the latter sensor unit, the network unit inquires of each sensor unit about the setting parameter, and it is necessary to hold the setting parameter in the network unit in case a transfer request is received from the host controller.

連設型センサシステムでは、ネットワークユニットは各センサユニットに周期的に判別信号や受光量などの物理量の転送を要求するデータ転送コマンドを送出し、各センサユニットからデータを収集している。判別信号や物理量などのデータは頻繁に変化するため高速に収集する必要がある。一方閾値などのパラメータは頻繁に変更されるものではないため、高速で収集が必要なデータと混在して通信を行うことによって高速に収集が必要なデータの収集のサイクルが長くなることがあるという問題点があった。   In the continuous sensor system, the network unit periodically sends a data transfer command for requesting transfer of a physical quantity such as a determination signal or a received light amount to each sensor unit, and collects data from each sensor unit. Since data such as discrimination signals and physical quantities change frequently, it is necessary to collect them at high speed. On the other hand, parameters such as threshold values are not changed frequently, so if you mix and communicate with data that needs to be collected at high speed, the cycle of collecting data that needs to be collected at high speed may become longer. There was a problem.

本発明は、このような問題点に着目してなされたもので、各センユニットで夫々独自に変更される可能性があるパラメータをネットワークユニット内に保持することができ、しかも処理に時間を要することなく保持することができる連設型センサシステム、及びこのセンサシステムに用いられるネットワークユニット及びセンサユニットを提供することを目的とする。   The present invention has been made paying attention to such a problem, and it is possible to hold parameters that may be independently changed in each sensor unit in the network unit, and it takes time for processing. It is an object of the present invention to provide a continuous sensor system that can be held without any problem, and a network unit and a sensor unit used in the sensor system.

この課題を解決するために、本発明の連設型センサシステムは、上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムであって、前記各センサユニットは、検出対象から検出した物理量に応じた検出信号を出力するセンサ部と、前記判別部による判別のための閾値を含むパラメータを設定する操作部と、前記操作部により設定されたパラメータ、及び前記パラメータの更新の有無を示す更新フラグを保持するパラメータメモリと、前記センサ部から得られた検出信号を閾値に応じて判別すると共に、前記操作部よりパラメータが更新されたときに更新フラグを立て、判別信号及び前記センサ部の検出信号の少なくとも一方を送出する際に更新フラグを同時に前記ネットワークユニットに送信する制御部と、隣接する前記ネットワークユニット及びセンサユニットのいずれかと接続する接続手段と、複数ビットの信号で形成されるシリアル信号を送受信するシリアル伝送手段と、を有するものであり、前記ネットワークユニットは、隣接する前記いずれかのセンサユニットと接続する接続手段と、前記センサユニットの判別信号を含み、複数ビットの信号で形成されるシリアル信号を直列的に送受信するシリアル伝送手段と、前記各センサユニットのパラメータを保持するパラメータメモリと、前記シリアル通信手段を介して受信したデータのうちパラメータの更新フラグが立てられているときに、更新フラグが立てられたデータを送出したセンサユニットに対して変更されたパラメータの送信を要求する制御部と、を具備するものである。   In order to solve this problem, a continuous sensor system of the present invention includes a network unit connected to a host controller and at least one sensor unit, and the network unit, any one of the sensor units, and the A continuous sensor system configured by connecting sensor units, wherein each sensor unit outputs a detection signal corresponding to a physical quantity detected from a detection target, and for determination by the determination unit An operation unit for setting a parameter including a threshold value, a parameter memory for holding a parameter set by the operation unit, an update flag indicating whether the parameter is updated, and a detection signal obtained from the sensor unit as a threshold value. And an update flag is set when the parameter is updated from the operation unit. A control unit that simultaneously transmits an update flag to the network unit when sending at least one of a determination signal and a detection signal of the sensor unit, a connection unit that connects to either the adjacent network unit or sensor unit, and a plurality of bits Serial transmission means for transmitting and receiving a serial signal formed by the above-mentioned signal, and the network unit includes a connection means for connecting to any one of the adjacent sensor units, and a discrimination signal for the sensor unit. Serial transmission means for serially transmitting and receiving serial signals formed of a plurality of bits, a parameter memory for holding parameters of each sensor unit, and updating of parameters among data received via the serial communication means When flagged, the update flag A control unit for requesting transmission of the modified parameters to the sensor unit sends a grayed was erected data, and having a.

ここで前記ネットワークユニットの制御部は、電源の投入時に前記各センサユニットに設定されているパラメータを収集して前記パラメータメモリに保持するようにしてもよい。   Here, the control unit of the network unit may collect the parameters set in the sensor units when the power is turned on and store the collected parameters in the parameter memory.

ここで前記各センサユニットは、前記制御部が出力する判別信号を並列的に前記ネットワークユニットに伝送するパラレル信号ラインを有するようにしてもよい。   Here, each sensor unit may have a parallel signal line for transmitting the discrimination signal output from the control unit to the network unit in parallel.

ここで前記ネットワークユニットは、前記各センサユニットより送られてきた判別信号を保持するテーブルメモリを有し、前記ネットワークユニットの制御部は、前記センサユニットの制御部で生成された判別信号をパラレル信号ラインの信号変化に基づいて検出して前記テーブルメモリを更新するようにしてもよい。   Here, the network unit has a table memory for holding a discrimination signal sent from each sensor unit, and the control unit of the network unit outputs the discrimination signal generated by the control unit of the sensor unit as a parallel signal. The table memory may be updated by detection based on a line signal change.

この課題を解決するために、本発明のネットワークユニットは、上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムに用いられるネットワークユニットであって、隣接する前記いずれかのセンサユニットと接続する接続手段と、前記センサユニットの判別信号を含み、複数ビットの信号で形成されるシリアル信号を直列的に送受信するシリアル伝送手段と、前記各センサユニットのパラメータを保持するパラメータメモリと、前記シリアル通信手段を介して受信したデータのうちパラメータの更新フラグが立てられているときに、更新フラグが立てられたデータを送出したセンサユニットに対して変更されたパラメータの送信を要求する制御部と、を具備するものである。   In order to solve this problem, a network unit of the present invention includes a network unit connected to a host control device and at least one sensor unit, and the network unit and any one of the sensor units and the sensor units. A network unit used in a continuous sensor system configured by connecting a plurality of bits, including connection means for connecting to any one of the adjacent sensor units, and a discrimination signal of the sensor unit, Serial transmission means for transmitting and receiving serial signals to be formed serially, a parameter memory for holding parameters of each sensor unit, and a parameter update flag among data received via the serial communication means are set Sometimes data that is flagged for update A control unit for requesting transmission of the changed parameters for delivery sensor units, those having a.

この課題を解決するために、本発明のセンサユニットは、上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムに用いられるセンサユニットであって、検出対象から検出した物理量に応じた検出信号を出力するセンサ部と、前記判別部による判別のための閾値を含むパラメータを設定する操作部と、前記操作部により設定されたパラメータ、及び前記パラメータの更新の有無を示す更新フラグを保持するパラメータメモリと、前記センサ部から得られた検出信号を閾値に応じて判別すると共に、前記操作部よりパラメータが更新されたときに更新フラグを立て、判別信号及び前記センサ部の検出信号の少なくとも一方を送出する際に更新フラグを同時に前記ネットワークユニットに送信する制御部と、隣接する前記ネットワークユニット及びセンサユニットのいずれかと接続する接続手段と、複数ビットの信号で形成されるシリアル信号を送受信するシリアル伝送手段と、を具備するものである。   In order to solve this problem, a sensor unit of the present invention includes a network unit connected to a host control device and at least one sensor unit, and the network unit and any one of the sensor units and the sensor units. Is a sensor unit used in a continuous sensor system configured by connecting a sensor unit, including a sensor unit that outputs a detection signal corresponding to a physical quantity detected from a detection target, and a threshold value for discrimination by the discrimination unit An operation unit that sets parameters, a parameter memory that holds parameters set by the operation unit, and an update flag that indicates whether the parameters are updated, and a detection signal obtained from the sensor unit are determined according to a threshold value In addition, when a parameter is updated from the operation unit, an update flag is set and A control unit that simultaneously transmits an update flag to the network unit when transmitting at least one of a signal and a detection signal of the sensor unit, a connection unit that connects to either the adjacent network unit or the sensor unit, and a plurality of bits Serial transmission means for transmitting and receiving a serial signal formed by the signal.

ここに、本発明でいう判別信号とは、センサの検出信号に基づく信号を予め定められた閾値と比較して得られた二値化された信号を指す。パラメータは検出信号を二値化するための閾値が含まれる。これに加えて、パラメータにはセンサユニットの使用可能距離や閾値のヒステリシス、出力モードなどを含めてもよい。   Here, the discrimination signal in the present invention refers to a binarized signal obtained by comparing a signal based on the detection signal of the sensor with a predetermined threshold value. The parameter includes a threshold value for binarizing the detection signal. In addition to this, the usable distance of the sensor unit, threshold hysteresis, output mode, and the like may be included in the parameters.

本発明による連設型センサシステムにおいては、各センサユニットは判別信号や物理量などのデータを転送するタイミングで、更新フラグを同時に送信するようにしている。そのためネットワークユニットは更新フラグが立てられているセンサユニットにのみ更新されたパラメータの送信を要求することができる。ネットワークユニットは最小のトラフィックの増加で各センサユニットのパラメータを集中管理することが可能となる。   In the continuous sensor system according to the present invention, each sensor unit transmits an update flag at the same time as transferring data such as a discrimination signal and a physical quantity. Therefore, the network unit can request transmission of the updated parameter only to the sensor unit for which the update flag is set. The network unit can centrally manage the parameters of each sensor unit with a minimum increase in traffic.

本発明のセンサユニットとしては、透過型や反射型の光電センサユニットが考えられ、光電センサの場合にはセンサユニットから光ファイバを物体検知領域にまで延出するファイバセンサやセンサユニットに投光素子・受光素子等の光学素子を内蔵するヘッドが電線ケーブルで接続される分離光電センサが好適である。ファイバセンサや分離光電センサは、連設せずに単体でも使用できるため、1台のセンサユニットは、一つ又は二つのセンサヘッドを有する構成が好適である。またセンサユニットとして、近接センサや圧力センサ、超音波センサなど他の形式のセンサユニットであってもよいが、この場合であっても検出部とセンサユニットとが電線ケーブルで接続される分離センサが好適である。   As the sensor unit of the present invention, a transmissive or reflective photoelectric sensor unit is conceivable. In the case of a photoelectric sensor, a fiber sensor or a sensor unit that projects an optical fiber from the sensor unit to an object detection region is used. A separation photoelectric sensor in which a head incorporating an optical element such as a light receiving element is connected by an electric cable is suitable. Since the fiber sensor and the separation photoelectric sensor can be used alone without being connected to each other, it is preferable that one sensor unit has one or two sensor heads. The sensor unit may be another type of sensor unit such as a proximity sensor, a pressure sensor, or an ultrasonic sensor, but even in this case, there is a separation sensor in which the detection unit and the sensor unit are connected by an electric cable. Is preferred.

本発明において、隣接するユニット間を接続する接続手段にはユニット間を物理的に接続する接続手段及び信号伝送を行うための信号接続手段が含まれる。信号伝送を行うための信号接続手段として、電気的接続によって信号伝送を行う接続手段や、光の送受信によって信号伝送を行う接続手段を採用することが可能である。   In the present invention, the connection means for connecting adjacent units includes a connection means for physically connecting the units and a signal connection means for performing signal transmission. As signal connection means for performing signal transmission, connection means for performing signal transmission by electrical connection or connection means for performing signal transmission by transmitting and receiving light can be employed.

連設型センサシステムにおいて、パラレル伝送ラインは、各センサユニットに同一数の接続端子を配列した一対のコネクタにより形成することができる。この場合、上流側のコネクタの各接続端子と下流側のコネクタの各接続端子は各々対応付けられており、センサの判別信号は上流側に配列される接続端子の一つに与えられると共に、下流側の各接続端子は判別信号が接続された接続端子を除く上流側の接続端子に対して、所定の規則に基づいて順次対応をずらせて接続することによりパラレル伝送ラインを構成することができる。   In the continuous sensor system, the parallel transmission line can be formed by a pair of connectors in which the same number of connection terminals are arranged in each sensor unit. In this case, each connection terminal of the upstream connector and each connection terminal of the downstream connector are associated with each other, and the sensor determination signal is given to one of the connection terminals arranged on the upstream side, and the downstream side. Each of the connection terminals on the side can be connected to the connection terminals on the upstream side excluding the connection terminals to which the determination signal is connected, by sequentially shifting the correspondence based on a predetermined rule, thereby forming a parallel transmission line.

本願の請求項1〜4の発明による連設型センサシステムでは、センサユニットのパラメータが更新されたときに、最小の通信トラフィックの増加でネットワークユニットにシリアル伝送手段を通じて更新されたセンサユニットのパラメータを転送することができる。パラメータは一旦パラメータメモリに保持され、上位制御装置からの要求に応じて上位制御装置に転送することができる。これにより上位制御装置側で各センサユニットの動作状態を集中管理することができる連設型センサシステムを提供できる。   In the continuous sensor system according to the first to fourth aspects of the present invention, when the parameter of the sensor unit is updated, the parameter of the sensor unit updated through the serial transmission means is transmitted to the network unit with the minimum increase in communication traffic. Can be transferred. The parameter is temporarily held in the parameter memory and can be transferred to the host control device in response to a request from the host control device. Thereby, it is possible to provide a continuous sensor system capable of centrally managing the operation state of each sensor unit on the host controller side.

また請求項3,4,7,8の発明によれば、各センサユニットから出力されるセンサの判別信号は、パラレル伝送ラインを介して各々独立して遅延することなくネットワークユニットへ伝送され、ネットワークユニットは、伝送されて来た各センサユニットの判別信号を参照して被検知対象物の状態を判別することができる。   According to the third, fourth, seventh, and eighth aspects of the invention, the sensor discrimination signals output from each sensor unit are transmitted to the network unit via the parallel transmission line independently of each other without delaying, and the network. The unit can determine the state of the object to be detected with reference to the transmitted determination signal of each sensor unit.

請求項2,6の発明によれば、電源投入時に各センサユニットのパラメータを収集しているため、それ以降は高速のデータ収集が可能となる。   According to the second and sixth aspects of the invention, since the parameters of each sensor unit are collected when the power is turned on, high-speed data collection is possible thereafter.

請求項5〜8に記載の発明によれば、この連設型センサシステムに好適に使用可能なネットワークユニットを提供できる。   According to invention of Claims 5-8, the network unit which can be used conveniently for this continuous sensor system can be provided.

請求項9に記載の発明によれば、この連設型センサシステムに好適に使用可能なセンサユニットを提供できる。   According to invention of Claim 9, the sensor unit which can be used conveniently for this continuous type sensor system can be provided.

図1は本発明の第1の実施の形態による連設型センサシステムの全体の構成図である。FIG. 1 is an overall configuration diagram of a continuous sensor system according to a first embodiment of the present invention. 図2は第1の実施の形態によるネットワークユニットのブロック構成図である。FIG. 2 is a block diagram of the network unit according to the first embodiment. 図3(a)は第1の実施の形態によるネットワークユニットを一方の側面から見た状態の斜視図、図3(b)は(a)のネットワークユニットを反対側の側面から見た状態の斜視図である。FIG. 3A is a perspective view of the network unit according to the first embodiment viewed from one side, and FIG. 3B is a perspective of the network unit of FIG. 3A viewed from the opposite side. FIG. 図4Aは本発明の第1の実施の形態によるテーブルメモリの一例を示す図である。FIG. 4A is a diagram showing an example of a table memory according to the first embodiment of the present invention. 図4Bは本発明の第1の実施の形態によるパラメータメモリの一例を示す図である。FIG. 4B is a diagram showing an example of a parameter memory according to the first embodiment of the present invention. 図5は第1の実施の形態によるセンサユニットのブロック構成図である。FIG. 5 is a block diagram of the sensor unit according to the first embodiment. 図6(a)は本発明の第1の実施の形態に係るセンサユニットを一方の側面から見た状態の斜視図、図6(b)は(a)のセンサユニットを反対側の側面から見た状態の斜視図である。FIG. 6A is a perspective view of the sensor unit according to the first embodiment of the present invention viewed from one side surface, and FIG. 6B is a side view of the sensor unit of FIG. FIG. 図7は本発明の各実施の形態に係る連設型センサシステムの全体構成を示す斜視図である。FIG. 7 is a perspective view showing the overall configuration of the continuous sensor system according to each embodiment of the present invention. 図8は本発明の第1の実施の形態によるネットワークユニットの動作を示すフローチャートである。FIG. 8 is a flowchart showing the operation of the network unit according to the first embodiment of the present invention. 図9は本発明の第1の実施の形態による連設型センサシステムの通信シーケンスを示す図である。FIG. 9 is a diagram showing a communication sequence of the continuous sensor system according to the first embodiment of the present invention. 図10は本発明の第1の実施の形態による連設型センサシステムのセンサユニットのシーケンスを示す図である。FIG. 10 is a diagram showing a sequence of sensor units of the continuous sensor system according to the first embodiment of the present invention. 図11は本発明の第2の実施の形態による連設型センサシステムの全体の構成図である。FIG. 11 is an overall configuration diagram of a continuous sensor system according to a second embodiment of the present invention. 図12は本発明の第2の実施の形態による連設型センサシステムのネットワークユニットの構成を示すブロック構成図である。FIG. 12 is a block diagram showing the configuration of the network unit of the continuous sensor system according to the second embodiment of the present invention. 図13は本発明の第2の実施の形態による連設型センサシステムのセンサユニットの構成を示すブロック構成図である。FIG. 13 is a block diagram showing the configuration of the sensor unit of the continuous sensor system according to the second embodiment of the present invention.

(第1の実施の形態)
図1は本発明の第1の実施の形態による連設型センサシステムの全体構成を示す図である。連設型センサシステム1は、ネットワークユニット10に少なくとも1つ、ここでは16個のセンサユニット30−1〜30−16を一連に連結して構成されている。これらのユニットは少なくとも2本のラインから成るシリアル伝送ライン41で電気的に接続される。以下ではネットワークユニット10に向かう方向を上流方向、センサユニット30−16に向かう方向を下流方向という。ネットワークユニット10は、センサユニット30−1〜30−16から伝送される信号を集約しつつ上位制御装置42との間で必要な信号を伝送する機能を有するものであり、上位制御装置42にフィールドバス43を介して接続されている。
(First embodiment)
FIG. 1 is a diagram showing an overall configuration of a continuous sensor system according to a first embodiment of the present invention. The continuous sensor system 1 is configured by connecting at least one, here 16 sensor units 30-1 to 30-16 to a network unit 10 in series. These units are electrically connected by a serial transmission line 41 composed of at least two lines. Hereinafter, the direction toward the network unit 10 is referred to as an upstream direction, and the direction toward the sensor unit 30-16 is referred to as a downstream direction. The network unit 10 has a function of transmitting necessary signals to the host controller 42 while aggregating signals transmitted from the sensor units 30-1 to 30-16. They are connected via a bus 43.

次に各ユニットについて詳細に説明する。図2はネットワークユニット10の内部構成を示すブロック図、図3(a),(b)はネットワークユニット10を示す相異なる方向からの斜視図である。   Next, each unit will be described in detail. FIG. 2 is a block diagram showing the internal configuration of the network unit 10, and FIGS. 3A and 3B are perspective views showing the network unit 10 from different directions.

図2に示すように、ネットワークユニット10は、制御部11内に上位インターフェイス(IF)11a、シリアル通信部11bを備えて構成されている。またネットワークユニット10の制御部11には、表示部12、操作部13、テーブルメモリ14、パラメータメモリ15、及びコネクタ16,17,18が接続されている。   As shown in FIG. 2, the network unit 10 is configured to include an upper interface (IF) 11 a and a serial communication unit 11 b in the control unit 11. In addition, a display unit 12, an operation unit 13, a table memory 14, a parameter memory 15, and connectors 16, 17, and 18 are connected to the control unit 11 of the network unit 10.

制御部11は、シリアル伝送ライン41を介してセンサユニットとの間でシリアル信号を送受信する機能を有する。   The control unit 11 has a function of transmitting / receiving a serial signal to / from the sensor unit via the serial transmission line 41.

上位インターフェイス11aはコネクタ18を介して上位制御装置42からのコマンドを受け取り、保持しているデータを上位制御装置42に転送するためのインターフェイスである。   The host interface 11 a is an interface for receiving a command from the host controller 42 via the connector 18 and transferring the held data to the host controller 42.

シリアル通信部11bはコネクタ16のシリアル伝送ライン41に接続され、連設型センサシステムに接続される各センサユニットとの間でシリアル通信を行うもので、シリアル伝送手段を構成している。   The serial communication unit 11b is connected to the serial transmission line 41 of the connector 16, and performs serial communication with each sensor unit connected to the continuous sensor system, and constitutes a serial transmission means.

テーブルメモリ14はこのネットワークユニット10に接続される多数のセンサユニットの判別信号(オンオフ信号)やセンサ情報をテーブルとして保持するメモリであり、揮発性のメモリによって構成される。テーブルメモリ14は図4Aに示すように第1領域14−1と第2領域14−2とを有している。ここで各センサユニット30−1〜30−16を#1〜#16で示している。第1領域14−1はシリアル伝送ライン41より伝送されてきた判別信号を保持する領域である。第2領域14−2はシリアル伝送ライン41を介して伝送されてきた各センサユニットのセンサ情報を保持する領域である。センサ情報とは、例えばセンサユニットが光電センサの場合にはその受光量などである。   The table memory 14 is a memory that holds discrimination signals (on / off signals) and sensor information of a large number of sensor units connected to the network unit 10 as a table, and is configured by a volatile memory. As shown in FIG. 4A, the table memory 14 has a first area 14-1 and a second area 14-2. Here, the sensor units 30-1 to 30-16 are denoted by # 1 to # 16. The first area 14-1 is an area for holding a discrimination signal transmitted from the serial transmission line 41. The second area 14-2 is an area for holding sensor information of each sensor unit transmitted through the serial transmission line 41. The sensor information is, for example, the amount of received light when the sensor unit is a photoelectric sensor.

パラメータメモリ15は図4Bに示すように、このネットワークユニット10に接続される多数のセンサユニット30−1〜30−16に夫々設定されるパラメータを保持するメモリであり、揮発性のメモリによって構成される。   As shown in FIG. 4B, the parameter memory 15 is a memory for holding parameters set in a large number of sensor units 30-1 to 30-16 connected to the network unit 10, and is constituted by a volatile memory. The

コネクタ16は5個の接続端子を備え、このうち接続端子16a,16bはシリアル伝送ライン41に接続される端子である。接続端子16cはタイミング信号用の接続端子である。また接続端子16d,16eは電源供給用の端子であり、電源供給用のコネクタ17に接続されている。   The connector 16 includes five connection terminals, of which the connection terminals 16 a and 16 b are terminals connected to the serial transmission line 41. The connection terminal 16c is a connection terminal for timing signals. The connection terminals 16d and 16e are terminals for supplying power and are connected to a connector 17 for supplying power.

ネットワークユニット10のコネクタ16は、センサユニット30−1との電気的な接続手段を構成しており、シリアル伝送ライン41を介してシリアル信号の送受信を行うと共に、タイミング信号を送出する機能と、各センサユニットに電源供給を行う機能を兼ね備えている。   The connector 16 of the network unit 10 constitutes an electrical connection means with the sensor unit 30-1, and transmits / receives a serial signal via the serial transmission line 41 and transmits a timing signal, It also has the function of supplying power to the sensor unit.

ネットワークユニット10は、図3(a),(b)に示すように直方体形状のケース21に部材を収容したユニットであり、その側壁に1つのセンサユニットを連結して用いられる。   The network unit 10 is a unit in which members are housed in a rectangular parallelepiped case 21 as shown in FIGS. 3A and 3B, and is used by connecting one sensor unit to the side wall thereof.

図3(a)に示すように、ケース21の上面にはコネクタ18が設けられている。コネクタ18はプログラマブルコントローラやコンピュータなどの上位制御装置42を接続するコネクタである。ケース21の長手方向の一端には、図示しない電源供給線を接続するねじ式の端子から成るコネクタ17が設けられている。又ケース21の上面には表示部12や操作部13の操作スイッチが設けられる。   As shown in FIG. 3A, the connector 18 is provided on the upper surface of the case 21. The connector 18 is a connector for connecting a host controller 42 such as a programmable controller or a computer. One end of the case 21 in the longitudinal direction is provided with a connector 17 composed of a screw-type terminal for connecting a power supply line (not shown). In addition, operation switches of the display unit 12 and the operation unit 13 are provided on the upper surface of the case 21.

図3(b)に示すようにケース21の一方の側面には、前述したコネクタ16が設けられている。コネクタ16は5個の接続端子を有し、このうちの2個の接続端子は下流側シリアル伝送ライン41に接続され、残りはタイミング用、及び電源用の接続端子である。   As shown in FIG. 3B, the connector 16 described above is provided on one side surface of the case 21. The connector 16 has five connection terminals, two of which are connected to the downstream serial transmission line 41, and the rest are connection terminals for timing and power.

また、ケース21の一方の側面には、長手方向両端部に近接して係合凹部22a,22bが設けられている。この係合凹部22a,22bは、後述するセンサユニット30−1に設けられた係合突起を嵌入させて係合するもので、ユニット同士を連結する際の位置決めと接続を行う物理的な接続手段を構成している。   Engagement recesses 22a and 22b are provided on one side surface of the case 21 in proximity to both ends in the longitudinal direction. The engaging recesses 22a and 22b are engaged by engaging engagement protrusions provided in a sensor unit 30-1 described later, and are physical connection means for positioning and connecting the units to each other. Is configured.

次に、センサユニットについて説明する。本実施の形態では16台のセンサユニット30−1から30−16が連結されているが、各センサユニットは同一の構成であるので、センサユニット30−1につき図面に基づいて説明する。図5はセンサユニット30−1の内部構成を示すブロック図である。図6(a)はセンサユニット30−1を一方の側面から見た状態の斜視図であり、図6(b)はセンサユニット30−1を反対側の側面から見た状態の斜視図である。本実施の形態のセンサユニット30−1は、投光用及び受光用の一対の光ファイバをセンサヘッドとする光電センサとし、受光用の光ファイバの受光量に応じた検出信号を生成し、この検出信号を所定の閾値で二値化した判別信号を出力する機能を有する。   Next, the sensor unit will be described. In the present embodiment, 16 sensor units 30-1 to 30-16 are connected. However, since each sensor unit has the same configuration, the sensor unit 30-1 will be described with reference to the drawings. FIG. 5 is a block diagram showing an internal configuration of the sensor unit 30-1. 6A is a perspective view of the sensor unit 30-1 as viewed from one side surface, and FIG. 6B is a perspective view of the sensor unit 30-1 as viewed from the opposite side surface. . The sensor unit 30-1 of the present embodiment is a photoelectric sensor having a pair of light projecting and light receiving optical fibers as a sensor head, and generates a detection signal corresponding to the amount of light received by the light receiving optical fiber. It has a function of outputting a discrimination signal obtained by binarizing the detection signal with a predetermined threshold.

センサユニット30−1は、図5に示すように、1チップのゲートアレイGやマイクロプロセッサを用いて形成した制御部31を有している。制御部31はタイミング制御部31a、判定部31b、シリアル通信部31cを内部に備えている。また制御部31には、発光部32、受光部33、表示部34、操作部35、パラメータメモリ36、出力トランジスタQ1及びコネクタ37,38が接続されている。   As shown in FIG. 5, the sensor unit 30-1 has a control unit 31 formed using a one-chip gate array G or a microprocessor. The control unit 31 includes a timing control unit 31a, a determination unit 31b, and a serial communication unit 31c. The control unit 31 is connected with a light emitting unit 32, a light receiving unit 33, a display unit 34, an operation unit 35, a parameter memory 36, an output transistor Q1, and connectors 37 and 38.

制御部31は、シリアル伝送ライン41を介してネットワークユニット10との間でシリアル信号を送受信する機能を有する。また後述するようにセンサユニット30−1内のパラメータが更新されたときにパラメータメモリ36の更新フラグをオンとし、パラメータの送出を終えるとこのフラグをリセットする機能を有している。   The control unit 31 has a function of transmitting and receiving serial signals to and from the network unit 10 via the serial transmission line 41. Further, as will be described later, it has a function of turning on an update flag in the parameter memory 36 when a parameter in the sensor unit 30-1 is updated and resetting the flag when the parameter transmission is completed.

タイミング制御部31aは、接続端子37cにタイミング信号が伝送されたときに発光部32にタイミング信号を与えると共に、所定時間、例えば略10μs経過した後に、接続端子38cにタイミング信号を出力するものである。   The timing control unit 31a gives a timing signal to the light emitting unit 32 when a timing signal is transmitted to the connection terminal 37c, and outputs a timing signal to the connection terminal 38c after a predetermined time, for example, about 10 μs elapses. .

判定部31bは受光量を所定の閾値により弁別してオン/オフの二値化された判別信号に変換する判別部である。センサの判別信号は出力用トランジスタQ1及び出力ライン39を介して外部に直接出力される。   The determination unit 31b is a determination unit that discriminates the amount of received light according to a predetermined threshold value and converts it into a determination signal that is binarized on / off. The sensor discrimination signal is directly output to the outside via the output transistor Q1 and the output line 39.

シリアル通信部31cはコネクタ37,38のシリアル伝送ライン41に接続され、連設型センサシステムに接続されるネットワークユニット10との間でシリアル通信を行うもので、シリアル伝送手段を構成している。   The serial communication unit 31c is connected to the serial transmission line 41 of the connectors 37 and 38, and performs serial communication with the network unit 10 connected to the continuous sensor system, and constitutes a serial transmission means.

発光部32はタイミング制御部31aからのタイミング信号に基づいて発光素子を駆動するものである。発光素子からの光は光ファイバ32aを介して伝送されて先端から光を輻射する。光ファイバ32aから輻射される光は物体検知領域を介して光ファイバ33aに入射し、受光部33に導かれる。受光部33は入射光を電気信号に変換し、増幅するものである。   The light emitting unit 32 drives the light emitting element based on the timing signal from the timing control unit 31a. Light from the light emitting element is transmitted through the optical fiber 32a and radiates light from the tip. The light radiated from the optical fiber 32 a enters the optical fiber 33 a through the object detection region and is guided to the light receiving unit 33. The light receiving unit 33 converts incident light into an electric signal and amplifies it.

ここで発光部32、受光部33、光ファイバ32a,33aは、検出対象から検出した物理量に応じて検出信号を出力するセンサ部を構成している。   Here, the light emitting unit 32, the light receiving unit 33, and the optical fibers 32a and 33a constitute a sensor unit that outputs a detection signal in accordance with a physical quantity detected from a detection target.

パラメータメモリ36は各センサユニットで夫々個別に設定される閾値などのパラメータやネットワークユニットから設定されるパラメータを保持するメモリであり、不揮発性メモリで構成される。パラメータメモリ36にはパラメータが更新されたときに立てられる更新フラグの領域が設けられている。   The parameter memory 36 is a memory that holds parameters such as threshold values set individually in each sensor unit and parameters set from the network unit, and is configured by a nonvolatile memory. The parameter memory 36 is provided with an update flag area that is set when a parameter is updated.

コネクタ37は、ネットワークユニット10のコネクタ16及び隣接するセンサユニットのコネクタ38と同一形状のコネクタで形成されており、互いに接続可能となっている。またコネクタ37はシリアル伝送ライン41の上流側に接続される2個の接続端子37a,37b、タイミング信号用の接続端子37c及び電源供給用の接続端子37d,37eを備えている。   The connector 37 is formed of a connector having the same shape as the connector 16 of the network unit 10 and the connector 38 of the adjacent sensor unit, and can be connected to each other. The connector 37 includes two connection terminals 37a and 37b connected to the upstream side of the serial transmission line 41, a connection terminal 37c for timing signals, and connection terminals 37d and 37e for power supply.

コネクタ38はシリアル伝送ライン41の下流側に接続される2個の接続端子38a,38bを有する。コネクタ37の接続端子37a,37bと、コネクタ38の接続端子38a,38bとの間は各々直接接続されてシリアル伝送ライン41が形成されている。   The connector 38 has two connection terminals 38 a and 38 b connected to the downstream side of the serial transmission line 41. A serial transmission line 41 is formed by directly connecting the connection terminals 37 a and 37 b of the connector 37 and the connection terminals 38 a and 38 b of the connector 38.

コネクタ37の接続端子37cはタイミング制御部31aを介してコネクタ38の接続端子38cに接続されている。また、コネクタ37の接続端子37d,37eとコネクタ38の接続端子38d,38eとの間は各々直接接続され、センサユニット30−1の内部に電源を供給すると共に、下流のセンサユニットに電源を供給する。   The connection terminal 37c of the connector 37 is connected to the connection terminal 38c of the connector 38 via the timing control unit 31a. The connection terminals 37d and 37e of the connector 37 and the connection terminals 38d and 38e of the connector 38 are directly connected to supply power to the inside of the sensor unit 30-1 and supply power to the downstream sensor unit. To do.

センサユニット30−1は、図6(a),(b)に示すように、幅が狭いケース51に部材を収容したユニットである。ケース51の上面には、4桁の7セグメントLED表示器で形成された表示部34や各種のスイッチから成る操作部35が設けられている。表示部34はセンサの受光量と設定閾値や、受光量と余裕度などの値を同時にデジタル表示可能である。   As shown in FIGS. 6A and 6B, the sensor unit 30-1 is a unit in which a member is accommodated in a case 51 having a narrow width. On the upper surface of the case 51, a display unit 34 formed of a four-digit 7-segment LED display and an operation unit 35 including various switches are provided. The display unit 34 can simultaneously digitally display the received light amount of the sensor and the set threshold value, and the received light amount and margin.

ケース51の上部には、上面全面を覆う着脱自在のカバーが設けられるが、図6では省略している。またケース51の長手方向端部には、光ファイバ32a,33aを装着するヘッド装着孔52a,52bと、光ファイバ32a,33aを固定する固定レバーが設けられている。   A detachable cover that covers the entire upper surface is provided on the upper portion of the case 51, but is omitted in FIG. Further, head mounting holes 52a and 52b for mounting the optical fibers 32a and 33a and fixing levers for fixing the optical fibers 32a and 33a are provided at the longitudinal ends of the case 51.

図6(a)に示すようにケース51の一方の側面には、コネクタ37が設けられている。また、ケース51の一方の側面には、長手方向両端部に近接して係合突起53a,53bが設けられている。この係合突起53a,53bは、ネットワークユニット10の係合凹部22a,22bに嵌入させて係合するもので、ネットワークユニットとの連結の際の位置決めと接続を行う物理的な接続手段を構成している。コネクタ37は上流側のネットワークユニット10又はセンサユニットと電気的に接続する接続手段を構成している。   As shown in FIG. 6A, a connector 37 is provided on one side surface of the case 51. Further, on one side surface of the case 51, engagement protrusions 53a and 53b are provided close to both ends in the longitudinal direction. The engagement protrusions 53a and 53b are engaged with the engagement recesses 22a and 22b of the network unit 10 and constitute physical connection means for positioning and connection in connection with the network unit. ing. The connector 37 constitutes connection means for electrically connecting to the upstream network unit 10 or sensor unit.

図6(b)に示すようにケース51の他方の側面にはコネクタ37と対称な位置にコネクタ38が設けられている。また、ケース51の他方の側面には、長手方向両端部に近接して係合凹部54a,54bが設けられている。この係合凹部54a,54bは、下流のセンサユニットに設けられた係合突起を嵌入させて係合するもので、センサユニット同士の連結の際の位置決めと接続を行う物理的な接続手段を構成している。コネクタ38は下流側のセンサユニットと電気的に接続する接続手段を構成している。   As shown in FIG. 6B, a connector 38 is provided on the other side surface of the case 51 at a position symmetrical to the connector 37. Further, on the other side surface of the case 51, engagement concave portions 54a and 54b are provided in proximity to both ends in the longitudinal direction. The engagement recesses 54a and 54b are engaged by engaging engagement protrusions provided on the downstream sensor unit, and constitute physical connection means for positioning and connection when the sensor units are connected to each other. is doing. The connector 38 constitutes connection means for electrically connecting to the downstream sensor unit.

本実施の形態のセンサユニット30−1は、検知動作に加えて、操作部35の各スイッチ操作によって表示部34による表示データの切換えやパラメータの設定、動作状態の切換が可能である。例えば、物体を検知領域の所望の位置に配置して、その位置でオン状態となるように閾値を設定したり、閾値のヒステリシスを設定することができる。また使用可能距離を変化させるため、発光部32の発光素子の駆動レベルを設定することができる。また受光部33への入光時または遮光時のいずれでオン信号を出力するかの出力モードを切換えることができる。こうして設定された閾値、発光部の駆動レベルなどをまとめてパラメータという。設定されたパラメータの一式はパラメータメモリ36に保持される。尚、シリアル伝送ライン41を介して伝送されるコマンドに基づいて表示部34の表示データを変更したり、動作モードを切換えることができる。   In addition to the detection operation, the sensor unit 30-1 of the present embodiment is capable of switching display data, setting parameters, and switching operation states by the display unit 34 by operating each switch of the operation unit 35. For example, an object can be placed at a desired position in the detection region, and a threshold value can be set so that the object is turned on at that position, or a threshold value hysteresis can be set. Further, since the usable distance is changed, the drive level of the light emitting element of the light emitting unit 32 can be set. In addition, it is possible to switch the output mode for outputting the ON signal when the light enters the light receiving unit 33 or when the light is blocked. The threshold value set in this way, the drive level of the light emitting unit, and the like are collectively referred to as parameters. A set of set parameters is held in the parameter memory 36. The display data of the display unit 34 can be changed or the operation mode can be switched based on a command transmitted via the serial transmission line 41.

次に、ネットワークユニットとセンサユニットを組み合わせて形成される連設型センサシステム1の構成及びその動作について説明する。本実施の形態の連設型センサシステム1は、ネットワークユニット10及び少なくとも1つのセンサユニットを組み合わせて種々に形成可能であるが、ここでは図1及び図7のように、1台のネットワークユニット10と16台のセンサユニット30−1(#1)〜30−16(#16)とが連結して接続されているものとする。ネットワークユニット10とセンサユニット30−1とを連結することによりコネクタ16とコネクタ37とが接続される。また各センサユニットのコネクタ38と隣接するセンサユニットのコネクタ37とが接続される。   Next, the configuration and operation of the continuous sensor system 1 formed by combining the network unit and the sensor unit will be described. The continuous sensor system 1 according to the present embodiment can be variously formed by combining the network unit 10 and at least one sensor unit. Here, as shown in FIGS. 1 and 7, one network unit 10 is used. And 16 sensor units 30-1 (# 1) to 30-16 (# 16) are connected to each other. The connector 16 and the connector 37 are connected by connecting the network unit 10 and the sensor unit 30-1. The connector 38 of each sensor unit and the connector 37 of the adjacent sensor unit are connected.

本実施の形態の連設型センサシステム1において、ネットワークユニット10のコネクタ18にはケーブルを介して上位制御装置42が接続され、コネクタ17には直流電源が接続される。各センサユニットは夫々図示しない光ファイバがワークの監視位置にまで延ばされている。図7に示すネットワークユニット10にはコネクタ18が2つ設けられているが、これは上位制御装置43との接続がデージーチェーン接続を前提とした通信システムである場合の例を示しており、一方のコネクタ18は上位制御装置43又は上位側の他のネットワークユニット10と接続され、他方のコネクタ18は下位側の他のネットワークユニットと接続されるか未接続なままで使用される。なお、本発明は、デージーチェーン接続に限られず、図2、図3に示すマルチドロップ接続等の他の通信システムに適用できることは言うまでもない。   In the continuous sensor system 1 of the present embodiment, the host controller 42 is connected to the connector 18 of the network unit 10 via a cable, and a DC power source is connected to the connector 17. In each sensor unit, an optical fiber (not shown) is extended to a work monitoring position. The network unit 10 shown in FIG. 7 is provided with two connectors 18, and this shows an example in which the communication with the host controller 43 is a communication system premised on daisy chain connection, The connector 18 is connected to the host controller 43 or the other network unit 10 on the host side, and the other connector 18 is used while connected to the other network unit on the lower side or not connected. Needless to say, the present invention is not limited to the daisy chain connection but can be applied to other communication systems such as the multi-drop connection shown in FIGS.

このような構成の連設型センサシステム1において、シリアル信号の伝送に際し、各センサユニットに固有のアドレスが設定される。アドレス設定は各センサユニットに設けたDIPスイッチなどで行うようにしたり、センサユニット毎に接続状態を認識して自動的にアドレス設定を行うことができる。   In the continuous sensor system 1 having such a configuration, a unique address is set for each sensor unit when a serial signal is transmitted. Address setting can be performed by a DIP switch or the like provided in each sensor unit, or address setting can be automatically performed by recognizing a connection state for each sensor unit.

さて連設型センサシステム1に電源を投入すると、ネットワークユニット10は各センサユニットに対してその時点で設定されているパラメータの送信を要求する。各センサユニットは夫々のパラメータメモリ36に保持されているパラメータの一式をシリアル伝送ライン41を介してネットワークユニット10に転送する。ネットワークユニット10はパラメータメモリ15にこのデータを保持する。   Now, when the continuous sensor system 1 is turned on, the network unit 10 requests each sensor unit to transmit the parameters set at that time. Each sensor unit transfers a set of parameters stored in the respective parameter memory 36 to the network unit 10 via the serial transmission line 41. The network unit 10 holds this data in the parameter memory 15.

連設型センサシステム1において、次のようにしてワークの監視制御が行われる。ネットワークユニット10の制御部11よりタイミング信号が隣接するセンサユニット30−1に送出されると、センサユニット30−1のタイミング制御部31aに伝送される。   In the continuous sensor system 1, work control is performed as follows. When the timing signal is sent from the control unit 11 of the network unit 10 to the adjacent sensor unit 30-1, the timing signal is transmitted to the timing control unit 31a of the sensor unit 30-1.

センサユニット30−1では、タイミング制御部31aにタイミング信号が伝送されて来ると、制御部31は発光部32を発光させ、受光部33にワークの有無により異なったレベルの受光信号が得られる。受光信号は判定部31bに設定された閾値で二値化される。センサユニット30−1は判別信号を出力トランジスタQ1、出力ライン39を通じて外部に出力する。この判別信号と受光量とは、次にタイミング信号が得られるまで保持される。   In the sensor unit 30-1, when the timing signal is transmitted to the timing control unit 31a, the control unit 31 causes the light emitting unit 32 to emit light, and the light receiving unit 33 can obtain different levels of received light signals depending on the presence or absence of a workpiece. The received light signal is binarized with a threshold set in the determination unit 31b. The sensor unit 30-1 outputs a discrimination signal to the outside through the output transistor Q1 and the output line 39. The determination signal and the amount of received light are held until the next timing signal is obtained.

そして、タイミング制御部31aはタイミング信号を受信してから所定時間(例えば10μs)経過した後に、接続端子38cより隣接するセンサユニットにタイミング信号を伝える。このように、各センサユニットで所定時間ずつ遅延されたタイミング信号がバケツリレー式に下流側のセンサユニットへ伝送される。これにより、下流側に向かうにつれて各センサユニットは所定時間ずつ遅延して発光することになるため、光電センサ間の相互干渉を防止することができる。   The timing controller 31a transmits the timing signal to the adjacent sensor unit from the connection terminal 38c after a predetermined time (for example, 10 μs) has elapsed since the timing signal was received. In this way, the timing signal delayed by a predetermined time in each sensor unit is transmitted to the downstream sensor unit in a bucket relay manner. Thereby, each sensor unit emits light with a delay of a predetermined time as it goes downstream, so that mutual interference between photoelectric sensors can be prevented.

次に図8のフローチャート、及び図9のシーケンス図を用いてこの連設型センサシステム1の通常のデータ及びパラメータの収集処理について説明する。まず図8のフローチャートに示すようにネットワークユニット10は周期的にデータ転送コマンドを送出する(ステップS1)。   Next, normal data and parameter collection processing of the continuous sensor system 1 will be described with reference to the flowchart of FIG. 8 and the sequence diagram of FIG. First, as shown in the flowchart of FIG. 8, the network unit 10 periodically transmits a data transfer command (step S1).

このときネットワークユニット10は各センサユニットに共通のIDコードを付して、シリアル伝送ライン41を介して全てのセンサユニットに対してデータ転送コマンドを送出する。ここでデータとは判別信号のみ又は受光量のみであってもよく、判別信号と受光量の双方であってもよい。そうすればシリアル伝送ライン41を介して各センサユニットから応答が得られる。この受信のタイミングは夫々異なっているが、得られるデータ自体は同期している。そして各センサユニットから受信データをバッファに一時保持する(ステップS2)。そして受信データのオンオフ情報や受光量等の値をテーブルメモリ14に保持する(ステップS3)。図4Aはこうして得られたテーブルメモリ14のメモリマップを示しており、各センサユニットから得られた判別信号が第1領域14−1に、センサ情報である受光量が第2領域14−2に保持される。   At this time, the network unit 10 attaches a common ID code to each sensor unit and sends a data transfer command to all sensor units via the serial transmission line 41. Here, the data may be only the determination signal or only the received light amount, or may be both the determination signal and the received light amount. Then, a response is obtained from each sensor unit via the serial transmission line 41. Although the reception timings are different, the obtained data itself is synchronized. Then, the received data from each sensor unit is temporarily held in the buffer (step S2). Then, values such as on / off information of received data and received light amount are held in the table memory 14 (step S3). FIG. 4A shows a memory map of the table memory 14 obtained in this way. The discrimination signal obtained from each sensor unit is in the first area 14-1, and the received light amount as sensor information is in the second area 14-2. Retained.

次にパラメータの更新の確認処理に移り、ポインタiを1とする(ステップS4)。そしてバッファに保持されているセンサユニット30−iのデータ内の更新フラグを抽出し(ステップS5)、このフラグが立っているかどうかを判別する(ステップS6)。更新フラグが立っていなければ、ポインタiをインクリメントしてステップS5に戻る(ステップS7)。更新フラグが立っている場合には、ステップS8に進んでセンサユニット#iに更新パラメータの転送を要求する。このときセンサユニット#iには、変更されたパラメータのみを要求してもよく、全てのパラメータを要求してもよい。要求したセンサユニット#iから更新パラメータが送信されると、ステップS9においてパラメータメモリ15のセンサユニット#iのパラメータを更新する。そしてi=16、即ち最終のセンサユニットかどうかを判別し(ステップS10)、最終のセンサユニットでなければ、ステップS7に戻って同様の処理を繰り返す。最終のセンサユニットであれば、ステップS1に戻ってネットワークユニット10は再びデータ転送コマンドを送出して同様の処理を行う。   Next, the process proceeds to a parameter update confirmation process, and the pointer i is set to 1 (step S4). Then, an update flag in the data of the sensor unit 30-i held in the buffer is extracted (step S5), and it is determined whether or not this flag is set (step S6). If the update flag is not set, the pointer i is incremented and the process returns to step S5 (step S7). If the update flag is set, the process proceeds to step S8 to request the sensor unit #i to transfer update parameters. At this time, only the changed parameter may be requested from the sensor unit #i, or all parameters may be requested. When the update parameter is transmitted from the requested sensor unit #i, the parameter of the sensor unit #i in the parameter memory 15 is updated in step S9. Then, it is determined whether i = 16, that is, the final sensor unit (step S10), and if it is not the final sensor unit, the process returns to step S7 and the same processing is repeated. If it is the last sensor unit, the process returns to step S1, and the network unit 10 sends the data transfer command again and performs the same processing.

図9に示すシーケンス図では、センサユニット30−3がパラメータを更新し、次いでセンサユニット30−1がパラメータを更新した場合について示している。   The sequence diagram shown in FIG. 9 shows a case where the sensor unit 30-3 updates the parameters, and then the sensor unit 30-1 updates the parameters.

こうすれば各センサユニットでパラメータの変更がなければ、ステップS1〜S7の処理を高速で行うことができる。又パラメータが更新されていれば、更新されたセンサユニットについてのみパラメータの転送を要求し、パラメータメモリ15のパラメータを更新することができる。従ってシリアル伝送ライン41の通信負荷が軽くなり、しかも最新のパラメータを常にネットワークユニット10のパラメータメモリ15に保持しておくことができる。   By doing this, if there is no parameter change in each sensor unit, the processing of steps S1 to S7 can be performed at high speed. If the parameter is updated, the parameter transfer can be requested only for the updated sensor unit and the parameter in the parameter memory 15 can be updated. Accordingly, the communication load on the serial transmission line 41 is reduced, and the latest parameters can always be held in the parameter memory 15 of the network unit 10.

次に各センサユニットの動作について図10のシーケンス図を用いて説明する。各センサユニットはデータ転送コマンドがあれば、要求されたデータ、即ち判別情報や受光量などのデータと更新フラグとをネットワークユニット10に送出する。パラメータの変更がなければ更新フラグはオフであるが、ユーザが操作部35を用いて閾値などのパラメータを変更した場合には更新フラグを立てておく。次にデータ転送コマンドがあればオン状態の更新フラグをデータと共に送信する。こうすればネットワークユニット10より更新パラメータの要求があるため、パラメータメモリ36に保持されているパラメータをネットワークユニット10に送出する。パラメータを送出した後は、更新フラグをオフとする。こうすれば最小の通信トラフィックの増加でネットワークユニット10に最新のパラメータを保持することができる。   Next, the operation of each sensor unit will be described with reference to the sequence diagram of FIG. If there is a data transfer command, each sensor unit sends the requested data, that is, data such as discrimination information and received light amount, and an update flag to the network unit 10. If there is no parameter change, the update flag is off. However, when the user changes a parameter such as a threshold value using the operation unit 35, an update flag is set. Next, if there is a data transfer command, an on-state update flag is transmitted together with the data. In this way, since there is a request for an update parameter from the network unit 10, the parameter held in the parameter memory 36 is sent to the network unit 10. After sending the parameters, the update flag is turned off. In this way, the latest parameters can be held in the network unit 10 with a minimum increase in communication traffic.

一方、ネットワークユニット10は、上位制御装置42から各センサユニットの判別信号や受光量の問い合わせに応じて、これらをテーブルメモリ14から読み出し、上位IF11a及びコネクタ18を介して上位制御装置42へ伝送する。パラメータの要求があればパラメータメモリ15からパラメータを読み出して同様に上位制御装置42へ伝送する。上位制御装置42では判別信号や受光量、更にパラメータの情報を用いて必要な処理を行うことができる。   On the other hand, the network unit 10 reads out these from the table memory 14 in response to a discrimination signal of each sensor unit and an inquiry of the amount of received light from the host controller 42 and transmits them to the host controller 42 via the host IF 11a and the connector 18. . If there is a parameter request, the parameter is read from the parameter memory 15 and transmitted to the host controller 42 in the same manner. The host control device 42 can perform necessary processing using the determination signal, the amount of received light, and the parameter information.

(第2の実施の形態)
次に本発明の第2の実施の形態による連設型センサシステムについて説明する。前述した第1の実施の形態と同一部分は同一符号を付して詳細な説明を省略する。この実施の形態の連設型センサシステムは、図11に示すようにネットワークユニット60に少なくとも1つ、ここでは16個のセンサユニット70−1〜70−16を一連に接続して構成される。そしてネットワークユニット60と、センサユニット70−1〜70−16との間に、シリアル伝送ライン41に加えてパラレル伝送ライン44を設けたものである。こうすればパラレル伝送ライン44を用いてリアルタイムで判別信号をネットワークユニット60に伝えることができる。パラレル伝送ライン44は各センサユニットより1本分の信号線が接続されており、少なくとも16本のラインで形成される。
(Second Embodiment)
Next, a continuous sensor system according to a second embodiment of the present invention will be described. The same parts as those of the first embodiment described above are denoted by the same reference numerals, and detailed description thereof is omitted. The continuous sensor system of this embodiment is configured by connecting at least one, here 16 sensor units 70-1 to 70-16 in series to a network unit 60 as shown in FIG. In addition to the serial transmission line 41, a parallel transmission line 44 is provided between the network unit 60 and the sensor units 70-1 to 70-16. In this way, the discrimination signal can be transmitted to the network unit 60 in real time using the parallel transmission line 44. The parallel transmission line 44 is connected to one signal line from each sensor unit, and is formed of at least 16 lines.

次に本実施の形態のネットワークユニット60について図12を用いて説明する。制御部61は、第1の実施の形態の制御部11の機能に加えてパラレル伝送ライン44より伝送される判別信号を受信し、テーブルメモリ14の第1領域を更新して保持し、要求に応じて上位制御装置42へ出力する機能を有する。制御部61の出力判定受信部11cは、パラレル伝送ライン44より得られた各センサユニットの判別信号を受信してテーブルメモリ14に保持するものである。またコネクタ66は前述した第1の実施の形態のコネクタ16の接続端子16a〜16eと同一の機能を有する接続端子66a〜66eに加えて、パラレル伝送ライン44の下流側に接続される16個の接続端子66f〜66uを備えている。   Next, the network unit 60 of the present embodiment will be described with reference to FIG. The control unit 61 receives the determination signal transmitted from the parallel transmission line 44 in addition to the function of the control unit 11 of the first embodiment, updates the first area of the table memory 14 and holds it. Accordingly, it has a function of outputting to the host control device 42. The output determination receiving unit 11 c of the control unit 61 receives the determination signal of each sensor unit obtained from the parallel transmission line 44 and holds it in the table memory 14. In addition to the connection terminals 66a to 66e having the same function as the connection terminals 16a to 16e of the connector 16 of the first embodiment described above, the connector 66 includes 16 pieces connected to the downstream side of the parallel transmission line 44. Connection terminals 66f to 66u are provided.

この実施の形態においてもネットワークユニット60に16台のセンサユニット70−1から70−16が連結されているが、各センサユニットは同一の構成であるので、センサユニット70−1につき図面に基づいて説明する。図13はセンサユニット70−1を示している。コネクタ77は前述した第1の実施の形態のコネクタ37の接続端子37a〜37eと同一の機能を有する接続端子77a〜77eに加えて、パラレル伝送ライン44の上流側に接続される16個の接続端子77f〜77uを備えている。接続端子77f〜77uの中で端部に位置する接続端子77fは、出力トランジスタQ2のコレクタに接続されている。   Also in this embodiment, sixteen sensor units 70-1 to 70-16 are connected to the network unit 60. However, since each sensor unit has the same configuration, the sensor unit 70-1 is based on the drawings. explain. FIG. 13 shows the sensor unit 70-1. The connector 77 has 16 connections connected to the upstream side of the parallel transmission line 44 in addition to the connection terminals 77a to 77e having the same functions as the connection terminals 37a to 37e of the connector 37 of the first embodiment. Terminals 77f to 77u are provided. The connection terminal 77f located at the end of the connection terminals 77f to 77u is connected to the collector of the output transistor Q2.

一方コネクタ78は前述した第1の実施の形態の接続端子38a〜38eと同一の機能を有する接続端子78a〜78eに加えて、パラレル伝送ライン44の下流側に接続される16個の接続端子78f〜78uを備えている。また、コネクタ78の接続端子78fはコネクタ77の接続端子77gに接続され、コネクタ78の接続端子78gはコネクタ77の接続端子77hに接続される。同様に、コネクタ78の接続端子78tはコネクタ77の接続端子77uに接続される。このように下流側パラレル接続部と上流側パラレル接続部との間は、接続端子が一つずつずれて配線接続され、これらがパラレル伝送ライン44を構成している。   On the other hand, the connector 78 has 16 connection terminals 78f connected to the downstream side of the parallel transmission line 44 in addition to the connection terminals 78a to 78e having the same functions as the connection terminals 38a to 38e of the first embodiment. ~ 78u. The connection terminal 78 f of the connector 78 is connected to the connection terminal 77 g of the connector 77, and the connection terminal 78 g of the connector 78 is connected to the connection terminal 77 h of the connector 77. Similarly, the connection terminal 78 t of the connector 78 is connected to the connection terminal 77 u of the connector 77. Thus, the connection terminals are shifted one by one between the downstream side parallel connection part and the upstream side parallel connection part, and these constitute a parallel transmission line 44.

この実施の形態では、各センサユニットは夫々ワークの検知を行い、判別信号をパラレル伝送ライン44を介して各々独立してネットワークユニット60へ伝送する。一方ネットワークユニット60は、パラレル伝送ライン44を通じて転送されてきた判別信号をテーブルメモリ14の第1領域14−1に保持する。この実施の形態では上位制御装置からの要求に応じてテーブルメモリ14の第1領域14−1の判別信号を上位機器に転送するようにすれば、より高速に判別情報を伝送することができる。   In this embodiment, each sensor unit detects a workpiece and transmits a discrimination signal to the network unit 60 independently via the parallel transmission line 44. On the other hand, the network unit 60 holds the discrimination signal transferred through the parallel transmission line 44 in the first area 14-1 of the table memory 14. In this embodiment, if the discrimination signal in the first area 14-1 of the table memory 14 is transferred to the host device in response to a request from the host controller, the discrimination information can be transmitted at a higher speed.

またパラレル伝送ライン44から得られる現時点での判別信号を一旦テーブルメモリ14の第1領域14−1に保持するようにしているが、上位制御装置42にパラレル信号のままで直接伝送するようにしてもよい。この場合には現時点での各センサユニットの判別信号をリアルタイムで上位制御装置42に伝送することができる。   The current discrimination signal obtained from the parallel transmission line 44 is temporarily held in the first area 14-1 of the table memory 14, but is directly transmitted to the host controller 42 as a parallel signal. Also good. In this case, the discrimination signal of each sensor unit at the present time can be transmitted to the host controller 42 in real time.

尚前述した各実施の形態の連設型センサシステムは、センサユニットを透過型光電センサユニットとしているが、反射型光電センサユニット、近接センサユニットなど他の形式のセンサユニットであってもよい。本発明は検出信号に基づいて判別信号を出力する種々のセンサユニットに適用することができる。   In the above-described continuous sensor system of each embodiment, the sensor unit is a transmissive photoelectric sensor unit, but other types of sensor units such as a reflective photoelectric sensor unit and a proximity sensor unit may be used. The present invention can be applied to various sensor units that output a discrimination signal based on a detection signal.

また各実施の形態では、ネットワークユニットに16台のセンサユニットを接続した構成として述べたが、ネットワークユニット10に任意の数のセンサユニットを接続して連設型センサシステムを構成することができる。   In each of the embodiments, 16 sensor units are connected to the network unit. However, any number of sensor units can be connected to the network unit 10 to configure a continuous sensor system.

また本実施の形態では、ネットワークユニットにセンサユニットを連結する際に物理的に連結すると共に電気的にも接続するようにしているが、物理的な連結と信号上との接続とを切り離すようにしてもよい。例えばいくつかのセンサユニットを連結し、信号線で他のセンサユニットと接続するようにしてもよい。   In this embodiment, when the sensor unit is connected to the network unit, the sensor unit is physically connected and electrically connected, but the physical connection and the connection on the signal are disconnected. May be. For example, several sensor units may be connected and connected to other sensor units by signal lines.

本発明は被検知対象物の状態監視を行う連設型センサシステム及びこのシステムに用いるネットワークユニットやセンサユニットに関し、シリアル伝送の通信負荷を少なくして各センサユニットのパラメータを更新できるため、製造ラインでのワークの加工を行う連設型センサシステムに好適に使用することができる。   The present invention relates to a continuous sensor system for monitoring the state of an object to be detected and a network unit and a sensor unit used in this system, because the communication load of serial transmission can be reduced and the parameters of each sensor unit can be updated. Therefore, it can be suitably used for a continuous sensor system that processes a workpiece in the above.

1 連設型センサシステム
10,60 ネットワークユニット
11,31,61 制御部
11a 上位インターフェイス
11b シリアル通信部
11c 出力判定受信部
14 テーブルメモリ
15,36 パラメータメモリ
16,17,18,37,38,67,77,78 コネクタ
30−1〜30−16,70−1〜70−16 センサユニット
31a タイミング制御部
31b 判定部
31c シリアル通信部
32 発光部
33 受光部
41 シリアル伝送ライン
42 上位制御装置
43 フィールドバス
44 パラレル伝送ライン
DESCRIPTION OF SYMBOLS 1 Consecutive sensor system 10, 60 Network unit 11, 31, 61 Control part 11a Higher level interface 11b Serial communication part 11c Output determination receiving part 14 Table memory 15, 36 Parameter memory 16, 17, 18, 37, 38, 67, 77, 78 Connectors 30-1 to 30-16, 70-1 to 70-16 Sensor unit 31a Timing control unit 31b Judgment unit 31c Serial communication unit 32 Light emitting unit 33 Light receiving unit 41 Serial transmission line 42 Host control device 43 Fieldbus 44 Parallel transmission line

Claims (9)

上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムであって、
前記各センサユニットは、
検出対象から検出した物理量に応じた検出信号を出力するセンサ部と、
前記判別部による判別のための閾値を含むパラメータを設定する操作部と、
前記操作部により設定されたパラメータ、及び前記パラメータの更新の有無を示す更新フラグを保持するパラメータメモリと、
前記センサ部から得られた検出信号を閾値に応じて判別すると共に、前記操作部よりパラメータが更新されたときに更新フラグを立て、判別信号及び前記センサ部の検出信号の少なくとも一方を送出する際に更新フラグを同時に前記ネットワークユニットに送信する制御部と、
隣接する前記ネットワークユニット及びセンサユニットのいずれかと接続する接続手段と、
複数ビットの信号で形成されるシリアル信号を送受信するシリアル伝送手段と、を有するものであり、
前記ネットワークユニットは、
隣接する前記いずれかのセンサユニットと接続する接続手段と、
前記センサユニットの判別信号を含み、複数ビットの信号で形成されるシリアル信号を直列的に送受信するシリアル伝送手段と、
前記各センサユニットのパラメータを保持するパラメータメモリと、
前記シリアル通信手段を介して受信したデータのうちパラメータの更新フラグが立てられているときに、更新フラグが立てられたデータを送出したセンサユニットに対して変更されたパラメータの送信を要求する制御部と、を具備する連設型センサシステム。
A continuous sensor system comprising a network unit connected to a host controller and at least one sensor unit, wherein the network unit is connected to any one of the sensor units and the sensor units. ,
Each sensor unit is
A sensor unit that outputs a detection signal according to a physical quantity detected from a detection target;
An operation unit for setting a parameter including a threshold for determination by the determination unit;
A parameter memory that holds a parameter set by the operation unit and an update flag indicating whether or not the parameter is updated;
When the detection signal obtained from the sensor unit is discriminated according to a threshold value, an update flag is set when a parameter is updated from the operation unit, and at least one of the discrimination signal and the detection signal of the sensor unit is sent A control unit for simultaneously transmitting an update flag to the network unit;
Connection means for connecting to any of the adjacent network unit and sensor unit;
Serial transmission means for transmitting and receiving a serial signal formed by a plurality of bits of signal,
The network unit is
Connection means for connecting to any one of the adjacent sensor units;
Serial transmission means for serially transmitting and receiving serial signals formed of a plurality of bits including the sensor unit discrimination signal;
A parameter memory for holding the parameters of each sensor unit;
A control unit that requests transmission of the changed parameter to the sensor unit that has transmitted the data with the update flag set when the parameter update flag is set among the data received via the serial communication means And a continuous sensor system.
前記ネットワークユニットの制御部は、電源の投入時に前記各センサユニットに設定されているパラメータを収集して前記パラメータメモリに保持する請求項1記載の連設型センサシステム。   2. The continuous sensor system according to claim 1, wherein the control unit of the network unit collects a parameter set in each sensor unit when the power is turned on and stores the parameter in the parameter memory. 前記各センサユニットは、前記制御部が出力する判別信号を並列的に前記ネットワークユニットに伝送するパラレル信号ラインを有する請求項1記載の連設型センサシステム。   2. The continuous sensor system according to claim 1, wherein each of the sensor units has a parallel signal line for transmitting a discrimination signal output from the control unit to the network unit in parallel. 前記ネットワークユニットは、前記各センサユニットより送られてきた判別信号を保持するテーブルメモリを有し、
前記ネットワークユニットの制御部は、前記センサユニットの制御部で生成された判別信号をパラレル信号ラインの信号変化に基づいて検出して前記テーブルメモリを更新する請求項3記載の連設型センサシステム。
The network unit has a table memory for holding a discrimination signal sent from each sensor unit,
4. The continuous sensor system according to claim 3, wherein the control unit of the network unit detects the determination signal generated by the control unit of the sensor unit based on a signal change of a parallel signal line and updates the table memory.
上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムに用いられるネットワークユニットであって、
隣接する前記いずれかのセンサユニットと接続する接続手段と、
前記センサユニットの判別信号を含み、複数ビットの信号で形成されるシリアル信号を直列的に送受信するシリアル伝送手段と、
前記各センサユニットのパラメータを保持するパラメータメモリと、
前記シリアル通信手段を介して受信したデータのうちパラメータの更新フラグが立てられているときに、更新フラグが立てられたデータを送出したセンサユニットに対して変更されたパラメータの送信を要求する制御部と、を具備するネットワークユニット。
A network unit connected to a host controller and at least one sensor unit, and used in a continuous sensor system configured by connecting the network unit, any one of the sensor units, and the sensor units. A network unit,
Connection means for connecting to any one of the adjacent sensor units;
Serial transmission means for serially transmitting and receiving serial signals formed of a plurality of bits including the sensor unit discrimination signal;
A parameter memory for holding the parameters of each sensor unit;
A control unit that requests transmission of the changed parameter to the sensor unit that has transmitted the data with the update flag set when the parameter update flag is set among the data received via the serial communication means And a network unit.
前記制御部は、電源の投入時に前記各センサユニットに設定されているパラメータを収集して前記パラメータメモリに保持する請求項5記載のネットワークユニット。   The network unit according to claim 5, wherein the control unit collects parameters set in the sensor units when power is turned on and stores the parameters in the parameter memory. 前記各センサユニットは、前記制御部が出力する判別信号を並列的に前記ネットワークユニットに伝送するパラレル信号ラインを有する請求項5項記載のネットワークユニット。   The network unit according to claim 5, wherein each of the sensor units has a parallel signal line for transmitting a determination signal output from the control unit to the network unit in parallel. 前記ネットワークユニットは、前記各センサユニットより送られてきた判別信号を保持するテーブルメモリを有し、
前記制御部は、前記センサユニットの制御部で生成された判別信号をパラレル信号ラインの信号変化に基づいて検出して前記テーブルメモリを更新する請求項7記載のネットワークユニット。
The network unit has a table memory for holding a discrimination signal sent from each sensor unit,
The network unit according to claim 7, wherein the control unit detects the determination signal generated by the control unit of the sensor unit based on a signal change of a parallel signal line and updates the table memory.
上位制御装置に接続されるネットワークユニットと、少なくとも1つのセンサユニットとを備え、前記ネットワークユニットといずれかの前記センサユニット及び前記センサユニット同士を接続して構成される連設型センサシステムに用いられるセンサユニットであって、
検出対象から検出した物理量に応じた検出信号を出力するセンサ部と、
前記判別部による判別のための閾値を含むパラメータを設定する操作部と、
前記操作部により設定されたパラメータ、及び前記パラメータの更新の有無を示す更新フラグを保持するパラメータメモリと、
前記センサ部から得られた検出信号を閾値に応じて判別すると共に、前記操作部よりパラメータが更新されたときに更新フラグを立て、判別信号及び前記センサ部の検出信号の少なくとも一方を送出する際に更新フラグを同時に前記ネットワークユニットに送信する制御部と、
隣接する前記ネットワークユニット及びセンサユニットのいずれかと接続する接続手段と、
複数ビットの信号で形成されるシリアル信号を送受信するシリアル伝送手段と、を具備するセンサユニット。
A network unit connected to a host controller and at least one sensor unit, and used in a continuous sensor system configured by connecting the network unit, any one of the sensor units, and the sensor units. A sensor unit,
A sensor unit that outputs a detection signal according to a physical quantity detected from a detection target;
An operation unit for setting a parameter including a threshold for determination by the determination unit;
A parameter memory that holds a parameter set by the operation unit and an update flag indicating whether or not the parameter is updated;
When the detection signal obtained from the sensor unit is discriminated according to a threshold value, an update flag is set when a parameter is updated from the operation unit, and at least one of the discrimination signal and the detection signal of the sensor unit is sent A control unit for simultaneously transmitting an update flag to the network unit;
Connection means for connecting to any of the adjacent network unit and sensor unit;
And a serial transmission means for transmitting and receiving a serial signal formed of a plurality of bits.
JP2009008453A 2009-01-19 2009-01-19 Continuously-arranged sensor system, network unit, and sensor unit Pending JP2010165270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008453A JP2010165270A (en) 2009-01-19 2009-01-19 Continuously-arranged sensor system, network unit, and sensor unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008453A JP2010165270A (en) 2009-01-19 2009-01-19 Continuously-arranged sensor system, network unit, and sensor unit

Publications (1)

Publication Number Publication Date
JP2010165270A true JP2010165270A (en) 2010-07-29

Family

ID=42581358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008453A Pending JP2010165270A (en) 2009-01-19 2009-01-19 Continuously-arranged sensor system, network unit, and sensor unit

Country Status (1)

Country Link
JP (1) JP2010165270A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3196596A1 (en) 2016-01-21 2017-07-26 Omron Corporation Sensor, sensor system and measuring method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3196596A1 (en) 2016-01-21 2017-07-26 Omron Corporation Sensor, sensor system and measuring method
CN106989770A (en) * 2016-01-21 2017-07-28 欧姆龙株式会社 Sensor, sensing system and assay method
CN106989770B (en) * 2016-01-21 2019-10-11 欧姆龙株式会社 Sensor, sensor system, and measurement method
US10598772B2 (en) 2016-01-21 2020-03-24 Omron Corporation Sensor, sensor system and measuring method

Similar Documents

Publication Publication Date Title
JP5216603B2 (en) Continuous sensor system, network unit, and sensor unit
JP5096382B2 (en) Continuous sensor system, network unit, and sensor unit
JP5346726B2 (en) Continuous sensor system, network unit, and sensor unit
JP6168444B2 (en) Meter reading system, communication device, smart meter
JP5389969B2 (en) Method and apparatus for serial data transmission between a position measurement system and a processing unit
JP5349185B2 (en) Photoelectric sensor and photoelectric sensor system
JP5279920B2 (en) Apparatus and method for automatically detecting an interface
EP1372270A1 (en) Two-wire power transmitting/receiving device and its method
JP2010165270A (en) Continuously-arranged sensor system, network unit, and sensor unit
US20100245117A1 (en) System for detecting an object in a monitoring area
US11868302B2 (en) Status signal output
JP4294985B2 (en) Continuous sensor system, master unit, sensor unit and sensor relay unit
KR20190049896A (en) Communication device and communication network
JP6098106B2 (en) Sensor system and communication device
KR20170122483A (en) System for detecting communication network
JP4428099B2 (en) Relay master device and remote monitoring system
WO2015035771A9 (en) Method and apparatus for fiber matching in optical fiber and cable networks, and optical fiber and cable networks
JP4058589B2 (en) Linked sensor system
JP7374483B2 (en) Wireless sensor system and sensor tag
JP7027228B2 (en) Detection sensor, detection sensor system
JP2014096698A (en) Communication device
JP5542042B2 (en) Relay device
JP2011205445A (en) Radio communication system and radio terminal
JP7068654B2 (en) Sensor system
JP2007249893A (en) Relay transmission device and centralized meter reading system