JPH07287613A - Axial speed deciding system - Google Patents

Axial speed deciding system

Info

Publication number
JPH07287613A
JPH07287613A JP8117894A JP8117894A JPH07287613A JP H07287613 A JPH07287613 A JP H07287613A JP 8117894 A JP8117894 A JP 8117894A JP 8117894 A JP8117894 A JP 8117894A JP H07287613 A JPH07287613 A JP H07287613A
Authority
JP
Japan
Prior art keywords
axis
speed
vector
control
designated
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
JP8117894A
Other languages
Japanese (ja)
Inventor
Katsuhiro Endo
勝博 遠藤
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 JP8117894A priority Critical patent/JPH07287613A/en
Publication of JPH07287613A publication Critical patent/JPH07287613A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute a linear interpolation and a circular arc interpolation holding the speed of a specified control axis constant by a simple programming, with respect to an axial speed deciding system deciding the speed of the control axis in a numerial controller. CONSTITUTION:A designated axis speed setting means 3 makes the speed of the designated control axis of control axes or an X-axis, for instance, constant speed FXO and sets the speed vector FXO* of the X-axis. A direction vector deciding means 2 decides a direction vector V* based on the location command of a read working program 14a. An other axis speed deciding means 4 decides the speed vector of other control axis except the designated axis or a Z-axis, for instance, based on the speed vector FXO* of the designated axis (X-axis) and the direction vector V*. As a result, a grinder 92 or a work 91 advances along the direction vector V* to be decided based on a location command, the designated axis (X-axis) rotates at the set constant speed at the time and a table 90 is advanced at constant speed FXO.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は数値制御装置での制御軸
の速度を決定する軸速度決定方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shaft speed determination system for determining the speed of a control shaft in a numerical controller.

【0002】[0002]

【従来の技術】数値制御装置での直線補間や円弧補間に
おいては、その指令速度は、2点間の接線方向の速度F
で与えられ、その接線方向の速度Fから各制御軸の速度
成分、Fx、Fy、Fzが計算され分配されている。こ
のため、工具やワークの移動速度が一定に制御されて
も、各制御軸の速度は必ずしも一定にはならない。
2. Description of the Related Art In linear interpolation and circular interpolation in a numerical control device, the command speed is a tangential speed F between two points.
The velocity components Fx, Fy, Fz of each control axis are calculated and distributed from the velocity F in the tangential direction. Therefore, even if the moving speed of the tool or the work is controlled to be constant, the speed of each control axis is not necessarily constant.

【0003】一方、制御軸を常時一定の速度で送りたい
場合がある。例えば、平面研削盤に上面が緩曲面のワー
クを固定したテーブルをX軸方向に一定速度で送って安
定した加工を行いたい場合である。このような場合、軸
の速度成分を一定に保持するためには、指令ブロック毎
に接線方向の速度Fを指令しなおすというプログラミン
グ作業が必要となる。
On the other hand, there are cases where it is desired to feed the control axis at a constant speed all the time. For example, there is a case where a table in which a work having an upper surface of a gentle curved surface is fixed to a surface grinder is fed at a constant speed in the X-axis direction to perform stable processing. In such a case, in order to keep the velocity component of the axis constant, a programming operation of re-instructing the tangential velocity F for each command block is required.

【0004】また、円弧補間において、ある特定の制御
軸の速度成分を一定に保持しようとすると、円弧を微小
区間に分けてその区間毎に接線方向の速度Fを指令しな
おすことが必要となる。
In circular interpolation, if the velocity component of a specific control axis is to be kept constant, it is necessary to divide the circular arc into minute sections and re-command the tangential velocity F for each section. .

【0005】[0005]

【発明が解決しようとする課題】しかし、このようなプ
ログラミング作業は、煩雑であり、また時間も要してい
た。特に、円弧補間の場合は、微小区間毎に速度Fを指
令しなおすということは、事実上不可能であり、ある特
定の制御軸の速度を一定に保持するような指令を行うこ
とはできなかった。
However, such programming work is complicated and time-consuming. In particular, in the case of circular interpolation, it is virtually impossible to recommand the speed F for each minute section, and it is not possible to issue a command to keep the speed of a specific control axis constant. It was

