JPH0630011B2 - Numerical control Machining restart control method - Google Patents

Numerical control Machining restart control method

Info

Publication number
JPH0630011B2
JPH0630011B2 JP58074050A JP7405083A JPH0630011B2 JP H0630011 B2 JPH0630011 B2 JP H0630011B2 JP 58074050 A JP58074050 A JP 58074050A JP 7405083 A JP7405083 A JP 7405083A JP H0630011 B2 JPH0630011 B2 JP H0630011B2
Authority
JP
Japan
Prior art keywords
point
machining
fixed cycle
tool
value
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 - Lifetime
Application number
JP58074050A
Other languages
Japanese (ja)
Other versions
JPS59201107A (en
Inventor
信之 木谷
元章 吉野
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.)
FUANATSUKU KK
NITSUPEI TOYAMA KK
Original Assignee
FUANATSUKU KK
NITSUPEI TOYAMA KK
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 FUANATSUKU KK, NITSUPEI TOYAMA KK filed Critical FUANATSUKU KK
Priority to JP58074050A priority Critical patent/JPH0630011B2/en
Publication of JPS59201107A publication Critical patent/JPS59201107A/en
Publication of JPH0630011B2 publication Critical patent/JPH0630011B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4067Restoring data or position after power failure or other interruption
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50084Keep position, setup parameters in memory
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50103Restart, reverse, return along machined path, stop

Description

【発明の詳細な説明】 発明の技術分野と従来技術 本発明は、固定サイクル中、すなわち特定のコードと最
低限の移動量指令等をプログラムするのみで、数値制御
装置が、自動的に一連のシーケンス動作を作り出し、機
械を制御し加工を行う固定サイクル中に、停電や停止操
作等の何らかの原因により中断し、該加工を再開すると
きの数値制御加工再開制御方式に関する。
TECHNICAL FIELD OF THE INVENTION AND PRIOR ART The present invention allows a numerical controller to automatically perform a series of operations during a fixed cycle, that is, by programming a specific code and a minimum movement command. The present invention relates to a numerical control machining restart control method for restarting the machining, which is interrupted due to some cause such as a power failure or a stop operation during a fixed cycle in which a sequence operation is generated to control the machine to perform the machining.

数値制御工作機械にて加工する場合、加工中に何らかの
原因により加工が中断されると、その加工を再開するに
は、従来の数値制御装置ではNCプログラムの先頭から
やり直すか、またはオペレータの操作により加工中断時
のブロックに戻し、加工条件を決定する各種モーダルデ
ータを復旧する必要があった。これらの復旧処理は、停
止点すなわち再開点が固定サイクル中であっても同じで
あり、復旧作業に無駄な時間と操作ミス等を生じさせて
いた。
In the case of machining with a numerically controlled machine tool, if machining is interrupted for some reason during machining, in order to restart the machining, in the conventional numerical controller, the NC program must be restarted from the beginning or by operator's operation. It was necessary to return to the block at the time of processing interruption and restore various modal data that determines the processing conditions. These restoration processes are the same even when the stop point, that is, the restart point, is in the fixed cycle, resulting in wasted time and error in the restoration work.

発明の目的 本発明の目的は、数値制御工作機械におけるドリリン
グ,タッピング等の穴あけ加工や繰返しシーケンス動作
を行う旋削加工に用いられる固定サイクル中に加工が中
断され、その加工を再開するとき、再開位置及び処理を
自動的に決定し、中断前と同じ条件で正しい数値制御加
工を再開し得る数値制御加工再開制御方式を提供するこ
とにある。
Object of the Invention The object of the present invention is to restart the machining when the machining is interrupted during a fixed cycle used for drilling such as drilling and tapping in a numerically controlled machine tool or turning for performing repetitive sequence operations. Another object of the present invention is to provide a numerical control machining restart control method capable of automatically determining a process and restarting correct numerical control machining under the same conditions as before interruption.

実施例 以下、固定サイクルとしてタッピングサイクルを例にと
り、本発明の一実施例を図面と共に説明する。
Embodiment Hereinafter, one embodiment of the present invention will be described with reference to the drawings by taking a tapping cycle as an example of a fixed cycle.

第1図は、本発明の方式を実施する数値制御装置の要部
ブロック図であり、1はマイクロコンピュータ、2はN
C加工プログラムを記憶するCMOSメモリで、これは
指令データとこれを読取るテープリーダで構成してもよ
い。また、3は書き込み、読み出し可能な不揮発性のメ
モリ、4は手動データ入力装置、5はそのインターフェ
イス回路、6は軸制御回路、7はサーボ増幅器、8はサ
ーボモータ、9は位置検出器、10は不揮発性素子で構
成される現在値カウンタである。なお、軸制御回路6,
サーボモータ増幅器7,サーボモータ8,位置検出器9
及び現在値カウンタ10は、説明の便宜上一軸部分のみ
図示してある。
FIG. 1 is a block diagram of a main part of a numerical controller for implementing the method of the present invention, in which 1 is a microcomputer and 2 is N.
A CMOS memory that stores the C processing program, which may be configured by command data and a tape reader that reads the command data. Further, 3 is a non-volatile memory capable of writing and reading, 4 is a manual data input device, 5 is its interface circuit, 6 is an axis control circuit, 7 is a servo amplifier, 8 is a servo motor, 9 is a position detector, and 10 is a position detector. Is a current value counter composed of non-volatile elements. The axis control circuit 6,
Servo motor amplifier 7, servo motor 8, position detector 9
For convenience of explanation, the present value counter 10 is shown with only one axis.

第2図は、GコードG84で示される固定サイクルであ
るタッピングサイクルの説明図である。固定サイクルG
84のタッピングサイクルの指令は、次のようなフォー
マットで指令される。
FIG. 2 is an explanatory diagram of a tapping cycle which is a fixed cycle indicated by a G code G84. Fixed cycle G
The 84 tapping cycle command is commanded in the following format.

G84 X このような指令が出されると、数値制御装置内部で、次
のような一連のシーケンス動作を自動的に行う。
G84 X x Y y Z z R r F f P p When such a command is issued, the following series of sequence operations are automatically performed inside the numerical controller.

上記指令G84で入力されたX軸,Y軸の座標位置の
値x,yの穴あけ開始位置(I点)まで移動。なお、Z
軸座標位置はモーダルであるため、前のブロックで指令
された座標位置に指定されている。
Move to the drilling start position (point I) of the x and y coordinate position values x and y input by the command G84. In addition, Z
Since the axis coordinate position is modal, it is specified at the coordinate position instructed in the previous block.

上記指令G84で入力されたアプローチ量rだけZ軸
方向へ早送りし、R点まで移動させる。
The approach amount r input by the command G84 is fast-forwarded in the Z-axis direction and moved to the point R.

上記指令G84で入力されたZの値zまで、すなわ
ち、穴底まで、送り速度Fの設定値fで切削加工を行
う。
Cutting is performed at the set value f of the feed rate F up to the value z of Z input by the command G84, that is, up to the hole bottom.

穴底Z点で設定値pの時間ドウエル動作を行う。The dwell operation for the set value p is performed at the bottom Z point.

主軸逆転 R点まで設定値fの送り速度で引き抜く。Spindle reverse rotation Pull out at the feed rate of set value f to point R.

主軸正転 穴あけ開始位置(I点)まで早送りで戻る。Spindle forward rotation Fast return to the drilling start position (point I).

なお、固定サイクルにおいては、第2図G90またはG
91で示されるアブソリュートモード、イレクリメンタ
ルモード、どちらのモードで位置決めがされようとも、
上記穴あけ開始位置I点、アプローチ点R点、穴底Z点
等の移動位置は、それぞれのメモリ3内のレジスタ内に
アブソリュート値で記憶されるようになっている。
In addition, in the fixed cycle, FIG. 2 G90 or G
Whether the positioning is performed in the absolute mode or the incremental mode indicated by 91,
The moving positions such as the drilling start position I point, the approach point R point, the hole bottom Z point and the like are stored as absolute values in registers in the respective memories 3.

次に、このような固定サイクル中に加工を中断し、再開
する場合の本発明の処理方式について、第3図の処理フ
ローと共に詳細に説明する。
Next, the processing method of the present invention when the processing is interrupted and restarted during such a fixed cycle will be described in detail with the processing flow of FIG.

今、数値制御工作機械は、第1図CMOS2で記憶され
たNCプログラムにしたがって軸制御回路6,サーボ増
幅器7,サーボモータ8を移動させ加工を行っており、
そこで、上記フォーマットでG84のコードが読まれる
と、数値制御装置は上記〜のステップの処理を行う
が、その際、マイクロコンピュータ1は、上記指令等で
与えられた穴あけ開始位置I点のx,y,z軸の座標位
置及びアプローチ点R点の位置、穴底Z点のZ軸座標位
置(この実施例では、Z軸方向にタップを開けているた
めZ軸座標位置でよい)を、アブソリュート値でメモリ
3内の各レジスタを記憶する。そして、上記〜の各
ステップの処理を行う。しかし、その途中で停電等によ
り加工が中断され、その後再開するとき、機械側に設け
られたサイクルスタートボタンや手動データ入力装置4
から再開指令を入力すると、位置検出器9の出力パルス
でカウントアップ,カウントダウンされ、現在の工具位
置を記憶する現在値カウンタ10のZ軸の値SPをマイ
クロコンピュータ1は読み取る(第3図P)。なお、
この値SPは、加工を中断したときの工具停止位置を示
すものである。そして、メモリ3内の穴あけ開始位置I
点のZ軸座標位置I(Z)を記憶したレジスタから該位
置I(Z)の値を読み出し、該I点のZ軸座標位置I
(Z)と工具停止位置SPを比較し(第3図P)、同
じであれば、ステップを示すポインター(1)をメモ
リ3内のステップカウンターに記憶する(第3図
)。該カウンターにステップであることが記憶さ
れると、該ステップから処理を再開する。すなわち、
I点のx,y軸座標位置を記憶したレジスタの値まで工
具を移動させ穴あけ開始位置I点へ位置決めし、以後通
常の処理を行う(第3図P)。次に、工具停止位置S
PとI点のZ軸座標位置I(Z)が等しくなかったとき
は、上記工具停止位置のSPとアプローチ点R点位置を
記憶したレジスタの値とを比較する(第3図P)。そ
して、工具停止位置SPの方が大きければ(なお、この
実施例のタッピングはZ軸のマイナス方向に加工してい
るものとする。)、第2図ので示すステップで工具
は停止していることを示すから、ステップカウンターに
ステップのポインター(2)を記憶させ(第3図
)、次に、ステップより処理を再開させる。すな
わち、アプローチ点R位置をアブソリュートで記憶した
レジスタの値まで早送りする(第3図P)。また、工
具停止位置SPがアプローチ点Rより小さければ、次に
該工具停止位置SPと穴底位置Zを記憶したレジスタの
値と比較し(第3図P)、等しくなければ、第2図で
示すように、R点より小さくZ点ではないので、ステッ
プの途中で工具が停止していることを示す。そこで、
ステップカウンタにステップを示すポインター(3)
を記憶させ、該ステップより処理を再開する(第3図
,P10)。すなわち、穴底位置Z点をアブソリュー
トで記憶したレジスタの値まで、送り速度fの設定値で
タップ加工を行い、以後ステップ以下の固定サイクル
の処理を行い、通常処理へと移行する。また、工具停止
位置SPと穴底位置Zが等しければ、ステップカウンタ
にステップのポインター(5)を記憶し、ステップ
より加工を再開する(第3図P11,P12)。
Now, the numerically controlled machine tool is moving the axis control circuit 6, the servo amplifier 7, and the servo motor 8 according to the NC program stored in the CMOS 2 shown in FIG.
Therefore, when the G84 code is read in the above format, the numerical control apparatus performs the processing of the above steps to, but at this time, the microcomputer 1 sets the x, which is the point I of the drilling start position given by the above command or the like. The coordinate positions of the y and z axes, the position of the approach point R point, and the Z axis coordinate position of the hole bottom Z point (in this embodiment, since the tap is made in the Z axis direction, the Z axis coordinate position may be used) are the absolute values. Each register in the memory 3 is stored as a value. Then, the processes of the above steps 1 to 3 are performed. However, when the machining is interrupted due to a power failure or the like in the middle of the process and then restarted, the cycle start button provided on the machine side or the manual data input device
When a restart command is input from, the microcomputer 1 reads the Z-axis value SP of the current value counter 10 which counts up and down by the output pulse of the position detector 9 and stores the current tool position (P 1 in FIG. 3). ). In addition,
This value SP indicates the tool stop position when the machining is interrupted. Then, the drilling start position I in the memory 3
The value of the position I (Z) is read from the register storing the Z-axis coordinate position I (Z) of the point, and the Z-axis coordinate position I of the point I is read.
(Z) is compared with the tool stop position SP (P 2 in FIG. 3), and if they are the same, the pointer (1) indicating the step is stored in the step counter in the memory 3 (P 3 in FIG. 3 ). When the counter stores the step, the process is restarted from the step. That is,
X of point I, positioning the drilling start position I point to move the tool to a value of the register that stores the y-axis coordinate position and thereafter performs the normal processing (FIG. 3 P 4). Next, the tool stop position S
When the Z-axis coordinate position I (Z) of the point P and the point I are not equal, SP of the tool stop position and the value of the register storing the position of the approach point R point are compared (P 5 in FIG. 3 ). If the tool stop position SP is larger (note that the tapping in this embodiment is processed in the minus direction of the Z axis), the tool is stopped at the step shown in FIG. Therefore, the pointer (2) of the step is stored in the step counter (P 6 in FIG. 3), and the process is restarted from the step. That is, the approach point R position is fast-forwarded to the value of the register which is stored as an absolute value (P 7 in FIG. 3). If the tool stop position SP is smaller than the approach point R, then the tool stop position SP and the hole bottom position Z are compared with the stored value of the register (P 8 in FIG. 3). As shown by, since it is smaller than the R point and not the Z point, it indicates that the tool is stopped during the step. Therefore,
Pointer (3) indicating the step in the step counter
Is stored, and the process is restarted from the step (P 9 , P 10 in FIG. 3). That is, tapping is performed at the set value of the feed speed f up to the value of the register in which the hole bottom position Z is stored as an absolute value, and thereafter, the fixed cycle processing after the step is performed and the normal processing is performed. If the tool stop position SP and the hole bottom position Z are equal, the step pointer (5) is stored in the step counter and the machining is restarted from the step (P 11 and P 12 in FIG. 3).

なお、上記実施例では、固定サイクルとしてタツピング
サイクルを示したが、本発明は、ドリリングや中ぐり加
工、さらには、施削加工等の固定サイクルにも利用でき
るものである。
Although the tapping cycle is shown as the fixed cycle in the above-mentioned embodiment, the present invention can be applied to a fixed cycle such as drilling, boring, and machining.

発明の効果 本発明の数値制御工作機械での加工における固定サイク
ル内において加工が中断したとき、工具停止位置と、固
定サイクル内の各ステップの終点位置とを比較すること
により、工具停止ステップを割出し、該ステップから加
工を再開するようにしたから、加工を中断し、再開する
とき、素早く再開ができ、かつ、数値制御装置が自動的
に再開処理を行うので、人為的操作によるミスを防ぐこ
とができるものである。
EFFECTS OF THE INVENTION When machining is interrupted in a fixed cycle in machining with the numerically controlled machine tool of the present invention, the tool stop step is divided by comparing the tool stop position with the end point position of each step in the fixed cycle. Since the processing is restarted from this step, the processing can be interrupted, and when restarted, it can be restarted quickly, and the numerical control device automatically performs restart processing, preventing mistakes due to human operation. Is something that can be done.

【図面の簡単な説明】[Brief description of drawings]

第1図は、本発明の方式を実施する数値制御装置の要部
ブロック図、第2図は、タッピングサイクルの説明図、
第3図は、本発明の一実施例の処理フローである。 4…手動データ入力装置、9…位置検出器。
FIG. 1 is a block diagram of a main part of a numerical controller for implementing the method of the present invention, FIG. 2 is an explanatory diagram of a tapping cycle,
FIG. 3 is a processing flow of an embodiment of the present invention. 4 ... Manual data input device, 9 ... Position detector.

フロントページの続き (72)発明者 吉野 元章 東京都日野市旭が丘3丁目5番地1 フア ナツク株式会社内 (56)参考文献 特開 昭57−60401(JP,A) 特開 昭57−60402(JP,A) 特開 昭57−147709(JP,A)Front Page Continuation (72) Inventor Motoaki Yoshino 3-5-5 Asahigaoka, Hino-shi, Tokyo Within Fanatsuku Co., Ltd. (56) Reference JP-A-57-60401 (JP, A) JP-A-57-60402 ( JP, A) JP 57-147709 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】数値制御装置による固定サイクル加工処理
において、該固定サイクルの各ステップの指令位置を記
憶する各レジスタと、工具の現在位置を記憶するカウン
タとにより、加工中断後再開時に上記各レジスタの値と
上記カウンタの値を比較し、工具が停止している上記固
定サイクルのステップを割出し、該割出されたステップ
より自動的に加工を再開することを特徴とする数値制御
加工再開制御方式。
1. In a fixed cycle machining process by a numerical controller, each register stores a command position of each step of the fixed cycle and a counter which stores a current position of a tool, so that each of the registers is restarted after machining interruption. And the value of the counter are compared, the step of the fixed cycle in which the tool is stopped is indexed, and the machining is automatically restarted from the indexed step. method.
JP58074050A 1983-04-28 1983-04-28 Numerical control Machining restart control method Expired - Lifetime JPH0630011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58074050A JPH0630011B2 (en) 1983-04-28 1983-04-28 Numerical control Machining restart control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58074050A JPH0630011B2 (en) 1983-04-28 1983-04-28 Numerical control Machining restart control method

Publications (2)

Publication Number Publication Date
JPS59201107A JPS59201107A (en) 1984-11-14
JPH0630011B2 true JPH0630011B2 (en) 1994-04-20

Family

ID=13535963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58074050A Expired - Lifetime JPH0630011B2 (en) 1983-04-28 1983-04-28 Numerical control Machining restart control method

Country Status (1)

Country Link
JP (1) JPH0630011B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175804A (en) * 1985-01-31 1986-08-07 Fanuc Ltd Numerically controlled machine tool
JPS61243506A (en) * 1985-04-19 1986-10-29 Hitachi Seiki Co Ltd Nc controller with operation preparing function
JPS6212661A (en) * 1985-07-10 1987-01-21 日本化学工業株式会社 Spinel base ceramic sintered body and manufacture
JP2556963Y2 (en) * 1987-12-10 1997-12-08 三菱電機株式会社 Numerical control unit
EP0766154B1 (en) * 1992-12-28 2000-03-29 Mitsubishi Denki Kabushiki Kaisha Numerically controlled machine tool and method
JP6871221B2 (en) * 2018-11-14 2021-05-12 ファナック株式会社 Numerical control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5760401A (en) * 1980-09-30 1982-04-12 Fanuc Ltd Status release system of numerical control machine tool
JPS5760402A (en) * 1980-09-30 1982-04-12 Fanuc Ltd Status release system of numerical control machine tool
JPS57147709A (en) * 1981-03-09 1982-09-11 Mitsubishi Electric Corp Controller for arc welding robot

Also Published As

Publication number Publication date
JPS59201107A (en) 1984-11-14

Similar Documents

Publication Publication Date Title
JP3671020B2 (en) Numerical controller
US4550378A (en) Method of numerical control and device therefor
US4751652A (en) Numerical control drilling restart control system
US5578913A (en) NC device controlling machining processes with pre- and post-execution in-position values
JPH0630011B2 (en) Numerical control Machining restart control method
KR910007258B1 (en) Nc data creation method
JPH0616242B2 (en) Numerical control method
US4458326A (en) Method and apparatus for circular interpolation
JPH0325293B2 (en)
US6397123B1 (en) Numerical control apparatus
US4495561A (en) Numerical control method
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JPH0563749U (en) Numerical control device with processing time calculation function
GB2187308A (en) An operation program checking method for a numerical control device
JPS59192440A (en) Control device for resumption of nc processing
JP3433817B2 (en) Feed control device
JP2584225B2 (en) Numerical control unit
JP2926524B2 (en) Numerical controller with trial cutting function
JP3049485B2 (en) Control device for program operation machine and conversion device for control program
JPH01189704A (en) Numerical controller
JPH05309546A (en) Machining hour computing method for numerically controlled machine tool and its device
JPS6119380B2 (en)
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
JPS6230082Y2 (en)
JP2001071235A (en) Numerical control device