JPS63298403A - Data transmission system for numerical controller - Google Patents

Data transmission system for numerical controller

Info

Publication number
JPS63298403A
JPS63298403A JP13280587A JP13280587A JPS63298403A JP S63298403 A JPS63298403 A JP S63298403A JP 13280587 A JP13280587 A JP 13280587A JP 13280587 A JP13280587 A JP 13280587A JP S63298403 A JPS63298403 A JP S63298403A
Authority
JP
Japan
Prior art keywords
counter
microprocessor
bus
interface
data transmission
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
JP13280587A
Other languages
Japanese (ja)
Inventor
Mitsuo Kurakake
鞍掛 三津雄
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP13280587A priority Critical patent/JPS63298403A/en
Publication of JPS63298403A publication Critical patent/JPS63298403A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate the addition of an interface print panel, etc., to detect directly the position of a machine by using a 1st position detector which is incorporated to a servomotor and a 2nd position detector which detects directly the position of a machine moving part. CONSTITUTION:A rotary encoder 23 incorporated to a servomotor 22 is used together with an optical scale 26 which detects directly a machine table 25. The signals of the scale 26 are counted by a counter 32 and the contents of the counter 32 are read out by a microprocessor 12 via a standard bus 1 for control of the position of the table 25. Thus the counter 32 is connected to the microprocessor 12 via the bus 1 with no special interface needed. As a result, the interface print panel of the scale 26, i.e., an option can be easily added with no use of a special connector, etc.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置のデータ伝送方式に関し、特に機
械位置を直接検出するインターフェイス用プリント板を
容易に追加できるようにした数値制御装置のデータ伝送
方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data transmission method for a numerical control device, and in particular to a data transmission system for a numerical control device that allows easy addition of an interface printed board for directly detecting machine position. Regarding transmission methods.

〔従来の技術〕[Conventional technology]

数値制御装置等のマイクロプロセ・ノサシステムもVM
Eバス、MULTIバス等の標準バスを使用してシステ
ムを構成することが行われている。
Microprocessor systems such as numerical control devices are also VM
Systems are constructed using standard buses such as the E bus and the MULTI bus.

この結果各機能毎のプリント板をバスインターフェイス
を通じて共通化できて、システムの拡張、変更及び設計
、製造、保守等に大きな利益が得られる。これらの標準
バスはハードウェアのインターフェイスが1個のコネク
タに信号が収められ、他の目的のために使用できるピン
が空いていないのが普通である。
As a result, the printed circuit boards for each function can be shared through the bus interface, providing great benefits in system expansion, modification, design, manufacturing, maintenance, etc. These standard buses typically have hardware interfaces where signals are contained in a single connector, with no free pins available for other purposes.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

一方、数値制御装置システムにおいては各種のオプショ
ンを有し、これらのオプションを簡単に追加できること
が望ましい0例えば、位置検出器として、サーボモータ
に内蔵したロータリエンコーダを使用するが、これ以外
に機械精度を上げるのに機械テーブルから直接フィード
バックをとる場合があり、光学スケール等を使用する。
On the other hand, numerical control equipment systems have various options, and it is desirable to be able to easily add these options.For example, a rotary encoder built into a servo motor is used as a position detector, but there are other In some cases, direct feedback is obtained from the machine table to increase the height, and an optical scale or the like is used.

この光学スケール等のインターフェイスはすべての数値
制御装置システムに必要ではないので、コスト的にオプ
ションとして簡単に追加できることが望ましい。
Since this interface such as an optical scale is not necessary for all numerical control device systems, it is desirable to be able to easily add it as an option in terms of cost.

しかし、数値制御装置システムが標準バスを使用してい
ると、先に述べたようにこれらの光学スケール等の信号
を標準バスのコネクタに追加することは空きピンの関係
等からできない、このためには、別途これらオプション
用の専用バスを設けるか、特別のコネクタを用意するこ
とも考えられるが、コスト的にも、プリント板の実装上
も望ましくない。
However, if the numerical control system uses a standard bus, as mentioned earlier, it is not possible to add signals such as those from optical scales to the standard bus connector due to empty pins, etc. It is conceivable to separately provide a dedicated bus for these options or prepare a special connector, but this is undesirable in terms of cost and mounting on the printed board.

本発明の目的は上記問題点を解決し、機械位置を直接検
出するインターフェイス用プリント板等を容易に追加で
きるようにした数値制御装置のデータ伝送方式を提供す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and provide a data transmission system for a numerical control device that allows easy addition of an interface printed board for directly detecting the machine position.

〔問題点番解決するための手段〕[Means to solve problem number]

本発明では上記の問題点を解決するために、第1図に示
すように、 マイク9プロセツサ(12)に位置制御をおこなわせる
数値制御装置のデータ伝送方式において、サーボモータ
(22)に内蔵された第1の位置検出器(23)と、 機械可動部(25)の位置を直接検出する第2の位置検
出器(26)と、 該第2の位置検出器(26)からの出力パルスをカウン
トし、数値制御装置の標準バスに接続されているカウン
タ(32)と、 位置制御を行う前記マイクロプロセッサ(12)が該カ
ウンタ(32)を標準バス(1)を経由して周期的に読
込み、位置情報を位置制御回路(10)に与えるように
構成したことを特徴とす  ′る数値制御装置のデータ
伝送方式が、 提供される。
In the present invention, in order to solve the above-mentioned problems, as shown in FIG. a first position detector (23) that directly detects the position of the mechanical movable part (25); and a second position detector (26) that directly detects the position of the mechanical movable part (25); a counter (32) that counts and is connected to the standard bus of the numerical control device, and the microprocessor (12) that performs position control reads said counter (32) periodically via the standard bus (1); Provided is a data transmission system for a numerical control device, characterized in that it is configured to provide position information to a position control circuit (10).

〔作用〕[Effect]

第2の検出器の信号はカウンタでカウントされ、このカ
ウンタの内容を標準バスを経由してマイクロプロセッサ
が読出し、位置制御を行うので、カウンタとマイクロプ
ロセッサの間は標準バスで構成され、特別のインターフ
ェイスを必要としない。
The signal from the second detector is counted by a counter, and the microprocessor reads the contents of this counter via a standard bus to control the position. Therefore, a standard bus is used between the counter and the microprocessor, and a special Does not require an interface.

従って、オプションである第2の位置検出器のインター
フェイス用プリント板も特別のコネクタ等を設けること
なく、容易に追加することができる。
Therefore, an optional printed board for the interface of the second position detector can be easily added without providing a special connector or the like.

〔実施例〕〔Example〕

以下本発明の一実施例を図面に基づいて説明する。 An embodiment of the present invention will be described below based on the drawings.

第2図に本発明の一実施例である数値制御装置システム
の概略の構成図を示す。図において、1は標準バスであ
り、VMEバス、MULTIバス、或いは他の標準バス
が使用される。10は位置制御プリント板であり、サー
ボモータに内蔵されたロークリエンコーダのフィードバ
ック信号を検出してサーボモータの制御をおこない、標
準システムに常に使用される。30は光学スケールイン
ターフェイス用プリント板であり、機械テーブルに取り
付けられた光学スケールのフィードバック信号を検出す
るためのプリント板であり、オプションとして、特別の
数値制御装置システムに使用される。
FIG. 2 shows a schematic configuration diagram of a numerical control system according to an embodiment of the present invention. In the figure, 1 is a standard bus, and a VME bus, a MULTI bus, or another standard bus is used. Reference numeral 10 denotes a position control printed board, which detects the feedback signal of a row encoder built into the servo motor to control the servo motor, and is always used in the standard system. 30 is a printed board for optical scale interface, which is a printed board for detecting the feedback signal of the optical scale attached to the machine table, and is optionally used for a special numerical control device system.

第1図に本発明の一実施例の全体のブロック図を示す、
1は標準バスであり、前述のようにVMEバス、MUL
TIバス、或いは他の標準バスが使用される。10は位
置制御用プリント板であり、サーボモータに内蔵された
ロークリエンコーダのフィードバック信号を検出してサ
ーボモータの制御をおこない、標準システムで常に使用
される。
FIG. 1 shows an overall block diagram of an embodiment of the present invention.
1 is a standard bus, and as mentioned above, VME bus, MUL
A TI bus or other standard bus may be used. Reference numeral 10 denotes a position control printed board, which detects the feedback signal of a row encoder built into the servo motor to control the servo motor, and is always used in the standard system.

11はバンファであり、位置制御プリント板10の内部
の信号を標準バス1に接続するためのものである。12
はマイクロプロセッサであり、位置制御プリント板10
の全体を制御する。13はメモリであり、制御プログラ
ム及び各種のデータが記憶されている。14はカウンタ
であり後述のロークリエンコーダからのフィードバック
パルスをカウントし、15はこのためのレシーバである
Reference numeral 11 denotes a bumper for connecting internal signals of the position control printed board 10 to the standard bus 1. 12
is a microprocessor, and the position control printed board 10
control the entire A memory 13 stores control programs and various data. 14 is a counter that counts feedback pulses from a low-resolution encoder, which will be described later, and 15 is a receiver for this purpose.

16は後述のサーボモータへのディジタル信号をアナロ
グ信号に変換するためのDAコンバータである。
16 is a DA converter for converting a digital signal to an analog signal to a servo motor, which will be described later.

21はサーボアンプであり、位置制御プリント板10の
DAコンバータ16の出力信号によってサーボモータ2
2を駆動する。サーボモータ22にはロークリエンコー
ダ23が内蔵されており、位置フィードバック信号を出
力し、レシーバ15にフィードバック信号を送る。サー
ボモータ22はボールネジ24を介して、機械テーブル
25を移動制御する0通常の数値制御装置システムはこ
の構成によって、機械を制御する。
21 is a servo amplifier, which controls the servo motor 2 by the output signal of the DA converter 16 of the position control printed board 10.
Drive 2. The servo motor 22 has a built-in rotary encoder 23 that outputs a position feedback signal and sends the feedback signal to the receiver 15. The servo motor 22 controls the movement of the machine table 25 via the ball screw 24. A normal numerical control system controls the machine with this configuration.

26は光学スケールであり、機械可動部に直接結合され
て、位置のフィードバック信号を発生する。この光学ス
ケール26は全ての機械に設けられず、特別に精度を要
求される機械にのみ設置される。
26 is an optical scale that is directly coupled to the mechanical moving part and generates a position feedback signal. This optical scale 26 is not installed in all machines, but only in machines that require special precision.

30は光学スケールインターフェイス用プリント板であ
り、レシーバ31、カウンタ32、バッファ33を有す
る。レシーバ31は光学スケール26からの信号を受け
、波形成形及び論理信号レベルに変換し、カウンタ32
に送る。カウンタ32はこのパルス信号をカウントする
。バッファ33はカウンタ32を標準バス1に接続する
ためのものであり、そのインターフェイスは標準バスエ
に合うように構成されている。
30 is a printed board for optical scale interface, which includes a receiver 31, a counter 32, and a buffer 33. The receiver 31 receives the signal from the optical scale 26, converts it into a waveform shape and logic signal level, and outputs the signal to the counter 32.
send to Counter 32 counts this pulse signal. The buffer 33 is for connecting the counter 32 to the standard bus 1, and its interface is configured to match the standard bus 1.

ここで、マイクロプロセッサ12は一定時間毎にカウン
タ32の内容を標準バス1をとうして読み、ロータリエ
ンコーダ23からの帰還信号を光学スケール26からの
帰還信号で補正して正確な位置決め制御を行う、また、
カウンタ32の内容ハ標準バス1に接続された、他のマ
イクロプロセッサで一旦読出して、マイクロプロセッサ
12に転送するように構成することもできる。
Here, the microprocessor 12 reads the contents of the counter 32 via the standard bus 1 at regular intervals, corrects the feedback signal from the rotary encoder 23 with the feedback signal from the optical scale 26, and performs accurate positioning control. ,Also,
The contents of the counter 32 may be read out by another microprocessor connected to the standard bus 1 and then transferred to the microprocessor 12.

このように、光学スケールインターフェイス用プリント
板にカウンタを設けて、光学スケールの帰還パルスをカ
ウンタするようにして、これを標準バスから読出すよう
に構成したので、光学スケール用プリント板を追加する
ための特別のインターフェイスを必要とせず、容易にオ
プションとして光学スケールの機能を追加することがで
きる。
In this way, we installed a counter on the printed board for the optical scale interface to count the feedback pulse of the optical scale, and read it from the standard bus. Optical scale functionality can be easily added as an option without requiring a special interface.

上記の実施例では、オプションとして光学スケール機能
で説明したが、他の電磁的なスケール等のオプションも
同様に構成することができる。
In the above embodiment, the optical scale function was explained as an option, but other options such as an electromagnetic scale can be similarly configured.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、光学スケールインター
フェイス用プリント板等のオプションのプリント板を標
準バスに接続できるように構成したので、光学スケール
用プリント板等のオプションを追加するための特別のイ
ンターフェイスを必要とせず、容易にオプション機能を
追加することができる。
As explained above, the present invention is configured so that an optional printed board such as an optical scale interface printed board can be connected to the standard bus, so a special interface for adding options such as an optical scale printed board is provided. Optional functions can be easily added without any need.

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

第1図は本発明の一実施例の全体のブロック図、第2図
は本発明の一実施例の概略の構成図である。
FIG. 1 is an overall block diagram of an embodiment of the present invention, and FIG. 2 is a schematic configuration diagram of an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプロセッサに位置制御をおこなわせる数
値制御装置のデータ伝送方式において、サーボモータに
内蔵された第1の位置検出器と、機械可動部の位置を直
接検出する第2の位置検出器と、 該第2の位置検出器からの出力パルスをカウントし、数
値制御装置の標準バスに接続されているカウンタと、 位置制御を行う前記マイクロプロセッサが該カウンタを
標準バスを経由して周期的に読込み、位置情報を位置制
御回路に与えるように構成したことを特徴とする数値制
御装置のデータ伝送方式。
(1) In a data transmission system for a numerical control device that allows a microprocessor to perform position control, a first position detector built into a servo motor and a second position detector that directly detects the position of a mechanical movable part are used. , a counter that counts output pulses from the second position detector and is connected to a standard bus of the numerical control device; and the microprocessor that performs position control periodically controls the counter via the standard bus. A data transmission system for a numerical control device, characterized in that it is configured to read and provide position information to a position control circuit.
JP13280587A 1987-05-28 1987-05-28 Data transmission system for numerical controller Pending JPS63298403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13280587A JPS63298403A (en) 1987-05-28 1987-05-28 Data transmission system for numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13280587A JPS63298403A (en) 1987-05-28 1987-05-28 Data transmission system for numerical controller

Publications (1)

Publication Number Publication Date
JPS63298403A true JPS63298403A (en) 1988-12-06

Family

ID=15089989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13280587A Pending JPS63298403A (en) 1987-05-28 1987-05-28 Data transmission system for numerical controller

Country Status (1)

Country Link
JP (1) JPS63298403A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994007188A1 (en) * 1992-09-18 1994-03-31 Fanuc Ltd Servo amplifier and servo system
US11628579B2 (en) 2019-03-25 2023-04-18 Seiko Epson Corporation Robot system and robot

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994007188A1 (en) * 1992-09-18 1994-03-31 Fanuc Ltd Servo amplifier and servo system
US5621292A (en) * 1992-09-18 1997-04-15 Fanuc Ltd. Servo amplifier and servo system which reduce cable interface
US11628579B2 (en) 2019-03-25 2023-04-18 Seiko Epson Corporation Robot system and robot

Similar Documents

Publication Publication Date Title
CA1239696A (en) Aircraft flight data recorder data acquisition system
EP0122773A3 (en) Arbitrator circuit and technique for use in a digital computing system having multiple bus controllers
JPS6475912A (en) Apparatus for processing signal from angle position converter
SU832567A1 (en) Device for introducing graphic and text information
US4859920A (en) Interface system for servo controller
JPS63298403A (en) Data transmission system for numerical controller
US6191543B1 (en) Integrated circuit for multiple-axis position control
EP0319668A3 (en) Inter and intra priority resolution network for an asynchronous bus system
JPS63148881A (en) Speed control device for servo motor
US6195690B1 (en) Network based data acquisition system
US4716516A (en) Modular machine tool controller
US4792738A (en) Machine position sensing device
EP0311929B1 (en) Data transfer bus in profile and/or dimension measuring system
US7023151B2 (en) Switching device for controlling at least two motors
US5007004A (en) Control circuit for point-generating units of a write head
SU1495640A1 (en) Device for measuring movements
SU1040481A1 (en) Data input device
JPS634746B2 (en)
JPS63147252A (en) Multi-processor system
BE1006610A3 (en) Conveyor system
SU1659988A2 (en) Parameters checker
SU1327114A1 (en) Apparatus for mating "n" pickups to computer
SU1314326A1 (en) Information input device
JPH0644245U (en) Multi-function encoder
KR940003719Y1 (en) Arrangement for starting electric motor