【0006】本発明はこのような点に鑑みてなされたも
のであり、ある特定の制御軸の速度を一定に保持させる
ような直線補間及び円弧補間を簡単なプログラミングで
実行することができる軸速度決定方式を提供することを
目的とする。
The present invention has been made in view of the above circumstances, and it is possible to execute linear interpolation and circular interpolation for maintaining the speed of a specific control axis constant with simple programming. The purpose is to provide a decision method.

【0007】[0007]

【課題を解決するための手段】本発明では上記課題を解
決するために、数値制御装置での制御軸の速度を決定す
る軸速度決定方式において、軸指定情報に従って、前記
制御軸のうち指定された制御軸の速度を一定にし、その
指定軸の速度ベクトルを設定する指定軸速度設定手段
と、読み取った加工プログラムの位置情報に基づいて方
向ベクトルを決定する方向ベクトル決定手段と、前記指
定軸の速度ベクトル及び前記方向ベクトルをもとに前記
指定軸以外の他の制御軸の速度ベクトルを決定する他軸
速度決定手段と、を有することを特徴とする軸速度決定
方式が、提供される。
According to the present invention, in order to solve the above problems, in a shaft speed determination method for determining the speed of a control shaft in a numerical controller, one of the control shafts is designated according to the shaft designation information. The speed of the control axis is made constant, the specified axis speed setting means for setting the speed vector of the specified axis, the direction vector determination means for determining the direction vector based on the position information of the read machining program, and the specified axis The other axis speed determining means for determining the speed vector of the control axis other than the designated axis based on the speed vector and the direction vector is provided.

【0008】[0008]

【作用】指定軸速度設定手段は、軸指定情報に従って、
制御軸のうち指定された制御軸の速度を一定にし、その
指定軸の速度ベクトルを設定する。方向ベクトル決定手
段は、読み取った加工プログラムの位置指令に基づいて
方向ベクトルを決定する。そして、他軸速度決定手段
は、指定軸の速度ベクトルと方向ベクトルとに基づい
て、指定軸以外の他の制御軸の速度ベクトルを決定す
る。
Function: The designated axis speed setting means, according to the axis designation information,
The speed of the designated control axis among the control axes is made constant, and the velocity vector of the designated axis is set. The direction vector determining means determines the direction vector based on the position command of the read machining program. Then, the other axis speed determining means determines the speed vector of the control axis other than the specified axis based on the speed vector and the direction vector of the specified axis.

【0009】工具またはワークは位置指令に基づいて決
定される方向ベクトルに沿って進み、その際に指定軸は
設定された一定の速度で回転し、テーブル等を一定速度
でその軸方向に進ませる。
The tool or the work advances along a direction vector determined based on the position command, and at that time, the designated axis rotates at a set constant speed, and the table or the like advances in the axial direction at the constant speed. .

【0010】[0010]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明の軸速度決定方式の構成を示すブロ
ック図である。図において、数値制御装置の前処理手段
1は、加工プログラム14aを読み取り、その読み取り
情報の内、位置情報を補間手段5及び方向ベクトル決定
手段2に、また軸指定情報を軸指定手段3にそれぞれ送
る。ここで、軸指定情報は、制御軸の指定情報とその指
定した制御軸(指定軸)の速度情報とから成る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the shaft speed determination method of the present invention. In the figure, the pre-processing means 1 of the numerical controller reads the machining program 14a, and among the read information, the position information is supplied to the interpolating means 5 and the direction vector determining means 2, and the axis specifying information is supplied to the axis specifying means 3. send. Here, the axis designation information is composed of control axis designation information and speed information of the designated control axis (designated axis).

【0011】指定軸速度設定手段3は、受け取った軸指
定情報に基づいて、制御軸のX軸、Y軸、Z軸のうちい
ずれか一つの制御軸、ここでは例えばX軸を指定すると
共に、その指定軸であるX軸の速度Fxを一定速度Fx
0 に固定し、その結果得られるX軸の速度ベクトルFx
0 * を他軸速度決定手段4に出力する。
Based on the received axis designation information, the designated axis speed setting means 3 designates one of the X-axis, Y-axis, and Z-axis control axes, here, for example, the X-axis. The velocity Fx of the designated X-axis is the constant velocity Fx
Fixed to 0 and the resulting X-axis velocity vector Fx
0 * is output to the other axis speed determining means 4.

【0012】方向ベクトル決定手段2は、受け取った位
置情報に基づいて2点間を結んで得られる方向ベクトル
* を他軸速度決定手段4に出力する。この方向ベクト
ルV * の詳細は後述する。
The direction vector determining means 2 receives the received information.
Direction vector obtained by connecting two points based on the placement information
V*Is output to the other axis speed determining means 4. This direction vector
Le V *Details of will be described later.

