WO2015129739A1 - Machine tool - Google Patents

Machine tool Download PDF

Info

Publication number
WO2015129739A1
WO2015129739A1 PCT/JP2015/055379 JP2015055379W WO2015129739A1 WO 2015129739 A1 WO2015129739 A1 WO 2015129739A1 JP 2015055379 W JP2015055379 W JP 2015055379W WO 2015129739 A1 WO2015129739 A1 WO 2015129739A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
machining program
machining
machine tool
editing
Prior art date
Application number
PCT/JP2015/055379
Other languages
French (fr)
Japanese (ja)
Inventor
順一 ▲高▼口
洋栄 松田
Original Assignee
株式会社アマダマシンツール
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 株式会社アマダマシンツール filed Critical 株式会社アマダマシンツール
Publication of WO2015129739A1 publication Critical patent/WO2015129739A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • 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/4155Numerical 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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme

Definitions

  • the present invention relates to a machine tool capable of correcting, adding or deleting a machining program during operation.
  • a machine tool equipped with a control device can store a machining program in advance in a machining program storage area of the control device (NC device or the like). Then, the stored machining program is executed from the beginning to the end, the machine shaft is operated, and the desired machining can be performed (for example, see Patent Document 1).
  • NC device When machining using a machine tool, correct the unexecuted part of the machining program while executing the machining program saved in the machining program storage area of the control unit (NC device). There is a demand to add or delete a machining program after the last line of the machining program.
  • the conventional method is as follows.
  • the present invention has an object to prevent the machining time from being lost by changing the machining program during execution of the machining program, thereby preventing the machining from being stopped for the modification of the machining program.
  • machining program By adding a machining program during execution of the machining program, it is intended to prevent the machining from being stopped and the machine from stopping when the machining operator is absent, thereby eliminating machining time loss.
  • the present invention provides a machine tool that performs workpiece machining based on a machining program, an editing unit that edits the machining program during operation of the machine tool, and a standby that waits for execution of the machining program. Means for waiting for execution of the machining program when the editing by the editing means is recognized.
  • Another feature of the present invention is that the editing means executes correction, addition or deletion to the machining program.
  • machining program is stored in an external area of a machine tool control device (NC device or the like).
  • NC device machine tool control device
  • machining program is stored in an arithmetic device (such as a personal computer) outside the machine tool.
  • the machining program includes a plurality of machining programs, and a check program that is being changed is executed after execution of each machining program of the plurality of machining programs, and is currently being executed by the check program that is being changed.
  • the waiting means waits for the execution of the machining program.
  • the machine tool A will be described with reference to FIG.
  • the machine tool A includes a computer 1 having control software B, a control device (NC (Numerical Control) device or the like) C linked with the control software B, and a machine drive and processing unit D.
  • An input display device (input display means) 3 having a screen having a display function and an input function is connected to the computer 1.
  • the computer 1 has a CPU to which a ROM and a RAM are connected.
  • the NC apparatus C has a machining program storage area E, and the machining program is stored in the program storage area E.
  • the NC device C is also a computer and has a CPU to which a ROM and a RAM are connected.
  • the machining program can be stored in the external area of the NC device C of the machine tool A. Further, it is possible to store the machining program in an arithmetic device outside the machine tool A.
  • the machine drive and processing part D includes a table TB, a tool spindle TJ, a tool T, and a workpiece W.
  • the computer 1 Based on the control software B, the computer 1 functions as an editing means for editing the machining program during operation of the machine tool A.
  • the computer of the control device (NC device) C It functions as a waiting means for waiting for execution.
  • the computer 1 edits the machining program during the operation of the machine tool A, and the computer of the NC apparatus C waits for the execution of the machining program.
  • the machining program editing and the machining program execution standby may be performed only by the computer of the NC apparatus C.
  • the standby unit waits for execution of the machining program.
  • the editing means executes correction, addition or deletion with respect to the machining program.
  • the machining program is an NC program (numerical control program), for example, and instructions for each operation are arranged in the order of execution.
  • the machining program is divided into units that can be divided (here, it is divided into c pieces).
  • Machining program is started and “Machining program 1” is executed.
  • “in-change check program cp” is executed.
  • the control software B immediately ends the “checking program being changed”.
  • the workpiece W can move and rotate in each direction of the plane X axis, Y axis, and rotation A axis.
  • the tool T is movable and rotatable in each direction of the Z axis perpendicular to the plane and the B axis of rotation.
  • the configuration shown in FIG. 2 is an example of the machine drive and processing unit D of the machine tool A, and the present invention can be applied to machine drive and processing units of other configurations.
  • FIG. 13 is a flowchart of the machining program editing process performed during the machining operation of the machine tool A (or before the machining operation).
  • step SA11 in FIG. 13 the computer 1 displays an operating screen 3a as shown in FIG.
  • the screen 3a of the input display device 3 includes an upper instruction input unit X, a middle state display unit Y, and a lower instruction input unit Z.
  • the operating screen 3a as shown in FIG. 14 indicates that the first step is being processed in the middle state display portion Y.
  • step SA12 the computer 1 determines whether or not to edit the machining program. That is, the computer 1 determines whether or not the operator has pressed the editing instruction button X1 of the instruction input unit X in the upper stage of the operating screen 3a shown in FIG.
  • step SA13 the computer 1 displays an editing screen 3b as shown in FIG.
  • step SA14 the computer 1 determines a desired edit location of the machining program. That is, it is determined by the computer 1 whether or not the operator has designated the desired edit portion Y1 of the machining program displayed on the state display portion Y in the middle stage of the edit screen 3b shown in FIG.
  • step SA15 the computer 1 determines whether to change, add, or delete the machining program as the machining program edit. That is, it is determined by the computer 1 whether or not the operator has pressed the program change instruction button Z1, the additional instruction button Z2 or the deletion instruction button Z3 in the lower instruction input section Z of the editing screen 3b shown in FIG.
  • additional editing will be mainly described as machining program editing.
  • the computer 1 determines a machining program to be added in step SA16. That is, as shown in FIG. 18, the operator displays a list Y2 of additional programs on the middle stage Y of the editing screen 3b, and the computer 1 adds the additional programs 00004 and 0005 designated from the list Y2 of additional programs by the operator. Determined.
  • step SA19 the computer 1 edits the machining program.
  • the designated additional programs 00004 and 0005 are added to the designated edit desired location Y1.
  • the additional programs 00004 and 0005 are added and displayed at the desired edit location Y1 of the machining program displayed in the state display section Y in the middle of the edit screen 3b, and a transfer waiting state is entered.
  • step SA15 when it is determined in step SA15 that the machining program is to be changed, that is, when the operator presses the program change instruction button Z1 in the lower instruction input section Z of the editing screen 3b shown in FIG.
  • step SA19 the computer 1 determines a machining program to be changed. That is, the operator displays a list of change programs in the middle of the editing screen 3b, and the computer 1 determines the change program designated from the list of change programs by the operator.
  • step SA19 the computer 1 edits the machining program.
  • the designated change program is changed at the designated edit desired location.
  • step SA15 when it is determined in step SA15 that the machining program is to be deleted, that is, when the operator presses the delete instruction button Z3 in the instruction input section Z at the lower stage of the edit screen 3b shown in FIG.
  • step SA20 the computer 1 determines a machining program to be deleted. That is, it is determined by the computer 1 as a machining program to be deleted by the editing desired portion designated by the operator.
  • step SA19 the computer 1 edits the machining program.
  • the specified deletion program is deleted.
  • step SA01 of FIG. 3 the “in-change check program cp” is started.
  • step SA02 whether the computer of the NC device C is changing, adding or deleting the next machining program of the currently executing program. Judge whether or not. If it is determined that the machining program next to the program currently being executed is being changed, added, or deleted, the computer of the NC apparatus C repeats the process of step SA02 to enter a standby state to be described later.
  • the designated editing location is the next machining program (predetermined location) of the currently executing program, and the designated editing location is the next machining program (predetermined location) of the currently executing program. ), The program is in a standby state even if the currently executing program ends.
  • step SA03 If it is determined that the next machining program currently being executed is not being changed, added, or deleted, the computer of the NC device C ends the “in-change check program cp” in step SA03.
  • step SA01 to step SA03 The processing from step SA01 to step SA03 is executed each time when it is recognized whether correction, addition or deletion is in progress, as will be described in a specific example described later.
  • the control software B changes the machining program.
  • “machining program b + 1” to “machining program c” are changed.
  • some specific machining programs in the “machining program b + 1” to “machining program c” may be changed.
  • the checking program cp” after “machining program b” makes an inquiry to the control software B. If the next machining program b + 1 is being changed, the process waits without proceeding to the next “machining program b + 1”.
  • the “during-change check program cp” is also terminated, and the process proceeds to “machining program b + 1”.
  • the “in-change check program cp” the above-described steps SA01 to SA03 are executed.
  • the checking program being changed” after the “machining program c” inquires the control software B. If the machining program is being added, the process waits without proceeding to the next “machining program c + 1”.
  • Case 3 is a case where the machining program is deleted (edited). It is assumed that it becomes a situation where it is desired to delete a part of the unexecuted machining program while executing the “machining program a”. In this case, the control software B deletes the machining program.
  • machining program b + 1” to “machining program c” and an in-change check program cp after each machining program are deleted.
  • machining program b + 1” to “machining program c” are deleted.
  • some specific machining programs may be deleted.
  • the checking program cp after “machining program b” makes an inquiry to the control software B. If the machining program is being deleted, the process waits without proceeding to the next “machining program b + 1”. In the changing check program cp, the processes of steps SA01 to SA03 are executed.
  • the “in-change check program cp” is also ended, and the processing ends. However, if the “machining program c + 1” or the like follows, the machining program continues to be executed.
  • the “machining program external storage area G” of the “machining program storage device F” may be a USB memory, for example.
  • the checking program for changing is arranged for each machining program in the machining program storage area.
  • one machining program is being changed.
  • a check program may be prepared, and the checking program being changed may be called and executed at the end of each machining program.
  • FIG. 22 shows an embodiment in which one changing check program is arranged in a machining program storage area in the computer of the NC apparatus C for a plurality of machining programs.
  • the changing check program is called by the changing check program call code, and the changing check program is executed.
  • the execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
  • FIG. 23 shows an embodiment in which one in-change check program is arranged in the control software of the computer 1 for a plurality of machining programs in the machining program storage area in the computer of the NC apparatus C.
  • the changing check program is called from the control software of the computer 1 by the changing check program call code, and the changing check program is executed.
  • the execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
  • FIG. 24 only the start command program and the end command program are arranged in the machining program storage area in the computer of the NC apparatus C, and a plurality of machining programs and one in-change check program are stored outside the machining program of the computer 1. It is an embodiment arranged in the machining program external storage area G of the apparatus F. As shown in FIG. 24, for example, when the machining program 1 in the machining program external storage area is started by the activation command program, the changing check program is called by the changing check program call code, and the changing check program is Executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
  • a start command program, an end command program, and a check program being changed are arranged in the machining program storage area in the computer of the NC device C, and a plurality of machining programs are stored in the machining program external storage device F of the computer 1. It is an embodiment arranged in the machining program external storage area G. As shown in FIG. 25, for example, when the machining program 1 in the machining program external storage area is started by the activation command program, the changing check program is called from the machining program storage area by the changing check program call code. The check program during change is executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
  • FIG. 26 shows an embodiment in which one changing check program is arranged in a ladder in the electric circuit of the NC apparatus C for a plurality of machining programs.
  • the changing check program is called from the ladder by the changing check program call code, and the changing check program is executed.
  • the execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
  • the machining program can be edited while the machining program is being executed.
  • the machining time can be reduced when the machining program needs to be edited after the machining program starts to be executed.

