JP2021119478A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2021119478A
JP2021119478A JP2021065809A JP2021065809A JP2021119478A JP 2021119478 A JP2021119478 A JP 2021119478A JP 2021065809 A JP2021065809 A JP 2021065809A JP 2021065809 A JP2021065809 A JP 2021065809A JP 2021119478 A JP2021119478 A JP 2021119478A
Authority
JP
Japan
Prior art keywords
program
change
simulation
display
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021065809A
Other languages
Japanese (ja)
Other versions
JP2021119478A5 (en
Inventor
頼人 國府田
Yorito Koda
頼人 國府田
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 Seiki 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 Seiki Co Ltd filed Critical DMG Mori Seiki Co Ltd
Priority to JP2021065809A priority Critical patent/JP2021119478A/en
Publication of JP2021119478A publication Critical patent/JP2021119478A/en
Publication of JP2021119478A5 publication Critical patent/JP2021119478A5/ja
Pending legal-status Critical Current

Links

Images

Abstract

To provide an information processor that makes it easy to intuitively grasp what a program, such as a changed NC program, is like.SOLUTION: An information processor has a display control unit that causes a display unit to display (i) a first simulation display area for displaying a first simulation image based on an NC program, (ii) an NC program display area for displaying an NC program and also displaying a block or a part program, selected based on the first simulation image, so as to be distinguishable from the other parts of the NC program, and (iii) a second simulation display area for displaying a second simulation image based on an NC program subjected to a change process on a block or a part program. The display control unit executes control so as to cause the display unit to further display a change display area for performing a change process on a block or a part program and so as to display a simulation image after the change in the change display area.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置に関するものである。 The present invention relates to an information processing device.

従来、NCプログラムが新規に作成されると、これを用いた加工のシミュレーションが行われる。これにより、当該NCプログラムで指定した工作機械の動作や切削条件等が適切であるか否かをチェックし、必要に応じてNCプログラムに修正を施す作業が行われている。 Conventionally, when a new NC program is created, machining simulation using the NC program is performed. As a result, the work of checking whether the operation of the machine tool and the cutting conditions specified in the NC program are appropriate, and modifying the NC program as necessary is performed.

特許文献1には、工具の位置データ(CLデータ:Cutter Locationdata)の非切削経路を最適化することで、加工時間を短縮できるNCプログラムを製造できることが開示されている。 Patent Document 1 discloses that an NC program capable of shortening the machining time can be manufactured by optimizing the non-cutting path of the tool position data (CL data: Cutter Location data).

特許第6438023号公報Japanese Patent No. 6438023

しかしながら、特許文献1においては、最適化されたNCプログラムがどのようなものかを直感的に把握しにくかった。 However, in Patent Document 1, it is difficult to intuitively grasp what the optimized NC program looks like.

そこで、本発明は、上記課題を解決するため、特許請求の範囲に記載した情報処理装置を提供する。 Therefore, the present invention provides the information processing device described in the claims in order to solve the above problems.

本発明によれば、変更されたNCプログラムなどのプログラムがどのようなものかが直感的に把握しやすくなる。 According to the present invention, it becomes easy to intuitively grasp what a program such as a modified NC program looks like.

情報処理装置の一実施形態を示すブロック図である。It is a block diagram which shows one Embodiment of an information processing apparatus. 実施形態1における第1シミュレーション表示エリアの一例を示す図である。It is a figure which shows an example of the 1st simulation display area in Embodiment 1. FIG. 実施形態1における第1シミュレーション表示エリアとNCプログラム表示エリアを表示させた状態を示す図である。It is a figure which shows the state which displayed the 1st simulation display area and NC program display area in Embodiment 1. FIG. 実施形態1における第1シミュレーション表示エリア、第2シミュレーション表示エリア、および加工時間表示エリアを表示させた状態を示す図である。It is a figure which shows the state which displayed the 1st simulation display area, the 2nd simulation display area, and the machining time display area in Embodiment 1. FIG. 実施形態1における第1シミュレーション表示エリア、複数の第2シミュレーション表示エリア、およびグラフ表示エリアを表示させた状態を示す図である。It is a figure which shows the state which displayed the 1st simulation display area, the plurality of 2nd simulation display areas, and the graph display area in Embodiment 1. FIG. 実施形態1の情報処理装置および情報処理プログラムを用いて、NCプログラムに変換処理を施す際の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of processing when the conversion processing is performed on NC program by using the information processing apparatus and information processing program of Embodiment 1. 実施形態2における(a)座標を変更可能な編集画面を表示させた状態、(b)ブロックを変更可能な編集画面を表示させた状態を示す図である。It is a figure which shows the state which (a) the edit screen which can change a coordinate is displayed, and (b) the edit screen which can change a block is displayed in Embodiment 2.

以下、本発明に係る情報処理装置および情報処理プログラムの実施形態について図面を用いて説明する。なお、後述する実施形態の説明は例示であって個々の実施形態に制限されるものではない。各実施形態は、当業者によって変形および変更が適宜可能である。また、各実施形態は、それぞれ独立の個別形態ではなく、一つの実施形態にのみ記載された一部の機能や構成であっても他の実施形態にも当然適用することが可能である。 Hereinafter, embodiments of the information processing apparatus and the information processing program according to the present invention will be described with reference to the drawings. It should be noted that the description of the embodiments described later is an example and is not limited to the individual embodiments. Each embodiment can be appropriately modified and modified by those skilled in the art. Further, each embodiment is not an independent individual embodiment, and even a part of the functions and configurations described only in one embodiment can be naturally applied to other embodiments.

<実施形態1>
本実施形態の情報処理装置1は、工作機械の制御に用いられるNCプログラムを処理するためのものであり、数値制御装置やパーソナルコンピュータ等のコンピュータによって構成されている。具体的には、情報処理装置1は、図1に示すように、ユーザからの入力を受け付ける入力部2と、NCプログラムや後述する各種の表示エリア等を表示する表示部3と、を備える。また、情報処理装置1は、本実施形態の情報処理プログラム1aや各種データを記憶する記憶部4と、各種の演算処理を実行し後述する各構成部として機能する演算処理部5と、を備える。
<Embodiment 1>
The information processing device 1 of the present embodiment is for processing an NC program used for controlling a machine tool, and is composed of a computer such as a numerical control device or a personal computer. Specifically, as shown in FIG. 1, the information processing device 1 includes an input unit 2 that receives input from a user, and a display unit 3 that displays an NC program, various display areas described later, and the like. Further, the information processing device 1 includes an information processing program 1a of the present embodiment, a storage unit 4 for storing various data, and an arithmetic processing unit 5 that executes various arithmetic processes and functions as each component described later. ..

入力部2は、ユーザからの指示や情報の入力を受け付けるためのものである。本実施形態において、入力部2は、表示部3上で指定された位置情報や、入力されたデータ等を演算処理部5へ出力するようになっている。 The input unit 2 is for receiving instructions and information input from the user. In the present embodiment, the input unit 2 outputs the position information designated on the display unit 3, the input data, and the like to the arithmetic processing unit 5.

表示部3は、NCプログラムによって制御される工作機械での加工をシミュレートするシミュレーション画像や、NCプログラム等を表示するためのものである。本実施形態において、表示部3は、後述する表示制御部57から入力された表示内容を表示させるようになっている。 The display unit 3 is for displaying a simulation image that simulates machining on a machine tool controlled by an NC program, an NC program, and the like. In the present embodiment, the display unit 3 displays the display content input from the display control unit 57, which will be described later.

本実施形態において、入力部2および表示部3は、タッチパッド等による入力部2としての位置入力機能と、液晶パネル等による表示部3としての表示機能とを兼ね備えたタッチパネルによって構成されている。そして、当該タッチパネル上のタッチ位置に基づいて、各種のデータや情報を演算処理部5へ受け渡すようになっている。 In the present embodiment, the input unit 2 and the display unit 3 are composed of a touch panel having both a position input function as the input unit 2 by a touch pad or the like and a display function as the display unit 3 by a liquid crystal panel or the like. Then, various data and information are passed to the arithmetic processing unit 5 based on the touch position on the touch panel.

なお、入力部2および表示部3は、タッチパネルに限定されるものではなく、マウス等のポインティングデバイスからなる入力部2と、液晶モニタ等のディスプレイ装置からなる表示部3とをそれぞれ別体として有していてもよい。この場合、表示部3にはマウスポインタが表示されるため、クリックされたときのマウスポインタの位置に基づいて、各種のデータや情報を演算処理部5へ提供することとなる。 The input unit 2 and the display unit 3 are not limited to the touch panel, and include the input unit 2 composed of a pointing device such as a mouse and the display unit 3 composed of a display device such as a liquid crystal monitor as separate bodies. You may be doing it. In this case, since the mouse pointer is displayed on the display unit 3, various data and information are provided to the arithmetic processing unit 5 based on the position of the mouse pointer when the mouse pointer is clicked.

記憶部4は、各種のデータを記憶するとともに、演算処理部5が演算処理を行う際のワーキングエリアとして機能するものである。本実施形態において、記憶部4は、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュメモリ等によって構成されている。図1に示すように、記憶部4は、プログラム記憶部41と、
NCプログラム記憶部42と、GUIデータ記憶部43と、工作機械情報記憶部44と、を有している。以下、各構成部についてより詳細に説明する。
The storage unit 4 stores various types of data and functions as a working area when the arithmetic processing unit 5 performs arithmetic processing. In the present embodiment, the storage unit 4 is composed of a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, and the like. As shown in FIG. 1, the storage unit 4 includes the program storage unit 41 and
It has an NC program storage unit 42, a GUI data storage unit 43, and a machine tool information storage unit 44. Hereinafter, each component will be described in more detail.

プログラム記憶部41には、本実施形態の情報処理プログラム1aがインストールされている。そして、演算処理部5が、情報処理プログラム1aを実行することにより、情報処理装置1としてのコンピュータを後述する各構成部として機能させるようになっている。 The information processing program 1a of the present embodiment is installed in the program storage unit 41. Then, the arithmetic processing unit 5 executes the information processing program 1a to make the computer as the information processing device 1 function as each component described later.

NCプログラム記憶部42は、NCプログラムを記憶するものである。本実施形態のNCプログラム記憶部42は、後述する変更処理前のNCプログラムや変更処理をした後の変更後NCプログラムなどを記憶している。本実施形態のNCプログラムは複数のブロックから構成されている。また、NCプログラムは、パートプログラムを含んでいてもよい。各ブロックは、工作機械の主軸の回転数、移動指令における座標や送り速度などを数値制御するために、NCコードによって記述されている。NCコードは、アルファベット、記号(+、*など)、数値を含み構成されている。例えば、G90は、アブソリュート指令コードであり、M98は、パートプログラムやサブプログラムの呼び出すコードである。 The NC program storage unit 42 stores the NC program. The NC program storage unit 42 of the present embodiment stores the NC program before the change processing, the NC program after the change after the change process, and the like, which will be described later. The NC program of this embodiment is composed of a plurality of blocks. Further, the NC program may include a part program. Each block is described by an NC code in order to numerically control the rotation speed of the spindle of the machine tool, the coordinates in the movement command, the feed rate, and the like. The NC code is composed of alphabets, symbols (+, *, etc.) and numerical values. For example, G90 is an absolute command code, and M98 is a code called by a part program or subprogram.

なお、情報処理プログラム1aやNCプログラムの利用形態は、上記構成に限られるものではない。例えば、CD−ROMやUSBメモリ等のように、コンピュータで読み取り可能な記録媒体に情報処理プログラム1aやNCプログラムを記憶させておき、当該記録媒体から直接読み出して実行してもよい。また、外部サーバ等からクラウドコンピューティング方式やASP(Application Service Provider)方式で利用してもよい。 The usage pattern of the information processing program 1a and the NC program is not limited to the above configuration. For example, the information processing program 1a or NC program may be stored in a computer-readable recording medium such as a CD-ROM or a USB memory, and the information processing program 1a or NC program may be directly read from the recording medium and executed. Further, it may be used by a cloud computing method or an ASP (Application Service Provider) method from an external server or the like.

GUI(Graphical User Interface)データ記憶部43は、表示部3上で入力部2による直感的な操作を可能にするグラフィカルユーザインターフェース(Graphical User Interface)を表示するためのGUIデータを記憶するものである。具体的には、図2から図4に示すような第1シミュレーション表示エリア、第2シミュレーション表示エリア、NCプログラム表示エリア、加工時間表示エリア、グラフ表示エリア、および各種のボタン等を表示するためのGUIデータが記憶されている。後述する本実施形態の第1シミュレーション画像は、第1シミュレーション表示エリアに表示され、後述する本実施形態の第2シミュレーション画像は、第2シミュレーション表示エリアに表示される。 The GUI (Graphical User Interface) data storage unit 43 stores GUI data for displaying a graphical user interface (Graphical User Interface) that enables intuitive operation by the input unit 2 on the display unit 3. .. Specifically, for displaying the first simulation display area, the second simulation display area, the NC program display area, the machining time display area, the graph display area, and various buttons as shown in FIGS. 2 to 4. GUI data is stored. The first simulation image of the present embodiment described later is displayed in the first simulation display area, and the second simulation image of the present embodiment described later is displayed in the second simulation display area.

工作機械情報記憶部44は、工作機械に関する各種の情報である工作機械情報を記憶するものである。ここで、工作機械情報とは、工作機械で共通する情報と、工作機械の個々の製品に固有の情報と、を含む情報である。具体的には、工作機械が5軸加工機である場合、工作機械に共通する情報とは、例えば、5軸加工機での機械原点、5軸加工機での機械ストローク長、主軸径、5軸加工機で用いることができるNCプログラム用パートプログラム、5軸加工機で使用できる工具などである。また、工作機械の個々の製品固有の工作機械情報としては、工作機械の製品番号、機械原点、機械ストローク長、チップコンベアの種類、チップコンベアで用いることができるNCプログラム用パートプログラム、数値制御装置の種類(C社製、D社製など)などがある。 The machine tool information storage unit 44 stores machine tool information, which is various information related to the machine tool. Here, the machine tool information is information including information common to machine tools and information unique to each product of the machine tool. Specifically, when the machine tool is a 5-axis machine tool, the information common to the machine tool is, for example, the machine origin in the 5-axis machine tool, the machine stroke length in the 5-axis machine tool, the spindle diameter, and 5 An NC program part program that can be used in a spindle machine tool, and a tool that can be used in a 5-spindle machine tool. In addition, as machine tool information specific to each product of the machine tool, the product number of the machine tool, the machine origin, the machine stroke length, the type of chip conveyor, the part program for NC program that can be used in the chip conveyor, and the numerical control device. There are various types (manufactured by company C, manufactured by company D, etc.).

本実施形態では、工作機械A,B,Cについて、下記(1)〜(4)に示すような工作機械情報が工作機械情報記憶部44に記憶されている。 In the present embodiment, the machine tool information as shown in the following (1) to (4) is stored in the machine tool information storage unit 44 for the machine tools A, B, and C.

(1)工作機械A(5軸加工機)の製品番号AAAの工作機械情報・製品番号AAA・機械原点・機械ストローク長・タレット数・主軸径・チップコンベアAAA・数値制御装置の種類・工作機械Aで用いることができるNCプログラム用パートプログラム・チップコンベアAAAで用いることができるNCプログラム用パートプログラム (1) Machine tool A (5-axis machine tool) product number AAA machine tool information, product number AAA, machine origin, machine stroke length, number of turrets, spindle diameter, chip conveyor AAA, type of numerical control device, machine tool NC program part program that can be used in A ・ NC program part program that can be used in chip conveyor AAA

(2)工作機械Aの製品番号AABの工作機械情報・製品番号AAB・機械原点・工作機械Aで用いることができるNCプログラム用パートプログラム・工作機械Aの製品番号AABで用いることができるNCプログラム用パートプログラム (2) Machine tool A product number AAB machine tool information, product number AAB, machine origin, NC program part program that can be used in machine tool A, NC program that can be used in machine tool A product number AAB Part program for

(3)工作機械Bの製品番号BAAの工作機械情報・製品番号BAA・機械原点・機械ストローク長・主軸頭・チップコンベアBBB・数値制御装置の種類・工作機械Bで用いることができるNCプログラム用マクロ・チップコンベアBBBで用いることができるNCプログラム用マクロ (3) Machine tool B product number BAA machine tool information, product number BAA, machine origin, machine stroke length, spindle head, chip conveyor BBB, type of numerical control device, NC program that can be used in machine tool B Macro for NC program that can be used in the macro chip conveyor BBB

(4)工作機械C(付加加工機)の製品番号CAAの工作機械情報・製品番号CAA・機械原点・機械ストローク長・レーザの種類・付加する材料の種類(材料Aと材料B)
・数値制御装置の種類・工作機械Cで用いることができるNCプログラム用パートプログラム・材料Aで付加加工を行う場合に用いることができるNCプログラム用パートプログラム
(4) Machine tool C (additional processing machine) product number CAA machine tool information, product number CAA, machine origin, machine stroke length, laser type, material type to be added (material A and material B)
-Type of numerical control device-NC program part program that can be used in machine tool C-NC program part program that can be used when performing additional machining with material A

つぎに、演算処理部5は、CPU(Central Processing Unit)等によって構成されており、記憶部4にインストールされた情報処理プログラム1aを実行する。図1に示すように、本実施形態の演算処理部5は、第1生成部51と、第2生成部52と、選択検出部53と、変更処理部54と、加工時間算出部55と、グラフ生成部56と、表示制御部57として機能する。なお、演算処理部5として、CPUではなくASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)
などを用いてもよい。以下、各構成部についてより詳細に説明する。
Next, the arithmetic processing unit 5 is composed of a CPU (Central Processing Unit) and the like, and executes the information processing program 1a installed in the storage unit 4. As shown in FIG. 1, the arithmetic processing unit 5 of the present embodiment includes a first generation unit 51, a second generation unit 52, a selection detection unit 53, a change processing unit 54, a processing time calculation unit 55, and the like. It functions as a graph generation unit 56 and a display control unit 57. The arithmetic processing unit 5 is not a CPU but an ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array).
Etc. may be used. Hereinafter, each component will be described in more detail.

第1生成部51および第2生成部52は、NCプログラムシミュレータによって構成されており、NCプログラムに基づくシミュレーション画像を生成するものである。本実施形態において、第1生成部51は、後述する変更処理前のNCプログラムに基づくシミュレーション画像である第1シミュレーション画像を生成する。また、第2生成部52は、変更処理後のNCプログラムに基づくシミュレーション画像である第2シミュレーション画像を生成する。さらに、第2生成部52は、互いに異なる二以上の変更処理が別々に施されたNCプログラムがある場合、各NCプログラムに基づく第2シミュレーション画像をそれぞれ生成する。生成された第1シミュレーション画像は、表示部3の第1シミュレーション表示エリアに表示される。第2シミュレーション画像は、表示部3の第2シミュレーション表示エリアに表示される。 The first generation unit 51 and the second generation unit 52 are configured by an NC program simulator, and generate a simulation image based on the NC program. In the present embodiment, the first generation unit 51 generates a first simulation image which is a simulation image based on the NC program before the change processing described later. In addition, the second generation unit 52 generates a second simulation image which is a simulation image based on the NC program after the change processing. Further, the second generation unit 52 generates a second simulation image based on each NC program when there are NC programs that are separately subjected to two or more different modification processes. The generated first simulation image is displayed in the first simulation display area of the display unit 3. The second simulation image is displayed in the second simulation display area of the display unit 3.

なお、本実施形態において、シミュレーション画像は、3次元のコンピュータグラフィックス動画像であるが、この構成に限定されるものではなく、所定時間間隔ごとの静止画像を時系列的に表示させるようにしてもよい。また、シミュレーション画像は、複数のNCプログラムから生成される各シミュレーション動画を繋げたものも含む。 In the present embodiment, the simulation image is a three-dimensional computer graphics moving image, but the present invention is not limited to this configuration, and still images at predetermined time intervals are displayed in chronological order. May be good. In addition, the simulation image also includes an image in which each simulation moving image generated from a plurality of NC programs is connected.

選択検出部53は、入力部2を介してユーザから入力された表示部3上のタッチ位置を検出するものである。本実施形態において、選択検出部53は、表示部3上におけるタッチ位置を監視する。そして、図2に示すように、第1シミュレーション表示エリアに表示されている第1シミュレーション画像がタッチ(選択)されたとき、当該選択された時点に対応するブロックまたはパートプログラムを特定する。また、選択検出部53は、図3に示すように、表示部3に表示された各種のボタンがタッチされたとき、当該タッチされたボタンを特定する。 The selection detection unit 53 detects the touch position on the display unit 3 input by the user via the input unit 2. In the present embodiment, the selection detection unit 53 monitors the touch position on the display unit 3. Then, as shown in FIG. 2, when the first simulation image displayed in the first simulation display area is touched (selected), the block or part program corresponding to the selected time point is specified. Further, as shown in FIG. 3, the selection detection unit 53 identifies the touched button when various buttons displayed on the display unit 3 are touched.

変更処理部54は、第1シミュレーション画像に基づいて選択された時点に対応するブロックまたはパートプログラムに対して、変更処理を施すものである。図3に示す実施形態において、変更処理部54は、表示部3に表示された「変更」ボタンがタッチ選択されたとき、選択検出部53によって特定されたブロックまたはパートプログラムに対し、各種の変更処理を実行するようになっている。 The change processing unit 54 performs change processing on the block or part program corresponding to the time point selected based on the first simulation image. In the embodiment shown in FIG. 3, the change processing unit 54 makes various changes to the block or part program specified by the selection detection unit 53 when the “change” button displayed on the display unit 3 is touch-selected. It is designed to execute processing.

図3に示すNCプログラム表示エリアに表示されているNCプログラムは、シーケンス番号(N番号)が1つのブロックになっている。ただし、これに限定されるものではない。例えば、シーケンス番号(N番号)の中に複数のブロックが含まれるNCプログラムでもよい。また、変更処理は、特定されたブロックだけでなく、その前後の複数のブロックを含めて変更してもよい。 The NC program displayed in the NC program display area shown in FIG. 3 has a sequence number (N number) as one block. However, the present invention is not limited to this. For example, an NC program in which a plurality of blocks are included in a sequence number (N number) may be used. Further, the change process may include not only the specified block but also a plurality of blocks before and after the specified block.

例えば、特定されたブロック(図3のN2210)と、それ以降の複数のブロック(例えば、N2220からN2310の10個のブロック)と、を変更処理してもよい。変更処理はブロックの削除も含んでいてもよく、その場合、本実施形態においては、ブロックを1つ削除すると、N番号が1つ少なくなる。他の例として、特定されたブロック(図3のN2210)と、その特定されたブロックの前の複数のブロック(例えば、N2160からN2200の5個のブロック)と、その特定されたブロックの後の複数のブロック(例えば、5ブロック)と、を変更処理してもよい。 For example, the specified block (N2210 in FIG. 3) and a plurality of subsequent blocks (for example, 10 blocks from N2220 to N2310) may be changed. The change process may also include the deletion of the block. In that case, in the present embodiment, if one block is deleted, the N number is reduced by one. As another example, the identified block (N2210 in FIG. 3), a plurality of blocks before the identified block (eg, 5 blocks from N2160 to N2200), and after the identified block. A plurality of blocks (for example, 5 blocks) may be changed.

さらに、変更処理は、特定されたブロックの中にマクロプログラムやパートプログラムを呼び出すためのMコード(例えば、M98)を追記するような変更処理の場合もある。
マクロプログラムやパートプログラムを実行中のときに、第1シミュレーション画像に基づいてユーザが所定時の画像を選択した場合には、マクロプログラム自体やパートプログラム自体をまるごと別のマクロプログラムやパートプログラムに変更する変更処理を行ってもよい。また、選択された画像に対応する部分がマクロプログラムやパートプログラムの場合に、マクロプログラムやパートプログラムの中にあるブロック、条件式、引数などを変更する変更処理を行ってもよい。
Further, the change process may be a change process in which an M code (for example, M98) for calling a macro program or a part program is added to the specified block.
When the user selects a predetermined image based on the first simulation image while the macro program or part program is being executed, the macro program itself or the part program itself is changed to another macro program or part program entirely. You may perform the change processing. Further, when the part corresponding to the selected image is a macro program or a part program, a change process for changing a block, a conditional expression, an argument, or the like in the macro program or the part program may be performed.

変更処理は、例えば、ワークを加工しない非切削経路を最短距離にするように変更前のNCプログラムに関連する工具位置データであるCLデータを解析し、最短距離にした座標位置をブロックで規定したNCプログラムに変更する処理を言う。CLデータを必ず解析する必要はなく、変更前のNCプログラムに記載されている座標位置を変更して変更後のNCプログラムを生成してもよい。この場合は、あらかじめ所定の工具の第1移動経路(インクリメンタル座標情報やアブソリュート座標情報)がプログラムされていた場合に、そのプログラムに対応した工具の第2移動経路のテーブルが記憶されているか、機械学習が可能な人工知能的な機能を有する人工知能部などが必要になる。 In the change process, for example, the CL data, which is the tool position data related to the NC program before the change, is analyzed so that the non-cutting path where the workpiece is not machined is set to the shortest distance, and the coordinate position set to the shortest distance is defined by a block. The process of changing to an NC program. It is not always necessary to analyze the CL data, and the coordinate position described in the NC program before the change may be changed to generate the NC program after the change. In this case, if the first movement path (incremental coordinate information or absolute coordinate information) of the predetermined tool is programmed in advance, the table of the second movement path of the tool corresponding to the program is stored or the machine. An artificial intelligence department having an artificial intelligence function capable of learning is required.

また、工作機械AAAの過去に使用したNCプログラムを分析し、選択されたブロックの最適化処理を行ってもよい。例えば、ワークを曲面Aに加工するブロックを選択し最適化処理のボタンを押した場合に、曲率が曲面Aより大きい曲面Bを加工するNCプログラムと曲率が曲面Aよりも小さい曲面Bを加工するNCプログラムとのデータから曲面Cに対するNCプログラムを生成する。生成されたNCプログラムと、選択されたブロックと、曲面AのCADデータとを比較し、生成されたNCプログラムが曲面AのCADデータとの類似度が大きければ、選択されたブロックを新たに生成したNCプログラムに変更し、全体のNCプログラムを最適化する。 Further, the NC program used in the past of the machine tool AAA may be analyzed and the selected block may be optimized. For example, when a block for processing a workpiece into a curved surface A is selected and the optimization processing button is pressed, an NC program for processing a curved surface B having a curvature larger than the curved surface A and a curved surface B having a curvature smaller than the curved surface A are processed. An NC program for the curved surface C is generated from the data with the NC program. The generated NC program is compared with the selected block and the CAD data of the curved surface A, and if the generated NC program has a large degree of similarity with the CAD data of the curved surface A, a newly selected block is generated. Change to the NC program that was created, and optimize the entire NC program.

他の変更処理の例としては、変更前のNCプログラムの中で、特定のワーク面を荒加工するコードが記載されている場合がある。この場合に、特定の面を一定のピッチで直線上に工具軌跡が移動するように加工した後に、前の加工の工具軌跡から半ピッチ分をずらした工具軌跡で加工するようにコードを変更する変更処理を行い、変更後のNCプログラムを生成する場合がある。この変更処理では、荒加工で生じやすい取り代の急変による工具の欠損を防ぎ、工具寿命を延ばすことできる最適化処理が可能になる。 As an example of another change process, there is a case where a code for roughing a specific work surface is described in the NC program before the change. In this case, after machining a specific surface so that the tool locus moves on a straight line at a constant pitch, the code is changed so that the tool locus is shifted by half a pitch from the tool locus of the previous machining. The change process may be performed and the changed NC program may be generated. In this change process, it is possible to prevent the tool from being damaged due to a sudden change in the removal allowance, which is likely to occur in rough machining, and to perform an optimization process that can extend the tool life.

他の変更処理の例としては、変更前のNCプログラムの中で、ワークをZ軸に沿ってみた場合に直角に削るプログラムがある場合がある。この場合に、工具の移動経路を直角に削る部分に曲面(コーナ)を付けるプログラムを挿入する変更処理を行い、変更後のNCプログラムを生成する場合がある。この場合は、直角に削る部分で工具の食い込みを防ぐとともに、 工具負荷の急変による工具の破損を未然に防ぐ最適化処理が可能になる。 As an example of another change process, there may be a program in the NC program before the change that cuts the work at a right angle when viewed along the Z axis. In this case, a change process for inserting a program for adding a curved surface (corner) to a portion where the movement path of the tool is cut at a right angle may be performed to generate a changed NC program. In this case, it is possible to prevent the tool from biting into the part to be cut at a right angle and to prevent the tool from being damaged due to a sudden change in the tool load.

なお、本実施形態において、変更処理とは、加工時間の短縮、加工精度の向上、電力やクーラントの節約、切屑の効率的な除去、工程管理の可視化による効率化、工具の破損防止、工具交換頻度の低減等のように、機械加工にメリットをもたらす処理である。 In the present embodiment, the change processing includes 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, prevention of tool damage, and tool replacement. It is a process that brings benefits to machining, such as reducing the frequency.

加工時間算出部55は、第1シミュレーション画像に基づいて選択されたブロックまたはパートプログラムについて、変更処理部54による変更処理を施す前の加工時間と、変更処理を施した後の加工時間とを算出するものである。ここで、加工時間とは、加工開始から変更前のコードが実行された後までの時間、加工開始から変更後のコードが実行された後までの時間、プログラム実行開始から変更前のコードが実行された後までの時間、プログラム実行開始から変更後のコードが実行された後までの時間などである。また、加工時間は、変更するブロックの変更前の実行時間、変更処理された後のNCコードだけを実行した時間でもよい。なお、加工時間算出部55は、変更処理を施す前の加工時間と、変更処理を施した後の加工時間との差異を算出してもよい。 The processing time calculation unit 55 calculates the processing time before the change processing by the change processing unit 54 and the processing time after the change processing is performed on the block or part program selected based on the first simulation image. To do. Here, the machining time is the time from the start of machining to the time after the code before the change is executed, the time from the start of machining to the time after the code after the change is executed, and the time from the start of program execution to the execution of the code before the change. The time from the start of program execution to the time after the changed code is executed. Further, the machining time may be the execution time before the change of the block to be changed or the time when only the NC code after the change processing is executed. The machining time calculation unit 55 may calculate the difference between the machining time before the change process and the machining time after the change process.

グラフ生成部56は、プログラムの実行時間やプログラムを実行したことによる加工時間を示すグラフであって、その中に、変更したプログラム部分に対応した対応時間を示したグラフを生成するものである。本実施形態では、後述するとおり、互いに異なる二以上の変更処理が別々に施されたNCプログラムに基づく第2シミュレーション画像がある場合、図5に示すとおり、各変更処理によって変更された加工時間帯を示すグラフを生成するようになっている。 The graph generation unit 56 is a graph showing the execution time of the program and the machining time due to the execution of the program, and generates a graph showing the correspondence time corresponding to the changed program portion in the graph. In the present embodiment, as will be described later, when there is a second simulation image based on an NC program in which two or more different change processes are separately performed, as shown in FIG. 5, the processing time zone changed by each change process. It is designed to generate a graph showing.

表示制御部57は、表示部3の表示内容を制御するものである。本実施形態において、表示制御部57は、第1生成部51や第2生成部52によって生成されたシミュレーション画像と、GUIデータ記憶部43から読み出したGUIデータとに基づいて、図2から図4に示すような第1シミュレーション表示エリアや第2シミュレーション表示エリアを表示部3に表示させる。 The display control unit 57 controls the display content of the display unit 3. In the present embodiment, the display control unit 57 has FIGS. 2 to 4 based on the simulation image generated by the first generation unit 51 and the second generation unit 52 and the GUI data read from the GUI data storage unit 43. The first simulation display area and the second simulation display area as shown in the above are displayed on the display unit 3.

また、表示制御部57は、NCプログラム記憶部42から読み出したNCプログラムと、GUIデータとに基づいて、図3に示すようなNCプログラム表示エリアを表示部3に表示させる。そして、表示制御部57は、選択検出部53によって選択されたブロックまたはパートプログラムをNCプログラムの他の部分と識別できるように表示する。識別表示としては、図3に示すような矢印を付す他に、太文字やハイライト表示をしたり、目立つ色に変更してもよい。 Further, the display control unit 57 causes the display unit 3 to display the NC program display area as shown in FIG. 3 based on the NC program read from the NC program storage unit 42 and the GUI data. Then, the display control unit 57 displays the block or part program selected by the selection detection unit 53 so that it can be identified from other parts of the NC program. As the identification display, in addition to the arrow as shown in FIG. 3, bold characters or highlight display may be displayed, or the color may be changed to a conspicuous color.

さらに、表示制御部57は、加工時間算出部55によって算出された加工時間と、GUIデータとに基づいて、図4に示すような加工時間表示エリアや、図5に示すようなグラフ表示エリアを表示部3に表示させてもよい。 Further, the display control unit 57 displays a machining time display area as shown in FIG. 4 and a graph display area as shown in FIG. 5 based on the machining time calculated by the machining time calculation unit 55 and GUI data. It may be displayed on the display unit 3.

つぎに、本実施形態の情報処理装置1および情報処理プログラム1aによる作用について説明する。 Next, the operation of the information processing device 1 and the information processing program 1a of the present embodiment will be described.

以下、本実施形態の情報処理装置1および情報処理プログラム1aを用いてNCプログラムを最適化する処理について、表示部3に表示されたグラフィカルユーザインターフェースを操作する際の処理に沿って図6を用いて説明する。 Hereinafter, with respect to the process of optimizing the NC program using the information processing device 1 and the information processing program 1a of the present embodiment, FIG. 6 is used along with the process of operating the graphical user interface displayed on the display unit 3. I will explain.

本実施形態の情報処理装置1および情報処理プログラム1aを用いてNCプログラムを最適化する場合、まず、第1生成部51が、工作機械A(5軸加工機)の工作機械情報AをもとにNCプログラムに基づく第1シミュレーション画像を生成する(ステップS1)
。図2に示すように、表示制御部57が当該第1シミュレーション画像を第1シミュレーション表示エリアに表示する(ステップS2)。
When the NC program is optimized by using the information processing device 1 and the information processing program 1a of the present embodiment, first, the first generation unit 51 is based on the machine tool information A of the machine tool A (5-axis machine tool). Generate a first simulation image based on the NC program (step S1)
.. As shown in FIG. 2, the display control unit 57 displays the first simulation image in the first simulation display area (step S2).

ここで、工作機械情報Aとは、工作機械A(5軸加工機)で共通する情報と、工作機械A(5軸加工機)の個々の製品に固有の情報と、を含む情報である。工作機械Aに共通する情報とは、例えば、5軸加工機での機械原点、5軸加工機での機械ストローク長、主軸径、5軸加工機で用いることができるNCプログラム用パートプログラム、5軸加工機で使用できる工具などである。個々の製品固有の工作機械情報としては、工作機械A(5軸加工機)の製品番号AAA、製品番号AAAの機械原点、製品番号AAAの機械ストローク長、チップコンベアの種類(チップコンベアAAA)、チップコンベアAAAで用いることができるNCプログラム用パートプログラム、数値制御装置の種類(C社製、D社製など)などがある。 Here, the machine tool information A is information including information common to the machine tool A (5-axis machine tool) and information unique to each product of the machine tool A (5-axis machine tool). The information common to machine tool A is, for example, the machine origin in a 5-axis machine, the machine stroke length in a 5-axis machine, the spindle diameter, and the NC program part program that can be used in a 5-axis machine. Tools that can be used in shaft processing machines. Machine tool information specific to each product includes product number AAA of machine tool A (5-axis machine tool), machine origin of product number AAA, machine stroke length of product number AAA, type of chip conveyor (chip conveyor AAA), and There are NC program part programs that can be used on the chip conveyor AAA, types of numerical control devices (manufactured by C company, D company, etc.) and the like.

つぎに、ユーザが第1シミュレーション画像を見ながら、最適化したいタイミングで第1シミュレーション画像をタッチすると、選択検出部53が第1シミュレーション画像に基づく選択を検出する(ステップS3)。そして、表示制御部57が、選択された時点に対応するブロックまたはパートプログラムをNCプログラムの他の部分と識別できるように表示する(ステップS4)。これにより、ユーザはシミュレーション画像を見ながら最適化処理を施したい箇所を直感的に選択でき、操作性が向上する。 Next, when the user touches the first simulation image at the timing desired to be optimized while viewing the first simulation image, the selection detection unit 53 detects the selection based on the first simulation image (step S3). Then, the display control unit 57 displays the block or part program corresponding to the selected time point so that it can be distinguished from other parts of the NC program (step S4). As a result, the user can intuitively select the part to be optimized while viewing the simulation image, and the operability is improved.

つづいて、図3に示すように、ユーザが表示部3上の「変更」ボタンをタッチすると、変更処理部54が、第1シミュレーション画像に基づいて選択された時点に対応するブロックまたはパートプログラムに変更処理を施す(ステップS5)。なお、ユーザが表示部3上の「再スタート」ボタンをタッチすると、第1シミュレーション画像の再生が再スタートされ、変更処理を施したい箇所を選択し直すことができる。 Subsequently, as shown in FIG. 3, when the user touches the "change" button on the display unit 3, the change processing unit 54 shifts to the block or part program corresponding to the time selected based on the first simulation image. Perform the change process (step S5). When the user touches the "restart" button on the display unit 3, the reproduction of the first simulation image is restarted, and the part to be changed can be reselected.

つぎに、第2生成部52が、変更処理後のNCプログラムに基づく第2シミュレーション画像を生成するとともに(ステップS6)、加工時間算出部55が、変更処理を施す前の加工時間と、変更処理を施した後の加工時間とを算出する(ステップS7)。これにより、表示制御部57は、図4に示すように、第1シミュレーション画像に加えて、第2シミュレーション画像を第2シミュレーション表示エリアに表示するとともに(ステップS8)、各シミュレーション表示エリアに付随させた各加工時間表示エリアに変更処理を施す前後の加工時間を表示する(ステップS9)。 Next, the second generation unit 52 generates a second simulation image based on the NC program after the change processing (step S6), and the processing time calculation unit 55 sets the processing time before the change processing and the change processing. The processing time after applying the above is calculated (step S7). As a result, as shown in FIG. 4, the display control unit 57 displays the second simulation image in the second simulation display area in addition to the first simulation image (step S8), and attaches the second simulation image to each simulation display area. The processing time before and after the change processing is applied to each processing time display area is displayed (step S9).

本実施形態においては、工具の移動経路を短くすることにより加工時間を短くしている。そのため、選択されたブロックやパートプログラムの工具の座標位置や座標位置への移動指令などのNCコードを変更する変更処理を施している。図4において、第1シミュレーション画像では、工具が加工領域の一度上方に退避した後に、図の左側に移動し、その後加工位置に向かって移動する動画になっている。これに対して、第2シミュレーション画像では、工具が上方に退避することなく、左側に移動し、その後加工位置に向かって移動する動画になっている。 In the present embodiment, the machining time is shortened by shortening the moving path of the tool. Therefore, a change process for changing the NC code such as the coordinate position of the selected block or the tool of the part program and the movement command to the coordinate position is performed. In FIG. 4, the first simulation image is a moving image in which the tool moves upward once in the machining area, then moves to the left side of the drawing, and then moves toward the machining position. On the other hand, in the second simulation image, the tool moves to the left side without retracting upward, and then moves toward the machining position.

ステップS1からステップS9が実行されることにより、ユーザは、変更処理を施すことによって短縮される加工時間を直感的に把握し、当該変更処理を採用するか否かを判断しやすい。そして、図4に示すように、ユーザが表示部3上の「選択」ボタンのいずれかをタッチすると、選択検出部53がユーザによる選択を検出し(ステップS10)、当該選択された方のNCプログラムがNCプログラム記憶部42に記憶される(ステップS11)。 By executing steps S1 to S9, the user can intuitively grasp the machining time shortened by performing the change process and easily determine whether or not to adopt the change process. Then, as shown in FIG. 4, when the user touches any of the "selection" buttons on the display unit 3, the selection detection unit 53 detects the user's selection (step S10), and the selected NC The program is stored in the NC program storage unit 42 (step S11).

なお、本実施形態では、単一の変更処理をシミュレートする場合について説明したが、この構成に限定されるものではなく、互いに異なる二以上の変更処理が別々に施されたNCプログラムを同時にシミュレートしてもよい。例えば、図5に示すように、第2シミュレーション表示エリアを複数配置し、加工時間を最適化する変更処理を施したNCプログラムに基づく第2シミュレーション画像と、工具交換頻度を最適化する変更処理を施したNCプログラムに基づく第2シミュレーション画像のそれぞれを表示させてもよい。 In the present embodiment, the case of simulating a single change process has been described, but the present invention is not limited to this configuration, and an NC program in which two or more different change processes are separately performed is simultaneously simulated. You may do it. For example, as shown in FIG. 5, a second simulation image based on an NC program in which a plurality of second simulation display areas are arranged and a change process for optimizing the machining time is performed, and a change process for optimizing the tool change frequency is performed. Each of the second simulation images based on the applied NC program may be displayed.

また、グラフ生成部56によって、それぞれの変更処理による加工時間帯を示すグラフを生成させ、図5に示すように、グラフ表示エリアに表示させてもよい。これにより、ユーザは各変更処理によって最適化された時間帯を直感的に把握し、いずれの変更処理を採用するか否かを判断しやすい。詳細を以下で説明する。 Further, the graph generation unit 56 may generate a graph showing the processing time zone by each change processing and display it in the graph display area as shown in FIG. As a result, the user can intuitively grasp the time zone optimized by each change process and easily determine which change process is to be adopted. Details will be described below.

図5は、加工時間が短縮することが可能な工具の移動経路を短くする変更処理をしたNCプログラムの第2シミュレーション画像Aと、工具交換頻度が少なくなるように回転数を下げる変更処理をしたNCプログラムの第2シミュレーション画像Bとを生成し、表示部3上の第2シミュレーション画像表示エリアに表示している。 FIG. 5 shows the second simulation image A of the NC program that has been changed to shorten the moving path of the tool that can shorten the machining time, and the change process that lowers the rotation speed so that the tool change frequency is reduced. The second simulation image B of the NC program is generated and displayed in the second simulation image display area on the display unit 3.

また、図5に示す表示部3の表示において、下方のグラフ表示エリアに2つのグラフが表示されている。1つのグラフ(第1グラフ)は、変更処理を施していないNCプログラムを実行した場合の実行時間を示したグラフである。図5において、変更処理を施していないNCプログラムは、20分程度でプログラムの実行が終了する帯グラフの例を示している。本実施形態のプログラムの実行時間は、ワークを加工してワークの加工が終了する時間でもあるため加工時間ともいう。 Further, in the display of the display unit 3 shown in FIG. 5, two graphs are displayed in the lower graph display area. One graph (first graph) is a graph showing the execution time when the NC program that has not been changed is executed. In FIG. 5, the NC program that has not been changed shows an example of a band graph in which the execution of the program is completed in about 20 minutes. The execution time of the program of the present embodiment is also referred to as a machining time because it is also a time when the work is machined and the machining of the work is completed.

一方、もう1つのグラフ(第2グラフ)は、工具移動経路を短くする変更処理Aと工具主軸の回転数を下げる変更処理Bとを行ったNCプログラムの実行時間を示した帯グラフの例である。第2グラフには、変更処理Aに対応する部分の時間を時間A1と時間A2として示し、変更処理Bに対応する部分の時間を時間B1と時間B2として示している。同様に、第1グラフにも、変更処理前の変更処理Aに対応する部分の時間を時間A1と時間A2として示し、変更処理前の変更処理Bに対応する部分の時間を時間B1と時間B2として示している。 On the other hand, the other graph (second graph) is an example of a band graph showing the execution time of the NC program in which the change process A for shortening the tool movement path and the change process B for lowering the rotation speed of the tool spindle are performed. be. In the second graph, the time of the portion corresponding to the change process A is shown as time A1 and time A2, and the time of the portion corresponding to the change process B is shown as time B1 and time B2. Similarly, in the first graph, the time of the part corresponding to the change process A before the change process is shown as time A1 and time A2, and the time of the part corresponding to the change process B before the change process is time B1 and time B2. It is shown as.

図5においては、グラフ表示エリアに第1グラフと第2グラフとが並んで表示されているため、NCプログラムの実行による加工時間が第2グラフの方が短くなっていることが直感的に分る。また、変更処理Aは、加工時間を短縮することに寄与しているが、変更処理Bは、加工時間の短縮には寄与しておらず加工時間自体は長くなっている。そのため、ユーザは、表示部3に表示されている情報をもとに、加工時間の短縮を目的として、変更処理Aだけを行ったNCプログラムを選択し、ワークの加工を行うことを選択することもできる。この場合は、図5に示すA選択のボタンを押すかクリックする。 In FIG. 5, since the first graph and the second graph are displayed side by side in the graph display area, it is intuitively understood that the machining time by executing the NC program is shorter in the second graph. NS. Further, the change process A contributes to shortening the machining time, but the change process B does not contribute to shortening the machining time, and the machining time itself is long. Therefore, based on the information displayed on the display unit 3, the user selects an NC program in which only the change processing A is performed for the purpose of shortening the processing time, and selects to process the work. You can also. In this case, press or click the A selection button shown in FIG.

また、加工時間は少し伸びてしまうが、工具交換の頻度が少なくなるため工具を購入する費用を抑えることを目的として、変更処理Bだけを行ったNCプログラムを選択し、ワークの加工を行うことを選択することもできる。この場合は、図5に示すB選択のボタンを押すかクリックする。 In addition, although the machining time will be slightly extended, the frequency of tool changes will be reduced, so for the purpose of reducing the cost of purchasing tools, select an NC program that has performed only change processing B, and machine the workpiece. You can also select. In this case, press or click the B selection button shown in FIG.

図5においては、第2グラフは、変更処理Aと変更処理Bとを行ったNCプログラムを実行した際の加工時間を示している。この第2グラフに示される加工時間は、変更処理Bを行っているが何も変更処理をしないNCプログラムを実行した際の加工時間より短い。
そこで、2つの変更処理(変更処理Aと変更処理B)を行ったNCプログラムを用いてワークを加工することを選択することも可能である。この場合は、図5に示すAとBの両方を選択のボタンを押すかクリックする。
In FIG. 5, the second graph shows the machining time when the NC program in which the change process A and the change process B are performed is executed. The machining time shown in the second graph is shorter than the machining time when the NC program in which the change process B is performed but no change process is executed is executed.
Therefore, it is also possible to select to process the work by using an NC program that has performed two change processes (change process A and change process B). In this case, press or click the button for selecting both A and B shown in FIG.

以上のような実施形態1によれば、以下のような効果を奏する。
まず、1.ユーザはシミュレーション画像を見ながら変更処理を施したい箇所を直感的に選択でき、操作性を向上することができる。
さらに、表示部3に表示する態様によっては、次の効果を有する。
2.変更処理を施すことによって短縮される加工時間を直感的に把握し、当該変更処理を採用するか否かを判断しやすい。
3.互いに異なる二以上の変更処理をシミュレートする場合、各変更処理によって最適化される時間帯を直感的に把握し、いずれの変更処理を採用するか否かを判断しやすい。
According to the above-described first embodiment, the following effects are obtained.
First, 1. The user can intuitively select the part to be changed while looking at the simulation image, and the operability can be improved.
Further, it has the following effects depending on the mode of displaying on the display unit 3.
2. It is easy to intuitively grasp the processing time shortened by performing the change processing and determine whether or not to adopt the change processing.
3. 3. When simulating two or more change processes that are different from each other, it is easy to intuitively grasp the time zone optimized by each change process and determine which change process to adopt.

<実施形態2>
実施形態1の図3は、変更ボタンをクリックすれば、第2シミュレーション画像を生成する形態である。それに対して、実施形態2では、図7に示すように、変更ボタンをクリックした後に、別のウィンドウが開き、モーダル指令や座標を入力できる入力欄などがある編集画面を表示する形態である。
<Embodiment 2>
FIG. 3 of the first embodiment is a mode in which a second simulation image is generated by clicking the change button. On the other hand, in the second embodiment, as shown in FIG. 7, another window opens after clicking the change button, and an edit screen having an input field for inputting modal commands and coordinates is displayed.

例えば、図3に示す第1シミュレーション画像で変更したい工程を含む時点を選択し、シミュレーションをその時点で止め、対応するNCプログラムを確認する。NCプログラムの確認は、図3に表示されるNCプログラムの一部だけでなく、上下にスクロールさせて、作業者が気になる箇所を確認することができる。NCプログラムを確認し、変更したい場合は図3に示す変更ボタンを押すと、図7(a)に示す編集画面が表示される。 For example, in the first simulation image shown in FIG. 3, a time point including the process to be changed is selected, the simulation is stopped at that point, and the corresponding NC program is confirmed. The NC program can be confirmed not only by a part of the NC program displayed in FIG. 3, but also by scrolling up and down to confirm the part of interest to the operator. If you want to check the NC program and change it, press the change button shown in FIG. 3, and the edit screen shown in FIG. 7A is displayed.

図7(a)に示す編集画面は、選択された時のモーダル指令があればそのモーダル指令が表示され、本実施形態では「G00」のモーダル指令コードが表示されている。本実施形態の編集画面では、この「G00」のモーダル指令を編集可能になっているので、「G01」などに変更することができる。 On the edit screen shown in FIG. 7A, if there is a modal command at the time of selection, the modal command is displayed, and in the present embodiment, the modal command code of "G00" is displayed. On the edit screen of this embodiment, since the modal command of "G00" can be edited, it can be changed to "G01" or the like.

さらに、図7(a)に示した編集画面には、第1シミュレーション画像で選択した選択画像に対応した対応ブロックが選択点として表示されている。本実施形態では、X座標、Y座標、Z座標の座標が表示されており、それぞれX座標、Y座標、Z座標の数字を変更することができるようになっている。また、対応ブロックに対応した対応シミュレーション画像を表示している。これにより、シミュレーション画像を確認しながら、座標の数値を変更することができる。本実施形態では、ブロックは座標に関するものだけであったが、それに限定されない。ブロックそのものを表示して、自由に編集できるような編集画面でもよい。ここでのブロックに対応したシミュレーション画像は、選択されたブロックだけのシミュレーション動画だけでなく、選択されたブロックの前後のブロックを複数含めたシミュレーション動画でもよい。複数のブロックに対応したシミュレーション動画では、選択したブロックの動画が表示されているときに、背景画像の色を変えるなど、シミュレーション動画の中でも他の動画と識別できるようにしてもよい。 Further, on the editing screen shown in FIG. 7A, corresponding blocks corresponding to the selected image selected in the first simulation image are displayed as selection points. In the present embodiment, the X coordinate, the Y coordinate, and the Z coordinate are displayed, and the numbers of the X coordinate, the Y coordinate, and the Z coordinate can be changed, respectively. In addition, the corresponding simulation image corresponding to the corresponding block is displayed. This makes it possible to change the numerical values of the coordinates while checking the simulation image. In this embodiment, the blocks are only related to coordinates, but are not limited thereto. The editing screen may be such that the block itself is displayed and can be freely edited. The simulation image corresponding to the block here may be not only a simulation movie of only the selected block but also a simulation movie including a plurality of blocks before and after the selected block. In the simulation video corresponding to a plurality of blocks, when the video of the selected block is displayed, the color of the background image may be changed so that the simulation video can be distinguished from other videos.

編集画面で必要に応じて編集を行う。編集画面の内容を確認後、変更ボタンを再度押すと変更処理が行われ、変更後のNCプログラムに基づいた第2シミュレーション画像が生成される。生成された第2シミュレーション画像は、第2シミュレーション表示エリアに表示される。このようにすることで、作業者のニーズに応じたプログラムの変更を、作業者に直観的に分かりやすくし、プログラムをニーズに応じて正確に変更ができる。なお、編集画面は別ウィンドウであるが、別タブに表示する形でもよい。 Edit as necessary on the edit screen. After confirming the contents of the edit screen, when the change button is pressed again, the change process is performed and the second simulation image based on the changed NC program is generated. The generated second simulation image is displayed in the second simulation display area. By doing so, the change of the program according to the needs of the worker can be intuitively understood by the worker, and the program can be changed accurately according to the needs of the worker. Although the edit screen is a separate window, it may be displayed in a separate tab.

図7(b)においても、変更ボタンがクリックされると編集画面が別ウィンドウに表示される。編集画面では、選択された画面に対応する対応ブロックが選択点として表示されている。そのブロックの中でシリアルナンバーだけが編集可能になっている。本実施形態では、シリアルナンバーとブロックが対応しているため、対応ブロックを選択はしたものの、そこに表示されるシミュレーション画像を確認するとユーザの考えていたものと異なる場合がある。そこで、ブロック自体(本実施形態ではシリアル番号を変更)を変更する編集ができるようにしている。シリアル番号は、直接入力する形でもいいし、スクロールで選択できるようにしてもよい。シミュレーション表示エリアには、選択されたシリアル番号に対応したシミュレーション画像が表示される。 Also in FIG. 7B, when the change button is clicked, the edit screen is displayed in a separate window. On the edit screen, the corresponding block corresponding to the selected screen is displayed as a selection point. Only the serial number is editable in that block. In the present embodiment, since the serial number and the block correspond to each other, although the corresponding block is selected, it may be different from what the user thinks when checking the simulation image displayed there. Therefore, the block itself (in this embodiment, the serial number is changed) can be edited. The serial number may be entered directly or may be selected by scrolling. A simulation image corresponding to the selected serial number is displayed in the simulation display area.

<実施形態3>
本実施形態では、STL形式のデータからGコードを生成して付加加工の工作機械で加工物を作る形態について説明する。まず、CADデータをSTL形式のデータに変換し、加工物に使用する材料の情報や付加加工機の工作機械の情報をあわせて、変更前のGコードを作成する。Gコードを作成したらGコードに基づく加工物の作成過程を示す第1シミュレーション画像を生成する。生成された第1シミュレーション画像は、第1シミュレーション表示エリアに表示される。
<Embodiment 3>
In this embodiment, a mode in which a G code is generated from STL format data and a workpiece is produced by an additional machining machine tool will be described. First, the CAD data is converted into STL format data, and the information on the material used for the workpiece and the information on the machine tool of the additional processing machine are combined to create the G code before the change. After creating the G code, a first simulation image showing the process of creating the workpiece based on the G code is generated. The generated first simulation image is displayed in the first simulation display area.

第1シミュレーション表示エリアに表示された動画を見ながら、作業者は変更したい箇所がある場合はその箇所で動画を止める。その際に表示部3上に表示されている変更ボタンをクリックすると、対応するGコードの部分が最適化処理され、変更されたGコードが生成される。変更されたGコードに基づく第2シミュレーション画像が生成され、第2シミュレーション表示エリアに表示される。 While watching the moving image displayed in the first simulation display area, the operator stops the moving image at the place where he / she wants to change. At that time, when the change button displayed on the display unit 3 is clicked, the corresponding G code portion is optimized and the changed G code is generated. A second simulation image based on the modified G code is generated and displayed in the second simulation display area.

<その他>
情報処理装置1は、前述した実施形態に限定されるものではなく、適宜変更することができる。例えば、実施形態1では、第1生成部51および第2生成部52は、NCプログラムに基づいてシミュレーション画像を生成していたが、この構成に限定されるものではなく、加工物の構造データと、当該加工物を加工するために用いる工作機械の情報とに基づいて、シミュレーション画像を生成してもよい。
<Others>
The information processing device 1 is not limited to the above-described embodiment, and can be changed as appropriate. For example, in the first embodiment, the first generation unit 51 and the second generation unit 52 generate a simulation image based on the NC program, but the present invention is not limited to this configuration, and the structural data of the work piece and the work piece are used. , A simulation image may be generated based on the information of the machine tool used to process the workpiece.

この場合、第1生成部51は、加工物の構造データと工作機械の情報とをもとに第1シミュレーション画像を生成し、第1シミュレーション表示エリアに表示させる。また、変更処理部54は、第1シミュレーション画像に基づいて選択された時点に対応する加工物の構造データまたは工作機械の情報に対して、選択された加工物の構造データの該当箇所または工作機械の情報の該当箇所に変更処理を施す。そして、第2生成部52は、変更処理部54で変更処理された加工物の構造データと工作機械の情報とをもとに第2シミュレーション画像を生成し、第2シミュレーション表示エリアに表示させる。 In this case, the first generation unit 51 generates a first simulation image based on the structural data of the workpiece and the information of the machine tool, and displays it in the first simulation display area. Further, the change processing unit 54 sets the corresponding portion of the structural data of the selected workpiece or the machine tool with respect to the structural data of the workpiece or the information of the machine tool corresponding to the time selected based on the first simulation image. Change the relevant part of the information in. Then, the second generation unit 52 generates a second simulation image based on the structural data of the workpiece changed by the change processing unit 54 and the information of the machine tool, and displays it in the second simulation display area.

なお、構造データとしては、CADデータ、CL(Cutter Location)データ、STL形式のデータ、STEP(Standard for the Exchange of Product model data)形式のデータ、IGES(Initial Graphics Exchange Specification)形式のデータ、PARASOLID形式のデータ、SAT形式のデータ、ACIS形式のデータなどがある。また、工作機械の情報とは、工具に関する情報や工具の動作情報のみならず、機械原点や機械ストローク等のように、工作機械に固有の情報も含まれる。 The structural data includes CAD data, CL (Cutter Location) data, STL format data, STEP (Standard for the Exchange of Product model data) format data, IGES (Initial Graphics Exchange Specification) format data, and PARASOLID format. Data, SAT format data, ACIS format data, and the like. Further, the machine tool information includes not only information about the tool and tool operation information, but also information unique to the machine tool such as the machine origin and the machine stroke.

Claims (1)

(i)NCプログラムに基づく第1シミュレーション画像を表示する第1シミュレーション表示エリアと、(ii)前記NCプログラムを表示するとともに、前記第1シミュレーション画像に基づいて選択された時点に対応するブロックまたはパートプログラムを、前記NCプログラムの他の部分と識別できるように表示するNCプログラム表示エリアと、(iii)前記ブロックまたはパートプログラムに対して変更処理が施されたNCプログラムに基づく第2シミュレーション画像を表示する第2シミュレーション表示エリアと、を表示部に表示させる表示制御部を有し、
前記表示制御部は、前記ブロックまたはパートプログラムに対して変更処理を行う変更表示エリアをさらに前記表示部に表示させ、前記変更表示エリア内において、変更後のシミュレーション画像を表示する制御を行う、情報処理装置。
(I) A first simulation display area for displaying a first simulation image based on the NC program, and (ii) a block or part corresponding to a time point selected based on the first simulation image while displaying the NC program. An NC program display area that displays the program so that it can be distinguished from other parts of the NC program, and (iii) a second simulation image based on the NC program that has been modified for the block or part program are displayed. It has a second simulation display area and a display control unit for displaying on the display unit.
The display control unit further displays a change display area for performing change processing on the block or part program on the display unit, and controls to display a simulated image after the change in the change display area. Processing equipment.
JP2021065809A 2019-09-12 2021-04-08 Information processor Pending JP2021119478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021065809A JP2021119478A (en) 2019-09-12 2021-04-08 Information processor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019166083A JP6867457B2 (en) 2019-09-12 2019-09-12 Information processing device
JP2021065809A JP2021119478A (en) 2019-09-12 2021-04-08 Information processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019166083A Division JP6867457B2 (en) 2019-09-12 2019-09-12 Information processing device

Publications (2)

Publication Number Publication Date
JP2021119478A true JP2021119478A (en) 2021-08-12
JP2021119478A5 JP2021119478A5 (en) 2022-11-02

Family

ID=74863101

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019166083A Active JP6867457B2 (en) 2019-09-12 2019-09-12 Information processing device
JP2021065809A Pending JP2021119478A (en) 2019-09-12 2021-04-08 Information processor

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019166083A Active JP6867457B2 (en) 2019-09-12 2019-09-12 Information processing device

Country Status (1)

Country Link
JP (2) JP6867457B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6988017B1 (en) * 2021-06-07 2022-01-05 Dmg森精機株式会社 Information processing equipment and machine tools
JP6980357B1 (en) * 2021-06-07 2021-12-15 Dmg森精機株式会社 Information processing equipment and information processing programs
JP7218459B1 (en) 2022-02-14 2023-02-06 Dmg森精機株式会社 Information processing equipment, machine tools and information processing programs

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219906A (en) * 1988-07-08 1990-01-23 Fanuc Ltd Numerical control program correcting system for interactive numerical controller
JP3231661B2 (en) * 1997-05-29 2001-11-26 株式会社日平トヤマ Processing control device
JP4011372B2 (en) * 2002-03-13 2007-11-21 シチズンホールディングス株式会社 Machining program check method and check apparatus for numerically controlled machine tool, and numerically controlled machine tool provided with the same
JP5387188B2 (en) * 2009-07-13 2014-01-15 豊和工業株式会社 NC program analysis and editing apparatus, method, program, and storage medium
JP5469190B2 (en) * 2012-03-26 2014-04-09 ファナック株式会社 Machining program creation device capable of machining simulation on interactive screen
JP6616173B2 (en) * 2015-12-14 2019-12-04 Dmg森精機株式会社 Machining program editing device and machine tool equipped with the same
JP6705768B2 (en) * 2017-04-06 2020-06-03 ファナック株式会社 Information processing equipment

Also Published As

Publication number Publication date
JP2021043771A (en) 2021-03-18
JP6867457B2 (en) 2021-04-28

Similar Documents

Publication Publication Date Title
JP2021119478A (en) Information processor
US10379723B2 (en) Machining program editing apparatus and machine tool having the same
US9618928B2 (en) Simulation apparatus of numerical controller
JP5925976B1 (en) Machining program editing support device
WO2016051544A1 (en) Control device for machine tool
US10295987B2 (en) Machining program editing assist apparatus
US11009852B2 (en) Numerical controller and data editing method
KR20120085420A (en) Cutting shape input apparatus and method using interactive program in computer numarical control machine tools
US20190303517A1 (en) Simulation device
JP6638979B2 (en) Numerical control device with machining process management function and machining process management program
CN108693836B (en) Information processing apparatus
JP6865055B2 (en) Machining load analysis device, machining load analysis program, and machining load analysis system
JP5088826B2 (en) Processing condition generator
CN108693837B (en) Information processing apparatus
JP6878367B2 (en) Numerical control device
JP2021094644A (en) Off-line programming device and off-line programming method
KR20190082118A (en) Method of designing perforation of building materials with steel structure
US20220342381A1 (en) Managing a machine tool method, for example method of mapping toolpath data and machine code, a control device, and a machine tool
JP2016148887A (en) Ladder program edition device enabling edition with gesture operation of touch panel
JP6687582B2 (en) Information processing equipment
JP2010179388A (en) Robot teaching system
CN107423031B (en) Editing object positioning display method and device
JP2000039909A (en) Numerical control information creating device
JP6219866B2 (en) Numerical control device with display function and display program
US20180164787A1 (en) Nc program transfer apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230912

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20231106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240206