【0013】他軸速度決定手段4は、X軸の速度ベクト
ルFx0 * と方向ベクトルV* とに基づいて、X軸以外
の他軸の速度ベクトルであるY軸の速度ベクトルFy*
またはZ軸の速度ベクトルFz* を決定し、その結果得
られた速度情報Fx0 、Fy、Fzを補間手段5に出力
する。なお、他軸は位置情報に対応する軸であり、位置
情報がX軸位置情報及びY軸位置情報から構成され、X
軸が指定軸のとき、他軸はY軸となり、また位置情報が
X軸位置情報及びZ軸位置情報から構成され、X軸が指
定軸のとき、他軸はZ軸となる。この他軸の速度ベクト
ル決定方法については詳細を後述する。
The other-axis speed determining means 4 is based on the X-axis speed vector Fx 0 * and the direction vector V *, and is the Y-axis speed vector Fy * which is the speed vector of the other axis than the X-axis .
Alternatively, the velocity vector Fz * of the Z axis is determined, and the velocity information Fx 0 , Fy, Fz obtained as a result is output to the interpolating means 5. The other axis is an axis corresponding to the position information, and the position information is composed of X-axis position information and Y-axis position information.
When the axis is the designated axis, the other axis is the Y axis, and the position information is composed of the X axis position information and the Z axis position information. When the X axis is the designated axis, the other axis is the Z axis. The method for determining the velocity vector of the other axis will be described in detail later.

【0014】補間手段5は、前処理手段1からの位置情
報、及び他軸速度決定手段4からの各軸速度情報F
0 、Fy、Fzとに基づいて、X軸、Y軸、Z軸にそ
れぞれ分配される分配パルスXp、Yp、Zpを決定
し、その分配パルスXp、Yp、ZpをX軸制御手段6
a、Y軸制御手段6b、Z軸制御手段6cに出力する。
工作機械側の各モータ61、62、63は、その分配パ
ルスXp、Yp、Zpによって駆動制御され、その結果
砥石92は速度FzでZ方向に移動制御され、またテー
ブル90上のワーク91は、一定速度Fx0 でX方向に
移動制御される。
The interpolating means 5 includes position information from the preprocessing means 1 and each axis speed information F from the other axis speed determining means 4.
Based on x 0 , Fy, and Fz, distribution pulses Xp, Yp, and Zp distributed to the X axis, Y axis, and Z axis are determined, and the distribution pulses Xp, Yp, and Zp are determined by the X axis control means 6.
a, Y-axis control means 6b, Z-axis control means 6c.
The respective motors 61, 62, 63 on the machine tool side are drive-controlled by the distribution pulses Xp, Yp, Zp, and as a result, the grindstone 92 is movement-controlled in the Z direction at the speed Fz, and the work 91 on the table 90 is The movement is controlled in the X direction at a constant speed Fx 0 .

【0015】図2は本発明が適用される数値制御装置
(CNC)の全体構成を示すハードウェアのブロック図
である。図において、プロセッサ11は数値制御装置
(CNC)10全体の制御の中心となるプロセッサであ
り、バス21を介して、ROM12に格納されたシステ
ムプログラムを読み出し、そのシステムプログラムに従
って、CNC10全体の制御を実行する。上記の前処理
手段1、方向ベクトル決定手段2、指定軸速度設定手段
3、他軸速度決定手段4、及び補間手段5は、プロセッ
サ11がROM12のシステムプログラムに従って実行
するソフトウェアによる機能である。
FIG. 2 is a block diagram of hardware showing an overall configuration of a numerical controller (CNC) to which the present invention is applied. In the figure, a processor 11 is a central processor for controlling the entire numerical controller (CNC) 10, reads a system program stored in a ROM 12 via a bus 21, and controls the entire CNC 10 according to the system program. Run. The preprocessing means 1, the direction vector determination means 2, the designated axis speed setting means 3, the other axis speed determination means 4, and the interpolation means 5 are functions of software executed by the processor 11 according to the system program in the ROM 12.

【0016】ROM12にはEPROMあるいはEEP
ROMが使用される。RAM13はDRAMが使用さ
れ、各種のデータが格納される。不揮発性メモリ14に
は加工プログラム14a、パラメータ等が記憶され、バ
ッテリバックアップされたCMOSが使用されるので、
数値制御装置の電源切断後もその内容が保持される。
The ROM 12 is EPROM or EEP.
ROM is used. DRAM is used as the RAM 13, and various data is stored therein. Since the non-volatile memory 14 stores the processing program 14a, parameters, etc., and the battery-backed CMOS is used,
The contents are retained even after the power of the numerical control device is turned off.

【0017】インタフェース15は外部機器用のインタ
フェースであり、紙テープリーダ、紙テープパンチャー
等の外部機器31が接続される。紙テープリーダからは
加工プログラムが読み込まれ、また、CNC10内で編
集された加工プログラムを紙テープパンチャーに出力す
ることができる。
The interface 15 is an interface for an external device, and is connected to an external device 31 such as a paper tape reader or a paper tape puncher. The processing program is read from the paper tape reader, and the processing program edited in the CNC 10 can be output to the paper tape puncher.

【0018】PMC(プログラマブル・マシン・コント
ローラ)16はCNC10に内蔵され、ラダー形式で作
成されたシーケンスプログラムで機械側を制御する。す
なわち、加工プログラムで指令されたM機能、S機能、
T機能に従って、これらをシーケンスプログラムで機械
側に必要な信号に変換し、I/Oユニット17から機械
側に出力する。この出力信号は機械側のマグネット等を
駆動し、油圧バルブ、空圧バルブ及び電気アクチュエー
タ等を作動させる。また、機械側のリミットスイッチ及
び機械操作盤のスイッチ等の信号を受けて、必要な処理
をしてプロセッサ11に渡す。
A PMC (Programmable Machine Controller) 16 is built in the CNC 10 and controls the machine side with a sequence program created in a ladder format. That is, the M function, the S function, which are instructed by the machining program,
According to the T function, these are converted into a signal necessary for the machine side by the sequence program and output from the I / O unit 17 to the machine side. This output signal drives a magnet or the like on the machine side to operate a hydraulic valve, a pneumatic valve, an electric actuator or the like. Further, it receives a signal from a machine-side limit switch, a machine operation panel switch, or the like, performs necessary processing, and passes it to the processor 11.

【0019】CRT/MDIユニット25へは各軸の現
在位置、移動量等のデータが送られて、表示される。ま
た、CRT/MDIユニット25内のキーボードからの
データ入力信号がインタフェース19に送られ、バス2
1を経由してプロセッサ11に渡される。
Data such as the current position and movement amount of each axis is sent to the CRT / MDI unit 25 and displayed. Further, a data input signal from the keyboard in the CRT / MDI unit 25 is sent to the interface 19, and the bus 2
1 is passed to the processor 11.

【0020】インタフェース20は手動パルス発生器3
2に接続され、手動パルス発生器32からのパルスを受
ける。手動パルス発生器32は機械操作盤に実装され、
手動で機械稼動部を精密に位置決めするのに使用され
る。
The interface 20 is a manual pulse generator 3
2 and receives the pulse from the manual pulse generator 32. The manual pulse generator 32 is mounted on the machine operation panel,
Used to precisely position the machine working part by hand.

【0021】軸制御回路41〜43はプロセッサ11か
らの各軸の位置指令を受けて、サーボモータ61〜63
を制御するための速度指令信号をサーボアンプ51〜5
3に出力する。サーボアンプ51〜53は、この速度指
令信号を増幅し、サーボモータ61〜63を駆動する。
上記のX軸制御手段6a〜6cは、この軸制御回路41
〜43及びサーボアンプ51〜53に相当する。サーボ
モータ61〜63には、位置検出用のパルスコーダ(図
示せず)がパルス列としてフィードバックされる。場合
によっては、位置検出用として、リニアスケールが使用
される。また、このパルス列をF/V(周波数/速度)
変換することにより、速度信号を生成することができ
る。図ではこれらの位置信号のフィードバックライン及
び速度フィードバックは省略してある。
The axis control circuits 41 to 43 receive the position command of each axis from the processor 11 and receive servo motors 61 to 63.
Speed command signals for controlling the servo amplifiers 51 to 5
Output to 3. The servo amplifiers 51 to 53 amplify this speed command signal and drive the servo motors 61 to 63.
The X-axis control means 6a to 6c described above use the axis control circuit 41.
To 43 and servo amplifiers 51 to 53. A pulse coder (not shown) for position detection is fed back to the servo motors 61 to 63 as a pulse train. In some cases, a linear scale is used for position detection. In addition, this pulse train is F / V (frequency / speed)
By converting, a velocity signal can be generated. In the figure, the feedback line and velocity feedback of these position signals are omitted.

【0022】スピンドル制御回路71は、スピンドル回
転指令及びスピンドルのオリエンテーション等の指令を
受けて、スピンドルアンプ72にスピンドル速度信号を
出力する。スピンドルアンプ72は、このスピンドル速
度信号を受けて、スピンドルモータ73を指令された回
転速度で回転させる。その回転によって砥石92(図
1、図3)が回転し、研削が行われる。また、オリエン
テーション指令によって、所定の位置にスピンドルモー
タ73を位置決めする。なお、スピンドルモータ73に
はポジションコーダ82が歯車等で結合され、そのポジ
ションコーダ82からの帰還パルスは、インタフェース
81を経由してプロセッサ11によって読み取られる。
この帰還パルスは、他の軸をスピンドルモータ73に同
期させるのに使用される。
The spindle control circuit 71 outputs a spindle speed signal to a spindle amplifier 72 in response to a spindle rotation command and a spindle orientation command. The spindle amplifier 72 receives the spindle speed signal and rotates the spindle motor 73 at the commanded rotation speed. The rotation causes the grindstone 92 (FIGS. 1 and 3) to rotate, and grinding is performed. Further, the spindle motor 73 is positioned at a predetermined position according to the orientation command. A position coder 82 is coupled to the spindle motor 73 by a gear or the like, and a feedback pulse from the position coder 82 is read by the processor 11 via the interface 81.
This feedback pulse is used to synchronize the other axis with the spindle motor 73.

【0023】次に図3〜図6を用いて本発明に係る軸速
度決定について説明する。ここでは、図3に示すよう
に、ワーク91を砥石92で研削する場合について説明
する。図3において、ワーク91はテーブル90に固定
され、そのテーブル90はサーボモータ61によってX
方向に、サーボモータ62によって紙面に垂直なY方向
にそれぞれ移動する。また、砥石92はサーボモータ6
3によってZ方向に移動する。砥石92の回転駆動は、
ここでは図示されていないスピンドルモータ73によっ
て行われる。
Next, the shaft speed determination according to the present invention will be described with reference to FIGS. Here, as shown in FIG. 3, the case where the workpiece 91 is ground by the grindstone 92 will be described. In FIG. 3, the work 91 is fixed to the table 90, and the table 90 is moved by the servo motor 61 to X-axis.
In the Y direction, which is perpendicular to the paper surface, by the servomotor 62. Further, the grindstone 92 is the servomotor 6
Move in the Z direction by 3. The rotation drive of the grindstone 92 is
This is performed by a spindle motor 73 not shown here.

【0024】図4はワークの仕上がり時の外形寸法を示
す図である。ワーク91には、その上面の両端に直線状
の傾斜面911及び912が、また中央にR100mm
の円弧面912がそれぞれ形成される。ここで、このよ
うな形状を持つワーク91を砥石92を用いて研削する
場合の加工プログラムを説明する。
FIG. 4 is a diagram showing the outer dimensions of the finished work. The work 91 has linear inclined surfaces 911 and 912 at both ends of its upper surface, and R100 mm at the center.
Arc surfaces 912 are formed. Here, a processing program for grinding the workpiece 91 having such a shape using the grindstone 92 will be described.

【0025】先ず、下記のようなプログラム番号1の加
工プログラムを実行する。 O0001; G200 F1000; M98 P1000; M98 P2000; M99; 「G200」というコードは本発明に係るコードであ
り、この指令によって、本プログラムによる加工は、X
軸の速度が一定に保持される。そのX軸方向の速度は、
「F1000」によって、1000mm/minに設定
される。続く「M98」によって、プログラム番号10
00及びプログラム番号2000が実行された後、、
「M99」によってプログラムが終了する。次に、プロ
グラム番号1000を下記に示す。 O1000; G01 G91 X10.Z5.; G02 X50.R100.; G01 X10.Z−5; M99; このプログラム番号1000は、図4の左側から右側に
研削を行う場合のプログラムである。前段の「G01」
によって直線補間が行われ傾斜面911の研削加工が行
われる。次の「G02」によって円弧補間が行われ円弧
面912の研削加工が行われる。後段の「G01」によ
って直線補間が行われ傾斜面913の研削加工が行われ
る。なお、「G91」及び後述する「G92」は座標値
をインクリメンタルディメンションとして処理させる指
令である。この研削加工において、X軸方向の速度は、
上述したように、「G200 F1000」によって、
一定の速度1000mm/minに保持される。
First, the following machining program of program number 1 is executed. O0001; G200 F1000; M98 P1000; M98 P2000; M99; The code "G200" is the code according to the present invention.
The speed of the shaft is kept constant. The speed in the X-axis direction is
It is set to 1000 mm / min by "F1000". Program number 10 by following "M98"
00 and program number 2000 are executed,
The program ends with "M99". Next, program number 1000 is shown below. O1000; G01 G91 X10. Z5. G02 X50. R100. G01 X10. Z-5; M99; This program number 1000 is a program for grinding from the left side to the right side in FIG. "G01" in the previous stage
By the linear interpolation, the inclined surface 911 is ground. Next, "G02" is used to perform circular arc interpolation to grind the circular arc surface 912. Linear interpolation is performed by "G01" in the latter stage, and the inclined surface 913 is ground. Note that "G91" and "G92" described later are commands for processing coordinate values as incremental dimensions. In this grinding process, the speed in the X-axis direction is
As mentioned above, by "G200 F1000",
It is maintained at a constant speed of 1000 mm / min.

【0026】次に、プログラム番号2000を下記に示
す。 O2000; G01 G91 X−10.Z5.; G03 X−50.R100.; G01 X−10.Z−5; M99; このプログラム番号2000は、図4の右側から左側に
研削を行う場合のプログラムである。前段の「G01」
によって直線補間が行われ傾斜面913の研削加工が行
われる。次の「G02」によって円弧補間が行われ円弧
面912の研削加工が行われる。後段の「G01」によ
って直線補間が行われ傾斜面911の研削加工が行われ
る。プログラム番号1000による研削加工の場合と同
様に、この研削加工においても、X軸方向の速度は、
「G200 F1000」によって一定の速度1000
mm/minに保持される。ただし、その方向は負の方
向になる。
Next, the program number 2000 is shown below. O2000; G01 G91 X-10. Z5. G03 X-50. R100. G01 X-10. Z-5; M99; This program number 2000 is a program for grinding from the right side to the left side in FIG. "G01" in the previous stage
By the linear interpolation, the inclined surface 913 is ground. Next, "G02" is used to perform circular arc interpolation to grind the circular arc surface 912. The linear interpolation is performed by "G01" in the latter stage, and the inclined surface 911 is ground. As in the case of the grinding by the program number 1000, the speed in the X-axis direction in this grinding is
"G200 F1000" gives a constant speed of 1000
It is held at mm / min. However, that direction is negative.

【0027】図5は本発明に係る軸速度決定の手順説明
図である。先ず、ステップ1において、加工プログラム
中の「G*** F1000」が読み込まれる。「G*
**」は、制御軸を指定するコードであり、上記の例の
「G200」では、X軸が指定される。そして、「F1
000」によって、その指定軸の速度が一定に設定され
る。
FIG. 5 is an explanatory view of the procedure for determining the shaft speed according to the present invention. First, in step 1, "G *** F1000" in the machining program is read. "G *
"**" is a code that specifies the control axis, and in "G200" in the above example, the X axis is specified. And "F1
"000" sets the speed of the designated axis to a constant value.

【0028】次に、ステップ2において、方向ベクトル
* を求める。すなわち、現在位置P1と、ステップ1
において読み取った目標位置P2との間を結んで方向ベ
クトルV* を求める。
Next, in step 2, the direction vector V * is obtained. That is, the current position P1 and step 1
The directional vector V * is obtained by connecting the target position P2 read in.

【0029】続いて、ステップ3において、ステップ1
の情報から得られる指定軸(ここではX軸とする)の速
度ベクトルFx* 、及び上記の方向ベクトルV* から、
他の制御軸であるZ軸の速度ベクトルFz* を決定す
る。
Then, in step 3, step 1
Velocity vectors Fx * of the designated axis is obtained from the information (here, the X-axis), and the direction vector V * described above,
The velocity vector Fz * of the Z axis which is another control axis is determined.

【0030】直線補間または円弧補間は、上記手順で得
られたX軸の速度Fx及びZ軸の速度Fzを基にして行
われる。このような補間によって得られた分配パルス信
号は、上述したように、軸制御回路41〜43、及びサ
ーボアンプ51〜53を経由して、図3に示した各軸を
駆動するサーボモータ61、62、63に送られる。そ
の結果、テーブル90のX軸方向の速度は一定速度Fx
0 に保持され、他方のZ軸方向の速度は、上記手順で得
られる速度Fzに制御される。
The linear interpolation or the circular interpolation is performed based on the X-axis speed Fx and the Z-axis speed Fz obtained in the above procedure. The distributed pulse signal obtained by such interpolation passes through the axis control circuits 41 to 43 and the servo amplifiers 51 to 53 as described above, and the servo motor 61 for driving each axis shown in FIG. 62, 63. As a result, the speed of the table 90 in the X-axis direction is constant speed Fx.
The velocity in the other Z-axis direction is held at 0, and is controlled to the velocity Fz obtained by the above procedure.

【0031】このように、本実施例では、加工プログラ
ム中の「G*** F・・・」の指令によって、制御軸
の指定とその指定軸の速度設定を行い、指定軸の速度ベ
クトルと方向ベクトルとから他軸の速度ベクトルを求
め、その結果得られる各軸の速度情報をもとにして直線
補間または円弧補間を行うようにしたので、ある特定の
制御軸の速度を一定に保持させるような直線補間または
円弧補間を簡単なプログラミングで実行することができ
る。したがって、例えば、テーブル90をX軸方向に一
定速度で送るような、安定した加工も容易に実行させる
ことができる。
As described above, in this embodiment, the control axis is designated and the speed of the designated axis is set by the command of "G *** F ..." in the machining program, and the speed vector of the designated axis is set. Since the velocity vector of the other axis is calculated from the direction vector and the linear or circular interpolation is performed based on the velocity information of each axis obtained as a result, the velocity of a specific control axis is held constant. Such linear interpolation or circular interpolation can be executed by simple programming. Therefore, stable machining such as feeding the table 90 in the X-axis direction at a constant speed can be easily executed.

【0032】また従来、ある特定の軸速度を一定に保持
させるような円弧補間は事実上不可能であったが、本実
施例によれば、そのような円弧補間も簡単なプログラム
で容易に実行させることができる。
Further, conventionally, circular interpolation for keeping a certain specific axis speed constant was practically impossible, but according to the present embodiment, such circular interpolation can be easily executed by a simple program. Can be made.

【0033】[0033]

【発明の効果】以上説明したように本発明では、制御軸
の指定とその指定軸の速度設定を簡単なプログラム指令
によって行い、その結果得られる各軸の速度情報をもと
にして直線補間または円弧補間を行うようにしたので、
ある特定の制御軸の速度を一定に保持させるような直線
補間または円弧補間を簡単なプログラミングで実行する
ことができ、例えば、テーブルをX軸方向に一定速度で
送るような、安定した加工も容易に実行させることがで
きる。
As described above, according to the present invention, the control axis is specified and the speed of the specified axis is set by a simple program command, and linear interpolation or linear interpolation is performed based on the speed information of each axis obtained as a result. Since I tried to do circular interpolation,
Linear or circular interpolation that keeps the speed of a specific control axis constant can be executed with simple programming. For example, stable machining is also easy, such as feeding the table at a constant speed in the X-axis direction. Can be executed.

【0034】また従来、ある特定の軸速度を一定に保持
させるような円弧補間は事実上不可能であったが、その
ような円弧補間も簡単なプログラムで容易に実行させる
ことができる。
Conventionally, it has been practically impossible to perform circular interpolation for keeping a certain specific axis velocity constant, but such circular interpolation can be easily executed by a simple program.

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

【図1】本発明の軸速度決定方式の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a shaft speed determination system of the present invention.

【図2】本発明が適用される数値制御装置(CNC)の
全体構成を示すハードウェアのブロック図である。
FIG. 2 is a hardware block diagram showing an overall configuration of a numerical controller (CNC) to which the present invention is applied.

【図3】本発明を研削加工に適用した場合の説明図であ
る。
FIG. 3 is an explanatory diagram when the present invention is applied to grinding.

【図4】ワークの仕上がり時の外形寸法を示す図であ
る。
FIG. 4 is a diagram showing external dimensions of a finished work.

【図5】本発明に係る軸速度決定の手順説明図である。FIG. 5 is an explanatory diagram of a procedure for determining a shaft speed according to the present invention.

【符号の説明】 1 前処理手段 2 方向ベクトル決定手段 3 指定軸速度設定手段 4 他軸速度決定手段 5 補間手段 6a〜6c 各軸制御手段 10 数値制御装置(CNC) 11 プロセッサ 12 ROM 13 RAM 14 CMOS 41〜43 軸制御回路 51〜53 サーボアンプ 61〜63 サーボモータ 90 テーブル 91 ワーク 92 砥石[Explanation of Codes] 1 Pre-processing means 2 Direction vector determination means 3 Designated axis speed setting means 4 Other axis speed determination means 5 Interpolation means 6a to 6c Each axis control means 10 Numerical controller (CNC) 11 Processor 12 ROM 13 RAM 14 CMOS 41-43 Axis control circuit 51-53 Servo amplifier 61-63 Servo motor 90 Table 91 Work piece 92 Grinding stone

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 数値制御装置での制御軸の速度を決定す
る軸速度決定方式において、 軸指定情報に従って、前記制御軸のうち指定された制御
軸の速度を一定にし、その指定軸の速度ベクトルを設定
する指定軸速度設定手段と、 読み取った加工プログラムの位置情報に基づいて方向ベ
クトルを決定する方向ベクトル決定手段と、 前記指定軸の速度ベクトル及び前記方向ベクトルをもと
に前記指定軸以外の他の制御軸の速度ベクトルを決定す
る他軸速度決定手段と、 を有することを特徴とする軸速度決定方式。
1. A shaft speed determining method for determining a speed of a control axis in a numerical controller, wherein a speed of a designated control axis among the control axes is made constant according to axis designation information, and a velocity vector of the designated axis is set. A specified axis speed setting means for setting a direction vector determining means for determining a direction vector based on the position information of the read machining program; and a speed vector of the specified axis and the direction vector other than the specified axis. An axis speed determination method comprising: another axis speed determination means for determining a speed vector of another control axis.
【請求項2】 前記軸指定手段はGコードによって前記
制御軸の指定及び速度ベクトルの設定を行うことを特徴
とする請求項1記載の軸速度決定方式。
2. The axis speed determining system according to claim 1, wherein the axis specifying means specifies the control axis and sets a speed vector by a G code.
JP8117894A 1994-04-20 1994-04-20 Axial speed deciding system Pending JPH07287613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8117894A JPH07287613A (en) 1994-04-20 1994-04-20 Axial speed deciding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8117894A JPH07287613A (en) 1994-04-20 1994-04-20 Axial speed deciding system

Publications (1)

Publication Number Publication Date
JPH07287613A true JPH07287613A (en) 1995-10-31

Family

ID=13739220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8117894A Pending JPH07287613A (en) 1994-04-20 1994-04-20 Axial speed deciding system

Country Status (1)

Country Link
JP (1) JPH07287613A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019160073A (en) * 2018-03-15 2019-09-19 オークマ株式会社 Position control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019160073A (en) * 2018-03-15 2019-09-19 オークマ株式会社 Position control system
CN110275486A (en) * 2018-03-15 2019-09-24 大隈株式会社 Position control system

Similar Documents

Publication Publication Date Title
JP4406034B2 (en) Numerical control device for controlling a 5-axis machine
JP6426662B2 (en) Numerical control device for skiving control
JP4813616B1 (en) Numerical control device for machine tool having speed control function during arc motion
JP4796936B2 (en) Processing control device
US6269283B1 (en) Machining limit area specifying method and manuel feed machining method using numerical control unit
CN108873818B (en) Numerical controller
JP3558508B2 (en) Control device for NC machine tool
JPH06285701A (en) Nc lathe turning device
US5977736A (en) Superposition control method using numerical controller
US5181178A (en) Spindle control command method
EP0343257B1 (en) Numerical controller
JP4116640B2 (en) Numerical control device with multi-system control function
JP2004202594A (en) Numerical control device
JPH07287613A (en) Axial speed deciding system
CN109129176B (en) Control device
JPH07334223A (en) Tool spindle attitude control system
JPH03126104A (en) Feed speed control system
JP6666234B2 (en) Numerical control unit
JPH0474205A (en) Correction system for tool diameter
JPH0379262A (en) Swing grinding method for numerical control device
JPH03172903A (en) Feed speed control system for numerical controller
JPH0830318A (en) Feeding speed control system
JPS6093510A (en) Override control system of numerical controller
JPH05143123A (en) Turret lathe and its numerical controller
JPH06312341A (en) Numeral control device