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

Information processing device and information processing program Download PDF

Info

Publication number
WO2022138055A1
WO2022138055A1 PCT/JP2021/044339 JP2021044339W WO2022138055A1 WO 2022138055 A1 WO2022138055 A1 WO 2022138055A1 JP 2021044339 W JP2021044339 W JP 2021044339W WO 2022138055 A1 WO2022138055 A1 WO 2022138055A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
information processing
apt
machine tool
machining
Prior art date
Application number
PCT/JP2021/044339
Other languages
French (fr)
Japanese (ja)
Inventor
陽司 津久井
浩也 坂本
路彦 伊藤
Original Assignee
Dmg森精機株式会社
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森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2022138055A1 publication Critical patent/WO2022138055A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)

Abstract

An information processing device that generates a first NC program used by a machine tool, said information processing device being provided with: an NC program interpretation unit for interpreting each of a plurality of codes included in a second NC program; an inverse conversion unit for inverse-converting the second NC program on the basis of the interpretation by the NC program interpretation unit, and generating an automatically programmed tools (APT) program written in APT; and a conversion processing unit for analyzing the APT program and reconverting said program to a first NC program in which additional code corresponding to starting code contained in the second NC program has been added.

Description

情報処理装置および情報処理プログラムInformation processing equipment and information processing programs
 本発明は、情報処理装置やプログラムに関する。 The present invention relates to an information processing device and a program.
 上記技術分野において、特許文献1には、CAM(Computer Aided Manufacturing)で生成されたCL(Cutter Location)データの位置決め経路を自動的に最適化するための技術が開示されている。 In the above technical field, Patent Document 1 discloses a technique for automatically optimizing the positioning path of CL (Cutter Location) data generated by CAM (Computer Aided Manufacturing).
特許第6438023号公報Japanese Patent No. 6438023
 しかしながら、上記文献に記載の技術は、工具の移動時間が最短になるようにCLデータだけに基づいて、最適化したNCプログラムを生成している。 However, the technique described in the above document generates an optimized NC program based only on CL data so that the tool movement time is the shortest.
 上記目的を達成するため、本発明は、
 工作機械で用いられる第1のNCプログラムを生成する情報処理装置であって、
 第2のNCプログラムに含まれる複数のコードをそれぞれ解釈するNCプログラム解釈部と、前記NCプログラム解釈部の解釈に基づいて、前記第2のNCプログラムを逆変換してAPT(automatically programmed tools)で記述されたAPTプログラムを生成する逆変換部と、前記APTプログラムを解析し、第2のNCプログラムに含まれる起点コードに対応した追加コードを付与した第1のNCプログラムに再度変換する変換処理部と、を備えた情報処理装置を提供するものである。
 また、本発明は、情報処理装置、工作機械、プログラムなどを提供するものである。
In order to achieve the above object, the present invention
An information processing device that generates a first NC program used in a machine tool.
Based on the interpretation of the NC program interpreter that interprets each of the plurality of codes included in the second NC program and the NC program interpreter, the second NC program is inversely converted by APT (automatically programmed tools). An inverse conversion unit that generates the described APT program, and a conversion processing unit that analyzes the APT program and converts it back to the first NC program to which an additional code corresponding to the starting point code included in the second NC program is added. And, to provide an information processing apparatus equipped with.
The present invention also provides an information processing device, a machine tool, a program, and the like.
 本発明によれば、NCプログラムに基づいて、より良いNCプログラムを提供できる。 According to the present invention, a better NC program can be provided based on the NC program.
第1実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 1st Embodiment. 第2実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の流れを説明する図である。It is a figure explaining the process flow of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の概要を示す図である。It is a figure which shows the outline of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の一例を示す図である。It is a figure which shows an example of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る情報処理装置の処理の他の例を示す図である。It is a figure which shows the other example of the processing of the information processing apparatus which concerns on 2nd Embodiment. 第3実施形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の処理の具体例を示す図である。It is a figure which shows the specific example of the processing of the information processing apparatus which concerns on 3rd Embodiment. 第3実施形態に係る情報処理装置の処理の具体例を示す図である。It is a figure which shows the specific example of the processing of the information processing apparatus which concerns on 3rd Embodiment.
 以下に、図面を参照して、本発明の実施の形態について例示的に詳しく説明する。ただし、以下の実施の形態に記載されている構成要素はあくまで例示であり、本発明の技術範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments of the present invention will be described in detail exemplary with reference to the drawings. However, the components described in the following embodiments are merely examples, and the technical scope of the present invention is not limited to them.
 [第1実施形態]
 本発明の第1実施形態としての情報処理装置100について、図1を用いて説明する。情報処理装置100は、工作機械110における加工を制御するための数値制御装置120で用いられる加工プログラム130を生成するための装置である。
[First Embodiment]
The information processing apparatus 100 as the first embodiment of the present invention will be described with reference to FIG. The information processing apparatus 100 is an apparatus for generating a machining program 130 used in the numerical control device 120 for controlling machining in the machine tool 110.
 図1に示すように、情報処理装置100は、加工プログラム解釈部101と、最適化処理部102と、プログラム記憶部103とを含む。 As shown in FIG. 1, the information processing apparatus 100 includes a machining program interpretation unit 101, an optimization processing unit 102, and a program storage unit 103.
 加工プログラム解釈部101は、コンピュータ支援製造システムとしてのCAM装置140において生成された加工プログラム150を解釈する。加工プログラム150としては、例えばNC(Numerical Control)プログラムなどが挙げられる。加工プログラム解釈部101は、加工プログラム150の属性に応じたロジックで加工プログラム150に含まれる複数のコードをそれぞれ解釈する。加工プログラム150を解釈した結果は、如何なる形式で表されてもよい。例えば、APT(automatically programmed tools)で記述された工具経路データとしてのCLデータ、もしくは情報処理装置100の内部データといった形式でもよい。APTとは、工作機械の数値制御用に開発されたプログラミング言語であり、製作する機械部品の形状に基づいて工具経路や加工手順を自動的に決定することができる。APTの工具経路決定機能をより精密に改良したEXAPT(extended subset of APT)を用いてもよい。また、加工プログラム解釈部101は、加工プログラム150に含まれている非標準化コードを標準化コードに置き換えた加工プログラムを解釈結果として出力してもよい。 The machining program interpretation unit 101 interprets the machining program 150 generated in the CAM device 140 as a computer-aided manufacturing system. Examples of the machining program 150 include an NC (Numerical Control) program. The machining program interpreting unit 101 interprets a plurality of codes included in the machining program 150 with logic corresponding to the attributes of the machining program 150. The result of interpreting the machining program 150 may be expressed in any format. For example, it may be in the form of CL data as tool path data described by APT (automatically programmed tools) or internal data of the information processing apparatus 100. APT is a programming language developed for numerical control of machine tools, and can automatically determine tool paths and machining procedures based on the shape of machine parts to be manufactured. EXAPT (extended subset of APT), which is a more precise improvement of the tool route determination function of APT, may be used. Further, the machining program interpretation unit 101 may output a machining program in which the non-standardized code included in the machining program 150 is replaced with a standardized code as an interpretation result.
 最適化処理部102は、加工プログラム解釈部101における解釈の結果に最適化処理を実行する。具体的には、工作機械110や数値制御装置120の仕様に応じて加工プログラム150に含まれるコードを更新して最適化加工プログラム130を生成する。最適化処理を施された最適化加工プログラム130は、数値制御装置120に送信される。 The optimization processing unit 102 executes the optimization processing on the result of the interpretation in the machining program interpretation unit 101. Specifically, the code included in the machining program 150 is updated according to the specifications of the machine tool 110 and the numerical control device 120 to generate the optimized machining program 130. The optimization processing program 130 subjected to the optimization processing is transmitted to the numerical control device 120.
 プログラム記憶部103にはデータ処理プログラム131が保存されている。不図示のプロセッサが、データ処理プログラム131を実行することにより、加工プログラム解釈部101や最適化処理部102の機能を実現する。 The data processing program 131 is stored in the program storage unit 103. A processor (not shown) realizes the functions of the machining program interpretation unit 101 and the optimization processing unit 102 by executing the data processing program 131.
 以上の構成によれば、様々なCAM装置から出力される加工プログラムを解釈して最適化機能を付与した新たな加工プログラムを工作機械の数値制御装置に出力できる。結果としてCAM装置の種別に依存することなく、工作機械や数値制御装置に固有の最適化機能を自動的に加工プログラムに付与することができ、工作機械や数値制御装置の機能を最大限に生かすことができる。例えば、加工時間の短縮、面品位の向上、電力やクーラントの節約、切子の効率的な除去、工程管理の可視化による効率化などを実現することができる。なお、情報処理装置100が有する機能を工作機械内部に実装させてもよい。 According to the above configuration, it is possible to interpret the machining programs output from various CAM devices and output a new machining program with an optimization function to the numerical control device of the machine tool. As a result, the optimization function peculiar to the machine tool and the numerical control device can be automatically added to the machining program without depending on the type of the CAM device, and the function of the machine tool and the numerical control device can be fully utilized. be able to. For example, it is possible to shorten the processing time, improve the surface quality, save electric power and coolant, efficiently remove facets, and improve efficiency by visualizing process control. The function of the information processing apparatus 100 may be mounted inside the machine tool.
 [第2実施形態]
 本発明の第2実施形態としての情報処理装置200について、図2を用いて説明する。情報処理装置200は、数値制御装置220で用いられる加工プログラムとしてのNCプログラム230(第1のNCプログラム)を生成するための装置である。数値制御装置220は、工作機械210における加工を数値制御する装置であり、NCプログラム230を解釈するNCインタプリタ221と工作機械210に制御指令を出力する指令出力部222とを含む。
[Second Embodiment]
The information processing apparatus 200 as the second embodiment of the present invention will be described with reference to FIG. The information processing device 200 is a device for generating an NC program 230 (first NC program) as a machining program used in the numerical control device 220. The numerical control device 220 is a device that numerically controls machining in the machine tool 210, and includes an NC interpreter 221 that interprets the NC program 230 and a command output unit 222 that outputs a control command to the machine tool 210.
 工作機械210としては、例えば、ワークに付加加工(Additive Manufacturing)を加える機械、ワークに除去加工(Subtractive Manufacturing)を加える機械、レーザなどの光を照射して加工する機械などが挙げられる。具体的には、旋盤、ボール盤、中ぐり盤、フライス盤、歯切り盤、研削盤、多軸加工機、レーザ加工機、積層加工機等のように、NCプログラムに基づいて数値制御され、金属、木材、石材、樹脂等のワークに対して、旋削、切断、穿孔、研削、研磨、圧延、鍛造、折り曲げ、成形、微細加工、積層加工等の各種の加工を施す。さらに、工作機械には計測機能を有するものがあり、タッチプローブやカメラ等の計測器を用いてワークの寸法等を計測可能に構成されている。 Examples of the machine tool 210 include a machine that adds additive manufacturing to the work, a machine that applies subtractive manufacturing to the work, a machine that irradiates light such as a laser, and the like. Specifically, like lathes, drilling machines, milling machines, milling machines, gear cutting machines, grinding machines, multi-axis machines, laser machines, laminating machines, etc., numerically controlled based on NC programs, metals, Various processes such as turning, cutting, drilling, grinding, polishing, rolling, forging, bending, molding, fine processing, and laminating are performed on workpieces such as wood, stone, and resin. Further, some machine tools have a measuring function, and are configured to be able to measure the dimensions of the work using a measuring instrument such as a touch probe or a camera.
 工作機械210は、例えば3軸加工機であり、機械要素として、主軸モータ211および送り軸モータ212を含む。主軸モータ211は、工具を回転させ、送り軸モータ212は、ボールねじ等を介してテーブルをX,Y軸方向に直線移動させたり、工具またはテーブルをZ軸方向に直線移動させたりする。工作機械210はもちろん5軸加工機でもよい。 The machine tool 210 is, for example, a 3-axis machine tool, and includes a spindle motor 211 and a feed shaft motor 212 as machine elements. The spindle motor 211 rotates the tool, and the feed shaft motor 212 linearly moves the table in the X and Y axis directions and linearly moves the tool or the table in the Z axis direction via a ball screw or the like. The machine tool 210 may of course be a 5-axis machine tool.
 主軸モータサーボコントローラ213は、指令出力部222からの制御指令に基づいて主軸モータ211を制御する。送り軸モータサーボコントローラ214は指令出力部222からの制御指令に基づいて送り軸モータ212を制御する。 The spindle motor servo controller 213 controls the spindle motor 211 based on a control command from the command output unit 222. The feed shaft motor servo controller 214 controls the feed shaft motor 212 based on a control command from the command output unit 222.
 情報処理装置200は、NCプログラム取得部201と、NCインタプリタ202(NCプログラム解釈部)と、APT変換部203(逆変換部)と、最適化処理部204と、プログラム送信部205と、各種情報記憶部206を含む。 The information processing apparatus 200 includes an NC program acquisition unit 201, an NC interpreter 202 (NC program interpretation unit), an APT conversion unit 203 (reverse conversion unit), an optimization processing unit 204, a program transmission unit 205, and various information. Includes storage unit 206.
 NCプログラム取得部201は、CAM装置240において生成されたNCプログラム250を取得する。CAM装置240は、メインプロセッサ部241とポストプロセッサ部242とを有する。メインプロセッサ部241は、CAD(Computer-Aided Design)装置260から取得した形状データに基づいてCLデータ243を生成する。ポストプロセッサ部242は、CLデータ243からNCプログラム250(第2のNCプログラム)を生成する。 The NC program acquisition unit 201 acquires the NC program 250 generated by the CAM device 240. The CAM device 240 has a main processor unit 241 and a post processor unit 242. The main processor unit 241 generates CL data 243 based on the shape data acquired from the CAD (Computer-Aided Design) device 260. The post processor unit 242 generates an NC program 250 (second NC program) from the CL data 243.
 情報処理装置200において、NCインタプリタ202は、NCプログラム250に含まれる複数のコードをそれぞれ解釈する。NCインタプリタ202は、数値制御装置220が備えているNCインタプリタ221と同等の機能を実現する。NCインタプリタ202は、具体的には、NCプログラム250に含まれているISO4343:2000の標準コード以外のコードを、標準コードに置き換える。APT変換部203は、解釈したNCプログラムからAPTで記述されたCLデータへの逆変換を行う。通常は、ポストプロセッサ部242でAPT→NCの変換が一般的に行われるが、APT変換部203では、NC→APTという逆変換を行う。ISO4343:2000で規定されている標準コードは、軸位置や送り速度等のNC制御や、ワークの把持、クーラントのオン/オフ等のPLC(Programmable Logic Controller)制御などのためのコードである。これらはどんな数値制御装置でも解釈可能な基本的な制御指令である。 In the information processing apparatus 200, the NC interpreter 202 interprets a plurality of codes included in the NC program 250, respectively. The NC interpreter 202 realizes the same function as the NC interpreter 221 included in the numerical control device 220. Specifically, the NC interpreter 202 replaces the code other than the standard code of ISO4343: 2000 included in the NC program 250 with the standard code. The APT conversion unit 203 performs inverse conversion from the interpreted NC program to the CL data described in APT. Normally, the post processor unit 242 performs the conversion from APT to NC in general, but the APT conversion unit 203 performs the inverse conversion from NC to APT. The standard code defined in ISO4343: 2000 is a code for NC control such as shaft position and feed rate, PLC (Programmable Logic Controller) control such as gripping of a work and on / off of coolant. These are the basic control commands that can be interpreted by any numerical controller.
 数値制御装置220で実行されるNCプログラム処理前のNCプログラムの(i)数値制御装置220で実行できるように規定されていないコードまたは(ii)工作機械の第2数値制御装置で実行する指令と工作機械の第1数値制御装置で実行する指令とが異なるコードのうちのあらかじめ設定された設定コードを検出し、検出された設定コードと対応するATPコードをもとに、第1数値制御装置で実行することができる変換コードに設定コードから変換する処理後のNCプログラムに処理する。 NC program executed by the numerical control device 220 An NC program before processing (i) a code not specified to be executed by the numerical control device 220 or (ii) a command to be executed by the second numerical control device of the machine tool. The preset setting code is detected among the codes different from the commands executed by the first numerical control device of the machine tool, and the first numerical control device is based on the detected setting code and the corresponding ATP code. It is processed into the NC program after the processing to convert from the setting code to the conversion code that can be executed.
 最適化処理部204は、APTで記述されたCLデータに対して最適化したNCプログラム230を生成する。最適化処理部204は、工作機械210または数値制御装置220に不要な不要コードの削除、および、工作機械210または数値制御装置220に固有の機能を実現する機能コードの追加、の少なくともいずれか一方を加工プログラム250に実行する。プログラム送信部205は、最適化されたNCプログラム230を数値制御装置220に送信する。 The optimization processing unit 204 generates an NC program 230 optimized for the CL data described in APT. The optimization processing unit 204 deletes unnecessary codes that are unnecessary for the machine tool 210 or the numerical control device 220, and adds a function code that realizes a function unique to the machine tool 210 or the numerical control device 220, at least one of them. Is executed in the machining program 250. The program transmission unit 205 transmits the optimized NC program 230 to the numerical control device 220.
 ここで最適化処理とは、加工時間の短縮、加工精度の向上、電力やクーラントの節約、切屑の効率的な除去、工程管理の可視化による効率化、計測処理等のように、機械加工にメリットをもたらす全ての処理を含む概念である。具体的には、最適化処理として、以下に示す(1)~(4)のようなものが挙げられるが、これらに限定されない。 Here, the optimization process has advantages for machining such as shortening of machining time, improvement of machining accuracy, saving of electric power and coolant, efficient removal of chips, efficiency improvement by visualization of process control, measurement processing, etc. It is a concept that includes all the processes that bring about. Specifically, examples of the optimization process include, but are not limited to, the following (1) to (4).
(1)サーボ特性の最適化
 カスタムマクロによって下記(a)~(d)のような加工モードが実装されている場合、所望の加工モードを指定することにより、加工精度や加工時間を最適化することができる。
 (a)時間優先モード:加工時間の短縮を最優先するモード。荒加工など要求精度が低い場合に使用する。
 (b)中間モード:時間優先モードと精度優先モードとの中間にあたるモード。高精度と短時間が要求される中仕上げ加工等に使用する。
 (c)精度優先モード:加工精度の向上を優先するモード。加工精度や仕上げ面を要求される場合に使用する。
 (d)精度最優先モード:精度優先モードよりも加工精度をさらに優先するモード。
(1) Optimization of servo characteristics When the following machining modes (a) to (d) are implemented by the custom macro, the machining accuracy and machining time are optimized by specifying the desired machining mode. be able to.
(A) Time priority mode: A mode that gives the highest priority to shortening the machining time. Used when the required accuracy is low such as roughing.
(B) Intermediate mode: A mode between the time priority mode and the accuracy priority mode. Used for semi-finishing, etc., where high accuracy and short time are required.
(C) Accuracy priority mode: A mode that prioritizes improvement of machining accuracy. Used when machining accuracy and finished surface are required.
(D) Accuracy highest priority mode: A mode in which machining accuracy is further prioritized over accuracy priority mode.
(2)サーボ特性の自動最適化
 PLCによってサーボを自動調整する機能が実装されている場合、ワークや治具の質量や慣性モーメントを計測し、そのフィードバック値に基づいて最適な加減速を設定する。具体的には、ワークや治具の質量が重く、慣性モーメントが大きい場合、加減速を抑制し、安定した位置決めを実現する。一方、ワークや治具の質量が軽く、慣性モーメントが小さい場合、加減速を最大限に引き上げ、加工時間の短縮を実現する。
(2) Automatic optimization of servo characteristics When the function to automatically adjust the servo by PLC is implemented, the mass and moment of inertia of the work or jig are measured, and the optimum acceleration / deceleration is set based on the feedback value. .. Specifically, when the mass of the work or jig is heavy and the moment of inertia is large, acceleration / deceleration is suppressed and stable positioning is realized. On the other hand, when the mass of the work or jig is light and the moment of inertia is small, acceleration / deceleration is maximized and the machining time is shortened.
(3)チップコンベアのオン/オフ制御の最適化
 PLCによって切屑を排出するチップコンベヤのオン/オフ機能が実装されている場合、加工シミュレーションによって時間経過に伴う切屑の体積を算出し、その切屑の量に応じてチップコンベアのオン/オフ制御を最適化する。具体的には、非切削時や切屑の量が少ない時間帯にはチップコンベヤをオフにすることで、チップコンベヤの駆動電力が節約されるとともに、切削油の使用効率が向上する。
(3) Optimization of on / off control of chip conveyor When the on / off function of the chip conveyor that discharges chips is implemented by PLC, the volume of chips over time is calculated by machining simulation, and the chips are calculated. Optimize the on / off control of the chip conveyor according to the amount. Specifically, by turning off the chip conveyor during non-cutting or when the amount of chips is small, the driving power of the chip conveyor is saved and the efficiency of cutting oil usage is improved.
(4)工程管理の最適化
 CAM装置、情報処理装置、工作機械のHMIのNCビューワー間で同一加工に対して、共通の加工工程IDでタグ付けする機能が実装されている場合、以下のような機能を実現でき、工程管理が最適化される。
 ・後工程で変更点を表示または更新する機能
 ・工作機械を運転する際は変更点をハイライト表示する機能
 ・直前の位置決め指令で停止する機能
 ・送り速度や主軸回転数等の数値のみ変更されている場合は、前工程に変更点をアップデートする機能
(4) Optimization of process management When the function of tagging the same machining with the common machining process ID is implemented among the NC viewers of the CAM device, information processing device, and HMI of the machine tool, it is as follows. Functions can be realized and process control is optimized.
・ Function to display or update changes in the post-process ・ Function to highlight changes when operating the machine tool ・ Function to stop by the positioning command immediately before ・ Only numerical values such as feed rate and spindle speed are changed If so, the ability to update changes to the previous process
 各種情報記憶部206は、NCプログラム取得部201、NCインタプリタ202、APT変換部203、最適化処理部204、およびプログラム送信部205を実現するプログラムモジュールを記憶している。また、各種情報記憶部206は、上述の最適化処理情報の他、コマンドテーブルおよび工作機械情報を記憶している。ここでコマンドテーブルは、標準化フォーマットのコマンドおよび引数と、NCプログラムのコマンド(NCコード)との対応関係を示すテーブルである。 The various information storage units 206 store program modules that realize the NC program acquisition unit 201, the NC interpreter 202, the APT conversion unit 203, the optimization processing unit 204, and the program transmission unit 205. In addition to the above-mentioned optimization processing information, the various information storage units 206 store command tables and machine tool information. Here, the command table is a table showing the correspondence between the commands and arguments of the standardized format and the commands (NC code) of the NC program.
 また、工作機械情報は、工作機械メーカや機種が異なる様々な工作機械に関する情報であり、機械原点、機種ストローク長、機械固有指令のGコード、Mコード(Mxx,Mxy)等であり、その他、以下の情報を含む場合がある。
 (1)工作機械の型番
 (2)オプション情報(タレット数、主軸径、サーボ、チップコンベヤの種類や有無、計測装置の種類や有無)
 (3)使用可能工具種(例:ドリル、エンドミル)
 (4)マガジンのポット数やポット番号
The machine tool information is information about various machine tools of different machine tool manufacturers and models, such as machine origin, model stroke length, machine-specific command G code, M code (Mxx, Mxy), etc. It may contain the following information:
(1) Model number of machine tool (2) Option information (number of turrets, spindle diameter, servo, type and presence of chip conveyor, type and presence of measuring device)
(3) Usable tool types (eg drill, end mill)
(4) Magazine pot number and pot number
 図3は、CAM装置240から工作機械210への処理の流れを概念的に説明する図である。
 CAM装置240において、ステップS301でモデル入力を行い、ステップS302で加工形状を定義した後、ステップS303で工程設計(切削条件設定)を行う。さらに、ステップS304では、工程設計に基づいてCLデータを生成する。ステップS305においてCLシミュレーションを行い、工具の経路において干渉が発生しないか確認すると、S306において、CLデータからNCプログラムを生成する。
FIG. 3 is a diagram conceptually explaining the flow of processing from the CAM device 240 to the machine tool 210.
In the CAM device 240, the model is input in step S301, the machining shape is defined in step S302, and then the process design (cutting condition setting) is performed in step S303. Further, in step S304, CL data is generated based on the process design. When the CL simulation is performed in step S305 and it is confirmed whether or not interference occurs in the path of the tool, an NC program is generated from the CL data in S306.
 次に、情報処理装置200は、ステップS307において、受け取ったNCプログラムを解釈し、ステップS308において、NCプログラムを最適化する。具体的には、切削に関して切削力の標準化や工具送り、AM(Additive Manufacturing)に関して、積層条件、ステージ送り、レーザ出力、パウダー供給量など、あるいは計測機能などを最適化して、CAM装置240からのNCプログラムにコードを追加する。その後、工作機械210では、ステップS309において実加工を行う。 Next, the information processing apparatus 200 interprets the received NC program in step S307, and optimizes the NC program in step S308. Specifically, regarding cutting, standardization of cutting force and tool feed, and regarding AM (Additive Manufacturing), stacking conditions, stage feed, laser output, powder supply amount, etc., or measurement functions are optimized, and the CAM device 240 is used. Add code to the NC program. After that, in the machine tool 210, actual machining is performed in step S309.
 図4は、異なるベンダのCAM装置240a~240cがそれぞれのポストプロセッサ部242a~242cで生成した異なる種類のNCプログラム250a~250cを、情報処理装置200が解釈して、それぞれ最適化することを説明する概念図である。図4に示すように、CAM装置の種別に依存することなく、工作機械や数値制御装置に固有の最適化機能をNCプログラムに自動的に付与することができる。これにより、工作機械や数値制御装置の機能を最大限に生かすことができる。例えば、加工時間の短縮、面品位の向上、電力やクーラントの節約、切子の効率的な除去、工程管理の可視化による効率化などを実現することができる。 FIG. 4 illustrates that the information processing apparatus 200 interprets and optimizes different types of NC programs 250a to 250c generated by the respective post processor units 242a to 242c by the CAM apparatus 240a to 240c of different vendors. It is a conceptual diagram to be processed. As shown in FIG. 4, the optimization function peculiar to the machine tool or the numerical control device can be automatically added to the NC program without depending on the type of the CAM device. As a result, the functions of the machine tool and the numerical control device can be fully utilized. For example, it is possible to shorten the processing time, improve the surface quality, save electric power and coolant, efficiently remove facets, and improve efficiency by visualizing process control.
 図5、図6は、NCプログラムの最適化の具体例を示す図である。図5において、CAM装置240aのポストプロセッサ部242aから出力されたNCプログラムの一例250aに対して、NCインタプリタ202によって、解釈結果501が付与される。この例はあくまでも概念的に示したもので、このように日本語でデータが付加されることを意味しない。 5 and 6 are diagrams showing specific examples of optimization of NC programs. In FIG. 5, an interpretation result 501 is given by the NC interpreter 202 to an example 250a of an NC program output from the post processor unit 242a of the CAM device 240a. This example is only conceptual and does not mean that data is added in Japanese in this way.
 最適化処理部204は、解釈結果501を分析して、切削開始のコードG01の直前にG332という切削モード設定のコード502を挿入することによって、切削開始前に加工を最適化する。G332は、上述した(a)~(d)の加工モード(切削モード)を選択するためのコードである。具体的には、NCプログラムにおいて「G332R1」「G332R2」「G332R3」「G332R4」のいずれかが、切削開始のコードG01の直前に挿入される。引数であるR1~R4はそれぞれ以下の場合に設定される。
 R1:荒加工の時に設定(時間優先モード)
 R2:中仕上げ加工の時に設定(中間モード)
 R3:仕上げ加工の時に設定(精度優先モード)
 R4:設定したい場合のみユーザが手動で設定(精度最優先モード)
The optimization processing unit 204 analyzes the interpretation result 501 and inserts a cutting mode setting code 502 called G332 immediately before the cutting start code G01 to optimize the machining before the cutting start. G332 is a code for selecting the machining mode (cutting mode) of the above-mentioned (a) to (d). Specifically, in the NC program, any one of "G332R1", "G332R2", "G332R3", and "G332R4" is inserted immediately before the cutting start code G01. The arguments R1 to R4 are set in the following cases, respectively.
R1: Set at the time of rough machining (time priority mode)
R2: Set at the time of semi-finishing (intermediate mode)
R3: Set at the time of finishing (precision priority mode)
R4: User manually sets only when he / she wants to set (precision top priority mode)
 例えば、APT形式のCLデータにおいてAPTコマンドとしてOPTYPE/ROUGH(荒加工)が設定された場合には、G332R1というGコードおよび引数が挿入される。また、切削部分においては、切削力が高い部分が送り速度が遅くなり、切削力が低い部分では送り速度が早くなるように、G01の引数が設定される。一方、APT形式のCLデータにおいてAPTコマンドとしてOPTYPE/FINISH(仕上げ加工)が設定された場合には、G332R3というGコードおよび引数が挿入される。切削部分においては、送り速度が一定となるように、G01の引数が設定される。 For example, when OPTYPE / ROUGH (rough processing) is set as an APT command in APT format CL data, a G code and an argument of G332R1 are inserted. Further, in the cutting portion, the argument of G01 is set so that the feed rate becomes slower in the portion where the cutting force is high and the feed rate becomes faster in the portion where the cutting force is low. On the other hand, when OPTYPE / FINISH (finishing) is set as an APT command in the APT format CL data, a G code and an argument of G332R3 are inserted. In the cutting portion, the argument of G01 is set so that the feed rate becomes constant.
 G332は数値制御装置220のベンダに依存するコードであり、数値制御装置220に合わせた最適化を実現させる。具体的には、NCインタプリタ202の解釈に基づいてAPT変換部203がNCプログラム250aを逆変換して生成されたAPT形式のCLデータ(つまりATPプログラム)に対して所定のスクリプトを実行して最適化した後に、再度、NCプログラムへの変換を行うと、G01の前にG332が挿入される。その他のやり方として、NCプログラム250aのまま、G01を検索して、G01の直前にG332を挿入する最適化マクロを実行してもよい。この場合、挿入すべきコード(例えばG332)とその位置(例えばG01直前)とが対応付けられたテーブルを備えていることが好ましい。起点コードの例は、G01であり、G01に対応した追加コードがG332であり、G01の前に追加される。 G332 is a code that depends on the vendor of the numerical control device 220, and realizes optimization according to the numerical control device 220. Specifically, the APT conversion unit 203 executes a predetermined script on the APT format CL data (that is, the ATP program) generated by reversely converting the NC program 250a based on the interpretation of the NC interpreter 202, and is optimized. When the conversion to the NC program is performed again after the conversion, G332 is inserted before G01. As another method, the optimization macro that searches for G01 and inserts G332 immediately before G01 may be executed while the NC program 250a remains. In this case, it is preferable to have a table in which the code to be inserted (for example, G332) and its position (for example, immediately before G01) are associated with each other. An example of the starting point code is G01, and the additional code corresponding to G01 is G332, which is added before G01.
 結果として、加工条件を付与したNCプログラム230aが数値制御装置220に出力される。なお、本実施形態において、NCプログラム250aが「第2のNCプログラム」に対応し、NCプログラム230aが「第1のNCプログラム」に対応する。最適化処理部204は、APTプログラムを解析し、NCプログラム250a(第2のNCプログラム)に含まれる起点コードに対応した追加コードを付与したNCプログラム230a(第1のNCプログラム)に再度変換する「変換処理部」として機能する。 As a result, the NC program 230a to which the machining conditions are given is output to the numerical control device 220. In this embodiment, the NC program 250a corresponds to the "second NC program", and the NC program 230a corresponds to the "first NC program". The optimization processing unit 204 analyzes the APT program and converts it again into the NC program 230a (first NC program) to which the additional code corresponding to the starting point code included in the NC program 250a (second NC program) is added. Functions as a "conversion processing unit".
 図6においては、CAM装置240bのポストプロセッサ部242bから出力されたNCプログラムの一例250bに対して、NCインタプリタ202によって、解釈結果601が付与される。 In FIG. 6, the interpretation result 601 is given by the NC interpreter 202 to the example 250b of the NC program output from the post processor unit 242b of the CAM device 240b.
 最適化処理部204は、解釈結果601を分析して、切削開始のコードG01の直前にCYCLE832という切削モード設定のコード602を挿入することによって、切削開始前に加工を最適化する。CYCLE832は、やはり数値制御装置220のベンダに依存するコードであり、数値制御装置220に合わせた最適化を実現させている。 The optimization processing unit 204 analyzes the interpretation result 601 and inserts a cutting mode setting code 602 called CYCLE832 immediately before the cutting start code G01 to optimize the machining before the cutting start. The CYCLE 832 is also a code that depends on the vendor of the numerical control device 220, and realizes optimization according to the numerical control device 220.
 具体的には、NCインタプリタ202の解釈に基づいてAPT変換部203がNCプログラム250bを逆変換して生成されたAPT形式のCLデータ(つまりATPプログラム)に対して所定のスクリプトを実行して最適化した後に、再度、NCプログラムへの変換を行うと、G01の前にCYCLE832が挿入される。その他のやり方として、NCプログラム250b中でG01を検索して、G01の直前にCYCLE832を挿入する最適化マクロを実行してもよい。この場合、挿入すべきコード(例えばCYCLE832)とその位置(例えばG01直前)とが対応付けられたテーブルを備えていることが好ましい。起点コードの例は、G01であり、G01に対応した追加コードがCYCLE832であり、G01の前に追加される。 Specifically, the APT conversion unit 203 executes a predetermined script on the APT format CL data (that is, the ATP program) generated by reversely converting the NC program 250b based on the interpretation of the NC interpreter 202, and is optimized. When the conversion to the NC program is performed again after the conversion, CYCLE832 is inserted before G01. Alternatively, an optimization macro that searches for G01 in the NC program 250b and inserts CYCLE832 immediately before G01 may be executed. In this case, it is preferable to have a table in which the code to be inserted (for example, CYCLE832) and its position (for example, immediately before G01) are associated with each other. An example of the starting point code is G01, and the additional code corresponding to G01 is CYCLE832, which is added before G01.
 結果として、加工条件を付与したNCプログラム230bが数値制御装置220に出力される。NCプログラム250bが「第2のNCプログラム」に対応し、NCプログラム230bが「第1のNCプログラム」に対応する。最適化処理部204は、APTプログラムを解析し、NCプログラム250b(第2のNCプログラム)に含まれる起点コードに対応した追加コードを付与したNCプログラム230b(第1のNCプログラム)に再度変換する「変換処理部」として機能する。 As a result, the NC program 230b to which the machining conditions are given is output to the numerical control device 220. The NC program 250b corresponds to the "second NC program", and the NC program 230b corresponds to the "first NC program". The optimization processing unit 204 analyzes the APT program and converts it again into the NC program 230b (first NC program) to which the additional code corresponding to the starting point code included in the NC program 250b (second NC program) is added. Functions as a "conversion processing unit".
 図5、図6に示すように、出力位置や出力コードが異なる様々なNCプログラムに同様に対応することができ、ISO準拠のNCコードを解釈することができる。加工条件を付与したNCプログラムを生成、出力することができる。 As shown in FIGS. 5 and 6, various NC programs having different output positions and output codes can be similarly supported, and ISO-compliant NC codes can be interpreted. It is possible to generate and output an NC program with machining conditions.
 [第3実施形態]
 次に本発明の第3実施形態に係る情報処理装置700について、図7を用いて説明する。図7は、本実施形態に係る情報処理装置700の構成を説明するための図である。本実施形態に係る情報処理装置700は、上記第2実施形態と比べると、標準化CLデータ取得部701を有する点で異なる。その他の構成および動作は、第2実施形態と同様であるため、同じ構成および動作については同じ符号を付してその詳しい説明を省略する。
[Third Embodiment]
Next, the information processing apparatus 700 according to the third embodiment of the present invention will be described with reference to FIG. 7. FIG. 7 is a diagram for explaining the configuration of the information processing apparatus 700 according to the present embodiment. The information processing apparatus 700 according to the present embodiment is different from the second embodiment in that it has a standardized CL data acquisition unit 701. Since other configurations and operations are the same as those in the second embodiment, the same configurations and operations are designated by the same reference numerals and detailed description thereof will be omitted.
 APTを公開しているCAM装置740に対しては、メインプロセッサ部741から出力されたCLデータ743に標準化情報を追加した標準化CLデータ745を生成するCLデータ標準化部744を組み込むことができる。ここで、「標準化情報」とは、CAM装置と数値制御装置などの複数の出力装置間で規定された規則に基づいた情報である。CLデータ標準化部744は、CLデータに含まれる固有制御情報を特定し、固有制御情報に対応する標準化フォーマットでラベル付けした標準化CLデータ745を生成する。 For the CAM device 740 whose APT is open to the public, a CL data standardization unit 744 that generates standardized CL data 745 with standardization information added to the CL data 743 output from the main processor unit 741 can be incorporated. Here, the "standardized information" is information based on a rule defined between a plurality of output devices such as a CAM device and a numerical control device. The CL data standardization unit 744 identifies the unique control information included in the CL data and generates standardized CL data 745 labeled in the standardized format corresponding to the unique control information.
 情報処理装置700の標準化CLデータ取得部701は、標準化CLデータ745を取得し、標準化情報に対応するNCコードとCLデータとに基づいてNCプログラム730を生成する。このようにして生成されたNCプログラム730には、ISO4343:2000に準拠する標準化コード731以外に、CLデータ標準化部744と連携した加工工程情報732やNCマクロ733を追加することができる。 The standardized CL data acquisition unit 701 of the information processing apparatus 700 acquires the standardized CL data 745 and generates the NC program 730 based on the NC code and the CL data corresponding to the standardized information. In addition to the standardization code 731 conforming to ISO4343: 2000, machining process information 732 and NC macro 733 linked with the CL data standardization unit 744 can be added to the NC program 730 generated in this way.
 CLデータに含まれる制御情報以外に、以下の固有制御情報を含む固有の制御指令についてもNCプログラム730に組み込むことができる。
(a)工作機械の数値制御装置メーカによって独自に実装されている「数値制御装置の固有制御情報」
(b)工作機械メーカによって独自に実装されている「工作機械の固有制御情報」
(c)工作機械のユーザによって独自に実装されている「工作機械のユーザの固有制御情報」
In addition to the control information included in the CL data, specific control commands including the following specific control information can also be incorporated into the NC program 730.
(A) "Specific control information of the numerical control device" originally implemented by the numerical control device manufacturer of the machine tool.
(B) "Machine tool specific control information" originally implemented by the machine tool manufacturer
(C) "Specific control information of the machine tool user" independently implemented by the machine tool user.
 ここで、(a)数値制御装置の固有制御情報としては、以下のものが挙げられる。
(1)数値制御装置の型番(例:RPFK)
(2)数値制御装置メーカのカスタムマクロ 例:タッピングサイクル(TAP)、G84XYZRPFK(メーカA)、G84XYZPF,R00,I,J,L(メーカB)
Here, (a) specific control information of the numerical control device includes the following.
(1) Model number of numerical control device (example: RPFK)
(2) Numerical control device manufacturer's custom macro Example: Tapping cycle (TAP), G84XYZRPFK (manufacturer A), G84XYZPF, R00, I, J, L (manufacturer B)
 また、(b)工作機械の固有制御情報としては、以下のものが挙げられる。
(1)工作機械の型番(例:DMGMORI(登録商標))
(2)工作機械メーカのカスタムマクロ 例:工作機械の型番に対応するドリルに関するマクロ(G432等)
Further, (b) specific control information of the machine tool includes the following.
(1) Model number of machine tool (eg DMG MORI (registered trademark))
(2) Custom macro of machine tool manufacturer Example: Macro related to drill corresponding to the model number of machine tool (G432 etc.)
 一方、(c)工作機械のユーザが設定できる固有制御情報としては、以下のものが挙げられる。
(1)穴あけサイクルパターン(例:CYCLE)
(2)工作機械ユーザのカスタムマクロ 例:穴あけサイクルパターン(CYCLE)と対応関係があるマクロ(G65P1000等)
On the other hand, (c) unique control information that can be set by the user of the machine tool includes the following.
(1) Drilling cycle pattern (example: CYCLE)
(2) Custom macros for machine tool users Example: Macros that correspond to the drilling cycle pattern (CYCLE) (G65P1000, etc.)
 そして、それぞれの固有制御情報について、その仕様を標準化するための標準化フォーマットなどのように、CAM装置と数値制御装置との間で規定された規則に基づいた標準化情報を用いて標準化CLデータが生成される。すなわち、本実施形態において、固有制御情報とは、ISO4343:2000で規定されている情報以外のカスタムマクロや加工工程情報等のような情報である。 Then, for each unique control information, standardized CL data is generated using the standardized information based on the rules defined between the CAM device and the numerical control device, such as the standardized format for standardizing the specifications. Will be done. That is, in the present embodiment, the specific control information is information such as custom macros, machining process information, etc. other than the information specified in ISO4343: 2000.
 なお、固有制御情報の一つであるNCマクロ733は、GコードやMコードを拡張するためのプログラムである。NCマクロ733により、工作機械の数値制御装置メーカ、工作機械メーカ、工作機械のユーザのそれぞれが独自に固有の機能(Gxx,Gxy,Mxx,Mxy等)を実装することが可能である。 The NC macro 733, which is one of the unique control information, is a program for extending the G code and the M code. The NC macro 733 allows each machine tool manufacturer, machine tool maker, and machine tool user to implement their own unique functions (Gxx, Gxy, Mxx, Mxy, etc.).
 また、固有制御情報の一つである加工工程情報732は、HMI710による工程管理や各種加工情報を把握し、作業の効率化やトレーサビリティを目的とする機能を実現するための付加情報である。HMI710は、工作機械210を操作するためのアプリケーションプログラムや、工作機械210の状態をモニターするためのアプリケーションプログラムであり、タブレットやスマートフォン等にも搭載可能となっている。このため、HMI710における各種データを可視化することで、工作機械210の操作性が向上する。 Further, the machining process information 732, which is one of the unique control information, is additional information for grasping the process management and various machining information by the HMI 710 and realizing the function for the purpose of work efficiency and traceability. The HMI 710 is an application program for operating the machine tool 210 and an application program for monitoring the state of the machine tool 210, and can be mounted on a tablet, a smartphone, or the like. Therefore, by visualizing various data in the HMI 710, the operability of the machine tool 210 is improved.
 なお、(a)数値制御装置の固有制御情報、(b)工作機械の固有制御情報および(c)工作機械のユーザの固有制御情報は、必ずしも全て必要なわけではない。ワークの種類や加工方法によっては、少なくともいずれか一つまたは二つの固有制御情報だけを考慮してNCプログラムを生成すればよい場合もある。 Note that (a) the unique control information of the numerical control device, (b) the unique control information of the machine tool, and (c) the unique control information of the user of the machine tool are not necessarily all required. Depending on the type of work and the machining method, it may be sufficient to generate the NC program in consideration of at least one or two unique control information.
 標準化情報の一つである標準化フォーマットは、コマンド名と、当該コマンドにて指定可能な引数名とを含んでおり情報処理装置700においてあらかじめ記憶されている。例えば、計測機能を示すコマンド「PROCMOD」に対して、仕上げ加工を示す引数「FIN」と、荒加工を示す引数「ROUGH」とが定義されている。 The standardized format, which is one of the standardized information, includes a command name and an argument name that can be specified by the command, and is stored in advance in the information processing apparatus 700. For example, for the command "PROCMOD" indicating the measurement function, an argument "FIN" indicating finishing processing and an argument "ROUGH" indicating rough processing are defined.
 これにより、工作機械メーカ固有の制御であるNCマクロ733で、NCとPLC(programmable logic controller)720の両方を制御することができる。NCマクロ733は工作機械メーカにより固有に作成される(GコードとMコードの組み合わせで実現される機能)。また、PLC720はIOを制御する。つまり、工作機械メーカの固有制御はNCマクロによるNC制御と、PLCによるIO制御の2種類がある。 This makes it possible to control both NC and PLC (programmable logic controller) 720 with NC macro 733, which is a control unique to machine tool manufacturers. The NC macro 733 is uniquely created by the machine tool maker (a function realized by a combination of G code and M code). The PLC720 also controls the IO. That is, there are two types of machine tool maker's unique control: NC control by NC macro and IO control by PLC.
 また、加工工程情報732についてAPT仕様を標準化することにより、工作機械210やHMI(Human Machine Interface)710の各種最適化機能を利用できる。 In addition, by standardizing the APT specifications for the machining process information 732, various optimization functions of the machine tool 210 and HMI (Human Machine Interface) 710 can be used.
 情報処理装置700は、表示装置に図8に示すような機能選択ダイヤログ800を表示し、ユーザが最適化処理を選択できる構成としてもよい。最適化処理部204は、ユーザによって選択された最適化処理を施したNCプログラム730を出力する。標準化対応表示部分801で選択された最適化処理が施されたNCプログラム730に変換される。 The information processing device 700 may be configured to display the function selection dialog 800 as shown in FIG. 8 on the display device so that the user can select the optimization process. The optimization processing unit 204 outputs the NC program 730 that has been subjected to the optimization processing selected by the user. It is converted into the NC program 730 which has been optimized by the standardization correspondence display part 801.
 標準化CLデータには、オペレーションとオペレーションとを繋ぐ動き(オペレーションリンク)に関するデータが含まれているが、CAMの機種によっては、出力されるCLデータに、そのようなデータが含まれていない場合がある。例えば図9に示すような機能選択ダイヤログ800のオペレーションリンク選択部901において、ユーザが選択したパスを含むNCプログラムを生成することも可能である。この構成により、ユーザはCAMの機種に依存することなく、最適なパス生成機能を利用できる。 The standardized CL data includes data related to the movement (operation link) that connects operations, but depending on the CAM model, the output CL data may not include such data. be. For example, in the operation link selection unit 901 of the function selection dialog 800 as shown in FIG. 9, it is also possible to generate an NC program including a path selected by the user. With this configuration, the user can use the optimum path generation function without depending on the CAM model.
 図10、図11は、NCプログラムを最適化する例を示す図である。図10において、A社、B社、C社の各CAM装置740a~740cにCLデータ標準化機能を持たせてCADデータを取り込ませると、仕上げ加工を指定する標準化フォーマット(PROCMOD/FIN)でラベル付けされたCLデータ745が出力される。 10 and 11 are diagrams showing an example of optimizing an NC program. In FIG. 10, when each CAM device 740a to 740c of company A, company B, and company C is provided with a CL data standardization function and CAD data is taken in, it is labeled in a standardized format (PROCMOD / FIN) that specifies finishing. The CL data 745 is output.
 情報処理装置700は、コマンドテーブル1001から、標準化フォーマット(PROCMOD/FIN)に対応するNCコード(G915H42)を読出し、NCプログラムに反映させて最適化されたNCプログラム730として出力する。最適化されたNCプログラム730を用いて工作機械を制御すると、仕上げ加工でのみ計測機能が自動的にオンとなり、荒加工では計測機能が自動的にオフになる。 The information processing apparatus 700 reads the NC code (G915H42) corresponding to the standardized format (PROCMOD / FIN) from the command table 1001, reflects it in the NC program, and outputs it as an optimized NC program 730. When the machine tool is controlled using the optimized NC program 730, the measurement function is automatically turned on only in finishing machining, and the measurement function is automatically turned off in rough machining.
 このように様々なCAM装置から出力されたCLデータを、簡単かつ正確にNCプログラムに変換することができ、CAM装置に依存することなく、固有制御情報によって特定される様々な最適化機能を利用することができる。また、情報処理装置700が様々なCLデータを一元的に変換するため、最適化機能を情報処理装置700に集約でき、システム全体の開発を効率化することができる。さらに、工作機械の特性を十分に考慮し、工作機械の様々なオプション機能を漏れなく活用したNCプログラムを生成でき、工作機械のパフォーマンスを向上させる。工作機械の機種ごとにポストプロセッサを用意する必要がなく、情報処理装置700で複数の工作機械用のNCプログラムを生成できるため、ポストプロセッサの開発費用や開発に係る時間を削減することができる。 In this way, CL data output from various CAM devices can be easily and accurately converted into NC programs, and various optimization functions specified by unique control information are used without depending on the CAM device. can do. Further, since the information processing apparatus 700 centrally converts various CL data, the optimization function can be integrated in the information processing apparatus 700, and the development of the entire system can be streamlined. Furthermore, it is possible to generate an NC program that fully considers the characteristics of the machine tool and fully utilizes various optional functions of the machine tool, and improves the performance of the machine tool. Since it is not necessary to prepare a post processor for each machine tool model and the information processing apparatus 700 can generate NC programs for a plurality of machine tools, it is possible to reduce the development cost of the post processor and the time required for development.
 図11においては、ユーザによる拡張機能に対応するようにNCプログラムを最適化する。具体的には、拡張しようとする標準機能として、Gコードの固定サイクルのうち、高速深穴あけサイクル(G73)を選択する。このような穴あけ加工では、標準機能による通常の穴あけではなく、ユーザが自ら作成した穴あけ用のカスタムマクロを使用したいという要求がある。 In FIG. 11, the NC program is optimized to support the extended function by the user. Specifically, as a standard function to be expanded, a high-speed deep drilling cycle (G73) is selected from the fixed cycles of the G code. In such drilling, there is a demand to use a custom macro for drilling created by the user instead of the normal drilling by the standard function.
 そこで、図11に示すように、ユーザによる拡張機能を指示する「DRILL1」や「DRILL2」等の標準化フォーマットをあらかじめコマンドテーブルに定義しておき、対応するNCコードは空欄(予約状態)とする。そして、呼び出したいカスタムマクロ(G65P1000)を「DRILL1」に対応する空欄に追加で実装する。 Therefore, as shown in FIG. 11, standardized formats such as "DRILL1" and "DRILL2" that indicate the extended function by the user are defined in advance in the command table, and the corresponding NC code is left blank (reserved state). Then, the custom macro (G65P1000) to be called is additionally implemented in the blank corresponding to "DRILL1".
 その後、図10で示した例と同様、CLデータ生成機能を持たせたCAM装置740a~740cにCADデータを取り込ませると、拡張機能を指定する標準化フォーマット「CYCLE/DRILL1」でラベル付けされたCLデータ745が出力される。 After that, as in the example shown in FIG. 10, when CAD data is taken into the CAM devices 740a to 740c having the CL data generation function, the CL labeled with the standardized format "CYCLE / DRILL1" that specifies the extended function. Data 745 is output.
 つぎに、CLデータ745を受け取った情報処理装置700は、コマンドテーブル1101から、標準化フォーマットに対応するNCコード(G65P1000)を読出し、NCプログラムに反映させ、最適化NCプログラム730として出力する。 Next, the information processing apparatus 700 that has received the CL data 745 reads the NC code (G65P1000) corresponding to the standardized format from the command table 1101, reflects it in the NC program, and outputs it as the optimized NC program 730.
 最適化NCプログラム730を用いて工作機械を制御すると、ユーザによって作成されたカスタムマクロを呼び出して穴あけ加工を実行する。 When the machine tool is controlled using the optimized NC program 730, a custom macro created by the user is called to execute drilling.
 このように、情報処理装置700でカスタムマクロに対応するNCコードを標準化フォーマットに対応付けることによって、ユーザによる拡張機能に対応するようにNCプログラムを最適化できる。 In this way, by associating the NC code corresponding to the custom macro with the standardized format in the information processing apparatus 700, the NC program can be optimized to correspond to the extended function by the user.
 以上のように、本実施形態では、最適化機能を入れ込むポストプロセッサを生成するためのフレームワークを構築した。標準化されたAPTを構築し、生成された標準化CLコードに基づいて多くの最適化機能を実現することができる。情報処理装置700がCAM装置にも数値制御装置にも依存しない共通のポストプロセッサとして機能して、最適化機能を実現できる。従来機械個別に実装する必要があった最適化機能をPOST標準機能として利用でき、工作機械のユーザの負担を減らすことができる。 As described above, in this embodiment, a framework for generating a post processor that incorporates an optimization function has been constructed. A standardized APT can be constructed and many optimization functions can be realized based on the generated standardized CL code. The information processing device 700 functions as a common post processor that does not depend on the CAM device or the numerical control device, and the optimization function can be realized. The optimization function, which conventionally had to be implemented individually for each machine, can be used as a POST standard function, and the burden on the machine tool user can be reduced.
 NCプログラムの一部のコードについては既にISOで標準化されているが、それ以外の機械メーカ固有の制御についても標準化し最適化することができる。 Some codes of NC programs have already been standardized by ISO, but other machine manufacturer-specific controls can also be standardized and optimized.
 [他の実施形態]
 以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の技術的範囲で当業者が理解し得る様々な変更をすることができる。また、それぞれの実施形態に含まれる別々の特徴を如何様に組み合わせたシステムまたは装置も、本発明の技術的範囲に含まれる。
[Other embodiments]
Although the invention of the present application has been described above with reference to the embodiments, the invention of the present application is not limited to the above-described embodiment. Various changes that can be understood by those skilled in the art can be made to the structure and details of the present invention within the technical scope of the present invention. Also included in the technical scope of the invention are systems or devices in any combination of the different features contained in each embodiment.
 また、本発明は、複数の機器から構成されるシステムに適用されてもよいし、単体の装置に適用されてもよい。さらに、本発明は、実施形態の機能を実現する情報処理プログラムが、システムあるいは装置に供給され、内蔵されたプロセッサによって実行される場合にも適用可能である。本発明の機能をコンピュータで実現するために、コンピュータにインストールされるプログラム、あるいはそのプログラムを格納した媒体、そのプログラムをダウンロードさせるサーバも、プログラムを実行するプロセッサも本発明の技術的範囲に含まれる。特に、少なくとも、上述した実施形態に含まれる処理ステップをコンピュータに実行させるプログラムを格納した非一時的コンピュータ可読媒体(non-transitory computer readable medium)は本発明の技術的範囲に含まれる。
 具体的には、工作機械における加工を制御する数値制御装置で用いられる加工プログラムを生成する情報処理方法であって、
 コンピュータ支援製造システムにおいて生成された加工プログラムに含まれる複数のコードをそれぞれ解釈する加工プログラム解釈ステップと、
 前記数値制御装置の種類に応じて前記加工プログラムに含まれるコードを最適化して新たな最適化加工プログラムを生成する最適化処理ステップと、
 を含む情報処理方法や、
 工作機械における加工を制御する数値制御装置で用いられる加工プログラムを生成する情報処理プログラムであって、
 工作機械における加工を制御する数値制御装置で用いられる加工プログラムを生成する情報処理方法であって、
 コンピュータ支援製造システムにおいて生成された加工プログラムに含まれる複数のコードをそれぞれ解釈する加工プログラム解釈ステップと、
 前記数値制御装置の種類に応じて前記加工プログラムに含まれるコードを最適化して新たな最適化加工プログラムを生成する最適化処理ステップと、
 をコンピュータに実行させる情報処理プログラムも、本願発明の技術範囲に含まれる。
