JP2007234002A - Numerical control machine and method for working on work with numerical control machine - Google Patents

Numerical control machine and method for working on work with numerical control machine Download PDF

Info

Publication number
JP2007234002A
JP2007234002A JP2007026067A JP2007026067A JP2007234002A JP 2007234002 A JP2007234002 A JP 2007234002A JP 2007026067 A JP2007026067 A JP 2007026067A JP 2007026067 A JP2007026067 A JP 2007026067A JP 2007234002 A JP2007234002 A JP 2007234002A
Authority
JP
Japan
Prior art keywords
moving body
machining
tool
time
workpiece
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.)
Granted
Application number
JP2007026067A
Other languages
Japanese (ja)
Other versions
JP4951165B2 (en
Inventor
Keita Kazuie
啓太 数家
Hajime Matsumaru
肇 松丸
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.)
Citizen Holdings Co Ltd
Original Assignee
Citizen Holdings 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 Citizen Holdings Co Ltd filed Critical Citizen Holdings Co Ltd
Priority to JP2007026067A priority Critical patent/JP4951165B2/en
Publication of JP2007234002A publication Critical patent/JP2007234002A/en
Application granted granted Critical
Publication of JP4951165B2 publication Critical patent/JP4951165B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for working on works with a numerical control machine, which effectively may save energy and keep a high-accuracy machining on the works, by suppressing a vibration generated, when the work is transferred along an axis. <P>SOLUTION: The method for working on the works, comprising transferring a moving unit along the axis, by utilizing a large amount of time to wait for the other work while another moving unit is working on another works; shorting the waiting time for moving unit or making the waiting time 0 for the moving unit; suppressing shocks and vibrations generated, while a machining speed of the moving unit is accelerated or deactivated, by reducing the machining speed of the moving unit; and saving electric power consumption. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、刃物台や主軸台等の移動体を複数有し、複数の移動体を相対的に軸移動させながらワークの加工を行う数値制御工作機械及びこの数値制御工作機械におけるワークの加工方法に関する。   The present invention relates to a numerically controlled machine tool that has a plurality of moving bodies such as a tool post and a headstock, and that processes a workpiece while relatively moving the plurality of moving bodies, and a workpiece processing method in the numerically controlled machine tool About.

刃物台や移動主軸台等の移動体を複数有し、これら複数の移動体を相対的に軸移動させながらワークの加工を行う数値制御工作機械が知られている。
図14は、主軸軸線の両側に二つの刃物台を有し、この二つの刃物台に装着した工具を交互に切り換えながらワークの加工を行う様子を示した概略図である。
図示の例では、一方の刃物台(第一刃物台)にバイト等の切削工具T1(以下、工具T1と記載する)が装着され、主軸軸線Cと平行なZ方向及びZ方向に直交するX方向に送られながら、主軸のチャックに把持されたワークWの外周縁の切削加工を行う。
また、他方の刃物台(第二刃物台)にドリル等の回転工具T2(以下、工具T2と記載する)が装着され、X方向に送られながら、孔開け加工等を行う。
2. Description of the Related Art There are known numerically controlled machine tools that have a plurality of moving bodies such as a tool post and a moving spindle stock, and that process a workpiece while relatively moving the plurality of moving bodies.
FIG. 14 is a schematic view showing a state in which two turrets are provided on both sides of the spindle axis, and the workpiece is machined while the tools mounted on the two turrets are alternately switched.
In the illustrated example, a cutting tool T1 such as a cutting tool (hereinafter referred to as a tool T1) is mounted on one tool post (first tool post), and is parallel to the spindle axis C and orthogonal to the Z direction. The outer peripheral edge of the workpiece W held by the chuck of the main spindle is cut while being fed in the direction.
A rotary tool T2 such as a drill (hereinafter referred to as tool T2) is attached to the other tool post (second tool post), and drilling is performed while being sent in the X direction.

二つの刃物台の軸移動は、それぞれ独立した制御系によって制御される。
図15は、一方の刃物台及び他方の刃物台の軸移動を制御する二つの制御系の加工プログラムの一部を抜粋して示したものである。図の左側が一方の刃物台の工具T1に関する部分、右側が他方の刃物台の工具T2に関する部分である。
この加工プログラムによれば、一方の刃物台の制御系(#1:第一の制御系)では、工具T1をX1.0、Z0.0で指定された実加工の開始位置(図14の符号(I)で示す位置)まで早送りで軸移動させて位置決めした後、Z方向に工具T1を送って切削を開始する。そして、加工プログラム中の各ブロックで指定されたX座標及びZ座標の位置まで工具T1を送り、ワークWの外周縁の切削加工を行う。
そして、工具T1を図14の符号(II)で示す位置まで送って切削加工が終了すると、他方の刃物台の制御系との待ち合わせを行う。
The axial movements of the two tool rests are controlled by independent control systems.
FIG. 15 shows a part of machining programs of two control systems that control the axial movement of one tool post and the other tool post. The left side of the drawing is a portion related to the tool T1 of one turret, and the right side is a portion related to the tool T2 of the other turret.
According to this machining program, in the control system (# 1: first control system) of one turret, the actual machining start position designated by X1.0 and Z0.0 (reference numeral in FIG. 14). After positioning the axis by rapid movement to the position indicated by (I)), the tool T1 is sent in the Z direction to start cutting. Then, the tool T1 is sent to the position of the X coordinate and the Z coordinate specified by each block in the machining program, and the outer peripheral edge of the workpiece W is cut.
Then, when the tool T1 is sent to the position indicated by symbol (II) in FIG. 14 and the cutting process is completed, the tool T1 waits with the control system of the other tool post.

また、他方の刃物台の制御系(#2:第二の制御系)では、一方の刃物台の工具T1によるワークWの切削加工開始と同時に、工具T2の割り出し位置(図14中符号(i)で示す位置、「移動開始位置」ということがある)からX−20.0、Z-20.0で指定された加工開始位置(同符号(ii)で示す位置)まで早送りで軸移動させる。
そして、工具T2を加工開始位置に軸移動させた後、一方の刃物台の制御系との待ち合わせを行う。
なお、図示の加工プログラムには特に示していないが、両制御系の待ち合わせ終了後は、主軸を予め設定された回転角度位置に位置決めして停止させ、工具T2を予め設定された送り速度(送り装置を制御することによって得られる軸移動の速度をいう)でX方向に送りながら、ワークWの孔開け加工を行う。
Further, in the control system (# 2: second control system) of the other tool post, the indexing position of the tool T2 (reference numeral (i in FIG. 14) at the same time as the cutting of the workpiece W by the tool T1 of the one tool post is started. ), Which is sometimes referred to as the “movement start position”), is moved rapidly to the machining start position designated by X-20.0 and Z-20.0 (position indicated by the same symbol (ii)). .
Then, after the tool T2 is moved to the machining start position, it waits with the control system of one tool post.
Although not specifically shown in the illustrated machining program, after the waiting of both control systems is completed, the spindle is positioned and stopped at a preset rotation angle position, and the tool T2 is set at a preset feed rate (feed rate). The workpiece W is perforated while being fed in the X direction at an axis movement speed obtained by controlling the apparatus.

ところで、加工プログラム中で「G00」コード等により位置決めが指令されると、最大の送り速度Vmaxで工具を指定された位置まで軸移動させるように設定されているのが一般的である。これは、工具の準備時間を可能な限り短くして、ワークの加工時間を短縮するためである。   By the way, when positioning is commanded by a “G00” code or the like in the machining program, it is generally set so that the tool is moved to the designated position at the maximum feed speed Vmax. This is to shorten the machining time of the workpiece by shortening the tool preparation time as much as possible.

しかし、例えば、複数の刃物台に装着した工具を交互に切り換えながらワークの加工を行う場合において、一方の刃物台の工具でワークの実加工を行っている間に、他方の刃物台を最大の送り速度Vmaxで軸移動させると、加減速時の衝撃に起因して振動が発生し、ワークの加工精度に悪影響を及ぼすという問題がある。また、前記したような衝撃や振動は、刃物台を送るボールねじ・ナット機構等の送り装置の寿命を低下させる原因になる。この解決策として、衝撃や振動に十分かつ長期間耐えることができるように、送り装置全体の剛性を高めることも考えられるが、送り装置全体の剛性を高めると、装置が高価格になり、重量や大きさも増大するという新たな問題が生じることになる。
また、急激な加減速時には大きな電力を消費するので、省エネルギー上も好ましくないという問題がある。
However, for example, when machining a workpiece while alternately switching tools mounted on a plurality of turrets, while the actual machining of the workpiece is being performed with the tool of one turret, When the shaft is moved at the feed speed Vmax, there is a problem that vibration is generated due to an impact at the time of acceleration / deceleration, which adversely affects the workpiece machining accuracy. Further, the impact and vibration as described above cause a reduction in the life of a feeding device such as a ball screw / nut mechanism that feeds the tool post. As a solution to this, it is conceivable to increase the rigidity of the entire feeder so that it can sufficiently withstand impacts and vibrations for a long period of time. A new problem arises that the size and size will increase.
Moreover, since a large amount of electric power is consumed during rapid acceleration / deceleration, there is a problem that it is not preferable in terms of energy saving.

上記問題を解決するための一つの方法として、工作機械のユーザが加工プログラムの修正を行って、位置決め時の送り速度を適宜に設定することが考えられるが、位置決め時等の送り速度(最大の送り速度Vmax)の全てを、上記の問題が発生しない送り速度に変更すると、ワークの加工時間が長くなり、ワークの加工時間が長くならないように加工プログラムの解析を行って、所定のブロックの送り速度のみを修正することは、きわめて煩雑で現実的ではない。   As one method for solving the above problem, it is conceivable that the machine tool user corrects the machining program and sets the feed speed at the time of positioning appropriately. If all of the feed speeds Vmax) are changed to feed speeds that do not cause the above problems, the machining time of the workpiece becomes longer and the machining program is analyzed so that the workpiece machining time does not become longer. Correcting only the speed is very cumbersome and impractical.

なお、刃物台等の移動体の加工プログラムに含まれる送り速度のうち、所定の送り速度を早送り速度より小さい速度に変更しつつ、前記移動体が目的地に到達するまでの時間を短縮させる技術が提案されている(特許文献1,2,3参照)。
特開平7−134607号公報(図面の図2及び段落0009の記載参照) 特開平7−134608号公報(図面の図2及び段落0009の記載参照) 特開平7−136905号公報(図面の図2及び段落0009の記載参照)
A technique for shortening the time required for the moving body to reach the destination while changing the predetermined feed speed to a speed smaller than the rapid feed speed among the feed speeds included in the machining program for the moving body such as the tool post. Has been proposed (see Patent Documents 1, 2, and 3).
Japanese Patent Laid-Open No. 7-134607 (see FIG. 2 of the drawing and paragraph 0009) Japanese Patent Laid-Open No. 7-134608 (see FIG. 2 of the drawing and paragraph 0009) Japanese Patent Laid-Open No. 7-136905 (see FIG. 2 of the drawing and paragraph 0009)

しかし、上記文献1〜3に記載の技術によれば、各文献の図2からもわかるように、再設定された送り速度まで短時間で移動体を加速し、当該再設定された送り速度から短時間で移動体を停止させるため、加減速時に生じる振動は早送り時よりも増大されると考えられ、一方の移動体でワークの加工を行っている場合に、上記文献に記載の技術で他方の移動体を移動させると、ワークの加工精度に悪影響を与えるおそれがある。   However, according to the techniques described in Documents 1 to 3, as can be seen from FIG. 2 of each document, the moving body is accelerated to the reset feed speed in a short time, and from the reset feed speed. In order to stop the moving body in a short time, it is considered that the vibration generated at the time of acceleration / deceleration is increased compared with the fast-forwarding, and when the workpiece is processed by one moving body, the technique described in the above document is used. If the moving body is moved, there is a risk of adversely affecting the machining accuracy of the workpiece.

本発明は上記の問題点にかんがみてなされたもので、刃物台や移動主軸台等の複数の移動体を交互に切り替えながら、又は同時に軸移動させながら、ワークの加工を行う数値制御工作機械において、ワークの加工時間を延長させることなく、かつ、加工プログラム等の修正のような煩雑な作業を必要とすることなく、早送りで移動体を軸移動させることによる衝撃や振動の発生を抑制してワークの加工精度を高く維持しつつ、送り装置等の寿命を低下させることのない、省エネルギー性に優れた数値制御工作機械及びこの数値制御工作機械におけるワークの加工方法の提供を目的とする。   The present invention has been made in view of the above problems, and in a numerically controlled machine tool for machining a workpiece while alternately switching a plurality of moving bodies such as a tool post and a moving headstock or simultaneously moving an axis. , Without increasing the machining time of the workpiece and without requiring complicated work such as modification of the machining program, etc. An object of the present invention is to provide a numerically controlled machine tool excellent in energy saving and a method for machining a workpiece in the numerically controlled machine tool, while maintaining a high machining accuracy of the workpiece and without reducing the life of a feeding device or the like.

上記課題を解決するために、本発明の発明者は、一の移動体によるワークの加工中に、他の移動体に多大な待機時間が生じていることに着目した。
図16は、上記した二つの刃物台の工具T1,T2を交互に切り換えながらワークWの加工を行う場合において、他方の刃物台が工具の割り出し位置から加工開始位置まで軸移動する際のタイムチャート(上段)及び送り速度の速度変化グラフ(下段)を示したものである。
図示するように、一方の刃物台の工具T1でワークWの切削加工を行っている間に、他方の刃物台の工具T2を最大の送り速度Vmaxで工具の割り出し位置から加工開始位置まで軸移動させると、工具T1による切削加工が終了し、両制御系の待ち合わせを行った後に工具T2による孔開け加工が開始されるまでの間に、多大な待機時間が生じることになる。
In order to solve the above problems, the inventor of the present invention has paid attention to the fact that a large waiting time is generated in another moving body during processing of a workpiece by one moving body.
FIG. 16 is a time chart when the other turret is moved from the index position of the tool to the machining start position when machining the workpiece W while alternately switching the tools T1 and T2 of the two turrets described above. (Upper stage) and a speed change graph (lower stage) of the feed rate are shown.
As shown in the figure, while cutting the workpiece W with the tool T1 of one tool post, the axis of the tool T2 of the other tool post is moved from the tool index position to the machining start position at the maximum feed speed Vmax. If this is done, a long waiting time will occur between the end of cutting by the tool T1 and the start of drilling by the tool T2 after waiting for both control systems.

そこで、本発明の発明者は、一の移動体がワークの加工等を行っている間の待機時間を十分に利用して、他の移動体の軸移動を行い、前記待機時間を0又は短縮するようにすることで、送り速度を十分に小さくし、加減速時の衝撃や振動の発生を抑制するとともに、急激な加減速にともなう電力消費量を抑制することに想到した。   Therefore, the inventor of the present invention makes full use of the waiting time while one moving body is processing a workpiece, etc. to move the axis of another moving body, and the waiting time is reduced to 0 or shortened. By doing so, the present inventors have conceived that the feed rate is sufficiently reduced, the occurrence of shock and vibration during acceleration / deceleration is suppressed, and the power consumption accompanying rapid acceleration / deceleration is suppressed.

具体的には、相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械において、一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを分析する加工分析部と、この加工分析部で前記一の移動体に装着した工具によるワークの加工の加工終了後に他の移動体に装着した工具によるワークの加工を行うと判断したときに、前記加工分析部による加工分析の後に、今回加工を行う前記一の移動体の加工プログラムの中から、切換指令コードを検索するステップと、次回加工を行う他の移動体の加工プログラムの中から、前記一の移動体の加工プログラムに含まれる前記切換指令コードに対応する切換指令コードを検索するステップと、この切換指令コードの前の加工プログラムの中から、前記他の移動体が次回加工に備えて予め設定された位置まで準備移動する移動指令コードを抽出するステップと、この移動指令コードによる前記他の移動体の移動開始と同時に、移動時間の計測を開始させるステップと、前記他の移動体による前記ワーク加工の開始に先立って行われる一の移動体と前記他の移動体との待ち合わせ完了と同時又は前記他の移動体が前記予め設定された位置からワーク加工のための移動を開始すると同時に前記移動時間の計測を終了させて前記準備移動の時間を割り出すステップと、割り出された前記移動時間に基づいて、前記他の移動体について新たな送り速度を求めるステップと、前記加工プログラム中の移動指令コードによって指定された送り速度を、演算によって得られた前記新たな送り速度に置き換えるステップとを実行する制御部とを有する構成としてある。   Specifically, in a numerically controlled machine tool that has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool attached to the moving body, a processing program for one moving body and another moving body The machining program is switched from machining with the tool mounted on the one moving body to machining with the tool mounted on the other moving body, or machining with the tool mounted on the one moving body and the other A machining analysis unit that analyzes whether machining with a tool mounted on one moving body is performed at the same time, and mounted on another moving body after the machining of the workpiece with the tool mounted on the one moving body is completed in this processing analysis unit When it is determined that the workpiece is to be machined by the machined tool, after the machining analysis by the machining analysis unit, the switching command code is searched from the machining program for the one moving object that is to be machined this time. A step of searching for a switching command code corresponding to the switching command code included in the machining program of the one moving body from among the processing programs of the other moving body to be processed next time, and the switching command code A step of extracting a movement command code for preparatory movement of the other moving body from the previous machining program to a preset position in preparation for the next machining, and start of movement of the other moving body by the movement command code At the same time, the step of starting the measurement of the movement time and the completion of waiting of the one moving body and the other moving body performed prior to the start of the workpiece machining by the other moving body or the other movement When the body starts moving for machining the workpiece from the preset position, the movement time measurement ends and the preparation movement time is determined. And a step of obtaining a new feed speed for the other moving body based on the determined travel time, and a feed speed specified by a move command code in the machining program can be obtained by calculation. And a control unit for executing the step of replacing with the new feed speed.

上記の発明は、加工プログラムを実行して実加工を開始させるに先立ち、加工分析部で、一の移動体に装着した工具と他の移動体に装着した工具とを交互に切り替えながらワークの加工を行うと判断する場合である。
前記の「切換指令コード」には、例えば、一の移動体の制御を行う制御系と他の移動体の軸移動の制御を行う制御系との間の待ち合わせ指令コードを挙げることができる。図15の加工プログラムの例では、「2L1」「1L1」がこれに該当する。
上記の構成によれば、例えば、一方の刃物台に装着した工具でワークの加工を行っている間に、加工プログラム中の位置決め指令である「G00」コードに従い、最大の送り速度で他方の刃物台を予め設定された位置まで準備移動させる指令が出力されても、前記最大の送り速度が、前記一方の刃物台による加工が行われている間の待機時間を十分に利用した新たな送り速度に置き換えられているため、急激な加減速による衝撃や振動の発生を効果的に抑制することができる。また、これら衝撃や振動による送り装置の寿命低下を防止することができる。
In the above invention, prior to executing the machining program and starting actual machining, the machining analysis unit alternately switches between a tool mounted on one moving body and a tool mounted on another moving body. It is a case where it is judged that it performs.
Examples of the “switching command code” include a waiting command code between a control system that controls one moving body and a control system that controls the axial movement of another moving body. In the example of the machining program in FIG. 15, “2L1” and “1L1” correspond to this.
According to the above configuration, for example, while machining a workpiece with a tool mounted on one turret, the other cutter is operated at the maximum feed speed in accordance with the “G00” code which is a positioning command in the machining program. Even if a command for preparatory movement of the platform to a preset position is output, the maximum feed rate is a new feed rate that fully utilizes the waiting time during processing by the one tool post. Therefore, it is possible to effectively suppress the occurrence of shock and vibration due to rapid acceleration / deceleration. Further, it is possible to prevent the life of the feeding device from being reduced due to the impact and vibration.

本発明は、相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械において、一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析部と、この加工分析部で前記一の移動体に装着した工具によるワークの加工と他の移動体に装着した工具によるワークの加工とを同時に行うと判断したときに、前記加工分析部による分析の後に、前記加工プログラムにおいて移動指令コードによって指定された送り速度の中から、置き換えが可能な置換可能送り速度を抽出するステップと、このステップで抽出された前記置換可能送り速度の中から、前記一の移動体と前記他の移動体との実加工の加工開始及び加工終了のタイミングとに基づき、実際に送り速度の置き換えを行う置換対象送り速度を決定するステップと、前記置換対象送り速度を含む部分のうち、前記一の移動体と前記他の移動体について実加工を除く部分の時間を計測するステップと、前記一の移動体について計測された時間と前記他の移動体について計測された時間とから、前記一の移動体又は前記他の移動体について新たな送り速度を求めるステップと、前記置換対象送り速度を前記新たな送り速度に置き換えるステップと、次の加工プログラムの実行時から、置き換えられた前記新たな送り速度で前記所定の移動体を軸移動させて加工を行うステップとを実行する制御部とを有する構成としてもよい。   The present invention relates to a numerical control machine tool that has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool mounted on the moving body. Whether the machining program is switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, or machining with a tool attached to the one moving body and the other A machining analysis unit that determines whether machining with a tool mounted on a moving body is performed at the same time, processing of a workpiece with a tool mounted on the one moving body in the processing analysis unit, and a workpiece with a tool mounted on another moving body Can be replaced from the feed rates specified by the movement command code in the machining program after analysis by the machining analysis unit. A step of extracting a replaceable feed rate, and a timing of start and end of processing of actual machining of the one moving body and the other moving body from the replaceable feed rates extracted in this step Based on the above, a step of determining a replacement target feed speed for actually replacing the feed speed, and a portion of the part including the replacement target feed speed excluding the actual machining for the one moving body and the other moving body A step of measuring a time, and a step of obtaining a new feed rate for the one moving body or the other moving body from the time measured for the one moving body and the time measured for the other moving body. Replacing the replacement target feed speed with the new feed speed, and the predetermined machining speed at the replaced new feed speed from the time of execution of the next machining program. Body may be used as the structure and a control unit for executing and performing the processing by the axial movement.

この発明は、前記と同様の加工分析部で、一の移動体に装着した工具と他の移動体に装着した工具とで同時にワークの加工を行うと判断した場合である。
ここで、「送り速度」の中には、切削等の実際の加工(実加工)を行う際の送り速度と、これ以外の送り速度とがあるが、前者の送り速度は、工具の種類やワークの材質、加工後の仕上がり条件その他の加工条件等によって一義的に決定される速度、つまり、置き換えができない送り速度である。これに対し、後者の送り速度は、工作機械毎に決定された最大の送り速度を上限とする範囲内で送り速度の変更が可能である。従って、上記の「置換可能送り速度」は、実加工の際の送り速度を除く送り速度である。
この構成では、工具を割り出して準備する工具割り出し位置から、ワーク近傍の予め設定された位置まで他の移動体を準備移動させる際の送り速度に限らず、切削加工の終了後にワークから工具を退避移動させる際の送り速度が、送り速度の置き換えの対象となる。
この発明によっても、実加工開始前における他の移動体の待機時間や、実加工終了後の余剰時間を利用して、一の移動体又は他の移動体の送り速度を小さくすることができ、加減速時の衝撃や振動の発生を抑制し、一の移動体によるワークの加工に与える悪影響を抑制することができる。
The present invention is a case where the same machining analysis unit as described above determines that a workpiece is simultaneously machined by a tool mounted on one moving body and a tool mounted on another moving body.
Here, the “feed speed” includes a feed speed when performing an actual process such as cutting (actual machining) and a feed speed other than this. The former feed speed depends on the type of tool, The speed is uniquely determined by the workpiece material, the finishing conditions after processing, and other processing conditions, that is, the feed speed that cannot be replaced. On the other hand, the latter feed rate can be changed within a range where the maximum feed rate determined for each machine tool is the upper limit. Therefore, the “replaceable feed speed” is a feed speed excluding the feed speed in actual machining.
In this configuration, the tool is retracted from the workpiece after the end of the cutting process, not limited to the feed speed when other moving objects are preliminarily moved from the tool indexing position where the tool is indexed and prepared to a preset position near the workpiece. The feed speed at the time of movement is the target of the feed speed replacement.
According to this invention, the waiting time of another moving body before the start of actual machining and the surplus time after the end of actual machining can be used to reduce the feed speed of one moving body or another moving body, The occurrence of impact and vibration during acceleration / deceleration can be suppressed, and adverse effects on workpiece processing by one moving body can be suppressed.

置換対象送り速度として前記他の移動体における実加工開始前の送り速度を決定した場合には、置換対象送り速度として前記他の移動体における実加工開始前の送り速度を決定した場合において、前記一の移動体が移動開始位置から準備移動を開始して実加工を開始するまでの時間を計測するとともに、前記他の移動体が移動開始位置から準備移動を開始してから実加工を開始するまでの時間を計測し、計測された前記一の移動体の時間と前記他の移動体の時間とから、実加工の開始前における前記他の移動体の新たな送り速度を求めるようにするとよい。
このようにすることで、実加工開始前の待機時間を利用して、他の移動体の送り速度を小さくすることができる。
When the feed speed before the actual machining start in the other moving body is determined as the replacement target feed speed, when the feed speed before the actual machining start in the other mobile body is determined as the replacement target feed speed, The time from when one moving body starts the preparatory movement from the movement start position to the start of actual machining is measured, and the actual machining is started after the other moving body starts the preparatory movement from the movement start position. It is preferable to measure the time until the new moving speed of the other moving body before the start of actual machining from the measured time of the one moving body and the time of the other moving body. .
By doing in this way, the feed rate of another moving body can be made small using the waiting time before the start of actual machining.

また、前記制御部が、前記一の移動体が実加工を終了したときに、前記他の移動体が実加工を継続しているか否かを判断し、前記他の移動体が実加工を継続している場合には、前記一の移動体の退避移動時の送り速度を前記置換対象送り速度として決定し、前記他の移動体が実加工を終了している場合には、前記他の移動体の退避移動時の送り速度を前記置換対象送り速度として決定し、前記一の移動体が退避移動を開始してから予め設定された位置で停止するまでの時間を計測するとともに、前記他の移動体が退避移動を開始してから予め設定された位置で停止するまでの時間を計測し、計測された前記一の移動体の時間と前記他の移動体の時間とから、前記一の移動体又は前記他の移動体について退避移動時の新たな送り速度を求めるようにしてもよい。
このようにすることで、一の移動体による実加工終了前に他の移動体の実加工が終了している場合には、一の移動体が実加工を終了するまでの時間(余剰時間)を利用して、他の移動体における退避移動時の送り速度を小さくすることができる。
また、一の移動体による実加工終了後に他の移動体の実加工が終了する場合には、他の移動体が実加工を終了するまでの時間(余剰時間)を利用して、一の移動体における退避移動時の送り速度を小さくすることができる。
このように、先に加工が終了する移動体について、退避移動時の送り速度を小さくすることができる。
Further, when the one moving body finishes the actual machining, the control unit determines whether or not the other moving body continues the actual machining, and the other moving body continues the actual machining. If the other moving body has finished the actual machining, the feed speed during the retreat movement of the one moving body is determined as the replacement target feed speed. Determining the feed speed at the time of retraction of the body as the replacement target feed speed, measuring the time from when the one mobile body starts the retreat movement until it stops at a preset position, and Measure the time from when the moving body starts retracting until it stops at a preset position, and based on the measured time of the one moving body and the time of the other moving body, the one movement Find a new feed rate during retraction for the body or other moving body It may be.
By doing in this way, when the actual machining of the other moving body is completed before the actual machining by one moving body is completed, the time until the one moving body finishes the actual machining (surplus time) Using this, it is possible to reduce the feed speed during the retreating movement in another moving body.
In addition, when actual machining of another moving object is completed after the actual machining by one moving object is completed, one movement is performed using the time (excess time) until the other moving object finishes actual machining. The feeding speed at the time of retraction movement in the body can be reduced.
In this way, it is possible to reduce the feeding speed during the retreating movement of the moving body that has been processed first.

上記の発明においては、加工プログラムを実行する前に加工プログラムの解析を行い、切換指令コードが存在するか否か、同時加工指令コードが存在するか否か、最先と最後の加工指令コードはどれであるかを判断するようにしてもよい。
本発明では、前記加工プログラムの先頭に、前記一の移動体による加工から他の移動体による加工に切り換える切換指令又は前記一の移動体と前記他の移動体とで同時加工を行う指令の存在を示すコードを予め設定しておき、前記加工分析部が、前記加工プログラムの実行と同時に、前記切換指令又は同時加工の前記指令が存在すると判断して、次のステップを実行させるようにしてもよい。
In the above invention, the machining program is analyzed before the machining program is executed, whether the switching command code exists, whether the simultaneous machining command code exists, the first and last machining command code are You may make it judge which is.
In the present invention, at the beginning of the machining program, there is a switching command for switching from machining by the one moving body to machining by another moving body, or a command to perform simultaneous machining by the one moving body and the other moving body. Is set in advance, and the machining analysis unit determines that the switching command or the command for simultaneous machining exists simultaneously with the execution of the machining program, and causes the next step to be executed. Good.

本発明においては、ワークや工具を装着しない状態で加工プログラムを実行させるシミュレーションによって新たな送り速度を求めることができる。また、ワークの実加工を通して時間の計測を行い、計測された時間から新たな送り速度を求めることも可能である。
この場合は、最初の一個目のワークの実加工を通して、新たな送り速度を求めるとよい。具体的には、前記制御部がワークの加工が初回か否かを判断し、初回である場合に前記時間の計測を行い、二回目以降である場合には前記加工プログラム中の移動指令コードによって指定された送り速度のうち、置き換えが可能な前記送り速度を、前記初回のワーク加工で得られた前記新たな送り速度に置き換えるようにする。
このようにすることで、ワークの加工を行う加工プログラムを実行させるだけで、二個目以降のワークの加工からは自動的に位置決めの送り速度が新たな送り速度に置き換えられるので、便利である。
In the present invention, a new feed rate can be obtained by a simulation in which a machining program is executed in a state where no workpiece or tool is mounted. It is also possible to measure time through actual machining of the workpiece and obtain a new feed rate from the measured time.
In this case, a new feed rate may be obtained through actual machining of the first workpiece. Specifically, the control unit determines whether or not the workpiece is processed for the first time, and measures the time when it is the first time, and if it is the second time or later, according to the movement command code in the machining program. Among the designated feed speeds, the replaceable feed speed is replaced with the new feed speed obtained in the first workpiece machining.
In this way, simply by executing a machining program for machining a workpiece, the positioning feed rate is automatically replaced with a new feed rate from the second and subsequent workpiece machining, which is convenient. .

また、上記の手順により求められた新たな送り速度が、予め設定された下限値よりも小さい場合は、当該下限値を前記新たな送り速度として決定するとよい。前記の下限値は、移動体を送る送り装置の構成や特性、消費電力特性等を考慮して予め決定する。そして、この下限値を下回る送り速度が演算によって得られた場合には、下限値の送り速度を新たな送り速度として決定するとよい。   Moreover, when the new feed rate calculated | required by said procedure is smaller than the preset lower limit, it is good to determine the said lower limit as said new feed rate. The lower limit value is determined in advance in consideration of the configuration and characteristics of the feeding device that sends the moving body, power consumption characteristics, and the like. And when the feed rate below this lower limit is obtained by calculation, the lower limit feed rate may be determined as a new feed rate.

本発明は、前記移動体が刃物台、移動主軸台、移動主軸及びテーブルのうちのいずれかである数値制御旋盤にも適用が可能である。前記した一の移動体と他の移動体との組み合わせは、例えば、刃物台と刃物台、移動主軸台(又は移動主軸)と背面移動主軸台(又は背面移動主軸)、刃物台と背面移動主軸台(又は背面移動主軸)の他、ワークを載置する複数のテーブルパレット等を挙げることができる。また、本発明によって軸移動が制御される移動体の数は二つに限らず三つ又は四つ以上であってもよい。   The present invention can also be applied to a numerically controlled lathe in which the moving body is any one of a tool post, a moving spindle, a moving spindle, and a table. The combination of one moving body and another moving body is, for example, a tool post and a tool rest, a moving spindle stock (or moving spindle) and a rear moving spindle stock (or a rear moving spindle), a tool post and a rear moving spindle. A plurality of table pallets on which the work is placed can be cited in addition to the table (or the back movement spindle). Further, the number of moving bodies whose axial movement is controlled by the present invention is not limited to two, and may be three or four or more.

本発明の加工方法は、相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械におけるワークの加工方法において、一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析ステップを有し、この加工分析ステップで前記一の移動体に装着した工具によるワークの加工の加工終了後に他の移動体に装着した工具によるワークの加工を行うと判断したときに、前記加工分析ステップの後に、今回加工を行う前記一の移動体の加工プログラムの中から、切換指令コードを検索するステップと、次回加工を行う他の移動体の加工プログラムの中から、前記一の移動体の加工プログラムに含まれる前記切換指令コードに対応する切換指令コードを検索するステップと、この切換指令コードの前の加工プログラムの中から、前記他の移動体が次回加工に備えて予め設定された位置まで準備移動する移動指令コードを抽出するステップと、この移動指令コードによる前記他の移動体の移動開始と同時に、移動時間の計測を開始させるステップと、前記他の移動体による前記ワーク加工の開始に先立って行われる一の移動体と前記他の移動体との待ち合わせ完了と同時又は前記他の移動体が前記予め設定された位置からワーク加工のための移動を開始すると同時に前記移動時間の計測を終了させて前記準備移動の時間を割り出すステップと、割り出された前記移動時間に基づいて、前記他の移動体について新たな送り速度を求めるステップと、前記加工プログラム中の移動指令コードによって指定された送り速度を、演算によって得られた前記新たな送り速度に置き換えるステップとを設けた方法としてある。   A machining method according to the present invention includes a plurality of moving bodies that move relative to each other, and a workpiece control method in a numerically controlled machine tool that processes a workpiece with a tool attached to the moving body. Whether the machining program and the machining program of the other moving body are switched from machining with the tool attached to the one moving body to machining with the tool attached to the other moving body, or mounted on the one moving body. A machining analysis step for determining whether the machining with the tool mounted on the other movable body and the machining with the tool mounted on the other moving body are performed simultaneously. In this machining analysis step, the machining of the workpiece with the tool mounted on the one movable body is performed. When it is determined that a workpiece is to be machined by a tool attached to another moving body after the machining is completed, the machining process of the one moving body to be machined this time is performed after the machining analysis step. A switching command code corresponding to the switching command code included in the machining program for the one moving body from among a step of searching for a switching command code from the ram and a machining program for another moving body to be processed next time And a step of extracting a movement command code for preliminarily moving the other moving body to a preset position in preparation for the next machining from the machining program before the switching command code, and this movement A step of starting measurement of the movement time simultaneously with the start of movement of the other moving body by the command code, and one moving body and the other moving body that are performed prior to the start of the workpiece machining by the other moving body; The movement time is measured simultaneously with the completion of the waiting time or simultaneously with the start of movement of the other moving body for workpiece processing from the preset position. A step of determining the time for the preparatory movement, a step for obtaining a new feed speed for the other moving body based on the calculated movement time, and a movement command code in the machining program. And replacing the feed rate with the new feed rate obtained by the calculation.

また、相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械におけるワークの加工方法において、一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析ステップを有し、この加工分析ステップで前記一の移動体に装着した工具によるワークの加工と他の移動体に装着した工具によるワークの加工とを同時に行うと判断したときに、前記加工分析ステップの後に、前記加工プログラムにおいて移動指令コードによって指定された送り速度の中から、置き換えが可能な置換可能送り速度を抽出するステップと、抽出された前記置換可能送り速度の中から、前記一の移動体と前記他の移動体との実加工の加工開始及び加工終了のタイミングとに基づき、実際に送り速度の置き換えを行う置換対象送り速度を決定するステップと、前記置換対象送り速度を含む部分のうち、前記一の移動体と前記他の移動体について実加工を除く部分の時間を計測するステップと、前記一の移動体について計測された時間と前記他の移動体について計測された時間とから、前記一の移動体又は前記他の移動体について新たな送り速度を求めるステップと、前記置換対象送り速度を前記新たな送り速度に置き換えるステップと、次の加工プログラムの実行時から、置き換えられた前記新たな送り速度で前記所定の移動体を軸移動させて加工を行うステップとを設けた方法としてもよい。   Also, in a workpiece machining method in a numerically controlled machine tool that has a plurality of movable bodies that move relative to each other and that processes a workpiece with a tool mounted on the movable body, a machining program for one movable body and another Whether the machining program of the moving body is switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, or machining with a tool attached to the one moving body; A machining analysis step for determining whether to perform machining with the tool mounted on the other moving body at the same time, and processing of the workpiece with the tool mounted on the one moving body and the other moving body at the machining analysis step. When it is determined that machining of the workpiece with the installed tool is performed simultaneously, after the machining analysis step, it is designated by a movement command code in the machining program. A step of extracting a replaceable feed speed that can be replaced from among the feed speeds, and start of actual machining of the one movable body and the other movable body from the extracted replaceable feed speeds And a step of determining a replacement target feed speed for actually replacing the feed speed based on the processing end timing, and the one mobile body and the other mobile body among the parts including the replacement target feed speed From the step of measuring the time of the part excluding actual machining, the time measured for the one moving body, and the time measured for the other moving body, the one moving body or the other moving body is newly A step of obtaining a new feed rate, a step of replacing the feed rate to be replaced with the new feed rate, and the replacement of the new feed rate from the time of execution of the next machining program. And performing the machining by axial movement of the predetermined moving object at a speed or a method of providing.

上記の方法は、各ステップを実行するプログラムによって行うことができる。このプログラムは、工作機械の数値制御装置のハードディスクやメモリに、FDや磁気テープ等の磁気記録媒体、CDやDVD等の光記録媒体その他の記憶媒体から読み込むことが可能であるほか、通信回線を介して読み込むことも可能である。
また、このプログラムは、工作機械のメーカーが工作機械のNCに組み込むマクロプログラム等のように、加工プログラム中の予め設定されたコードで起動するサブプログラムであるとよい。
このようなサブプログラムを利用することで、工作機械のユーザにおいて加工プログラムを何ら変更することなく、本発明の方法を実行することが可能になる。
Said method can be performed by the program which performs each step. This program can be read from a hard disk or memory of a numerical control device of a machine tool from a magnetic recording medium such as an FD or a magnetic tape, an optical recording medium such as a CD or a DVD, or another storage medium. It is also possible to read through.
Further, this program may be a subprogram activated by a preset code in the machining program, such as a macro program incorporated in the NC of the machine tool by a machine tool manufacturer.
By using such a subprogram, the user of the machine tool can execute the method of the present invention without changing any machining program.

本発明は上記のように構成されているので、一の移動体でワークの加工を行っている間に他の移動体を予め設定された加工開始位置まで軸移動させる際に、前記他の移動体の軸移動の際の急激な加減速を低減させて、衝撃や振動の発生を抑制することができる。そのため、振動や衝撃による加工精度の低下を防止することができるほか、移動体の送り装置等の寿命低下も防止することができる。
また、本発明の方法を実行するためのプログラムをマクロプログラム等のサブプログラムに組み込むことで、加工プログラムを何ら変更することなく、本発明の方法を実行することが可能である。
Since the present invention is configured as described above, when the other moving body is axially moved to a preset machining start position while the workpiece is being processed by one moving body, the other movement is performed. The rapid acceleration / deceleration during the movement of the body axis can be reduced, and the occurrence of impact and vibration can be suppressed. For this reason, it is possible to prevent a reduction in processing accuracy due to vibrations and impacts, and it is also possible to prevent a decrease in the life of a moving body feeding device and the like.
Also, by incorporating a program for executing the method of the present invention into a subprogram such as a macro program, it is possible to execute the method of the present invention without changing any machining program.

以下、本発明の好適な実施形態を、図面を参照しながら詳細に説明する。
[第一の実施形態]
図1及び図2は、本発明の移動制御方法の第一の実施形態を説明するフローチャートで、図2は、図1のフローチャートに連続する部分である。また、図3はこの実施形態の加工形態を説明するタイムチャート、図4は送り速度を置き換えた後におけるこの実施形態の加工形態を説明するタイムチャート(上段)及び送り速度の速度変化グラフ(下段)である。
なお、この実施形態では、工作機械のメーカーが作成したサブプログラムであるマクロプログラムに従って、工作機械の数値制御装置(NC)のCPUが図1の各手順を実行するものとする。また、前記のマクロプログラムは、加工プログラム中の予め設定された指令コード(例えば「M06」)によって起動されるものとする。
DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[First embodiment]
1 and 2 are flowcharts for explaining a first embodiment of the movement control method of the present invention, and FIG. 2 is a part continuing from the flowchart of FIG. 3 is a time chart for explaining the machining mode of this embodiment. FIG. 4 is a time chart for explaining the machining mode of this embodiment after replacing the feed speed (upper stage) and a speed change graph of the feed speed (lower stage). ).
In this embodiment, it is assumed that the CPU of the numerical controller (NC) of the machine tool executes each procedure of FIG. 1 according to a macro program that is a subprogram created by the machine tool manufacturer. The macro program is activated by a preset command code (for example, “M06”) in the machining program.

以下、図1及び図2を参照しながら、この実施形態における移動制御の手順を説明する。
スタート(マクロプログラムの起動)と同時に、NC装置のCPUは、ワークの加工を行う加工プログラムの解析を行い(ステップS1)、二つの工具T1,T2による同時加工なのか、二つの工具T1,T2を交互に切り替えながら行う交互加工なのかを判断する(ステップS2)。
Hereinafter, the procedure of movement control in this embodiment will be described with reference to FIGS. 1 and 2.
Simultaneously with the start (starting of the macro program), the CPU of the NC apparatus analyzes the machining program for machining the workpiece (step S1), and the two tools T1 and T2 are used for simultaneous machining by the two tools T1 and T2. It is determined whether or not the alternate processing is performed while alternately switching (step S2).

この判断は、例えば、待ち合わせを指令するコード(図15の例では「!1L1」「!2L1」)の存在の有無と、前記コードに対する工具T1,T2のパートプログラムの設定位置との関係によって判断することができる。例えば、待ち合わせを指令するコード「!1L1」「!2L1」を境として、交互に工具T1,T2のパートプログラムが設定されている場合には、二つの工具T1,T2を交互に切り替えながら加工を行うと判断し、ステップS3に進む。
また、例えば、後に説明する図6の加工プログラムのように、待ち合わせを指令するコード「!1L1」「!2L1」の前又は後に、工具T1,T2のパートプログラムの両方が存在する場合は、工具T1,T2による同時加工と判断して、図7のフローにジャンプする(ジャンプ先を符号Iで示す)。
This determination is made based on, for example, the relationship between the presence / absence of a code for instructing waiting (“! 1L1” and “! 2L1” in the example of FIG. 15) and the setting positions of the part programs of the tools T1 and T2 with respect to the code. can do. For example, when the part programs of tools T1 and T2 are set alternately with the codes “! 1L1” and “! 2L1” instructing waiting, machining is performed while alternately switching the two tools T1 and T2. It judges that it will carry out and progresses to step S3.
Further, for example, when both the part programs of the tools T1 and T2 exist before or after the codes “! 1L1” and “! 2L1” for instructing waiting as in the machining program of FIG. It is determined that the simultaneous machining is performed by T1 and T2, and the process jumps to the flow of FIG.

まず、工具T1,T2を交互に切り替えながら加工を行う場合について説明する。また、以下では、先に加工を開始する一方の刃物台の制御系を第一の制御系,後に加工を開始する他方の刃物台の制御系を第二の制御系とする。
この場合の加工形態は、図14〜図15に示す加工例と同じで、図3に示すように、一方の刃物台(第一刃物台)に装着した工具T1によるワークの加工の終了後に、他方の刃物台(第二刃物台)に装着した工具T2でワークの加工を開始させるものである。
First, a case where machining is performed while the tools T1 and T2 are alternately switched will be described. In the following description, the control system of one turret that starts machining first is a first control system, and the control system of the other turret that starts machining later is a second control system.
The machining mode in this case is the same as the machining examples shown in FIGS. 14 to 15, and as shown in FIG. 3, after the machining of the workpiece by the tool T <b> 1 mounted on one tool post (first tool post), The machining of the workpiece is started with the tool T2 mounted on the other tool post (second tool post).

以下、工具T1,T2を、例えば工具の割り出し位置(移動開始位置)から加工開始位置(ワーク表面から所定距離、例えば0.5mm離れたところ)まで移動させることを、軸移動の中でも特に「準備移動」と記載する。
また、実加工終了後に工具T1,T2を待ち合わせ位置まで軸移動させることを「退避移動」と記載する。そして、「実加工」には、工具T1,T2による実際の加工の他、加工開始位置から工具T1,T2をワークに接触する位置まで移動させる移動も含まれるものとする。
Hereinafter, for example, the “preparation” of the axial movement is to move the tools T1 and T2 from a tool indexing position (movement start position) to a machining start position (a predetermined distance, for example, 0.5 mm away from the workpiece surface). "Movement".
Moreover, moving the tool T1, T2 to the waiting position after the end of actual machining is referred to as “retraction movement”. The “actual machining” includes not only actual machining with the tools T1 and T2, but also movement for moving the tools T1 and T2 from the machining start position to a position in contact with the workpiece.

図3のタイムチャートに示すように、この場合は、第一刃物台の工具T1でワークの加工を開始するとともに、第二刃物台の工具T2をワークに向けて準備移動させ、加工開始位置に工具T2の刃先を位置決めする。そして、工具T1によるワークの加工が終了するまで、この加工開始位置で工具T2を待機させ、工具T1によるワークの加工終了と同時に、工具T2を前記加工開始位置からワークに向けて移動させて、ワークの実加工を開始させる。
この場合は、第二刃物台の工具T2でワークの加工を行う場合に置き換えを行う送り速度は、図3に示す「準備移動」の際の送り速度である。
As shown in the time chart of FIG. 3, in this case, the machining of the workpiece is started with the tool T1 of the first tool post, and the tool T2 of the second tool post is preliminarily moved toward the workpiece and is moved to the machining start position. The cutting edge of the tool T2 is positioned. Then, until the machining of the workpiece by the tool T1 is completed, the tool T2 is kept waiting at this machining start position, and simultaneously with the completion of the machining of the workpiece by the tool T1, the tool T2 is moved from the machining start position toward the workpiece, Start actual machining of the workpiece.
In this case, the feed speed at which the replacement is performed when machining the workpiece with the tool T2 of the second tool post is the feed speed at the time of “preparation movement” shown in FIG.

ステップS3では、次回加工に使用する工具T2に関する第二の制御系の加工プログラム(パートプログラム)を読み込み、この加工プログラムの中から、第一の制御系の加工プログラム中の前記待ち合わせ指令と対応する待ち合わせ指令(図示の例では「!1L1」)を検索する(ステップS5)。   In step S3, a machining program (part program) of the second control system related to the tool T2 used for the next machining is read, and the waiting command in the machining program of the first control system is corresponding to the machining program. A waiting command (“! 1L1” in the illustrated example) is searched (step S5).

次いで、CPUは、例えば、加工を行うモードが、手動モードから自動運転モードに切り換えられたことによって、今回加工のワークWが最初のものかどうかを判断する(ステップS6)。
その結果、最初のワークであると判断すれば、第二の制御系の加工プログラムの中から、ステップS3の検索によって発見された待ち合わせ指令コード(「!1L1」)の前に位置するコードであって、次回加工に使用する工具T2の移動指令のコード(図15の例では、第一行目の「G00 X−20.0 Z−20.0」)を抽出する(ステップS8)。
以後、第二の制御系については、加工プログラムの移動指令のブロック(「G00 X−20 Z−20」)が実行されるまでの間、待機する(ステップS9)。
Next, the CPU determines whether or not the workpiece W to be processed this time is the first, for example, when the mode for performing the processing is switched from the manual mode to the automatic operation mode (step S6).
As a result, if it is determined that the workpiece is the first workpiece, the code is located before the waiting command code (“! 1L1”) found by the search in step S3 from the machining program of the second control system. Then, the code of the movement command of the tool T2 used for the next machining (“G00 X-20.0 Z-20.0” in the first line in the example of FIG. 15) is extracted (step S8).
Thereafter, the second control system stands by until a movement command block (“G00 X-20 Z-20”) of the machining program is executed (step S9).

第一の制御系において加工指令のブロック「G01 Z11.0」(図15参照)が実行されて加工が開始されれば、これと同時に、工具T2の移動が開始される。第二の制御系において位置決め指令のブロック「G00 X−20 Z−20」が実行されて工具T2が加工開始位置に向けての準備移動を開始すれば、この準備移動の開始と同時にタイマを始動させて、準備移動の際の移動時間(TIME1)の計測を開始する(ステップS11)。
タイマによる加工時間の計測及び移動時間(TIME1)の計測は、図3に示すように、待ち合わせが完了するまで、つまり待ち合わせ完了指令が出力されるまで、行われる(ステップS12,S13)。なお、この実施形態のように、待ち合わせ完了直後に工具T2による実加工が開始される場合には、工具T2が実加工を開始するまで、つまり、「G01」コードの実行指令が出力されるまで、行われるようにしてもよい。
If the machining command block “G01 Z11.0” (see FIG. 15) is executed in the first control system and machining is started, the movement of the tool T2 is started at the same time. If the positioning command block “G00 X-20 Z-20” is executed in the second control system and the tool T2 starts a preparatory movement toward the machining start position, a timer is started simultaneously with the start of this preparatory movement. Thus, measurement of the movement time (TIME1) during the preparation movement is started (step S11).
As shown in FIG. 3, the measurement of the machining time and the movement time (TIME1) by the timer are performed until waiting is completed, that is, until a waiting completion command is output (steps S12 and S13). Note that when actual machining with the tool T2 is started immediately after completion of waiting as in this embodiment, until the tool T2 starts actual machining, that is, until the execution command of the “G01” code is output. May be performed.

時間計測終了後に、第二の制御系における移動開始位置から加工開始位置までの距離と計測時間とから、第二の制御系の送り速度V1を求める(ステップS19)。
次いで、送り速度V1が予め設定された下限値よりも大きいかどうかを判断し(ステップS20)、下限値よりも大きい場合には、ステップS19で得られた送り速度V1を、新たな送り速度として設定する(ステップS22)。
なお、前記した下限値は、刃物台を送る送り装置の構成や特性、消費電力特性等を考慮して予め決定する。
After the time measurement is completed, the feed speed V1 of the second control system is obtained from the distance from the movement start position to the machining start position in the second control system and the measurement time (step S19).
Next, it is determined whether or not the feed speed V1 is greater than a preset lower limit value (step S20). If greater than the lower limit value, the feed speed V1 obtained in step S19 is set as a new feed speed. Set (step S22).
The lower limit value is determined in advance in consideration of the configuration and characteristics of the feeding device that sends the tool post, power consumption characteristics, and the like.

この送り速度V1が予め設定された前記の下限値よりも小さいときは、送り速度V1として前記の下限値に設定し(ステップS21)、新たな送り速度として設定する(ステップS22)。
以上で、マクロプログラムの実行を終了する(ステップS23)。上記した各ステップは、NCのハードディスクやメモリにインストールしたマクロプログラムによって実行することができる。
When the feed speed V1 is smaller than the preset lower limit value, the feed speed V1 is set to the lower limit value (step S21) and set as a new feed speed (step S22).
This completes the execution of the macro program (step S23). Each of the above steps can be executed by a macro program installed in the NC hard disk or memory.

図4は、上記手順により、送り速度が再設定された後の加工形態及び他方の刃物台(工具T2)の位置決め時のタイムチャートの一例を示したものである。なお、図4に示す例は、新たな送り速度V1が前記の下限値よりも大きい場合である。
工具T2は、位置決め指令である「G00」コードによって、加工開始位置まで準備移動するが、「G00」によって指定された早送りの速度が、マクロプログラムの実行によって最大の送り速度Vmax(図16参照)から新たな送り速度V1に置き換えられているため、この新たな送り速度V1で準備移動しながら、加工開始位置に到達する。
新たな送り速度V1は、工具T1による加工中の待機時間を利用して求められているので、準備移動の開始や停止の際に、振動や衝撃の小さい送り速度とすることができ、かつ、待機時間を0又は短縮することができる。
FIG. 4 shows an example of a processing chart after the feeding speed is reset by the above procedure and a time chart at the time of positioning of the other tool rest (tool T2). In addition, the example shown in FIG. 4 is a case where the new feed speed V1 is larger than the said lower limit.
The tool T2 is preliminarily moved to the machining start position by the “G00” code which is a positioning command, but the fast feed speed designated by “G00” is the maximum feed speed Vmax by executing the macro program (see FIG. 16). Therefore, the machining start position is reached while making a preliminary movement at the new feed speed V1.
Since the new feed speed V1 is obtained by using the standby time during processing by the tool T1, it is possible to set a feed speed with small vibration and impact at the start and stop of the preparation movement, and The waiting time can be reduced to 0 or shortened.

次に、工具T3,T4で同時に加工を行う場合、つまり、図1のフローチャートのステップS2で同時加工を行うと判断した場合について、図5〜図11を参照しながら説明する。
図5は、工具T3,T4で同時に加工を行う場合にかかり、二つの刃物台に装着した切削工具(工具T3,T4)で、ワーク外周面の切削加工を同時に行う場合を示した概略図、図6は、図5の加工例における第一の制御系及び第二の制御系の加工プログラムの一部を抜粋して示したもので、左側が第一の制御系の切削工具T3にかかる部分を、右側が第二の制御系の切削工具T4にかかる部分を示している。なお、図5においては、工具T3,T4のそれぞれの軌跡を、符号α,βで示している。
Next, a case where simultaneous machining is performed with the tools T3 and T4, that is, a case where simultaneous machining is determined in step S2 of the flowchart of FIG. 1 will be described with reference to FIGS.
FIG. 5 is a schematic diagram showing a case in which cutting of the outer peripheral surface of a workpiece is simultaneously performed with cutting tools (tools T3 and T4) mounted on two tool rests, when machining is performed simultaneously with the tools T3 and T4. FIG. 6 shows an excerpt of part of the machining program of the first control system and the second control system in the machining example of FIG. 5, and the left side is a portion related to the cutting tool T3 of the first control system. The right side shows a portion applied to the cutting tool T4 of the second control system. In addition, in FIG. 5, each locus | trajectory of tool T3, T4 is shown by code | symbol (alpha), (beta).

また、図7〜図9は、同時加工の場合における移動制御方法のフローチャート、図10は、同時加工の場合の加工形態を説明するタイムチャートで、一方の刃物台に装着した工具T3での実加工の終了前に他方の刃物台に装着した工具T4での実加工が終了している場合、図11は、同時加工の場合の加工形態を説明するタイムチャートで、一方の刃物台に装着した工具T3での実加工の終了後に他方の刃物台に装着した工具T4での実加工が終了する場合を示している。図10及び図11において、(a)は送り速度の置き換え前を、(b)は送り速度の置き換え後の状態を示している。   FIGS. 7 to 9 are flow charts of the movement control method in the case of simultaneous machining, and FIG. 10 is a time chart for explaining the machining mode in the case of simultaneous machining, which is performed with the tool T3 mounted on one tool post. When the actual machining with the tool T4 attached to the other tool post before the end of the machining has been completed, FIG. 11 is a time chart for explaining a machining mode in the case of simultaneous machining, and is attached to the one tool post. The case where the actual machining with the tool T4 attached to the other tool post is finished after the actual machining with the tool T3 is finished is shown. 10 and 11, (a) shows a state before replacement of the feed rate, and (b) shows a state after replacement of the feed rate.

工具T3,T4による同時加工の場合は、図10(a)及び図11(a)に示すように、一方の刃物台(第一刃物台)に装着した工具T3によるワークの加工を開始した直後に、他方の刃物台(第二刃物台)に装着した工具T4でワークの加工を開始させる。このような加工形態の具体的例として、粗加工を行った後に仕上げ加工を行うものが挙げられる。   In the case of simultaneous machining with the tools T3 and T4, as shown in FIGS. 10 (a) and 11 (a), immediately after the machining of the workpiece with the tool T3 mounted on one of the turrets (first turret) is started. Then, machining of the workpiece is started with the tool T4 mounted on the other tool post (second tool post). A specific example of such a processing form is one in which finishing is performed after roughing.

図10(a)及び図11(a)に示す加工形態では、第一刃物台で工具T3を、第二刃物台で工具T4を割り出した後に、G00コードにより工具T3と工具T4とを、割り出し位置からそれぞれの加工開始位置まで早送り速度で準備移動させる。そして、第一刃物台の工具T3が加工開始位置に到達したら、G01コードにより切削時の送り速度に変更してワークに向けて移動させ、ワークの実加工を開始させる。
一方、第二刃物台の工具T4が加工開始位置に到達したら、G01コードにより加工開始の指令が出力されるまで、当該加工開始位置で工具T4を待機させる。
In the machining mode shown in FIGS. 10A and 11A, after the tool T3 is determined by the first tool post and the tool T4 is determined by the second tool post, the tool T3 and the tool T4 are determined by the G00 code. Prepare and move from the position to each processing start position at a rapid feed rate. When the tool T3 of the first tool post reaches the machining start position, the feed speed at the time of cutting is changed by the G01 code and moved toward the workpiece to start actual machining of the workpiece.
On the other hand, when the tool T4 of the second tool post reaches the machining start position, the tool T4 is put on standby at the machining start position until a machining start command is output by the G01 code.

工具T3によるワークの切削加工が予め設定された位置まで進行したら、G01コードにより工具T4の待機状態を解除し、加工開始位置からワークに向けて工具T4を切削時の送り速度で移動させて、ワークの実加工を開始させる。
この同時加工の場合に置き換えが可能な「置換可能送り速度」は、実加工の際の送り速度を除くもの、つまり、実加工開始前の「準備移動」の際の送り速度と実加工終了後の「退避移動」の際の送り速度である。
When cutting of the workpiece by the tool T3 proceeds to a preset position, the standby state of the tool T4 is canceled by the G01 code, and the tool T4 is moved from the machining start position toward the workpiece at the feed speed at the time of cutting. Start actual machining of the workpiece.
The “replaceable feed speed” that can be replaced in the case of this simultaneous machining is the one excluding the feed speed at the time of actual machining, that is, the feed speed at the time of “preparation movement” before the actual machining starts and This is the feed speed during the “retraction movement”.

同時加工の場合、CPUは、例えば、加工を行うモードが、手動モードから自動運転モードに切り換えられたことに基づいて、加工するワークが最初のワークであるかどうかを判断する(図7:ステップS33,S44)。
そして、上記の切り換えがなければ、最初のワークと判断し、第一刃物台の加工プログラム及び第二刃物台の加工プログラムの中から、置き換えが可能な置換可能送り速度を抽出する(ステップS34,S45)。この加工形態において抽出される送り速度は、第一刃物台及び第二刃物台の「準備移動」(工具の割り出し位置から加工開始位置までの移動)の際の送り速度及び実加工終了後の「退避移動」の際の送り速度である。
工具T3,T4を予め設定された位置に割り出した後、CPUは、工具の選択・位置決め指令に続く「G00」コード(図6参照)により、工具T3及び工具T4をワークWに近接した加工開始位置まで早送り速度で準備移動させる(ステップS35,S46)。
In the case of simultaneous machining, for example, the CPU determines whether the workpiece to be machined is the first workpiece based on the fact that the machining mode has been switched from the manual mode to the automatic operation mode (FIG. 7: step). S33, S44).
If there is no switching as described above, it is determined that the workpiece is the first workpiece, and a replaceable feed rate that can be replaced is extracted from the machining program for the first tool post and the machining program for the second tool post (step S34, S45). The feed rate extracted in this machining mode is the feed rate at the time of “preparation movement” (movement from the index position of the tool to the machining start position) of the first tool post and the second tool post, and “ This is the feed speed for the “retreat movement”.
After determining the tools T3 and T4 to the preset positions, the CPU starts machining the tool T3 and the tool T4 close to the workpiece W by the “G00” code (see FIG. 6) following the tool selection / positioning command. Preliminary movement to the position at a fast feed speed (steps S35 and S46).

この加工開始位置に向けた準備移動の開始と同時に、第一の制御系及び第二の制御系の双方で、時間計測(TIME1及びTIME2)を開始させる(ステップS36,S47)。
この時間計測は、第一及び第二の制御系において工具T3,T4による実加工が開始されるまで行われる(ステップS37,S48)。実加工開始と同時に、時間計測(TIME1及びTIME2)が終了する(ステップS38,S49)。
また、第一の制御系における工具T3での実加工の終了(ステップS39)時に、第二の制御系における工具T4での実加工が終了しているかどうかが判断される(ステップS40)。
工具T3での実加工の終了前に工具T4での実加工が終了している場合(図10(a)の場合)には、実加工の終了と同時に時間計測(TIME3)を開始させて(ステップS41)、第二の制御系との待ち合わせ(ステップS42,S53)、待ち合わせ完了と同時に計測を終了させ(ステップS43)、図8(a)のステップS19′及び図8(b)のステップS60に進む。
工具T3での実加工の終了後に工具T4での実加工が終了する場合(図11(a)の場合)には、図8(a)のステップS19′及び図9のステップS80に進む。
Simultaneously with the start of the preparation movement toward the machining start position, time measurement (TIME1 and TIME2) is started in both the first control system and the second control system (steps S36 and S47).
This time measurement is performed until actual machining with the tools T3 and T4 is started in the first and second control systems (steps S37 and S48). Simultaneously with the start of actual machining, time measurement (TIME1 and TIME2) ends (steps S38 and S49).
Further, at the end of actual machining with the tool T3 in the first control system (step S39), it is determined whether or not actual machining with the tool T4 in the second control system is completed (step S40).
When actual machining with the tool T4 has been completed before the actual machining with the tool T3 is completed (in the case of FIG. 10A), time measurement (TIME3) is started simultaneously with the completion of the actual machining ( Step S41) Waiting with the second control system (Steps S42 and S53), the measurement is terminated simultaneously with completion of the waiting (Step S43), Step S19 ′ in FIG. 8A and Step S60 in FIG. 8B. Proceed to
When the actual machining with the tool T4 is completed after the actual machining with the tool T3 is completed (in the case of FIG. 11A), the process proceeds to step S19 ′ in FIG. 8A and step S80 in FIG.

同様に、第二の制御系における工具T4での実加工の終了(ステップS50)後に、第一の制御系における工具T3での実加工が終了しているかどうかが判断される(ステップS51)。
工具T4での実加工の終了後に工具T3での実加工が終了する場合(図10(a)の場合)には、実加工の終了と同時に時間(TIME4)の計測を開始し(ステップS52)、第一の制御系と待ち合わせ(ステップS42,S53)、待ち合わせ完了と同時に時間の計測を終了させて(ステップS54)、図8(a)のステップS19′及び図8(b)のステップS60に進む。
工具T4での実加工の終了前に工具T3での実加工が終了している場合(図11(a)の場合)には、図8(a)のステップS19′及び図9のステップS84に進み、第一の制御系との待ち合わせを行う(ステップS82,S85)。
Similarly, after completion of actual machining with the tool T4 in the second control system (step S50), it is determined whether or not actual machining with the tool T3 in the first control system has been completed (step S51).
When the actual machining with the tool T3 is completed after the actual machining with the tool T4 is completed (in the case of FIG. 10A), the measurement of the time (TIME4) is started simultaneously with the end of the actual machining (step S52). Waiting with the first control system (steps S42, S53), and at the same time as the completion of waiting, the time measurement is terminated (step S54), and the process proceeds to step S19 'in FIG. 8A and step S60 in FIG. 8B. move on.
When the actual machining with the tool T3 is completed before the actual machining with the tool T4 is completed (in the case of FIG. 11A), the process proceeds to step S19 ′ in FIG. 8A and step S84 in FIG. The process proceeds to wait for the first control system (steps S82 and S85).

なお、この同時加工の場合において、加工の終了は、加工プログラムの「G00」コードに従って工具T3,T4をワークから退避移動させ、加工が終了したときの予め設定された退避位置(待ち合わせ位置)に位置決めしたときである。
そして、加工プログラムの最後に設定された「!2L1」「!1L1」により、ステップS42,S53又はステップS82,S85における第一の制御系と第二の制御系とで待ち合わせを行う。
In the case of this simultaneous machining, the machining is completed by moving the tools T3 and T4 away from the workpiece according to the “G00” code of the machining program, and at a preset retraction position (waiting position) when the machining is completed. When it is positioned.
Then, according to “! 2L1” and “! 1L1” set at the end of the machining program, the first control system and the second control system in steps S42 and S53 or steps S82 and S85 are waited.

ここで、図10(a),図11(a)のタイムチャートの場合における実加工開始前の新たな速度設定の手順を図8(a)のフローチャートを参照しながら説明する。
この送り速度の設定の手順は基本的には、図2に示した新たな送り速度設定の手順と同じである。
すなわち、実加工開始前の第二の制御系の準備移動時の送り速度V2については、両計測結果の比K=TIME2/TIME1を求め(ステップS19′)、比Kが予め設定された下限値よりも大きいかどうかを判断し(ステップS20′)、下限値よりも大きい場合には、得られた比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V2を算出する(ステップS22′)。
なお、前記した下限値は、刃物台を送る送り装置の構成や特性、消費電力特性等を考慮して予め決定する。
Here, a procedure for setting a new speed before the start of actual machining in the case of the time charts of FIGS. 10A and 11A will be described with reference to the flowchart of FIG.
The procedure for setting the feed rate is basically the same as the procedure for setting a new feed rate shown in FIG.
That is, for the feed speed V2 during the preparatory movement of the second control system before the start of actual machining, the ratio K = TIME2 / TIME1 of both measurement results is obtained (step S19 ′), and the ratio K is a preset lower limit value. (Step S20 '), if greater than the lower limit, the obtained ratio K is multiplied by the maximum feed speed Vmax to calculate a new feed speed V2 (step S22'). ).
The lower limit value is determined in advance in consideration of the configuration and characteristics of the feeding device that sends the tool post, power consumption characteristics, and the like.

この比Kが、予め設定された前記の下限値よりも小さいときは、比Kを前記下限値に設定し(ステップS21′)、この比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V2を算出する(ステップS22′)。
そして、上記の手順によって得られた新たな送り速度V2を、準備移動時(工具の割り出し位置から加工開始位置まで移動する時)の送り速度として設定する(ステップS23′)。
以上で、マクロプログラムの実行を終了する(ステップS24′)。
When the ratio K is smaller than the preset lower limit value, the ratio K is set to the lower limit value (step S21 '), and the ratio K is multiplied by the maximum feed speed Vmax to obtain a new feed. The speed V2 is calculated (step S22 ').
Then, the new feed speed V2 obtained by the above procedure is set as the feed speed at the time of preparation movement (when moving from the tool index position to the machining start position) (step S23 ').
This completes the execution of the macro program (step S24 ′).

次に、図10(a)の加工例の場合における実加工終了後の送り速度の設定の手順を、図8(b)を参照しながら説明する。この場合は、第二の制御系の退避移動速度を置換可能な送り速度として選択する(ステップS60)。
そして、計測結果の比K=TIME3/TIME4を求め(ステップS61)、比Kが予め設定された下限値よりも大きいかどうかを判断し(ステップS62)、下限値よりも大きい場合には、得られた比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V3を算出する(ステップS64)。
なお、前記した下限値は、刃物台を送る送り装置の構成や特性、消費電力特性等を考慮して予め決定する。
Next, the procedure for setting the feed rate after the end of actual machining in the machining example of FIG. 10A will be described with reference to FIG. In this case, the retreat movement speed of the second control system is selected as a replaceable feed speed (step S60).
Then, the measurement result ratio K = TIME3 / TIME4 is obtained (step S61), and it is determined whether the ratio K is larger than a preset lower limit value (step S62). A new feed speed V3 is calculated by multiplying the obtained ratio K by the maximum feed speed Vmax (step S64).
The lower limit value is determined in advance in consideration of the configuration and characteristics of the feeding device that sends the tool post, power consumption characteristics, and the like.

この比Kが、予め設定された前記の下限値よりも小さいときは、比Kを前記下限値に設定し(ステップS63)、この比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V3を算出する(ステップS64)。
そして、上記の手順によって得られた新たな送り速度V3を、退避移動の送り速度として設定する(ステップS65)。
以上で、マクロプログラムの実行を終了する(ステップS66)。
以上で、一連の処理を終了する。二回目の加工からは、新たに設定された送り速度V2,V3で、第二の制御系における工具T4の準備移動及び退避移動が行われる。
When the ratio K is smaller than the preset lower limit value, the ratio K is set to the lower limit value (step S63), and the ratio K is multiplied by the maximum feed speed Vmax to obtain a new feed speed. V3 is calculated (step S64).
Then, the new feed speed V3 obtained by the above procedure is set as the feed speed of the retreat movement (step S65).
This completes the execution of the macro program (step S66).
Thus, a series of processing is completed. From the second machining, the preparation movement and retraction movement of the tool T4 in the second control system are performed at the newly set feed speeds V2 and V3.

次に、図11(a)の加工例の場合における退避移動時の送り速度の設定の手順を、図9のフローチャートを参照しながら説明する。
新たな送り速度を設定するに先立ち、この場合は、図10(a)の加工例と同様に第二の制御系の準備移動時の送り速度を選択する他、第一の制御系の退避移動時の送り速度を置換可能な送り速度として選択する(ステップS80)。また、第一の制御系の実加工の終了と同時に、時間計測(TIME5)を開始させる(ステップS81)。そして、第一の制御系と第二の制御系の待ち合わせ(ステップS82,S85)後に、時間計測を終了させる(ステップS83)。同様に、第二の制御系の実加工の終了と同時に、時間計測(TIME6)を開始させる(ステップS84)。そして、第一の制御系と第二の制御系の待ち合わせ(ステップS82,S85)後に、時間計測を終了させる(ステップS86)。
Next, the procedure for setting the feed speed during the retreat movement in the case of the machining example of FIG. 11A will be described with reference to the flowchart of FIG.
Prior to setting a new feed rate, in this case, in addition to selecting the feed rate during the preparatory movement of the second control system as in the machining example of FIG. The current feed rate is selected as a replaceable feed rate (step S80). Moreover, time measurement (TIME5) is started simultaneously with the end of the actual machining of the first control system (step S81). Then, after waiting for the first control system and the second control system (steps S82 and S85), the time measurement is terminated (step S83). Similarly, time measurement (TIME6) is started simultaneously with the end of actual machining of the second control system (step S84). Then, after waiting for the first control system and the second control system (steps S82 and S85), the time measurement is terminated (step S86).

この後、第1の制御系における退避移動時の新たな送り速度V4を求めるが、その手順については、基本的には図10(a)の場合と変わりはない。
すなわち、計測結果の比K=TIME4/TIME5を求め(ステップS87)、比Kが予め設定された下限値よりも大きいかどうかを判断し(ステップS88)、下限値よりも大きい場合には、得られた比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V4を算出する(ステップS90)。
なお、前記した下限値は、刃物台を送る送り装置の構成や特性、消費電力特性等を考慮して予め決定する。
Thereafter, a new feed speed V4 at the time of retracting movement in the first control system is obtained, but the procedure is basically the same as in the case of FIG.
That is, the measurement result ratio K = TIME4 / TIME5 is obtained (step S87), and it is determined whether the ratio K is larger than a preset lower limit value (step S88). A new feed speed V4 is calculated by multiplying the obtained ratio K by the maximum feed speed Vmax (step S90).
The lower limit value is determined in advance in consideration of the configuration and characteristics of the feeding device that sends the tool post, power consumption characteristics, and the like.

この比Kが、予め設定された前記の下限値よりも小さいと判断したとき(ステップS88)は、比Kを前記下限値に設定し(ステップS89)、この比Kを最大の送り速度Vmaxに乗じて、新たな送り速度V4を算出する(ステップS90)。
そして、上記の手順によって得られた新たな送り速度V4を、退避移動の送り速度として設定する(ステップS91)。
以上で、マクロプログラムの実行を終了する(ステップS92)。
二回目の加工からは、新たに設定された送り速度V2,V4で、第二の制御系における工具T4の準備移動と、第一の制御系の工具T3の退避移動が行われる。
When it is determined that the ratio K is smaller than the preset lower limit value (step S88), the ratio K is set to the lower limit value (step S89), and the ratio K is set to the maximum feed speed Vmax. By multiplying, a new feed speed V4 is calculated (step S90).
Then, the new feed speed V4 obtained by the above procedure is set as the feed speed for the retreat movement (step S91).
This completes the execution of the macro program (step S92).
From the second machining, the preparatory movement of the tool T4 in the second control system and the retreat movement of the tool T3 in the first control system are performed at the newly set feed speeds V2 and V4.

[第二の実施形態]
次に、本発明の第二の実施形態を、図12及び図13を参照しながら説明する。
図12は、本発明の第二の実施形態の移動制御方法にかかり、同時加工を行うか否かの加工分析を行うステップ部分を示すフローチャート、図13は、本発明の第二の実施形態の加工プログラムの一例を示す図である。
先に説明した第一の実施形態では、図1のステップS1,S2に示すように、加工を開始する前に加工プログラムを読み込み、マクロプログラムによって加工プログラムの解析を行い、加工プログラム中に待ち合わせ指令が存在するか否か及び前記待ち合わせ指令と工具T1〜T4のパートプログラムの設定位置との関係から、切り換え加工か同時加工かを判断するようにしている。
これに対し、この実施形態では、図12のフローチャートのステップS101,S111に示すように、スタートと同時に第一の制御系及び第二の制御系の加工プログラムを実行させ、各ブロックを実行する過程で、第一の制御系及び第二の制御系に、同時加工を前提とする指令が含まれるか否かを判断するようにしている(ステップS102,112)。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIGS.
FIG. 12 is a flowchart showing a step portion for performing a machining analysis of whether or not simultaneous machining is performed according to the movement control method of the second embodiment of the present invention, and FIG. 13 is a flowchart of the second embodiment of the present invention. It is a figure which shows an example of a process program.
In the first embodiment described above, as shown in steps S1 and S2 of FIG. 1, a machining program is read before machining is started, the machining program is analyzed by a macro program, and a waiting command is issued in the machining program. Whether switching machining or simultaneous machining is determined from the relationship between the waiting command and the setting positions of the part programs of the tools T1 to T4.
On the other hand, in this embodiment, as shown in steps S101 and S111 of the flowchart of FIG. 12, the machining program of the first control system and the second control system is executed simultaneously with the start, and each block is executed. Thus, it is determined whether or not the first control system and the second control system include a command premised on simultaneous machining (steps S102 and 112).

この加工プログラムでは、図13に示すように、同時加工を前提とする指令が存在することを意味するコード「Gxxx」が最初と最後に予め設定されている。そして、図13に示す加工プログラムを実行するうち、次に実行するブロックが「Gxxx」コードであれば、CPUは第一の制御系と第二の制御系との間で同時加工指令があると判断するわけである(ステップS102,112)。   In this machining program, as shown in FIG. 13, a code “Gxxx” indicating that there is a command premised on simultaneous machining is preset at the beginning and at the end. When the machining program shown in FIG. 13 is executed and the block to be executed next is “Gxxx” code, the CPU has a simultaneous machining command between the first control system and the second control system. The determination is made (steps S102 and 112).

なお、図13において、「GxxxSTART」コードに続く次のブロックは、工具の選択・位置決め指令である。第一の制御系においては、「GxxxSTART」コードに続く「T0200 Q1」コードにより所定の工具T3を予め設定された位置に割り出し、位置決めを行う。また、第二の制御系においては、「GxxxSTART」コードに続く「T3400」コードにより所定の工具T4を予め設定された位置に割り出し、位置決めを行う。   In FIG. 13, the next block following the “GxxxSTART” code is a tool selection / positioning command. In the first control system, the predetermined tool T3 is indexed to a preset position by the “T0200 Q1” code following the “GxxxSTART” code, and positioning is performed. In the second control system, a predetermined tool T4 is indexed to a preset position by the “T3400” code following the “GxxxSTART” code, and positioning is performed.

第一の制御系と第二の制御系のいずれか一方において実加工を指令するコード(図13の例では、「T0200」又は「T3400」による工具指定後の「G01」コードがこれに該当する)が実行されるまでの間に、前記の同時加工指令(「Gxxx」)が存在する場合には、図7のステップS33及びステップS44に進む。以後、図7のフローチャートのステップS34及びステップS45以下と同じステップを実行することになる。   Code for instructing actual machining in either one of the first control system and the second control system (in the example of FIG. 13, “G01” code after tool designation by “T0200” or “T3400” corresponds to this) If the simultaneous machining command (“Gxxx”) exists before the process is executed, the process proceeds to step S33 and step S44 in FIG. Thereafter, the same steps as those in step S34 and step S45 in the flowchart of FIG. 7 are executed.

第一の制御系と第二の制御系のいずれか一方において実加工を指令するコードが実行されるまでの間に、前記の同時加工指令(「Gxxx」)が存在しない場合には、工具T3と工具T4とを交互に切り替えながら加工を行うと判断して、図12(b)のフローにジャンプする(ジャンプ先を図12中符号I′で示す)。この場合、いずれの制御系の加工を優先させるかを加工プログラムから判断し、先に加工を開始する方を第一の制御系、後に加工を行う方を第二の制御系とする(ステップS103)。
図12(b)のフローにおいて、ステップS3,S5は、図1のフローチャートのステップS3,S5に相当するものであり、以後、図1のフローチャートのステップS3,S5以下を実行することになる。
If the simultaneous machining command (“Gxxx”) does not exist before the code for commanding actual machining is executed in either the first control system or the second control system, the tool T3 It is determined that the machining is performed while alternately switching between the tool T4 and the tool T4, and the process jumps to the flow of FIG. In this case, it is determined from the machining program which machining system should be prioritized, and the first control system is the one that starts machining first, and the second control system is the one that performs machining later (step S103). ).
In the flow of FIG. 12B, steps S3 and S5 correspond to steps S3 and S5 of the flowchart of FIG. 1, and thereafter steps S3 and S5 of the flowchart of FIG. 1 are executed.

このように、この実施形態では、ステップS101,S111及びステップS102,112が、工具T3と工具T4との同時加工を行うか否かの加工分析ステップを構成する。
この実施形態のように、加工プログラムを実行しながら同時加工を行うかどうかを判断するようにすることで、加工開始前における加工プログラムの事前解析が不要となり、加工プログラムの実行時間を短縮することができるという利点がある。このような利点は、複雑で多種多用な加工指令を含む加工プログラムにおいて特に顕著である。
Thus, in this embodiment, Steps S101 and S111 and Steps S102 and 112 constitute a machining analysis step for determining whether or not simultaneous machining of the tool T3 and the tool T4 is performed.
As in this embodiment, by determining whether to perform simultaneous machining while executing the machining program, it is not necessary to perform a prior analysis of the machining program before starting machining, and the execution time of the machining program is reduced. There is an advantage that can be. Such an advantage is particularly remarkable in a machining program including complicated and various machining commands.

本発明の好適な実施形態について説明したが、本発明は上記の実施形態により何ら限定されるものではない。
例えば、上記の第一の実施形態の説明では、送り速度の置き換えについて、加工プログラムのうちの特定の工具T1〜T4に関する部分のみを例に挙げて説明したが、上記の処理は、加工プログラムの全体について実行する。すなわち、ワークの加工を行う全ての工具に関するパートプログラムのそれぞれについて上記の処理を実行し、位置決め時の送り速度の置き換えを行うわけである。
Although preferred embodiments of the present invention have been described, the present invention is not limited to the above-described embodiments.
For example, in the description of the first embodiment, the replacement of the feed rate has been described by taking only the part related to the specific tools T1 to T4 in the machining program as an example. Run for the whole. That is, the above processing is executed for each of the part programs related to all tools for machining the workpiece, and the feed speed at the time of positioning is replaced.

また、移動体として二つの刃物台を例に挙げて説明したが、移動体は刃物台に限らず主軸や主軸台であってもよく、加工の組み合わせも上記のものに限定されない。
さらに、移動体の数は二つに限らず三つ以上であってもよい。この場合は、互いに待ち合わせを行う二つ又は三つ以上の制御系の間で上記の処理を行う。
また、上記の説明では、最初の一個目のワークの実加工を通して新たな送り速度を得るようにしているが、加工プログラムに従ってワークの加工をシミュレーションすることで、実加工を開始する前に新たな送り速度V1,V2,V3,V4を得ることが可能になる。
In addition, although the two turrets have been described as examples of the moving body, the moving body is not limited to the turret, and may be a spindle or a spindle stock, and the combination of processing is not limited to the above.
Furthermore, the number of moving bodies is not limited to two and may be three or more. In this case, the above processing is performed between two or three or more control systems that wait for each other.
In the above description, a new feed speed is obtained through actual machining of the first workpiece. However, by simulating workpiece machining according to the machining program, a new feed speed is obtained before starting actual machining. Feed rates V1, V2, V3, and V4 can be obtained.

さらに、同時加工の場合は、準備移動時の送り速度及び退避移動時の送り速度を置き換えの対象としているが、工具の割り出し位置から加工開始位置まで準備移動する際の「G00」で指定された最大送り速度も置き換えが可能である。この場合は、第一制御系及び第二制御系のそれぞれについて、割り出し位置から加工開始位置までの準備移動の時間を計測し、先に割り出し位置まで到達した方の制御系について、両時間の比に基づいて、準備移動の際の送り速度を求めるとよい。   Furthermore, in the case of simultaneous machining, the feed speed at the time of preparation movement and the feed speed at the time of retraction movement are to be replaced, but specified by “G00” when performing preliminary movement from the index position of the tool to the machining start position. The maximum feed rate can also be replaced. In this case, for each of the first control system and the second control system, the preparatory movement time from the indexing position to the machining start position is measured, and for the control system that has reached the indexing position first, the ratio of both times Based on the above, it is good to obtain the feed speed during the preparation movement.

また、上記の説明では、「切り替え加工」と「同時加工」の双方において送り速度の置き換えを行うようにしているが、「同時加工」と判断された場合又は「切り替え加工」と判断された場合のいずれかにおいて、送り速度の置き換えを行わないようにすることも可能である。   In the above description, the feed rate is replaced in both “switching” and “simultaneous processing”, but when “simultaneous processing” is determined or “switching” is determined. In either of the cases, it is possible not to replace the feed rate.

本発明の方法は、移動体として刃物台や移動主軸、移動主軸台、複数のテーブル,パレット等を有し、複数のこれら移動体を切り換えながら又は同時にワークの加工を行うあらゆる種類の工作機械に適用が可能である。   The method of the present invention has a tool post, a moving spindle, a moving spindle, a plurality of tables, a pallet, etc. as a moving body, and can be applied to all kinds of machine tools that process a workpiece while switching a plurality of these moving bodies or simultaneously. Applicable.

本発明における移動制御方法の第一の実施形態にかかり、加工プログラムのスタート及び二つの刃物台に装着した工具を交互に切り換えながら加工を行う場合の例を示すフローチャートである。It is a flowchart which shows the example in the case of performing a process according to 1st embodiment of the movement control method in this invention, and switching a tool with which the start of the machining program and the two tool posts were alternately switched. 図1のフローチャートに連続するフローチャートである。It is a flowchart following the flowchart of FIG. 第一の実施形態における同時加工の場合の加工形態を説明するタイムチャートである。It is a time chart explaining the processing form in the case of simultaneous processing in a first embodiment. 新たな送り速度が設定された場合における、他方の刃物台(工具T2)の位置決め時のタイムチャート及び送り速度の速度変化グラフを示したものである。The time chart at the time of positioning of the other tool post (tool T2) when a new feed speed is set and the speed change graph of the feed speed are shown. 第一の実施形態にかかり、二つの刃物台に装着した工具で同時にワークの加工を行う場合を示した概略図である。It is the schematic which showed the case where a workpiece | work was processed simultaneously with the tool concerning 1st embodiment with the two tool rests. 図5の加工例における第一の制御系及び第二の制御系の加工プログラムの一部を抜粋して示したもので、左は第一の制御系の工具T3に関する部分を、右は第二の制御系の工具T4に関する部分を示している。FIG. 5 shows a part of the machining program of the first control system and the second control system in the machining example of FIG. 5, the left is the part related to the tool T3 of the first control system, and the right is the second. The part regarding the tool T4 of the control system is shown. 本発明の移動制御方法の第一の実施形態にかかり、二つの刃物台に装着した工具でワークを同時加工する場合の例を示すフローチャートである。It is a flowchart concerning the first embodiment of the movement control method of the present invention, showing an example in the case of simultaneously machining a workpiece with tools mounted on two tool rests. 図7のフローチャートに連続するフローチャートで、図10(a)の加工形態に対応するものである。It is a flowchart following the flowchart of FIG. 7, and corresponds to the processing mode of FIG. 図7のフローチャートに連続するフローチャートで、図11(a)の加工形態に対応するものである。It is a flowchart following the flowchart of FIG. 7, and corresponds to the processing mode of FIG. 同時加工の場合の加工形態を説明するタイムチャートで、一方の刃物台に装着した工具での実加工の終了前に他方の刃物台に装着した工具での実加工が終了している場合にかかり、(a)は送り速度の置き換え前を、(b)は送り速度の置き換え後を示している。It is a time chart explaining the machining mode in the case of simultaneous machining, and it takes when the actual machining with the tool attached to the other turret is finished before the actual machining with the tool attached to one turret is finished. , (A) shows before the feed rate is replaced, and (b) shows after the feed rate is replaced. 同時加工の場合の加工形態を説明するタイムチャートで、一方の刃物台に装着した工具での実加工の終了後に他方の刃物台に装着した工具での実加工が終了する場合にかかり、(a)は送り速度の置き換え前を、(b)は送り速度の置き換え後を示している。It is a time chart for explaining the machining mode in the case of simultaneous machining, and it takes when the actual machining with the tool attached to the other turret is finished after the actual machining with the tool attached to one turret is finished, (a ) Shows before replacement of the feed rate, and (b) shows after change of the feed rate. 第二の実施形態の移動制御方法にかかり、同時加工を行うか否かの加工分析を行うステップ部分を示すフローチャートである。It is a flowchart which shows the step part which starts the movement control method of 2nd embodiment, and performs the process analysis of whether to perform simultaneous process. 第二の実施形態の加工プログラムの一例を示す図である。It is a figure which shows an example of the processing program of 2nd embodiment. 二つの刃物台に装着した工具を交互に切り換えながらワークの加工を行う一例を示した概略図である。It is the schematic which showed an example which processes a workpiece | work, changing the tool with which it mounted | wore with two tool posts alternately. 第一の制御系及び第二の制御系の加工プログラムの一部を抜粋して示したもので、左側が第一の制御系の工具T1に関する部分を、右側が第二の制御系の工具T2に関する部分を示している。A part of the machining program of the first control system and the second control system is extracted and shown, the left side is the part related to the tool T1 of the first control system, and the right side is the tool T2 of the second control system. The part about is shown. 本発明の従来例にかかり、二つの刃物台の工具T1,T2を交互に切り換えながらワークWの加工を行う場合において、他方の刃物台が工具の割り出し位置から加工開始位置まで準備移動する際のタイムチャート及び送り速度の速度変化グラフである。According to the conventional example of the present invention, when the workpiece W is machined while alternately switching the tools T1 and T2 of the two tool rests, the other tool rest is preliminarily moved from the tool indexing position to the machining start position. It is a time chart and the speed change graph of a feed rate.

符号の説明Explanation of symbols

T1 工具(切削工具)
T2 工具(回転工具)
T3 工具(切削工具)
T4 工具(切削工具)
W ワーク
C 主軸軸線
T1 tool (cutting tool)
T2 tool (rotary tool)
T3 tool (cutting tool)
T4 tool (cutting tool)
W Work C Spindle axis

Claims (11)

相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械において、
一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを分析する加工分析部と、
この加工分析部で前記一の移動体に装着した工具によるワークの加工の加工終了後に他の移動体に装着した工具によるワークの加工を行うと判断したときに、前記加工分析部による加工分析の後に、今回加工を行う前記一の移動体の加工プログラムの中から、切換指令コードを検索するステップと、次回加工を行う他の移動体の加工プログラムの中から、前記一の移動体の加工プログラムに含まれる前記切換指令コードに対応する切換指令コードを検索するステップと、この切換指令コードの前の加工プログラムの中から、前記他の移動体が次回加工に備えて予め設定された位置まで準備移動する移動指令コードを抽出するステップと、この移動指令コードによる前記他の移動体の移動開始と同時に、移動時間の計測を開始させるステップと、前記他の移動体による前記ワーク加工の開始に先立って行われる一の移動体と前記他の移動体との待ち合わせ完了と同時又は前記他の移動体が前記予め設定された位置からワーク加工のための移動を開始すると同時に前記移動時間の計測を終了させて前記準備移動の時間を割り出すステップと、割り出された前記移動時間に基づいて、前記他の移動体について新たな送り速度を求めるステップと、前記加工プログラム中の移動指令コードによって指定された送り速度を、演算によって得られた前記新たな送り速度に置き換えるステップとを実行する制御部と、
を有することを特徴とする数値制御工作機械。
In a numerically controlled machine tool that has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool mounted on the moving body,
Whether the machining program for one moving body and the machining program for another moving body are switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, A processing analysis unit for analyzing whether the processing with the tool attached to the movable body and the processing with the tool attached to the other mobile body are performed simultaneously;
When it is determined in this processing analysis unit that processing of a workpiece with a tool mounted on another moving body is to be performed after the processing of the workpiece with the tool mounted on the one moving body is completed, processing analysis by the processing analysis unit is performed. Later, the step of retrieving the switching command code from the machining program of the one moving body that performs the machining this time, and the machining program of the one moving body from among the machining programs of the other moving bodies that perform the next machining A step of searching for a switching command code corresponding to the switching command code included in the switching command code, and preparing from the machining program preceding the switching command code to a preset position in preparation for the next machining of the other moving body A step of extracting a movement command code to be moved; and a step of starting measurement of a movement time simultaneously with the start of movement of the other moving body by the movement command code; Simultaneously with the completion of waiting of the one moving body and the other moving body performed prior to the start of the workpiece machining by the other moving body, or the other moving body is for workpiece machining from the preset position. Ending the measurement of the movement time at the same time as starting the movement of the vehicle and determining the time of the preparation movement, and determining a new feed speed for the other mobile body based on the calculated movement time; A control unit that executes a step of replacing the feed rate specified by the movement command code in the machining program with the new feed rate obtained by calculation;
A numerically controlled machine tool characterized by comprising:
相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械において、
一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析部と、
この加工分析部で前記一の移動体に装着した工具によるワークの加工と他の移動体に装着した工具によるワークの加工とを同時に行うと判断したときに、前記加工分析部による分析の後に、前記加工プログラムにおいて移動指令コードによって指定された送り速度の中から、置き換えが可能な置換可能送り速度を抽出するステップと、このステップで抽出された前記置換可能送り速度の中から、前記一の移動体と前記他の移動体との実加工の加工開始及び加工終了のタイミングとに基づき、実際に送り速度の置き換えを行う置換対象送り速度を決定するステップと、前記置換対象送り速度を含む部分のうち、前記一の移動体と前記他の移動体について実加工を除く部分の時間を計測するステップと、前記一の移動体について計測された時間と前記他の移動体について計測された時間とから、前記一の移動体又は前記他の移動体について新たな送り速度を求めるステップと、前記置換対象送り速度を前記新たな送り速度に置き換えるステップと、次の加工プログラムの実行時から、置き換えられた前記新たな送り速度で前記所定の移動体を軸移動させて加工を行うステップとを実行する制御部と、
を有することを特徴とする数値制御工作機械。
In a numerically controlled machine tool that has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool mounted on the moving body,
Whether the machining program for one moving body and the machining program for another moving body are switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, A processing analysis unit for determining whether to perform the processing with the tool mounted on the movable body and the processing with the tool mounted on the other mobile body simultaneously;
When it is determined that the processing of the workpiece by the tool attached to the one moving body and the processing of the workpiece by the tool attached to the other moving body are performed simultaneously in this processing analysis section, after the analysis by the processing analysis section, A step of extracting a replaceable feed rate that can be replaced from the feed rates specified by the movement command code in the machining program, and the one movement from the replaceable feed rates extracted in this step A step of determining a replacement target feed speed for actually replacing the feed speed based on a processing start timing and a processing end timing of actual processing between the body and the other moving body; and a portion including the replacement target feed speed Among them, a step of measuring a time of a portion excluding actual processing for the one moving body and the other moving body, and a time measured for the one moving body, From the time measured for the other moving body, obtaining a new feed speed for the one moving body or the other moving body, replacing the replacement target feed speed with the new feed speed, A control unit that performs a step of performing machining by moving the predetermined moving body at the replaced new feed speed from the time of execution of the next machining program;
A numerically controlled machine tool characterized by comprising:
置換対象送り速度として前記他の移動体における実加工開始前の送り速度を決定した場合において、
前記一の移動体が移動開始位置から準備移動を開始して実加工を開始するまでの時間を計測するとともに、前記他の移動体が移動開始位置から準備移動を開始してから実加工を開始するまでの時間を計測し、
計測された前記一の移動体の時間と前記他の移動体の時間とから、実加工の開始前における前記他の移動体の新たな送り速度を求めることを特徴とする請求項2に記載の数値制御工作機械。
In the case where the feed speed before the actual machining start in the other moving body is determined as the replacement target feed speed,
The time until the one moving body starts the preparatory movement from the movement start position and starts the actual machining is measured, and the actual machining starts after the other moving body starts the preparatory movement from the movement start position. Measure the time until
The new feed rate of the other moving body before the start of actual machining is obtained from the measured time of the one moving body and the time of the other moving body. Numerically controlled machine tool.
前記制御部が、前記一の移動体が実加工を終了したときに、前記他の移動体が実加工を継続しているか否かを判断し、
前記他の移動体が実加工を継続している場合には、前記一の移動体の退避移動時の送り速度を前記置換対象送り速度として決定し、前記他の移動体が実加工を終了している場合には、前記他の移動体の退避移動時の送り速度を前記置換対象送り速度として決定し、
前記一の移動体が退避移動を開始してから予め設定された位置で停止するまでの時間を計測するとともに、前記他の移動体が退避移動を開始してから予め設定された位置で停止するまでの時間を計測し、
計測された前記一の移動体の時間と前記他の移動体の時間とから、前記一の移動体又は前記他の移動体について退避移動時の新たな送り速度を求めること、
を特徴とする請求項2又は3に記載の数値制御工作機械。
When the one moving body finishes the actual machining, the control unit determines whether the other moving body continues the actual machining,
When the other moving body continues the actual machining, the feed speed at the time of the retreating movement of the one moving body is determined as the replacement target feed speed, and the other moving body finishes the actual machining. If it is, determine the feed speed during the retreat movement of the other moving body as the replacement target feed speed,
The time from when the one moving body starts retracting until it stops at a preset position is measured, and the other moving body starts retracting and stops at a preset position. Measure the time until
From the measured time of the one moving body and the time of the other moving body, obtaining a new feed speed during the retreating movement of the one moving body or the other moving body,
The numerically controlled machine tool according to claim 2 or 3, wherein
前記加工プログラムの先頭に、前記一の移動体による加工から他の移動体による加工に切り換える切換指令又は前記一の移動体と前記他の移動体とで同時加工を行う指令の存在を示すコードを予め設定しておき、
前記加工分析部が、前記加工プログラムの実行と同時に、前記切換指令又は同時加工の前記指令が存在すると判断して、次のステップを実行させることを特徴とする請求項1〜4のいずれかに記載の数値制御工作機械。
At the head of the machining program, a code indicating the presence of a switching command for switching from machining by the one moving body to machining by another moving body or a command to perform simultaneous machining by the one moving body and the other moving body Set in advance,
The said process analysis part judges that the said switching instruction | command or the said instruction | command of simultaneous processing exists simultaneously with execution of the said process program, and performs the following step, It is any one of Claims 1-4 characterized by the above-mentioned. The numerically controlled machine tool described.
前記制御部が、ワークの加工が初回か否かを判断し、初回である場合に前記時間の計測を行い、二回目以降である場合には前記加工プログラム中の移動指令コードによって指定された送り速度のうち、置き換えが可能な前記送り速度を、前記初回のワーク加工で得られた前記新たな送り速度に置き換えることを特徴とする請求項1〜5のいずれかに記載の数値制御工作機械。   The control unit determines whether or not the workpiece is processed for the first time, measures the time when it is the first time, and if it is the second time or later, the feed specified by the movement command code in the processing program 6. The numerically controlled machine tool according to claim 1, wherein, among the speeds, the replaceable feed speed is replaced with the new feed speed obtained by the first workpiece machining. 前記制御部は、前記新たな送り速度が、予め設定された下限値よりも小さい場合に、当該下限値を前記新たな送り速度として決定することを特徴とする請求項1〜6のいずれかに記載の数値制御工作機械。   The control unit determines the lower limit value as the new feed speed when the new feed speed is smaller than a preset lower limit value. The numerically controlled machine tool described. 前記移動体が、刃物台、移動主軸台、移動主軸及びテーブルのうちのいずれかであることを特徴とする請求項1〜7のいずれかに記載の数値制御工作機械。   The numerically controlled machine tool according to claim 1, wherein the moving body is any one of a tool post, a moving spindle, a moving spindle, and a table. 相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械におけるワークの加工方法において、
一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析ステップを有し、この加工分析ステップで前記一の移動体に装着した工具によるワークの加工の加工終了後に他の移動体に装着した工具によるワークの加工を行うと判断したときに、前記加工分析ステップの後に、
今回加工を行う前記一の移動体の加工プログラムの中から、切換指令コードを検索するステップと、
次回加工を行う他の移動体の加工プログラムの中から、前記一の移動体の加工プログラムに含まれる前記切換指令コードに対応する切換指令コードを検索するステップと、
この切換指令コードの前の加工プログラムの中から、前記他の移動体が次回加工に備えて予め設定された位置まで準備移動する移動指令コードを抽出するステップと、
この移動指令コードによる前記他の移動体の移動開始と同時に、移動時間の計測を開始させるステップと、
前記他の移動体による前記ワーク加工の開始に先立って行われる一の移動体と前記他の移動体との待ち合わせ完了と同時又は前記他の移動体が前記予め設定された位置からワーク加工のための移動を開始すると同時に前記移動時間の計測を終了させて前記準備移動の時間を割り出すステップと、
割り出された前記移動時間に基づいて、前記他の移動体について新たな送り速度を求めるステップと、
前記加工プログラム中の移動指令コードによって指定された送り速度を、演算によって得られた前記新たな送り速度に置き換えるステップと、
を設けたことを特徴とする数値制御工作機械におけるワークの加工方法。
In a machining method for a workpiece in a numerically controlled machine tool, which has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool mounted on the movable body,
Whether the machining program for one moving body and the machining program for another moving body are switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, A processing analysis step for determining whether the machining with the tool mounted on the moving body and the processing with the tool mounted on the other moving body are performed simultaneously, and the tool mounted on the one moving body in this processing analysis step When it is determined to process the workpiece with a tool attached to another moving body after completion of the processing of the workpiece by, after the processing analysis step,
A step of searching for a switching command code from the machining program of the one moving body that performs machining this time;
Searching a switching command code corresponding to the switching command code included in the processing program of the one moving body from among the processing programs of other moving bodies that perform the next processing;
From the machining program before the switching command code, a step of extracting a movement command code in which the other moving body prepares and moves to a preset position in preparation for the next machining;
Simultaneously with the start of movement of the other moving body by this movement command code, the step of starting the measurement of the movement time;
Simultaneously with the completion of waiting of the one moving body and the other moving body performed prior to the start of the workpiece machining by the other moving body, or the other moving body is for workpiece machining from the preset position. Ending the measurement of the movement time at the same time as starting the movement and determining the time of the preparation movement;
Obtaining a new feed rate for the other moving body based on the determined moving time;
Replacing the feed rate specified by the movement command code in the machining program with the new feed rate obtained by calculation;
A method of machining a workpiece in a numerically controlled machine tool characterized by comprising:
相対的に軸移動する複数の移動体を有し、前記移動体に装着した工具でワークの加工を行う数値制御工作機械におけるワークの加工方法において、
一の移動体の加工プログラム及び他の移動体の加工プログラムから、前記一の移動体に装着した工具による加工から前記他の移動体に装着した工具による加工に切り換えて加工を行うのか、前記一の移動体に装着した工具による加工と前記他の移動体に装着した工具による加工とを同時に行うのかを判断する加工分析ステップを有し、この加工分析ステップで前記一の移動体に装着した工具によるワークの加工と他の移動体に装着した工具によるワークの加工とを同時に行うと判断したときに、前記加工分析ステップの後に、
前記加工プログラムにおいて移動指令コードによって指定された送り速度の中から、置き換えが可能な置換可能送り速度を抽出するステップと、
抽出された前記置換可能送り速度の中から、前記一の移動体と前記他の移動体との実加工の加工開始及び加工終了のタイミングとに基づき、実際に送り速度の置き換えを行う置換対象送り速度を決定するステップと、
前記置換対象送り速度を含む部分のうち、前記一の移動体と前記他の移動体について実加工を除く部分の時間を計測するステップと、
前記一の移動体について計測された時間と前記他の移動体について計測された時間とから、前記一の移動体又は前記他の移動体について新たな送り速度を求めるステップと、
前記置換対象送り速度を前記新たな送り速度に置き換えるステップと、
次の加工プログラムの実行時から、置き換えられた前記新たな送り速度で前記所定の移動体を軸移動させて加工を行うステップと、
を設けたことを特徴とする数値制御工作機械におけるワークの加工方法。
In a machining method for a workpiece in a numerically controlled machine tool, which has a plurality of moving bodies that move relative to each other and that processes a workpiece with a tool mounted on the movable body,
Whether the machining program for one moving body and the machining program for another moving body are switched from machining with a tool attached to the one moving body to machining with a tool attached to the other moving body, A processing analysis step for determining whether the machining with the tool mounted on the moving body and the processing with the tool mounted on the other moving body are performed simultaneously, and the tool mounted on the one moving body in this processing analysis step When it is determined that the processing of the workpiece by and the processing of the workpiece by the tool mounted on another moving body are performed at the same time, after the processing analysis step,
Extracting a replaceable feed rate that can be replaced from the feed rates specified by the movement command code in the machining program;
From the extracted replaceable feed speeds, the feed to be replaced that actually replaces the feed speed based on the processing start timing and processing end timing of the actual processing of the one moving body and the other moving body. Determining the speed;
Of the portion including the replacement target feed speed, measuring the time of the portion excluding actual machining for the one moving body and the other moving body;
From the time measured for the one moving body and the time measured for the other moving body, obtaining a new feed rate for the one moving body or the other moving body;
Replacing the replacement target feed rate with the new feed rate;
From the time of execution of the next machining program, performing the machining by moving the predetermined moving body at the replaced new feed speed,
A method of machining a workpiece in a numerically controlled machine tool characterized by comprising:
各前記ステップが、加工プログラム中の予め設定されたコードにより起動するサブプログラムにより実行されることを特徴とする請求項9又は10に記載の数値制御工作機械におけるワークの加工方法。   The method for machining a workpiece in a numerically controlled machine tool according to claim 9 or 10, wherein each of the steps is executed by a subprogram activated by a preset code in the machining program.
JP2007026067A 2006-02-06 2007-02-05 Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool Active JP4951165B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007026067A JP4951165B2 (en) 2006-02-06 2007-02-05 Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006028652 2006-02-06
JP2006028652 2006-02-06
JP2007026067A JP4951165B2 (en) 2006-02-06 2007-02-05 Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool

Publications (2)

Publication Number Publication Date
JP2007234002A true JP2007234002A (en) 2007-09-13
JP4951165B2 JP4951165B2 (en) 2012-06-13

Family

ID=38554487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007026067A Active JP4951165B2 (en) 2006-02-06 2007-02-05 Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool

Country Status (1)

Country Link
JP (1) JP4951165B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014128916A1 (en) * 2013-02-22 2014-08-28 三菱電機株式会社 Numerically controlled apparatus and processing method
DE102014108964A1 (en) 2013-07-03 2015-01-08 Fanuc Corporation Control of the speed of a program execution
JP2015121951A (en) * 2013-12-24 2015-07-02 中村留精密工業株式会社 NC lathe
JP2016218604A (en) * 2015-05-18 2016-12-22 村田機械株式会社 Control device, machine tool, control program and control method
CN109491323A (en) * 2018-11-05 2019-03-19 山东科技大学 Numerically-controlled machine tool load towards energy-saving and emission-reduction-energy efficiency assessment and monitoring method
DE102019204220A1 (en) 2018-03-30 2019-10-02 Fanuc Corporation Program generating device
JP2020170365A (en) * 2019-04-03 2020-10-15 ファナック株式会社 Numerical control device
WO2022097607A1 (en) * 2020-11-05 2022-05-12 ファナック株式会社 Control device
WO2024040702A1 (en) * 2022-08-20 2024-02-29 山东科技大学 Method, system and apparatus for evaluating and controlling time-energy efficiency of numerical control machine tool
JP7460357B2 (en) 2019-11-15 2024-04-02 ファナック株式会社 Control device and control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031509A (en) * 1996-07-15 1998-02-03 Mitsubishi Electric Corp Numerical controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031509A (en) * 1996-07-15 1998-02-03 Mitsubishi Electric Corp Numerical controller

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5889475B2 (en) * 2013-02-22 2016-03-22 三菱電機株式会社 Numerical control apparatus and processing method
WO2014128916A1 (en) * 2013-02-22 2014-08-28 三菱電機株式会社 Numerically controlled apparatus and processing method
US9639079B2 (en) 2013-02-22 2017-05-02 Mitsubishi Electric Corporation Numerical control device and machining method
JPWO2014128916A1 (en) * 2013-02-22 2017-02-02 三菱電機株式会社 Numerical control apparatus and processing method
US9798316B2 (en) 2013-07-03 2017-10-24 Fanuc Corporation Motion controller capable of specifying program execution pace
CN104281445A (en) * 2013-07-03 2015-01-14 发那科株式会社 Motion controller capable of specifying program execution pace
DE102014108964A1 (en) 2013-07-03 2015-01-08 Fanuc Corporation Control of the speed of a program execution
DE102014108964B4 (en) 2013-07-03 2019-04-04 Fanuc Corporation Control of the speed of a program execution
JP2015121951A (en) * 2013-12-24 2015-07-02 中村留精密工業株式会社 NC lathe
JP2016218604A (en) * 2015-05-18 2016-12-22 村田機械株式会社 Control device, machine tool, control program and control method
DE102019204220A1 (en) 2018-03-30 2019-10-02 Fanuc Corporation Program generating device
US11092941B2 (en) 2018-03-30 2021-08-17 Fanuc Corporation Program creation device
CN109491323A (en) * 2018-11-05 2019-03-19 山东科技大学 Numerically-controlled machine tool load towards energy-saving and emission-reduction-energy efficiency assessment and monitoring method
JP2020170365A (en) * 2019-04-03 2020-10-15 ファナック株式会社 Numerical control device
JP7460357B2 (en) 2019-11-15 2024-04-02 ファナック株式会社 Control device and control system
WO2022097607A1 (en) * 2020-11-05 2022-05-12 ファナック株式会社 Control device
WO2024040702A1 (en) * 2022-08-20 2024-02-29 山东科技大学 Method, system and apparatus for evaluating and controlling time-energy efficiency of numerical control machine tool

Also Published As

Publication number Publication date
JP4951165B2 (en) 2012-06-13

Similar Documents

Publication Publication Date Title
JP4951165B2 (en) Numerically controlled machine tool and workpiece machining method in this numerically controlled machine tool
US10698381B2 (en) Numerical control device and numerical control method
US10317876B2 (en) Numerical control device and control method for numerical control device
JPH11179633A (en) Method and device for inputting and displaying structure information of machining system
JP6868161B1 (en) Information processing equipment, information processing methods and information processing programs
WO2005102570A1 (en) Method of machining work in numerically controlled lathe
JP2003256009A (en) Optimum data conversion method for nc program and numerical control machine tool with optimum data conversion means
JP2004058227A (en) Tool selection method and control device in numerically controlled lathe
TW201447520A (en) Numerical control device
WO2022009797A1 (en) Numerical control device and control method
JP5136853B2 (en) Numerically controlled machine tool and control program for numerically controlled machine tool
JP2009142915A (en) Machine tool and machining method using the same
JP5059360B2 (en) Rapid feed control method for machine tools
US20190202017A1 (en) Selecting device, selecting method, and program
JP2006506719A (en) Machine tool and method of operating machine tool
JP2009237929A (en) Numerical controller, control program for numerical controller, and recording medium for numerical controller
JP4541589B2 (en) Workpiece machining method and program in numerically controlled machine tool
JPH05305540A (en) Tool exchange method for working device
JP7346282B2 (en) How to control the tool magazine
JP3640618B2 (en) Numerically controlled lathe having comb-type counter tool post, workpiece machining method using this numerically controlled lathe, and program thereof
JPH08112701A (en) Machining method executed on nc-lathe and nc-lathe capable of back up machining
JP6317923B2 (en) NC lathe
JP2002341913A (en) Method for machining work in numerically controlled machine tool and its program
JP5301300B2 (en) Machine tool control device and tool post movement control method
JP2520127B2 (en) Highly efficient tool selection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110905

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120306

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120311

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4951165

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250