JP2949118B1 - Encoder data output method for bus communication type encoder device - Google Patents

Encoder data output method for bus communication type encoder device

Info

Publication number
JP2949118B1
JP2949118B1 JP26151498A JP26151498A JP2949118B1 JP 2949118 B1 JP2949118 B1 JP 2949118B1 JP 26151498 A JP26151498 A JP 26151498A JP 26151498 A JP26151498 A JP 26151498A JP 2949118 B1 JP2949118 B1 JP 2949118B1
Authority
JP
Japan
Prior art keywords
encoder
request signal
encoders
bus communication
output method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26151498A
Other languages
Japanese (ja)
Other versions
JP2000092096A (en
Inventor
宗明 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tamagawa Seiki Co Ltd
Original Assignee
Tamagawa Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tamagawa Seiki Co Ltd filed Critical Tamagawa Seiki Co Ltd
Priority to JP26151498A priority Critical patent/JP2949118B1/en
Application granted granted Critical
Publication of JP2949118B1 publication Critical patent/JP2949118B1/en
Publication of JP2000092096A publication Critical patent/JP2000092096A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

【要約】 【課題】 従来のバス通信型エンコーダ装置のエンコー
ダデータ出力方法は、エンコーダの台数に関係なく一定
であったため、台数が少ない場合でも台数が多い時と同
じサイクルを用いることになり、バス通信時間の短縮が
不可能であった。 【解決手段】 本発明によるバス通信型エンコーダ装置
のエンコーダ出力方法は、バス通信ライン(10)に接
続されたエンコーダ(1〜6)の実際の台数情報をリク
エスト信号(9)に乗せてリクエスト信号のサイクルを
台数に応じて変え、通信時間を短縮できる方法である。
An encoder data output method of a conventional bus communication type encoder device is constant regardless of the number of encoders. Therefore, even when the number of encoders is small, the same cycle as when the number of encoders is large is used. Communication time could not be reduced. SOLUTION: The encoder output method of the bus communication type encoder device according to the present invention provides a request signal (9) by adding actual number information of encoders (1 to 6) connected to a bus communication line (10). Is a method in which the communication time can be reduced by changing the cycle according to the number.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、バス通信型エンコ
ーダ装置のエンコーダデータ出力方法に関し、特に、装
置自体が機能上有するバス接続できる最大のエンコーダ
の台数ではなく、その時に実際にバス接続された台数を
リクエスト信号に乗せ、リクエスト信号を受信したエン
コーダは、このリクエスト信号に含まれる台数のエンコ
ーダがエンコーダデータを送信する時間だけリクエスト
信号の検出機能を停止状態とし、すなわち、台数情報に
応じてリクエスト信号マスク状態の時間を変えリクエス
ト信号のサイクルを台数に応じて変えているため、従来
よりも通信サイクルを短縮できるようにするための新規
な改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder data output method for a bus communication type encoder device, and more particularly to an encoder data output method for a bus communication type encoder device, not the maximum number of encoders which can be connected to a bus. The encoder which received the request signal puts the number of units on the request signal and stops the request signal detection function for the time during which the number of encoders included in the request signal transmits the encoder data. Since the time of the signal mask state is changed and the cycle of the request signal is changed in accordance with the number of devices, the present invention relates to a novel improvement for shortening the communication cycle as compared with the related art.

【0002】[0002]

【従来の技術】従来、用いられていたこの種のバス通信
型エンコーダ装置のエンコーダデータ出力方法として
は、図3及び図4に示される方法が採用されている。す
なわち、図3の場合、バス通信ラインにそのエンコーダ
装置が機能できる最大のエンコーダの台数である8台が
接続され、リクエスト信号9を受信したエンコーダ1〜
8がエンコーダデータを送信する時間だけは常にリクエ
スト信号9を検出する機能を停止する停止状態21すな
わちマスク状態となっていた。この出力方法は、図4で
示すエンコーダの台数が6台の場合も同様である。すな
わち、通信サイクルはT1=T2である。
2. Description of the Related Art Conventionally, as a method of outputting encoder data of a bus communication type encoder device of this kind, the methods shown in FIGS. 3 and 4 are employed. That is, in the case of FIG. 3, eight buses, which are the maximum number of encoders in which the encoder device can function, are connected to the bus communication line.
The stop state 21 in which the function of detecting the request signal 9 is always stopped only during the time when the encoder 8 transmits the encoder data, ie, the mask state. This output method is the same when the number of encoders shown in FIG. 4 is six. That is, the communication cycle is T 1 = T 2 .

【0003】[0003]

【発明が解決しようとする課題】従来のバス通信型エン
コーダ装置のエンコーダデータ出力方法は、以上のよう
に構成されていたため、次のような課題が存在してい
た。すなわち、リクエスト信号のサイクルは、エンコー
ダ装置のエンコーダの台数に関係なく、一定であったた
め、例えば、台数が少ない場合でも台数が多い時と同じ
サイクルT1=T2を用いることになり、バス通信時間の
短縮を得ることが不可能であった。
The encoder data output method of the conventional bus communication type encoder device has the following problems because it is configured as described above. That is, since the cycle of the request signal is constant irrespective of the number of encoders of the encoder device, for example, even when the number is small, the same cycle T 1 = T 2 as when the number is large is used. It was not possible to get a reduction in time.

【0004】本発明は、以上のような課題を解決するた
めになされたもので、特に、装置自体が機能上有するバ
ス接続できる最大のエンコーダの台数ではなく、その時
に実際にバス接続された台数をリクエスト信号に乗せ、
リクエスト信号を受信したエンコーダは、このリクエス
ト信号に含まれる台数のエンコーダがエンコーダデータ
を送信する時間だけリクエスト信号の検出機能を停止状
態とし、すなわち、台数情報に応じてリクエスト信号マ
スク状態の時間を変えることによりリクエスト信号のサ
イクルを台数に応じて変えているため、従来よりも通信
サイクル短縮できるようにしたバス通信型エンコーダ装
置のエンコーダデータ出力方法を提供することを目的と
する。
[0004] The present invention has been made to solve the above problems, and in particular, it is not the maximum number of encoders that can be connected to a bus that the apparatus itself has in function, but the number of buses actually connected at that time. On the request signal,
The encoder that has received the request signal stops the request signal detection function for the time during which the number of encoders included in the request signal transmits the encoder data, that is, changes the time of the request signal mask state according to the number information. Accordingly, an object of the present invention is to provide an encoder data output method of a bus communication type encoder device capable of shortening a communication cycle as compared with a conventional one because a request signal cycle is changed according to the number of request signals.

【0005】[0005]

【課題を解決するための手段】本発明によるバス通信型
エンコーダ装置のエンコーダデータ出力方法は、リクエ
スト信号に同期してエンコーダデータを送信する複数個
のエンコーダを用い、前記エンコーダに対する外部から
のリクエスト信号の通信と前記各エンコーダデータの出
力を行う通信とを同一のバス通信ラインで行うようにし
たバス通信型エンコーダ装置のエンコーダデータ出力方
法において、前記バス通信ラインに接続された前記エン
コーダの実際の台数の台数情報を前記リクエスト信号に
乗せ、前記リクエスト信号を受信した前記エンコーダ
は、前記リクエスト信号に含まれる前記台数のエンコー
ダがエンコーダデータを送信する時間だけ前記リクエス
ト信号の検出機能を停止状態とする方法であり、さら
に、前記リクエスト信号のサイクルは、前記エンコーダ
の台数に応じて可変となる方法である。
An encoder data output method for a bus communication type encoder device according to the present invention uses a plurality of encoders for transmitting encoder data in synchronization with a request signal, and outputs a request signal from the outside to the encoder. In the encoder data output method of the bus communication type encoder device, wherein the communication of the encoder communication and the communication of outputting the encoder data are performed on the same bus communication line, the actual number of the encoders connected to the bus communication line A method of putting the number information of the request signal on the request signal, and the encoder having received the request signal suspending the detection function of the request signal for a time during which the number of encoders included in the request signal transmits encoder data. And the request signal The cycle is a method to be variable according to the number of the encoder.

【0006】[0006]

【発明の実施の形態】以下、図面と共に本発明によるバ
ス通信型エンコーダ装置のエンコーダデータ出力方法の
好適な実施の形態について説明する。なお、従来例と同
一又は同等部分については同一符号を付して説明する。
図1における各エンコーダ1〜8は、共通バスからなる
通信ライン10によってロボット等の駆動体の制御部1
2にエンコーダデータ1a〜8aを伝送するように構成
されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of an encoder data output method for a bus communication type encoder according to the present invention will be described below with reference to the drawings. The same or equivalent parts as in the conventional example will be described with the same reference numerals.
Each of the encoders 1 to 8 in FIG. 1 is connected to a control unit 1
2 is configured to transmit the encoder data 1a to 8a.

【0007】次に動作について述べる。図2に示される
タイムチャートのように、リクエスト信号9が通信ライ
ン10を介して送信され、1軸目エンコーダ1が呼び出
されてその受信状態22からエンコーダデータ1aが送
信されている送信状態20の間は、他のエンコーダ2〜
8はリクエスト信号9を受信できないマスク状態すなわ
ちリクエスト信号9を検出する検出機能を停止状態21
とするようにエンコーダ内部のCPU(図示せず)等に
よって制御されている。この停止状態21は、図2のタ
イムチャートでは、受信状態22と送信状態20の中間
のレベルで表現されている。
Next, the operation will be described. As shown in the time chart of FIG. 2, the request signal 9 is transmitted through the communication line 10, the first axis encoder 1 is called, and the transmission state 20 in which the encoder data 1a is transmitted from the reception state 22 is transmitted. Between the other encoders 2
8 denotes a mask state in which the request signal 9 cannot be received, that is, a detection function for detecting the request signal 9 is stopped.
Is controlled by a CPU (not shown) or the like inside the encoder. The stop state 21 is represented at an intermediate level between the reception state 22 and the transmission state 20 in the time chart of FIG.

【0008】前記リクエスト信号9は、本発明において
特に開発されたものであり、エンコーダ装置のバス通信
ライン10に何台のエンコーダ1〜8が接続されている
かの台数情報が乗せられている。従って、前記リクエス
ト信号に含まれる前記台数のエンコーダ1〜8がエンコ
ーダデータ1a〜8aを送信する時間だけ前記リクエス
ト信号9の検出機能を停止状態とするように構成されて
いる。すなわち、前記エンコーダ装置は、従来のように
その使用しているバス通信ライン10が有するバス接続
できる最大の台数(N)ではなく、リクエスト信号9に
含まれるこの台数(N)以下の実際の台数を台数情報と
して乗せているため、例えば、6台のエンコーダ1〜6
を用いる図2の構成の場合には、リクエスト信号9に実
際の台数である6台の情報が入力されているため、この
6台のエンコーダ1〜6がエンコーダデータ1a〜6a
を送信する時間だけリクエスト信号マスク状態としてい
る。そのため、図2の6台のエンコーダ1〜6の場合
と、図4の従来の6台のエンコーダ1〜6の場合とを比
較すると明らかであるように、リクエスト信号9の通信
サイクルはT3>T2であり、エンコーダの数を減らした
場合には、それに応じてリクエスト信号9のサイクルす
なわち通信サイクルが短縮されて、従来よりも通信サイ
クルを向上させることができる。
The request signal 9 is a signal developed especially in the present invention, and carries information on the number of encoders 1 to 8 connected to the bus communication line 10 of the encoder device. Therefore, the detection function of the request signal 9 is stopped for the time during which the encoders 1 to 8 included in the request signal transmit the encoder data 1a to 8a. In other words, the encoder device is not the maximum number (N) of the bus communication lines 10 used by the bus communication line 10 as in the prior art, but the actual number less than this number (N) included in the request signal 9. Is carried as number information, for example, six encoders 1 to 6
In the case of the configuration shown in FIG. 2 using the information, six pieces of information, which is the actual number, are input to the request signal 9.
Is set to the request signal mask state only for the time of transmitting the request signal. Therefore, as is apparent from a comparison between the case of the six encoders 1 to 6 in FIG. 2 and the case of the conventional six encoders 1 to 6 in FIG. 4, the communication cycle of the request signal 9 is T 3 > a T 2, when a reduced number of encoder is shortened cycle or communication cycle of the request signal 9 in response thereto, it can be compared with the conventional improving communication cycle.

【0009】[0009]

【発明の効果】本発明によるバス通信型エンコーダ装置
のエンコーダデータ出力方法は、以上のように構成され
ているため、次のような効果を得ることができる。すな
わち、エンコーダ装置に実際に接続されたエンコーダの
数をリクエスト信号に乗せることにより、リクエスト信
号の通信サイクルを可変とすることができ、通信サイク
ルを固定としていた従来の方法よりも台数が少ない場合
には大幅に短縮させることができる。
The encoder data output method of the bus communication type encoder device according to the present invention is configured as described above, so that the following effects can be obtained. That is, by putting the number of encoders actually connected to the encoder device on the request signal, the communication cycle of the request signal can be made variable, and when the number is smaller than the conventional method in which the communication cycle is fixed, Can be greatly reduced.

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

【図1】本発明によるバス通信型エンコーダ装置のエン
コーダデータ出力方法を示す構成図である。
FIG. 1 is a configuration diagram showing an encoder data output method of a bus communication type encoder device according to the present invention.

【図2】図1の6台のエンコーダを用いた通信状態を示
すチャート図である。
FIG. 2 is a chart showing a communication state using six encoders of FIG. 1;

【図3】従来方法を示すチャート図である。FIG. 3 is a chart showing a conventional method.

【図4】従来方法を示すチャート図である。FIG. 4 is a chart showing a conventional method.

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

1〜6 エンコーダ 1a〜6a エンコーダデータ 9 リクエスト信号 10 バス通信ライン 1-6 Encoder 1a-6a Encoder data 9 Request signal 10 Bus communication line

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 リクエスト信号(9)に同期してエンコー
ダデータ(1a〜6a)を送信する複数個のエンコーダ(1〜6)
を用い、前記エンコーダ(1〜6)に対する外部からのリク
エスト信号(9)の通信と前記各エンコーダデータ(1a〜6
a)の出力を行う通信とを同一のバス通信ライン(10)で行
うようにしたバス通信型エンコーダ装置のエンコーダデ
ータ出力方法において、前記バス通信ライン(10)に接続
された前記エンコーダ(1〜6)の実際の台数の台数情報を
前記リクエスト信号(9)に乗せ、前記リクエスト信号(9)
を受信した前記エンコーダ(1〜6)は、前記リクエスト信
号(9)に含まれる前記台数のエンコーダ(1〜6)がエンコ
ーダデータ(1a〜6a)を送信する時間だけ前記リクエスト
信号(9)の検出機能を停止状態とすることを特徴とする
バス通信型エンコーダ装置のエンコーダデータ出力方
法。
A plurality of encoders (1-6) for transmitting encoder data (1a-6a) in synchronization with a request signal (9)
Communication of an external request signal (9) to the encoders (1 to 6) and the encoder data (1a to 6).
In the encoder data output method of the bus communication type encoder device, wherein the communication for performing the output of (a) is performed on the same bus communication line (10), the encoder (1 to 10) connected to the bus communication line (10) is used. 6) The number information of the actual number of units is put on the request signal (9), and the request signal (9)
The encoders (1 to 6) receiving the request signal (9), the number of encoders (1 to 6) included in the request signal (9) the encoder signal (1a to 6a) for the time of transmitting the request signal (9) of the request signal (9) An encoder data output method for a bus communication type encoder device, wherein the detection function is stopped.
【請求項2】 前記リクエスト信号(9)のサイクルは、
前記エンコーダ(1〜6)の台数に応じて可変となることを
特徴とする請求項1記載のバス通信型エンコーダ装置の
エンコーダデータ出力方法。
2. The cycle of the request signal (9) is as follows:
2. The encoder data output method for a bus communication type encoder device according to claim 1, wherein said encoder data is variable according to the number of said encoders (1 to 6).
JP26151498A 1998-09-16 1998-09-16 Encoder data output method for bus communication type encoder device Expired - Fee Related JP2949118B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26151498A JP2949118B1 (en) 1998-09-16 1998-09-16 Encoder data output method for bus communication type encoder device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26151498A JP2949118B1 (en) 1998-09-16 1998-09-16 Encoder data output method for bus communication type encoder device

Publications (2)

Publication Number Publication Date
JP2949118B1 true JP2949118B1 (en) 1999-09-13
JP2000092096A JP2000092096A (en) 2000-03-31

Family

ID=17362972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26151498A Expired - Fee Related JP2949118B1 (en) 1998-09-16 1998-09-16 Encoder data output method for bus communication type encoder device

Country Status (1)

Country Link
JP (1) JP2949118B1 (en)

Also Published As

Publication number Publication date
JP2000092096A (en) 2000-03-31

Similar Documents

Publication Publication Date Title
KR20040076730A (en) Serial communication interface apparatus of hybrid type adaptable to high peformance wireless lan and method of the same
JP2949118B1 (en) Encoder data output method for bus communication type encoder device
JP2006304011A (en) Interface circuit
JPH04270525A (en) Zeror synchronization apparatus for encoding and decoding use
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
CN111130675B (en) Time synchronization device based on time trigger network
KR20050026058A (en) Packet signal processing architecture
JPS6361356A (en) Serial data transfer device
JP2708366B2 (en) Data processing system and auxiliary control device
JP2677274B2 (en) Variable length serial data communication system
JP3606957B2 (en) Serial data transmission system
JPS59135561A (en) Detecting and transmitting circuit of circuit control signal
JP2550273Y2 (en) Communication device
JPH08223192A (en) Transmission equipment
JPH04236537A (en) Data communication system
JPS61105150A (en) Information transfer circuit
JPH04183196A (en) Remote control system
JPH0348538A (en) Frame synchronizing signal detection circuit
JPH04287149A (en) Serial data communication system
JPS6394746A (en) Auxiliary signal reception circuit
JPS58151744A (en) Communication controller
JPS62139A (en) Signal multiplex transmission system
JPH0250641A (en) Digital signal insertion system by direct memory access controller
JPH0775345B2 (en) Serial interface
JPS63202154A (en) Serial communication system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees