JP7184588B2 - Numerical controller - Google Patents

Numerical controller Download PDF

Info

Publication number
JP7184588B2
JP7184588B2 JP2018189233A JP2018189233A JP7184588B2 JP 7184588 B2 JP7184588 B2 JP 7184588B2 JP 2018189233 A JP2018189233 A JP 2018189233A JP 2018189233 A JP2018189233 A JP 2018189233A JP 7184588 B2 JP7184588 B2 JP 7184588B2
Authority
JP
Japan
Prior art keywords
tool
machining
workpiece
contact
measurement
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.)
Active
Application number
JP2018189233A
Other languages
Japanese (ja)
Other versions
JP2020057320A (en
Inventor
義一 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Description

本発明は、数値制御装置に関し、特にワーク計測結果の反映先を自動決定する数値制御装置に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller, and more particularly to a numerical controller that automatically determines where to reflect work measurement results.

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

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

しかしながら、計測プログラムは、計測対象(計測位置)において加工時に使用された工具が何であったかを認識する手段を持たない。すなわち、初期状態では、計測結果を反映すべき工具オフセットの箇所(工具オフセット番号及び工具オフセット種類(長さ又は半径))が分からない。このため、従来はオペレータが手動で反映先(工具オフセット番号及び種類)を予め設定しておき、計測プログラムはこの設定に従って工具オフセット値を更新していた。かかる作業は、オペレータにとって負担であった。 However, the measurement program does not have means for recognizing what tool was used during machining at 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 unknown. For this reason, 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 this setting. Such work was a burden on the operator.

本発明はこのような課題を解決するためのものであり、ワーク計測結果の反映先を自動決定する数値制御装置を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a numerical controller that automatically determines where to reflect workpiece measurement results.

本発明の位置実施形態にかかる数値制御装置は、加工後のワークの計測結果を工具の工具オフセット値に反映させる数値制御装置であって、加工シミュレーションを実行し、前記工具と前記ワークとが接触した接触点と、前記接触時の工具オフセット種類と、前記接触時の工具オフセット番号と、を関連付ける加工シミュレーション部と、計測用プローブと前記加工後のワークとが接触した位置に対応する前記加工シミュレーションにおける工具とワークとの接触点に関連付けられている前記工具オフセット種類及び工具オフセット番号を、前記計測結果の反映先として決定する加工工具特定部と、前記反映先に前記計測結果を反映させる反映部と、を有することを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工シミュレーション部は、前記工具と前記ワークとの接触点と、前記接触時の前記工具の面と、を関連付け、前記加工工具特定部は、計測用プローブと前記加工後のワークとが接触した位置に対応する前記加工シミュレーションにおける工具とワークとの接触点に関連付けられている前記工具の面に基づいて1つの前記工具オフセット種類を選択すると共に、前記接触点に関連付けられている工具オフセット番号を選択して、前記工具オフセット種類及び前記工具オフセット番号を前記計測結果の反映先として決定することを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工工具特定部は、前記工具の底面がワークに接触している場合は、前記工具オフセット番号の工具長種類を反映先とし、前記工具の円筒面がワークに接触している場合は、前記工具オフセット番号の工具径種類を反映先とすることを特徴とする。
本発明の位置実施形態にかかる数値制御装置は、前記加工シミュレーション部は、前記工具の工具長方向のベクトルと、前記接触点における前記ワークの垂直ベクトルと、が略平行であれば、前記工具の底面がワークに接触したと判定することを特徴とする。
A numerical control device according to a positional 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 controls the contact between the tool and the workpiece. a machining simulation unit that associates the contact point, the tool offset type at the time of contact, and the tool offset number at the time of contact; a machining tool specifying unit that determines the tool offset type and the tool offset number associated with the contact point between the tool and the workpiece in the above as a reflection destination of the measurement result; and a reflection unit that reflects the measurement result on the reflection destination. and.
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 the surface of the tool at the time of contact, and the machining tool identification unit: selecting one of the tool offset types based on the surface of the tool associated with the contact point between the tool and the workpiece in the machining simulation corresponding to the position at which the measurement probe and the workpiece after machining are in contact; A tool offset number associated with the contact point is selected, and the tool offset type and the tool offset number are determined as the reflection destination of the measurement result.
In the numerical control apparatus according to the positional embodiment of the present invention, when the bottom surface of the tool is in contact with the work, the machining tool specifying unit uses the tool length type of the tool offset number as a reflection destination, and When the cylindrical surface is in contact with the workpiece, the tool radius type of the tool offset number is used as a reflection target.
In the numerical control apparatus according to the positional embodiment of the present invention, the machining simulation unit is configured such that, if a vector of the tool in the tool length direction and a vertical vector of the workpiece at the contact point are substantially parallel, It is characterized in that it is determined that the bottom surface has come into contact with the work.

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

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

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

図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 showing main parts of the numerical controller 1 according to the embodiment. The numerical control device 1 is a device that controls industrial machines including machine tools. The numerical controller 1 has a CPU 11 , ROM 12 , RAM 13 , nonvolatile memory 14 , bus 10 , axis control circuit 16 , servo amplifier 17 , interface 18 and interface 19 . A servo motor 50 , an input/output device 60 and a 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 the 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 pre-stores, for example, a system program for executing various controls of the machine.

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

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

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

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

サーボモータ50は、サーボアンプ17により駆動されて機械の動作軸を動かす。サーボモータ50は、典型的には位置・速度検出器を内蔵する。位置・速度検出器は位置・速度フィードバック信号を出力し、この信号が軸制御回路16にフィードバックされることで、位置・速度のフィードバック制御が行われる。 A servo motor 50 is driven by the servo amplifier 17 to move the motion axis of the machine. The servomotor 50 typically incorporates a position/speed detector. The position/velocity detector outputs a position/velocity feedback signal, which 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.

入出力装置60は、ディスプレイやハードウェアキー等を備えたデータ入出力装置であり、典型的にはMDI又は操作盤である。入出力装置60は、インタフェース18を介してCPU11から受けた情報をディスプレイに表示する。入出力装置60は、ハードウェアキー等から入力された指令やデータ等をインタフェース18を介してCPU11に渡す。 The input/output device 60 is a data input/output device having a display, hardware keys, etc., 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 the display. The input/output device 60 passes commands, data, and the like input from hardware keys and the like to the CPU 11 via the interface 18 .

計測装置70は、典型的にはサーボモータ50によって移動する計測用プローブを備え、計測用プローブを加工後のワークの計測点に接触させたときの座標値を検出することにより、加工後のワークの形状を測定する。計測装置70が出力する情報は、インタフェース19を介してCPU11に渡される。 The measuring device 70 typically includes a measuring probe that is moved by a servomotor 50, and detects coordinate values when the measuring probe is brought into contact with a measuring point on the machined workpiece to determine the position of the machined workpiece. to measure the shape of 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 showing a characteristic functional configuration of the numerical controller 1. As shown in FIG. A typical numerical controller 1 has 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. 11 and 12. FIG.

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

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

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

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

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

なお、数値制御装置1によっては、形状に関するオフセット及び摩耗に関するオフセットの2つのオフセットを設定できることがある。この場合、形状に関するオフセットは工具の個体差を補正するため、摩耗に関するオフセットは加工を何度も行うことにより発生した工具摩耗を補正する為に使用される。このような数値制御装置1においては、加工工具特定部103は、摩耗に関するオフセットを反映先とする。例えば摩耗前の(理想の)工具径をRとし、摩耗により減少した径をrとして持つことにより、加工時には実際の工具径R’=R-rを利用する。一方、オフセットが形状/摩耗で分かれていないオプション構成の場合には、加工工具特定部103は、形状に関するオフセットを反映先とする。例えば実際の工具径R’を持っておき、摩耗による減少分を随時R’に反映する。 It should be noted that depending on the numerical control device 1, two offsets, an offset related to shape and an offset related to wear, may be set. In this case, the shape-related offset is used to compensate for individual differences in tools, and the wear-related offset is used to compensate for tool wear caused by repeated machining. In such a numerical control device 1, the machining tool specifying unit 103 uses an offset related to wear as a reflection destination. For example, by setting the (ideal) tool diameter before wear 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 an optional configuration in which the offset is not divided by shape/wear, the processing tool specifying unit 103 makes the offset regarding the shape the reflection destination. For example, an actual tool diameter R' is held, and the decrease due to wear is reflected in R' at any time.

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

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

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

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

(3)計測プログラムの挿入
上記(2)で作成した加工プログラムに、加工後のワークを計測するための計測プログラムを挿入する。図10は、加工プログラムに挿入された計測プログラムの一例を示す図であり、G2040がマクロ指令化された計測プログラムである。このうち太線で囲われた部分(引数)は、従来の計測プログラムでは入力が必要であったが、本実施の形態においては入力が不要となる情報を示している。従来は、計測結果の反映先を示すための工具オフセット箇所(工具オフセット番号及び種類)を入力することが必要であった。なお、A50.B100.・・・等は計測条件(計測時の移動速度、アプローチ距離等)を示す引数である。
(3) Insertion of measurement program A measurement program for measuring the workpiece 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, in which G2040 is a macro-commanded measurement program. Of these, the part (argument) surrounded by a thick line indicates information that was required to be input in the conventional measurement program, but does not need to be input in the present embodiment. Conventionally, it was necessary to input a tool offset location (tool offset number and type) for indicating the reflection destination of the measurement result. In addition, A50. B100. . . , etc. are arguments indicating measurement conditions (moving speed, approach distance, etc. during measurement).

(4)加工プログラムの運転
オペレータは加工を行うために加工プログラムを実運転する。同時に、数値制御装置1は、上記加工プログラムによるシミュレーションの実行を開始する。
(4) Operation of Machining Program The operator actually runs 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 Prior to actual operation, the numerical controller 1 executes a measurement program in machining simulation. At this time, the machining tool specifying unit 103 obtains the reflection destination (tool offset number and type) of the measurement result through the series of processes described above, and temporarily stores it in the memory.

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

本実施の形態によれば、数値制御装置1が計測結果の反映先を自動的に識別するので、オペレータが手動で反映先を設定することにともなう作業負荷を軽減できる。 According to the present embodiment, the numerical controller 1 automatically identifies the reflection destination of the measurement result, so that the operator can reduce the workload associated with 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 controller 11 CPU
12 ROMs
13 RAM
14 nonvolatile 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 the measurement result of the workpiece after machining to the tool offset value of the tool,
a machining simulation unit that executes a machining simulation and associates a contact point at which the tool and the workpiece 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;
The tool offset type and the tool offset number associated with the contact point between the tool and the workpiece in the machining simulation corresponding to the contact position between the measurement probe and the workpiece after machining as the reflection destination of the measurement result. a machining tool identification unit to be determined;
and a reflection unit that reflects the measurement result in 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 contact,
The machining tool specifying unit selects one face based on the surface of the tool associated with the contact point between the tool and the workpiece in the machining simulation corresponding to the position at which the measurement probe and the workpiece after machining are in contact. A tool offset type is selected, a tool offset number associated with the contact point is selected, and the tool offset type and the tool offset number are determined as the reflection destination of the measurement result. 2. Numerical controller according to 1.
前記加工工具特定部は、前記工具の底面がワークに接触している場合は、前記工具オフセット番号の工具長種類を反映先とし、前記工具の円筒面がワークに接触している場合は、前記工具オフセット番号の工具径種類を反映先とすることを特徴とする
請求項1記載の数値制御装置。
When the bottom surface of the tool is in contact with the work, the machining tool identification unit uses the tool length type of the tool offset number as a reflection destination, and when the cylindrical surface of the tool is in contact with the work, the 2. The numerical controller according to claim 1 , wherein the tool radius type of the tool offset number is used as a reflection destination.
前記加工シミュレーション部は、前記工具の工具長方向のベクトルと、前記接触点における前記ワークの垂直ベクトルと、が略平行であれば、前記工具の底面がワークに接触したと判定することを特徴とする
請求項1記載の数値制御装置。
The machining simulation unit determines that the bottom surface of the tool is in contact with the workpiece when a vector of the tool in the tool length direction and a vertical vector of the workpiece at the contact point are substantially parallel. The numerical controller according to claim 1.
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 JP2020057320A (en) 2020-04-09
JP7184588B2 true 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)

Families Citing this family (1)

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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511454A (en) 2004-09-01 2008-04-17 レニショウ パブリック リミテッド カンパニー Machine tool method
JP2019067290A (en) 2017-10-04 2019-04-25 ファナック株式会社 Numerical control device

Family Cites Families (2)

* 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511454A (en) 2004-09-01 2008-04-17 レニショウ パブリック リミテッド カンパニー Machine tool method
JP2019067290A (en) 2017-10-04 2019-04-25 ファナック株式会社 Numerical control device

Also Published As

Publication number Publication date
JP2020057320A (en) 2020-04-09

Similar Documents

Publication Publication Date Title
JP5845212B2 (en) Deburring device with visual sensor and force sensor
US8155789B2 (en) Device, method, program and recording medium for robot offline programming
JP4689745B2 (en) Tool vector display device for machine tools
JP4920785B2 (en) Numerical control method and apparatus
JP5543534B2 (en) Numerical control device with program restart function
EP2098931A2 (en) Numerical controller controlling five-axis processing machine
JP2020128009A (en) Method for controlling robot
US10423145B2 (en) Numerical controller capable of changing machining condition in accordance with machining information
US20190266296A1 (en) Machining simulation device of machine tool
US20140309766A1 (en) Numerical Controller
JP2019188558A (en) Tool selection device and machine learning device
EP2898984A1 (en) Interface system of industrial machine
US11131979B2 (en) Numerical control device and numerical control method
JP2019117477A (en) Link information generation device, link information generation method, and link information generation program
JP2021059012A (en) Information processing device, information processing method and robot system
US20170139403A1 (en) Numerical control system coordinating with tool catalog database
JP7184588B2 (en) Numerical controller
JP2015134407A (en) Visual sensor and deburring device provided with force sensor
WO2004074953A1 (en) Numerically controlled device
US10162335B2 (en) Numerical controller capable of neighboring point search with consideration for tool attitude
US10365629B2 (en) Numerical controller and movement control method for tool that maximizes synthetic movement velocity in a cutting feed by rotating the table to a selected angle
KR20070068797A (en) Automation processing method for propeller
JP6490118B2 (en) Numerical controller
JP6254965B2 (en) Numerical control device with tool compensation function in skiving
KR102336216B1 (en) Apparatus for displaying manufacturing time of machine tool

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