JP4549051B2 - Machine tool axis control device, machine tool axis control program - Google Patents
Machine tool axis control device, machine tool axis control program Download PDFInfo
- Publication number
- JP4549051B2 JP4549051B2 JP2003373818A JP2003373818A JP4549051B2 JP 4549051 B2 JP4549051 B2 JP 4549051B2 JP 2003373818 A JP2003373818 A JP 2003373818A JP 2003373818 A JP2003373818 A JP 2003373818A JP 4549051 B2 JP4549051 B2 JP 4549051B2
- Authority
- JP
- Japan
- Prior art keywords
- axis
- control
- pmc
- control unit
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Numerical Control (AREA)
Description
本発明は、工作機械の軸制御装置およびそれに用いられる軸制御プログラムに関する。 The present invention relates to an axis control device for a machine tool and an axis control program used therefor.
従来、特許文献1に示されるごとく、X軸、Y軸、Z軸の直線送り軸と、これら3つの直線送り軸から選定された2つの直線送り軸に平行な軸を中心として、それぞれの軸周りに回転する方向の2つの回転送り軸たるA軸・B軸と、主軸の軸線を中心としてその軸周りに回転する方向の回転送り軸たるC軸とを備えた6軸NC工作機械を制御するために、5軸制御プログラムを利用した6軸制御プログラムがあるが、プログラム生成が非常に難しく簡単には使用しがたい欠点があった。
Conventionally, as shown in
また、特許文献2の自動工具交換装置は、工具交換に際して、主軸が干渉エリア内にあるか否かを判定し、主軸が干渉エリア内にないと判定されたときは主軸の工具交換開始位置への移動と工具マガジンの割出しを同時に行うよう指令を出す制御装置を備えたものであるが、ATC(自動工具交換)動作をさせながらA軸・B軸を同時に動作させてサイクルタイムを短縮させることはできない。
In addition, the automatic tool changer disclosed in
NCパートプログラムで、いわゆるBコードと言われている第2補助機能を使ってA軸、B軸とATC動作を行わせようとした場合、A軸の移動量、B軸の移動量、組み合わせ軸の選択をコーディングすると次のようになる。しかしながら、この方法では動作まで4ブロックを経るため、サイクルタイムが長くなる欠点があった。
B100;
B200;
B3;
T01 M17 M76;
In the NC part program, when trying to perform ATC operation with the A-axis and B-axis using the second auxiliary function called B code, the movement amount of the A-axis, the movement amount of the B-axis, the combination axis If you choose to code the following: However, this method has a drawback that the cycle time becomes long because four blocks are required for the operation.
B100;
B200;
B3;
T01 M17 M76;
本発明の課題は、これらの欠点に鑑み、工作機械の基準軸(X軸、Y軸、Z軸のことをいう)の動作または工作機械側の諸動作と並行してA軸・B軸を動作させてサイクルタイムを短縮させる工作機械の軸制御装置を提供することにある。 In view of these drawbacks, the problem of the present invention is that the A axis and the B axis are operated in parallel with the operation of the reference axis (referred to as X axis, Y axis, Z axis) of the machine tool or various operations on the machine tool side. An object of the present invention is to provide a machine tool axis control device that is operated to shorten the cycle time.
本発明に係る工作機械の軸制御装置は、工作機械を制御するPMC(Programmable Machine Controller)と、工作機械の基準軸であるX軸、Y軸、Z軸および回転軸であるA軸、B軸を制御するためのプログラムが格納されたメモリと、プログラムに従って基準軸および回転軸を制御するNC(Numerical Control)軸制御部とを備えた工作機械の軸制御装置であって、PMCの制御の下でA軸およびB軸の制御を行うPMC軸制御部を更に備える。また、プログラムは、A軸制御データとB軸制御データと軸指定データとATC(自動工具交換)軸制御準備データとを一つの指令ブロックデータとして有している。プログラムの実行により指令ブロックデータの軸指定データがPMCで読み取られると、A軸およびB軸の軸制御の制御権をNC軸制御部側からPMC軸制御部側へ切り換え、PMC軸制御部の制御の下で軸指定データで指定されたA軸およびB軸の一方または両方の移動を開始するとともに、当該軸の移動と並行してNC軸制御部の制御の下で基準軸を工具交換位置へ移動させて工具交換を行う。そして、軸指定データで指定されたA軸およびB軸の一方または両方の移動と、基準軸の移動および工具交換との並行処理が完了すると、制御権をPMC軸制御部側からNC軸制御部側へ戻す。 An axis control device for a machine tool according to the present invention includes a PMC (Programmable Machine Controller) for controlling a machine tool, an X axis, a Y axis, a Z axis that are machine tool reference axes, and an A axis and a B axis that are rotary axes. An axis control device for a machine tool, comprising a memory storing a program for controlling the machine and an NC (Numerical Control) axis control unit for controlling a reference axis and a rotation axis according to the program. And a PMC axis control unit for controlling the A axis and the B axis. The program has A-axis control data, B-axis control data, axis designation data, and ATC (automatic tool change) axis control preparation data as one command block data. When the axis designation data of the command block data is read by the PMC by executing the program, the control right of the A axis and B axis control is switched from the NC axis control unit side to the PMC axis control unit side, and the control of the PMC axis control unit is performed. Starts movement of one or both of the A axis and B axis specified by the axis designation data under the control of the NC axis control unit in parallel with the movement of the axis, and moves the reference axis to the tool change position. Move to change tools. When the parallel processing of the movement of one or both of the A axis and the B axis designated by the axis designation data and the movement of the reference axis and the tool change is completed, the control right is transferred from the PMC axis control unit side to the NC axis control unit. Return to the side.
このように、工作機械のA軸・B軸の制御権をNC軸制御部側から切り離し、PMC軸制御部側に切り換えることにより、A軸・B軸をPMC側で動作させながら、これと並行してNC側で基準軸の工具交換位置への移動と工具交換が行われるので、サイクルタイムを短縮することができる。 In this way, the A / B axis control right of the machine tool is disconnected from the NC axis control unit side and switched to the PMC axis control unit side, so that the A axis / B axis is operated on the PMC side and in parallel with this. since moving the tool exchange into the tool change position of the reference axis NC side is performed, it is possible to shorten the cycle time.
本発明に係る工作機械の軸制御プログラムは、工作機械を制御するPMC(Programmable Machine Controller)と、工作機械の基準軸であるX軸、Y軸、Z軸および回転軸であるA軸、B軸を制御するNC(Numerical Control)軸制御部と、PMCの制御の下でA軸およびB軸の制御を行うPMC軸制御部とを備えた工作機械の軸制御装置を動作させるためのプログラムであって、A軸制御データとB軸制御データと軸指定データとATC(自動工具交換)軸制御準備データとを一つの指令ブロックデータとして有し、以下のステップを軸制御装置に実行させる。
(a)指令ブロックデータの軸指定データがPMCで読み取られると、A軸およびB軸の軸制御の制御権をNC軸制御部側からPMC軸制御部側へ切り換えるステップ。
(b)PMC軸制御部の制御の下で軸指定データで指定されたA軸およびB軸の一方または両方の移動を開始するステップ。
(c)ステップ(b)の軸の移動と並行してNC軸制御部の制御の下で基準軸を工具交換位置へ移動させて工具交換を行うステップ。
(d)軸指定データで指定されたA軸およびB軸の一方または両方の移動と、基準軸の移動および工具交換との並行処理が完了すると、制御権をPMC軸制御部側からNC軸制御部側へ戻すステップ。
An axis control program for a machine tool according to the present invention includes a PMC (Programmable Machine Controller) that controls a machine tool, an X axis, a Y axis, a Z axis that are reference axes of the machine tool, and an A axis and a B axis that are rotation axes. Is a program for operating an axis control device of a machine tool including an NC (Numerical Control) axis control unit that controls the AMC and a PMC axis control unit that controls the A axis and the B axis under the control of the PMC. Thus, the A axis control data, the B axis control data, the axis designation data, and the ATC (automatic tool change) axis control preparation data are provided as one command block data, and the axis control device is caused to execute the following steps.
(A) When the axis designation data of the command block data is read by the PMC, the control right of the axis control of the A axis and the B axis is switched from the NC axis control unit side to the PMC axis control unit side.
(B) A step of starting movement of one or both of the A axis and the B axis designated by the axis designation data under the control of the PMC axis control unit.
(C) A step of changing the tool by moving the reference axis to the tool changing position under the control of the NC axis control unit in parallel with the movement of the axis in step (b).
(D) When the parallel processing of the movement of one or both of the A axis and B axis designated by the axis designation data and the movement of the reference axis and the tool change is completed, the control right is controlled from the PMC axis control unit side to the NC axis control. Returning to the department side.
本発明によれば、A軸・B軸の軸制御をNC軸制御からPMC軸制御に切り換えることによって、PMC側で軸制御が可能となるため、A軸・B軸が、工作機械の基準軸の工具交換位置への移動および工具交換と並行して、同時動作することが可能となり、サイクルタイムの短縮が図れる。また、A軸制御データとB軸制御データと軸指定データとATC(自動工具交換)軸制御準備データとを一つの指令ブロックデータとしたため、一つのブロックで簡単・容易にA軸・B軸のわかりやすい指令をプログラムできる。 According to the present invention, since the axis control on the PMC side is enabled by switching the axis control of the A axis and the B axis from the NC axis control to the PMC axis control, the A axis and the B axis are the reference axes of the machine tool. movement and in parallel with the tool change to the tool change position, it is possible to operate simultaneously, thus shortening the cycle time. In addition, since A-axis control data, B-axis control data, axis designation data, and ATC (automatic tool change) axis control preparation data are made into one command block data, one block can easily and easily be used for A-axis and B-axis. Easy-to-understand commands can be programmed.
以下、本発明の一実施形態を図5と図2を用いて詳細に説明する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 5 and 2.
図5に示すシステムは、MDI(手動データ入力部)61と、プログラムおよびデータを格納するメモリ62と、各種データ等を表示する表示器63と、工作機械を制御するPMC(プログラマブルマシンコントローラ)64と、軸を制御する軸制御部65と、各部を制御するCPU制御部67とからなる。
The system shown in FIG. 5 includes an MDI (manual data input unit) 61, a
MDI61で該当プログラムを呼び出し実行すると、CPU制御部67がメモリ62に格納されているNCパートプログラムを呼び出し、制御データをメモリ62に格納し、かつデータのやりとりを行いPMC64を介して軸制御部65により軸制御を行う。
When the corresponding program is called and executed by the
図2は、主軸のX軸・Y軸・Z軸の3軸(NC基準軸)、A軸・B軸の2軸、およびATC動作を制御するNCパートプログラム(以下、単に「プログラム」という)の例を示す。A軸はチルトテーブルの回転軸、B軸は旋回テーブルの回転軸である。以下、プログラムの機能を符号で説明する。 FIG. 2 shows an X-axis, Y-axis and Z-axis (NC reference axis) of the main axis, two axes of A-axis and B-axis, and an NC part program (hereinafter simply referred to as “program”) for controlling the ATC operation. An example of The A axis is the rotation axis of the tilt table, and the B axis is the rotation axis of the turning table. Hereinafter, the function of the program will be described with reference numerals.
1はZ300.0;のブロックで、A軸・B軸と干渉しない領域にZ軸を逃がす機能である。 1 is a block of Z300.0; and has a function of letting the Z-axis escape to a region that does not interfere with the A-axis and the B-axis.
2はG401A100.0B200.0Q3T01M17;のブロックで、マクロプログラム3(名称O9013)を呼び出す。コードG401は、マクロプログラム3の呼び出しであることがパラメータにセットしてある。このブロック2は、A軸とB軸の移動指令値の設定を行うとともに、基準軸(X軸,Y軸,Z軸)およびATC動作と並行して同時動作をするA軸・B軸の軸の組み合わせを指定する機能を有する。A軸の移動指令値は変数#1に、B軸の移動指令値は変数#2に格納される。アドレスQの引数は変数#17に格納される。
2 is a block of G401A100.0B200.0Q3T01M17; and calls the macro program 3 (name O9013). The code G401 is set in the parameter to indicate that the
アドレスQは、基準軸(X軸,Y軸,Z軸)の動作と並行して、NC側から切り離してPMC側の軸制御により同時動作をする軸を指定する機能で、つぎの意味をもっている。
Q=1:A軸の制御権をNC側からPMC側に切り換えて、PMC側の軸制御でA軸を動作させる。
Q=2:B軸の制御権をNC側からPMC側に切り換えて、PMC側の軸制御でB軸を動作させる。
Q=3:A軸およびB軸の制御権をNC側からPMC側に切り換えて、PMC側の軸制御でA軸およびB軸を動作させる。
The address Q is a function for designating an axis that is separated from the NC side and simultaneously operated by the axis control on the PMC side in parallel with the operation of the reference axis (X axis, Y axis, Z axis), and has the following meanings. .
Q = 1: The control right of the A axis is switched from the NC side to the PMC side, and the A axis is operated by the PMC side axis control.
Q = 2: The control right of the B axis is switched from the NC side to the PMC side, and the B axis is operated by the PMC side axis control.
Q = 3: The control right of the A axis and the B axis is switched from the NC side to the PMC side, and the A axis and the B axis are operated by the PMC side axis control.
T01M17で示すアドレスTの引数の工具番号01、アドレスMの引数17を、後述する変数#20、#13にそれぞれ格納する。M17はPMC側の軸制御による工具戻しの準備指令である。
The tool number 01 of the argument of the address T indicated by T01M17 and the
符号9で示すブロックの指令でA軸もしくはB軸、またはA軸・B軸が動作を開始する。
The A-axis or B-axis, or the A-axis / B-axis starts operation in response to a block command indicated by
4はG91G30X0Y0Z0;のブロックで、基準軸(X軸,Y軸,Z軸)を工具交換位置へ移動する機能である。5はM06;のブロックで、工具交換機能の動作開始指令である。 4 G91G30X0Y0Z0; in the block, the reference axis (X axis, Y axis, Z axis) is a function to move to the tool change position. 5 M06; in the block, the operation start command tool change function.
マクロプログラム3の6は#140=#1;のブロック、7は#141=#2;のブロックで、前記A軸の移動指令値が格納されている変数#1、B軸の移動指令値が格納されている変数#2をコモン変数#140、#141にそれぞれ格納する。
In the
8は#143=#17;のブロックで、NC側の軸制御から切り換えてPMC側の軸制御で動作する軸指定、またはPMC軸制御動作完了確認を行う軸指定(アドレスQの引数)を格納する。 8 is a block of # 143 = # 17; the axis designation for switching from the axis control on the NC side to operate by the axis control on the PMC side or the axis designation (argument of the address Q) for confirming the completion of the PMC axis control operation is stored. To do.
9はT#20M#13M76;のブロックで、変数#20は工具番号(01)が格納されており、アドレスTでマガジンが回転して工具選択動作を指令する。変数#13は、数値17を格納しており、M17でPMC側の軸制御による工具戻し準備指令を行う。
9 is a block of
コードM76は補助機能で、NC側とPMC側との間のインタフェース機能を受け持つウインドウ機能を起動するウインドウ起動手段である。 A code M76 is an auxiliary function, and is a window activation means for activating a window function that is responsible for an interface function between the NC side and the PMC side.
ウインドウ起動手段M76によってウインドウ機能が起動すると、PMC側はA軸およびB軸の制御データを読み込むとともに、コモン変数#143のデータQを読み込む。アドレスQが数値1〜3のとき、たとえばコモン変数#143=3のときは、軸の制御権がNC側からPMC側へ切り換えられ、PMC側の軸制御によりA軸・B軸の2軸の同時動作と上記工具番号01のATC動作とが並行して行われる。
When the window function is activated by the window activation means M76, the PMC side reads the control data of the A axis and the B axis and also reads the data Q of the
10はM99;のブロックで、メインプログラムに戻ってつぎのブロックを実行する機能である。 Reference numeral 10 denotes a block of M99; which is a function for returning to the main program and executing the next block.
つぎに、11はG401A100.0B200.0Q19;のブロックで、マクロプログラム3を呼び出してA軸、B軸の位置が移動指令値と等しくなったかどうかにつき、A軸、B軸の現在位置を位置制御から取り込みPMC軸制御動作完了の確認をする。PMC軸制御動作完了確認を行う軸指定は、上記のようにアドレスQで行う。Qの引数が数値19であるので、変数#17に数値19が格納される。M76コードの実行によりPMC側でコモン変数#143=19が読み込まれ、A軸、B軸の指令動作位置(G401A100.0B200.0)の確認が行われる。A軸の現在位置がコモン変数#140と等しく、B軸の現在位置がコモン変数#141と等しいとき、ATC動作とA軸・B軸移動動作の並行処理の完了確認が終了したとしてA軸・B軸の制御権をNC側に戻す。
Next, 11 is a block of G401A100.0B200.0Q19; the
前記移動指令値A100.0、B200.0は、それぞれA軸・B軸の動作完了確認位置をアブソリュート値で指令している。アドレスQの意味は次のとおりである。
Q=17:A軸のPMC軸制御動作完了確認
Q=18:B軸のPMC軸制御動作完了確認
Q=19:A軸・B軸のPMC軸制御動作完了確認
The movement command values A100.0 and B200.0 command the operation completion confirmation positions of the A-axis and the B-axis as absolute values, respectively. The meaning of the address Q is as follows.
Q = 17: A-axis PMC axis control operation completion confirmation Q = 18: B-axis PMC axis control operation completion confirmation Q = 19: A-axis / B-axis PMC axis control operation completion confirmation
上述のプログラムの説明を前提にして、図1、図3を参照して更に本発明の軸制御を詳細に説明する。 Based on the above description of the program, the axis control of the present invention will be further described in detail with reference to FIGS.
図1において、12は、A軸移動指令値(アブソリュート値)100.0が格納されているメモリである。13は、B軸移動指令値(アブソリュート値)200.0が格納されているメモリである。14は、アドレスQの引数1〜3(PMC側での軸指定)が格納されているメモリ、またはアドレスQの引数17〜19のPMC軸制御動作完了確認指定が格納されているメモリである。15は、ATC軸制御準備データであるATCの工具番号と工具戻し準備指令のアドレスMの引数が格納されているメモリである。18はこれらデータのメモリを構成するメモリ手段である。
In FIG. 1,
図1では、データのやりとりが把握しやすいように、概略的に表しているが、NC制御部50(図3)は、A軸、B軸を制御するI/Oインタフェース25と、PMC28(図5のPMC64)と、X,Y,Z軸のNC基準軸とA軸・B軸とATC動作とを制御するNC軸制御部19と、PMCインタフェース20と、これら各部を制御するCPU制御部21(図5のCPU制御部67)とを含み、またこの他に、図5に示すメモリ62(図3のメモリ手段18を含む)と、各種データの入出力手段であるMDI61と、表示器63とを含んでいる。
In Figure 1, as data exchange is likely to understand, are expressed schematically, NC control unit 50 (FIG. 3) comprises an I /
前記PMCインタフェース20は、前記ウインドウ機能を起動する補助機能M76とウインドウ機能とインタフェースを含み、NC側とPMC側との間で指令ブロックデータをハンドシェイクする。
The
図1においてプログラムのデータ構成と動作をモデル的に説明すると、プログラム実行部16は、メモリ62(図5)に格納されている図2のプログラムの各ブロック1〜11を読み出して実行する。上記のように、A軸制御データとB軸制御データと軸指定データとを、メモリ手段18のメモリ12〜14に格納する。ATC軸制御準備データ15は、PMCインタフェース20を介してPMC28に出力される。
Referring to FIG. 1, the data configuration and operation of the program will be described in model form. The
これらのデータ、すなわちA軸データ12、B軸データ13、軸指定データ14およびATC軸制御準備データ15は、動作指令として一つの指令ブロックデータ17を構成する。この指令ブロックデータ17の実行により、A軸制御部23、B軸制御部24、ATC制御部27が、それぞれA軸制御、B軸制御、ATC動作を行う。
These data, that is,
プログラム実行部16は、図2に示す符号4,5のNC側(基準軸)動作のブロックを実行する。
The
プログラム実行部16は、A軸・B軸移動動作(A100.0B200.0)と動作完了確認データ(アドレスQ)からなる動作指令として一つのブロックを構成する指令ブロックデータ26(図1)に基づき、A軸、B軸の動作開始後、A軸、B軸の現在位置がA軸・B軸移動動作(A100.0B200.0)の移動指令値と等しくなったかどうかを判定し、PMC軸制御動作完了の確認をする。
The
このように、本発明は、A軸、B軸の移動動作と並行してNC側のATC動作を行い、NCパートプログラムで開始と終了の確認を容易に行える点に特徴がある。 Thus, the present invention is characterized in that the ATC operation on the NC side is performed in parallel with the movement operation of the A axis and the B axis, and the start and end can be easily confirmed by the NC part program.
上述したように、A軸、B軸の動作を行う指令ブロックデータ17の実行(図2の符号2)のあと、次のブロックに移ってNC側基準軸動作N5を実行する(図2の符号4,5)。即ち、X軸、Y軸、Z軸が工具交換位置に移動して、工具交換動作を行う。つぎに、A軸、B軸の動作完了確認が、動作指令としての一つの指令ブロックデータ26の実行(図2の符号11)により行われる。
As described above, after execution of the
指令ブロックデータ17によるA軸、B軸の動作開始と、指令ブロックデータ26によるA軸、B軸の動作完了確認との間で、ブロックN5(図1)で示すように、NC側の基準軸の工具交換位置への移動と、ATC動作による工具交換とが行われる。
As shown in block N5 (FIG. 1), the reference axis on the NC side between the operation start of the A-axis and B-axis by the
図1のブロック構成を簡単にまとめると、図3のようになる。NC制御部50はCPU制御部21、PMCインタフェース20、PMC軸制御部22、I/Oインタフェース25、NC軸制御部19およびPMC28を含む。PMC28は、PMCラダー制御部29を含む。CPU制御部21が前記プログラム内容の符号1〜11で示すブロックを実行する。
The block configuration shown in FIG. 1 can be summarized as shown in FIG. The
図2に示すプログラムがプログラム実行部16で読み込まれ実行され、符号2の諸データがメモリ手段18に格納される。実際には、CPU制御部21がこの動作を行う。
The program shown in FIG. 2 is read and executed by the
図3の判断30において、PMCラダー制御部29がアドレスQの値から、A軸、B軸の制御をPMC軸制御部22で行うかどうか判断する。YESであれば、PMC軸制御部22、I/Oインタフェース25を介して、A軸制御部23、B軸制御部24により、モータ31−1、31−2をそれぞれ駆動する。なお、ATC動作は、図2に符号5で示すコードM06の実行により、PMC軸制御部22により行われる。
In the
補助機能M76(図2の符号9)の出力時、コモン変数#143がQ=3(2進数では「00011」)の場合、すなわち、指定された軸がA軸およびB軸の場合の動作について、図4のフローチャートを参照して説明する。
When the auxiliary function M76 (
判断33で補助機能M76が出力中でないと、END44に移る。判断33で補助機能M76が出力中である(YES)と、PMC側では判断34(#143AND16=0)でコモン変数#143に格納されているアドレスQの引数を読み出し2進数でビット照合し、動作完了確認か軸動作かを判断する。5ビット目は0(軸動作)だから、34での判断はYESとなり、判断35(#143AND1≠0)でA軸選択があるかどうかにつき、1ビット目をビット照合する。1ビット目が1であるので、35での判断はYESとなり、処理36でA軸の制御をPMC軸制御部22側に切り換え、A軸の移動指令を開始する。1ビット目が0(A軸なし)であれば、35での判断はNOとなり、処理36を実行しないで次の判断37に移る。
If the auxiliary function M76 is not being output in the
つぎに、判断37(#143AND2≠0)でB軸選択があるかどうかにつき、2ビット目をビット照合する。2ビット目が1であるので、37での判断はYESとなり、処理38でB軸の制御をPMC軸制御部22側に切り換え、B軸の移動指令を開始する。また、M76の完了信号(FIN)を即座に返し、END44に移る。2ビット目が0(B軸なし)であれば、37での判断はNOとなり、処理38を実行しないで次のEND44に移る。
Next, in the determination 37 (# 143 AND2 ≠ 0), whether or not the B axis is selected is bit-checked. Since the second bit is 1, the determination in 37 is YES, and in the
つぎに、コモン変数#143がQ=19(2進数では「10011」)の場合、すなわち、A軸、B軸の動作完了確認の場合について説明する。
Next, a case where the
5ビット目は1(動作完了確認)だから、34での判断はNOとなり、判断39(#143AND1≠0)に移り、A軸が対象の動作完了確認かどうかにつき、ビット照合する。1ビット目が1だから39での判断結果はYESとなり、判断40でPMC軸制御部22によるA軸の軸制御の動作完了かどうかをチェックする。動作完了していなければ、40での判断結果はNOとなり、END44に移る。動作完了していれば、判断41(#143AND2≠0)に移り、B軸が対象の動作完了確認かどうかにつき、ビット照合する。2ビット目が1だから41での判断結果はYESとなり、判断42でPMC軸制御部22によるB軸の軸制御の動作完了かどうかをチェックする。動作完了していなければ、42での判断結果はNOとなり、END44に移る。動作完了していれば、処理43で制御権をPMC軸からNC軸に戻し、補助機能M76の完了信号(FIN)を返す。
Since the 5th bit is 1 (operation completion confirmation), the determination at 34 is NO, and the process proceeds to determination 39 (# 143 AND1 ≠ 0), and bit verification is performed as to whether the A axis is the operation completion confirmation of the target. Since the first bit is 1, the determination result in 39 is YES, and in
このように、図2で説明した符号2と符号11のブロックの間にNC側のATC機能が動作し、A軸・B軸が動作開始したあとATC動作が実行されて、並行処理が簡単に行える。こうした構成に基づく並行処理により待ち制御が解消され、サイクルタイムを従来より短縮できる。
As described above, the ATC function on the NC side operates between the
1〜11・・・NCパートプログラムのコーディングブロック
12〜15・・・指令ブロックデータを構成するデータ
16・・・プログラム実行部
17・・・指令ブロックデータ
18・・・メモリ手段
19・・・NC軸制御部
20・・・PMCインタフェース
21・・・CPU制御部
22・・・PMC軸制御部
23・・・A軸制御部
24・・・B軸制御部
25・・・I/Oインタフェース
26・・・指令ブロックデータ
27・・・ATC制御部
28・・・PMC
29・・・PMCラダー制御部
31・・・駆動用モータ
32・・・Z軸
50・・・NC制御部
N5・・・NC側の諸機能の動作
DESCRIPTION OF SYMBOLS 1-11 ... NC part program coding block 12-15 ... Data which comprises
29 ... PMC ladder control unit 31 ... Drive
Claims (2)
前記工作機械の基準軸であるX軸、Y軸、Z軸および回転軸であるA軸、B軸を制御するためのプログラムが格納されたメモリと、
前記プログラムに従って前記基準軸および回転軸を制御するNC(Numerical Control)軸制御部と、を備えた工作機械の軸制御装置において、
前記PMCの制御の下で前記A軸およびB軸の制御を行うPMC軸制御部を更に備え、
前記プログラムは、A軸制御データとB軸制御データと軸指定データとATC(自動工具交換)軸制御準備データとを一つの指令ブロックデータとして有し、
前記プログラムの実行により前記指令ブロックデータの軸指定データが前記PMCで読み取られると、A軸およびB軸の軸制御の制御権をNC軸制御部側からPMC軸制御部側へ切り換え、前記PMC軸制御部の制御の下で前記軸指定データで指定されたA軸およびB軸の一方または両方の移動を開始するとともに、当該軸の移動と並行して前記NC軸制御部の制御の下で基準軸を工具交換位置へ移動させて工具交換を行い、
前記軸指定データで指定されたA軸およびB軸の一方または両方の移動と、前記基準軸の移動および工具交換との並行処理が完了すると、前記制御権をPMC軸制御部側からNC軸制御部側へ戻すことを特徴とする工作機械の軸制御装置。 PMC (Programmable Machine Controller) for controlling machine tools,
A memory storing a program for controlling the X axis, the Y axis, the Z axis, and the A axis, which is the rotation axis, and the B axis, which are reference axes of the machine tool;
In an axis control device for a machine tool comprising an NC (Numerical Control) axis control unit that controls the reference axis and the rotation axis according to the program,
A PMC axis control unit for controlling the A axis and the B axis under the control of the PMC;
The program has A-axis control data, B-axis control data, axis designation data, and ATC (automatic tool change) axis control preparation data as one command block data,
When the axis designation data of the command block data is read by the PMC by the execution of the program, the control right of the axis control of the A axis and the B axis is switched from the NC axis control unit side to the PMC axis control unit side, and the PMC axis The movement of one or both of the A axis and the B axis designated by the axis designation data is started under the control of the control unit, and the reference is controlled under the control of the NC axis control unit in parallel with the movement of the axis. Change the tool by moving the axis to the tool change position,
When the parallel processing of the movement of one or both of the A axis and the B axis designated by the axis designation data and the movement of the reference axis and the tool change is completed, the control right is transferred from the PMC axis control unit side to the NC axis control. An axis control device for a machine tool characterized by being returned to the side of the machine.
(a)前記指令ブロックデータの軸指定データが前記PMCで読み取られると、A軸およびB軸の軸制御の制御権をNC軸制御部側からPMC軸制御部側へ切り換えるステップ。
(b)前記PMC軸制御部の制御の下で前記軸指定データで指定されたA軸およびB軸の一方または両方の移動を開始するステップ。
(c)前記ステップ(b)の軸の移動と並行して前記NC軸制御部の制御の下で基準軸を工具交換位置へ移動させて工具交換を行うステップ。
(d)前記軸指定データで指定されたA軸およびB軸の一方または両方の移動と、前記基準軸の移動および工具交換との並行処理が完了すると、前記制御権をPMC軸制御部側からNC軸制御部側へ戻すステップ。 PMC (Programmable Machine Controller) for controlling the machine tool, and NC (Numerical Control) axis control unit for controlling the X axis, Y axis, Z axis and the A axis and B axis as the rotation axes of the machine tool And a PMC control unit for controlling the A-axis and the B-axis under the control of the PMC. An axis control program for a machine tool having control data, axis designation data, and ATC (automatic tool change) axis control preparation data as one command block data, and causing the axis control device to execute the following steps: .
(A) When the axis designation data of the command block data is read by the PMC, the control right of the axis control of the A axis and the B axis is switched from the NC axis control unit side to the PMC axis control unit side.
(B) A step of starting the movement of one or both of the A axis and the B axis designated by the axis designation data under the control of the PMC axis control unit.
(C) A step of changing the tool by moving the reference axis to the tool changing position under the control of the NC axis control unit in parallel with the movement of the axis in the step (b).
(D) When the parallel processing of the movement of one or both of the A axis and the B axis designated by the axis designation data and the movement of the reference axis and the tool change is completed, the control right is transferred from the PMC axis control unit side. Returning to the NC axis control unit side.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003373818A JP4549051B2 (en) | 2003-10-31 | 2003-10-31 | Machine tool axis control device, machine tool axis control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003373818A JP4549051B2 (en) | 2003-10-31 | 2003-10-31 | Machine tool axis control device, machine tool axis control program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2005131775A JP2005131775A (en) | 2005-05-26 |
| JP2005131775A5 JP2005131775A5 (en) | 2008-08-28 |
| JP4549051B2 true JP4549051B2 (en) | 2010-09-22 |
Family
ID=34649722
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003373818A Expired - Fee Related JP4549051B2 (en) | 2003-10-31 | 2003-10-31 | Machine tool axis control device, machine tool axis control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4549051B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9557732B2 (en) | 2013-09-09 | 2017-01-31 | Fanuc Corporation | Numerical controller having program resuming function |
| CN108388171A (en) * | 2017-02-03 | 2018-08-10 | 发那科株式会社 | Programmable controller |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6379491B2 (en) * | 2014-01-10 | 2018-08-29 | ブラザー工業株式会社 | Machine Tools |
| JP7444591B2 (en) * | 2019-12-04 | 2024-03-06 | ファナック株式会社 | Control device |
| CN116125911B (en) * | 2022-12-02 | 2025-04-29 | 珠海格力智能装备有限公司 | G code generation method, generation device, processor and electronic device |
| CN116540635B (en) * | 2023-04-10 | 2025-11-11 | 成都飞机工业(集团)有限责任公司 | Six-axis machine tool control method and device with turntable, storage medium and electronic equipment |
| CN117260341B (en) * | 2023-09-28 | 2025-10-28 | 广东润星科技有限公司 | Inclined disc tool magazine and machine tool linkage method and device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07210232A (en) * | 1994-01-17 | 1995-08-11 | Fanuc Ltd | Numerical controller |
| JPH10228306A (en) * | 1997-02-17 | 1998-08-25 | Fanuc Ltd | Method for interpolating free curve in numerical controller |
| JP3643098B2 (en) * | 2001-10-16 | 2005-04-27 | ファナック株式会社 | Numerical controller |
-
2003
- 2003-10-31 JP JP2003373818A patent/JP4549051B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9557732B2 (en) | 2013-09-09 | 2017-01-31 | Fanuc Corporation | Numerical controller having program resuming function |
| CN108388171A (en) * | 2017-02-03 | 2018-08-10 | 发那科株式会社 | Programmable controller |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005131775A (en) | 2005-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5414948B1 (en) | Numerical controller | |
| JP5766762B2 (en) | Numerical control device with operation setting screen | |
| JP4011372B2 (en) | Machining program check method and check apparatus for numerically controlled machine tool, and numerically controlled machine tool provided with the same | |
| US6888334B2 (en) | Synchronization control method and synchronization control device | |
| JP5355356B2 (en) | Method for creating part programs | |
| JP4549051B2 (en) | Machine tool axis control device, machine tool axis control program | |
| JPH103307A (en) | Numerical controller | |
| JPWO2004074953A1 (en) | Numerical controller | |
| JP2005131775A5 (en) | ||
| JP6770018B2 (en) | Setting device and setting program | |
| JP6987960B1 (en) | Information processing equipment | |
| JP6987959B1 (en) | Information processing equipment | |
| JP3893334B2 (en) | Multi-system numerical controller | |
| JP2007245247A (en) | Machine having program validation function | |
| JP4867876B2 (en) | Numerical control device, numerical control program, and storage medium storing numerical control program | |
| JP2009223779A (en) | Control system | |
| JP2022047702A (en) | Machining program optimization device and method thereof | |
| JP7674500B2 (en) | Numerical Control Device | |
| JPH04237307A (en) | Automatic transformation device for coordinate axis | |
| JP3890462B2 (en) | Equipment operation control apparatus and method | |
| JP5717926B2 (en) | Numerical controller | |
| JP4208600B2 (en) | NC machine tool | |
| JP4657595B2 (en) | NC machine tool display device | |
| WO2022196622A9 (en) | Numerical control device | |
| JP2007233575A (en) | Numerical controller and control method for machine tool |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061030 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20061030 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080714 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080821 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080902 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081030 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081030 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090929 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091130 |
|
| 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: 20100706 |
|
| 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: 20100706 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130716 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |