JPS62130411A - Numerical control method - Google Patents

Numerical control method

Info

Publication number
JPS62130411A
JPS62130411A JP27040385A JP27040385A JPS62130411A JP S62130411 A JPS62130411 A JP S62130411A JP 27040385 A JP27040385 A JP 27040385A JP 27040385 A JP27040385 A JP 27040385A JP S62130411 A JPS62130411 A JP S62130411A
Authority
JP
Japan
Prior art keywords
block
time
moving
processing
pulse distribution
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
JP27040385A
Other languages
Japanese (ja)
Inventor
Hideaki Kawamura
川村 英昭
Kentaro Fujibayashi
謙太郎 藤林
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 JP27040385A priority Critical patent/JPS62130411A/en
Publication of JPS62130411A publication Critical patent/JPS62130411A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34175Overlap, between two blocks, continuous, smooth speed change, movement

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To improve the accuracy of a machined surface and to prolong the tool life by operating the time moving a next block while a current one is moving and comparing said time with that necessary for block processing so as to control a feed speed. CONSTITUTION:An NC device is constructed of a processor 101, a ROM 102, a RAM 103, a data reader 104, a console panel 105, a manual data input (MDI) device 106, a pulse distributor 107, etc., and controls each axis motor 109 in a machine tool 110 through each axis servo circuit 108. In terms of block processing for the next block bi executed during shifting and controlling the current block bi-1 (during pulse distribution), the moving time Ti of the block is operated with the aid of the moving distance Li of the next block bi and a command feed speed Fi, and is compared with a time TB required for block processing. When Ti<T4B, the feed speed Fi' is set below a speed decided by Li/TB.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は数値制御方法に係り、特に途切れることなくパ
ルス分配を行うことができる数値制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a numerical control method, and particularly to a numerical control method that can perform pulse distribution without interruption.

〈従来技術〉 数値制御装置(NC装置)は、現ブロックのNCデータ
に基づいてパルス分配演算を実行している際に、次ブロ
ックのNCデータを用いて所定のブロック処理を行い、
現ブロックのパルス分配完了後に直ちに前記ブロック処
理により得られたデータに基づいてパルス分配演算を実
行するようにしている。尚、ブロック処理においてはN
Cデータの解読、インクリメンタル量の算出、所定時間
ΔT毎にパルス分配器に与える各軸移動量の算出、最高
速度監視、その他の処理が行われ、相当の時間を要する
<Prior art> A numerical control device (NC device) performs predetermined block processing using the NC data of the next block when performing a pulse distribution calculation based on the NC data of the current block.
Immediately after the pulse distribution of the current block is completed, the pulse distribution calculation is executed based on the data obtained by the block processing. In addition, in block processing, N
It takes a considerable amount of time to decode the C data, calculate the incremental amount, calculate the amount of movement of each axis to be applied to the pulse distributor every predetermined time ΔT, monitor the maximum speed, and other processes.

さて、ブロックの移動距離が長かったり、あるいはブロ
ックの送り速度が低速の場合には、該ブロックに沿って
移動する時間がブロック処理時間より長くなり、移動完
了時にブロック処理は終了している。従って、移動完了
により直ちにブロック処理により得られているデータを
用いて次ブロックのパルス分配演算を開始できパルス分
配が途切れろことがない。
Now, when the moving distance of a block is long or the feeding speed of a block is low, the time to move along the block becomes longer than the block processing time, and the block processing is finished when the movement is completed. Therefore, as soon as the movement is completed, the pulse distribution calculation for the next block can be started using the data obtained by block processing, and there is no interruption in pulse distribution.

しかし、ブロックの移動距離が短かったり、あるいはブ
ロックの送り速度が高速の場合には、該ブロックに沿っ
て移動する時間がブロック処理時間より短くなり、移動
が完了してもブロック処理は終了していない。このなめ
、現ブロックの移動完了後次ブロックのブロック処理が
終了する迄パルス分配が途切れることになる。特に、自
由曲面の加工においては曲線を微小線分で直線近似し、
各微小線分を1ブロツクとしてNCデータを作成してい
る関係上、現ブロックの移動時間が次ブロックのブロッ
ク処理時間より短くなる事態が頻繁に生じる。
However, if the moving distance of the block is short or the block feeding speed is high, the time to move along the block will be shorter than the block processing time, and even if the movement is completed, the block processing will not end. do not have. As a result, pulse distribution is interrupted after the movement of the current block is completed until the block processing of the next block is completed. In particular, when machining free-form surfaces, the curve is approximated by a straight line using minute line segments.
Since the NC data is created using each minute line segment as one block, situations often occur in which the moving time for the current block is shorter than the block processing time for the next block.

第1図(A)は各ブロックb、の移動時間Tiとブロッ
ク処理時間T8の関係を示す説明図、第1図(B)は各
ブロックの通路説明図であり、第1ブロツクb、の移動
距離をり1、指令送り速度をF 、1移動時間をTi 
(=L、/F、)としている。第1、第2ブロツクでは
Ti>Ti(i=1.2)となっており、パルス分配は
途切れない。しかし、第3、第4ブロツクでは距離L3
. L4がそれぞれ短(なってTi < 78となり、
又第5ブロツクでは送り速度F、が大きくなってTi<
Tiとなり、第3〜第5ブロツクではパルス分配はそれ
ぞれ(Ti−Ti)(i=3,4.5)の時間途切れる
FIG. 1(A) is an explanatory diagram showing the relationship between the moving time Ti of each block b and the block processing time T8, and FIG. 1(B) is an explanatory diagram of the path of each block. The distance is 1, the commanded feed speed is F, and the 1 movement time is Ti
(=L, /F,). In the first and second blocks, Ti>Ti (i=1.2), and the pulse distribution is not interrupted. However, in the third and fourth blocks, the distance L3
.. L4 is short (so Ti < 78,
Also, in the fifth block, the feed rate F increases and Ti<
Ti, and in the third to fifth blocks, the pulse distribution is interrupted for a time of (Ti-Ti) (i=3, 4.5), respectively.

〈発明が解決しようとしている問題点〉このように現ブ
ロックの移動時間がブロック処理時間より短(なって、
パルス分配が途切れると、機械振動が発生し、加工面精
度及び工具寿命に悪影響を与える。
<Problem to be solved by the invention> In this way, the moving time of the current block is shorter than the block processing time.
When pulse distribution is interrupted, mechanical vibration occurs, which adversely affects machined surface accuracy and tool life.

以上から本発明の目的は、パルス分配が途切れることが
ない数値制御方法を提供することである。
Accordingly, an object of the present invention is to provide a numerical control method in which pulse distribution is not interrupted.

く問題点を解決するための手段〉 第1図は本発明の数値制御方法の説明図である。Means to solve problems〉 FIG. 1 is an explanatory diagram of the numerical control method of the present invention.

b、(i=1.2.  ・・・)はブロック、Llは第
1ブロツクb、の移動距離、Flは第1ブロツクの指令
送り速度、Tiは第1ブロツクの移動時間、Tiはブロ
ック処理時間、Plは第1ブロツクb1の始点、CPは
指令通路である。
b, (i=1.2....) is the block, Ll is the moving distance of the first block b, Fl is the commanded feed speed of the first block, Ti is the moving time of the first block, Ti is the block processing Time, Pl is the starting point of the first block b1, and CP is the command path.

〈作用〉 現ブロックb1−1の移動制御中(パルス分配中)に実
行される次ブロックb1のブロック処理において、次ブ
ロックb1の移動圧glL、と指令送り速度F、を用い
て該ブロックの移動時間Tiを演算し、該移動時間Ti
とブロック処理に要する時間T9とを比較する。
<Operation> In the block processing of the next block b1 that is executed during the movement control of the current block b1-1 (during pulse distribution), the movement of the block is performed using the movement pressure glL of the next block b1 and the command feed rate F. Calculate the time Ti, and calculate the travel time Ti
and the time T9 required for block processing.

そして、Ti<Tiの場合には、送り速度を次式F、’
 =L、/Tiで求まる速度Fi′以下とする。
When Ti<Ti, the feed rate is calculated using the following formula F,'
=L, the speed is less than or equal to the speed Fi' determined by /Ti.

〈実施例〉 第2図は本発明の数値制御方法を実施するNC装置のブ
ロック図である。
<Embodiment> FIG. 2 is a block diagram of an NC device that implements the numerical control method of the present invention.

101はプロセッサ、102は制御プログラムを記憶す
るROM、103はRAM、104はNCテープNTか
らNCデータを読み取ってRAM103に記憶するデー
タ読取装置、105は操作盤、106はディスプレイ装
置付きのMDI装置(マニュアルデーフィンプツト装置
)、107はパルス分配器、108X〜108Zは各軸
サーホ回路、109X〜109Z、lt各軸モータ、1
10は工作機域、111は工作機域と制御部間のデータ
授受をつかさどるインタフェース回路である。
101 is a processor, 102 is a ROM that stores a control program, 103 is a RAM, 104 is a data reading device that reads NC data from the NC tape NT and stores it in the RAM 103, 105 is an operation panel, and 106 is an MDI device with a display device ( 107 is a pulse distributor, 108X to 108Z is a surfer circuit for each axis, 109X to 109Z is a motor for each axis, 1
10 is a machine tool area, and 111 is an interface circuit for exchanging data between the machine tool area and the control section.

第3図は本発明にかかる数値制御処理の流れ図である。FIG. 3 is a flowchart of numerical control processing according to the present invention.

以下、第3図の流れ図に従って本発明の詳細な説明する
。尚、NCデータはアブソリュート指令で作成されてい
るものとする。
Hereinafter, the present invention will be explained in detail according to the flowchart shown in FIG. It is assumed that the NC data is created using absolute commands.

11)現ブロックのNCデータに基づいて移動制御が行
われている状態において、プロセッサ101はRAM1
03から次ブロックである第1ブロツクのNCデータを
読み取る。
11) In a state where movement control is being performed based on the NC data of the current block, the processor 101
The NC data of the first block, which is the next block, is read from 03.

(2)そして、プロセッサは読み取った次ブロック(第
1ブロツク)のNCデータがプログラムエンドであるか
どうかをチェックし、プログラムエンドであればブロッ
ク処理を終了する。
(2) Then, the processor checks whether the read NC data of the next block (first block) is the program end, and if so, ends the block processing.

(3)第1ブロツクのNCデータがプログラムエンドで
なければ次式 %式% Z −Z→ΔZ により各軸インクリメンタルΔX、ΔY2Δ2を演算す
る。ただし、X、、 Y、、 Z、は次ブロックの終点
座標値、X、、 Y、、 Z、、は現在パルス分配中の
ブロックの終点座標値である。
(3) If the NC data of the first block is not at the end of the program, calculate the incremental ΔX, ΔY2Δ2 for each axis using the following formula % Z - Z → ΔZ. However, X, Y, Z are the coordinate values of the end point of the next block, and X, Y, Z are the coordinate values of the end point of the block currently being distributed.

各軸インクリメンタル値が求まれば次式式 L 、/F 、→Ti により移動時間Tiを求めろ。ただし、F、は第1ブロ
ツクの送り速度である。
Once the incremental values for each axis are determined, find the travel time Ti using the following equations L, /F, →Ti. However, F is the feed rate of the first block.

(4)理工により、移動時間Tiが求まれば、プロセッ
サ101はこの移動時間Tiと予め設定しであるブロッ
ク処理時間T8の大小を判別する。
(4) Once the moving time Ti is determined by science and engineering, the processor 101 determines the magnitude of this moving time Ti and a preset block processing time T8.

(51Ti<Tiであれば次式 %式% により送り速度F、′を求め、該送り速度FI′を第1
ブロツクの送り速度とする。
(If 51Ti<Ti, calculate the feed rate F,' by the following formula %, and set the feed rate FI' to the first
Let it be the block feed rate.

(61F 、 ’演算後、あるいはステップ(4)にお
いてTi≧T6の場合には、 X、→X、  Y、→Y、!、  ZブZ8としてXe
、Y、、;、を更新すると共に、次式により1を更新す
る。そして、しかる後通常のブロック処理を実行する。
(61F, 'After the operation or if Ti≧T6 in step (4), X, →X, Y, →Y,!, Xe as ZbZ8
, Y, ;, and 1 is updated using the following equation. After that, normal block processing is executed.

(7)ブロック処理実行後、現ブロックのパルス分配が
終了すれば、ただちにブロック処理により得られている
単位時間当たりの各軸移動1kxpyt2をパルス分配
器107に与えてパルス分配を継続する。又、プロセッ
サ101は重役ステップ(1)以降の処理を繰り返す。
(7) After the block processing is executed, when the pulse distribution of the current block is completed, the pulse distribution is continued by immediately giving each axis movement 1kxpyt2 per unit time obtained by the block processing to the pulse distributor 107. Furthermore, the processor 101 repeats the processing from executive step (1) onwards.

尚、以上ではTi<Tiの時、送り速度をF、′(=L
、/TB)とした場合について説明したがF、′以下で
あればよい。
In addition, in the above, when Ti<Ti, the feed rate is F,'(=L
, /TB), but it suffices if it is less than F,'.

〈発明の効果〉 重上本発明によれば、現ブロックの移動中に次ブロック
の移動時間Tiを演算し、該移動時間Tiとブロック処
理に要する時間T とを比較し、Ti<Tiの場合には
送り速度を下げてり、/Ti以下となるように構成した
から、パルス分配が途切れることがなく、従来のように
パルス分配の途切れに起因する機械振動がなくなり加工
面精度、工具寿命に悪影響を及ぼすことがなくなった。
<Effects of the Invention> According to the present invention, the moving time Ti of the next block is calculated while the current block is moving, and the moving time Ti is compared with the time T required for block processing. Since the feed rate is lowered to less than /Ti, there is no interruption in pulse distribution, and machine vibrations caused by interruptions in pulse distribution, which were conventional, are eliminated, improving machined surface accuracy and tool life. No longer had any negative effects.

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

第1図は本発明の数値制御方法説明図、第2図は本発明
を実施するNC装置のブロック図、 第3図は本発明の処理の流れ図である。 b、(i=1.2.  ・ ・ ・)・・ブロック、L
、・・第1ブロツクの移動距離、 F、・・第1ブロツクの指令速度、 Ti・・第1ブロツクの移動時間、 TB・・ブロック処理時間、 Pl・・第1ブロツクb1の始点 CP・・指令通路 特許出願人        ファナック株式会社代理人
          弁理士  齋肋千幹へ響4ヤ更 
    ミ
FIG. 1 is an explanatory diagram of the numerical control method of the present invention, FIG. 2 is a block diagram of an NC device implementing the present invention, and FIG. 3 is a flowchart of the processing of the present invention. b, (i=1.2. ・ ・ ・)...Block, L
,... moving distance of the first block, F... commanded speed of the first block, Ti... moving time of the first block, TB... block processing time, Pl... starting point CP of the first block b1... Directive Passage Patent Applicant Fanuc Co., Ltd. Agent Patent Attorney Chiki Saito Hibiki 4 years old
Mi

Claims (1)

【特許請求の範囲】 現ブロックのNCデータに基づいてパルス分配演算を実
行している際に、次ブロックのNCデータを用いて所定
のブロック処理を行い、現ブロックのパルス分配完了後
に前記ブロック処理により得られたデータに基づいてパ
ルス分配演算を実行する数値制御方法において、 前記ブロック処理においてブロックの移動距離L_iと
指令送り速度F_iを用いて該ブロックの移動時間T_
iを演算し、 該移動時間T_iとブロック処理に要する時間T_Bと
を比較し、 T_i<T_Bの場合には、送り速度を次式F_i′=
L_i/T_B で求まる速度F_i′以下とすることを特徴とする数値
制御方法。
[Scope of Claims] When performing a pulse distribution calculation based on the NC data of the current block, predetermined block processing is performed using the NC data of the next block, and after the pulse distribution of the current block is completed, the block processing is performed. In the numerical control method of performing pulse distribution calculation based on data obtained by
i is calculated, the moving time T_i and the time T_B required for block processing are compared, and if T_i<T_B, the feed rate is calculated using the following formula F_i′=
A numerical control method characterized by controlling the speed to be less than or equal to the speed F_i' determined by L_i/T_B.
JP27040385A 1985-11-30 1985-11-30 Numerical control method Pending JPS62130411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27040385A JPS62130411A (en) 1985-11-30 1985-11-30 Numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27040385A JPS62130411A (en) 1985-11-30 1985-11-30 Numerical control method

Publications (1)

Publication Number Publication Date
JPS62130411A true JPS62130411A (en) 1987-06-12

Family

ID=17485772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27040385A Pending JPS62130411A (en) 1985-11-30 1985-11-30 Numerical control method

Country Status (1)

Country Link
JP (1) JPS62130411A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0530033A2 (en) * 1991-08-30 1993-03-03 Makino Milling Machine Co. Ltd. Feed rate control method and apparatus in numerical control system
JPH05143145A (en) * 1991-11-20 1993-06-11 Makino Milling Mach Co Ltd Method for controlling feeding speed in numerical control
JPH0643929A (en) * 1991-10-30 1994-02-18 Makino Milling Mach Co Ltd Method for controlling feed speed of numerical control
JPH07191728A (en) * 1991-08-30 1995-07-28 Makino Milling Mach Co Ltd Method and device for controlling feed rate in numerical control

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5662622A (en) * 1979-10-23 1981-05-28 Mitsubishi Electric Corp Pressing system
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method
JPS58211211A (en) * 1982-06-01 1983-12-08 Fanuc Ltd Numerical controlling system
JPS5945506A (en) * 1982-09-09 1984-03-14 Fanuc Ltd Method of numerical control
JPS60214008A (en) * 1984-04-06 1985-10-26 Osaka Kiko Co Ltd Correcting method of work machining precision of numerically controlled machine tool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5662622A (en) * 1979-10-23 1981-05-28 Mitsubishi Electric Corp Pressing system
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method
JPS58211211A (en) * 1982-06-01 1983-12-08 Fanuc Ltd Numerical controlling system
JPS5945506A (en) * 1982-09-09 1984-03-14 Fanuc Ltd Method of numerical control
JPS60214008A (en) * 1984-04-06 1985-10-26 Osaka Kiko Co Ltd Correcting method of work machining precision of numerically controlled machine tool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0530033A2 (en) * 1991-08-30 1993-03-03 Makino Milling Machine Co. Ltd. Feed rate control method and apparatus in numerical control system
JPH07191728A (en) * 1991-08-30 1995-07-28 Makino Milling Mach Co Ltd Method and device for controlling feed rate in numerical control
US5528506A (en) * 1991-08-30 1996-06-18 Makino Milling Machine Co., Ltd. Feed rate control method and apparatus in numerical control system
JPH0643929A (en) * 1991-10-30 1994-02-18 Makino Milling Mach Co Ltd Method for controlling feed speed of numerical control
JPH05143145A (en) * 1991-11-20 1993-06-11 Makino Milling Mach Co Ltd Method for controlling feeding speed in numerical control

Similar Documents

Publication Publication Date Title
KR900007297B1 (en) Nc controller and method
CN107132815B (en) Numerical control device
JP4796936B2 (en) Processing control device
WO1988010171A1 (en) Acceleration/deceleration controller
JP5893527B2 (en) Numerical control device with a function to display the difference between machining interruption and resumption status
JPH0378006A (en) Acceleration and deceleration control method for numerical controller
JPS62130411A (en) Numerical control method
CN105446270A (en) Machine tool controller
US7095203B2 (en) Numerical controller
US5910199A (en) Method and apparatus for fast threading pullout in a numerically controlled threading application
JPS62130412A (en) Numerical control method
JPS6232801B2 (en)
JP2002328711A (en) Numerical control method and its device
JP6871280B2 (en) Numerical control device
JPH0370242B2 (en)
JP4982170B2 (en) Machining control device and machining control program
JPS599706A (en) Numerical controlling system
WO2023148986A1 (en) Control device and computer-readable storage medium
JPS5939250B2 (en) Thread cutting method
JPS6063605A (en) Numerical controller with composite skipping function
JPS60239804A (en) Correcting method of positional error
WO1985005059A1 (en) System for setting movable region in a numerical control system
JPS6149207A (en) Feed speed control method
JPS59166449A (en) Method of controlling machine tool with many cutting tools
JPH0254310A (en) Numerical controller for drilling