JPH07182015A - Numerical controller with data recovering function - Google Patents
Numerical controller with data recovering functionInfo
- Publication number
- JPH07182015A JPH07182015A JP5344684A JP34468493A JPH07182015A JP H07182015 A JPH07182015 A JP H07182015A JP 5344684 A JP5344684 A JP 5344684A JP 34468493 A JP34468493 A JP 34468493A JP H07182015 A JPH07182015 A JP H07182015A
- Authority
- JP
- Japan
- Prior art keywords
- volatile memory
- battery
- data
- time
- inspection
- 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.)
- Granted
Links
- 238000007689 inspection Methods 0.000 claims description 61
- 230000000737 periodic effect Effects 0.000 claims description 20
- 230000006870 function Effects 0.000 claims description 10
- 238000011084 recovery Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 abstract description 16
- 101100042610 Arabidopsis thaliana SIGB gene Proteins 0.000 description 8
- 238000000034 method Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 5
- 101100421503 Arabidopsis thaliana SIGA gene Proteins 0.000 description 4
- 101100294408 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) MOT2 gene Proteins 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 101150117326 sigA gene Proteins 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101100041125 Arabidopsis thaliana RST1 gene Proteins 0.000 description 1
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 1
- 101100443250 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) DIG1 gene Proteins 0.000 description 1
- 101100443251 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) DIG2 gene Proteins 0.000 description 1
- 101100041128 Schizosaccharomyces pombe (strain 972 / ATCC 24843) rst2 gene Proteins 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Numerical Control (AREA)
- Power Sources (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、バッテリによりバック
アップされる揮発性メモリ内のデータを復旧する機能を
有する数値制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller having a function of restoring data in a volatile memory backed up by a battery.
【0002】[0002]
【従来の技術】従来のバッテリによりバックアップされ
る揮発性メモリを有する数値制御装置には、バックアッ
プをおこなうバッテリが消耗することによって揮発性メ
モリに保存されているデータが不用意に消去されないよ
うに、バッテリの電源残量を検知して完全に電源残量が
なくなる前に、数値制御装置の表示装置等にバッテリの
電源残量が少ないことを表示し、バッテリの交換を促す
手段を備えた数値制御装置がある(特開平5−8114
7号公報参照)。また、バッテリの電源残量を直接検知
するのではなく、数値制御装置の電源がOFFとなって
からバッテリによって揮発性メモリが実際にバックアッ
プされる時間を計数し、その計数値が規定の値となった
時に数値制御装置の表示装置等にバッテリの交換を促す
旨を表示する手段を備えた数値制御装置などがある(特
開平4−78913号公報参照)。これらは全てバッテ
リ寿命の検知であり、バッテリの電源残量が完全に無く
なるまでにバッテリ交換を促すことに主眼がおかれてい
る。図5はバッテリの電源残量が少なくなったことを検
知してバッテリの電源残量が完全に無くなるまでにバッ
テリ交換を促す手段を備えた数値制御装置の動作例を示
すフローチャートである。バッテリ寿命検知手段により
バッテリ寿命を検知したか否かを確認し(ステップS
1)、検出しなっかたら全ての処理を終了する。一方、
バッテリ寿命を検知したらバッテリ交換を促すメッセー
ジを表示装置に表示し(ステップS2)、全ての処理を
終了する。しかしながら、これらの数値制御装置ではバ
ッテリの電源残量が少ない旨を数値制御装置の表示装置
等に表示してもバッテリが交換されなければバッテリの
電源残量は完全になくなり、バッテリによりバックアッ
プされる揮発性メモリ内のデータは消去されることにな
る。上記データの消去を防ぐ手段を備えた数値制御装置
としてバッテリの電源残量が少なくなったことを検知す
るとバッテリによりバックアップされる揮発性メモリ内
のデータを電気的に書き換え可能な不揮発性メモリであ
るフラッシュメモリに退避する手段を備えた数値制御装
置がある(特開平1−241653号公報参照)。図6
はバッテリの電源残量が少なくなったことを検知後にバ
ッテリによりバックアップされる揮発性メモリ内のデー
タを電気的に書き換え可能な不揮発性メモリであるフラ
ッシュメモリに退避する手段を備えた数値制御装置の動
作例を示すフローチャートである。バッテリ寿命検知手
段によりバッテリ寿命を検知したか否かを確認し(ステ
ップS3)、検出しなっかたら全ての処理を終了する。
一方、バッテリ寿命を検知したらバッテリ交換を促すメ
ッセージを表示装置に表示し(ステップS4)、揮発性
メモリのデータを不揮発性メモリへ退避し(ステップS
5)、全ての処理を終了する。2. Description of the Related Art In a conventional numerical control device having a volatile memory backed up by a battery, data stored in the volatile memory is prevented from being inadvertently erased by exhaustion of the battery for backup. Numerical control with a means to detect the remaining battery power and to display the low battery power on the display of the numerical control device, etc. before the remaining battery power is completely exhausted, and prompt the user to replace the battery. There is a device (Japanese Patent Laid-Open No. 5-8114)
(See Japanese Patent Publication No. 7). In addition, instead of directly detecting the remaining power of the battery, the time when the volatile memory is actually backed up by the battery after the power of the numerical controller is turned off is counted, and the counted value is the specified value. There is a numerical control device and the like equipped with a means for displaying on the display device or the like of the numerical control device that the battery should be replaced (see Japanese Patent Laid-Open No. 4-78913). These are all detections of battery life, and the main focus is on prompting battery replacement before the remaining battery power is completely exhausted. FIG. 5 is a flow chart showing an operation example of the numerical controller provided with a means for detecting that the remaining amount of the power source of the battery is low and urging the battery replacement until the remaining amount of the power source of the battery is completely exhausted. It is confirmed whether the battery life is detected by the battery life detecting means (step S
1) If not detected, all processing is terminated. on the other hand,
When the battery life is detected, a message prompting battery replacement is displayed on the display device (step S2), and all the processes are terminated. However, in these numerical control devices, even if the display device of the numerical control device indicates that the remaining battery power is low, if the battery is not replaced, the remaining battery power will be completely lost and backed up by the battery. The data in the volatile memory will be erased. A non-volatile memory capable of electrically rewriting data in a volatile memory that is backed up by a battery when it is detected that the remaining power of the battery is low as a numerical control device equipped with a means for preventing the data from being erased. There is a numerical control device provided with a means for saving data in a flash memory (see Japanese Patent Laid-Open No. 1-241653). Figure 6
Is a numerical controller provided with means for saving data in a volatile memory backed up by the battery to a flash memory, which is an electrically rewritable non-volatile memory, after detecting that the remaining battery power is low. It is a flow chart which shows an example of operation. It is confirmed whether the battery life is detected by the battery life detecting means (step S3), and if not detected, all the processes are ended.
On the other hand, when the battery life is detected, a message prompting battery replacement is displayed on the display device (step S4), and the data in the volatile memory is saved in the non-volatile memory (step S4).
5), all processing is completed.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、実際に
はバッテリの寿命は技術の進歩と共に伸びており、一般
に数値制御装置で採用しているバッテリの寿命は10年
以上にも及ぶ。よってバッテリの電源残量が少なくなる
前に、バッテリによりバックアップされる揮発性メモリ
の故障によってバッテリによりバックアップされる揮発
性メモリ内のデータが消去される可能性が高いと言え
る。また、バッテリの電源残量の検知回路が故障するこ
とも十分に考えられる。さらに、バッテリ寿命が尽きて
バッテリ交換をおこなう際の不注意によってバッテリに
よりバックアップされる揮発性メモリ内のデータが消去
されることもあるという問題があった。本発明は上記の
課題に鑑みてなされたもので、バッテリによりバックア
ップされる揮発性メモリの不意の故障またはバッテリの
電源残量の検知回路の故障、バッテリ交換をおこなう際
の不注意などによるバッテリによりバックアップされる
揮発性メモリ内のデータが消去されても、容易に復旧す
る機能を有する数値制御装置を提供することを目的とす
る。However, the life of the battery actually grows with the progress of technology, and the life of the battery generally employed in the numerical control device reaches 10 years or more. Therefore, it can be said that there is a high possibility that the data in the volatile memory backed up by the battery will be erased by the failure of the volatile memory backed up by the battery before the remaining battery power becomes low. Further, it is fully possible that the detection circuit for the remaining battery power supply will fail. Further, there is a problem that the data in the volatile memory backed up by the battery may be erased due to carelessness when the battery is exhausted and the battery is replaced. The present invention has been made in view of the above problems, and may be performed by a battery due to an unexpected failure of a volatile memory backed up by a battery, a failure of a detection circuit of a remaining battery power supply, or carelessness when performing battery replacement. It is an object of the present invention to provide a numerical control device having a function of easily recovering data that is backed up in a volatile memory and erased.
【0004】[0004]
【課題を解決するための手段】本発明は、バッテリによ
りバックアップされる揮発性メモリ内のデータを退避す
る機能を有する数値制御装置に関するものであり、本発
明の上記目的は、バッテリによりバックアップされる揮
発性メモリと、電気的に書き換え可能な不揮発性メモリ
と、現在の時刻を計測するリアルタイムクロックと、定
期点検を必要とする定期点検時刻を設定する設定手段
と、前記リアルタイムクロックによって計測された現在
時刻と前記設定手段に設定された定期点検時刻を比較し
て点検時期を検知すると共に前記点検時期を検知したら
表示手段に定期点検が必要であることを表示する検知手
段と、前記表示手段に前記定期点検が必要であることが
表示されたら前記揮発性メモリ内のデータを前記不揮発
性メモリに退避する退避手段と、前記定期点検が終了し
たら前記不揮発性メモリ内のデータを前記揮発性メモリ
に復帰する復帰手段とを具備することによって達成され
る。The present invention relates to a numerical control device having a function of saving data in a volatile memory backed up by a battery, and the above object of the present invention is backed up by a battery. Volatile memory, electrically rewritable non-volatile memory, real-time clock for measuring the current time, setting means for setting the periodic inspection time that requires periodic inspection, current measured by the real-time clock Detecting the inspection time by comparing the time with the regular inspection time set in the setting means, and detecting the inspection time, the detection means displaying on the display means that the periodic inspection is required, and the display means When it is displayed that regular inspection is required, the data in the volatile memory is saved to the non-volatile memory. And avoidance means is achieved by the periodic inspection to and a return means for returning the data in the nonvolatile memory when done in the volatile memory.
【0005】[0005]
【作用】本発明にあっては、数値制御装置の定期点検が
必要となる時刻を設定しておき、リアルタイムクロック
によって計測された時刻と数値制御装置の定期点検が必
要となる時刻を比較して定期点検時期を検知し、検知さ
れると表示装置に数値制御装置の定期点検が必要である
ことを表示すると同時に、フラッシュメモリに揮発性メ
モリのデータを自動的に退避するので、バッテリにより
バックアップされる揮発性メモリの不意の故障またはバ
ッテリの電源残量の検知回路の故障、バッテリ交換をお
こなう際の不注意などによりバッテリによりバックアッ
プされる揮発性メモリ内のデータが消去されても、電気
的に書き換え可能な不揮発性メモリからバッテリにより
バックアップされる揮発性メモリにデータを復旧するこ
とが可能である。In the present invention, the time at which the periodical inspection of the numerical control device is required is set, and the time measured by the real-time clock is compared with the time at which the periodical inspection of the numerical control device is required. When the periodic inspection time is detected, if it is detected, the display will indicate that the numerical control unit needs regular inspection, and at the same time, the data in the volatile memory will be automatically saved in the flash memory, so it will be backed up by the battery. Even if the data in the volatile memory backed up by the battery is erased due to an unexpected failure of the volatile memory, a failure of the battery power supply remaining amount detection circuit, or carelessness when replacing the battery, It is possible to restore data from a rewritable non-volatile memory to a volatile memory backed up by a battery.
【0006】[0006]
【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明のデータ復旧機能を有する数値制
御装置のハードウェアの概略構成図である。ROM3に
はフラッシュメモリが使用されシステムプログラムが格
納されている。CPU2はROM3に格納されたシステ
ムプログラムに従って数値制御装置1全体を制御する。
RAM4にはDRAM等が使用され、各種のデータある
いは入出力信号が格納されている。CMOSメモリ5は
揮発性メモリで、バッテリ6でバックアップされ、主電
源10が断後も保持すべきシステムパラメータや加工プ
ログラム、工具のオフセット等が格納されている。CM
OSメモリ5にはメモリ領域5aが設けられており、点
検が必要となる部品の製造年月や定期点検時刻等が格納
されている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of hardware of a numerical control device having a data recovery function of the present invention. A flash memory is used in the ROM 3 and a system program is stored therein. The CPU 2 controls the entire numerical controller 1 according to the system program stored in the ROM 3.
A DRAM or the like is used as the RAM 4, and various data or input / output signals are stored therein. The CMOS memory 5 is a volatile memory, which is backed up by the battery 6 and stores system parameters, machining programs, tool offsets, and the like that should be retained even after the main power supply 10 is cut off. CM
The OS memory 5 is provided with a memory area 5a, in which the manufacturing date and the periodical inspection time of the parts requiring inspection are stored.
【0007】RTC(Real Time Cloc
k)回路7は一般のデジタルクロックと同様に、バッテ
リ6で動作する水晶発振器によって時刻をカウントする
もので、その出力データはCPU2から読み出すことが
出来る。電圧低下検出回路8はバッテリ6の電圧が一定
値電圧以下、およびメモリ保持限界電圧以下に低下した
ことを検出する。また、電圧低下検出回路8は電圧低下
を検出したことをCPU2が認識できるように入力ポー
ト9につなっがている。電源切替回路11はバックアッ
プが必要な回路に、主電源10が入りの時は主電源10
から、主電源10が断された時はバッテリ6から電源が
供給されるように電源を切替える。シリアルポート12
はデータの入出力を行ない、紙テープ、フロッピーディ
スク等の外部記憶装置(図示していない)に接続され
る。表示制御回路13はデジタル信号を表示用の信号に
変換して、表示器17に与える。表示器17はCRTあ
るいは液晶表示装置が使用され、各軸の現在位置表示、
パラメータやアラームメッセージ等が表示される。キー
ボードインターフェース14はキーボード18からのデ
ータを受けて、CPU2に渡す。デジタルI/O15は
機械側との入出力信号の授受を行なう。サーボ制御回路
16はモータ19を制御するための電流指令を出力す
る。これらの構成要素はシステムバス20によって互い
に結合されている。RTC (Real Time Cloc)
k) The circuit 7 counts the time by the crystal oscillator operated by the battery 6, like the general digital clock, and the output data can be read from the CPU 2. The voltage drop detection circuit 8 detects that the voltage of the battery 6 has dropped below a certain value voltage and below the memory holding limit voltage. Further, the voltage drop detection circuit 8 is connected to the input port 9 so that the CPU 2 can recognize that the voltage drop has been detected. The power supply switching circuit 11 is a main power supply 10 when the main power supply 10 is turned on to a circuit requiring backup.
Therefore, when the main power supply 10 is cut off, the power supply is switched so that the power is supplied from the battery 6. Serial port 12
Inputs and outputs data and is connected to an external storage device (not shown) such as a paper tape or a floppy disk. The display control circuit 13 converts the digital signal into a display signal and gives it to the display unit 17. A CRT or a liquid crystal display device is used as the display unit 17, and the current position of each axis is displayed.
Parameters and alarm messages are displayed. The keyboard interface 14 receives the data from the keyboard 18 and transfers it to the CPU 2. The digital I / O 15 exchanges input / output signals with the machine side. The servo control circuit 16 outputs a current command for controlling the motor 19. These components are coupled to each other by the system bus 20.
【0008】図2は本発明のデータ復旧機能の一例を示
すブロック図である。数値制御装置に電源が投入される
と定期点検時刻設定手段21はメモリ領域5aに格納さ
れている定期点検が必要とされる部品の定期点検時刻か
ら一番早く点検の時期となる時刻を選択し定期点検時刻
として設定する。次に点検時期検知手段23は定期点検
時刻設定手段21から定期点検時刻D1、リアルタイム
クロック回路7から計測時刻D2(現在時間)を取り込
み、定期点検時刻D1と計測時刻D2を比較して、計測
時刻D2が定期点検時刻D1に達していれば達したこと
を示す信号SIG1を表示手段24へ出力する。表示手
段24は点検時期検知手段23からの信号SIG1を受
けると、点検が必要であることを示すメッセージ(例え
ば“定期点検時期です。定期点検を行なってください。
同時にバッテリを交換してください。”)を表示すると
同時に、メッセージを表示したことを示す信号SIG2
をデータ退避手段25へ出力する。データ退避手段25
は表示手段24より信号SIG2を受けたら、ただちに
CMOSメモリ5に保持されている保持データをROM
3(フラッシュメモリ)に退避する。FIG. 2 is a block diagram showing an example of the data recovery function of the present invention. When the numerical control device is powered on, the periodic inspection time setting means 21 selects the earliest inspection time from the periodic inspection times of the parts stored in the memory area 5a that require periodic inspection. Set as the regular inspection time. Next, the inspection time detection means 23 fetches the regular inspection time D1 from the regular inspection time setting means 21 and the measurement time D2 (current time) from the real-time clock circuit 7, compares the regular inspection time D1 with the measurement time D2, and measures the measurement time. If D2 has reached the regular inspection time D1, a signal SIG1 indicating that it has been reached is output to the display means 24. When the display means 24 receives the signal SIG1 from the inspection time detection means 23, a message indicating that the inspection is necessary (for example, "Periodic inspection time. Please perform the periodic inspection.
Replace the battery at the same time. ") And a signal SIG2 indicating that a message is displayed at the same time
Is output to the data saving means 25. Data saving means 25
As soon as the signal SIG2 is received from the display means 24, the ROM holds the data held in the CMOS memory 5.
3 (flash memory).
【0009】オペレータはこの時点で定期点検を行う必
要があることを認識して、表示されたメッセージにより
取り扱い説明書等に記載されている定期点検手順に従っ
て数値制御装置の点検を行う。必要に応じてはサービス
マン等に連絡して保守を行なってもらう。定期点検内容
としては例えばバッテリの電圧チェックやバッテリによ
りバックアップされる揮発性メモリへの動作確認やバッ
テリの電源残量の検知回路の動作確認などがある。万が
一定期点検作業中に誤ってバッテリによりバックアップ
される揮発性メモリの保持データを消去しても前記デー
タ退避手段25によりROM3(フラッシュメモリ)に
保持データが退避されているために以下の手段で復帰さ
せることができる。データ復帰手段26は点検作業が完
了される(例えば点検作業が完了後にキーボード18よ
り点検作業が完了したことを意味するコード例えば”C
HECKOK”と入力する)とROM3(フラッシュメ
モリ)に退避された保持データをCMOSメモリ5に戻
し、信号SIG1、信号SIG2をリセットするために
リセット信号RST1、RST2、RST3を定期点検
時刻設定手段21、表示手段24へ出力するようになっ
ている。また、交換した部品があればメモリ領域5aに
格納されている交換をした部品のデータ(製造年月や定
期点検時刻等)を更新する。At this point, the operator recognizes that it is necessary to perform a periodical inspection, and inspects the numerical control device according to the periodical inspection procedure described in the instruction manual or the like by the displayed message. If necessary, contact a service person to perform maintenance. The contents of the periodic inspection include, for example, checking the voltage of the battery, checking the operation of the volatile memory backed up by the battery, and checking the operation of the detection circuit of the remaining battery power. Even if the data held in the volatile memory which is accidentally backed up by the battery is erased during the periodic inspection work, the data is saved in the ROM 3 (flash memory) by the data saving means 25, so that the data is restored by the following means. Can be made. The data restoration means 26 completes the inspection work (for example, a code such as "C" indicating that the inspection work is completed from the keyboard 18 after the inspection work is completed.
HECKO ") and the held data saved in the ROM 3 (flash memory) are returned to the CMOS memory 5, and the reset signals RST1, RST2, and RST3 are reset to reset the signals SIG1 and SIG2. The data is output to the display means 24. If there is a replaced part, the data (manufacturing date, periodic inspection time, etc.) of the replaced part stored in the memory area 5a is updated.
【0010】図3及び図4は本発明装置の動作例のフロ
ーチャートである。図3は定期点検前、図4は定期点検
後を示す。定期点検時刻設定手段21に定期点検時刻D
1を設定する(ステップS11)。点検時期検知手段2
3はリアルタイムクロック回路7から計測時刻D2を読
み込む(ステップS12)。点検時期検知手段23は定
期点検時刻設定手段21に設定された定期点検時刻D1
と計測時刻D2を比較し(ステップS13)、D1<D
2ならばステップS14へ進み、D1>D2ならば処理
はしない。D1<D2のときは点検時期検知手段23は
表示手段24に点検時期を告げるメッセージを表示する
(ステップS14)。データ退避手段25は揮発性メモ
リのデータをフラッシュメモリへ退避する(ステップS
15)。データ復帰手段26はCHECKOKと入力さ
れたかチェックし(ステップS16)、検出していれば
ステップS17へ進み、検出していなければ処理はしな
い。データ復帰手段26はフラッシュメモリへ退避した
データを揮発性メモリへ戻し(ステップS17)、交換
された部品があれば定期点検時刻設定手段21内の交換
された部品の定期点検時刻を更新し(ステップS1
8)、点検時期検知手段23の定期点検時刻D1、信号
SIG1、信号SIG2をクリアする(ステップS1
9)。FIGS. 3 and 4 are flowcharts of an operation example of the device of the present invention. FIG. 3 shows before regular inspection, and FIG. 4 shows after regular inspection. Periodic inspection time D in the periodic inspection time setting means 21
1 is set (step S11). Inspection time detection means 2
3 reads the measurement time D2 from the real-time clock circuit 7 (step S12). The inspection time detection means 23 uses the regular inspection time D1 set in the regular inspection time setting means 21.
And the measurement time D2 are compared (step S13), and D1 <D
If it is 2, the process proceeds to step S14, and if D1> D2, the process is not performed. When D1 <D2, the inspection time detection means 23 displays a message notifying the inspection time on the display means 24 (step S14). The data saving means 25 saves the data in the volatile memory to the flash memory (step S
15). The data restoring means 26 checks whether CHECKKOK has been input (step S16), and if detected, advances to step S17, and if not detected, does not process. The data restoring means 26 restores the data saved in the flash memory to the volatile memory (step S17), and if there is a replaced component, updates the regular inspection time of the replaced component in the regular inspection time setting means 21 (step S17). S1
8) Clear the regular inspection time D1, the signal SIG1, and the signal SIG2 of the inspection time detection means 23 (step S1).
9).
【0011】[0011]
【発明の効果】以上説明したように、本発明のデータ復
旧機能を有する数値制御装置によれば、数値制御装置の
定期点検の表示案内機能に、バッテリによりバックアッ
プされる揮発性メモリ内のデータを電気的に書き換え可
能な不揮発性メモリに退避する手段を加えることによ
り、定期点検時期となった時、自動的にバッテリにより
バックアップされる揮発性メモリ内のデータを電気的に
書き換え可能な不揮発性メモリに退避する為、バッテリ
によりバックアップされる揮発性メモリの不意の故障ま
たはバッテリの電源残量の検知回路の故障、バッテリ交
換をおこなう際の不注意などによりバッテリによりバッ
クアップされる揮発性メモリ内のデータが消去されて
も、電気的に書き換え可能な不揮発性メモリからバッテ
リによりバックアップされる揮発性メモリにデータを復
旧することが可能であり、数値制御装置を復帰させるこ
とが容易となる。また、定期点検時期となった時、数値
制御装置の表示装置にバッテリ寿命となる前に電池を交
換するように促し、電池交換をオペレータに行なわせれ
ば、バッテリ寿命による不用意な作業も発生することな
く、機械故障の予防措置を行なうことも可能となる。As described above, according to the numerical controller having the data recovery function of the present invention, the data in the volatile memory backed up by the battery is used for the display guide function of the periodical check of the numerical controller. By adding a means to save to an electrically rewritable nonvolatile memory, the data in the volatile memory that is automatically backed up by the battery at the time of regular inspection can be electrically rewritten. Data in the volatile memory that is backed up by the battery due to an unexpected failure of the volatile memory backed up by the battery, a failure of the battery power supply remaining amount detection circuit, or carelessness when replacing the battery. Even if the data is erased, it is backed up by a battery from an electrically rewritable non-volatile memory. It is the volatile memory it is possible to recover the data, it is easy to restore a numerical control apparatus. Further, when the periodic inspection time comes, if the display device of the numerical control device is urged to replace the battery before the battery life is reached and the operator is requested to replace the battery, careless work due to the battery life may occur. Without this, it is possible to take preventive measures against mechanical failure.
【図1】本発明のデータ復旧機能を有する数値制御装置
の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of a numerical control device having a data recovery function of the present invention.
【図2】本発明のデータ復旧機能の一実施例を示すブロ
ック図である。FIG. 2 is a block diagram showing an embodiment of a data recovery function of the present invention.
【図3】本発明装置の動作例を説明する第1のフロチャ
ートである。FIG. 3 is a first flowchart illustrating an operation example of the device of the present invention.
【図4】本発明装置の動作例を説明する第2のフロチャ
ートである。FIG. 4 is a second flowchart illustrating an operation example of the device of the present invention.
【図5】従来の数値制御装置の一実施例の動作例を説明
するフロチャートである。FIG. 5 is a flowchart explaining an operation example of an example of a conventional numerical control apparatus.
【図6】従来の他の数値制御装置の一実施例の動作例を
説明するフロチャートである。FIG. 6 is a flowchart illustrating an operation example of another example of the conventional numerical control device.
1 数値制御装置 7 RTC回路 21 定期点検時刻設定手段 23 点検時期検知手段 24 表示手段 25 データ退避手段 26 データ復帰手段 1 Numerical Control Device 7 RTC Circuit 21 Regular Inspection Time Setting Means 23 Inspection Timing Detecting Means 24 Display Means 25 Data Saving Means 26 Data Restoring Means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 12/16 340 Q 9293−5B G06F 1/00 333 C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 12/16 340 Q 9293-5B G06F 1/00 333 C
Claims (1)
メモリと、電気的に書き換え可能な不揮発性メモリとを
備え、前記揮発性メモリ内のデータを前記不揮発性メモ
リに退避可能な数値制御装置において、現在の時刻を計
測するリアルタイムクロックと、定期点検を必要とする
定期点検時刻を設定する設定手段と、前記リアルタイム
クロックによって計測された現在時刻と前記設定手段に
設定された定期点検時刻を比較して点検時期を検知する
と共に前記点検時期を検知したら表示手段に定期点検が
必要であることを表示する検知手段と、前記表示手段に
前記定期点検が必要であることが表示されたら前記揮発
性メモリ内のデータを前記不揮発性メモリに退避する退
避手段と、前記定期点検が終了したら前記不揮発性メモ
リ内のデータを前記揮発性メモリに復帰する復帰手段と
を備えたことを特徴とするデータ復旧機能を有する数値
制御装置。1. A numerical controller, comprising: a volatile memory backed up by a battery; and an electrically rewritable nonvolatile memory, capable of saving data in the volatile memory to the nonvolatile memory. Check the real time clock to measure the time of, the setting means for setting the periodic inspection time that requires periodic inspection, the current time measured by the real time clock and the regular inspection time set in the setting means When detecting the time and detecting the inspection time, the display means indicates that the periodic inspection is necessary, and the display means indicates that the periodic inspection is necessary. Saving means for saving data to the non-volatile memory, and the data in the non-volatile memory before the regular inspection is completed. Numerical control apparatus having a data recovery function, characterized in that it includes a return means for returning to the volatile memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34468493A JP3250898B2 (en) | 1993-12-21 | 1993-12-21 | Numerical controller with data recovery function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34468493A JP3250898B2 (en) | 1993-12-21 | 1993-12-21 | Numerical controller with data recovery function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07182015A true JPH07182015A (en) | 1995-07-21 |
| JP3250898B2 JP3250898B2 (en) | 2002-01-28 |
Family
ID=18371183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34468493A Expired - Fee Related JP3250898B2 (en) | 1993-12-21 | 1993-12-21 | Numerical controller with data recovery function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3250898B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1669827A2 (en) | 2004-12-09 | 2006-06-14 | Fanuc Ltd | Numerical controller |
| CN109511620A (en) * | 2017-09-19 | 2019-03-26 | 株式会社岛野 | The standby system of electric fishing reel |
-
1993
- 1993-12-21 JP JP34468493A patent/JP3250898B2/en not_active Expired - Fee Related
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1669827A2 (en) | 2004-12-09 | 2006-06-14 | Fanuc Ltd | Numerical controller |
| EP1669827A3 (en) * | 2004-12-09 | 2009-10-28 | Fanuc Ltd | Numerical controller |
| CN109511620A (en) * | 2017-09-19 | 2019-03-26 | 株式会社岛野 | The standby system of electric fishing reel |
| JP2019050789A (en) * | 2017-09-19 | 2019-04-04 | 株式会社シマノ | Electric reel backup system |
| CN109511620B (en) * | 2017-09-19 | 2021-12-28 | 株式会社岛野 | Backup system of electric fishing reel |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3250898B2 (en) | 2002-01-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3063708B2 (en) | Non-stop power supply system, backup target device used therefor, and recording medium recording program for operating computer as backup target device | |
| JPH07182015A (en) | Numerical controller with data recovering function | |
| JP2001014069A (en) | Automatic power-off method and information processing device with automatic power-off device | |
| JPH10105422A (en) | Protection device control circuit | |
| JP2008104251A (en) | Power supply failure detection method | |
| JPH0870415A (en) | Electronic equipment | |
| JP3087650B2 (en) | Automatic power recovery method | |
| JPH06348535A (en) | Abnormality generation history storage device | |
| JP2687520B2 (en) | Battery maintenance device for auxiliary battery | |
| JP2738991B2 (en) | Communication device | |
| JPH09274524A (en) | Automatic power recovery system | |
| JPH06103480B2 (en) | Blackout processor | |
| JPH0724917Y2 (en) | Backup power supply circuit | |
| JPS6057450A (en) | Processor in breaking of power supply of electronic equipment | |
| JP4136105B2 (en) | Image forming apparatus and control method thereof | |
| KR0136864Y1 (en) | Memory backup device | |
| JP2773367B2 (en) | Electronic equipment | |
| JPS62281781A (en) | Monitoring method for accident information | |
| JPH06261593A (en) | Motor control device | |
| JPH1125007A (en) | Method for storing/recovering backup data | |
| JPH0287215A (en) | initialization device | |
| JPH10187287A (en) | Delay connection switch | |
| JPS60262229A (en) | Lifetime discriminating method of memory backup battery | |
| JPH01144315A (en) | Power interruption detecting | |
| JPH0546496A (en) | Memory backup system for cpu |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |