JP7250202B1 - Information processing device and information processing program - Google Patents

Information processing device and information processing program Download PDF

Info

Publication number
JP7250202B1
JP7250202B1 JP2022133863A JP2022133863A JP7250202B1 JP 7250202 B1 JP7250202 B1 JP 7250202B1 JP 2022133863 A JP2022133863 A JP 2022133863A JP 2022133863 A JP2022133863 A JP 2022133863A JP 7250202 B1 JP7250202 B1 JP 7250202B1
Authority
JP
Japan
Prior art keywords
code
axis
program
indexing
cutting force
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
JP2022133863A
Other languages
Japanese (ja)
Other versions
JP2024030761A (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.)
DMG Mori Co Ltd
Original Assignee
DMG Mori 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 DMG Mori Co Ltd filed Critical DMG Mori Co Ltd
Priority to JP2022133863A priority Critical patent/JP7250202B1/en
Application granted granted Critical
Publication of JP7250202B1 publication Critical patent/JP7250202B1/en
Publication of JP2024030761A publication Critical patent/JP2024030761A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

【課題】工作機械における加工時間を短縮するNCプログラムを生成できるようにする。【解決手段】ある態様の情報処理装置は、回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいて、回転軸をクランプするためのクランプコードを付加したNCプログラムに処理する処理部を備える。処理部は、回転軸の第1割り出しコードと第1割り出しコード以降にある第2割り出しコードとのコード間においてシミュレーションの切削力が所定値以下である場合、NCプログラムのコード間内の対応する部分にクランプコードを付加しない処理を行う。【選択図】図5An object of the present invention is to generate an NC program that shortens the machining time of a machine tool. According to one aspect, an information processing apparatus processes an NC program to which a clamp code for clamping a rotating shaft is added, based on a simulation of cutting force in machining executable by a machine tool having a rotating shaft. have a department. If the simulation cutting force is equal to or less than a predetermined value between the first indexing code of the rotating shaft and the second indexing code after the first indexing code, the processing unit selects the corresponding part between the codes of the NC program. Do not add clamp code to . [Selection drawing] Fig. 5

Description

本発明は、工作機械で用いられるNCプログラムを生成する情報処理装置に関する。 The present invention relates to an information processing apparatus for generating NC programs used in machine tools.

工作機械として、例えば直交する3つの直線軸(X軸,Y軸,Z軸)と2つの回転軸(B軸,C軸)を有する5軸加工機が知られている。B軸の回転が主軸を傾動させ、C軸の回転がワークを回転させる。このような工作機械は、数値制御装置がNCプログラム(加工プログラム)を実行することで5軸を制御し、工具の位置および姿勢を変化させながらワークを所望形状に加工する。この他に、4つの軸を有する4軸加工機もある。 As a machine tool, for example, a five-axis machine having three orthogonal linear axes (X-axis, Y-axis, Z-axis) and two rotary axes (B-axis, C-axis) is known. Rotation of the B axis tilts the spindle, and rotation of the C axis rotates the workpiece. In such a machine tool, a numerical control device executes an NC program (machining program) to control five axes and machine a workpiece into a desired shape while changing the position and posture of the tool. There are also four-axis machines with four axes.

加工時の切削負荷によりB軸またはC軸が振動すると、工具またはテーブルが不安定になり、切削面の品質が悪くなる。そのため、B軸又はC軸を割り出した後には、クランプによって回転軸を固定する。 If the B-axis or C-axis vibrates due to the cutting load during machining, the tool or table becomes unstable and the quality of the cut surface deteriorates. Therefore, after the B-axis or C-axis is indexed, the rotating shaft is fixed by a clamp.

特開平5-313718号公報JP-A-5-313718

クランプの動作は、油圧回路によって行われるため一定の時間を要する。したがって、B軸又はC軸の割り出し回数が多いと、クランプ動作の回数が多くなり、加工全体の時間が長くなる。 The operation of the clamp takes a certain amount of time because it is performed by a hydraulic circuit. Therefore, if the number of indexing times of the B-axis or the C-axis is large, the number of clamping operations will be large, and the entire machining time will be long.

特許文献1には、クランプ制御と次の作動制御を並行して実行して加工時間を短縮する技術が開示されている。この技術では、ある条件下でクランプ作動の終了を待たずに次の作動を開始させるが、クランプを省くようにはなっていない。クランプ作動に時間を要することには変わりがなく、複雑な制御が必要である。 Patent Literature 1 discloses a technique for shortening the machining time by executing clamp control and subsequent operation control in parallel. This technique does not wait for the end of a clamp operation under certain conditions to start the next operation, but does not eliminate the clamp. It still takes time to operate the clamp, and complicated control is required.

本発明のある態様は、回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいて、回転軸をクランプするためのクランプコードを付加したNCプログラムに処理する処理部を備える情報処理装置である。処理部は、回転軸の第1割り出しコードと第1割り出しコード以降にある第2割り出しコードとのコード間においてシミュレーションの切削力が所定値以下である場合、NCプログラムのコード間内の対応する部分にクランプコードを付加しない処理を行う。 An aspect of the present invention is an information processing unit that processes an NC program to which a clamp code for clamping a rotating shaft is added based on a simulation of cutting force in machining that can be performed by a machine tool having a rotating shaft. It is a device. If the simulation cutting force is equal to or less than a predetermined value between the first indexing code of the rotating shaft and the second indexing code after the first indexing code, the processing unit selects the corresponding part between the codes of the NC program. Do not add clamp code to .

本発明の別の態様は、回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいて、回転軸をクランプするためのクランプコードを付加したNCプログラムに処理する機能を有する情報処理プログラムである。当該機能において、回転軸の第1割り出しコードと第1割り出しコード以降にある第2割り出しコードとのコード間においてシミュレーションの切削力が所定値以下である場合、NCプログラムのコード間内の対応する部分にクランプコードを付加しない処理を行う。 Another aspect of the present invention is an information processing function having a function of processing an NC program to which a clamp code for clamping a rotating shaft is added based on a simulation of cutting force in machining that can be performed by a machine tool having a rotating shaft. It's a program. In this function, if the simulation cutting force is less than a predetermined value between the first indexing code of the rotary axis and the second indexing code after the first indexing code, the corresponding part between the codes of the NC program Do not add clamp code to .

本発明によれば、工作機械における加工時間を短縮するNCプログラムを生成できる。 According to the present invention, it is possible to generate an NC program that shortens the machining time of the machine tool.

実施形態に係る工作機械の概略構成を表す模式図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a schematic diagram showing schematic structure of the machine tool which concerns on embodiment. 実施形態に係る工作機械のハードウェア構成図である。1 is a hardware configuration diagram of a machine tool according to an embodiment; FIG. 情報処理装置の機能ブロック図である。3 is a functional block diagram of an information processing device; FIG. 適正化前NCプログラムと切削力のグラフとを表す図である。It is a figure showing the NC program before optimization, and the graph of cutting force. クランプコード適正化処理の概要を表す図である。FIG. 11 is a diagram showing an overview of clamp code optimization processing; NCプログラム生成処理を表すフローチャートである。4 is a flowchart showing NC program generation processing; 変形例に係るクランプコード適正化の概要を表す図である。FIG. 11 is a diagram showing an overview of clamp code optimization according to a modification;

以下、図面を参照しつつ、本発明の一実施形態について説明する。
なお、以下の実施形態およびその変形例について、ほぼ同一の構成要素については同一の符号を付し、その説明を適宜省略する。
An embodiment of the present invention will be described below with reference to the drawings.
In addition, about the following embodiment and its modification, the same code|symbol is attached|subjected about the substantially same component, and the description is abbreviate|omitted suitably.

図1は、実施形態に係る工作機械の概略構成を表す模式図である。なおここでは、工作機械1を正面からみて左右方向,前後方向,上下方向を、それぞれX軸方向,Y軸方向,Z軸方向とする。 FIG. 1 is a schematic diagram showing a schematic configuration of a machine tool according to an embodiment. Here, when the machine tool 1 is viewed from the front, the left-right direction, the front-rear direction, and the up-down direction are defined as the X-axis direction, the Y-axis direction, and the Z-axis direction, respectively.

工作機械1は、5軸制御マシニングセンタであり、直交する3つの直線軸(X軸,Y軸,Z軸)と、2つの回転軸(B軸,C軸)を有する加工装置2を備える。これら5軸が、後述の数値制御装置により同時制御されることにより工具を移動させ、また工具姿勢を変化させながら各種加工が実行される。 The machine tool 1 is a 5-axis control machining center, and includes a processing device 2 having three orthogonal linear axes (X-axis, Y-axis, Z-axis) and two rotary axes (B-axis, C-axis). These five axes are simultaneously controlled by a numerical control device, which will be described later, to move the tool and perform various machining while changing the tool attitude.

加工装置2は、主軸10を支持する主軸頭12と、ワークWを支持するテーブル14を備える。主軸頭12がB軸を有し、そのB軸を中心に主軸10を回動可能(傾動可能)に支持する。主軸10は、工具Tを同軸状に支持する。工具Tは、例えばエンドミル等である。主軸頭12には、主軸10を軸線周りに回転駆動するためのスピンドルモータと、B軸を中心に主軸10を回動させるためのサーボモータが設けられている。主軸の回動により工具TのZ軸方向に対する傾斜角度が変化するため、B軸は傾斜軸としての「回動軸」としても機能する。 The processing device 2 includes a spindle head 12 that supports the spindle 10 and a table 14 that supports the workpiece W. As shown in FIG. A spindle head 12 has a B axis, and supports the spindle 10 so as to be rotatable (tiltable) about the B axis. The spindle 10 supports the tool T coaxially. The tool T is, for example, an end mill or the like. The spindle head 12 is provided with a spindle motor for rotating the spindle 10 around the axis and a servomotor for rotating the spindle 10 around the B axis. Since the tilt angle of the tool T with respect to the Z-axis direction changes due to the rotation of the main shaft, the B-axis also functions as a "rotation axis" as a tilt axis.

主軸10の回動により、ワークWに対する工具Tの傾斜角度が変化する。主軸頭12は、また、複数のサーボモータによりそれぞれ3軸方向に駆動される。主軸10は、主軸頭12が駆動されることによりX軸、Y軸およびZ軸方向に移動自在である。 The tilt angle of the tool T with respect to the work W changes as the spindle 10 rotates. The spindle head 12 is also driven in three axial directions by a plurality of servo motors. The spindle 10 is movable in the X-axis, Y-axis and Z-axis directions by driving the spindle head 12 .

テーブル14には、図示略の治具を介してワークWが固定される。テーブル14の軸線に沿ってC軸が設けられる。テーブル14は、図示しないサーボモータによりC軸を中心に回転駆動される。すなわち、以上の構成により、ワークWと工具Tとの相対位置を三次元的に調整できる。 A workpiece W is fixed to the table 14 via a jig (not shown). A C-axis is provided along the axis of the table 14 . The table 14 is rotationally driven around the C-axis by a servomotor (not shown). That is, with the configuration described above, the relative positions of the workpiece W and the tool T can be adjusted three-dimensionally.

図2は、実施形態に係る工作機械のハードウェア構成図である。
工作機械1は、操作制御装置50、数値制御装置52、加工装置2、工具交換部54、工具格納部56およびクランプ機構3を含む。数値制御装置52は、NCプログラムにしたがって加工装置2に制御信号を送信する。加工装置2は、数値制御装置52からの指示にしたがって加工装置2の主軸10とテーブル12などを駆動してワークを加工する。
FIG. 2 is a hardware configuration diagram of the machine tool according to the embodiment.
The machine tool 1 includes an operation control device 50 , a numerical control device 52 , a processing device 2 , a tool changing section 54 , a tool storage section 56 and a clamping mechanism 3 . The numerical controller 52 transmits control signals to the processing device 2 according to the NC program. The processing device 2 drives the spindle 10 and the table 12 of the processing device 2 according to instructions from the numerical control device 52 to process the workpiece.

クランプ機構3は、油圧回路を有し、B軸およびC軸に対してクランプ動作およびアンクランプ動作を行う。クランプ動作では、油圧回路によって油圧を高めて、B軸およびC軸を固定する。回転軸を固定した状態を「クランプ状態」という。アンクランプ動作では、油圧回路の油圧を低くして、B軸およびC軸を解放する。回転軸を解放した状態を「アンクランプ状態」という。クランプ機構3は、B軸およびC軸に対して、別個にクランプ動作とアンクランプ動作を行うことができる。 The clamping mechanism 3 has a hydraulic circuit and performs clamping and unclamping operations on the B-axis and the C-axis. In the clamping operation, hydraulic pressure is increased by the hydraulic circuit to fix the B and C axes. A state in which the rotating shaft is fixed is called a “clamped state”. In the unclamping operation, the hydraulic pressure in the hydraulic circuit is lowered to release the B and C axes. A state in which the rotating shaft is released is called an “unclamped state”. The clamping mechanism 3 can separately perform clamping and unclamping operations with respect to the B-axis and the C-axis.

操作制御装置50は、ユーザにユーザインターフェース機能を提供する操作盤を含む。ユーザは操作制御装置50を介して数値制御装置52を制御する。工具格納部56は工具を格納する。工具交換部54は、いわゆるATC(Automatic Tool Changer)に対応する。工具交換部54は、数値制御装置52からの交換指示にしたがって、工具格納部56から工具Tを取り出し、主軸10にある工具Tと取り出した工具Tを交換する。 The operation control device 50 includes an operation panel that provides user interface functions to the user. A user controls the numerical controller 52 via the operation controller 50 . The tool storage section 56 stores tools. The tool changer 54 corresponds to a so-called ATC (Automatic Tool Changer). The tool changer 54 takes out the tool T from the tool storage part 56 according to the change instruction from the numerical controller 52, and changes the tool T on the spindle 10 with the tool T taken out.

数値制御装置52には情報処理装置100が接続される。情報処理装置100は、クランプコードが適正化されたNCプログラム(以下、「適正化後NCプログラム」という)を生成し、数値制御装置52へ出力する。クランプコードは、クランプ指令に相当するNCコードである。クランプコードの適正化については、後述する。数値制御装置52は、適正化後NCプログラムを実行して加工装置2を制御する。情報処理装置100は、操作制御装置50の一部として構成されてもよい。情報処理装置100は、一般的なラップトップPC(Personal Computer)あるいはタブレット・コンピュータであってもよい。 An information processing device 100 is connected to the numerical controller 52 . The information processing device 100 generates an NC program in which the clamp code is optimized (hereinafter referred to as “optimized NC program”) and outputs it to the numerical controller 52 . A clamp code is an NC code corresponding to a clamp command. Optimization of the clamp code will be described later. The numerical controller 52 executes the post-optimization NC program to control the machining device 2 . The information processing device 100 may be configured as part of the operation control device 50 . The information processing apparatus 100 may be a general laptop PC (Personal Computer) or a tablet computer.

図3は、情報処理装置100の機能ブロック図である。
情報処理装置100の各構成要素は、CPU(Central Processing Unit)および各種コンピュータプロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され、演算器に処理命令を供給するソフトウェアによって実現される。コンピュータプログラムは、デバイスドライバ、オペレーティングシステム、それらの上位層に位置する各種アプリケーションプログラム、また、これらのプログラムに共通機能を提供するライブラリによって構成されてもよい。以下に説明する各ブロックは、ハードウェア単位の構成ではなく、機能単位のブロックを示している。
FIG. 3 is a functional block diagram of the information processing device 100. As shown in FIG.
Each component of the information processing apparatus 100 includes computing units such as a CPU (Central Processing Unit) and various computer processors, storage devices such as memory and storage, hardware including wired or wireless communication lines connecting them, and storage devices. , and implemented by software that supplies processing instructions to the computing unit. A computer program may consist of a device driver, an operating system, various application programs located in their higher layers, and a library that provides common functions to these programs. Each block described below represents a functional block rather than a hardware configuration.

なお、操作制御装置50および数値制御装置52の各構成要素も、プロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され演算器に処理命令を供給するソフトウェアにより実現されてもよい。 Each component of the operation control device 50 and the numerical control device 52 is also stored in hardware including computing units such as processors, storage devices such as memories and storages, and wired or wireless communication lines connecting them, and storage devices. It may be implemented by software that supplies processing instructions to the computing unit.

情報処理装置100は、入出力インターフェース部110、データ処理部112、データ格納部114およびユーザインターフェース処理部116を含む。入出力インターフェース部110は、外部装置とのデータのやりとりを含む入出力インターフェースに関する処理を担当する。データ格納部114は、各種プログラムおよび各種データを格納する。ユーザインターフェース処理部116は、ユーザからの操作を受け付けるほか、画像表示や音声出力など、ユーザインターフェースに関する処理を担当する。 Information processing apparatus 100 includes input/output interface section 110 , data processing section 112 , data storage section 114 and user interface processing section 116 . The input/output interface unit 110 is in charge of input/output interface processing including data exchange with external devices. The data storage unit 114 stores various programs and various data. The user interface processing unit 116 is in charge of processing related to the user interface, such as image display and audio output, in addition to receiving operations from the user.

データ処理部112は、入出力インターフェース部110により取得されたデータ、データ格納部114に格納されているデータ、およびユーザインターフェース処理部116により取得されたデータに基づいて各種処理を実行する。データ処理部112は、入出力インターフェース部110、データ格納部114およびユーザインターフェース処理部116のインターフェースとしても機能する。 The data processing unit 112 executes various processes based on the data acquired by the input/output interface unit 110, the data stored in the data storage unit 114, and the data acquired by the user interface processing unit 116. The data processing unit 112 also functions as an interface for the input/output interface unit 110 , the data storage unit 114 and the user interface processing unit 116 .

入出力インターフェース部110は、入力部120および出力部122を含む。
入力部120はデータ取得部124を含む。データ取得部124は、CAM(Computer Aided Manufacturing)装置160からCL(Cutter Location)データを取得する。CLデータを「加工パスデータ」あるいは「ツールパスデータ」ということもある。出力部122はプログラム出力部126を含む。プログラム出力部126は、データ処理部112で生成された適正化後NCプログラムを数値制御装置52へ出力する。
The input/output interface section 110 includes an input section 120 and an output section 122 .
Input unit 120 includes data acquisition unit 124 . The data acquisition unit 124 acquires CL (Cutter Location) data from a CAM (Computer Aided Manufacturing) device 160 . The CL data may also be called "machining path data" or "tool path data". Output section 122 includes program output section 126 . The program output unit 126 outputs the optimized NC program generated by the data processing unit 112 to the numerical controller 52 .

CAM装置160は、図示略のCAD(Computer Aided Design)装置で生成されたCADデータを取得するとともに、経路生成情報(座標系、工具形状、送り速度、回転軸回転数等)を取得する。CAM装置160は、CLデータ生成部162およびデータ出力部164を含む。CLデータ生成部162は、CADデータと経路生成情報に基づいてCLデータを生成する。データ出力部164は、生成されたCLデータを情報処理装置100へ出力する。 The CAM device 160 acquires CAD data generated by a CAD (Computer Aided Design) device (not shown), and also acquires path generation information (coordinate system, tool shape, feed rate, rotating shaft speed, etc.). CAM device 160 includes CL data generator 162 and data output unit 164 . The CL data generator 162 generates CL data based on the CAD data and the route generation information. Data output unit 164 outputs the generated CL data to information processing apparatus 100 .

ユーザインターフェース処理部116は、入力部150および出力部152を含む。
入力部150は、タッチパネル、各種キーあるいはハンドル等のハードデバイスを介してユーザからの操作入力を受け付ける。出力部152は、表示部(図示せず)への画像表示あるいは音声出力を介して、ユーザに各種情報を提供する。表示部は、情報処理装置100に備えられてもよいし、情報処理装置100の外にあって通信線で接続されてもよい。
User interface processing unit 116 includes an input unit 150 and an output unit 152 .
The input unit 150 receives an operation input from the user via a hard device such as a touch panel, various keys, or a handle. The output unit 152 provides various information to the user through image display or audio output on a display unit (not shown). The display unit may be provided in the information processing device 100 or may be provided outside the information processing device 100 and connected via a communication line.

データ処理部112は、表示制御部130、シミュレーション部132、処理部134および変換部136を含む。
表示制御部130は、表示部への画像表示を制御する。変換部136は、ポストプロセッサとして機能し、データ取得部124が取得したCLデータを適正化前NCプログラムに変換する。
Data processing unit 112 includes display control unit 130 , simulation unit 132 , processing unit 134 and conversion unit 136 .
The display control unit 130 controls image display on the display unit. The conversion unit 136 functions as a post-processor and converts the CL data acquired by the data acquisition unit 124 into a pre-optimization NC program.

シミュレーション部132は、クランプコードの適正化が行われていないNCプログラム(以下、「適正化前NCプログラム」という)に関して切削力のシミュレーションを実行する。シミュレーションは、適正化前NCプログラムに基づいて実際の機械加工環境を情報処理装置100で再現し、推定される切削力を算出する。切削力とは、ワークWの加工中に工具Tにかかる力である。具体的には、シミュレーション部132は、適正化前NCプログラムに記述されているNCコードに基づいて、加工中における工具TとワークWの位置関係を計算し、時系列の切削力を算出する。時系列の切削力を決める要因には、送り速度、被削材種、工具径、工具の刃数、工具の回転数、1刃当たりの送り量、および接触している面積などがある。また、シミュレーション部132は、回転軸の割り出しのタイミングを、割り出し時間として記録する。 The simulation unit 132 executes a cutting force simulation for an NC program in which the clamp code is not optimized (hereinafter referred to as "pre-optimization NC program"). In the simulation, an actual machining environment is reproduced by the information processing device 100 based on the pre-optimization NC program, and an estimated cutting force is calculated. The cutting force is the force applied to the tool T during machining of the workpiece W. Specifically, the simulation unit 132 calculates the positional relationship between the tool T and the work W during machining based on the NC code described in the pre-optimization NC program, and calculates the time-series cutting force. Factors that determine the time-series cutting force include the feed rate, the type of material to be cut, the tool diameter, the number of tool teeth, the number of tool rotations, the feed amount per tooth, and the contact area. The simulation unit 132 also records the timing of indexing the rotation axis as the indexing time.

処理部134は、適正化前NCプログラムに含まれるクランプコードを適正化し、適正化後NCプログラムを生成する。 The processing unit 134 optimizes the clamp code included in the pre-optimization NC program to generate the post-optimization NC program.

データ格納部114は、CLデータ、適正化前NCプログラムおよび適正化後NCプログラムを格納する。データ格納部114は、データ処理部112が演算処理を行う場合のワーキングエリアとして機能するメモリを含む。また、データ格納部114は、プログラム格納部140、切削データ格納部142および割り出し時間格納部144を含む。プログラム格納部140は、NCプログラムを生成するための情報処理プログラムを格納する。切削データ格納部142は、時系列の切削力を格納する。割り出し時間格納部144は、割り出し時間を格納する。 The data storage unit 114 stores the CL data, the pre-optimization NC program, and the post-optimization NC program. Data storage unit 114 includes a memory functioning as a working area when data processing unit 112 performs arithmetic processing. The data storage unit 114 also includes a program storage unit 140 , a cutting data storage unit 142 and an index time storage unit 144 . The program storage unit 140 stores an information processing program for generating an NC program. The cutting data storage unit 142 stores time-series cutting forces. The indexed time storage unit 144 stores the indexed time.

図4は、適正化前NCプログラムPと切削力のグラフとを表す図である。
図4の左側に、適正化前NCプログラムPの例を示す。適正化前NCプログラムPは、ポストプロセッサ機能によってCLデータから変換される。ここでは、適正化前NCプログラムPのうち、主に回転軸の割り出しとクランプに関連するコードを表している。
FIG. 4 is a diagram showing the pre-optimization NC program P and a graph of the cutting force.
An example of the pre-optimization NC program P is shown on the left side of FIG. The pre-optimization NC program P is converted from the CL data by the post-processor function. Here, of the pre-optimization NC program P, codes mainly related to the indexing and clamping of the rotating shaft are shown.

「M79」は、B軸のアンクランプを指示するB軸アンクランプコードUbである。アンクランプコードは、アンクランプ指令に相当するNCコードである。このコードが数値制御装置52で実行されると、クランプ機構3は、B軸に対するアンクランプ動作を行う。「M11」は、C軸のアンクランプを指示するC軸アンクランプコードUcである。同様に、このコードによってC軸に対するアンクランプ動作が行われる。 "M79" is a B-axis unclamp code Ub that instructs unclamping of the B-axis. The unclamp code is an NC code corresponding to an unclamp command. When this code is executed by the numerical controller 52, the clamping mechanism 3 performs an unclamping operation for the B axis. "M11" is a C-axis unclamp code Uc that instructs unclamping of the C-axis. Similarly, this code causes an unclamping motion for the C-axis.

「G00 B-25.0 C-10.0」は、1回目割り出しコードI1である。1回目割り出しコードI1は、B軸とC軸の角度を指定する。このコードが数値制御装置52で実行されると、加工装置2は、B軸とC軸の角度を変える。 "G00 B-25.0 C-10.0" is the first indexing code I1. The first indexing code I1 designates the angle between the B-axis and the C-axis. When this code is executed by the numerical control device 52, the processing device 2 changes the angles of the B-axis and the C-axis.

「M78」は、B軸のクランプを指示するB軸クランプコードCbである。このコードが数値制御装置52で実行されると、クランプ機構3は、B軸に対するクランプ動作を行う。「M10」は、C軸のクランプを指示するC軸クランプコードCcである。同様に、このコードによってC軸に対するクランプ動作が行われる。 "M78" is a B-axis clamp code Cb that instructs clamping of the B-axis. When this code is executed by the numerical controller 52, the clamping mechanism 3 performs a clamping operation for the B axis. "M10" is a C-axis clamp code Cc that instructs clamping of the C-axis. Similarly, this code provides a clamping action for the C-axis.

このようにして、角度を変えたB軸とC軸が固定された状態で、工程Aの処理に移る。工程Aでは、所定の切削が行われる。工程Aを終えると、次の割り出しに移る。 With the B-axis and the C-axis fixed at different angles in this manner, the processing of step A is performed. In step A, predetermined cutting is performed. After the process A is completed, the next indexing is performed.

B軸アンクランプコードUbとC軸アンクランプコードUcの後に、2回目割り出しコードI2「G00 B-20.0 C-15.0」が記述されている。2回目割り出しコードI2は、B軸とC軸の角度を指定する。同様に、B軸とC軸の角度を変えられ、それぞれクランプされた後に、工程Bの処理に移る。工程Bを終えると、さらに次の割り出しに移る。 A second indexing code I2 "G00 B-20.0 C-15.0" is described after the B-axis unclamping code Ub and the C-axis unclamping code Uc. The second indexing code I2 specifies the angle between the B-axis and the C-axis. Similarly, after the angles of the B-axis and C-axis are changed and clamped respectively, the processing of step B is performed. After step B is completed, the next indexing is performed.

「G00 B-15.0」は、3回目割り出しコードI3である。3回目割り出しコードI3は、B軸の角度を指定する。この場合は、B軸の角度のみが変えられ、C軸の角度は変わらない。このとき、B軸に対してのみアンクランプ動作とクランプ動作が行われる。 "G00 B-15.0" is the third indexing code I3. The third indexing code I3 specifies the angle of the B axis. In this case, only the angle of the B-axis is changed, and the angle of the C-axis remains unchanged. At this time, the unclamping operation and the clamping operation are performed only for the B axis.

一般的なポストプロセッサでは、このようにB軸およびC軸におけるすべての割り出しコードに対してクランプコードが付加されるため、割り出しの度にクランプ動作による待機時間が生じる。そこで、実施形態の情報処理装置100は、割り出された回転軸に対してクランプコードを付加するか否かを、シミュレーションで得られた切削力に応じて自動的に判断する。 In a general post-processor, clamp codes are added to all index codes on the B-axis and C-axis in this way, so a waiting time due to clamp operation occurs every time indexing is performed. Therefore, the information processing apparatus 100 of the embodiment automatically determines whether or not to add a clamp code to the indexed rotation axis according to the cutting force obtained by the simulation.

図4の右側に、切削力のグラフの例を示す。
このグラフは、適正化前NCプログラムPに関するシミュレーションによって得られた時系列の切削力を表す。縦軸は、加工中に生じる切削力[N]を表し、横軸は、加工中の経過時間[秒]を表している。図示したT1、T2およびT3は、1回目、2回目および3回目の割り出しの時間を表している。
An example of a cutting force graph is shown on the right side of FIG.
This graph represents the time-series cutting force obtained by the simulation for the NC program P before optimization. The vertical axis represents cutting force [N] generated during machining, and the horizontal axis represents elapsed time [seconds] during machining. The illustrated T1, T2 and T3 represent the times of the first, second and third indexing.

時間:T1において1回目割り出しが行われ、その後工程Aが開始される。時間:T1の後約1秒間、クランプ動作の時間を要する。工程Aに移ると、切削力は上昇し、650~780[N]の範囲で安定的に推移する。工程Aでは、比較的強い切削力が生じている。ただし、B軸およびC軸は、固定されているので、主軸10とテーブル14は、振動しない。 Time: 1st indexing at T1, then step A starts. Time: Approximately 1 second after T1, allowing time for the clamping action. After moving to process A, the cutting force increases and remains stable within the range of 650 to 780 [N]. In process A, a relatively strong cutting force is generated. However, since the B-axis and C-axis are fixed, the spindle 10 and table 14 do not vibrate.

工程Aを終了すると、時間:T2において2回目割り出しが行われる。2回目割り出しの後もクランプ動作の時間を要する。その後工程Bに移る。工程Bで、切削力はおよそ200[N]で安定的に推移する。工程Bで生じる切削力は、比較的弱い。ただし、この間も主軸10とテーブル14は、固定されている。 After completing step A, the second indexing is performed at time T2. After the second indexing, it takes time for the clamping operation. After that, go to step B. In process B, the cutting force remains stable at approximately 200 [N]. The cutting forces generated in step B are relatively weak. However, the spindle 10 and the table 14 are fixed during this period as well.

工程Bを終了すると、時間:T3において3回目割り出しが行われる。このように、割り出しと、工程とが繰り返される。 After finishing step B, the third indexing is performed at time T3. Thus, the indexing and the process are repeated.

仮に、B軸およびC軸をクランプせずに、工程Aを行うと、主軸10とテーブル14が振動し、正確に加工を行うことができない。一方、工程Bについては、B軸およびC軸をクランプしなくとも、主軸10とテーブル14は振動せず、正確に加工を行うことができる。主軸10を回転させるサーボモータは、保持力を有しており、200[N]の切削力が生じる場合でも、主軸10の姿勢を保てる。また、テーブル14についても同様である。このように、弱い切削力しか生じない工程では、クランプを行わずに、アンクランプ状態のままで加工を行っても問題はない。 If process A were to be performed without clamping the B and C axes, the spindle 10 and table 14 would vibrate, making it impossible to perform machining accurately. On the other hand, in the process B, the spindle 10 and the table 14 do not vibrate even if the B and C axes are not clamped, and accurate machining can be performed. The servomotor that rotates the spindle 10 has a holding force, and can maintain the attitude of the spindle 10 even when a cutting force of 200 [N] is generated. The table 14 is also the same. As described above, in a process in which only a weak cutting force is generated, there is no problem even if machining is performed in an unclamped state without clamping.

実施形態では、次の割り出しまでの間で切削力が常に所定値以下であれば、クランプを省いて加工を行うようにする。次の割り出しは、「第1割り出しコード以降にある第2割り出しコード」の例である。次の割り出しまでの間は、「コード間」の例である。クランプを省くことによって、クランプ動作中の待機を無くし、加工全体の時間を短縮させる。この例では、所定値を300[N]に設定している。一方、次の割り出しまでの間に一度でも切削力が所定値を超える場合は、クランプする。一時的にでも切削力が所定値を超えれば、その瞬間に主軸10またはテーブル14が振動し、切削に支障が生じる恐れがあるからである。このように、すべての割り出しについてクランプの要否を判断し、加工精度を確保するために必要な場合に限ってクランプを行うようにNCプログラムを変更する処理を「クランプコード適正化処理」という。 In the embodiment, if the cutting force is always equal to or less than a predetermined value until the next indexing, the clamping is omitted and the machining is performed. The following indexing is an example of "second indexing code after first indexing code". The interval to the next index is an example of "between codes". By omitting the clamp, the waiting time during the clamping operation is eliminated, and the entire machining time is shortened. In this example, the predetermined value is set to 300 [N]. On the other hand, if the cutting force exceeds the predetermined value even once before the next indexing, it is clamped. This is because if the cutting force exceeds the predetermined value even temporarily, the spindle 10 or the table 14 may vibrate at that moment, which may interfere with cutting. In this way, the process of determining whether or not clamping is necessary for all indexing and changing the NC program so that clamping is performed only when necessary to ensure machining accuracy is called "clamp code optimization process".

図5は、クランプコード適正化処理の概要を表す図である。
処理部134は、適正化前NCプログラムPに記述されているコードを先頭から読み込み、適正化後NCプログラムに書き写す。特に、割り出しコードを読み込んだときに、その割り出しコードの後に、クランプコードを付加するか否かを判定し、必要な場合にのみクランプコードを付加するように更新する。
FIG. 5 is a diagram showing an overview of the clamp code optimization process.
The processing unit 134 reads the code described in the pre-optimization NC program P from the beginning and copies it to the post-optimization NC program. In particular, when an index code is read, it is determined whether or not to add a clamp code after the index code, and update is performed so that the clamp code is added only when necessary.

ここでは1回目割り出しコードI1と、工程Aとの関係を例として説明する。処理部134は、1回目割り出しコードI1を読み込んだときに、1回目割り出し時間:T1から2回目割り出し時間:T2までの区間における切削力を特定する。具体的には、工程A中の切削力における最大値が特定される。切削力(最大値)が所定値を超える場合には、1回目割り出しコードI1の直後のクランプコード記述部分R1に、B軸クランプコードCbとC軸クランプコードCcを付加する。つまり、両回転軸をクランプさせてから工程Aが行われるように、適正化後NCプログラムQ1が記述される。図4のグラフの例では、工程Aの切削力が、所定値を超えているので、このように両クランプコードが付加される。 Here, the relationship between the first indexing code I1 and the process A will be described as an example. When reading the first indexing code I1, the processing unit 134 specifies the cutting force in the interval from the first indexing time: T1 to the second indexing time: T2. Specifically, the maximum value in cutting force during step A is identified. When the cutting force (maximum value) exceeds a predetermined value, the B-axis clamp code Cb and the C-axis clamp code Cc are added to the clamp code description portion R1 immediately after the first indexing code I1. That is, the post-optimization NC program Q1 is written so that the process A is performed after both rotary shafts are clamped. In the example of the graph in FIG. 4, the cutting force in process A exceeds the predetermined value, so both clamp cords are added in this way.

一方、図4の例のようにならず、工程Aの切削力(最大値)が所定値以下である場合には、クランプコード記述部分R2にいずれのクランプコードも付加しない。つまり、両回転軸をクランプさせずに工程Aが行われるように、適正化後NCプログラムQ2が記述される。 On the other hand, if the cutting force (maximum value) in process A is less than or equal to the predetermined value, no clamp code is added to the clamp code description portion R2. That is, the post-optimization NC program Q2 is written so that the process A is performed without clamping both rotating shafts.

ここでは、両回転軸を割り出す場合の処理について説明したが、片方の回転軸のみを割り出す場合にも、処理部134は同様に処理する。たとえば、3回目割り出しコードI3(図4参照)のように、B軸のみ割り出す場合に切削力(最大値)が所定値を超えれば、B軸クランプコードCbだけでなく、C軸クランプコードCcも付加する。このようにするのは、主軸10だけでなく、テーブル14も固定させる必要があるからである。一方、切削力(最大値)が所定値以下であれば、いずれのクランプコードも付加しない。主軸10とテーブル14の両方ともに、振動する恐れが無く、固定させる必要がないからである。 Although the processing in the case of indexing both rotation axes has been described here, the processing unit 134 performs the same processing in the case of indexing only one rotation axis. For example, as in the third indexing code I3 (see FIG. 4), when only the B-axis is indexed and the cutting force (maximum value) exceeds a predetermined value, not only the B-axis clamp code Cb but also the C-axis clamp code Cc Append. This is because it is necessary to fix not only the spindle 10 but also the table 14 . On the other hand, if the cutting force (maximum value) is less than or equal to the predetermined value, no clamp cord is added. This is because neither the spindle 10 nor the table 14 is likely to vibrate and does not need to be fixed.

図6は、NCプログラム生成処理を表すフローチャートである。
データ取得部124は、CLデータを入力する(S10)。入力されたCLデータは、データ格納部114に格納される。
FIG. 6 is a flowchart showing NC program generation processing.
The data acquisition unit 124 inputs CL data (S10). The input CL data is stored in the data storage unit 114 .

変換部136は、CLデータをNCプログラムへ変換する(S12)。変換された適正化後NCプログラムは、データ格納部114に格納される。 The conversion unit 136 converts the CL data into an NC program (S12). The converted optimized NC program is stored in the data storage unit 114 .

シミュレーション部132は、適正化前NCプログラムPに関する切削力のシミュレーションを実行する(S14)。このシミュレーションによって、適正化前NCプログラムPが実行された場合に、加工中に生じる時系列の切削力と割り出し時間とが求められる。時系列の切削力は、切削データ格納部142に格納され、割り出し時間は、割り出し時間格納部144に格納される。 The simulation unit 132 executes a cutting force simulation for the pre-optimization NC program P (S14). By this simulation, when the pre-optimization NC program P is executed, the time-series cutting force and the indexing time generated during machining are obtained. The time-series cutting force is stored in the cutting data storage unit 142 and the indexed time is stored in the indexed time storage unit 144 .

処理部134は、上述したクランプコード適正化処理を実行する(S16)。クランプコード適正化処理によって、適正化前NCプログラムPに基づく適正化後NCプログラムが生成される。 The processing unit 134 executes the clamp code optimization process described above (S16). A post-optimization NC program based on the pre-optimization NC program P is generated by the clamp code optimization process.

プログラム出力部126は、生成された適正化後NCプログラムを出力する(S18)。 The program output unit 126 outputs the generated optimized NC program (S18).

以上、実施形態に基づいて情報処理装置100について説明した。
本実施形態の情報処理装置100では、回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいて、回転軸をクランプするためのクランプコードが付加されたNCプログラムに対する更新処理を行う。特に、回転軸の第1割り出しコードと第1割り出しコード以降にある第2割り出しコードとのコード間においてシミュレーションの切削力が所定値以下である場合には、処理部134は、NCプログラムのコード間内の対応する部分(この例では、クランプコード記述部分)にクランプコードを付加しない。これにより、加工精度に影響しない工程では、クランプを行わないようにして、加工時間を短縮できる。
The information processing apparatus 100 has been described above based on the embodiment.
The information processing apparatus 100 of the present embodiment updates the NC program to which the clamp code for clamping the rotating shaft is added, based on the simulation of the cutting force in the machining that can be performed by the machine tool having the rotating shaft. . In particular, when the simulation cutting force is equal to or less than a predetermined value between the first indexing code of the rotating shaft and the second indexing code following the first indexing code, the processing unit 134 determines that between the codes of the NC program. No clamp code is added to the corresponding part (in this example, the part describing the clamp code). As a result, the machining time can be shortened by avoiding clamping in processes that do not affect the machining accuracy.

以上、本発明の好適な実施形態について説明したが、本発明はその特定の実施形態に限定されるものではなく、本発明の技術思想の範囲内で種々の変形が可能であることはいうまでもない。 Although the preferred embodiments of the present invention have been described above, it goes without saying that the present invention is not limited to those specific embodiments, and that various modifications are possible within the scope of the technical idea of the present invention. Nor.

[変形例]
上記実施形態では、片方の回転軸のみを割り出す場合に、他方の回転軸についてもクランプコードを付加すると説明した。ただし、他方の回転軸については、アンクランプ状態であることを確認してからクランプコードを付加するようにしてもよい。つまり、既にクランプ状態である場合には、クランプコードを付加しなくてもよい。
[Modification]
In the embodiment described above, when only one rotating shaft is indexed, a clamp code is added to the other rotating shaft as well. However, for the other rotating shaft, the clamp code may be added after confirming that it is in the unclamped state. In other words, when it is already clamped, it is not necessary to add a clamp code.

図7は、変形例に係るクランプコード適正化の概要を表す図である。
ここでは3回目割り出しコードI3と、工程Cとの関係を例として説明する。処理部134は、3回目割り出しコードI3を読み込んだときに、3回目割り出し時間:T3から4回目割り出し時間:T4までの区間における切削力を特定する。その区間における切削力(最大値)が所定値を超える場合に、処理部134は、C軸の状態について判定する。
FIG. 7 is a diagram showing an outline of clump code optimization according to the modification.
Here, the relationship between the third indexing code I3 and the process C will be described as an example. When reading the third indexing code I3, the processing unit 134 specifies the cutting force in the section from the third indexing time: T3 to the fourth indexing time: T4. If the cutting force (maximum value) in that section exceeds a predetermined value, the processing unit 134 determines the state of the C-axis.

C軸がアンクランプ状態であれば、3回目割り出しコードI3の直後のクランプコード記述部分R3に、B軸クランプコードCbとC軸クランプコードCcを付加する。つまり、両軸をクランプさせてから工程Cが行われるように、適正化後NCプログラムQ3が記述される。 If the C-axis is in the unclamped state, the B-axis clamp code Cb and the C-axis clamp code Cc are added to the clamp code description portion R3 immediately after the third index code I3. That is, the post-optimization NC program Q3 is written so that the process C is performed after both axes are clamped.

一方、C軸がクランプ状態であれば、クランプコード記述部分R4に、B軸クランプコードCbのみ付加し、C軸クランプコードCcを付加しない。つまり、B軸のみをクランプさせてから工程Cが行われるように、適正化後NCプログラムQ4が記述される。C軸は、既にクランプ状態であるので、クランプ動作は不要である。このため、C軸のクランプコードを省くことができる。C軸のクランプコードを省けば、適正化後NCプログラムQ4を短くすることができる。なお、切削力(最大値)が所定値以下である場合には、クランプコード記述部分R5にクランプコードを含まない適正化後NCプログラムQ5が生成される。 On the other hand, if the C-axis is clamped, only the B-axis clamp code Cb is added to the clamp code description portion R4, and the C-axis clamp code Cc is not added. That is, the post-optimization NC program Q4 is written so that the process C is performed after only the B axis is clamped. Since the C-axis is already in a clamped state, no clamping operation is required. Therefore, the C-axis clamp cord can be omitted. By omitting the C-axis clamp code, the post-optimization NC program Q4 can be shortened. When the cutting force (maximum value) is equal to or less than a predetermined value, an optimized NC program Q5 that does not include a clamp code in the clamp code description portion R5 is generated.

[その他の変形例]
表示制御部130は、図4に示した切削力のグラフを、表示部に表示させてもよい。また、ユーザが所定値を設定できるようにしてもよい。その場合、入力部150は所定値を受け付けて、データ格納部114に記憶させる。入力部150は、キーボードなどの数値入力操作によって、所定値を受け付けてもよいし、グラフに表示されている所定値のラインを上下方向へスライドさせるマウスまたはタッチパネルの操作によって、所定値の変更を受け付けてもよい。そして、処理部134は、データ格納部114に記憶された所定値を用いる。
[Other Modifications]
The display control unit 130 may display the cutting force graph shown in FIG. 4 on the display unit. Alternatively, the user may be allowed to set a predetermined value. In that case, the input unit 150 accepts the predetermined value and stores it in the data storage unit 114 . The input unit 150 may receive a predetermined value by inputting a numerical value using a keyboard or the like, or change the predetermined value by operating a mouse or a touch panel to slide the line of the predetermined value displayed in the graph in the vertical direction. may be accepted. Then, the processing unit 134 uses the predetermined value stored in the data storage unit 114 .

上記実施形態では、情報処理装置100において、変換部136とシミュレーション部132を備える例を示したが、情報処理装置100は、変換部136とシミュレーション部132を備えなくてもよい。情報処理装置100と接続する他のコンピュータにおいて変換部136とシミュレーション部132を備えてもよい。その場合には、情報処理装置100は、他のコンピュータから適正化前NCプログラムPと、時系列の切削力と、割り出し時間とを取得する。 In the above-described embodiment, the information processing apparatus 100 includes the conversion unit 136 and the simulation unit 132 . Another computer connected to the information processing apparatus 100 may include the conversion unit 136 and the simulation unit 132 . In that case, the information processing apparatus 100 acquires the pre-optimization NC program P, the time-series cutting force, and the indexing time from another computer.

上記実施形態では、B軸およびC軸を有する5軸の工作機械1の例を示したが、A軸およびC軸を有する5軸の工作機械1、あるいはA軸およびB軸を有する5軸の工作機械1に、上記実施形態と変形例の技術を適用してもよい。また、A軸、B軸又はC軸を有する4軸の工作機械1に、上記実施形態と変形例の技術を適用してもよい。上記実施形態と変形例においてクランプコードおよびアンクランプコードの対象となる回転軸は、基本軸(X軸,Y軸,Z軸)以外の付加軸(A軸,B軸,C軸)のうちの少なくとも1つである。 In the above embodiment, an example of the 5-axis machine tool 1 having the B-axis and the C-axis was shown, but the 5-axis machine tool 1 having the A-axis and the C-axis, or the 5-axis machine tool 1 having the A-axis and the B-axis The techniques of the above embodiment and modifications may be applied to the machine tool 1 . Also, the techniques of the above embodiments and modifications may be applied to a four-axis machine tool 1 having an A axis, a B axis, or a C axis. In the above embodiments and modifications, the rotation axes to be clamped and unclamped are the additional axes (A-axis, B-axis, C-axis) other than the basic axes (X-axis, Y-axis, Z-axis). At least one.

上記実施形態では述べなかったが、上述した情報処理プログラムは、コンピュータ読み取り可能な記録媒体に記録され、提供されてもよい。 Although not described in the above embodiment, the information processing program described above may be recorded on a computer-readable recording medium and provided.

なお、本発明は上記実施形態や変形例に限定されるものではなく、要旨を逸脱しない範囲で構成要素を変形して具体化することができる。上記実施形態や変形例に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成してもよい。また、上記実施形態や変形例に示される全構成要素からいくつかの構成要素を削除してもよい。 It should be noted that the present invention is not limited to the above-described embodiments and modifications, and can be embodied by modifying constituent elements without departing from the scope of the invention. Various inventions may be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments and modifications. Also, some constituent elements may be deleted from all the constituent elements shown in the above embodiments and modifications.

1 工作機械、2 加工装置、3 クランプ機構、10 主軸、12 主軸頭、14 テーブル、100 情報処理装置、110 入出力インターフェース部、112 データ処理部、114 データ格納部、116 ユーザインターフェース処理部、120 入力部、122 出力部、124 データ取得部、126 プログラム出力部、130 表示制御部、132 シミュレーション部、134 処理部、136 変換部、140 プログラム格納部、142 切削データ格納部、144 割り出し時間格納部、150 入力部、152 出力部、160 CAM装置、162 CLデータ生成部、164 データ出力部、T 工具、W ワーク、Ub B軸アンクランプコード、Uc C軸アンクランプコード、Cb B軸クランプコード、Cc C軸クランプコード、I1 1回目割り出しコード、I2 2回目割り出しコード、I3 3回目割り出しコード、I4 4回目割り出しコード、T1 1回目割り出し時間、T2 2回目割り出し時間、T3 3回目割り出し時間、P 適正化前NCプログラム、Q1-Q5 適正化後NCプログラム、R1-R5 クランプコード記述部分。 Reference Signs List 1 machine tool 2 processing device 3 clamping mechanism 10 spindle 12 spindle head 14 table 100 information processing device 110 input/output interface section 112 data processing section 114 data storage section 116 user interface processing section 120 Input unit 122 Output unit 124 Data acquisition unit 126 Program output unit 130 Display control unit 132 Simulation unit 134 Processing unit 136 Conversion unit 140 Program storage unit 142 Cutting data storage unit 144 Index time storage unit , 150 input unit, 152 output unit, 160 CAM device, 162 CL data generation unit, 164 data output unit, T tool, W workpiece, Ub B-axis unclamp code, Uc C-axis unclamp code, Cb B-axis clamp code, Cc C-axis clamp code, I1 1st indexing code, I2 2nd indexing code, I3 3rd indexing code, I4 4th indexing code, T1 1st indexing time, T2 2nd indexing time, T3 3rd indexing time, P Correct NC program before optimization, Q1-Q5 NC program after optimization, R1-R5 Clamp code description part.

Claims (5)

回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいてNCプログラム処理する処理部を備え、
前記処理部は、前記回転軸の第1割り出しコードと前記第1割り出しコード以降にある第2割り出しコードとのコード間において前記シミュレーションの前記切削力が所定値以下である場合、前記NCプログラムの前記コード間内の対応する部分に前記回転軸をクランプするためのクランプコードを付加しない処理を行う、情報処理装置。
A processing unit that processes an NC program based on a simulation of cutting forces in machining that can be performed by a machine tool having a rotating shaft,
If the cutting force in the simulation is equal to or less than a predetermined value between the first indexing code of the rotating shaft and the second indexing code subsequent to the first indexing code, the processing unit performs the An information processing device that performs a process of not adding a clamp code for clamping the rotating shaft to a corresponding portion between codes.
前記処理部は、前記切削力が前記所定値を超える場合、前記コード間内の前記対応する部分に前記クランプコードを付加する、請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein said processing unit adds said clamp cord to said corresponding portion between said cords when said cutting force exceeds said predetermined value. 前記処理部は、前記コード間における前記切削力の最大値を特定し、前記最大値が前記所定値を超えない場合に、前記シミュレーションの前記切削力が前記所定値以下であると判定する、請求項1に記載の情報処理装置。 wherein the processing unit identifies a maximum value of the cutting force between the codes, and determines that the cutting force in the simulation is equal to or less than the predetermined value when the maximum value does not exceed the predetermined value. Item 1. The information processing apparatus according to item 1. 前記シミュレーションを実行するシミュレーション部をさらに備える、請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, further comprising a simulation unit that executes said simulation. 回転軸を有する工作機械で実行可能な加工における切削力のシミュレーションに基づいてNCプログラム処理する機能を有し、
前記機能において、前記回転軸の第1割り出しコードと前記第1割り出しコード以降にある第2割り出しコードとのコード間において前記シミュレーションの前記切削力が所定値以下である場合、前記NCプログラムの前記コード間内の対応する部分に前記回転軸をクランプするためのクランプコードを付加しない処理を行う、情報処理プログラム。
Having a function to process an NC program based on a simulation of cutting force in machining that can be executed by a machine tool having a rotating shaft,
In the function, if the cutting force in the simulation is equal to or less than a predetermined value between the first indexing code of the rotating shaft and the second indexing code after the first indexing code, the code of the NC program An information processing program for performing a process of not adding a clamp code for clamping the rotating shaft to a corresponding portion in between.
JP2022133863A 2022-08-25 2022-08-25 Information processing device and information processing program Active JP7250202B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022133863A JP7250202B1 (en) 2022-08-25 2022-08-25 Information processing device and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022133863A JP7250202B1 (en) 2022-08-25 2022-08-25 Information processing device and information processing program

Publications (2)

Publication Number Publication Date
JP7250202B1 true JP7250202B1 (en) 2023-03-31
JP2024030761A JP2024030761A (en) 2024-03-07

Family

ID=85772939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022133863A Active JP7250202B1 (en) 2022-08-25 2022-08-25 Information processing device and information processing program

Country Status (1)

Country Link
JP (1) JP7250202B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288113A (en) 2002-03-27 2003-10-10 Toyoda Mach Works Ltd Simulation method of equipment and simulation program of equipment
JP2009064292A (en) 2007-09-07 2009-03-26 Matsuura Machinery Corp Clamping instruction method
JP2011039582A (en) 2009-08-06 2011-02-24 Okuma Corp Numerical controller with rotary axis clamping function
JP2015172867A (en) 2014-03-12 2015-10-01 株式会社ジェイテクト Nc program creation apparatus
JP2015225617A (en) 2014-05-30 2015-12-14 ブラザー工業株式会社 Numerical value control device and control method
WO2022215166A1 (en) 2021-04-06 2022-10-13 ファナック株式会社 Numerical control device and machining system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05177490A (en) * 1991-12-25 1993-07-20 Yokogawa Electric Corp Work unit
JPH11300577A (en) * 1998-04-22 1999-11-02 Murata Mach Ltd Machine tool

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288113A (en) 2002-03-27 2003-10-10 Toyoda Mach Works Ltd Simulation method of equipment and simulation program of equipment
JP2009064292A (en) 2007-09-07 2009-03-26 Matsuura Machinery Corp Clamping instruction method
JP2011039582A (en) 2009-08-06 2011-02-24 Okuma Corp Numerical controller with rotary axis clamping function
JP2015172867A (en) 2014-03-12 2015-10-01 株式会社ジェイテクト Nc program creation apparatus
JP2015225617A (en) 2014-05-30 2015-12-14 ブラザー工業株式会社 Numerical value control device and control method
WO2022215166A1 (en) 2021-04-06 2022-10-13 ファナック株式会社 Numerical control device and machining system

Also Published As

Publication number Publication date
JP2024030761A (en) 2024-03-07

Similar Documents

Publication Publication Date Title
JP5220183B2 (en) Numerical control device and control method of the numerical control device
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
JP5452788B1 (en) Numerical controller
JP4580142B2 (en) Numerical control lathe, control device used in numerical control lathe, control method of numerical control lathe, and machining program description method of control device in numerical control lathe
JP4505295B2 (en) NC machining simulation method and NC machining simulation apparatus
JP7250202B1 (en) Information processing device and information processing program
JP5059360B2 (en) Rapid feed control method for machine tools
JP2000126991A (en) Control system for nc machine tool
JP6770018B2 (en) Setting device and setting program
US7136718B2 (en) Numerical control apparatus
JP6444923B2 (en) Numerical controller
JP5049566B2 (en) Machine Tools
JP7286860B1 (en) Machining program correction method and information processing program
JP7274649B1 (en) Information processing device and information processing program
JP6980357B1 (en) Information processing equipment and information processing programs
JPH07185901A (en) Method for controlling superposed machining and its device numerical control
JP6935606B1 (en) Information processing equipment and information processing programs
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JP7114209B1 (en) Information processing device and information processing program
JPH04237307A (en) Automatic transformation device for coordinate axis
TWI804068B (en) Numerical control device and numerical control system
JPH11242511A (en) Numeric controller for simultaneously controlling two movable bodies on comomon path
JP2670148B2 (en) Numerical control unit
JP2875801B2 (en) DNC equipment
JP2000158290A (en) Nc machining program preparation method and device for machine tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221028

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20221028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230320

R150 Certificate of patent or registration of utility model

Ref document number: 7250202

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150