JP2848561B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP2848561B2
JP2848561B2 JP63262186A JP26218688A JP2848561B2 JP 2848561 B2 JP2848561 B2 JP 2848561B2 JP 63262186 A JP63262186 A JP 63262186A JP 26218688 A JP26218688 A JP 26218688A JP 2848561 B2 JP2848561 B2 JP 2848561B2
Authority
JP
Japan
Prior art keywords
power
machine
control device
control unit
operation switch
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
Application number
JP63262186A
Other languages
Japanese (ja)
Other versions
JPH02108101A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP63262186A priority Critical patent/JP2848561B2/en
Publication of JPH02108101A publication Critical patent/JPH02108101A/en
Application granted granted Critical
Publication of JP2848561B2 publication Critical patent/JP2848561B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は数値制御装置に関し、遅延された電源遮断機
能を備えた装置に関する。
Description: TECHNICAL FIELD The present invention relates to a numerical control device, and more particularly to a device having a delayed power cutoff function.

「従来の技術」 従来の数値制御装置は、電源切りの操作スイッチが操
作されると直ちに電源回路への電力の供給を遮断するも
のであった。そして、メモリへのデータの待避等の処理
は電源回路の出力電圧が降下するまでの極く短い時間内
に行っていた。
[Prior Art] A conventional numerical control device cuts off the supply of power to a power supply circuit as soon as a power-off operation switch is operated. Processing such as saving data in the memory is performed within a very short time until the output voltage of the power supply circuit drops.

「発明が解決しようとする課題」 しかしながら、電源遮断後の電圧保持時間は数十ミリ
秒と短い時間であるので、いかなる場合にもその間に必
要な処理が完了するように制御プログラムを作成するこ
とは大変面倒であり、ソフトウェア開発の負担が大きい
という問題点があった。特に、サーボ系統においては機
械が停止するまでの所要時間が運転条件により大きく異
なるため、待避処理が困難であるという問題点があっ
た。
[Problem to be Solved by the Invention] However, since the voltage holding time after power-off is as short as several tens of milliseconds, it is necessary to create a control program so that the necessary processing is completed during that time in any case. Is very troublesome, and there is a problem that the burden of software development is large. In particular, in the servo system, there is a problem that the evacuation process is difficult because the time required until the machine stops depends on the operating conditions.

たとえば、サーボ送りでテーブルを移動している時に
電源切り操作スイッチが操作され電源を落とすと、デー
ブルは瞬時に停止するのではなく慣性がいくらか動き続
けて止まる。しかし、サーボ電源を落とした後のサーボ
ユニットからのフィードバック信号は保証されないた
め、電源遮断後のテーブルの移動量は信頼できない。ま
た、電源遮断後の電圧保持時間内にテーブルが停止する
保証もない。このため、従来の装置では、テーブルの移
動中に電源切り操作スイッチを操作し電源を落とすと、
次回電源を投入した時にテーブルの位置がずれてしま
い、加工不良を生ずることがあるという問題点があっ
た。
For example, if the power-off operation switch is operated and the power is turned off while the table is being moved by servo feed, the table does not stop instantaneously, but continues with some inertia and stops. However, since the feedback signal from the servo unit after the servo power is turned off is not guaranteed, the amount of movement of the table after the power is turned off is not reliable. Further, there is no guarantee that the table stops within the voltage holding time after the power is turned off. Therefore, in the conventional device, when the power is turned off by operating the power-off operation switch while the table is moving,
The next time the power is turned on, there is a problem that the position of the table is displaced and a processing defect may occur.

本発明は上記の問題点を解決するためなされたもので
あり、その目的とするところは、電源切りの操作スイッ
チが操作された際に、データの待避等の必要な処理を確
実に行うことができる数値制御装置を提供することにあ
る。
The present invention has been made in order to solve the above problems, and an object of the present invention is to perform a necessary process such as saving data when an operation switch for turning off a power supply is operated. It is an object of the present invention to provide a numerical control device capable of performing the above.

「課題を解決するための手段」 上記の目的を達成するため、本発明では、第1図に示
す様に、電源切り操作スイッチ1からの操作信号を受け
ると機械を直ちに停止させる処理2を行う停止手段と、
該停止手段により前記機械が停止されたことを確認する
確認手段(図示しない)と、該確認手段によって前記機
械が停止されたことが確認されると該停止時の前記機械
に関するデータをメモリに待避させる処理3を行うため
の制御手段4と、その制御手段4による処理が終了した
ことを確認した後に数値制御装置の制御電源を遮断する
電源遮断手段5と、を備えることを特徴とする数値制御
装置が提供される。
"Means for Solving the Problems" In order to achieve the above object, in the present invention, as shown in FIG. 1, upon receiving an operation signal from a power-off operation switch 1, a process 2 for immediately stopping the machine is performed. Means for stopping;
Confirmation means (not shown) for confirming that the machine has been stopped by the stop means, and when the confirmation means confirms that the machine has been stopped, data relating to the machine at the time of the stop is saved in a memory. Numerical control characterized by comprising control means 4 for performing a process 3 for causing the power supply to shut off the control power of the numerical control device after confirming that the processing by the control means 4 has been completed. An apparatus is provided.

「作用」 上記のように構成された数値制御装置では、運転中に
電源切り操作スイッチ1が操作されると、機械を停止さ
せる処理2が停止手段によって行われる。この停止手段
により機械が停止されたことが確認手段によって確認さ
れると、制御手段がこの機械に関するデータをメモリに
待避させる処理3を行う。これらの処理が終了して初め
て制御装置により自らの制御電源への電力の供給が電源
遮断手段5により遮断される。
[Operation] In the numerical control device configured as described above, when the power-off operation switch 1 is operated during operation, the process 2 for stopping the machine is performed by the stopping unit. When the confirmation means confirms that the machine has been stopped by the stopping means, the control means performs a process 3 for saving data relating to the machine in the memory. Only after these processes are completed, the power supply to its own control power supply is cut off by the power cutoff means 5 by the control device.

「実施例」 本発明の実施例について図面を参照し説明する。第2
図は実施例であるワイヤ放電加工機の数値制御装置を示
すブロック図である。
"Example" An example of the present invention will be described with reference to the drawings. Second
FIG. 1 is a block diagram showing a numerical control device of a wire electric discharge machine according to an embodiment.

コンピュータ11を有する制御装置10には電源遮断装置
12を経由して制御電源が供給される。電源遮断装置12は
電力を遮断する接続器とその接続器を励磁するリレー回
路とからなり、リレー回路は電源投入操作スイッチ13に
より励磁される自己保持回路を構成している。この自己
保持回路には、従来の装置のように電源切り操作スイッ
チ14が挿入されておらず、制御装置10からの通電維持信
号により励磁されるリレー接点により自己保持が維持さ
れるように回路構成されている。電源切り操作スイッチ
14はその信号が直接制御装置内10のコンピュータ11に入
力されるように接続されている。
The control device 10 having the computer 11 has a power cutoff device.
Control power is supplied via 12. The power cutoff device 12 includes a connector that cuts off power and a relay circuit that excites the connector, and the relay circuit constitutes a self-holding circuit that is excited by the power-on operation switch 13. The self-holding circuit does not have the power-off operation switch 14 unlike the conventional device, and the self-holding circuit is configured so that the self-holding is maintained by the relay contact excited by the energization maintaining signal from the control device 10. Have been. Power off operation switch
14 is connected so that the signal is directly input to the computer 11 of the control device 10.

制御装置10には、テーブルを移動するX軸サーボユニ
ット21及びY軸サーボユニット22,加工間隙の印加する
パルス電圧を制御する放電制御ユニット23,ワイヤ電極
の走行を制御するワイヤ走行制御ユニット24,それに加
工液を噴出するためのポンプ制御ユニット25がそれぞれ
接続されている。制御装置10は各ユニット21〜25に制御
信号を送出すると共に、各ユニットから位置情報,放電
状態等の信号を受ける。各ユニット21〜25にはそれぞれ
のユニット電源遮断装置31〜35を介して電力が供給され
るようになっている。また、制御装置10は電源遮断後に
データをバックアップ可能なRAM等のメモリを備えてい
る。
The controller 10 includes an X-axis servo unit 21 and a Y-axis servo unit 22 for moving a table, a discharge control unit 23 for controlling a pulse voltage applied to a machining gap, a wire travel control unit 24 for controlling travel of a wire electrode, A pump control unit 25 for spouting a machining liquid is connected to each of them. The control device 10 sends a control signal to each of the units 21 to 25, and receives signals such as position information and a discharge state from each unit. Each of the units 21 to 25 is supplied with electric power via the corresponding unit power cutoff device 31 to 35. Further, the control device 10 includes a memory such as a RAM capable of backing up data after power is turned off.

作動について説明する。電源投入操作スイッチ13が操
作され、電力が制御装置10に供給されると、制御装置10
内のコンピュータ11は作動を開始し状態の初期化等の初
期化動作を行う。初期化が完了すると電源遮断装置12に
通電維持信号を出力し、電源遮断装置12の通電状態を自
己保持させる。次に、各ユニット電源遮断装置31〜35に
通電信号を送り、各ユニット21〜25に電源を供給する。
以後、コンピュータ11は指令された制御を実行し加工を
開始する。
The operation will be described. When the power-on operation switch 13 is operated and power is supplied to the control device 10, the control device 10
The computer 11 starts to operate and performs an initialization operation such as initialization of a state. When the initialization is completed, an energization maintaining signal is output to the power supply interrupting device 12, and the energized state of the power interrupting device 12 is held by itself. Next, an energization signal is sent to each of the unit power cutoff devices 31 to 35 to supply power to each of the units 21 to 25.
Thereafter, the computer 11 executes the instructed control and starts machining.

放電加工中等に電源切り操作スイッチ14が操作される
と、コンピュータ11は割込み処理により直ちに第3図に
示す処理100を開始する。
When the power-off operation switch 14 is operated during electric discharge machining or the like, the computer 11 immediately starts the process 100 shown in FIG. 3 by an interrupt process.

電源切りの割込み処理100が開始されると、まず、ス
テップ101では、X軸,Y軸サーボユニット21,22へのパル
ス分配を停止しテーブルの移動を停止させる。さらに、
放電制御ユニット23,ワイヤ走行制御ユニット24及びポ
ンプ制御ユニット25に指令を出力して放電を停止し、ワ
イヤ電源の走行,加工液の噴出を停止させる。この内、
X軸、Y軸サーボユニット21、22を停止させる処理が、
本発明の停止手段としての処理に相当する。次に、ステ
ップ102で、テーブルの停止をX,Y軸サーボユニット21,2
2からの信号により確認するまで待つ、本発明の確認手
段としての処理を行う。テーブルの停止が確認される
と、ステップ103で所定のデータのメモリへの待避を行
う。ここで待避されるデータは、X軸及びY軸の現在位
置座標,各軸の偏差カウンタ値,各種エラーの内容を示
すステイタス等である。
When the power-off interruption process 100 is started, first, in step 101, the pulse distribution to the X-axis and Y-axis servo units 21 and 22 is stopped, and the movement of the table is stopped. further,
A command is output to the discharge control unit 23, the wire travel control unit 24, and the pump control unit 25 to stop the discharge, and the travel of the wire power supply and the ejection of the machining fluid are stopped. Of these,
The process of stopping the X-axis and Y-axis servo units 21 and 22
This corresponds to the processing as the stopping means of the present invention. Next, in step 102, the stop of the table is set to the X and Y axis servo units 21 and 2
The processing as confirmation means of the present invention, which waits until confirmation by the signal from 2, is performed. When the stop of the table is confirmed, in step 103, predetermined data is saved in the memory. The data saved here are the current position coordinates of the X axis and the Y axis, the deviation counter value of each axis, the status indicating the contents of various errors, and the like.

データの待避が終了すると、ステップ104で各ユニッ
ト電源遮断装置31〜35に遮断信号を出力し、各ユニット
の電源を遮断する。このとき、X軸及びY軸のサーボユ
ニット21,22の電源も遮断されるが、テーブルの停止を
確認した後の処理であるから、サーボ電源の遮断後にテ
ーブルが流れ移動することがない。次に、ステップ105
で電源遮断装置12に遮断信号を送出し、電源遮断装置12
内の自己保持回路を解いて、制御装置10自身への電源の
供給を遮断する。このステップ105の処理が、本発明の
電源遮断手段としての処理に相当する。自ら制御電源を
遮断することにより、コンピュータはその作動を終了す
る。
When the saving of the data is completed, a cutoff signal is output to each of the unit power cutoff devices 31 to 35 in step 104, and the power of each unit is cut off. At this time, the power of the X-axis and Y-axis servo units 21 and 22 is also shut off, but since the processing is performed after confirming the stop of the table, the table does not flow and move after the servo power is shut off. Next, step 105
Sends a shut-off signal to the power shut-off device 12,
The power supply to the control device 10 itself is cut off by releasing the self-holding circuit therein. The processing of step 105 corresponds to the processing as the power cutoff means of the present invention. By shutting off the control power supply by itself, the computer ends its operation.

尚、ここでは実施例としてテーブルの移動検出を挙げ
たが、本発明の実施例としてはこれに限定されるもので
はなく、例えば、揮発性メモリに格納された加工条件設
定用データを不揮発性メモリであるフロッピーディスク
や磁気バルブへ待避してから電源を遮断するようにする
ことで、電源断による修正結果の損失を回避することも
できる。
Although the table movement detection has been described as an example here, the embodiment of the present invention is not limited to this. For example, processing condition setting data stored in a volatile memory may be stored in a non-volatile memory. By turning off the power after evacuating to a floppy disk or magnetic valve, it is possible to avoid a loss of the correction result due to the power cutoff.

「発明の効果」 以上説明したように、本発明は上記の構成を有し、電
源を遮断する前に必要な処理を行いその後に自ら電源を
遮断するものであるから、電源遮断後の電圧降下により
必要な待避処理等が中断したりサーボ系の位置情報等が
失われたりすることがないという効果がある。また、ソ
フトウェア開発において、電源遮断後の電源回路の電圧
保持時間を考慮することなく、制御プログラムの作成が
できるから、開発時間が短縮できるという利点がある。
[Effects of the Invention] As described above, the present invention has the above configuration, performs necessary processing before shutting off the power, and then shuts off the power by itself. Thus, there is an effect that the necessary evacuation processing and the like are not interrupted and the position information of the servo system is not lost. In addition, in software development, since a control program can be created without considering the voltage holding time of the power supply circuit after the power is shut off, there is an advantage that the development time can be reduced.

そして前記必要な処理として、停止手段にて機械を停
止させ、この停止を確認手段が確認した上で、制御手段
が、機械に関するデータをメモリに待避させる。このた
め、制御手段によってメモリに待避されたデータは、機
械が停止した後のデータであり、電源が遮断された後の
機械の状態は、メモリに保持されているデータと一致す
る。従って、再度電源を投入した際にも、機械の原点復
帰などを行う必要はなく、メモリに保持されているデー
タに基づいて、速やかに動作を再開させることができ
る。
Then, as the necessary processing, the machine is stopped by the stopping means, and after the confirmation means confirms the stop, the control means saves the data relating to the machine in the memory. Therefore, the data saved in the memory by the control means is data after the machine stops, and the state of the machine after the power is turned off matches the data held in the memory. Therefore, even when the power is turned on again, it is not necessary to perform the origin return of the machine, and the operation can be promptly restarted based on the data held in the memory.

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

第1図は本発明の構成を明示する図、第2図は実施例で
あるワイヤ放電加工機の数値制御装置を示すブロック
図、第3図は処理を示すフローチャートである。 10…制御装置、11…コンピュータ、12…電源遮断装置、
13…電源投入操作スイッチ、14…電源切り操作スイッ
チ、21,22…サーボユニット、23…放電制御ユニット、3
1〜35…ユニット電源遮断装置。
FIG. 1 is a diagram clearly showing the configuration of the present invention, FIG. 2 is a block diagram showing a numerical control device of a wire electric discharge machine according to an embodiment, and FIG. 3 is a flowchart showing processing. 10… Control device, 11… Computer, 12… Power cutoff device,
13: Power on operation switch, 14: Power off operation switch, 21, 22: Servo unit, 23: Discharge control unit, 3
1-35… Unit power cutoff device.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−157602(JP,A) 特開 昭62−44803(JP,A) 特開 昭62−296204(JP,A) (58)調査した分野(Int.Cl.6,DB名) G05B 9/00 G05B 19/00────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-60-157602 (JP, A) JP-A-62-44803 (JP, A) JP-A-62-296204 (JP, A) (58) Investigation Field (Int.Cl. 6 , DB name) G05B 9/00 G05B 19/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】電源切り操作スイッチからの操作信号を受
けると機械を直ちに停止させる停止手段と、 該停止手段により前記機械が停止されたことを確認する
確認手段と、 該確認手段によって前記機械が停止されたことが確認さ
れると該停止時の前記機械に関するデータをメモリに待
避させる処理を行う制御手段と、 その制御手段による処理が終了したことを確認した後に
数値制御装置の制御電源を遮断する電源遮断手段と、 を備えることを特徴とする数値制御装置。
A stop means for stopping the machine immediately upon receiving an operation signal from a power-off operation switch; a confirmation means for confirming that the machine has been stopped by the stop means; A control unit for performing a process of saving data relating to the machine at the time of the stop to a memory when it is confirmed that the process has been stopped; And a power cut-off means.
JP63262186A 1988-10-17 1988-10-17 Numerical control unit Expired - Fee Related JP2848561B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63262186A JP2848561B2 (en) 1988-10-17 1988-10-17 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63262186A JP2848561B2 (en) 1988-10-17 1988-10-17 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH02108101A JPH02108101A (en) 1990-04-20
JP2848561B2 true JP2848561B2 (en) 1999-01-20

Family

ID=17372264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63262186A Expired - Fee Related JP2848561B2 (en) 1988-10-17 1988-10-17 Numerical control unit

Country Status (1)

Country Link
JP (1) JP2848561B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5099039B2 (en) * 2009-02-20 2012-12-12 株式会社デンソーウェーブ Robot controller
JP5489628B2 (en) * 2009-10-05 2014-05-14 株式会社松浦機械製作所 Power supply and cutting control method for all drive motors in NC machine tools

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60157602A (en) * 1984-01-26 1985-08-17 Susumu Kajisa Unmanned operation controller

Also Published As

Publication number Publication date
JPH02108101A (en) 1990-04-20

Similar Documents

Publication Publication Date Title
US5170109A (en) Method of controlling robot in event of a power failure
WO1985003365A1 (en) Numerical control method
JP2848561B2 (en) Numerical control unit
US20050055126A1 (en) Numerical control apparatus
JP2014026430A (en) Numerical control device having function to display differences in status at suspension and at restart of machining
JPH01222877A (en) Method for controlling brake of industrial robot
JPH055123B2 (en)
JPH08163883A (en) Motor controller
JPH0444281B2 (en)
JPH01263811A (en) Power supply controller
JPS6129924A (en) Power supply interruption supervisory system of electronic computer system
JPH01298422A (en) Method and device for controlling stop of power source of processor
JP2625549B2 (en) Controller control mechanism
JP3758789B2 (en) Control device for punch press machine
JPS62209604A (en) Power supply cut-off system for information processing system
JPH0799504B2 (en) Power control device
JP2000141133A (en) Wire electric discharge machine
JPH0553629A (en) Hit dealing system for cnc device
JPH0413490A (en) Laser beam machine
JPS60243747A (en) Reraising method of system program
JPS59193600A (en) Service interruption processing system of device using absolute position feedback system
JPH01298420A (en) Power off system for information processor
JP4208600B2 (en) NC machine tool
JPH0441380Y2 (en)
JP3207446B2 (en) System stop method of controller system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees