JP2008250997A - Serial communication equipment for sensor and serial communication method - Google Patents

Serial communication equipment for sensor and serial communication method Download PDF

Info

Publication number
JP2008250997A
JP2008250997A JP2008053986A JP2008053986A JP2008250997A JP 2008250997 A JP2008250997 A JP 2008250997A JP 2008053986 A JP2008053986 A JP 2008053986A JP 2008053986 A JP2008053986 A JP 2008053986A JP 2008250997 A JP2008250997 A JP 2008250997A
Authority
JP
Japan
Prior art keywords
communication
serial
sensor
sensor information
slave
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
JP2008053986A
Other languages
Japanese (ja)
Inventor
Yoshitaka Kashiwagi
喜孝 柏木
Shunichi Sakata
俊一 坂田
Takeshi Arie
健 有江
Shigenori Takayama
茂典 高山
Ikuya Honda
本田  育哉
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2008053986A priority Critical patent/JP2008250997A/en
Publication of JP2008250997A publication Critical patent/JP2008250997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Numerical Control (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Multiple Motors (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problems that it is indispensable that a sensor such as a position detector has an ID number when it is the conventional serial communication equipment for a position detector, and that it takes a lot of time and effort in setting and managing the ID number, monitoring sensor information, and estimating a disconnection place of a serial transmission path when serial communication is used as a means for giving sensor information to a servo control part in a multispindle machine. <P>SOLUTION: A communication master having a plurality of serial ports and connected by a plurality of servo control parts and serial transmission paths, and cascadable communication slave having a plurality of serial ports and connected by a plurality of sensors and serial transmission paths connect a plurality of servo control parts and a sensor such as a plurality of position detectors to realize serial communication equipment in which a sensor is associated with a time slot of serial communication. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、複数のモータに取り付けられた複数のセンサーとコントローラの複数のサーボ制御部間のシリアル伝送を行うセンサー用シリアル通信装置およびシリアル通信方法に関する。   The present invention relates to a serial communication device for a sensor and a serial communication method for performing serial transmission between a plurality of sensors attached to a plurality of motors and a plurality of servo control units of a controller.

コントローラとモータに取り付けられた位置検出器との間に設けられるシリアル伝送路の数は、位置検出器を個別に接続する場合、位置検出器の個数の本数が必要である。そこで、マルチドロップ接続することによって、省配線化が図られている。
例えば、特許文献1では、シリアル伝送路に分岐部を設けることでコントローラに接続されるシリアル伝送路の本数を抑えている。
また、特許文献2と特許文献3では、位置検出器とコントローラ間のシリアル伝送路をマルチドロップ接続することで省配線化を図っている。
The number of serial transmission paths provided between the controller and the position detector attached to the motor needs to be equal to the number of position detectors when the position detectors are individually connected. Therefore, wiring saving is achieved by multidrop connection.
For example, in Patent Document 1, the number of serial transmission paths connected to the controller is suppressed by providing a branching section in the serial transmission path.
In Patent Document 2 and Patent Document 3, the number of wires is reduced by performing multidrop connection on the serial transmission path between the position detector and the controller.

従来の位置検出器用シリアル通信装置を図20に示す。
複数のモータ61〜62の位置データ若しくは単位時間当たりの変化量を処理するコントローラ1と、前記モータ毎に設けられ、前記モータの位置データ若しくは単位時間当たりの変化量を検出し、この位置データ若しくは単位時間当たりの変化量をコントローラに送信するデータ送信部を有する位置検出器51〜52と、この位置検出器と前記コントローラとを接続するシリアル伝送路S7とを備え、このシリアル伝送路に分岐部30を設け、各位置検出器に接続するとともに、前記コントローラより送信指令を受けた位置検出器の位置データ若しくは単位時間当たりの変化量を、前記データ送信部よりシリアル信号で前記コントローラに伝送するよう構成している。
そして、分岐部からアドレスで選択された位置検出器が、自己のアドレスと位置データを送信する。
FIG. 20 shows a conventional serial communication device for position detector.
A controller 1 that processes position data of a plurality of motors 61 to 62 or a change amount per unit time, and provided for each motor, detects the position data of the motor or a change amount per unit time, and detects the position data or A position detector 51 to 52 having a data transmission unit that transmits a change amount per unit time to the controller, and a serial transmission path S7 that connects the position detector and the controller, and a branching unit in the serial transmission path 30 is connected to each position detector, and the position data of the position detector that receives a transmission command from the controller or the amount of change per unit time is transmitted from the data transmission unit to the controller as a serial signal. It is composed.
Then, the position detector selected by the address from the branch unit transmits its own address and position data.

他の構成の従来の位置検出器用シリアル通信装置を図21に示す。
アーム等の複数の動作軸を駆動する複数のモータ61〜63に対し、それぞれの回転位置を検出する位置検出器51〜53を設ける。この位置検出器は、位置検出器情報をシリアルデータによって出力する。コントローラ1と複数の位置検出器との間は、一つのシリアル伝送路S5により接続され、コントローラから位置検出器にリクエスト信号を送信することにより、位置検出器がそのリクエスト信号の内容に応じて位置検出器情報をコントローラに送信するよう構成している。
たとえば、個別モードでは、駆動装置がリクエスト信号とともに位置検出器ID番号を送信し、該位置検出器ID番号に一致した位置検出器がデータを送信する。
連続モードでは、リクエスト信号を送信するとともに全ての位置検出器を指定するID番号を送信する。位置検出器は、予め設定された順番(ID番号の並び順)でデータを送信する。なお、ID番号は、位置検出器の外部から設定されるものであり、EEPROMに記憶されている。
FIG. 21 shows a conventional serial communication device for a position detector having another configuration.
Position detectors 51 to 53 for detecting respective rotational positions are provided for a plurality of motors 61 to 63 that drive a plurality of operating axes such as arms. This position detector outputs position detector information as serial data. The controller 1 and the plurality of position detectors are connected by a single serial transmission line S5, and the request signal is transmitted from the controller to the position detector, so that the position detector is positioned according to the contents of the request signal. The detector information is transmitted to the controller.
For example, in the individual mode, the driving device transmits a position detector ID number together with a request signal, and a position detector that matches the position detector ID number transmits data.
In the continuous mode, a request signal is transmitted and an ID number designating all position detectors is transmitted. The position detector transmits data in a preset order (ID number order). The ID number is set from the outside of the position detector and is stored in the EEPROM.

他の構成の従来の位置検出器用シリアル通信装置を図22に示す。
位置検出器51側に検出505からのパラレル信号をシリアル信号に変換するパラレル/シリアル変換手段501と、該パラレル/シリアル変換手段により変換されたシリアル信号を送信する送信手段503と、コントローラ1側からの制御信号を受信する受信手段504と、位置検出器側の送受信を制御する送受信制御手段502と、コントローラ側に位置検出器側へ制御信号を送信する送信手段103と、位置検出器側からの信号を受信する受信手段104と、該受信手段からのシリアル信号をパラレル信号に変換するシリアル/パラレル変換手段101と、コントローラ側の送受信を制御する送受信制御手段102と、前記位置検出器側と前記コントローラ側との間の信号伝達用の一対のシリアル伝送路S5とを備え、複数の位置検出器から構成されるものである。
制御装置は位置検出器のデータが必要なとき、位置検出器番号の情報を含むデータリクエスト信号を送信する。各位置検出器は、自分にあらかじめ与えられている位置検出器番号と、データリクエスト信号に含まれる位置検出器番号とが一致すると、一連のデータの送受信動作を行う。
FIG. 22 shows a conventional serial communication device for a position detector having another configuration.
From the parallel / serial conversion means 501 for converting the parallel signal from the detection 505 into a serial signal to the position detector 51 side, the transmission means 503 for transmitting the serial signal converted by the parallel / serial conversion means, and from the controller 1 side Receiving means 504 for receiving the control signal, transmission / reception control means 502 for controlling transmission / reception on the position detector side, transmission means 103 for transmitting the control signal to the position detector side on the controller side, and from the position detector side Receiving means 104 for receiving a signal; serial / parallel converting means 101 for converting a serial signal from the receiving means into a parallel signal; transmission / reception control means 102 for controlling transmission / reception on the controller side; the position detector side; A pair of serial transmission lines S5 for signal transmission between the controller side and a plurality of position detection It is intended to be constructed from.
When the position detector data is required, the control device transmits a data request signal including information on the position detector number. Each position detector performs a series of data transmission / reception operations when the position detector number given to the position detector matches the position detector number included in the data request signal.

他の構成の従来の位置検出器用シリアル通信装置を図23に示す。電源線600あるいはグランド線602が断線したした時に点灯する通電表示用LED605を設けるとともにクロック線601あるいはデータ線603の断線を検出する断線検出手段604及びこの断線検出手段604の出力に基づいて、クロック線601あるいはデータ線603の断線に応じて点灯するクロック断線表示用LED606及びデータ断線表示用LED607を設けて、断線等によるシリアル伝送路異常を検知できるようにしている。   FIG. 23 shows a conventional serial communication device for a position detector having another configuration. An energization display LED 605 that is turned on when the power line 600 or the ground line 602 is disconnected is provided, the disconnection detecting means 604 for detecting the disconnection of the clock line 601 or the data line 603, and the output of the disconnection detecting means 604 based on the clock. A clock disconnection display LED 606 and a data disconnection display LED 607 that are turned on in response to disconnection of the line 601 or the data line 603 are provided so that a serial transmission line abnormality due to disconnection or the like can be detected.

特許2873262(図1)Patent 2873262 (FIG. 1) 特開2006−260581(図1)JP 2006-260581 (FIG. 1) 特許2611124(図5)Patent 2611124 (FIG. 5) 特開平10−98420(図1)JP-A-10-98420 (FIG. 1)

このように従来の位置検出器用シリアル通信装置の場合、いずれの例においても、位置検出器がID番号を持っておくことが必須である。
しかし、あらかじめID番号を設定した位置検出器をサーボ制御部との対応を間違えないように組み込む作業には、人為的なミスが入り込み易い。また、あらかじめID番号を設定してない位置検出器をモータが機器に組み込まれた後から、ID番号を設定することは難しい。シリアル伝送路に接続された、ID番号が設定されていない位置検出器を特定して該位置検出器と通信することが難しいからである。
その結果、実際の多軸機械の構築にシリアル通信を利用することは難しく、省配線化の期待は大きいものの、あまり普及していない。
また、断線検出にはシリアル伝送路上のデータをモニタする専用のハードウエアを別個に設ける必要や、各ノード毎に表示用LEDを設ける必要があり、装置が複雑化、大型化するといった問題があった。
As described above, in the case of the conventional serial communication device for position detector, in any example, it is essential that the position detector has an ID number.
However, it is easy for human error to enter a position detector in which an ID number is set in advance so that the correspondence with the servo control unit is not mistaken. In addition, it is difficult to set the ID number after the motor has been incorporated into the device with a position detector that has not been previously set with an ID number. This is because it is difficult to identify and communicate with a position detector connected to a serial transmission path and having no ID number set.
As a result, it is difficult to use serial communication for the construction of an actual multi-axis machine, and although there is a great expectation for wiring saving, it is not so popular.
In addition, for disconnection detection, it is necessary to provide dedicated hardware for monitoring the data on the serial transmission path, and it is necessary to provide a display LED for each node, which causes problems such as complicated and large equipment. It was.

本発明はこのような問題点に鑑みてなされたものであり、センサーがID番号を持たなくても、複数のサーボ制御部と、複数のモータに取り付けられた複数のセンサーの対応付けが容易であって、該センサーが出力するセンサー情報をモニタし、シリアル伝送路の断線箇所を容易に推定可能なセンサー用シリアル通信装置を提供することを目的とする。   The present invention has been made in view of such problems, and it is easy to associate a plurality of servo controllers with a plurality of sensors attached to a plurality of motors even if the sensor does not have an ID number. An object of the present invention is to provide a sensor serial communication device that can monitor sensor information output from the sensor and easily estimate the disconnection location of the serial transmission path.

上記問題を解決するため、本発明は次のように構成したのである。
請求項1に記載の発明は、1または複数のサーボ制御部と前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを、1つの通信マスタと1以上の通信スレーブを含むシリアル伝送路で接続したセンサー用シリアル通信装置において、
前記通信マスタは、1または複数の前記サーボ制御部を接続するための1または複数のサーボ用シリアルポートと、前記通信スレーブを接続するためのカスケード接続用シリアルポートを備え、
前記通信スレーブは、前記通信マスタまたは他の前記通信スレーブとカスケード接続するためのカスケード接続用シリアルポートと、1または複数のセンサーを1:1で接続するための1または複数のセンサー用シリアルポートとを備えることを特徴としたものである。
In order to solve the above problem, the present invention is configured as follows.
According to the first aspect of the present invention, one or more servo control units and one or more sensors attached to one or more motors driven by the servo control unit are connected to one communication master and one or more communication units. In the serial communication device for sensors connected by the serial transmission path including the slave,
The communication master includes one or more servo serial ports for connecting one or more servo control units, and a cascade connection serial port for connecting the communication slaves,
The communication slave includes a cascade connection serial port for cascading with the communication master or another communication slave, and one or more sensor serial ports for connecting one or more sensors in a 1: 1 ratio. It is characterized by comprising.

請求項2に記載の発明は、請求項1において、前記通信マスタが、前記通信スレーブから受信したセンサー情報を、前記センサー情報を受信した順番と前記サーボ用シリアルポートの番号を昇順または降順に対応させたうえで同時に前記サーボ用シリアルポートへ送信する手段を備えることを特徴としたものである。   According to a second aspect of the present invention, in the first aspect, the communication master corresponds to the sensor information received from the communication slave, the order in which the sensor information is received and the servo serial port number in ascending or descending order. And means for transmitting to the servo serial port at the same time.

請求項3に記載の発明は、請求項1において、前記通信マスタは、前記通信スレーブから受信したセンサー情報を、その受信した順番と前記サーボ用シリアルポート番号を対応表に従って対応させたうえで同時に前記サーボ用シリアルポートへ送信する手段を備えることを特徴としたものである。   According to a third aspect of the present invention, the communication master according to the first aspect is configured such that the communication master simultaneously matches the sensor information received from the communication slave with the order of reception and the servo serial port number according to the correspondence table. A means for transmitting to the servo serial port is provided.

請求項4に記載の発明は、請求項3において、前記対応表は、初期化時において、外部から前記通信マスタへダウンロードされたものであることを特徴としたものである。   According to a fourth aspect of the present invention, in the third aspect, the correspondence table is downloaded from the outside to the communication master at the time of initialization.

請求項5に記載の発明は、請求項1において、前記通信スレーブは、自己より後段からの前記センサー情報を自己より前段へ送信し、その後、自己の前記センサー情報を前段へ送信する手段を備えることを特徴としたものである。   According to a fifth aspect of the present invention, in the first aspect, the communication slave includes means for transmitting the sensor information from the subsequent stage to the previous stage from the self, and then transmitting the sensor information of the self to the previous stage. It is characterized by that.

請求項6に記載の発明は、1または複数のサーボ制御部と1または複数の前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを1つの通信マスタと1以上の通信スレーブを含むシリアル伝送路で接続したセンサー用シリアル通信装置の通信方法おいて、
前記通信マスタが、センサー情報要求コマンドをカスケード接続用シリアルポートを介して前記通信スレーブに送信するステップM1と、前記センサー情報要求コマンドに対するセンサー情報を前記通信スレーブから受信するステップM2と、前記センサー情報をサーボ用シリアルポートから対応する前記サーボ制御部に送信するステップM3を有し、
前記通信スレーブが、前記センサー情報要求コマンドを受信するとともに後段の前記通信スレーブへ転送するステップS1と、前記センサー情報要求コマンドを自己の前記センサーに同時に送信し前記センサーからの前記センサー情報を受信するステップS2と、後段からの前記センサー情報を前段の前記通信スレーブまたは前記通信マスタへ転送するステップS3と、その後自己の前記センサー情報を前記通信マスタまたは前段の前記通信スレーブへ送信するステップS4を有することを特徴としたものである。
According to a sixth aspect of the present invention, one or more servo control units and one or more sensors attached to one or more motors driven by the one or more servo control units are connected to one communication master and one In the communication method of the serial communication device for sensors connected by the serial transmission path including the above communication slaves,
Step M1 in which the communication master transmits a sensor information request command to the communication slave via a serial port for cascade connection; Step M2 in which sensor information for the sensor information request command is received from the communication slave; and the sensor information A step M3 for transmitting the servo from the servo serial port to the corresponding servo control unit,
The communication slave receives the sensor information request command and forwards it to the communication slave in the subsequent stage, and simultaneously transmits the sensor information request command to its own sensor and receives the sensor information from the sensor. Step S2, Step S3 for transferring the sensor information from the subsequent stage to the communication slave or the communication master in the previous stage, and Step S4 for transmitting the sensor information of its own to the communication master or the communication slave in the previous stage. It is characterized by that.

請求項7に記載の発明は、請求項6において、前記テップM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記サーボ用シリアルポートの番号と昇順または降順に対応させたうえで同時に前記サーボ用シリアルポートへ送信するものであることを特徴としたものである。   According to a seventh aspect of the present invention, in the sixth aspect, the Step M3 associates the sensor information received from the communication slave with the order of reception and the number of the servo serial port in ascending or descending order. At the same time, the data is transmitted to the servo serial port.

請求項8に記載の発明は、請求項6において、前記ステップM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記サーボ用シリアルポートの番号を対応表に従って対応させたうえで同時に前記サーボ用シリアルポートへ送信するものであることを特徴としたものである。   According to an eighth aspect of the present invention, in the sixth aspect, the step M3 is configured such that the sensor information received from the communication slave is associated with the order of reception and the servo serial port number according to the correspondence table. Are simultaneously transmitted to the servo serial port.

請求項9に記載の発明は、請求項8において、前記対応表は、初期化時において、外部から前記通信マスタへダウンロードされたものであることを特徴としたものである。   The invention according to claim 9 is the invention according to claim 8, wherein the correspondence table is downloaded from the outside to the communication master at the time of initialization.

請求項10に記載の発明は、請求項6において、前記ステップS4は、自己より後段からの前記センサー情報を自己より前段へ送信し、その後、自己の前記センサー用シリアルポートに接続されている前記センサーからの前記センサー情報を前記センサー用シリアルポートの番号の降順または昇順に前記通信マスタまたは前段の前記通信スレーブに送信するものであることを特徴としたものである。   According to a tenth aspect of the present invention, in the sixth aspect, the step S4 transmits the sensor information from the rear stage to the front stage from the self, and thereafter connected to the sensor serial port of the self. The sensor information from the sensor is transmitted to the communication master or the previous communication slave in descending or ascending order of the sensor serial port number.

請求項11に記載の発明は、1または複数のサーボ制御部と前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを、1つの通信マスタと1以上の通信スレーブと1つの通信モニタを含むシリアル伝送路で接続したセンサー用シリアル通信装置において、
前記通信モニタは、前記通信マスタ、及び、前記通信スレーブを接続するためのカスケード接続用シリアルポートと前記通信スレーブから受信したセンサー情報を格納するための受信バッファを備えることを特徴としたものである。
According to an eleventh aspect of the present invention, one or more servo control units and one or more sensors attached to one or more motors driven by the servo control unit are connected to one communication master and one or more communication units. In a serial communication device for sensors connected to a slave via a serial transmission line including one communication monitor,
The communication monitor includes a cascade connection serial port for connecting the communication master and the communication slave, and a reception buffer for storing sensor information received from the communication slave. .

請求項12に記載の発明は、請求項11において、前記通信モニタは、前記通信スレーブから受信したセンサー情報を、前記センサー情報を受信した順番と前記受信バッファの番号を昇順又は降順に対応させた上で格納する手段を備えることを特徴としたものである。     According to a twelfth aspect of the present invention, in the eleventh aspect, the communication monitor associates the sensor information received from the communication slave with the order in which the sensor information is received and the number of the reception buffer in ascending or descending order. It is characterized by comprising means for storing above.

請求項13に記載の発明は、請求項11において、前記通信モニタは、前記通信スレーブから受信したセンサー情報を、その受信した順番と受信バッファの番号を対応表に従って対応させた上で格納する手段を備えることを特徴としたものである。     A thirteenth aspect of the present invention is the communication device according to the eleventh aspect, wherein the communication monitor stores the sensor information received from the communication slave in correspondence with the order of reception and the number of the reception buffer according to the correspondence table. It is characterized by comprising.

請求項14に記載の発明は、請求項13において、前記対応表は、初期化時において、外部から前記通信モニタへダウンロードされたものであることを特徴としたものである。   A fourteenth aspect of the invention is characterized in that, in the thirteenth aspect, the correspondence table is downloaded from the outside to the communication monitor at the time of initialization.

請求項15に記載の発明は、1または複数のサーボ制御部と1または複数の前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを1つの通信マスタと1以上の通信スレーブと1つの通信モニタを含むシリアル伝送路で接続したセンサー用シリアル通信装置の通信方法おいて、
前記通信モニタが、前記通信マスタからのセンサー情報要求コマンドを受信するステップMN1と、前記センサー情報要求コマンドに対するセンサー情報を前記通信スレーブから受信するステップMN2と、前記センサー情報を前記受信バッファに格納するステップMN3を有することを特徴としたものである。
According to the fifteenth aspect of the invention, one or more servo control units and one or more sensors attached to one or more motors driven by the one or more servo control units are connected to one communication master and one In the communication method of the serial communication device for sensors connected by the serial transmission path including the above communication slave and one communication monitor,
Step MN1 in which the communication monitor receives a sensor information request command from the communication master; Step MN2 in which sensor information corresponding to the sensor information request command is received from the communication slave; and storage of the sensor information in the reception buffer. Step MN3 is included.

請求項16に記載の発明は、請求項15において、前記ステップMN3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記受信バッファの番号と昇順または降順に対応させたうえで格納することを特徴としたものである。   According to a sixteenth aspect of the present invention, in the fifteenth aspect, the step MN3 associates the sensor information received from the communication slave with the order of reception and the number of the reception buffer in ascending or descending order. It is characterized by storing.

請求項17に記載の発明は、請求項15において、前記ステップNM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記受信バッファの番号を対応表に従って対応させたうえで格納することを特徴としたものである。   According to a seventeenth aspect of the present invention, in the fifteenth aspect, the step NM3 stores the sensor information received from the communication slave after associating the sensor information with the reception buffer number according to the correspondence table. It is characterized by doing.

請求項18に記載の発明は、請求項15において、前記対応表は、初期化時において、外部から前記通信モニタへダウンロードされたものであることを特徴としたものである。   The invention according to claim 18 is the invention according to claim 15, wherein the correspondence table is downloaded from the outside to the communication monitor at the time of initialization.

請求項19に記載の発明は、請求項1、請求項2、請求項3、請求項4または請求項5において、前記通信マスタと前記通信スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブと前記1または複数のセンサー間のシリアル伝送路が断線した場合、あるいは3者組み合わせによるすべての断線の場合、前記通信マスタは、予め設定されたセンサーの数だけ受信し、断線により通信が途絶えたセンサー情報は空けて受信する手段を備えたことを特徴としたものである。   According to a nineteenth aspect of the present invention, in the first, second, third, fourth, or fifth aspect, the serial transmission path between the communication master and the communication slave is disconnected, or the slave When the serial transmission path between the two is disconnected, when the serial transmission path between the slave and the one or more sensors is disconnected, or when all the disconnections are made by a combination of the three, the communication master is set in advance. It is characterized in that it is provided with means for receiving sensor information that is received by the number of sensors and communication is interrupted due to disconnection.

請求項20に記載の発明は、請求項11、請求項12、請求項13または請求項14において、前記通信マスタと前記通信モニタ間のシリアル伝送路が断線した場合あるいは、前記通信マスタと前記通信スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブと前記1または複数のセンサー間のシリアル伝送路が断線した場合、あるいは4者組み合わせによるすべての断線の場合、前記通信モニタは、予め設定されたセンサーの数だけ受信し、断線により通信が途絶えたセンサー情報は空けて受信する手段を備えたことを特徴としたものである。   According to a twentieth aspect of the present invention, in the eleventh, twelfth, thirteenth, or fourteenth aspect, a serial transmission path between the communication master and the communication monitor is disconnected, or the communication master and the communication When the serial transmission path between the slaves is disconnected, when the serial transmission path between the slaves is disconnected, when the serial transmission path between the slave and the one or more sensors is disconnected, or all four combinations In the case of disconnection, the communication monitor is provided with means for receiving a predetermined number of sensors and receiving information about the sensor that has lost communication due to disconnection.

請求項1、請求項2および請求項5に記載の発明によれば、また、請求項6、請求項7および請求項10に記載の発明によれば、位置検出器等のセンサーにID番号を設定しなくても、多軸機械に組み込まれた複数のモータをサーボ制御する複数のサーボ制御部が、該サーボ制御部に対応した位置検出器等のセンサーからの情報をシリアル通信によって得ることができる。従って、多軸機械にセンサーを組み込むときにID番号を設定したり、センサーを交換するときにそのID番号を引き継ぐ等の手間が不要なので、多軸機械のサーボ制御システムにおいて、サーボ制御部にセンサー情報を与える手段としてシリアル通信を容易に利用することができる。   According to the inventions according to claims 1, 2 and 5, and according to the inventions according to claims 6, 7 and 10, an ID number is assigned to a sensor such as a position detector. Even if it is not set, a plurality of servo control units that servo-control a plurality of motors incorporated in a multi-axis machine can obtain information from sensors such as position detectors corresponding to the servo control unit by serial communication. it can. Therefore, there is no need to set an ID number when incorporating a sensor into a multi-axis machine or to take over the ID number when replacing the sensor. Serial communication can be easily used as a means for providing information.

請求項3および請求項4に記載の発明または請求項8および請求項9に記載の発明によれば、上記の効果に加え、サーボ制御部とセンサーの対応の変更を論理的に行うことができるので、本センサー用シリアル通信装置を利用する上での利便性が増す。   According to the third and fourth aspects of the invention or the eighth and ninth aspects of the invention, in addition to the above effects, the correspondence between the servo control unit and the sensor can be logically changed. Therefore, convenience in using the serial communication device for the sensor is increased.

請求項11、請求項12に記載の発明によれば、また、請求項15、請求項16に記載の発明によれば、上記の効果に加え、シリアル通信により授受されるセンサー情報を監視するためのモニタ装置を構成することができる。     According to the inventions according to claims 11 and 12, and according to the inventions according to claims 15 and 16, in addition to the above effects, the sensor information transmitted and received by serial communication is monitored. Can be configured.

請求項13および請求項14に記載の発明または請求項17および請求項18に記載の発明によれば、上記の効果に加え、モニタ装置にてサーボ制御部とセンサーの対応を論理的に行うことができるので、本センサー用シリアル通信装置を利用する上での利便性が増す。   According to the invention described in claim 13 and claim 14 or the invention described in claim 17 and claim 18, in addition to the above effects, the correspondence between the servo control unit and the sensor is logically performed in the monitor device. Therefore, convenience in using the serial communication device for the sensor is increased.

請求項19および請求項20に記載の発明によれば、通信モニタは、予め設定されたセンサーの数だけセンサー情報を受信し、断線により通信が途絶えたセンサー情報は空けて受信するようにしたため、通信マスタが受信した通信スレーブからのセンサー情報に本来あるべきセンサー情報がないとき(タイムスロットにセンサー情報がないとき)該センサー情報のない個所が断線個所と特定ができ、シリアル伝送路上のデータをモニタする専用のハードウエアを別個に設ける必要や、各ノード毎に表示用LEDを設ける必要がなく、装置が複雑化、大型化するといった問題がない。     According to the invention described in claim 19 and claim 20, the communication monitor receives sensor information by the number of sensors set in advance, and sensor information whose communication is interrupted due to disconnection is received and received. When there is no sensor information that should be in the sensor information from the communication slave received by the communication master (when there is no sensor information in the time slot), the location without the sensor information can be identified as the disconnection location, and the data on the serial transmission path There is no need to separately provide dedicated hardware for monitoring, and there is no need to provide a display LED for each node, and there is no problem that the apparatus becomes complicated and large.

以下、本発明の実施の形態について図を参照して説明する。
図1は本発明の第1実施例のセンサー用シリアル通信装置のシステム構成図である。
1はコントローラ、11〜14はコントローラ1に備えられたサーボ制御部、19はコントローラ1と通信マスタ2が同期して動作するための共通のクロックである。
2はサーボ制御部11〜14とシリアル伝送路S1〜S4で接続された通信マスタ、3は通信マスタ2にシリアル伝送路S5で接続された通信スレーブ、4は通信スレーブ3にシリアル伝送路S6で接続された通信スレーブ、5はターミネータ、61〜64はモータであり、51〜54はモータ61〜64に取り付けられた位置検出器等のセンサーであり、シリアル伝送路S7〜S10によって通信スレーブ3〜4と接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a system configuration diagram of a sensor serial communication apparatus according to a first embodiment of the present invention.
1 is a controller, 11 to 14 are servo control units provided in the controller 1, and 19 is a common clock for the controller 1 and the communication master 2 to operate in synchronization.
2 is a communication master connected to the servo control units 11 to 14 via the serial transmission paths S1 to S4, 3 is a communication slave connected to the communication master 2 via the serial transmission path S5, and 4 is a communication slave 3 connected to the serial transmission path S6. The connected communication slave, 5 is a terminator, 61 to 64 are motors, 51 to 54 are sensors such as position detectors attached to the motors 61 to 64, and the communication slaves 3 to 3 are connected by serial transmission paths S7 to S10. 4 is connected.

なお、通信スレーブは必要な段数だけカスケード接続することができるが、ここでは、簡単のため2段だけカスケード接続した例を示している。また、各通信スレーブのセンサーポートも任意の数だけ設けることができるが、簡単のため、センサーポート数が2の例を示している。また、サーボ制御部11〜14が、モータ61〜64に電力を供給するための電力線やセンサー51〜54に制御電源を供給するケーブルも、簡単のため、記述を省略している。   Note that the communication slaves can be cascade-connected in the required number of stages, but here, for simplicity, an example in which only two stages are cascade-connected is shown. In addition, although an arbitrary number of sensor ports can be provided for each communication slave, an example in which the number of sensor ports is 2 is shown for simplicity. In addition, the power lines for the servo control units 11 to 14 to supply power to the motors 61 to 64 and the cables for supplying the control power to the sensors 51 to 54 are not shown for simplicity.

通信マスタ2は、サーボ制御部を接続するためのシリアルポートを複数個持っているが、以降、そのシリアルポートをサーボポートという。また、個々のサーボポートを識別するための番号をサーボポート番号という。サーボポート番号は、あらかじめ決められているものであり、たとえば、sp1、sp2、sp3、sp4のように表記する。   The communication master 2 has a plurality of serial ports for connecting the servo control unit. Hereinafter, the serial ports are referred to as servo ports. A number for identifying each servo port is called a servo port number. The servo port number is determined in advance and is expressed as, for example, sp1, sp2, sp3, sp4.

通信スレーブ3、通信スレーブ4は、センサーをシリアル伝送路で接続するためのシリアルポートを持っているが、以降、そのシリアルポートをセンサーポートという。また、そのセンサーポートを識別する番号をセンサーポート番号という。センサーポート番号は、あらかじめ決められているものであり、例えば、p1、p2のように表記する。   The communication slave 3 and the communication slave 4 have a serial port for connecting a sensor through a serial transmission path. Hereinafter, the serial port is referred to as a sensor port. A number for identifying the sensor port is referred to as a sensor port number. The sensor port number is determined in advance and is expressed as, for example, p1 and p2.

さらに、以降、有効センサーポートとは、センサーが実際に接続されているセンサーポートのことをいうものとする。
後段有効センサーポート数とは、自己の通信スレーブより後段の通信スレーブの有効センサーポートの総数をいうものとする。
タイムスロットとは、各通信スレーブが有効センサーポートを介して受信したセンサー情報を通信マスタへ送信するときに、シリアル伝送路を時分割で使用するが、その時分割の単位のことをいうものとする。
Further, hereinafter, the effective sensor port refers to a sensor port to which a sensor is actually connected.
The number of effective sensor ports in the subsequent stage refers to the total number of effective sensor ports in the communication slaves subsequent to the own communication slave.
A time slot is a unit of time division when a serial transmission path is used in time division when each communication slave transmits sensor information received via an effective sensor port to the communication master. .

図1の構成において、コントローラ1のモーション制御部(図示せず)は、多軸機械を制御するために、外部からダウンロードされた作業プログラム(図示せず)を解釈して、サーボ制御部11〜14に与える指令を生成する。サーボ制御部11〜14は、その指令に基づいて、モータ61〜64をサーボ制御するが、そのサーボ制御に必要なセンサー51〜54からのセンサー情報を、通信スレーブ3、通信スレーブ4、通信マスタ2を介して得ることができる。   In the configuration of FIG. 1, the motion control unit (not shown) of the controller 1 interprets a work program (not shown) downloaded from the outside in order to control the multi-axis machine, 14 is generated. The servo control units 11 to 14 servo-control the motors 61 to 64 based on the command, but the sensor information from the sensors 51 to 54 necessary for the servo control is transmitted to the communication slave 3, the communication slave 4, and the communication master. 2 can be obtained.

図6は、通信マスタ2が通信スレーブ3へセンサー情報要求を送信し、通信スレーブ3がセンサー51へセンサー情報要求を送信し、センサー51がセンサー情報331を通信スレーブ3へ送信し、通信スレーブ3が通信マスタ2へセンサー情報331をタイムスロットt4を利用して送信する様子を示している。ただし、図6では、通信マスタ2へタイムスロットt1〜t3を利用して送信されるセンサー情報が、それぞれシリアル伝送路S8〜S10を介して通信スレーブ3〜4へ送信される様子については省略している。また、シリアル伝送路S5の伝送速度は、シリアル伝送路S7の2倍である場合の例として記載している。   In FIG. 6, the communication master 2 transmits a sensor information request to the communication slave 3, the communication slave 3 transmits a sensor information request to the sensor 51, the sensor 51 transmits the sensor information 331 to the communication slave 3, and the communication slave 3. Shows how the sensor information 331 is transmitted to the communication master 2 using the time slot t4. However, in FIG. 6, the sensor information transmitted to the communication master 2 using the time slots t1 to t3 is not transmitted to the communication slaves 3 to 4 via the serial transmission paths S8 to S10, respectively. ing. In addition, the transmission speed of the serial transmission path S5 is described as an example in the case of twice that of the serial transmission path S7.

まず、通信マスタ2は、センサー情報要求310をシリアル伝送路S5へ送信し、通信スレーブ3は該センサー情報要求310を受信して、シリアル伝送路S7を介してセンサー51へ転送する。センサー51は、該センサー情報要求310に応答して、センサー情報331をシリアル伝送路S7を介して通信スレーブ3へ送信する。
通信スレーブ3は、後段からのセンサー情報333〜334を先に前段へ転送した後、自己の有効検出器ポートから受信したセンサー情報331〜332を、センサーポート番号の降順(昇順にすることも可能である)で前段へ送信する。
First, the communication master 2 transmits the sensor information request 310 to the serial transmission path S5, and the communication slave 3 receives the sensor information request 310 and transfers it to the sensor 51 via the serial transmission path S7. In response to the sensor information request 310, the sensor 51 transmits the sensor information 331 to the communication slave 3 via the serial transmission path S7.
The communication slave 3 first transfers the sensor information 333 to 334 from the subsequent stage to the previous stage, and then can set the sensor information 331 to 332 received from its own valid detector port in descending order (in ascending order) of the sensor port number. Is transmitted to the previous stage.

シリアル伝送路上の通信は時分割多重化され、タイムスロット番号は、より後段の通信スレーブのセンサーポート番号に対応するものから順番に、また、同一の通信スレーブ内においては、センサーポート番号の降順(昇順にすることも可能である)に、空きがないように、t1、t2、t3、t4のように割り当てられる。
タイムスロットの長さはセンサー情報の送信時間と、符号化に基づいて増えたビット数分の送信時間および伝送路長や伝送回路に依存した遅延時間を吸収するためのギャップ時間との和であり予め決められるものであり、タイムスロットの総数は、センサーが実際に接続されている有効センサーポートの総数となる。
なお、タイムスロット数は、通信マスタまたは各通信スレーブの送受信処理部に備えられたタイマ(図示せず)にタイムスロット長の時間を設定し、その時間がタイムアップする毎にカウントするものとする。
また、通信マスタ2においてタイムスロットをカウントする基準点は、各通信スレーブに対してセンサー情報要求310の送信を完了した時点であり、通信スレーブ3においてタイムスロットをカウントする基準点は、通信スレーブ3が通信マスタからセンサー情報要求310の受信を完了した時点である。
Communication on the serial transmission line is time-division multiplexed, and the time slot numbers are assigned in order starting from the one corresponding to the sensor port number of the communication slave at a later stage, and within the same communication slave, the descending order of the sensor port number ( (Ascending order is also possible), and allocation is made as t1, t2, t3, t4 so that there is no space.
The length of the time slot is the sum of the transmission time of the sensor information and the transmission time for the number of bits increased based on encoding and the gap time to absorb the delay time depending on the transmission path length and transmission circuit. The total number of time slots is the total number of valid sensor ports to which sensors are actually connected.
The number of time slots is counted every time the time slot length is set in a timer (not shown) provided in the transmission / reception processing unit of the communication master or each communication slave, and the time is up. .
The reference point for counting the time slot in the communication master 2 is the time when the transmission of the sensor information request 310 is completed to each communication slave, and the reference point for counting the time slot in the communication slave 3 is the communication slave 3. Is the time when the reception of the sensor information request 310 from the communication master is completed.

図6に示すようなタイムスロットを利用した通信を実現するために、各通信スレーブ3〜4は、初期化の段階において、自己の有効センサーポート、および、後段有効センサーポートの数を把握しておかなければならない。また、通信マスタ2は、全ての有効センサーポートの数を把握しておかなければならない。   In order to realize communication using time slots as shown in FIG. 6, each communication slave 3 to 4 grasps the number of its own effective sensor ports and subsequent effective sensor ports at the initialization stage. I have to leave. The communication master 2 must keep track of the number of all effective sensor ports.

以下、初期化の手順について説明する。
まず、各通信スレーブ3、4は、パワーオンリセット(図示せず)により、シリアル伝送路をON/OFFするためのカスケードスイッチSW1、SW2をOFFに設定する。また、自己の有効センサーポートのセンサーポート番号を検出し、スレーブセンサーポート表32、42の有効位置検出ポート番号欄(図3−a、3−b)に記憶しておく。
カスケードスイッチSW1、SW2がOFFのとき、通信マスタ2に接続されている通信スレーブは、通信マスタ2に最も近い通信スレーブ3のみとなる。この状態で、通信マスタ2は、図7に示すフローチャートに従って通信スレーブ3、4の通信スレーブ番号の設定と有効センサーポート数の把握を行う。
The initialization procedure will be described below.
First, the communication slaves 3 and 4 set the cascade switches SW1 and SW2 for turning on / off the serial transmission path to OFF by a power-on reset (not shown). Further, the sensor port number of its own effective sensor port is detected and stored in the effective position detection port number column (FIGS. 3A and 3B) of the slave sensor port tables 32 and 42.
When the cascade switches SW1 and SW2 are OFF, the communication slave connected to the communication master 2 is only the communication slave 3 closest to the communication master 2. In this state, the communication master 2 sets the communication slave numbers of the communication slaves 3 and 4 and grasps the number of valid sensor ports according to the flowchart shown in FIG.

通信マスタ2は、通信スレーブ3へ、通信スレーブ番号#1と有効センサーポート数要求からなる通信スレーブ番号設定コマンドを送信する。
通信スレーブ番号設定コマンドを受信した通信スレーブ3は、図8に示すフローチャートに従って応答する。すなわち、カスケードスイッチSW1がOFFである場合、通信スレーブ番号#1をスレーブセンサーポート表32の通信スレーブ番号欄(図3−a)に記憶し、スレーブセンサーポート表32に記憶されている通信スレーブ3の有効センサーポート数を通信マスタ2へ返信し、その後、カスケードスイッチSW1をONにする。
通信マスタ2は、返信されてきた通信スレーブ3のセンサーポート数を通信マスタ有効センサーポート表22の有効センサーポート数欄(図2)に記憶する。
The communication master 2 transmits to the communication slave 3 a communication slave number setting command including the communication slave number # 1 and a request for the number of valid sensor ports.
The communication slave 3 that has received the communication slave number setting command responds according to the flowchart shown in FIG. That is, when the cascade switch SW1 is OFF, the communication slave number # 1 is stored in the communication slave number column (FIG. 3A) of the slave sensor port table 32, and the communication slave 3 stored in the slave sensor port table 32 is stored. Is returned to the communication master 2, and then the cascade switch SW1 is turned ON.
The communication master 2 stores the returned number of sensor ports of the communication slave 3 in the effective sensor port number column (FIG. 2) of the communication master effective sensor port table 22.

通信マスタ2は、上記と同様の初期化の手順を、通信スレーブ番号をインクリメントしながら、最後段の通信スレーブ4からのセンサーポート数を受信するまで繰り返す。最後段の通信スレーブ4からのセンサーポート数であることは、有効センサーポート要求コマンドを送信した後にタイマがタイムアップした場合に、先回の返信が最終段の通信スレーブ4からのものだったというようにして判断することができる。
なお、このタイムアップは、通信マスタ2の送受信処理部に備えられたシリアル通信監視用のタイマ(図示せず)に設定したタイマ値がタイムアップしたことによって発生するものである。
The communication master 2 repeats the same initialization procedure as described above until the number of sensor ports from the last communication slave 4 is received while incrementing the communication slave number. The number of sensor ports from the last communication slave 4 indicates that the previous reply was from the last communication slave 4 when the timer timed out after sending a valid sensor port request command. In this way, it can be judged.
This time-up occurs when a timer value set in a serial communication monitoring timer (not shown) provided in the transmission / reception processing unit of the communication master 2 has timed out.

次に、通信マスタ2は、図9に示すフローチャートに従って、通信スレーブ3、4それぞれに、後段有効センサーポート数を送信する。まず、通信スレーブ3に、図5−bに示すような後段有効センサーポート数を設定するコマンドを送信する。この場合、通信スレーブ番号には“1”が、後段有効ポート数には、通信スレーブ3の後段である通信スレーブ4の有効センサーポート数“2”が設定される。
通信スレーブ3は、このコマンドを受信したら、図10に示すフローチャートに従って処理を行い、後段センサーポート数を通信スレーブセンサーポート表32の後段センサーポート数欄(図3−a)に記憶する。その後、その応答を通信マスタ2に返信する。
Next, the communication master 2 transmits the number of subsequent effective sensor ports to each of the communication slaves 3 and 4 according to the flowchart shown in FIG. First, a command for setting the number of post-stage effective sensor ports as shown in FIG. In this case, “1” is set as the communication slave number, and “2” is set as the effective sensor port number of the communication slave 4 that is the subsequent stage of the communication slave 3 as the subsequent stage effective port number.
Upon receiving this command, the communication slave 3 performs processing according to the flowchart shown in FIG. 10 and stores the number of subsequent sensor ports in the subsequent sensor port number column (FIG. 3A) of the communication slave sensor port table 32. Thereafter, the response is returned to the communication master 2.

次に、通信マスタ2は、通信スレーブ4に対して同様に、後段有効センサーポート数を設定する手順を行うが、通信スレーブ4は最後段なので、有効センサーポート数“0”を設定するためのコマンドを送信する。通信スレーブ数が任意の場合は、通信マスタセンサーポート表22から記憶されている通信スレーブ数の分だけ、後段有効センサーポート数の設定手順を繰り返す。
以上のような初期化手順が終了したとき、通信マスタ2は通信マスタ有効センサーポート表22に図2に示すような情報を記憶し、通信スレーブ3、4は通信スレーブ有効センサーポート表33、34に図3−a、3−bに示すような情報を記憶し、カスケードスイッチSW1、SW2は全てONになっている。
Next, the communication master 2 performs the procedure for setting the number of subsequent effective sensor ports in the same manner for the communication slave 4. However, since the communication slave 4 is the last stage, the number of effective sensor ports “0” is set. Send a command. If the number of communication slaves is arbitrary, the setting procedure for the number of subsequent effective sensor ports is repeated by the number of communication slaves stored from the communication master sensor port table 22.
When the initialization procedure as described above is completed, the communication master 2 stores information as shown in FIG. 2 in the communication master valid sensor port table 22, and the communication slaves 3 and 4 have communication slave valid sensor port tables 33 and 34. 3-a and 3-b are stored in FIG. 3, and the cascade switches SW1 and SW2 are all turned on.

次に、図11、12を用いて、サーボ制御時の通信マスタ2と通信スレーブ3、4との通信について説明する。
まず、通信マスタ2は、コントローラ1のサーボ制御部11〜14のいずれかからのセンサー情報要求に同期してまたはクロック19に同期して、図5−dに示すようなセンサー情報要求コマンドを通信スレーブ3、4へ送信する。
センサー情報要求コマンドを受信した通信スレーブ3、4は、該センサー情報要求コマンドを各々の有効センサーポートp1、p2、シリアル伝送路S7〜10を介してセンサー51〜54へ送信する。センサー51〜54はセンサー情報を、シリアル伝送路S7〜10、有効センサーポートp1、p2を介して、通信スレーブ3、4へ送信する。
Next, communication between the communication master 2 and the communication slaves 3 and 4 during servo control will be described with reference to FIGS.
First, the communication master 2 communicates a sensor information request command as shown in FIG. 5D in synchronization with a sensor information request from any of the servo control units 11 to 14 of the controller 1 or in synchronization with the clock 19. Transmit to slaves 3 and 4.
The communication slaves 3 and 4 that have received the sensor information request command transmit the sensor information request command to the sensors 51 to 54 via the valid sensor ports p1 and p2 and the serial transmission paths S7 to S10, respectively. The sensors 51 to 54 transmit the sensor information to the communication slaves 3 and 4 via the serial transmission paths S7 to 10 and the effective sensor ports p1 and p2.

通信スレーブ4は、後段有効センサーポート数が0なので後段からのセンサー情報の送信を待つことなく、センサー53、54からのセンサー情報をセンサーポート番号の降順(昇順にすることも可能である)で、通信スレーブ3へ送信する。
通信スレーブ3は、タイムスロットが後段有効センサーポート数分経過した後、センサー51、52からのセンサー情報をセンサーポート番号の降順(昇順にすることも可能である)で通信マスタ2へ送信する。
通信マスタ2は、タイムスロットが全てのセンサーポート数分経過したら、全ての有効センサーポートからのセンサー情報を受信しているので、該センサー情報を受信した順番、すなわち、タイムスロット番号t1〜t4の順番とサーボポート番号sp1〜sp4の昇順(降順にすることも可能である)を対応させて、該センサー情報をサーボポートsp1〜sp4へ送信する。
The communication slave 4 has no effective sensor port on the rear stage, so that the sensor information from the sensors 53 and 54 can be arranged in descending order (in ascending order) of the sensor port number without waiting for transmission of sensor information from the rear stage. To the communication slave 3.
The communication slave 3 transmits the sensor information from the sensors 51 and 52 to the communication master 2 in the descending order of the sensor port numbers (it can also be in ascending order) after the time slot has elapsed for the number of subsequent effective sensor ports.
Since the communication master 2 has received sensor information from all valid sensor ports after the time slot has elapsed for all sensor ports, the communication master 2 receives the sensor information in the order in which the sensor information is received, that is, the time slot numbers t1 to t4. The sensor information is transmitted to the servo ports sp1 to sp4 by associating the order with the ascending order of the servo port numbers sp1 to sp4 (it is also possible to set the order in descending order).

図13は、サーボ制御時の通信マスタ2と通信スレーブ3、4との通信のタイミング図で、シリアル伝送路S1〜S4、S5、S6、S7〜S10上を流れるセンサー情報要求とセンサー情報を示している。本タイミング図は、シリアル伝送路S5、S6の通信速度は、シリアル伝送路S1〜S4、S7〜S10の通信速度の2倍であるものとして記述している。   FIG. 13 is a timing diagram of communication between the communication master 2 and the communication slaves 3 and 4 at the time of servo control, and shows sensor information requests and sensor information flowing on the serial transmission paths S1 to S4, S5, S6, and S7 to S10. ing. This timing diagram describes that the communication speeds of the serial transmission lines S5 and S6 are twice the communication speeds of the serial transmission lines S1 to S4 and S7 to S10.

初期化が完了してサーボ制御が始まった後、サーボ制御部11〜14からのセンサー情報要求コマンド311〜314はシリアル伝送路S1〜S4に、同じタイミングで送信される。サーボ制御部11〜14は、共通のクロック19に同期して動作するからである。
通信マスタ2は、任意の一つのセンサー情報要求コマンドを通信スレーブ3、4へ送信するが、図13では、サーボ制御部11からのセンサー情報要求コマンド311を通信スレーブ3、4へシリアル通信路S5、S6を介して送信している。
このセンサー情報要求コマンド311を受信した通信スレーブ3は、センサー51〜52のセンサー情報を得るために、センサー情報要求コマンド311をシリアル伝送路S7〜S8を介してセンサー51〜52へ送信する。センサー51〜52は同時にセンサー情報要求コマンド311を受信して、それに対する応答であるセンサー情報331〜332をシリアル伝送路S7〜S8を介して通信スレーブ3へ送信する。
After initialization is completed and servo control is started, sensor information request commands 311 to 314 from the servo control units 11 to 14 are transmitted to the serial transmission lines S1 to S4 at the same timing. This is because the servo control units 11 to 14 operate in synchronization with the common clock 19.
The communication master 2 transmits an arbitrary one sensor information request command to the communication slaves 3 and 4. In FIG. 13, the sensor information request command 311 from the servo control unit 11 is sent to the communication slaves 3 and 4 through the serial communication path S5. , S6 is transmitted.
The communication slave 3 that has received the sensor information request command 311 transmits the sensor information request command 311 to the sensors 51 to 52 via the serial transmission paths S7 to S8 in order to obtain sensor information of the sensors 51 to 52. The sensors 51 to 52 simultaneously receive the sensor information request command 311 and transmit sensor information 331 to 332 as responses thereto to the communication slave 3 via the serial transmission paths S7 to S8.

同様に、このセンサー情報要求コマンド311を受信した通信スレーブ4は、センサー53〜54のセンサー情報を得るために、センサー情報要求コマンド311をシリアル伝送路S9〜S10を介してセンサー53〜54へ送信する。センサー53〜54は同時にセンサー情報要求コマンド311を受信して、それに対する応答であるセンサー情報333〜334をシリアル伝送路S9〜S10を介して通信スレーブ4へ送信する。
通信スレーブ4は、後段有効センサーポート数が0に設定されているので、後段からのセンサー情報を受信することなく、自己のセンサー情報をセンサーポート番号の降順(昇順にすることも可能である)で前段へ送信する。すなわち、まず、センサー情報334をシリアル伝送路S6を介して通信スレーブ3へ送信し、次に、センサー情報333をシリアル伝送路S6を介して通信スレーブ3へ送信する。
Similarly, the communication slave 4 that has received the sensor information request command 311 transmits the sensor information request command 311 to the sensors 53 to 54 via the serial transmission paths S9 to S10 in order to obtain sensor information of the sensors 53 to 54. To do. The sensors 53 to 54 simultaneously receive the sensor information request command 311 and transmit sensor information 333 to 334 as responses to the command to the communication slave 4 via the serial transmission paths S9 to S10.
Since the number of effective sensor ports in the rear stage is set to 0, the communication slave 4 does not receive sensor information from the rear stage, and the sensor information of its own can be in descending order (in ascending order) of the sensor port number. Send to the previous stage. That is, first, the sensor information 334 is transmitted to the communication slave 3 via the serial transmission path S6, and then the sensor information 333 is transmitted to the communication slave 3 via the serial transmission path S6.

通信スレーブ3は、後段有効センサーポート数が2に設定されているので、後段からのセンサー情報をシリアル伝送路S6を介して、タイムスロット数“2”個分カウントして、シリアル伝送路S5を介して通信マスタ2へ転送する。その後、自己のセンサー情報332をシリアル伝送路S5を介して通信マスタ2へ送信し、その次にセンサー情報331をシリアル伝送路S5を介して通信マスタ2へ送信する。   Since the number of effective sensor ports in the subsequent stage is set to 2, the communication slave 3 counts the sensor information from the subsequent stage for the number of time slots “2” via the serial transmission path S6, and sets the serial transmission path S5. Via the communication master 2. Thereafter, its own sensor information 332 is transmitted to the communication master 2 via the serial transmission path S5, and then the sensor information 331 is transmitted to the communication master 2 via the serial transmission path S5.

通信マスタ2は、これらのセンサー情報331〜334を、受信した順番と逆の順番、すなわちタイムスロット番号t1〜t4の降順を、サーボポート番号sp1〜sp4の昇順(昇順にすることも可能である)に対応させて、サーボポートsp1〜sp4出力する。各タイムスロットで受信されたセンサー情報は、どのモータに取り付けられたセンサーからのものであるかが分かっているので、このサーボポートに出力されるセンサー情報は、どのモータに取り付けられたセンサーからのものであるかが分かっている。従って、その情報に基づいてサーボポートsp1〜sp4とサーボ制御部11〜14をシリアル伝送路S1〜S4で接続しておけば、各サーボ制御部11〜14は、自己が必要とするセンサー情報を受信することができる。   The communication master 2 can also arrange the sensor information 331 to 334 in the reverse order of the order of reception, that is, the descending order of the time slot numbers t1 to t4 in ascending order (ascending order) of the servo port numbers sp1 to sp4. ), Servo ports sp1 to sp4 are output. Since the sensor information received in each time slot is known from the sensor attached to which motor, the sensor information output to this servo port is from the sensor attached to which motor. I know what it is. Therefore, if the servo ports sp1 to sp4 and the servo control units 11 to 14 are connected by the serial transmission paths S1 to S4 based on the information, each servo control unit 11 to 14 can acquire the sensor information required by itself. Can be received.

サーボ制御部11〜14とサーボポートsp1〜sp4を個別のシリアル伝送路S1〜S4で接続できる場合は、サーボ制御部11〜14とサーボポートsp1〜sp4を適切に対応させることは容易である。
しかし、サーボ制御部11〜14とサーボポートsp1〜sp4が、リボンケーブルまたはプリント配線で接続される場合、サーボ制御部11〜14とサーボポートsp1〜sp4の対応が固定され、サーボ制御部がそのサーボ制御部によって制御されるモータに取り付けられたセンサーからのセンサー情報を受信できない状態が発生する恐れがある。
そのような場合には、通信マスタ2は、タイムスロット/サーボポート対応表23、すなわち図4に示すようなタイムスロット番号とサーボポート番号の対応表を持ち、そのタイムスロット番号に対応したサーボポートへ、該タイムスロット番号において受信したセンサー情報を送信する。(第2実施例)
なお、タイムスロット/サーボポート対応表23の設定は、たとえば、外部のエンジニアリングツール等からコントローラ1のシリアルポート(図示せず)、サーボ制御部11、シリアル伝送路S1を介して通信マスタ2へ容易にダウンロードすることができる。
When the servo control units 11 to 14 and the servo ports sp1 to sp4 can be connected by the individual serial transmission paths S1 to S4, it is easy to appropriately correspond the servo control units 11 to 14 and the servo ports sp1 to sp4.
However, when the servo control units 11 to 14 and the servo ports sp1 to sp4 are connected by a ribbon cable or printed wiring, the correspondence between the servo control units 11 to 14 and the servo ports sp1 to sp4 is fixed. There is a possibility that a state in which sensor information from a sensor attached to a motor controlled by the servo control unit cannot be received may occur.
In such a case, the communication master 2 has a time slot / servo port correspondence table 23, that is, a correspondence table of time slot numbers and servo port numbers as shown in FIG. 4, and a servo port corresponding to the time slot number. The sensor information received at the time slot number is transmitted. (Second embodiment)
The time slot / servo port correspondence table 23 can be easily set to the communication master 2 from an external engineering tool or the like via the serial port (not shown) of the controller 1, the servo control unit 11, and the serial transmission path S1. Can be downloaded.

次に、センサーへのパラメータの書込みについて、図14を用いて説明する。センサーへの個別の書込みは該センサーが接続されているセンサーポートへの書込みのみを有効にして、センサー情報の読出しと同様に、タイムスロット方式で行う。そのために、図5−cに示すようなセンサーポートマスク要求341を各通信スレーブに対して送信し、当該センサーポートへの書込みのみを有効にして他のセンサーポートへの書込みを無効にする。
その後、通信マスタは2、パラメータ等のデータを書込むためのセンサー書込み要求352を送信する。図14では、センサー52向けにンサー書込み要求352が伝送される。なお、センサー52からの応答を通信マスタ2へ送信する方法は、センサー情報を送信する場合と同様であるので説明を省略する。
Next, parameter writing to the sensor will be described with reference to FIG. The individual writing to the sensor is performed by the time slot method in the same manner as the reading of the sensor information by enabling only the writing to the sensor port to which the sensor is connected. For this purpose, a sensor port mask request 341 as shown in FIG. 5C is transmitted to each communication slave, and only writing to the sensor port is enabled and writing to other sensor ports is disabled.
Thereafter, the communication master 2 sends a sensor write request 352 for writing data such as parameters. In FIG. 14, a sensor write request 352 is transmitted to the sensor 52. Note that the method for transmitting the response from the sensor 52 to the communication master 2 is the same as that for transmitting the sensor information, and a description thereof will be omitted.

次に、本発明の第3実施例のセンサー用シリアル通信装置の動作について図15を用いて説明する。図15は本発明の第3実施例のセンサー用シリアル通信装置のシステム構成図である。図15において図1と同じものに関しては説明を省略する。8は通信モニタであり、通信マスタ2と通信スレーブ3間のシリアル伝送路S5に接続されている。通信モニタ8は通信マスタ2から送信されるセンサー情報要求310、及び、通信スレーブ3から送信されるセンサー情報331〜334を受信するための通信モニタ受信処理部81と、センサー情報331〜334を格納するための受信バッファ84〜87から構成されている。
なお、通信モニタ8の受信バッファは任意の数だけ設けることができるが、簡単のため、センサー数が4の例を示している。
Next, the operation of the sensor serial communication apparatus according to the third embodiment of the present invention will be described with reference to FIG. FIG. 15 is a system configuration diagram of the sensor serial communication apparatus according to the third embodiment of the present invention. In FIG. 15, the description of the same components as those in FIG. A communication monitor 8 is connected to a serial transmission path S5 between the communication master 2 and the communication slave 3. The communication monitor 8 stores the sensor information request 310 transmitted from the communication master 2 and the communication monitor reception processing unit 81 for receiving the sensor information 331 to 334 transmitted from the communication slave 3, and the sensor information 331 to 334. Receiving buffers 84 to 87.
Although an arbitrary number of reception buffers of the communication monitor 8 can be provided, an example in which the number of sensors is four is shown for simplicity.

図6に示すようなタイムスロットを利用した通信でデータの監視を実現するために、通信モニタ8は全ての有効センサーポートの数を把握しておかなければならない。   In order to realize data monitoring by communication using a time slot as shown in FIG. 6, the communication monitor 8 must know the number of all effective sensor ports.

以下、通信モニタ8の初期化手順について説明する。
通信マスタ2は通信スレーブ3へ、通信スレーブ番号#1と有効センサーポート数要求からなる通信スレーブ番号設定コマンドを送信する。
通信スレーブ番号設定コマンドを受信した通信モニタ8は、図16に示すフローチャートに従って動作を行う。すなわち、スレーブ番号#1を通信モニタ有効センサーポート表82の通信スレーブ番号欄(図17)に記憶する。その後、通信スレーブ3から送信される有効センサーポート数を受信したら通信モニタ有効センサーポート表82の有効センサーポート数欄(図17)に記憶する。
Hereinafter, the initialization procedure of the communication monitor 8 will be described.
The communication master 2 transmits to the communication slave 3 a communication slave number setting command including the communication slave number # 1 and a request for the number of valid sensor ports.
The communication monitor 8 that has received the communication slave number setting command operates according to the flowchart shown in FIG. That is, the slave number # 1 is stored in the communication slave number column (FIG. 17) of the communication monitor valid sensor port table 82. Thereafter, when the number of valid sensor ports transmitted from the communication slave 3 is received, it is stored in the number of valid sensor ports column (FIG. 17) of the communication monitor valid sensor port table 82.

通信マスタ2は、上記と同様の初期化の手順を、通信スレーブ番号をインクリメントしながら、最終段の通信スレーブ4からのセンサーポート数を受信するまで繰り返す。通信モニタ8も図16に示すフローチャートに従い、最終段の通信スレーブ4からのセンサーポート数を受信するまで繰り返す。最終段の通信スレーブ4からのセンサーポート数であることは、有効センサーポート数要求コマンドを受信した後にタイマがタイムアップした場合に、前回の有効センサーポート数が最終段の通信スレーブ4からのものだったというようにして判断することができる。
なお、このタイムアップは、通信モニタ8の通信モニタ受信処理部81に備えられたシリアル通信監視用のタイマ(図示せず)に設定したタイマ値がタイムアップすることによって発生するものである。
以上のような初期化手順が終了したとき、通信モニタ8は通信モニタ有効センサーポート表82に図17のような情報を記憶される。
The communication master 2 repeats the same initialization procedure as described above until the number of sensor ports from the last-stage communication slave 4 is received while incrementing the communication slave number. The communication monitor 8 also repeats until it receives the number of sensor ports from the communication slave 4 at the final stage according to the flowchart shown in FIG. The number of sensor ports from the communication slave 4 at the last stage indicates that the last valid sensor port number from the communication slave 4 at the last stage when the timer times out after receiving the command request for the number of valid sensor ports. It can be judged as if it was.
This time-up occurs when a timer value set in a serial communication monitoring timer (not shown) provided in the communication monitor reception processing unit 81 of the communication monitor 8 times out.
When the initialization procedure as described above is completed, the communication monitor 8 stores information as shown in FIG. 17 in the communication monitor valid sensor port table 82.

次に、図19を用いてサーボ制御時の通信モニタ8の動作について説明する。通信モニタ8は、タイムスロットが全てのセンサーポート数分経過したら、全ての有効センサーポートからのセンサー情報を受信しているので、該センサー情報を受信した順番、すなわち、タイムスロット番号t1〜t4の順番と受信バッファ番号の昇順(降順にすることも可能である)を対応させて、該センサー情報を受信バッファ番号#1〜#4を有する受信バッファ84〜87に格納する。   Next, the operation of the communication monitor 8 during servo control will be described with reference to FIG. Since the communication monitor 8 has received sensor information from all valid sensor ports after the time slot has elapsed for all sensor ports, the communication monitor 8 receives the sensor information in the order in which the sensor information is received, that is, the time slot numbers t1 to t4. The sensor information is stored in the reception buffers 84 to 87 having the reception buffer numbers # 1 to # 4 in correspondence with the ascending order of the reception buffer numbers (it is possible to set the reception buffer numbers in descending order).

通信モニタ8は、これらのセンサー情報331〜334を、受信した順番(または逆の順番)で、すなわちタイムスロット番号t1〜t4の昇順(または降順)で受信バッファ84〜87に格納する。
あるいは、センサー情報331〜334を、タイムスロット番号t1〜t4と受信バッファ番号の対応表(図18)に基いて受信バッファ84〜87に格納することもできる。
受信バッファ84〜87に格納されたセンサー情報はセンサー情報監視用のCPU(図示せず)等により読み出すことが可能である。
そして、各タイムスロットで受信されたセンサー情報は、どのモータに取り付けられたセンサーからのものであるかが分かっているので、この受信バッファ84〜87に格納されたセンサー情報は、どのモータに取り付けられたセンサーからのものであるかを判断することが可能である。
The communication monitor 8 stores the sensor information 331 to 334 in the reception buffers 84 to 87 in the order received (or the reverse order), that is, in the ascending order (or descending order) of the time slot numbers t1 to t4.
Alternatively, the sensor information 331 to 334 can be stored in the reception buffers 84 to 87 based on the correspondence table (FIG. 18) between the time slot numbers t1 to t4 and the reception buffer numbers.
The sensor information stored in the reception buffers 84 to 87 can be read by a sensor information monitoring CPU (not shown) or the like.
Since the sensor information received in each time slot is known from the sensor attached to which motor, the sensor information stored in the reception buffers 84 to 87 is attached to which motor. It is possible to determine whether it is from a sensor that is attached.

なお、タイムスロット/受信バッファ番号対応表83の設定は、通信マスタ2のタイムスロット/サーボポート対応表23設定時に、例えば、外部のエンジニアリングツール等からコントローラ1のシリアルポート(図示せず)、サーボ制御部11、シリアル伝送路S1、通信マスタ2を介して通信モニタ8へ容易にダウンロードすることができる。   The time slot / reception buffer number correspondence table 83 is set when the time slot / servo port correspondence table 23 of the communication master 2 is set, for example, from an external engineering tool or the like from the serial port (not shown) of the controller 1 and the servo. It can be easily downloaded to the communication monitor 8 via the control unit 11, serial transmission path S 1, and communication master 2.

次に、本発明の第4の実施例のセンサー用シリアル通信装置の動作について図24を用いて説明する。図24は、第3実施例のセンサー用シリアル通信装置に、断線検出の動作を説明するために断線個所1 610と断線個所2 611を付加したのみのシステム構成図である。まず図24において初期化終了後、シリアル伝送路S8のみに断線個所1 610が発生した場合を説明する。   Next, the operation of the sensor serial communication apparatus according to the fourth embodiment of the present invention will be described with reference to FIG. FIG. 24 is a system configuration diagram in which a disconnection location 1 610 and a disconnection location 2 611 are only added to the sensor serial communication apparatus of the third embodiment in order to explain the operation of disconnection detection. First, in FIG. 24, a case where a disconnection point 1610 occurs only in the serial transmission path S8 after the initialization is completed will be described.

初期化が完了してサーボ制御が始まった後、図25に示されるセンサー情報要求コマンド311を受信した通信スレーブ4は、センサー53〜54のセンサー情報を得るために、センサー情報要求コマンド311をシリアル伝送路S9〜S10を介してセンサー53〜54へ送信する。センサー53〜54は同時にセンサー情報要求コマンド311を受信して、それに対する応答であるセンサー情報333〜334をシリアル伝送路S9〜S10を介して通信スレーブ4へ送信する。
通信スレーブ4は、後段有効センサーポート数が0に設定されているので、後段からのセンサー情報を受信することなく、自己のセンサー情報をセンサーポート番号の降順(昇順にすることも可能である)で前段へ送信する。すなわち、まず、センサー情報334をシリアル伝送路S6を介して通信スレーブ3へ送信し、次に、センサー情報333をシリアル伝送路S6を介して通信スレーブ3へ送信する。
After the initialization is completed and the servo control is started, the communication slave 4 that has received the sensor information request command 311 shown in FIG. 25 serializes the sensor information request command 311 in order to obtain the sensor information of the sensors 53 to 54. It transmits to sensors 53-54 via transmission paths S9-S10. The sensors 53 to 54 simultaneously receive the sensor information request command 311 and transmit sensor information 333 to 334 as responses to the command to the communication slave 4 via the serial transmission paths S9 to S10.
Since the number of effective sensor ports in the rear stage is set to 0, the communication slave 4 does not receive sensor information from the rear stage, and the sensor information of its own can be in descending order (in ascending order) of the sensor port number. Send to the previous stage. That is, first, the sensor information 334 is transmitted to the communication slave 3 via the serial transmission path S6, and then the sensor information 333 is transmitted to the communication slave 3 via the serial transmission path S6.

通信スレーブ3は、後段有効センサーポート数が2に設定されているので、後段からのセンサー情報をシリアル伝送路S6を介して、タイムスロット数“2”個分カウントして、シリアル伝送路S5を介して通信マスタ2へ転送する。また、通信スレーブ3は、前記初期化の手順で説明したとおり、有効センサーポート数が“2”個(有効センサーポート番号p1とp2)が設定されているので、通信マスタに対してタイムスロット数“2”個分の転送を行なう。まず自己のセンサー情報332をシリアル伝送路S5を介して通信マスタ2へ送信しようとするが、断線個所1 610が発生しているためセンサー情報332は、図25に示されるように、例えば断線個所1 610が“0”レベルに固定した断線であればセンサー情報332はすべて“0”を転送する。その次にセンサー情報331をシリアル伝送路S5を介して通信マスタ2へ送信する。   Since the number of effective sensor ports in the subsequent stage is set to 2, the communication slave 3 counts the sensor information from the subsequent stage for the number of time slots “2” via the serial transmission path S6, and sets the serial transmission path S5. Via the communication master 2. Further, as described in the initialization procedure, the communication slave 3 has the number of valid sensor ports set to “2” (valid sensor port numbers p1 and p2). Transfer "2" pieces. First, it tries to transmit its own sensor information 332 to the communication master 2 via the serial transmission path S5. However, since the disconnection point 1 610 has occurred, the sensor information 332 is, for example, as shown in FIG. If the disconnection 1 610 is fixed at the “0” level, all the sensor information 332 transfers “0”. Next, the sensor information 331 is transmitted to the communication master 2 via the serial transmission path S5.

通信マスタ2は、これらのセンサー情報331〜334を、受信した順番と逆の順番、すなわちタイムスロット番号t1〜t4の降順を、サーボポート番号sp1〜sp4の昇順(昇順にすることも可能である)に対応させて、サーボポートsp1〜sp4出力する。
すなわちサーボポートsp1、sp3、sp4からは正常な値が観測され、sp2からは常に“0”の値が観測される。センサー情報332はセンサー52からの情報であり、シリアル伝送路S8の個所が断線していると特定される。
The communication master 2 can also arrange the sensor information 331 to 334 in the reverse order of the order of reception, that is, the descending order of the time slot numbers t1 to t4 in ascending order (ascending order) of the servo port numbers sp1 to sp4. ), Servo ports sp1 to sp4 are output.
That is, normal values are observed from the servo ports sp1, sp3, and sp4, and a value of “0” is always observed from sp2. The sensor information 332 is information from the sensor 52, and it is specified that the part of the serial transmission path S8 is disconnected.

次に図24において初期化終了後、シリアル伝送路S6のみに断線個所2 611が発生した場合を説明する。前記同様に、通信スレーブ3は後段有効センサーポート数が2に設定されているので、後段からのセンサー情報をシリアル伝送路S6を介して、タイムスロット数“2”個分カウントしてシリアル伝送路S5を介して通信マスタ2へ転送する。しかし、図26に示されるように、例えば断線個所2 611が“0”レベルに固定した断線であればセンサー情報331とセンサー情報332はすべて“0”となりサーボポートsp3、sp4からは常に“0”の値が観測される。前記タイムスロット数“2”個分カウントした後、通信スレーブ3のセンサー情報332をシリアル伝送路S5を介して通信マスタ2へ送信し、その次にセンサー情報331をシリアル伝送路S5を介して通信マスタ2へ送信され、サーボポートsp1、sp2からは正常な値が観測される。sp3、sp4が常に“0”にとどまるため、例えば、シリアル伝送路S6が断線している推定される。   Next, in FIG. 24, the case where the disconnection point 2 611 occurs only in the serial transmission path S6 after the initialization is completed will be described. In the same manner as described above, since the number of effective sensor ports in the rear stage is set to 2 in the communication slave 3, the sensor information from the rear stage is counted for the number of time slots “2” via the serial transmission path S6. Transfer to the communication master 2 via S5. However, as shown in FIG. 26, for example, if the disconnection point 2 611 is fixed at the “0” level, the sensor information 331 and the sensor information 332 are all “0” and are always “0” from the servo ports sp3 and sp4. The value of “is observed. After counting the number of time slots “2”, the sensor information 332 of the communication slave 3 is transmitted to the communication master 2 via the serial transmission path S5, and then the sensor information 331 is communicated via the serial transmission path S5. Normal values are observed from the servo ports sp1 and sp2. Since sp3 and sp4 always remain at “0”, for example, it is estimated that the serial transmission path S6 is disconnected.

また、通信モニタ8を用いた場合も、受信バッファ84〜87に格納されたセンサー情報をCPU(図示しない)から読み出すことにより前記同様、容易に断線個所の特定または推定が可能である。   Even when the communication monitor 8 is used, the disconnection point can be easily identified or estimated as described above by reading out the sensor information stored in the reception buffers 84 to 87 from the CPU (not shown).

これまでの説明は、モータに取り付けられている位置検出器等のセンサーが、サーボ制御部と、シリアル伝送路、通信スレーブ、通信マスタを介して1:1に接続される例について説明した。しかし、アプリケーションに応じて、一つのサーボ制御部に複数のセンサーを接続する等の構成をとることは、サーボ制御部とサーボポートの接続を変更することによって容易に実現することができる。   The description so far has described an example in which a sensor such as a position detector attached to the motor is connected to the servo control unit, a serial transmission path, a communication slave, and a communication master in a 1: 1 ratio. However, the configuration of connecting a plurality of sensors to one servo control unit according to the application can be easily realized by changing the connection between the servo control unit and the servo port.

以上、本発明によれば、モータに取り付けられるセンサーとサーボ制御部をシリアル伝送路で接続するにもかかわらず、センサーのID番号を設定する必要がないので、省配線と組み込みや保守の作業の負荷を大幅に軽減することができる。
複数のサーボ制御されるモータを組み込んだ多軸機械の構築に適する。
As described above, according to the present invention, although the sensor attached to the motor and the servo control unit are connected by the serial transmission path, it is not necessary to set the sensor ID number. The load can be greatly reduced.
Suitable for construction of multi-axis machines incorporating multiple servo controlled motors.

本発明の第1実施例を示す、センサー用シリアル通信装置のシステム構成図The system block diagram of the serial communication apparatus for sensors which shows 1st Example of this invention 本発明の第1実施例を示す、通信マスタ有効センサーポート表Communication master effective sensor port table showing the first embodiment of the present invention 本発明の第1実施例を示す、通信スレーブ有効センサーポート表Communication slave effective sensor port table showing the first embodiment of the present invention 本発明の第2実施例を示す、タイムスロット/サーボポート対応表Time slot / servo port correspondence table showing the second embodiment of the present invention 本発明の第1実施例を示す、通信データのフォーマットCommunication data format according to the first embodiment of the present invention 本発明の第1実施例を示す、タイムスロットを利用した通信のタイミング図Timing diagram of communication using time slots, showing the first embodiment of the present invention 本発明の第1実施例を示す、通信マスタの有効センサーポート把握処理Communication master effective sensor port grasp processing showing the first embodiment of the present invention 本発明の第1実施例を示す、通信スレーブの有効センサーポート把握処理Communication sensor valid sensor port grasp processing of the first embodiment of the present invention 本発明の第1実施例を示す、通信マスタ有効センサーポート数送信処理Communication master effective sensor port number transmission processing showing the first embodiment of the present invention 本発明の第1実施例を示す、通信スレーブ有効ポート数受信処理Communication slave effective port number reception processing showing the first embodiment of the present invention 本発明の第1実施例を示す、通信マスタ運転時通信処理Communication processing during communication master operation showing the first embodiment of the present invention 本発明の第1実施例を示す、通信スレーブ運転時通信処理Communication processing during communication slave operation, showing the first embodiment of the present invention 本発明の第1実施例を示す、運転時の通信のタイミング図Timing chart of communication during operation, showing the first embodiment of the present invention 本発明の第1実施例を示す、センサーへの書込み処理Sensor writing process according to the first embodiment of the present invention 本発明の第3実施例を示す、センサー用シリアル通信装置のシステム構成図The system block diagram of the serial communication apparatus for sensors which shows 3rd Example of this invention 本発明の第3実施例を示す、通信モニタの有効センサーポート把握処理Effective sensor port grasping process of communication monitor showing third embodiment of the present invention 本発明の第3実施例を示す、通信モニタ有効センサーポート表Communication monitor effective sensor port table showing the third embodiment of the present invention 本発明の第3実施例を示す、タイムスロット/受信バッファ番号対応表Time slot / reception buffer number correspondence table showing the third embodiment of the present invention 本発明の第3実施例を示す、通信モニタ運転時通信処理Communication monitor operation communication processing showing the third embodiment of the present invention 従来例の、センサー用シリアル通信装置のシステム構成図System configuration diagram of the sensor serial communication device of the conventional example 従来例の、センサー用シリアル通信装置のシステム構成図System configuration diagram of the sensor serial communication device of the conventional example 従来例の、センサー用シリアル通信装置のシステム構成図System configuration diagram of the sensor serial communication device of the conventional example 従来例の、センサー用シリアル通信装置のシステム構成図System configuration diagram of the sensor serial communication device of the conventional example 本発明の第4実施例を示す、センサー用シリアル通信のシステム構成図System configuration diagram of sensor serial communication showing the fourth embodiment of the present invention 本発明の第4実施例を示す、タイムスロットを利用した通信のタイミング図Timing diagram of communication using time slots, showing a fourth embodiment of the present invention 本発明の第4実施例を示す、タイムスロットを利用した通信のタイミング図Timing diagram of communication using time slots, showing a fourth embodiment of the present invention

符号の説明Explanation of symbols

1 コントローラ
11〜14 サーボ制御部
19 クロック
2 通信マスタ
21 通信マスタ送受信処理部
22 通信マスタ有効センサーポート表
23 タイムスロット/サーボポート対応表
3、4 通信スレーブ
31、41 通信スレーブ送受信処理部
32、42 通信スレーブ有効センサーポート表
311〜314 センサー情報要求コマンド
321〜324 センサー情報要求コマンド
331〜334 センサー情報
341 センサーポートマスク要求
351、353、354 空要求
352 センサー書込み要求
5 ターミネータ
51〜54 センサー
61〜64 モータ
8 通信モニタ
81 通信モニタ受信処理部
82 通信モニタ有効センサーポート表
83 タイムスロット/受信バッファ番号対応表
84〜87 受信バッファ
S1〜S10 シリアル伝送路
sp1〜sp4 サーボポート
p1〜p2 センサーポート
101 シリアル/パラレル変換手段
102 送受信制御手段
103 送信手段
104 受信手段
105 位置検出器選択器
501 シリアル/パラレル変換手段
502 送受信制御手段
503 送信手段
504 受信手段
505 検出器
70 分岐部
600 電源
601 クロック
602 GND
603 データ
604 断線検出手段
605〜607 LED
610 断線個所1
611 断線個所2
1 Controller 11-14 Servo control unit 19 Clock 2 Communication master 21 Communication master transmission / reception processing unit 22 Communication master valid sensor port table 23 Time slot / servo port correspondence table 3, 4 Communication slave 31, 41 Communication slave transmission / reception processing unit 32, 42 Communication slave valid sensor port table 311 to 314 Sensor information request command 321 to 324 Sensor information request command 331 to 334 Sensor information 341 Sensor port mask request 351, 353, 354 Empty request 352 Sensor write request 5 Terminator 51 to 54 Sensor 61 to 64 Motor 8 Communication monitor 81 Communication monitor reception processing unit 82 Communication monitor valid sensor port table 83 Time slot / reception buffer number correspondence table 84 to 87 Reception buffer S1 to S10 Serial transmission path sp1 ~ Sp4 Servo ports p1 to p2 Sensor port 101 Serial / parallel conversion means 102 Transmission / reception control means 103 Transmission means 104 Reception means 105 Position detector selector 501 Serial / parallel conversion means 502 Transmission / reception control means 503 Transmission means 504 Reception means 505 Detector 70 Branching unit 600 Power supply 601 Clock 602 GND
603 Data 604 Disconnection detection means 605-607 LED
610 Disconnection location 1
611 Disconnection location 2

Claims (20)

1または複数のサーボ制御部と前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを、1つの通信マスタと1以上の通信スレーブを含むシリアル伝送路で接続したセンサー用シリアル通信装置において、
前記通信マスタは、1または複数の前記サーボ制御部を接続するための1または複数のサーボ用シリアルポートと、前記通信スレーブを接続するためのカスケード接続用シリアルポートを備え、
前記通信スレーブは、前記通信マスタまたは他の前記通信スレーブとカスケード接続するためのカスケード接続用シリアルポートと、1または複数のセンサーを1:1で接続するための1または複数のセンサー用シリアルポートとを備えることを特徴としたセンサー用シリアル通信装置。
One or more servo controllers and one or more sensors attached to one or more motors driven by the servo controllers are connected by a serial transmission line including one communication master and one or more communication slaves. In the serial communication device for sensors,
The communication master includes one or more servo serial ports for connecting one or more servo control units, and a cascade connection serial port for connecting the communication slaves,
The communication slave includes a cascade connection serial port for cascading with the communication master or another communication slave, and one or more sensor serial ports for connecting one or more sensors in a 1: 1 ratio. A serial communication device for sensors, comprising:
請求項1において、前記通信マスタは、前記通信スレーブから受信したセンサー情報を、前記センサー情報を受信した順番と前記サーボ用シリアルポートの番号を昇順または降順に対応させたうえで同時に前記サーボ用シリアルポートへ送信する手段を備えることを特徴としたセンサー用シリアル通信装置。   2. The communication master according to claim 1, wherein the communication master associates the sensor information received from the communication slave with the order in which the sensor information is received and the number of the servo serial port in ascending or descending order, and simultaneously with the servo serial. A serial communication device for a sensor comprising means for transmitting to a port. 請求項1において、前記通信マスタは、前記通信スレーブから受信したセンサー情報を、その受信した順番と前記サーボ用シリアルポート番号を対応表に従って対応させたうえで同時に前記サーボ用シリアルポートへ送信する手段を備えることを特徴としたセンサー用シリアル通信装置。   2. The means according to claim 1, wherein the communication master transmits the sensor information received from the communication slave to the servo serial port simultaneously after associating the received order with the servo serial port number according to the correspondence table. A serial communication device for sensors, comprising: 請求項3において、前記対応表は、初期化時において、外部から前記通信マスタへダウンロードされたものであることを特徴としたセンサー用シリアル通信装置。   4. The sensor serial communication device according to claim 3, wherein the correspondence table is downloaded from the outside to the communication master at the time of initialization. 請求項1において、前記通信スレーブは、自己より後段からの前記センサー情報を自己より前段へ送信し、その後、自己の前記センサー情報を前段へ送信する手段を備えることを特徴としたセンサー用シリアル通信装置。   2. The serial communication for sensors according to claim 1, wherein the communication slave includes means for transmitting the sensor information from the subsequent stage to the previous stage from itself, and then transmitting the sensor information of the own to the previous stage. apparatus. 1または複数のサーボ制御部と1または複数の前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを1つの通信マスタと1以上の通信スレーブを含むシリアル伝送路で接続したセンサー用シリアル通信装置の通信方法において、
前記通信マスタが、センサー情報要求コマンドをカスケード接続用シリアルポートを介して前記通信スレーブに送信するステップM1と、前記センサー情報要求コマンドに対するセンサー情報を前記通信スレーブから受信するステップM2と、前記センサー情報をサーボ用シリアルポートから対応する前記サーボ制御部に送信するステップM3を有し、
前記通信スレーブが、前記センサー情報要求コマンドを受信するとともに後段の前記通信スレーブへ転送するステップS1と、前記センサー情報要求コマンドを自己の前記センサーに同時に送信し前記センサーからの前記センサー情報を受信するステップS2と、後段からの前記センサー情報を前段の前記通信スレーブまたは前記通信マスタへ転送するステップS3と、その後自己の前記センサー情報を前記通信マスタまたは前段の前記通信スレーブへ送信するステップS4を有することを特徴としたセンサー用シリアル通信装置の通信方法。
Serial transmission path including one or more servo control units and one or more sensors attached to one or more motors driven by one or more servo control units, one communication master and one or more communication slaves In the communication method of the sensor serial communication device connected in
Step M1 in which the communication master transmits a sensor information request command to the communication slave via a serial port for cascade connection; Step M2 in which sensor information for the sensor information request command is received from the communication slave; and the sensor information A step M3 for transmitting the servo from the servo serial port to the corresponding servo control unit,
The communication slave receives the sensor information request command and forwards it to the communication slave in the subsequent stage, and simultaneously transmits the sensor information request command to its own sensor and receives the sensor information from the sensor. Step S2, Step S3 for transferring the sensor information from the subsequent stage to the communication slave or the communication master in the previous stage, and Step S4 for transmitting the sensor information of its own to the communication master or the communication slave in the previous stage. A communication method of a serial communication device for sensors.
請求項6において、前記ステップM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記サーボ用シリアルポートの番号と昇順または降順に対応させたうえで同時に前記サーボ用シリアルポートへ送信するものであることを特徴としたセンサー用シリアル通信装置の通信方法。   7. The step M3 according to claim 6, wherein the sensor information received from the communication slave is associated with the receiving order and the servo serial port number in ascending or descending order and simultaneously to the servo serial port. A communication method for a serial communication device for a sensor, characterized in that the transmission is performed. 請求項6において、前記ステップM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記サーボ用シリアルポートの番号を対応表に従って対応させたうえで同時に前記サーボ用シリアルポートへ送信するものであることを特徴としたセンサー用シリアル通信装置の通信方法。   7. The step M3 of claim 6, wherein the step M3 transmits the sensor information received from the communication slave to the servo serial port at the same time after associating the received order with the servo serial port number according to the correspondence table. A communication method of a serial communication device for a sensor, characterized in that: 請求項8において、前記対応表は、初期化時において、外部から前記通信マスタへダウンロードされたものであることを特徴としたセンサー用シリアル通信装置の通信方法。   9. The communication method for a sensor serial communication device according to claim 8, wherein the correspondence table is downloaded from the outside to the communication master at the time of initialization. 請求項6において、前記ステップS4は、自己より後段からの前記センサー情報を自己より前段へ送信し、その後、自己の前記センサー用シリアルポートに接続されている前記センサーからの前記センサー情報を前記センサー用シリアルポートの番号の降順または昇順に前記通信マスタまたは前段の前記通信スレーブに送信するものであることを特徴としたセンサー用シリアル通信装置の通信方法。   7. The step S4 according to claim 6, wherein the step S4 transmits the sensor information from the subsequent stage to the front stage, and then the sensor information from the sensor connected to the serial port for the sensor is transmitted to the sensor. A communication method for a serial communication device for a sensor, comprising: transmitting to the communication master or the previous communication slave in descending or ascending order of serial port numbers. 1または複数のサーボ制御部と前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを、1つの通信マスタと1以上の通信スレーブと1つの通信モニタを含むシリアル伝送路で接続したセンサー用シリアル通信装置において、
前記通信モニタは、前記通信マスタ、及び、前記通信スレーブを接続するためのカスケード接続用シリアルポートと前記通信スレーブから受信したセンサー情報を格納するための受信バッファを備えることを特徴としたセンサー用シリアル通信装置。
Serial including one or more servo control units and one or more sensors attached to one or more motors driven by the servo control unit, one communication master, one or more communication slaves, and one communication monitor In the serial communication device for sensors connected by a transmission line,
The communication monitor includes a serial port for cascade connection for connecting the communication master and the communication slave and a reception buffer for storing sensor information received from the communication slave. Communication device.
請求項11において、前記通信モニタは、前記通信スレーブから受信したセンサー情報を、前記センサー情報を受信した順番と前記受信バッファの番号を昇順又は降順に対応させた上で格納する手段を備えることを特徴としたセンサー用シリアル通信装置。   12. The communication monitor according to claim 11, further comprising means for storing the sensor information received from the communication slave in association with the order in which the sensor information is received and the number of the reception buffer in ascending or descending order. Characteristic serial communication device for sensors. 請求項11において、前記通信モニタは、前記通信スレーブから受信したセンサー情報を、その受信した順番と受信バッファの番号を対応表に従って対応させた上で格納する手段を備えることを特徴としたセンサー用シリアル通信装置。   12. The sensor monitor according to claim 11, wherein the communication monitor includes means for storing sensor information received from the communication slave in correspondence with the order of reception and the number of the reception buffer according to a correspondence table. Serial communication device. 請求項13において、前記対応表は、初期化時において、外部から前記通信モニタへダウンロードされたものであることを特徴としたセンサー用シリアル通信装置。     14. The sensor serial communication device according to claim 13, wherein the correspondence table is downloaded from the outside to the communication monitor at the time of initialization. 1または複数のサーボ制御部と1または複数の前記サーボ制御部によって駆動される1または複数のモータに取り付けられた1または複数のセンサーを1つの通信マスタと1以上の通信スレーブと1つの通信モニタを含むシリアル伝送路で接続したセンサー用シリアル通信装置の通信方法において、
前記通信モニタが、前記通信マスタからのセンサー情報要求コマンドを受信するステップMN1と、前記センサー情報要求コマンドに対するセンサー情報を前記通信スレーブから受信するステップMN2と、前記センサー情報を前記受信バッファに格納するステップMN3を有することを特徴としたセンサー用シリアル通信装置の通信方法。
One or more servo controllers and one or more sensors attached to one or more motors driven by the one or more servo controllers, one communication master, one or more communication slaves, and one communication monitor In the communication method of the serial communication device for sensors connected by a serial transmission line including
Step MN1 in which the communication monitor receives a sensor information request command from the communication master; Step MN2 in which sensor information corresponding to the sensor information request command is received from the communication slave; and storage of the sensor information in the reception buffer. A communication method for a sensor serial communication device, comprising step MN3.
請求項15において、前記ステップMN3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記受信バッファの番号と昇順または降順に対応させたうえで格納することを特徴としたセンサー用シリアル通信装置の通信方法。   The sensor step according to claim 15, wherein the step MN3 stores the sensor information received from the communication slave in correspondence with the order of reception and the number of the reception buffer in ascending or descending order. A communication method for a serial communication device. 請求項15において、前記ステップNM3は、前記通信スレーブから受信した前記センサー情報を、その受信した順番と前記受信バッファの番号を対応表に従って対応させたうえで格納することを特徴としたセンサー用シリアル通信装置の通信方法。   16. The sensor serial according to claim 15, wherein the step NM3 stores the sensor information received from the communication slave after associating the received information with the number of the reception buffer according to a correspondence table. A communication method of a communication device. 請求項17において、前記対応表は、初期化時において、外部から前記通信モニタへダウンロードされたものであることを特徴としたセンサー用シリアル通信装置の通信方法。   18. The communication method for a sensor serial communication device according to claim 17, wherein the correspondence table is downloaded from the outside to the communication monitor at the time of initialization. 請求項1、請求項2、請求項3、請求項4または請求項5において、前記通信マスタと前記通信スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブと前記1または複数のセンサー間のシリアル伝送路が断線した場合、あるいは前記3者断線の組み合わせによるすべての断線の場合、前記通信マスタは、予め設定されたセンサーの数だけ受信し、断線により通信が途絶えたセンサー情報は空けて受信する手段を備えたことを特徴としたセンサー用シリアル通信装置。   When the serial transmission path between the communication master and the communication slave is disconnected or the serial transmission path between the slaves is disconnected according to claim 1, claim 2, claim 3, claim 4 or claim 5 Alternatively, when the serial transmission path between the slave and the one or more sensors is disconnected, or when all the disconnections are due to the combination of the three-party disconnection, the communication master receives the preset number of sensors. A serial communication device for sensors, comprising means for receiving sensor information that has been disconnected due to disconnection. 請求項11、請求項12、請求項13または請求項14において、前記通信モニタと前記通信スレーブ間のシリアル伝送路が断線した場合あるいは、前記通信マスタと前記通信スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブ間のシリアル伝送路が断線した場合あるいは、前記スレーブと前記1または複数のセンサー間のシリアル伝送路が断線した場合、あるいは前記4者断線の組み合わせによるすべての断線の場合、前記通信モニタは、予め設定されたセンサーの数だけ受信し、断線により通信が途絶えたセンサー情報は空けて受信する手段を備えたことを特徴としたセンサー用シリアル通信装置。   The serial transmission path between the communication monitor and the communication slave is disconnected or the serial transmission path between the communication master and the communication slave is disconnected in claim 11, 12, 13, or 14. Or when the serial transmission path between the slaves is disconnected, when the serial transmission path between the slave and the one or more sensors is disconnected, or in the case of all disconnections due to the combination of the four-party disconnection, A serial communication device for sensors, wherein the communication monitor includes means for receiving the number of sensors set in advance and receiving information on sensor information that has been disconnected due to disconnection.
JP2008053986A 2007-03-05 2008-03-04 Serial communication equipment for sensor and serial communication method Pending JP2008250997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008053986A JP2008250997A (en) 2007-03-05 2008-03-04 Serial communication equipment for sensor and serial communication method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007054653 2007-03-05
JP2008053986A JP2008250997A (en) 2007-03-05 2008-03-04 Serial communication equipment for sensor and serial communication method

Publications (1)

Publication Number Publication Date
JP2008250997A true JP2008250997A (en) 2008-10-16

Family

ID=39975802

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2008053987A Pending JP2008252882A (en) 2007-03-05 2008-03-04 Serial communication apparatus for sensor and serial communication method
JP2008053986A Pending JP2008250997A (en) 2007-03-05 2008-03-04 Serial communication equipment for sensor and serial communication method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2008053987A Pending JP2008252882A (en) 2007-03-05 2008-03-04 Serial communication apparatus for sensor and serial communication method

Country Status (1)

Country Link
JP (2) JP2008252882A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250530A (en) * 2009-04-15 2010-11-04 Nippon Seiki Co Ltd Meter-driving device
JP2011162343A (en) * 2010-02-15 2011-08-25 Murata Machinery Ltd Traveling carriage system
JP2013160763A (en) * 2012-02-03 2013-08-19 Dr Johannes Heidenhain Gmbh Position measuring device
JP2014085833A (en) * 2012-10-23 2014-05-12 Omron Corp Sensor system and communication device

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5680048B2 (en) * 2012-11-22 2015-03-04 株式会社リブ技術研究所 Automatic control system, contact information collection and distribution device, and slave station of automatic control system
JP6205756B2 (en) * 2013-03-07 2017-10-04 セイコーエプソン株式会社 Synchronous measurement system
EP3345062B1 (en) * 2015-08-31 2021-12-22 Marposs Societa' Per Azioni Data processing and transmission system and method
ITUB20153295A1 (en) 2015-08-31 2017-03-03 Marposs Spa SYSTEM AND METHOD OF DATA PROCESSING AND TRANSMISSION
JP6165286B1 (en) * 2016-02-29 2017-07-19 株式会社安川電機 Motor control system, robot system, and motor control system communication method
CN106980291B (en) * 2017-04-14 2024-03-08 北京陆卫装备技术有限公司 Novel cascading system based on planting box and method thereof
WO2020004301A1 (en) * 2018-06-26 2020-01-02 日本電産株式会社 Tuning system
WO2020059866A1 (en) * 2018-09-20 2020-03-26 株式会社 潤工社 Liquid detection system
CN115334488B (en) * 2022-08-15 2023-05-23 煤炭科学技术研究院有限公司 Mining mobile emergency communication system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010250530A (en) * 2009-04-15 2010-11-04 Nippon Seiki Co Ltd Meter-driving device
JP2011162343A (en) * 2010-02-15 2011-08-25 Murata Machinery Ltd Traveling carriage system
JP2013160763A (en) * 2012-02-03 2013-08-19 Dr Johannes Heidenhain Gmbh Position measuring device
US10215792B2 (en) 2012-02-03 2019-02-26 Dr. Johannes Heidenhain Gmbh Position-measuring device, connectable via a data-transmission channel to transmit data, including a detection unit adapted to detect presence, or non-presence of a pair of lines
JP2014085833A (en) * 2012-10-23 2014-05-12 Omron Corp Sensor system and communication device

Also Published As

Publication number Publication date
JP2008252882A (en) 2008-10-16

Similar Documents

Publication Publication Date Title
JP2008250997A (en) Serial communication equipment for sensor and serial communication method
US10191876B2 (en) Device and method for addressing, and converter
US8055826B2 (en) Communication system and method for operation thereof
JP4033294B2 (en) Data communication method in ship network
JP2003189654A (en) Serial communication device for controlling motor and motor driving gear
US10908583B2 (en) Safety control system and safety control unit
JP5570556B2 (en) Numerical control device that communicates with IO unit
CN101854258B (en) Implementation method and device for eliminating communication chip failures
US5847659A (en) Electronic wiring system using automatic cyclic, communication means
JP2012033165A (en) Interface signal operating device
JP5301088B2 (en) Serial communication device for motor control
JP4029617B2 (en) Numerical control system and communication timing setting method in the numerical control system
JP2007174673A (en) Communication structure and operation method thereof
WO2021010166A1 (en) Serial communication method and serial communication system
JPH0888641A (en) Communication system
JP4118695B2 (en) Numerical control system
JP2011113118A (en) Servo motor control network and communication method thereof
JP2011019354A (en) Motor control apparatus
JP2005229322A (en) Master slave synchronous communication system
JP2003335470A (en) Elevator control transmitting system
US11736318B2 (en) Initialization of data bus subscribers
JP6888204B2 (en) Temperature controller and communication converter
JP5576913B2 (en) Communication system having automatic setting function of identification number
JP2005051507A (en) Communication system and address setup method therefor
JP2004199658A5 (en)