JP7290452B2 - Grinding program generation device and grinding program generation method - Google Patents

Grinding program generation device and grinding program generation method Download PDF

Info

Publication number
JP7290452B2
JP7290452B2 JP2019076785A JP2019076785A JP7290452B2 JP 7290452 B2 JP7290452 B2 JP 7290452B2 JP 2019076785 A JP2019076785 A JP 2019076785A JP 2019076785 A JP2019076785 A JP 2019076785A JP 7290452 B2 JP7290452 B2 JP 7290452B2
Authority
JP
Japan
Prior art keywords
section
information
machining
end point
shape
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019076785A
Other languages
Japanese (ja)
Other versions
JP2020069634A (en
Inventor
剛 川辺
浩明 藤井
広士 井上
敏夫 福島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seibu Electric and Machinery Co Ltd
Original Assignee
Seibu Electric and Machinery 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 Seibu Electric and Machinery Co Ltd filed Critical Seibu Electric and Machinery Co Ltd
Publication of JP2020069634A publication Critical patent/JP2020069634A/en
Application granted granted Critical
Publication of JP7290452B2 publication Critical patent/JP7290452B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Grinding And Polishing Of Tertiary Curved Surfaces And Surfaces With Complex Shapes (AREA)
  • Numerical Control (AREA)

Description

本発明は、研削プログラム生成装置、研削プログラム処理装置及び研削プログラム生成方法に関し、特に、研削盤のための研削プログラムを生成する研削プログラム生成装置等に関する。 The present invention relates to a grinding program generation device, a grinding program processing device, and a grinding program generation method, and more particularly to a grinding program generation device and the like for generating a grinding program for a grinding machine.

従来、研削処理において、まず、CADなどを利用して加工対象物の形状を特定し、その後に、加工用NCプログラムを生成していた(特許文献1参照)。 Conventionally, in a grinding process, first, the shape of an object to be processed is specified using CAD or the like, and then an NC program for processing is generated (see Patent Document 1).

特開2009-226562号公報JP 2009-226562 A

研削盤のためのプログラムは、複数の工具や加工手順が複雑に関係するため、例えばワイヤ放電加工機のように工具が固定されているものと異なり、原則として自動生成は困難であり、人手での動作チェックなどが行われている。確かに、命令を手入力して研削処理のためのプログラムを作成することはできる。しかしながら、複雑な形状まで、手作業で作成することは困難である。 Programs for grinders involve multiple tools and machining procedures in a complex manner. Unlike wire electric discharge machines, for example, where tools are fixed, programs for grinders are generally difficult to generate automatically. is being checked for operation. Certainly, it is possible to program the grinding process by entering the instructions manually. However, it is difficult to manually create even a complicated shape.

また、特許文献1などに記載の方法では、利用者は、加工対象物の形状を自由に設計できるものの、一般的なCADなどを使用するため、設計している形状と研削処理のためのプログラムとの関係は、設計時にチェックすることができない。 In the method described in Patent Document 1, etc., the user can freely design the shape of the object to be processed. cannot be checked at design time.

よって、本発明は、利用者が加工形状を特定するときに、リアルタイムに確認することが可能な研削プログラム生成装置等を提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a grinding program generation apparatus or the like that allows a user to confirm in real time when specifying a machining shape.

本願発明の第1の観点は、研削盤のための研削プログラムを生成する研削プログラム生成装置であって、区間情報入力部と、加工軌跡処理部を備え、前記区間情報入力部は、加工軌跡の始点を特定する始点情報、及び、前記加工軌跡を構成する一つ又は複数の区間における区間終点を特定する区間終点情報が入力され、前記始点情報は、始点位置を含み、前記区間終点情報は、つなぎ形状、区間終点位置及び面取加工を含み、前記加工軌跡は、少なくとも前記加工軌跡の終点を含まない前記各区間に対して、当該区間の区間終点情報により特定されるつなぎ形状として、前記区間終点において面取加工を行い、前記加工軌跡処理部は、少なくとも前記区間終点情報が追加、削除又は変更された場合に、加工軌跡が実現できるか否かをチェックし、加工軌跡が実現できるならば、前記加工軌跡を表示するための描画情報を生成するとともに、前記加工軌跡を実現するためのサブプログラムを生成し、加工軌跡が実現できないならば、実現できない区間終点を特定する。 A first aspect of the present invention is a grinding program generation device for generating a grinding program for a grinding machine, comprising a section information input section and a machining trajectory processing section, wherein the section information input section inputs a machining trajectory. Start point information specifying a start point and section end point information specifying a section end point in one or more sections constituting the machining trajectory are input, the start point information includes a start point position, and the section end point information is The machining trajectory includes a connecting shape, a section end point position, and chamfering, and the machining trajectory includes, for each section that does not include at least the end point of the machining trajectory, the section as a connecting shape specified by the section end point information of the section Chamfering is performed at the end point, and the machining trajectory processing unit checks whether or not the machining trajectory can be realized at least when the section end point information is added, deleted, or changed, and if the machining trajectory can be realized, generating drawing information for displaying the machining trajectory, generating a subprogram for realizing the machining trajectory, and if the machining trajectory cannot be realized, specifying an unachievable section end point;

本願発明の第2の観点は、第1の観点の研削プログラム生成装置であって、前記つなぎ形状は、曲線形状を含み、前記加工軌跡処理部は、ある区間で曲線形状が特定された場合に、前記加工軌跡において前記始点に近い直前の区間の区間終点情報で面取加工を行うことが特定されているならば、直前の区間の区間終点を、面取加工が実現できないものとして特定する。 A second aspect of the present invention is the grinding program generation device according to the first aspect, wherein the connecting shape includes a curved shape, and the machining trajectory processing unit, when the curved shape is specified in a certain section, and if it is specified by the section end point information of the immediately preceding section near the start point in the machining locus that chamfering is to be performed, the section end point of the immediately preceding section is specified as one that cannot be chamfered.

本願発明の第3の観点は、第1又は第2の観点の研削プログラム生成装置であって、加工条件を設定して前記サブプログラムを呼び出すメインプログラムを生成するメインプログラム生成部と、前記メインプログラム、前記サブプログラム及び前記描画情報の組合せを保存する保存処理部と、保存された前記描画情報を表示した後に、前記メインプログラム、前記サブプログラム及び前記描画情報の組合せを読み出す読出処理部を備える。 A third aspect of the present invention is the grinding program generating apparatus according to the first or second aspect, comprising: a main program generating unit for setting machining conditions and generating a main program for calling the subprogram; , a storage processing unit that stores the combination of the subprogram and the drawing information, and a reading processing unit that reads out the combination of the main program, the subprogram, and the drawing information after displaying the saved drawing information.

本願発明の第4の観点は、第1から第3のいずれかの観点の研削プログラム生成装置であって、表示手段は、前記区間情報入力部に前記区間終点情報が入力される場合に、前記描画情報と前記サブプログラムの一方を表示する。 A fourth aspect of the present invention is the grinding program generating apparatus according to any one of the first to third aspects, wherein the display means displays the Display one of the drawing information and the subprogram.

本願発明の第5の観点は、研削盤のためのプログラムを生成する研削プログラム処理装置であって、利用者により入力された加工軌跡特定情報及び/又は分析対象プログラムに基づいて加工軌跡を特定する加工軌跡処理部と、工具情報を設定する工具情報設定部と、表示手段に、前記加工軌跡の一部又は全部に対して、前記工具情報により特定される工具の形状を表示する工具情報表示部を備え、前記工具情報表示部は、前記加工軌跡における加工方向に対して、前記工具の形状を左側又は右側に表示する。 A fifth aspect of the present invention is a grinding program processing device that generates a program for a grinding machine, and specifies a machining trajectory based on machining trajectory specifying information and/or an analysis target program input by a user. A machining locus processing unit, a tool information setting unit for setting tool information, and a tool information display unit for displaying a tool shape specified by the tool information for part or all of the machining locus on display means. and the tool information display unit displays the shape of the tool on the left or right side with respect to the machining direction in the machining locus.

本願発明の第6の観点は、第5の観点の研削プログラム処理装置であって、前記加工軌跡特定情報は、前記加工軌跡を構成する一つ又は複数の区間を特定する情報であり、前記工具情報表示部は、前記加工軌跡特定情報に基づき特定された加工軌跡に対して、少なくとも一つの区間における終点に前記工具の形状を表示し、前記分析対象プログラムに基づき特定された加工軌跡に対して、少なくとも一つのブロック情報に対応する区間の終点に前記工具の形状を表示する。 A sixth aspect of the present invention is the grinding program processing apparatus according to the fifth aspect, wherein the machining trajectory specifying information is information specifying one or more sections constituting the machining trajectory, and the tool The information display unit displays the shape of the tool at the end point of at least one section for the machining trajectory specified based on the machining trajectory specifying information, and displays the shape of the tool at the end point of at least one section for the machining trajectory specified based on the analysis target program , to display the shape of the tool at the end point of the section corresponding to at least one block information.

本願発明の第7の観点は、研削盤のための研削プログラムを生成する研削プログラム生成方法であって、研削プログラム生成装置が備える加工軌跡処理部が、加工軌跡による加工する処理を行うためのサブプログラムと、前記加工軌跡を表示するための描画画像を生成し、前記研削プログラム生成装置が備えるメインプログラム生成部が、加工条件を設定して前記サブプログラムを呼び出すメインプログラムを生成するプログラム生成ステップを含む。 A seventh aspect of the present invention is a grinding program generation method for generating a grinding program for a grinding machine, in which a machining locus processing unit provided in a grinding program generation device includes a sub for performing machining processing according to the machining locus. A program generation step of generating a program and a drawing image for displaying the machining trajectory, and generating a main program in which a main program generation unit provided in the grinding program generation device sets processing conditions and calls the subprogram. include.

本願発明の各観点によれば、利用者が、加工軌跡を構成する各区間を特定して加工軌跡全体を特定するときに、加工軌跡処理部が、リアルタイムに、加工軌跡の描画情報とサブプログラムを生成することなどにより、利用者は描画情報を利用して視覚的に形状などを確認することもでき、かつ、生成されたサブプログラムにより具体的に確認することも可能になる。 According to each aspect of the present invention, when the user specifies each section constituting the machining trajectory and specifies the entire machining trajectory, the machining trajectory processing unit draws the drawing information of the machining trajectory and the subprogram in real time. , the user can visually confirm the shape using the drawing information, and can also specifically confirm the shape using the generated subprogram.

さらに、第3の観点にあるように、加工処理を行うためのサブプログラムと、サブプログラムを呼び出すメインプログラムを同時に設計することができ、かつ、これらに併せて描画情報を保存することにより、ファイルを読み出すときに、描画情報により、事前に視覚的に確認できる。 Furthermore, as in the third aspect, a subprogram for processing and a main program that calls the subprogram can be designed at the same time. can be visually confirmed in advance by drawing information.

本発明の実施の形態に係る研削盤の(a)構成の一例を示すブロック図、及び、(b)~(d)動作の一例を示すフロー図である。FIG. 2A is a block diagram showing an example of the configuration of the grinder according to the embodiment of the present invention, and (b) to (d) is a flow chart showing an example of operations. 図1の研削盤1の具体的な一例を示す図である。It is a figure which shows a concrete example of the grinder 1 of FIG. 図1の加工軌跡処理部7による加工軌跡を特定する処理の一例を示す図である。2 is a diagram showing an example of processing for specifying a machining trajectory by a machining trajectory processing unit 7 of FIG. 1; FIG. 図1の表示部13の具体的な表示画面の一例を示す第1図である。FIG. 1 is a first diagram showing an example of a specific display screen of a display unit 13 of FIG. 1; 図1の表示部13の具体的な表示画面の一例を示す第2図である。FIG. 2 is a second diagram showing an example of a specific display screen of the display unit 13 of FIG. 1; 図1の表示部13の具体的な表示画面の一例を示す第3図である。FIG. 3 is a third diagram showing an example of a specific display screen of the display section 13 of FIG. 1; 本発明の他の実施の形態に係る研削盤の(a)構成の一例を示すブロック図、(b)動作の一例を示すフロー図、及び、(c)工具情報の入力画面の一例を示す図である。(a) A block diagram showing an example of a configuration of a grinding machine according to another embodiment of the present invention, (b) a flow chart showing an example of an operation, and (c) a diagram showing an example of a tool information input screen is. 図7の表示部73の具体的な表示画面の一例を示す第1図である。8 is a first diagram showing an example of a specific display screen of a display section 73 of FIG. 7; FIG. 図7の表示部73の具体的な表示画面の一例を示す第2図である。8 is a second diagram showing an example of a specific display screen of the display section 73 of FIG. 7; FIG. 図7の表示部73の具体的な表示画面の一例を示す第3図である。8 is a third diagram showing an example of a specific display screen of the display section 73 of FIG. 7; FIG.

以下、図面を参照して、本願発明の実施例について述べる。なお、本願発明の実施の形態は、以下の実施例に限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, embodiment of this invention is not limited to the following examples.

図1は、本発明の実施の形態に係る研削盤の(a)構成の一例を示すブロック図、及び、(b)~(d)動作の一例を示すフロー図である。 FIG. 1 is a block diagram showing (a) an example of the configuration of a grinder according to an embodiment of the present invention, and (b) to (d) a flow chart showing an example of operations.

図1(a)を参照して、研削盤1は、研削プログラム生成装置2を備える。図2は、図1の研削盤1の具体的な一例を示す。図2の研削盤は、図2(b)にあるように、工作対象物を回転させ、砥石を接触させることにより、外径加工や端面加工、ストレート加工、テーパ加工、さらに、R加工(面取加工)などを実現することができる。従来、研削盤に組み込まれるコンピュータは、制御を行うためのものであって、プログラム生成などを行うまでには十分な処理能力がなく、プログラム生成は、別のコンピュータで行っていた。そのため、特許文献1のように、研削盤とは別に流通するCADなどを利用して、研削盤用のデータ等を生成していた。現在、研削盤1には一般的なPCなどと同等の処理能力を有するコンピュータが組み込まれており、研削盤1に組み込まれたコンピュータで、加工用プログラム生成などの処理を行うことができる。研削プログラム生成装置2は、研削盤1に組み込まれたコンピュータを利用して実現することができる。 Referring to FIG. 1( a ), grinding machine 1 includes a grinding program generation device 2 . FIG. 2 shows a specific example of the grinding machine 1 of FIG. As shown in FIG. 2(b), the grinder in FIG. 2 rotates the workpiece and brings it into contact with the grindstone to perform outer diameter machining, end face machining, straight machining, taper machining, and R machining (surface processing) can be realized. Conventionally, a computer incorporated in a grinder was used for control, and did not have sufficient processing power to generate a program, so a separate computer was used to generate the program. Therefore, as in Patent Document 1, CAD or the like that is distributed separately from the grinding machine is used to generate data for the grinding machine. At present, the grinder 1 incorporates a computer having processing power equivalent to that of a general PC or the like, and the computer incorporated in the grinder 1 can perform processing such as processing program generation. The grinding program generation device 2 can be implemented using a computer incorporated in the grinder 1 .

研削プログラム生成装置2は、区間情報入力部3と、点情報記憶部5と、加工軌跡処理部7と、メインプログラム生成部9と、処理情報記憶部11と、表示部13と、保存処理部17と、読出処理部19と、保存情報記憶部21を備える。 The grinding program generation device 2 includes a section information input unit 3, a point information storage unit 5, a machining trajectory processing unit 7, a main program generation unit 9, a processing information storage unit 11, a display unit 13, and a storage processing unit. 17 , a read processing unit 19 , and a saved information storage unit 21 .

研削プログラム生成装置2は、メインプログラムと、サブプログラムと、描画情報を生成する。 The grinding program generator 2 generates a main program, subprograms, and drawing information.

描画情報は、研削盤1が加工する加工軌跡を表示するためのものである。サブプログラムは、加工軌跡による加工形状のためのプログラムである。本実施例では、研削盤1は、加工対象物を回転させつつ、切削工具を接触させて加工を行う。加工軌跡は、加工対象物の回転軸を含む断面におけるものとする。加工軌跡は、一つ又は複数の区間により構成されている。各区間の始点を「区間始点」といい、終点を「区間終点」という。 The drawing information is for displaying the machining trajectory processed by the grinding machine 1 . A subprogram is a program for a machining shape based on a machining trajectory. In this embodiment, the grinder 1 performs machining by rotating the workpiece and bringing the cutting tool into contact with the workpiece. The machining trajectory is assumed to be on a cross section including the rotation axis of the object to be machined. A machining locus is composed of one or a plurality of sections. The start point of each section is called the "section start point", and the end point is called the "section end point".

メインプログラムは、加工条件を設定し、サブプログラムを呼び出すプログラムである。加工条件は、例えばオフセット値である。加工対象物は、通常、例えば荒加工や仕上げ加工など、複数回、加工を行う。メインプログラムは、複数回の加工のそれぞれに対して、加工条件を設定してサブプログラムを呼び出すことにより実現する。 The main program is a program that sets machining conditions and calls subprograms. The machining condition is, for example, an offset value. A workpiece is typically machined multiple times, for example, roughing and finishing. The main program is implemented by setting machining conditions and calling subprograms for each of a plurality of machining operations.

区間情報入力部3は、利用者が、加工軌跡を構成する各区間の区間始点及び区間終点に関する情報を入力する。点情報記憶部5は、各区間の区間始点及び区間終点に関する情報を記憶する。 The section information input unit 3 allows the user to input information about the section start point and the section end point of each section forming the machining locus. The point information storage unit 5 stores information about the section start point and the section end point of each section.

利用者は、加工軌跡の始点に関する始点情報を入力し、各区間の区間終点に関する区間終点情報を順番に指定する。ある区間における区間終点に関する情報は、続く区間の区間始点に関する情報となる。そのため、利用者は、加工軌跡の始点に関する始点情報を入力し、各区間の区間終点に関する区間終点情報を順番に指定することにより、各区間の区間始点及び区間終点に関する情報を入力することができる。 The user inputs starting point information about the starting point of the machining locus, and sequentially designates section end point information about the section ending point of each section. Information about the section end point in a certain section becomes information about the section start point of the subsequent section. Therefore, the user can input information about the section start point and the section end point of each section by inputting the start point information regarding the start point of the machining trajectory and specifying the section end point information regarding the section end point of each section in order. .

区間始点に関する情報は、区間始点の位置を示す区間始点位置である。 The information about the section start point is the section start point position indicating the position of the section start point.

区間終点に関する情報は、つなぎ形状と、区間終点位置と、面取加工を含む。つなぎ形状は、当該区間における区間始点と区間終点との間の形状を特定するものである。本実施例では、直線(ストレート加工)、テーパ(テーパ加工)、及び、円弧である。区間終点位置は、区間終点の位置を示すものである。つなぎ形状が「直線」では、区間終点の断面上の位置を指定する。つなぎ形状が「テーパ」では、面の角度が指定されるため、区間終点の断面上の位置について、所定の方向(水平方向や垂直方向など)の位置が指定される。つなぎ形状が「円弧」では、例えば、時計回りか反時計回りか、区間終点及び半径などが特定される。面取加工は、区間終点における面取加工の形状を特定するものであり、利用者は、面取加工を行わないこと、C面加工を行うこと、R面加工を行うこと、などを特定する。 The information about the section end point includes the joint shape, section end point position, and chamfering. The connecting shape specifies the shape between the section start point and the section end point in the section. In this embodiment, they are a straight line (straight processing), a taper (taper processing), and an arc. The section end point position indicates the position of the section end point. If the connection shape is "straight line", specify the position of the end point of the section on the cross section. When the connecting shape is "tapered", since the angle of the surface is specified, the position of the section end point on the cross section is specified in a predetermined direction (horizontal direction, vertical direction, etc.). If the connecting shape is "arc", for example, clockwise or counterclockwise rotation, section end point and radius are specified. The chamfering process specifies the shape of the chamfering process at the end point of the section, and the user specifies not to perform chamfering process, to perform C surface process, to perform R surface process, etc. .

加工軌跡処理部7は、サブプログラム及び描画情報を生成する。メインプログラム生成部9は、メインプログラムを生成する。処理情報記憶部11は、例えばメインメモリであり、加工軌跡処理部7及びメインプログラム生成部9が処理に使用できるように、メインプログラム、サブプログラム及び描画情報を保持する。 The machining locus processor 7 generates subprograms and drawing information. The main program generator 9 generates a main program. The processing information storage unit 11 is, for example, a main memory, and holds a main program, subprograms, and drawing information so that the processing locus processing unit 7 and the main program generation unit 9 can use them for processing.

表示部13は、入力された情報や、メインプログラム、サブプログラム、描画情報などを表示する。 The display unit 13 displays input information, a main program, subprograms, drawing information, and the like.

保存処理部17は、保存情報記憶部21(例えばハードディスクなど)に対して、加工軌跡処理部7及びメインプログラム生成部9が生成した、メインプログラム、サブプログラム及び描画情報などの組合せ(以下、「保存情報」という。)を保存する。読出処理部19は、保存情報記憶部21からメインプログラム、サブプログラム及び描画情報などの組合せを読み出す。 The saving processing unit 17 stores a combination of the main program, the sub-program, and the drawing information (hereinafter referred to as " (hereinafter referred to as "save information"). The reading processing unit 19 reads a combination of the main program, the sub-programs, the drawing information, and the like from the saved information storage unit 21 .

図1(b)を参照して、メインプログラム生成部9の処理の一例を説明する。利用者は、呼び出すサブプログラムを特定する情報を入力する(ステップSTM1)。続いて、利用者は、複数の回数の加工のそれぞれに対し、加工条件を設定する(ステップSTM2)。メインプログラム生成部9は、各加工回数に設定された加工条件で、特定されたサブプログラムを呼び出すプログラムを生成する(ステップSTM3)。 An example of the processing of the main program generator 9 will be described with reference to FIG. 1(b). The user inputs information specifying the subprogram to be called (step STM1). Subsequently, the user sets processing conditions for each of a plurality of times of processing (step STM2). The main program generator 9 generates a program for calling the identified subprogram under the machining conditions set for each number of machining (step STM3).

図1(c)を参照して、加工軌跡処理部7の処理の一例を説明する。本実施例では、加工軌跡を構成する各区間に対して、区間始点及び区間終点に関する情報を用いて、加工軌跡を表示するための描画情報と、加工する形状のサブプログラムを、リアルタイムに生成することにより、利用者は、点に関する情報を入力する際に、描画情報により視覚的に確認できることに加えて、サブプログラムにより具体的に確認することができる。 An example of the processing of the machining locus processor 7 will be described with reference to FIG. 1(c). In the present embodiment, drawing information for displaying the machining trajectory and a subprogram of the shape to be machined are generated in real time using information about the section start point and the section end point for each section constituting the machining trajectory. As a result, when the user inputs information about points, the user can visually check the drawing information and specifically check the subprogram.

利用者は、加工軌跡の始点に関する始点情報を入力する(ステップSTS1)。区間情報入力部3は、点情報記憶部5に、始点情報を記憶する。 The user inputs starting point information regarding the starting point of the machining trajectory (step STS1). The section information input unit 3 stores start point information in the point information storage unit 5 .

区間情報入力部3は、点情報記憶部5に対して、利用者が編集(追加・削除・変更など)した加工軌跡における各区間の区間終点に関する区間終点情報を記憶する。加工軌跡処理部7は、区間終点情報が編集されたか否かを判断する(ステップSTS2)。区間終点情報が編集されるまで待機し、区間終点情報が編集されたならば、編集後の区間終点情報に基づき、リアルタイムに、描画情報とサブプログラムを生成し、処理情報記憶部11に記憶する(ステップSTS3)。加工軌跡処理部7は、処理を終了するか否かを判断し(ステップSTS4)、終了しないならばステップSTS2に戻り、終了するならば、処理を終了する。 The section information input unit 3 stores section end point information regarding the section end point of each section in the machining trajectory edited (added, deleted, changed, etc.) by the user in the point information storage unit 5 . The machining trajectory processing unit 7 determines whether or not the section end point information has been edited (step STS2). It waits until the section end point information is edited, and when the section end point information is edited, based on the section end point information after editing, draw information and subprograms are generated in real time and stored in the processing information storage unit 11.例文帳に追加(Step STS3). The machining trajectory processing unit 7 determines whether or not to end the processing (step STS4), returns to step STS2 if not to end, and ends the processing if to end.

図1(d)を参照して、読出処理部19による保存情報記憶部21に保存した保存情報を読み出す処理について説明する。読出処理部19は、利用者が保存情報記憶部21に保存された保存情報を読み出す指示をすると、保存情報記憶部21に保存された保存情報の一覧を表示し(ステップSTR1)、利用者が保存情報の一つを特定したか否かを判断する(ステップSTR2)。利用者が保存情報の一つを特定するまで待機し、保存情報の一つを特定したならば、保存情報に含まれる描画情報に基づき加工軌跡を表示する(ステップSTR3)(図6(b)参照)。読出処理部19は、利用者が、特定した保存情報を読み出す指示をしたか否かを判断する(ステップSTR4)。利用者が異なる保存情報を特定したならば、ステップSTR3の処理に戻る。利用者が特定した保存情報を読み出す指示をしたならば、読出処理部19は、特定した保存情報を処理情報記憶部11に読み出す(ステップSTR5)。 Referring to FIG. 1(d), the process of reading out the stored information stored in the stored information storage unit 21 by the read processing unit 19 will be described. When the user instructs to read the stored information stored in the stored information storage unit 21, the reading processing unit 19 displays a list of stored information stored in the stored information storage unit 21 (step STR1). It is determined whether or not one of the stored information has been specified (step STR2). It waits until the user specifies one of the stored information, and when one of the stored information is specified, displays the machining trajectory based on the drawing information included in the stored information (step STR3) (FIG. 6B). reference). The reading processing unit 19 determines whether or not the user has given an instruction to read out the specified stored information (step STR4). If the user specifies different stored information, the process returns to step STR3. When the user gives an instruction to read out the specified stored information, the reading processing unit 19 reads out the specified stored information to the processing information storage unit 11 (step STR5).

図3を参照して、加工軌跡の特定の一例を説明する。この例では、加工対象物は円柱であり、高さ20mm、底面の直径は36mmである。断面図では、左右の面が円である。回転軸は、円柱の円の中心をとおるものである。X軸は上向き、Z軸は右向きであり、これらの原点は、断面図の右側の中心である。なお、簡単のために、断面では、上半分のみを記載している。実際の断面図は、下半分にも回転軸に線対称な形状を表示する(図4(a)参照)。 An example of specifying the machining trajectory will be described with reference to FIG. In this example, the workpiece is a cylinder with a height of 20 mm and a bottom diameter of 36 mm. In cross-section, the left and right faces are circles. The axis of rotation passes through the center of the circle of the cylinder. The X-axis points upwards, the Z-axis points to the right, and their origin is the center of the right side of the cross-sectional view. For simplicity, only the upper half of the cross section is shown. In the actual cross-sectional view, the lower half also displays a shape symmetrical about the axis of rotation (see FIG. 4(a)).

加工軌跡の始点位置S1は、左側の面の円の中心であり、Xは0mm、Zは-20mmである。 The starting position S 1 of the machining locus is the center of the circle on the left side, X is 0 mm, and Z is -20 mm.

利用者は、最初に、最初の区間(始点を含む区間)の区間終点E1に関する情報を入力する。つなぎ形状は「直線」であり、E1の座標は、Xが13.8mm、Zが-20mmである。面取加工は「R」(R面加工)である。図3(b)にあるように、加工軌跡処理部7は、この時点では、S1とE1を直線で結んだ加工軌跡を示す描画情報及びサブプログラムを生成する。 The user first inputs information about the section end point E1 of the first section (the section including the starting point). The joint shape is "straight" and the coordinates of E 1 are 13.8 mm in X and -20 mm in Z. Chamfering is "R" (R surface processing). As shown in FIG. 3(b), at this point, the machining locus processor 7 generates drawing information and a subprogram indicating a machining locus connecting S1 and E1 with a straight line.

続いて、利用者は、2番目の区間(E1を始点とする区間)の区間終点E2に関する情報を入力する。つなぎ形状は「直線」であり、E2の座標は、Xが13.8mm、Zが-13mmである。面取加工は「C」(C面加工)である。図3(c)にあるように、加工軌跡処理部7は、E1とE2を直線で結び、E1をR面加工した加工軌跡を示す描画情報及びサブプログラムを生成する。 Subsequently, the user inputs information about the section end point E2 of the second section (the section starting from E1 ). The joint shape is "straight" and the coordinates of E 2 are 13.8 mm for X and -13 mm for Z. Chamfering is "C" (C face machining). As shown in FIG. 3(c), the machining trajectory processing unit 7 connects E1 and E2 with a straight line, and generates drawing information and a subprogram indicating a machining trajectory in which E1 is R-machined.

続いて、利用者は、3番目の区間(E2を始点とする区間)の区間終点E3に関する情報を入力する。つなぎ形状は「直線」であり、E3の座標は、Xが9mm、Zが-13mmである。面取加工は「なし」である。図3(d)にあるように、加工軌跡処理部7は、E2とE3を直線で結び、E2をC面加工した加工軌跡を示す描画情報及びサブプログラムを生成する。 Subsequently, the user inputs information about the section end point E3 of the third section (the section starting at E2 ). The joint shape is "straight" and the coordinates of E 3 are 9 mm for X and -13 mm for Z. Chamfering is "none". As shown in FIG. 3D, the machining trajectory processing unit 7 connects E2 and E3 with a straight line, and generates drawing information and a subprogram indicating a machining trajectory obtained by machining E2 on the C surface.

続いて、利用者は、4番目の区間(E3を始点とする区間)の区間終点E6に関する情報を入力する。つなぎ形状は「直線」であり、E6の座標は、Xが9mm、Zが0mmである。面取加工は「なし」である。図3(e)にあるように、加工軌跡処理部7は、E3とE6を直線で結んだ加工軌跡を示す描画情報及びサブプログラムを生成する。 Subsequently, the user inputs information about the section end point E6 of the fourth section (the section starting at E3 ). The joint shape is a "straight line" and the coordinates of E6 are 9 mm for X and 0 mm for Z. Chamfering is "none". As shown in FIG. 3(e), the machining trajectory processing unit 7 generates drawing information and a subprogram indicating a machining trajectory connecting E3 and E6 with a straight line.

次に、利用者は、順番「3」の区間終点に関する情報において、区間終点E4に関する情報に変更する。つなぎ形状は「円弧」であり、半径が4.8mm、時計回りで、E4の座標は、Xが9mm、Zが-8.2mmである。加工軌跡処理部7は、E2とE4を円弧で結び、E4とE6を直線で結ぶ。しかしながら、E2では、C面加工を行うことができない。そのため、表示部13において、順番「2」での区間終点に関する情報において、面取加工の指定に関してエラー表示を行う。図3(f)にあるように、利用者が順番「2」での面取加工を「なし」に変更すると、加工軌跡処理部7は、図3(g)にあるように、S、E1、E2、E4及びE6を順に経由する加工軌跡を示す描画情報及びサブプログラムを生成する。 Next, the user changes the information about the section end point of order "3" to the information about the section end point E4 . The tether shape is an "arc" with a radius of 4.8 mm, clockwise, and the coordinates of E4 are 9 mm in X and -8.2 mm in Z. The machining locus processor 7 connects E2 and E4 with an arc, and connects E4 and E6 with a straight line. However, E2 cannot perform C-face machining. Therefore, in the display unit 13, an error is displayed regarding the designation of the chamfering processing in the information regarding the section end point in the order "2". As shown in FIG. 3(f), when the user changes the chamfering in order "2" to "none", the machining trajectory processing unit 7 changes S, E as shown in FIG. 3(g). 1 , E 2 , E 4 and E 6 in order to generate drawing information and a subprogram indicating a machining trajectory.

次に、図3(h)にあるように、利用者は、順番「3」の区間終点に関する情報において、つなぎ形状を「テーパ」に変更したとする。ここで、テーパの角度はZ軸から時計回りに40°であり、区間終点位置は、Xの座標が9mmで特定されているとする。加工軌跡処理部7は、テーパの角度とXの座標から、区間終点E5を特定する。そして、E2とE5を直線で結び、E5とE6を直線で結ぶ。加工軌跡処理部7は、図3(i)にあるように、S、E1、E2、E5及びE6を順に経由する加工軌跡を示す描画情報及びサブプログラムを生成する。 Next, as shown in FIG. 3(h), it is assumed that the user changes the connecting shape to "taper" in the information regarding the section end point of order "3". Here, it is assumed that the taper angle is 40° clockwise from the Z-axis, and the section end point position is specified with an X coordinate of 9 mm. The machining locus processor 7 identifies the section end point E5 from the taper angle and the X coordinate. Then, connect E2 and E5 with a straight line, and connect E5 and E6 with a straight line. As shown in FIG. 3(i), the machining trajectory processing unit 7 generates drawing information and a subprogram indicating a machining trajectory passing through S, E 1 , E 2 , E 5 and E 6 in order.

図4、図5及び図6は、具体的なシステムにおける表示部13の表示画面の一例を示す。図2の表示画面41に表示されるものである。図4(a)を参照して、利用者が「ファイル」(符号51)を指定すると、メインプログラム、サブプログラム及び描画情報を生成する処理を行う。 4, 5 and 6 show examples of display screens of the display unit 13 in a specific system. This is displayed on the display screen 41 in FIG. Referring to FIG. 4A, when the user designates "file" (reference numeral 51), processing for generating a main program, subprograms and drawing information is performed.

利用者が「ファイル」(符号51)を指示し、「作成」(符号57)を指示すると、符号55において、メインプログラム(MAIN)とサブプログラム(SUB)のいずれに対して、情報を入力するかを指示する。図4はサブプログラムを指示した場合を示し、図6はメインプログラムを指示した場合を示す。なお、「編集」を指示したならばプログラムを編集することができ、「入出力」を指示したならば既存の形式でプログラムを保存したり読み込んだりすることができる。 When the user designates "file" (reference numeral 51) and "creates" (reference numeral 57), information is input to either the main program (MAIN) or the subprogram (SUB) at reference numeral 55. or FIG. 4 shows the case where the subprogram is indicated, and FIG. 6 shows the case where the main program is indicated. If "edit" is instructed, the program can be edited, and if "input/output" is instructed, the program can be saved or read in an existing format.

利用者は、加工対象物の形状を特定し、始点位置を特定する。そして、区間終点に関する情報を順番に特定する。ここで、形状(つなぎ形状)及びコーナ(面取加工)は、プルダウンメニューで選択することができる。図5は、形状について、プルダウンメニューにより選択できる項目と、各項目に対応して入力ができる欄とできない欄を示す。形状(つなぎ形状)が「直線」の場合、図5(a)にあるように、区間終点のX及びZの座標を入力する。「テーパ」の場合、図5(b)及び(c)にあるように、「角度」と区間終点のXの座標又はZの座標を入力する。「円弧」の場合、図5(d)及び(e)にあるように、時計回り(CW)か反時計回り(CCW)かを選択し、区間終点のX及びZ座標と「半径」を入力する。また、この例では、「コーナ量」として、面取加工の大きさを指定することができる。「送り速度」を各区間毎に入力することができる。 The user identifies the shape of the object to be processed and identifies the starting point position. Then, the information about the section end point is identified in order. Here, the shape (connection shape) and corner (chamfering) can be selected from a pull-down menu. FIG. 5 shows items that can be selected from a pull-down menu, and columns that can and cannot be input corresponding to each item. When the shape (connecting shape) is "straight line", the X and Z coordinates of the end point of the section are input as shown in FIG. 5(a). In the case of "taper", as shown in Figs. 5(b) and (c), the "angle" and the X or Z coordinate of the section end point are input. In the case of "arc", select clockwise (CW) or counterclockwise (CCW) as shown in Fig. 5 (d) and (e), and enter the X and Z coordinates of the end point of the section and "radius" do. Also, in this example, the size of chamfering can be designated as the "corner amount". A "feed rate" can be input for each section.

利用者は、区間終点を入力するに伴い、リアルタイムに表示するものを描画情報(PICTURE PREVIEW)とサブプログラム(PROGRAM PREVIEW)のいずれとするかを選択することができる(符号59)。図4(a)では、描画情報が表示され、図4(b)では、サブプログラムが表示されている。 The user can select either drawing information (PICTURE PREVIEW) or subprogram (PROGRAM PREVIEW) to be displayed in real time as the section end point is input (reference numeral 59). Drawing information is displayed in FIG. 4(a), and a subprogram is displayed in FIG. 4(b).

図6(a)を参照して、メインプログラムに関する表示画像の例を説明する。利用者は、メインプログラムを指定すると(符号55)、保存情報のファイル名、メインプログラム番号、サブプログラム番号を特定する。図6(a)では、ファイル名は「TEST_IN001」、メインプログラム番号「1」、サブプログラム番号「2」として特定されている。そして、加工回数に応じて、加工条件を設定する。図6(a)では、各加工回数に対して、X方向(図の上向き)とZ方向(図の右向き)のそれぞれに対し、切り込み、初期位置、最終切り込みを設定している。 An example of a display image relating to the main program will be described with reference to FIG. When the user designates the main program (reference numeral 55), the user specifies the file name, main program number, and subprogram number of the saved information. In FIG. 6A, the file name is specified as "TEST_IN001", main program number "1", and subprogram number "2". Then, the machining conditions are set according to the number of times of machining. In FIG. 6A, the cut, initial position, and final cut are set for each number of times of machining in the X direction (upward in the drawing) and the Z direction (rightward in the drawing).

図6(b)を参照して、利用者が保存情報の読み出しを指示した場合、保存情報の一覧を表示する。利用者が「TEST_IN002」のファイルを指示した場合、このファイルに保存されている描画情報を表示する。これにより、読出処理部19が加工軌跡に関する具体的な処理を行うことなく、利用者は、ファイル全体の読み出し処理を行う前に、断面形状を確認することができる。利用者は、表示された断面形状を確認して、ファイル全体を読み出す指示を行う。 Referring to FIG. 6(b), when the user gives an instruction to read the stored information, a list of stored information is displayed. When the user specifies the file "TEST_IN002", the drawing information saved in this file is displayed. As a result, the user can check the cross-sectional shape before reading out the entire file without the reading processing unit 19 performing specific processing related to the machining locus. The user confirms the displayed cross-sectional shape and gives an instruction to read out the entire file.

図7は、本発明の他の実施の形態に係る研削盤の(a)構成の一例を示すブロック図、(b)動作の一例を示すフロー図及び(c)工具情報の入力画面の一例を示す図である。 FIG. 7 shows (a) a block diagram showing an example of the configuration of a grinding machine according to another embodiment of the present invention, (b) a flow chart showing an example of operation, and (c) an example of a tool information input screen. FIG. 4 is a diagram showing;

図7(a)を参照して、研削盤61は、研削プログラム処理装置62(本願請求項の「研削プログラム処理装置」の一例)を備える。研削プログラム処理装置62は、区間情報入力部63(本願請求項の「区間情報入力部」の一例)と、点情報記憶部65と、加工軌跡処理部67(本願請求項の「加工軌跡処理部」の一例)と、メインプログラム生成部69と、処理情報記憶部71と、表示部73(本願請求項の「表示手段」の一例)と、保存処理部77(本願請求項の「保存処理部」の一例)と、読出処理部79(本願請求項の「読出処理部」の一例)と、保存情報記憶部81を備える。 Referring to FIG. 7(a), a grinding machine 61 includes a grinding program processing device 62 (an example of a "grinding program processing device" in the claims of the present application). The grinding program processing device 62 includes a section information input section 63 (an example of the "section information input section" in the claims of the present application), a point information storage section 65, and a machining trajectory processing section 67 (the "machining trajectory processing section" in the claims of the present application). ”), a main program generation unit 69, a processing information storage unit 71, a display unit 73 (an example of the “display means” in the claims of the present application), and a save processing unit 77 (an example of the “save processing unit” in the claims of the present application). ), a readout processing unit 79 (an example of a “readout processing unit” in the claims of the present application), and a saved information storage unit 81 .

図7(a)の区間情報入力部63、点情報記憶部65、加工軌跡処理部67、メインプログラム生成部69、処理情報記憶部71、表示部73、保存処理部77、読出処理部79、及び、保存情報記憶部81は、それぞれ、図1(a)の区間情報入力部3、点情報記憶部5、加工軌跡処理部7、メインプログラム生成部9、処理情報記憶部11、表示部13、保存処理部17、読出処理部19、及び、保存情報記憶部21と同様に動作する。 Section information input unit 63, point information storage unit 65, machining locus processing unit 67, main program generation unit 69, processing information storage unit 71, display unit 73, storage processing unit 77, reading processing unit 79, 1(a), the processing locus processing unit 7, the main program generation unit 9, the processing information storage unit 11, and the display unit 13. , the storage processing unit 17 , the reading processing unit 19 , and the storage information storage unit 21 .

さらに、加工軌跡処理部67は、例えば保存情報記憶部に加工処理を実現するための分析対象プログラムが記憶されており、この分析対象プログラムを解析して、分析対象プログラムによる加工軌跡を特定することもできる。本実施例では、加工軌跡処理部67は、先の実施例と同様に、利用者が入力した、始点位置、つなぎ形状、区間終点及び面取加工を特定する情報(本願請求項の「加工軌跡特定情報」の一例)などにより加工軌跡を特定することができる。また、加工軌跡処理部67は、分析対象プログラムを解析して加工軌跡を特定することもできる。さらに、例えば分析プログラムを解析して、利用者による入力に応じて修正するように、両方によって加工軌跡を特定することもできる。 Further, the machining trajectory processing unit 67 stores, for example, an analysis target program for realizing machining processing in the saved information storage unit, and analyzes this analysis target program to specify the machining trajectory by the analysis target program. can also In this embodiment, as in the previous embodiment, the machining locus processing unit 67 uses the user-inputted information specifying the starting point position, joint shape, section end point, and chamfering ("machining locus" in the claims of the present application). An example of "specific information") can specify the machining trajectory. The machining trajectory processing unit 67 can also analyze the analysis target program to identify the machining trajectory. Further, the machining trajectory can be determined by both, for example by analyzing an analysis program and modifying it in response to user input.

本実施例では、研削プログラム処理装置62は、さらに、工具情報設定部83(本願請求項の「工具情報設定部」の一例)と、工具情報記憶部85と、工具情報表示部87(本願請求項の「工具情報表示部」の一例)を備える。 In this embodiment, the grinding program processing device 62 further includes a tool information setting unit 83 (an example of the "tool information setting unit" in the claims of the present application), a tool information storage unit 85, and a tool information display unit 87 (the An example of the "tool information display section" in the section).

図7(b)は、工具情報設定部83、工具情報記憶部85及び工具情報表示部87の動作の一例を示すフロー図である。まず、工具情報設定部83は、工具の初期値を設定する(ステップSTK1)。 FIG. 7B is a flow chart showing an example of the operation of the tool information setting section 83, the tool information storage section 85 and the tool information display section 87. As shown in FIG. First, the tool information setting unit 83 sets initial values of tools (step STK1).

利用者により工具情報が設定されたか否かを判断する(ステップSTK2)。図7(c)は、利用者による設定画面の一例である。設定されていないならば、ステップSTK4に進む。設定されるならば、工具情報設定部83は、工具情報記憶部85に対して、設定された工具の情報を設定し(ステップSTK3)、ステップSTK4に進む。ここで、工具は、研削に使用するものであり、台形の形状であるとする。工具情報は、A、B、C、D及びEの5つを設定することができる。また、各工具は、その形状として、台形の形状の下底の長さ(H)、高さ(W)及び下底の一方端の角度R、並びに、工具の傾きθを設定することができる。H、W、R及びθの組合せを工具情報という。 It is determined whether or not tool information has been set by the user (step STK2). FIG. 7(c) is an example of a setting screen by the user. If not set, proceed to step STK4. If set, the tool information setting unit 83 sets the information of the set tool in the tool information storage unit 85 (step STK3), and proceeds to step STK4. Here, it is assumed that the tool is used for grinding and has a trapezoidal shape. Five pieces of tool information, A, B, C, D and E, can be set. For each tool, the length (H) and height (W) of the bottom of the trapezoidal shape, the angle R of one end of the bottom, and the inclination θ of the tool can be set as the shape of each tool. . A combination of H, W, R and θ is called tool information.

ステップSTK4において、工具情報設定部83は、利用者により選択された工具が変更されたか否かを判断する。工具情報記憶部85は、A、B、C、D及びEという5種類の工具を記憶する。この例では、一つのプログラムにおいて使用する工具は、一種類であるとする。ステップSTK4では、例えば、利用者が工具Aを選択した状態から工具Bを選択した状態に変更したように、利用者が選択する工具を変更したか否かを判断する。変更したならばステップSTK5で工具を変更してステップSTK6に進む。変更していないならば、ステップSTK6に進む。 At step STK4, the tool information setting section 83 determines whether or not the tool selected by the user has been changed. The tool information storage unit 85 stores five types of tools A, B, C, D and E. In this example, one program uses one type of tool. In step STK4, it is determined whether or not the tool selected by the user has been changed, for example, by changing from the state in which the user selected tool A to the state in which tool B was selected. If changed, the tool is changed in step STK5 and the process proceeds to step STK6. If not changed, proceed to step STK6.

ステップSTK6において、工具情報表示部87は、表示部73に、工具を表示するか否かを判断する。工具を表示しないならば、ステップSTK2に戻る。工具を表示するならば、特定区間のみを表示するか否かを判断する(ステップSTK7)。特定区間のみを表示するならば、利用者が指定する特定区間の終点位置に工具を表示し(ステップSTK8)、ステップSTK2に戻る。そうでないならば、すべての区間の終点位置に工具を表示し(ステップSTK9)、ステップSTK2に戻る。 At step STK6, the tool information display section 87 determines whether or not to display the tool on the display section 73. FIG. If the tool is not to be displayed, return to step STK2. If the tool is to be displayed, it is determined whether or not only the specific section is to be displayed (step STK7). If only the specific section is to be displayed, the tool is displayed at the end position of the specific section specified by the user (step STK8), and the process returns to step STK2. Otherwise, the tools are displayed at the end points of all sections (step STK9), and the process returns to step STK2.

例えば図8のようにプログラムの作成処理の場合には、特定された加工軌跡に対して、プログラム生成情報を利用して、少なくとも一つの区間に前記工具の形状を表示する。また、例えば図10のようにプログラムから作画する処理の場合には、プログラムの少なくとも一つのブロック情報に対応する区間に工具の形状を表示する。区間における表示位置は、例えば区間の終点である。例えば、図7(d)は、図3(c)に対応するものである。図7(d)において、点E1a及び点E1bは、それぞれ、点E1に関する面取加工の開始点及び終了点である。加工区間P1、P2及びP3は、それぞれ、点Sから点E1a、点E1aから点E1b、及び、点E1bからE2を加工する区間である。図7(d)では、区間の終点位置E1が面取加工による加工区間P2とは異なる。このような場合に、工具は、プログラムの作成処理の場合にはS、点E1と点E2から計算される点(例えば図7(d)のE1b)、及び、E2の全部、又は、選択された区間のものに表示する。他方、プログラムから作図する処理の場合には、加工区間P1、P2及びP3を加工するための3つのプログラム指令で構成されるため、S、E1a、E1b及びE2の全部、又は、選択された区間のものに表示する。 For example, in the case of program creation processing as shown in FIG. 8, the shape of the tool is displayed in at least one section using the program generation information for the specified machining locus. Further, for example, in the case of a drawing process from a program as shown in FIG. 10, the shape of the tool is displayed in the section corresponding to at least one block information of the program. The display position in the section is, for example, the end point of the section. For example, FIG. 7(d) corresponds to FIG. 3(c). In FIG. 7(d), points E1a and E1b are the start and end points of chamfering for point E1 , respectively. Machining sections P 1 , P 2 and P 3 are sections in which point S to point E 1a , point E 1a to point E 1b , and point E 1b to E 2 are machined, respectively. In FIG. 7(d), the end position E1 of the section is different from the processed section P2 by chamfering. In such a case, the tool is S in the program creation process, a point calculated from points E 1 and E 2 (for example, E 1b in FIG. 7(d)), and all of E 2 , Alternatively, it is displayed in the selected section. On the other hand, in the case of the drawing process from the program, since it consists of three program instructions for machining the machining zones P1 , P2 and P3 , all of S, E1a , E1b and E2 , Alternatively, it is displayed in the selected section.

図8は、プログラムの作成処理において、工具を表示する画面の一例を示す(図4参照)。この例では、「9」ブロックの区間について、終点位置に工具を表示する。 FIG. 8 shows an example of a screen displaying tools in the program creation process (see FIG. 4). In this example, the tool is displayed at the end point position for the section of "9" blocks.

利用者は、101の「編集」ボタンを指定すると、図7(c)の画面が表示されて工具情報を設定する。項目103は、利用者が表示する工具を特定するためのものである。工具情報表示部87は、項目103により特定された工具を表示する。利用者は、項目105の行を指定することにより「9」ブロックを特定する。また、利用者は、項目107の「ノーズR補正」の「G41」と「G42」いずれかを選択することにより、加工方向に対して左側か右側かを指定することができる。この実施例では、「ノーズR補正」の指定に応じて工具を左側か右側のいずれか一方に表示するため、利用者は、内側を加工するか外側を加工するかを明確に把握することができる。 When the user designates an "edit" button 101, the screen shown in FIG. 7(c) is displayed and the tool information is set. Item 103 is for specifying a tool to be displayed by the user. The tool information display section 87 displays the tool specified by the item 103. FIG. The user specifies the “9” block by specifying the row of item 105 . In addition, the user can specify left or right with respect to the machining direction by selecting either "G41" or "G42" for "correction of nose R" in item 107. FIG. In this embodiment, the tool is displayed on either the left side or the right side according to the designation of "nose R correction", so the user can clearly grasp whether to machine the inside or the outside. can.

項目109及び項目111の「工具描画」の部分は、利用者が工具を表示するか否かを指定するためのものである。工具を表示しないならば、いずれのチェックボックスもチェックしない。指定ブロックのみを表示する場合には、項目109の「指定ブロック」のチェックボックスにチェックし、項目111の「全ブロック」のチェックボックスはチェックしない。全部の区間に工具を表示するならば、項目111の「全ブロック」のチェックボックスをチェックする。 Items 109 and 111 of "tool drawing" are for the user to specify whether or not to display tools. If you do not want to display tools, do not check any check boxes. To display only the specified block, check the check box of item 109 "specified block" and uncheck the check box of item 111 "all blocks". If the tool is to be displayed in all sections, check the check box of item 111 "all blocks".

図8では、選択された工具は「E」であり、「指定ブロック」がチェックされ、「全ブロック」はチェックされていない。指定ブロックとして、「9」ブロックが選択されている。また、ノーズR補正は「G42」が指定されており、工具の位置は、加工方向に対して右側である。 In FIG. 8, the selected tool is "E", "designated blocks" is checked, and "all blocks" is not checked. "9" block is selected as the specified block. Also, "G42" is specified for the nose R correction, and the tool position is on the right side with respect to the machining direction.

加工軌跡を表示する箇所113において、「*」は加工の開始位置を示す。加工軌跡において選択された「9」ブロックに対応する区間115を別の色で表示し、その区間終点の位置において、加工方向に対して右側に工具117を表示している。 In the portion 113 where the machining trajectory is displayed, "*" indicates the starting position of machining. A section 115 corresponding to the "9" blocks selected in the machining locus is displayed in a different color, and a tool 117 is displayed on the right side of the machining direction at the position of the section end point.

図9は、工具の表示例を示す。図9(a)は、図8と同様に、特定の区間の終点位置に工具Aを表示したものである。図9(b)は、全区間の終点位置に工具Aを表示したものである。図9(c)は、工具を変更した例を示し、全区間の終点位置に工具Dを表示したものである。図9(d)は、異なる加工軌跡について、内側を加工する場合に、特定の区間の終点位置で工具Eを表示し、拡大したものである。本実施例によれば、加工軌跡に加えて工具が表示されるために、干渉の有無を容易に把握することができる。 FIG. 9 shows an example of tool display. FIG. 9(a) shows the tool A at the end position of a specific section, as in FIG. FIG. 9(b) shows the tool A at the end position of all sections. FIG. 9(c) shows an example in which the tool is changed, and the tool D is displayed at the end point position of all sections. FIG. 9(d) is an enlarged view of the tool E displayed at the end point position of a specific section when machining the inner side for different machining trajectories. According to this embodiment, since the tool is displayed in addition to the machining locus, it is possible to easily grasp the presence or absence of interference.

図10は、プログラムから加工軌跡を作画する処理において、工具を表示する画面の一例を示す。本実施例では、加工軌跡処理部67は、プログラムから加工軌跡を描画することができる。この加工軌跡とともに、工具を表示する例を示す。 FIG. 10 shows an example of a screen displaying tools in the process of drawing a machining locus from a program. In this embodiment, the machining trajectory processor 67 can draw a machining trajectory from a program. An example of displaying a tool along with this machining locus will be shown.

図10(a)は、「23」ブロックが選択され、それを強調表示するとともに、その区間の終点位置に、利用者が選択した工具Aを描画した例を示す。 FIG. 10(a) shows an example in which the "23" block is selected and highlighted, and the tool A selected by the user is drawn at the end position of the section.

図10(b)は、「23」ブロックが選択されて強調されているが、工具描画の「全ブロック」のチェックボックスがチェックされており、全区間の終点位置に工具Aを表示した例を示す。 FIG. 10(b) shows an example in which the "23" block is selected and emphasized, the check box for "all blocks" in tool drawing is checked, and the tool A is displayed at the end point position of all sections. show.

1,61 研削盤、2 研削プログラム生成装置、3,63 区間情報入力部、5,65 点情報記憶部、7,67 加工軌跡処理部、9,69 メインプログラム生成部、11,71 処理情報記憶部、13,73 表示部、17,77 保存処理部、19,79 読出処理部、21,81 保存情報記憶部、62 研削プログラム処理装置、83 工具情報設定部、85 工具情報記憶部、87 工具情報表示部 1, 61 grinding machine 2 grinding program generation device 3, 63 section information input unit 5, 65 point information storage unit 7, 67 machining trajectory processing unit 9, 69 main program generation unit 11, 71 processing information storage 13, 73 display unit 17, 77 saving processing unit 19, 79 reading processing unit 21, 81 saving information storage unit 62 grinding program processing device 83 tool information setting unit 85 tool information storage unit 87 tool Information display

Claims (7)

研削盤のためのプログラムを生成する研削プログラム生成装置であって、
区間情報入力部と、加工軌跡処理部を備え、
前記区間情報入力部は、加工軌跡の始点位置を特定する始点情報、前記加工軌跡を構成する一つ又は複数の区間における区間終点を特定する区間終点位置、各区間における区間始点と区間終点との間の形状を特定するつなぎ形状情報、並びに、各区間終点における面取加工を行うか否か及び行う場合の面取加工の形状を特定する面取加工情報が入力され、
前記加工軌跡において
最初の区間の始点位置は、加工軌跡の始点位置であり、
2番目以降の区間の始点位置は、直前の区間の区間終点位置であり、
前記加工軌跡において、
前記加工軌跡の終点を含まない前記各区間、当該区間のつなぎ形状情報により特定される形状であって、前記区間終点において面取加工情報によって特定される形状であり
前記加工軌跡の終点を含む前記区間は、当該区間のつなぎ形状情報により特定される形状であり、
前記加工軌跡処理部は、前記区間終点位置、前記つなぎ形状情報及び前記面取加工情報の少なくとも一部が追加、削除又は変更された場合に前記加工軌跡を表示するための描画情報を生成するとともに、前記加工軌跡の加工を実現するためのサブプログラムを生成する、研削プログラム生成装置。
A grinding program generation device for generating a program for a grinding machine,
Equipped with a section information input unit and a machining trajectory processing unit,
The section information input unit includes starting point information for specifying the starting point position of the machining trajectory, section end point positions for specifying section end points in one or a plurality of sections constituting the machining trajectory, and the section start point and section end point in each section. Connecting shape information specifying the shape of the interval and chamfering information specifying whether or not to perform chamfering at the end point of each section and the shape of the chamfering if performed are input,
In the machining trajectory,
The starting point position of the first section is the starting point position of the machining trajectory,
The start point position of the second and subsequent sections is the section end point position of the immediately preceding section,
In the machining trajectory,
Each section that does not include the end point of the machining locus has a shape specified by the connecting shape information of the section, and is a shape specified by the chamfering information at the end point of the section,
The section including the end point of the machining trajectory has a shape specified by the connecting shape information of the section,
The machining trajectory processing unit generates drawing information for displaying the machining trajectory when at least a part of the section end point position , the connecting shape information, and the chamfering processing information is added, deleted, or changed. and a grinding program generating device for generating a subprogram for realizing machining of the machining locus.
前記加工軌跡処理部は、前記加工軌跡の加工を実現するためのサブプログラムを生成できない場合に、実現できない区間を特定し、
前記加工軌跡は、第2区間と、当該加工軌跡において始点に近い直前の区間である第1区間を含み、
前記加工軌跡処理部は、前記第2区間のつなぎ形状情報として曲線形状が特定された場合に、
前記第1区間の面取加工情報として面取加工を行わないこととされているならば、前記第1区間の前記面取加工情報は実現できるものとし、
前記第1区間の面取加工情報として面取加工を行うこととされているならば、前記第1区間の前記面取加工情報は実現できないものとして特定する、請求項1記載の研削プログラム生成装置。
The machining trajectory processing unit identifies an unrealizable section when a subprogram for realizing machining of the machining trajectory cannot be generated, and
The machining trajectory includes a second section and a first section that is a section immediately preceding the starting point in the machining trajectory,
When a curve shape is specified as the connection shape information of the second section, the machining trajectory processing unit
If the chamfering processing information for the first section indicates that chamfering is not to be performed, the chamfering processing information for the first section can be realized,
2. The grinding program generating apparatus according to claim 1, wherein if chamfering is to be performed as the chamfering information for the first section, the chamfering information for the first section is specified as being unrealizable. .
加工条件を設定して前記サブプログラムを呼び出すメインプログラムを生成するメインプログラム生成部と、
前記メインプログラム、前記サブプログラム及び前記描画情報の組合せを保存する保存処理部と、
記メインプログラム、前記サブプログラム及び前記描画情報の組合せを読み出す読出処理部を備える請求項1又は2に記載の研削プログラム生成装置。
a main program generator that sets machining conditions and generates a main program that calls the subprogram;
a storage processing unit that stores a combination of the main program, the subprogram, and the drawing information;
3. The grinding program generating apparatus according to claim 1, further comprising a reading processing unit that reads a combination of said main program, said sub-program and said drawing information.
表示手段は、前記区間終点位置、前記つなぎ形状情報及び前記面取加工情報の少なくとも一部が追加、削除又は変更されるときに、前記区間情報入力部に前記区間終点位置が入力される場合に、前記描画情報と前記サブプログラムの少なくとも一方を表示する、請求項1から3のいずれかに記載の研削プログラム生成装置。 The display means displays when the section end point position is input to the section information input unit when at least a part of the section end point position, the connecting shape information and the chamfering information is added, deleted or changed. 4. The grinding program generator according to claim 1, wherein at least one of said drawing information and said subprogram is displayed. 具情報を設定する工具情報設定部と、
表示手段に、前記加工軌跡の一部又は全部に対して、前記工具情報により特定される工具の形状を表示する工具情報表示部を備え、
前記工具情報表示部は、前記加工軌跡における加工方向に対して、前記工具の形状を左側又は右側に表示する、請求項1から4のいずれかの研削プログラム生成装置。
a tool information setting unit for setting tool information;
The display means comprises a tool information display section for displaying the shape of the tool specified by the tool information for part or all of the machining locus,
5. The grinding program generation device according to claim 1 , wherein said tool information display unit displays the shape of said tool on the left or right side with respect to the machining direction on said machining locus.
記工具情報表示部は、少なくとも一つの区間における終点に前記工具の形状を表示する、請求項5記載の研削プログラム生成装置。 6. The grinding program generation device according to claim 5, wherein said tool information display unit displays the shape of said tool at the end point of at least one section. 研削盤のためのプログラムを生成する研削プログラム生成方法であって、
研削プログラム生成装置は、区間情報入力部と、加工軌跡処理部と、メインプログラム生成部を備え、
前記区間情報入力部に、加工軌跡の各区間に関する情報が入力される入力ステップと、
前記加工軌跡処理部が、加工軌跡による加工する処理を行うためのサブプログラムと、前記加工軌跡を表示するための描画情報を生成し、前記メインプログラム生成部が、加工条件を設定して前記サブプログラムを呼び出すメインプログラムを生成するプログラム生成ステップを含み、
前記入力ステップにおいて、前記区間情報入力部は、加工軌跡の始点位置を特定する始点情報、前記加工軌跡を構成する一つ又は複数の区間における区間終点を特定する区間終点位置、各区間における区間始点と区間終点との間の形状を特定するつなぎ形状情報、並びに、各区間終点における面取加工を行うか否か及び行う場合の面取加工の形状を特定する面取加工情報が入力され、
前記加工軌跡において、
最初の区間の始点位置は、加工軌跡の始点位置であり、
2番目以降の区間の始点位置は、直前の区間の区間終点位置であり、
前記加工軌跡において、
前記加工軌跡の終点を含まない前記各区間は、当該区間のつなぎ形状情報により特定される形状であって、前記区間終点において面取加工情報によって特定される形状であり、
前記加工軌跡の終点を含む前記区間は、当該区間のつなぎ形状情報により特定される形状であり、
前記プログラム生成ステップにおいて、前記加工軌跡処理部は、前記区間終点位置、前記つなぎ形状情報及び前記面取加工情報の少なくとも一部が追加、削除又は変更された場合に、前記加工軌跡を表示するための描画情報を生成するとともに、前記加工軌跡の加工を実現するためのサブプログラムを生成する、研削プログラム生成方法。
A grinding program generation method for generating a program for a grinding machine, comprising:
The grinding program generation device includes a section information input unit, a machining trajectory processing unit, and a main program generation unit,
an input step of inputting information about each section of the machining trajectory into the section information input unit;
The machining trajectory processing unit generates a subprogram for performing machining processing using the machining trajectory and drawing information for displaying the machining trajectory, and the main program generating unit sets machining conditions. including a program generation step of generating a main program that calls the subprogram;
In the input step, the section information input unit inputs start point information specifying a starting point position of a machining trajectory, section end point positions specifying section end points in one or more sections constituting the machining trajectory, and section start points in each section. and the section end point, and chamfering information that specifies whether or not to perform chamfering at each section end point and the shape of the chamfering if performed,
In the machining trajectory,
The starting point position of the first section is the starting point position of the machining trajectory,
The start point position of the second and subsequent sections is the section end point position of the immediately preceding section,
In the machining trajectory,
Each section that does not include the end point of the machining locus has a shape specified by the connecting shape information of the section, and is a shape specified by the chamfering information at the end point of the section,
The section including the end point of the machining trajectory has a shape specified by the connecting shape information of the section,
In the program generation step, the machining trajectory processing unit displays the machining trajectory when at least part of the section end point position, the connecting shape information, and the chamfering information is added, deleted, or changed. and generating a subprogram for realizing machining of the machining locus .
JP2019076785A 2018-10-29 2019-04-15 Grinding program generation device and grinding program generation method Active JP7290452B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018203330 2018-10-29
JP2018203330 2018-10-29

Publications (2)

Publication Number Publication Date
JP2020069634A JP2020069634A (en) 2020-05-07
JP7290452B2 true JP7290452B2 (en) 2023-06-13

Family

ID=70548972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019076785A Active JP7290452B2 (en) 2018-10-29 2019-04-15 Grinding program generation device and grinding program generation method

Country Status (1)

Country Link
JP (1) JP7290452B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7149399B1 (en) * 2021-10-14 2022-10-06 西部電機株式会社 Processing equipment and processing condition setting method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272706A (en) 2006-03-31 2007-10-18 Heizaburo Nakagawa Tool path determination method and machining method
JP2008105119A (en) 2006-10-24 2008-05-08 Tecno Wasino Co Ltd Grinding method by use of grinding machine, and grinding machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62224550A (en) * 1986-03-25 1987-10-02 Okuma Mach Works Ltd Area machining indication system in automatic nc programming
JP3702496B2 (en) * 1995-07-10 2005-10-05 三菱電機株式会社 Machining method using numerical controller
JPH0962326A (en) * 1995-08-21 1997-03-07 Toshiba Corp Nc machining device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272706A (en) 2006-03-31 2007-10-18 Heizaburo Nakagawa Tool path determination method and machining method
JP2008105119A (en) 2006-10-24 2008-05-08 Tecno Wasino Co Ltd Grinding method by use of grinding machine, and grinding machine

Also Published As

Publication number Publication date
JP2020069634A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
JP5905159B2 (en) Numerical control program editing apparatus, numerical control program editing method and program
US10379523B2 (en) Machining program editing assist apparatus
JP6719790B1 (en) Automatic operation device for machining center based on CAD data
CN105209992B (en) NC machining program creation device
US9494930B2 (en) Automatic programming apparatus and automatic programming method
JP2584104B2 (en) Wheel shape definition device
US10222783B2 (en) Numerical control device, NC machining device, and NC machining method
JP6867457B2 (en) Information processing device
JP7290452B2 (en) Grinding program generation device and grinding program generation method
JP5724833B2 (en) Automatic programming apparatus and automatic programming method
JP2005288563A (en) Method and device for creating working program
JP2020146787A (en) Wire electric discharge machine, and processing program editing device
JPH07311612A (en) Method and device for editing machining program of numerical controller
JP2019159478A (en) Controller, data creation device, and control method and control program
JP2008087147A (en) Program preparation device for turning work
JP4327662B2 (en) Wire cut electric discharge machining method, method for creating machining program in wire cut electric discharge machining method, and machining program creation apparatus for wire cut electric discharge machining
US8498733B2 (en) Method and apparatus for reducing tool change operations
JP5734228B2 (en) Automatic programming apparatus and method
JP7339069B2 (en) Machining program generation support device
JPH11165239A (en) Numerical control data editing device and editing method of numerical control data
JP3526292B2 (en) NC data creation apparatus and method
JP3226517B2 (en) NC data creation apparatus and method
JP2006139503A (en) Tool track generation program, recording medium and tool track generation device and method
JPH04289056A (en) Generation of processing program in cad/cam device
JP2010262528A (en) Automatic programming device and operation program for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230203

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230601

R150 Certificate of patent or registration of utility model

Ref document number: 7290452

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150