JPH04259008A - Power off system for nc device - Google Patents

Power off system for nc device

Info

Publication number
JPH04259008A
JPH04259008A JP3041299A JP4129991A JPH04259008A JP H04259008 A JPH04259008 A JP H04259008A JP 3041299 A JP3041299 A JP 3041299A JP 4129991 A JP4129991 A JP 4129991A JP H04259008 A JPH04259008 A JP H04259008A
Authority
JP
Japan
Prior art keywords
power
machining program
machining
turned
command code
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
JP3041299A
Other languages
Japanese (ja)
Inventor
Masanori Kobayashi
正則 小林
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 JP3041299A priority Critical patent/JPH04259008A/en
Publication of JPH04259008A publication Critical patent/JPH04259008A/en
Pending 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

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To eliminate the useless power consumption by automatically turning off the power supply of an NC device when a machining process is complete. CONSTITUTION:A machining process is carried out based on a machining program (S1), and a machining program end command code is read (S2). Thus, a fact whether a power OFF command code is included in the machining program or not is decided (S3). If so, the power supply is turned off when a prescribed parameter setting time passed from the end of the machining program (S4).

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はNC装置の電源オフ方式
に関し、特に加工プログラム終了後に電源をオフにする
ためのNC装置の電源オフ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power-off method for an NC device, and more particularly to a power-off method for an NC device for turning off the power after completing a machining program.

【0002】0002

【従来の技術】従来、NC装置では、加工プログラムの
終了後は、作業者が手動で電源スイッチをオフにしてい
た。一方、夜間等、無人作業の場合は、加工プログラム
が終了して作業が停止しても、NC装置の電源はオンに
されたままであった。
2. Description of the Related Art Conventionally, in NC devices, an operator manually turns off the power switch after completing a machining program. On the other hand, in the case of unmanned work such as at night, the power of the NC device remains on even if the machining program ends and the work stops.

【0003】0003

【発明が解決しようとする課題】しかし、NC装置の消
費電力は、加工作業を行っていない時でもかなり大きく
、長時間電源をオンにしていることは不経済であり、か
つ安全上問題があった。本発明はこのような点に鑑みて
なされたものであり、加工作業終了後の無駄な電力消費
を防止するとともに安全性を確保することのできるNC
装置の電源オフ方式を提供することを目的とする。
[Problem to be solved by the invention] However, the power consumption of the NC device is quite large even when not performing machining work, and keeping the power on for a long time is uneconomical and poses a safety problem. Ta. The present invention has been made in view of these points, and is an NC system that can prevent wasteful power consumption after finishing machining work and ensure safety.
The purpose is to provide a method for powering off the device.

【0004】0004

【課題を解決するための手段】本発明では上記課題を解
決するために、加工プログラム終了後に電源をオフにす
るためのNC装置の電源オフ方式において、前記加工プ
ログラム中に電源オフ指令コードが含まれている場合、
前記加工プログラムの終了後前記NC装置の電源をオフ
にすることを特徴とするNC装置の電源オフ方式が提供
される。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a power-off method for an NC device for turning off the power after finishing a machining program, in which a power-off command code is included in the machining program. If
There is provided a power-off method for an NC device, characterized in that the power of the NC device is turned off after the machining program ends.

【0005】[0005]

【作用】加工プログラム中に電源オフ指令コードが含ま
れている場合、加工プログラムの終了後NC装置の電源
をオフにする。
[Operation] If a power off command code is included in the machining program, the power to the NC device is turned off after the machining program ends.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図2は本発明を実施するための対話形数値制御
装置のハードウェアの概略構成図である。プロセッサ1
1はROM12に格納されたシステムプログラムに従っ
て数値制御装置全体を制御する。ROM12にはEPR
OMあるいはEEPROMが使用される。RAM13は
SRAM等が使用され、各種のデータあるいは入出力信
号が格納される。不揮発性メモリ14にはバッテリバッ
クアップされたCMOSが使用され、電源切断後も保持
すべきパラメータ、ピッチ誤差補正量及び工具補正量等
が格納されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a schematic diagram of the hardware configuration of an interactive numerical control device for implementing the present invention. processor 1
1 controls the entire numerical control device according to a system program stored in the ROM 12. ROM12 has EPR
OM or EEPROM is used. The RAM 13 is an SRAM or the like, and stores various data or input/output signals. The nonvolatile memory 14 uses a battery-backed CMOS, and stores parameters, pitch error correction amounts, tool correction amounts, etc. that should be retained even after the power is turned off.

【0007】グラフィック制御回路15はディジタル信
号を表示用の信号に変換し、表示装置16に与える。表
示装置16はCRTあるいは液晶表示装置が使用される
。表示装置16は対話形式で加工プログラムを作成して
いくときに、形状、加工条件及び生成された加工プログ
ラム等を表示する。表示装置16に表示される内容(対
話形データ入力画面)に従ってデータを入力することに
より加工プログラムを作成することができる。画面の上
部にはデータの意味を表す図形が表示され、下部に入力
すべきデータの種類が表示される。また、画面にはその
画面で受けられる作業またはデータがメニュー形式で表
示される。メニューのうちどの項目を選択するかは、メ
ニューの下のソフトキー16aを押すことにより行い、
ソフトキー16aの意味は各画面毎に変化する。
The graphic control circuit 15 converts the digital signal into a display signal and supplies it to the display device 16. As the display device 16, a CRT or a liquid crystal display device is used. The display device 16 displays the shape, machining conditions, generated machining program, etc. when creating the machining program in an interactive format. A machining program can be created by inputting data according to the contents displayed on the display device 16 (interactive data input screen). A figure representing the meaning of the data is displayed at the top of the screen, and the type of data to be input is displayed at the bottom. Further, the screen displays tasks or data that can be received on that screen in a menu format. Which item on the menu to select is done by pressing the soft key 16a below the menu.
The meaning of the soft key 16a changes for each screen.

【0008】キーボード17にはシンボリックキー、数
値キー等からなり、必要な図形、データをこれらのキー
を使用して入力する。PMC(プログラマブル・マシン
・コントローラ)20はバス21経由でM機能信号等を
受けて、シーケンス・プログラムで処理して、出力信号
を出力し、工作機械22を制御する。また、機械側から
の入力信号を受けて、シーケンス・プログラムで処理を
行い、バス21を経由して、プロセッサ11に必要な入
力信号を転送する。
The keyboard 17 includes symbolic keys, numerical keys, etc., and necessary figures and data are input using these keys. A PMC (programmable machine controller) 20 receives M function signals and the like via a bus 21, processes them using a sequence program, outputs output signals, and controls a machine tool 22. It also receives input signals from the machine side, processes them using a sequence program, and transfers the necessary input signals to the processor 11 via the bus 21.

【0009】軸制御回路18はプロセッサ11からの軸
の移動指令を受けて、軸の指令をサーボアンプ19に出
力する。サーボアンプ19はこの移動指令を受けて、工
作機械22のサーボモータを駆動する。これらの構成要
素はバス21によって互いに結合されている。数値制御
装置の各装置は、電源装置23と接続されている。電源
装置23は、200Vの3相電圧を5V、24Vおよび
100V等の複数の直流電圧に変換し、各装置に適した
電圧を供給する。
The axis control circuit 18 receives an axis movement command from the processor 11 and outputs the axis command to the servo amplifier 19. The servo amplifier 19 receives this movement command and drives the servo motor of the machine tool 22. These components are coupled together by a bus 21. Each device of the numerical control device is connected to a power supply device 23. The power supply device 23 converts a three-phase voltage of 200V into a plurality of DC voltages such as 5V, 24V, and 100V, and supplies voltages suitable for each device.

【0010】プロセッサ11は、加工プロセッサ中に電
源オフ指令コードが含まれている場合、加工プログラム
の終了時、PMC20に電源オフ指令信号を供給する。 この指令信号を受けたPMC20は、電源装置23に電
源供給停止信号を供給し、これにより電源装置23から
各装置への電源の供給が停止される。ここで、電源オフ
指令は、GコードまたはMコードにより行われる。電源
オフ指令コードは、加工プログラムの最初に登録されて
いる。
[0010] If the machining processor includes a power off command code, the processor 11 supplies a power off command signal to the PMC 20 at the end of the machining program. Upon receiving this command signal, the PMC 20 supplies a power supply stop signal to the power supply device 23, thereby stopping the supply of power from the power supply device 23 to each device. Here, the power off command is issued using a G code or an M code. The power off command code is registered at the beginning of the machining program.

【0011】また、加工プログラムの終了時から電源オ
フまでの設定時間は、オペレータにより予めパラメータ
設定されるものである。これは、ソフトキー16aによ
り行われる。設定時間は、例えば夜間の無人作業を行う
ようなときは、加工プログラムの終了後すぐに電源がオ
フとなるように短い時間にセットされる。一方、休憩時
間等、作業員が一時的に作業場を離れるようなときは、
10分〜40分ぐらいにセットされる。設定時間内に作
業員が戻った場合には、図示されていないスタートボタ
ンを押すことにより、電源オフの指令が解除され、加工
作業が続行される。なお、加工プログラム中に電源オフ
指令コードが含まれていても、パラメータ設定されてい
なければ、電源はオフにされない。
[0011] Furthermore, the set time from the end of the machining program until the power is turned off is set as a parameter in advance by the operator. This is done using softkey 16a. The set time is set to a short time so that the power is turned off immediately after the machining program ends, for example, when unmanned work is performed at night. On the other hand, when workers temporarily leave the workplace, such as during breaks,
It will be set for about 10 to 40 minutes. If the worker returns within the set time, the power off command is canceled by pressing a start button (not shown) and the machining operation continues. Note that even if a power off command code is included in the machining program, the power will not be turned off unless parameters are set.

【0012】図1は本発明の数値制御装置の電源オフ方
式の手順を示すフローチャートである。図において、S
に続く数値はステップ番号を示す。 〔S1〕加工プログラムを読み込み、その内容に従って
加工作業を行う。 〔S2〕加工プログラムの最後に加工プログラム終了指
令コードを読み込む。 〔S3〕加工プログラム中に電源オフ指令コードが含ま
れていたか否かを判断し、あればS4へ進み、なければ
本フローチャートを終了する。 〔S4〕加工プログラム終了時から設定時間の経過後に
電源をオフにする。
FIG. 1 is a flowchart showing the procedure for powering off the numerical control device of the present invention. In the figure, S
The number following indicates the step number. [S1] Load a machining program and perform machining work according to its contents. [S2] Read the machining program end command code at the end of the machining program. [S3] It is determined whether or not a power off command code is included in the machining program. If there is, the process proceeds to S4; if not, this flowchart is ended. [S4] Turn off the power after the set time has elapsed from the end of the machining program.

【0013】このように、加工プログラムの終了後は数
値制御装置全体の電源をオフにすることにより、無駄な
電力消費をなくすことができる。また、加工プログラム
終了時から電源オフまでの設定時間をパラメータ設定で
きるようにすることにより、休憩時間等、作業員が一時
的に作業場を離れたときに加工プログラムが終了しても
、電源がオフになってしまうのを防止することができる
。この場合、スタートボタンを押すだけで作業を続行す
ることができるので、初期設定等の手間が省ける。
[0013] In this way, by turning off the power of the entire numerical control device after the machining program ends, unnecessary power consumption can be eliminated. In addition, by making it possible to set parameters for the set time from the end of the machining program until the power is turned off, the power will be turned off even if the machining program ends when the worker temporarily leaves the workplace, such as during a break. You can prevent this from happening. In this case, you can continue the work simply by pressing the start button, which saves you the trouble of initial settings.

【0014】[0014]

【発明の効果】以上説明したように本発明では、加工プ
ログラム中に電源オフ指令コードが含まれている場合、
加工プログラムの終了後NC装置の電源をオフにするよ
うにしたので、加工作業終了後の無駄な電力消費を防止
するとともに安全性を確保することができる。
[Effects of the Invention] As explained above, in the present invention, when a power off command code is included in a machining program,
Since the power of the NC device is turned off after the machining program is finished, it is possible to prevent wasteful power consumption after the machining operation is completed and to ensure safety.

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

【図1】本発明の数値制御装置の電源オフ方式の手順を
示すフローチャートである。
FIG. 1 is a flowchart showing the procedure of a power-off method of a numerical control device according to the present invention.

【図2】本発明を実施するための対話形数値制御装置の
ハードウェアの概略構成図である。
FIG. 2 is a schematic diagram of the hardware configuration of an interactive numerical control device for implementing the present invention.

【符号の説明】[Explanation of symbols]

11  プロセッサ 12  ROM 13  RAM 14  不揮発性メモリ 15  グラフィック制御回路 16  表示装置 16a  ソフトキー 17  キーボード 18  軸制御回路 19  サーボアンプ 20  PMC 21  バス 22  工作機械 23  電源装置 11 Processor 12 ROM 13 RAM 14 Non-volatile memory 15 Graphic control circuit 16 Display device 16a Soft key 17 Keyboard 18 Axis control circuit 19 Servo amplifier 20 PMC 21 Bus 22 Machine tools 23 Power supply device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  加工プログラム終了後に電源をオフに
するためのNC装置の電源オフ方式において、前記加工
プログラム中に電源オフ指令コードが含まれている場合
、前記加工プログラムの終了後前記NC装置の電源をオ
フにすることを特徴とするNC装置の電源オフ方式。
1. In a power-off method for an NC device for turning off the power after the machining program ends, if the machining program includes a power-off command code, the NC device is turned off after the machining program ends. A power-off method for an NC device characterized by turning off the power.
【請求項2】  前記NC装置の電源は、前記加工プロ
グラムの終了時から設定時間経過後にオフにすることを
特徴とする請求項1記載のNC装置の電源オフ方式。
2. The power-off method for an NC device according to claim 1, wherein the power to the NC device is turned off after a set time has elapsed from the end of the machining program.
【請求項3】  前記設定時間は、パラメータで設定さ
れることを特徴とする請求項2記載のNC装置の電源オ
フ方式。
3. The power-off method for an NC device according to claim 2, wherein the set time is set by a parameter.
【請求項4】  前記設定時間内に前記電源のオフを中
止する中止指令信号が入力された場合、前記電源のオフ
は中止されることを特徴とする請求項2記載のNC装置
の電源オフ方式。
4. The NC device power-off method according to claim 2, wherein when a stop command signal for stopping the power-off is input within the set time, the power-off is stopped. .
【請求項5】  中止指令信号は、前記NC装置のスタ
ートボタンからのスタート信号であることを特徴とする
請求項4記載のNC装置の電源オフ方式。
5. The power-off method for an NC device according to claim 4, wherein the stop command signal is a start signal from a start button of the NC device.
JP3041299A 1991-02-13 1991-02-13 Power off system for nc device Pending JPH04259008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3041299A JPH04259008A (en) 1991-02-13 1991-02-13 Power off system for nc device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3041299A JPH04259008A (en) 1991-02-13 1991-02-13 Power off system for nc device

Publications (1)

Publication Number Publication Date
JPH04259008A true JPH04259008A (en) 1992-09-14

Family

ID=12604591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3041299A Pending JPH04259008A (en) 1991-02-13 1991-02-13 Power off system for nc device

Country Status (1)

Country Link
JP (1) JPH04259008A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010176503A (en) * 2009-01-30 2010-08-12 Fanuc Ltd Machine tool and working system provided with robot which performs work to the machine tool
JP5083476B1 (en) * 2011-07-13 2012-11-28 三菱電機株式会社 Numerical controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010176503A (en) * 2009-01-30 2010-08-12 Fanuc Ltd Machine tool and working system provided with robot which performs work to the machine tool
JP5083476B1 (en) * 2011-07-13 2012-11-28 三菱電機株式会社 Numerical controller

Similar Documents

Publication Publication Date Title
US5327350A (en) Interactive type numerical control apparatus and method thereof
JPH04176539A (en) Interactive numerical control unit
JP3679844B2 (en) Sequence program execution device
JPH10202469A (en) Control device for production facility
US5144213A (en) Brake control method of gravity axis
EP0404950A1 (en) Interactive numerical controller
US6397123B1 (en) Numerical control apparatus
JPH04259008A (en) Power off system for nc device
EP1600835A2 (en) Numerical controller with reduced start-up time
EP0578828A1 (en) Screen display method for cnc
JP2831700B2 (en) Manual operation control device for pulse motor
JP2891366B2 (en) Automatic welding equipment
JPH06119021A (en) Operation system for controller
JPH0277904A (en) Nc data origination method
JPH04252307A (en) Interactive numerical controller
JP2628925B2 (en) Modal command management system
JP2519922B2 (en) Tool list display method in NC device
JPH06110527A (en) Numerical controller with work completion forecasting function
JPH07234714A (en) Numerical controller
JPH06332518A (en) Interactive numerical controller
JPH03114669A (en) Welding machine control system by robot
JPH06124110A (en) Numerical controller
JPH07120181B2 (en) Display method
JPH04305703A (en) Method for starting working program for interactive numerical controller
JPH04148304A (en) Setting method for modal g code