[go: up one dir, main page]

JPH11165238A - Feed rate control method and apparatus in numerical control - Google Patents

Feed rate control method and apparatus in numerical control

Info

Publication number
JPH11165238A
JPH11165238A JP33316597A JP33316597A JPH11165238A JP H11165238 A JPH11165238 A JP H11165238A JP 33316597 A JP33316597 A JP 33316597A JP 33316597 A JP33316597 A JP 33316597A JP H11165238 A JPH11165238 A JP H11165238A
Authority
JP
Japan
Prior art keywords
program
feed
upper limit
test operation
feed rate
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
JP33316597A
Other languages
Japanese (ja)
Inventor
Jun Yoshida
順 吉田
Yoshikatsu Teraoka
義勝 寺岡
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.)
Makino Milling Machine Co Ltd
Original Assignee
Makino Milling Machine 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 Makino Milling Machine Co Ltd filed Critical Makino Milling Machine Co Ltd
Priority to JP33316597A priority Critical patent/JPH11165238A/en
Publication of JPH11165238A publication Critical patent/JPH11165238A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】 【課題】 NCプログラムテスト運転時に生じ得る衝突
部の損傷を軽減する。 【解決手段】 実行しようとするNCプログラムがテス
ト運転終了のものか否かを判別するテスト運転終了判別
部7、テスト運転未終了と判別されたとき、NCプログ
ラムから指令された送り速度に対し予め設定した上限値
を低く変更し、テスト運転終了のものと判別されたとき
は上限値を変更しない上限送り速度変更部13、テスト
加工未終了と判別されたとき、送り軸の速度指令が、N
Cプログラムから指令される全ての送り速度に対し上限
値を設定する全体指定か所定の範囲内に対し上限値を設
定する範囲指定かを判別する全体/範囲指定判別部9を
備え、上限送り速度変更部13は全体指定と判別された
とき、全送り指令に対し上限値を設定し、範囲指定と判
別されたときは所定の範囲内の送り指令に対し上限値を
設定する。
(57) [Summary] [PROBLEMS] To reduce damage to a collision part which may occur during an NC program test operation. SOLUTION: A test operation end judging section 7 for judging whether an NC program to be executed is a test operation end or not, when it is judged that the test operation is not ended, a feed speed commanded from the NC program is determined in advance. The set upper limit value is changed to a lower value, and when it is determined that the test operation has been completed, the upper limit value is not changed, and the upper limit feed speed changing unit 13 does not change the upper limit value.
A total / range designation discriminator 9 for judging whether to specify an upper limit for all feed speeds commanded from the C program or a range to set an upper limit for a predetermined range; The change unit 13 sets an upper limit value for the entire feed command when it is determined that the entire range is specified, and sets the upper limit value for a feed command within a predetermined range when it is determined that the range is specified.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は数値制御における送
り速度制御方法および装置に関し、特に、NCプログラ
ムの安全なテスト運転を行うための数値制御における送
り速度制御方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a feed rate control method and apparatus in numerical control, and more particularly to a feed rate control method and apparatus in numerical control for performing a safe test operation of an NC program.

【0002】[0002]

【従来の技術】送り軸によって工具とワークとを相対移
動させてワークを加工する数値制御工作機械において、
送り軸の送り速度は、ワークを加工するための切削送り
速度(以下、単に切削送りと記す)と位置決めのための
早送り速度(以下、単に早送り速度と記す)とがある。
加工時間を短縮するため早送り速度は通常最高速度に設
定される。機械の高速化に伴い、早送り速度は一層高速
化され、作業者の操作ミスやNCプログラムのミス等が
あっても早送り時の送り速度が速すぎて、作業者は工具
やワークが工作機械の各部位に衝突するのを避けられ
ず、工作機械の衝突部は以前にも増して過大な損傷を受
ける。このため、新たに作成されたNCプログラムや既
存の加工プログラムを編集したNCプログラムを用いて
テスト運転するときには、通常、作業者がオーバライド
ボタンを操作して送り軸の早送り速度を最高速度の25
%程度の速度にクランプしてテスト運転を行い、非常時
には衝突前に停止できるようにしている。
2. Description of the Related Art In a numerically controlled machine tool for processing a workpiece by relatively moving a tool and a workpiece by a feed shaft,
The feed speed of the feed shaft includes a cutting feed speed for processing a workpiece (hereinafter simply referred to as cutting feed) and a rapid feeding speed for positioning (hereinafter simply referred to as fast feeding speed).
The rapid traverse speed is usually set to the maximum speed in order to reduce the processing time. With the speeding up of the machine, the rapid traverse speed is further increased. Even if there is an operator error or NC program mistake, the feed speed at the time of rapid traverse is too fast, and the operator cannot use tools or workpieces of the machine tool. Inevitably colliding with each part, the collision part of the machine tool is more severely damaged than before. For this reason, when performing a test operation using a newly created NC program or an NC program obtained by editing an existing machining program, the operator usually operates the override button to increase the rapid traverse speed of the feed axis to the maximum speed of 25.
The test operation is performed by clamping to a speed of about% so that it can be stopped before a collision in an emergency.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、作業者
がこのオーバライドボタンの設定を忘れるなど誤った操
作をしてしまうことがあり、このとき上記衝突が生じる
と衝突部は損傷する。この衝突部の損傷を修理するため
には、機械を長期間停止したり莫大な費用を要したりす
る。
However, an operator may perform an erroneous operation such as forgetting to set the override button. At this time, if the collision occurs, the collision portion is damaged. In order to repair the damage at the collision portion, the machine must be stopped for a long period of time or costly.

【0004】それゆえ、本発明は上記問題を解決し、作
業者によるオーバライドボタンの設定ミスがあってもN
Cプログラムの安全なテスト運転を行い、ひいては工作
機械の衝突部の損傷を軽減し、その修理に要する時間と
費用を削減する数値制御における送り速度制御方法およ
び装置を提供することを目的とする。
[0004] Therefore, the present invention solves the above-mentioned problem, so that even if there is a mistake in setting the override button by the operator, N
It is an object of the present invention to provide a feed rate control method and apparatus in numerical control for performing a safe test operation of a C program, thereby reducing damage to a collision portion of a machine tool, and reducing time and cost required for repair.

【0005】[0005]

【課題を解決するための手段】上記問題を解決する本発
明による数値制御における送り速度制御方法は、数値制
御工作機械によりNCプログラムにしたがって工具とワ
ークとを相対移動させ前記ワークを加工する数値制御に
おける送り速度制御方法において、実行しようとするN
Cプログラムがテスト運転を終了したものであるか未終
了のものであるかを判別し、前記NCプログラムがテス
ト運転未終了のものであると判別されたとき、前記NC
プログラム中の送り速度が所定の上限値を越えないよう
に規制する、ことを特徴とする。
According to the present invention, there is provided a feed rate control method in numerical control according to the present invention, which numerically controls a tool and a workpiece relative to each other by a numerically controlled machine tool in accordance with an NC program to machine the workpiece. In the feed speed control method in
It is determined whether the C program has completed the test operation or has not been completed. If it is determined that the NC program has not been completed the test operation,
The feed rate during the program is regulated so as not to exceed a predetermined upper limit.

【0006】また、本発明による数値制御装置における
送り速度制御方法は、前記NCプログラムがテスト運転
未終了のものであると判別されたとき、前記送り速度の
規制方法が、前記NCプログラム中の全ての送り速度を
前記所定の上限値を越えないように規制する全体指定形
であるか、前記NCプログラムの所定の範囲内の送り速
度が前記所定の上限値を越えないように規制する範囲指
定形であるかを判別し、前記範囲指定形であると判別さ
れたときは、前記NCプログラムの所定の範囲内のみの
送り速度が前記上限値を越えないように規制する。
Further, in the feed rate control method in the numerical control device according to the present invention, when the NC program is determined to be one in which the test operation has not been completed, the method for regulating the feed rate may include all of the NC programs in the NC program. Or a range designating type that regulates a feed speed within a predetermined range of the NC program so as not to exceed the predetermined upper limit. Is determined, and if it is determined to be in the range designation type, the feed speed only within a predetermined range of the NC program is regulated so as not to exceed the upper limit value.

【0007】上記問題を解決する本発明による数値制御
における送り速度制御装置は、数値制御工作機械により
NCプログラムにしたがって工具とワークとを相対移動
させ前記ワークを加工する数値制御における送り速度制
御装置において、実行しようとするNCプログラムがテ
スト加工終了したものであるか未終了のものであるかを
判別する判別手段と、前記判別手段により、前記NCプ
ログラムがテスト運転未終了のものであると判別された
とき、前記NCプログラム中の送り速度が所定の上限値
を越えないように規制する送り速度変更手段と、を備え
ることを特徴とする。
A feed rate control device in numerical control according to the present invention for solving the above-mentioned problems is a feed rate control device in numerical control for processing a workpiece by relatively moving a tool and a workpiece according to an NC program by a numerically controlled machine tool. Determining means for determining whether an NC program to be executed is a test machining completed or unfinished program, and the determining means determines that the NC program is a test operation not completed. And a feed speed changing means for restricting a feed speed in the NC program from exceeding a predetermined upper limit value.

【0008】[0008]

【発明の実施の形態】以下、添付図面を参照しつつ本発
明の実施の形態について以下に説明する。図1は本発明
による数値制御における送り速度制御装置の一実施形態
のブロック構成図である。図1全体に本発明による数値
制御における送り速度制御装置1を示す。図1は理解を
容易にすため1つの送り軸についての構成を示すが、実
際の装置には送り軸の数に応じて同様なブロック構成が
設けられる。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram of an embodiment of a feed rate control device in numerical control according to the present invention. FIG. 1 shows a feed rate control device 1 in numerical control according to the present invention. Although FIG. 1 shows a configuration for one feed shaft for easy understanding, a similar device is provided in an actual apparatus according to the number of feed shafts.

【0009】NCプログラム格納部2は、部品図面に基
づきワークを加工するためパートプログラミングにより
作成したNCプログラムを記録したせん孔テープ、磁気
テープまたはFD(フロッピーディスク)等の記録媒体
2aを図示しないそれぞれの読取り装置を介して読取り
格納するための記憶部であり、NCプログラム毎に設定
されたNCプログラム番号も格納される。
The NC program storage unit 2 stores a recording medium 2a such as a perforated tape, a magnetic tape, or an FD (floppy disk) on which an NC program created by part programming for processing a workpiece based on a part drawing is not shown. This is a storage unit for reading and storing via a reader, and also stores an NC program number set for each NC program.

【0010】NCプログラム編集部3は、NCプログラ
ム格納部2に格納されたNCプログラムを図示しないC
RT画面を見ながら図示しないキーボードやマウス等を
操作して編集し、新たなNCプログラムを作成し、作成
後の新たなNCプログラムをNCプログラム格納部2に
再び格納する。操作入力部4は、テスト運転を終了した
NCプログラムとテスト運転未終了のNCプログラムと
を識別するテスト終了フラグを、NCプログラム格納部
2に格納されたNCプログラム番号に応じて設定し登録
する操作入力部である。
The NC program editing unit 3 stores the NC program stored in the NC program storage unit 2 in a C (not shown).
While viewing the RT screen, editing is performed by operating a keyboard or mouse (not shown) to create a new NC program, and the created new NC program is stored in the NC program storage unit 2 again. The operation input unit 4 sets and registers a test end flag for identifying an NC program that has completed the test operation and an NC program that has not completed the test operation in accordance with the NC program number stored in the NC program storage unit 2. Input section.

【0011】テスト運転終了登録記憶部5は、操作入力
部4により登録されたテスト終了フラグをNCプログラ
ム格納部2に格納されたNCプログラム番号に応じて格
納する記憶部である。NCプログラム読取り解釈部6
は、予め複数のNCプログラムを格納したNCプログラ
ム格納部2から加工を実行する所望のNCプログラムを
そのNCプログラム番号を照合して読取り解釈する。
The test operation end registration storage unit 5 is a storage unit for storing the test end flag registered by the operation input unit 4 according to the NC program number stored in the NC program storage unit 2. NC program reading and interpretation unit 6
Reads and interprets a desired NC program for executing machining from the NC program storage unit 2 in which a plurality of NC programs are stored in advance by comparing the NC program number.

【0012】テスト運転終了判別部7は、NCプログラ
ム読取り解釈部6の読取った実行するNCプログラムが
テスト運転を終了したものか否かをテスト運転終了登録
記憶部5を参照して判別し、その判別結果を全体/範囲
指定判別部9へ送る。操作入力部4はまた、実行するN
Cプログラムの全ブロックに記述された送り速度を全て
所定の上限値でクランプする全体指定か、またはそのN
Cプログラム内に範囲指定されたブロック内の送り速度
のみをその上限値でクランプする範囲指定かを識別する
全体/範囲指定識別フラグをNCプログラム格納部2に
格納されたNCプログラム番号に応じて設定し登録する
操作入力部でもある。
The test operation end determining unit 7 determines whether or not the NC program to be executed read by the NC program reading and interpreting unit 6 has completed the test operation with reference to the test operation end registration storage unit 5, The determination result is sent to the whole / range designation determination unit 9. The operation input unit 4 also executes N
The general specification to clamp all the feed speeds described in all the blocks of the C program at a predetermined upper limit, or N
A whole / range designation identification flag is set in accordance with the NC program number stored in the NC program storage unit 2 for identifying whether or not only the feed speed in the block designated in the range within the C program is clamped at the upper limit. It is also an operation input section to register.

【0013】全体/範囲指定登録記憶部8は、操作入力
部4により登録された全体/範囲指定識別フラグをNC
プログラム格納部2に格納されたNCプログラム番号に
応じて格納する記憶部である。また、全体/範囲指定登
録記憶部8の代わりに作業者により設定可能な単なる選
択信号を設けてもよい。この場合は、NCプログラム番
号に無関係に全体指定か範囲指定かの設定が行われる。
The whole / range designation registration storage section 8 stores the whole / range designation identification flag registered by the operation input section 4 as NC.
This is a storage unit that stores according to the NC program number stored in the program storage unit 2. Further, a simple selection signal that can be set by an operator may be provided instead of the whole / range designation registration storage unit 8. In this case, the setting of the whole designation or the range designation is performed irrespective of the NC program number.

【0014】全体/範囲指定判別部9は、テスト運転終
了判別部7によりNCプログラム読取り解釈部6の読取
った情報を実行するNCプログラムがテスト運転未終了
のものであると判別されたとき、そのNCプログラムに
おける送り軸の速度指令が全体指定されたものか範囲指
定されたものかを全体/範囲指定登録記憶部8を参照し
て判別し、その判別結果を上限送り速度変更部13へ送
る。
When the test operation end determining unit 7 determines that the NC program for executing the information read by the NC program reading / interpreting unit 6 is not the test operation unfinished, the whole / range designation determining unit 9 determines that It is determined whether the feed command of the feed axis in the NC program is specified as a whole or a range by referring to the whole / range designation registration storage unit 8, and the determination result is sent to the upper limit feed speed changing unit 13.

【0015】クランプ速度格納部12は、上記全体指定
または範囲指定された送り速度、所謂オーバライド機能
を果たすため作業者のマニュアル操作により設定された
送り軸の早送りおよび切削送りに対する各クランプ速度
のデータを格納する。このように、各クランプ速度とし
て早送りと切削送りとが個別に設定できるのでテスト運
転を効率よく行うことができる。
The clamp speed storage unit 12 stores data of the feed speed specified for the entirety or the range, that is, the clamp speed for the rapid feed of the feed axis and the cutting feed set by a manual operation of an operator to perform a so-called override function. Store. As described above, since the fast feed and the cutting feed can be individually set as the respective clamp speeds, the test operation can be performed efficiently.

【0016】送り速度変更部13は、テスト運転終了判
別部7の判別結果を受け、運転中のNCプログラムがテ
スト運転終了したものと判別されたときは予めNCパラ
メータ格納部14に格納された送り軸の早送りおよび切
削送りの各最高速度の変更は行わず、そのNCプログラ
ムがテスト運転未終了のものと判別されたときは、全体
/範囲指定判別部9の判別結果を受け、運転中のNCプ
ログラムが全体指定されたと判別されたときは、予めN
Cパラメータ格納部14に格納された送り軸の早送りお
よび切削送りの各最高速度のデータをクランプ速度格納
部12に格納された送り軸の早送りおよび切削送りに対
する各クランプ速度のデータに変更し、運転中のNCプ
ログラムが範囲指定されたと判別されたときはそのプロ
グラム範囲のみ前記送り軸の早送りおよび切削送りの各
最高速度のデータをクランプ速度格納部12に格納され
た上記早送りおよび切削送りに対する各クランプ速度の
データに変更する。
The feed speed changing unit 13 receives the determination result of the test operation end determination unit 7 and, when it is determined that the running NC program has ended the test operation, the feed speed stored in the NC parameter storage unit 14 in advance. The maximum speeds of the axis rapid traverse and the cutting feed are not changed, and when the NC program is determined to have not been completed in the test operation, the whole / range designation determining unit 9 receives the determination result, and the operating NC If it is determined that the entire program has been designated, N
The data of the maximum speeds of the feed axis rapid traverse and the cutting feed stored in the C parameter storage unit 14 are changed to the data of the respective clamp speeds for the rapid axis traverse and the cutting feed of the feed axis stored in the clamp speed storage unit 12, and the operation is performed. When it is determined that the NC program in the range has been designated, the data of the maximum speed of the feed axis and the maximum speed of the cutting feed is stored only in the program range. Change to speed data.

【0017】また、送り速度変更部13は、全体/範囲
指定判別部9の判別結果に関わらず、テスト運転終了判
別部7の判別結果を受け、運転中のNCプログラムがテ
スト運転未終了のものと判別されたときは、予めNCパ
ラメータ格納部14に格納された送り軸の早送りおよび
切削送りの各最高速度のデータをクランプ速度格納部1
2に格納された送り軸の早送りおよび切削送りに対する
各クランプ速度のデータに変更するように構成してもよ
い。
The feed speed changing unit 13 receives the determination result of the test operation end determination unit 7 irrespective of the determination result of the whole / range designation determination unit 9, and determines whether the NC program in operation is the test operation not completed. When it is determined that the maximum speed of the feed axis and the maximum speed of the cutting feed stored in advance in the NC parameter storage unit 14, the data is stored in the clamp speed storage unit 1.
2 may be changed to the data of the respective clamp speeds for the rapid feed and the cutting feed of the feed axis stored in 2.

【0018】NCパラメータ格納部14は、図1全体に
示す数値制御における送り速度制御装置1の出荷時に、
送り軸の早送りおよび切削送りの各最高速度のデータを
格納する。補間分配速度制御部10は、NCプログラム
読取り解釈部6の読取った実行するNCプログラム内の
ブロックに応じて指令された移動指令と速度指令とを読
取り、これらに応じ、かつNCパラメータ格納部14に
格納された送り軸の早送りおよび切削送りの各最高速度
のデータに基づき、補間・分配し、移動分配指令を所定
周期、例えば8ms毎にサーボ制御部11へ送る。
The NC parameter storage unit 14 stores the feed rate control device 1 in the numerical control shown in FIG.
Stores the data of the maximum speed of the feed axis rapid traverse and cutting feed. The interpolation distribution speed control unit 10 reads a movement command and a speed command in accordance with a block in the NC program to be executed read by the NC program reading / interpreting unit 6 and reads the movement command and the speed command. Interpolation and distribution are performed based on the stored data of the maximum speeds of the feed axis rapid traverse and cutting feed, and a movement distribution command is sent to the servo control unit 11 at a predetermined cycle, for example, every 8 ms.

【0019】サーボ制御部11は、補間分配速度制御部
10から送られた移動分配指令に応じて送り軸に連結さ
れたサーボモータ15を駆動する。本発明の数値制御に
おける送り速度制御装置1は、NCプログラムがテスト
運転未終了のものと判別されたとき、送り速度の上限の
変更を、NCプログラム全体に対して行うのか、所定の
範囲に対してのみ行うのか判別し、それに応じてクラン
プ速度格納部12に格納された送り軸の早送りおよび切
削送りに対する各クランプ速度以下に送り速度をクラン
プするので、特に工具交換後の衝突が発生し機械を損傷
し得るときにのみ範囲指定により送り速度の上限の変更
を行って安全運転を行うことができ、ひいてはテスト運
転の効率を向上できる。
The servo control unit 11 drives a servo motor 15 connected to the feed shaft in accordance with the movement distribution command sent from the interpolation distribution speed control unit 10. The feed rate control device 1 in the numerical control of the present invention determines whether the upper limit of the feed rate is changed for the entire NC program when the NC program is determined to have not been completed in the test operation, or for a predetermined range. And the feed speed is clamped below the clamp speed for the rapid feed and the cutting feed of the feed shaft stored in the clamp speed storage unit 12 accordingly. Only when damage can occur, the upper limit of the feed speed can be changed by specifying the range to perform safe operation, and thus the efficiency of test operation can be improved.

【0020】次に、図1に示す送り速度制御装置による
NCプログラム実行時の動作を以下に説明する。図2は
本発明による送り速度制御の手順を示すフローチャート
である。図1を参照しつつ図2のフローチャートを説明
する。図2において、Sに続く数字はステップ番号を示
す。先ず、ステップS1では、実行するNCプログラム
はテスト運転未終了のものであるか否かを、NCプログ
ラム格納部2に格納されたNCプログラム番号に対応し
て設定されたテスト運転終了登録記憶部5に格納された
テスト終了フラグに基づき判別し、その判別結果がYE
SのときはステップS2へ進み、NOのときはステップ
S4へ進む。
Next, the operation of the feed rate control device shown in FIG. 1 when the NC program is executed will be described below. FIG. 2 is a flowchart showing the procedure of the feed speed control according to the present invention. The flowchart of FIG. 2 will be described with reference to FIG. In FIG. 2, the number following S indicates a step number. First, in step S1, it is determined whether or not the NC program to be executed is the one for which the test operation has not been completed. The test operation end registration storage unit 5 set in correspondence with the NC program number stored in the NC program storage unit 2 Is determined based on the test end flag stored in the
If S, the process proceeds to step S2, and if NO, the process proceeds to step S4.

【0021】ステップS2では、NCプログラムにおけ
る送り速度のクランプの対象がNCプログラム全体に指
定された全体指定か所定の範囲内に指定された範囲指定
かを、NCプログラム格納部2に格納されたNCプログ
ラム番号に対応して登録された全体/範囲指定登録記憶
部8に格納された全体/範囲指定識別フラグに基づき判
別し、その判別結果が全体指定のときはステップS3へ
進み、範囲指定のときはステップS11へ進む。
In step S2, the NC program stored in the NC program storage unit 2 determines whether the target of the feed rate clamping in the NC program is the entire specification specified in the entire NC program or the range specified in a predetermined range. The determination is made based on the whole / range designation identification flag stored in the whole / range designation registration storage unit 8 registered corresponding to the program number. When the result of the determination is the whole designation, the process proceeds to step S3, and when the range is designated, Goes to step S11.

【0022】ステップS3では、NCパラメータ格納部
14に格納された送り速度の上限を規定するパラメー
タ、すなわち送り軸の早送りおよび切削送りの各最高速
度のデータを、クランプ速度格納部12に格納された送
り軸の早送りおよび切削送りに対する各クランプ速度の
データに書換える。ステップS4では、NCプログラム
をブロック順に読取り実行する。次いでステップS5で
は、ステップS4で実行したブロック指令はM30(プ
ログラムエンド・リワインド)か否かを判別し、その判
別結果がYESのときはステップS6へ進み、NOのと
きはステップS8へ進む。
In step S 3, the parameters that define the upper limit of the feed speed stored in the NC parameter storage unit 14, ie, the data of the maximum speed of the feed axis rapid traverse and the cutting feed, are stored in the clamp speed storage unit 12. Rewrite with the data of each clamp speed for the feed axis rapid traverse and cutting feed. In step S4, the NC program is read and executed in block order. Next, in step S5, it is determined whether or not the block command executed in step S4 is M30 (program end rewind). If the determination result is YES, the process proceeds to step S6, and if NO, the process proceeds to step S8.

【0023】ステップS6では、ステップS3で書換え
たパラメータを元のデータ、すなわちNCパラメータ格
納部14に格納された送り軸の早送りおよび切削送りの
各最高速度のデータに戻す。次いで、ステップS7で
は、実行したNCプログラムのテスト運転終了フラグを
立て、そのフラグをNCプログラム番号に応じてテスト
運転終了登録記憶部5に格納する。ステップS8では、
次のブロックを読取りステップS4へ進む。
In step S6, the parameters rewritten in step S3 are returned to the original data, that is, the data of the maximum speed of each of the rapid feed and the cutting feed of the feed axis stored in the NC parameter storage unit 14. Next, in step S7, a test operation end flag of the executed NC program is set, and the flag is stored in the test operation end registration storage unit 5 according to the NC program number. In step S8,
The next block is read and the process proceeds to step S4.

【0024】ステップS2で範囲指定と判別されたとき
は、ステップS11へ進み、ステップS11では、NC
プログラムをブロック順に読取り実行する。次いでステ
ップS12では、ステップS11で読取ったブロック指
令が範囲指定の開始を示すコード例えばM100など予
め指定したコードであるか否かを判別し、その判別結果
がYESのときはステップS13へ進み、NCパラメー
タ格納部14に格納された送り速度の上限を規定するパ
ラメータ、すなわち送り軸の早送りおよび切削送りの各
最高速度のデータを、クランプ速度格納部12に格納さ
れた送り軸の早送りおよび切削送りに対する各クランプ
速度のデータに書換え、上記判別結果がNOのときはス
テップS14へ進む。
If it is determined in step S2 that the range has been designated, the flow advances to step S11.
Read and execute the program in block order. Next, in step S12, it is determined whether or not the block command read in step S11 is a code indicating the start of range specification, for example, a code specified in advance such as M100, and if the determination result is YES, the process proceeds to step S13, where NC The parameter that defines the upper limit of the feed rate stored in the parameter storage unit 14, that is, the data of the maximum speed of the feed axis rapid traverse and the cutting feed, is stored in the clamp speed storage unit 12 for the rapid traverse and the cutting feed of the feed axis. The data is rewritten to each clamp speed data, and if the above determination result is NO, the process proceeds to step S14.

【0025】ステップS14では、ステップS11で読
取ったブロック指令が範囲指定の終了を示すコード例え
ばM200など予め指定したコードであるか否かを判別
し、その判別結果がYESのときはステップS15へ進
み、NOのときはステップS16へ進む。ステップS1
5では、ステップS13で書換えたパラメータを元のデ
ータ、すなわちNCパラメータ格納部14に格納された
送り軸の早送りおよび切削送りの各最高速度のデータに
戻す。
In step S14, it is determined whether or not the block command read in step S11 is a code indicating the end of range specification, for example, a code specified in advance such as M200. If the determination result is YES, the process proceeds to step S15. If NO, the process proceeds to step S16. Step S1
In step 5, the parameters rewritten in step S13 are returned to the original data, that is, the data of the maximum speeds of the feed axis rapid feed and cutting feed stored in the NC parameter storage unit 14.

【0026】ステップS16では、ステップS11で実
行したブロック指令はM30(プログラムエンド・リワ
インド)か否かを判別し、その判別結果がYESのとき
はステップS6へ進み、NOのときはステップS17へ
進む。ステップS17では、次のブロックを読取りステ
ップS11へ進む。次に、ワークの加工例を用いて本発
明の送り速度制御について説明する。
In step S16, it is determined whether or not the block command executed in step S11 is M30 (program end rewind). If the determination result is YES, the process proceeds to step S6, and if NO, the process proceeds to step S17. . In step S17, the next block is read, and the process proceeds to step S11. Next, the feed speed control of the present invention will be described using a working example of a workpiece.

【0027】図3はワークの加工例を示す図であり、図
4は図3に示すようワークを加工する加工プログラムの
例を示す図である。図4の各行は各ブロック指令に対応
する。先ず、送り速度制御装置1は、NCプログラム番
号0005の読取り解釈を開始する。T01で1番ツー
ルの工具装着を行い、G91 G28 Z0.0でZ軸
(主軸)の原点復帰を行い、G91 G28 X0.0
Y0.0でX軸とY軸の原点復帰を行う。M06 T
02で1番ツールから2番ツールに工具交換を行う。S
8000 M03で主軸を時計方向回転8000RPM
で回転させる。M08でクーラント供給を行う。
FIG. 3 is a diagram showing an example of machining a work, and FIG. 4 is a diagram showing an example of a machining program for machining a work as shown in FIG. Each row in FIG. 4 corresponds to each block command. First, the feed speed control device 1 starts reading and interpreting the NC program number 0005. At T01, the first tool is mounted, and at G91 G28 Z0.0, the origin is returned to the Z axis (spindle), and G91 G28 X0.0
At Y0.0, the origin return of the X axis and the Y axis is performed. M06 T
At 02, the tool is changed from the first tool to the second tool. S
8000 M03 with main shaft rotated clockwise 8000 RPM
Rotate with. The coolant is supplied in M08.

【0028】M100は送り速度の上限クランプの範囲
指定の開始を示す。G90 G54G00 X55.0
Y−45.0で原点(X,Y)=(0,0)からb点
(X,Y)=(55.0,−45.0)へ上限クランプ
速度でクランプして早送りする。次いで、Z100.0
でZ軸を100mm移動し、Z2でZ軸を2mm移動する。
X13.0 Y8.0でc点(113.0,8.0)へ
移動する。
M100 indicates the start of the upper limit clamping of the feed rate. G90 G54G00 X55.0
At Y-45.0, the feed is clamped at the upper limit clamp speed from the origin (X, Y) = (0, 0) to the point b (X, Y) = (55.0, −45.0) and fast-forwarded. Then, Z100.0
Moves the Z axis by 100 mm, and Z2 moves the Z axis by 2 mm.
X13.0 Move to point c (113.0, 8.0) at Y8.0.

【0029】M200は送り速度の上限クランプの範囲
指定の終了を示す。G01 Z−12.0 F4000
で切削送り速度の上限クランプ速度を解除した切削送り
速度4000mm/min で送る。Y−93.0でY軸をd
点(113.0,−93.0)へ移動し、X−3.0で
X軸をe点(−3.0,−93.0)へ移動し、Y3.
0でY軸をf点(−3.0,3.0)へ移動し、X11
8.0でX軸をg点(118.0,3.0)へ移動す
る。
M200 indicates the end of the designation of the upper limit clamp of the feed rate. G01 Z-12.0 F4000
Feed at a cutting feed speed of 4000 mm / min from which the upper limit clamp speed of the cutting feed speed is released. The Y axis is d at Y-93.0.
Move to point (113.0, -93.0), move the X axis to point e (-3.0, -93.0) at X-3.0, and move to Y3.
At 0, the Y axis is moved to the point f (−3.0, 3.0), and X11
At 8.0, the X axis is moved to point g (118.0, 3.0).

【0030】次いで、G00 Z100.0でZ軸を1
00mmの位置に早送りし、X0.0Y0.0 M05で
X軸及びY軸を原点復帰するとともに、主軸を停止す
る。M09でクーラントを停止し、M30でNCプログ
ラムをスタート位置に戻す。%でNCプログラムを終了
する。以上説明した実施形態において、3軸直交座標系
の各送り軸(X、Y、Z)を例にあげて説明したが、本
発明はこれに限定されるものでなく、回転送り軸(A、
B、C)に対しても同様に適用できることは言うまでも
ない。
Next, the Z axis is set to 1 by G00 Z100.0.
The feed is fast-forwarded to the position of 00 mm, the X-axis and the Y-axis are returned to the origins at X0.0Y0.0M05, and the main spindle is stopped. The coolant is stopped at M09, and the NC program is returned to the start position at M30. End the NC program with%. In the embodiment described above, each feed axis (X, Y, Z) of the three-axis orthogonal coordinate system has been described as an example, but the present invention is not limited to this, and the rotary feed axes (A,
It goes without saying that the same applies to B and C).

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
テスト運転の終了・未終了が自動的に判別されて、送り
速度を自動的にクランプして安全にNCプログラムのテ
スト運転を行うことができ、例え工作機械の衝突が発生
しても、衝突による工作機械の損傷を極力小さくでき、
損傷の修理に要する時間と費用を削減できる。またNC
プログラムの安全性の重複チェックの無駄がなくなる効
果もある。
As described above, according to the present invention,
The end / non-end of the test operation is automatically determined, the feed speed is automatically clamped, and the test operation of the NC program can be safely performed. Machine tool damage can be minimized,
Reduce the time and cost of repairing damage. Also NC
There is also an effect that the redundant check of the program security is not wasted.

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

【図1】本発明による数値制御における送り速度制御装
置の一実施形態のブロック構成図である。
FIG. 1 is a block diagram of an embodiment of a feed rate control device in numerical control according to the present invention.

【図2】本発明による送り速度制御の手順を示すフロー
チャートである。
FIG. 2 is a flowchart showing a procedure of feed speed control according to the present invention.

【図3】ワークの加工例を示す図である。FIG. 3 is a diagram illustrating a processing example of a work;

【図4】図3に示すワークを加工するNCプログラムの
一例である。
FIG. 4 is an example of an NC program for processing the work shown in FIG. 3;

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

1…送り速度制御装置 2…NCプログラム格納部 3…NCプログラム編集部 4…操作入力部 5…テスト運転終了登録記憶部 6…NCプログラム読取り解釈部 7…テスト運転終了判別部 8…全体/範囲指定登録記憶部 9…全体/範囲指定判別部 10…補間分配速度制御部 11…サーボ制御部 12…クランプ速度格納部 13…上限送り速度変更部 14…パラメータ格納部 15…サーボモータ DESCRIPTION OF SYMBOLS 1 ... Feed speed control device 2 ... NC program storage part 3 ... NC program editing part 4 ... Operation input part 5 ... Test operation end registration storage part 6 ... NC program reading and interpretation part 7 ... Test operation end discrimination part 8 ... Whole / range Designation registration storage unit 9 ... Overall / range designation determination unit 10 ... Interpolation distribution speed control unit 11 ... Servo control unit 12 ... Clamp speed storage unit 13 ... Upper limit feed speed change unit 14 ... Parameter storage unit 15 ... Servo motor

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 数値制御工作機械によりNCプログラム
にしたがって工具とワークとを相対移動させ前記ワーク
を加工する数値制御における送り速度制御方法におい
て、 実行しようとするNCプログラムがテスト運転を終了し
たものであるか未終了のものであるかを判別し、 前記NCプログラムがテスト運転未終了のものであると
判別されたとき、前記NCプログラム中の送り速度が所
定の上限値を越えないように規制する、 ことを特徴とした数値制御における送り速度制御方法。
1. A feed rate control method in a numerical control for processing a workpiece by relatively moving a tool and a workpiece according to an NC program by a numerically controlled machine tool, wherein the NC program to be executed has completed a test operation. It is determined whether the NC program is not completed or not. When it is determined that the NC program is not completed in the test operation, the feed rate in the NC program is regulated so as not to exceed a predetermined upper limit. A feed speed control method in numerical control, characterized in that:
【請求項2】 前記NCプログラムがテスト運転未終了
のものであると判別されたとき、 前記送り速度の規制方法が、前記NCプログラム中の全
ての送り速度を前記所定の上限値を越えないように規制
する全体指定形であるか、前記NCプログラムの所定の
範囲内の送り速度が前記所定の上限値を越えないように
規制する範囲指定形であるかを判別し、 前記範囲指定形であると判別されたときは、前記NCプ
ログラムの所定の範囲内のみの送り速度が前記上限値を
越えないように規制する請求項1に記載の数値制御にお
ける送り速度制御方法。
2. When it is determined that the NC program is not completed in the test operation, the method of controlling the feed speed does not exceed all the feed speeds in the NC program by the predetermined upper limit value. It is determined whether the form is an entire designated form that restricts the feed rate or a range designated form that regulates a feed rate within a predetermined range of the NC program so as not to exceed the predetermined upper limit value. 2. The feed rate control method according to claim 1, wherein when it is determined that the feed rate within a predetermined range of the NC program does not exceed the upper limit value.
【請求項3】 数値制御工作機械によりNCプログラム
にしたがって工具とワークとを相対移動させ前記ワーク
を加工する数値制御における送り速度制御装置におい
て、 実行しようとするNCプログラムがテスト加工終了した
ものであるか未終了のものであるかを判別する判別手段
と、 前記判別手段により、前記NCプログラムがテスト運転
未終了のものであると判別されたとき、前記NCプログ
ラム中の送り速度が所定の上限値を越えないように規制
する送り速度変更手段と、 を備えることを特徴とした数値制御における送り速度制
御装置。
3. A feed rate control device in numerical control for processing a workpiece by relatively moving a tool and a workpiece according to an NC program by a numerically controlled machine tool, wherein the NC program to be executed is one in which test machining has been completed. Discriminating means for discriminating whether or not the NC program is not yet completed in the test operation. If the discriminating means determines that the NC program is not completed in the test operation, the feed rate in the NC program is a predetermined upper limit value. And a feed speed changing means for restricting the feed speed so as not to exceed.
JP33316597A 1997-12-03 1997-12-03 Feed rate control method and apparatus in numerical control Pending JPH11165238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33316597A JPH11165238A (en) 1997-12-03 1997-12-03 Feed rate control method and apparatus in numerical control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33316597A JPH11165238A (en) 1997-12-03 1997-12-03 Feed rate control method and apparatus in numerical control

Publications (1)

Publication Number Publication Date
JPH11165238A true JPH11165238A (en) 1999-06-22

Family

ID=18263029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33316597A Pending JPH11165238A (en) 1997-12-03 1997-12-03 Feed rate control method and apparatus in numerical control

Country Status (1)

Country Link
JP (1) JPH11165238A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016159367A (en) * 2015-02-26 2016-09-05 ファナック株式会社 Robot controller that automatically switches the operation mode of the robot
JP2018192583A (en) * 2017-05-19 2018-12-06 株式会社ディスコ Processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016159367A (en) * 2015-02-26 2016-09-05 ファナック株式会社 Robot controller that automatically switches the operation mode of the robot
JP2018192583A (en) * 2017-05-19 2018-12-06 株式会社ディスコ Processing device
CN108962783A (en) * 2017-05-19 2018-12-07 株式会社迪思科 Processing unit (plant)

Similar Documents

Publication Publication Date Title
EP1195665B1 (en) Apparatus and method for setting control parameters of machining apparatus
JP3413158B2 (en) Machine Tools
JP3650027B2 (en) NC machining support method and apparatus
US10558193B2 (en) Method for machining a workpiece in a machine tool with optimized machining time
WO1987005845A1 (en) Method of preparing nc program for four-spindle lathe
JP4059411B2 (en) NC machine tool controller
JP4216808B2 (en) Numerical controller
JPH0611458B2 (en) Tool shape display device
JP3207125B2 (en) Turret tool selection command method
US4855898A (en) NC data creation method
JPH11165238A (en) Feed rate control method and apparatus in numerical control
JPS58175010A (en) Graphic display method of numerical controller for 4-axis lathe
JPS61173842A (en) Numerical control device
JP6935606B1 (en) Information processing equipment and information processing programs
JPH11165239A (en) Numerical control data editing device and numerical control data editing method
JP2606714B2 (en) Numerical control unit
US4982144A (en) Numerical control apparatus
JPS6147652B2 (en)
US11822317B2 (en) Operator-defined avoidance of chatter
US12093016B2 (en) Numerical controller which can be parametrised by the machine manufacturer
KR100221564B1 (en) Processing method and device to determine the optimum processing condition
JP2992163B2 (en) Numerical control method and device
JPH1165635A (en) Numerical controller with teaching playback function
WO2026023023A1 (en) Control device and program editing device
JPS61241043A (en) Creation system of machining data

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031216