JPS6111806A - Starting up method - Google Patents

Starting up method

Info

Publication number
JPS6111806A
JPS6111806A JP13177384A JP13177384A JPS6111806A JP S6111806 A JPS6111806 A JP S6111806A JP 13177384 A JP13177384 A JP 13177384A JP 13177384 A JP13177384 A JP 13177384A JP S6111806 A JPS6111806 A JP S6111806A
Authority
JP
Japan
Prior art keywords
machine tool
power
program
power supply
return
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13177384A
Other languages
Japanese (ja)
Inventor
Hitoshi Matsuura
仁 松浦
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP13177384A priority Critical patent/JPS6111806A/en
Publication of JPS6111806A publication Critical patent/JPS6111806A/en
Pending 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/50083Power loss, measures again loss of power
    • 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

Landscapes

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

Abstract

PURPOSE:To improve the efficiency of a system without using restoring operation to an original point by previously storing a start-up program in a nonvolatile memory of an NC device and executing the program when a power supply of the system is turned on. CONSTITUTION:The NC device system is constituted of an NC device 101, a machine tool 102, a power supply device 103, and a switching means 104, a start- up NC program including at least an instruction for restoring operation to the original point is previously stored in a memory PM of the NC device 101 and a timer TM for generating a switch-enable signal at a setting time if formed in the machine tool 102. If a power supply ON time is set in the timer TM, a switch enable signal is generated from the timer TM and the switching means 104 applies a voltage from the power supply device 103 to the NC device 101 and the machine tool 102. Then, a CPU in the NC device reads out the start- up program from the memory PM to execute the restoring operation to the original point or the like.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は数値制御工作機械システムにおけるスタートア
ップ方法に係り、特に所定時刻に数値制御工作機械シス
テムの電源を投入する電源投入手段を設け、該電源投入
手段の動作によりシステムの電源が投入された場合には
、NC装置は少なくとも原点復帰命令を含むスタートア
ップ用プログラムを実行して工作機械を原点に復帰させ
るスタートアップ方法に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a start-up method for a numerically controlled machine tool system, and in particular, includes a power-on means for turning on the power of the numerically controlled machine tool system at a predetermined time. When the power of the system is turned on by the operation of the power-on means, the NC device relates to a startup method for returning the machine tool to the origin by executing a startup program including at least a return-to-origin command.

〈従来技術〉 NC運転の自動化/無人化が普及してくると、NC加工
終了後の電源切断、加工開始時の電源投入を無人で行う
必要が出て来る。
<Prior Art> As automation/unmanned NC operation becomes widespread, it becomes necessary to turn off the power after completing NC processing and turn on the power at the start of processing unattended.

このため、従来においてはタイマを設け、該タイマを用
いて自動的に設定時刻に電源投入スイッチを動作させて
数値制御工作機械システムに電源を投入している。しか
し、電源投入−の原点復帰処理、その他の加工前処理は
相変わらずオペレ−タの介入が必要であった。
For this reason, conventionally, a timer is provided, and the timer is used to automatically operate a power-on switch at a set time to turn on power to the numerically controlled machine tool system. However, the return-to-origin process when the power is turned on and other pre-processing processes still require operator intervention.

〈発明が解決しようとしている問題点〉しかし、電源投
入毎に、毎回オペレータが介入して原点復帰、その他の
加工前処理を行わなければならないということは、オペ
レータにとって煩わしく、シかも能率が悪い。
<Problems to be Solved by the Invention> However, it is troublesome for the operator and may be inefficient if the operator has to intervene each time the power is turned on to perform return to origin and other processing pre-processing.

以上から本発明の目的は、オペレータの介在なくして所
定の時刻に一システムに電源電圧を供給することができ
、しかも工作機械の原点復帰、その他の加工前処理を自
動的(ζ行うことができるスタートアップ方法を提供す
ることである。
From the above, it is an object of the present invention to be able to supply power supply voltage to a system at a predetermined time without operator intervention, and also to be able to automatically return the machine tool to its origin and perform other pre-processing processes. The goal is to provide a startup method.

く問題点を解決するための手段〉 第1図は本発明の概略説明図であり、101はNC装置
、102は工作機械、103は電源装置、104はスイ
ッチ手段である」NC装置101のメモリPMには予め
少なくとも原点復帰命令を含むスタートアップ用NCプ
ログラムが記憶されており、又工作機械102には設定
時刻になった時スイッチイネーブル信号を発生するタイ
マTMが設けられている。
1 is a schematic explanatory diagram of the present invention, in which 101 is an NC device, 102 is a machine tool, 103 is a power supply device, and 104 is a switch means." Memory of the NC device 101 A startup NC program including at least a home return command is stored in advance in the PM, and the machine tool 102 is provided with a timer TM that generates a switch enable signal when a set time comes.

く作用〉 タイマTMに電源投入時刻をセットしておけば、該時刻
になるとタイマTMからスイッチイネーブル信号が発生
し、スイッチ手段104は電源装置103からの電圧を
NC装置101及び工作機械102に引加する。電源電
圧が完全にNC装置101と工作機械102に引加され
てから、NC装置のプロセッサCPtJはメモリPMよ
ねスタートアップ用プログラムを読み出し、該スタート
アップ用プログラムにしたがってNG処理を行い、少な
くとも工作機械の各制御軸を原点復帰させる。
Function> If the power-on time is set in the timer TM, a switch enable signal is generated from the timer TM at the set time, and the switch means 104 pulls the voltage from the power supply device 103 to the NC device 101 and the machine tool 102. Add. After the power supply voltage is completely applied to the NC device 101 and the machine tool 102, the processor CPtJ of the NC device reads the startup program from the memory PM, performs the NG processing according to the startup program, and at least Return the control axis to its origin.

尚、必要に応じて工作機械に油圧ウオーミングアツプ、
その他の前処理を実行させるようにスタートアップ用プ
ログラムに所たのM機能命令をを挿入しておけば、こ゛
れら前処理も実行される。更に、原点復帰後に機械可動
部番加工開始点迄予め位置決めさせておきたい場合には
、位置決め命令が原点復帰命令よりあとに来るようにス
タートアップ用プログラムに含ませておけばよい。
In addition, if necessary, hydraulic warming-up can be performed on the machine tool.
If a certain M function instruction is inserted into the startup program to execute other preprocessing, these preprocessing will also be executed. Furthermore, if it is desired to position the machine movable part in advance to the machining start point after returning to the origin, it is sufficient to include the positioning command in the startup program so that it comes after the return to origin command.

〈実施例〉 。<Example> .

第2図、第3図、第4図は本発明の詳細な説明図であり
、第2図はシステム全体図、第3図はNC装置のブロッ
ク図、第4図は処理の流れ図である。
2, 3, and 4 are detailed explanatory diagrams of the present invention, in which FIG. 2 is an overall system diagram, FIG. 3 is a block diagram of the NC device, and FIG. 4 is a process flowchart.

工作機械102は第2図に示すように、設定された時刻
になると信号を発生するタイマTMと、スタートアップ
用プログラムを起動させる態様で電源を投入させる乙と
を指示するスイッチSTPと、スイッチSTPがオンし
ている状態においてタイマTPからタイムアツプ信号T
UPが発生すると、スイッチ手段104のスイッチ10
4aを動作させて電源装置103からの電源電圧をNC
装置101と工作機械102に入力するスイッチイネー
ブル回路PON Iと、スイッチイネ−ギル回路PON
 Iがスイッチ104aを駆動してから所定時間後にパ
ワーオン信号PONを出力する遅延回路DELを有して
いる。尚、スイッチ手段104における104bはマニ
ュアルで電源電圧を投入するスイッチである。
As shown in FIG. 2, the machine tool 102 includes a timer TM that generates a signal at a set time, a switch STP that instructs to turn on the power in a manner that starts a startup program, and a switch STP. When the timer TP is on, the time-up signal T is sent from the timer TP.
When UP occurs, switch 10 of switch means 104
4a to operate the power supply voltage from the power supply device 103.
A switch enable circuit PON I and a switch enable circuit PON input to the device 101 and the machine tool 102
It has a delay circuit DEL that outputs a power-on signal PON a predetermined time after I drives the switch 104a. Note that 104b in the switch means 104 is a switch for manually turning on the power supply voltage.

NC装置101は第3図に示すように、プロセッサCP
Uと、リードオンリメモリROMと、ランダムアクセス
メモリRAMと、不揮発性メモリPMと、NGテープT
PからNGデータを読み取るNOデータ読取装置NCR
と、操作盤oppと、パルス分配@I TPと、サーボ
回路SvCと、インタフェースINFを有している。不
揮発性メモリPMには予めスタートアップ用プログラム
が記憶されている。尚、スタートアップ用プログラムは
たとえば、 ON込; 028XOYOZO; mi R7 のように、構成されている。ただし、アルファベットO
は以下につづく数値ΔΔΔがプログラム番号であること
を示すワードアドレス語、028はそれ以降のアルファ
ベットx、y、zにより指示された位置(設例では0.
0.0)へ各制御軸を復帰させるリファレンス点復帰命
令、Mロロ°はM機能命令、ERはエンドオブレコード
である〇(a)さて、プロセッサCPUは電源電圧が投
入されると、スタートアップ用プログラムを起動させる
態様でNC装置に、電源電圧が投入されたのかどうかを
判別する。すなわち、インタフェースINFを介してパ
ワーオン信号PON (第2図参照)が入力されている
かどうかをチェックする。
As shown in FIG. 3, the NC device 101 includes a processor CP
U, read-only memory ROM, random access memory RAM, nonvolatile memory PM, and NG tape T
NO data reader NCR that reads NG data from P
, an operation panel opp, a pulse distribution @I TP, a servo circuit SvC, and an interface INF. A startup program is stored in advance in the nonvolatile memory PM. Note that the startup program is configured as follows, for example: ON included; 028XOYOZO; mi R7. However, the alphabet O
is a word address word indicating that the following numerical value ΔΔΔ is a program number, and 028 is the position indicated by the subsequent alphabets x, y, z (in the example, 0.
Reference point return command to return each control axis to 0.0), Mroro° is M function command, ER is end of record.〇(a) Now, when the power supply voltage is turned on, the processor CPU starts the startup program. It is determined whether power supply voltage is applied to the NC device in a manner that activates the NC device. That is, it is checked whether the power-on signal PON (see FIG. 2) is input via the interface INF.

(以後第4図の流れ図を参照)。(See the flowchart in Figure 4 below).

(b)マニュアルで電源電圧が投入されたのであれば、
通常のパワーオンの処理を行う。
(b) If the power supply voltage was turned on manually,
Perform normal power-on processing.

(C)しかし、スタτl・アップ用プログラムを起動す
る態様で電源電圧が投入されたものであれば(PON=
1) 、プロセッサは内部的にメモリ運転モードになる
。又プロセッサは1→iとする。
(C) However, if the power supply voltage is turned on in a manner that starts the program for starting τl/up (PON=
1), the processor internally enters memory operating mode. Also, assume that the processor is 1→i.

(d)しかる、後、プロセッサCPUはスタートアップ
用プログラムの第iブロックのNCデータを不揮発性メ
モリPMから読み出し、NC処理を行う。
(d) After that, the processor CPU reads the NC data of the i-th block of the startup program from the nonvolatile memory PM and performs NC processing.

(e)まず、プロセッサは第iブロックのNCデータが
エンドオブレコード(ER)であるかどうかを判別する
(e) First, the processor determines whether the NC data of the i-th block is end of record (ER).

(f)°エンドオブレコードでなければリファレンス復
帰命令(028・・・・・)であるかどうかを判別する
(f) If it is not an end of record, it is determined whether it is a reference return instruction (028...).

(g)  リファレンス復帰命令であればインタフェー
スINFを介して工作機械102に原点復帰(リファレ
ンス復帰)であることを通知すると共にパルス分配器I
TPに原点復帰パルス発生を指示し、周知の原点復帰処
理を行う。尚、原点復帰動作は周知であるのでその説明
は省略する。
(g) If it is a reference return command, the machine tool 102 is notified of the origin return (reference return) via the interface INF, and the pulse distributor I
The TP is instructed to generate a return-to-origin pulse, and a well-known return-to-origin process is performed. Note that since the return-to-origin operation is well known, its explanation will be omitted.

(g)一方、ステップ(f)の判別において第1番目の
NCデータがリファレンス復帰命令でなければ、該NC
データに応じた所定のNC処理を行う。たとえば、NC
データがM機能命令であればプロセッサCPUは該M機
能命令データをインタフ不一スINFを介して工作機械
102に出力する。尚、工作機械102が該M機能命令
データに応じた制御を終了すれば終了信号をインタフェ
ースINFを介してNC装置102に入力するから、該
終了信号によりプ四セッサCPU次のNCデータに基づ
いた処理を行う。
(g) On the other hand, in the determination of step (f), if the first NC data is not a reference return instruction, the NC
Performs predetermined NC processing according to the data. For example, N.C.
If the data is an M function command, the processor CPU outputs the M function command data to the machine tool 102 via the interface INF. Note that when the machine tool 102 finishes controlling according to the M function command data, a finish signal is input to the NC device 102 via the interface INF. Perform processing.

(h)第1番目のNCデータに基づく処理が終了すれば
プロセッサCPUはi + 1→iにより、iを1歩進
し、次の第1番目のNCデータを読みとり上記処理を繰
り返す。
(h) When the processing based on the first NC data is completed, the processor CPU increments i by one step by i + 1→i, reads the next first NC data, and repeats the above processing.

(i)一方、ス、テップ(e)の判別処理によりNCデ
ータがエンドオブレコードであ、れば、プロセッサCP
Uはスタートアップ用プログラムに基゛づいたNC処理
が終了したものと認識し、以後内部的に操作盤OPP上
に設けられているモード選択スイッチが選択しているモ
ードにしてスタートアップ処理を終了する。
(i) On the other hand, if the NC data is the end of record in the determination process of step (e), the processor CP
U recognizes that the NC processing based on the startup program has been completed, and thereafter internally changes the mode selected by the mode selection switch provided on the operation panel OPP to end the startup processing.

尚、以上の説明では1つのスタートアップ用プログラム
を不揮発性メモリPMに記憶させた場合であるが、本発
明は1つに限らず複数記憶させておき適宜所定のスター
トアップ用プログラムを選択実行してスタンバイ状態と
なるように構成することもできる。
In the above explanation, one startup program is stored in the non-volatile memory PM, but the present invention is not limited to one, but multiple programs are stored, and a predetermined startup program is appropriately selected and executed to standby. It can also be configured to be in a state.

〈発明の効果〉 以上詳細に説明したように、本発明によれば予めNC装
置の不、揮発性メモリに少なくとも原点復帰命令・を含
むスタードブツブ用プログラムを記憶させておくと共に
、所定時刻に数値制御工作機械システムの電源を投入す
る電源投入手段を設け、前記電源投入手段の動作により
システムの電源が投入された場合には、NC装置は前記
スタートアップ用プログラムを実行して工作機械を原点
に復。
<Effects of the Invention> As described above in detail, according to the present invention, a start-up program including at least a return-to-origin command is stored in the non-volatile memory of the NC device in advance, and a numerical control program is executed at a predetermined time. A power-on means for turning on the power of the machine tool system is provided, and when the power of the system is turned on by the operation of the power-on means, the NC device executes the startup program to return the machine tool to its origin.

帰させてスタンバイ状態にするように構成したから、オ
ペレータは電源投入毎に煩わしい原点復帰操作をする必
要はなく、システムの効率をたかめることができる。又
、スタートアップ用プログラムに原点復帰命令だけでな
(、所定の機械動作を実行させるM機能命令、あるいは
加工開始恵那機械可動部を位置決めする位置決めデータ
を含ませておくことにより益々オペレータの操作を簡単
にでき、しかもシステムの効率を向上させることができ
る。
Since the system is configured to return to the standby state, the operator does not have to perform a troublesome return-to-origin operation every time the power is turned on, and the efficiency of the system can be increased. In addition, by including in the startup program not only a return-to-origin command (or an M function command to execute a predetermined machine operation, or positioning data to position the moving parts of the Ena machine at the start of machining), operator operations can be made easier. It is possible to improve the efficiency of the system.

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

第1図は本発明の概略説明図、第2図乃至第4図は本発
明の詳細な説明図で、第2図はシステムの全体図、第3
図は゛NC装置のブロック図、第4図は本発明の処理の
流れ図である。 101・・・NC装置、102・・・工作機械、103
・・・電源装置、・・・104スイツチ手段、 TM・・・タイマ、P ’M・・・不揮発性メモリ特許
出願人      ファナック株式会社代理人    
    弁理士  齋藤千幹第1図 第2図    °u 第3図 第4図
FIG. 1 is a schematic explanatory diagram of the present invention, FIGS. 2 to 4 are detailed explanatory diagrams of the present invention, FIG. 2 is an overall diagram of the system, and FIG.
The figure is a block diagram of the NC device, and FIG. 4 is a flowchart of the processing of the present invention. 101...NC device, 102...Machine tool, 103
...Power supply device, ...104 switch means, TM...Timer, P'M...Non-volatile memory patent applicant Agent for FANUC Co., Ltd.
Patent Attorney Chiki Saito Figure 1 Figure 2 °u Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)予めNC装置の不揮発性メモリに少なくとも原点
復帰命令を含むスタートアップ用プログラムを記憶させ
ておくと共に、所定時刻に数値制御工作機械システムの
電源を投入する電源投入手段を設け、前記電源投入手段
の動作によりシステムの電源が投入された場合には、N
C装置は前記スタートアップ用プログラムを実行して工
作機械を原点に復帰させることを特徴とするスタートア
ップ方法。
(1) A startup program including at least a return-to-origin command is stored in the nonvolatile memory of the NC device in advance, and a power-on means is provided for turning on the power of the numerically controlled machine tool system at a predetermined time, and the power-on means If the system is powered on by
A startup method characterized in that the C device executes the startup program to return the machine tool to its origin.
(2)前記電源投入手段の動作によりNC装置は内部的
にメモリに記憶されたNCプログラムにに従ってNC処
理を行うメモリ運転モードとなり、メモリ運転モードに
おいてスタートアップ用のプログラムによる処理が終了
すれば、操作盤上のモード選択スイッチにより選択され
ているモードとなることを特徴とする特許請求の範囲第
(1)項記載のスタートアップ方法。
(2) Due to the operation of the power supply means, the NC device enters a memory operation mode in which NC processing is performed according to an NC program internally stored in the memory, and when processing by the startup program is completed in the memory operation mode, operation is performed. The startup method according to claim 1, wherein the mode is selected by a mode selection switch on the panel.
JP13177384A 1984-06-26 1984-06-26 Starting up method Pending JPS6111806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13177384A JPS6111806A (en) 1984-06-26 1984-06-26 Starting up method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13177384A JPS6111806A (en) 1984-06-26 1984-06-26 Starting up method

Publications (1)

Publication Number Publication Date
JPS6111806A true JPS6111806A (en) 1986-01-20

Family

ID=15065813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13177384A Pending JPS6111806A (en) 1984-06-26 1984-06-26 Starting up method

Country Status (1)

Country Link
JP (1) JPS6111806A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0471860A1 (en) * 1990-03-08 1992-02-26 Fanuc Ltd. Robot control method after interruption of service
WO2019171571A1 (en) * 2018-03-09 2019-09-12 富士機械製造株式会社 Automated work machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0471860A1 (en) * 1990-03-08 1992-02-26 Fanuc Ltd. Robot control method after interruption of service
WO2019171571A1 (en) * 2018-03-09 2019-09-12 富士機械製造株式会社 Automated work machine
JPWO2019171571A1 (en) * 2018-03-09 2020-10-22 株式会社Fuji Automatic work machine

Similar Documents

Publication Publication Date Title
US20140364989A1 (en) Controller for controlling machine tool and robot
JPS5611510A (en) Numerical control system
US4396973A (en) Programmable sequence controller
JPS6111806A (en) Starting up method
JPH0766286B2 (en) Processing method of NC device
JPS6134605A (en) Controlling system of programmable controller
JP2880170B2 (en) Block overlap method
JP3460747B2 (en) Numerical control unit
JPH055123B2 (en)
US5162714A (en) Numerical control device for transfer machines
JPS6149206A (en) Process operation method
JPH02151909A (en) Control device for industrial machine
JP2584225B2 (en) Numerical control unit
EP0418393B1 (en) Input/output signal control system
JPH08286712A (en) Editing system for sequence program
JPH04201120A (en) Wire electric discharge machining method
JPH0460805A (en) Sequence program generating method
KR950017090A (en) External control method of spindle and servo motor speed
KR970000264B1 (en) Method of data back-up of computer
KR920007641B1 (en) Numerical control discharge devices
JPH08166805A (en) Editing system for sequence program
CN111045394A (en) Numerical controller
JPH0869307A (en) Signal control system for cnc
JPS58211208A (en) Numerical controlling system
JPS6165753A (en) Warmup device for machine tool