JP2020057320A - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
JP2020057320A
JP2020057320A JP2018189233A JP2018189233A JP2020057320A JP 2020057320 A JP2020057320 A JP 2020057320A JP 2018189233 A JP2018189233 A JP 2018189233A JP 2018189233 A JP2018189233 A JP 2018189233A JP 2020057320 A JP2020057320 A JP 2020057320A
Authority
JP
Japan
Prior art keywords
tool
control device
workpiece
numerical control
contact
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
JP2018189233A
Other languages
Japanese (ja)
Other versions
JP7184588B2 (en
Inventor
義一 中西
Giichi Nakanishi
義一 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Priority to JP2018189233A priority Critical patent/JP7184588B2/en
Publication of JP2020057320A publication Critical patent/JP2020057320A/en
Application granted granted Critical
Publication of JP7184588B2 publication Critical patent/JP7184588B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

To provide a numerical control device for automatically determining a reflection destination of a work measurement result.SOLUTION: A numerical control device 1 for reflecting a measurement result of a work after machining on a tool offset value of a tool is characterized by comprising: a machining simulation unit 101 that executes a machining simulation and associates a contact point where the tool and the work come into contact with each other, a tool offset type at the time of contact, and a tool offset number at the time of contact; a machining tool identification unit 103 that determines the tool offset type and the tool offset number associated with the contact point between a measurement probe and the work as a reflection destination of the measurement result; and a reflection unit 104 that reflects the measurement result to the reflection destination.SELECTED DRAWING: Figure 2

Description

本発明は、数値制御装置に関し、特にワーク計測結果の反映先を自動決定する数値制御装置に関する。   The present invention relates to a numerical control device, and more particularly to a numerical control device that automatically determines a reflection destination of a work measurement result.

数値制御装置により制御される、工作機械等の産業用機械(以下、機械という)は、ワークを加工した後に(図1(a)参照)、機械内でワーク計測用プログラム(以下、計測プログラムという)を実行してプローブ等により加工後のワーク形状を計測し(図1(b)参照)、計測結果を工具オフセット値に反映する、すなわち計測結果に基づいて工具オフセット値を更新することがある(図1(c)参照)。これにより、工具オフセット値が工具の最新の状態を反映したものに保たれ、加工精度を維持することができる。例えば特許文献1には、NC加工機による加工後にワークの形状測定を行い、測定結果に基づいて工具径や工具長を補正する技術が開示されている。   An industrial machine (hereinafter, referred to as a machine) such as a machine tool, which is controlled by a numerical control device, processes a work (see FIG. 1A) and then, in the machine, a work measurement program (hereinafter, referred to as a measurement program). ) To measure the workpiece shape after processing with a probe or the like (see FIG. 1B), and reflect the measurement result to the tool offset value, that is, update the tool offset value based on the measurement result. (See FIG. 1 (c)). As a result, the tool offset value reflects the latest state of the tool, and the machining accuracy can be maintained. For example, Patent Literature 1 discloses a technique in which the shape of a workpiece is measured after machining by an NC machine, and a tool diameter and a tool length are corrected based on the measurement result.

特開2000−317775号公報JP 2000-317775 A

しかしながら、計測プログラムは、計測対象(計測位置)において加工時に使用された工具が何であったかを認識する手段を持たない。すなわち、初期状態では、計測結果を反映すべき工具オフセットの箇所(工具オフセット番号及び工具オフセット種類(長さ又は半径))が分からない。このため、従来はオペレータが手動で反映先(工具オフセット番号及び種類)を予め設定しておき、計測プログラムはこの設定に従って工具オフセット値を更新していた。かかる作業は、オペレータにとって負担であった。   However, the measurement program has no means for recognizing what tool was used at the time of machining in the measurement target (measurement position). That is, in the initial state, the location of the tool offset (tool offset number and tool offset type (length or radius)) to which the measurement result should be reflected is not known. Therefore, conventionally, the operator manually sets the reflection destination (tool offset number and type) in advance, and the measurement program updates the tool offset value according to the setting. Such work was burdensome for the operator.

本発明はこのような課題を解決するためのものであり、ワーク計測結果の反映先を自動決定する数値制御装置を提供することを目的とする。   The present invention is intended to solve such a problem, and an object of the present invention is to provide a numerical control device that automatically determines a reflection destination of a work measurement result.

本発明の位置実施形態にかかる数値制御装置は、加工後のワークの計測結果を工具の工具オフセット値に反映させる数値制御装置であって、加工シミュレーションを実行し、前記工具と前記ワークとが接触した接触点と、前記接触時の工具オフセット種類と、前記接触時の工具オフセット番号と、を関連付ける加工シミュレーション部と、計測用プローブと前記ワークとの接触点に関連付けられている前記工具オフセット種類及び工具オフセット番号を、前記計測結果の反映先として決定する加工工具特定部と、前記反映先に前記計測結果を反映させる反映部と、を有することを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工シミュレーション部は、前記工具と前記ワークとの接触点と、前記接触時の前記工具の面と、を関連付け、前記加工工具特定部は、計測用プローブと前記ワークとの接触点に関連付けられている前記工具の面に基づいて1つの前記工具オフセット種類を選択し、前記工具オフセット種類における指令中の工具オフセット番号を選択して、前記工具オフセット種類及び前記工具オフセット番号を前記計測結果の反映先として決定することを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工工具特定部は、前記工具の底面がワークに接触している場合は、工具長に関する前記工具オフセット値を反映先とし、前記工具の円筒面がワークに接触している場合は、工具径に関する前記工具オフセット値を反映先とすることを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工シミュレーション部は、前記工具の向きと、前記接触点における前記ワークの垂直ベクトルと、が略平行であれば、前記工具の底面がワークに接触したと判定することを特徴とする。
A numerical control device according to a position embodiment of the present invention is a numerical control device that reflects a measurement result of a workpiece after machining to a tool offset value of a tool, executes a machining simulation, and contacts the tool with the workpiece. The contact point, the tool offset type at the time of contact, the tool offset number at the time of the contact, a machining simulation unit that associates, the tool offset type and the tool offset type associated with the contact point between the measurement probe and the workpiece A machining tool specifying unit that determines a tool offset number as a reflection destination of the measurement result, and a reflection unit that reflects the measurement result to the reflection destination is provided.
In the numerical control device according to the position embodiment of the present invention, the machining simulation unit associates a contact point between the tool and the workpiece with a surface of the tool at the time of the contact, and the machining tool specifying unit includes: Selecting one of the tool offset types based on a surface of the tool associated with a contact point between the measurement probe and the workpiece, selecting a tool offset number in the command in the tool offset type, and selecting the tool offset number; The offset type and the tool offset number are determined as reflection destinations of the measurement result.
The numerical control device according to the position embodiment of the present invention is characterized in that, when the bottom surface of the tool is in contact with a workpiece, the processing tool specifying unit reflects the tool offset value related to a tool length, and the cylinder of the tool. When the surface is in contact with the workpiece, the tool offset value relating to the tool diameter is set as a reflection destination.
In the numerical control device according to the position embodiment of the present invention, the machining simulation unit may be configured such that when a direction of the tool and a vertical vector of the work at the contact point are substantially parallel, the bottom surface of the tool is placed on the work. It is characterized in that it is determined that contact has been made.

本発明により、ワーク計測結果の反映先を自動決定する数値制御装置を提供することができる。   According to the present invention, it is possible to provide a numerical control device that automatically determines a reflection destination of a work measurement result.

従来の数値制御装置を説明する図である。FIG. 5 is a diagram illustrating a conventional numerical control device. 数値制御装置1のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating a hardware configuration example of a numerical control device 1. 数値制御装置1の機能構成例を示す図である。FIG. 2 is a diagram illustrating a functional configuration example of a numerical control device 1. 加工シミュレーション部101の動作を説明する図である。FIG. 3 is a diagram illustrating an operation of a processing simulation unit 101. 加工シミュレーション部101の動作を説明する図である。FIG. 3 is a diagram illustrating an operation of a processing simulation unit 101. 加工シミュレーション部101の動作を説明する図である。FIG. 3 is a diagram illustrating an operation of a processing simulation unit 101. 計測部102の動作を説明する図である。FIG. 4 is a diagram for explaining the operation of the measurement unit 102. 数値制御装置1を利用したワークフロー例を説明する図である。FIG. 3 is a diagram illustrating an example of a workflow using the numerical controller 1. 数値制御装置1を利用したワークフロー例を説明する図である。FIG. 3 is a diagram illustrating an example of a workflow using the numerical controller 1. 数値制御装置1を利用したワークフロー例を説明する図である。FIG. 3 is a diagram illustrating an example of a workflow using the numerical controller 1. 数値制御装置1の動作を示すフローチャートである。3 is a flowchart illustrating an operation of the numerical control device 1. 数値制御装置1の動作を示すフローチャートである。3 is a flowchart illustrating an operation of the numerical control device 1.

本実施の形態にかかる数値制御装置1は、加工シミュレーション機能を用いて、計測位置の加工時に使用されていた工具を理論的に特定することにより、計測結果の反映先となる工具オフセットの箇所(オフセット番号及び種類)を自動的に決定するものである。   The numerical control device 1 according to the present embodiment uses the machining simulation function to theoretically specify the tool used at the time of machining the measurement position, thereby obtaining a tool offset location (a tool offset location) to which the measurement result is reflected. Offset number and type) are automatically determined.

図2は、実施の形態にかかる数値制御装置1の要部を示す概略的なハードウェア構成図である。数値制御装置1は、工作機械を含む産業用機械の制御を行う装置である。数値制御装置1は、CPU11、ROM12、RAM13、不揮発性メモリ14、バス10、軸制御回路16、サーボアンプ17、インタフェース18、インタフェース19を有する。数値制御装置1には、サーボモータ50、入出力装置60、計測装置70が接続される。   FIG. 2 is a schematic hardware configuration diagram illustrating a main part of the numerical control device 1 according to the embodiment. The numerical control device 1 is a device that controls an industrial machine including a machine tool. The numerical controller 1 includes a CPU 11, a ROM 12, a RAM 13, a nonvolatile memory 14, a bus 10, an axis control circuit 16, a servo amplifier 17, an interface 18, and an interface 19. The servomotor 50, the input / output device 60, and the measuring device 70 are connected to the numerical control device 1.

CPU11は、数値制御装置1を全体的に制御するプロセッサである。CPU11は、ROM12に格納されたシステム・プログラムをバス10を介して読み出し、システム・プログラムに従って数値制御装置1全体を制御する。   The CPU 11 is a processor that controls the numerical controller 1 as a whole. The CPU 11 reads out a system program stored in the ROM 12 via the bus 10 and controls the entire numerical controller 1 according to the system program.

ROM12は、例えば機械の各種制御を実行するためのシステム・プログラムを予め格納している。   The ROM 12 stores, in advance, a system program for executing various control of the machine, for example.

RAM13は、一時的な計算データや表示データ、入出力装置60を介してオペレータが入力したデータやプログラム等を一時的に格納する。   The RAM 13 temporarily stores temporary calculation data and display data, data and programs input by the operator via the input / output device 60, and the like.

不揮発性メモリ14は、例えば図示しないバッテリでバックアップされており、数値制御装置1の電源が遮断されても記憶状態を保持する。不揮発性メモリ14は、入出力装置60から入力されるデータやプログラム等を格納する。不揮発性メモリ14に記憶されたプログラムやデータは、実行時及び利用時にはRAM13に展開されても良い。   The non-volatile memory 14 is backed up by, for example, a battery (not shown), and retains the stored state even when the power of the numerical controller 1 is cut off. The non-volatile memory 14 stores data, programs, and the like input from the input / output device 60. The programs and data stored in the nonvolatile memory 14 may be expanded in the RAM 13 at the time of execution and use.

軸制御回路16は、機械の動作軸を制御する。軸制御回路16は、CPU11が出力する軸の移動指令量を受けて、動作軸の移動指令をサーボアンプ17に出力する。   The axis control circuit 16 controls the operation axis of the machine. The axis control circuit 16 receives an axis movement command amount output by the CPU 11 and outputs a movement command of an operation axis to the servo amplifier 17.

サーボアンプ17は、軸制御回路16が出力する軸の移動指令を受けて、サーボモータ50を駆動する。   The servo amplifier 17 drives the servomotor 50 in response to an axis movement command output from the axis control circuit 16.

サーボモータ50は、サーボアンプ17により駆動されて機械の動作軸を動かす。サーボモータ50は、典型的には位置・速度検出器を内蔵する。位置・速度検出器は位置・速度フィードバック信号を出力し、この信号が軸制御回路16にフィードバックされることで、位置・速度のフィードバック制御が行われる。   The servo motor 50 is driven by the servo amplifier 17 to move the operation axis of the machine. The servo motor 50 typically has a built-in position / speed detector. The position / velocity detector outputs a position / velocity feedback signal, and this signal is fed back to the axis control circuit 16 to perform position / velocity feedback control.

なお、図2では軸制御回路16、サーボアンプ17、サーボモータ50は1つずつしか示されていないが、実際には制御対象となる機械に備えられた軸の数だけ用意される。   Although only one axis control circuit 16, one servo amplifier 17, and one servo motor 50 are shown in FIG. 2, actually, as many axes as the number of axes provided in the machine to be controlled are prepared.

入出力装置60は、ディスプレイやハードウェアキー等を備えたデータ入出力装置であり、典型的にはMDI又は操作盤である。入出力装置60は、インタフェース18を介してCPU11から受けた情報をディスプレイに表示する。入出力装置60は、ハードウェアキー等から入力された指令やデータ等をインタフェース18を介してCPU11に渡す。   The input / output device 60 is a data input / output device provided with a display, hardware keys, and the like, and is typically an MDI or an operation panel. The input / output device 60 displays information received from the CPU 11 via the interface 18 on a display. The input / output device 60 transfers commands, data, and the like input from a hardware key or the like to the CPU 11 via the interface 18.

計測装置70は、典型的にはサーボモータ50によって移動する計測用プローブを備え、計測用プローブを加工後のワークの計測点に接触させたときの座標値を検出することにより、加工後のワークの形状を測定する。計測装置70が出力する情報は、インタフェース19を介してCPU11に渡される。   The measurement device 70 typically includes a measurement probe that is moved by the servomotor 50, and detects a coordinate value when the measurement probe is brought into contact with a measurement point of the processed workpiece, thereby detecting the processed workpiece. Is measured. Information output by the measuring device 70 is passed to the CPU 11 via the interface 19.

図3は、数値制御装置1の特徴的な機能構成を示すブロック図である。典型的な数値制御装置1は、加工シミュレーション部101、計測部102、加工工具特定部103、反映部104を有する。図11及び図12のフローチャートに沿いつつ、各処理部の動作について説明する。   FIG. 3 is a block diagram illustrating a characteristic functional configuration of the numerical control device 1. A typical numerical control device 1 includes a machining simulation unit 101, a measurement unit 102, a machining tool identification unit 103, and a reflection unit 104. The operation of each processing unit will be described with reference to the flowcharts of FIGS.

加工シミュレーション部101は、数値制御装置1が備える加工シミュレーション機能(公知技術であるため詳細な説明は省略する)を実行する。加工シミュレーションは、ワークの加工と並行して行っても良く、加工を開始する前に行っても良い。この際、加工シミュレーション部101は、工具と接触しているワークの要素に、以下に示すデータ(1)及び(2)を逐次付加する。   The processing simulation unit 101 executes a processing simulation function (a detailed description is omitted because it is a known technique) provided in the numerical control device 1. The processing simulation may be performed in parallel with the processing of the workpiece, or may be performed before the processing is started. At this time, the processing simulation unit 101 sequentially adds the following data (1) and (2) to the elements of the work in contact with the tool.

(1)ワークと工具とが接触したときの工具の面(円筒面/底面)
加工シミュレーション機能において描画されるワークオブジェクトは、表面が多数の微小要素(通常は三角形のオブジェクト)により構成されている。加工シミュレーション機能は、工具オブジェクトとワークオブジェクトとが接触したとき(ワーク切削時)、微小要素を更新する(S101及びS102)ことにより、切削後のワークオブジェクトの表面を形成する。
加工シミュレーション機能において描画される工具オブジェクトは、工具の向きを示す方向ベクトルaを保持している。加工シミュレーション部101は、方向ベクトルaと、前記微小要素の垂直ベクトルbとの角度を前記微小要素の更新の際に判定する(S104乃至S106)。図4に示すように、方向ベクトルaと垂直ベクトルbとが略平行であれば(許容すべき角度差は任意に設定され得る)、加工シミュレーション部101は、ワークと工具とが接触したときの工具の面は「底面」すなわち工具の先端であると判定する(S107。図5参照)。その他の場合は、上記工具の面は「円筒面」すなわち工具の側面であると判断する(S108。図6参照)。加工シミュレーション部101は、この判定結果を、微小要素オブジェクトに関連付けて保存する。
(1) The surface of the tool when it comes into contact with the tool (cylindrical surface / bottom surface)
The surface of a work object drawn by the machining simulation function is composed of a large number of minute elements (usually triangular objects). The processing simulation function forms the surface of the cut work object by updating the microelements (S101 and S102) when the tool object comes into contact with the work object (at the time of cutting the work).
The tool object drawn in the machining simulation function holds a direction vector a indicating the direction of the tool. The processing simulation unit 101 determines the angle between the direction vector a and the vertical vector b of the minute element when updating the minute element (S104 to S106). As shown in FIG. 4, if the direction vector a and the vertical vector b are substantially parallel (an allowable angle difference can be set arbitrarily), the processing simulation unit 101 determines whether the workpiece and the tool are in contact with each other. It is determined that the surface of the tool is the “bottom surface”, that is, the tip of the tool (S107; see FIG. 5). In other cases, it is determined that the surface of the tool is a “cylindrical surface”, that is, a side surface of the tool (S108; see FIG. 6). The processing simulation unit 101 stores the determination result in association with the minute element object.

(2)工具オフセット番号(モーダル変数)
前記微小要素の更新の際、加工シミュレーション部101は、更新後の微小要素オブジェクトに、更新時点の工具オフセットモーダル(工具オフセット番号を示すモーダル情報)を示すデータを関連付けて保存する(S103−1,S103−2)。ここで保存される工具オフセットモーダルには、工具径及び工具長のいずれかのオフセット番号が含まれる。なおモーダル情報(モーダル変数)とは、指令グループ内で有効なグローバル変数をいう。
(2) Tool offset number (modal variable)
At the time of updating the microelement, the machining simulation unit 101 stores the updated microelement object in association with data indicating a tool offset modal (modal information indicating a tool offset number) at the time of the update (S103-1, S103-1). S103-2). The tool offset modal stored here includes any offset number of the tool diameter and the tool length. Note that modal information (modal variables) refers to global variables that are valid within a command group.

計測部102は、計測用プローブとワークとの接触点を求める。計測部102は、加工シミュレーション部101による加工シミュレーション時に、計測指令実行時における描画プローブオブジェクトと描画ワークオブジェクトの接触点(後に実際に計測を行う時にプローブが接触する予定となっている実ワークオブジェクト上の位置)を取得する(S109)。これは公知技術により実現可能である。その後、計測部102は、計測時の前記接触点に対応するワークオブジェクトの微小要素を特定する(S110。図7参照)。典型的には、計測時のプローブの位置に最も近い微小要素を特定する。微小要素が三角形であれば、プローブの座標xと、3つの頂点a,b,cとの距離の和ax+bx+cxが最小となる微小要素を選択する。   The measurement unit 102 obtains a contact point between the measurement probe and the work. At the time of the processing simulation by the processing simulation unit 101, the measuring unit 102 determines a contact point between the drawing probe object and the drawing work object at the time of execution of the measurement command (on the actual work object to be contacted by the probe when the measurement is actually performed later). Is obtained (S109). This can be realized by a known technique. After that, the measurement unit 102 specifies a microelement of the work object corresponding to the contact point at the time of measurement (S110; see FIG. 7). Typically, the microelement closest to the position of the probe at the time of measurement is specified. If the microelement is a triangle, a microelement that minimizes the sum ax + bx + cx of the distance between the probe coordinate x and the three vertices a, b, and c is selected.

加工工具特定部103は、計測位置の加工時に使用されていた工具を特定する。加工工具特定部103は、計測部102が接触点として特定した微小要素に関連付けて保存されている工具オフセット番号と、ワークと工具とが接触したときの工具の面と、を取得する(S111及びS112)。加工工具特定部103は、微小要素に保存されているワークと工具とが接触したときの工具の面が「円筒面」であれば、上記工具オフセット番号の工具径種類を、計測結果の反映先と決定する。一方、微小要素に保存されているワークと工具とが接触したときの工具の面が「底面」であれば、上記工具オフセット番号の工具長種類を、計測結果の反映先とする(S113乃至S115)。   The processing tool specifying unit 103 specifies a tool used at the time of processing the measurement position. The processing tool identification unit 103 acquires the tool offset number stored in association with the microelement identified as the contact point by the measurement unit 102, and the surface of the tool when the workpiece comes into contact with the tool (S111 and S111). S112). If the surface of the tool when the tool comes into contact with the workpiece stored in the microelement is a “cylindrical surface”, the processing tool specifying unit 103 determines the tool diameter type of the tool offset number as a reflection destination of the measurement result. Is determined. On the other hand, if the tool surface at the time of contact between the tool and the workpiece stored in the microelement is the “bottom surface”, the tool length type of the tool offset number is set as the measurement result reflection destination (S113 to S115). ).

なお、数値制御装置1によっては、形状に関するオフセット及び摩耗に関するオフセットの2つのオフセットを設定できることがある。この場合、形状に関するオフセットは工具の個体差を補正するため、摩耗に関するオフセットは加工を何度も行うことにより発生した工具摩耗を補正する為に使用される。このような数値制御装置1においては、加工工具特定部103は、摩耗に関するオフセットを反映先とする。例えば摩耗前の(理想の)工具径をRとし、摩耗により減少した径をrとして持つことにより、加工時には実際の工具径R’=R−rを利用する。一方、オフセットが形状/摩耗で分かれていないオプション構成の場合には、加工工具特定部103は、形状に関するオフセットを反映先とする。例えば実際の工具径R’を持っておき、摩耗による減少分を随時R’に反映する。   Note that, depending on the numerical controller 1, two offsets, an offset relating to the shape and an offset relating to the wear, may be set. In this case, the offset related to the shape is used to correct individual differences between tools, and the offset related to wear is used to correct tool wear caused by performing machining many times. In such a numerical controller 1, the machining tool specifying unit 103 reflects an offset related to wear. For example, by setting the tool diameter before wear (ideal) as R and the diameter reduced by wear as r, the actual tool diameter R '= R-r is used during machining. On the other hand, in the case of the optional configuration in which the offset is not divided by the shape / wear, the machining tool specifying unit 103 reflects the offset related to the shape. For example, the actual tool diameter R 'is kept, and the decrease due to wear is reflected on R' as needed.

反映部104は、加工工具特定部103が特定した反映先に、計測結果を反映する。反映部104はまず、加工プログラムによるワークの加工と、加工後のワークの計測とを実際に行う。その後、反映部104は、予め定められた測定点におけるワーク計測結果に基づいて、加工工具特定部103が特定した工具オフセット値を更新する(S116)。反映先は、実際の計測点に対応する(最も近い)接触点に関連付けられた工具オフセット値である。計測結果を工具オフセット値に反映させる方法は、例えば特許文献1に記載されているように公知技術であるため、ここでは詳細な説明を省略する。   The reflection unit 104 reflects the measurement result on the reflection destination specified by the processing tool specification unit 103. First, the reflection unit 104 actually performs processing of the workpiece by the processing program and measurement of the workpiece after the processing. After that, the reflecting unit 104 updates the tool offset value specified by the processing tool specifying unit 103 based on the work measurement result at the predetermined measurement point (S116). The reflection destination is the tool offset value associated with the (closest) contact point corresponding to the actual measurement point. The method of reflecting the measurement result on the tool offset value is a known technique as described in Patent Literature 1, for example, and a detailed description thereof will be omitted.

<実施例>
具体的な例を用いて、本発明の実施の形態にかかる数値制御装置1を使用した際の、オペレータから見たワークフローについて説明する。
<Example>
The workflow viewed from the operator when using the numerical control device 1 according to the embodiment of the present invention will be described using a specific example.

(1)シミュレーション用ワーク形状データ入力
オペレータはシミュレーション用ワークの形状データを入力する。図8は、幅100,奥行き100,高さ60の直方体であるワークをオペレータが入力した例を示している。
(1) Simulation Work Shape Data Input The operator inputs the shape data of the simulation work. FIG. 8 shows an example in which the operator inputs a rectangular parallelepiped work having a width of 100, a depth of 100 and a height of 60.

(2)加工プログラム作成
オペレータは加工プログラムを作成する。図9は、図8の形状のワークを作成するための加工プログラムをオペレータが入力した例を示している。
(2) Creation of machining program The operator creates a machining program. FIG. 9 shows an example in which a machining program for creating a workpiece having the shape shown in FIG. 8 is input by an operator.

(3)計測プログラムの挿入
上記(2)で作成した加工プログラムに、加工後のワークを計測するための計測プログラムを挿入する。図10は、加工プログラムに挿入された計測プログラムの一例を示す図であり、G2040がマクロ指令化された計測プログラムである。このうち太線で囲われた部分(引数)は、従来の計測プログラムでは入力が必要であったが、本実施の形態においては入力が不要となる情報を示している。従来は、計測結果の反映先を示すための工具オフセット箇所(工具オフセット番号及び種類)を入力することが必要であった。なお、A50.B100.・・・等は計測条件(計測時の移動速度、アプローチ距離等)を示す引数である。
(3) Insertion of measurement program A measurement program for measuring the work after machining is inserted into the machining program created in (2) above. FIG. 10 is a diagram showing an example of the measurement program inserted into the machining program, and G2040 is a measurement program in which a macro command is set. The portion (argument) surrounded by a thick line indicates information that requires input in the conventional measurement program but does not require input in the present embodiment. Conventionally, it has been necessary to input a tool offset location (tool offset number and type) for indicating the reflection destination of the measurement result. A50. B100. ... are arguments indicating measurement conditions (moving speed at the time of measurement, approach distance, etc.).

(4)加工プログラムの運転
オペレータは加工を行うために加工プログラムを実運転する。同時に、数値制御装置1は、上記加工プログラムによるシミュレーションの実行を開始する。
(4) Operation of machining program The operator actually operates the machining program to perform machining. At the same time, the numerical controller 1 starts executing the simulation by the machining program.

(5)計測プログラムの実行
数値制御装置1は、実運転に先立ち、加工シミュレーションにおいて計測プログラムを実行する。その際、加工工具特定部103が、上述の一連の処理により、計測結果の反映先(工具オフセット番号及び種類)を求め、メモリ上に一時的に保存する。
(5) Execution of Measurement Program The numerical control device 1 executes a measurement program in a machining simulation prior to actual operation. At that time, the processing tool specifying unit 103 obtains the reflection destination (tool offset number and type) of the measurement result by the above-described series of processing, and temporarily stores it in the memory.

その後、数値制御装置1は、実運転において計測プログラムを実行する。その際、加工シミュレーション時に求めた反映先(接触点の工具オフセット値)を、計測結果に応じて更新する。   Thereafter, the numerical control device 1 executes the measurement program in the actual operation. At that time, the reflection destination (tool offset value of the contact point) obtained at the time of the machining simulation is updated according to the measurement result.

本実施の形態によれば、数値制御装置1が計測結果の反映先を自動的に識別するので、オペレータが手動で反映先を設定することにともなう作業負荷を軽減できる。   According to the present embodiment, since the numerical controller 1 automatically identifies the reflection destination of the measurement result, it is possible to reduce the work load due to the operator manually setting the reflection destination.

1 数値制御装置
11 CPU
12 ROM
13 RAM
14 不揮発性メモリ
18 インタフェース
19 インタフェース
10 バス
16 軸制御回路
17 サーボアンプ
50 サーボモータ
60 入出力装置
70 計測装置
101 加工シミュレーション部
102 計測部
103 加工工具特定部
104 反映部
1 Numerical control unit 11 CPU
12 ROM
13 RAM
14 Non-volatile memory 18 Interface 19 Interface 10 Bus 16 Axis control circuit 17 Servo amplifier 50 Servo motor 60 Input / output device 70 Measuring device 101 Machining simulation unit 102 Measuring unit 103 Machining tool specifying unit 104 Reflecting unit

Claims (4)

加工後のワークの計測結果を工具の工具オフセット値に反映させる数値制御装置であって、
加工シミュレーションを実行し、前記工具と前記ワークとが接触した接触点と、前記接触時の工具オフセット種類と、前記接触時の工具オフセット番号と、を関連付ける加工シミュレーション部と、
計測用プローブと前記ワークとの接触点に関連付けられている前記工具オフセット種類及び工具オフセット番号を、前記計測結果の反映先として決定する加工工具特定部と、
前記反映先に前記計測結果を反映させる反映部と、を有することを特徴とする
数値制御装置。
A numerical control device that reflects a measurement result of a workpiece after machining to a tool offset value of a tool,
A processing simulation unit that executes a processing simulation and associates the contact point between the tool and the workpiece with the tool, the tool offset type at the time of the contact, and the tool offset number at the time of the contact,
A machining tool identification unit that determines the tool offset type and tool offset number associated with the contact point between the measurement probe and the workpiece, as a reflection destination of the measurement result,
A numerical control device, comprising: a reflection unit that reflects the measurement result on the reflection destination.
前記加工シミュレーション部は、前記工具と前記ワークとの接触点と、前記接触時の前記工具の面と、を関連付け、
前記加工工具特定部は、計測用プローブと前記ワークとの接触点に関連付けられている前記工具の面に基づいて1つの前記工具オフセット種類を選択し、前記工具オフセット種類における指令中の工具オフセット番号を選択して、前記工具オフセット種類及び前記工具オフセット番号を前記計測結果の反映先として決定することを特徴とする
請求項1記載の数値制御装置。
The machining simulation unit associates a contact point between the tool and the workpiece with a surface of the tool at the time of the contact,
The processing tool identification unit selects one of the tool offset types based on a surface of the tool associated with a contact point between the measurement probe and the workpiece, and a tool offset number in a command in the tool offset type. The numerical control device according to claim 1, wherein the numerical control device is selected to determine the tool offset type and the tool offset number as reflection destinations of the measurement result.
前記加工工具特定部は、前記工具の底面がワークに接触している場合は、工具長に関する前記工具オフセット値を反映先とし、前記工具の円筒面がワークに接触している場合は、工具径に関する前記工具オフセット値を反映先とすることを特徴とする
請求項1記載の数値制御装置。
When the bottom surface of the tool is in contact with the workpiece, the processing tool specifying unit reflects the tool offset value related to the tool length when the cylindrical surface of the tool is in contact with the workpiece. The numerical control device according to claim 1, wherein the tool offset value related to the numerical value is set as a reflection destination.
前記加工シミュレーション部は、前記工具の向きと、前記接触点における前記ワークの垂直ベクトルと、が略平行であれば、前記工具の底面がワークに接触したと判定することを特徴とする
請求項1記載の数値制御装置。
The method according to claim 1, wherein the processing simulation unit determines that the bottom surface of the tool has contacted the workpiece if the orientation of the tool and a vertical vector of the workpiece at the contact point are substantially parallel. Numerical control device as described.
JP2018189233A 2018-10-04 2018-10-04 Numerical controller Active JP7184588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018189233A JP7184588B2 (en) 2018-10-04 2018-10-04 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018189233A JP7184588B2 (en) 2018-10-04 2018-10-04 Numerical controller

Publications (2)

Publication Number Publication Date
JP2020057320A true JP2020057320A (en) 2020-04-09
JP7184588B2 JP7184588B2 (en) 2022-12-06

Family

ID=70107448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018189233A Active JP7184588B2 (en) 2018-10-04 2018-10-04 Numerical controller

Country Status (1)

Country Link
JP (1) JP7184588B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021230203A1 (en) * 2020-05-15 2021-11-18 ファナック株式会社 Tool measuring system, and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61293752A (en) * 1985-06-21 1986-12-24 Mitsui Seiki Kogyo Kk Work measurement correcting device for numerically controlled machine tool
JPH02100854A (en) * 1988-10-07 1990-04-12 Fanuc Ltd Setting method for correction amount of tool
JP2019067290A (en) * 2017-10-04 2019-04-25 ファナック株式会社 Numerical control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0419381D0 (en) 2004-09-01 2004-10-06 Renishaw Plc Machine tool method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61293752A (en) * 1985-06-21 1986-12-24 Mitsui Seiki Kogyo Kk Work measurement correcting device for numerically controlled machine tool
JPH02100854A (en) * 1988-10-07 1990-04-12 Fanuc Ltd Setting method for correction amount of tool
JP2019067290A (en) * 2017-10-04 2019-04-25 ファナック株式会社 Numerical control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021230203A1 (en) * 2020-05-15 2021-11-18 ファナック株式会社 Tool measuring system, and control method
JP7457108B2 (en) 2020-05-15 2024-03-27 ファナック株式会社 Tool measuring system and control method

Also Published As

Publication number Publication date
JP7184588B2 (en) 2022-12-06

Similar Documents

Publication Publication Date Title
US8155789B2 (en) Device, method, program and recording medium for robot offline programming
JP4920785B2 (en) Numerical control method and apparatus
JP5193598B2 (en) Method for creating CNC machine tool control program, computer program for executing said method, method for producing workpiece and workpiece production CNC program
JP5543534B2 (en) Numerical control device with program restart function
US9696714B2 (en) Numerical controller for controlling a tool and distinguished workpiece and jig
US10416649B2 (en) Numerical controller that prevents a tool compensation value setting error
US20110257778A1 (en) Method and device for simulating nc working machine
US20190266296A1 (en) Machining simulation device of machine tool
EP2898984A1 (en) Interface system of industrial machine
JP2019117477A (en) Link information generation device, link information generation method, and link information generation program
JP7414507B2 (en) Control device, measurement system, measurement method
JP7184588B2 (en) Numerical controller
US11392106B2 (en) Servomotor adjustment device and servomotor adjustment method
CN109789548B (en) Method for workpiece calibration and robot system using the same
US10162335B2 (en) Numerical controller capable of neighboring point search with consideration for tool attitude
KR20070068797A (en) Automation processing method for propeller
JP2021072012A (en) Display device
KR102336216B1 (en) Apparatus for displaying manufacturing time of machine tool
US11314230B2 (en) Machining program generation support device
Petrakov et al. Accuracy control of contour milling on CNC machines
WO2020008891A1 (en) Numerical control device
JP2016157216A (en) Numerical control device having tool correction function in skiving processing
US20220388167A1 (en) Method, computer program product and robot controller for configuring a robot-object system environment, and robot
JP6110232B2 (en) NC machine tool control method, control program, and control apparatus
JP5547601B2 (en) Numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210817

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220624

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221124

R150 Certificate of patent or registration of utility model

Ref document number: 7184588

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150