Landscapes

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

Abstract

 The present invention relates to a machine tool (A) being operated on the basis of a work program. In addition, the machine tool is provided with an editing means and holding means. The editing means is capable of editing the work program while the machine tool (A) is being operated on the basis of the work program, and the holding means temporarily holds the execution of the work program. When the editing means recognizes that the work program is being edited, the holding means holds the execution of the work program.

Description

工作機械Machine Tools
 本発明は、運転中に加工プログラムの修正、追加または削除が可能な工作機械に関する。 The present invention relates to a machine tool capable of correcting, adding or deleting a machining program during operation.
 制御装置(NC装置等)を搭載している工作機械は一般的に、制御装置(NC装置等)の持つ加工プログラムの保存領域に予め加工プログラムを保存しておくことができる。そして、保存した加工プログラムを先頭から最後まで実行し、機械軸を動作させ、目的の加工をおこなうことができる(例えば、特許文献1参照)。 In general, a machine tool equipped with a control device (NC device or the like) can store a machining program in advance in a machining program storage area of the control device (NC device or the like). Then, the stored machining program is executed from the beginning to the end, the machine shaft is operated, and the desired machining can be performed (for example, see Patent Document 1).
特開昭63-250712JP 63-250712 A 特開2002-341912JP 2002-341912 A 特開平8-57747JP-A-8-57747 特開昭63-46513JP-A 63-46513
  工作機械を利用して加工をおこなう場合において、制御装置(NC装置)の持つ加工プログラムの保存領域に保存された加工プログラムを実行している途中で、その加工プログラムの未実行部分を修正したり、その加工プログラムの最終行の後ろにさらに加工プログラムを追加したり、削除したいという要求がある。 When machining using a machine tool, correct the unexecuted part of the machining program while executing the machining program saved in the machining program storage area of the control unit (NC device). There is a demand to add or delete a machining program after the last line of the machining program.
 しかし、加工プログラムの実行中に加工プログラムを編集(修正、追加または削除)しようとすると、編集(修正、追加または削除)途中に加工プログラムが編集(修正、追加または削除)箇所に到達してしまう可能性があることがから、加工プログラムの実行中に加工プログラムを編集(修正、追加または削除)することは通常不可能である。 However, if you attempt to edit (modify, add or delete) a machining program while the machining program is running, the machining program reaches the edit (modify, add or delete) location during editing (modify, add or delete). Because of the possibilities, it is usually impossible to edit (modify, add or delete) a machining program during execution of the machining program.
 以上の理由から、従来では以下のようにおこなっている。 For the above reasons, the conventional method is as follows.
 (1)すでに実行し始めてしまった加工プログラムの未実行部分を修正したい場合は、途中で実行を止めて加工プログラムを修正し、加工プログラムを明らかに実行が終わっているところから、あるいは最初からスタートさせなければならない。加工時間が長いものは100時間以上におよぶ場合もあり、この場合、途中で実行を止めて最初からやり直すのは数十時間以上のロスになることもある。 (1) If you want to correct an unexecuted part of a machining program that has already begun to be executed, stop the execution and modify the machining program, and start from the point where the machining program has been clearly executed or from the beginning. I have to let it. In some cases, the processing time is longer than 100 hours, and in this case, it may be a loss of several tens of hours or more if the execution is stopped halfway and started again from the beginning.
 (2)すでに実行し始めてしまった加工プログラムの後ろにさらに加工プログラムを追加したい場合は、現在の加工が終了するまで待ってから追加の加工プログラムを保存し、実行しなければならない。この時、現在の加工プログラムの終了が深夜であったり週末であったりすると、翌日などに加工オペレータが出勤するまで加工がストップしてしまい、これも数時間~数十時間のロスになってしまう。 (2) If you want to add a machining program after a machining program that has already begun to be executed, you must wait for the current machining to finish before saving and running the additional machining program. At this time, if the current machining program ends at midnight or on a weekend, the machining will stop until the machining operator goes to work the next day, etc., which will also result in a loss of several hours to several tens of hours. .
 (3)すでに実行し始めてしまった加工プログラムの未実行の加工プログラムの一部が不要になり削除したい場合は、ちょうどよいところで加工プログラムを中止できればよいが現実的に難しい。従って、加工プログラムの一部が不要と判断した時点で実行を止めて加工プログラムの一部を削除し、プログラムを明らかに実行が終わっているところから、あるいは最初からスタートさせなければならない。この場合、途中で実行を止めて最初からやり直すのは数十時間以上のロスになることもある。 (3) If a part of an unexecuted machining program of a machining program that has already started to be executed becomes unnecessary and it is desired to delete it, it is only difficult to stop the machining program at the right place, but it is practically difficult. Therefore, when it is determined that a part of the machining program is unnecessary, the execution is stopped, a part of the machining program is deleted, and the program must be started from the point where the execution is clearly finished or from the beginning. In this case, stopping execution halfway and starting over from the beginning may result in a loss of tens of hours or more.
 本発明は、加工プログラムの実行中に加工プログラムを変更することで、加工プログラムの修正のために加工を中止することを防ぎ、加工時間のロスをなくすことを目的とする。 The present invention has an object to prevent the machining time from being lost by changing the machining program during execution of the machining program, thereby preventing the machining from being stopped for the modification of the machining program.
 また、加工プログラムの実行中に加工プログラムを追加することで、加工オペレータの不在時に加工が終了し機械が停止することを防ぎ、加工時間のロスをなくすことを目的とする。 Also, by adding a machining program during execution of the machining program, it is intended to prevent the machining from being stopped and the machine from stopping when the machining operator is absent, thereby eliminating machining time loss.
 さらに、加工プログラムの実行中に加工プログラムを削除することで、加工プログラムの削除のために加工を中止することを防ぎ、加工時間のロスをなくすことを目的とする。 Furthermore, by deleting the machining program during execution of the machining program, it is intended to prevent the machining from being stopped due to the deletion of the machining program and to eliminate the loss of machining time.
 上記課題を解決するために、本発明は、加工プログラムに基づきワーク加工を行う工作機械において、工作機械の運転中に前記加工プログラムの編集を行う編集手段と、前記加工プログラムの実行を待機させる待機手段とを備え、前記編集手段による編集を認識した場合に、前記待機手段が前記加工プログラムの実行を待機させることを特徴とする。 In order to solve the above-described problems, the present invention provides a machine tool that performs workpiece machining based on a machining program, an editing unit that edits the machining program during operation of the machine tool, and a standby that waits for execution of the machining program. Means for waiting for execution of the machining program when the editing by the editing means is recognized.
 本発明の他の特徴は、前記編集手段が、前記加工プログラムに対する修正、追加または削除を実行することである。 Another feature of the present invention is that the editing means executes correction, addition or deletion to the machining program.
 本発明の他の特徴は、工作機械の制御装置(NC装置等)の外部領域に前記加工プログラムを保存することである。 Another feature of the present invention is that the machining program is stored in an external area of a machine tool control device (NC device or the like).
 本発明の他の特徴は、工作機械の外の演算装置(パソコン等)に前記加工プログラムを保存することである。 Another feature of the present invention is that the machining program is stored in an arithmetic device (such as a personal computer) outside the machine tool.
 本発明の他の特徴は、前記加工プログラムが複数の加工プログラムからなり、前記複数の加工プログラムの各加工プログラムの実行後に、変更中チェックプログラムが実行され、前記変更中チェックプログラムにより、現在実行中のプログラムの次の加工プログラムが編集中であることが判明した場合、前記待機手段が前記加工プログラムの実行を待機させることである。 Another feature of the present invention is that the machining program includes a plurality of machining programs, and a check program that is being changed is executed after execution of each machining program of the plurality of machining programs, and is currently being executed by the check program that is being changed. When it is found that the next machining program of the program is being edited, the waiting means waits for the execution of the machining program.
工作機械の全体の構成を示す構成図である。It is a block diagram which shows the structure of the whole machine tool. 工作機械の機械構造を説明する説明図である。It is explanatory drawing explaining the machine structure of a machine tool. 工作機械Aの運転中に行われる加工プログラムの編集処理のフローチャートである。It is a flowchart of the edit process of the machining program performed while the machine tool A is in operation. 加工プログラムの実行中の状態を説明する説明図である。It is explanatory drawing explaining the state in execution of the process program. 加工プログラムの変更を説明する説明図である。It is explanatory drawing explaining the change of a process program. 加工プログラムの変更中に加工プログラムは進んだ場合の説明図である。It is explanatory drawing when a machining program progresses during the change of a machining program. 加工プログラムの追加を説明する説明図である。It is explanatory drawing explaining the addition of a process program. 加工プログラムの追加中に加工プログラムが進んだ場合の説明図である。It is explanatory drawing when a machining program advances during the addition of a machining program. 加工プログラムの削除を説明する説明図である。It is explanatory drawing explaining deletion of a processing program. 加工プログラムの削除中に加工プログラムが進んだ場合の説明図である。It is explanatory drawing when a machining program progresses during deletion of a machining program. 制御装置の外部領域に加工プログラムを保存する場合の説明図である。It is explanatory drawing in the case of preserve | saving a machining program in the external area | region of a control apparatus. 工作機械の外の演算装置に加工プログラムを保存する場合の説明図である。It is explanatory drawing in the case of preserve | saving a machining program in the arithmetic unit outside a machine tool. 工作機械Aの運転中に行われる加工プログラムの編集処理のフローチャートである。It is a flowchart of the edit process of the machining program performed while the machine tool A is in operation. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 加工プログラムの編集処理における入力表示装置の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the input display apparatus in the edit process of a process program. 複数の加工プログラムに対して1つの変更中チェックプログラムを用意した実施形態の全体構成図である。It is the whole block diagram of the embodiment which prepared one check program during change for a plurality of processing programs. 複数の加工プログラムに対して1つの変更中チェックプログラムを用意した実施形態の全体構成図である。It is the whole block diagram of the embodiment which prepared one check program during change for a plurality of processing programs. 複数の加工プログラムに対して1つの変更中チェックプログラムを用意した実施形態の全体構成図である。It is the whole block diagram of the embodiment which prepared one check program during change for a plurality of processing programs. 複数の加工プログラムに対して1つの変更中チェックプログラムを用意した実施形態の全体構成図である。It is the whole block diagram of the embodiment which prepared one check program during change for a plurality of processing programs. 複数の加工プログラムに対して1つの変更中チェックプログラムを用意した実施形態の全体構成図である。It is the whole block diagram of the embodiment which prepared one check program during change for a plurality of processing programs.
 以下、図面を用いて本発明を実施した実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
 図1を参照し、工作機械Aを説明する。工作機械Aは、制御ソフトウェアBを有するコンピュータ1と、この制御ソフトウェアBがリンクした制御装置(NC(Numerical Control)装置等)Cと、機械駆動および加工部Dとを備えている。コンピュータ1には、表示機能と入力機能とを有する画面を備えた入力表示装置(入力表示手段)3が接続されている。コンピュータ1は、ROMおよびRAMが接続されたCPUを有している。 The machine tool A will be described with reference to FIG. The machine tool A includes a computer 1 having control software B, a control device (NC (Numerical Control) device or the like) C linked with the control software B, and a machine drive and processing unit D. An input display device (input display means) 3 having a screen having a display function and an input function is connected to the computer 1. The computer 1 has a CPU to which a ROM and a RAM are connected.
 NC装置Cは加工プログラム保存領域Eを有し、このプログラム保存領域Eには加工プログラムが保存される。なお、NC装置Cも、コンピュータからなり、ROMおよびRAMが接続されたCPUを有している。 The NC apparatus C has a machining program storage area E, and the machining program is stored in the program storage area E. The NC device C is also a computer and has a CPU to which a ROM and a RAM are connected.
 また、工作機械AのNC装置Cの外部領域に加工プログラムを保存することが可能である。さらに、工作機械Aの外の演算装置に加工プログラムを保存することも可能である。 Also, the machining program can be stored in the external area of the NC device C of the machine tool A. Further, it is possible to store the machining program in an arithmetic device outside the machine tool A.
 機械駆動および加工部Dは、テーブルTBと、工具主軸TJと、工具Tと、ワークWとを有する。 The machine drive and processing part D includes a table TB, a tool spindle TJ, a tool T, and a workpiece W.
 制御ソフトウェアBに基づいて、コンピュータ1は、工作機械Aの運転中に加工プログラムの編集を行う編集手段として機能し、制御ソフトウェアBに基づいて、制御装置(NC装置)Cのコンピュータは、加工プログラムの実行を待機させる待機手段として機能する。 Based on the control software B, the computer 1 functions as an editing means for editing the machining program during operation of the machine tool A. On the basis of the control software B, the computer of the control device (NC device) C It functions as a waiting means for waiting for execution.
 また、本実施形態では、工作機械Aの運転中に加工プログラムの編集をコンピュータ1が行い、加工プログラムの実行の待機をNC装置Cのコンピュータが行うようになっているが、工作機械Aの運転中に加工プログラムの編集および加工プログラムの実行の待機をNC装置Cのコンピュータのみで行うようにしても良い。 In this embodiment, the computer 1 edits the machining program during the operation of the machine tool A, and the computer of the NC apparatus C waits for the execution of the machining program. The machining program editing and the machining program execution standby may be performed only by the computer of the NC apparatus C.
 編集手段による編集を認識した場合に、待機手段が加工プログラムの実行を待機する。編集手段は、加工プログラムに対する修正、追加または削除を実行する。 When the editing unit recognizes editing, the standby unit waits for execution of the machining program. The editing means executes correction, addition or deletion with respect to the machining program.
 加工プログラムは例えばNCプログラム(数値制御プログラム)のようなもので、各動作等の命令が実行順に並んでいる。 The machining program is an NC program (numerical control program), for example, and instructions for each operation are arranged in the order of execution.
 事前準備として、加工プログラムは分割できる単位で分割しておく(ここではc個に分割したとする)。 As a preliminary preparation, the machining program is divided into units that can be divided (here, it is divided into c pieces).
 c個の加工プログラムを、NC装置Cの加工プログラム保存領域内Eに加工プログラム1~cとして保存する。 C Save the machining programs as machining programs 1 to c in the machining program storage area E of the NC unit C.
 それぞれの加工プログラム1~cの後に「変更中チェックプログラムcp」を配置する。 ”After the machining programs 1 to c,“ in-change check program cp ”is arranged.
 この結果、加工プログラムを開始すると「加工プログラム1」、「変更中チェックプログラムcp」、「加工プログラム2」、「変更中チェックプログラムcp」、・・・、「加工プログラムc」、「変更中チェックプログラムcp」の順で実行される状態となっている。 As a result, when the machining program is started, “machining program 1”, “in-change check program cp”, “machining program 2”, “in-change check program cp”,..., “Machining program c”, “in-change check” The program is executed in the order of “program cp”.
 加工プログラムを開始し、「加工プログラム1」が実行される。「加工プログラム1」の実行が終了したら、「変更中チェックプログラムcp」が実行される。ただし、このタイミングでは制御ソフトウェアBは、加工プログラム保存領域Eを変更中ではない場合、すぐに「変更中チェックプログラム」は終了する。 Machining program is started and “Machining program 1” is executed. When the execution of “machining program 1” is completed, “in-change check program cp” is executed. However, at this timing, if the machining program storage area E is not being changed, the control software B immediately ends the “checking program being changed”.
 図2を参照する。工作機械Aの機械駆動および加工部Dにおいて、ワークWは、平面のX軸、Y軸と、回転のA軸の各方向に移動、回転可能である。また、工具Tは前記平面に垂直なZ軸と回転のB軸の各方向に移動、回転可能である。 Refer to FIG. In the machine drive and processing part D of the machine tool A, the workpiece W can move and rotate in each direction of the plane X axis, Y axis, and rotation A axis. The tool T is movable and rotatable in each direction of the Z axis perpendicular to the plane and the B axis of rotation.
 図2に示す構成は、工作機械Aの機械駆動および加工部Dの一例であり、他の構成の機械駆動および加工部にも、本発明を適用することができる。 The configuration shown in FIG. 2 is an example of the machine drive and processing unit D of the machine tool A, and the present invention can be applied to machine drive and processing units of other configurations.
 図13は、工作機械Aの加工運転中(あるいは加工運転前)に行われる加工プログラムの編集処理のフローチャートである。 FIG. 13 is a flowchart of the machining program editing process performed during the machining operation of the machine tool A (or before the machining operation).
 まず、工作機械Aの運転中においては、図13のステップSA11において、コンピュータ1は、入力表示装置3上に、図14に示すような運転中の画面3aを表示する。 First, during operation of the machine tool A, in step SA11 in FIG. 13, the computer 1 displays an operating screen 3a as shown in FIG.
 ここで、入力表示装置3の画面3aは、上段の指示入力部Xと、中段の状態表示部Yと、下段の指示入力部Zとを有している。図14に示すような運転中の画面3aでは、中段の状態表示部Yにおいて、1工程目が加工中であることが示されている。 Here, the screen 3a of the input display device 3 includes an upper instruction input unit X, a middle state display unit Y, and a lower instruction input unit Z. The operating screen 3a as shown in FIG. 14 indicates that the first step is being processed in the middle state display portion Y.
 次に、ステップSA12において、コンピュータ1は、加工プログラムの編集を行うか否かを判断する。すなわち、オペレータにより、図15に示す運転中の画面3aの上段の指示入力部Xの編集の指示ボタンX1が押されたか否かがコンピュータ1により判定される。 Next, in step SA12, the computer 1 determines whether or not to edit the machining program. That is, the computer 1 determines whether or not the operator has pressed the editing instruction button X1 of the instruction input unit X in the upper stage of the operating screen 3a shown in FIG.
 スケジュールの指示ボタンX1が押されると、加工プログラムの編集を行うこととなり、ステップSA13において、コンピュータ1は、入力表示装置3上に、図16に示すような編集画面3bを表示する。 When the schedule instruction button X1 is pressed, the machining program is edited. In step SA13, the computer 1 displays an editing screen 3b as shown in FIG.
 ステップSA14において、コンピュータ1は、加工プログラムの編集希望個所を判断する。すなわち、オペレータにより、図16に示す編集画面3bの中段の状態表示部Yに表示された加工プログラムの編集希望個所Y1が指定されたか否かがコンピュータ1により判定される。 In step SA14, the computer 1 determines a desired edit location of the machining program. That is, it is determined by the computer 1 whether or not the operator has designated the desired edit portion Y1 of the machining program displayed on the state display portion Y in the middle stage of the edit screen 3b shown in FIG.
 ステップSA15において、コンピュータ1は、加工プログラムの編集として、加工プログラムの変更あるいは追加あるいは削除を行うか否かを判断する。すなわち、オペレータにより、図16に示す編集画面3bの下段の指示入力部Zのプログラム変更の指示ボタンZ1あるいは追加の指示ボタンZ2あるいは削除の指示ボタンZ3が押されたか否かがコンピュータ1により判定される。これ以降は、加工プログラムの編集として追加編集を中心に説明する。 In step SA15, the computer 1 determines whether to change, add, or delete the machining program as the machining program edit. That is, it is determined by the computer 1 whether or not the operator has pressed the program change instruction button Z1, the additional instruction button Z2 or the deletion instruction button Z3 in the lower instruction input section Z of the editing screen 3b shown in FIG. The In the following, additional editing will be mainly described as machining program editing.
 ここで、図17に示すように、プログラム追加の指示ボタンZ2が押されると、ステップSA16において、コンピュータ1は、追加する加工プログラムを判断する。すなわち、オペレータにより、図18に示すように、編集画面3bの中段Yに追加プログラムのリストY2が表示され、オペレータにより、追加プログラムのリストY2内から指定された追加プログラム00004、00005がコンピュータ1により判定される。 Here, as shown in FIG. 17, when the program addition instruction button Z2 is pressed, the computer 1 determines a machining program to be added in step SA16. That is, as shown in FIG. 18, the operator displays a list Y2 of additional programs on the middle stage Y of the editing screen 3b, and the computer 1 adds the additional programs 00004 and 0005 designated from the list Y2 of additional programs by the operator. Determined.
 そして、ステップSA19において、コンピュータ1は、加工プログラムの編集を行う。 In step SA19, the computer 1 edits the machining program.
 この場合、指定された追加プログラム00004、00005を指定された編集希望個所Y1に追加する。 In this case, the designated additional programs 00004 and 0005 are added to the designated edit desired location Y1.
 すなわち、図19に示すように、編集画面3bの中段の状態表示部Yに表示された加工プログラムの編集希望個所Y1に追加プログラム00004、00005が追加されて表示され、転送待ち状態となる。 That is, as shown in FIG. 19, the additional programs 00004 and 0005 are added and displayed at the desired edit location Y1 of the machining program displayed in the state display section Y in the middle of the edit screen 3b, and a transfer waiting state is entered.
 そして、図20に示すように、オペレータにより、編集画面3bの下段の指示入力部Zの転送指示ボタンZ4が押されると、追加プログラム00004、00005がNC装置Cの加工プログラム保存領域内Eに転送され、図21に示すように、追加プログラム00004、00005が追加されて加工待ち状態となる。 Then, as shown in FIG. 20, when the operator presses the transfer instruction button Z4 of the instruction input section Z at the lower stage of the edit screen 3b, the additional programs 00004 and 00005 are transferred to the machining program storage area E of the NC device C. Then, as shown in FIG. 21, the additional programs 00004 and 0005 are added to enter the machining standby state.
 次に、上記ステップSA15において加工プログラムの変更を行うと判定された場合、すなわち、オペレータにより、図17に示す編集画面3bの下段の指示入力部Zのプログラム変更の指示ボタンZ1が押された場合、ステップSA19において、コンピュータ1は、変更する加工プログラムを判断する。すなわち、オペレータにより、編集画面3bの中段に変更プログラムのリストが表示され、オペレータにより、変更プログラムのリスト内から指定された変更プログラムがコンピュータ1により判定される。 Next, when it is determined in step SA15 that the machining program is to be changed, that is, when the operator presses the program change instruction button Z1 in the lower instruction input section Z of the editing screen 3b shown in FIG. In step SA19, the computer 1 determines a machining program to be changed. That is, the operator displays a list of change programs in the middle of the editing screen 3b, and the computer 1 determines the change program designated from the list of change programs by the operator.
 ステップSA19において、コンピュータ1は、加工プログラムの編集を行う。この場合、指定された変更プログラムを指定された編集希望個所において変更する。 In step SA19, the computer 1 edits the machining program. In this case, the designated change program is changed at the designated edit desired location.
 次に、上記ステップSA15において加工プログラムの削除を行うと判定された場合、すなわち、オペレータにより、図17に示す編集画面3bの下段の指示入力部Zの削除の指示ボタンZ3が押された場合、ステップSA20において、コンピュータ1は、削除する加工プログラムを判断する。すなわち、オペレータにより指定された編集希望個所が削除する加工プログラムとしてコンピュータ1により判定される。 Next, when it is determined in step SA15 that the machining program is to be deleted, that is, when the operator presses the delete instruction button Z3 in the instruction input section Z at the lower stage of the edit screen 3b shown in FIG. In step SA20, the computer 1 determines a machining program to be deleted. That is, it is determined by the computer 1 as a machining program to be deleted by the editing desired portion designated by the operator.
 ステップSA19において、コンピュータ1は、加工プログラムの編集を行う。この場合、指定された削除プログラムを削除する。 In step SA19, the computer 1 edits the machining program. In this case, the specified deletion program is deleted.
 このNC装置Cのコンピュータによる変更チェック処理について図3を参照して以下に説明する。 The change check process by the computer of this NC apparatus C will be described below with reference to FIG.
 図3のステップSA01では、「変更中チェックプログラムcp」を開始し、ステップSA02では、NC装置Cのコンピュータは、現在実行中プログラムの次の加工プログラムを変更中、追加中または削除中であるか否かを判断する。現在実行中のプログラムの次の加工プログラムを変更中、追加中または削除中であると判断した場合、NC装置Cのコンピュータは、ステップSA02の処理を繰り返し、後述する待機状態とする。 In step SA01 of FIG. 3, the “in-change check program cp” is started. In step SA02, whether the computer of the NC device C is changing, adding or deleting the next machining program of the currently executing program. Judge whether or not. If it is determined that the machining program next to the program currently being executed is being changed, added, or deleted, the computer of the NC apparatus C repeats the process of step SA02 to enter a standby state to be described later.
 すなわち、指定された編集個所が現在実行中のプログラムの次の加工プログラム(所定の個所)か否かを判断し、指定された編集個所が現在実行中のプログラムの次の加工プログラム(所定の個所)である場合には、現在実行中のプログラムが終了しても待機状態とする。 That is, it is determined whether or not the designated editing location is the next machining program (predetermined location) of the currently executing program, and the designated editing location is the next machining program (predetermined location) of the currently executing program. ), The program is in a standby state even if the currently executing program ends.
 現在実行中の次の加工プログラムを変更中、追加中または削除中でないと判断した場合、NC装置Cのコンピュータは、ステップSA03において、「変更中チェックプログラムcp」を終了する。 If it is determined that the next machining program currently being executed is not being changed, added, or deleted, the computer of the NC device C ends the “in-change check program cp” in step SA03.
 上記ステップSA01~ステップSA03までの処理は、後述する具体例で説明するように、修正、追加または削除中であるか否かを認識するときにその都度実行される。 The processing from step SA01 to step SA03 is executed each time when it is recognized whether correction, addition or deletion is in progress, as will be described in a specific example described later.
 次に、変更チェック処理の具体例の説明を行う。 Next, a specific example of the change check process will be described.
 以下の説明では、図4に示すように、「加工プログラム1」、「加工プログラム2」、「加工プログラムa-1」を実行し、現時点では「加工プログラムa」が実行中であるとする。 In the following explanation, as shown in FIG. 4, it is assumed that “machining program 1”, “machining program 2”, and “machining program a-1” are executed, and that “machining program a” is currently being executed.
 図5を参照する。ケース1として、加工プログラムを変更(編集)する場合を説明する。 Refer to FIG. As case 1, a case where the machining program is changed (edited) will be described.
 「加工プログラムa」を実行中に、未実行の加工プログラムを変更したい状況となったとする。この場合には、制御ソフトウェアBが加工プログラムの変更をおこなう。ここではたとえば、「加工プログラムb+1」~「加工プログラムc」を変更する例を示す。実際には、「加工プログラムb+1」~「加工プログラムc」の中の特定のいくつかの加工プログラムを変更することもある。 Suppose that you want to change an unexecuted machining program while executing “Machining program a”. In this case, the control software B changes the machining program. Here, for example, “machining program b + 1” to “machining program c” are changed. In practice, some specific machining programs in the “machining program b + 1” to “machining program c” may be changed.
 図6を参照する。加工プログラムの変更中に、加工プログラムbが終了した場合について説明する。 Refer to FIG. A case where the machining program b is terminated while the machining program is changed will be described.
 制御ソフトウェアBが「加工プログラムb+1」~「加工プログラムc」を変更している途中で加工プログラムが進み加工プログラムbが終了した場合に、変更途中の加工プログラムの実行がされないように以下のように処理される。 When the control program B changes the “machining program b + 1” to “machining program c” and the machining program advances and the machining program b ends, the machining program being changed is not executed as follows. It is processed.
 「加工プログラムb」の後の「変更中チェックプログラムcp」が制御ソフトウェアBに問い合わせ、次の加工プログラムb+1の変更処理中であれば次の「加工プログラムb+1」に進まずに待機する。 “The checking program cp” after “machining program b” makes an inquiry to the control software B. If the next machining program b + 1 is being changed, the process waits without proceeding to the next “machining program b + 1”.
 加工プログラムの変更処理が終了したら、「変更中チェックプログラムcp」も終了し、「加工プログラムb+1」に進む。「変更中チェックプログラムcp」では上述のステップSA01~ステップSA03が実行される。 When the machining program change processing is completed, the “during-change check program cp” is also terminated, and the process proceeds to “machining program b + 1”. In the “in-change check program cp”, the above-described steps SA01 to SA03 are executed.
 図7を参照する。ケース2として、加工プログラムを追加(編集)する場合を説明する。「加工プログラムa」を実行中に、加工プログラムを追加したい状況となったとする。この場合には、制御ソフトウェアBが加工プログラムの追加をおこなう。ここではたとえば、「加工プログラムc」の後ろに、「加工プログラムc+1」~「加工プログラムd」および追加したそれぞれの加工プログラムの後の変更中チェックプログラムを追加する例を示す。 Refer to FIG. As case 2, a case where a machining program is added (edited) will be described. Assume that a situation in which a machining program is desired to be added during execution of “machining program a”. In this case, the control software B adds a machining program. Here, for example, “machining program c + 1” to “machining program d” and a checking program for changing after each added machining program are added after “machining program c”.
 図8を参照する。加工プログラムの追加中に、加工プログラムcが終了した場合、すなわち、制御ソフトウェアBが「加工プログラムc+1」~「加工プログラムd」を追加している途中で加工プログラムが進み加工プログラムcが終了した場合に、追加途中の加工プログラムの実行がされないように以下のように処理される。 Refer to FIG. When the machining program c ends while the machining program is added, that is, when the machining program advances and the machining program c ends while the control software B is adding “machining program c + 1” to “machining program d”. In addition, the following processing is performed so that the machining program being added is not executed.
 「加工プログラムc」の後の「変更中チェックプログラム」が制御ソフトウェアBに問い合わせ、加工プログラムの追加処理中であれば次の「加工プログラムc+1」に進まずに待機する。 “The checking program being changed” after the “machining program c” inquires the control software B. If the machining program is being added, the process waits without proceeding to the next “machining program c + 1”.
 加工プログラムの変更処理が終了したら、「変更中チェックプログラムcp」も終了し、「加工プログラムc+1」に進む。「変更中チェックプログラムcp」ではステップSA01~ステップSA03が実行される。 When the machining program change processing is completed, the “during-change check program cp” is also terminated, and the process proceeds to “machining program c + 1”. In the “in-change check program cp”, steps SA01 to SA03 are executed.
 図9を参照する。ケース3は、加工プログラムを削除(編集)する場合である。「加工プログラムa」を実行中に、未実行の加工プログラムの一部を削除したい状況となったとする。この場合には、制御ソフトウェアBが加工プログラムの削除をおこなう。 Refer to FIG. Case 3 is a case where the machining program is deleted (edited). It is assumed that it becomes a situation where it is desired to delete a part of the unexecuted machining program while executing the “machining program a”. In this case, the control software B deletes the machining program.
 ここでは、たとえば、「加工プログラムb+1」~「加工プログラムc」およびそれぞれの加工プログラムの後の変更中チェックプログラムcpを削除する例を示す。実際には、「加工プログラムb+1」~「加工プログラムc」のすべてではなく、その中の特定のいくつかの加工プログラムを削除することもある。 Here, for example, “machining program b + 1” to “machining program c” and an in-change check program cp after each machining program are deleted. Actually, not all of “machining program b + 1” to “machining program c”, but some specific machining programs may be deleted.
 図10を参照する。加工プログラムの削除中に、加工プログラムbが終了した場合、すなわち、制御ソフトウェアBが「加工プログラムb+1」~「加工プログラムc」を削除している途中で加工プログラムが進み加工プログラムbが終了した場合に、削除途中の加工プログラムの実行がされないように以下のように処理される。 Refer to FIG. When the machining program b ends while the machining program is deleted, that is, when the machining program advances and the machining program b ends while the control software B deletes “machining program b + 1” to “machining program c”. In addition, the following processing is performed so that the machining program being deleted is not executed.
 「加工プログラムb」の後の「変更中チェックプログラムcp」が制御ソフトウェアBに問い合わせ、加工プログラムの削除処理中であれば次の「加工プログラムb+1」に進まずに待機する。変更中チェックプログラムcpではステップSA01~ステップSA03の処理が実行される。 “The checking program cp” after “machining program b” makes an inquiry to the control software B. If the machining program is being deleted, the process waits without proceeding to the next “machining program b + 1”. In the changing check program cp, the processes of steps SA01 to SA03 are executed.
 加工プログラムの削除処理が終了したら、「変更中チェックプログラムcp」も終了し、加工が終了する。ただし、その先に「加工プログラムc+1」などが続く場合は加工プログラムの実行が続く。 When the processing program deletion process is completed, the “in-change check program cp” is also ended, and the processing ends. However, if the “machining program c + 1” or the like follows, the machining program continues to be executed.
 図11を参照する。加工プログラムおよび変更中チェックプログラムcpをNC装置Cの外にあるコンピュータ1における「加工プログラム保存装置F」の「加工プログラム外部保存領域G」に保存する場合について示す。「加工プログラム保存装置F」の「加工プログラム外部保存領域G」は、例えばUSBメモリのようなものであってもよい。 Refer to FIG. A case where the machining program and the checking program cp being changed are stored in the “machining program external storage area G” of the “machining program storage device F” in the computer 1 outside the NC device C will be described. The “machining program external storage area G” of the “machining program storage device F” may be a USB memory, for example.
 図12を参照する。「加工プログラム保存装置F」の「加工プログラム外部保存領域G」が工作機械Aの外にある演算装置Hにある場合も、本発明の範囲である。 Refer to FIG. The case where the “machining program external storage area G” of the “machining program storage device F” is in the arithmetic unit H outside the machine tool A is also within the scope of the present invention.
 また、前述した実施形態では、加工プログラム保存領域の加工プログラム毎に変更中チェックプログラムが配置されていたが、以下の図22~26に示すように、複数の加工プログラムに対して1つの変更中チェックプログラムを用意し、各加工プログラムの終了時に変更中チェックプログラムを呼び出して、実行するようにしても良い。 In the above-described embodiment, the checking program for changing is arranged for each machining program in the machining program storage area. However, as shown in FIGS. 22 to 26 below, one machining program is being changed. A check program may be prepared, and the checking program being changed may be called and executed at the end of each machining program.
 図22は、複数の加工プログラムに対して1つの変更中チェックプログラムを、NC装置Cのコンピュータ内の加工プログラム保存領域に配置した実施形態である。図22に示すように、例えば、加工プログラム1が終了すると、変更中チェックプログラム呼出コードにより、変更中チェックプログラムが呼出されて変更中チェックプログラムが実行される。なお、変更中チェックプログラムの実行内容は前述した実施形態(図3)と同様である。 FIG. 22 shows an embodiment in which one changing check program is arranged in a machining program storage area in the computer of the NC apparatus C for a plurality of machining programs. As shown in FIG. 22, for example, when the machining program 1 is finished, the changing check program is called by the changing check program call code, and the changing check program is executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
 図23は、NC装置Cのコンピュータ内の加工プログラム保存領域内の複数の加工プログラムに対して1つの変更中チェックプログラムをコンピュータ1の制御ソフト内に配置した実施形態である。図23に示すように、例えば、加工プログラム1が終了すると、変更中チェックプログラム呼出コードにより、変更中チェックプログラムがコンピュータ1の制御ソフトから呼出されて変更中チェックプログラムが実行される。なお、変更中チェックプログラムの実行内容は前述した実施形態(図3)と同様である。 FIG. 23 shows an embodiment in which one in-change check program is arranged in the control software of the computer 1 for a plurality of machining programs in the machining program storage area in the computer of the NC apparatus C. As shown in FIG. 23, for example, when the machining program 1 ends, the changing check program is called from the control software of the computer 1 by the changing check program call code, and the changing check program is executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
 図24は、NC装置Cのコンピュータ内の加工プログラム保存領域内には、起動指令プログラムと終了指令プログラムのみを配置し、複数の加工プログラムおよび1つの変更中チェックプログラムをコンピュータ1の加工プログラム外部保存装置Fの加工プログラム外部保存領域Gに配置した実施形態である。図24に示すように、例えば、起動指令プログラムにより起動されて加工プログラム外部保存領域の加工プログラム1が終了すると、変更中チェックプログラム呼出コードにより、変更中チェックプログラムが呼出されて変更中チェックプログラムが実行される。なお、変更中チェックプログラムの実行内容は前述した実施形態(図3)と同様である。 In FIG. 24, only the start command program and the end command program are arranged in the machining program storage area in the computer of the NC apparatus C, and a plurality of machining programs and one in-change check program are stored outside the machining program of the computer 1. It is an embodiment arranged in the machining program external storage area G of the apparatus F. As shown in FIG. 24, for example, when the machining program 1 in the machining program external storage area is started by the activation command program, the changing check program is called by the changing check program call code, and the changing check program is Executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
 図25は、NC装置Cのコンピュータ内の加工プログラム保存領域内には、起動指令プログラムと終了指令プログラムおよび変更中チェックプログラムを配置し、複数の加工プログラムをコンピュータ1の加工プログラム外部保存装置Fの加工プログラム外部保存領域Gに配置した実施形態である。図25に示すように、例えば、起動指令プログラムにより起動されて加工プログラム外部保存領域の加工プログラム1が終了すると、変更中チェックプログラム呼出コードにより、変更中チェックプログラムが加工プログラム保存領域より呼出されて変更中チェックプログラムが実行される。なお、変更中チェックプログラムの実行内容は前述した実施形態(図3)と同様である。 In FIG. 25, a start command program, an end command program, and a check program being changed are arranged in the machining program storage area in the computer of the NC device C, and a plurality of machining programs are stored in the machining program external storage device F of the computer 1. It is an embodiment arranged in the machining program external storage area G. As shown in FIG. 25, for example, when the machining program 1 in the machining program external storage area is started by the activation command program, the changing check program is called from the machining program storage area by the changing check program call code. The check program during change is executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
 図26は、複数の加工プログラムに対して1つの変更中チェックプログラムを、NC装置Cの電気回路内のラダーに配置した実施形態である。図26に示すように、例えば、加工プログラム1が終了すると、変更中チェックプログラム呼出コードにより、変更中チェックプログラムがラダーより呼出されて変更中チェックプログラムが実行される。なお、変更中チェックプログラムの実行内容は前述した実施形態(図3)と同様である。 FIG. 26 shows an embodiment in which one changing check program is arranged in a ladder in the electric circuit of the NC apparatus C for a plurality of machining programs. As shown in FIG. 26, for example, when the machining program 1 ends, the changing check program is called from the ladder by the changing check program call code, and the changing check program is executed. The execution contents of the checking program being changed are the same as those in the above-described embodiment (FIG. 3).
 この発明は前述の発明の実施の形態に限定されることなく、適宜な変更を行うことにより、その他の態様で実施し得るものである。 The present invention is not limited to the embodiment of the invention described above, and can be implemented in other modes by making appropriate modifications.
 本発明によれば、加工プログラム実行中に加工プログラムを編集することが可能になるという効果を奏する。そして、加工プログラムの実行が始まってから、加工プログラムの編集が必要になった場合の加工時間の削減ができるという効果を奏する。 According to the present invention, the machining program can be edited while the machining program is being executed. In addition, there is an effect that the machining time can be reduced when the machining program needs to be edited after the machining program starts to be executed.

Claims (5)

  1.  加工プログラムに基づきワーク加工を行う工作機械において、
     工作機械の運転中に前記加工プログラムの編集を行う編集手段と、前記加工プログラムの実行を待機させる待機手段とを備え、
     前記編集手段による編集を認識した場合に、前記待機手段が前記加工プログラムの実行を待機させることを特徴とする工作機械。
    In machine tools that perform workpiece machining based on machining programs,
    Editing means for editing the machining program during operation of the machine tool, and standby means for waiting for execution of the machining program,
    A machine tool, wherein when the editing by the editing unit is recognized, the standby unit waits for execution of the machining program.
  2.  前記編集手段は、前記加工プログラムに対する修正、追加または削除を実行することを特徴とする請求項1に記載の工作機械。 The machine tool according to claim 1, wherein the editing means executes correction, addition or deletion to the machining program.
  3.  前記工作機械の制御装置の外部領域に前記加工プログラムを保存することを特徴とする請求項1または請求項2に記載の工作機械。 The machine tool according to claim 1 or 2, wherein the machining program is stored in an external area of a control device of the machine tool.
  4.  前記工作機械の外の演算装置に前記加工プログラムを保存することを特徴とする請求項1または請求項2に記載の工作機械。 The machine tool according to claim 1 or 2, wherein the machining program is stored in an arithmetic device outside the machine tool.
  5.  前記加工プログラムが複数の加工プログラムからなり、前記複数の加工プログラムの各加工プログラムの実行後に、変更中チェックプログラムが実行され、前記変更中チェックプログラムにより、現在実行中のプログラムの次の加工プログラムが編集中であることが判明した場合、前記待機手段が前記加工プログラムの実行を待機させることを特徴とする請求項1または請求項2に記載の工作機械。 The machining program is composed of a plurality of machining programs, and after execution of each machining program of the plurality of machining programs, a checking program during change is executed, and the machining program next to the program currently being executed is executed by the checking program during change. 3. The machine tool according to claim 1, wherein when it is determined that editing is in progress, the standby unit waits for execution of the machining program. 4.
PCT/JP2015/055379 2014-02-28 2015-02-25 Machine tool WO2015129739A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2014-038723 2014-02-28
JP2014038723 2014-02-28
JP2015030654A JP2015179506A (en) 2014-02-28 2015-02-19 Machine tool
JP2015-030654 2015-02-19

Publications (1)

Publication Number Publication Date
WO2015129739A1 true WO2015129739A1 (en) 2015-09-03

Family

ID=54009054

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/055379 WO2015129739A1 (en) 2014-02-28 2015-02-25 Machine tool

Country Status (2)

Country Link
JP (1) JP2015179506A (en)
WO (1) WO2015129739A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6693988B2 (en) 2018-03-22 2020-05-13 ファナック株式会社 Processing program editing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04367004A (en) * 1991-06-13 1992-12-18 Mitsubishi Electric Corp Numerical controller
JPH05303416A (en) * 1992-04-27 1993-11-16 Komatsu Ltd Method for correcting data of robot program
JPH09179621A (en) * 1995-12-21 1997-07-11 Hitachi Seiki Co Ltd Storage means access controlling method for numerical controller and numerical controller
JPH1034446A (en) * 1996-07-23 1998-02-10 Makino Milling Mach Co Ltd Electric discharge machining device
JP2003136369A (en) * 2001-11-05 2003-05-14 Citizen Watch Co Ltd Control method and control device for nc-machine tool, and nc-machine tool incorporated with the same
JP2011090399A (en) * 2009-10-20 2011-05-06 Fanuc Ltd Numerical controller capable of dividing and combining memory areas to store machining programs and binary data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04367004A (en) * 1991-06-13 1992-12-18 Mitsubishi Electric Corp Numerical controller
JPH05303416A (en) * 1992-04-27 1993-11-16 Komatsu Ltd Method for correcting data of robot program
JPH09179621A (en) * 1995-12-21 1997-07-11 Hitachi Seiki Co Ltd Storage means access controlling method for numerical controller and numerical controller
JPH1034446A (en) * 1996-07-23 1998-02-10 Makino Milling Mach Co Ltd Electric discharge machining device
JP2003136369A (en) * 2001-11-05 2003-05-14 Citizen Watch Co Ltd Control method and control device for nc-machine tool, and nc-machine tool incorporated with the same
JP2011090399A (en) * 2009-10-20 2011-05-06 Fanuc Ltd Numerical controller capable of dividing and combining memory areas to store machining programs and binary data

Also Published As

Publication number Publication date
JP2015179506A (en) 2015-10-08

Similar Documents

Publication Publication Date Title
JP5415311B2 (en) Method and apparatus for controlling machine tool capable of resuming automatic operation
JP4374045B2 (en) Numerical control device with program restart function
US9851709B2 (en) Numerical control device
JP5355356B2 (en) Method for creating part programs
WO2013161082A1 (en) Machining program-generating device, machining program-generating method, and recording medium
JP2010123122A6 (en) Method for creating part programs
EP1471404A2 (en) Numerical control apparatus for machine tool
WO2015129739A1 (en) Machine tool
JP5210070B2 (en) Numerically controlled machine tool
JP2007233624A (en) Numerical controller of machine tool
JP2008027261A (en) Numerically controlled machine tool and interrupt working method
EP1394642B1 (en) Multi-system numerical control device
JP7173928B2 (en) Numerical controller
JP5088922B2 (en) Wire-cut EDM method
JP2007213241A (en) Interruption workable numerically controlled machine tool
US10671053B2 (en) Numerical controller and machine tool system
JP6121981B2 (en) Numerical control device with function to create NC program for variable confirmation embedded with variable values used during machining
JP4627821B2 (en) Laser processing apparatus and interrupt processing method thereof
JP2009110223A (en) Numerical control device, numerical control program, and storage medium storing numerical control program
JP7401665B2 (en) Numerical control device and control method
JPH07152416A (en) Numerical controller having program restarting function
JP2005085095A (en) Numerical controller, parameter setting method for numerical controller, and numerical control program
JP6687575B2 (en) Numerical control device
JP4208600B2 (en) NC machine tool
JPS6232503A (en) Numerical controller

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

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

Country of ref document: EP

Kind code of ref document: A1