JPH0863209A - Program protection system - Google Patents

Program protection system

Info

Publication number
JPH0863209A
JPH0863209A JP19639594A JP19639594A JPH0863209A JP H0863209 A JPH0863209 A JP H0863209A JP 19639594 A JP19639594 A JP 19639594A JP 19639594 A JP19639594 A JP 19639594A JP H0863209 A JPH0863209 A JP H0863209A
Authority
JP
Japan
Prior art keywords
program
password
memory card
confirmation
release
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.)
Withdrawn
Application number
JP19639594A
Other languages
Japanese (ja)
Inventor
Yasushi Akashi
靖司 明石
Kunitaka Komaki
邦孝 小槇
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 JP19639594A priority Critical patent/JPH0863209A/en
Publication of JPH0863209A publication Critical patent/JPH0863209A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To prevent a program which is stored in a numerical controller from illegally being copied. CONSTITUTION: A password 41 for release is stored on a memory card 40. A read means 10a in the numerical controller 10 reads the password 41 for release when the memory card 40 is mounted. In the numerical controller 10, a nonvolatile memory 14 which stores a program 14b and a password 14a for confirmation is provided. A collating means 10b collates the read password 41 for release with the password 14 for confirmation and sets a limitation resetting flag 10c when they match each other. A function limiting means 10d allows all requests including a copy request and a reference request to the program 14b in the nonvolatile memory 14 only when the limitation resetting flag 10c is set. Consequently, only a person who bears the memory card on which the same password for release as the password for confirmation in the nonvolatile memory can copy and refer to the program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は数値制御装置のプログラ
ム保護方式に関し、特に電源切断時にも保持するべき各
種プログラムを有する数値制御装置のプログラム保護方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program protection system for a numerical control device, and more particularly to a program protection system for a numerical control device having various programs to be retained even when power is turned off.

【0002】[0002]

【従来の技術】数値制御装置では、各種プログラムを不
揮発性メモリ内に保持している。そのプログラムには、
制御するべき工作機械用に特別に作成されたものがあ
り、数値制御装置は、そのプログラムを格納した状態で
ユーザ先に納入される。
2. Description of the Related Art In a numerical control device, various programs are held in a non-volatile memory. The program includes
Some are specially made for the machine tool to be controlled, and the numerical control device is delivered to the user's destination with the program stored therein.

【0003】通常の場合ユーザに対し、納入した数値制
御装置内のプログラムの実行のみを許諾しており、プロ
グラムの複製を作ることは禁止している。ところが、こ
のプログラムをコピーするのは簡単であり、不正コピー
も可能であった。そこで、プログラムの所有権を有する
者以外は、プログラムをコピーすることができないよう
にしたいという要求がでてきた。なお、プログラムのコ
ピーを禁止しても参照が可能であると、同じプログラム
が作られてしまうため、参照することも禁止する必要が
ある。
In the normal case, the user is only permitted to execute the program in the delivered numerical control device, and the copying of the program is prohibited. However, copying this program was easy, and illegal copying was possible. Therefore, there has been a demand for making a program copyable only to those who have ownership of the program. If the program can be referenced even if the copying of the program is prohibited, the same program will be created. Therefore, it is necessary to prohibit the reference.

【0004】従来は、数値制御装置内にパスワードを設
定し、そのパスワードがMDIキー等により入力された
場合にのみ、プログラムのコピーや参照をすることがで
きるようにしていた。これにより、パスワードを知って
いる者しかプログラムをコピーできないようにすること
ができる。
Conventionally, a password is set in the numerical control device, and the program can be copied or referenced only when the password is input by the MDI key or the like. This allows only those who know the password to copy the program.

【0005】[0005]

【発明が解決しようとする課題】しかし、パスワードを
キー操作で入力するようにすると、パスワードを設定し
た後で、プログラムの所有権を有する者がパスワードの
控えを紛失した場合、参照やコピーを行う必要が生じて
も、それを行うことができない。しかも、パスワードの
控えは、紙の上に記録されている場合が多く、紛失し易
い。
However, if the password is entered by key operation, if the person who has ownership of the program loses the password copy after setting the password, reference or copy is performed. If you have a need, you cannot do it. Moreover, the copy of the password is often recorded on paper, and is easily lost.

【0006】また、パスワード入力のキー操作を他人に
見られていると、パスワードが漏れてしまう可能性もあ
る。そこで、機械的な鍵を設け、その鍵によりロックが
解除された場合にのみプログラムのコピーや参照を行う
ことができるようにすることも可能であるが、機械メー
カ毎に異なった鍵を設けるのは、数値制御装置の製造コ
ストの面から現実的ではない。
[0006] Further, if another person is operating the key operation for inputting the password, the password may be leaked. Therefore, it is possible to provide a mechanical key so that the program can be copied or referenced only when the lock is released by the key, but a different key is provided for each machine maker. Is not realistic in terms of manufacturing cost of the numerical control device.

【0007】本発明はこのような点に鑑みてなされたも
のであり、数値制御装置内に格納されたプログラムの不
正コピーを防止するプログラム保護方式を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a program protection system for preventing illegal copying of a program stored in a numerical control device.

【0008】[0008]

【課題を解決するための手段】本発明では上記課題を解
決するために、電源切断時にも保持するべきプログラム
を有する数値制御装置のプログラム保護方式において、
解除用パスワードを格納するメモリカードと、前記数値
制御装置内に設けられ、前記プログラムと確認用パスワ
ードとを格納する不揮発性メモリと、前記メモリカード
が装着された際に、前記メモリカード内の前記解除用パ
スワードを読み取る読取手段と、前記確認用パスワード
と前記解除用パスワードとを比較し、一致した場合には
制限解除フラグを設定する照合手段と、前記制限解除フ
ラグが設定されてない場合には、前記プログラムに対す
る要求に制限を加え、前記制限解除フラグが設定されて
いる場合には、前記プログラムに対する要求を全て実行
可能にする機能制限手段と、を有することを特徴とする
プログラム保護方式が提供される。
In order to solve the above problems, the present invention provides a program protection system for a numerical control device having a program to be retained even when power is turned off,
A memory card for storing a release password, a non-volatile memory provided in the numerical control device for storing the program and the confirmation password, and the memory card in the memory card when the memory card is mounted. A reading means for reading the release password, a comparing means for comparing the confirmation password and the release password, and setting a restriction release flag when they match, and a checking means for not setting the restriction release flag A function protection unit that restricts requests to the program and makes all the requests to the program executable when the restriction release flag is set. To be done.

【0009】[0009]

【作用】メモリカードは、解除用パスワードを格納して
いる。数値制御装置内に設けられた不揮発性メモリは、
プログラムと確認用パスワードとを格納している。読取
手段は、メモリカードが装着された際に、メモリカード
内の解除用パスワードを読み取る。照合手段は、確認用
パスワードと解除用パスワードとを照合し、一致した場
合には制限解除フラグを設定する。機能制限手段は、制
限解除フラグが設定されてない場合には、プログラムに
対する要求に制限を加え、コピーや参照をできなくし、
制限解除フラグが設定されている場合には、プログラム
に対する要求を全て実行可能にする。
[Function] The memory card stores a password for cancellation. The non-volatile memory provided in the numerical controller is
Stores the program and confirmation password. The reading means reads the release password in the memory card when the memory card is attached. The collating means collates the confirmation password with the cancellation password, and sets a restriction cancellation flag if they match. When the restriction release flag is not set, the function restriction means restricts the request to the program, prohibits copying and reference,
When the restriction release flag is set, all requests to the program can be executed.

【0010】これにより、数値制御装置内の格納された
保護対象プログラムの不正コピーを防止することができ
る。
This makes it possible to prevent illegal copying of the protected program stored in the numerical control apparatus.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明のプログラム保護方式の概略構成
を示すブロック図である。このブロック図は、数値制御
装置10と、数値制御装置10に装着可能なメモリカー
ド40で構成されている。メモリカード40には、解除
用パスワード41が格納されている。数値制御装置10
内の読取手段10aは、メモリカード40が数値制御装
置10に装着された際に、メモリカード40内の解除用
パスワード41を読み取る。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a program protection system of the present invention. This block diagram includes a numerical controller 10 and a memory card 40 that can be mounted on the numerical controller 10. A cancellation password 41 is stored in the memory card 40. Numerical control device 10
The reading means 10a therein reads the cancellation password 41 in the memory card 40 when the memory card 40 is attached to the numerical controller 10.

【0012】また、数値制御装置10内にはプログラム
14bと確認用パスワード14aとを格納した不揮発性
メモリ14が設けられている。そして、照合手段10b
は読取手段10aが読み取った解除用パスワード41と
不揮発性メモリ14内の確認用パスワード14aを照合
し、一致した場合には制限解除フラグ10cを設定す
る。
Further, in the numerical controller 10, a non-volatile memory 14 storing a program 14b and a confirmation password 14a is provided. And collating means 10b
Compares the release password 41 read by the reading means 10a with the confirmation password 14a in the non-volatile memory 14, and sets a limit release flag 10c if they match.

【0013】機能制限手段10dは、制限解除フラグ1
0cが設定されている場合にのみ、不揮発性メモリ14
内のプログラム14bに対する、コピー要求や参照要求
を含めた全ての要求を許可する。制限解除フラグ10c
が設定されてない場合には、コピー要求や参照要求は禁
止する。
The function limiting means 10d has a limit release flag 1
Only when 0c is set, the nonvolatile memory 14
All requests including a copy request and a reference request are permitted to the program 14b therein. Limit release flag 10c
If is not set, copy requests and reference requests are prohibited.

【0014】これにより、不揮発性メモリ14内の確認
用パスワード14aと同一の解除用パスワード41が格
納されたメモリカード40を所有する者のみが、プログ
ラム14bのコピーや参照を行うことができる。
As a result, only the person who owns the memory card 40 storing the cancel password 41 which is the same as the confirmation password 14a in the non-volatile memory 14 can copy or refer to the program 14b.

【0015】図2は、本発明の数値制御装置のハードウ
ェアの概略構成を示すブロック図である。数値制御装置
はプロセッサ11を中心に構成されている。プロセッサ
11はROM12に格納されたシステムプログラムに従
って数値制御装置全体を制御する。このROM12には
EPROMあるいはEEPROMが使用される。
FIG. 2 is a block diagram showing a schematic configuration of hardware of the numerical controller according to the present invention. The numerical controller is mainly composed of the processor 11. The processor 11 controls the entire numerical controller according to the system program stored in the ROM 12. EPROM or EEPROM is used for the ROM 12.

【0016】RAM13にはSRAM等が使用され、一
時的な計算データ、表示データ、入出力信号等が格納さ
れる。不揮発性メモリ14には図示されていないバッテ
リによってバックアップされたCMOSが使用され、電
源切断後も保持すべき、プログラム、確認用パスワー
ド、パラメータ、加工プログラム、工具補正データ、ピ
ッチ誤差補正データ等が記憶される。
An SRAM or the like is used as the RAM 13, and temporary calculation data, display data, input / output signals, etc. are stored therein. A CMOS (not shown) backed up by a battery is used for the non-volatile memory 14, and programs, confirmation passwords, parameters, machining programs, tool correction data, pitch error correction data, etc., that are to be retained even after power-off are stored. To be done.

【0017】CRT/MDIユニット20は、数値制御
装置の前面あるいは機械操作盤と同じ位置に配置され、
データ及び図形の表示、データ入力、数値制御装置の運
転に使用される。グラフィック制御回路21は数値デー
タ及び図形データ等のディジタル信号を表示用のラスタ
信号に変換し、表示装置22に送り、表示装置22はこ
れらの数値及び図形を表示する。表示装置22にはCR
Tあるいは液晶表示装置が使用される。
The CRT / MDI unit 20 is arranged on the front surface of the numerical controller or at the same position as the machine operation panel,
Used to display data and graphics, input data, and operate numerical control equipment. The graphic control circuit 21 converts a digital signal such as numerical data and graphic data into a raster signal for display and sends the raster signal to the display device 22, and the display device 22 displays these numerical values and graphics. CR on the display device 22
A T or liquid crystal display device is used.

【0018】キーボード23は数値キー、シンボリック
キー、文字キー及び機能キーから構成され、加工プログ
ラムの作成、編集及び数値制御装置の運転に使用され
る。ソフトウェアキー24は表示装置22の下部に設け
られ、その機能は表示装置に表示される。表示装置の画
面が変化すれば、表示される機能に対応して、ソフトウ
ェアキーの機能も変化する。
The keyboard 23 is composed of numerical keys, symbolic keys, character keys and function keys, and is used for creating and editing a machining program and operating the numerical control device. The software key 24 is provided below the display device 22, and its function is displayed on the display device. When the screen of the display device changes, the function of the software key changes corresponding to the displayed function.

【0019】メモリカードインタフェース17は、PC
MCIA(Personal Computer Memory Card Internatio
nal Association)によって定められた規格に準拠したメ
モリカード40を装着することができる。そして、装着
されたメモリカード40のデータをアクセスすることが
できる。このメモリカード40には、フラッシュROM
や、バッテリでバックアップされたSRAMが使用され
る。
The memory card interface 17 is a PC
MCIA (Personal Computer Memory Card Internatio)
The memory card 40 conforming to the standard defined by the Nal Association) can be mounted. Then, the data of the attached memory card 40 can be accessed. This memory card 40 has a flash ROM
Alternatively, a battery-backed SRAM is used.

【0020】軸制御回路15はプロセッサ11からの軸
の移動指令を受けて、軸の移動指令をサーボアンプ16
に出力する。サーボアンプ16はこの移動指令を増幅
し、工作機械30に結合されたサーボモータを駆動し、
工作機械30の工具とワークの相対運動を制御する。な
お、軸制御回路15及びサーボアンプ16はサーボモー
タの軸数に対応した数だけ設けられる。
The axis control circuit 15 receives the axis movement command from the processor 11, and outputs the axis movement command to the servo amplifier 16
Output to. The servo amplifier 16 amplifies this movement command and drives a servo motor coupled to the machine tool 30,
It controls the relative motion of the tool and the work of the machine tool 30. The axis control circuits 15 and the servo amplifiers 16 are provided by the number corresponding to the number of axes of the servo motor.

【0021】PMC(プログラマブル・マシン・コント
ローラ)18はプロセッサ11からバス19経由でM
(補助)機能信号、S(スピンドル速度制御)機能信
号、T(工具選択)機能信号等を受け取る。そして、こ
れらの信号をシーケンス・プログラムで処理して、出力
信号を出力し、工作機械30内の空圧機器、油圧機器、
電磁アクチュエイタ等を制御する。また、工作機械30
内の機械操作盤のボタン信号、スイッチ信号及びリミッ
トスイッチ等の信号を受けて、シーケンス処理を行い、
バス19を経由してプロセッサ11に必要な入力信号を
転送する。
A PMC (Programmable Machine Controller) 18 is M from the processor 11 via the bus 19.
Receives (auxiliary) function signal, S (spindle speed control) function signal, T (tool selection) function signal, and the like. Then, these signals are processed by a sequence program, and output signals are output, and pneumatic equipment, hydraulic equipment in the machine tool 30,
Controls electromagnetic actuators, etc. Also, the machine tool 30
In response to the signals from the machine control panel inside, such as button signals, switch signals and limit switches, sequence processing is performed,
The necessary input signals are transferred to the processor 11 via the bus 19.

【0022】なお、図2ではスピンドルモータ制御回路
及びスピンドルモータ用アンプ等は省略してある。ま
た、上記の例ではプロセッサ11は1個で説明したが、
複数のプロセッサを使用してマルチプロセッサ構成にす
ることもできる。
In FIG. 2, the spindle motor control circuit, the spindle motor amplifier, etc. are omitted. In the above example, the number of processors 11 is one, but
It is also possible to use multiple processors in a multiprocessor configuration.

【0023】次に、図2に示す数値制御装置においてパ
スワードを設定する方法を説明する。先ず、キーボード
23の2つのキーを同時に押しながら数値制御装置の電
源を投入する。これにより、不揮発性メモリ14の内容
が全てクリアされる。不揮発性メモリ14の内容のクリ
アとは、不揮発性メモリ14内のデータを全て初期値に
セットすることである。そして、表示装置22にはパス
ワード設定画面が表示される。 図3はパスワード設定
画面を示す図である。このパスワード設定画面50に
は、始めに設定するパスワードの入力を受け付けるメッ
セージ51が表示される。ここで作業者は、パスワード
を入力する。この例では「OSINO FMR60HD
1234567」を入力している。このパスワード
は、確認用パスワードとして不揮発性メモリ14内に格
納される。
Next, a method of setting a password in the numerical controller shown in FIG. 2 will be described. First, the power of the numerical controller is turned on while simultaneously pressing the two keys of the keyboard 23. As a result, the contents of the non-volatile memory 14 are all cleared. Clearing the contents of the non-volatile memory 14 means setting all the data in the non-volatile memory 14 to initial values. Then, the password setting screen is displayed on the display device 22. FIG. 3 is a diagram showing a password setting screen. On the password setting screen 50, a message 51 for accepting the input of the password to be initially set is displayed. Here, the operator inputs the password. In this example, "OSINO FMR60HD
1234567 ”has been entered. This password is stored in the non-volatile memory 14 as a confirmation password.

【0024】次にパスワードを格納したメモリカードを
作成するかどうかを問いかけるメッセージ52が表示さ
れる。作業者は、メモリカードを作成するのであれば
「Y」を入力し、メモリカードを作成しないのであれば
「N」を入力する。この例では、「Y」を入力してい
る。
Next, a message 52 asking whether to create a memory card storing the password is displayed. The operator inputs "Y" if the memory card is to be created, and "N" if the memory card is not to be created. In this example, "Y" is entered.

【0025】メモリカードの作成が選択されると、メモ
リカードを装着するように要求するメッセージ53が表
示される。作業者は、メモリカードをメモリカードイン
タフェース17(図2に示す)に装着し、「Y」を入力
する。ここで、メモリカードに解除用パスワードが書き
込まれる。
When the memory card creation is selected, a message 53 requesting to mount the memory card is displayed. The operator inserts the memory card into the memory card interface 17 (shown in FIG. 2) and inputs "Y". Here, the cancellation password is written in the memory card.

【0026】メモリカードに解除用パスワードの書き込
みが終わると、パスワードの書き込み作業を続行するか
どうかを問いかけるメッセージ54が表示される。続行
するのであれば「Y」を入力し、終了するのであれば
「N」を入力する。
When the writing of the password for cancellation is finished on the memory card, a message 54 asking whether to continue the password writing operation is displayed. Enter "Y" to continue, or "N" to end.

【0027】以降は、解除用パスワードが書き込まれた
メモリカードを数値制御装置に装着しない限り、不揮発
性メモリ内のプログラムを参照したり、コピーすること
はできない。
After that, the program in the non-volatile memory cannot be referred to or copied unless the memory card in which the cancel password is written is attached to the numerical controller.

【0028】図4はパスワードが設定された数値制御装
置の電源投入時の処理手順を示すフローチャートであ
る。このフローチャートは数値制御装置の電源が投入さ
れた際に実行される。 〔S1〕メモリカードが装着されているかどうかを判断
し、装着されていればステップ2に進み、装着されてい
なければステップ6に進む。このメモリカードが装着さ
れているかどうかは、メモリカードの両端のピンに規定
の電圧がかけられているかどうかで判断することができ
る。 〔S2〕メモリカードに解除用パスワードが書き込まれ
ているかどうかを判断し、書き込まれていればステップ
3に進み、書き込まれれいなければステップ6に進む。 〔S3〕メモリカードから解除用パスワードを読みだ
す。なお、ステップ1からステップ3までは、図1に示
す読取手段10aが行う手順である。 〔S4〕不揮発性メモリ内の確認用パスワードとメモリ
カードから読み出した解除用パスワードを照合し、一致
していればステップ5に進み、一致していなければステ
ップ6に進む。 〔S5〕制限解除フラグを設定する。ステップ4、およ
びステップ5は、図1に示す照合手段10bが行う手順
である。 〔S6〕数値制御装置を通常に動作状態にする。
FIG. 4 is a flow chart showing a processing procedure at the time of turning on the power of the numerical control device to which the password is set. This flowchart is executed when the power of the numerical controller is turned on. [S1] It is determined whether or not a memory card is mounted. If the memory card is mounted, the process proceeds to step 2, and if not, the process proceeds to step 6. Whether or not this memory card is mounted can be determined by whether or not a specified voltage is applied to pins at both ends of the memory card. [S2] It is judged whether or not the release password is written in the memory card. If it is written, the process proceeds to step 3, and if it is not written, the process proceeds to step 6. [S3] The unlock password is read from the memory card. Note that steps 1 to 3 are procedures performed by the reading means 10a shown in FIG. [S4] The confirmation password in the non-volatile memory is collated with the release password read from the memory card. If they match, the process proceeds to step 5, and if they do not match, the process proceeds to step 6. [S5] The restriction release flag is set. Steps 4 and 5 are procedures performed by the matching means 10b shown in FIG. [S6] The numerical control device is brought into a normal operating state.

【0029】このようにしてメモリカード内の解除用パ
スワードと確認用パスワードの照合が行われる。次に、
プログラムのコピー等の各種操作ができる状態にするた
めの、プログラム表示要求が出力された際の数値制御装
置の処理手順を説明する。
In this way, the cancellation password and the confirmation password in the memory card are collated. next,
A processing procedure of the numerical controller when a program display request is output so that various operations such as copying of a program can be performed will be described.

【0030】図5はプログラム表示要求が出力された時
の処理手順を示すフローチャートである。このフローチ
ャートに示す手順は、図1に示す機能制限手段が実行す
る手順である。 〔S7〕プログラム表示要求が入力される。 〔S8〕制限解除フラグが設定されているかどうかを判
断し、設定されていればステップ9に進み、設定されて
いなければプログラムの表示をせずに終了する。 〔S9〕表示装置にプログラムを表示をする。プログラ
ムが表示されることにより、作業者は自由にプログラム
のコピー等の操作を行うことができる。
FIG. 5 is a flowchart showing a processing procedure when a program display request is output. The procedure shown in this flowchart is a procedure executed by the function limiting means shown in FIG. [S7] A program display request is input. [S8] It is determined whether or not the restriction release flag is set. If it is set, the process proceeds to step 9, and if it is not set, the program is not displayed and the process ends. [S9] The program is displayed on the display device. By displaying the program, the operator can freely perform operations such as copying the program.

【0031】これにより、数値制御装置内に設定された
確認用パスワードと同じ内容の解除用パスワードが格納
されたメモリカードを所有している者以外、不揮発性メ
モリ内のプログラムをコピーしたり、参照することがで
きない。つまり、プログラムを作成した工作機械メーカ
は、プログラムを不揮発性メモリに格納する際に、同時
にパスワードを設定し、プログラムの不正コピーを防止
することができる。そして、解除用パスワードが格納さ
れたメモリカードを保管しておき、必要な時にのみ数値
制御装置に装着することにより、保守等の際には自由に
プログラムをコピーしたり参照することが可能となる。
As a result, a program in the non-volatile memory can be copied or referred to by anyone other than the person who owns the memory card in which the release password having the same contents as the confirmation password set in the numerical controller is stored. Can not do it. That is, the machine tool manufacturer who created the program can set the password at the same time when the program is stored in the non-volatile memory, and can prevent illegal copying of the program. Then, by storing the memory card in which the unlock password is stored and mounting it in the numerical control device only when necessary, it is possible to freely copy and refer to the program for maintenance. .

【0032】また、この数値制御装置はハードウェア的
には同一でありがら、メモリカードを用いたハードウェ
ア的な鍵により、コピー等の制限を解除することができ
る。従って、キー操作中にパスワードが漏れるという心
配はなく、しかも、数値制御装置の製造コストも低く押
さえることができる。
Further, although this numerical control device is the same in terms of hardware, it is possible to remove restrictions such as copying with a hardware key using a memory card. Therefore, there is no fear that the password will be leaked during key operation, and the manufacturing cost of the numerical control device can be kept low.

【0033】さらに、プログラムと確認用パスワードが
同じ不揮発性メモリ内に格納されているため、確認用パ
スワードのみを消すことはできない。例えば、不揮発性
メモリのバッテリを外した場合、プログラムも同時に消
去されてしまうため、プログラムをコピーするとはでき
ない。
Further, since the program and the confirmation password are stored in the same non-volatile memory, it is not possible to erase only the confirmation password. For example, if the battery of the non-volatile memory is removed, the program is also erased at the same time, so the program cannot be copied.

【0034】[0034]

【発明の効果】以上説明したように本発明では、数値制
御装置内の不揮発性メモリに格納された確認用パスワー
ドと、装着されたメモリカード内の解除用パスワードが
一致した場合にのみ、不揮発性メモリ内のプログラムを
制限なく操作できるようにしたため、不揮発性メモリ内
のプログラムの不正コピーを防止するすることができ
る。
As described above, according to the present invention, the nonvolatile password is stored only when the confirmation password stored in the nonvolatile memory in the numerical controller and the release password in the mounted memory card match. Since the program in the memory can be operated without limitation, it is possible to prevent illegal copying of the program in the non-volatile memory.

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

【図1】本発明のプログラム保護方式の概略構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a program protection system of the present invention.

【図2】本発明の数値制御装置のハードウェアの概略構
成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of hardware of a numerical controller according to the present invention.

【図3】パスワード設定画面を示す図である。FIG. 3 is a diagram showing a password setting screen.

【図4】パスワードが設定された数値制御装置の電源投
入時の処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure at the time of turning on the power of the numerical control device to which a password is set.

【図5】プログラム表示要求が出力された時の処理手順
を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure when a program display request is output.

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

10 数値制御装置 10a 読取手段 10b 照合手段 10c 制限解除フラグ 10d 機能制限手段 14 不揮発性メモリ 14a 確認用パスワード 14b プログラム 40 メモリカード 41 解除用パスワード 10 Numerical Control Device 10a Reading Means 10b Collating Means 10c Limit Release Flag 10d Function Limiting Means 14 Nonvolatile Memory 14a Confirmation Password 14b Program 40 Memory Card 41 Release Password

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 電源切断時にも保持するべきプログラム
を有する数値制御装置のプログラム保護方式において、 解除用パスワードを格納するメモリカードと、 前記数値制御装置内に設けられ、前記プログラムと確認
用パスワードとを格納する不揮発性メモリと、 前記メモリカードが装着された際に、前記メモリカード
内の前記解除用パスワードを読み取る読取手段と、 前記確認用パスワードと前記解除用パスワードとを照合
し、一致した場合には制限解除フラグを設定する照合手
段と、 前記制限解除フラグが設定されてない場合には、前記プ
ログラムに対する要求に制限を加え、前記制限解除フラ
グが設定されている場合には、前記プログラムに対する
要求を全て実行可能にする機能制限手段と、 を有することを特徴とするプログラム保護方式。
1. A program protection method for a numerical control device having a program to be retained even when power is cut off, a memory card for storing a cancellation password, a program and a confirmation password provided in the numerical control device. A non-volatile memory for storing a reading means for reading the cancellation password in the memory card when the memory card is attached, and the verification password and the cancellation password are collated, and if they match To a collation unit that sets a restriction release flag, and if the restriction release flag is not set, limits the request to the program, and if the restriction release flag is set, to the program Program protection characterized by having a function limiting means for making all requests executable. method.
【請求項2】 前記機能制限手段は、前記制限解除フラ
グが設定されてない場合には、前記プログラムに対する
表示要求とコピー要求とを実行不可能にすることを特徴
とする請求項1記載のプログラム保護方式。
2. The program according to claim 1, wherein the function restricting means makes the display request and the copy request for the program unexecutable when the restriction release flag is not set. Protection method.
【請求項3】 前記メモリカードは、フラッシュROM
であることを特徴とする請求項1記載のプログラム保護
方式。
3. The memory card is a flash ROM
The program protection system according to claim 1, wherein:
JP19639594A 1994-08-22 1994-08-22 Program protection system Withdrawn JPH0863209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19639594A JPH0863209A (en) 1994-08-22 1994-08-22 Program protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19639594A JPH0863209A (en) 1994-08-22 1994-08-22 Program protection system

Publications (1)

Publication Number Publication Date
JPH0863209A true JPH0863209A (en) 1996-03-08

Family

ID=16357160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19639594A Withdrawn JPH0863209A (en) 1994-08-22 1994-08-22 Program protection system

Country Status (1)

Country Link
JP (1) JPH0863209A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4829448B2 (en) * 1999-07-14 2011-12-07 トムソン ライセンシング Method and apparatus for using a single password set in an integrated TV system
JP2015141625A (en) * 2014-01-29 2015-08-03 ファナック株式会社 Control device having operation right control function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4829448B2 (en) * 1999-07-14 2011-12-07 トムソン ライセンシング Method and apparatus for using a single password set in an integrated TV system
JP2015141625A (en) * 2014-01-29 2015-08-03 ファナック株式会社 Control device having operation right control function

Similar Documents

Publication Publication Date Title
EP0689114B1 (en) Numerically controlled machine tool management system
US20090276845A1 (en) Programmable display device, and control system
KR20120119217A (en) Programmable controller and programming device
JPH0863209A (en) Program protection system
JPH11249967A (en) Method for preventing unjust copy of nc data
WO2004012022A1 (en) Machine tool program unauthorized use preventing device
JPH04184506A (en) Control information protective device for numerically controlled machine tool
JPH07129207A (en) Numerical control system
JPH03105419A (en) Fixed disk device
JP4028857B2 (en) Numerical controller
JPH0635858A (en) Terminal equipment and its security protecting method
JPH0863211A (en) Updated data management system
JP2911667B2 (en) Programming device for programmable controller
JP3480957B2 (en) Memory programming equipment
JPS62100805A (en) Programmable controller
JP4394486B2 (en) Maintenance work error prevention program and maintenance work error prevention method
JPH06119021A (en) Operation system for controller
JPH05134778A (en) Information processor with secret protection
WO1997014999A1 (en) Numerical control system
JPH03113674A (en) Design data control system
JPH01146070A (en) Parking area control system
JPH0254355A (en) Programmable controller
JPS6249509A (en) Numerical controller
JP4907319B2 (en) NC machine tool and file saving method in the NC machine tool
JPH04147373A (en) Document processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106