[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2017102593A - Control device, machine tool, control method, and computer program - Google Patents

Control device, machine tool, control method, and computer program Download PDF

Info

Publication number
JP2017102593A
JP2017102593A JP2015233886A JP2015233886A JP2017102593A JP 2017102593 A JP2017102593 A JP 2017102593A JP 2015233886 A JP2015233886 A JP 2015233886A JP 2015233886 A JP2015233886 A JP 2015233886A JP 2017102593 A JP2017102593 A JP 2017102593A
Authority
JP
Japan
Prior art keywords
command
evaluation
machining path
section
intersection
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
JP2015233886A
Other languages
Japanese (ja)
Other versions
JP6582931B2 (en
Inventor
友哉 石川
Tomoya Ishikawa
友哉 石川
晋 西田
Susumu Nishida
晋 西田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015233886A priority Critical patent/JP6582931B2/en
Publication of JP2017102593A publication Critical patent/JP2017102593A/en
Application granted granted Critical
Publication of JP6582931B2 publication Critical patent/JP6582931B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

【課題】ワークに滑らかな曲面を形成することができる制御装置、工作機械及びコンピュータプログラムを提供する。【解決手段】主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置において、前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定する設定部と、該設定部が設定した評価断面及び前記加工経路の交点を演算する演算部と、該演算部が演算した交点の位置を修正する交点位置修正部と、該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部とを備える制御装置。【選択図】図7The present invention provides a control device, a machine tool, and a computer program that can form a smooth curved surface on a workpiece. A control device that sets a machining path based on a plurality of command points indicating the position of a spindle, and controls movement of the spindle based on the machining path, includes a plurality of evaluations that intersect the machining path. a setting unit that sets a cross section so that the number of command points existing between two adjacent evaluation cross sections is equal to or less than a threshold; and a calculation that calculates an intersection of the evaluation cross section set by the setting unit and the machining path. an intersection point position correction unit that corrects the position of the intersection calculated by the calculation unit; and a position of the command point in the direction intersecting the machining path based on the intersection corrected by the intersection position correction unit. A control device comprising a command point position correction section. [Selection diagram] Figure 7

Description

本発明は、工具を装着する主軸の移動を制御する制御装置、工作機械及びコンピュータプログラムに関する。   The present invention relates to a control device, a machine tool, and a computer program for controlling movement of a spindle on which a tool is mounted.

工作機械は、工具を装着する主軸の移動を制御する制御装置を備える。制御装置は、主軸の位置を指示する複数の指令点を設定し、加工経路を設定する。主軸に装着した工具が3次元の曲面をワークに形成する場合、制御装置は指令点間の微小線分が連続した複数の曲線を演算し、生成する。   The machine tool includes a control device that controls movement of a spindle on which a tool is mounted. The control device sets a plurality of command points that indicate the position of the spindle and sets a machining path. When the tool mounted on the spindle forms a three-dimensional curved surface on the workpiece, the control device calculates and generates a plurality of curves in which minute line segments between command points are continuous.

例えば前後方向及び左右方向に平行な面(水平面)上に複数の曲線を生成する。複数の曲線は前後方向又は左右方向に並ぶ。制御装置は各曲線に上下方向の位置を設定する。また制御装置は、微小線分の繋ぎ目にて尖った部分が表れるので、スプライン曲線、ベジェ曲線等の滑らかな曲線に基づいて、生成した曲線を補間する。設定された各上下位置にて、補間した曲線に沿って主軸は移動し、ワークを加工する(例えば特許文献1参照)。   For example, a plurality of curves are generated on a plane (horizontal plane) parallel to the front-rear direction and the left-right direction. The plurality of curves are arranged in the front-rear direction or the left-right direction. The control device sets a vertical position for each curve. Further, the control device interpolates the generated curve based on a smooth curve such as a spline curve or a Bezier curve because a sharp portion appears at the joint of the minute line segment. At each set vertical position, the main axis moves along the interpolated curve to process the workpiece (see, for example, Patent Document 1).

特許第3466111号公報Japanese Patent No. 3466111

しかし上述した補間を行っても、隣り合う曲線の傾きの差、制御装置での演算にて発生する量子化誤差等によって、ワーク表面に鱗状の模様が表れる。特許文献1は指令点を修正することなく、指令点間に、滑らかな線となるように新たな指令点を挿入している。従って、指令点そのものが誤っているにも関わらず、指令点を通ることになり、上述したワーク表面に鱗状の模様が表れるという問題があった。   However, even when the above-described interpolation is performed, a scale-like pattern appears on the workpiece surface due to a difference in slope between adjacent curves, a quantization error generated by calculation in the control device, and the like. In Patent Document 1, new command points are inserted between command points so as to form a smooth line without correcting the command points. Therefore, although the command point itself is wrong, it passes through the command point, and there is a problem that a scale-like pattern appears on the surface of the workpiece.

本発明は斯かる事情に鑑みてなされたものであり、ワークに滑らかな曲面を形成することができる制御装置、工作機械及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide a control device, a machine tool, and a computer program that can form a smooth curved surface on a workpiece.

本発明に係る制御装置は、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置において、前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定する設定部と、該設定部が設定した評価断面及び前記加工経路の交点を演算する演算部と、該演算部が演算した交点の位置を修正する交点位置修正部と、該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部とを備えることを特徴とする。   A control device according to the present invention sets a machining path based on a plurality of command points that indicate a position of a spindle, and controls the movement of the spindle based on the machining path. A setting unit for setting a plurality of evaluation cross sections to be set so that the number of the command points existing between two adjacent evaluation cross sections is equal to or less than a threshold value, and an intersection of the evaluation cross section set by the setting unit and the machining path Based on the intersection point corrected by the intersection position correction unit, the intersection position correction unit that corrects the position of the intersection calculated by the calculation unit, and the command point in the direction intersecting the machining path And a command point position correcting unit for correcting the position.

本発明に係る制御装置は、前記設定部は、前記加工経路に予め定められた間隔で前記評価断面を設定した後、隣り合う二つの前記評価断面の間に存在する前記指令点の数が閾値を超過しているか否かを判定する判定部と、該判定部にて、隣り合う二つの前記評価断面の間に存在する前記指令点の数が閾値を超過していると判定した場合に、前記二つの評価断面の間に更に評価断面を追加する追加設定部とを備えることを特徴とする。   In the control device according to the present invention, after the setting unit sets the evaluation cross section at a predetermined interval in the machining path, the number of the command points existing between two adjacent evaluation cross sections is a threshold value. And when determining that the number of the command points existing between two adjacent evaluation sections exceeds the threshold, And an additional setting unit for adding an evaluation cross section between the two evaluation cross sections.

本発明に係る制御装置は、前記追加設定部は、前記二つの評価断面の間の中央に評価断面を追加することを特徴とする。   The control device according to the present invention is characterized in that the additional setting unit adds an evaluation cross section at the center between the two evaluation cross sections.

本発明に係る制御装置は、前記複数の指令点は、第1指令点と該第1指令点の隣に位置する第2指令点とを含み、前記設定部は、前記第1指令点及び第2指令点の間に一の前記評価断面を設定する第1設定部と、前記第1指令点から前記閾値に対応した距離離隔した第3指令点及び該第3指令点の隣に位置する第4指令点を設定する第2設定部と、該第2設定部にて設定した前記第3指令点及び第4指令点の間に他の前記評価断面を設定する第3設定部とを備えることを特徴とする。   In the control device according to the present invention, the plurality of command points include a first command point and a second command point located next to the first command point, and the setting unit includes the first command point and the first command point. A first setting unit that sets one evaluation section between two command points, a third command point that is separated from the first command point by a distance corresponding to the threshold value, and a third command point that is located next to the third command point. A second setting unit for setting four command points; and a third setting unit for setting the other evaluation section between the third command point and the fourth command point set by the second setting unit. It is characterized by.

本発明に係る制御装置は、前記第1設定部は、前記第1指令点及び第2指令点の間の中央に前記一の評価断面を設定し、前記第3設定部は、前記第3指令点及び第4指令点の間の中央に前記他の評価断面を設定することを特徴とする。   In the control device according to the present invention, the first setting unit sets the one evaluation section at a center between the first command point and the second command point, and the third setting unit includes the third command point. The other evaluation section is set in the center between the point and the fourth command point.

本発明に係る工作機械は、前述した何れかの制御装置と、前記主軸とを備えることを特徴とする。   A machine tool according to the present invention includes any one of the control devices described above and the spindle.

本発明に係る制御方法は、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御方法において、前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定し、設定した評価断面及び前記加工経路の交点を演算し、該演算部が演算した交点の位置を修正し、修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正することを特徴とする。   A control method according to the present invention sets a machining path based on a plurality of command points that indicate the position of a spindle, and controls the movement of the spindle based on the machining path. A plurality of evaluation sections to be set so that the number of the command points existing between two adjacent evaluation sections is equal to or less than a threshold value, and the intersection of the set evaluation section and the machining path is calculated, and the calculation unit The position of the intersection calculated by is corrected, and the position of the command point in the direction intersecting the machining path is corrected based on the corrected intersection.

本発明に係るコンピュータプログラムは、加工プログラムに従って、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置で実行可能なコンピュータプログラムにおいて、前記制御装置を、前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定する設定部、該設定部が設定した評価断面及び前記加工経路の交点を演算する演算部、該演算部が演算した交点の位置を修正する交点位置修正部、及び該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部として機能させることを特徴とする。   The computer program according to the present invention can be executed by a control device that sets a machining path based on a plurality of command points for instructing the position of the spindle according to the machining program and controls the movement of the spindle based on the machining path. In this computer program, the control device sets a plurality of evaluation sections intersecting the machining path so that the number of the command points existing between the two adjacent evaluation sections is equal to or less than a threshold value, Based on the calculation section that calculates the intersection of the evaluation section and the machining path set by the setting section, the intersection position correction section that corrects the position of the intersection calculated by the calculation section, and the intersection corrected by the intersection position correction section , And functioning as a command point position correcting unit that corrects the position of the command point in a direction intersecting the machining path.

本発明においては、加工経路に交差する評価断面を設定し、評価断面と加工経路の交点の位置を修正し、修正した交点の位置に基づいて、前記加工経路に交差する方向における指令点の位置を修正する。また隣り合う二つの前記評価断面間に存在する前記指令点の数を閾値以下にする。   In the present invention, an evaluation cross section that intersects the machining path is set, the position of the intersection of the evaluation cross section and the machining path is corrected, and the position of the command point in the direction that intersects the machining path based on the corrected position of the intersection To correct. Further, the number of command points existing between two adjacent evaluation sections is set to be equal to or less than a threshold value.

本発明においては、評価断面の設定後に、隣り合う二つの評価断面の間に存在する指令点の数が閾値を超過しているのかを判定する。指令点の数が閾値を超過している場合、隣り合う二つの評価断面の間に、新たな評価断面を追加する。   In the present invention, after setting the evaluation cross section, it is determined whether the number of command points existing between two adjacent evaluation cross sections exceeds a threshold value. If the number of command points exceeds the threshold value, a new evaluation section is added between two adjacent evaluation sections.

本発明においては、隣り合う二つの評価断面の間の中央に新たな評価断面を追加し、評価断面の数が必要以上に多くなることを防止する。   In the present invention, a new evaluation cross section is added at the center between two adjacent evaluation cross sections to prevent the number of evaluation cross sections from increasing more than necessary.

本発明においては、第1指令点及び第2指令点の間に一の評価断面を設定し、第1指令点から閾値数離隔した位置に配された第3指令点を指定する。そして第3指令点及び該第3指令点の隣に位置する第4指令点の間に他の評価断面を設定する。評価断面の数が過小になること及び過大になることを防止し、指令点に対する位置修正の精度の低下及び計算量の増大を防止する。   In the present invention, one evaluation section is set between the first command point and the second command point, and the third command point arranged at a position separated from the first command point by a threshold number is designated. Then, another evaluation cross section is set between the third command point and the fourth command point located next to the third command point. It is possible to prevent the number of evaluation sections from becoming too small or too large, and to prevent a decrease in accuracy of position correction with respect to the command point and an increase in calculation amount.

本発明においては、第1指令点及び第2指令点の間の中央に一の評価断面を設定し、第3指令点及び第4指令点の間の中央に他の評価断面を設定し、適切な数の評価断面の設定を実現する。   In the present invention, one evaluation section is set at the center between the first command point and the second command point, and another evaluation section is set at the center between the third command point and the fourth command point. A large number of evaluation sections can be set.

本発明に係る制御装置、工作機械、制御方法及び制御プログラムにあっては、加工経路に交差する評価断面を設定し、評価断面と加工経路の交点の位置を修正し、修正した交点の位置に基づいて、前記加工経路に交差する方向における指令点の位置を修正する。加工経路に交差する方向においても、指令点の位置を修正することができるので、滑らかな曲面をワークに形成することができる。また隣り合う二つの評価断面間に存在する指令点の数が閾値以下になるので、指令点の数に対する評価断面の数が過小になり、指令点に対する位置修正の精度が低下することを防止する。   In the control device, machine tool, control method, and control program according to the present invention, an evaluation cross section that intersects the machining path is set, the position of the intersection of the evaluation cross section and the machining path is corrected, and the corrected intersection position is set. Based on this, the position of the command point in the direction intersecting the machining path is corrected. Even in the direction intersecting the machining path, the position of the command point can be corrected, so that a smooth curved surface can be formed on the workpiece. In addition, since the number of command points existing between two adjacent evaluation cross sections is equal to or less than the threshold value, the number of evaluation cross sections relative to the number of command points becomes too small, and the accuracy of position correction with respect to the command points is prevented from being lowered. .

実施の形態1に係る工作機械を略示する斜視図である。1 is a perspective view schematically showing a machine tool according to a first embodiment. 制御装置の構成を略示するブロック図である。It is a block diagram which briefly shows the structure of a control apparatus. ワークに対する加工経路及び評価断面を略示する平面図である。It is a top view which shows schematically the processing path with respect to a workpiece | work, and evaluation cross section. ワークに対する評価断面を略示する斜視図である。It is a perspective view which briefly shows the evaluation section to a work. 制御装置による加工経路設定処理を説明するフローチャートである。It is a flowchart explaining the process route setting process by a control apparatus. 評価断面追加処理を説明するフローチャートである。It is a flowchart explaining an evaluation cross section addition process. 指令点と、評価断面及び加工経路の交点とを略示する模式図である。It is a schematic diagram which shows a command point and the intersection of an evaluation cross section and a process path | route schematically. 交点テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of an intersection table. 評価断面上における交点位置の第1の修正方法を説明する説明図である。It is explanatory drawing explaining the 1st correction method of the intersection position on an evaluation cross section. 評価断面上における交点位置の第2の修正方法を説明する説明図である。It is explanatory drawing explaining the 2nd correction method of the intersection position on an evaluation cross section. 指令点の修正方法を説明する説明図である。It is explanatory drawing explaining the correction method of a command point. 指令点位置修正処理を説明するフローチャートである。It is a flowchart explaining a command point position correction process. 実施の形態2におけるワークに対する加工経路及び評価断面を略示する平面図である。FIG. 10 is a plan view schematically showing a machining path and an evaluation cross section for a workpiece in the second embodiment. 制御装置による加工経路設定処理を説明するフローチャートである。It is a flowchart explaining the process route setting process by a control apparatus. 最外周/最内周演算処理を説明するフローチャートである。It is a flowchart explaining an outermost periphery / innermost periphery calculation process. 渦巻き状に外周側から内周側に移動する主軸の加工経路を略示する模式図である。FIG. 5 is a schematic view schematically showing a machining path of a main shaft moving in a spiral shape from the outer peripheral side to the inner peripheral side. 渦巻き状に内周側から外周側に移動する主軸の加工経路を略示する模式図である。FIG. 5 is a schematic view schematically showing a machining path of a main shaft moving in a spiral shape from the inner peripheral side to the outer peripheral side. 評価断面設定処理を説明するフローチャートである。It is a flowchart explaining an evaluation cross-section setting process. 評価断面設定処理を説明する模式図である。It is a schematic diagram explaining an evaluation cross-section setting process. 指令点と、評価断面及び加工経路の交点とを略示する模式図である。It is a schematic diagram which shows a command point and the intersection of an evaluation cross section and a process path | route schematically. 実施の形態3における制御装置による加工経路設定処理を説明するフローチャートである。10 is a flowchart for explaining machining path setting processing by the control device in the third embodiment. 第2評価断面設定処理を説明するフローチャートである。It is a flowchart explaining a 2nd evaluation cross-section setting process. 第2評価断面設定処理を説明する模式図である。It is a schematic diagram explaining a 2nd evaluation cross-section setting process. 変更例におけるワークに対する加工経路及び評価断面を略示する平面図である。It is a top view which shows schematically the processing path with respect to the workpiece | work in the example of a change, and an evaluation cross section.

(実施の形態1)
以下本発明を実施の形態1に係る工作機械を示す図面に基づいて説明する。以下の説明では図において矢印で示す上下、左右及び前後を使用する。図1は工作機械を略示する斜視図である。
(Embodiment 1)
Hereinafter, the present invention will be described with reference to the drawings showing a machine tool according to a first embodiment. In the following description, up and down, left and right, and front and rear indicated by arrows in the figure are used. FIG. 1 is a perspective view schematically showing a machine tool.

工作機械100は前後に延びた矩形の基台1を備える。基台1上部の前側にワークを保持するワーク保持部3が設けてある。ワーク保持部3は左右方向を軸方向としたA軸及び上下方向を軸方向としたC軸回りに回転可能である。   The machine tool 100 includes a rectangular base 1 extending forward and backward. A work holding unit 3 that holds a work is provided on the front side of the upper portion of the base 1. The work holding unit 3 can rotate around the A axis with the left-right direction as the axial direction and the C axis with the up-down direction as the axial direction.

基台1上部の後側に後述するコラム4を支持する為の支持台2が設けてある。支持台2上部に、移動板16を前後方向に移動するY軸方向移動機構10が設けてある。Y軸方向移動機構10は、前後に延びた二つのレール11と、Y軸螺子軸12と、Y軸モータ13と、ベアリング14とを備える。   A support base 2 for supporting a column 4 described later is provided on the rear side of the upper part of the base 1. A Y-axis direction moving mechanism 10 for moving the moving plate 16 in the front-rear direction is provided on the support base 2. The Y-axis direction moving mechanism 10 includes two rails 11 extending in the front-rear direction, a Y-axis screw shaft 12, a Y-axis motor 13, and a bearing 14.

レール11は支持台2上部の左右夫々に設けてある。Y軸螺子軸12は前後に延び、二つのレール11の間に設けてある。Y軸螺子軸12の前端部及び中途部夫々にベアリング14が設けてある。なお中途部に設けたベアリングの図示は省略する。Y軸モータ13はY軸螺子軸12の後端部に連結している。   The rails 11 are provided on the left and right of the upper part of the support base 2, respectively. The Y-axis screw shaft 12 extends in the front-rear direction and is provided between the two rails 11. A bearing 14 is provided at each of the front end portion and the middle portion of the Y-axis screw shaft 12. In addition, illustration of the bearing provided in the middle part is abbreviate | omitted. The Y-axis motor 13 is connected to the rear end portion of the Y-axis screw shaft 12.

Y軸螺子軸12には転動体(図示略)を介してナット(図示略)が螺合している。転動体は例えばボールである。各レール11に複数の摺動子15が摺動可能に設けてある。ナット及び摺動子15の上部に移動板16が連結している。移動板16は水平方向に延びる。Y軸モータ13の回転によってY軸螺子軸12は回転し、ナットは前後方向に移動し、移動板16は前後方向に移動する。   A nut (not shown) is screwed onto the Y-axis screw shaft 12 via a rolling element (not shown). The rolling element is, for example, a ball. A plurality of sliders 15 are slidably provided on each rail 11. A moving plate 16 is connected to the upper part of the nut and the slider 15. The moving plate 16 extends in the horizontal direction. As the Y-axis motor 13 rotates, the Y-axis screw shaft 12 rotates, the nut moves in the front-rear direction, and the moving plate 16 moves in the front-rear direction.

移動板16上面にコラム4を左右方向に移動するX軸方向移動機構20が設けてある。X軸方向移動機構20は、左右に延びた二つのレール21と、X軸螺子軸22と、X軸モータ23(図2参照)と、ベアリング24とを備える。   An X-axis direction moving mechanism 20 that moves the column 4 in the left-right direction is provided on the upper surface of the moving plate 16. The X-axis direction moving mechanism 20 includes two rails 21 extending left and right, an X-axis screw shaft 22, an X-axis motor 23 (see FIG. 2), and a bearing 24.

レール21は移動板16上面の前後夫々に設けてある。X軸螺子軸22は左右に延び、二つのレール21の間に設けてある。X軸螺子軸22の左端部及び中途部夫々にベアリング24が設けてある。なおX軸螺子軸22の中途部に設けたベアリングの記載は省略する。X軸モータ23はX軸螺子軸22の後端部に連結している。   The rails 21 are provided at the front and rear sides of the upper surface of the movable plate 16. The X-axis screw shaft 22 extends left and right and is provided between the two rails 21. A bearing 24 is provided at each of the left end portion and midway portion of the X-axis screw shaft 22. In addition, description of the bearing provided in the middle part of the X-axis screw shaft 22 is abbreviate | omitted. The X-axis motor 23 is connected to the rear end portion of the X-axis screw shaft 22.

X軸螺子軸22には転動体(図示略)を介してナット(図示略)が螺合している。X軸螺子軸22にグリスが塗布してある。各レール21に複数の摺動子26が摺動可能に設けてある。ナット及び摺動子26の上部にコラム4が連結している。コラム4は柱状をなす。X軸モータ23の回転によってX軸螺子軸22は回転し、ナットは左右方向に移動し、コラム4は左右方向に移動する。   A nut (not shown) is screwed onto the X-axis screw shaft 22 via a rolling element (not shown). Grease is applied to the X-axis screw shaft 22. A plurality of sliders 26 are slidably provided on each rail 21. The column 4 is connected to the upper part of the nut and the slider 26. Column 4 is columnar. As the X-axis motor 23 rotates, the X-axis screw shaft 22 rotates, the nut moves in the left-right direction, and the column 4 moves in the left-right direction.

コラム4の前面に主軸ヘッド5を上下方向に移動するZ軸方向移動機構30が設けてある。Z軸方向移動機構30は、上下に延びた二つのレール31と、Z軸螺子軸32と、Z軸モータ33と、ベアリング34とを備える。   A Z-axis direction moving mechanism 30 for moving the spindle head 5 in the vertical direction is provided on the front surface of the column 4. The Z-axis direction moving mechanism 30 includes two rails 31 extending vertically, a Z-axis screw shaft 32, a Z-axis motor 33, and a bearing 34.

レール31はコラム4前面の左右夫々に設けてある。Z軸螺子軸32は上下に延び、二つのレール31の間に設けてある。Z軸螺子軸32の下端部及び中途部夫々にベアリング34が設けてある。なお中途部に設けたベアリングの図示は省略する。Z軸モータ33はZ軸螺子軸32の上端部に連結している。   The rails 31 are provided on the left and right sides of the front surface of the column 4, respectively. The Z-axis screw shaft 32 extends vertically and is provided between the two rails 31. A bearing 34 is provided at each of a lower end portion and a midway portion of the Z-axis screw shaft 32. In addition, illustration of the bearing provided in the middle part is abbreviate | omitted. The Z-axis motor 33 is connected to the upper end portion of the Z-axis screw shaft 32.

Z軸螺子軸32には転動体(図示略)を介してナット(図示略)が螺合している。Z軸螺子軸32にグリスが塗布してある。各レール31に複数の摺動子35が摺動可能に設けてある。ナット及び摺動子35の前部に主軸ヘッド5が連結している。Z軸モータ33の回転によってZ軸螺子軸32は回転し、ナットは上下方向に移動し、主軸ヘッド5は上下方向に移動する。Z軸モータ33、Z軸螺子軸32、ナット及び転動体はボールねじ機構を構成する。   A nut (not shown) is screwed onto the Z-axis screw shaft 32 via a rolling element (not shown). Grease is applied to the Z-axis screw shaft 32. A plurality of sliders 35 are slidably provided on each rail 31. The spindle head 5 is connected to the front part of the nut and the slider 35. The Z-axis screw shaft 32 is rotated by the rotation of the Z-axis motor 33, the nut moves in the vertical direction, and the spindle head 5 moves in the vertical direction. The Z-axis motor 33, the Z-axis screw shaft 32, the nut and the rolling element constitute a ball screw mechanism.

上下に延びた主軸5aが主軸ヘッド5内に設けてある。主軸5aは軸回りに回転する。主軸ヘッド5の上端部に主軸モータ6が設けてある。主軸5aの下端部は工具を装着する。主軸モータ6の回転によって主軸5aが回転し、工具が回転する。回転した工具は、ワーク保持部3に保持したワークを加工する。   A main shaft 5 a extending vertically is provided in the main shaft head 5. The main shaft 5a rotates around the axis. A spindle motor 6 is provided at the upper end of the spindle head 5. A tool is attached to the lower end of the main shaft 5a. The spindle 5a is rotated by the rotation of the spindle motor 6, and the tool is rotated. The rotated tool processes the workpiece held in the workpiece holding unit 3.

工作機械100は工具を交換する工具交換装置(図示略)を備える。工具交換装置は工具マガジン(図示略)に収容した工具と主軸5aに装着した工具を交換する。   The machine tool 100 includes a tool changer (not shown) that changes tools. The tool changer exchanges a tool housed in a tool magazine (not shown) and a tool mounted on the spindle 5a.

図2は制御装置50の構成を略示するブロック図である。制御装置50は、CPU51、記憶部52、RAM53及び入出力インタフェース54を備える。記憶部52は書き換え可能なメモリであり、例えばEPROM、EEPROM等である。記憶部52は後述する交点テーブル、経路番号i、指令点Pk 、交点Si d、kの最終番号、変数c、変数m、第1基準点Om 、及び第2基準点Lm 等を記憶する(c、d、i、k、mは自然数)。 FIG. 2 is a block diagram schematically showing the configuration of the control device 50. The control device 50 includes a CPU 51, a storage unit 52, a RAM 53, and an input / output interface 54. The storage unit 52 is a rewritable memory, such as an EPROM or an EEPROM. The storage unit 52 stores an intersection table, a path number i, a command point P k , an intersection point S i d , a final number of k, a variable c, a variable m, a first reference point O m , a second reference point L m , and the like which will be described later. Store (c, d, i, k, m are natural numbers).

作業者が操作部7を操作した場合、操作部7から入出力インタフェース54に信号が入力する。操作部7は例えばキーボード、ボタン、タッチパネル等である。入出力インタフェース54は表示部8に信号を出力する。表示部8は文字、図形、記号等を表示する。表示部8は例えば液晶表示パネルである。   When the operator operates the operation unit 7, a signal is input from the operation unit 7 to the input / output interface 54. The operation unit 7 is a keyboard, a button, a touch panel, or the like, for example. The input / output interface 54 outputs a signal to the display unit 8. The display unit 8 displays characters, figures, symbols, and the like. The display unit 8 is, for example, a liquid crystal display panel.

制御装置50は、X軸モータ23に対応したX軸制御回路55、サーボアンプ55a及び微分器23bを備える。X軸モータ23はエンコーダ23aを備える。X軸制御回路55はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ55aに出力する。サーボアンプ55aは前記命令を受け、X軸モータ23に駆動電流を出力する。   The control device 50 includes an X-axis control circuit 55 corresponding to the X-axis motor 23, a servo amplifier 55a, and a differentiator 23b. The X-axis motor 23 includes an encoder 23a. The X-axis control circuit 55 outputs a command indicating the amount of current to the servo amplifier 55a based on a command from the CPU 51. The servo amplifier 55a receives the command and outputs a drive current to the X-axis motor 23.

エンコーダ23aはX軸制御回路55に位置フィードバック信号を出力する。X軸制御回路55は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。   The encoder 23 a outputs a position feedback signal to the X-axis control circuit 55. The X-axis control circuit 55 performs position feedback control based on the position feedback signal.

エンコーダ23aは微分器23bに位置フィードバック信号を出力し、微分器23bは位置フィードバック信号を速度フィードバック信号に変換して、X軸制御回路55に出力する。X軸制御回路55は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。   The encoder 23a outputs a position feedback signal to the differentiator 23b, and the differentiator 23b converts the position feedback signal into a speed feedback signal and outputs it to the X-axis control circuit 55. The X-axis control circuit 55 performs speed feedback control based on the speed feedback signal.

サーボアンプ55aが出力した駆動電流の値を電流検出器55bが検出する。電流検出器55bは駆動電流の値をX軸制御回路55にフィードバックする。X軸制御回路55は駆動電流の値に基づいて、電流制御を実行する。   The current detector 55b detects the value of the drive current output from the servo amplifier 55a. The current detector 55 b feeds back the value of the drive current to the X axis control circuit 55. The X axis control circuit 55 executes current control based on the value of the drive current.

制御装置50は、Y軸モータ13に対応したY軸制御回路56、サーボアンプ56a及び微分器13bを備える。Y軸モータ13はエンコーダ13aを備える。Y軸制御回路56はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ56aに出力する。サーボアンプ56aは前記命令を受け、Y軸モータ13に駆動電流を出力する。   The control device 50 includes a Y-axis control circuit 56 corresponding to the Y-axis motor 13, a servo amplifier 56a, and a differentiator 13b. The Y-axis motor 13 includes an encoder 13a. Based on the command from the CPU 51, the Y-axis control circuit 56 outputs a command indicating the current amount to the servo amplifier 56a. The servo amplifier 56 a receives the command and outputs a drive current to the Y-axis motor 13.

エンコーダ13aはY軸制御回路56に位置フィードバック信号を出力する。Y軸制御回路56は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。   The encoder 13 a outputs a position feedback signal to the Y-axis control circuit 56. The Y-axis control circuit 56 performs position feedback control based on the position feedback signal.

エンコーダ13aは微分器13bに位置フィードバック信号を出力し、微分器13bは位置フィードバック信号を速度フィードバック信号に変換して、Y軸制御回路56に出力する。Y軸制御回路56は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。   The encoder 13a outputs a position feedback signal to the differentiator 13b, and the differentiator 13b converts the position feedback signal into a speed feedback signal and outputs it to the Y-axis control circuit 56. The Y-axis control circuit 56 executes speed feedback control based on the speed feedback signal.

サーボアンプ56aが出力した駆動電流の値を電流検出器56bが検出する。電流検出器56bは駆動電流の値をY軸制御回路56にフィードバックする。Y軸制御回路56は駆動電流の値に基づいて、電流制御を実行する。   The current detector 56b detects the value of the drive current output from the servo amplifier 56a. The current detector 56 b feeds back the drive current value to the Y-axis control circuit 56. The Y axis control circuit 56 executes current control based on the value of the drive current.

制御装置50は、Z軸モータ33に対応したZ軸制御回路57、サーボアンプ57a及び微分器33bを備える。Z軸モータ33はエンコーダ33aを備える。Z軸制御回路57はCPU51からの指令に基づいて、電流量を示す命令をサーボアンプ57aに出力する。サーボアンプ57aは前記命令を受け、Z軸モータ33に駆動電流を出力する。   The control device 50 includes a Z-axis control circuit 57 corresponding to the Z-axis motor 33, a servo amplifier 57a, and a differentiator 33b. The Z-axis motor 33 includes an encoder 33a. Based on the command from the CPU 51, the Z-axis control circuit 57 outputs a command indicating the amount of current to the servo amplifier 57a. The servo amplifier 57a receives the command and outputs a drive current to the Z-axis motor 33.

エンコーダ33aはZ軸制御回路57に位置フィードバック信号を出力する。Z軸制御回路57は位置フィードバック信号に基づいて、位置のフィードバック制御を実行する。   The encoder 33 a outputs a position feedback signal to the Z-axis control circuit 57. The Z-axis control circuit 57 performs position feedback control based on the position feedback signal.

エンコーダ33aは微分器33bに位置フィードバック信号を出力し、微分器33bは位置フィードバック信号を速度フィードバック信号に変換して、Z軸制御回路57に出力する。Z軸制御回路57は、速度フィードバック信号に基づいて、速度のフィードバック制御を実行する。   The encoder 33a outputs a position feedback signal to the differentiator 33b, and the differentiator 33b converts the position feedback signal into a speed feedback signal and outputs it to the Z-axis control circuit 57. The Z-axis control circuit 57 performs speed feedback control based on the speed feedback signal.

サーボアンプ57aが出力した駆動電流の値を電流検出器57bが検出する。電流検出器57bは駆動電流の値をZ軸制御回路57にフィードバックする。Z軸制御回路57は駆動電流の値に基づいて、電流制御を実行する。   The current detector 57b detects the value of the drive current output from the servo amplifier 57a. The current detector 57 b feeds back the value of the drive current to the Z-axis control circuit 57. The Z-axis control circuit 57 executes current control based on the drive current value.

制御装置50は主軸モータ6に対しても、X〜Z軸モータ23、13、33と同様なフィードバック制御を実行する。   The control device 50 also performs feedback control similar to that of the X to Z axis motors 23, 13, and 33 with respect to the spindle motor 6.

工作機械100はマガジンモータ60と、マガジン制御回路58とを備える。マガジンモータ60の回転によって工具マガジンが駆動する。マガジン制御回路58はマガジンモータ60の回転を制御する。   The machine tool 100 includes a magazine motor 60 and a magazine control circuit 58. The tool magazine is driven by the rotation of the magazine motor 60. The magazine control circuit 58 controls the rotation of the magazine motor 60.

記憶部52はワークを加工する加工プログラムを格納する。加工プログラムは、主軸5aの位置を指示する複数の指令点Pk を有する。kは加工プログラムを構成する命令の順番を示す。主軸5aは複数の指令点Pk を順次移動し、主軸5aに装着した工具はワークを加工する。 The storage unit 52 stores a machining program for machining a workpiece. The machining program has a plurality of command points P k that indicate the position of the spindle 5a. k indicates the order of instructions constituting the machining program. The spindle 5a sequentially moves a plurality of command points Pk , and the tool mounted on the spindle 5a processes the workpiece.

記憶部52は指令点Pk を予め記憶している。制御装置50は複数の指令点Pk に基づいて、主軸5aが移動する経路(加工経路)を設定する。制御装置50は加工経路に基づいて、主軸5aの移動を実行する。 The storage unit 52 stores a command point P k in advance. The control device 50 sets a path (machining path) along which the spindle 5a moves based on the plurality of command points Pk . The control device 50 executes the movement of the main shaft 5a based on the machining path.

加工経路の設定方法について説明する。図3はワークに対する加工経路及び評価断面を略示する平面図、図4はワークに対する評価断面を略示する斜視図である。なお図中X方向は左右方向を示し、Y方向は前後方向を示し、Z方向は上下方向を示す。また図3及び図4におけるワークの形状は加工後の形状を示し、点線は評価断面Dd を示している。図3の矢印は加工経路を示す。 A processing path setting method will be described. FIG. 3 is a plan view schematically showing a machining path and an evaluation cross section for the work, and FIG. 4 is a perspective view schematically showing an evaluation cross section for the work. In the figure, the X direction indicates the left-right direction, the Y direction indicates the front-rear direction, and the Z direction indicates the up-down direction. Further, the shape of the workpiece in FIGS. 3 and 4 indicates the shape after processing, and the dotted line indicates the evaluation section D d . The arrows in FIG. 3 indicate the machining path.

制御装置50は、ワークに対して評価断面Dd (dは断面番号を示し、自然数である)を設定する。図3に示すように、主軸5aはX方向に沿って大部分が往復移動する場合、加工経路はX方向に沿った経路となる。図3に示す如く、制御装置50は加工経路に略直交する方向に沿った評価断面Dd を複数設定する。複数の評価断面Dd はX方向に並ぶ。尚、作業者は、加工経路がX方向であることを予め指示する。 The control device 50 sets an evaluation section D d (d indicates a section number and is a natural number) for the workpiece. As shown in FIG. 3, when the main shaft 5a largely reciprocates along the X direction, the machining path is a path along the X direction. As shown in FIG. 3, the control device 50 sets a plurality of evaluation sections D d along a direction substantially orthogonal to the machining path. The plurality of evaluation sections D d are arranged in the X direction. The operator instructs in advance that the machining path is in the X direction.

制御装置50は加工経路設定処理を実行する。図5は、制御装置50による加工経路設定処理を説明するフローチャートである。   The control device 50 executes a machining path setting process. FIG. 5 is a flowchart for explaining the machining path setting process by the control device 50.

制御装置50のCPU51は、開始信号の入力があるまで待機する(ステップS1:NO)。例えば、ユーザは操作部7を操作して、開始信号を制御装置に入力する。   The CPU 51 of the control device 50 stands by until a start signal is input (step S1: NO). For example, the user operates the operation unit 7 to input a start signal to the control device.

開始信号の入力があった場合(ステップS1:YES)、CPU51は、加工経路に複数の評価断面Dd を設定する(ステップS2)。CPU51は、複数の評価断面Dd を、等間隔を空けて設定する。尚、評価断面Dd の設定開始位置、終了位置は予めユーザが設定してもよいし、加工経路から自動的に設定してもよい。 If there is an input of the start signal (Step S1: YES), CPU 51 sets a plurality of evaluation section D d to the machining path (Step S2). The CPU 51 sets a plurality of evaluation sections D d at equal intervals. The setting start position and end position of the evaluation section D d may be set in advance by the user, or may be automatically set from the machining path.

CPU51は、評価断面追加処理を実行し(ステップS3)、指令点位置修正処理を実行し(ステップS4)、加工経路設定処理を終了する。評価断面追加処理及び指令点位置修正処理の詳細は後述する。   The CPU 51 executes an evaluation cross section addition process (step S3), executes a command point position correction process (step S4), and ends the machining path setting process. Details of the evaluation section addition processing and the command point position correction processing will be described later.

評価断面追加処理について説明する。図6は、評価断面追加処理を説明するフローチャート、図7は、指令点Pk と、評価断面Dd 及び加工経路の交点とを略示する模式図である。●は指令点、○は評価断面Dd と加工経路の交点、矢印は加工経路、点線は評価断面Dd を夫々示している。 The evaluation section addition process will be described. FIG. 6 is a flowchart for explaining the evaluation cross section addition process, and FIG. 7 is a schematic diagram schematically showing the command point P k , the intersection of the evaluation cross section D d and the machining path. ● The command point, ○ intersection evaluation section D d and the processing path, arrow machining path, a dotted line indicates respectively the evaluation section D d.

CPU51は断面番号dに1を設定する(ステップS11)。CPU51は、評価断面Dd −Dd+1 の間の指令点数Md を演算する(ステップS12)。 The CPU 51 sets 1 to the cross section number d (step S11). The CPU 51 calculates the command point number M d between the evaluation sections D d -D d + 1 (step S12).

CPU51は、指令点数Md が閾値Tを超過しているか否かを判定する(ステップS13)。指令点数Md が閾値Tを超過していない場合(ステップS13:NO)、CPU51は、断面番号dを一つインクリメントし(ステップS18)、断面番号dが最終番号であるか否かを判定する(ステップS19)。 The CPU 51 determines whether or not the command score M d exceeds the threshold value T (step S13). When the command point number M d does not exceed the threshold T (step S13: NO), the CPU 51 increments the cross-section number d by one (step S18), and determines whether the cross-section number d is the final number. (Step S19).

断面番号dが最終番号でない場合(ステップS19:NO)、CPU51はステップS12に処理を戻す。断面番号dが最終番号である場合(ステップS19:YES)、CPU51は、断面番号dを振り直し(ステップS20)、加工経路設定処理に戻る(図5参照)。   When the section number d is not the final number (step S19: NO), the CPU 51 returns the process to step S12. When the section number d is the final number (step S19: YES), the CPU 51 reassigns the section number d (step S20) and returns to the processing path setting process (see FIG. 5).

指令点数Md が閾値Tを超過している場合(ステップS13:YES)、CPU51は、評価断面Dd −Dd+1 の間の中央に新たな評価断面Dnew を追加する(ステップS14、図7参照)。 When the command score M d exceeds the threshold value T (step S13: YES), the CPU 51 adds a new evaluation section D new at the center between the evaluation sections D d -D d + 1 (step S14, (See FIG. 7).

CPU51は、評価断面Dd −Dd+1 の間において、隣り合う評価断面間それぞれの指令点数を演算する(ステップS15)。例えば、評価断面Dd −Dd+1 の間に、評価断面Dnew を追加した場合、評価断面Dd −Dnew 間の指令点数と、評価断面Dnew −Dd+1 間の指令点数とを演算する。 The CPU 51 calculates the number of command points between adjacent evaluation sections between the evaluation sections D d -D d + 1 (step S15). For example, when the evaluation cross section D new is added between the evaluation cross sections D d -D d + 1 , the number of command points between the evaluation cross sections D d -D new and the number of command points between the evaluation cross sections D new -D d + 1 And

CPU51は、各指令点数について、閾値Tを超過した指令点数が存在するのか否かを判定する(ステップS16)。閾値Tを超過した指令点数が存在する場合(ステップS16:YES)、CPU51は、閾値Tを超過した数の指令点Pk を挟む二つの評価断面を選択する(ステップS17)。CPU51は、ステップS14に処理を戻し、選択した二つの評価断面の中央に新たな評価断面を設定する。 The CPU 51 determines whether or not there is a command score that exceeds the threshold T for each command score (step S16). When there are command points that exceed the threshold T (step S16: YES), the CPU 51 selects two evaluation sections that sandwich the command points P k that exceed the threshold T (step S17). The CPU 51 returns the process to step S14, and sets a new evaluation section at the center of the two selected evaluation sections.

例えば、評価断面Dd −Dnew 間の指令点数が閾値Tを超過している場合、CPU51は、評価断面Dd −Dnew 間に新たな評価断面を更に追加する。 For example, when the number of command points between the evaluation sections D d and D new exceeds the threshold T, the CPU 51 further adds a new evaluation section between the evaluation sections D d and D new .

閾値Tを超過した指令点数が存在しない場合(ステップS16:NO)、CPU51は、断面番号dを一つインクリメントし(ステップS18)、断面番号dが最終番号であるか否かを判定する(ステップS19)。   If there is no command point exceeding the threshold T (step S16: NO), the CPU 51 increments the cross-section number d by one (step S18), and determines whether the cross-section number d is the final number (step S18). S19).

断面番号dが最終番号でない場合(ステップS19:NO)、CPU51はステップS12に処理を戻す。断面番号dが最終番号である場合(ステップS19:YES)、CPU51は、断面番号dを振り直し(ステップS20)、加工経路設定処理に戻る(図5参照)。   When the section number d is not the final number (step S19: NO), the CPU 51 returns the process to step S12. When the section number d is the final number (step S19: YES), the CPU 51 reassigns the section number d (step S20) and returns to the processing path setting process (see FIG. 5).

ステップS20について説明する。図7に示すように、評価断面Dd −Dd+1 の間に評価断面Dnew が追加されている場合に、断面番号dを振り直すと、評価断面Dnew は、評価断面d+1 になり、評価断面d+1 は評価断面d+2 になる(図7の括弧書き参照)。 Step S20 will be described. As shown in FIG. 7, when the evaluation section D new is added between the evaluation sections D d -D d + 1 and the section number d is reassigned, the evaluation section D new becomes the evaluation section d + 1. Thus, the evaluation cross section d + 1 becomes the evaluation cross section d + 2 (see parentheses in FIG. 7).

なおステップS14において、隣り合う二つの評価断面の間の中央に、新たな評価断面を追加しているが、二つの評価断面の間の中央以外の位置に新たな評価断面を追加してもよい。   In step S14, a new evaluation section is added at the center between two adjacent evaluation sections. However, a new evaluation section may be added at a position other than the center between the two evaluation sections. .

指令点位置修正処理について説明する。図7において、「i」(iは自然数)は主軸5aのX方向移動における経路番号を示す。図7に示すように、例えば経路番号1(i=1)の経路は、左から右に移動する経路を示し、経路番号2(i=2)の経路は経路番号1の経路を右端で折り返して、右から左に移動する経路を示す。経路番号3以下も同様である。主軸5aは経路番号順に移動する。   The command point position correction process will be described. In FIG. 7, “i” (i is a natural number) indicates a path number in the movement of the main shaft 5a in the X direction. As shown in FIG. 7, for example, a route with route number 1 (i = 1) indicates a route that moves from left to right, and a route with route number 2 (i = 2) wraps the route with route number 1 at the right end. The route from right to left is shown. The same applies to route numbers 3 and below. The main shaft 5a moves in the order of route numbers.

図8は交点テーブルの一例を示す概念図である。図8に示すように、制御装置50は、各評価断面Dd において、移動経路Pk −Pk+1 との交点Si dを演算し、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて、交点テーブルに記憶する。 FIG. 8 is a conceptual diagram showing an example of the intersection table. As shown in FIG. 8, the control device 50 calculates an intersection S i d with the movement path P k −P k + 1 in each evaluation section D d , and calculates the path number i, the intersection coordinates S i d, and the movement path. P k −P k + 1 is associated and stored in the intersection table.

制御装置50は、評価断面Dd 上における交点位置を例えば第1の修正方法で修正する。図9は評価断面Dd 上における交点位置の第1の修正方法を説明する説明図である。制御装置50は、例えばZ方向の座標を漸次変更するように修正する。修正の対象となる交点座標Si dに対し、前後各二点の交点座標si-2 d、si-1 d、si+1 d、si+2 dを使用して修正点ti dを決定する。 Controller 50 corrects the intersection position on the evaluation section D d for example, the first correction method. Figure 9 is an explanatory diagram for explaining a first method of correcting the intersection position on the evaluation section D d. For example, the controller 50 corrects the coordinates in the Z direction so as to gradually change. Correction point t using the intersection coordinates s i-2 d , s i-1 d , s i + 1 d , s i + 2 d of the two points before and after the intersection coordinate S i d to be corrected i d is determined.

四つの交点座標si-2 d、si-1 d、si+1 d、si+2 dの各Z座標値をzi-2 、zi-1 、zi+1 、zi+2 とし、修正点ti dのZ座標値をzi′とし、Z座標値の差分をd1 =zi-2 −zi-1、d2 =zi-1 −zi′、d3 =zi ′−zi+1、d4 =zi+1 −zi+2とし、Z座標値の二回差分d12′、d23′、d34′(Z座標値の差分d1 、d2 、d3 、d4 の差分)が線形に変化するようなzi′を演算する。 Each Z coordinate value of the four intersection coordinates s i-2 d , s i-1 d , s i + 1 d , s i + 2 d is expressed as z i-2 , z i-1 , z i + 1 , z i. +2 and the Z coordinate value of the correction point t i d is z i ′, and the difference between the Z coordinate values is d 1 = z i−2 −z i−1 , d 2 = z i−1 −z i ′, d 3 = z i ′ −z i + 1 , d 4 = z i + 1 −z i + 2, and Z coordinate value double difference d 12 ′, d 23 ′, d 34 ′ (Z coordinate value difference) z i ′ is calculated such that the difference between d 1 , d 2 , d 3 , and d 4 ) changes linearly.

Z座標値の二回差分d12′、d23′、d34′は次式で求まる。
d12′=d2 −d1 =(zi-1 −zi ′)−(zi-2 −zi-1)=2zi-1 −zi ′−zi-2 ・・・(1)
d23′=d3 −d2 =(zi ′−zi+1)−(zi-1 −zi ′)=2zi ′−zi+1 −zi-1 ・・・(2)
d34′=d4 −d3 =(zi+1 −zi+2 )−(zi ′−zi+1 )=2zi+1 −zi+2 −zi ・・・(3)
The two-time differences d 12 ′, d 23 ′, and d 34 ′ of the Z coordinate value are obtained by the following equations.
d 12 ′ = d 2 −d 1 = (z i−1 −z i ′) − (z i−2 −z i−1 ) = 2 z i−1 −z i ′ −z i−2. 1)
d 23 ′ = d 3 −d 2 = (z i ′ −z i + 1 ) − (z i−1 −z i ′) = 2 z i ′ −z i + 1 −z i−1 (2) )
d 34 ′ = d 4 −d 3 = (z i + 1 −z i + 2 ) − (z i ′ −z i + 1 ) = 2 z i + 1 −z i + 2 −z i ... (3)

これらが線形に変化することから、
d23′=(d12′+d34′)/2 ・・・(4)
を満たす。
Since these change linearly,
d 23 ′ = (d 12 ′ + d 34 ′) / 2 ... (4)
Meet.

式(1)〜(4)に基づき、zi ′を解くと、
zi ′=(−zi-2 +4zi-1 +4zi+1 −zi+2 )/6
となる。
Solving z i ′ based on the equations (1) to (4),
z i ′ = (− z i−2 + 4z i−1 + 4z i + 1 −z i + 2 ) / 6
It becomes.

評価断面Dd 上における全ての交点Si dに対して上記修正を行う。なおZ座標値が他の交点のZ座標値と比較して、大きく離れた交点のみを修正してもよい。 Performing the modification for all intersections S i d on evaluation section D d. Note that it is also possible to correct only intersections whose Z coordinate values are far apart compared to the Z coordinate values of other intersections.

制御装置50は、評価断面Dd 上における交点位置を例えば第2の修正方法で修正する。図10は評価断面上における交点位置の第2の修正方法を説明する説明図である。図10において、uはXY座標に相当し、vはZ座標に相当する。制御装置50は、例えば修正の対象となる交点Si dの周囲にある他の複数の交点を使用して、滑らかな曲線(スプライン曲線、ベジェ曲線、NURBS曲線等)を作成し、該曲線上に修正の対象となる交点Si dを投影する。 Controller 50 corrects the intersection position on the evaluation section D d for example in the second correction method. FIG. 10 is an explanatory diagram for explaining a second correction method of the intersection position on the evaluation cross section. In FIG. 10, u corresponds to XY coordinates, and v corresponds to Z coordinates. The control device 50 creates a smooth curve (spline curve, Bezier curve, NURBS curve, etc.) using, for example, a plurality of other intersections around the intersection S i d to be corrected, Project the intersection S i d to be corrected.

滑らかな曲線として四つの交点si-2 d、si-1 d、si+1 d、si+2 dを使用する場合、評価断面Dd (uv平面)上における区間si-2 d〜si-1 d、区間si-1 d〜si+1 d、区間si+1 d〜si+2 dの夫々の曲線式v1(u)、v2(u)、v3(u)は、以下の式となる。
j(u)=aj (u-uj )3 +bj (u-uj )2 +cj (u-uj )+dj
(j=1、2、3)
When the four intersections s i-2 d , s i-1 d , s i + 1 d , s i + 2 d are used as smooth curves, the section s i-2 on the evaluation section D d (uv plane) d to s i-1 d , sections s i-1 d to s i + 1 d , sections s i + 1 d to s i + 2 d , respectively, v 1 (u), v 2 (u), v 3 (u) is represented by the following equation.
v j (u) = a j (u−u j ) 3 + b j (u−u j ) 2 + c j (u−u j ) + d j
(J = 1, 2, 3)

交点si-2 d、si-1 d、si+1 d、si+2 dを通り、且つ境界点における一次導関数及び二次導関数が連続であることに基づいて、制御装置50はaj 〜dj を決定することができる。 Based on the fact that the first and second derivatives at the boundary points are continuous, passing through the intersections s i-2 d , s i-1 d , s i + 1 d , s i + 2 d 50 can determine a j to d j .

四つの交点の選択は、上述したように、交点Si dの両隣に位置する連続した二点を使用する場合に限らない。例えば交点si-3 d、si-1 d、si+1 d、si+3 dのように、二点毎に不連続に交点を選択してもよい。 The selection of the four intersection points is not limited to the case of using two consecutive points located on both sides of the intersection point S i d as described above. For example, intersection points may be selected discontinuously at every two points, such as intersection points s i-3 d , s i-1 d , s i + 1 d , and s i + 3 d .

図10に示すように、修正点ti d位置は、滑らかな曲線上において、修正の対象となる交点Si dからの距離が最小となる位置である。 As shown in FIG. 10, the correction point t i d position is a position on the smooth curve where the distance from the intersection S i d to be corrected is the minimum.

d番目の評価断面Dd 上に存在する修正後の交点群Sd をTd とする。
d ={ti d|d:断面番号、i:経路番号}
The corrected intersection group S d existing on the d-th evaluation section D d is defined as T d .
T d = {t i d | d: section number, i: route number}

制御装置50は、交点群をTd を使用して、指令点の位置を修正する。図11は指令点の修正方法を説明する説明図である。図11において、Pa 〜Pf は指令点、○は加工経路と評価断面Dd の交点、矢印は加工経路を夫々示す。 The control device 50 corrects the position of the command point by using the intersection point group Td . FIG. 11 is an explanatory diagram for explaining a method of correcting a command point. In FIG. 11, P a to P f are command points, ◯ is an intersection of the machining path and the evaluation section D d , and an arrow indicates the machining path.

例えば指令点Pc が修正対象である場合、図11Aに示す如く、指令点Pc は断面Dd-1 と断面Dd の間に位置し、経路番号はiである。制御装置50は前述した交点テーブルを参照し、指令点Pc に関する断面位置及び経路番号を取得する。 For example, when the command point P c is a correction target, as shown in FIG. 11A, the command point P c is located between the cross section D d−1 and the cross section D d , and the path number is i. The control device 50 refers to the intersection table described above, and acquires the cross-sectional position and path number regarding the command point Pc .

図11Bに示す如く、制御装置50は指令点Pc の周囲にある交点、例えば加工経路上に並んだ四つの交点ti d+1、ti d、ti d-1、ti d-2を探索する。制御装置50は四つの交点ti d+1、ti d、ti d-1、ti d-2から滑らかな曲線(スプライン曲線、ベジェ曲線、NURBS曲線等)を作成し、該曲線上に指令点Pc を投影し、修正点Pc ′を決定する。制御装置50は、滑らかな曲線を前述した第2の修正方法と同様な方法で求める。修正点Pc ′の位置は、滑らかな曲線上において、指令点Pc からの距離が最小となる位置である。制御装置50は他の指令点の位置を同様に修正する。 As shown in FIG. 11B, the control device 50 has intersections around the command point P c , for example, four intersection points t i d + 1 , t i d , t i d−1 , t i d− aligned on the machining path. Search for 2 . The control device 50 creates a smooth curve (spline curve, Bezier curve, NURBS curve, etc.) from the four intersection points t i d + 1 , t i d , t i d-1 , t i d-2 , The command point P c is projected onto the image, and the correction point P c ′ is determined. The control device 50 obtains a smooth curve by a method similar to the second correction method described above. The position of the correction point P c ′ is a position where the distance from the command point P c is minimum on a smooth curve. The control device 50 similarly corrects the positions of the other command points.

図12は、指令点位置修正処理を説明するフローチャートである。CPU51は、上述した評価断面追加処理(図5、図6参照)を実行した後、交点テーブルを作成する(図7及び図8参照)。具体的には、CPU51は往復動作の経路番号を示す変数i及び加工プログラムを構成する命令の順番を示す変数kに「1」を設定する(ステップS21)。   FIG. 12 is a flowchart for explaining the command point position correction process. The CPU 51 creates the intersection point table (see FIGS. 7 and 8) after executing the above-described evaluation section addition processing (see FIGS. 5 and 6). Specifically, the CPU 51 sets “1” to the variable i indicating the path number of the reciprocating operation and the variable k indicating the order of the instructions constituting the machining program (step S21).

CPU51は移動経路Pk −Pk+1 を読み込む(ステップS22)。CPU51は移動経路Pk −Pk+1 が評価断面Dd と交差するか否かを判定する(ステップS23)。移動経路Pk −Pk+1 が評価断面Dd と交差しない場合(ステップS23:NO)、CPU51はkを一つインクリメントする(ステップS27)。 CPU51 reads movement path | route Pk- Pk + 1 (step S22). The CPU 51 determines whether or not the travel route P k −P k + 1 intersects the evaluation section D d (step S23). When the movement route P k -P k + 1 does not intersect the evaluation section D d (step S23: NO), the CPU 51 increments k by one (step S27).

移動経路Pk −Pk+1 が評価断面Dd と交差する場合(ステップS23:YES)、CPU51は、評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在しているか否かを判定する(ステップS24)。 When the movement path P k -P k + 1 intersects with the evaluation section D d (step S23: YES), the CPU 51 has already reached the intersection S i d between the evaluation section D d and the movement path P k -P k + 1. It is determined whether or not it exists (step S24).

評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在していない場合(ステップS24:NO)、CPU51は記憶部52の交点テーブル(図8参照)に、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて記憶する(ステップS26)。 When the intersection S i d between the evaluation section D d and the movement path P k −P k + 1 does not already exist (step S24: NO), the CPU 51 stores the path in the intersection table (see FIG. 8) in the storage unit 52. The number i, the intersection coordinates S i d, and the movement route P k -P k + 1 are stored in association with each other (step S26).

評価断面Dd と移動経路Pk −Pk+1 との交点Si dが既に存在している場合(ステップS24:YES)、CPU51はiを一つインクリメントし(ステップS25)、CPU51は記憶部52の交点テーブルに、経路番号i、交点座標Si d及び移動経路Pk −Pk+1 を対応付けて記憶し(ステップS26)、kを一つインクリメントする(ステップS27)。ステップS21〜S27は演算部を構成する。 When the intersection S i d between the evaluation section D d and the movement path P k −P k + 1 already exists (step S24: YES), the CPU 51 increments i by one (step S25), and the CPU 51 stores the value. In the intersection table of the unit 52, the path number i, the intersection coordinates S i d and the movement path P k -P k + 1 are stored in association with each other (step S26), and k is incremented by one (step S27). Steps S21 to S27 constitute a calculation unit.

kをインクリメントした後、CPU51はkが最終番号であるか否かを判定する(ステップS28)。kが最終番号でない場合(ステップS28:NO)、CPU51はステップS22に処理を戻す。kが最終番号である場合(ステップS28:YES)、CPU51は、上述したように、交点の位置を修正する(ステップS29、式(1)〜式(4)、図9及び図10参照)。   After incrementing k, the CPU 51 determines whether k is the final number (step S28). If k is not the final number (step S28: NO), the CPU 51 returns the process to step S22. When k is the final number (step S28: YES), the CPU 51 corrects the position of the intersection as described above (see step S29, equations (1) to (4), FIGS. 9 and 10).

CPU51は、上述したように、指令点の周囲にある交点を探索し(ステップS30)、指令点の位置を修正し(ステップS31、図11A及び図11B参照)、加工経路設定処理に戻す(図5参照)。   As described above, the CPU 51 searches for intersections around the command point (step S30), corrects the position of the command point (see step S31, FIG. 11A and FIG. 11B), and returns to the machining path setting process (FIG. 5).

実施の形態1に係る工作機械100及び制御装置50にあっては、加工経路に交差する評価断面Dd を設定し、評価断面Dd と加工経路の交点Si dの位置を修正し、修正した交点Si dの位置に基づいて、前記加工経路に交差する方向における指令点Pk の位置を修正する。加工経路に交差する方向においても、指令点Pk の位置を修正することができるので、滑らかな曲面をワークに形成することができる。また隣り合う二つの評価断面間に存在する指令点Pk の数が閾値以下になる。故に指令点Pk の数に対する評価断面Dd の数が過小になり、指令点Pk に対する位置修正の精度が低下することを防止できる。 In the machine tool 100 and the control device 50 according to the first embodiment, the evaluation section D d intersecting the machining path is set, the position of the evaluation section D d and the intersection S i d of the machining path is corrected, and the correction is made. Based on the position of the intersecting point S i d, the position of the command point P k in the direction intersecting the machining path is corrected. Even in the direction intersecting the machining path, the position of the command point P k can be corrected, so that a smooth curved surface can be formed on the workpiece. In addition, the number of command points P k existing between two adjacent evaluation sections is equal to or less than the threshold value. Thus the number of evaluation section D d to the number of command points P k becomes too small, the precision of the position correction with respect to the command point P k can be prevented from decreasing.

また予め定められた間隔で評価断面Dd を設定後に、隣り合う二つの評価断面Dd −Dd+1 の間に存在する指令点Pk の数Md が閾値Tを超過しているのかを判定する。指令点Pk の数Md が閾値Tを超過している場合、隣り合う二つの評価断面Dd −Dd+1 の間に、新たな評価断面Dnew を追加する。 Whether the number M d of command points P k existing between two adjacent evaluation sections D d -D d + 1 exceeds the threshold value T after setting the evaluation section D d at a predetermined interval. Determine. When the number M d of command points P k exceeds the threshold value T, a new evaluation section D new is added between two adjacent evaluation sections D d -D d + 1 .

また隣り合う二つの評価断面Dd −Dd+1 の間の中央に新たな評価断面Dnew を追加した。追加する評価断面が既に存在する評価断面の近傍に追加する場合、指令点Pk の数Md が閾値Tを超える可能性が高く、更に評価断面を追加しなければならない。評価断面Dd −Dd+1 の間の中央に新たな評価断面Dnew を追加した場合、指令点Pk の数Md 、が閾値Tを超える可能性が低くなり、評価断面を更に追加しなくてもよくなる。故に、評価断面の数が必要以上に多くなることを防止する。 In addition, a new evaluation section D new is added at the center between two adjacent evaluation sections D d -D d + 1 . When the evaluation cross section to be added is added in the vicinity of the existing evaluation cross section, the number M d of the command points P k is likely to exceed the threshold T, and further evaluation cross sections must be added. When a new evaluation section D new is added at the center between the evaluation sections D d -D d + 1 , the number M d of command points P k is less likely to exceed the threshold T, and additional evaluation sections are added. You do n’t have to. Therefore, the number of evaluation cross sections is prevented from being increased more than necessary.

(実施の形態2)
以下本発明を実施の形態2に係る工作機械を示す図面に基づいて説明する。実施の形態2に係る構成の内、実施の形態1と同様な構成については同じ符号を付し、その詳細な説明を省略する。
(Embodiment 2)
Hereinafter, the present invention will be described with reference to the drawings showing a machine tool according to a second embodiment. Of the configurations according to the second embodiment, configurations similar to those of the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

図13は、ワークに対する加工経路及び評価断面を略示する平面図である。矢印は加工経路、点線は評価断面Dd を示す。制御装置50は、ワークに対して評価断面Dd を設定する。例えば、図13に示すように、主軸5aが渦巻き状に周回移動する場合、加工経路は渦巻き方向に沿った経路となる。図13に示す如く、制御装置50は加工経路に略直交する方向に沿った評価断面Dd を複数設定する。複数の評価断面は加工経路の周方向に並ぶ。尚、作業者は、加工経路の方向が周方向であることを予め指示する。 FIG. 13 is a plan view schematically showing a machining path and an evaluation cross section for a workpiece. Arrows machining path, a dotted line indicates the evaluation section D d. The control device 50 sets the evaluation section D d for the workpiece. For example, as shown in FIG. 13, when the main shaft 5 a moves in a spiral shape, the processing path is a path along the spiral direction. As shown in FIG. 13, the control device 50 sets a plurality of evaluation sections D d along a direction substantially orthogonal to the machining path. The plurality of evaluation sections are arranged in the circumferential direction of the machining path. The operator instructs in advance that the direction of the machining path is the circumferential direction.

制御装置50は加工経路設定処理を実行する。図14は、制御装置50による加工経路設定処理を説明するフローチャートである。   The control device 50 executes a machining path setting process. FIG. 14 is a flowchart for explaining the machining path setting process by the control device 50.

制御装置50のCPU51は、開始信号の入力があるまで待機する(ステップS41:NO)。開始信号の入力があった場合(ステップS41:YES)、CPU51は、最外周/最内周演算処理を実行し(ステップS42)、評価断面設定処理を実行する(ステップS43)。   The CPU 51 of the control device 50 stands by until a start signal is input (step S41: NO). When the start signal is input (step S41: YES), the CPU 51 executes the outermost / innermost periphery calculation process (step S42), and executes the evaluation cross-section setting process (step S43).

CPU51は、評価断面追加処理を実行し(ステップS44)、指令点位置修正処理を実行し(ステップS45)、加工経路設定処理を終了する。最外周/最内周演算処理及び評価断面追加処理の詳細は後述する。   The CPU 51 executes an evaluation section addition process (step S44), executes a command point position correction process (step S45), and ends the machining path setting process. Details of the outermost / innermost circumference calculation process and the evaluation cross-section addition process will be described later.

最外周/最内周演算処理(ステップS42)について説明する。図15は、最外周/最内周演算処理を説明するフローチャート、図16は、渦巻き状に外周側から内周側に移動する主軸5aの加工経路を略示する模式図、図17は、渦巻き状に内周側から外周側に移動する主軸5aの加工経路を略示する模式図である。   The outermost / innermost circumference calculation process (step S42) will be described. 15 is a flowchart for explaining the outermost / innermost circumference calculation processing, FIG. 16 is a schematic diagram schematically showing the machining path of the spindle 5a moving from the outer periphery side to the inner periphery side in a spiral shape, and FIG. It is a schematic diagram which shows schematically the processing path of the main axis | shaft 5a which moves to the outer peripheral side from an inner peripheral side in a shape.

CPU51は、複数の指令点Pk について、加工経路の始点に位置する指令点(始点指令点)P1 から加工経路の終点に位置する指令点(終点指令点)PN まで順に識別子(番号)を設定する(ステップS51)。 The CPU 51 sequentially identifies identifiers (numbers) for a plurality of command points P k from a command point (start point command point) P 1 located at the start point of the machining path to a command point (end point command point) P N located at the end point of the machining path. Is set (step S51).

CPU51は、始点指令点P1 に最も近い線分Pa a+1 を演算し(ステップS52)、終点指令点PN に最も近い線分Pb b+1 を演算する(ステップS53)。 The CPU 51 calculates the line segment P a P a + 1 that is closest to the start point command point P 1 (step S52), and calculates the line segment P b P b + 1 that is closest to the end point command point P N (step S53). .

CPU51は、始点指令点P1 と指令点Pa との間の加工経路を経路Aに設定し(ステップS54)、終点指令点PN と指令点Pb との間の加工経路を経路Bに設定する(ステップS55)。 CPU51 sets the machining path between the start command point P 1 and the command point P a to the route A (step S54), the machining path between the endpoints command point P N and the command point P b on the path B Set (step S55).

図7に示す如く、外周側から内周側に主軸5aが移動する場合、経路Aは最も外側に位置し、経路Bは最も内側に位置する。図8に示す如く、内周側から外周側に主軸5aが移動する場合、経路Aは最も内側に位置し、経路Bは最も外側に位置する。最も近い線分Pa a+1 の演算は始点指令点P1 から各線分P2 3 、P3 4 、・・・までの最短距離を演算し、該最短距離の最大値から次第に小さくなった時の最小距離の線分を算出する。最も近い線分Pb b+1 の演算も同様である。経路A及び経路Bはそれぞれ略環状をなす。環状とは、図3に示すように渦巻き状のものも含む。 As shown in FIG. 7, when the main shaft 5a moves from the outer peripheral side to the inner peripheral side, the path A is positioned on the outermost side and the path B is positioned on the innermost side. As shown in FIG. 8, when the main shaft 5a moves from the inner circumference side to the outer circumference side, the path A is located on the innermost side and the path B is located on the outermost side. The nearest line segment P a P a + 1 is calculated by calculating the shortest distance from the start point command point P1 to each of the line segments P 2 P 3 , P 3 P 4 ,... The line segment of the minimum distance is calculated. The same applies to the calculation of the nearest line segment P b P b + 1 . Each of the path A and the path B has a substantially circular shape. The annular shape includes a spiral shape as shown in FIG.

CPU51は、経路AのX方向の最小値AX_min 及び最大値AX_max と、Y方向の最小値AY_min 及び最大値AY_max を演算する(ステップS56)。 CPU51 has the minimum value A x_min and the maximum value A X_max the X direction of the path A, and calculates the minimum value A Y_min and the maximum value A Y_max the Y direction (step S56).

CPU51は、経路BのX方向の最小値BX_min 及び最大値BX_max と、Y方向の最小値BY_min 及び最大値BY_max を演算する(ステップS57)。 CPU51 is the minimum value B x_min and the maximum value B X_max in the X direction of the path B, and calculating the minimum value B Y_min and the maximum value B Y_max the Y direction (step S57).

CPU51は、AX_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max であるのか否かを判定する(ステップS58)。AX_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max である場合(ステップS58:YES)、CPU51は、経路Aを最も外側に位置する最外周経路に決定し、経路Bを最も内側に位置する最内周経路に決定し(ステップS59、図16参照)、加工経路設定処理に戻り、評価断面設定処理(ステップS43)に進む(図14参照)。 The CPU 51 determines whether or not A X_min <B X_min <B X_max <A X_max and A Y_min <B Y_min <B Y_max <A Y_max (step S58). When A X_min <B X_min <B X_max <A X_max and A Y_min <B Y_min <B Y_max <A Y_max (step S58: YES), the CPU 51 determines the route A as the outermost peripheral route. Then, the route B is determined as the innermost circumferential route located on the innermost side (step S59, see FIG. 16), the process returns to the machining route setting process and proceeds to the evaluation section setting process (step S43) (see FIG. 14).

X_min <BX_min <BX_max <AX_max 且つAY_min <BY_min <BY_max <AY_max でない場合(ステップS58:NO)、CPU51は、BX_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max であるのか否かを判定する(ステップS60)。 If A X_min <B X_min <B X_max <A X_max and A Y_min <B Y_min <B Y_max <A Y_max (step S58: NO), the CPU 51 determines that B X_min <A X_min <A X_max <B X_max and B Y_min < It is determined whether A Y_min <A Y_max <B Y_max (step S60).

X_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max である場合(ステップS60:YES)、CPU51は、経路Aを最も内側に位置する最内周経路に決定し、経路Bを最も外側に位置する最外周経路に決定し(ステップS61、図17参照)、加工経路設定処理に戻り、評価断面設定処理(ステップS43)に進む(図14参照)。 When B X_min <A X_min <A X_max <B X_max and B Y_min <A Y_min <A Y_max <B Y_max (step S60: YES), the CPU 51 determines the route A as the innermost circumferential route. Then, the route B is determined to be the outermost peripheral route located on the outermost side (step S61, see FIG. 17), and the process returns to the machining route setting process and proceeds to the evaluation section setting process (step S43) (see FIG. 14).

X_min <AX_min <AX_max <BX_max 且つBY_min <AY_min <AY_max <BY_max でない場合(ステップS60:NO)、CPU51は、エラーを報知し(ステップS62)、処理を終了する。例えば、最外周/最内周演算処理にエラーが生じたことを表示部8に表示する。 If B X_min <A X_min <A X_max <B X_max and B Y_min <A Y_min <A Y_max <B Y_max (step S60: NO), the CPU 51 notifies an error (step S62) and ends the process. For example, the display unit 8 displays that an error has occurred in the outermost / innermost circumference calculation process.

なおエラー報知後、作業者が指令値Pk の設定を再度行う等、データの調整又は変更を行い、開始信号を制御装置50に再度入力した場合に、CPU51は、最外周/最内周演算処理を再度実行するように構成してもよい。 After the error notification, when the operator adjusts or changes the data such as setting the command value P k again and inputs the start signal to the control device 50 again, the CPU 51 calculates the outermost / innermost circumference. You may comprise so that a process may be performed again.

次に評価断面設定処理(ステップS43)について説明する。図18は、評価断面設定処理を説明するフローチャート、図19は、評価断面設定処理を説明する模式図である。   Next, the evaluation section setting process (step S43) will be described. FIG. 18 is a flowchart for explaining the evaluation cross-section setting process, and FIG. 19 is a schematic diagram for explaining the evaluation cross-section setting process.

CPU51は、最外周経路上に、等距離離隔した複数の第1基準点Om (mは自然数)を設定し(ステップS71)、最内周経路上に複数の第2基準点Lm を設定する(ステップS72、図19参照)。 The CPU 51 sets a plurality of first reference points O m (m is a natural number) spaced equidistantly on the outermost circumference path (step S71), and sets a plurality of second reference points L m on the innermost circumference path. (See step S72, FIG. 19).

CPU51は、最内周経路上であって、第1基準点Om から最も近い位置にある点を第2基準点Lm に設定する(ステップS72)。CPU51は、第1基準点Om 及び第2基準点Lm に基づいて、評価断面Dd を演算し、設定する(ステップS73)。図19に示す如く、CPU51は、第1基準点Om 及び第2基準点Lm が評価断面Dd 上に位置するように、評価断面Dd を演算し、設定する。CPU51は、加工経路設定処理に戻り、評価断面追加処理(ステップS44)及び指令点位置修正処理(ステップS45)に進む(図14参照)。尚、第1基準点Om は始点指令点P1 から順に等間隔に設定する。第2基準点の設定については後述する。評価断面Dd の演算はX−Y平面に対して垂直な面であり、上記第1基準点Om と第2基準点Lm を含む平面を演算する。 The CPU 51 sets, as the second reference point L m , a point that is on the innermost peripheral path and is closest to the first reference point O m (step S72). The CPU 51 calculates and sets the evaluation cross section D d based on the first reference point O m and the second reference point L m (step S73). As shown in FIG. 19, CPU 51, as the first reference point O m and the second reference point L m is located on the evaluation section D d, and calculates the evaluation section D d, sets. The CPU 51 returns to the machining path setting process, and proceeds to the evaluation section addition process (step S44) and the command point position correction process (step S45) (see FIG. 14). The first reference points O m are set at regular intervals in order from the start point command point P 1 . The setting of the second reference point will be described later. The calculation of the evaluation section D d is a plane perpendicular to the XY plane, and a plane including the first reference point O m and the second reference point L m is calculated.

第2基準点Lm は、第1基準点Om から最も近い位置にあるので、評価断面Dd は、最内周経路及び最外周経路に対して略垂直になる。 Since the second reference point L m is located closest to the first reference point O m , the evaluation cross section D d is substantially perpendicular to the innermost circumference path and the outermost circumference path.

評価断面追加処理(ステップS44)において、実施の形態1における評価断面追加処理(図6参照)と同様に、CPU51は、評価断面Dd −Dd+1 の間の指令点数Md が閾値Tを超過しているか否かを判定する。指令点数Md が閾値Tを超過している場合、評価断面Dd −Dd+1 の間の中央に新たな評価断面Dnew を追加し、全ての評価断面Dd −Dd+1 間に対して、上記追加処理を実行した後、断面番号dを振り直す(図19参照)。 In the evaluation cross section addition process (step S44), as in the evaluation cross section addition process (see FIG. 6) in the first embodiment, the CPU 51 determines that the command score M d between the evaluation cross sections D d -D d + 1 is equal to the threshold T. It is determined whether or not it is exceeded. If the command number M d exceeds the threshold T, evaluation section D d -D d + 1 of adding new evaluation section D new new centrally between, all the evaluation section D d -D d + 1 between On the other hand, after executing the above addition process, the section number d is reassigned (see FIG. 19).

評価断面追加処理(ステップS44)は、実施の形態1における評価断面追加処理(図6参照)と同様なので、その詳細な説明を省略する。   Since the evaluation cross section addition process (step S44) is the same as the evaluation cross section addition process (see FIG. 6) in the first embodiment, detailed description thereof is omitted.

図20は、指令点Pk と、評価断面Dd 及び加工経路の交点Si dとを略示する模式図である。評価断面追加処理(ステップS44)の実行後、実施の形態1と同様に、CPU51は指令点位置修正処理(ステップS45)を実行する。 FIG. 20 is a schematic diagram schematically showing the command point P k , the evaluation section D d, and the intersection S i d of the machining path. After execution of the evaluation section addition process (step S44), the CPU 51 executes a command point position correction process (step S45) as in the first embodiment.

なお指令点位置修正処理(ステップS45)は、実施の形態1における指令点位置修正処理(図12参照)と同様であるので、その説明を省略する。   Since the command point position correction process (step S45) is the same as the command point position correction process (see FIG. 12) in the first embodiment, the description thereof is omitted.

実施の形態2に係る工作機械100及び制御装置50にあっても、実施の形態1と同様な作用・効果を奏する。   Even in the machine tool 100 and the control device 50 according to the second embodiment, the same operations and effects as those of the first embodiment are obtained.

(実施の形態3)
以下本発明を実施の形態3に係る工作機械100を示す図面に基づいて説明する。実施の形態3は、実施の形態2と同様に、主軸5aが渦巻き状に周回移動し、加工経路は渦巻き方向に沿った経路となる。実施の形態3に係る構成の内、実施の形態1又は2と同様な構成については同じ符号を付し、その詳細な説明を省略する。
(Embodiment 3)
Hereinafter, the present invention will be described based on the drawings showing a machine tool 100 according to a third embodiment. In the third embodiment, similarly to the second embodiment, the main shaft 5a moves in a spiral shape, and the machining path becomes a path along the spiral direction. Of the configurations according to the third embodiment, configurations similar to those of the first or second embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

制御装置50は加工経路設定処理を実行する。図21は、制御装置50による加工経路設定処理を説明するフローチャートである。制御装置50のCPU51は、開始信号の入力があるまで待機する(ステップS81:NO)。   The control device 50 executes a machining path setting process. FIG. 21 is a flowchart for explaining the machining path setting process by the control device 50. The CPU 51 of the control device 50 stands by until a start signal is input (step S81: NO).

開始信号の入力があった場合(ステップS81:YES)、CPU51は、最外周/最内周演算処理を実行し(ステップS82)、第2評価断面設定処理を実行して(ステップS83)、指令点位置修正処理を実行し(ステップS84)、加工経路設定処理を終了する。   When the start signal is input (step S81: YES), the CPU 51 executes the outermost / innermost circumference calculation process (step S82), executes the second evaluation cross-section setting process (step S83), and instructs A point position correction process is executed (step S84), and the machining path setting process is terminated.

最外周/最内周演算処理(ステップS82)は、実施の形態2に係る最外周/最内周演算処理と同様なので、その説明を省略する(図15参照)。最外周/最内周演算処理実行後、CPU51は、第2評価断面設定処理を実行する。   The outermost / innermost circumference calculation process (step S82) is the same as the outermost / innermost circumference calculation process according to the second embodiment, and a description thereof will be omitted (see FIG. 15). After executing the outermost / innermost circumference calculation process, the CPU 51 executes a second evaluation cross-section setting process.

第2評価断面設定処理について説明する。図22は、第2評価断面設定処理を説明するフローチャート、図23は、第2評価断面設定処理を説明する模式図である。   The second evaluation section setting process will be described. FIG. 22 is a flowchart for explaining the second evaluation cross-section setting process, and FIG. 23 is a schematic diagram for explaining the second evaluation cross-section setting process.

CPU51は、最外周経路の複数の指令点Pk に対し、最外周経路の端部から順に、指令点P1 〜PZ をそれぞれ設定する(ステップS91参照)。図16に示す如く、経路Aが最外周経路である場合、経路Aの端部に位置する指令点P1 から順に、P1 〜PZ を設定する。図17に示す如く、経路Bが最外周経路である場合、経路Bの端部に位置する指令点PN から順に、P1 〜PZ を設定する。 The CPU 51 sets the command points P 1 to P Z in order from the end of the outermost periphery path for the plurality of command points P k on the outermost periphery path (see step S91). As shown in FIG. 16, when the route A is the outermost periphery route, P 1 to P Z are set in order from the command point P 1 located at the end of the route A. As shown in FIG. 17, when the route B is the outermost periphery route, P 1 to P Z are set in order from the command point P N located at the end of the route B.

CPU51は、変数c及びmそれぞれに1を設定する(ステップS92)。なお前述したように、記憶部52は変数c及びmを予め記憶している。   The CPU 51 sets 1 for each of the variables c and m (step S92). As described above, the storage unit 52 stores the variables c and m in advance.

CPU51は、隣り合う二つの指令点Pc 及びPc+1 の間に第1基準点Om を設定する(ステップS93)。記憶部52は設定した第1基準点Om を記憶する。CPU51は、変数cに閾値T2を加算し(ステップS94)、閾値T2加算後の指令点Pc を読み込む(ステップS95)。記憶部52は、読み込んだ指令点Pc を記憶する。 CPU51 sets a first reference point O m between the P c and P c + 1 two command points adjacent (step S93). The storage unit 52 stores the set first reference point O m . The CPU 51 adds the threshold value T2 to the variable c (step S94), and reads the command point Pc after the addition of the threshold value T2 (step S95). The storage unit 52 stores the read command point P c .

CPU51は、変数mを一つインクリメントし(ステップS96)、変数cがZよりも大きいか否かを判定する(ステップS97)。変数cがZよりも大きい場合、Pc は最外周経路よりも内側に位置し、変数cがZよりも大きくない場合、Pc は最外周経路上に位置する。 The CPU 51 increments the variable m by one (step S96), and determines whether or not the variable c is larger than Z (step S97). When the variable c is larger than Z, P c is located inside the outermost circumference path, and when the variable c is not larger than Z, P c is located on the outermost circumference path.

変数cがZよりも大きくない場合(ステップS97:NO)、CPU51はステップS93に処理を戻す。変数cがZよりも大きい場合(ステップS97:YES)、CPU51は、最内周経路上であって、記憶部52に記憶した各第1基準点Om (m=1、2、3、・・・)から最も近い位置にある各点を第2基準点Lm (m=1、2、3、・・・)に設定する(ステップS98、図23参照)。 When the variable c is not larger than Z (step S97: NO), the CPU 51 returns the process to step S93. When the variable c is larger than Z (step S97: YES), the CPU 51 is on the innermost circumference path and stores each first reference point O m (m = 1, 2, 3,...) Stored in the storage unit 52. ..) Is set to the second reference point L m (m = 1, 2, 3,...) (See step S98, see FIG. 23).

CPU51は、第1基準点Om 及び第2基準点Lm に基づいて、評価断面Dd を演算し、設定する(ステップS99)。図23に示す如く、CPU51は、第1基準点Om 及び第2基準点Lm が評価断面Dd 上に位置するように、評価断面Dd を演算し、設定する。 The CPU 51 calculates and sets the evaluation cross section D d based on the first reference point O m and the second reference point L m (step S99). As shown in FIG. 23, CPU 51, as the first reference point O m and the second reference point L m is located on the evaluation section D d, and calculates the evaluation section D d, sets.

第2評価断面設定処理を具体的に説明する。閾値T2を10とする。CPU51は、指令点P1 〜PZ を設定する(ステップS91)。ここで指令点P1 を第1指令点とし、指令点P2 を第2指令点とする。このとき、CPU51は、指令点P1 から10個先の指令点P11(第3指令点)及び指令点P11の隣の指令点P12(第4指令点)も設定する。 The second evaluation section setting process will be specifically described. The threshold T2 is set to 10. The CPU 51 sets command points P 1 to P Z (step S91). Here, the command point P 1 is a first command point, and the command point P 2 is a second command point. At this time, the CPU 51 also sets a command point P 11 (third command point) 10 points ahead from the command point P 1 and a command point P 12 (fourth command point) adjacent to the command point P 11 .

CPU51は、指令点P1 及び指令点P2 の間に、第1基準点O1 を設定し、指令点P11及び指令点P12の間に、第1基準点O2 を設定する(ステップS93〜S95)。CPU51は、最外周経路全体に対して、これらの処理を繰り返す(ステッ96、S97)。すなわち、第3基準点を第1基準点とし、第4基準点を第2基準点として、同じ処理を繰り返す。 The CPU 51 sets the first reference point O 1 between the command point P 1 and the command point P 2 and sets the first reference point O 2 between the command point P 11 and the command point P 12 (step) S93-S95). The CPU 51 repeats these processes for the entire outermost path (step 96, S97). That is, the same process is repeated with the third reference point as the first reference point and the fourth reference point as the second reference point.

CPU51は、最内周経路上において、各第1基準点Om (m=1、2、3、・・・)から最も近い位置にある各点を第2基準点Lm (m=1、2、3、・・・)に設定し(ステップS98)、第1基準点Om 及び第2基準点Lm を含むように、評価断面Dd を設定する(ステップS99)。 The CPU 51 sets each point located closest to each first reference point O m (m = 1, 2, 3,...) On the innermost circumference path to the second reference point L m (m = 1, 2, 3,...) (Step S 98), and the evaluation cross section D d is set so as to include the first reference point O m and the second reference point L m (step S 99).

CPU51は、加工経路設定処理に戻り、指令点位置修正処理(ステップS84)に進む(図21参照)。指令点位置修正処理(ステップS84)は、実施の形態1又は2の指令点位置修正処理(図12参照)と同様なので、その説明を省略する。   The CPU 51 returns to the machining path setting process and proceeds to the command point position correction process (step S84) (see FIG. 21). Since the command point position correction process (step S84) is the same as the command point position correction process (see FIG. 12) of the first or second embodiment, the description thereof is omitted.

実施の形態3に係る工作機械100及び制御装置50にあっては、第1指令点及び該第1指令点に隣り合う第2指令点の間、並びに第3指令点及び該第3指令点に隣り合う第4指令点の間に評価断面をそれぞれ設定する。第1指令点と第3指令点との間は、閾値T2に対応する距離離隔している。故に、評価断面の数が過小になること及び過大になることを防止し、指令点に対する位置修正の精度の低下及び計算量の増大を防止する。   In the machine tool 100 and the control device 50 according to the third embodiment, between the first command point and the second command point adjacent to the first command point, and between the third command point and the third command point. An evaluation cross section is set between adjacent fourth command points. The first command point and the third command point are separated by a distance corresponding to the threshold value T2. Therefore, it is possible to prevent the number of evaluation sections from becoming excessively small or excessively, and to prevent a decrease in accuracy of position correction with respect to the command point and an increase in calculation amount.

また第1指令点及び第2指令点の間の中央、並びに第3指令点及び第4指令点の間の中央に、評価断面をそれぞれ設定し、適切な数の評価断面の設定を実現する。   In addition, an evaluation cross section is set at the center between the first command point and the second command point and at the center between the third command point and the fourth command point, respectively, and an appropriate number of evaluation cross sections are set.

なお実施の形態3においては、加工経路は渦巻き状をなすが、実施の形態1のように、主軸5aがX又はY方向に沿って大部分が往復移動し、加工経路がX又はY方向に沿った経路である場合においても、実施の形態3に係る構成を適用することができる。この場合、最外周経路ではなく、例えば最初、最後又は中央に位置するいずれかの片道の経路に対して、実施の形態3に係る構成を適用すればよく、加工経路が渦巻き状をなす場合よりも、計算量は減少する。   In the third embodiment, the machining path has a spiral shape. However, as in the first embodiment, the main shaft 5a largely reciprocates along the X or Y direction, and the machining path moves in the X or Y direction. Even in the case of the route along the path, the configuration according to the third embodiment can be applied. In this case, the configuration according to the third embodiment may be applied not to the outermost peripheral path but to, for example, any one-way path located at the first, last, or center, as compared to the case where the processing path has a spiral shape. However, the amount of calculation is reduced.

図24は変更例におけるワークに対する加工経路及び評価断面を略示する平面図である。図24に示す如く、加工経路が渦巻き状をなす場合、制御装置50は渦巻きの中心及び該中心周りの角度を設定し、渦巻きの中心を基準として放射状に複数の評価断面を設定する。隣り合う二つの評価断面の間に存在する指令点が、予め定めた閾値を超過した場合、二つの評価断面の間に新たな評価断面Dnew を追加する。 FIG. 24 is a plan view schematically showing a machining path and an evaluation cross section for a workpiece in a modified example. As shown in FIG. 24, when the machining path has a spiral shape, the control device 50 sets the center of the spiral and the angle around the center, and sets a plurality of evaluation cross sections radially with respect to the center of the spiral. When a command point existing between two adjacent evaluation sections exceeds a predetermined threshold value, a new evaluation section D new is added between the two evaluation sections.

5a 主軸
50 制御装置
51 CPU
52 記憶部
53 RAM
100 工作機械
5a Spindle 50 Controller 51 CPU
52 storage unit 53 RAM
100 machine tools

Claims (8)

主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置において、
前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定する設定部と、
該設定部が設定した評価断面及び前記加工経路の交点を演算する演算部と、
該演算部が演算した交点の位置を修正する交点位置修正部と、
該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部と
を備えることを特徴とする制御装置。
In a control device that sets a machining path based on a plurality of command points that indicate the position of the spindle, and controls the movement of the spindle based on the machining path.
A setting unit configured to set a plurality of evaluation cross sections intersecting the machining path so that the number of the command points existing between two adjacent evaluation cross sections is equal to or less than a threshold;
A calculation unit for calculating an intersection of the evaluation section and the machining path set by the setting unit;
An intersection position correction unit for correcting the position of the intersection calculated by the calculation unit;
And a command point position correcting unit that corrects a position of the command point in a direction intersecting the machining path based on the intersection corrected by the intersection position correcting unit.
前記設定部は、
前記加工経路に予め定められた間隔で前記評価断面を設定した後、隣り合う二つの前記評価断面の間に存在する前記指令点の数が閾値を超過しているか否かを判定する判定部と、
該判定部にて、隣り合う二つの前記評価断面の間に存在する前記指令点の数が閾値を超過していると判定した場合に、前記二つの評価断面の間に更に評価断面を追加する追加設定部と
を備えることを特徴とする請求項1に記載の制御装置。
The setting unit
A determination unit that determines whether or not the number of the command points existing between two adjacent evaluation cross sections exceeds a threshold value after setting the evaluation cross sections at predetermined intervals in the machining path; ,
When the determination unit determines that the number of the command points existing between two adjacent evaluation cross sections exceeds a threshold value, an additional evaluation cross section is added between the two evaluation cross sections. The control device according to claim 1, further comprising: an additional setting unit.
前記追加設定部は、前記二つの評価断面の間の中央に評価断面を追加すること
を特徴とする請求項2に記載の制御装置。
The control apparatus according to claim 2, wherein the additional setting unit adds an evaluation cross section at a center between the two evaluation cross sections.
前記複数の指令点は、第1指令点と該第1指令点の隣に位置する第2指令点とを含み、
前記設定部は、
前記第1指令点及び第2指令点の間に一の前記評価断面を設定する第1設定部と、
前記第1指令点から前記閾値に対応した距離離隔した第3指令点及び該第3指令点の隣に位置する第4指令点を設定する第2設定部と、
該第2設定部にて設定した前記第3指令点及び第4指令点の間に他の前記評価断面を設定する第3設定部と
を備えることを特徴とする請求項1に記載の制御装置。
The plurality of command points include a first command point and a second command point located next to the first command point,
The setting unit
A first setting unit for setting one evaluation section between the first command point and the second command point;
A second setting unit that sets a third command point that is separated from the first command point by a distance corresponding to the threshold value, and a fourth command point that is located next to the third command point;
The control device according to claim 1, further comprising: a third setting unit that sets the other evaluation section between the third command point and the fourth command point set by the second setting unit. .
前記第1設定部は、前記第1指令点及び第2指令点の間の中央に前記一の評価断面を設定し、
前記第3設定部は、前記第3指令点及び第4指令点の間の中央に前記他の評価断面を設定すること
を特徴とする請求項4に記載の制御装置。
The first setting unit sets the one evaluation cross section at the center between the first command point and the second command point,
5. The control device according to claim 4, wherein the third setting unit sets the other evaluation section at a center between the third command point and the fourth command point.
請求項1から5の何れか一つに記載の制御装置と、
前記主軸と
を備えることを特徴とする工作機械。
A control device according to any one of claims 1 to 5;
A machine tool comprising the spindle.
主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御方法において、
前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定し、
設定した評価断面及び前記加工経路の交点を演算し、
該演算部が演算した交点の位置を修正し、
修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正すること
を特徴とする制御方法。
In a control method for setting a machining path based on a plurality of command points that indicate the position of the spindle, and controlling the movement of the spindle based on the machining path,
A plurality of evaluation cross sections intersecting the machining path is set so that the number of the command points existing between two adjacent evaluation cross sections is equal to or less than a threshold value,
Calculate the intersection of the set evaluation cross section and the machining path,
Correct the position of the intersection calculated by the calculation unit,
A control method comprising correcting a position of the command point in a direction intersecting the machining path based on the corrected intersection.
加工プログラムに従って、主軸の位置を指示する複数の指令点に基づいた加工経路を設定し、前記加工経路に基づいて、前記主軸の移動を制御する制御装置で実行可能なコンピュータプログラムにおいて、
前記制御装置を、
前記加工経路に交差する複数の評価断面を、隣り合う二つの前記評価断面間に存在する前記指令点の数が閾値以下になるように設定する設定部、
該設定部が設定した評価断面及び前記加工経路の交点を演算する演算部、
該演算部が演算した交点の位置を修正する交点位置修正部、及び
該交点位置修正部が修正した交点に基づいて、前記加工経路に交差する方向における前記指令点の位置を修正する指令点位置修正部
として機能させることを特徴とするコンピュータプログラム。
In a computer program that can be executed by a control device that sets a machining path based on a plurality of command points that indicate the position of the spindle according to the machining program and controls the movement of the spindle based on the machining path.
The control device;
A setting unit that sets a plurality of evaluation cross sections intersecting the machining path so that the number of the command points existing between two adjacent evaluation cross sections is equal to or less than a threshold value,
A calculation unit for calculating an intersection of the evaluation section and the machining path set by the setting unit;
An intersection position correcting unit that corrects the position of the intersection calculated by the calculating unit, and a command point position that corrects the position of the command point in the direction intersecting the machining path based on the intersection corrected by the intersection position correcting unit A computer program that functions as a correction unit.
JP2015233886A 2015-11-30 2015-11-30 Control device, machine tool, control method, and computer program Active JP6582931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015233886A JP6582931B2 (en) 2015-11-30 2015-11-30 Control device, machine tool, control method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015233886A JP6582931B2 (en) 2015-11-30 2015-11-30 Control device, machine tool, control method, and computer program

Publications (2)

Publication Number Publication Date
JP2017102593A true JP2017102593A (en) 2017-06-08
JP6582931B2 JP6582931B2 (en) 2019-10-02

Family

ID=59016877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015233886A Active JP6582931B2 (en) 2015-11-30 2015-11-30 Control device, machine tool, control method, and computer program

Country Status (1)

Country Link
JP (1) JP6582931B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11048233B2 (en) 2018-10-25 2021-06-29 Fanuc Corporation Program correction device
WO2022176077A1 (en) * 2021-02-17 2022-08-25 三菱電機株式会社 Machining program modification device, machining program modification method, and machining system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000353006A (en) * 1999-06-10 2000-12-19 Fanuc Ltd Numerical controller
DE10343785A1 (en) * 2003-09-22 2005-04-14 P & L Gmbh & Co. Kg Method for processing a workpiece using a machining tool on a numerically-controlled machine comprises moving the tool along lines relative to the workpiece, , and automatically inserting an auxiliary line
JP2013188807A (en) * 2012-03-12 2013-09-26 Fanuc Ltd Method and device for machining of lens shape for performing measurement along curl-shaped measurement path
JP2016189136A (en) * 2015-03-30 2016-11-04 ブラザー工業株式会社 Control device, machine tool and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000353006A (en) * 1999-06-10 2000-12-19 Fanuc Ltd Numerical controller
DE10343785A1 (en) * 2003-09-22 2005-04-14 P & L Gmbh & Co. Kg Method for processing a workpiece using a machining tool on a numerically-controlled machine comprises moving the tool along lines relative to the workpiece, , and automatically inserting an auxiliary line
JP2013188807A (en) * 2012-03-12 2013-09-26 Fanuc Ltd Method and device for machining of lens shape for performing measurement along curl-shaped measurement path
JP2016189136A (en) * 2015-03-30 2016-11-04 ブラザー工業株式会社 Control device, machine tool and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11048233B2 (en) 2018-10-25 2021-06-29 Fanuc Corporation Program correction device
WO2022176077A1 (en) * 2021-02-17 2022-08-25 三菱電機株式会社 Machining program modification device, machining program modification method, and machining system
JP7455271B2 (en) 2021-02-17 2024-03-25 三菱電機株式会社 Machining program correction device, machining program correction method, and machining system

Also Published As

Publication number Publication date
JP6582931B2 (en) 2019-10-02

Similar Documents

Publication Publication Date Title
CN104249195B (en) Deburring device including visual sensor and force sensor
JP6672702B2 (en) Control device, machine tool, control method, and computer program
CN105388852B (en) Numerical control device, lathe and control method
JP6450732B2 (en) Numerical controller
JP5019001B2 (en) Numerical control method and apparatus
JP5302371B2 (en) Numerical control device with display function of physical data of machine tools
JP6684962B2 (en) Tool path generation method and device
JP7195110B2 (en) Machine tools and controllers
JP5877866B2 (en) Tool path display device that displays the tool path
JP6435962B2 (en) Control device, machine tool and computer program
JP6582931B2 (en) Control device, machine tool, control method, and computer program
JP2015134407A (en) Visual sensor and deburring device provided with force sensor
JP6879766B2 (en) Path correction method and control device for multi-axis machine
JP6147456B1 (en) Numerical controller
JP2017177323A (en) Machine tool and control method
JP6672748B2 (en) Control device, machine tool, control method, and computer program
JP2017182479A (en) Processing route calculation device, processing route calculation method, and computer program
JP6943556B2 (en) Machining path calculation device, machining path calculation method and computer program
JP6959477B1 (en) Laser machining machine control device
CN116897099A (en) Teaching point generation device and teaching point generation method for generating teaching points based on sensor output
JP2020160830A (en) Numerical control device, machine tool, control program, and storage medium
JP6844772B2 (en) Grinding device and grinding method
CN104865891B (en) Numerical control device and mobile route modification method
JP7677099B2 (en) Machine tool, machining path generation method, and computer program
US12350749B2 (en) Gear machining apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190724

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: 20190806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190819

R150 Certificate of patent or registration of utility model

Ref document number: 6582931

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150