Further, the present invention may be applied to a system composed of a plurality of devices, or may be applied to a single device. Further, the present invention is also applicable when an information processing program that realizes the functions of the embodiment is supplied to a system or an apparatus and executed by a built-in processor. In order to realize the functions of the present invention on a computer, the technical scope of the present invention includes a program installed in the computer, a medium containing the program, a server for downloading the program, and a processor for executing the program. .. In particular, at least a non-transitory computer readable medium containing a program that causes a computer to execute the processing steps included in the above-described embodiment is included in the technical scope of the present invention.
Specifically, it is an information processing method for generating a machining program used in a numerical control device that controls machining in a machine tool.
A machining program interpretation step that interprets multiple codes included in the machining program generated in a computer-aided manufacturing system, respectively.
An optimization processing step that optimizes the code included in the machining program according to the type of the numerical control device to generate a new optimized machining program, and
Information processing methods including
An information processing program that generates a machining program used in a numerical control device that controls machining in a machine tool.
An information processing method that generates a machining program used in a numerical control device that controls machining in a machine tool.
A machining program interpretation step that interprets multiple codes included in the machining program generated in a computer-aided manufacturing system, respectively.
An optimization processing step that optimizes the code included in the machining program according to the type of the numerical control device to generate a new optimized machining program, and
An information processing program for causing a computer to execute an information processing program is also included in the technical scope of the present invention.

Claims (2)

  1.  工作機械で用いられる第1のNCプログラムを生成する情報処理装置であって、
     第2のNCプログラムに含まれる複数のコードをそれぞれ解釈するNCプログラム解釈部と、
     前記NCプログラム解釈部の解釈に基づいて、前記第2のNCプログラムを逆変換してAPT(automatically programmed tools)で記述されたAPTプログラムを生成する逆変換部と、
     前記APTプログラムを解析し、第2のNCプログラムに含まれる起点コードに対応した追加コードを付与した第1のNCプログラムに再度変換する変換処理部と、を備えた情報処理装置。
    An information processing device that generates a first NC program used in a machine tool.
    An NC program interpreter that interprets multiple codes included in the second NC program, and
    Based on the interpretation of the NC program interpretation unit, the inverse conversion unit that reversely converts the second NC program to generate an APT program described by APT (automatically programmed tools), and
    An information processing device including a conversion processing unit that analyzes the APT program and converts it again into a first NC program to which an additional code corresponding to a starting point code included in the second NC program is added.
  2.  工作機械で用いられる第1のNCプログラムを生成する情報処理プログラムであって、
     コンピュータに、
     第2のNCプログラムに含まれる複数のコードをそれぞれ解釈する機能と、
     前記解釈に基づいて、前記第2のNCプログラムを逆変換してAPT(automatically programmed tools)で記述されたAPTプログラムを生成する機能と、
     前記APTプログラムを解析し、第2のNCプログラムに含まれる起点コードに対応した追加コードを付与した第1のNCプログラムに再度変換する機能と、を発揮させる情報処理プログラム。
    An information processing program that generates the first NC program used in machine tools.
    On the computer
    The function to interpret multiple codes included in the second NC program, and
    Based on the above interpretation, the function of inversely converting the second NC program to generate an APT program described by APT (automatically programmed tools).
    An information processing program that analyzes the APT program and converts it again into a first NC program to which an additional code corresponding to a starting point code included in the second NC program is added.
PCT/JP2021/044339 2020-12-24 2021-12-02 Information processing device and information processing program WO2022138055A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-215738 2020-12-24
JP2020215738A JP6987959B1 (en) 2020-12-24 2020-12-24 Information processing equipment

Publications (1)

Publication Number Publication Date
WO2022138055A1 true WO2022138055A1 (en) 2022-06-30

Family

ID=79239693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/044339 WO2022138055A1 (en) 2020-12-24 2021-12-02 Information processing device and information processing program

Country Status (2)

Country Link
JP (1) JP6987959B1 (en)
WO (1) WO2022138055A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62254209A (en) * 1986-04-28 1987-11-06 Fanuc Ltd Nc data output method
JPH04365538A (en) * 1991-05-09 1992-12-17 Amada Co Ltd Rationalization for nc program
JPH10320027A (en) * 1997-05-15 1998-12-04 Fanuc Ltd Numerical controller
JP2005149194A (en) * 2003-11-17 2005-06-09 Honda Motor Co Ltd Source program conversion system
JP2006293744A (en) * 2005-04-12 2006-10-26 Fanuc Ltd Program conversion device
JP2009053736A (en) * 2007-08-23 2009-03-12 Fanuc Ltd Numerical controller for inputting nc command independent of machine tool and working method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62254209A (en) * 1986-04-28 1987-11-06 Fanuc Ltd Nc data output method
JPH04365538A (en) * 1991-05-09 1992-12-17 Amada Co Ltd Rationalization for nc program
JPH10320027A (en) * 1997-05-15 1998-12-04 Fanuc Ltd Numerical controller
JP2005149194A (en) * 2003-11-17 2005-06-09 Honda Motor Co Ltd Source program conversion system
JP2006293744A (en) * 2005-04-12 2006-10-26 Fanuc Ltd Program conversion device
JP2009053736A (en) * 2007-08-23 2009-03-12 Fanuc Ltd Numerical controller for inputting nc command independent of machine tool and working method

Also Published As

Publication number Publication date
JP2022101267A (en) 2022-07-06
JP6987959B1 (en) 2022-01-05

Similar Documents

Publication Publication Date Title
JP6868161B1 (en) Information processing equipment, information processing methods and information processing programs
JP5143005B2 (en) Methods for optimization of machining processes in machines
JP5414948B1 (en) Numerical controller
JP5355356B2 (en) Method for creating part programs
CN106886197B (en) Method for controlling machine to implement machining, device and application thereof
JP2010123122A6 (en) Method for creating part programs
WO2022138056A1 (en) Information processing device and information processing program
CN104635624A (en) Control method and control system for controlling numerical control system of four-axis processing equipment
WO2022138055A1 (en) Information processing device and information processing program
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
JP6770018B2 (en) Setting device and setting program
JP7177905B1 (en) Information processing equipment
KR101108211B1 (en) Device for generating the part programs of multi-functional turning machines and method for generating the syncronizing program between multiful processes
CN114035511A (en) Intelligent control system and control method for graphical numerical control lathe
JP7301486B1 (en) Information processing device and program
JP6935606B1 (en) Information processing equipment and information processing programs
WO2023120391A1 (en) Information processing device and program that generates a first nc program and converts a second nc program
US9904277B2 (en) Numerical controller configured for operation based on tabular data
JP7175340B2 (en) Machine tools, information processing devices and information processing programs
WO2023053349A9 (en) Numerical control device
EP3876050A1 (en) Processing support system
Katarína THE METHODS OF NC PROGRAM CREATING
Chatelain et al. Productivity assessment from advanced integration of canned cycles to CAD/CAM software

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21910207

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21910207

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP