JP2001067108A - Method and device for adding command for correcting coordinate system of nc data and computer readable recording medium stored with program for executing addition of command for correcting nc data coordinate system - Google Patents

Method and device for adding command for correcting coordinate system of nc data and computer readable recording medium stored with program for executing addition of command for correcting nc data coordinate system

Info

Publication number
JP2001067108A
JP2001067108A JP23887499A JP23887499A JP2001067108A JP 2001067108 A JP2001067108 A JP 2001067108A JP 23887499 A JP23887499 A JP 23887499A JP 23887499 A JP23887499 A JP 23887499A JP 2001067108 A JP2001067108 A JP 2001067108A
Authority
JP
Japan
Prior art keywords
hole
data
coordinate system
command
gripping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP23887499A
Other languages
Japanese (ja)
Other versions
JP4209562B2 (en
Inventor
Yasuhiro Murotani
泰洋 室谷
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.)
Amada Co Ltd
Original Assignee
Amada Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP23887499A priority Critical patent/JP4209562B2/en
Publication of JP2001067108A publication Critical patent/JP2001067108A/en
Application granted granted Critical
Publication of JP4209562B2 publication Critical patent/JP4209562B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Laser Beam Processing (AREA)
  • Numerical Control (AREA)
  • Punching Or Piercing (AREA)

Abstract

PROBLEM TO BE SOLVED: To include an element allowed to be practically used as a reference element for correcting a coordinate system in a coordinate system correction command and to add the command to NC data. SOLUTION: In the case of adding a command for correcting a coordinate system due to a change in the holding of a material to NC data, a tool locus 43 of the material 4 previously prepared on the basis of the NC data is displayed on the screen of a display device 40. When an element 51 is specified in the tool locus 43 displayed on the screen, whether the specified element 51 can be used as a reference element for correcting the coordinate system or not is judged by a correction reference hole judging processing part. When the specified element 51 can be used, a coordinate system correction command generating/adding processing part generates the coordinate system correction command using the specified element 51 as a correcting reference element and adds the command to the NC data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、例えばレーザ加
工機やパンチング加工機に適用されるNCデータの座標
系補正指令付加方法と、NCデータの座標系補正指令付
加装置、並びにNCデータの座標系補正指令付加を実行
させるためのプログラムを記録したコンピュータ読み取
り可能な記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for adding a coordinate system correction command for NC data applied to a laser beam machine or a punching machine, a device for adding a coordinate system correction command for NC data, and a coordinate system for NC data. The present invention relates to a computer-readable recording medium on which a program for executing a correction command addition is recorded.

【0002】[0002]

【従来の技術】一般に、パンチング加工機で加工した材
料をレーザ加工機で加工するため掴み換えをする場合
や、レーザ加工機でレーザ加工を行う途中で材料の掴み
換えをする場合には、材料の掴み換えにともなって座標
系の補正をする必要があり、その補正指令をNCデータ
に付加しておかなければならない。
2. Description of the Related Art Generally, when a material processed by a punching machine is re-gripped for processing by a laser processing machine, or when a material is re-gripped during laser processing by a laser processing machine, the material is generally rejected. It is necessary to correct the coordinate system in accordance with the gripping of, and the correction command must be added to the NC data.

【0003】このような材料の掴み換えにともなう座標
系の補正を行う場合、その補正の基準とする穴(要素)
となるために必要な条件は、その穴が、掴み換え前の加
工範囲および掴み換え後の加工範囲の両方が重なり合う
領域に位置し、しかも、掴み換え前に穴あけ加工が行わ
れることである。
[0003] In the case of correcting the coordinate system due to the re-gripping of such a material, a hole (element) is used as a reference for the correction.
The condition required to satisfy the condition is that the hole is located in a region where both the processing range before the gripping and the processing range after the gripping overlap, and that the drilling is performed before the gripping.

【0004】そして、このような座標系の補正指令をN
Cデータに付加するにあたり、従来は、NCデータを作
成するための工具軌跡割り付け時に、パンチング加工で
割り付けた適宜の穴に対して、その穴を座標系の補正基
準穴とするべくオペレータが指示し、この指示された補
正基準穴を補正の基準とする座標系の補正指令を、NC
データ作成時にNCデータに付加していた。
Then, such a correction command of the coordinate system is given by N
Conventionally, when adding to the C data, when assigning a tool path for creating NC data, an operator instructs an appropriate hole allocated by punching processing to use the hole as a correction reference hole of a coordinate system. A correction command for a coordinate system using the specified correction reference hole as a correction reference
It was added to the NC data when the data was created.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のものは、NCデータ作成前に座標系の補正基
準穴を指示するため、NCデータ作成時に生成される材
料の掴み換え指令については事前に把握することができ
ず、したがって、座標系の補正指令で補正基準穴とされ
ている穴が、材料の掴み換え前に穴あけ加工が行われる
かどうかについては不明であり、その結果、座標系の補
正指令で補正基準穴とされている穴が、実際には補正基
準穴として使用できない場合があるという問題があっ
た。
However, in such a conventional device, a correction reference hole of the coordinate system is designated before the NC data is created. Therefore, it is unclear whether the hole that is set as the correction reference hole in the coordinate system correction command is drilled before re-gripping the material, and as a result, the coordinate system However, there is a problem that the hole which is determined to be the correction reference hole in the correction command in the above-mentioned correction instruction may not be actually used as the correction reference hole.

【0006】この発明の課題は、上記従来のもののもつ
問題点を排除して、座標系の補正基準要素として実際に
使用可能な要素を、座標系補正指令に盛り込んでそれを
NCデータに付加することのできるNCデータの座標系
補正指令付加方法およびその装置、並びにNCデータの
座標系補正指令付加を実行させるためのプログラムを記
録したコンピュータ読み取り可能な記録媒体を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned problems of the prior art and incorporate an element that can be actually used as a coordinate system correction reference element into a coordinate system correction command and add it to NC data. It is an object of the present invention to provide a method and an apparatus for adding a coordinate system correction command to NC data, and a computer-readable recording medium storing a program for executing the addition of a coordinate system correction command to NC data.

【0007】[0007]

【課題を解決するための手段】この発明は上記課題を解
決するものであって、請求項1に係る発明は、材料の掴
み換えにともなう座標系の補正指令をNCデータに付加
する方法において、あらかじめ作成されたNCデータに
基づく材料の工具軌跡を画面に表示する工程と、前記画
面の工具軌跡中で指示された要素が、座標系の補正基準
要素として使用可能であるか否かを判定する工程と、使
用可能な指示要素を補正基準要素とする座標系の補正指
令を生成して、NCデータに付加する工程とからなるN
Cデータの座標系補正指令付加方法である。
Means for Solving the Problems The present invention solves the above-mentioned problems, and the invention according to claim 1 is a method for adding a correction command of a coordinate system accompanying gripping of a material to NC data. Displaying the tool path of the material based on the NC data created in advance on the screen, and determining whether an element designated in the tool path on the screen can be used as a correction reference element of the coordinate system; And a step of generating a correction command of a coordinate system using an available pointing element as a correction reference element and adding the command to the NC data.
This is a method of adding a coordinate system correction command for C data.

【0008】請求項2に係る発明は、材料の掴み換えに
ともなう座標系の補正指令をNCデータに付加する方法
において、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する工程と、前記画面上で所
定位置に補正基準用の穴あけが指示されたとき、その穴
加工指令を生成して、NCデータに付加する工程と、前
記穴を補正基準穴とする座標系の補正指令を生成して、
NCデータに付加する工程とからなるNCデータの座標
系補正指令付加方法である。
According to a second aspect of the present invention, there is provided a method for adding a correction command of a coordinate system for gripping a material to NC data, the method comprising: displaying a tool trajectory of the material based on the NC data created in advance on a screen; A step of generating a hole machining command when a drilling for a correction reference is instructed at a predetermined position on the screen and adding the hole processing command to NC data; Generate
And a step of adding a coordinate system correction command to the NC data.

【0009】請求項3に係る発明は、材料の掴み換えに
ともなう座標系の補正指令をNCデータに付加する方法
において、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する工程と、穴あけまたは穴
指示が選択される工程と、前記穴あけが選択されたと
き、前記画面上で指示された位置に穴あけする穴加工指
令を生成して、NCデータに付加する工程と、前記穴指
示が選択されたとき、前記画面上で指示された穴が座標
系の補正基準穴として使用可能であるか否かを判定する
工程と、使用可能な指示穴を補正基準穴とする座標系の
補正指令を生成して、NCデータに付加する工程とから
なるNCデータの座標系補正指令付加方法である。
According to a third aspect of the present invention, there is provided a method for adding a correction command of a coordinate system for gripping a material to NC data, the method comprising: displaying a tool path of the material based on the NC data created in advance on a screen; Selecting a drilling or hole instruction, generating a drilling command for drilling at a position specified on the screen when the drilling is selected, and adding the drilling instruction to NC data; Is selected, a step of determining whether the hole indicated on the screen is usable as a correction reference hole of the coordinate system, and correcting the coordinate system using the usable indicated hole as the correction reference hole Generating a command and adding the command to the NC data.

【0010】請求項4に係る発明は、請求項1、2また
は3記載の発明において、前記画面上で材料の掴み換え
前の加工範囲および掴み換え後の加工範囲の両方が重な
り合う領域を表示する工程を含むNCデータの座標系補
正指令付加方法である。
[0010] According to a fourth aspect of the present invention, in the first, second or third aspect of the present invention, an area where both the processing range before and after the gripping of the material overlaps on the screen is displayed. This is a method for adding a coordinate system correction command to NC data including a process.

【0011】請求項5に係る発明は、請求項1または請
求項3記載の発明において、前記判定工程は、前記指示
された要素または穴が、材料の掴み換え前の加工範囲お
よび掴み換え後の加工範囲の両方に含まれる領域内に位
置し、かつ、掴み換え前に加工が行われるものであると
き、当該指示された要素または穴が、座標系の補正基準
要素または補正基準穴として使用可能であると判定する
NCデータの座標系補正指令付加方法である。
According to a fifth aspect of the present invention, in the first or third aspect of the invention, in the determining step, the instructed element or hole includes a processing range before the material is changed and a processing range after the material is changed. The specified element or hole can be used as a correction reference element or correction reference hole in the coordinate system when it is located in the area included in both of the processing ranges and processing is performed before gripping This is a method of adding a coordinate system correction command for NC data that is determined to be.

【0012】請求項6に係る発明は、請求項1、2また
は3記載の発明において、前記座標系の補正指令は、N
Cデータの掴み換え指令の直後に付加するNCデータの
座標系補正指令付加方法である。
According to a sixth aspect of the present invention, in the first, second or third aspect, the correction command for the coordinate system is N
This is a method of adding an NC data coordinate system correction command to be added immediately after a C data re-gripping command.

【0013】請求項7に係る発明は、請求項2または請
求項3記載の発明において、前記穴加工指令は、NCデ
ータの掴み換え指令の前に付加するNCデータの座標系
補正指令付加方法である。
According to a seventh aspect of the present invention, in the second or third aspect, the hole machining command is a method for adding a coordinate system correction command for NC data added before a gripping command of NC data. is there.

【0014】請求項8に係る発明は、材料の掴み換えに
ともなう座標系の補正指令をNCデータに付加する方法
において、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する工程と、前記画面上で材
料の掴み換え前の加工範囲および掴み換え後の加工範囲
の両方が重なり合う領域を表示する工程と、前記画面上
で穴が指示されたとき、その穴が、前記領域内に位置
し、かつ、掴み換え前に加工が行われるものであると
き、当該指示された穴が座標系の補正基準穴として使用
可能であると判定し、それ以外のときは使用不能である
と判定する工程と、前記指示された穴が使用可能である
と判定されたとき、当該穴を補正基準穴とする座標系の
補正指令を生成して、NCデータの掴み換え指令の直後
に付加する工程とからなるNCデータの座標系補正指令
付加方法である。
According to an eighth aspect of the present invention, there is provided a method for adding a correction command of a coordinate system for grasping a material to NC data, the method comprising: displaying a tool path of the material based on the NC data created in advance on a screen; A step of displaying an area where both the processing range before gripping and the processing range after gripping of the material overlap on the screen, and when a hole is designated on the screen, the hole is located within the area. When it is located and the processing is performed before re-gripping, it is determined that the indicated hole is usable as a correction reference hole of the coordinate system, and otherwise, it is determined that it is unusable. And generating a correction command of a coordinate system using the hole as a correction reference hole when it is determined that the specified hole is usable, and adding the correction command immediately after the NC data gripping command. And from Is a coordinate system correction command additional methods that NC data.

【0015】請求項9に係る発明は、材料の掴み換えに
ともなう座標系の補正指令をNCデータに付加する方法
において、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する工程と、前記画面上で材
料の掴み換え前の加工範囲および掴み換え後の加工範囲
の両方が重なり合う領域を表示する工程と、穴あけまた
は穴指示が選択される工程と、前記穴あけが選択された
とき、前記画面上で穴あけを指示された位置が前記領域
内であるか否かを判定する工程と、前記指示された位置
が前記領域内であるとき、前記穴あけ用の穴加工指令を
生成して、NCデータの掴み換え指令の前に付加する工
程と、前記穴指示が選択されたとき、前記画面上で指示
された穴が、前記領域内に位置し、かつ、掴み換え前に
加工が行われるものであるとき、当該指示された穴が座
標系の補正基準穴として使用可能であると判定し、それ
以外のときは使用不能であると判定する工程と、前記指
示された穴が使用可能であると判定されたとき、当該穴
を補正基準穴とする座標系の補正指令を生成して、NC
データの掴み換え指令の直後に付加する工程とからなる
NCデータの座標系補正指令付加方法である。
According to a ninth aspect of the present invention, there is provided a method of adding a correction command of a coordinate system accompanying the gripping of a material to NC data, wherein a step of displaying a tool path of the material based on the NC data created in advance on a screen. A step of displaying an area in which both the processing range before gripping and the processing range after gripping of the material overlap on the screen, a step in which drilling or a hole instruction is selected, and when the drilling is selected, A step of determining whether the position where drilling is instructed on the screen is within the area, and when the specified position is within the area, generating a hole machining command for drilling, Adding the NC data before the gripping command, and when the hole instruction is selected, the hole specified on the screen is located in the area, and processing is performed before gripping. Also Is determined, the specified hole is determined to be usable as a correction reference hole in the coordinate system, otherwise, it is determined to be unusable, and the specified hole is usable. Is determined, a correction command for the coordinate system using the hole as a correction reference hole is generated, and NC
This is a method for adding a coordinate system correction command for NC data, which comprises a step of adding the data immediately after the command for re-gripping the data.

【0016】請求項10に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加する装
置において、あらかじめ作成されたNCデータに基づく
材料の工具軌跡を画面に表示する手段と、前記画面の工
具軌跡中で要素を指示する手段と、前記指示された要素
が、座標系の補正基準要素として使用可能であるか否か
を判定する手段と、使用可能な指示要素を補正基準要素
とする座標系の補正指令を生成して、NCデータに付加
する手段とを備えているNCデータの座標系補正指令付
加装置である。
According to a tenth aspect of the present invention, there is provided an apparatus for adding a correction command of a coordinate system for grasping a material to a NC data, wherein the tool trajectory based on the NC data created in advance is displayed on a screen. Means for designating an element in the tool path on the screen, means for determining whether the designated element can be used as a correction reference element for a coordinate system, A means for generating a correction command for the coordinate system as an element and adding the correction command to the NC data.

【0017】請求項11に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加する装
置において、あらかじめ作成されたNCデータに基づく
材料の工具軌跡を画面に表示する手段と、前記画面上で
所定位置に補正基準用の穴あけを指示する手段と、前記
指示された穴の加工指令を生成して、NCデータに付加
する手段と、前記穴を補正基準穴とする座標系の補正指
令を生成して、NCデータに付加する手段とを備えてい
るNCデータの座標系補正指令付加装置である。
According to an eleventh aspect of the present invention, there is provided an apparatus for adding a correction command of a coordinate system for gripping a material to NC data, wherein a means for displaying a tool trajectory of the material based on the NC data created in advance on a screen. Means for instructing a hole to be used as a correction reference at a predetermined position on the screen, means for generating a machining command for the specified hole and adding it to NC data, and a coordinate system that uses the hole as a correction reference hole. And a means for generating a correction command for the NC data and adding the correction command to the NC data.

【0018】請求項12に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加する装
置において、あらかじめ作成されたNCデータに基づく
材料の工具軌跡を画面に表示する手段と、穴あけまたは
穴指示を選択する手段と、前記画面上で穴あけ位置また
は穴を指示する手段と、前記穴あけが選択されたとき、
前記画面上で指示された位置に穴あけする穴加工指令を
生成して、NCデータに付加する手段と、前記穴指示が
選択されたとき、前記画面上で指示された穴が座標系の
補正基準穴として使用可能であるか否かを判定する手段
と、使用可能な指示穴を補正基準穴とする座標系の補正
指令を生成して、NCデータに付加する手段とを備えて
いるNCデータの座標系補正指令付加装置である。
According to a twelfth aspect of the present invention, there is provided an apparatus for adding a correction command of a coordinate system for gripping a material to NC data, wherein a tool trajectory of the material based on the NC data created in advance is displayed on a screen. Means for selecting a hole or hole instruction, means for indicating a hole position or hole on the screen, and when the hole is selected,
Means for generating a hole machining command for drilling at the position specified on the screen and adding the same to the NC data; and when the hole specification is selected, the hole specified on the screen is used as a correction reference for the coordinate system. A means for determining whether or not the hole can be used as a hole, and a means for generating a correction command of a coordinate system using the usable indicated hole as a correction reference hole and adding the command to the NC data. This is a coordinate system correction command adding device.

【0019】請求項13に係る発明は、請求項10、1
1または12記載の発明において、前記表示手段は、前
記画面上で材料の掴み換え前の加工範囲および掴み換え
後の加工範囲の両方が重なり合う領域を表示するNCデ
ータの座標系補正指令付加装置である。
The invention according to claim 13 is the invention according to claims 10 and 1
In the invention described in 1 or 12, the display means is an NC data coordinate system correction command adding device that displays an area on the screen where both the processing range before the gripping of the material and the processing range after the gripping are overlapped. is there.

【0020】請求項14に係る発明は、請求項10また
は請求項12記載の発明において、前記判定手段は、前
記指示された要素または穴が、材料の掴み換え前の加工
範囲および掴み換え後の加工範囲の両方に含まれる領域
内に位置し、かつ、掴み換え前に加工が行われるもので
あるとき、当該指示された要素または穴が、座標系の補
正基準要素または補正基準穴として使用可能であると判
定するNCデータの座標系補正指令付加装置である。
According to a fourteenth aspect of the present invention, in the invention of the tenth or twelfth aspect, the judging means determines that the designated element or hole has a processing range before the material is re-gripped and a processing range after the re-gripping. The specified element or hole can be used as a correction reference element or correction reference hole in the coordinate system when it is located in the area included in both of the processing ranges and processing is performed before gripping Is a coordinate system correction command adding device for NC data that is determined to be.

【0021】請求項15に係る発明は、請求項10、1
1または12記載の発明において、前記座標系の補正指
令の付加手段は、当該座標系の補正指令を、NCデータ
の掴み換え指令の直後に付加するNCデータの座標系補
正指令付加装置である。
The invention according to claim 15 is the invention according to claims 10 and 1
13. The apparatus according to claim 1 or 12, wherein the means for adding the coordinate system correction command is an NC data coordinate system correction command adding device for adding the coordinate system correction command immediately after the NC data gripping command.

【0022】請求項16に係る発明は、請求項11また
は請求項12記載の発明において、前記穴加工指令の付
加手段は、当該穴加工指令を、NCデータの掴み換え指
令の前に付加するNCデータの座標系補正指令付加装置
である。
According to a sixteenth aspect of the present invention, in the eleventh or twelfth aspect of the present invention, the means for adding a drilling command includes a step of adding the drilling command before the gripping command of the NC data. This is a data coordinate system correction command adding device.

【0023】請求項17に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加する装
置において、あらかじめ作成されたNCデータに基づく
材料の工具軌跡を画面に表示するとともに、その画面上
で材料の掴み換え前の加工範囲および掴み換え後の加工
範囲の両方が重なり合う領域を表示する手段と、前記画
面上で穴を指示する手段と、前記指示された穴が、前記
領域内に位置し、かつ、掴み換え前に加工が行われるも
のであるとき、当該指示された穴が座標系の補正基準穴
として使用可能であると判定し、それ以外のときは使用
不能であると判定する手段と、前記指示された穴が使用
可能であると判定されたとき、当該穴を補正基準穴とす
る座標系の補正指令を生成して、NCデータの掴み換え
指令の直後に付加する手段とを備えているNCデータの
座標系補正指令付加装置である。
According to a seventeenth aspect of the present invention, in a device for adding a correction command of a coordinate system for gripping a material to NC data, a tool locus of the material based on the NC data created in advance is displayed on a screen. Means for displaying an area on the screen where both the processing range before gripping of the material and the processing range after gripping are overlapped; means for indicating a hole on the screen; and Is located in the area, and the processing is performed before re-gripping, it is determined that the designated hole is usable as a correction reference hole of the coordinate system, and otherwise, it is unavailable. Means for determining whether the specified hole is usable and generating a correction command of a coordinate system using the hole as a correction reference hole and adding the correction command immediately after the NC data re-gripping command. It is a coordinate system correction command additional device NC data and a that means.

【0024】請求項18に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加する装
置において、あらかじめ作成されたNCデータに基づく
材料の工具軌跡を画面に表示するとともに、その画面上
で材料の掴み換え前の加工範囲および掴み換え後の加工
範囲の両方が重なり合う領域を表示する手段と、穴あけ
または穴指示を選択する手段と、前記画面上で穴あけ位
置または穴を指示する手段と、前記穴あけが選択された
とき、前記画面上で穴あけを指示された位置が前記領域
内であるか否かを判定する手段と、前記指示された位置
が前記領域内であるとき、前記穴あけ用の穴加工指令を
生成して、NCデータの掴み換え指令の前に付加する手
段と、前記穴指示が選択されたとき、前記画面上で指示
された穴が、前記領域内に位置し、かつ、掴み換え前に
加工が行われるものであるとき、当該指示された穴が座
標系の補正基準穴として使用可能であると判定し、それ
以外のときは使用不能であると判定する手段と、前記指
示された穴が使用可能であると判定されたとき、当該穴
を補正基準穴とする座標系の補正指令を生成して、NC
データの掴み換え指令の直後に付加する手段とを備えて
いるNCデータの座標系補正指令付加装置である。
According to an eighteenth aspect of the present invention, there is provided an apparatus for adding a correction command of a coordinate system for gripping a material to NC data, wherein a tool locus of the material based on the NC data created in advance is displayed on a screen, Means for displaying an area where both the machining range before and after the gripping of the material overlap on the screen, a means for selecting drilling or a hole instruction, and indicating a drilling position or hole on the screen Means for performing, when the drilling is selected, means for determining whether the position where drilling is instructed on the screen is within the area, and when the instructed position is within the area, Means for generating a drilling command for drilling and adding it before a gripping command of NC data, and when the drilling instruction is selected, the hole specified on the screen is If it is located within the area and is to be machined before regripping, it is determined that the indicated hole is usable as a correction reference hole in the coordinate system, and otherwise it is not usable. Means for determining whether the specified hole is usable and generating a correction command for a coordinate system using the hole as a correction reference hole, and
An NC data coordinate system correction command adding device including means for adding data immediately after a data re-gripping command.

【0025】請求項19に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加するN
Cデータの座標系補正指令付加を実行させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
であって、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する処理と、前記画面の工具
軌跡中で指示された要素が、座標系の補正基準要素とし
て使用可能であるか否かを判定する処理と、使用可能な
指示要素を補正基準要素とする座標系の補正指令を生成
して、NCデータに付加する処理とをコンピュータに実
行させるためのプログラムを記録したコンピュータ読み
取り可能な記録媒体である。
According to a nineteenth aspect of the present invention, a correction command for a coordinate system accompanying the gripping of a material is added to NC data.
A computer-readable recording medium in which a program for executing a coordinate system correction command addition of C data is recorded, wherein a process of displaying a tool path of a material based on NC data created in advance on a screen is performed. Processing for determining whether or not the element specified in the tool path can be used as a correction reference element for the coordinate system, and generating a correction command for the coordinate system using the usable specified element as the correction reference element , A computer-readable recording medium on which a program for causing a computer to execute a process of adding to NC data is recorded.

【0026】請求項20に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加するN
Cデータの座標系補正指令付加を実行させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
であって、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する処理と、前記画面上で所
定位置に補正基準用の穴あけが指示されたとき、その穴
加工指令を生成して、NCデータに付加する処理と、前
記穴を補正基準穴とする座標系の補正指令を生成して、
NCデータに付加する処理とをコンピュータに実行させ
るためのプログラムを記録したコンピュータ読み取り可
能な記録媒体である。
According to a twentieth aspect of the present invention, a correction command for a coordinate system accompanying a change of material is added to NC data.
A computer-readable recording medium in which a program for executing a coordinate system correction command addition of C data is recorded, wherein a process of displaying a tool path of a material based on NC data created in advance on a screen is performed. When a hole for a correction reference is instructed at a predetermined position, a hole machining command is generated, a process of adding the hole processing command to NC data, and a correction command of a coordinate system using the hole as a correction reference hole, are generated.
This is a computer-readable recording medium in which a program for causing a computer to execute a process of adding to NC data is recorded.

【0027】請求項21に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加するN
Cデータの座標系補正指令付加を実行させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
であって、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する処理と、穴あけまたは穴
指示が選択される処理と、前記穴あけが選択されたと
き、前記画面上で指示された位置に穴あけする穴加工指
令を生成して、NCデータに付加する処理と、前記穴指
示が選択されたとき、前記画面上で指示された穴が座標
系の補正基準穴として使用可能であるか否かを判定する
処理と、使用可能な指示穴を補正基準穴とする座標系の
補正指令を生成して、NCデータに付加する処理とをコ
ンピュータに実行させるためのプログラムを記録したコ
ンピュータ読み取り可能な記録媒体である。
According to a twenty-first aspect of the present invention, there is provided a method for adding a correction command of a coordinate system accompanying a change of material to NC data.
A computer-readable recording medium in which a program for executing a coordinate data correction command addition of C data is recorded, wherein a process of displaying a tool path of a material based on NC data created in advance on a screen, and forming a hole or a hole A process for selecting an instruction, a process for generating a hole machining command for drilling at a position specified on the screen when the drilling is selected, adding the process to the NC data, and a process for selecting the hole instruction. When determining whether the hole specified on the screen can be used as a correction reference hole in the coordinate system, and generating a correction command for the coordinate system using the available specified hole as the correction reference hole. And a computer-readable recording medium on which a program for causing a computer to execute a process of adding to NC data is recorded.

【0028】請求項22に係る発明は、請求項19、2
0または21記載の発明において、前記画面上で材料の
掴み換え前の加工範囲および掴み換え後の加工範囲の両
方が重なり合う領域を表示する処理を含むプログラムを
記録したコンピュータ読み取り可能な記録媒体である。
The invention according to claim 22 is the invention according to claims 19 and 2
22. The computer-readable recording medium according to any one of claims 0 to 21, wherein a program including a process of displaying an area where both the processing range before and after the gripping of the material overlaps on the screen is displayed. .

【0029】請求項23に係る発明は、請求項19また
は請求項21記載の発明において、前記判定処理は、前
記指示された要素または穴が、材料の掴み換え前の加工
範囲および掴み換え後の加工範囲の両方に含まれる領域
内に位置し、かつ、掴み換え前に加工が行われるもので
あるとき、当該指示された要素または穴が、座標系の補
正基準要素または補正基準穴として使用可能であると判
定するプログラムを記録したコンピュータ読み取り可能
な記録媒体である。
According to a twenty-third aspect of the present invention, in the nineteenth aspect or the twenty-first aspect, the determination processing is performed so that the designated element or hole is processed in a machining range before re-gripping the material and after the re-gripping. The specified element or hole can be used as a correction reference element or correction reference hole in the coordinate system when it is located in the area included in both of the processing ranges and processing is performed before gripping And a computer-readable recording medium storing a program for determining that

【0030】請求項24に係る発明は、請求項19、2
0または21記載の発明において、前記座標系の補正指
令は、NCデータの掴み換え指令の直後に付加するプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
である。
The invention according to claim 24 is the invention according to claims 19 and 2
22. The computer-readable recording medium according to claim 0 or 21, wherein the correction command for the coordinate system is a computer-readable recording medium in which a program to be added immediately after the NC data gripping command is recorded.

【0031】請求項25に係る発明は、請求項20また
は請求項21記載の発明において、前記穴加工指令は、
NCデータの掴み換え指令の前に付加するプログラムを
記録したコンピュータ読み取り可能な記録媒体である。
According to a twenty-fifth aspect of the present invention, in the twentieth or twenty-first aspect, the drilling command is:
This is a computer-readable recording medium that records a program to be added before an NC data regripping command.

【0032】請求項26に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加するN
Cデータの座標系補正指令付加を実行させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
であって、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する処理と、前記画面上で材
料の掴み換え前の加工範囲および掴み換え後の加工範囲
の両方が重なり合う領域を表示する処理と、前記画面上
で穴が指示されたとき、その穴が、前記領域内に位置
し、かつ、掴み換え前に加工が行われるものであると
き、当該指示された穴が座標系の補正基準穴として使用
可能であると判定し、それ以外のときは使用不能である
と判定する処理と、前記指示された穴が使用可能である
と判定されたとき、当該穴を補正基準穴とする座標系の
補正指令を生成して、NCデータの掴み換え指令の直後
に付加する処理とをコンピュータに実行させるためのプ
ログラムを記録したコンピュータ読み取り可能な記録媒
体である。
According to a twenty-sixth aspect of the present invention, a correction command for a coordinate system accompanying a change of material is added to NC data.
A computer-readable recording medium in which a program for executing a coordinate system correction command addition of C data is recorded, wherein a process of displaying a tool path of a material based on NC data created in advance on a screen is performed. In the process of displaying a region in which both the processing range before gripping of the material and the processing range after gripping are overlapped, when a hole is designated on the screen, the hole is located in the region, and When processing is performed before re-gripping, it is determined that the indicated hole can be used as a correction reference hole of the coordinate system, otherwise, it is determined that it is unusable, When it is determined that the specified hole is usable, a process of generating a coordinate system correction command using the hole as a correction reference hole and adding it immediately after the NC data re-gripping command is performed. A computer-readable recording medium recording a program to be executed by a computer.

【0033】請求項27に係る発明は、材料の掴み換え
にともなう座標系の補正指令をNCデータに付加するN
Cデータの座標系補正指令付加を実行させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒体
であって、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示する処理と、前記画面上で材
料の掴み換え前の加工範囲および掴み換え後の加工範囲
の両方が重なり合う領域を表示する処理と、穴あけまた
は穴指示が選択される処理と、前記穴あけが選択された
とき、前記画面上で穴あけを指示された位置が前記領域
内であるか否かを判定する処理と、前記指示された位置
が前記領域内であるとき、前記穴あけ用の穴加工指令を
生成して、NCデータの掴み換え指令の前に付加する処
理と、前記穴指示が選択されたとき、前記画面上で指示
された穴が、前記領域内に位置し、かつ、掴み換え前に
加工が行われるものであるとき、当該指示された穴が座
標系の補正基準穴として使用可能であると判定し、それ
以外のときは使用不能であると判定する処理と、前記指
示された穴が使用可能であると判定されたとき、当該穴
を補正基準穴とする座標系の補正指令を生成して、NC
データの掴み換え指令の直後に付加する処理とをコンピ
ュータに実行させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体である。
According to a twenty-seventh aspect of the present invention, there is provided a method for adding a correction command of a coordinate system for changing a material to NC data.
A computer-readable recording medium in which a program for executing a coordinate system correction command addition of C data is recorded, wherein a process of displaying a tool path of a material based on NC data created in advance on a screen is performed. In the process of displaying a region in which both the machining range before the gripping of the material and the machining range after the gripping are overlapped, a process in which drilling or a hole instruction is selected, and when the drilling is selected, on the screen, A process of determining whether or not the position instructed to be drilled is in the area; and, when the instructed position is in the area, generating a drilling command for drilling and grasping NC data. The process to be added before the change command and when the hole instruction is selected, the hole specified on the screen is located in the area, and processing is performed before gripping. Is determined, the specified hole is determined to be usable as a correction reference hole in the coordinate system, and otherwise, the process is determined to be unusable, and the specified hole is usable. Is determined, a correction command for the coordinate system using the hole as a correction reference hole is generated, and NC
This is a computer-readable recording medium on which a program for causing a computer to execute a process to be added immediately after a data re-gripping command and a computer is recorded.

【0034】[0034]

【発明の実施の形態】この発明の実施の形態を、図面を
参照して説明する。図1は、この発明によるNCデータ
の座標系補正指令付加装置の一実施の形態を示すブロッ
ク図であり、このNCデータの座標系補正指令付加装置
1は、実質的にコンピュータで構成されるものであっ
て、処理装置(CPU)10、記憶装置20、入力装置
30および表示装置40を備えている。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an NC data coordinate system correction command adding apparatus according to the present invention. The NC data coordinate system correction command adding apparatus 1 is substantially constituted by a computer. And a processing device (CPU) 10, a storage device 20, an input device 30, and a display device 40.

【0035】処理装置(CPU)10は、描画処理部1
1、穴あけ/穴指示判定処理部12、穴あけ位置判定処
理部13、穴あけ位置設定処理部14、穴加工指令生成
/付加処理部15、補正基準穴判定処理部16、補正基
準穴設定処理部17および座標系補正指令生成/付加処
理部18を備えている。
The processing device (CPU) 10 includes the drawing processing unit 1
1. Drilling / hole instruction determination processing unit 12, drilling position determination processing unit 13, drilling position setting processing unit 14, drilling command generation / addition processing unit 15, correction reference hole determination processing unit 16, correction reference hole setting processing unit 17 And a coordinate system correction command generation / addition processing unit 18.

【0036】記憶装置20は、加工すべき図形が与えら
れ、その図形に加工のための工具軌跡を割り付けること
で作成されたNCデータを記憶したNCデータ記憶部2
1を備えている。
The storage device 20 is provided with a figure to be machined and stores the NC data created by allocating a tool path for machining to the figure.
1 is provided.

【0037】入力装置30は、マウス、キーボード等を
備えた入力操作用のものであり、表示装置40は、CR
T、LCD等の画像表示用のものである。
The input device 30 is for input operation including a mouse, a keyboard, and the like.
It is for displaying images such as T and LCD.

【0038】処理装置(CPU)10において、描画処
理部11は、NCデータ記憶部21に記憶された作成済
みのNCデータを読み込み、そのNCデータに基づく図
形を表示装置40の画面に表示するものであって、材料
の工具軌跡を表示するとともに、材料の掴み換え前の加
工範囲および掴み換え後の加工範囲の両方が重なり合う
領域も表示するものである。
In the processing device (CPU) 10, the drawing processing unit 11 reads the created NC data stored in the NC data storage unit 21 and displays a graphic based on the NC data on the screen of the display device 40. In addition to displaying the tool trajectory of the material, an area in which both the processing range before the gripping of the material and the processing range after the gripping are overlapped is also displayed.

【0039】すなわち、描画処理部11は、図3に示す
ように、表示装置40の画面中の図形表示領域41に、
材料42、工具軌跡43、掴み換え前の加工範囲44a
および掴み換え後の加工範囲44bを表示し、掴み換え
前後の加工範囲を同時に表示することで、重なり合う領
域44abも表示されるようになっている。
That is, as shown in FIG. 3, the drawing processing unit 11 stores a graphic display area 41 in the screen of the display device 40
Material 42, tool path 43, machining range 44a before gripping
By displaying the machining range 44b after the gripping and the gripping, and simultaneously displaying the machining range before and after the gripping, the overlapping area 44ab is also displayed.

【0040】また、表示装置40の画面には、コマンド
ボタンの表示領域45と、メッセージ表示領域49とが
設けられ、コマンドボタンの表示領域45には少なくと
も、穴あけボタン46、穴指示ボタン47、終了ボタン
48が表示され、これらのコマンドボタン46、47、
48は、オペレータが入力装置30のマウスを使って操
作するようになっている。
On the screen of the display device 40, a display area 45 for command buttons and a message display area 49 are provided. The display area 45 for command buttons includes at least a drilling button 46, a hole instruction button 47, and an end button. A button 48 is displayed, and these command buttons 46, 47,
Reference numeral 48 denotes an operation performed by an operator using the mouse of the input device 30.

【0041】穴あけ/穴指示判定処理部12は、穴あけ
ボタン46または穴指示ボタン47のどちらが操作され
たかを判定するものであり、穴あけボタン46が操作さ
れた場合は、穴あけ位置判定処理部13、穴あけ位置設
定処理部14および穴加工指令生成/付加処理部15を
順に動作させ、また、穴指示ボタン47が操作された場
合は、補正基準穴判定処理部16、補正基準穴設定処理
部17および座標系補正指令生成/付加処理部18を順
に動作させるようになっている。
The drilling / hole instruction determination processing unit 12 determines which of the drilling button 46 and the hole instruction button 47 has been operated, and when the drilling button 46 has been operated, the drilling position determination processing unit 13 The drilling position setting processing unit 14 and the hole processing command generation / addition processing unit 15 are operated in order, and when the hole instruction button 47 is operated, the correction reference hole determination processing unit 16, the correction reference hole setting processing unit 17, and The coordinate system correction command generation / addition processing section 18 is operated in order.

【0042】穴あけ位置判定処理部13は、オペレータ
が入力装置30のマウスを使って穴あけ位置の座標を指
示すると、その指示された穴あけ位置が、掴み換え前後
の加工範囲の重なり合う領域内であるか否かを判定する
ものであり、指示された穴あけ位置がその領域内である
ときは、穴あけ位置設定処理部14がその位置を穴あけ
位置として設定するようになっている。
When the operator specifies the coordinates of the drilling position using the mouse of the input device 30, the drilling position determination processing section 13 determines whether the specified drilling position is within the overlapping area of the machining range before and after the gripping. If the designated drilling position is within the area, the drilling position setting processing unit 14 sets the position as the drilling position.

【0043】また、穴あけ位置判定処理部13および穴
あけ位置設定処理部14は、描画処理部11を介して、
表示装置40のメッセージ表示領域49に適宜のメッセ
ージを表示するようになっている。
The drilling position determination processing unit 13 and the drilling position setting processing unit 14
An appropriate message is displayed in the message display area 49 of the display device 40.

【0044】穴加工指令生成/付加処理部15は、オペ
レータが入力装置30のマウスを使って終了ボタン48
を操作すると、穴あけ位置設定処理部14が設定した穴
あけ位置に所定の穴形状の工具軌跡51を生成するとと
もに、その穴形状の工具軌跡51を加工すべき穴加工指
令を生成して、その穴加工指令をNCデータの掴み換え
指令の前に付加するものである。
The drilling command generation / addition processing unit 15 is operated by the
Is operated, a tool path 51 having a predetermined hole shape is generated at the drilling position set by the hole position setting processing section 14, and a hole processing command for processing the tool path 51 having the hole shape is generated. The processing command is added before the NC data re-gripping command.

【0045】すなわち、穴加工指令生成/付加処理部1
5は、掴み換え指令の前に穴加工指令が付加されたNC
データを出力して、NCデータ記憶部21に記憶されて
いるNCデータを書き替えるようになっている。
That is, the hole machining command generation / addition processing unit 1
5 is an NC in which a hole machining command is added before a gripping command.
The data is output, and the NC data stored in the NC data storage unit 21 is rewritten.

【0046】一方、補正基準穴判定処理部16は、オペ
レータが入力装置30のマウスを使って穴51の座標を
指示すると、その指示された穴51を識別するための所
定の囲み52を生成するとともに、その指示された穴5
1が、座標系の補正基準穴として使用可能であるか否か
を判定するものである。
On the other hand, when the operator designates the coordinates of the hole 51 using the mouse of the input device 30, the correction reference hole determination processing section 16 generates a predetermined box 52 for identifying the designated hole 51. With the indicated hole 5
1 determines whether or not it can be used as a correction reference hole in the coordinate system.

【0047】すなわち、補正基準穴判定処理部16は、
指示された穴51が、掴み換え前後の加工範囲の重なり
合う領域内に位置し、かつ、掴み換え前に加工が行われ
るものであるとき、その穴51が座標系の補正基準穴と
して使用可能であると判定し、それ以外のときは使用不
能であると判定するものであり、座標系の補正基準穴と
して使用可能であるときは、補正基準穴設定処理部17
がその穴51を座標系の補正基準穴として設定するよう
になっている。
That is, the correction reference hole determination processing unit 16
When the designated hole 51 is located in the overlapping area of the machining range before and after the gripping and the machining is performed before the gripping, the hole 51 can be used as a correction reference hole of the coordinate system. It is determined that there is, and otherwise it is determined to be unusable. If it can be used as a correction reference hole in the coordinate system, the correction reference hole setting processor 17
Sets the hole 51 as a correction reference hole of the coordinate system.

【0048】また、補正基準穴判定処理部16および補
正基準穴設定処理部17は、描画処理部11を介して、
表示装置40のメッセージ表示領域49に適宜のメッセ
ージを表示するようになっている。
Further, the correction reference hole determination processing unit 16 and the correction reference hole setting processing unit 17
An appropriate message is displayed in the message display area 49 of the display device 40.

【0049】座標系補正指令生成/付加処理部18は、
オペレータが入力装置30のマウスを使って終了ボタン
48を操作すると、補正基準穴設定処理部17が設定し
た穴51を基準として座標系を補正すべき座標系補正指
令を生成して、その座標系補正指令をNCデータの掴み
換え指令の直後に付加するものである。
The coordinate system correction command generation / addition processing unit 18
When the operator operates the end button 48 using the mouse of the input device 30, a coordinate system correction command for correcting the coordinate system based on the hole 51 set by the correction reference hole setting processing unit 17 is generated, and the coordinate system is corrected. The correction command is added immediately after the NC data re-gripping command.

【0050】すなわち、座標系補正指令生成/付加処理
部18は、掴み換え指令の直後に座標系補正指令が付加
されたNCデータを出力して、NCデータ記憶部21に
記憶されているNCデータを書き替えるようになってい
る。
That is, the coordinate system correction command generation / addition processing section 18 outputs the NC data to which the coordinate system correction command is added immediately after the gripping command, and outputs the NC data stored in the NC data storage section 21. Is to be rewritten.

【0051】次に、上記の実施の形態の作用について、
図2に示すフローチャートを用いて説明する。
Next, the operation of the above embodiment will be described.
This will be described with reference to the flowchart shown in FIG.

【0052】まず、あらかじめ作成されたNCデータが
NCデータ記憶部21に記憶されたのち、そのNCデー
タに基づいて実際の加工が行われる前に、描画処理部1
1が動作して、NCデータ記憶部21に記憶された作成
済みのNCデータを読み込む(ステップS1)。
First, after the previously created NC data is stored in the NC data storage unit 21, before the actual processing is performed based on the NC data, the drawing processing unit 1
1 operates to read the created NC data stored in the NC data storage unit 21 (step S1).

【0053】そして描画処理部11は、図3に示すよう
に、表示装置40の画面中の図形表示領域41に、読み
込んだNCデータに基づく材料42の工具軌跡43を表
示するとともに、掴み換え前の加工範囲44aおよび掴
み換え後の加工範囲44bを同時に表示することで、重
なり合う領域44abを表示する(ステップS2)。
Then, as shown in FIG. 3, the drawing processing section 11 displays the tool path 43 of the material 42 based on the read NC data in the graphic display area 41 in the screen of the display device 40, By simultaneously displaying the processing range 44a and the processing range 44b after the gripping, the overlapping area 44ab is displayed (step S2).

【0054】オペレータが表示装置40の画面表示を見
て、重なり合う領域44ab内に適当な穴が見つからな
いときは、マウスを使って穴あけボタン46を選択する
とともに(ステップS3)、穴あけ位置の座標をマウス
で指示する(ステップS11)。
When the operator looks at the screen display of the display device 40 and finds no suitable hole in the overlapping area 44ab, the operator selects the drilling button 46 using the mouse (step S3) and changes the coordinates of the drilling position. An instruction is given with a mouse (step S11).

【0055】すると、穴あけ位置判定処理部13は、指
示された穴あけ位置が、掴み換え前後の加工範囲の重な
り合う領域44ab内であるか否かを判定し(ステップ
S12)、重なり合う領域44ab内であるときは、穴
あけ位置設定処理部14が、その位置を穴あけ位置とし
て設定する(ステップS13)。
Then, the drilling position determination processing section 13 determines whether or not the specified drilling position is within the overlapping area 44ab of the machining range before and after gripping (step S12), and is within the overlapping area 44ab. At this time, the drilling position setting processing unit 14 sets the position as a drilling position (step S13).

【0056】そして、穴指示ボタン47または終了ボタ
ン48を操作しない限り(ステップS14)、ステップ
S11〜S14を繰り返すことで、穴あけ位置を必要数
だけ指示、設定することができる。
As long as the hole instruction button 47 or the end button 48 is not operated (step S14), by repeating steps S11 to S14, the required number of drilling positions can be designated and set.

【0057】オペレータが、穴あけ位置を必要数だけ指
示したうえ、マウスを使って終了ボタン48を操作する
と(ステップS14、S3)、穴加工指令生成/付加処
理部15は、穴あけ位置設定処理部14が設定した穴あ
け位置に所定の穴形状の工具軌跡51を生成するととも
に、その穴形状の工具軌跡51を加工すべき穴加工指令
を生成して、その穴加工指令をNCデータの掴み換え指
令の前に付加する(ステップS31)。
When the operator specifies the required number of drilling positions and operates the end button 48 using the mouse (steps S14 and S3), the drilling command generation / addition processing unit 15 causes the drilling position setting processing unit 14 to Generates a tool path 51 of a predetermined hole shape at the set drilling position, generates a hole processing command for processing the tool path 51 of the hole shape, and converts the hole processing command to a gripping command of NC data. It is added before (step S31).

【0058】そして、穴加工指令を掴み換え指令の前に
付加したNCデータによって、NCデータ記憶部21に
記憶されているNCデータを書き替える(ステップS3
2)。
Then, the NC data stored in the NC data storage unit 21 is rewritten by the NC data added before the gripping command for the hole machining command (step S3).
2).

【0059】一方、オペレータが表示装置40の画面表
示を見て、重なり合う領域44ab内に適当な穴を見つ
けたときは、マウスを使って穴指示ボタン47を選択す
るとともに(ステップS3)、その穴形状の工具軌跡5
1をマウスで指示する(ステップS21)。
On the other hand, when the operator looks at the screen display of the display device 40 and finds an appropriate hole in the overlapping area 44ab, the operator selects the hole instruction button 47 using the mouse (step S3), and Tool path of shape 5
1 is designated by a mouse (step S21).

【0060】すると、補正基準穴判定処理部16は、指
示された穴51が、掴み換え前後の加工範囲の重なり合
う領域44ab内に位置し、かつ、掴み換え前に加工が
行われるものであるとき、その穴51が座標系の補正基
準穴として使用可能であると判定し、それ以外のときは
使用不能であると判定する(ステップS22)。
Then, the correction reference hole determination processing unit 16 determines that the designated hole 51 is located in the overlapping area 44ab of the machining range before and after gripping and that machining is performed before gripping. It is determined that the hole 51 can be used as a correction reference hole in the coordinate system, and otherwise, it is determined that the hole 51 cannot be used (step S22).

【0061】補正基準穴判定処理部16が使用可能であ
ると判定したときは、補正基準穴設定処理部17が、そ
の穴51を座標系の補正基準穴として設定する(ステッ
プS23)。
If the correction reference hole determination processing section 16 determines that the hole can be used, the correction reference hole setting processing section 17 sets the hole 51 as a correction reference hole in the coordinate system (step S23).

【0062】そして、穴あけボタン46または終了ボタ
ン48を操作しない限り(ステップS24)、ステップ
S21〜S24を繰り返すことで、座標系補正基準穴を
必要数だけ指示、設定することができる。
Unless the drilling button 46 or the end button 48 is operated (step S24), the necessary number of coordinate system correction reference holes can be designated and set by repeating steps S21 to S24.

【0063】オペレータが、座標系の補正基準穴として
設定する穴を必要数だけ指示したうえ、マウスを使って
終了ボタン48を操作すると(ステップS24、S
3)、座標系補正指令生成/付加処理部18は、補正基
準穴設定処理部17が設定した穴51を基準として座標
系を補正すべき座標系補正指令を生成して、その座標系
補正指令をNCデータの掴み換え指令の直後に付加する
(ステップS31)。
When the operator instructs a required number of holes to be set as correction reference holes in the coordinate system and operates the end button 48 using a mouse (steps S24 and S24).
3) The coordinate system correction command generation / addition processing unit 18 generates a coordinate system correction command for correcting the coordinate system based on the hole 51 set by the correction reference hole setting processing unit 17, and generates the coordinate system correction command. Is added immediately after the NC data grabbing command (step S31).

【0064】そして、座標系補正指令を掴み換え指令の
直後に付加したNCデータによって、NCデータ記憶部
21に記憶されているNCデータを書き替える(ステッ
プS32)。
Then, the NC data stored in the NC data storage unit 21 is rewritten by the NC data added immediately after the gripping command of the coordinate system correction command (step S32).

【0065】このようにして、表示装置40の画面表示
で重なり合う領域44ab内に適当な穴が見つからない
ときは、穴あけ位置を指示して、穴加工指令をNCデー
タの掴み換え指令の前に付加するとともに、その穴の工
具軌跡を指示して、座標系補正指令をNCデータの掴み
換え指令の直後に付加することとなる。
As described above, when an appropriate hole is not found in the overlapping area 44ab on the screen display of the display device 40, a drilling position is designated, and a drilling command is added before the NC data regripping command. At the same time, the tool locus of the hole is instructed, and the coordinate system correction command is added immediately after the NC data gripping command.

【0066】一方、表示装置40の画面表示で重なり合
う領域44ab内に適当な穴を見つけたときは、その穴
の工具軌跡を指示して、座標系補正指令をNCデータの
掴み換え指令の直後に付加することとなる。
On the other hand, when an appropriate hole is found in the overlapping area 44ab on the screen display of the display device 40, the tool trajectory of the hole is instructed, and the coordinate system correction command is issued immediately after the NC data gripping command. Will be added.

【0067】図4は、上記のようなNCデータの座標系
補正指令付加を実行させるためのプログラムを記録した
コンピュータ読み取り可能な記録媒体の一例としてCD
−ROM2を示したものであり、CD−ROM2に格納
されたNCデータの座標系補正指令付加を実行させるた
めのプログラムは、CD−ROMドライブ3にセットさ
れて所定の読み出し動作が行われることで、コンピュー
タシステム(NCデータの座標系補正指令付加装置1)
にインストールされるものである。
FIG. 4 shows a CD as an example of a computer-readable recording medium in which a program for executing the addition of the NC data coordinate system correction command as described above is recorded.
A program for executing the addition of the coordinate system correction command to the NC data stored in the CD-ROM 2 is set in the CD-ROM drive 3 and a predetermined read operation is performed. , Computer system (NC data coordinate system correction command adding device 1)
It is installed in.

【0068】CD−ROM2に記録されたプログラム
は、材料の掴み換えにともなう座標系の補正指令をNC
データに付加するNCデータの座標系補正指令付加を実
行させるものであって、あらかじめ作成されたNCデー
タに基づく材料の工具軌跡を画面に表示する処理と、前
記画面上で材料の掴み換え前の加工範囲および掴み換え
後の加工範囲の両方が重なり合う領域を表示する処理
と、穴あけまたは穴指示が選択される処理と、前記穴あ
けが選択されたとき、前記画面上で穴あけを指示された
位置が前記領域内であるか否かを判定する処理と、前記
指示された位置が前記領域内であるとき、前記穴あけ用
の穴加工指令を生成して、NCデータの掴み換え指令の
前に付加する処理と、前記穴指示が選択されたとき、前
記画面上で指示された穴が、前記領域内に位置し、か
つ、掴み換え前に加工が行われるものであるとき、当該
指示された穴が座標系の補正基準穴として使用可能であ
ると判定し、それ以外のときは使用不能であると判定す
る処理と、前記指示された穴が使用可能であると判定さ
れたとき、当該穴を補正基準穴とする座標系の補正指令
を生成して、NCデータの掴み換え指令の直後に付加す
る処理とをコンピュータに実行させるためのプログラム
である。
The program recorded on the CD-ROM 2 sends a correction command of the coordinate system according to the gripping of the material to the NC.
A process of displaying a tool trajectory of a material based on NC data created in advance on a screen, and a process of displaying a tool trajectory based on NC data to be added to data before the gripping of the material on the screen. A process of displaying an area where both the machining range and the machining range after gripping are overlapped, a process of selecting drilling or a hole instruction, and when the drilling is selected, a position where drilling is instructed on the screen. Processing for determining whether or not the area is within the area, and when the specified position is within the area, generating a drilling command for drilling and adding the same before the NC data re-grip command. When the processing and the hole instruction are selected, when the hole specified on the screen is located in the area, and when the processing is performed before gripping, the specified hole is Coordinate system It is determined that the hole can be used as a correction reference hole, otherwise, it is determined that the hole is unusable, and when it is determined that the specified hole is usable, the hole is determined as a correction reference hole. This is a program for causing a computer to execute a process of generating a coordinate system correction command to be performed and adding the command immediately after the NC data re-gripping command.

【0069】このようなプログラムを記録する記録媒体
は、CD−ROM2に限定するものでなく、例えば、各
種のディスクメモリ、半導体メモリその他適宜のものを
使用することが可能である。
The recording medium for recording such a program is not limited to the CD-ROM 2, and various types of disk memories, semiconductor memories and other suitable ones can be used, for example.

【0070】なお、上記の実施の形態では、重なり合う
領域44ab内に適当な穴が見つからないときは、穴あ
けボタン46を選択するとともに穴あけ位置を指示する
ことで、穴加工指令を生成/付加したのち、あらため
て、穴指示ボタン47を選択するとともに前記の穴を指
示することで、その穴を補正基準穴とする座標系補正指
令を生成/付加したが、これに限定するものでなく、例
えば、穴あけボタン46を選択するとともに穴あけ位置
を指示したときは、その後あらためて指示するまでもな
く、その穴を補正基準穴とする座標系補正指令を自動的
に生成/付加するようにしてもよい。
In the above-described embodiment, when an appropriate hole is not found in the overlapping area 44ab, the drilling button 46 is selected and the drilling position is specified to generate / add a drilling command. By selecting the hole instruction button 47 and pointing to the hole again, a coordinate system correction command for using the hole as a correction reference hole is generated / added. However, the present invention is not limited to this. When the button 46 is selected and the drilling position is specified, a coordinate system correction command using the hole as a correction reference hole may be automatically generated / added without needing to specify again.

【0071】また、上記の実施の形態では、座標系の補
正基準要素として穴51を例示したが、これに限定する
ものでなく、穴以外の適宜の工具軌跡を座標系の補正基
準要素として採用することが可能である。
In the above-described embodiment, the hole 51 is exemplified as the correction reference element of the coordinate system. However, the present invention is not limited to this, and an appropriate tool path other than the hole is adopted as the correction reference element of the coordinate system. It is possible to

【0072】また、上記の実施の形態では、掴み換えを
1回行うことで材料全体を加工範囲がカバーする例を示
したが、これに限定するものでなく、例えば、材料が大
きいため掴み換えを1回行うだけでは材料全体を加工範
囲がカバーできない場合には、材料全体を加工範囲がカ
バーするのに必要な回数だけ掴み換えを行うことが可能
である。
Further, in the above-described embodiment, an example has been shown in which the entire material is covered by the re-grip operation once, but the present invention is not limited to this. If the processing range cannot cover the entire material by performing the above only once, it is possible to perform the gripping as many times as necessary for the processing range to cover the entire material.

【0073】[0073]

【発明の効果】この発明は以上のように、材料の掴み換
えにともなう座標系の補正指令をNCデータに付加する
にあたり、あらかじめ作成されたNCデータに基づく材
料の工具軌跡を画面に表示し、前記画面の工具軌跡中で
指示された要素が、座標系の補正基準要素として使用可
能であるか否かを判定し、使用可能な指示要素を補正基
準要素とする座標系の補正指令を生成して、NCデータ
に付加するように構成したので、座標系の補正基準要素
として実際に使用可能な要素を、座標系補正指令に盛り
込んでそれをNCデータに付加することができ、そのた
め、材料の掴み換えにともなう座標系の補正を確実に実
行することができる効果がある。
As described above, according to the present invention, when adding a coordinate system correction command for NC gripping to NC data, the tool trajectory of the material based on the NC data created in advance is displayed on the screen. It is determined whether or not the element specified in the tool path on the screen can be used as a correction reference element of the coordinate system, and a correction command of the coordinate system using the usable specified element as the correction reference element is generated. Therefore, since it is configured to be added to the NC data, an element that can be actually used as a correction reference element of the coordinate system can be included in the coordinate system correction command and added to the NC data. There is an effect that the coordinate system can be surely corrected with the gripping.

【0074】また、画面に表示した工具軌跡上に適当な
要素が存在しない場合、適宜の位置に要素を作成したう
え、その作成した要素を指示することで、その指示され
た要素が、座標系の補正基準要素として使用可能である
か否かを判定し、使用可能な指示要素を補正基準要素と
する座標系の補正指令を生成して、NCデータに付加す
ることができ、そのため、事前のNCデータに適当な要
素が存在する場合はもちろん、存在しない場合であって
も、材料の掴み換えにともなう座標系の補正を確実に実
行することができる効果がある。
If there is no appropriate element on the tool path displayed on the screen, an element is created at an appropriate position, and the created element is designated. It is possible to determine whether or not it can be used as a correction reference element, generate a correction command for a coordinate system using an available instruction element as a correction reference element, and add it to the NC data. Even when an appropriate element exists in the NC data, even when the element does not exist, there is an effect that the coordinate system can be surely corrected according to the gripping of the material.

【図面の簡単な説明】[Brief description of the drawings]

【図1】NCデータの座標系補正指令付加装置の一実施
の形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an apparatus for adding a coordinate system correction command for NC data.

【図2】図1のものの動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the device of FIG.

【図3】表示装置の表示画面の一例を示す説明図であ
る。
FIG. 3 is an explanatory diagram illustrating an example of a display screen of a display device.

【図4】NCデータの座標系補正指令付加を実行させる
ためのプログラムを記録したコンピュータ読み取り可能
な記録媒体の一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a computer-readable recording medium on which a program for executing a coordinate system correction command addition of NC data is recorded.

【符号の説明】[Explanation of symbols]

1 NCデータの座標系補正指令付加装置 2 CD−ROM 3 CD−ROMドライブ 10 処理装置(CPU) 11 描画処理部 12 穴あけ/穴指示判定処理部 13 穴あけ位置判定処理部 14 穴あけ位置設定処理部 15 穴加工指令生成/付加処理部 16 補正基準穴判定処理部 17 補正基準穴設定処理部 18 座標系補正指令生成/付加処理部 20 記憶装置 21 NCデータ記憶部 30 入力装置 40 表示装置 41 図形表示領域 42 材料 43 工具軌跡 44a 掴み換え前の加工範囲 44b 掴み換え後の加工範囲 44ab 重なり合う領域 45 コマンドボタンの表示領域 46 穴あけボタン 47 穴指示ボタン 48 終了ボタン 49 メッセージ表示領域 51 穴(穴形状の工具軌跡) 52 囲み 1 NC data coordinate system correction command adding device 2 CD-ROM 3 CD-ROM drive 10 Processing device (CPU) 11 Drawing processing unit 12 Drilling / hole instruction determination processing unit 13 Drilling position determination processing unit 14 Drilling position setting processing unit 15 Hole processing command generation / addition processing unit 16 correction reference hole determination processing unit 17 correction reference hole setting processing unit 18 coordinate system correction command generation / addition processing unit 20 storage device 21 NC data storage unit 30 input device 40 display device 41 graphic display area 42 Material 43 Tool trajectory 44a Machining range before gripping 44b Machining range after gripping 44ab Overlapping area 45 Command button display area 46 Drilling button 47 Hole indication button 48 End button 49 Message display area 51 Hole (tool trace of hole shape) ) 52 Box

Claims (27)

【特許請求の範囲】[Claims] 【請求項1】 材料の掴み換えにともなう座標系の補正
指令をNCデータに付加する方法において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する工程と、 前記画面の工具軌跡中で指示された要素が、座標系の補
正基準要素として使用可能であるか否かを判定する工程
と、 使用可能な指示要素を補正基準要素とする座標系の補正
指令を生成して、NCデータに付加する工程と、からな
ることを特徴とするNCデータの座標系補正指令付加方
法。
1. A method of adding a correction command of a coordinate system accompanying gripping of a material to NC data, wherein a tool trajectory of the material based on NC data created in advance is displayed on a screen, and a tool trajectory of the screen is displayed. Determining whether the element specified in the above is usable as a correction reference element of the coordinate system, and generating a correction command of the coordinate system using the usable specified element as the correction reference element, Adding a coordinate system correction command to the NC data.
【請求項2】 材料の掴み換えにともなう座標系の補正
指令をNCデータに付加する方法において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する工程と、 前記画面上で所定位置に補正基準用の穴あけが指示され
たとき、その穴加工指令を生成して、NCデータに付加
する工程と、 前記穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータに付加する工程と、 からなることを特徴とするNCデータの座標系補正指令
付加方法。
2. A method of adding a correction command of a coordinate system accompanying gripping of a material to NC data, comprising: displaying a tool path of a material based on NC data created in advance on a screen; A step of generating a hole machining command when the position is instructed to be drilled for correction reference and adding it to the NC data; and generating a correction command of a coordinate system using the hole as a correction reference hole, and generating the NC data. And a method of adding a coordinate system correction command for NC data.
【請求項3】 材料の掴み換えにともなう座標系の補正
指令をNCデータに付加する方法において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する工程と、 穴あけまたは穴指示が選択される工程と、 前記穴あけが選択されたとき、前記画面上で指示された
位置に穴あけする穴加工指令を生成して、NCデータに
付加する工程と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が座標系の補正基準穴として使用可能であるか否かを
判定する工程と、 使用可能な指示穴を補正基準穴とする座標系の補正指令
を生成して、NCデータに付加する工程と、からなるこ
とを特徴とするNCデータの座標系補正指令付加方法。
3. A method of adding a correction command of a coordinate system accompanying gripping of a material to NC data, wherein a step of displaying a tool trajectory of the material based on NC data created in advance on a screen, and a step of drilling or instructing holes are performed. A step of selecting, when the drilling is selected, a step of generating a hole machining command for drilling at a position specified on the screen, and adding the same to the NC data; and when the hole instruction is selected, Determining whether the hole indicated on the screen can be used as a correction reference hole in the coordinate system, and generating a correction command for the coordinate system using the usable indicated hole as the correction reference hole, Adding a NC data coordinate system correction command to the NC data.
【請求項4】 前記画面上で材料の掴み換え前の加工範
囲および掴み換え後の加工範囲の両方が重なり合う領域
を表示する工程を含むことを特徴とする請求項1、2ま
たは3記載のNCデータの座標系補正指令付加方法。
4. The NC according to claim 1, further comprising a step of displaying, on the screen, an area where both the processing range before the gripping of the material and the processing range after the gripping are overlapped. Data coordinate system correction command addition method.
【請求項5】 前記判定工程は、前記指示された要素ま
たは穴が、材料の掴み換え前の加工範囲および掴み換え
後の加工範囲の両方に含まれる領域内に位置し、かつ、
掴み換え前に加工が行われるものであるとき、当該指示
された要素または穴が、座標系の補正基準要素または補
正基準穴として使用可能であると判定することを特徴と
する請求項1または請求項3記載のNCデータの座標系
補正指令付加方法。
5. The method according to claim 1, wherein the specified element or hole is located in a region included in both a processing range before and after the gripping of the material, and
The method according to claim 1, wherein when the processing is performed before regripping, it is determined that the designated element or hole can be used as a correction reference element or a correction reference hole in a coordinate system. Item 3. A method for adding a coordinate system correction command to NC data according to item 3.
【請求項6】 前記座標系の補正指令は、NCデータの
掴み換え指令の直後に付加することを特徴とする請求項
1、2または3記載のNCデータの座標系補正指令付加
方法。
6. The NC data coordinate system correction command adding method according to claim 1, wherein the coordinate system correction command is added immediately after the NC data gripping command.
【請求項7】 前記穴加工指令は、NCデータの掴み換
え指令の前に付加することを特徴とする請求項2または
請求項3記載のNCデータの座標系補正指令付加方法。
7. The NC data coordinate system correction command adding method according to claim 2, wherein the drilling command is added before the NC data gripping command.
【請求項8】 材料の掴み換えにともなう座標系の補正
指令をNCデータに付加する方法において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する工程と、 前記画面上で材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方が重なり合う領域を表示する工程
と、 前記画面上で穴が指示されたとき、その穴が、前記領域
内に位置し、かつ、掴み換え前に加工が行われるもので
あるとき、当該指示された穴が座標系の補正基準穴とし
て使用可能であると判定し、それ以外のときは使用不能
であると判定する工程と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する工程
と、からなることを特徴とするNCデータの座標系補正
指令付加方法。
8. A method for adding a correction command of a coordinate system accompanying gripping of a material to NC data, comprising the steps of: displaying a tool trajectory of the material based on NC data created in advance on a screen; A step of displaying an area in which both the processing range before gripping and the processing range after gripping overlap, and when a hole is designated on the screen, the hole is located in the area and the gripping is performed. When processing is performed before replacement, determining that the specified hole is usable as a correction reference hole of the coordinate system, otherwise determining that the hole is unusable; and When the determined hole is determined to be usable,
Generating a coordinate system correction command using the hole as a correction reference hole and adding the correction command immediately after the NC data gripping command.
【請求項9】 材料の掴み換えにともなう座標系の補正
指令をNCデータに付加する方法において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する工程と、 前記画面上で材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方が重なり合う領域を表示する工程
と、 穴あけまたは穴指示が選択される工程と、 前記穴あけが選択されたとき、前記画面上で穴あけを指
示された位置が前記領域内であるか否かを判定する工程
と、 前記指示された位置が前記領域内であるとき、前記穴あ
け用の穴加工指令を生成して、NCデータの掴み換え指
令の前に付加する工程と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が、前記領域内に位置し、かつ、掴み換え前に加工が
行われるものであるとき、当該指示された穴が座標系の
補正基準穴として使用可能であると判定し、それ以外の
ときは使用不能であると判定する工程と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する工程
と、からなることを特徴とするNCデータの座標系補正
指令付加方法。
9. A method of adding a correction command of a coordinate system accompanying gripping of a material to NC data, comprising: displaying a tool trajectory of the material based on NC data created in advance on a screen; A step of displaying an area in which both the machining range before gripping and the machining range after gripping overlap, a step of selecting drilling or a hole instruction, and when the drilling is selected, drilling on the screen. Determining whether the designated position is within the region; and, when the designated position is within the region, generating a drilling command for drilling and re-gripping NC data. And when the hole instruction is selected, when the hole specified on the screen is located in the area, and when processing is performed before re-gripping, A step of determining that the indicated hole is usable as a correction reference hole of the coordinate system, and otherwise determining that the hole is unusable; and when it is determined that the specified hole is usable. ,
Generating a coordinate system correction command using the hole as a correction reference hole and adding the correction command immediately after the NC data gripping command.
【請求項10】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加する装置において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する手段と、 前記画面の工具軌跡中で要素を指示する手段と、 前記指示された要素が、座標系の補正基準要素として使
用可能であるか否かを判定する手段と、 使用可能な指示要素を補正基準要素とする座標系の補正
指令を生成して、NCデータに付加する手段と、を備え
ていることを特徴とするNCデータの座標系補正指令付
加装置。
10. A device for adding a correction command of a coordinate system accompanying gripping of a material to NC data, a means for displaying a tool trajectory of a material based on NC data created in advance on a screen, a tool trajectory on the screen Means for designating an element within, means for determining whether or not the designated element can be used as a correction reference element of a coordinate system, and means for determining a usable reference element as a correction reference element. Means for generating a correction command and adding the correction command to the NC data.
【請求項11】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加する装置において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する手段と、 前記画面上で所定位置に補正基準用の穴あけを指示する
手段と、 前記指示された穴の加工指令を生成して、NCデータに
付加する手段と、 前記穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータに付加する手段と、を備えていることを
特徴とするNCデータの座標系補正指令付加装置。
11. An apparatus for adding a correction command of a coordinate system accompanying gripping of a material to NC data, a means for displaying a tool trajectory of the material based on NC data created in advance on a screen, Means for instructing the position to make a hole for correction reference, means for generating a machining command for the specified hole and adding it to the NC data, and generating a correction command for a coordinate system using the hole as a correction reference hole. And a means for adding to the NC data.
【請求項12】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加する装置において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する手段と、 穴あけまたは穴指示を選択する手段と、 前記画面上で穴あけ位置または穴を指示する手段と、 前記穴あけが選択されたとき、前記画面上で指示された
位置に穴あけする穴加工指令を生成して、NCデータに
付加する手段と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が座標系の補正基準穴として使用可能であるか否かを
判定する手段と、 使用可能な指示穴を補正基準穴とする座標系の補正指令
を生成して、NCデータに付加する手段と、を備えてい
ることを特徴とするNCデータの座標系補正指令付加装
置。
12. An apparatus for adding a correction command of a coordinate system accompanying gripping of material to NC data, comprising: means for displaying a tool path of a material based on NC data created in advance on a screen; Means for selecting, means for designating a drilling position or hole on the screen, and when the drilling is selected, a drilling command for drilling at the position designated on the screen is generated and added to the NC data. Means for determining whether or not the hole specified on the screen is usable as a correction reference hole in the coordinate system when the hole instruction is selected; and Means for generating a correction command for a coordinate system to be a hole and adding the correction command to the NC data.
【請求項13】 前記表示手段は、前記画面上で材料の
掴み換え前の加工範囲および掴み換え後の加工範囲の両
方が重なり合う領域を表示することを特徴とする請求項
10、11または12記載のNCデータの座標系補正指
令付加装置。
13. The display device according to claim 10, wherein said display means displays, on said screen, an area where both the processing range before the gripping of the material and the processing range after the gripping are overlapped. NC data coordinate system correction command adding device.
【請求項14】 前記判定手段は、前記指示された要素
または穴が、材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方に含まれる領域内に位置し、か
つ、掴み換え前に加工が行われるものであるとき、当該
指示された要素または穴が、座標系の補正基準要素また
は補正基準穴として使用可能であると判定することを特
徴とする請求項10または請求項12記載のNCデータ
の座標系補正指令付加装置。
14. The method according to claim 1, wherein the designated element or hole is located in a region included in both a processing range before and after the gripping of the material and before the gripping. 13. The method according to claim 10, wherein when the machining is performed, it is determined that the designated element or hole can be used as a correction reference element or a correction reference hole of a coordinate system. NC data coordinate system correction command adding device.
【請求項15】 前記座標系の補正指令の付加手段は、
当該座標系の補正指令を、NCデータの掴み換え指令の
直後に付加することを特徴とする請求項10、11また
は12記載のNCデータの座標系補正指令付加装置。
15. The means for adding a coordinate system correction command,
13. The NC data coordinate system correction command adding device according to claim 10, wherein the correction command of the coordinate system is added immediately after the NC data gripping command.
【請求項16】 前記穴加工指令の付加手段は、当該穴
加工指令を、NCデータの掴み換え指令の前に付加する
ことを特徴とする請求項11または請求項12記載のN
Cデータの座標系補正指令付加装置。
16. The N according to claim 11, wherein the hole machining command adding means adds the hole machining command before an NC data gripping command.
C data coordinate system correction command adding device.
【請求項17】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加する装置において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示するとともに、その画面上で材料の掴み
換え前の加工範囲および掴み換え後の加工範囲の両方が
重なり合う領域を表示する手段と、 前記画面上で穴を指示する手段と、 前記指示された穴が、前記領域内に位置し、かつ、掴み
換え前に加工が行われるものであるとき、当該指示され
た穴が座標系の補正基準穴として使用可能であると判定
し、それ以外のときは使用不能であると判定する手段
と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する手段
と、を備えていることを特徴とするNCデータの座標系
補正指令付加装置。
17. An apparatus for adding a correction command of a coordinate system accompanying gripping of material to NC data, wherein a tool trajectory of the material based on NC data created in advance is displayed on a screen, and the material trajectory is displayed on the screen. Means for displaying an area where both the processing range before gripping and the processing range after gripping overlap, a means for indicating a hole on the screen, and the specified hole is located in the area, and Means for determining that the specified hole is usable as a correction reference hole of the coordinate system when processing is performed before regripping, and determining that the hole is unusable otherwise. When it is determined that the indicated hole is usable,
Means for generating a correction command of the coordinate system using the hole as a correction reference hole and adding the correction command immediately after the gripping command of the NC data is provided. .
【請求項18】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加する装置において、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示するとともに、その画面上で材料の掴み
換え前の加工範囲および掴み換え後の加工範囲の両方が
重なり合う領域を表示する手段と、 穴あけまたは穴指示を選択する手段と、 前記画面上で穴あけ位置または穴を指示する手段と、 前記穴あけが選択されたとき、前記画面上で穴あけを指
示された位置が前記領域内であるか否かを判定する手段
と、 前記指示された位置が前記領域内であるとき、前記穴あ
け用の穴加工指令を生成して、NCデータの掴み換え指
令の前に付加する手段と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が、前記領域内に位置し、かつ、掴み換え前に加工が
行われるものであるとき、当該指示された穴が座標系の
補正基準穴として使用可能であると判定し、それ以外の
ときは使用不能であると判定する手段と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する手段
と、を備えていることを特徴とするNCデータの座標系
補正指令付加装置。
18. An apparatus for adding a correction command of a coordinate system accompanying gripping of a material to NC data, wherein a tool trajectory of the material based on NC data created in advance is displayed on a screen, and the material trajectory is displayed on the screen. Means for displaying an area where both the machining range before gripping and the machining range after gripping overlap, a means for selecting drilling or a hole instruction, a means for designating a drilling position or hole on the screen, and the drilling Is selected, means for determining whether or not the position where drilling is instructed on the screen is within the area, and when the specified position is within the area, drilling for the drilling Means for generating a command and adding it before the command for grasping the NC data; and when the hole command is selected, the hole specified on the screen is located in the area. Means for determining that the specified hole can be used as a correction reference hole of the coordinate system when processing is performed before gripping, and determining that the hole cannot be used otherwise. When it is determined that the indicated hole is usable,
Means for generating a correction command of the coordinate system using the hole as a correction reference hole and adding the correction command immediately after the gripping command of the NC data is provided. .
【請求項19】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加するNCデータの座標系補正
指令付加を実行させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する処理と、 前記画面の工具軌跡中で指示された要素が、座標系の補
正基準要素として使用可能であるか否かを判定する処理
と、 使用可能な指示要素を補正基準要素とする座標系の補正
指令を生成して、NCデータに付加する処理と、をコン
ピュータに実行させるためのプログラムを記録したこと
を特徴とするコンピュータ読み取り可能な記録媒体。
19. A computer-readable recording medium in which a program for executing a coordinate system correction command addition of NC data for adding a coordinate system correction command accompanying NC of the material to NC data is recorded. A process of displaying a tool locus of a material based on the created NC data on a screen, and a process of determining whether an element designated in the tool locus on the screen is usable as a correction reference element of a coordinate system A computer-readable program for causing a computer to execute a process of generating a correction command of a coordinate system using an available instruction element as a correction reference element and adding the command to NC data. Recording medium.
【請求項20】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加するNCデータの座標系補正
指令付加を実行させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する処理と、 前記画面上で所定位置に補正基準用の穴あけが指示され
たとき、その穴加工指令を生成して、NCデータに付加
する処理と、 前記穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータに付加する処理と、をコンピュータに実
行させるためのプログラムを記録したことを特徴とする
コンピュータ読み取り可能な記録媒体。
20. A computer-readable recording medium in which a program for executing a coordinate system correction command addition of NC data for adding a correction command of a coordinate system accompanying gripping of material to NC data is recorded. A process of displaying a tool locus of a material based on the created NC data on a screen; and when a drilling of a correction reference is instructed at a predetermined position on the screen, a hole machining command is generated and added to the NC data. Computer-readable program for causing a computer to execute a process of generating a correction command of a coordinate system using the hole as a correction reference hole and adding the command to NC data. recoding media.
【請求項21】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加するNCデータの座標系補正
指令付加を実行させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する処理と、 穴あけまたは穴指示が選択される処理と、 前記穴あけが選択されたとき、前記画面上で指示された
位置に穴あけする穴加工指令を生成して、NCデータに
付加する処理と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が座標系の補正基準穴として使用可能であるか否かを
判定する処理と、 使用可能な指示穴を補正基準穴とする座標系の補正指令
を生成して、NCデータに付加する処理と、をコンピュ
ータに実行させるためのプログラムを記録したことを特
徴とするコンピュータ読み取り可能な記録媒体。
21. A computer-readable recording medium on which a program for executing a coordinate system correction command addition of NC data for adding a correction command of a coordinate system accompanying the gripping of material to the NC data is recorded. A process of displaying a tool path of a material based on the created NC data on a screen; a process of selecting drilling or a hole instruction; and a hole drilling at a position specified on the screen when the drilling is selected. Generating a machining command and adding it to the NC data; and when the hole instruction is selected, it is determined whether the hole specified on the screen can be used as a correction reference hole in the coordinate system. A process for causing a computer to execute a process and a process of generating a correction command of a coordinate system using an available designated hole as a correction reference hole and adding the command to the NC data. A computer-readable recording medium characterized by recording a beam.
【請求項22】 前記画面上で材料の掴み換え前の加工
範囲および掴み換え後の加工範囲の両方が重なり合う領
域を表示する処理を含むことを特徴とする請求項19、
20または21記載のプログラムを記録したコンピュー
タ読み取り可能な記録媒体。
22. The method according to claim 19, further comprising a process of displaying an area where both the processing range before the gripping of the material and the processing range after the gripping are overlapped on the screen.
22. A computer-readable recording medium recording the program according to 20 or 21.
【請求項23】 前記判定処理は、前記指示された要素
または穴が、材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方に含まれる領域内に位置し、か
つ、掴み換え前に加工が行われるものであるとき、当該
指示された要素または穴が、座標系の補正基準要素また
は補正基準穴として使用可能であると判定することを特
徴とする請求項19または請求項21記載のプログラム
を記録したコンピュータ読み取り可能な記録媒体。
23. The method according to claim 23, wherein the designated element or hole is located in a region included in both a processing range before the gripping of the material and a processing range after the gripping and before the gripping. 22. The method according to claim 19, wherein when the machining is performed, it is determined that the designated element or hole can be used as a correction reference element or a correction reference hole in a coordinate system. A computer-readable recording medium on which the program is recorded.
【請求項24】 前記座標系の補正指令は、NCデータ
の掴み換え指令の直後に付加することを特徴とする請求
項19、20または21記載のプログラムを記録したコ
ンピュータ読み取り可能な記録媒体。
24. A computer-readable recording medium recording a program according to claim 19, wherein the correction command for the coordinate system is added immediately after the NC data gripping command.
【請求項25】 前記穴加工指令は、NCデータの掴み
換え指令の前に付加することを特徴とする請求項20ま
たは請求項21記載のプログラムを記録したコンピュー
タ読み取り可能な記録媒体。
25. A computer-readable recording medium recording a program according to claim 20, wherein the drilling command is added before a gripping command of NC data.
【請求項26】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加するNCデータの座標系補正
指令付加を実行させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する処理と、 前記画面上で材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方が重なり合う領域を表示する処理
と、 前記画面上で穴が指示されたとき、その穴が、前記領域
内に位置し、かつ、掴み換え前に加工が行われるもので
あるとき、当該指示された穴が座標系の補正基準穴とし
て使用可能であると判定し、それ以外のときは使用不能
であると判定する処理と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する処理
と、をコンピュータに実行させるためのプログラムを記
録したことを特徴とするコンピュータ読み取り可能な記
録媒体。
26. A computer-readable recording medium in which a program for executing a coordinate system correction command addition of NC data for adding a correction command of a coordinate system accompanying the gripping of material to the NC data is recorded. A process of displaying a tool trajectory of the material based on the created NC data on a screen, a process of displaying an area where both the machining range before and after the gripping of the material overlap on the screen, When a hole is designated on the screen, if the hole is located in the area and is to be machined before gripping, the designated hole is used as a correction reference hole in the coordinate system. When it is determined that it is possible, otherwise it is determined that it is unusable, and when it is determined that the indicated hole is usable,
A computer-readable program for recording a program for causing a computer to execute a process of generating a correction command of a coordinate system using the hole as a correction reference hole and adding the correction command immediately after a command to regrip NC data; Possible recording medium.
【請求項27】 材料の掴み換えにともなう座標系の補
正指令をNCデータに付加するNCデータの座標系補正
指令付加を実行させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 あらかじめ作成されたNCデータに基づく材料の工具軌
跡を画面に表示する処理と、 前記画面上で材料の掴み換え前の加工範囲および掴み換
え後の加工範囲の両方が重なり合う領域を表示する処理
と、 穴あけまたは穴指示が選択される処理と、 前記穴あけが選択されたとき、前記画面上で穴あけを指
示された位置が前記領域内であるか否かを判定する処理
と、 前記指示された位置が前記領域内であるとき、前記穴あ
け用の穴加工指令を生成して、NCデータの掴み換え指
令の前に付加する処理と、 前記穴指示が選択されたとき、前記画面上で指示された
穴が、前記領域内に位置し、かつ、掴み換え前に加工が
行われるものであるとき、当該指示された穴が座標系の
補正基準穴として使用可能であると判定し、それ以外の
ときは使用不能であると判定する処理と、 前記指示された穴が使用可能であると判定されたとき、
当該穴を補正基準穴とする座標系の補正指令を生成し
て、NCデータの掴み換え指令の直後に付加する処理
と、をコンピュータに実行させるためのプログラムを記
録したことを特徴とするコンピュータ読み取り可能な記
録媒体。
27. A computer-readable recording medium in which a program for executing a coordinate system correction command addition of NC data for adding a correction command of a coordinate system accompanying gripping of material to the NC data is recorded. A process of displaying a tool trajectory of a material based on the created NC data on a screen, a process of displaying an area where both the machining range before and after the gripping of the material overlap on the screen, and drilling; Or a process in which a hole instruction is selected; and a process in which when the drilling is selected, a process of determining whether or not a position instructed to be drilled on the screen is within the area; and When it is within the area, a process for generating the drilling command for drilling and adding it before the gripping command of the NC data; and when the hole instruction is selected, When the hole specified on the screen is located in the area and is processed before re-gripping, the specified hole can be used as a correction reference hole of the coordinate system. Determined, otherwise processing to determine that it is unusable, When it is determined that the indicated hole is available,
A computer-readable program for recording a program for causing a computer to execute a process of generating a correction command of a coordinate system using the hole as a correction reference hole and adding the correction command immediately after a command to regrip NC data; Possible recording medium.
JP23887499A 1999-08-25 1999-08-25 NC data coordinate system correction command addition method and apparatus, and computer-readable recording medium recording a program for executing NC data coordinate system correction command addition Expired - Fee Related JP4209562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23887499A JP4209562B2 (en) 1999-08-25 1999-08-25 NC data coordinate system correction command addition method and apparatus, and computer-readable recording medium recording a program for executing NC data coordinate system correction command addition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23887499A JP4209562B2 (en) 1999-08-25 1999-08-25 NC data coordinate system correction command addition method and apparatus, and computer-readable recording medium recording a program for executing NC data coordinate system correction command addition

Publications (2)

Publication Number Publication Date
JP2001067108A true JP2001067108A (en) 2001-03-16
JP4209562B2 JP4209562B2 (en) 2009-01-14

Family

ID=17036556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23887499A Expired - Fee Related JP4209562B2 (en) 1999-08-25 1999-08-25 NC data coordinate system correction command addition method and apparatus, and computer-readable recording medium recording a program for executing NC data coordinate system correction command addition

Country Status (1)

Country Link
JP (1) JP4209562B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007118051A (en) * 2005-10-28 2007-05-17 Keyence Corp Processing data setup device, processing data setup method, processing data setup program, computer readable recording medium, recorded apparatus, and laser beam processing apparatus
US8153931B2 (en) 2006-06-30 2012-04-10 Keyence Corporation Method of and system for setting laser processing conditions, laser processing system, computer program for setting laser processing conditions, computer readable media and recording device on which laser processing conditions are recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007118051A (en) * 2005-10-28 2007-05-17 Keyence Corp Processing data setup device, processing data setup method, processing data setup program, computer readable recording medium, recorded apparatus, and laser beam processing apparatus
US8153931B2 (en) 2006-06-30 2012-04-10 Keyence Corporation Method of and system for setting laser processing conditions, laser processing system, computer program for setting laser processing conditions, computer readable media and recording device on which laser processing conditions are recorded

Also Published As

Publication number Publication date
JP4209562B2 (en) 2009-01-14

Similar Documents

Publication Publication Date Title
JP4390093B2 (en) Automatic programming and simulation equipment
US20020045968A1 (en) NC machining simulation apparatus
US5602748A (en) Area machining method
JPH0355259B2 (en)
JP2001067108A (en) Method and device for adding command for correcting coordinate system of nc data and computer readable recording medium stored with program for executing addition of command for correcting nc data coordinate system
JPH10254527A (en) Instructing device for robot
JPH05241646A (en) Program display device
JP2007286960A (en) Numerical control apparatus
JP2019159478A (en) Controller, data creation device, and control method and control program
JPH06274219A (en) Nc working data generating device in cad device
JP2020170225A (en) Control device of wire electric discharge machine, wire electric discharge machine, and display method of processing information
JP3117421B2 (en) Coreless machining shape discrimination method and apparatus, and computer-readable recording medium recording coreless machining shape discrimination program
JP4747632B2 (en) 3D CAD modeling method, program and apparatus for mixing feature-based parametric modeling and direct modeling
JP2004145389A (en) System for creating working instruction
JP6523359B2 (en) Program generator
JPH06142954A (en) Control method by numerical control program of laser beam machine
JPH04314104A (en) Working time displaying method in numerical control information generating device
JPH02212904A (en) Programming device
JP2006058930A (en) Nc program checking apparatus, method for controlling the same, and checking program for nc program
JP3000986B2 (en) Machining program creating device and machining program creating method
JP2001062676A (en) Numerical control data generating device, numerical control machining method and storage medium
JPH06202906A (en) Nc program editing device
JPH01300306A (en) Automatic programming method
JPH10161724A (en) Numerical controller
JPS6165314A (en) Graphic display method and apparatus for computer numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080717

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081007

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081023

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees