JP2007326174A - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
JP2007326174A
JP2007326174A JP2006159020A JP2006159020A JP2007326174A JP 2007326174 A JP2007326174 A JP 2007326174A JP 2006159020 A JP2006159020 A JP 2006159020A JP 2006159020 A JP2006159020 A JP 2006159020A JP 2007326174 A JP2007326174 A JP 2007326174A
Authority
JP
Japan
Prior art keywords
tool
offset amount
numerical control
tool length
update information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006159020A
Other languages
Japanese (ja)
Inventor
Takahisa Tanaka
貴久 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2006159020A priority Critical patent/JP2007326174A/en
Publication of JP2007326174A publication Critical patent/JP2007326174A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)
  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a numerical control device which reduces a working amount of a set-up work by an operator prior to processing a workpiece with a numerical control machine tool. <P>SOLUTION: When a numerical control device 120 controlling actions of a numerical control machine tool for machining a workpiece by separately using a plurality of kinds of tools is constituted, identification data 1 for each tool, a tool length offset quantity 3 for each tool, tool update information 5 set for each tool and indicating whether the tool is newly registered, and offset quantity update information 7 indicating whether the tool length offset quantity is newly inputted, are stored in a storage part 50. A measuring and verifying control part 75 for selecting a tool whose tool length offset quantity is not measured or a tool whose tool length correction quantity is not verified, on the basis of the identification data, the tool update information or the offset update information, and mounting the tool to a predetermined portion of the numerical control tool machine and moving it to a reference point is provided. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、数値制御工作機械に用いられる数値制御装置に関するものである。   The present invention relates to a numerical control device used for a numerically controlled machine tool.

数値制御装置によって動作を制御されてワークを所定形状に加工する数値制御工作機械は、今日、種々の物品の製造に利用されている。この数値制御工作機械では、1つのワークを所定形状の製品または中間製品に加工する際に複数種の工具が使い分けられており、工具の交換等、様々な動作が数値制御装置により自動化されている。   A numerically controlled machine tool whose operation is controlled by a numerical control device to process a workpiece into a predetermined shape is now used for manufacturing various articles. In this numerically controlled machine tool, multiple types of tools are used properly when machining a workpiece into a product of a predetermined shape or an intermediate product, and various operations such as tool replacement are automated by a numerical control device. .

例えば、数値制御工作機械を制御するためのプログラムの作成時に想定していた基準工具の長さとは異なる長さの工具を用いて数値制御工作機械がワークを加工する際には、加工に先だって当該工具の長さ(以下、「工具長」という。)についてのオフセット量を求め、このオフセット量(以下、「工具長オフセット量」という。)に応じてワーク座標系の原点の位置を補正する工具長補正が行われるわけであるが、工具長オフセット量の測定や工具長補正を自動化した数値制御工作機械も開発されている。   For example, when a numerically controlled machine tool processes a workpiece using a tool whose length is different from the length of the reference tool assumed when creating a program for controlling the numerically controlled machine tool, A tool that calculates an offset amount for a tool length (hereinafter referred to as “tool length”) and corrects the position of the origin of the workpiece coordinate system in accordance with the offset amount (hereinafter referred to as “tool length offset amount”). Although length compensation is performed, numerically controlled machine tools that have automated tool length offset measurement and tool length compensation have been developed.

ただし、工具長オフセット量の測定を自動化した数値制御工作機械は高価であるので、当該工具長オフセット量の測定を手作業で行う数値制御工作機械も広く用いられている。工具長オフセット量の測定を手作業で行った場合でも工具長補正自体は数値制御装置により行われるが、一般には、この工具長補正が行われた後に数値制御工作機械のオペレータがゲージを用いて実際の工具長補正量を測定し、検証している。   However, since numerically controlled machine tools that automate the measurement of the tool length offset amount are expensive, numerically controlled machine tools that manually measure the tool length offset amount are also widely used. Even when the measurement of the tool length offset is performed manually, the tool length correction itself is performed by a numerical controller, but in general, the operator of the numerically controlled machine tool uses a gauge after the tool length correction is performed. The actual tool length compensation amount is measured and verified.

数値制御装置による数値制御工作機械の動作制御が多岐に亘ることから、通常は、ユーザの便宜を図るために、数値制御装置から数値制御工作機械への指令の内容が当該数値制御装置に付設された表示部に表示される。例えば特許文献1には、座標系設定時に、座標系設定指示値から工具長補正量を減算した値をZ軸実行レジスタに格納すると共に数値制御プログラムのZ軸指令値を補正しないままZ軸指令レジスタに入力することによって、数値制御工作機械へのZ軸指令値と操作パネルに表示されるZ軸指示値とを一致させた数値制御装置が記載されている。   Since the operation control of a numerically controlled machine tool by a numerical control device is diverse, normally, for the convenience of the user, the contents of commands from the numerically controlled device to the numerically controlled machine tool are attached to the numerically controlled device. Displayed on the display. For example, in Patent Document 1, when a coordinate system is set, a value obtained by subtracting the tool length correction amount from the coordinate system setting instruction value is stored in the Z-axis execution register, and the Z-axis command is not corrected while correcting the Z-axis command value of the numerical control program. A numerical control device is described in which a Z-axis command value for a numerically controlled machine tool is matched with a Z-axis command value displayed on an operation panel by inputting the value into a register.

特開昭63−278742号公報JP-A 63-278742

しかしながら、工具長オフセット量の測定を自動化しているか否かに拘わらず、従来の数値制御装置では、ワークの加工に使用する複数の工具の中から工具長オフセット量の測定が必要な工具、すなわち工具長オフセット量が未だ測定されていない工具を自動的に選別することはできない。このため、当該工具の選別は、装置制御装置や数値制御工作機械を操作するオペレータが行っている。同様に、工具長オフセット量の測定を手作業で行ったときに工具長補正量の検証が必要な工具の選別も、オペレータが行っている。このため、数値制御工作機械によりワークを加工するにあたってオペレータが行わなければならない段取り作業の作業量は比較的多く、当該段取り作業には大きな労力を要する。   However, regardless of whether or not the measurement of the tool length offset amount is automated, in the conventional numerical control device, a tool that requires measurement of the tool length offset amount among a plurality of tools used for machining a workpiece, that is, It is not possible to automatically select a tool whose tool length offset amount has not yet been measured. For this reason, the selection of the tool is performed by an operator who operates the apparatus control device and the numerical control machine tool. Similarly, when the tool length offset amount is measured manually, the operator also selects a tool that requires verification of the tool length correction amount. For this reason, the amount of setup work that must be performed by an operator when machining a workpiece with a numerically controlled machine tool is relatively large, and the setup work requires a large amount of labor.

この発明は上記に鑑みてなされたものであり、数値制御工作機械によりワークを加工するのに先だってオペレータが行わなければならない段取り作業の作業量を軽減させることができる数値制御装置を得ることを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to obtain a numerical control device capable of reducing the amount of setup work that an operator must perform prior to processing a workpiece with a numerically controlled machine tool. And

上記の目的を達成するこの発明の数値制御装置は、複数種の工具を使い分けてワークを所定形状に加工する数値制御工作機械の動作を制御する数値制御装置であって、複数種の工具毎に登録されて該工具を識別する識別データと、工具毎の工具長オフセット量と、数値制御工作機械および当該数値制御装置の動作を規定するプログラムとが格納されると共に、工具毎に設定されて該工具が新規に登録されたものであるか否を表す工具更新情報および工具長オフセット量が新規に入力されたものであるか否かを表すオフセット量更新情報の少なくとも一方が格納される記憶部と、識別データと工具更新情報とに基づいて工具長オフセット量の測定が済んでいない工具を選び出すか、または識別データとオフセット量更新情報とに基づいて工具長補正量の検証が済んでいない工具を選び出し、該選び出した工具を数値制御工作機械の所定箇所に装着させて、予め定められた工具長オフセット量測定用のレファレンス点または工具長補正量検証用のレファレンス点にまで移動させる測定・検証制御部と、を有することを特徴とするものである。   A numerical control device according to the present invention that achieves the above object is a numerical control device that controls the operation of a numerically controlled machine tool that uses a plurality of types of tools to process a workpiece into a predetermined shape. The registered identification data for identifying the tool, the tool length offset amount for each tool, and the program for defining the operation of the numerically controlled machine tool and the numerical control device are stored and set for each tool. A storage unit for storing at least one of tool update information indicating whether or not a tool is newly registered and offset amount update information indicating whether or not a tool length offset amount is newly input; Select a tool whose tool length offset amount has not been measured based on the identification data and tool update information, or select a tool length based on the identification data and offset amount update information. Select a tool that has not been verified for the correct amount, attach the selected tool to a predetermined location on the numerically controlled machine tool, and verify the reference point for measuring the tool length offset amount or verifying the tool length correction amount. And a measurement / verification control unit that moves to a reference point.

この発明の数値制御装置では、該数値制御装置が上述の測定・検証制御部を有していることから、複数種の工具の中から工具長オフセット量の測定が済んでいない工具および工具長補正量の検証が済んでいない工具の少なくとも一方が自動的に選別される。このため、オペレータは工具長オフセット量の測定が済んでいない工具または工具長補正量の検証が済んでいない工具を自ら選別することなく、工具長オフセット量の測定作業または工具長補正量の検証作業を進めることができる。したがって、この発明の数値制御装置によれば、数値制御工作機械によりワークを加工するのに先だってオペレータが行わなければならない段取り作業の作業量が軽減される。   In the numerical control device of the present invention, since the numerical control device has the above-described measurement / verification control unit, a tool whose tool length offset amount has not been measured from a plurality of types of tools and tool length correction. At least one of the tools whose quantity has not been verified is automatically selected. Therefore, the operator does not select a tool for which the tool length offset amount has not been measured or a tool for which the tool length correction amount has not been verified. Can proceed. Therefore, according to the numerical control device of the present invention, the amount of setup work that must be performed by the operator prior to machining the workpiece by the numerically controlled machine tool is reduced.

以下、この発明の数値制御装置の実施の形態について、図面を参照して詳細に説明する。なお、この発明は以下に説明する実施の形態に限定されるものではない。   Embodiments of a numerical control apparatus according to the present invention will be described below in detail with reference to the drawings. The present invention is not limited to the embodiments described below.

この発明の数値制御装置は、数値制御工作機械の動作を制御するものであり、当該数値制御装置によって動作を制御される数値制御工作機械としては、複数種の工具が収容されたマガジンと、当該数値制御工作機械への工具の装着および当該数値制御工作機械に装着された工具の交換を数値制御装置からの指令に応じて行う工具交換部とを備えているものが好ましい。   The numerical control device of the present invention controls the operation of the numerical control machine tool. The numerical control machine tool whose operation is controlled by the numerical control device includes a magazine containing a plurality of types of tools, It is preferable to include a tool changer that attaches the tool to the numerically controlled machine tool and replaces the tool attached to the numerically controlled machine tool in accordance with a command from the numerical control device.

図1は、この発明の数値制御装置および該数値制御装置によって動作を制御される数値制御工作機械それぞれの一例を概略的に示すブロック図である。同図に示す数値制御120は装置本体100を備えていると共に、該装置本体100に接続された入力部105および表示部110を備えており、装置本体100は、図示を省略した記憶部および制御部等を有している。一方、数値制御工作機械200は、ワークを実際に加工する加工部150と、複数種の工具が収容されたマガジン160と、数値制御装置120からの指令に応じてマガジン160から所定の工具を取り出して加工部150の所定箇所に装着する工具交換部170とを備えており、工具交換部170は加工部150に装着された工具の交換も行う。   FIG. 1 is a block diagram schematically showing an example of each of the numerical control device of the present invention and the numerically controlled machine tool whose operation is controlled by the numerical control device. The numerical control 120 shown in the figure includes an apparatus main body 100 and also includes an input unit 105 and a display unit 110 connected to the apparatus main body 100. The apparatus main body 100 includes a storage unit and a control (not shown). Part. On the other hand, the numerically controlled machine tool 200 takes out a predetermined tool from the magazine 160 in response to a command from the processing unit 150 that actually processes a workpiece, a magazine 160 that stores a plurality of types of tools, and a numerical controller 120. And a tool changer 170 attached to a predetermined portion of the machining unit 150, and the tool changer 170 also exchanges the tool attached to the machining unit 150.

数値制御工作機械200が数値制御装置120に制御されて工具を交換したときには、既に説明したように、当該工具の工具長オフセット量に応じて、工具長補正が行われる。数値制御装置120および数値制御工作機械200は、工具長オフセット量を自動的に測定する機能(以下、「長オフセット量自動測定機能」という。)を有しているものであってもよいし、長オフセット量自動測定機能を有していないものであってもよい。数値制御装置120および数値制御工作機械200が長オフセット量自動測定機能を有していないものであるときには、工具長オフセット量の測定をオペレータが手作業で行う。工具長補正量の検証は、長オフセット量自動測定機能を有している場合には省略することができ、長オフセット量自動測定機能を有していない場合はオペレータが手作業で行う。   When the numerically controlled machine tool 200 is controlled by the numerical controller 120 and the tool is replaced, as described above, the tool length correction is performed according to the tool length offset amount of the tool. The numerical control device 120 and the numerical control machine tool 200 may have a function of automatically measuring the tool length offset amount (hereinafter referred to as “long offset amount automatic measurement function”), The long offset amount automatic measurement function may not be provided. When the numerical control device 120 and the numerically controlled machine tool 200 do not have the long offset amount automatic measurement function, the operator manually measures the tool length offset amount. The verification of the tool length correction amount can be omitted when the long offset amount automatic measurement function is provided, and the operator manually performs the operation when the long offset amount automatic measurement function is not provided.

数値制御装置120および数値制御工作機械200が長オフセット量自動測定機能を有しているか否かに拘わらず、工具長オフセット量の測定が済んでいない工具の選別および工具長オフセット量測定用のレファレンス点への当該工具の移動は、数値制御装置120および数値制御工作機械200が自動的に行う。同様に、工具長補正量の検証が済んでいない工具の選別および工具長補正量測定用のレファレンス点への当該工具の移動は、数値制御装置120および数値制御工作機械200が自動的に行う。   Regardless of whether or not the numerical control device 120 and the numerical control machine tool 200 have a long offset amount automatic measurement function, a reference for selecting a tool that has not been measured for the tool length offset amount and for measuring the tool length offset amount. The numerical control device 120 and the numerical control machine tool 200 automatically perform movement of the tool to the point. Similarly, the numerical control device 120 and the numerically controlled machine tool 200 automatically perform selection of a tool whose tool length correction amount has not been verified and movement of the tool to the reference point for measuring the tool length correction amount.

このため、オペレータは、工具長オフセット量の測定が済んでいない工具や工具長補正量の検証が済んでいない工具を自ら選別しなくも、工具長オフセット量の測定作業や工具長補正量の検証作業を進めることができる。その結果として、数値制御装置120によれば、数値制御工作機械200によりワークを加工するのに先だってオペレータが行わなければならない段取り作業の作業量が軽減される。以下、このような技術的効果を奏する数値制御装置120の構成を詳述する。   For this reason, the operator does not select a tool for which the tool length offset amount has not been measured or a tool for which the tool length correction amount has not been verified, and the tool length offset amount can be measured and the tool length correction amount can be verified. Work can proceed. As a result, according to the numerical control device 120, the amount of setup work that must be performed by the operator before the workpiece is processed by the numerically controlled machine tool 200 is reduced. Hereinafter, the configuration of the numerical controller 120 that exhibits such technical effects will be described in detail.

図2は、図1に示した数値制御装置120の構成を概略的に示す機能ブロック図である。同図に示すように、数値制御装置120における装置本体100は、記憶部50、工具登録・変更部55、オフセット量登録・変更部60、パラメータ設定部65、プログラム修正部70、制御部80およびモード切替部85を有しており、この装置本体100には入力部105および表示部110が接続されている。   FIG. 2 is a functional block diagram schematically showing the configuration of the numerical controller 120 shown in FIG. As shown in the figure, the apparatus main body 100 in the numerical controller 120 includes a storage unit 50, a tool registration / change unit 55, an offset amount registration / change unit 60, a parameter setting unit 65, a program correction unit 70, a control unit 80, and the like. A mode switching unit 85 is provided, and an input unit 105 and a display unit 110 are connected to the apparatus main body 100.

装置本体100を構成する上記の記憶部50は、数値制御工作機械200(図1参照)の動作制御に用いられるデータやプログラムを格納するものであり、当該記憶部50は、不揮発性メモリからなる第1記憶部40と、揮発性メモリからなる第2記憶部45とを有している。   The storage unit 50 constituting the apparatus main body 100 stores data and programs used for operation control of the numerically controlled machine tool 200 (see FIG. 1), and the storage unit 50 includes a nonvolatile memory. It has the 1st memory | storage part 40 and the 2nd memory | storage part 45 which consists of volatile memory.

第1記憶部40には工具データ領域10とプログラム領域30とが設けられている。これらの領域のうちの工具データ領域10には、工具毎の識別データ1、工具毎の工具長オフセット量3、工具毎に設定されて該工具が新規に登録されたものであるか否かを表す工具更新情報5および工具毎に設定されて工具長オフセット量が新規に入力されたものであるか否かを表すオフセット量更新情報7等が格納されている。識別データ1としては、例えば数値データや品名に対応するデータ等が用いられ、工具長オフセット量3としては具体的な数値に対応するデータが用いられる。工具更新情報5やオフセット量更新情報7としては、例えばフラグ(変数)や、文字あるいはキャラクタに対応するデータが用いられる。   The first storage unit 40 is provided with a tool data area 10 and a program area 30. Of these areas, the tool data area 10 includes identification data 1 for each tool, tool length offset amount 3 for each tool, and whether or not the tool is newly registered for each tool. The tool update information 5 and the offset amount update information 7 that are set for each tool and that indicate whether or not the tool length offset amount is newly input are stored. As the identification data 1, for example, numerical data, data corresponding to the product name, or the like is used, and as the tool length offset amount 3, data corresponding to a specific numerical value is used. As the tool update information 5 and the offset amount update information 7, for example, flags (variables) and data corresponding to characters or characters are used.

また、プログラム領域30には、数値制御装置120および数値制御工作機械200(図1参照)それぞれの動作制御に用いられる加工プログラム25や、数値制御装置120の状態制御に用いられる状態制御プラグラム28(例えばラダープログラム)等が格納されており、加工プログラム25には、数値制御工作機械200の動作のうちでワークの加工に係る動作を規定するプログラム(図示せず。)と、工具長の測定や工具長補正量の検証に係る動作を規定する動作プログラム20とが含まれている。そして、動作プログラム20には、該動作プログラム20中のパラメータの設定に係るプログラム11(図2では「パラメータの設定11」と表記)、ワーク座標系の設定に係るプログラム13(図2では「座標系の設定13」と表記)、オフセット量の測定に係るプログラム15(図2では「オフセット量の測定15」と表記)、工具長補正に係るプログラム17(図2では「工具長補正17」と表記)および補正量の検証に係るプログラム19(図2では「補正量の検証19」と表記)等が含まれている。   The program area 30 includes a machining program 25 used for operation control of each of the numerical control device 120 and the numerical control machine tool 200 (see FIG. 1), and a state control program 28 (used for state control of the numerical control device 120). For example, a ladder program) is stored, and the machining program 25 includes a program (not shown) that defines operations related to workpiece machining among the operations of the numerically controlled machine tool 200, tool length measurement, An operation program 20 that defines an operation related to verification of the tool length correction amount is included. The operation program 20 includes a program 11 related to the parameter setting in the operation program 20 (indicated as “parameter setting 11” in FIG. 2), and a program 13 related to the work coordinate system setting (“coordinate” in FIG. 2). System setting 13 ”), a program 15 relating to the offset measurement (indicated as“ offset amount measurement 15 ”in FIG. 2), and a program 17 relating to tool length compensation (“ tool length compensation 17 ”in FIG. 2). Notation) and a program 19 related to verification of the correction amount (indicated as “correction amount verification 19” in FIG. 2) and the like.

一方、第2記憶部45には、数値制御装置120の動作モードを規定する情報が格納されている。図示の例では、後述する測定・検証制御部75による制御の下での動作モードである工具確認モードに対応した工具確認モードフラグ42と、動作プログラム20を起動させる動作モードである自動起動モードに対応した自動起動モードフラグ43とが格納されている。或るモードが指定されると、該モードに対応したフラグが所定の値、例えば「1」になって当該モードが指定されたことを表し、他のモードに対応したフラグは所定の値、例えば「0」になって当該モードが指定されていないことを表す。   On the other hand, the second storage unit 45 stores information that defines the operation mode of the numerical controller 120. In the illustrated example, a tool confirmation mode flag 42 corresponding to a tool confirmation mode which is an operation mode under the control of the measurement / verification control unit 75 described later, and an automatic activation mode which is an operation mode for activating the operation program 20 are set. A corresponding automatic start mode flag 43 is stored. When a certain mode is specified, a flag corresponding to the mode becomes a predetermined value, for example, “1”, indicating that the mode is specified, and a flag corresponding to another mode has a predetermined value, for example, “0” indicates that the mode is not designated.

工具登録・変更部55は、入力部105から入力されたデータに基づいて、記憶部50への新たな工具の識別データ1の登録(格納)、あるいは記憶部50に既に登録(格納)されている識別データ1の変更を行う。また、オフセット量登録・変更部60は、入力部105から入力されたデータに基づいて、記憶部50への新たな工具長オフセット量3の登録(格納)、あるいは記憶部50に既に登録(格納)されている工具長オフセット量3の変更を行う。   Based on the data input from the input unit 105, the tool registration / change unit 55 registers (stores) new tool identification data 1 in the storage unit 50 or has already been registered (stored) in the storage unit 50. The identification data 1 that is present is changed. Further, the offset amount registration / change unit 60 registers (stores) a new tool length offset amount 3 in the storage unit 50 based on the data input from the input unit 105 or already registers (stores) it in the storage unit 50. The tool length offset amount 3 is changed.

パラメータ設定部65は、入力部105から入力されたデータに基づき、動作プログラム20に予め組み込まれている所定のシステム変数にパラメータを設定する。プログラム修正部70は、動作プログラム20の内容を数値制御工作機械200(図1参照)の構成や性能等に応じてユーザが変更することを可能にするものであり、入力部105から入力されたデータに基づいて動作プログラム20を修正する。   The parameter setting unit 65 sets a parameter for a predetermined system variable incorporated in advance in the operation program 20 based on the data input from the input unit 105. The program correction unit 70 allows the user to change the contents of the operation program 20 in accordance with the configuration, performance, and the like of the numerically controlled machine tool 200 (see FIG. 1), and is input from the input unit 105. The operation program 20 is corrected based on the data.

制御部80は、記憶部50に格納されているデータやプログラムに基づいて数値制御装置120の動作や数値制御工作機械200を動作制御するものであり、上述した工具登録・変更部55、オフセット量登録・変更部60、パラメータ設定部65およびプログラム修正部70、ならびに後述するモード切替部85も当該制御部80により動作制御される。この制御部80は、以下に説明する加工制御部73、測定・検証制御部75および表示制御部77を含んでいる。   The control unit 80 controls the operation of the numerical control device 120 and the numerical control machine tool 200 based on data and programs stored in the storage unit 50. The tool registration / change unit 55, the offset amount described above, and the like. The operation of the registration / change unit 60, the parameter setting unit 65, the program correction unit 70, and the mode switching unit 85 described later is also controlled by the control unit 80. The control unit 80 includes a processing control unit 73, a measurement / verification control unit 75, and a display control unit 77 described below.

上記の加工制御部73は、数値制御装置120の動作モードが工具確認モードではないときに動作して、加工プログラム25のうちでワークの加工に係る動作を規定しているプログラムに基づき、数値制御工作機械200(図1参照)の動作を制御する。   The machining control unit 73 operates when the operation mode of the numerical control device 120 is not the tool confirmation mode, and numerical control is performed based on a program that defines an operation related to machining of the workpiece in the machining program 25. The operation of the machine tool 200 (see FIG. 1) is controlled.

測定・検証制御部75は、数値制御装置120の動作モードが工具確認モードになった後に当該工具確認モードのまま更に自動起動モードになったときに動作を開始して、工具長オフセット量の測定が済んでいない工具を選別して当該工具を工具長オフセット量測定用のレファレンス点に移動させ、さらに、工具長補正量の検証が済んでいない工具を選別して当該工具を工具長補正量検証用のレファレンス点に移動させる。測定・検証制御部75による数値制御工作機械200の動作制御の詳細については後述する。   The measurement / verification control unit 75 starts the operation when the operation mode of the numerical control device 120 is changed to the tool check mode and then further enters the automatic start mode in the tool check mode, and measures the tool length offset amount. Select a tool that has not been checked, move the tool to the reference point for measuring the tool length offset amount, select a tool that has not been verified for tool length correction amount, and verify the tool length correction amount Move to the reference point for Details of operation control of the numerically controlled machine tool 200 by the measurement / verification control unit 75 will be described later.

制御部80を構成している表示制御部77は、記憶部50に格納された所定の表示プログラム(図示せず。)に基づいて表示部110の動作を制御して、該表示部110に工具データの管理画面や、工具更新情報5およびオフセット量更新情報7それぞれの内容、動作プログラム20中のシステム変数にパラメータを設定するための画面、動作プログラム20を修正するための画面等を表示させる。   The display control unit 77 constituting the control unit 80 controls the operation of the display unit 110 based on a predetermined display program (not shown) stored in the storage unit 50, and causes the display unit 110 to have a tool. A data management screen, the contents of each of the tool update information 5 and the offset amount update information 7, a screen for setting parameters in the system variables in the operation program 20, a screen for correcting the operation program 20, and the like are displayed.

モード切替部85は、制御部80により動作を制御されて、工具確認モードまたは自動起動モードへの切り替えを指示するモード切替指示信号の入力の有無の確認動作を一定周期(例えば十ミリ秒〜数十ミリ秒周期)で繰り返し行う。ただし、状態制御プログラム28の制御の下で制御部80がモード切替部85の動作を認めないときには、次の動作周期まで動作を休止する。制御部80により動作を許可され、かつモード切替指示信号の入力があったときには、制御部80に当該モード切替指示信号の入力があったことを伝えると共に、第2記憶部45に格納されている工具確認モードフラグ42および自動記号モードフラグ43のうちで上記のモード切替指示信号に対応するモードフラグの値を当該動作モードが指示されたことを表す値に変更する。   The mode switching unit 85 is controlled by the control unit 80 to perform a confirmation operation for checking whether or not a mode switching instruction signal is input to instruct switching to the tool confirmation mode or the automatic activation mode at a certain period (for example, 10 milliseconds to several milliseconds). Repeat every 10 milliseconds). However, when the control unit 80 does not recognize the operation of the mode switching unit 85 under the control of the state control program 28, the operation is suspended until the next operation cycle. When the operation is permitted by the control unit 80 and a mode switching instruction signal is input, the control unit 80 is notified that the mode switching instruction signal has been input and is stored in the second storage unit 45. Of the tool confirmation mode flag 42 and the automatic symbol mode flag 43, the value of the mode flag corresponding to the mode switching instruction signal is changed to a value indicating that the operation mode is instructed.

数値制御装置120の現在の動作モードをオペレータが誤認することがないように、モード切替部85によるモード切り替えの結果は、表示部110に例えば所定の文字やキャラクタ等を表示させたり、装置本体100に付設された所定のランプ(図示せず。)を点灯させたり等して、オペレータに報知することが好ましい。モード切り替えの結果の表示に係る動作は、例えば制御部80によって制御される。   As a result of mode switching by the mode switching unit 85, for example, a predetermined character or character is displayed on the display unit 110, or the apparatus main body 100 is displayed so that the operator does not mistake the current operation mode of the numerical control device 120. It is preferable to notify the operator by lighting a predetermined lamp (not shown) attached to the operator. The operation related to the display of the result of the mode switching is controlled by the control unit 80, for example.

一方、入力部105は有線または無線によって装置本体100に接続されており、記憶部50に登録(格納)すべき工具毎の識別データや工具毎の工具長オフセット量等のデータの入力や、装置本体100への種々の指示の入力、例えば起動、フィードホールド、シングルブロック、オーバーライド、リセット、動作モード等の指示の入力等に使用される。この入力部105の具体例としては操作パネルや管理端末等が挙げられる。   On the other hand, the input unit 105 is connected to the apparatus main body 100 by wire or wirelessly, and inputs identification data for each tool to be registered (stored) in the storage unit 50, data such as a tool length offset amount for each tool, It is used for inputting various instructions to the main body 100, for example, inputting instructions such as activation, feed hold, single block, override, reset, and operation mode. Specific examples of the input unit 105 include an operation panel and a management terminal.

なお、入力部105を無線によって装置本体100に接続する場合には、装置本体100に送受信処理部が更に設けられる。入力部105によるデータや指示等の入力は、送受信処理部を介して工具登録・変更部55、オフセット量登録・変更部60、パラメータ設定部65、プログラム修正部70、制御部80またはモード切替部85に伝えられる。   When the input unit 105 is connected to the apparatus main body 100 wirelessly, the apparatus main body 100 is further provided with a transmission / reception processing unit. Input of data and instructions by the input unit 105 is performed via a transmission / reception processing unit, such as a tool registration / change unit 55, an offset amount registration / change unit 60, a parameter setting unit 65, a program correction unit 70, a control unit 80, or a mode switching unit. 85.

表示部110は、表示制御部77によって動作を制御されて、工具データの管理画面や、工具更新情報5およびオフセット量更新情報7それぞれの内容、動作プログラム20中のシステム変数にパラメータを設定するための画面、動作プログラム20を修正するための画面、あるいは数値制御工作機械200(図1参照)の運転状況等を表示する。   The display unit 110 is controlled by the display control unit 77 to set parameters in the tool data management screen, the contents of the tool update information 5 and the offset amount update information 7, and system variables in the operation program 20. Screen, a screen for correcting the operation program 20, or the operating status of the numerically controlled machine tool 200 (see FIG. 1).

上述した構成を有する数値制御装置120により数値制御工作機械200(図1参照)の動作を制御してワークから所望の製品または中間製品を製造するにあたっては、まず、従来と同様に工具データの入力、工具長オフセット量の測定および工具長補正量の検証の順番で段取り作業が行われる。   In manufacturing a desired product or intermediate product from a workpiece by controlling the operation of the numerically controlled machine tool 200 (see FIG. 1) by the numerical controller 120 having the above-described configuration, first, tool data is input as in the conventional case. The setup work is performed in the order of measurement of the tool length offset amount and verification of the tool length correction amount.

ただし、工具長オフセット量の測定が済んでいない工具の選別および工具長オフセット量測定用のレファレンス点への当該工具の移動は、既に説明したように、数値制御装置120および数値制御工作機械200が自動的に行う。同様に、工具長補正量の検証が済んでいない工具の選別および工具長補正量測定用のレファレンス点への当該工具の移動は、数値制御装置120および数値制御工作機械200が自動的に行う。ワークの加工は、段取り作業が終了した後に開始される。   However, as described above, the selection of a tool for which the measurement of the tool length offset amount has not been completed and the movement of the tool to the reference point for measuring the tool length offset amount are performed by the numerical control device 120 and the numerical control machine tool 200. Do it automatically. Similarly, the numerical control device 120 and the numerically controlled machine tool 200 automatically perform selection of a tool whose tool length correction amount has not been verified and movement of the tool to the reference point for measuring the tool length correction amount. Machining of the workpiece is started after the setup work is completed.

以下、図1または図2で用いた参照符号を適宜引用して、段取り作業で行われる各工程、すなわち工具データ入力工程、工具長オフセット量測定工程および工具長補正量検証工程の各々について詳述する。   Hereinafter, the reference numerals used in FIG. 1 or FIG. 2 will be referred to as appropriate, and each process performed in the setup operation, that is, each of the tool data input process, the tool length offset amount measurement process, and the tool length correction amount verification process will be described in detail. To do.

(工具データ入力工程)
工具データ入力工程では、ワークの加工に使用する複数種の工具それぞれについて、その識別データや工具長オフセット量等をツーリングリスト等に基づいて入力部105から記憶部50に入力する。このとき、工具長オフセット量を未だ測定していない工具については、工具長オフセット量の入力が省略される。また、工具データの入力とは別に、数値制御工作機械200を構成しているマガジン160(図1参照)中の各ポットに所定の工具を収容する。これらの作業はオペレータにより行われる。
(Tool data input process)
In the tool data input process, the identification data, the tool length offset amount, and the like are input from the input unit 105 to the storage unit 50 based on the tooling list or the like for each of a plurality of types of tools used for workpiece machining. At this time, the input of the tool length offset amount is omitted for a tool whose tool length offset amount has not yet been measured. In addition to inputting the tool data, a predetermined tool is accommodated in each pot in the magazine 160 (see FIG. 1) constituting the numerically controlled machine tool 200. These operations are performed by an operator.

図3は、上記の識別データや工具長オフセット量等の入力を終えた段階で表示部110に表示される工具データの管理画面の一例を示す概略図である。同図に示す管理画面115には、マガジン160でのポット番号、個々のポットに収容された工具についての識別データ1(図2参照)である工具番号、この工具番号に対応して設けられた補正番号および工具長オフセット量の各欄が設けられており、それぞれに所定のデータが表示されている。なお、上記の補正番号も識別データ1の1つである。   FIG. 3 is a schematic diagram illustrating an example of a tool data management screen displayed on the display unit 110 when input of the identification data and the tool length offset amount is completed. The management screen 115 shown in the figure is provided in correspondence with the pot number in the magazine 160, the tool number which is the identification data 1 (see FIG. 2) about the tool accommodated in each pot, and this tool number. Each column of a correction number and a tool length offset amount is provided, and predetermined data is displayed in each column. The correction number is also one of the identification data 1.

この管理画面115は、数値制御工作機械200によって或る製品または中間製品を製造した後に他の製品または中間製品を製造する際の管理画面であり、工具番号3,4,6,7の各工具のみが今回新たに採用され、残りの工具番号1,2,5,8,9,10の各工具は前回使用したものと同じである。新たに採用された工具番号3,4,6,7の各工具のうち、工具番号4の工具についてのみ、その工具長オフセット量が入力されている。また、工具番号1,2,8の各工具については、その工具長オフセット量がオペレータにより入力し直されている。工具番号5,9,10の各工具については、データの変更がない。   This management screen 115 is a management screen for manufacturing another product or intermediate product after manufacturing a certain product or intermediate product with the numerically controlled machine tool 200, and each tool of tool numbers 3, 4, 6, and 7 is used. Are newly adopted this time, and the remaining tools Nos. 1, 2, 5, 8, 9, and 10 are the same as those used last time. Among the newly adopted tools of tool numbers 3, 4, 6, and 7, the tool length offset amount is input only for the tool of tool number 4. Further, the tool length offset amount is re-entered by the operator for each of the tool numbers 1, 2, and 8. There is no data change for each of the tool numbers 5, 9, and 10.

今回新たに採用された工具番号3,4,6,7の各工具の工具更新情報5(図2参照)は、管理画面115上でその工具番号を入力または上書き入力することにより、新規に登録されたものであることを表す情報に自動的に設定される。また、今回工具長オフセット量が入力された工具番号1,2,4,8の各工具のオフセット量更新情報は、オフセット量が新規に入力されたものであることを表す情報に自動的に設置される。一方、データの変更がない工具番号5,9,10の各工具では、工具更新情報5は新規に登録されたものではないことを表す情報に、またオフセット量更新情報7は工具長オフセット量が新規に入力されたものではないことを表す情報になっている。   The tool update information 5 (see FIG. 2) for each of the tool numbers 3, 4, 6, and 7 newly adopted this time is newly registered by entering or overwriting the tool number on the management screen 115. It is automatically set to information indicating that it has been done. Also, the offset amount update information for each of the tool numbers 1, 2, 4 and 8 to which the tool length offset amount has been input this time is automatically set to information indicating that the offset amount has been newly input. Is done. On the other hand, for each of the tool numbers 5, 9, and 10 whose data is not changed, the tool update information 5 is information indicating that it is not newly registered, and the offset amount update information 7 includes the tool length offset amount. This is information indicating that it is not newly input.

図4は、図3に示した工具データの管理画面115での表示内容に対応する工具データの一例を一覧にして示す図表である。図示の例では、工具データ領域10(図2参照)でのメモリ番地と工具番号、補正番号が対応しており、工具番号1,2,5,8,9,10の各工具での工具更新情報はフラグ「0」、すなわち新規に登録されたものではないことを表す情報に設定され、工具番号3,4,6,7の各工具での工具更新情報はフラグ「1」、すなわち、新規に登録されたものであることを表す情報に設定されている。また、工具番号1,2,4,8の各工具でのオフセット量更新情報はフラグ「1」、すなわち工具長オフセット量が新規に入力されたものであることを表す情報に設定され、工具番号3,5,6,7,9,10の各工具でのオフセット量更新情報がフラグ「0」、すなわち工具長オフセット量が新規に入力されたものではないことを表す情報に設定されている。   FIG. 4 is a chart showing a list of examples of tool data corresponding to the display contents on the tool data management screen 115 shown in FIG. In the illustrated example, the memory address in the tool data area 10 (see FIG. 2) corresponds to the tool number and the correction number, and the tool update is performed for each of the tool numbers 1, 2, 5, 8, 9, and 10. The information is set to a flag “0”, that is, information indicating that it is not newly registered, and the tool update information for each tool number 3, 4, 6, 7 is flag “1”, that is, new Is set to information indicating that it is registered. Also, the offset amount update information for each of the tool numbers 1, 2, 4 and 8 is set to the flag “1”, that is, information indicating that the tool length offset amount is newly input, and the tool number The offset amount update information for each of the tools 3, 5, 6, 7, 9, and 10 is set to flag “0”, that is, information indicating that the tool length offset amount is not newly input.

なお、ユーザにより任意に設定可能なシステム変数が動作プログラム20中に予め組み込まれている場合には、以下に説明する工具長オフセット量測定工程で工具長オフセット量の測定を開始する前に、パラメータ設定部65および入力部105により当該システム変数へのパラメータの設定を行う。   When system variables that can be arbitrarily set by the user are incorporated in the operation program 20 in advance, the parameters before starting the measurement of the tool length offset amount in the tool length offset amount measurement step described below will be described. A parameter is set to the system variable by the setting unit 65 and the input unit 105.

(工具長オフセット量測定工程)
工具長オフセット量測定工程では、測定・検証制御75(図2参照)により数値制御工作機械200の動作を制御して、工具長オフセット量の測定が済んでいない工具の選別および当該工具の工具長オフセット量測定用のレファレンス点への移動を行い、その後、当該工具の工具長オフセット量を自動または手作業で測定する。
(Tool length offset measurement process)
In the tool length offset amount measuring step, the operation of the numerically controlled machine tool 200 is controlled by the measurement / verification control 75 (see FIG. 2) to select a tool whose tool length offset amount has not been measured, and the tool length of the tool. After moving to the reference point for measuring the offset amount, the tool length offset amount of the tool is measured automatically or manually.

工具データ入力工程から当該工具長オフセット量測定工程に移行するにあたっては、入力部105から装置本体100に所定のモード切替指示信号を入力して、モード切替部85(図2参照)により数値制御装置120の動作モードを工具確認モードにし、次いで工具確認モードのまま自動起動モードにする。数値制御装置120の動作モードが工具確認モードになると測定・検証制御部75が動作プログラム20(図2参照)を読み込み、その後に工具確認モードのまま動作モードが自動起動モードに切り替えられると測定・検証制御部75が動作を開始する。   In shifting from the tool data input process to the tool length offset amount measuring process, a predetermined mode switching instruction signal is input from the input unit 105 to the apparatus main body 100, and the numerical control apparatus is operated by the mode switching unit 85 (see FIG. 2). The operation mode of 120 is set to the tool check mode, and then the automatic start mode is set in the tool check mode. When the operation mode of the numerical control device 120 becomes the tool confirmation mode, the measurement / verification control unit 75 reads the operation program 20 (see FIG. 2), and thereafter, when the operation mode is switched to the automatic activation mode while maintaining the tool confirmation mode, The verification control unit 75 starts operation.

動作を開始した測定・検証制御部75は、まず、工具データ領域10に格納されている識別データ1と工具更新情報3とオフセット量更新情報7(図2参照)とに基づいて、工具長オフセット量の測定が済んでいない工具に対応する識別データ1(工具番号または補正番号;図4参照)を選別する。すなわち工具更新情報がフラグ「1」に設定され、かつオフセット量更新情報がフラグ「0」に設定されている識別データ1を選び出す。   The measurement / verification control unit 75 that has started the operation first determines the tool length offset based on the identification data 1, the tool update information 3, and the offset amount update information 7 (see FIG. 2) stored in the tool data area 10. Identification data 1 (tool number or correction number; see FIG. 4) corresponding to a tool whose quantity has not been measured is selected. That is, the identification data 1 in which the tool update information is set to the flag “1” and the offset amount update information is set to the flag “0” is selected.

そして、工具長オフセット量の測定が済んでいない工具に対応する識別データ1を1つ選別するたび毎に、この識別データ1とオフセット量の測定に係るプログラム15(オフセット量の測定15;図2参照)とに基づいて数値制御工作機械200の動作を制御して、当該識別データ1に対応する工具をマガジン160(図1参照)のポットから取り出して数値制御工作機械200の所定箇所に装着させ、予め定められた工具長オフセット量測定用のレファレンス点に移動させる。   Each time one piece of identification data 1 corresponding to a tool whose tool length offset amount has not been measured is selected, the identification data 1 and the program 15 relating to the offset amount measurement (offset amount measurement 15; FIG. 2) The control of the numerical control machine tool 200 is controlled on the basis of the reference), and the tool corresponding to the identification data 1 is taken out from the pot of the magazine 160 (see FIG. 1) and is attached to a predetermined position of the numerical control machine tool 200. Then, it is moved to a reference point for measuring a predetermined tool length offset amount.

なお、図4に示す工具番号4の工具のように、工具更新情報のフラグとオフセット量更新情報のフラグとの両方が「1」に設定されている工具については、予め測定された正確な工具長オフセット量が入力されている可能性が高いので、工具長オフセット量の測定対象から外れるように測定・検証制御部75を構成することができる。   For a tool in which both the tool update information flag and the offset amount update information flag are set to “1”, such as the tool of tool number 4 shown in FIG. Since there is a high possibility that the long offset amount is input, the measurement / verification control unit 75 can be configured so as to be excluded from the measurement target of the tool length offset amount.

数値制御装置120および数値制御工作機械200の各々が長オフセット量自動測定機能を有しているものである場合には、上記のレファレンス点まで工具を移動させることにより当該工具の工具長オフセット量が数値制御装置120によって自動的に測定され、その結果が工具の識別データ1と対応付けされて記憶部50(図2参照)に格納される。また、数値制御装置120および数値制御工作機械200のいずれかが長オフセット量自動測定機能を有していないものである場合には、上記のレファレンス点まで工具が移動されてきてからオペレータが当該工具の工具長オフセット量を手作業で測定し、その結果を工具の識別データ1と対応付けして記憶部50に格納する。   When each of the numerical control device 120 and the numerical control machine tool 200 has the long offset amount automatic measurement function, the tool length offset amount of the tool is determined by moving the tool to the reference point. It is automatically measured by the numerical controller 120, and the result is stored in the storage unit 50 (see FIG. 2) in association with the tool identification data 1. When either the numerical control device 120 or the numerical control machine tool 200 does not have the long offset amount automatic measurement function, the operator moves the tool up to the reference point and then The tool length offset amount is measured manually, and the result is stored in the storage unit 50 in association with the tool identification data 1.

このようにして工具長オフセット量が記憶部50に格納されると、あるいは工具長オフセット量の測定が済んでいない工具に対応した識別データ1を測定・検証制御部75が選び出すと、当該工具の工具更新情報5(図2参照)は工具長オフセット量の測定が不要であることを表す情報、例えばフラグ「0」に自動的に設定される。なお、長オフセット量自動測定機能により工具長オフセット量を測定する場合には、この工具についての工具長補正量の検証を省略することができるので、所望の時期に当該工具のオフセット量更新情報7(図2参照)が所定の情報、すなわち工具長補正量の検証が不要であることを表す情報、例えばフラグ「0」に自動的に設定されるように、測定・検証制御部75が構成される。   When the tool length offset amount is stored in the storage unit 50 in this way, or when the measurement / verification control unit 75 selects identification data 1 corresponding to a tool whose tool length offset amount has not been measured, the tool length offset amount is selected. Tool update information 5 (see FIG. 2) is automatically set to information indicating that measurement of the tool length offset amount is unnecessary, for example, flag “0”. When the tool length offset amount is measured by the long offset amount automatic measurement function, verification of the tool length correction amount for this tool can be omitted, so that the offset amount update information 7 for the tool at a desired time. The measurement / verification control unit 75 is configured such that (see FIG. 2) is automatically set to predetermined information, that is, information indicating that verification of the tool length correction amount is unnecessary, for example, the flag “0”. The

図5は、長オフセット量自動測定機能を有している数値制御装置および数値制御工作機械によって工具長オフセット量を測定するときの工具の移動の一例を示す概略図である。同図に示す例では、数値制御工作機械を構成しているテーブル210上に接触センサー215が配置されている。ワークWはテーブル210上に配置される。   FIG. 5 is a schematic diagram showing an example of tool movement when measuring a tool length offset amount by a numerical control device having a long offset amount automatic measurement function and a numerically controlled machine tool. In the example shown in the figure, a contact sensor 215 is arranged on a table 210 constituting a numerically controlled machine tool. The work W is arranged on the table 210.

工具長オフセット量が測定される工具220は、ツールポジションTPにおいて数値制御工作機械の所定箇所(図示の例では主軸225の下端)に装着される。工具220が装着された主軸225は、工具長オフセット量測定用のレファレンス点RP1の上方にまで移動した後に下降する。工具220がレファレンス点RP1に達すると、すなわち工具220の先端が接触センサー215の上面に接するまで主軸225が下降すると、接触センサー215から所定の信号が測定・検証制御部75(図2参照)に送られ、当該信号を受信した測定・検証制御部75が主軸225の移動を停止させる。数値制御装置120は、接触センサー215の上面の機械座標と、工具215がレファレンス点RP1(接触センサー215の上面)に達した時点での主軸225の機械座標と、基準工具の長さとから工具長オフセット量OVを自動的に算出し、工具220の識別データに対応付けして記憶部50に格納する。 The tool 220 whose tool length offset amount is to be measured is mounted at a predetermined position of the numerically controlled machine tool (the lower end of the spindle 225 in the illustrated example) at the tool position TP. The spindle 225 on which the tool 220 is mounted moves down to above the reference point RP 1 for measuring the tool length offset amount and then descends. When the tool 220 reaches the reference point RP 1 , that is, when the spindle 225 descends until the tip of the tool 220 contacts the upper surface of the contact sensor 215, a predetermined signal is sent from the contact sensor 215 to the measurement / verification control unit 75 (see FIG. 2). The measurement / verification control unit 75 that has received the signal stops the movement of the spindle 225. The numerical control device 120 calculates the tool from the machine coordinates of the upper surface of the contact sensor 215, the machine coordinates of the spindle 225 when the tool 215 reaches the reference point RP 1 (upper surface of the contact sensor 215), and the length of the reference tool. The long offset amount OV is automatically calculated and stored in the storage unit 50 in association with the identification data of the tool 220.

(工具長補正量検証工程)
工具長補正量検証工程では、測定・検証制御75(図2参照)により数値制御工作機械200(図1参照)の動作を制御して、工具長補正量の検証が済んでいない工具の選別および当該工具の工具長補正量検証用のレファレンス点への移動を行い、その後、当該工具の工具長補正量を手作業で測定して検証する。
(Tool length compensation amount verification process)
In the tool length correction amount verification step, the operation of the numerically controlled machine tool 200 (see FIG. 1) is controlled by the measurement / verification control 75 (see FIG. 2) to select the tool whose tool length correction amount has not been verified. The tool is moved to a reference point for verifying the tool length correction amount, and then the tool length correction amount of the tool is manually measured and verified.

このとき、測定・検証制御部75は、工具データ領域10に格納されている識別データ1と工具更新情報3とオフセット量更新情報7(図2参照)とに基づいて、工具長補正量の検証が済んでいない工具に対応する識別データ1(工具番号または補正番号;図4参照)を選別する。すなわちオフセット量更新情報がフラグ「1」に設定されている識別データ1を選び出す。   At this time, the measurement / verification control unit 75 verifies the tool length correction amount based on the identification data 1, the tool update information 3, and the offset amount update information 7 (see FIG. 2) stored in the tool data area 10. Identification data 1 (tool number or correction number; see FIG. 4) corresponding to a tool that has not been completed is selected. That is, the identification data 1 whose offset amount update information is set to the flag “1” is selected.

そして、工具長補正量の検証が済んでいない工具に対応する識別データ1を1つ選別するたび毎に、この識別データ1に対応する工具長オフセット量3(図2参照)に基づいて数値制御工作機械200でのワーク座標系の原点の位置を変更すると共に、当該識別データ1と補正量の検証に係るプログラム19(補正量の検証19;図2参照)とに基づいて数値制御工作機械200の動作を制御して、上記の識別データ1に対応する工具をマガジン160(図1参照)のポットから取り出して数値制御工作機械200の所定箇所に装着させ、予め定められた工具長補正量検証用のレファレンス点にまで移動させる。オペレータは、工具が工具長補正量検証用のレファレンス点にまで移動した後に手動で工具長補正量を測定して検証する。   Each time one piece of identification data 1 corresponding to a tool whose tool length correction amount has not been verified is selected, numerical control is performed based on the tool length offset amount 3 (see FIG. 2) corresponding to the identification data 1. The position of the origin of the workpiece coordinate system on the machine tool 200 is changed, and the numerically controlled machine tool 200 is based on the identification data 1 and a program 19 for verifying the correction amount (correction amount verification 19; see FIG. 2). The tool corresponding to the identification data 1 is taken out from the pot of the magazine 160 (see FIG. 1) and mounted at a predetermined position of the numerically controlled machine tool 200, and a predetermined tool length correction amount verification is performed. Move to the reference point. The operator manually verifies the tool length correction amount after the tool has moved to the reference point for verifying the tool length correction amount.

なお、上述のようにして工具長補正量の検証が済んでいない工具に対応した識別データ1を測定・検証制御部75が選び出すと、当該工具のオフセット量更新情報5(図2参照)は工具長補正量の検証が不要であることを表す情報、例えばフラグ「0」に自動的に設定される。   When the measurement / verification control unit 75 selects identification data 1 corresponding to a tool whose tool length correction amount has not been verified as described above, the offset amount update information 5 (see FIG. 2) of the tool is Information indicating that verification of the length correction amount is unnecessary, for example, a flag “0” is automatically set.

図6は、工具長補正量を検証するときの工具の移動の一例を示す概略図である。同図に示す構成部材は全て図5を参照して既に説明しているので、これらの構成部材については図5で用いた参照符号と同じ参照符号を付してその説明を省略する。   FIG. 6 is a schematic diagram showing an example of tool movement when verifying the tool length correction amount. Since all the structural members shown in the figure have already been described with reference to FIG. 5, the same reference numerals as those used in FIG.

工具長補正量が検証される工具220は、ツールポジションTPにおいて数値制御工作機械の主軸225の下端に装着されて工具長補正量検証用のレファレンス点RP3の上方にまで移動した後に下降する。主軸225の移動は、工具220がレファレンス点RP3に達した時点、例えばワークWの上面から50mm上方の地点に工具220の先端が達したものと数値制御装置120(図2参照)が判断した時点で停止する。工具長補正量CVは、工具220の先端とワークWの上面との距離をオペレータがゲージ等を用いて手作業で測定することにより求められる。オペレータは、この測定値と前述した工具長オフセット量とを比較して、工具長補正が正しく行われているか否かを検証する。なお、既に説明したように、長オフセット量自動測定機能により工具長オフセット量を測定した場合には、工具長補正量検証工程を省略することができる。 Tool 220 the tool length compensation amount is verified, it descends after moving is mounted on the lower end of the numerical control machine tool spindle 225 in the tool position TP to above the reference point RP 3 in the tool length compensation amount for verification. The movement of the spindle 225 is determined by the numerical controller 120 (see FIG. 2) when the tool 220 reaches the reference point RP 3 , for example, when the tip of the tool 220 has reached a point 50 mm above the upper surface of the workpiece W. Stop at the moment. The tool length correction amount CV is obtained when the operator manually measures the distance between the tip of the tool 220 and the upper surface of the workpiece W using a gauge or the like. The operator compares this measured value with the above-described tool length offset amount to verify whether the tool length correction is performed correctly. As already described, when the tool length offset amount is measured by the long offset amount automatic measurement function, the tool length correction amount verification step can be omitted.

以上説明したように、数値制御装置120により数値制御工作機械200(図1参照)の動作を制御してワークから所望の製品または中間製品を製造するにあたっても、従来と同様に工具データの入力、工具長オフセット量の測定および工具長補正量の検証の順番で段取り作業が行われるものの、オペレータは、工具長オフセット量の測定が済んでいない工具や工具長補正量の検証が済んでいない工具を自ら選別しなくも、工具長オフセット量の測定作業や工具長補正量の検証作業を進めることができる。このため、数値制御装置120によれば、数値制御工作機械200によりワークを加工するのに先だってオペレータが行わなければならない段取り作業の作業量が軽減される。   As described above, when the desired product or intermediate product is manufactured from the workpiece by controlling the operation of the numerically controlled machine tool 200 (see FIG. 1) by the numerical control device 120, the tool data input, Although the setup work is performed in the order of measurement of the tool length offset amount and verification of the tool length correction amount, the operator selects a tool for which the tool length offset amount has not been measured or a tool for which the tool length correction amount has not been verified. Measurement work of the tool length offset amount and verification work of the tool length correction amount can be advanced without selecting by themselves. For this reason, according to the numerical control device 120, the amount of setup work that must be performed by the operator before the workpiece is processed by the numerically controlled machine tool 200 is reduced.

このような技術的効果を奏する数値制御装置120で用いられる動作プログラム20(図2参照)の仕様をどのようなものにするかは、適宜選定可能である。以下、動作プログラム20の基となるソースプログラムの一例を説明する。   The specifications of the operation program 20 (see FIG. 2) used in the numerical control device 120 that exhibits such technical effects can be appropriately selected. Hereinafter, an example of a source program that is the basis of the operation program 20 will be described.

図7は、数値制御装置120で用いられる動作プログラム20の基となるソースプログラムの一例を示す概略図である。同図に示すソースプログラム20Sは、数値制御装置120および数値制御工作機械200(図1参照)の各々が長オフセット量自動測定機能を有している場合および有していない場合のどちらであっても用いることができるものであり、システム変数#10000〜#10008をコモン変数に代入することでプログラムの内容が規定される。   FIG. 7 is a schematic diagram showing an example of a source program that is the basis of the operation program 20 used in the numerical controller 120. The source program 20S shown in the figure is either when the numerical control device 120 and the numerical control machine tool 200 (see FIG. 1) each have the long offset amount automatic measurement function or not. The contents of the program are defined by substituting system variables # 10000 to # 10008 into common variables.

システム変数#10000は工具長オフセット量を自動で測定するか否かについて定めたパラメータを呼び出すためのものであり、システム変数#10001は工具長補正量を検証するか否かについて定めたパラメータを呼び出すためのものである。工具長オフセット量を自動で測定した工具につては、工具長補正量の検証を省略することができる。   System variable # 10000 is used to call a parameter that specifies whether or not to automatically measure the tool length offset, and system variable # 10001 is used to call a parameter that specifies whether or not to verify the tool length compensation amount. Is for. For a tool whose tool length offset amount is automatically measured, verification of the tool length correction amount can be omitted.

また、システム変数#10004は工具交換指令を呼び出すためのものであり、システム変数#10005は予め定めた複数のワーク座標系の中からどのワーク座標系を使用するかを指定するパラメータを呼び出すためのものである。システム変数#10006は工具長補正量の検証位置(レファレンス点)について定めたパラメータを呼び出すためのものであり、システム変数#10007はプログラムエンド指令を呼び出すためのものである。そして、システム変数#10008は、工具長オフセット量の測定位置(レファレンス点)について定めたパラメータを呼び出すためのものである。   System variable # 10004 is used to call a tool change command, and system variable # 10005 is used to call a parameter that specifies which work coordinate system to use from a plurality of predetermined work coordinate systems. Is. System variable # 10006 is for calling a parameter defined for the verification position (reference point) of the tool length correction amount, and system variable # 10007 is for calling a program end command. System variable # 10008 is used to call a parameter defined for the measurement position (reference point) of the tool length offset amount.

なお、システム変数#10002は工具長オフセット量の測定が済んでいない工具の工具番号(補正番号)、システム変数#10003は工具長補正量の検証が済んでいない工具の工具番号(補正番号)であり、これらは測定・検証制御部75によって工具データ領域10(図2参照)から読み出されて動作プログラム20に格納される。また、システム変数#10002,#10003以外のシステム変数は、入力部105からの入力に基づいてパラメータ設定部65により設定される。   System variable # 10002 is the tool number (compensation number) of the tool for which the tool length offset amount has not been measured, and system variable # 10003 is the tool number (compensation number) of the tool whose tool length compensation amount has not been verified. These are read from the tool data area 10 (see FIG. 2) by the measurement / verification control unit 75 and stored in the operation program 20. Further, system variables other than system variables # 10002 and # 10003 are set by parameter setting unit 65 based on the input from input unit 105.

ソースプログラム20Sにおけるシーケンス番号N120〜N210の各ブロックは、工具長オフセット量の測定が済んでいない工具についてその工具長オフセット量を自動測定するためのものである。また、シーケンス番号N310〜N390の各ブロックは、工具長補正量の検証が済んでいない工具を工具長補正量検証用のレファレンス点にまで移動させるためのブロックであり、1つの工具を工具長補正量検証用のレファレンス点にまで移動させ終わった段階で数値制御装置120(測定・検証制御部75;図2参照)がブロック停止状態になるように組まれている。   Each block of sequence numbers N120 to N210 in the source program 20S is for automatically measuring the tool length offset amount of a tool for which the measurement of the tool length offset amount has not been completed. Each block of sequence numbers N310 to N390 is a block for moving a tool whose tool length correction amount has not been verified to the reference point for verifying the tool length correction amount. One tool is corrected for the tool length. The numerical control device 120 (measurement / verification control unit 75; see FIG. 2) is set to be in a block stop state after the movement to the reference point for quantity verification is completed.

上述の構成を有するソースプログラム20Sに基づいて工具長オフセット量を測定する際の制御装置120による数値制御工作機械200(図1参照)の動作制御と、ソースプログラム20に基づいて工具長補正量を検証する際の制御装置120による数値制御工作機械200(図1参照)の動作制御とは互いに類似している。以下では、図2で用いた参照符号を適宜引用しつつ、工具長補正量を検証する際の制御装置120による数値制御工作機械200の動作制御の具体例についてフローチャートを用いて詳述し、工具長オフセット量を測定する際の制御装置120による数値制御工作機械200の動作制御についてはその説明を省略する。   Operation control of the numerically controlled machine tool 200 (see FIG. 1) by the control device 120 when measuring the tool length offset amount based on the source program 20S having the above-described configuration, and the tool length correction amount based on the source program 20 The operation control of the numerically controlled machine tool 200 (see FIG. 1) by the control device 120 at the time of verification is similar to each other. In the following, a specific example of the operation control of the numerically controlled machine tool 200 by the control device 120 when verifying the tool length correction amount will be described in detail with reference to the flowchart shown in FIG. The description of the operation control of the numerically controlled machine tool 200 by the control device 120 when measuring the long offset amount will be omitted.

図8は、モード切替部85によって数値制御装置120の動作モードが工具確認モードに切り替えられるときの手順を示すフローチャートである。前述のように、モード切替部85はモード切替指示信号の入力の有無の確認動作を一定周期で繰り返し行うわけであるが、状態制御プログラム28の制御の下で制御部80(図2参照)がモード切替部85の動作を認めないときには、次の動作周期まで動作を休止する。   FIG. 8 is a flowchart illustrating a procedure when the operation mode of the numerical controller 120 is switched to the tool confirmation mode by the mode switching unit 85. As described above, the mode switching unit 85 repeatedly performs the operation of confirming whether or not the mode switching instruction signal has been input at a constant cycle. However, under the control of the state control program 28, the control unit 80 (see FIG. 2) When the operation of the mode switching unit 85 is not recognized, the operation is paused until the next operation cycle.

同図に示すステップS210でモード切替部85の動作が許可されると、モード切替部85はステップS212において工具確認モードへの切り替えを指示するモード切替指示信号が入力されているか否かを判断する。そして、工具確認モードへの切り替えを指示するモード切替指示信号が入力されていたときには、ステップS214において測定・検証制御部75にこの指示信号の入力があったことを伝えることで当該測定・検証制御部75による動作プログラム20(図2参照)のサーチおよび読み込みを開始させる。その一方で、ステップS216において動作プログラム20のサーチ中であることを示すサーチ中信号を表示制御部77(図2参照)に出力する。その後、ステップS218で工具確認モードフラグ42をオンに、すなわち工具確認モードが指定されたことを表す値に変える。これにより、数値制御装置120の動作モードが工具確認モードに切り替えられる。   When the operation of the mode switching unit 85 is permitted in step S210 shown in the figure, the mode switching unit 85 determines whether or not a mode switching instruction signal instructing switching to the tool confirmation mode is input in step S212. . When a mode switching instruction signal for instructing switching to the tool confirmation mode is input, the measurement / verification control is performed by informing the measurement / verification control unit 75 that the instruction signal has been input in step S214. The search and reading of the operation program 20 (see FIG. 2) by the unit 75 is started. On the other hand, in step S216, a searching signal indicating that the operation program 20 is being searched is output to the display control unit 77 (see FIG. 2). Thereafter, in step S218, the tool confirmation mode flag 42 is turned on, that is, changed to a value indicating that the tool confirmation mode is designated. Thereby, the operation mode of the numerical controller 120 is switched to the tool confirmation mode.

なお、ステップS216でサーチ中信号を受けた表示制御部77は、動作プログラム20のサーチ中であることを示す文字やキャラクタ等を表示部110に表示させるか、または所定のランプを点灯させる。ステップS212においてモード切替指示信号が工具確認モードへのモード切り替えを指示する信号ではないと判断されたときには処理を終了し、モード切替指示信号の入力の有無の確認動作を再び一定周期で行う。   The display control unit 77 that has received the searching signal in step S216 causes the display unit 110 to display characters or characters indicating that the operation program 20 is being searched, or turns on a predetermined lamp. When it is determined in step S212 that the mode switching instruction signal is not a signal for instructing mode switching to the tool confirmation mode, the process is terminated, and the operation for confirming whether or not the mode switching instruction signal has been input is performed again at a constant cycle.

図9は、工具確認モードでの測定・検証制御部75の動作を示すフローチャートである。測定・検証制御部75は状態制御プログラム28(図2参照)に基づく状態制御を受けており、状態制御プログラム28に基づく制御の下で許可された時期に周期的(例えば10ミリ秒周期)に動作する。   FIG. 9 is a flowchart showing the operation of the measurement / verification control unit 75 in the tool confirmation mode. The measurement / verification control unit 75 receives state control based on the state control program 28 (see FIG. 2), and periodically (for example, 10 milliseconds) at a time permitted under control based on the state control program 28. Operate.

同図に示すステップS220で測定・検証75の動作が許可されると、当該測定・検証制御部75はステップS222においてリセット信号がオフになっているか否かを判断し、リセット信号がオフになっていたときにはステップS230に進んで自動起動モードになっているか否かを判断する。そして、自動起動モードになっていると判断したときにはステップS240に進んで、前回動作したときに1ブロック(動作プログラム20における1ブロック)分の処理が中断したままになっているか否か、換言すれば1ブロック分の処理が終了済みであるか否かを判断する。上記のステップS240で1ブロック分の処理が終了済みであると判断したときにはステップS242に進んで次の1ブロックを読み出し、該ブロックの記述内容をステップS244で解析した後にステップS246で当該1ブロック分の処理を実行してから1動作周期の動作を終了する。   When the operation of the measurement / verification 75 is permitted in step S220 shown in the figure, the measurement / verification control unit 75 determines whether or not the reset signal is turned off in step S222, and the reset signal is turned off. If so, the process proceeds to step S230 to determine whether or not the automatic start mode is set. Then, when it is determined that the automatic start mode is set, the process proceeds to step S240. In other words, whether or not the processing for one block (one block in the operation program 20) has been interrupted at the previous operation. For example, it is determined whether or not the processing for one block has been completed. When it is determined in step S240 that the processing for one block has been completed, the process proceeds to step S242 to read the next block, and the description content of the block is analyzed in step S244, and then in step S246, the one block is processed. After executing the process, the operation in one operation cycle is finished.

一方、上記のステップS222でリセット信号がオフになっていないと判断したときにはステップS224に進み、自動起動モードになっているか否かに拘わらず自動起動モードを終了させるための処理動作を行い、その後、ステップS226で自動起動モードフラグ43(図2参照)をオフに、すなわち自動起動モードが指定されていないことを表す値に変える指示をモード切替部85に送ってから1動作周期の動作を終了する。   On the other hand, when it is determined in step S222 that the reset signal has not been turned off, the process proceeds to step S224, where a processing operation for ending the automatic start mode is performed regardless of whether the automatic start mode is set. In step S226, an instruction to turn off the automatic start mode flag 43 (see FIG. 2), that is, a value indicating that the automatic start mode is not specified is sent to the mode switching unit 85, and then the operation of one operation cycle is finished. To do.

また、上記のステップS230で自動起動モードになっていないと判断したときにはステップS232に進み、自動起動モードへのモード切替指示信号が入力されているか否かを判断する。そして、当該モード切替指示信号が入力されていないと判断したときには1動作周期の動作を終了し、当該モード切替指示信号が入力されていると判断したときにはステップS234で自動起動モードフラグ43をオンに、すなわち自動起動モードが指定されていることを表す値に変える指示をモード切替部85に送ってから1動作周期の動作を終了する。   If it is determined in step S230 that the automatic start mode is not set, the process advances to step S232 to determine whether or not a mode switching instruction signal for the automatic start mode is input. When it is determined that the mode switching instruction signal is not input, the operation of one operation cycle is terminated. When it is determined that the mode switching instruction signal is input, the automatic start mode flag 43 is turned on in step S234. That is, after an instruction to change to a value indicating that the automatic activation mode is designated is sent to the mode switching unit 85, the operation in one operation cycle is ended.

上記のステップS240で1ブロック分の処理が終了済みではないと判断したときにはステップS246に進んで、当該終了済みでない1ブロック分の処理を実行してから1動作周期の動作を終了する。   When it is determined in step S240 that the process for one block has not been completed, the process proceeds to step S246, where the process for one block that has not been completed is executed, and then the operation in one operation cycle is completed.

数値制御装置120の動作モードが工具確認モードであるとき、測定・検証制御部75(図2参照)は、ステップS246の1ブロック分の処理を所定数の動作周期に亘って行うことで動作プログラム20(図2参照)の各ブロックを順次実行し、これにより数値制御装置120および数値制御工作機械200(図1参照)の動作を制御する。以下、図9に示すステップS242での1ブロックの読み出し、ステップS244での1ブロックのプログラム解析およびステップS246での1ブロック分の処理の実行について、図10〜図13を参照して具体的に説明する。   When the operation mode of the numerical controller 120 is the tool confirmation mode, the measurement / verification control unit 75 (see FIG. 2) performs an operation program by performing the processing for one block in step S246 over a predetermined number of operation cycles. 20 (see FIG. 2) are sequentially executed, thereby controlling the operations of the numerical controller 120 and the numerically controlled machine tool 200 (see FIG. 1). Hereinafter, the reading of one block in step S242 shown in FIG. 9, the program analysis of one block in step S244, and the execution of processing for one block in step S246 will be specifically described with reference to FIGS. explain.

図10〜図11は、測定・検証制御部75によって行われる1ブロックの読み出しから1ブロック分の処理の実行までの制御の一例を示すフローチャートである。これらの図に示す例では、まず、読み出した1ブロック中にシステム変数#10000が記述されているか否かをステップS250(図10参照)で判断する。そして、システム変数#10000が記述されていると判断したときにはステップS251に進んで当該ブロックの内容を解析し、解析結果に基づいて工具長オフセット量を自動で測定するか否かについて定めたパラメータを呼び出してから1動作周期の動作を終了する。また、ステップS250でシステム変数#10000が記述されていないと判断したときには、ステップS253に進む。   10 to 11 are flowcharts showing an example of control from reading of one block to execution of processing for one block performed by the measurement / verification control unit 75. In the examples shown in these drawings, first, it is determined in step S250 (see FIG. 10) whether or not system variable # 10000 is described in one read block. When it is determined that the system variable # 10000 is described, the process proceeds to step S251, where the contents of the block are analyzed, and parameters that determine whether the tool length offset amount is automatically measured based on the analysis result are determined. After calling, the operation of one operation cycle is finished. If it is determined in step S250 that system variable # 10000 is not described, the process proceeds to step S253.

ステップS253では、読み出した1ブロック中にシステム変数#10001が記述されているか否かを判断し、システム変数#10001が記述されていると判断したときにはステップS254に進んで当該ブロックの内容を解析し、解析結果に基づいて工具長補正量を検証するか否かについて定めたパラメータを呼び出してから1動作周期の動作を終了する。また、ステップS253でシステム変数#10001が記述されていないと判断したときにはステップS256に進む。   In step S253, it is determined whether or not system variable # 10001 is described in one read block. If it is determined that system variable # 10001 is described, the process proceeds to step S254 to analyze the contents of the block. Then, after calling a parameter defined as to whether or not to verify the tool length correction amount based on the analysis result, the operation in one operation cycle is terminated. If it is determined in step S253 that the system variable # 10001 is not described, the process proceeds to step S256.

ステップS256では、読み出した1ブロック中にシステム変数#10004が記述されているか否かを判断し、システム変数#10004が記述されていると判断したときにはステップS257に進んで当該ブロックの内容を解析し、解析結果に基づいて工具交換指令を呼び出してから1動作周期の動作を終了する。また、ステップS256でシステム変数#10004が記述されていないと判断したときにはステップS260に進む。   In step S256, it is determined whether or not system variable # 10004 is described in one read block. If it is determined that system variable # 10004 is described, the process proceeds to step S257 to analyze the contents of the block. Then, after calling the tool change command based on the analysis result, the operation in one operation cycle is finished. If it is determined in step S256 that the system variable # 10004 is not described, the process proceeds to step S260.

ステップS260では、読み出した1ブロック中にシステム変数#10005が記述されているか否かを判断し、システム変数#10005が記述されていると判断したときにはステップS261に進んで当該ブロックの内容を解析し、解析結果に基づいてワーク座標系指定用のパラメータを呼び出してから1動作周期の動作を終了する。また、ステップS260でシステム変数#10005が記述されていないと判断したときにはステップS263に進む。   In step S260, it is determined whether or not system variable # 10005 is described in one read block. If it is determined that system variable # 10005 is described, the process proceeds to step S261 to analyze the contents of the block. Then, after calling the parameter for designating the workpiece coordinate system based on the analysis result, the operation in one operation cycle is finished. If it is determined in step S260 that the system variable # 10005 is not described, the process proceeds to step S263.

ステップS263では、読み出した1ブロック中にシステム変数#10006が記述されているか否かを判断し、システム変数#10006が記述されていると判断したときにはステップS264に進んで当該ブロックの内容を解析し、解析結果に基づいて工具長補正量の検証位置について定めたパラメータを呼び出してから1動作周期の動作を終了する。また、ステップS263でシステム変数#10006が記述されていないと判断したときにはステップS266に進む。   In step S263, it is determined whether or not system variable # 10006 is described in one read block. If it is determined that system variable # 10006 is described, the process proceeds to step S264 and the contents of the block are analyzed. Then, after calling a parameter defined for the verification position of the tool length correction amount based on the analysis result, the operation in one operation cycle is finished. If it is determined in step S263 that the system variable # 10006 is not described, the process proceeds to step S266.

ステップS266では、読み出した1ブロック中にシステム変数#10007が記述されているか否かを判断し、システム変数#10007が記述されていると判断したときにはステップS267に進んで当該ブロックの内容を解析し、解析結果に基づいてプログラムエンド指令を呼び出してから1動作周期の動作を終了する。また、ステップS266でシステム変数#10007が記述されていないと判断したときにはステップS270(図11参照)に進む。   In step S266, it is determined whether or not system variable # 10007 is described in one read block. If it is determined that system variable # 10007 is described, the process proceeds to step S267 to analyze the contents of the block. Then, after calling the program end command based on the analysis result, the operation of one operation cycle is finished. If it is determined in step S266 that system variable # 10007 is not described, the process proceeds to step S270 (see FIG. 11).

図11に示すステップS270からステップS298は、測定・検証制御部75により所定の工具、すなわち工具長オフセット量の測定が済んでいない工具または工具長補正量の検証が済んでいない工程が選別されるときのステップである。これらの工具の選別に際しては、まず、読み出した1ブロック中にシステム変数#10002もしくは#10003が記述されているか否かがステップS270で判断される。   In steps S270 to S298 shown in FIG. 11, the measurement / verification control unit 75 selects a predetermined tool, that is, a tool that has not been measured for the tool length offset amount or a process that has not been verified for the tool length correction amount. Is a step. When selecting these tools, it is first determined in step S270 whether or not system variable # 10002 or # 10003 is described in one read block.

読み出した1ブロック中にシステム変数#10002もしくは#10003が記述されていないとステップS270で判断したときには、1動作周期の動作を終了する。一方、システム変数#10002もしくは#10003が記述されていると判断したときにはステップS272に進んで、各工具についての工具更新情報を1つのレコードとしてその先頭位置にインデックスを付与する。次いでステップS274に進んで、各工具についてのオフセット量更新情報を1つのレコードとしてその先頭位置にインデックスを付与する。   When it is determined in step S270 that the system variable # 10002 or # 10003 is not described in one read block, the operation of one operation cycle is ended. On the other hand, when it is determined that the system variable # 10002 or # 10003 is described, the process proceeds to step S272, and the tool update information for each tool is set as one record, and an index is assigned to the head position. In step S274, the offset amount update information for each tool is set as one record, and an index is assigned to the head position.

この後、工具データ領域10に格納されている識別データ1によって特定される各工具の工具更新情報およびオフセット量更新情報の各々を1動作周期につき1工具分ずつ読み出してゆくわけであるが、既に工具更新情報およびオフセット量更新情報の読み出しを終えている工具に対応する識別データ1(工具番号)については、再び読み出すことがないようにステップS276において例えば「0(ゼロ)」で初期化する。   Thereafter, each of the tool update information and offset amount update information of each tool specified by the identification data 1 stored in the tool data area 10 is read out by one tool per one operation cycle. The identification data 1 (tool number) corresponding to the tool for which reading of the tool update information and offset amount update information has been completed is initialized with, for example, “0 (zero)” in step S276 so as not to be read again.

上記のステップS276を行った後に、識別データ1によって特定される各工具の全てについて工具更新情報およびオフセット量更新情報を読み出し終えているか否かをステップS278で判断し、全て読み出し終えているときには1動作周期の動作を終了する。一方、読み出し終えていない工具があったときには、当該工具のうちで先頭の工具についての工具更新情報をステップS280で読み出し、更にそのオフセット量更新情報をステップS282で読み出してから、ステップS284に進む。   After performing the above step S276, it is determined in step S278 whether or not the tool update information and the offset amount update information have been read for all the tools specified by the identification data 1. Ends the operation of the operation cycle. On the other hand, when there is a tool that has not been read, the tool update information for the first tool among the tools is read in step S280, and the offset amount update information is read in step S282, and the process proceeds to step S284.

ステップS284では、読み出した1ブロック中にシステム変数#10002が記述されているか否かを判断し、システム変数#10002が記述されていると判断したときにはステップS286に進み、ステップS280で読み出した工具更新情報のフラグが「1」で、かつステップS282で読み出したオフセット量更新情報のフラグが「0」であるか否かを判断する。工具更新情報のフラグが「1」であるとは、当該工具更新情報に対応する工具が新規に登録されたものであることを意味し、オフセット量更新情報のフラグが「0」であるとは、当該オフセット量更新情報に対応する工具の工具長オフセット量が新規に入力されたものではないことを意味する。   In step S284, it is determined whether or not system variable # 10002 is described in one read block. If it is determined that system variable # 10002 is described, the process proceeds to step S286, and the tool update read in step S280 is read. It is determined whether or not the information flag is “1” and the offset amount update information flag read in step S282 is “0”. A tool update information flag of “1” means that a tool corresponding to the tool update information is newly registered, and an offset amount update information flag of “0”. This means that the tool length offset amount of the tool corresponding to the offset amount update information is not newly input.

ステップS286での判断条件が成立するときにはステップS288に進んで当該工具の工具更新情報をクリアし、すなわち当該工具の工具更新情報のフラグを「0」にし、その後にステップS290に進んで当該工具の識別データ1(工具番号)を読み出す。すなわち、工具長オフセット量の測定が済んでいない1つの工具に対応する識別データ1(工具番号)を読み出す。この後、1動作周期の動作を終了する。   When the determination condition in step S286 is satisfied, the process proceeds to step S288 to clear the tool update information of the tool, that is, the tool update information flag of the tool is set to “0”, and then the process proceeds to step S290 and the tool is updated. Read identification data 1 (tool number). That is, the identification data 1 (tool number) corresponding to one tool whose tool length offset amount has not been measured is read out. Thereafter, the operation in one operation cycle is finished.

一方、ステップ286で判断条件が成立しないとき、当該工具のオフセット量は新規に入力されたものであり工具長オフセット量の測定および工具長補正量の検証は不要であると考えられるので、この工具の工具更新情報をクリアする、すなわち当該工具の工具更新情報のフラグを「0」にするステップS298を行ってから上述のステップS278に戻る。   On the other hand, when the determination condition is not satisfied in step 286, it is considered that the offset amount of the tool is newly input and it is considered unnecessary to measure the tool length offset amount and verify the tool length correction amount. The tool update information is cleared, that is, step S298 for setting the tool update information flag of the tool to “0” is performed, and then the process returns to step S278 described above.

なお、上述のステップS284でシステム変数#10002が記述されていないと判断したときには、読み出した1ブロック中にシステム変数#10003が記述されていることになるので、当該工具のオフセット量更新情報のフラグが「1」であるか否かをステップS294で判断する。そして、フラグが「1」ではないと判断したときには、当該工具のオフセット量は新規に入力されたものではなく工具長補正量の検証は不要であると考えられるので、上述のステップS278に戻る。また、上記のステップS294でフラグが「1」であると判断したときには当該オフセット量更新情報をステップS296でクリアし、すなわち当該工具のオフセット量更新情報のフラグをステップS296で「0」にしてから上述のステップS288,S290に順次進み、その後に1動作周期の動作を終了する。このときステップS290で読み出される識別データ1(工具番号)は、工具長オフセット量の検証が済んでいない1つの工具に対応する識別データ1(工具番号)である。   If it is determined in step S284 that the system variable # 10002 is not described, the system variable # 10003 is described in one read block, and therefore the offset amount update information flag of the tool is described. In step S294, it is determined whether or not “1” is “1”. When it is determined that the flag is not “1”, the offset amount of the tool is not newly input and it is considered that verification of the tool length correction amount is unnecessary, and the process returns to step S278 described above. When it is determined in step S294 that the flag is “1”, the offset amount update information is cleared in step S296, that is, the offset amount update information flag of the tool is set to “0” in step S296. The process proceeds to the above-described steps S288 and S290 in sequence, and thereafter the operation of one operation cycle is finished. At this time, the identification data 1 (tool number) read in step S290 is the identification data 1 (tool number) corresponding to one tool whose tool length offset amount has not been verified.

測定・検証制御部75は、工具長オフセット量の測定が済んでいない工具に対応する識別データ1(工具番号)を上述のステップS290で読み出したときには、次の動作周期で当該工具の工具長オフセット量を自動測定するための制御を行う。また、工具長補正量の測定が済んでいない工具に対応する識別データ1(工具番号)を上述のステップS290で読み出したときには、次の動作周期で当該工具の工具長補正量を検証するための制御を行う。ここでは、工具長補正量を検証するための制御について具体的に説明する。   When the identification data 1 (tool number) corresponding to the tool whose tool length offset amount has not been measured is read in step S290 described above, the measurement / verification control unit 75 performs the tool length offset of the tool in the next operation cycle. Control to automatically measure the quantity. Further, when the identification data 1 (tool number) corresponding to a tool for which the measurement of the tool length correction amount has not been completed is read in the above-described step S290, the tool length correction amount for the tool is verified in the next operation cycle. Take control. Here, the control for verifying the tool length correction amount will be specifically described.

図12は、工具長補正量を検証する際の測定・検証制御部75による制御の一例を示すフローチャートである。同図に示す例では、まず、読み出した1ブロック中に制御動作モードを指定する指令の1つであるG500指令(図7参照)が記述されているか否かをステップS300で判断し、G500指令が記述されていないと判断したときには1動作周期の動作を終了する。一方、G500指令が記述されていると判断したときにはステップS302に進んで、工具長補正量の検証対象の工具の工具長オフセット量を記憶部50(図2参照)から読み出す。   FIG. 12 is a flowchart illustrating an example of control by the measurement / verification control unit 75 when verifying the tool length correction amount. In the example shown in the figure, first, in step S300, it is determined whether or not a G500 command (see FIG. 7), which is one of commands for designating a control operation mode, is described in one read block. When it is determined that is not described, the operation in one operation cycle is terminated. On the other hand, when it is determined that the G500 command is described, the process proceeds to step S302, and the tool length offset amount of the tool whose tool length correction amount is to be verified is read from the storage unit 50 (see FIG. 2).

ステップS302に続いて行われるステップS304では、工具長補正量の検証を行う際のワーク座標系を特定するために予め設定されているモーダルなワーク原点オフセット量を読み込み、その後、ステップS306に進んで工具長補正量検証用のレファレンス点の座標を算出してから1動作周期の動作を終了する。上記のレファレンス点の座標は、G500指令で指定される座標位置と、ステップS302で読み出した工具長オフセット量と、ステップS304で読み出したワーク原点オフセット量とから算出される。   In step S304, which is performed following step S302, a modal work origin offset amount set in advance for specifying a work coordinate system for verifying the tool length correction amount is read, and then the process proceeds to step S306. After calculating the coordinates of the reference point for verifying the tool length correction amount, the operation in one operation cycle is finished. The coordinates of the reference point are calculated from the coordinate position specified by the G500 command, the tool length offset amount read in step S302, and the workpiece origin offset amount read in step S304.

測定・検証制御部75は、この後の動作周期で工具長補正量の検証対象の工具を数値制御工作機械200(図1参照)の所定箇所(以下の例では主軸)に装着させ、当該工具がステップS306で算出したレファレンス点にくるまで数値制御工作機械200の主軸を移動させる。オペレータは、主軸の移動が完了した後に手作業により工具長補正量を測定して、工具長補正量が正しい値か否かを検証する。検証の終了後に、入力部105から検証終了信号を装置本体120(図2参照)に入力する。   The measurement / verification control unit 75 attaches a tool whose tool length correction amount is to be verified to a predetermined location (main shaft in the following example) of the numerically controlled machine tool 200 (see FIG. 1) in the subsequent operation cycle. Until the reference point calculated in step S306 is reached, the spindle of the numerically controlled machine tool 200 is moved. The operator manually measures the tool length correction amount after the movement of the spindle is completed, and verifies whether the tool length correction amount is a correct value. After the verification is completed, a verification end signal is input from the input unit 105 to the apparatus main body 120 (see FIG. 2).

必要に応じて、工具長補正量の検証が終了する前に装置本体120に検証終了信号を入力して、検証のための制御を中止させることができる。検証のための制御を途中で中止させる機能を数値制御装置120に付与すれば、例えば工具長補正量を検証する過程で工具長補正量が大幅に間違っていることに気づいた時等に検証作業を中止して、次の工具の工具長補正量の検証に移行することができるようになるので、段取り作業に要する時間を短縮することが容易になる。   If necessary, a verification end signal can be input to the apparatus main body 120 before the verification of the tool length correction amount is completed to stop the control for verification. If the numerical control device 120 is provided with a function for stopping the control for verification in the middle, for example, when verifying that the tool length correction amount is significantly wrong in the process of verifying the tool length correction amount, etc. Can be stopped and the process can proceed to verification of the tool length correction amount of the next tool, so that it is easy to shorten the time required for the setup work.

図13は、工具長補正量の検証対象の工具を数値制御工作機械の所定箇所に装着させた後に当該工具を工具長補正量検証用のレファレンス点にまで移動させる際の測定・検証制御部75による制御の一例を示すフローチャートである。同図に示す例では、まず、検証終了信号が入力されたか否かをステップS310で判断し、検証終了信号が入力されていないと判断したときにはステップS312に進んで、数値制御工作機械200の主軸を1動作周期に移動可能な距離の範囲内で工具長補正量検証用のレファレンス点に向けて移動させる。   FIG. 13 shows a measurement / verification control unit 75 for moving a tool to a reference point for verifying the tool length correction amount after the tool to be verified for the tool length correction amount is mounted at a predetermined position of the numerically controlled machine tool. It is a flowchart which shows an example of the control by. In the example shown in the figure, first, it is determined in step S310 whether or not a verification end signal has been input. If it is determined that a verification end signal has not been input, the process proceeds to step S312 and the spindle of the numerically controlled machine tool 200. Is moved toward the reference point for verifying the tool length correction amount within the range of the distance that can be moved in one operation cycle.

次いで、ステップS314で工具が工具長補正量検証用のレファレンス点に到達したか否かを判断し、到達していないときには1動作周期の動作を終了する。また、工具が工具長補正量検証用のレファレンス点に到達していたときにはステップS316に進んでG500指令(図12参照)を実行済みであるか否かを判断する。そして、G500指令を実行済みでないときには1動作周期の動作を終了し、G500指令を実行済みであったときには、ステップS318で自動起動モードフラグ43(図2参照)をオフにする指示をモード切替部85(図2参照)に与えてから1動作周期の動作を終了する。このとき、測定・検証制御部75はブロック停止状態となる。   Next, in step S314, it is determined whether or not the tool has reached the reference point for verifying the tool length correction amount. If not, the operation for one operation cycle is terminated. If the tool has reached the reference point for verifying the tool length correction amount, the process proceeds to step S316 to determine whether or not the G500 command (see FIG. 12) has been executed. When the G500 command has not been executed, the operation of one operation cycle is terminated. When the G500 command has been executed, an instruction to turn off the automatic start mode flag 43 (see FIG. 2) is issued in step S318. After giving to 85 (see FIG. 2), the operation of one operation cycle is finished. At this time, the measurement / verification control unit 75 is in a block stop state.

工具長補正量の検証は、工具が工具長補正量検証用のレファレンス点に到達して測定・検証制御部75がブロック停止状態となっているときに行う。ブロック停止状態となった測定・検証制御部75は、自動起動モードへの切り替えを指示するモード切替指示信号または検証終了信号が再度入力されたときに再起動して動作プログラム20(図2参照)を読み込む。   The verification of the tool length correction amount is performed when the tool reaches the reference point for verifying the tool length correction amount and the measurement / verification control unit 75 is in the block stop state. The measurement / verification control unit 75 in the block stop state restarts when the mode switching instruction signal or the verification end signal instructing switching to the automatic activation mode is input again, and the operation program 20 (see FIG. 2). Is read.

一方、上述のステップS310で検証終了信号が入力されていると判断したときにはステップS320に進んで、G500指令を実行済みであるか否かを判断する。そして、G500指令を実行済みでないときには1動作周期の動作を終了し、G500指令を実行済みであったときにはステップS322に進む。   On the other hand, when it is determined in step S310 that the verification end signal is input, the process proceeds to step S320, and it is determined whether or not the G500 command has been executed. Then, when the G500 command has not been executed, the operation of one operation cycle is ended, and when the G500 command has been executed, the process proceeds to step S322.

ステップS322では、測定・検証制御部75がブロック停止状態か否かを判断し、ブロック停止状態と判断したときには、ステップS324で自動起動モードフラグ43をオンにする指示をモード切替部85(図2参照)に与える共に次のブロックの読出し要求をしてから1動作周期の動作を終了する。また、ステップS322でブロック停止状態ではないと判断したときには、ステップS326で現在の主軸の位置座標をプログラム解析時の始点座標に設定した後にステップS328で次のブロックの読み出し要求をしてから1動作周期の動作を終了する。   In step S322, the measurement / verification control unit 75 determines whether or not the block is in a stopped state. If the measurement / verification control unit 75 determines that the block is in a stopped state, an instruction to turn on the automatic activation mode flag 43 is issued in step S324. The operation of one operation cycle is finished after a read request for the next block is made. If it is determined in step S322 that the block is not stopped, the current spindle position coordinate is set as the start point coordinate at the time of program analysis in step S326, and then the next block is requested to be read in step S328. End the cycle operation.

動作プログラム20が図7に示したソースプログラム20Sに基づくものである場合、全ての工具についてその工具長補正量の検証が終了すると、数値制御工作機械200の主軸が機械座標原点に自動的に戻される。   When the operation program 20 is based on the source program 20S shown in FIG. 7, when the verification of the tool length correction amount is completed for all the tools, the spindle of the numerically controlled machine tool 200 is automatically returned to the machine coordinate origin. It is.

以上、図7〜図13を参照して数値制御装置120で用いられる動作プログラム20、モード切替部85による動作モードの切り替え、工具確認モードでの測定・検証制御部75による制御それぞれの具体例について説明したが、この発明の数値制御装置は、図7〜図13を参照して説明した具体例に限定されるものではない。   As described above, specific examples of the operation program 20 used in the numerical controller 120 with reference to FIGS. 7 to 13, the operation mode switching by the mode switching unit 85, and the control by the measurement / verification control unit 75 in the tool confirmation mode. Although described, the numerical control device of the present invention is not limited to the specific example described with reference to FIGS.

図1〜図6を参照して説明したように、この発明の数値制御装置は、数値制御工作機械によってワークを所定形状に加工する際に使用される複数の工具の中から工具長オフセット量の測定が済んでいない工具および工具長補正量の検証が済んでいない工具を自動的に選別し、当該工具を所定のレファレンス点にまで移動させることができるものでればよい。さらには、複数の工具の中から工具長オフセット量の測定が済んでいない工具および工具長補正量の検証が済んでいない工具の少なくとも一方を自動的に選別し、当該工具を所定のレファレンス点にまで移動させることができるものであってもよい。   As described with reference to FIGS. 1 to 6, the numerical control device of the present invention has a tool length offset amount among a plurality of tools used when a workpiece is machined into a predetermined shape by a numerically controlled machine tool. It is only necessary to automatically select a tool that has not been measured and a tool whose tool length correction amount has not been verified, and move the tool to a predetermined reference point. Furthermore, at least one of a plurality of tools that have not been measured for the tool length offset amount and a tool that has not been verified for the tool length correction amount is automatically selected, and the tool is set to a predetermined reference point. It may be one that can be moved to.

工具長オフセット量の測定が済んでいない工具および工具長補正量の検証が済んでいない工具のいずれか一方のみを自動的に選別し、当該工具を所定のレファレンス点にまで移動させる数値制御装置は、例えば両方の工具を自動的に選別してそれぞれを当該工具を所定のレファレンス点にまで移動させる前述の数値制御装置から他方の工具の自動選別機能を削除することにより得られるので、ここではその説明を省略する。その他、この発明の数値制御装置については、種々の変形、修飾、組合せ等が可能である。   A numerical controller that automatically selects only one of the tools for which the tool length offset amount has not been measured and the tools for which the tool length correction amount has not been verified, and moves the tool to a predetermined reference point. For example, it is obtained by deleting the automatic selection function of the other tool from the above-mentioned numerical control device that automatically selects both tools and moves each of the tools to a predetermined reference point. Description is omitted. In addition, various modifications, modifications, combinations, and the like are possible for the numerical control device of the present invention.

この発明の数値制御装置および該数値制御装置によって動作を制御される数値制御工作機械それぞれの一例を概略的に示すブロック図である。It is a block diagram which shows roughly an example of each of the numerical control machine tool of this invention and the numerical control machine tool by which operation | movement is controlled by this numerical control apparatus. 図1に示した数値制御装置の構成を概略的に示す機能ブロック図である。It is a functional block diagram which shows roughly the structure of the numerical control apparatus shown in FIG. 図2に示した数値制御装置の表示部に表示される工具データの管理画面の一例を示す概略図である。It is the schematic which shows an example of the management screen of the tool data displayed on the display part of the numerical control apparatus shown in FIG. 図3に示した工具データの管理画面での表示内容に対応する工具データの一例を一覧にして示す図表である。FIG. 4 is a chart showing a list of examples of tool data corresponding to display contents on a tool data management screen shown in FIG. 3. 長オフセット量自動測定機能を有している数値制御装置および数値制御工作機械によって工具長オフセット量を測定するときの工具の移動の一例を示す概略図である。It is the schematic which shows an example of the movement of a tool when measuring a tool length offset amount with the numerical control apparatus which has a long offset amount automatic measurement function, and a numerical control machine tool. 工具長補正量を検証するときの工具の移動の一例を示す概略図である。It is the schematic which shows an example of the movement of a tool when verifying a tool length correction amount. 図2に示した数値制御装置で用いられる動作プログラムの基となるソースプログラムの一例を示す概略図である。It is the schematic which shows an example of the source program used as the basis of the operation program used with the numerical control apparatus shown in FIG. 図2に示したモード切替部によって数値制御装置の動作モードが工具確認モードに切り替えられるときの手順を示すフローチャートである。It is a flowchart which shows a procedure when the operation mode of a numerical control apparatus is switched to the tool confirmation mode by the mode switching part shown in FIG. 図2に示した数値制御装置が工具確認モードであるときの測定・検証制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the measurement / verification control part when the numerical control apparatus shown in FIG. 2 is a tool confirmation mode. 図2に示した測定・検証制御部によって行われる1ブロックの読み出しから1ブロック分の処理の実行までの制御の一例の一部を示すフローチャートである。3 is a flowchart showing a part of an example of control from reading of one block to execution of processing for one block performed by the measurement / verification control unit shown in FIG. 2. 図2に示した測定・検証制御部によって行われる1ブロックの読み出しから1ブロック分の処理の実行までの制御の一例のうち、図10に示した一例の残りの部分を示すフローチャートである。FIG. 11 is a flowchart illustrating a remaining part of the example illustrated in FIG. 10 in an example of control from reading of one block to execution of processing for one block performed by the measurement / verification control unit illustrated in FIG. 2. 工具長補正量を検証する際に図2に示した測定・検証制御部が行う制御の一例を示すフローチャートである。4 is a flowchart illustrating an example of control performed by a measurement / verification control unit illustrated in FIG. 2 when verifying a tool length correction amount. 工具長補正量の検証対象の工具を工具長補正量検証用のレファレンス点にまで移動させる際に図2に示した測定・検証制御部が行う制御の一例を示すフローチャートである。3 is a flowchart illustrating an example of control performed by a measurement / verification control unit illustrated in FIG. 2 when moving a tool to be verified for tool length correction amount to a reference point for verifying tool length correction amount.

符号の説明Explanation of symbols

1 識別データ
3 工具長オフセット量
5 工具更新情報
7 オフセット量更新情報
20 動作プログラム
25 加工プログラム
28 状態制御プログラム
50 記憶部
65 パラメータ設定部
70 プログラム修正部
75 測定・検証制御部
85 モード切替部
105 入力部
120 数値制御装置
200 数値制御工作機械
220 工具
W ワーク
RP1 工具長オフセット量測定用のレファレンス点
RP2 工具長補正量検証用のレファレンス点
DESCRIPTION OF SYMBOLS 1 Identification data 3 Tool length offset amount 5 Tool update information 7 Offset amount update information 20 Operation program 25 Machining program 28 State control program 50 Storage part 65 Parameter setting part 70 Program correction part 75 Measurement / verification control part 85 Mode switching part 105 Input Unit 120 Numerical control device 200 Numerical control machine tool 220 Tool W Workpiece RP 1 Reference point RP for measuring tool length offset amount 2 Reference point for verifying tool length correction amount

Claims (5)

複数種の工具を使い分けてワークを所定形状に加工する数値制御工作機械の動作を制御する数値制御装置であって、
前記複数種の工具毎に登録されて該工具を識別する識別データと、工具毎の工具長オフセット量と、前記数値制御工作機械および当該数値制御装置の動作を規定するプログラムとが格納されると共に、前記工具毎に設定されて該工具が新規に登録されたものであるか否を表す工具更新情報および前記工具長オフセット量が新規に入力されたものであるか否かを表すオフセット量更新情報の少なくとも一方が格納される記憶部と、
前記識別データと前記工具更新情報とに基づいて工具長オフセット量の測定が済んでいない工具を選び出すか、または前記識別データと前記オフセット量更新情報とに基づいて工具長補正量の検証が済んでいない工具を選び出し、該選び出した工具を前記数値制御工作機械の所定箇所に装着させて、予め定められた工具長オフセット量測定用のレファレンス点または工具長補正量検証用のレファレンス点にまで移動させる測定・検証制御部と、
を有することを特徴とする数値制御装置。
A numerical control device that controls the operation of a numerically controlled machine tool that uses a plurality of types of tools to process a workpiece into a predetermined shape,
The identification data registered for each of the plurality of types of tools to identify the tool, the tool length offset amount for each tool, and a program for defining the operation of the numerical control machine tool and the numerical control device are stored. Tool update information that is set for each tool and indicates whether or not the tool is newly registered, and offset amount update information that indicates whether or not the tool length offset amount is newly input A storage unit storing at least one of
Based on the identification data and the tool update information, select a tool that has not been measured for the tool length offset amount, or verify the tool length correction amount based on the identification data and the offset amount update information. A non-existing tool is selected, and the selected tool is mounted at a predetermined position of the numerically controlled machine tool, and moved to a predetermined reference point for measuring a tool length offset amount or a reference point for verifying a tool length correction amount. A measurement and verification control unit;
A numerical control device comprising:
前記プログラムはシステム変数を含み、
入力されたデータに基づいて前記システム変数に所定のパラメータを設定するパラメータ設定部を更に有することを特徴とする請求項1に記載の数値制御装置。
The program includes system variables;
The numerical control apparatus according to claim 1, further comprising a parameter setting unit configured to set a predetermined parameter in the system variable based on input data.
前記測定・検証制御部は、当該数値制御装置の動作モードが工具確認モードになったときにのみ動作することを特徴とする請求項1または2に記載の数値制御装置。   The numerical control device according to claim 1, wherein the measurement / verification control unit operates only when an operation mode of the numerical control device is a tool confirmation mode. 前記工具長補正量検証用のレファレンス点にまで前記工具を移動させ終わった段階でブロック停止状態になることを特徴とする請求項1〜3のいずれか1つに記載の数値制御装置。   The numerical controller according to any one of claims 1 to 3, wherein the block is stopped when the tool has been moved to the reference point for verifying the tool length correction amount. 前記工具を前記工具長補正量検証用のレファレンス点にまで移動させる途中で前記測定・検証制御部による制御を中止させることができることを特徴とする請求項1〜4のいずれか1つに記載の数値制御装置。   The control by the measurement / verification control unit can be stopped in the middle of moving the tool to the reference point for verifying the tool length correction amount. Numerical control unit.
JP2006159020A 2006-06-07 2006-06-07 Numerical control device Pending JP2007326174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006159020A JP2007326174A (en) 2006-06-07 2006-06-07 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006159020A JP2007326174A (en) 2006-06-07 2006-06-07 Numerical control device

Publications (1)

Publication Number Publication Date
JP2007326174A true JP2007326174A (en) 2007-12-20

Family

ID=38927019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006159020A Pending JP2007326174A (en) 2006-06-07 2006-06-07 Numerical control device

Country Status (1)

Country Link
JP (1) JP2007326174A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103769946A (en) * 2014-01-28 2014-05-07 苏州大学 Tool setting device used for numerical control machine tool
JPWO2015029232A1 (en) * 2013-08-30 2017-03-02 株式会社牧野フライス製作所 Tool management system
JP2021037575A (en) * 2019-09-03 2021-03-11 ビアメカニクス株式会社 Board drilling device and board drilling method
CN116890263A (en) * 2023-09-04 2023-10-17 山东豪迈数控机床有限公司 Tool setting method and device of numerical control machine tool, controller and numerical control machine tool

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2015029232A1 (en) * 2013-08-30 2017-03-02 株式会社牧野フライス製作所 Tool management system
US10078324B2 (en) 2013-08-30 2018-09-18 Makino Milling Machine Co., Ltd. Tool management system
CN103769946A (en) * 2014-01-28 2014-05-07 苏州大学 Tool setting device used for numerical control machine tool
CN103769946B (en) * 2014-01-28 2015-11-18 苏州大学 For the tool setting equipment of Digit Control Machine Tool
JP2021037575A (en) * 2019-09-03 2021-03-11 ビアメカニクス株式会社 Board drilling device and board drilling method
JP7180960B2 (en) 2019-09-03 2022-11-30 ビアメカニクス株式会社 Board drilling device and board drilling method
CN116890263A (en) * 2023-09-04 2023-10-17 山东豪迈数控机床有限公司 Tool setting method and device of numerical control machine tool, controller and numerical control machine tool
CN116890263B (en) * 2023-09-04 2023-11-24 山东豪迈数控机床有限公司 Tool setting method and device of numerical control machine tool, controller and numerical control machine tool

Similar Documents

Publication Publication Date Title
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
US8155789B2 (en) Device, method, program and recording medium for robot offline programming
US10379523B2 (en) Machining program editing assist apparatus
JP5414948B1 (en) Numerical controller
US7110837B2 (en) Control system and method for on-line editing of user program
JP4097670B2 (en) Monitor device for machine tools
JP6677706B2 (en) Link information generation device, link information generation method, and link information generation program
JPH09269808A (en) Cnc data correcting method
EP1308806B1 (en) Monitoring device for production equipment controlled by programmable logic controller
JP5906956B2 (en) NC machine tool control method, control program, and control apparatus
JP2007326174A (en) Numerical control device
JPH0584631A (en) Numerical controller and cell controller
JP4266893B2 (en) Robot control apparatus and robot system
JP4216808B2 (en) Numerical controller
KR101468751B1 (en) Numerical control system having graphic-based user interface
JP2005084800A (en) Programmable controller
CA2246573C (en) Method for setting tool-based working condition in off-line teaching
JPWO2005114344A1 (en) How to select engineering tool and engineering tool startup program and add new program
US20040210338A1 (en) Numerical control apparatus
KR101610386B1 (en) Cutting shape input apparatus and method using cutting program in computer numarical control machine tools
JPH10161719A (en) System constructing simulation device for industrial robot
JP3660038B2 (en) Numerical controller
US20240116191A1 (en) Robot control device, robot control system, and robot control method
JP4628967B2 (en) Programmable display, its program and recording medium
JP2707031B2 (en) Method and apparatus for checking machining program