JPWO2016199591A1 - Processing machine control device and processing machine control method - Google Patents

Processing machine control device and processing machine control method Download PDF

Info

Publication number
JPWO2016199591A1
JPWO2016199591A1 JP2017523573A JP2017523573A JPWO2016199591A1 JP WO2016199591 A1 JPWO2016199591 A1 JP WO2016199591A1 JP 2017523573 A JP2017523573 A JP 2017523573A JP 2017523573 A JP2017523573 A JP 2017523573A JP WO2016199591 A1 JPWO2016199591 A1 JP WO2016199591A1
Authority
JP
Japan
Prior art keywords
value
machining
upper limit
processing
override
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.)
Granted
Application number
JP2017523573A
Other languages
Japanese (ja)
Other versions
JP6456498B2 (en
Inventor
佑介 梅鉢
佑介 梅鉢
文武 高橋
文武 高橋
横山 拓哉
拓哉 横山
昌幸 山田
昌幸 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2016199591A1 publication Critical patent/JPWO2016199591A1/en
Application granted granted Critical
Publication of JP6456498B2 publication Critical patent/JP6456498B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/08Control or regulation of cutting velocity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)

Abstract

加工プログラムに従ってワーク(107)の加工を行い、オーバライド値により加工機(100)の制御値を可変して制御する制御装置(10)であって、オーバライド値を、加工負荷値に応じてオーバライド値(OR)の上限値(OR−OL)まで変更する第一設定部(4)と、ワーク(107)の加工箇所(Q1〜3)毎に、加工負荷値(NP)の最大負荷値(KF)が目標負荷値(TP)となるような仮上限値(K−OR−OL)を上限値(OR−OL)とする第二設定部(6)と、加工負荷値(NP)が加工閾値(PT)を超えると、オーバライド値(OR)を初期オーバライド値(F−OR)に変更する判定部(2)とを備える。A control device (10) for processing a workpiece (107) in accordance with a processing program and varying and controlling a control value of the processing machine (100) according to an override value, wherein the override value is set according to a processing load value. The maximum setting value (KF) of the machining load value (NP) for each of the first setting unit (4) that changes to the upper limit value (OR-OL) of (OR) and the machining location (Q1 to Q3) of the workpiece (107). ) Becomes a target load value (TP), the second setting unit (6) having a temporary upper limit (K-OR-OL) as an upper limit (OR-OL), and the machining load value (NP) is a machining threshold. A determination unit (2) that changes the override value (OR) to the initial override value (F-OR) when (PT) is exceeded.

Description

この発明は、加工負荷値の変化に対応して制御値を制御する加工機の制御装置および加工機の制御方法に関するものである。   The present invention relates to a processing machine control apparatus and a processing machine control method for controlling a control value in response to a change in a machining load value.

従来の加工機の制御装置および加工機の制御方法は、コスト削減、納期短縮のため、加工能率の向上が常に求められている。鋳物や鍛造など形状にばらつきがあるワークを加工する場合、そのワークのばらつきにより加工代が最大になる場合を考慮して、加工回数を多めに設定する必要がある。よって、ワークの加工代が小さい箇所では何も削らないエアカットの時間が発生するため、このエアカット時間を短くする方法が求められていた。   Conventional processing machine control devices and processing machine control methods are constantly required to improve machining efficiency in order to reduce costs and shorten delivery times. When machining a workpiece having a variation in shape such as casting or forging, it is necessary to set a larger number of machining times in consideration of the case where the machining allowance is maximized due to the variation of the workpiece. Therefore, air cut time in which nothing is cut occurs at a portion where the machining allowance of the workpiece is small, and a method for shortening the air cut time has been demanded.

このことを解決するために、特許文献1においては、加工前にワークの形状を事前測定し、その測定結果に応じて加工プログラムを変更することにより、エアカット時間を短くしている。   In order to solve this problem, in Patent Document 1, the shape of the workpiece is measured in advance before machining, and the machining program is changed according to the measurement result, thereby shortening the air cut time.

しかしながら、特許文献1のように事前測定するには測定時間が必要であり、また、ワークが測定できるものに限られる。   However, as in Patent Document 1, a pre-measurement requires a measurement time, and is limited to a workpiece that can be measured.

具体的な、ワークの測定の方法としては、接触式と非接触式との2種類がある。
接触式は座標を検知する手段を備えたプローブをワークに接触させ、その接触を検知することによりワーク表面の座標を認識する方法である。高精度であるが、プローブが壊れないようゆっくり、かつ、ワークの形状が不定形の場合には遠い位置からワークに当てる必要があり測定時間がかかるという問題点があった。
There are two specific methods for measuring a workpiece, a contact type and a non-contact type.
The contact type is a method of recognizing the coordinates of the workpiece surface by bringing a probe having means for detecting coordinates into contact with the workpiece and detecting the contact. Although it is highly accurate, there is a problem that it takes a long time to touch the workpiece from a distant position when the workpiece is irregularly shaped so that the probe is not broken and is indefinite.

また、非接触式は座標を検知する手段を備えたセンサからLEDまたはLDなどの光を照射し、その反射光もしくは透過光を受光素子で検知することによりワークの位置を測定する方法(例えば、特許文献1に参照)である。接触式に比べ検出時間は短くなるが、光学的手段で検知するためワークの材質、表面性状が限定されるという問題や、センサが汚れに弱く検出精度が低くなるという問題や、センサ自体が高価であるという問題点があった。   The non-contact type is a method of measuring the position of a workpiece by irradiating light such as an LED or LD from a sensor having means for detecting coordinates and detecting the reflected light or transmitted light with a light receiving element (for example, (See Patent Document 1). Although the detection time is shorter than that of the contact type, there is a problem that the material and surface properties of the work are limited due to detection by optical means, the problem that the sensor is weak against dirt and the detection accuracy is low, and the sensor itself is expensive. There was a problem that.

このことを解決する方法として、例えば特許文献2では、目標負荷を予め設定しておき、加工負荷と連動する主軸負荷値が目標負荷値の範囲内に入るよう送り速度、回転数を変更する加工負荷制御により、エアカット時間を短くしている。このように、リアルタイムで測定および制御を行うため、特許文献1のように事前測定は不要であり、ワークの制約もなく、電流または電力を検出すれば実施することができるため、非接触式のセンサに比較して低コストとなる。   As a method for solving this, for example, in Patent Document 2, a target load is set in advance, and the feed speed and the rotation speed are changed so that the spindle load value interlocked with the machining load falls within the range of the target load value. Air cut time is shortened by load control. In this way, since measurement and control are performed in real time, prior measurement is not required as in Patent Document 1, and it can be performed by detecting current or power without any work restrictions. The cost is lower than that of the sensor.

特開2013−18109号公報JP 2013-18109 A 特開2005−205517号公報JP 2005-205517 A

従来の加工機の制御装置および加工機の制御方法において、加工負荷制御を導入する場合、送り速度および回転数を際限なく大きくした場合、加工精度や工具寿命の問題が発生する。よってこれらを、どの程度まで大きくすることが可能であるかという、上限値を定めることとなる。   In the conventional processing machine control device and processing machine control method, when machining load control is introduced, if the feed rate and the rotational speed are increased without limit, problems of machining accuracy and tool life occur. Therefore, an upper limit value is set for how much these can be increased.

実際には、ワークの形状がばらつくため、実際に複数個のワークを加工し、工具の寿命を確認し、適当な加工時間と工具寿命となる「送り速度の上限値」を決定する必要がある。   Actually, since the shape of the workpiece varies, it is necessary to actually machine a plurality of workpieces, check the tool life, and determine the "upper limit value of feed speed" that provides an appropriate machining time and tool life. .

そのため、「ワークの形状のばらつき」自体が変動した場合、ワークの加工代が大きくなると工具が破損する可能性が高くなり、逆に小さくなると加工効率をもっと高くすることが可能な状態になり、相対的に加工能率が低下するという問題点があった。   Therefore, when the "workpiece shape variation" itself changes, there is a high possibility that the tool will be damaged if the machining allowance for the workpiece increases, and conversely, if the workpiece becomes smaller, the machining efficiency can be further increased. There was a problem that the machining efficiency was relatively lowered.

また、これら防ぐためには、十分なワーク数の加工を実施する必要があり、加工負荷制御の導入まで時間がかかるという問題点があった。   In addition, in order to prevent these problems, it is necessary to perform machining with a sufficient number of workpieces, and there is a problem that it takes time to introduce machining load control.

この発明は上記のような課題を解決するためになされたものであり、ワークの形状のばらつきが存在しても、加工部の破損を抑制しつつ、適正な加工効率を確保できる加工機の制御装置および加工機の制御方法を提供することを目的とする。   The present invention has been made to solve the above-described problems. Even when there is a variation in the shape of a workpiece, the control of a processing machine that can ensure proper processing efficiency while suppressing damage to the processing portion. An object of the present invention is to provide a control method for an apparatus and a processing machine.

この発明の加工機の制御装置は、
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御装置において、
前記加工機の前記加工負荷値を取得する監視部と、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更する第一設定部と、
前記加工負荷値が、前記加工機の加工判定を行うために設定された加工閾値を超えると、前記加工機の前記オーバライド値を前記上限値より小さい初期オーバライド値に変更して前記第一設定部に設定する判定部とを備えたものである。
The control device of the processing machine of the present invention is
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control device of the processing machine,
A monitoring unit for acquiring the processing load value of the processing machine;
A first setting unit that changes the override value to an upper limit that is an upper limit of the override value according to the machining load value;
When the processing load value exceeds a processing threshold set for performing processing determination of the processing machine, the override value of the processing machine is changed to an initial override value smaller than the upper limit value, and the first setting unit And a determination unit to be set.

また、この発明の加工機の制御装置は、
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御装置において、
前記ワークに複数の加工箇所を有する場合、
前記加工機の前記加工負荷値を取得する監視部と、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更する第一設定部と、
前記ワークの前記加工箇所毎に、前記加工負荷値の最大負荷値が前記目標負荷値となるような仮上限値を前記上限値として前記第一設定部に設定する第二設定部とを備えたものである。
Moreover, the control device of the processing machine of the present invention is:
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control device of the processing machine,
When the workpiece has a plurality of machining points,
A monitoring unit for acquiring the processing load value of the processing machine;
A first setting unit that changes the override value to an upper limit that is an upper limit of the override value according to the machining load value;
A second setting unit that sets, in the first setting unit, a temporary upper limit value such that the maximum load value of the machining load value becomes the target load value for each machining location of the workpiece; Is.

また、この発明の加工機の制御方法は、
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御方法において、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更するとともに、
前記加工負荷値が、前記加工機の加工判定を行うために設定された加工閾値を超えると、前記加工機の前記オーバライド値を前記上限値より小さい初期オーバライド値に変更して制御するものである。
The control method of the processing machine of the present invention is
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control method of the processing machine,
The override value is changed to an upper limit value that is an upper limit of the override value according to the machining load value,
When the processing load value exceeds a processing threshold set for performing processing determination of the processing machine, the override value of the processing machine is changed to an initial override value smaller than the upper limit value and controlled. .

また、この発明の加工機の制御方法は、
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御方法において、
前記ワークに複数の加工箇所を有する場合、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更するとともに、
前記ワークの前記加工箇所毎に、前記加工負荷値の最大負荷値が前記目標負荷値となるような仮上限値を前記上限値として制御するものである。
The control method of the processing machine of the present invention is
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control method of the processing machine,
When the workpiece has a plurality of machining points,
The override value is changed to an upper limit value that is an upper limit of the override value according to the machining load value,
For each machining location of the workpiece, a temporary upper limit value such that the maximum load value of the machining load value becomes the target load value is controlled as the upper limit value.

この発明の上記のように構成された加工機の制御装置および上記のように行われた加工機の制御方法によれば、
ワークの形状のばらつきが存在しても、加工部の破損を抑制しつつ、適正な加工効率を確保できる加工負荷制御を行うことができる。
According to the processing machine control device configured as described above and the processing machine control method performed as described above according to the present invention,
Even if there are variations in the shape of the workpiece, it is possible to perform machining load control that can ensure proper machining efficiency while suppressing breakage of the machining portion.

この発明の実施の形態1の加工機および加工機の制御装置の構成を示す図である。It is a figure which shows the structure of the processing machine of Embodiment 1 of this invention, and the control apparatus of a processing machine. 図1に示した制御装置の加工負荷制御を示したフローチャートである。It is the flowchart which showed the process load control of the control apparatus shown in FIG. 図2に示した加工負荷制御における加工判定の制御を示したフローチャートである。It is the flowchart which showed the control of the process determination in the process load control shown in FIG. 図2に示した加工負荷制御におけるオーバライド値の設定の制御を示したフローチャートである。FIG. 3 is a flowchart showing control for setting an override value in the machining load control shown in FIG. 2. FIG. 図1に示した加工機および加工機の制御装置の制御を説明するためのフローチャートである。It is a flowchart for demonstrating control of the processing machine shown in FIG. 1, and the control apparatus of a processing machine. 図5に示した仮上限値の設定の制御を示したフローチャートである。6 is a flowchart showing control for setting a temporary upper limit value shown in FIG. 5. 図5に示した仮上限値の設定の制御を示したフローチャートである。6 is a flowchart showing control for setting a temporary upper limit value shown in FIG. 5. 図5に示した加工プログラムの修正の制御を示したフローチャートである。6 is a flowchart showing control for correcting the machining program shown in FIG. 5. 図1に示した加工機の制御装置の制御を説明するためのフローチャートである。It is a flowchart for demonstrating control of the control apparatus of the processing machine shown in FIG. 図1に示した加工機を用いて加工を行うワークの構成を説明するための図である。It is a figure for demonstrating the structure of the workpiece | work which processes using the processing machine shown in FIG. 図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。It is the figure which showed the processing program for demonstrating the change of the processing program in the control apparatus of the processing machine shown in FIG. 図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。It is the figure which showed the processing program for demonstrating the change of the processing program in the control apparatus of the processing machine shown in FIG. 図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。It is the figure which showed the processing program for demonstrating the change of the processing program in the control apparatus of the processing machine shown in FIG. 図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。It is the figure which showed the processing program for demonstrating the change of the processing program in the control apparatus of the processing machine shown in FIG. 図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。It is the figure which showed the processing program for demonstrating the change of the processing program in the control apparatus of the processing machine shown in FIG. 図11の各加工プログラムにより加工した場合の、X軸方向の移動における加工負荷値および送り速度の遷移説明するための図である。It is a figure for demonstrating transition of the processing load value and feed rate in the movement of a X-axis direction at the time of processing by each processing program of FIG. 図12の各加工プログラムで、かつ従来の加工負荷制御を導入し加工した場合の、X軸方向の移動における加工負荷値および送り速度の遷移説明するための図である。It is a figure for demonstrating the transition of the machining load value in the movement of an X-axis direction, and a feed rate when each machining program of FIG. 12 introduces the conventional machining load control, and is machined. 図12の各加工プログラムで、かつ実施の形態1の加工負荷制御を導入し加工した場合の、X軸方向の移動における加工負荷値および送り速度の遷移説明するための図である。FIG. 13 is a diagram for explaining a transition of a machining load value and a feed rate in movement in the X-axis direction when machining is performed with each machining program of FIG. 12 and machining load control according to the first embodiment is introduced. 図15の各加工プログラムで、かつ実施の形態1の加工負荷制御を導入し加工した場合の、X軸方向の移動における加工負荷値および送り速度の遷移説明するための図である。It is a figure for demonstrating the transition of the machining load value in the movement of an X-axis direction, and a feed rate when each machining program of FIG. 15 introduces the machining load control of Embodiment 1, and is machined. この発明の実施の形態2の加工機および加工機の制御装置の構成を示す図である。It is a figure which shows the structure of the processing machine of Embodiment 2 of this invention, and the control apparatus of a processing machine. この発明の実施の形態3の加工機および加工機の制御装置の構成を示す図である。It is a figure which shows the structure of the processing machine of Embodiment 3 of this invention, and the control apparatus of a processing machine. 図21に示した制御装置の加工負荷制御を示したフローチャートである。It is the flowchart which showed the process load control of the control apparatus shown in FIG.

実施の形態1.
以下、本願発明の実施の形態について説明する。図1はこの発明の実施の形態1における加工機および加工機の制御装置の構成を示す図である。図2は図1に示した制御装置の加工負荷制御を示したフローチャートである。図3は図2に示した加工負荷制御における加工判定の制御を示したフローチャートである。図4は図2に示した加工負荷制御におけるオーバライド値の設定の制御を示したフローチャートである。図5は図1に示した加工機および加工機の制御装置の制御を説明するためのフローチャートである。
Embodiment 1 FIG.
Embodiments of the present invention will be described below. FIG. 1 is a diagram showing a configuration of a processing machine and a control device for the processing machine according to Embodiment 1 of the present invention. FIG. 2 is a flowchart showing machining load control of the control device shown in FIG. FIG. 3 is a flowchart showing machining determination control in the machining load control shown in FIG. FIG. 4 is a flowchart showing control for setting an override value in the machining load control shown in FIG. FIG. 5 is a flowchart for explaining the control of the processing machine and the control device for the processing machine shown in FIG.

図6および図7は図5に示した仮上限値の設定の制御を示したフローチャートである。図8は図5に示した加工プログラムの修正の制御を示したフローチャートである。図9は図1に示した加工機の制御装置の制御を説明するためのフローチャートである。図10は図1に示した加工機を用いて加工を行うワークの構成を説明するための図である。図10(A)はワークの上面図、図10(B)はワークの側面図、図10(C)はワークのX軸方向の位置を示した図である。   6 and 7 are flowcharts showing control of setting the temporary upper limit value shown in FIG. FIG. 8 is a flowchart showing control for correcting the machining program shown in FIG. FIG. 9 is a flowchart for explaining control of the control device for the processing machine shown in FIG. FIG. 10 is a diagram for explaining the configuration of a workpiece to be processed using the processing machine shown in FIG. 10A is a top view of the workpiece, FIG. 10B is a side view of the workpiece, and FIG. 10C is a diagram showing the position of the workpiece in the X-axis direction.

図11から図15は図1に示した加工機の制御装置における加工プログラムの変化を説明するための加工プログラムを示した図である。図16から図19は各加工プログラムにより加工した場合の、X軸方向の移動における加工負荷値および送り速度の遷移説明するための図である。図16は図11の加工プログラムにより加工した場合の図である。図17は図12の加工プログラムにより加工した場合の図である。図18は図13の加工プログラムにより加工した場合の図である。図19は図15の加工プログラムにより加工した場合の図である。   11 to 15 are diagrams showing machining programs for explaining changes in the machining program in the control device for the machining machine shown in FIG. FIGS. 16 to 19 are diagrams for explaining the transition of the machining load value and the feed rate in the movement in the X-axis direction when machining is performed by each machining program. FIG. 16 is a diagram when machining is performed by the machining program of FIG. FIG. 17 is a diagram when machining is performed by the machining program of FIG. FIG. 18 is a diagram when machining is performed by the machining program of FIG. FIG. 19 is a diagram when machining is performed by the machining program of FIG.

図1において、制御装置10はマシニングセンタ等の加工機100を加工プログラムに基づいて制御するNC(Numerical Controlの略、数値制御を示し、以下、NCと略して示す)装置120の一部、もしくはNC装置120の補助装置として構成されるものである。加工機100はテーブル108上にワーク107を固定して加工するものである。また加工機100は、主軸モータ101を介して主軸105にて回転工具106が回転することにより切削加工を行うものである。回転工具106は、加工機100のワーク107の加工を行う加工部であり、フライスまたはエンドミルなどにて構成されている。   In FIG. 1, a control device 10 is a part of an NC (abbreviation of numerical control, hereinafter abbreviated as NC) device 120 for controlling a processing machine 100 such as a machining center based on a machining program, or an NC It is configured as an auxiliary device for the device 120. The processing machine 100 fixes and processes a workpiece 107 on a table 108. Further, the processing machine 100 performs cutting by rotating a rotary tool 106 on a main shaft 105 via a main shaft motor 101. The rotary tool 106 is a processing unit that processes the workpiece 107 of the processing machine 100, and is configured by a milling cutter or an end mill.

テーブル108はボールねじやリニアガイド等を介してZ軸モータ102により主軸105の軸方向(以下、Z軸方向)へ移動することが可能に構成されている。主軸105はボールねじやリニアガイド等を介してX軸モータ103とY軸モータ104とによってX軸方向とY軸方向とに自由に移動することが可能に構成されている。X軸、Y軸およびZ軸は互いに直交しており、Z軸モータ102、X軸モータ103、Y軸モータ104を用いて回転工具106とワーク107との相対位置および相対速度を制御し、ワーク107を任意の形状に加工可能に構成されている。また、テーブル108、X軸モータ103、Y軸モータ104、および、Z軸モータ102はワーク107の移動を行う移動部である。   The table 108 is configured to be movable in the axial direction of the main shaft 105 (hereinafter referred to as the Z-axis direction) by the Z-axis motor 102 via a ball screw, a linear guide, or the like. The main shaft 105 is configured to be freely movable in the X-axis direction and the Y-axis direction by the X-axis motor 103 and the Y-axis motor 104 via a ball screw, a linear guide, or the like. The X-axis, Y-axis, and Z-axis are orthogonal to each other, and the relative position and relative speed between the rotary tool 106 and the workpiece 107 are controlled using the Z-axis motor 102, the X-axis motor 103, and the Y-axis motor 104. 107 can be processed into an arbitrary shape. The table 108, the X-axis motor 103, the Y-axis motor 104, and the Z-axis motor 102 are moving units that move the workpiece 107.

主軸モータ101、Z軸モータ102、X軸モータ103、および、Y軸モータ104は例えばサーボモータにて構成されている。主軸モータ101、Z軸モータ102、X軸モータ103、および、Y軸モータ104はNC装置120の指令に基づいて、それぞれ主軸サーボアンプ(以下、サーボアンプはアンプと略して示す)111、Z軸アンプ112、X軸アンプ113、および、Y軸アンプ114により制御される。よって、主軸モータ101は主駆動部であり、Z軸モータ102、X軸モータ103、および、Y軸モータ104は移動駆動部である。   The main shaft motor 101, the Z-axis motor 102, the X-axis motor 103, and the Y-axis motor 104 are constituted by servo motors, for example. The spindle motor 101, the Z-axis motor 102, the X-axis motor 103, and the Y-axis motor 104 are respectively a spindle servo amplifier (hereinafter abbreviated as an amplifier) 111 and a Z axis based on commands from the NC device 120. Control is performed by the amplifier 112, the X-axis amplifier 113, and the Y-axis amplifier 114. Therefore, the main shaft motor 101 is a main drive unit, and the Z-axis motor 102, the X-axis motor 103, and the Y-axis motor 104 are movement drive units.

制御装置10は、監視部1、判定部2、第一設定部3、第一記憶部4、統合部5、第二設定部6、第二記憶部7、および、修正部8を備えている。監視部1は、主軸モータ101の電力、電流といった主軸105の負荷である加工負荷値NPの情報を、主軸アンプ111から得て現在の加工負荷値NPとして監視するものである。第一記憶部4は、各パラメータ(初期値を含む)を記憶するものである。   The control device 10 includes a monitoring unit 1, a determination unit 2, a first setting unit 3, a first storage unit 4, an integration unit 5, a second setting unit 6, a second storage unit 7, and a correction unit 8. . The monitoring unit 1 obtains information on the machining load value NP that is the load on the spindle 105 such as the power and current of the spindle motor 101 from the spindle amplifier 111 and monitors it as the current machining load value NP. The first storage unit 4 stores each parameter (including initial values).

判定部2は、監視部1から出力される現在の加工負荷値NPと、加工閾値PTとを比較し、加工判定を行うものである。また、判定部2は、加工中であると判定すると、オーバライド値OR(後述に、詳細を示す)を、オーバライド値ORの上限値OR−OLより小さい初期オーバライド値F−ORに変更する。第一設定部3は、判定部2の加工判定の結果から、加工プログラムにおいて設定された加工機100の制御値としての送り速度をどれだけ変化させることができるか(このことをオーバライド値ORと称す)を、オーバライド値ORの上限値OR−OLまで変更して設定するものである。また、第一設定部3は、判定部2にて設定された初期オーバライド値F−ORが設定される。統合部5は、加工機100の加工データを取得するものである。第二記憶部7は、統合部5にて取得された加工データおよび加工プログラムを格納するものである。   The determination unit 2 compares the current processing load value NP output from the monitoring unit 1 with the processing threshold value PT, and performs processing determination. If the determination unit 2 determines that processing is in progress, the determination unit 2 changes the override value OR (details will be described later) to an initial override value F-OR that is smaller than the upper limit value OR-OL of the override value OR. The first setting unit 3 can change the feed speed as the control value of the processing machine 100 set in the processing program from the result of the processing determination of the determination unit 2 (this is referred to as an override value OR). Is changed to the upper limit value OR-OL of the override value OR. The first setting unit 3 is set with the initial override value F-OR set by the determination unit 2. The integration unit 5 acquires processing data of the processing machine 100. The second storage unit 7 stores the machining data and the machining program acquired by the integration unit 5.

第二設定部6は、第二記憶部7の加工データと、第一記憶部4の各パラメータとを比較し、仮上限値K−OR−OLを設定するものである。修正部8は、第二設定部6の結果を受けて、各値および加工プログラムを修正するものである。尚、各パラメータおよび各値については、後述の制御の説明において行う。   The second setting unit 6 compares the machining data in the second storage unit 7 with each parameter in the first storage unit 4 and sets a temporary upper limit value K-OR-OL. The correction unit 8 receives the result of the second setting unit 6 and corrects each value and machining program. Each parameter and each value will be described in the description of control described later.

次に上記のように構成された実施の形態1の加工機の制御装置の制御方法について説明する。尚、加工機の制御装置の制御方法については、まず、各制御の流れについて説明する。その後、その効果が明確となるように、具体的な加工プログラムおよびワークの例を用いて各制御の流れについて説明する。   Next, a control method of the processing machine control apparatus according to the first embodiment configured as described above will be described. In addition, about the control method of the control apparatus of a processing machine, the flow of each control is demonstrated first. Then, the flow of each control is demonstrated using the example of a specific machining program and a workpiece | work so that the effect may become clear.

まず、本実施の形態1の制御装置10において行われる加工負荷制御について図2に基づいて説明する。まず、以下の制御において使用する各値について説明する。
◎「送り速度のオーバライド値OR」(以下、単にオーバライド値ORと称す)
送り速度をどれぐらい変動させるかをあらわす値である。オーバライド値ORは後述にて示す、「オーバライド値ORの設定」により設定される。加工プログラム中の送り速度の指令値にオーバライド値ORを掛け算すると、実際の送り速度となる。
First, machining load control performed in the control device 10 of the first embodiment will be described with reference to FIG. First, each value used in the following control will be described.
◎ "Override value OR of feed speed" (hereinafter simply referred to as override value OR)
This value indicates how much the feed rate is changed. The override value OR is set by “setting of the override value OR” described later. When the command value of the feed rate in the machining program is multiplied by the override value OR, the actual feed rate is obtained.

◎「オーバライド値の上限値OR−OL」(以下、上限値OR−OLと称す)
オーバライド値ORは図4の「オーバライド値ORの設定」により設定されるが、加工負荷制御は加工負荷値の検出後に送り速度を制御するため、ワーク107と回転工具106との接触時の衝撃が大きくなりがちである。そこで、オーバライド値ORに上限値OR−OLを設け、送り速度が過剰に大きくなることを防ぐためのものである。
◎ "Override value upper limit value OR-OL" (hereinafter referred to as upper limit value OR-OL)
The override value OR is set by “setting of the override value OR” in FIG. 4. However, since the machining load control controls the feed rate after the machining load value is detected, the impact at the time of contact between the workpiece 107 and the rotary tool 106 is reduced. Tends to grow. Therefore, an upper limit value OR-OL is provided for the override value OR to prevent the feed speed from becoming excessively large.

◎「仮のオーバライド上限値K−OR−OL」(以下、仮上限値K−OR−OLと称す)上限値OR−OLは、第一記憶部4に格納され、その値は1つしか存在しない。そこで、仮上限値K−OR−OLを設け、加工プログラム中で任意の値を設定することを可能とするものである。 ◎ "Temporary override upper limit value K-OR-OL" (hereinafter referred to as temporary upper limit value K-OR-OL) The upper limit value OR-OL is stored in the first storage unit 4 and there is only one value. do not do. Therefore, a provisional upper limit value K-OR-OL is provided, and an arbitrary value can be set in the machining program.

加工負荷制御について説明する。まず、加工負荷制御の開始指令があると加工負荷制御を開始する(図2のステップS101)。具体的に、加工負荷制御の開始指令方法は、例えば加工プログラム中に開始指令を記載し、当該指令を読み込んだら開始する。次に、「オーバライド値OR」、「上限値OR−OL」、「仮上限値K−OR−OL」をそれぞれ初期化する(図2のステップS102)。尚、オーバライド値ORの初期値は100%、上限値OR−OLの初期値は150%、仮上限値K−OR−OLの初期値は0(仮上限値K−OR−OLを使用しないOFFとして設定されている)とする。   Processing load control will be described. First, when there is a machining load control start command, machining load control is started (step S101 in FIG. 2). Specifically, the machining load control start command method is described, for example, by describing a start command in a machining program and reading the command. Next, “override value OR”, “upper limit value OR-OL”, and “temporary upper limit value K-OR-OL” are respectively initialized (step S102 in FIG. 2). The initial value of the override value OR is 100%, the initial value of the upper limit value OR-OL is 150%, the initial value of the temporary upper limit value K-OR-OL is 0 (the temporary upper limit value K-OR-OL is not used) Is set as).

次に、加工プログラム中に仮上限値K−OR−OLの使用終了指令があるか否かを確認する(図2のステップS103)。そして、仮上限値K−OR−OLの使用終了指令があった場合(YES)には、仮上限値K−OR−OLは初期値の0に上書きされる(図2のステップS104)。また、仮上限値K−OR−OLの使用終了指令がなかった場合(NO)には、仮上限値K−OR−OLが初期値の0か否かを確認する(図2のステップS105)。そして、仮上限値K−OR−OLが初期値の0でなかった場合(NO)には、上限値OR−OLとして仮上限値K−OR−OLの値を設定する(図2のステップS106)。   Next, it is confirmed whether or not there is a use end command for the temporary upper limit value K-OR-OL in the machining program (step S103 in FIG. 2). Then, when there is a use end command for the temporary upper limit value K-OR-OL (YES), the temporary upper limit value K-OR-OL is overwritten with the initial value 0 (step S104 in FIG. 2). Further, when there is no use end command for the temporary upper limit value K-OR-OL (NO), it is confirmed whether or not the temporary upper limit value K-OR-OL is the initial value 0 (step S105 in FIG. 2). . When the temporary upper limit value K-OR-OL is not the initial value 0 (NO), the temporary upper limit value K-OR-OL is set as the upper limit value OR-OL (step S106 in FIG. 2). ).

また、仮上限値K−OR−OLが初期値の0であった場合(YES)には、上限値OR−OLを初期値に設定する(図2のステップS107)。次に、加工負荷制御の終了指令があるか否かを確認する(図2のステップS108)。そして、終了指令がある場合(YES)には、加工負荷制御を終了する(図2のステップS109)。また、終了指令がない場合(NO)は、「加工判定」を行う(図2のステップS110)。   If the temporary upper limit value K-OR-OL is the initial value 0 (YES), the upper limit value OR-OL is set to the initial value (step S107 in FIG. 2). Next, it is confirmed whether or not there is a machining load control end command (step S108 in FIG. 2). If there is an end command (YES), the machining load control is ended (step S109 in FIG. 2). If there is no end command (NO), “machining determination” is performed (step S110 in FIG. 2).

次に、「オーバライド値ORの設定」を行う(図2のステップS111)。尚、「加工判定」、および、「オーバライド値ORの設定」については後述にて説明する。次に、オーバライド値ORをNC装置120へ出力する(図2のステップS112)。次に、再びステップS103に戻り、上記に示した制御を繰り返す。   Next, “setting of an override value OR” is performed (step S111 in FIG. 2). Note that “processing determination” and “override value OR setting” will be described later. Next, the override value OR is output to the NC device 120 (step S112 in FIG. 2). Next, it returns to step S103 again and repeats the control shown above.

このように、仮上限値K−OR−OLを設定することにより、加工プログラム中において、危険性が高い箇所のオーバライド値ORの上限値OR−OLは低く、危険性の低い箇所のオーバライド値ORの上限値OR−OLは高く設定することが可能となる。これにより、工具寿命を確保しつつ加工能率を高めることができるものである。この効果は、後述する具体例において明らかであると考える。   In this way, by setting the temporary upper limit value K-OR-OL, the upper limit value OR-OL of the override value OR at a high risk location is low and the override value OR at a low risk location is set in the machining program. The upper limit value OR-OL of can be set high. As a result, the machining efficiency can be increased while ensuring the tool life. This effect is considered to be clear in the specific examples described later.

次に、図2にて示した加工判定の制御について図3のフローチャートに基づいて説明する。まず、以下の制御において使用する各値について説明する。
◎「加工負荷値NP」
加工機100が加工を行った際の加工負荷の値である。
◎「加工状態であると判定するための閾値PT」(以下、加工閾値PTと称す)
加工負荷値NPが一定値(加工閾値PT)を超えると「加工中」と判定するためのものである。よって、加工負荷値NPの検出精度によって適宜設定されるものであるが、例えば加工負荷値NPの最大値の1〜10%とし、現在の加工負荷値NPが加工閾値PTを超えない場合は、「非加工中」、超えた場合は「加工中」と判定するように設定されている。
Next, the processing determination control shown in FIG. 2 will be described based on the flowchart of FIG. First, each value used in the following control will be described.
◎ "Machining load value NP"
This is the value of the processing load when the processing machine 100 performs processing.
◎ "Threshold PT for determining that it is in a machining state" (hereinafter referred to as machining threshold PT)
When the machining load value NP exceeds a certain value (machining threshold PT), it is for determining that “machining”. Therefore, although it is set as appropriate depending on the detection accuracy of the machining load value NP, for example, 1 to 10% of the maximum value of the machining load value NP, and when the current machining load value NP does not exceed the machining threshold PT, It is set so that “not being processed” is determined, and if exceeding, “not being processed” is determined.

◎「制御タイマCT」
加工負荷制御開始後、加工負荷値NPが加工閾値PTを超えると(「加工中」であると判断されると)ONになるものである。また、加工負荷値NPが加工閾値PT以下になり、かつ、一定時間(リセット時間RCT)が経過すると0になるものである。
◎「リセット時間RCT」
先に示したように、制御タイマCTをリセットするための時間を設定するものである。
◎ "Control timer CT"
After the machining load control is started, the machining load value NP is turned ON when the machining threshold value PT exceeds the machining threshold PT (determined to be “being machined”). Further, it becomes 0 when the machining load value NP is equal to or less than the machining threshold PT and a certain time (reset time RCT) elapses.
◎ "Reset time RCT"
As described above, the time for resetting the control timer CT is set.

◎「加工初期オーバライド値F−OR」(以下、初期オーバライド値F−ORと称す。但し、オーバライド値ORの初期値とは異なるものである。)
加工負荷値NPが加工閾値PT以上となり、制御タイマCTがONになった時、オーバライド値ORを「オーバライド値ORの設定」を経ることなく強制的に変更するためのものである。また、上限値OR−OLより小さい値にて設定されている。
"Processing initial override value F-OR" (hereinafter referred to as initial override value F-OR, however, it is different from the initial value of override value OR)
When the machining load value NP is equal to or greater than the machining threshold PT and the control timer CT is turned on, the override value OR is forcibly changed without going through “setting of the override value OR”. Further, it is set to a value smaller than the upper limit value OR-OL.

判定部2にて行われる加工判定の制御について説明する。まず、加工負荷制御が開始すると加工判定が開始される(図3のステップS201)。次に、監視部1から現在の加工負荷値NPを読み込む(図3のステップS202)。次に、読み込んだ現在の加工負荷値NPが、加工閾値PT以上か否かを判断する(図3のステップS203)。そして、「加工中」と判定された場合(YES)には、制御タイマCTが0か否かを比較する(図3のステップS204)。   Processing control performed by the determination unit 2 will be described. First, when processing load control is started, processing determination is started (step S201 in FIG. 3). Next, the current machining load value NP is read from the monitoring unit 1 (step S202 in FIG. 3). Next, it is determined whether or not the read current machining load value NP is equal to or greater than the machining threshold PT (step S203 in FIG. 3). When it is determined that “processing” is in progress (YES), it is compared whether or not the control timer CT is 0 (step S204 in FIG. 3).

そして、制御タイマCTが0でない場合(NO)には、加工判定の処理を終了する(図3のステップS209)。また、制御タイマCTが0の場合(YES)には、オーバライド値ORを事前に設定した初期オーバライド値F−ORに変更する(図3のステップS205)。初期オーバライド値F−ORは、例えば100%である。次に、制御タイマCTのカウントを開始(ON)する(図3のステップS206)。   If the control timer CT is not 0 (NO), the process determination process is terminated (step S209 in FIG. 3). If the control timer CT is 0 (YES), the override value OR is changed to a preset initial override value F-OR (step S205 in FIG. 3). The initial override value F-OR is, for example, 100%. Next, the control timer CT starts counting (ON) (step S206 in FIG. 3).

また、ステップS203にて、「非加工中」と判定された場合(NO)には、制御タイマCTの値が、事前に設定した第一記憶部4の「リセット時間RCT」より大きいか否かを確認する(図3のステップS207)。そして、制御タイマCTの値がリセット時間RCT以上の場合(YES)には、制御タイマCTを初期化して0とする(図3のステップS208)。また、制御タイマCTの値がリセット時間RCTより小さい場合(YES)には、加工判定の処理を終了する(図3のステップS209)。   If it is determined in step S203 that “Non-machining” (NO), whether or not the value of the control timer CT is greater than the “reset time RCT” of the first storage unit 4 set in advance. Is confirmed (step S207 in FIG. 3). If the value of the control timer CT is equal to or longer than the reset time RCT (YES), the control timer CT is initialized to 0 (step S208 in FIG. 3). If the value of the control timer CT is smaller than the reset time RCT (YES), the processing determination process is terminated (step S209 in FIG. 3).

このような加工判定の制御を行うことにより、「非加工中」から「加工中」に切り替わる際に(ステップS204からステップS205に移る制御)、オーバライド値ORを初期オーバライド値F−ORに強制的に切り替えることができる。この制御により、制御が間に合わず、加工負荷が急激に増大することを抑制することができ、加工部の破損を低減できる。尚、上記に示した以外に、加工判定を終了する方法として、加工負荷値NPが加工閾値PT以下の状態が一定時間経過すればリセットする方法も考えられる。   By performing such machining determination control, the override value OR is forcibly set to the initial override value F-OR when switching from “Non-machining” to “Machining” (control from step S204 to step S205). You can switch to By this control, it is possible to prevent the control from being in time and to prevent the machining load from rapidly increasing, and to reduce the breakage of the machining part. In addition to the above, as a method of ending the processing determination, a method of resetting when a state where the processing load value NP is equal to or less than the processing threshold PT passes for a certain time is also conceivable.

次に、先の図2にて示したオーバライド値の設定の制御について図4のフローチャートに基づいて説明する。まず、以下の制御において使用する各値について説明する。
◎「送り速度のオーバライド値OR」
送り速度をどれぐらい変動させるかをあらわす値である。現在の加工負荷値NPと目標負荷値TPとの比である。例えば、現在の加工負荷値NPを50、目標負荷値TPを100とすると、オーバライド値ORは100÷50=2(200%)となる。そして、加工負荷値NPの変化と共にオーバライド値ORは変化する。プログラム中の送り速度の指令値にオーバライド値ORを掛け算することで実際の送り速度となる。
Next, the override value setting control shown in FIG. 2 will be described with reference to the flowchart of FIG. First, each value used in the following control will be described.
◎ “Override value of feed speed OR”
This value indicates how much the feed rate is changed. This is the ratio between the current machining load value NP and the target load value TP. For example, if the current machining load value NP is 50 and the target load value TP is 100, the override value OR is 100 ÷ 50 = 2 (200%). Then, the override value OR changes as the machining load value NP changes. The actual feed speed is obtained by multiplying the command value of the feed speed in the program by the override value OR.

◎「前のオーバライド値OR−1」(以下、前オーバライド値OR−1と称す。)
オーバライド値ORの計算処理を行う、前のオーバライド値ORの値である。オーバライド値ORの計算処理の間、一時的に記憶するための変数として利用するものである。
◎「オーバライド値の上限変化量OR−DOL」(以下、変化量上限値OR−DOLと称す)
オーバライド値ORの変化量の上限値である。
◎「上限値OR−OL」
オーバライド値ORの上限値である。
“Previous Override Value OR-1” (hereinafter referred to as Previous Override Value OR-1)
This is the value of the previous override value OR for which the override value OR is calculated. It is used as a variable for temporary storage during the calculation process of the override value OR.
◎ "Override value upper limit change amount OR-DOL" (hereinafter referred to as change amount upper limit value OR-DOL)
This is the upper limit value of the change amount of the override value OR.
◎ "Upper limit OR-OL"
This is the upper limit value of the override value OR.

第一設定部3にて行われるオーバライド値ORの設定の制御について説明する。まず、オーバライド値ORの計算処理が始まる(図4のステップS301)。次に、直前の加工判定においてオーバライド値ORを初期オーバライド値F−ORに変更したか否かを確認する(図4のステップS311)。そして、変更した場合(YES)には、オーバライド値ORを初期オーバライド値F−ORとして(図4のステップS312)、「オーバライド値の設定」の処理を終了する(図4のステップS310)。また、変更していない場合(NO)には、現在のオーバライド値ORを、前オーバライド値OR−1として設定する(図4のステップS302)。次に、現在の加工負荷値NPを読み込む(図4のステップS303)。次に、読み込んだ現在の加工負荷値NPと、目標負荷値TPとを比較し、その比をオーバライド値ORとして設定する(図4のステップS304)。例えば、現在の加工負荷値NPが50、目標負荷値TPが100の場合、オーバライド値ORは200%となる。尚、現在の加工負荷値NPが0の場合には、オーバライド値ORを上限値OR−OLと設定する。   Control of setting of the override value OR performed in the first setting unit 3 will be described. First, the calculation process of the override value OR starts (step S301 in FIG. 4). Next, it is confirmed whether or not the override value OR has been changed to the initial override value F-OR in the last machining determination (step S311 in FIG. 4). If it is changed (YES), the override value OR is set as the initial override value F-OR (step S312 in FIG. 4), and the “override value setting” process is terminated (step S310 in FIG. 4). If not changed (NO), the current override value OR is set as the previous override value OR-1 (step S302 in FIG. 4). Next, the current machining load value NP is read (step S303 in FIG. 4). Next, the read current machining load value NP and the target load value TP are compared, and the ratio is set as the override value OR (step S304 in FIG. 4). For example, when the current machining load value NP is 50 and the target load value TP is 100, the override value OR is 200%. If the current machining load value NP is 0, the override value OR is set to the upper limit value OR-OL.

次に、オーバライド値ORの変化量が上限変化量OR−DOL以下であるか否かを確認する(図4のステップS305)。具体的には、前オーバライド値OR−1と、オーバライド値ORとの差を求める。そして、差の絶対値が事前に設定した上限変化量OR−DOL以下であるか否かを確認する。そして、上限変化量OR−DOL以上の場合(NO)には、変化量を上限変化量OR−DOLに変更し、オーバライド値ORを修正する(図4のステップS306)。   Next, it is confirmed whether or not the change amount of the override value OR is equal to or less than the upper limit change amount OR-DOL (step S305 in FIG. 4). Specifically, the difference between the previous override value OR-1 and the override value OR is obtained. And it is confirmed whether the absolute value of a difference is below the upper limit variation | change_quantity OR-DOL set beforehand. If it is equal to or greater than the upper limit change amount OR-DOL (NO), the change amount is changed to the upper limit change amount OR-DOL, and the override value OR is corrected (step S306 in FIG. 4).

例えばOR−1=100%、OR=150%、OR−DOL=5%とすると、OR−1とORとの差の絶対値は50%となる。次に、前オーバライド値OR−1とオーバライド値ORとの差の絶対値と、上限変化量OR−DOLとを比較すると、上限変化量OR−DOLよりもOR−1とORとの差の絶対値の方が大きいため、変化量をOR−DOL=5%とし、OR=(OR−1)+(OR−DOL)=100%+5%=105%とする。尚、OR−1よりORが小さい場合には、OR=(OR−1)−(OR−DOL)と計算されるものである。   For example, when OR-1 = 100%, OR = 150%, and OR-DOL = 5%, the absolute value of the difference between OR-1 and OR is 50%. Next, when the absolute value of the difference between the previous override value OR-1 and the override value OR is compared with the upper limit change amount OR-DOL, the absolute difference between OR-1 and OR is greater than the upper limit change amount OR-DOL. Since the value is larger, the amount of change is OR-DOL = 5%, and OR = (OR-1) + (OR-DOL) = 100% + 5% = 105%. In addition, when OR is smaller than OR-1, it is calculated as OR = (OR-1)-(OR-DOL).

また、上限変化量OR−DOL以下の場合(NO)には、オーバライド値ORが事前に設定した上限値OR−OL以下であるか否かを確認する(図4のステップS307)。そして、オーバライド値ORが上限値OR−OLより大きい場合(NO)には、オーバライド値ORを上限値OR−OLに変更する(図4のステップS308)。例えば、OR=155%、OR−OL=150%の場合、オーバライド値ORは上限値OR−OLよりも大きいので、オーバライド値ORが上限値OR−OLに書き換えられOR=OR−OL=150%となる。そして、「オーバライド値の設定」の処理を終了する(図4のステップS310)。   If the upper limit change amount OR-DOL is less than or equal to (NO), it is confirmed whether or not the override value OR is less than or equal to a preset upper limit value OR-OL (step S307 in FIG. 4). If the override value OR is larger than the upper limit value OR-OL (NO), the override value OR is changed to the upper limit value OR-OL (step S308 in FIG. 4). For example, when OR = 155% and OR-OL = 150%, the override value OR is larger than the upper limit value OR-OL, so the override value OR is rewritten to the upper limit value OR-OL, and OR = OR-OL = 150% It becomes. Then, the “override value setting” process is terminated (step S310 in FIG. 4).

このようにオーバライド値ORの上限変化量OR−DOLを設けることで、急激な送り速度の変化を抑制できる。このため、送り速度の急激な変化による加工面の外観の悪化を避けることができる。また、オーバライド値ORの上限値OR−OLを設けることで送り速度が過度に大きくなり加工面の悪化や工具の破損することを防ぐことができる。なお、加工判定にてオーバライド値ORがF−ORとなった場合、   By thus providing the upper limit change amount OR-DOL of the override value OR, it is possible to suppress a rapid change in the feed rate. For this reason, it is possible to avoid deterioration of the appearance of the machined surface due to a rapid change in the feed rate. Further, by providing the upper limit value OR-OL of the override value OR, it is possible to prevent the feed speed from becoming excessively high and the machining surface from being deteriorated or the tool from being damaged. In addition, when the override value OR becomes F-OR in the processing determination,

次に、仮上限値K−OR−OLの設定の制御について図5に基づいて説明する。まず、NC装置120からの加工開始の指令が出される(図5のステップS401)と、制御装置10に加工開始指令が入力される(図5のステップS407)。次に、加工機100の加工における加工データの保存が開始される(図5のステップS407)。次に、NC装置120からの加工終了の指令が出される(図5のステップS402)と、制御装置10は加工データの保存を終了する(図5のステップS409)。   Next, control of setting the temporary upper limit value K-OR-OL will be described with reference to FIG. First, when a machining start command is issued from the NC device 120 (step S401 in FIG. 5), a machining start command is input to the control device 10 (step S407 in FIG. 5). Next, the storage of the processing data in the processing of the processing machine 100 is started (step S407 in FIG. 5). Next, when a machining end command is issued from the NC device 120 (step S402 in FIG. 5), the control device 10 finishes saving the machining data (step S409 in FIG. 5).

次に、仮上限値K−OR−OLの見直し指令がNC装置120から出される(図5のステップS403)と、制御装置10は仮上限値K−OR−OL見直しの指令を入力する(図5のステップS408)。次に、「仮上限値の設定」(図5のステップS410)を行う。次に、「プログラムの修正作業」(図5のステップS411)を行う。尚、「仮上限値の設定」、および、「プログラムの修正作業」については後述にて説明する。次に、次の加工の準備が完了する(図5のステップS405)。   Next, when a command for reviewing the temporary upper limit value K-OR-OL is issued from the NC device 120 (step S403 in FIG. 5), the control device 10 inputs a command for reviewing the temporary upper limit value K-OR-OL (FIG. 5). 5 step S408). Next, “setting of temporary upper limit value” (step S410 in FIG. 5) is performed. Next, “program correction operation” (step S411 in FIG. 5) is performed. The “setting of the temporary upper limit value” and the “program correction operation” will be described later. Next, preparation for the next processing is completed (step S405 in FIG. 5).

以上のように加工が終了する毎に、仮上限値K−OR−OLを見直す。このことにより、ワークのばらつきの変動により加工負荷値NPが大きい所、つまり加工部が破損し易い所の送り速度の上限は小さくして工具の破損を低減することができ、加工負荷値NPが小さい所、つまり工具が破損しにくい所は送り速度の上限を大きくして加工能率を高めることができる。   Each time processing is completed as described above, the temporary upper limit value K-OR-OL is reviewed. As a result, it is possible to reduce the tool breakage by reducing the upper limit of the feed rate where the machining load value NP is large due to fluctuations in workpiece variations, that is, where the machined part is easily damaged, and the machining load value NP is reduced. In small places, that is, places where the tool is difficult to break, the upper limit of the feed rate can be increased to increase the machining efficiency.

尚、ここでは1つのワークを加工する毎に上限値K−OR−OLを見直す例を示したが、これに限られることはなく、例えばワークをN個加工し、N個の加工データの平均値を用いて仮上限値K−OR−OLを見直してもよい。   In this example, the upper limit value K-OR-OL is reviewed every time one workpiece is machined. However, the present invention is not limited to this example. For example, N workpieces are machined, and an average of N machining data is obtained. The temporary upper limit value K-OR-OL may be reviewed using the value.

次に、図5にて示した仮上限値K−OR−OLの設定の制御について図6および図7のフローチャートに基づいて説明する。まず、以下の制御において使用する各値について説明する。
◎「最大負荷値KF(N)」
加工プログラムをm個に分割する。そして、分割したプログラムの中でN個目のプログラムの加工負荷値NPの中で一番大きい加工負荷値を最大負荷値KF(N)とする。
◎「最大時オーバライド値K−OR(N)」
最大負荷値KF(N)の時の、オーバライド値ORの値である。
Next, control of setting the temporary upper limit value K-OR-OL shown in FIG. 5 will be described based on the flowcharts of FIGS. 6 and 7. First, each value used in the following control will be described.
◎ "Maximum load value KF (N)"
Divide the machining program into m pieces. The largest machining load value among the machining load values NP of the Nth program among the divided programs is set as the maximum load value KF (N).
◎ "Maximum override value K-OR (N)"
This is the value of the override value OR at the maximum load value KF (N).

◎「仮上限値の上限値K−OR−OL−OL」
仮上限値K−OR−OLの上限値である。
◎「仮上限値の下限値K−OR−OL−UL」
仮上限値K−OR−OLの下限値である。
◎ "Upper limit value K-OR-OL-OL of provisional upper limit value"
This is the upper limit value of the temporary upper limit value K-OR-OL.
◎ "Lower limit value of temporary upper limit value K-OR-OL-UL"
This is the lower limit value of the temporary upper limit value K-OR-OL.

第二設定部6にて行われる仮上限値K−OR−OLの設定の制御について説明する。まず、仮上限値K−OR−OLの設定を開始する(図6のステップS501)。次に、最新の加工データと、その加工プログラムとを読み出す(図6のステップS502)。次に、加工プログラムをルールに則り分割する(図6のステップS503)。   The setting control of the temporary upper limit value K-OR-OL performed by the second setting unit 6 will be described. First, the setting of the temporary upper limit value K-OR-OL is started (step S501 in FIG. 6). Next, the latest machining data and the machining program are read (step S502 in FIG. 6). Next, the machining program is divided according to the rules (step S503 in FIG. 6).

ここで言う、「ルール」とは、例えば以下のようなものである。
◎加工負荷制御の開始、終了で挟まれている加工箇所毎
◎加工負荷制御の開始、終了で挟まれている加工箇所で、かつ、1行毎
Here, the “rule” is, for example, as follows.
◎ Each machining location pinched at the start and end of machining load control ◎ Each machining location pinched at the start and end of machining load control and for each line

このような「ルール」にて分割した、加工プログラムに対応する加工データについて、以下の値をそれぞれ抽出する(図6のステップS503)。
加工プログラムの分割数をmとすると、分割した加工プログラムN=1〜m毎について以下を求める。
◎最大負荷値:KF(N)
◎最大時オーバライド値:K−OR(N)
The following values are extracted from the machining data corresponding to the machining program divided by such “rules” (step S503 in FIG. 6).
If the number of divisions of the machining program is m, the following is obtained for each divided machining program N = 1 to m.
◎ Maximum load value: KF (N)
◎ Maximum override value: K-OR (N)

次に、N番目の分割した加工プログラムにおいて処理を行う(図6のステップS506)。次に、最大負荷値KF(N)が目標負荷値TPより小さいか否かを判断する(図6のステップS507)。そして、小さいと判断された場合(YES)には、最大負荷値KF(N)時の、最大時オーバライド値K−OR(N)が上限値OR−OLと等しいか否かを判断する(図6のステップS508)。そして、等しいと判断された場合(YES)には、仮上限値K−OR−OL(N)を、K−OR−OL(N)=TP÷KF(N)として設定する(図6のステップS509)。   Next, processing is performed in the N-th divided machining program (step S506 in FIG. 6). Next, it is determined whether or not the maximum load value KF (N) is smaller than the target load value TP (step S507 in FIG. 6). When it is determined that the value is small (YES), it is determined whether or not the maximum override value K-OR (N) at the maximum load value KF (N) is equal to the upper limit value OR-OL (FIG. 6 step S508). When it is determined that they are equal (YES), the temporary upper limit value K-OR-OL (N) is set as K-OR-OL (N) = TP ÷ KF (N) (step in FIG. 6). S509).

次に、仮上限値K−OR−OL(N)が予め設定した「仮上限値の上限値K−OR−OL−OL」以下か否かを判断する(図6のステップS510)。そして、仮上限値K−OR−OLの方が大きいと判断された場合(NO)には、仮上限値K−OR−OLを、仮上限値の上限値K−OR−OL−OLと設定する(図6のステップS511)。次に、修正部8にこの設定された仮上限値K−OR−OL(N)を出力する(図6のステップS512)。   Next, it is determined whether or not the temporary upper limit value K-OR-OL (N) is equal to or less than a preset “upper limit value K-OR-OL-OL” (step S510 in FIG. 6). When it is determined that the temporary upper limit value K-OR-OL is larger (NO), the temporary upper limit value K-OR-OL is set as the upper limit value K-OR-OL-OL of the temporary upper limit value. (Step S511 in FIG. 6). Next, the set temporary upper limit value K-OR-OL (N) is output to the correction unit 8 (step S512 in FIG. 6).

また、ステップS507において、最大負荷値KF(N)が目標負荷値TPより大きいと判断された場合(NO)には、仮上限値K−OR−OLを、K−OR−OL(N)=TP÷KF(N)として設定する(図7のステップS516)。次に、仮上限値K−OR−OL(N)が予め設定した「仮上限値の下限値K−OR−OL−UL」以上か否かを比較する(図7のステップS517)。そして、仮上限値K−OR−OLの方が小さいと判断された場合(NO)には、仮上限値K−OR−OLを、仮上限値の下限値K−OR−OL−ULと設定する(図7のステップS518)。   In Step S507, when it is determined that the maximum load value KF (N) is larger than the target load value TP (NO), the temporary upper limit value K-OR-OL is set to K-OR-OL (N) = Set as TP ÷ KF (N) (step S516 in FIG. 7). Next, it is compared whether or not the temporary upper limit value K-OR-OL (N) is greater than or equal to a preset "lower limit value K-OR-OL-UL of the temporary upper limit value" (step S517 in FIG. 7). If it is determined that the temporary upper limit value K-OR-OL is smaller (NO), the temporary upper limit value K-OR-OL is set as the lower limit value K-OR-OL-UL of the temporary upper limit value. (Step S518 in FIG. 7).

次に、修正部8にこの設定された仮上限値K−OR−OL(N)を出力する(図6のステップS519)。そして、分割数がN=mであるか否かを判断する(図6のステップS513)。そして、N=mでない場合には、N=N+1とする(図6のステップS520)。そして、ステップS507に戻り、上記に示した制御を繰り返す。そして、N=mである場合には、仮上限値K−OR−OLの設定を終了する(図6のステップS514)。   Next, the set temporary upper limit value K-OR-OL (N) is output to the correction unit 8 (step S519 in FIG. 6). Then, it is determined whether the number of divisions is N = m (step S513 in FIG. 6). If N = m is not satisfied, N = N + 1 is set (step S520 in FIG. 6). And it returns to step S507 and repeats the control shown above. If N = m, the setting of the temporary upper limit value K-OR-OL ends (step S514 in FIG. 6).

以上のように、仮上限値K−OR−OLに、仮上限値の上限値K−OR−OL−OLおよび仮上限値の下限値K−OR−OL−ULを設定することにより、送り速度が異常に大きくなり工具の破損や加工精度不良となること、また、送り速度が異常に小さくなり加工が終わらない等のトラブルを抑制することができる。   As described above, by setting the upper limit value K-OR-OL-OL of the temporary upper limit value and the lower limit value K-OR-OL-UL of the temporary upper limit value to the temporary upper limit value K-OR-OL, the feed speed Can be prevented from becoming abnormally large, resulting in damage to the tool or poor machining accuracy, and a problem that the feed rate is abnormally small and machining does not end.

次に、修正部8にて行われる加工プログラムの修正の制御について図8のフローチャートに基づいて説明する。まず、加工プログラムの修正が開始される(図8のステップS601)。次に、加工プログラムを読み出す(図8のステップS602)。次に、加工プログラムをルールに則り分割する(図8のステップS603)。分割数をmとすると、N=1〜mについて以下の制御を行う。   Next, machining program modification control performed by the modification unit 8 will be described with reference to the flowchart of FIG. First, modification of the machining program is started (step S601 in FIG. 8). Next, the machining program is read (step S602 in FIG. 8). Next, the machining program is divided according to the rules (step S603 in FIG. 8). When the number of divisions is m, the following control is performed for N = 1 to m.

ここで言う、「ルール」とは、例えば以下のようなものである。
◎加工負荷制御の開始、終了で挟まれている加工箇所毎
◎加工負荷制御の開始、終了で挟まれている加工箇所で、かつ、1行毎
尚、この加工プログラムの分割は、上記にて示したステップS503と同様であるため、そのデータを使用することも可能である。
Here, the “rule” is, for example, as follows.
◎ Each machining location pinched at the start and end of machining load control ◎ Machining location pinched at the start and end of machining load control and for each line The division of this machining program is as above. Since it is the same as step S503 shown, the data can also be used.

次に、N=1とし(図8のステップS604)、N番目の加工プログラムの分割加工箇所に対応する仮上限値K−OR−OL(N)が出力されているか否かを確認する(図8のステップS605)。そして、対応する仮上限値K−OR−OL(N)が存在する場合(YES)には、加工プログラム中に仮上限値K−OR−OLの使用開始指令および使用終了指令があるか否かを確認する(図8のステップS606)。そして、仮上限値K−OR−OLの使用開始指令および使用終了指令がある場合(YES)には、加工プログラム中の仮上限値K−OR−OLを、上記の制御、「仮上限値の設定」にて出力された仮上限値K−OR−OLに修正する(図8のステップS607)。   Next, N = 1 is set (step S604 in FIG. 8), and it is confirmed whether or not the temporary upper limit value K-OR-OL (N) corresponding to the divided machining location of the Nth machining program is output (FIG. 8). Step S605). If the corresponding temporary upper limit value K-OR-OL (N) exists (YES), whether or not there is a use start command and a use end command for the temporary upper limit value K-OR-OL in the machining program. Is confirmed (step S606 in FIG. 8). When there is a use start command and a use end command for the temporary upper limit value K-OR-OL (YES), the temporary upper limit value K-OR-OL in the machining program is changed to the above-mentioned control, “temporary upper limit value The temporary upper limit value K-OR-OL output in “Setting” is corrected (step S607 in FIG. 8).

また、仮上限値K−OR−OLの使用開始指令および使用終了指令がない場合(NO)は、仮上限値K−OR−OLの使用開始指令および使用終了指令を加工プログラムに追加する(図8のステップS608)。そして、分割数がN=mであるか否かを判断する(図8のステップS609)。そして、N=mでない場合には、N=N+1とする(図8のステップS610)。そして、ステップS605に戻り、上記に示した制御を繰り返す。そして、N=mである場合には、加工プログラムの修正を終了する(図8のステップS611)。   When there is no use start command and use end command for the temporary upper limit value K-OR-OL (NO), the use start command and use end command for the temporary upper limit value K-OR-OL are added to the machining program (FIG. 8 step S608). Then, it is determined whether the number of divisions is N = m (step S609 in FIG. 8). If N = m is not satisfied, N = N + 1 is set (step S610 in FIG. 8). And it returns to step S605 and repeats the control shown above. If N = m, the modification of the machining program is terminated (step S611 in FIG. 8).

仮上限値K−OR−OLがない場合、加工プログラムの分割したそれぞれの箇所に、仮上限値K−OR−OLを挿入する例を示したが、これに限られることはなく、例えば、上限値OR−OLとして仮上限値K−OR−OLを使わず、上限値OR−OLを使用したい場合も考えられる。その場合は、仮上限値K−OR−OLを使わず上限値OR−OLを使用するという指令を作成し、前記指令がある場合には、上限値OR−OLとして仮上限値K−OR−OLを使用せず上限値OR−OLを使用するように設定してもよい。   In the case where there is no temporary upper limit value K-OR-OL, an example is shown in which the temporary upper limit value K-OR-OL is inserted into each divided part of the machining program. However, the present invention is not limited to this example. There may be a case where the upper limit value OR-OL is desired to be used without using the temporary upper limit value K-OR-OL as the value OR-OL. In that case, a command to use the upper limit value OR-OL without using the temporary upper limit value K-OR-OL is created. When there is the command, the temporary upper limit value K-OR- is used as the upper limit value OR-OL. The upper limit value OR-OL may be used without using OL.

次に、本実施の形態1における加工負荷制御の導入について説明する。まず、加工プログラムを修正し、加工負荷制御の指令を加工プログラムに加える(図9のステップS801)。次に、加工負荷制御のためのパラメータを設定する(図9のステップS802)。次に、加工試験を実施し、問題なく加工できることを確認したら、寿命試験を実施する(図9のステップS803)。次に、工具寿命が妥当か否かを確認する(図9のステップS804)。   Next, introduction of machining load control in the first embodiment will be described. First, the machining program is corrected, and a machining load control command is added to the machining program (step S801 in FIG. 9). Next, parameters for machining load control are set (step S802 in FIG. 9). Next, when a processing test is performed and it is confirmed that the processing can be performed without any problem, a life test is performed (step S803 in FIG. 9). Next, it is confirmed whether or not the tool life is appropriate (step S804 in FIG. 9).

そして、加工時間が短くなったとしても工具寿命が極端に短くなり、加工費用よりも工具費や工具交換の人件費が大きくなる恐れがあるためであるなどとして、妥当な工具寿命でないと判断された場合(NO)には、ステップS802に戻り、「上限値OR−OL」等のパラメータを再設定し、上記に示した制御を繰り返す。また、妥当な工具寿命であると判断された場合(YES)には、加工プログラムに、仮上限値K−OR−OLの見直し指令のコマンドを追加して修正する(図9のステップS806)。ここまでが導入フローであり加工負荷制御の導入を完了する(図9のステップS807)。   Even if the machining time is shortened, the tool life will be extremely short, and the tool cost and labor cost for tool replacement may be higher than the machining cost. If (NO), the process returns to step S802, parameters such as “upper limit value OR-OL” are reset, and the control described above is repeated. If it is determined that the tool life is reasonable (YES), a command for reviewing the temporary upper limit value K-OR-OL is added to the machining program for correction (step S806 in FIG. 9). This is the introduction flow, and the introduction of the machining load control is completed (step S807 in FIG. 9).

以後のフローは、量産工程において自動的に実行されるものである。まず、先の加工試験および寿命試験により導入された加工負荷制御に基づいて、ワークをN台加工する(図9のステップS808)。次に、N台加工した加工データに基づいて、仮上限値K−OR−OLを設定する(図9のステップS809)。次に、N台加工したワークのばらつきに適した「仮上限値K−OR−OL」が設定され、加工プログラムに仮上限値K−OR−OLが書き加えられる(図9のステップS810)。次に、仮上限値K−OR−OLの見直しを完了し(図9のステップS811)、次のN台のワークの加工に移り(図9のステップS808)、上記に示した制御を繰り返す。   The subsequent flow is automatically executed in the mass production process. First, N workpieces are machined based on the machining load control introduced by the previous machining test and life test (step S808 in FIG. 9). Next, a temporary upper limit value K-OR-OL is set based on the machining data obtained by machining N units (step S809 in FIG. 9). Next, a “temporary upper limit value K-OR-OL” suitable for the variation of N workpieces is set, and the temporary upper limit value K-OR-OL is added to the machining program (step S810 in FIG. 9). Next, the review of the temporary upper limit value K-OR-OL is completed (step S811 in FIG. 9), and the next N workpieces are processed (step S808 in FIG. 9), and the above-described control is repeated.

このように、ワークのばらつきにあわせた仮上限値K−OR−OLに設定することができるため、工具破損の危険性が低くでき、加工負荷制御の導入まで時間を短縮することができる。   Thus, since the temporary upper limit value K-OR-OL can be set according to the workpiece variation, the risk of tool breakage can be reduced, and the time until the introduction of machining load control can be shortened.

以下、上記に示した制御の具体例について説明する。   Hereinafter, a specific example of the control described above will be described.

上記に示した実施の形態1の制御における、具体的なワークについて説明する。まず、ここで加工の対象とするワーク107を図10に示す。図10(A)は、ワーク107の上面図である。図10(B)は、ワーク107の側面図である。図10(C)は、ワーク107のX軸方向の位置を示すものである。図から明らかなように、ワーク107の加工箇所Q1、加工箇所Q2、加工箇所Q3を有している。   A specific work in the control of the first embodiment described above will be described. First, a workpiece 107 to be processed here is shown in FIG. FIG. 10A is a top view of the workpiece 107. FIG. 10B is a side view of the workpiece 107. FIG. 10C shows the position of the workpiece 107 in the X-axis direction. As is apparent from the figure, the workpiece 107 has a machining location Q1, a machining location Q2, and a machining location Q3.

各加工箇所Q1、加工箇所Q2、加工箇所Q3のそれぞれの相対的な大きさを比較するために、X軸、Y軸、Z軸のそれぞれの方向に対する値を示している。但し、各加工箇所Q1、Q2、Q3のX軸、Y軸、Z軸のそれぞれの方向に示している値は、本実施の形態1を理解し易くするためのものであり、実際のワーク107においては、加工前において、厳密な位置が確認されているものではない。そして、回転工具106を回転させながら、X軸方向に移動していき、ワーク107の各加工箇所Q1、Q2、Q3を切削加工する。   In order to compare the relative sizes of each machining point Q1, machining point Q2, and machining point Q3, values for the X axis, Y axis, and Z axis directions are shown. However, the values shown in the respective directions of the X axis, the Y axis, and the Z axis of each machining point Q1, Q2, Q3 are for facilitating understanding of the first embodiment, and the actual workpiece 107 is shown. However, the exact position is not confirmed before processing. And while rotating the rotary tool 106, it moves to a X-axis direction, and each process location Q1, Q2, Q3 of the workpiece | work 107 is cut.

また、図11から図15はワーク107の加工プログラムであり、以下の説明において順次修正されるものである。また、図16から図19は、各加工プログラムを使用してワーク107を加工した際の状態を示したものである。そして、各図における(A)はワーク107の形状を示す。また、各図における(B)は、加工の経路(X軸方向であり、以下においても同様である)と加工負荷との推移を示す。また、各図における(C)は、加工の経路と送り速度との推移を示すものである。   11 to 15 show machining programs for the workpiece 107, which are sequentially corrected in the following description. 16 to 19 show states when the workpiece 107 is machined using each machining program. And (A) in each figure shows the shape of the workpiece | work 107. FIG. Moreover, (B) in each figure shows transition of the machining path (in the X-axis direction, the same applies below) and the machining load. Moreover, (C) in each figure shows transition of the process route and the feed rate.

このワーク107を加工する加工プログラムの加工負荷制御を導入する前の状態を図11に示す。図11に示した加工プログラムの例について説明する。まず、1行目にプログラム名称、2行目に工具の交換指令がある。「M06」が工具交換の指令、「T001」が交換する工具の番号である。工具交換が終わるとワーク107の加工箇所Q1の加工開始位置へ移動するため3行目に座標(0、0、0)への高速移動の指示がある。「G0」が高速移動、「X0Y0Z0」が、X軸、Y軸、およびZ軸の座標をあらわしている。   FIG. 11 shows a state before the machining load control of the machining program for machining the workpiece 107 is introduced. An example of the machining program shown in FIG. 11 will be described. First, there is a program name on the first line and a tool change command on the second line. “M06” is a tool change command, and “T001” is a tool number to be changed. When the tool change is completed, the workpiece 107 moves to the machining start position of the machining location Q1, and an instruction for high-speed movement to the coordinates (0, 0, 0) is given on the third line. “G0” represents high-speed movement, and “X0Y0Z0” represents the coordinates of the X-axis, Y-axis, and Z-axis.

次に、4行目は工具の回転指令である。「S」が回転指令で「1000」は回転数をあらわしている。単位はrpmである。1000rpmで回転すると、加工箇所Q1の部位を削るため6行目に移動指令がある。「G1」は任意のスピードの移動指令をあらわしている。「X90」は移動先の座標をあらわしている。「F」は移動スピードの指令であり、「500」が移動速度をあらわしている。   The fourth line is a tool rotation command. “S” represents a rotation command, and “1000” represents the number of rotations. The unit is rpm. When rotating at 1000 rpm, there is a movement command on the sixth line in order to cut the part of the machining part Q1. “G1” represents a movement command at an arbitrary speed. “X90” represents the coordinates of the movement destination. “F” is a command for the movement speed, and “500” represents the movement speed.

すなわち6行目は加工箇所Q1の部位を500mm/minで削れ、という指令になっている。単位はmm/minである。X90まで移動すると加工箇所Q1の部位の切削が終わる。次に、加工箇所Q2の位置の切削開始位置へ移動するため、8行目にX120への高速移動の指示がある。次に、X120まで移動すると加工箇所Q2の部位を削るため、10行目に移動指令がある。10行目は加工箇所Q2の部位を500mm/minで削れ、という指令になっている。X170まで移動すると加工箇所Q2の部位の加工が終わる。   In other words, the sixth line is a command to cut the portion of the processing portion Q1 at 500 mm / min. The unit is mm / min. When it moves to X90, the cutting of the processing point Q1 is finished. Next, in order to move to the cutting start position at the position of the machining location Q2, there is an instruction for high-speed movement to X120 on the eighth line. Next, when moving to X120, there is a movement command on the 10th line in order to cut the part of the processing part Q2. The 10th line is a command to cut the portion of the processing portion Q2 at 500 mm / min. When moving to X170, the machining of the machining location Q2 is completed.

次に、加工箇所Q3の位置の切削開始位置へ移動するため、12行目にX195への高速移動の指示がある。X195まで移動すると加工箇所Q3の部位を削るため14行目に移動指令がある。14行目は加工箇所Q3の部位を500mm/minで削れ、という指令になっている。   Next, in order to move to the cutting start position at the position of the machining location Q3, there is an instruction for high-speed movement to X195 on the 12th line. When moving to X195, there is a movement command on the 14th line in order to cut the portion of the processing location Q3. The 14th line is a command to cut the part Q3 at 500 mm / min.

そして、このように加工負荷制御を導入しない(オーバライド値ORの存在しない)図11に示した加工プログラムを使用して、ワーク107を加工すると、加工の経路と加工負荷値との推移(図16(B))、加工の経路と送り速度との推移(図16(C))のように加工される。   When the workpiece 107 is machined using the machining program shown in FIG. 11 without introducing the machining load control (no override value OR) in this way, the transition between the machining path and the machining load value (FIG. 16). (B)), machining is performed as shown in the transition of the machining route and the feed rate (FIG. 16C).

図16に示すように、回転工具106がX軸において、X=0〜90までは送り速度F500で移動する。次に、X=90〜120までは送り速度F2500で移動する。次に、X=120〜170までは送り速度F500で移動する。次に、X=170〜195までは送り速度F2500で移動する。次に、X=195〜290までは送り速度F500で移動する。このような加工は、加工負荷に関わらず送り速度が変化しないため加工能率が低い。   As shown in FIG. 16, the rotary tool 106 moves at a feed speed F500 from X = 0 to 90 on the X axis. Next, it moves at feed speed F2500 until X = 90-120. Next, it moves at a feed speed F500 from X = 120 to 170. Next, the robot moves at a feed speed F2500 from X = 170 to 195. Next, it moves at feed speed F500 from X = 195 to 290. Such processing has low processing efficiency because the feed rate does not change regardless of the processing load.

まず、このことを解消するために、加工プログラムを修正し、加工負荷制御の指令を追加する(図9のステップS801)。具体的には、加工指令の前後に、加工負荷制御開始指令と加工負荷制御終了指令とを追加する。また、オーバライド値の上限値が150%と設定される。その結果、図11の加工プログラムは、図12に示す加工プログラムのように修正される。従来の場合と同様に、ただ単に加工負荷制御を導入し、図12の加工プログラムを使用してワーク107を加工すると、加工の経路と加工負荷との推移(図17(B))、加工の経路と送り速度との推移(図17(C))のように加工される。   First, in order to eliminate this, the machining program is modified and a machining load control command is added (step S801 in FIG. 9). Specifically, a machining load control start command and a machining load control end command are added before and after the machining command. The upper limit value of the override value is set to 150%. As a result, the machining program of FIG. 11 is modified like the machining program shown in FIG. As in the conventional case, when the machining load control is simply introduced and the workpiece 107 is machined using the machining program of FIG. 12, the transition of the machining path and the machining load (FIG. 17B), Processing is performed as shown in the transition between the path and the feed rate (FIG. 17C).

図17に示すように、回転工具106がX軸において、X=0〜90までは送り速度F500から送り速度の上限値のF750まで上昇しながら移動する。次に、X=90〜120までは送り速度F2500(送り速度のMAX、加工機としての上限値であり、以下においても加工を行わない際の送り速度については同様である。)で移動する。次に、X=120〜170までは送り速度F500から送り速度の上限のF750まで上昇しながら移動する。   As shown in FIG. 17, on the X axis, the rotary tool 106 moves while increasing from a feed speed F500 to a feed speed upper limit value F750 from X = 0 to 90. Next, X = 90 to 120 moves at a feed speed F2500 (feed speed MAX, which is the upper limit value as a processing machine, and the same applies to the feed speed when machining is not performed in the following). Next, from X = 120 to 170, the feed moves from the feed speed F500 to the upper limit F750 of the feed speed.

次に、X=170〜195までは送り速度F2500で移動する。次に、X=195〜290までは送り速度F500から送り速度の上限値のF750まで上昇しながら移動する。しかしながら、途中で、図17(C)に示すように、加工負荷値NPが目標負荷値TPを超える。よって、この時点で、送り速度の上限値のF750から送り速度F500まで下降する。   Next, the robot moves at a feed speed F2500 from X = 170 to 195. Next, from X = 195 to 290, the moving speed is increased from the feeding speed F500 to the upper limit F750 of the feeding speed. However, on the way, as shown in FIG. 17C, the machining load value NP exceeds the target load value TP. Therefore, at this point, the feed speed drops from F750, which is the upper limit value of the feed speed, to the feed speed F500.

そして、送り速度F500で所定の時間までの加工を行う(ここでは、X軸の240まで)。そして、所定の時間が経過した後、再び、X=290までは送り速度F500から送り速度の上限値のF750まで上昇しながら移動する。このような加工負荷制御を行うと、図17(B)に示すように、加工負荷値NPが目標負荷値TPを超えると、回転工具106の送り速度が低減され、回転工具106の破損する恐れ、または、回転工具106が短寿命となることが防止されるものの、加工効率が低下する。   Then, processing is performed up to a predetermined time at a feed speed F500 (here, up to 240 on the X axis). Then, after a predetermined time has elapsed, until X = 290, the vehicle moves again from the feed speed F500 to the feed speed upper limit value F750. When such machining load control is performed, as shown in FIG. 17B, when the machining load value NP exceeds the target load value TP, the feed rate of the rotary tool 106 is reduced and the rotary tool 106 may be damaged. Alternatively, although the rotating tool 106 is prevented from having a short life, the processing efficiency is lowered.

そこで、本実施の形態1においては、以下の制御を行っている。
次に、加工負荷制御のパラメータ(初期値を含む)を設定する(図9のステップS802)。設定するパラメータは以下のとおりであり、第一記憶部4に設定するものである。
◎オーバライド値ORの初期値(例えば、100%)
◎上限値OR−OLの初期値(例えば、150%)
◎仮上限値K−OR−OLの初期値(例えば、0=OFFとする)
◎目標負荷値TP
◎加工閾値PT(例えば、目標負荷値TPの1〜10%)
◎初期オーバライド値F−OR(例えば、100%とする。但し、オーバライド値ORの初期値とは異なるものである。)
◎リセット時間RCT(例えば、3秒)
◎仮上限値の上限値K−OR−OL−OL(例えば、500%)
◎仮上限値の下限値K−OR−OL−UL(例えば、100%)
◎上限変化量OR−DOL(例えば、5%)
◎制御タイマCTの初期値(例えば、0)
Therefore, in the first embodiment, the following control is performed.
Next, machining load control parameters (including initial values) are set (step S802 in FIG. 9). The parameters to be set are as follows and are set in the first storage unit 4.
◎ Initial value of override value OR (for example, 100%)
◎ Initial value of upper limit value OR-OL (for example, 150%)
◎ Initial value of provisional upper limit K-OR-OL (for example, 0 = OFF)
◎ Target load value TP
Processing threshold PT (for example, 1 to 10% of target load value TP)
Initial override value F-OR (for example, 100%, provided that it is different from the initial override value OR)
◎ Reset time RCT (for example, 3 seconds)
◎ Temporary upper limit upper limit value K-OR-OL-OL (for example, 500%)
◎ Lower limit value of temporary upper limit value K-OR-OL-UL (for example, 100%)
◎ Upper limit change amount OR-DOL (for example, 5%)
◎ Initial value of control timer CT (for example, 0)

次に、加工試験を実施する(図9のステップS803)。図18は、図12の加工負荷制御が設定された加工プログラムを使用して、本実施の形態1における加工制御を行ってワーク107を加工した際の、加工の経路と加工負荷との推移(図18(B))、加工の経路と送り速度との推移(図18(C))を示すものである。   Next, a processing test is performed (step S803 in FIG. 9). FIG. 18 shows changes in machining path and machining load when machining the workpiece 107 by performing machining control in the first embodiment using the machining program in which machining load control in FIG. 12 is set ( FIG. 18 (B)) shows the transition of the machining route and the feed rate (FIG. 18 (C)).

図12および図18に基づいて、以下説明する。まず、図12の加工プログラムの5行目の加工負荷制御の開始指令をNC装置120が読み込むと、加工負荷制御が開始される(図2のステップS101)。次に、オーバライド値OR、上限値OR−OL、仮上限値K−OR−OLが初期化され、100%、150%、OFFと初期値がそれぞれ設定される(図2のステップS102)。次に、加工が始まる。具体的には図12の6行目の加工指令である。この時点では、オーバライド値ORが初期値の100%なので、X=0における送り速度は、加工プログラムの図12の6行目の送り速度の指示値F500と同じである(図18)。   This will be described below with reference to FIGS. First, when the NC device 120 reads a machining load control start command on the fifth line of the machining program in FIG. 12, machining load control is started (step S101 in FIG. 2). Next, the override value OR, the upper limit value OR-OL, and the temporary upper limit value K-OR-OL are initialized, and 100%, 150%, OFF, and initial values are set (step S102 in FIG. 2). Next, processing begins. Specifically, this is the machining command on the sixth line in FIG. At this time, since the override value OR is 100% of the initial value, the feed speed at X = 0 is the same as the feed speed instruction value F500 on the sixth line in FIG. 12 of the machining program (FIG. 18).

次に、仮上限値K−OR−OLの使用終了指令があるか否かを確認する(図2のステップS103)。ここでは、図12の6行目より前には、仮上限値K−OR−OLの使用終了指令はないのでNOとなる。次に、仮上限値K−OR−OLがOFF(0)か否かを確認する(図2のステップS105)。ここでは、仮上限値K−OR−OLがOFF(初期値の0である)であるのでYESとなる。次に、上限値OR−OLを、上限値OR−OLの初期値の150%に設定する(図2のステップS107)。   Next, it is confirmed whether or not there is a use end command for the temporary upper limit value K-OR-OL (step S103 in FIG. 2). Here, since there is no use end command for the temporary upper limit K-OR-OL before the sixth line in FIG. Next, it is confirmed whether or not the temporary upper limit value K-OR-OL is OFF (0) (step S105 in FIG. 2). Here, the provisional upper limit value K-OR-OL is OFF (the initial value is 0), so the answer is YES. Next, the upper limit value OR-OL is set to 150% of the initial value of the upper limit value OR-OL (step S107 in FIG. 2).

次に、加工負荷制御の終了指令があるか否かを確認をする(図2のステップS108)。この時点では、図12の6行目より前に加工負荷制御の終了指令はないのでNOとなる。次に、加工判定を実行する(図2のステップS110)。次に、判定部2により加工判定が開始される(図3のステップS201)。次に、監視部1から加工負荷値NPを入力する(図3のステップS202)。次に、現在の加工負荷値NPが加工閾値PTより大きいか否かを確認する(図3のステップS203)。   Next, it is confirmed whether or not there is a machining load control end command (step S108 in FIG. 2). At this time, there is no processing load control end command before the sixth line in FIG. Next, processing determination is performed (step S110 of FIG. 2). Next, processing determination is started by the determination unit 2 (step S201 in FIG. 3). Next, the machining load value NP is input from the monitoring unit 1 (step S202 in FIG. 3). Next, it is confirmed whether or not the current machining load value NP is larger than the machining threshold value PT (step S203 in FIG. 3).

図18(B)から明らかなとおり、ワーク107の加工箇所Q1の加工負荷値NPは加工閾値PTより小さいのでNOとなる。次に、制御タイマCTがリセット時間RCTより大きいか否かを確認する(図3のステップS207)。ここでは、制御タイマCTがOFFの状態のすなわち初期値の0であるのでNOとなる。そして、加工判定を終了する(図3のステップS209)。   As is apparent from FIG. 18B, the machining load value NP at the machining location Q1 of the workpiece 107 is smaller than the machining threshold value PT, and thus NO. Next, it is confirmed whether or not the control timer CT is larger than the reset time RCT (step S207 in FIG. 3). Here, since the control timer CT is in an OFF state, that is, the initial value is 0, it is NO. Then, the processing determination ends (step S209 in FIG. 3).

次に、加工判定を終了すると、オーバライド値ORの計算を実行する(図2のステップS111)。次に、第一設定部3によりオーバライド値ORの設定が開始される(図4のステップS301)。次に、直前の加工判定においてオーバライド値ORを初期オーバライド値F−ORに変更したか否かを確認する(図4のステップS311)。ここでは、変更していないため(NO)、次に、現在のオーバライド値ORを前オーバライド値OR−1として保存する(図4のステップS302)。ここでは、現在のオーバライド値ORは初期値の100%なので、前オーバライド値OR−1=100%として保存される。   Next, when the machining determination is finished, an override value OR is calculated (step S111 in FIG. 2). Next, the setting of the override value OR is started by the first setting unit 3 (step S301 in FIG. 4). Next, it is confirmed whether or not the override value OR has been changed to the initial override value F-OR in the last machining determination (step S311 in FIG. 4). Here, since no change has been made (NO), the current override value OR is stored as the previous override value OR-1 (step S302 in FIG. 4). Here, since the current override value OR is 100% of the initial value, it is stored as the previous override value OR-1 = 100%.

次に、監視部1から現在の加工負荷値NPを取得する(図4のステップS303)。ここでは、図18(C)に示すように、X=0〜50までの加工負荷値NPは0である。よって、現在の加工負荷値NPは0が取得される。次に、現在の加工負荷値NPと目標負荷値TPとの比を計算する(図4のステップS304)。ここでは、現在の加工負荷値NP=0のため、オーバライド値OR=上限値OR−OL(150%)と設定する。   Next, the current machining load value NP is acquired from the monitoring unit 1 (step S303 in FIG. 4). Here, as shown in FIG. 18C, the machining load value NP for X = 0 to 50 is zero. Therefore, 0 is acquired as the current machining load value NP. Next, the ratio between the current machining load value NP and the target load value TP is calculated (step S304 in FIG. 4). Here, since the current machining load value NP = 0, the override value OR = the upper limit value OR−OL (150%) is set.

次に、前オーバライド値OR−1からオーバライド値ORの変化量(絶対値)が、上限変化量OR−DOL以下か否かを確認する(図4のステップS305)。ここでは、前オーバライド値OR−1=100%、現オーバライド値OR=150%であるため、|OR−OR−1|=50%である。よって、上限変化値OR−DOL=5%より|OR−OR−1|の方が大きいのでNOとなる。   Next, it is confirmed whether or not the change amount (absolute value) of the override value OR from the previous override value OR-1 is equal to or less than the upper limit change amount OR-DOL (step S305 in FIG. 4). Here, since the previous override value OR-1 = 100% and the current override value OR = 150%, | OR-OR-1 | = 50%. Therefore, since | OR-OR-1 | is larger than the upper limit change value OR-DOL = 5%, it is NO.

次に、現オーバライド値OR=前オーバライド値OR−1+上限変化値OR−DOL=100%+5%=105%として設定する(図4のステップS306)。尚、ここでは現オーバライド値ORが前オーバライド値OR−1より増加側の場合であるため、現オーバライド値ORに上限変化値OR−DOLを足す例を示しが、減少側の場合には、オーバライド値ORから上限変化値OR−DOLを引いて設定するものである。   Next, the current override value OR = previous override value OR-1 + upper limit change value OR-DOL = 100% + 5% = 105% is set (step S306 in FIG. 4). Here, since the current override value OR is on the increase side with respect to the previous override value OR-1, an example in which the upper limit change value OR-DOL is added to the current override value OR is shown. It is set by subtracting the upper limit change value OR-DOL from the value OR.

次に、オーバライド値ORが上限値OR−OL以下か否かを確認する(図4のステップS307)。ここでは、オーバライド値OR=105%で、上限値OR−OL=150%以下であるためYESとなる。そして、オーバライド値ORの計算処理を終了する(図4のステップS310)。次に、NC装置120へオーバライド値OR=105%であるとして出力する(図2のステップS112)。よって、オーバライド値ORが105%に設定されるため、図12の6行目の送り速度F500の指令値に対し、オーバライド値OR105%の送り速度F525となり加工される。   Next, it is confirmed whether or not the override value OR is equal to or lower than the upper limit value OR-OL (step S307 in FIG. 4). Here, since the override value OR = 105% and the upper limit value OR-OL = 150% or less, the answer is YES. Then, the calculation process of the override value OR is terminated (step S310 in FIG. 4). Next, it outputs to NC device 120 that it is override value OR = 105% (Step S112 of FIG. 2). Accordingly, since the override value OR is set to 105%, the feed speed F525 of the override value OR 105% is processed with respect to the command value of the feed speed F500 on the sixth line in FIG.

そして、上記に示したステップS103〜ステップS112の制御を、加工負荷制御終了指令があるまで繰り返す。そのため、図18(C)のX=0〜50に示すように、X=0〜50の間に、徐々に送り速度が大きくなり、オーバライド値OR=上限値OR−OLとなった時点で送り速度F750で一定となる。また、図18(C)のX=50〜90の間でも、加工負荷値NPが加工閾値PT以下であり、かつ、目標負荷値TPと加工負荷値NPとの比が150%以上あるので、送り速度はF750が維持される。次に、図12の7行目に負荷加工制御の終了指令があるため(図2のステップS108)、加工負荷制御を終了する(図2のステップS109)。   Then, the control in steps S103 to S112 described above is repeated until there is a machining load control end command. Therefore, as indicated by X = 0 to 50 in FIG. 18C, the feed speed gradually increases between X = 0 and 50, and the feed is reached when the override value OR = the upper limit value OR−OL. It becomes constant at the speed F750. Further, even between X = 50 to 90 in FIG. 18C, the machining load value NP is equal to or less than the machining threshold PT, and the ratio between the target load value TP and the machining load value NP is 150% or more. The feed speed is maintained at F750. Next, since there is a load machining control end command on the seventh line in FIG. 12 (step S108 in FIG. 2), the machining load control is ended (step S109 in FIG. 2).

次に、図12の加工プログラムの9〜11行目は基本的には、図12の5〜7行目と同じある。ここでは、加工判定の処理が異なるため、上記に示した処理と異なる処理について以下に説明する。図18(B)に示すように、X=125で回転工具106がワーク107の加工箇所Q2と接触し、加工負荷値NPが加工閾値PT以上となる(図3のステップS203)。次に、制御タイマCTが0であるか否か確認する(図3のステップS204)。ここでは、制御タイマCTはOFFの状態、すなわち0であるためYESとなる。   Next, the ninth to eleventh lines of the machining program of FIG. 12 are basically the same as the fifth to seventh lines of FIG. Here, since the processing determination processing is different, processing different from the processing described above will be described below. As shown in FIG. 18B, when X = 125, the rotary tool 106 comes into contact with the machining location Q2 of the workpiece 107, and the machining load value NP becomes equal to or greater than the machining threshold PT (step S203 in FIG. 3). Next, it is confirmed whether or not the control timer CT is 0 (step S204 in FIG. 3). Here, since the control timer CT is in an OFF state, that is, 0, it becomes YES.

次に、オーバライド値ORを初期オーバライド値F−OR(100%)に変更する(図3のステップS205)。次に、制御タイマCTをONする(図3のステップS206)。そして、加工判定を終了する(図3のステップS209)。次に、オーバライド値ORの計算を実行する(図2のステップS111)。次に、第一設定部3によりオーバライド値ORの設定が開始される(図4のステップS301)。次に、直前の加工判定においてオーバライド値ORを初期オーバライド値F−ORに変更したか否かを確認する(図4のステップS311)。ここでは、直前の加工判定においてオーバライド値ORを初期オーバライド値F−ORに変更しているため(YES)、オーバライド値ORを初期オーバライド値F−ORとして(図4のステップS312)、「オーバライド値の設定」の処理を終了する(図4のステップS310)。このように、加工中であると判定されると、オーバライド値ORが強制的に初期オーバライド値F−OR(100%)に書き換えられる。よって、X=125において、送り速度がほぼ100%のF500に減速される。   Next, the override value OR is changed to the initial override value F-OR (100%) (step S205 in FIG. 3). Next, the control timer CT is turned on (step S206 in FIG. 3). Then, the processing determination ends (step S209 in FIG. 3). Next, the override value OR is calculated (step S111 in FIG. 2). Next, the setting of the override value OR is started by the first setting unit 3 (step S301 in FIG. 4). Next, it is confirmed whether or not the override value OR has been changed to the initial override value F-OR in the last machining determination (step S311 in FIG. 4). Here, since the override value OR is changed to the initial override value F-OR in the previous machining determination (YES), the override value OR is set as the initial override value F-OR (step S312 in FIG. 4). The “setting” process is terminated (step S310 in FIG. 4). As described above, when it is determined that machining is in progress, the override value OR is forcibly rewritten to the initial override value F-OR (100%). Therefore, at X = 125, the feed speed is reduced to F500, which is almost 100%.

その後、加工負荷値NPが目標負荷値TP以下あり、かつ目標負荷値TPと加工負荷値NPとの比が3倍以上であるため、OR−OL=150%以上となり、送り速度は上記に示した制御と同様に、F750まで増加し一定となる。そして、X=165〜170の間は加工負荷値NPは無負荷の0となる。次に、X=165まで移動すると、図3のステップS207において、制御タイマCTは3.2秒(=(165−125)÷750×60)であり、リセット時間RCT=3秒以上であるため(図3のステップS204)、制御タイマCTをOFFにする(CT=0)。   Thereafter, since the machining load value NP is equal to or less than the target load value TP and the ratio of the target load value TP to the machining load value NP is three times or more, OR-OL = 150% or more, and the feed rate is as shown above. As with the control described above, the value increases up to F750 and becomes constant. And between X = 165-170, the machining load value NP is zero with no load. Next, when moving to X = 165, the control timer CT is 3.2 seconds (= (165−125) ÷ 750 × 60) and the reset time RCT = 3 seconds or more in step S207 of FIG. (Step S204 in FIG. 3), the control timer CT is turned off (CT = 0).

そして、図12の11行目に加工負荷制御の終了指令があるため(図2のステップS108)、加工負荷制御を終了する(図2のステップS109)。図12の加工プログラムにおける13〜15行目は、基本的には図12の9〜11行目と同じである。但し、加工負荷値NPが異なるため、最終的な送り速度のみが異なる。以上のように加工試験を実施し、問題なければ寿命試験を実施する(図9のステップS803)。   Then, since there is a machining load control end command on the eleventh line in FIG. 12 (step S108 in FIG. 2), the machining load control is terminated (step S109 in FIG. 2). The 13th to 15th lines in the machining program of FIG. 12 are basically the same as the 9th to 11th lines of FIG. However, since the machining load value NP is different, only the final feed speed is different. The machining test is performed as described above. If there is no problem, the life test is performed (step S803 in FIG. 9).

次に、寿命試験を実施して妥当か否かを判断する(図9のステップS804)。そして、工具寿命が妥当として得られたら場合(YES)には、加工プログラムに、仮上限値K−OR−OLの見直しコマンドを追加する(図9のステップS806)。具体的には、図12の加工プログラムにおいて、図13に示すZ行目を追加して加工プログラムを修正する。そして、加工負荷制御の導入が完了する(図9のステップS807)。   Next, a life test is performed to determine whether it is appropriate (step S804 in FIG. 9). If the tool life is obtained as appropriate (YES), a command for reviewing the temporary upper limit value K-OR-OL is added to the machining program (step S806 in FIG. 9). Specifically, in the machining program of FIG. 12, the machining program is corrected by adding the Z-th line shown in FIG. Then, the introduction of machining load control is completed (step S807 in FIG. 9).

そして、図13のように修正された加工プログラムにて実際の加工を行う。加工を開始すると(図5のステップS401、およびステップS406)、加工データの保存を開始する(図5のステップS407)。次に、加工終了すると(図5のステップS402)、加工データの保存を終了する(図5のステップS409)。次に、加工を終了した後(図9のステップS808)、図13に示した加工プログラムのZ行目に追加した仮上限値K−OR−OLの見直し指令(図5のステップS403、およびステップS408)により、「仮上限値K−OR−OLの設定」が実行される(図5のステップS410)。   Then, actual machining is performed with the machining program modified as shown in FIG. When the processing is started (steps S401 and S406 in FIG. 5), the storage of the processing data is started (step S407 in FIG. 5). Next, when the processing is completed (step S402 in FIG. 5), the storage of the processing data is ended (step S409 in FIG. 5). Next, after finishing the processing (step S808 in FIG. 9), a command for reviewing the temporary upper limit value K-OR-OL added to the Z-th line of the processing program shown in FIG. 13 (steps S403 and step in FIG. 5). By “S408),“ setting of temporary upper limit value K-OR-OL ”is executed (step S410 in FIG. 5).

そして、仮上限値K−OR−OLの設定が開始されると(図6のステップS501)、最新の加工データと、その加工プログラムが呼び出される(図6のステップS502)。次に、加工プログラムをルールに則り分割する。図13の加工プログラムの場合、図14に示すようにNo.1〜No.3のように3カ所に分割される。このように分割された加工プログラムにより加工される箇所は、No.1はワーク107の加工箇所Q1の加工を行う箇所であり、No.2はワーク107の加工箇所Q2の加工を行う箇所であり、No.3はワーク107の加工箇所Q3の加工を行う箇所である。   When the setting of the temporary upper limit value K-OR-OL is started (step S501 in FIG. 6), the latest machining data and its machining program are called (step S502 in FIG. 6). Next, the machining program is divided according to the rules. In the case of the machining program of FIG. 1-No. It is divided into three places like 3. The location to be machined by the machining program divided in this way is No. No. 1 is a location where the machining location Q1 of the workpiece 107 is processed. No. 2 is a location where the machining location Q2 of the workpiece 107 is machined. Reference numeral 3 denotes a portion where the machining portion Q3 of the workpiece 107 is processed.

そして、それぞれの分割箇所(No.1〜No.3)の送り速度Fと加工負荷値NPとを分析し、分割箇所(No.1〜No.3)毎に加工負荷値NPの最大値を最大負荷値KF(N)、最大時オーバライド値K−OR(N)とする(N=1〜3)。次に、N=1とする(図6のステップS506)。次に、加工プログラムを分割した1番目(No.1)の加工箇所の最大負荷値KF(1)と目標負荷値TPとを比較する(図6のステップS507)。図18(C)より明らかに、ワーク107の加工箇所Q1の最大負荷値KF(1)は目標負荷値TPより小さいのでYESとなる。   Then, the feeding speed F and the machining load value NP of each division location (No. 1 to No. 3) are analyzed, and the maximum value of the machining load value NP is determined for each division location (No. 1 to No. 3). The maximum load value KF (N) and the maximum override value K-OR (N) are set (N = 1 to 3). Next, N = 1 is set (step S506 in FIG. 6). Next, the maximum load value KF (1) of the first (No. 1) machining location obtained by dividing the machining program is compared with the target load value TP (step S507 in FIG. 6). Evidently from FIG.18 (C), since the maximum load value KF (1) of the process location Q1 of the workpiece | work 107 is smaller than the target load value TP, it is set to YES.

次に、最大時オーバライド値K−OR(1)と、初期値OR−OLとが等しいか否かを確認する(図6のステップS508)。ここでは、最大時オーバライド値K−OR(1)は、150%なので上限値OR−OLと等しいのでYESとなる。次に、仮上限値K−OR−OL(1)=TP÷KF(N)=800%として算出する(図6のステップS509)。尚、800%とは、図18(B)において、目標負荷値TPがワーク107の加工箇所Q1の最大負荷値KF(1)の8倍程度であるため、その推定値を示しているものである。   Next, it is confirmed whether or not the maximum override value K-OR (1) is equal to the initial value OR-OL (step S508 in FIG. 6). Here, since the maximum override value K-OR (1) is 150%, it is equal to the upper limit value OR-OL, so it is YES. Next, the temporary upper limit value K-OR-OL (1) = TP ÷ KF (N) = 800% is calculated (step S509 in FIG. 6). Note that 800% indicates an estimated value because the target load value TP is about eight times the maximum load value KF (1) at the machining location Q1 of the workpiece 107 in FIG. 18B. is there.

次に、仮上限値K−OR−OL(1)が仮上限値の上限値K−OR−OL−OL以下か否かを確認する(図6のステップS510)。仮上限値の上限値K−OR−OL−OLは500%であるため、仮上限値K−OR−OL(1)の800%の方が大きいのでNOとなる。次に、仮上限値K−OR−OL(1)=仮上限値の上限値K−OR−OL−OL=500%と設定する(図6のステップS511)。次に、仮上限値K−OR−OL(1)を500%として出力する(図6のステップS512)。   Next, it is confirmed whether or not the temporary upper limit value K-OR-OL (1) is equal to or lower than the upper limit value K-OR-OL-OL of the temporary upper limit value (step S510 in FIG. 6). Since the upper limit value K-OR-OL-OL of the temporary upper limit value is 500%, 800% of the temporary upper limit value K-OR-OL (1) is larger, so the result is NO. Next, the temporary upper limit value K-OR-OL (1) = the upper limit value K-OR-OL-OL = 500% of the temporary upper limit value is set (step S511 in FIG. 6). Next, the temporary upper limit value K-OR-OL (1) is output as 500% (step S512 in FIG. 6).

次に、N=mか否かを確認する(図6のステップS513)。そして、プログラム分割数mは3で、現在のNは1なのでNOとなる。次に、N=N+1=2とする(図6のステップS520)。次に、加工プログラムを分割した2番目(No.2)の加工箇所の最大負荷値KF(2)と目標負荷値TPとを比較する(図6のステップS507)。図18(C)より明らかに、最大負荷値KF(2)の方が目標負荷値TPより小さいためNOとなる。   Next, it is confirmed whether N = m (step S513 in FIG. 6). Since the program division number m is 3 and the current N is 1, it is NO. Next, N = N + 1 = 2 is set (step S520 in FIG. 6). Next, the maximum load value KF (2) of the second (No. 2) machining location obtained by dividing the machining program is compared with the target load value TP (step S507 in FIG. 6). Apparently from FIG. 18C, the maximum load value KF (2) is smaller than the target load value TP, and thus NO.

次に、最大時オーバライド値K−OR(2)と上限値OR−OLとが等しいか否かを確認する(図6のステップS508)。次に、最大時オーバライド値K−OR(2)は150%なので、上限値OR−OLと等しいためYESとなる。次に、仮上限値K−OR−OL(2)=TP÷KF(N)=300%として算出する(図6のステップS509)。尚、300%とは、図18(B)において、目標負荷値TPがワーク107の加工箇所Q2の最大負荷値KF(2)の3倍程度であるため、その推定値を示しているものである。   Next, it is confirmed whether or not the maximum override value K-OR (2) is equal to the upper limit value OR-OL (step S508 in FIG. 6). Next, since the maximum override value K-OR (2) is 150%, it is equal to the upper limit value OR-OL, and therefore it becomes YES. Next, the temporary upper limit value K-OR-OL (2) = TP ÷ KF (N) = 300% is calculated (step S509 in FIG. 6). In FIG. 18B, 300% indicates an estimated value because the target load value TP is about three times the maximum load value KF (2) at the machining location Q2 of the workpiece 107. is there.

次に、仮上限値K−OR−OL(2)が仮上限値の上限値K−OR−OL−OL以下か否かを確認する(図6のステップS510)。そして、仮上限値の上限値はK−OR−OL−OLは500%であるため、仮上限値K−OR−OL(2)の300%の方が小さいためYESとなる。次に、仮上限値K−OR−OL(2)を300%として出力する(図6のステップS512)。   Next, it is confirmed whether or not the temporary upper limit value K-OR-OL (2) is equal to or lower than the upper limit value K-OR-OL-OL of the temporary upper limit value (step S510 in FIG. 6). Since the upper limit value of the temporary upper limit value is 500% for K-OR-OL-OL, 300% of the temporary upper limit value K-OR-OL (2) is smaller, so the answer is YES. Next, the temporary upper limit value K-OR-OL (2) is output as 300% (step S512 in FIG. 6).

次に、N=mか確認する(図6のステップS513)。そして、プログラム分割数mは3、現在のNは2なのでNOとなる。次に、N=N+1=3とする(図6のステップS520)。次に、加工プログラムを分割した3番目(No.3)の加工箇所の最大負荷値KF(3)と目標負荷値TPとを比較する(図6のステップS507)。   Next, it is confirmed whether N = m (step S513 in FIG. 6). Since the program division number m is 3 and the current N is 2, the result is NO. Next, N = N + 1 = 3 is set (step S520 in FIG. 6). Next, the maximum load value KF (3) of the third (No. 3) machining location obtained by dividing the machining program is compared with the target load value TP (step S507 in FIG. 6).

図18(C)から明らかなように、最大負荷値KF(3)の方が目標負荷値TPより大きいためNOとなる。次に、仮上限値K−OR−OL(3)=TP÷KF(N)=60%として算出する(図7のステップS516)。尚、60%とは、図18(B)において、目標負荷値TPがワーク107の加工箇所Q3の最大負荷値KF(3)の60%程度であるため、その推定値を示しているものである。   As is clear from FIG. 18C, the maximum load value KF (3) is larger than the target load value TP, and thus NO. Next, the temporary upper limit value K-OR-OL (3) = TP ÷ KF (N) = 60% is calculated (step S516 in FIG. 7). Note that 60% indicates an estimated value since the target load value TP is about 60% of the maximum load value KF (3) at the machining location Q3 of the workpiece 107 in FIG. 18B. is there.

次に、仮上限値K−OR−OL(3)が仮上限値の下限値K−OR−OL−UL以上か否かを確認する(図7のステップS517)。そして、仮上限値の下限値K−OR−OL−ULは100%であるため、仮上限値K−OR−OL(3)は仮上限値の下限値K−OR−OL−UL以上であるためNOとなる。次に、仮上限値K−OR−OL(3)を仮上限値の下限値K−OR−OL−ULの100%として設定する(図6のステップS518)。次に、仮上限値K−OR−OL(3)を100%として出力する(図6のステップS512)。次に、N=mか否かを確認する(図6のステップS513)。そして、プログラム分割数mは3で、現在のNは3なので「仮上限値の設定」を終了する(図6のステップS514)。   Next, it is confirmed whether or not the temporary upper limit value K-OR-OL (3) is greater than or equal to the lower limit value K-OR-OL-UL of the temporary upper limit value (step S517 in FIG. 7). Since the lower limit value K-OR-OL-UL of the temporary upper limit value is 100%, the temporary upper limit value K-OR-OL (3) is greater than or equal to the lower limit value K-OR-OL-UL of the temporary upper limit value. Therefore, it becomes NO. Next, the temporary upper limit value K-OR-OL (3) is set as 100% of the lower limit value K-OR-OL-UL of the temporary upper limit value (step S518 in FIG. 6). Next, the temporary upper limit value K-OR-OL (3) is output as 100% (step S512 in FIG. 6). Next, it is confirmed whether N = m (step S513 in FIG. 6). Then, since the program division number m is 3 and the current N is 3, the “temporary upper limit value setting” is terminated (step S514 in FIG. 6).

次に、「仮上限値の設定」が終了すると「加工プログラムの修正作業」の処理を開始する(図5のステップS411)。次に、加工プログラムの修正作業を開始する(図8のステップS601)。次に、加工プログラムを呼び出す(図8のステップS602)。ここで呼び出す加工プログラムは、加工に使用した図14の加工プログラムである。次に、呼び出した加工プログラムをm個に分割する(図8のステップS603)。この加工プログラムの分割方法は、先に示した図6のステップS503と同じである。   Next, when the “setting of the provisional upper limit value” is completed, the processing of “machining program correction work” is started (step S411 in FIG. 5). Next, the machining program correction work is started (step S601 in FIG. 8). Next, a machining program is called (step S602 in FIG. 8). The machining program called here is the machining program of FIG. 14 used for machining. Next, the called machining program is divided into m pieces (step S603 in FIG. 8). The method of dividing the machining program is the same as step S503 in FIG.

次に、N=1とする(図8のステップS604)。次に、1番目(No.1)の加工プログラムの分割加工箇所に対応する仮上限値K−OR−OL(1)が第二設定部6から出力されているか確認する(図8のステップS605)。次に、対応する仮上限値K−OR−OL(1)があるため、加工プログラム中に仮上限値K−OR−OLの使用開始指令および使用終了指令があるか否かを確認する(図8のステップS606)。ここでは、加工プログラム中に仮上限値K−OR−OLの使用開始指令および使用終了指令がないためNOとなる。   Next, N = 1 is set (step S604 in FIG. 8). Next, it is confirmed whether the temporary upper limit value K-OR-OL (1) corresponding to the divided machining location of the first (No. 1) machining program is output from the second setting unit 6 (step S605 in FIG. 8). ). Next, since there is a corresponding temporary upper limit value K-OR-OL (1), it is confirmed whether there is a use start command and a use end command for the temporary upper limit value K-OR-OL in the machining program (FIG. 8 step S606). Here, since there is no use start command and use end command for the temporary upper limit value K-OR-OL in the machining program, the answer is NO.

次に、図14の加工プログラムにNo.1に対して、図15に示すように6行目、9行目に仮上限値K−OR−OLの使用開始指令および使用終了指令を加え、6行目に仮上限値K−OR−OLを500と指定する。この値は「仮上限値の設定」で計算した値K−OR−OL(1)である。以上の制御をN=1〜3まで繰り返し、加工プログラムの修正処理を完了する(図8のステップS611)。そして、図15に示すようにそれぞれの指令が追加される。   Next, in the machining program of FIG. 15, the temporary upper limit value K-OR-OL is added to the sixth line and the temporary upper limit value K-OR-OL is added to the sixth line, as shown in FIG. Is designated as 500. This value is the value K-OR-OL (1) calculated in “Setting the temporary upper limit value”. The above control is repeated from N = 1 to 3 to complete the machining program correction processing (step S611 in FIG. 8). Each command is added as shown in FIG.

図19は図15の加工負荷制御を使用した加工プログラムを使用して加工を実施した場合を示す。図15の加工プログラムの6行目、12行目、18行目に仮上限値K−OR−OLの使用開始指令があるため、図2の加工負荷制御においてステップS103はNOとなり、ステップS105ではYESとなり、上限値OR−OLとして、仮上限値K−OR−OLの値が設定され使用される。   FIG. 19 shows a case where machining is performed using a machining program using the machining load control of FIG. Since there is an instruction to start using the temporary upper limit value K-OR-OL in the 6th, 12th, and 18th lines of the machining program of FIG. 15, step S103 is NO in the machining load control of FIG. YES, and the value of the temporary upper limit value K-OR-OL is set and used as the upper limit value OR-OL.

そのため、図19に示すように、オーバライド値の上限値OR−OLがワーク107の加工箇所Q1では仮上限値K−OR−OLの500%となり、加工箇所Q2では300%となり、加工箇所Q3では100%となる。よって、送り速度はワーク107の加工箇所Q1ではF2500、ワーク107の加工箇所Q2ではF1500、ワーク107の加工箇所Q3ではF500となり制御される。   Therefore, as shown in FIG. 19, the upper limit value OR-OL of the override value is 500% of the temporary upper limit value K-OR-OL at the machining location Q1 of the workpiece 107, 300% at the machining location Q2, and at the machining location Q3. 100%. Therefore, the feed speed is controlled to be F2500 at the machining location Q1 of the workpiece 107, F1500 at the machining location Q2 of the workpiece 107, and F500 at the machining location Q3 of the workpiece 107.

仮上限値K−OR−OLが上限値K−ORとして設定される前の図18と、仮上限値K−OR−OLが上限値K−ORとして設定された後の図19と比べると、X=210の時点における最大負荷値は図19に示す場合の方が図18の場合より小さくなっており、かつ、図19に示す斜線部の加工箇所だけ図18に示す場合より加工能率が大きくなっている。   Compared to FIG. 18 before the temporary upper limit value K-OR-OL is set as the upper limit value K-OR and FIG. 19 after the temporary upper limit value K-OR-OL is set as the upper limit value K-OR, The maximum load value at the time of X = 210 is smaller in the case shown in FIG. 19 than in the case of FIG. 18, and the machining efficiency is larger in the hatched portion shown in FIG. 19 than in the case shown in FIG. It has become.

このように上限値OR−OLを仮上限値K−OR−OLを用い適宜設定することにより加工能率を高め、かつ工具の破損を抑制できる。また、工具摩耗および破損を抑制できることから、加工精度を確保でき、工具交換回数を減らせるため機械のメンテナンス時間を減らせることができ、機械稼働率を向上でき更に人件費を抑制できる。また、ワークの間のばらつきなどを考慮しなくて済むことから寿命試験の数が減り、加工負荷制御の導入までの時間を短くできる。   In this way, by setting the upper limit value OR-OL as appropriate using the temporary upper limit value K-OR-OL, the machining efficiency can be increased and the breakage of the tool can be suppressed. Further, since tool wear and breakage can be suppressed, machining accuracy can be ensured, and the number of tool replacements can be reduced, so that the maintenance time of the machine can be reduced, the machine operating rate can be improved, and labor costs can be further reduced. In addition, since it is not necessary to take into account variations between workpieces, the number of life tests is reduced, and the time until introduction of machining load control can be shortened.

尚、上記実施の形態1においては、X軸、Y軸、Z軸の3軸を有する加工機を例に示したが、これに限られることはなく、2軸以上の加工機でも同様に実施することが可能であり、同様の効果を奏することができるものである。   In the first embodiment, the processing machine having the three axes of the X axis, the Y axis, and the Z axis is shown as an example. However, the present invention is not limited to this, and the same can be applied to a processing machine having two or more axes. It is possible to achieve the same effect.

また、目標負荷値TPは1工程に対し1つ、望ましくは工具に対し1つを設定するものとし、更に、目標負荷値TPは対象工程の加工負荷値の最大値を設定することが好ましい。このように、目標負荷値TPを1つとすることで制御の簡易化が図れ、容易に加工負荷制御を導入することができる。   Further, it is preferable that one target load value TP is set for one process, preferably one for a tool, and further, the target load value TP is set to a maximum value of the machining load value of the target process. In this way, by setting the target load value TP to one, the control can be simplified and the machining load control can be easily introduced.

また、目標負荷値TPを対象工程の加工負荷値の最大値とすることで、加工負荷制御の加工時間短縮効果を最大限に得ることができる。また、仮上限値を設定する際の加工データは、「基準となる加工データ」と「最新工程までの複数の加工データ」とを比較してもよい。   Further, by making the target load value TP the maximum value of the machining load value of the target process, the machining time shortening effect of the machining load control can be maximized. Further, as the processing data when setting the temporary upper limit value, “reference processing data” and “a plurality of processing data up to the latest process” may be compared.

また、本実施の形態においては、第一記憶部4および第二記憶部7を備え、それぞれに各種情報を格納する例を示したが、これに限られることなく、1つの記憶部として構成する、また、NC装置120に記憶部を備えるようにしてもよい。また、このことは以下の実施の形態においても同様であるためその説明は適宜省略する。   Moreover, in this Embodiment, although the 1st memory | storage part 4 and the 2nd memory | storage part 7 were provided, and the example which stores various information in each was shown, it comprises as one memory | storage part, without being restricted to this. In addition, the NC device 120 may be provided with a storage unit. Since this is the same in the following embodiments, the description thereof will be omitted as appropriate.

上記のように構成された実施の形態1の加工機の制御装置および加工機の制御方法によれば、加工負荷値が、加工閾値を超えると初期オーバライド値に変更するため、加工部の急激な加工負荷値の増大を事前に防止することができ、加工部の寿命向上および加工効率向上を行うことができる。   According to the processing machine control device and the processing machine control method of the first embodiment configured as described above, when the processing load value exceeds the processing threshold value, the initial override value is changed. An increase in the machining load value can be prevented in advance, and the life of the machined part and machining efficiency can be improved.

また、第一設定部は、初期オーバライド値を上限値まで戻すことができるため、加工効率を向上することができる。   Moreover, since the first setting unit can return the initial override value to the upper limit value, the processing efficiency can be improved.

また、第一設定部は、加工負荷値が目標負荷値より低くならなければ、初期オーバライド値を維持するため、加工部としての回転工具の寿命がより一層向上する。   Further, since the first setting unit maintains the initial override value unless the machining load value is lower than the target load value, the life of the rotary tool as the machining unit is further improved.

また、第二設定部は、ワークの加工箇所毎に、仮上限値を上限値として設定するため、加工効率をより一層向上することができる。   Moreover, since the 2nd setting part sets a temporary upper limit as an upper limit for every process location of a workpiece | work, it can improve process efficiency further.

また、第二設定部は、仮上限値の上限値および仮上限値の下限値を設定しているため、加工部の過度な加工を防止したり、加工効率が必要以上に低下したりすることができる。   Moreover, since the 2nd setting part has set the upper limit value of the temporary upper limit value and the lower limit value of the temporary upper limit value, excessive processing of the processing part is prevented, or processing efficiency is unnecessarily reduced. Can do.

また、修正部は、加工プログラムのワークの加工箇所毎に、仮上限値の使用開始および仮上限値の使用終了を追加できるため、加工プログラムを自動的に修正し、仮上限値を使用して制御することが可能となる。   In addition, the correction unit can add the start of use of the temporary upper limit value and the end of use of the temporary upper limit value for each machining part of the workpiece of the machining program, so the machining program is automatically corrected and the temporary upper limit value is used. It becomes possible to control.

また、加工機のワークの加工を行う加工部の駆動を行う主駆動部から加工負荷値を取得するため、簡便な加工制御が可能となる。   In addition, since the processing load value is acquired from the main drive unit that drives the processing unit that processes the workpiece of the processing machine, simple processing control is possible.

尚、上記実施の形態1においては、監視部1が主軸105の主軸モータ101の負荷値を、主軸アンプ111およびNC装置120を介して取得し、加工負荷値とする例を示したが、これに限られることはなく、これに加えて、例えば、Z軸モータ102の負荷値をZ軸アンプ112、X軸モータ103の負荷値をX軸アンプ113、Y軸モータ104の負荷値をY軸アンプ114からそれぞれの取得し、電流、消費電力等の各モータ101、102、103、104の信号を加工負荷値として設定しても、上記実施の形態1と同様に制御することが可能である。   In the first embodiment, the example in which the monitoring unit 1 acquires the load value of the spindle motor 101 of the spindle 105 via the spindle amplifier 111 and the NC device 120 and sets it as the machining load value is shown. In addition to this, for example, the load value of the Z-axis motor 102 is the Z-axis amplifier 112, the load value of the X-axis motor 103 is the X-axis amplifier 113, and the load value of the Y-axis motor 104 is the Y-axis. Even if the signals acquired from the amplifier 114 and the signals of the motors 101, 102, 103, and 104 such as current and power consumption are set as the machining load values, the control can be performed in the same manner as in the first embodiment. .

その場合、加工機の制御方法によれば、主軸に作用する主分力以外に、背分力、送り分力を制御に反映することが可能となる。背分力、送り分力の増加はびびりおよび工具、ワークの倒れといった精度不良の原因となる。よって、背分力、送り分力を検知し、送り速度を制御することにより、より詳細に加工状態を把握し制御することができ、びびりおよび工具またはワークの倒れを抑制し、精度不良をより一層防止することができる。   In this case, according to the control method of the processing machine, it is possible to reflect the back component force and the feed component force in the control in addition to the main component force acting on the main shaft. An increase in the back component force and feed component force causes inaccuracy such as chatter, tool and workpiece falling. Therefore, by detecting the back force and feed force and controlling the feed speed, it is possible to grasp and control the machining state in more detail, suppress chatter and tool or workpiece collapse, and improve accuracy. This can be further prevented.

また、上記実施の形態1においては、加工機の制御値として、送り速度を例に示したが、これに限られることなく、例えば、加工機の加工部の回転速度などを制御値として設定することも可能である。   In the first embodiment, the feed rate is shown as an example of the control value of the processing machine. However, the present invention is not limited to this, and for example, the rotational speed of the processing portion of the processing machine is set as the control value. It is also possible.

実施の形態2.
図20はこの発明の実施の形態2における加工機および加工機の制御装置の構成を示す図である。図において、上記実施の形態1と同様の部分は同一符号を付して説明を省略す。図に示すように、監視部150の加工負荷値の取得を、主軸アンプ111からではなく、主軸モータ101もしくは主軸用サーボなどの配線部に配置されたクランプ電流計201から行う。そして、監視部1は、このクランプ電流計201の信号から加工負荷値を取得し、上記実施の形態1と同様に行うことができる。
Embodiment 2. FIG.
FIG. 20 is a diagram showing the configuration of the processing machine and the control device for the processing machine in the second embodiment of the present invention. In the figure, the same parts as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted. As shown in the figure, the processing load value of the monitoring unit 150 is acquired not from the main shaft amplifier 111 but from the clamp ammeter 201 arranged in the wiring unit such as the main shaft motor 101 or the main shaft servo. And the monitoring part 1 can acquire a process load value from the signal of this clamp ammeter 201, and can perform it similarly to the said Embodiment 1. FIG.

上記のように構成された実施の形態2の加工機の制御装置および加工機の制御方法によれば、上記実施の形態1と同様の効果を奏するのはもちろんのこと、加工負荷値を取得するためのアンプを配置する必要がないため、制御装置を容易かつ安価に設置することができる。   According to the processing machine control device and the processing machine control method of the second embodiment configured as described above, the processing load value is acquired as well as the same effect as the first embodiment. Therefore, the control device can be installed easily and inexpensively.

実施の形態3.
図21はこの発明の実施の形態3における加工機および加工機の制御装置の構成を示す図である。図において、上記各実施の形態と同様の部分は同一符号を付して説明を省略す。図に示すように、修正部8および第一記憶部4、第二記憶部7、第三記憶部23にアクセスし、命令を実行可能な入出力インターフェース(以下、入出力IFと称す)22を備える。尚、第三記憶部23については、後述にて説明する。第一記憶部4、第二記憶部7および第三記憶部23に入出力IF22からアクセスすることにより加工プログラムの修正が容易になる。
Embodiment 3 FIG.
FIG. 21 is a diagram showing the configuration of the processing machine and the control device for the processing machine in the third embodiment of the present invention. In the figure, the same parts as those in the above embodiments are denoted by the same reference numerals, and description thereof is omitted. As shown in the figure, an input / output interface (hereinafter referred to as an input / output IF) 22 capable of executing instructions by accessing the correction unit 8, the first storage unit 4, the second storage unit 7, and the third storage unit 23 is provided. Prepare. The third storage unit 23 will be described later. By accessing the first storage unit 4, the second storage unit 7, and the third storage unit 23 from the input / output IF 22, the machining program can be easily corrected.

また、修正部8に入出力IF22よりアクセスできることにより、仮上限値K−OR−OLを任意のタイミングで変更することができる。また、入出力IF22より修正部8にアクセスしてNC装置120内の加工負荷制御を導入していない加工プログラムに対して加工データより加工負荷制御に対応した加工プログラムに修正することが可能となる。   Further, the temporary upper limit value K-OR-OL can be changed at an arbitrary timing because the correction unit 8 can be accessed from the input / output IF 22. Further, it is possible to modify the machining program that does not introduce machining load control in the NC device 120 from the input / output IF 22 to a machining program corresponding to machining load control from machining data. .

上記のように構成された実施の形態3の加工機の制御装置の制御方法について図21のフローチャートに基づいて説明する。まず、入出力IF22が加工プログラムの修正の制御を開始すると(図22のステップS901)、修正する加工プログラムを選択し(図22のステップS902)、第二記憶部7から加工プログラムを読み込む(図22のステップS903)。   A control method of the processing machine control apparatus of the third embodiment configured as described above will be described based on the flowchart of FIG. First, when the input / output IF 22 starts control of modification of the machining program (step S901 in FIG. 22), the machining program to be modified is selected (step S902 in FIG. 22), and the machining program is read from the second storage unit 7 (FIG. 22). 22 step S903).

次に、当該加工プログラムの基準となる加工データを選択し(図22のステップS904)、第二記憶部7から加工データを読み込む(図22のステップS905)。次に、加工負荷制御に導入する対象工具を指定する(図22のステップS906)。次に、選択した対象工具に対応する加工プログラムと加工データとを抽出し(図22のステップS907)、その最大負荷値を目標負荷値TPとして設定する(図22のステップS908)。尚、最大負荷値の値を目標負荷値TPにするのではなく、最大負荷値に予め設定された係数を乗じた値を目標負荷値TPとして設定してもよい。次に、当該加工プログラムの前後に加工負荷制御の開始指定、および、終了指令の有無を確認し、存在しない場合には追加する(図22のステップS909)。   Next, machining data serving as a reference for the machining program is selected (step S904 in FIG. 22), and machining data is read from the second storage unit 7 (step S905 in FIG. 22). Next, a target tool to be introduced into the machining load control is designated (step S906 in FIG. 22). Next, a machining program and machining data corresponding to the selected target tool are extracted (step S907 in FIG. 22), and the maximum load value is set as the target load value TP (step S908 in FIG. 22). Instead of setting the maximum load value to the target load value TP, a value obtained by multiplying the maximum load value by a preset coefficient may be set as the target load value TP. Next, before and after the machining program, it is confirmed whether or not there is a machining load control start designation and termination command, and if there is no such program, it is added (step S909 in FIG. 22).

また、加工プログラムを修正する際、修正対象から除外する項目を第三記憶部23に設定することも可能である。このように、第三記憶部23に修正対象から除外する項目を登録することで、加工負荷制御の修正から除外することができる。除外する項目としては、例えば、工具がドリルの場合には、工具の構造から加工途中で送りを変化させると加工が不安定になるため除外する。   In addition, when the machining program is corrected, an item to be excluded from the correction target can be set in the third storage unit 23. In this way, by registering items to be excluded from the correction target in the third storage unit 23, it is possible to exclude them from the correction of the machining load control. As an item to be excluded, for example, when the tool is a drill, if the feed is changed during the processing from the structure of the tool, the processing becomes unstable.

上記のように構成された実施の形態3の加工機の制御装置および加工機の制御方法によれば、上記各実施の形態と同様の効果を奏するのはもちろんのこと、加工負荷制御の加工プログラムを修正することにより加工負荷制御の導入までの時間を短くできる。   According to the processing machine control device and the processing machine control method of the third embodiment configured as described above, the machining program for machining load control as well as the same effects as those of the above embodiments are provided. By correcting this, the time until the introduction of machining load control can be shortened.

尚、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。   It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

Claims (11)

加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御装置において、
前記加工機の前記加工負荷値を取得する監視部と、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更する第一設定部と、
前記加工負荷値が、前記加工機の加工判定を行うために設定された加工閾値を超えると、前記加工機の前記オーバライド値を前記上限値より小さい初期オーバライド値に変更して前記第一設定部に設定する判定部とを備えた加工機の制御装置。
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control device of the processing machine,
A monitoring unit for acquiring the processing load value of the processing machine;
A first setting unit that changes the override value to an upper limit that is an upper limit of the override value according to the machining load value;
When the processing load value exceeds a processing threshold set for performing processing determination of the processing machine, the override value of the processing machine is changed to an initial override value smaller than the upper limit value, and the first setting unit A control device for a processing machine, comprising:
前記第一設定部は、前記初期オーバライド値に変更した後において、前記加工機の前記加工負荷値に応じて前記初期オーバライド値を前記上限値まで戻す請求項1に記載の加工機の制御装置。 2. The processing machine control device according to claim 1, wherein the first setting unit returns the initial override value to the upper limit value in accordance with the processing load value of the processing machine after changing to the initial override value. 3. 前記第一設定部は、前記初期オーバライド値に変更した後に、前記加工機の前記加工負荷値が前記目標負荷値より低くならなければ、前記初期オーバライド値を維持する請求項2に記載の加工機の制御装置。 3. The processing machine according to claim 2, wherein the first setting unit maintains the initial override value when the processing load value of the processing machine does not become lower than the target load value after changing to the initial override value. 4. Control device. 加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御装置において、
前記ワークに複数の加工箇所を有する場合、
前記加工機の前記加工負荷値を取得する監視部と、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更する第一設定部と、
前記ワークの前記加工箇所毎に、前記加工負荷値の最大負荷値が前記目標負荷値となるような仮上限値を前記上限値として前記第一設定部に設定する第二設定部とを備えた加工機の制御装置。
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control device of the processing machine,
When the workpiece has a plurality of machining points,
A monitoring unit for acquiring the processing load value of the processing machine;
A first setting unit that changes the override value to an upper limit that is an upper limit of the override value according to the machining load value;
A second setting unit that sets, in the first setting unit, a temporary upper limit value such that the maximum load value of the machining load value becomes the target load value for each machining location of the workpiece; Control device for processing machines.
前記加工負荷値が、前記加工機の加工判定を行うために設定された加工閾値を超えると、前記加工機の前記オーバライド値を前記上限値より小さい初期オーバライド値に変更して前記第一設定部に設定する判定部とを備えた請求項4に記載の加工機の制御装置。 When the processing load value exceeds a processing threshold set for performing processing determination of the processing machine, the override value of the processing machine is changed to an initial override value smaller than the upper limit value, and the first setting unit The processing machine control device according to claim 4, further comprising: a determination unit that is set to 前記第二設定部は、前記仮上限値の上限値および前記仮上限値の下限値を設定する請求項4または請求項5に記載の加工機の制御装置。 The control device for a processing machine according to claim 4 or 5, wherein the second setting unit sets an upper limit value of the temporary upper limit value and a lower limit value of the temporary upper limit value. 前記加工プログラムの前記ワークの前記加工箇所毎に、前記仮上限値の使用開始および前記仮上限値の使用終了を追加する修正部を備えた請求項4から請求項6のいずれか1項に記載の加工機の制御装置。 The correction part which adds the use start of the said temporary upper limit value, and the use end of the said temporary upper limit value for every said process location of the said workpiece | work of the said machining program is provided. Processing machine control device. 前記加工機は、前記ワークの加工を行う加工部と、前記ワークの移動を行う移動部と、前記加工部の駆動を行う主駆動部と、前記移動部の駆動を行う移動駆動部とを備え、
前記監視部は、前記主駆動部から前記加工負荷値を取得する請求項1から請求項7のいずれか1項に記載の加工機の制御装置。
The processing machine includes a processing unit that processes the workpiece, a moving unit that moves the workpiece, a main drive unit that drives the processing unit, and a movement drive unit that drives the moving unit. ,
8. The processing machine control device according to claim 1, wherein the monitoring unit acquires the processing load value from the main drive unit. 9.
前記加工機は、前記ワークの加工を行う加工部と、前記ワークの移動を行う移動部と、前記加工部の駆動を行う主駆動部と、前記移動部の駆動を行う移動駆動部とを備え、
前記監視部は、前記主駆動部および前記移動駆動部から前記加工負荷値を取得する請求項1から請求項7のいずれか1項に記載の加工機の制御装置。
The processing machine includes a processing unit that processes the workpiece, a moving unit that moves the workpiece, a main drive unit that drives the processing unit, and a movement drive unit that drives the moving unit. ,
8. The processing machine control device according to claim 1, wherein the monitoring unit acquires the processing load value from the main driving unit and the movement driving unit. 9.
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御方法において、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更するとともに、
前記加工負荷値が、前記加工機の加工判定を行うために設定された加工閾値を超えると、前記加工機の前記オーバライド値を前記上限値より小さい初期オーバライド値に変更して制御する加工機の制御方法。
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control method of the processing machine,
The override value is changed to an upper limit value that is an upper limit of the override value according to the machining load value,
When the processing load value exceeds a processing threshold set for performing processing determination of the processing machine, the override value of the processing machine is changed to an initial override value smaller than the upper limit value and controlled. Control method.
加工プログラムに従ってワークの加工を行い、オーバライド値により加工機の制御値を可変して制御するとともに前記加工機の加工負荷値を前記加工負荷値の上限である目標負荷値より低くなるように制御する加工機の制御方法において、
前記ワークに複数の加工箇所を有する場合、
前記オーバライド値を、前記加工負荷値に応じて前記オーバライド値の上限である上限値まで変更するとともに、
前記ワークの前記加工箇所毎に、前記加工負荷値の最大負荷値が前記目標負荷値となるような仮上限値を前記上限値として制御する加工機の制御方法。
The workpiece is machined according to the machining program, and the control value of the machining machine is varied by the override value, and the machining load value of the machining machine is controlled to be lower than the target load value that is the upper limit of the machining load value. In the control method of the processing machine,
When the workpiece has a plurality of machining points,
The override value is changed to an upper limit value that is an upper limit of the override value according to the machining load value,
A processing machine control method for controlling, as the upper limit value, a temporary upper limit value at which a maximum load value of the machining load value becomes the target load value for each machining portion of the workpiece.
JP2017523573A 2015-06-12 2016-05-26 Processing machine control device and processing machine control method Expired - Fee Related JP6456498B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2015118879 2015-06-12
JP2015118879 2015-06-12
PCT/JP2016/065620 WO2016199591A1 (en) 2015-06-12 2016-05-26 Control device for processing machine and control method for processing machine

Publications (2)

Publication Number Publication Date
JPWO2016199591A1 true JPWO2016199591A1 (en) 2017-08-31
JP6456498B2 JP6456498B2 (en) 2019-01-23

Family

ID=57503849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017523573A Expired - Fee Related JP6456498B2 (en) 2015-06-12 2016-05-26 Processing machine control device and processing machine control method

Country Status (3)

Country Link
JP (1) JP6456498B2 (en)
CN (1) CN107405747B (en)
WO (1) WO2016199591A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6100747B2 (en) * 2014-11-26 2017-03-22 ファナック株式会社 Control device for controlling machine tool having cutting condition changing function
JP7048537B2 (en) * 2019-04-24 2022-04-05 ファナック株式会社 Numerical control system for industrial machinery
EP4338870A1 (en) * 2021-05-13 2024-03-20 Sumitomo Electric Industries, Ltd. Processing condition managment system, processing control device, processing system, and processing program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63283843A (en) * 1987-05-15 1988-11-21 Mitsubishi Heavy Ind Ltd Override control method
JP2005205517A (en) * 2004-01-21 2005-08-04 Niigata Machine Techno Co Ltd Cutting control method and cutting control device of machine tool
JP2007249923A (en) * 2006-03-20 2007-09-27 Ngk Insulators Ltd Nc machining facility and workpiece machining method using the same
WO2008012884A1 (en) * 2006-07-26 2008-01-31 Mitsubishi Electric Corporation Numeric value control device
JP2011118840A (en) * 2009-12-07 2011-06-16 Fanuc Ltd Numerical control device having motor load torque measuring function
JP2013215809A (en) * 2012-04-04 2013-10-24 Hitachi Ltd Cutting system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63283843A (en) * 1987-05-15 1988-11-21 Mitsubishi Heavy Ind Ltd Override control method
JP2005205517A (en) * 2004-01-21 2005-08-04 Niigata Machine Techno Co Ltd Cutting control method and cutting control device of machine tool
JP2007249923A (en) * 2006-03-20 2007-09-27 Ngk Insulators Ltd Nc machining facility and workpiece machining method using the same
WO2008012884A1 (en) * 2006-07-26 2008-01-31 Mitsubishi Electric Corporation Numeric value control device
JP2011118840A (en) * 2009-12-07 2011-06-16 Fanuc Ltd Numerical control device having motor load torque measuring function
JP2013215809A (en) * 2012-04-04 2013-10-24 Hitachi Ltd Cutting system and method

Also Published As

Publication number Publication date
JP6456498B2 (en) 2019-01-23
CN107405747A (en) 2017-11-28
CN107405747B (en) 2019-09-24
WO2016199591A1 (en) 2016-12-15

Similar Documents

Publication Publication Date Title
CN105122160B (en) Numerical control device
JP5670501B2 (en) Cutting condition display device
JP5420123B1 (en) Numerical controller
JP6456498B2 (en) Processing machine control device and processing machine control method
US10317876B2 (en) Numerical control device and control method for numerical control device
US10088824B2 (en) Toolpath evaluation method, toolpath generation method, and toolpath generation device
CN105549534B (en) Numerical control device
JP2016137557A (en) Machine tool having function to automatically change cutting condition
KR102124658B1 (en) Method and Apparatus for Monitoring Cutting Load of Machine Tool
JP4995976B1 (en) Numerical control device that performs in-position check of rotating shaft
JP4802170B2 (en) Machining time calculation device and program thereof
JP4115925B2 (en) Machine tool control method and control device therefor
JP5908552B1 (en) Machine tool controller
US10248100B2 (en) Numerical controller
JP6062973B2 (en) Numerical control device capable of searching for nearby points in consideration of tool posture
JP5764876B2 (en) Machine tool control method and machine tool control apparatus
CN108334042B (en) Numerical controller
CN111185801A (en) Numerical controller
CN111796553B (en) Numerical controller and numerical control system
WO2023084714A1 (en) Dimension estimation device and computer-readable storage medium
JP2021039401A (en) Numerical control device
JP2017001153A (en) Processing system and processing method using end mill
JP2015047683A (en) Processing method using cylindrical tool
JP2612364B2 (en) Numerical control unit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170526

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180529

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180613

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181218

R150 Certificate of patent or registration of utility model

Ref document number: 6456498

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees