JP5101338B2 - Machine tool, unauthorized transfer notification device, and machine operation restriction method - Google Patents

Machine tool, unauthorized transfer notification device, and machine operation restriction method Download PDF

Info

Publication number
JP5101338B2
JP5101338B2 JP2008048614A JP2008048614A JP5101338B2 JP 5101338 B2 JP5101338 B2 JP 5101338B2 JP 2008048614 A JP2008048614 A JP 2008048614A JP 2008048614 A JP2008048614 A JP 2008048614A JP 5101338 B2 JP5101338 B2 JP 5101338B2
Authority
JP
Japan
Prior art keywords
machine tool
relocation
predetermined time
reached
time condition
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.)
Active
Application number
JP2008048614A
Other languages
Japanese (ja)
Other versions
JP2009205545A (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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics Co 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 Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP2008048614A priority Critical patent/JP5101338B2/en
Publication of JP2009205545A publication Critical patent/JP2009205545A/en
Application granted granted Critical
Publication of JP5101338B2 publication Critical patent/JP5101338B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、工作機械、不正移設通知装置および機械動作制限方法に関する。   The present invention relates to a machine tool, an unauthorized transfer notification device, and a machine operation restriction method.

精密部品の製造等に用いられる工作機械は、その性能に鑑み、法律や契約によって移設(例えば、第三者への移転や国外への移設。)が制限あるいは禁止される場合がある。
機械の不正な移転に対抗するための技術として、GPSモジュールを用いて移転制約機器の現在位置を検出する位置検出手段と、当該現在位置が、予め設定した移転許容範囲から外れたか、又は、予め設定した移転禁止範囲に入ったか否かを判別し、移転許容範囲から外れた場合又は移転禁止範囲に入った場合に、移転制約機器を動作不能とする不正移転防止手段とを備えた移転制約機器が知られている(特許文献1参照。)。
In view of the performance of machine tools used for manufacturing precision parts, relocation (for example, relocation to a third party or relocation outside the country) may be restricted or prohibited by law or contract.
As a technique for countering unauthorized transfer of the machine, a position detecting means for detecting the current position of the transfer restriction device using a GPS module, and the current position is out of a preset transfer allowable range, or in advance Transfer restriction device equipped with a means to prevent unauthorized transfer that makes it impossible to operate the transfer restriction device when it is outside the transfer allowance range or when it is outside the transfer allowance range. Is known (see Patent Document 1).

また、機器に加えられた振動を検出する振動検出手段と、前記振動の有無を振動履歴として記憶する振動履歴記憶手段と、振動履歴記憶手段が振動履歴を記憶している場合に前記機器の起動を禁止する起動禁止手段と、予め設定された条件下で前記起動禁止手段による起動の禁止を解除する起動禁止解除手段とを有する振動検出装置が知られている(特許文献2参照。)。
特開2005‐44162号公報 特開2003‐35595号公報
Also, vibration detection means for detecting vibration applied to the device, vibration history storage means for storing the presence / absence of vibration as vibration history, and activation of the device when the vibration history storage means stores vibration history There is known a vibration detecting device including a start prohibiting unit for prohibiting start and a start prohibition canceling unit for canceling the prohibition of starting by the start prohibiting unit under a preset condition (see Patent Document 2).
JP 2005-44162 A JP 2003-35595 A

上記文献では、機械の移転や振動を検知した場合に機械の動作を不能とする。しかし、移転や振動を検知した場合に直ちに機械を動作不能としてしまうと、機械の正当なユーザ(以下、単にユーザと呼ぶ。)にとって不都合が多い。例えば、ユーザの別工場への移設や工場内の移設など、実質的に問題とならない範囲内で機器を移設した場合にも、当該移設が検知されて機械の使用が直ちに不能となり得る。この場合ユーザは、機械のメーカ等に、機械を再起動させるためのパスワードの発行を求める連絡をしたり、機械を再起動させるためにサービスマンの派遣を当該メーカ等に要請したりする必要がある。   In the above document, the operation of the machine is disabled when the transfer or vibration of the machine is detected. However, if a machine is immediately made inoperable when a transfer or vibration is detected, there are many inconveniences for a legitimate user of the machine (hereinafter simply referred to as a user). For example, even when a device is relocated within a range that does not substantially cause a problem, such as relocation of a user to another factory or relocation within the factory, the relocation is detected and the use of the machine can be immediately disabled. In this case, the user needs to contact the machine manufacturer, etc., to issue a password for restarting the machine, or to request the manufacturer to dispatch a service person to restart the machine. is there.

このように機械の移設に起因して機械が突然動作不能になると、ユーザは、上記パスワードを取得したりサービスマンを呼んだりして機械を再起動させるまでは、全く機械を使用できず、日常の業務に大きな支障が生じていた。特に、上記メーカと時差のある地域のユーザが所有する機械が動作不能となると、機械を再起動するまでにより多くの時間が必要となり、業務の中断によるユーザの損失も大きかった。   If the machine suddenly becomes inoperable due to the relocation of the machine in this way, the user cannot use the machine at all until the user obtains the password or calls a service person to restart the machine. There was a big hindrance to the work. In particular, when a machine owned by a user in an area with a time difference from the manufacturer becomes inoperable, more time is required until the machine is restarted, and the loss of the user due to interruption of work is large.

本発明は上記課題に鑑みてなされたもので、機械の不正な移設の抑止効果と、機械のユーザの不利益防止とを両立することの可能な工作機械、不正移設通知装置および機械動作制限方法を提供することを目的とする。   The present invention has been made in view of the above problems, and can provide a machine tool, an unauthorized transfer notification device, and a machine operation restriction method capable of achieving both an effect of preventing unauthorized transfer of a machine and prevention of a disadvantage of a machine user. The purpose is to provide.

上記目的を達成するために、本発明の工作機械は、工作機械の移設を検知する移設検知手段と、上記移設検知手段によって移設が検知されてから所定の時間条件に達したか否か判断する判断手段と、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間は上記工作機械の動作を許容し、上記判断手段によって上記所定の時間条件に達したと判断された場合に上記工作機械の動作を制限する動作制限手段とを備える構成としてある。
本発明によれば、工作機械の移設が検知されてから所定の時間条件に達した後に、工作機械の動作が制限される。そのため、工作機械の移設の検知後直ちに機械が動作不能となることが無く、ユーザの業務に支障が出ることを防止できる。一方、上記所定の時間条件に達した後には工作機械の動作が制限される。そのため、工作機械が不正に第三者や国外に渡った場合、当該工作機械を不正に受け取った者は実質的に工作機械を使用することが出来なくなる。
In order to achieve the above object, the machine tool of the present invention determines whether or not a predetermined time condition has been reached after the relocation detection means for detecting relocation of the machine tool and the relocation detection means detects the relocation. The operation of the machine tool is permitted until the predetermined time condition is reached by the determination means after the relocation detection is detected by the determination means and the relocation detection means, and the predetermined determination is performed by the determination means. The operation restriction means for restricting the operation of the machine tool when it is determined that the time condition has been reached.
According to the present invention, the operation of the machine tool is limited after a predetermined time condition has been reached after the relocation of the machine tool is detected. Therefore, the machine does not become inoperable immediately after the detection of the relocation of the machine tool, and it is possible to prevent the user's business from being hindered. On the other hand, after reaching the predetermined time condition, the operation of the machine tool is limited. For this reason, when a machine tool is illegally transferred to a third party or abroad, a person who has illegally received the machine tool cannot substantially use the machine tool.

工作機械は、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間に外部から所定の指示を受付けた場合には、上記動作制限手段による上記動作の制限を禁止し、上記動作制限手段によって上記動作が制限されている期間に上記所定の指示を受付けた場合には、当該動作の制限を解除する制限禁止手段を備えるとしてもよい。当該構成によれば、ユーザは、工作機械の移設が検知されてから上記所定の時間条件に達するまでの間に上記所定の指示を工作機械に入力することにより、以降も工作機械の動作が制限されない状態で工作機械を使用し続けることができる。またユーザは、工作機械の動作の制限がなされた後であっても、上記所定の指示を工作機械に入力することにより、工作機械の動作の制限を解除することができる。 When the machine tool receives a predetermined instruction from the outside between the time when the relocation detection means detects the relocation and the time when the determination means determines that the predetermined time condition has been reached, the machine tool A restriction prohibiting unit that prohibits the restriction of the operation when the predetermined instruction is accepted during a period in which the operation is restricted by the operation restricting unit. . According to this configuration, the user can restrict the operation of the machine tool thereafter by inputting the predetermined instruction to the machine tool after the detection of the transfer of the machine tool until the predetermined time condition is reached. You can continue to use the machine tool without being done. Further, even after the operation of the machine tool is restricted, the user can release the restriction of the operation of the machine tool by inputting the predetermined instruction to the machine tool.

工作機械は、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間、所定の警告を外部に対して行う警告手段を備えるとしてもよい。当該構成によれば、ユーザは上記警告を認識することにより、上記所定の指示を工作機械に入力することができる。 The machine tool may include a warning unit that performs a predetermined warning to the outside from when the transfer is detected by the transfer detection unit to when the determination unit determines that the predetermined time condition has been reached. Good. According to this configuration, the user can input the predetermined instruction to the machine tool by recognizing the warning.

上記判断手段は、上記工作機械における通電時間の計測を行うとともに、上記移設検知手段によって移設が検知されてからの当該通電時間が所定の期間を超えた場合に、上記所定の時間条件に達したと判断するとしてもよい。当該構成によれば、少なくとも工作機械の移設が検知されてからの工作機械の通電時間が上記所定の期間を超えるまでは、工作機械の動作が制限されることはない。 The determination means measures the energization time in the machine tool and reaches the predetermined time condition when the energization time after the relocation detection means detects the relocation is longer than a predetermined period. It may be judged. According to this configuration, the operation of the machine tool is not limited until at least the energization time of the machine tool after the relocation of the machine tool is detected exceeds the predetermined period.

上記工作機械は、工作機械に対する数値制御を行う数値制御装置(NC装置)を備えるとしてもよい。そして上記判断手段は、上記数値制御装置から独立して上記所定の時間条件に達したか否かの判断をするとともに、上記動作制限手段は、上記数値制御装置に数値制御の実行を禁止させることにより工作機械の動作を制限するとしてもよい。当該構成によれば、上記判断手段は数値制御装置から独立しているため、数値制御手段に対する不正な操作や改ざんがなされた場合であっても、上記所定の時間条件に達したか否かを正確に判断することができる。また、判断手段によって上記所定の時間条件に達したと判断された場合には、動作制御手段が数値制御装置に数値制御の実行を禁止させるため、確実に工作機械の動作を制限することができる。 The machine tool may include a numerical control device (NC device) that performs numerical control on the machine tool. The determination means determines whether or not the predetermined time condition has been reached independently of the numerical control device, and the operation restriction means prohibits the numerical control device from performing numerical control. May limit the operation of the machine tool. According to this configuration, since the determination unit is independent of the numerical control device, it is determined whether or not the predetermined time condition has been reached even if the numerical control unit is illegally operated or altered. It can be judged accurately. In addition, when it is determined by the determination means that the predetermined time condition has been reached, the operation control means prohibits the numerical control device from performing the numerical control, so that the operation of the machine tool can be reliably restricted. .

本発明にかかる技術的思想は、上記工作機械とは別の装置としても実現することができる。例えば、監視対象の機械の移設を検知する移設検知手段と、上記移設検知手段によって移設が検知されてから所定の時間条件に達したか否か判断する判断手段と、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間と上記判断手段によって上記所定の時間条件に達したと判断された場合とで異なる信号を出力し、または、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間と上記判断手段によって上記所定の時間条件に達したと判断された場合との一方のみ所定の信号を出力する信号出力手段とを備える不正移設通知装置の発明を把握することが可能である。不正移設通知装置は、例えば、工作機械に搭載され、上述のように信号を工作機械に対して出力する。また、不正移設通知装置と工作機械とからなるシステムの発明も把握することが可能である。 The technical idea according to the present invention can be realized as an apparatus different from the machine tool. For example, relocation detection means for detecting relocation of a monitored machine, determination means for determining whether or not a predetermined time condition has been reached after the relocation detection means detects the relocation, and relocation detection means for relocation. after being detected by the determination means outputs different signals between when it is determined to have reached the predetermined time condition by between and the determination means until it is judged to have reached the predetermined time condition, or A period from when the relocation detection means detects the relocation until the determination means determines that the predetermined time condition has been reached, and when the determination means determines that the predetermined time condition has been reached; It is possible to grasp the invention of the unauthorized transfer notification device provided with signal output means for outputting a predetermined signal to only one of the two. The unauthorized transfer notification device is mounted on a machine tool, for example, and outputs a signal to the machine tool as described above. It is also possible to grasp the invention of a system composed of an unauthorized transfer notification device and a machine tool.

さらに、監視対象の機械の移設を検知する移設検知工程と、上記移設検知工程において移設が検知されてから所定の時間条件に達したか否か判断する判断工程と、上記移設検知工程において移設が検知されてから上記判断工程において上記所定の時間条件に達したと判断されるまでの間は上記機械の動作を許容し、上記判断工程において上記所定の時間条件に達したと判断された場合に、上記機械に当該機械の動作を制限させる動作制限工程とを備えることを特徴とする機械動作制限方法の発明も把握することができる。また、上述した工作機械や不正移設通知装置が備える各手段に対応した工程を備えた方法の発明や、上述した工作機械や不正移設通知装置が備える各手段に対応した機能をコンピュータに実行させるプログラムの発明も把握可能である。 Furthermore, a relocation detection step for detecting the relocation of the monitored machine, a determination step for determining whether or not a predetermined time condition has been reached after the relocation is detected in the relocation detection step, and a relocation in the relocation detection step. If the period from being detected until it is determined to have reached the predetermined time condition in the decision process will allow operation of the machine, it is determined to have reached the predetermined time condition in the judgment step An invention of a machine operation restriction method comprising the operation restriction step of restricting the operation of the machine to the machine can also be grasped. In addition, the invention of a method including a process corresponding to each unit included in the machine tool and the unauthorized transfer notification device described above, and a program for causing a computer to execute a function corresponding to each unit included in the machine tool and the unauthorized transfer notification device described above This invention can also be grasped.

本発明の実施形態を、以下の順序に従って説明する。
1.工作機械の概略
2.工作機械による処理
2‐1.移設の判断処理および起動処理
2‐2.解除処理
3.他の実施例
Embodiments of the present invention will be described in the following order.
1. Outline of machine tool Processing by machine tool 2-1. Relocation determination process and start-up process 2-2. Release processing Other examples

1.工作機械の概略
図1(a)は、本実施形態にかかる工作機械30の外観の一例を、背面側から斜視図により示している。図1(b)は工作機械30の一部を垂直断面で示している。
工作機械30は、精密部品の製造・加工を行なう旋盤である。図1では図示を省略しているが、工作機械30は、筺体31内部に工作機械30の本体部10を備える。本体部10は、後述するNC(Numerical control)装置11や加工部12等からなる。また工作機械30は、不正移設通知装置20を備える。不正移設通知装置20は、本体部10とは別体の筐体28内に収容されている。図1の例では、工作機械30は筺体28を背面板31aの内側に取り付けている。ただし、工作機械30における筺体28の設置位置は限られない。不正移設通知装置20は、工作機械30に搭載された状態のみならず、それ自体で一つの製品として流通の対象となり得る。
1. Outline of Machine Tool FIG. 1A is a perspective view showing an example of the appearance of a machine tool 30 according to this embodiment from the back side. FIG. 1B shows a part of the machine tool 30 in a vertical section.
The machine tool 30 is a lathe that manufactures and processes precision parts. Although not shown in FIG. 1, the machine tool 30 includes the main body 10 of the machine tool 30 inside the housing 31. The main body 10 includes an NC (Numerical Control) device 11 and a processing unit 12 which will be described later. The machine tool 30 includes an unauthorized transfer notification device 20. The unauthorized transfer notification device 20 is housed in a housing 28 that is separate from the main body 10. In the example of FIG. 1, the machine tool 30 has a housing 28 attached to the inner side of the back plate 31a. However, the installation position of the housing 28 in the machine tool 30 is not limited. The unauthorized transfer notification device 20 can be distributed as a single product as well as being mounted on the machine tool 30.

図2は、工作機械30内部の概略構成をブロック図により示している。
本体部10は、NC装置11、加工部12、電源供給部13、表示部14、入力受付部15、各部を通信可能に接続するバス16等を備える。NC装置11はコンピュータであり、CPU11a、ROM11c、RAM11b、入出力部I/O11d等を備える。NC装置11では、CPU11aが、ROM11cに予め保存されたOSや各種プログラムを、RAM11bをワークエリアとして使用しながら実行する。NC装置11に電力が供給された場合、CPU11aは、OS(Operating System)を立ち上げる等の所定の初期処理を行なう。そしてCPU11aは、不正移設通知装置20からの指示に応じて加工プログラムPをRAM11bにおいて起動し、加工プログラムPに従った数値制御を行なう。NC装置11(CPU11a)は、数値制御によって、加工部12に1サイクル単位の加工動作を繰り返し実行させる。
FIG. 2 is a block diagram showing a schematic configuration inside the machine tool 30.
The main body unit 10 includes an NC device 11, a processing unit 12, a power supply unit 13, a display unit 14, an input receiving unit 15, a bus 16 that connects the respective units so as to communicate with each other. The NC device 11 is a computer and includes a CPU 11a, a ROM 11c, a RAM 11b, an input / output unit I / O 11d, and the like. In the NC device 11, the CPU 11a executes an OS and various programs stored in advance in the ROM 11c while using the RAM 11b as a work area. When power is supplied to the NC device 11, the CPU 11a performs predetermined initial processing such as starting up an OS (Operating System). Then, the CPU 11a activates the machining program P in the RAM 11b in accordance with an instruction from the unauthorized transfer notification device 20, and performs numerical control according to the machining program P. The NC device 11 (CPU 11a) causes the machining unit 12 to repeatedly perform machining operations in units of one cycle by numerical control.

加工部12は、NC装置11によって位置や動作が数値制御される機構の総称である。加工部12は、例えば、加工対象の素材(ワーク)を把持した状態で回転可能な主軸や、主軸の先端においてワークを把持するコレットや、ワークに作用してワークを加工する工具を備える工具台を始めとして、各種機械やアクチュエータを含む。加工部12は、上記1サイクルの加工動作を繰り返すことにより、精密部品を繰り返し製造する。   The processing unit 12 is a generic name for mechanisms whose position and operation are numerically controlled by the NC device 11. The processing unit 12 includes, for example, a spindle that is rotatable while holding a material (workpiece) to be processed, a collet that grips the workpiece at the tip of the spindle, and a tool base that includes a tool that works on the workpiece to process the workpiece. Including various machines and actuators. The processing unit 12 repeatedly manufactures precision parts by repeating the above-described one cycle processing operation.

入力受付部15は、NC装置11のユーザインターフェースであり、例えば、ユーザが操作可能なボタン類や表示部14の画面上に設けられたタッチパネル等からなる。表示部14は、ユーザが入力受付部15を介して入力した各種数値や設定の内容や、工作機械30に関する各種情報を表示するディスプレイである。表示部15における表示内容は、NC装置11によって制御される。   The input reception unit 15 is a user interface of the NC device 11 and includes, for example, buttons that can be operated by the user, a touch panel provided on the screen of the display unit 14, and the like. The display unit 14 is a display that displays various numerical values and setting contents input by the user via the input receiving unit 15 and various information regarding the machine tool 30. The display content on the display unit 15 is controlled by the NC device 11.

電源供給部13は、工作機械30外部の電源から電力の供給を受ける。電源供給部13は、工作機械30の電源オン/オフを切替えるための電源スイッチ13aを備える。電源供給部13は、外部からの操作によって電源スイッチ13aがオンに切替えられた場合に、上記供給された電力を、NC装置11や、加工部12や、表示部14や、不正移設通知装置20等、工作機械30の各構成に供給する。   The power supply unit 13 is supplied with power from a power supply outside the machine tool 30. The power supply unit 13 includes a power switch 13 a for switching power on / off of the machine tool 30. When the power switch 13a is turned on by an external operation, the power supply unit 13 sends the supplied power to the NC device 11, the processing unit 12, the display unit 14, and the unauthorized transfer notification device 20 Etc., to each component of the machine tool 30.

不正移設通知装置20は、マイクロコンピュータ(以下、マイコンと略す。)21、検知回路22、不揮発性メモリ23、タイマ24、入出力部I/O25、電源入力部26、各部を通信可能に接続するバス27等を備える。マイコン21は、CPU21a、ROM21b、RAM21cを備える。マイコン21では、CPU21aが、ROM21bに予め保存された所定のプログラムを、RAM21cをワークエリアとして使用しながら実行することにより、移設判断部21a1、経過判断部21a2、通電時間計測部21a3などの各機能を実現する。   The unauthorized transfer notification device 20 connects a microcomputer (hereinafter abbreviated as a microcomputer) 21, a detection circuit 22, a non-volatile memory 23, a timer 24, an input / output unit I / O 25, a power input unit 26, and each unit so that they can communicate. A bus 27 and the like are provided. The microcomputer 21 includes a CPU 21a, a ROM 21b, and a RAM 21c. In the microcomputer 21, the CPU 21a executes a predetermined program stored in advance in the ROM 21b while using the RAM 21c as a work area, so that each function such as the transfer determination unit 21a1, the progress determination unit 21a2, the energization time measurement unit 21a3, and the like. To realize.

検知回路22は、不正移設通知装置20による監視対象の機械(工作機械30)の移設の有無の判断に用いられる情報を検知するための回路である。検知回路22は、例えば、磁界状態検知回路である。この場合、検知回路22は、工作機械30の設置場所における磁界状態を検知する。検知回路22はいわゆる3軸地磁気センサを有し、互いに直交する所定の3軸方向(X,Y,Z方向)の磁束密度Bx,By,Bz(μT)を検知することが可能である。この磁束密度Bx,By,Bzが検知対象の磁界状態であり、検知回路22は、磁界状態を正規化等して電圧値に変換した上で、バス27を介して不揮発性メモリ23やマイコン21に出力することができる。以下では、検知回路22が出力する電圧値を適宜、磁界状態値と呼ぶ。なお、検知対象の磁界状態は、磁束密度Bx,By,Bzの一部のみでもよいし、Bx,By,Bzの内の二以上の磁束密度から求められる方位(磁界の向き)、磁界の強さH(A/m)、等でもよい。   The detection circuit 22 is a circuit for detecting information used by the unauthorized transfer notification device 20 to determine whether or not the monitored machine (machine tool 30) has been transferred. The detection circuit 22 is, for example, a magnetic field state detection circuit. In this case, the detection circuit 22 detects the magnetic field state at the installation location of the machine tool 30. The detection circuit 22 has a so-called triaxial geomagnetic sensor, and can detect magnetic flux densities Bx, By, Bz (μT) in predetermined triaxial directions (X, Y, Z directions) orthogonal to each other. These magnetic flux densities Bx, By, Bz are the magnetic field states to be detected. The detection circuit 22 normalizes the magnetic field state and converts it into a voltage value, and then converts the voltage value to the nonvolatile memory 23 and the microcomputer 21 via the bus 27. Can be output. Hereinafter, the voltage value output by the detection circuit 22 is appropriately referred to as a magnetic field state value. The magnetic field state to be detected may be only a part of the magnetic flux densities Bx, By, Bz, or the direction (magnetic field direction) obtained from two or more magnetic flux densities of Bx, By, Bz, and the strength of the magnetic field. H (A / m) may be used.

不揮発性メモリ23には、検知回路22から得られた磁界状態値の他、通電時間計測部21a3による通電時間の計測結果(通電時間Ts)や、工作機械30の移設が検知された時刻を示す検知時刻Tm等が記録される。不揮発性メモリ23に記録されている磁界状態値を適宜、基準値Rと呼ぶ。タイマ24は、例えばCPU21aが出力するクロック信号を累積することにより時刻を計測する。電源入力部26は、電源供給部13から供給された電力を、マイコン21を始めとして不正移設通知装置20の各部に供給する回路である。本体部10のNC装置11と、不正移設通知装置20のマイコン21とは、入出力部I/O11dと入出力部I/O25とを介して信号のやり取りを行なうことができる。   In addition to the magnetic field state value obtained from the detection circuit 22, the nonvolatile memory 23 indicates the measurement result of the energization time (energization time Ts) by the energization time measurement unit 21 a 3 and the time when the transfer of the machine tool 30 is detected. Detection time Tm and the like are recorded. The magnetic field state value recorded in the non-volatile memory 23 is appropriately referred to as a reference value R. The timer 24 measures time by accumulating clock signals output from the CPU 21a, for example. The power input unit 26 is a circuit that supplies the power supplied from the power supply unit 13 to each unit of the unauthorized transfer notification device 20 including the microcomputer 21. The NC device 11 of the main body unit 10 and the microcomputer 21 of the unauthorized transfer notification device 20 can exchange signals via the input / output unit I / O 11d and the input / output unit I / O 25.

2.工作機械による処理
2‐1.移設の判断処理および起動処理
工作機械30構成の下、本実施形態で実行する処理について説明する。
図3は、工作機械30の移設の判断処理および起動処理をフローチャートにより示している。図3では、左側にNC装置11が実行する処理を、右側に不正移設通知装置20(マイコン21)が実行する処理をそれぞれ示している。
2. Processing by machine tool 2-1. Transfer Judgment Processing and Start-Up Processing Processing executed in this embodiment under the machine tool 30 configuration will be described.
FIG. 3 is a flowchart showing the determination process and activation process for moving the machine tool 30. In FIG. 3, the process executed by the NC device 11 is shown on the left side, and the process executed by the unauthorized transfer notification device 20 (microcomputer 21) is shown on the right side.

NC装置11は、ステップS(以下、ステップの表記を省略する。)100において、マイコン21に対し、工作機械30の移設の判断処理の実行を指示する。NC装置11は、電源スイッチ13aがオンに切替えられ電源供給部13から電源供給が開始された場合、加工プログラムPの起動に先立ってS100の処理を行なう。当該S100では、NC装置11は、移設の判断処理の実行を指示する所定の信号(移設判断指示信号)を生成し、移設判断指示信号を、入出力部I/O11dを介してマイコン21に送信する。   In step S (hereinafter, step notation is omitted) 100, the NC device 11 instructs the microcomputer 21 to execute determination processing for moving the machine tool 30. When the power switch 13a is turned on and power supply from the power supply unit 13 is started, the NC device 11 performs the process of S100 prior to starting the machining program P. In S100, the NC device 11 generates a predetermined signal (transfer determination instruction signal) for instructing execution of the transfer determination process, and transmits the transfer determination instruction signal to the microcomputer 21 via the input / output unit I / O 11d. To do.

マイコン21は、S200において移設判断指示信号を入出力部I/O25を介して受信する。
S210において、マイコン21は、移設の判断処理を実行する。上記S100が実行された時点で、電源供給部13から不正移設通知装置20への電源供給も開始されているため、マイコン21はS200以降の処理を実行可能である。マイコン21は、工作機械30の移設があったと判断した場合(工作機械30の移設を検知した場合)にはS220に進み、工作機械30の移設が無かったと判断した場合(工作機械30の移設を検知できなかった場合)にはS240に進む。
The microcomputer 21 receives the relocation determination instruction signal via the input / output unit I / O 25 in S200.
In S210, the microcomputer 21 executes a relocation determination process. Since the power supply from the power supply unit 13 to the unauthorized transfer notification device 20 is started when S100 is executed, the microcomputer 21 can execute the processes after S200. If the microcomputer 21 determines that the machine tool 30 has been transferred (when the transfer of the machine tool 30 is detected), the microcomputer 21 proceeds to S220, and if it determines that the machine tool 30 has not been transferred (transfers the machine tool 30). If not detected), the process proceeds to S240.

図4は、S210の詳細の一例を、フローチャートにより示している。S210の処理は、主に移設判断部21a1によって実現される。
S211では、移設判断部21a1は、不揮発性メモリ23に既に検知時刻Tmが記録されているか否か判断する。
図5は、工作機械30の電源がオン(ON)である期間とオフ(OFF)である期間とが繰り返されている様子を示している。図5では横軸を時間tとしている。S210の処理を実行する現時刻tn(基本的には、電源をオンにした直後のタイミング。)よりも過去の時刻tp(基本的には、過去に電源をオンにした直後のタイミング。)において、工作機械30の移設が検知されている場合もあり得る。そして、時刻tp以後、現在までに、後述する解除処理がなされていない場合には、現在も時刻tpが検知時刻Tmとして不揮発性メモリ23に記録されている可能性がある。
FIG. 4 is a flowchart illustrating an example of details of S210. The process of S210 is mainly realized by the relocation determination unit 21a1.
In S211, the relocation determining unit 21a1 determines whether or not the detection time Tm is already recorded in the nonvolatile memory 23.
FIG. 5 shows a state in which a period in which the power of the machine tool 30 is on (ON) and a period in which the power is off (OFF) are repeated. In FIG. 5, the horizontal axis is time t. At a time tp past (basically, a timing immediately after turning on the power in the past) from a current time tn (basically immediately after turning on the power) at which the processing of S210 is executed. In some cases, the relocation of the machine tool 30 may be detected. Then, after the time tp, when the release processing described later has not been performed so far, the time tp may still be recorded in the nonvolatile memory 23 as the detection time Tm.

移設判断部21a1は、不揮発性メモリ23に検知時刻Tmが記録されていない場合にはS212に進む。
S212では、移設判断部21a1は、検知回路22に指示し、現在の磁界状態を検知させるとともに、当該検知の結果にかかる磁界状態値を検知回路22から取得する。
S213では、移設判断部21a1は、不揮発性メモリ23に記録されている基準値Rを不揮発性メモリ23から読み出す。基準値Rは、過去において工作機械30が電源オン状態であった期間に、検知回路22によって検知された磁界状態値である。不正移設通知装置20は基準値Rを適宜更新している。基準値Rの更新方法については後述する。
If the detection time Tm is not recorded in the nonvolatile memory 23, the relocation determining unit 21a1 proceeds to S212.
In S212, the relocation determination unit 21a1 instructs the detection circuit 22 to detect the current magnetic field state, and acquires the magnetic field state value related to the detection result from the detection circuit 22.
In S <b> 213, the relocation determination unit 21 a 1 reads the reference value R recorded in the nonvolatile memory 23 from the nonvolatile memory 23. The reference value R is a magnetic field state value detected by the detection circuit 22 during a period when the machine tool 30 is in a power-on state in the past. The unauthorized transfer notification device 20 updates the reference value R as appropriate. A method for updating the reference value R will be described later.

S214では、移設判断部21a1は、上記S212で取得した磁界状態値と上記S213で読み出した基準値Rとを比較し、両値の差異が所定のしきい値Thを超えているか否か判断する。移設判断部21a1は、当該差異がしきい値Thを超えている場合には工作機械30の移設の検知に成功したものと判断し、S215に進む。つまり、工作機械30の電源をオンにした際の磁界状態値と、過去に電源がオンであったときの磁界状態値(基準値R)との間にある程度の差異が生じている場合には、工作機械30に移動や回転があった(移設があった)と見なすことができる。   In S214, the relocation determining unit 21a1 compares the magnetic field state value acquired in S212 with the reference value R read in S213, and determines whether or not the difference between both values exceeds a predetermined threshold Th. . If the difference exceeds the threshold Th, the relocation determination unit 21a1 determines that the detection of relocation of the machine tool 30 has been successful, and the process proceeds to S215. That is, when there is a certain difference between the magnetic field state value when the power of the machine tool 30 is turned on and the magnetic field state value (reference value R) when the power is turned on in the past. It can be considered that the machine tool 30 has moved or rotated (has been moved).

S215では、移設判断部21a1は、現在の時刻(≒tn)を検知時刻Tmとして不揮発性メモリ23に記録する。記録する時刻はタイマ24が示す時刻を用いる。
S215の後、移設判断部21a1はS220(図3)に進む。なお、S211において、不揮発性メモリ23に検知時刻Tmが記録されていると判断した場合、移設判断部21a1は工作機械30の移設があったと判断し、S212〜S215をスキップしてS220に進む。
S214で上記差異がしきい値Thを超えないと判断した場合には、移設判断部21a1は、工作機械30の移設は検知できなかったと判断し、S240(図3)に進む。上記しきい値Thのデータは、ROM21bや不揮発性メモリ23等、不正移設通知装置20が備える所定のメモリに予め保存されているものとする。
移設判断部21a1および検知回路22は、移設検知手段の一例に該当する。
In S215, the relocation determination unit 21a1 records the current time (≈tn) in the nonvolatile memory 23 as the detection time Tm. The time indicated by the timer 24 is used as the recording time.
After S215, the relocation determining unit 21a1 proceeds to S220 (FIG. 3). If it is determined in S211 that the detection time Tm is recorded in the nonvolatile memory 23, the relocation determining unit 21a1 determines that the machine tool 30 has been relocated, skips S212 to S215, and proceeds to S220.
If it is determined in S214 that the difference does not exceed the threshold value Th, the relocation determining unit 21a1 determines that relocation of the machine tool 30 has not been detected, and the process proceeds to S240 (FIG. 3). It is assumed that the data of the threshold value Th is stored in advance in a predetermined memory provided in the unauthorized transfer notification device 20, such as the ROM 21b and the nonvolatile memory 23.
The relocation determination unit 21a1 and the detection circuit 22 correspond to an example of relocation detection means.

S220では、マイコン21の経過判断部21a2が、不揮発性メモリ23に記録されている検知時刻Tmを基準として所定の条件を満たしたか否かを判断する。具体的には、経過判断部21a2は、検知時刻Tm以後の工作機械30(不正移設通知装置20)の通電時間が、予め定められた警告期間Twを超えたか否かの判断を行なう。ここで、通電時間計測部21a3は、電源入力部26を介して不正移設通知装置20に電力が供給されている時間(工作機械30(不正移設通知装置20)が通電している期間)のそれまでの合計を、タイマ24が示す時刻に基づいて常に計測している。また通電時間計測部21a3は、各時刻における計測結果を、時刻と対応付けて随時不揮発性メモリ23に書き込んでいる。このように書き込まれる計測結果が上記通電時間Tsである。   In S220, the progress determination unit 21a2 of the microcomputer 21 determines whether or not a predetermined condition is satisfied based on the detection time Tm recorded in the nonvolatile memory 23. Specifically, the progress determination unit 21a2 determines whether or not the energization time of the machine tool 30 (illegal transfer notification device 20) after the detection time Tm has exceeded a predetermined warning period Tw. Here, the energization time measurement unit 21a3 is the time during which power is supplied to the unauthorized transfer notification device 20 via the power input unit 26 (period during which the machine tool 30 (illegal transfer notification device 20) is energized). Is constantly measured based on the time indicated by the timer 24. In addition, the energization time measurement unit 21a3 writes the measurement result at each time in the nonvolatile memory 23 at any time in association with the time. The measurement result written in this way is the energization time Ts.

そこで上記S220では、経過判断部21a2は、不揮発性メモリ23を参照し最新の通電時間Tsと検知時刻Tmに対応する通電時間Tsとの差分を算出する。当該差分が、検知時刻Tm以後の工作機械30(不正移設通知装置20)の通電時間である。
図6に示すように、検知時刻Tm=tp、現時刻=tn´と仮定すると、tpからtn´までの期間のうち工作機械30の電源がオン状態である期間(図6において斜線を付した期間)が上記差分に相当する。経過判断部21a2は、上記差分が警告期間Twを超えないと判断した場合には、S230に進む。一方、経過判断部21a2が、上記差分は警告期間Twを超えると判断した場合には、マイコン21は図3のフローチャートを終了する。
Therefore, in S220, the progress determination unit 21a2 refers to the nonvolatile memory 23 and calculates the difference between the latest energization time Ts and the energization time Ts corresponding to the detection time Tm. The difference is the energization time of the machine tool 30 (illegal transfer notification device 20) after the detection time Tm.
As shown in FIG. 6, assuming that the detection time Tm = tp and the current time = tn ′, the period during which the power supply of the machine tool 30 is on in the period from tp to tn ′ (hatched in FIG. 6) Period) corresponds to the difference. If the progress determination unit 21a2 determines that the difference does not exceed the warning period Tw, the process proceeds to S230. On the other hand, when the progress determination unit 21a2 determines that the difference exceeds the warning period Tw, the microcomputer 21 ends the flowchart of FIG.

ただし通電時間計測部21a3は、単純に、不揮発性メモリ23に検知時刻Tmが記録されたことを契機として、検知時刻Tm以後に不正移設通知装置20へ電力が供給されている時間を計測してもよい。通電時間計測部21a3は、このように検知時刻Tm以後に不正移設通知装置20へ電力が供給されている時間を計測し続けるとともに、計測結果を通電時間Tsとして随時不揮発性メモリ23に上書き保存するとしてもよい。このように不揮発性メモリ23に、通電時間Tsが随時上書き保存される場合、上記S220では、経過判断部21a2は、不揮発性メモリ23に保存されている通電時間Tsと上記警告期間Twとを直接比較すればよい。さらに他の手法として、通電時間計測部21a3は、電源入力部26からの電力供給が開始された時刻(開始時刻)および電力供給が停止した時刻(停止時刻)を不揮発性メモリ23に逐一記録するとしてもよい。そして、経過判断部21a2は、当該開始時刻と、停止時刻と、検知時刻Tmと、現在時刻とに基づいて、検知時刻Tm以降の工作機械30(不正移設通知装置20)の通電時間を把握するとしてもよい。経過判断部21a2および通電時間計測部21a3は、判断手段の一例に該当する。   However, the energization time measurement unit 21a3 simply measures the time during which power is supplied to the unauthorized transfer notification device 20 after the detection time Tm, triggered by the detection time Tm being recorded in the nonvolatile memory 23. Also good. The energization time measurement unit 21a3 continues to measure the time during which power is supplied to the unauthorized transfer notification device 20 after the detection time Tm as described above, and overwrites and saves the measurement result as the energization time Ts as needed. It is good. As described above, when the energization time Ts is overwritten and saved in the nonvolatile memory 23 as necessary, the progress determination unit 21a2 directly calculates the energization time Ts and the warning period Tw stored in the nonvolatile memory 23 in S220. Compare. As yet another method, the energization time measurement unit 21a3 records the time when the power supply from the power input unit 26 is started (start time) and the time when the power supply is stopped (stop time) in the nonvolatile memory 23 one by one. It is good. And progress judgment part 21a2 grasps energization time of machine tool 30 (illegal transfer notification device 20) after detection time Tm based on the start time, stop time, detection time Tm, and current time. It is good. The progress determination unit 21a2 and the energization time measurement unit 21a3 correspond to an example of a determination unit.

警告期間Twは、工作機械30の移設が検知された後でも工作機械30の利用をユーザに許容する期間を意味する。警告期間Twは、例えば、数時間、数十時間、あるいは数日といった特定の期間である。警告期間Twを示すデータも、上記しきい値Thのデータと同様に、ROM21bや不揮発性メモリ23等、不正移設通知装置20が備える所定のメモリに予め保存されている。   The warning period Tw means a period during which the user is allowed to use the machine tool 30 even after the relocation of the machine tool 30 is detected. The warning period Tw is a specific period such as several hours, several tens of hours, or several days. Data indicating the warning period Tw is also stored in advance in a predetermined memory included in the unauthorized transfer notification device 20, such as the ROM 21b and the nonvolatile memory 23, similarly to the data of the threshold value Th.

S230では、経過判断部21a2は、警告期間Tw中である旨を示す所定の指示信号(第二許可信号)を生成し、第二許可信号を、入出力部I/O25を介してNC装置11に送信する。S230の後、経過判断部21a2は、S220の判断を繰り返し、警告期間Tw中に限り、第二許可信号をNC装置11に繰り返し出力する(S230)。
S240では、経過判断部21a2は、工作機械30の移設は検知されなかった旨を示す所定の指示信号(第一許可信号)を生成し、第一許可信号を、入出力部I/O25を介してNC装置11に送信する。第一許可信号の送信後、マイコン21は図3のフローチャートを終了する。
In S230, the progress determination unit 21a2 generates a predetermined instruction signal (second permission signal) indicating that the warning period Tw is in progress, and sends the second permission signal to the NC device 11 via the input / output unit I / O 25. Send to. After S230, the progress determination unit 21a2 repeats the determination of S220, and repeatedly outputs the second permission signal to the NC device 11 only during the warning period Tw (S230).
In S240, the progress determination unit 21a2 generates a predetermined instruction signal (first permission signal) indicating that the relocation of the machine tool 30 has not been detected, and the first permission signal is transmitted via the input / output unit I / O 25. To the NC device 11. After transmitting the first permission signal, the microcomputer 21 ends the flowchart of FIG.

NC装置11は、S110において、入出力部I/O11dを介してマイコン21から受信した信号の種別を判定する。NC装置11は、受信した信号の種別が第一許可信号である場合にはS130に進み、受信した信号の種別が第二許可信号である場合にはS140に進む。NC装置11は、S100の処理後(例えば、S100の処理後の一定期間)において、入出力部I/O11dを介して信号を受信できなかったり、或いは入出力部I/O11dを介して第一許可信号および第二許可信号以外の信号を受信した場合には、加工プログラムPを起動することなく(S120)、図3のフローチャートを終了する。つまり工作機械30の動作が制限される。   In S110, the NC device 11 determines the type of signal received from the microcomputer 21 via the input / output unit I / O 11d. The NC device 11 proceeds to S130 when the type of the received signal is the first permission signal, and proceeds to S140 when the type of the received signal is the second permission signal. The NC device 11 cannot receive a signal via the input / output unit I / O 11d after the processing of S100 (for example, for a certain period after the processing of S100), or the first through the input / output unit I / O 11d. When a signal other than the permission signal and the second permission signal is received, the processing program P is not started (S120), and the flowchart of FIG. That is, the operation of the machine tool 30 is limited.

S130では、NC装置11は加工プログラムPを起動し、図3のフローチャートを終了する。つまりS130以降は、NC装置11は加工プログラムPに従って加工部12に対する数値制御を実行する。その結果、加工部12の1サイクルの動作毎に精密部品が繰り返し製造される。   In S130, the NC device 11 starts the machining program P and ends the flowchart of FIG. That is, after S130, the NC device 11 performs numerical control on the machining unit 12 in accordance with the machining program P. As a result, precision parts are repeatedly manufactured for each cycle of the processing unit 12.

S140では、NC装置11は、加工プログラムPを起動する。またS140では、NC装置11は、移設を検知した旨の所定の警告を外部に対して行なう。例えばNC装置11は、表示部14を制御し、表示部14に警告用のメッセージを表示させる。警告用のメッセージとしては、例えば「機械の移設を検知しました。○○時間後に機械を強制停止します。」といったメッセージ(上記○○には、警告期間Twの残り時間が表示される。)や、「ワーニング状態です。パスワードを入力してワーニング状態を解除して下さい。」といったメッセージが考えられる。警告を行なう点で、NC装置11および表示部14は、警告手段の一例に該当する。NC装置11は、表示部14に警告用のメッセージと併せて移設検知IDを表示させるとしてもよい。移設検知IDとは、工作機械30の移設が検知された場合にNC装置11が生成するユニークなIDである。ユーザは、移設検知IDを、後述する解除処理の際に用いることができる。   In S140, the NC device 11 activates the machining program P. In S140, the NC device 11 gives a predetermined warning to the outside that the relocation has been detected. For example, the NC device 11 controls the display unit 14 to display a warning message on the display unit 14. As a warning message, for example, a message such as “Movement has been detected. The machine will be forcibly stopped after XX hours.” (The XX indicates the remaining time of the warning period Tw.) Or a message such as “Warning status. Please enter the password to cancel the warning status”. The NC device 11 and the display unit 14 correspond to an example of a warning unit in that a warning is performed. The NC device 11 may display the relocation detection ID together with the warning message on the display unit 14. The relocation detection ID is a unique ID generated by the NC device 11 when relocation of the machine tool 30 is detected. The user can use the relocation detection ID at the time of release processing described later.

S140の後、S150では、NC装置11は、入出力部I/O11dを介して第二許可信号が継続して受信されているか否かを監視する。NC装置11は、第二許可信号が継続的に(例えば、所定秒数間隔で)受信されている場合には、上記S140後の状態を維持する。一方、NC装置11は、第二許可信号の受信が途絶えた場合(マイコン21がS220において“Yes”の判断をした場合)には、それまで起動していた加工プログラムPを強制的に終了し(S160)、上記警告を終了し、図3のフローチャートを終了する。つまり上記警告期間Twの経過後に、工作機械30の動作が制限される。   After S140, in S150, the NC device 11 monitors whether or not the second permission signal is continuously received via the input / output unit I / O 11d. When the second permission signal is continuously received (for example, at an interval of a predetermined number of seconds), the NC device 11 maintains the state after S140. On the other hand, when the reception of the second permission signal is interrupted (when the microcomputer 21 makes a “Yes” determination in S220), the NC device 11 forcibly ends the machining program P that has been started up to that point. (S160), the warning is terminated, and the flowchart of FIG. 3 is terminated. That is, after the warning period Tw has elapsed, the operation of the machine tool 30 is limited.

ただしマイコン21は、警告期間Twが経過したと判断した場合(S220において“Yes”)に、警告期間Twを経過した旨を示す所定の指示信号(動作制限信号)を生成し、動作制限信号を、入出力部I/O25を介してNC装置11に送信してもよい。すなわちマイコン21は、移設判断指示信号をNC装置11から受信した後、動作制限信号、第一許可信号、第二許可信号のいずれかをNC装置11に対して出力するとしてもよい。この場合NC装置11は、S110において、受信した信号の種別が動作制限信号であると判断した場合にS120に進む。また、NC装置11は、S150において、マイコン21から受信する信号が第二許可信号から動作制限信号に変化したと判断した場合にはS160に進む。また、マイコン21は、移設を検知した場合も警告期間Twを過ぎるまでは第一許可信号を送信し、通電時間の計測を継続して通電時間が警告期間Twを超えた時に動作制限信号を送信するとしてもよい。この場合、NC装置11は、第一許可信号を受信後も入出力部I/O11dを介してマイコン21からの信号を監視し、受信した信号の種別を判定する。そして、動作制限信号の受信に応じて工作機械30の動作を制限する。
このように警告期間Twを経過したか否かで異なる信号をNC装置11にするか、または工作機械30の移設を検知してから警告期間Twが経過するまでの間と警告期間Twを経過した場合との一方のみで所定の信号(第二許可信号または動作制限信号の一方)を送信する点で、マイコン21と入出力部I/O25は信号出力手段の一例に該当すると言える。
However, when the microcomputer 21 determines that the warning period Tw has passed (“Yes” in S220), the microcomputer 21 generates a predetermined instruction signal (operation restriction signal) indicating that the warning period Tw has passed, and outputs the operation restriction signal. Alternatively, the data may be transmitted to the NC device 11 via the input / output unit I / O 25. That is, the microcomputer 21 may output any one of the operation restriction signal, the first permission signal, and the second permission signal to the NC device 11 after receiving the relocation determination instruction signal from the NC device 11. In this case, when the NC device 11 determines in S110 that the type of the received signal is an operation restriction signal, the NC device 11 proceeds to S120. If the NC apparatus 11 determines in S150 that the signal received from the microcomputer 21 has changed from the second permission signal to the operation restriction signal, the process proceeds to S160. Further, the microcomputer 21 transmits the first permission signal until the warning period Tw is passed even when the relocation is detected, and continues the measurement of the energization time and transmits the operation restriction signal when the energization time exceeds the warning period Tw. You may do that. In this case, the NC device 11 monitors the signal from the microcomputer 21 via the input / output unit I / O 11d even after receiving the first permission signal, and determines the type of the received signal. And operation | movement of the machine tool 30 is restrict | limited according to reception of an operation | movement limitation signal.
In this way, a different signal is set to the NC device 11 depending on whether or not the warning period Tw has elapsed, or the warning period Tw has elapsed since the detection of the relocation of the machine tool 30 until the warning period Tw has elapsed. It can be said that the microcomputer 21 and the input / output unit I / O 25 correspond to an example of signal output means in that a predetermined signal (one of the second permission signal and the operation restriction signal) is transmitted only in one of the cases.

このようにマイコン21(経過判断部21a2)は、第一許可信号および第二許可信号を出力しないことにより、あるいは動作制限信号を出力することにより、NC装置11に加工プログラムPを起動させない。また、マイコン21(経過判断部21a2)は、第一許可信号や第二許可信号の出力を中断することにより、あるいは第一許可信号や第二許可信号の出力を中断して動作制限信号を出力することにより、NC装置11に加工プログラムPを終了させる。従って、マイコン21(経過判断部21a2)は、動作制限手段の一例に該当する。   Thus, the microcomputer 21 (progress determination unit 21a2) does not cause the NC device 11 to start the machining program P by not outputting the first permission signal and the second permission signal or by outputting the operation restriction signal. Further, the microcomputer 21 (progress determination unit 21a2) outputs an operation restriction signal by interrupting the output of the first permission signal or the second permission signal or by interrupting the output of the first permission signal or the second permission signal. As a result, the machining program P is terminated in the NC device 11. Therefore, the microcomputer 21 (progress determination unit 21a2) corresponds to an example of an operation limiting unit.

本実施形態では、上記警告がなされず加工プログラムPが起動されている状態を工作機械30の通常稼働状態と呼ぶ。また、上記警告とともに加工プログラムPが起動されている状態を工作機械30のワーニング状態と呼ぶ。また、工作機械30の電源がオン状態となった後加工プログラムPが起動されていない状態(加工プログラムPが強制終了された状態を含む。)を工作機械30のロック状態と呼ぶ。
なお工作機械30をロック状態とした場合にも、NC装置11は、表示部14に、ロック状態であることを示す所定のメッセージ表示を行なわせたり、移設検知IDを表示させたりしてもよい。ロック状態を示すメッセージとしては、例えば「機械の移設を検知しました。機械を停止しています。」といったメッセージや、「ロック状態です。パスワードを入力してロック状態を解除して下さい。」といったメッセージが考えられる。
In the present embodiment, a state where the above warning is not issued and the machining program P is activated is referred to as a normal operating state of the machine tool 30. The state where the machining program P is activated together with the warning is referred to as a warning state of the machine tool 30. A state in which the machining program P is not started after the machine tool 30 is turned on (including a state in which the machining program P is forcibly terminated) is referred to as a locked state of the machine tool 30.
Even when the machine tool 30 is in the locked state, the NC apparatus 11 may cause the display unit 14 to display a predetermined message indicating that the machine tool 30 is in the locked state, or display the relocation detection ID. . Examples of messages indicating the lock status include a message such as "Movement has been detected. The machine has been stopped." Or "Lock status. Enter the password to release the lock status." Message is possible.

2‐2.解除処理
次に、工作機械30のワーニング状態またはロック状態を解除して通常稼働状態に移行させるための処理について説明する。
図7は、ワーニング状態またはロック状態の解除処理をフローチャートにより示している。図7では、左側にNC装置11が実行する処理を、右側に不正移設通知装置20(マイコン21)が実行する処理をそれぞれ示している。
S300では、NC装置11は外部からパスワードの入力を受付ける。つまり、ユーザが入力受付部15を介してNC装置11にパスワードを入力し、NC装置11が入力されたパスワードを取得する。パスワードは、特許請求の範囲に言う所定の指示の一例である。
2-2. Release Process Next, a process for releasing the warning state or the locked state of the machine tool 30 and shifting to the normal operation state will be described.
FIG. 7 is a flowchart showing the warning state or lock state release processing. In FIG. 7, the process executed by the NC device 11 is shown on the left side, and the process executed by the unauthorized transfer notification device 20 (microcomputer 21) is shown on the right side.
In S300, the NC device 11 accepts an input of a password from the outside. That is, the user inputs a password to the NC device 11 via the input receiving unit 15, and the NC device 11 acquires the input password. The password is an example of a predetermined instruction in the claims.

ユーザがパスワードを入手する方法は様々である。例えばユーザは、所定の通信機器を用いた通信によって、工作機械30のメーカ等(パスワード発行元と呼ぶ。)にパスワードの発行を要求し、パスワード発行元からパスワードを受信する。ユーザは、パスワード発行元に上記要求を行なう際、例えば、工作機械30の機種名や、工作機械30の機体番号や、上記移設検知IDを併せて通知する。パスワード発行元では、通知された機種名や、機体番号や、移設検知IDに基づいてユニークなパスワードを生成し、生成したパスワードをユーザ(上記通信機器)に送信する。この結果、ユーザはパスワードを入手することができる。   There are various ways for a user to obtain a password. For example, the user requests the manufacturer of the machine tool 30 or the like (referred to as a password issuer) to issue a password by communication using a predetermined communication device, and receives the password from the password issuer. When making the request to the password issuer, the user notifies, for example, the model name of the machine tool 30, the machine number of the machine tool 30, and the relocation detection ID. The password issuer generates a unique password based on the notified model name, machine number, and relocation detection ID, and transmits the generated password to the user (the communication device). As a result, the user can obtain the password.

S310では、NC装置11は、S300で受付けたパスワードが正当なパスワードであるか否か判定し、正当なパスワードであればS320に進む。正当なパスワードの判定方法は様々であるが、NC装置11は例えば、受付けたパスワード内に自己が生成した移設検知IDが含まれているか否か等により、パスワードが正当であるか否か判定する。NC装置11は、パスワードが正当でないと判定した場合には、その時点での工作機械30の状態を維持したまま、図7のフローチャートを終了する。従って、不正なパスワードが入力された場合には、工作機械30のワーニング状態やロック状態は解除されない。   In S310, the NC device 11 determines whether or not the password accepted in S300 is a valid password. If the password is valid, the process proceeds to S320. There are various methods for determining a valid password. For example, the NC device 11 determines whether or not the password is valid, for example, based on whether or not the relocation detection ID generated by itself is included in the accepted password. . When determining that the password is not valid, the NC device 11 ends the flowchart of FIG. 7 while maintaining the state of the machine tool 30 at that time. Therefore, when an invalid password is input, the warning state and the locked state of the machine tool 30 are not released.

なお、工作機械30が通常稼働状態であるにもかかわらずユーザがパスワードをNC装置11に入力することもあり得る。そのためNC装置11は、パスワードが入力された場合に通常稼働状態であれば、上記S310では、パスワードが正当であるか否かにかかわらず“No”の判定を行ない、工作機械30の状態(通常稼働状態)を維持する。
S320では、NC装置11は、解除処理の実行を指示するための所定の信号(解除処理指示信号)を生成し、解除処理指示信号を、入出力部I/O11dを介してマイコン21に送信する。
Note that even though the machine tool 30 is in a normal operating state, the user may input a password to the NC device 11. For this reason, if the NC device 11 is in a normal operation state when a password is input, in S310, the determination is “No” regardless of whether the password is valid or not, and the state of the machine tool 30 (normally) Maintain (operating state).
In S320, the NC device 11 generates a predetermined signal (release processing instruction signal) for instructing execution of the release process, and transmits the release process instruction signal to the microcomputer 21 via the input / output unit I / O 11d. .

マイコン21は、S400において解除処理指示信号を入出力部I/O25を介して受信する。
S410において、マイコン21は、不揮発性メモリ23に現在記録されている基準値Rを更新する。この場合、直近のS212(図4)で検知回路22から取得した磁気状態値によって基準値Rを更新(上書き)してもよい。ただし、直近のS212の処理後から現在までの間に、さらに工作機械30の移設が行なわれている可能性もある。例えば、直近のS212の処理後から現在までの間に、工作機械30の電源オフの期間があり、当該電源オフの期間中に更に移設がなされている場合もあり得る。そこでマイコン21はS410では、検知回路22に指示を出し現在の磁界状態を検知させるとともに、当該検知の結果にかかる磁界状態値を検知回路22から取得する。そして、このように検知回路22から取得した最新の磁界状態値によって基準値Rを更新する。
The microcomputer 21 receives the release processing instruction signal via the input / output unit I / O 25 in S400.
In S410, the microcomputer 21 updates the reference value R currently recorded in the nonvolatile memory 23. In this case, the reference value R may be updated (overwritten) with the magnetic state value acquired from the detection circuit 22 in the latest S212 (FIG. 4). However, there is a possibility that the machine tool 30 has been relocated between the last processing of S212 and the present. For example, there may be a power-off period of the machine tool 30 between the last processing of S212 and the present, and there may be further relocation during the power-off period. Therefore, in S410, the microcomputer 21 instructs the detection circuit 22 to detect the current magnetic field state, and acquires the magnetic field state value related to the detection result from the detection circuit 22. Then, the reference value R is updated with the latest magnetic field state value acquired from the detection circuit 22 in this way.

さらにS410では、マイコン21は、不揮発性メモリ23に現在記録されている検知時刻Tmのデータを消去する。不揮発性メモリ23に検知時刻Tmが記録されたままであると、次回、移設の判断を行なうときに、検知時刻Tmが記録されていることをもって工作機械30の移設ありと判断してしまうからである。さらにS410では、マイコン21は、不揮発性メモリ23に現在記録されている、各時刻の通電時間Tsのデータを消去してもよい。   Further, in S410, the microcomputer 21 erases the data at the detection time Tm currently recorded in the nonvolatile memory 23. This is because if the detection time Tm remains recorded in the nonvolatile memory 23, it will be determined that the machine tool 30 has been relocated when the detection time Tm is recorded the next time when the relocation is determined. . Further, in S410, the microcomputer 21 may erase the data of the energization time Ts at each time currently recorded in the nonvolatile memory 23.

S420では、マイコン21は、ワーニング状態後の加工プログラムPの強制終了の禁止(動作の制限の禁止)およびロック状態の解除(動作の制限の解除)の指示を意味する所定の信号(制限禁止・解除信号と呼ぶ。)を生成する。そしてマイコン21は、制限禁止・解除信号を、入出力部I/O25を介してNC装置11に送信する。制限禁止・解除信号の送信後、マイコン21は図7のフローチャートを終了する。   In S420, the microcomputer 21 determines a predetermined signal (restriction prohibition / Called a release signal). Then, the microcomputer 21 transmits a restriction prohibition / cancellation signal to the NC device 11 via the input / output unit I / O 25. After transmitting the restriction prohibition / release signal, the microcomputer 21 ends the flowchart of FIG.

NC装置11は、S330において制限禁止・解除信号を入出力部I/O25を介して受信する。
制限禁止・解除信号を受信したら、NC装置11は、S340において通常稼働状態への移行を行なう。具体的には、制限禁止・解除信号を受信した時点でワーニング状態であれば、NC装置11は、上述した第二許可信号の受信状況の監視を終了するとともに、そのまま加工プログラムPの実行を継続する。またNC装置11は、上記警告を行なっている場合には上記警告も終了する。この結果、ワーニング状態の解除および通常稼働状態への移行が完了する。一方、制限禁止・解除信号を受信した時点でロック状態であれば、NC装置11は、加工プログラムPを起動する。この結果、ロック状態の解除および通常稼働状態への移行が完了する。なおNC装置11は、ワーニング状態やロック状態を解除した場合、表示部14に、ワーニング状態またはロック状態を解除した旨の所定のメッセージを表示させるとしてもよい。通常稼働状態への移行が完了したら、NC装置11は図7のフローチャートを終了する。このようにワーニング状態またはロック状態を解除する処理を実行する点で、NC装置11およびマイコン21は、制限禁止手段の一例に該当すると言える。
The NC apparatus 11 receives the restriction prohibition / cancellation signal via the input / output unit I / O 25 in S330.
When receiving the restriction prohibition / cancellation signal, the NC device 11 shifts to the normal operation state in S340. Specifically, if the warning state is reached when the restriction prohibition / cancellation signal is received, the NC device 11 ends the monitoring of the reception status of the second permission signal described above and continues to execute the machining program P as it is. To do. The NC device 11 also ends the warning when the warning is performed. As a result, the warning state is released and the transition to the normal operation state is completed. On the other hand, if the lock state is received when the restriction prohibition / release signal is received, the NC device 11 starts the machining program P. As a result, the release of the lock state and the transition to the normal operation state are completed. Note that when the warning state or the locked state is released, the NC device 11 may display a predetermined message on the display unit 14 that the warning state or the locked state is released. When the transition to the normal operation state is completed, the NC device 11 ends the flowchart of FIG. In this way, it can be said that the NC device 11 and the microcomputer 21 correspond to an example of a restriction prohibition unit in that the process of releasing the warning state or the lock state is executed.

このように本実施形態では、不正移設通知装置20は、工作機械30の移設を検知した場合、検知時刻Tm以後の通電時間が警告期間Twを超えるまではNC装置11に加工プログラムPの実行を許容するとした。よって、ユーザが、例えば工場内で工作機械30を移設した後に工作機械30の電源を投入した場合、当該移設が検知されて直ちに工作機械30が動作不能となることはない。そして、この警告期間Tw内に正当なパスワードが工作機械30に入力されてアラーム状態が解除されれば、結局、工作機械30の電源投入後、一度も工作機械30の加工動作が中断されることなく精密部品の製造が続けられる。そのため、工作機械30のユーザの業務が阻害されない。   As described above, in the present embodiment, when the unauthorized transfer notification device 20 detects the transfer of the machine tool 30, the NC device 11 executes the machining program P until the energization time after the detection time Tm exceeds the warning period Tw. Tolerated. Therefore, for example, when the user turns on the power of the machine tool 30 after moving the machine tool 30 in the factory, the machine tool 30 does not become inoperable immediately after the transfer is detected. If a valid password is input to the machine tool 30 within this warning period Tw and the alarm state is released, the machining operation of the machine tool 30 is interrupted once after the machine tool 30 is turned on. The production of precision parts continues. Therefore, the work of the user of the machine tool 30 is not hindered.

また、不正移設通知装置20は、工作機械30の移設を検知した後、警告期間Twが経過すれば、工作機械30をロック状態とする。ロック状態は、正当なパスワードをパスワード発行元から取得しなければ解除することはできない。そのため、工作機械30が不正に国外や第三者に移設された場合は、移設先においては工作機械30を実質的に使用することができなくなる。従って、不正移設通知装置20は、工作機械30の不正な移設に対する大きな抑止力となる。   Further, after detecting the relocation of the machine tool 30, the unauthorized relocation notification device 20 places the machine tool 30 in a locked state when the warning period Tw elapses. The locked state cannot be released unless a valid password is obtained from the password issuer. Therefore, when the machine tool 30 is illegally transferred to a foreign country or a third party, the machine tool 30 cannot be used substantially at the transfer destination. Therefore, the unauthorized transfer notification device 20 is a great deterrent against unauthorized transfer of the machine tool 30.

また不正移設通知装置20は、工作機械30のNC装置11とは独立した状態で、工作機械30(不正移設通知装置20)の通電時間の計測および警告期間Twの経過判断を行なっている。そのため、コンピュータとしてのNC装置11が備えるタイマやクロック発振回路に対する不正な改ざん等が行なわれた場合でも、不正移設通知装置20は、当該改ざんの影響を受けることなく正確に通電時間の計測および警告期間Twの経過判断を行うことができる。そのため、アラーム状態の期間を引き伸ばす等の不正を防止することができる。   Further, the unauthorized transfer notification device 20 measures the energization time of the machine tool 30 (illegal transfer notification device 20) and determines the passage of the warning period Tw in a state independent of the NC device 11 of the machine tool 30. Therefore, even if the tampering or the like of the timer or the clock oscillation circuit included in the NC device 11 as a computer is performed, the unauthorized relocation notification device 20 can accurately measure and warn the energization time without being affected by the tampering. It is possible to determine whether or not the period Tw has elapsed. Therefore, fraud such as extending the period of the alarm state can be prevented.

3.他の実施例
図8は、工作機械30についての移設の判断処理および起動処理を示したフローチャートであって、図3とは異なる例を示している。図8においても、左側にNC装置11が実行する処理を、右側に不正移設通知装置20(マイコン21)が実行する処理を示している。S500,S600,S610,S620は、S100,S200,S210,S240とそれぞれ同様なので説明を省略する。
マイコン21は、S610において工作機械30の移設を検知した場合は、そのまま(あるいは上記動作制限信号を入出力部I/O25を介してNC装置11に送信した上で)図8のフローチャートを終える。
3. Other Embodiments FIG. 8 is a flowchart showing a transfer determination process and a start-up process for the machine tool 30, and shows an example different from FIG. Also in FIG. 8, the process executed by the NC device 11 is shown on the left side, and the process executed by the unauthorized transfer notification device 20 (microcomputer 21) is shown on the right side. S500, S600, S610, and S620 are the same as S100, S200, S210, and S240, respectively, and thus description thereof is omitted.
When the microcomputer 21 detects the relocation of the machine tool 30 in S610, the microcomputer 21 ends the flowchart of FIG. 8 as it is (or after the operation restriction signal is transmitted to the NC device 11 via the input / output unit I / O 25).

NC装置11は、S510において、入出力部I/O11dを介してマイコン21から第一許可信号を受信したか否か判断する。NC装置11は、第一許可信号を受信したと判断した場合にはS520に進む。
S520では、NC装置11は加工プログラムPを起動し、図8のフローチャートを終了する。S520以後、工作機械30は通常稼働状態となる。
NC装置11は、S500の処理後(例えば、S500の処理後の一定期間)、入出力部I/O11dを介して信号を受信できなかったり、或いは入出力部I/O11dを介して第一許可信号以外の信号(動作制限信号)を受信した場合にはS530に進む。
S530では、NC装置11は、加工プログラムPを起動するとともに上記警告を行なう。すなわちS530では、NC装置11は、工作機械30の移設があったものと判断し、工作機械30をワーニング状態とする。
In S510, the NC device 11 determines whether or not a first permission signal has been received from the microcomputer 21 via the input / output unit I / O 11d. If the NC device 11 determines that the first permission signal has been received, the process proceeds to S520.
In S520, the NC device 11 activates the machining program P and ends the flowchart of FIG. After S520, the machine tool 30 is in a normal operation state.
The NC device 11 cannot receive a signal via the input / output unit I / O 11d after the processing of S500 (for example, for a certain period of time after the processing of S500), or first permits it via the input / output unit I / O 11d. If a signal other than the signal (operation restriction signal) is received, the process proceeds to S530.
In S530, the NC device 11 activates the machining program P and issues the above warning. That is, in S530, the NC device 11 determines that the machine tool 30 has been moved, and sets the machine tool 30 to a warning state.

S540では、NC装置11は、S530でワーニング状態とした時点を基準として、所定の条件を満たしたか否かを継続的に監視する。具体的には、NC装置11は、S530でワーニング状態とした時以降の工作機械30の通電時間(工作機械30の電源がオン状態の時間)が、所定の期間を超えたか否か判断する。NC装置11は、所定の期間が経過していないと判断した場合には、ワーニング状態を維持する。一方、NC装置11は、所定の期間が経過したと判断した場合には、加工プログラムPを強制的に終了し(S550)、上記警告を終了し、図8のフローチャートを終了する。S550によって工作機械30はロック状態となる。NC装置11は、通電時間の計測を、例えばCPU11aが発するクロック信号に基づいて行なう。S540の判断に用いる所定の期間としては、上記警告期間Twが該当する。NC装置11は、警告期間Twを示すデータをROM11c等、所定のメモリに予め保存している。
このように図8の例では、不正移設通知装置20によって工作機械30の移設が検知された場合に、NC装置11が所定の期間だけ加工プログラムPを起動させるとした。むろん、図8の処理に従って工作機械30がアラーム状態またはロック状態となった場合でも、上述した解除処理によってアラーム状態やロック状態を解除することができる。
In S540, the NC device 11 continuously monitors whether or not a predetermined condition is satisfied with reference to the time when the warning state is set in S530. Specifically, the NC device 11 determines whether or not the energization time of the machine tool 30 after the warning state is set in S530 (the time when the power of the machine tool 30 is on) exceeds a predetermined period. The NC device 11 maintains the warning state when it is determined that the predetermined period has not elapsed. On the other hand, when determining that the predetermined period has elapsed, the NC device 11 forcibly ends the machining program P (S550), ends the warning, and ends the flowchart of FIG. The machine tool 30 is locked by S550. The NC device 11 measures the energization time based on, for example, a clock signal generated by the CPU 11a. The warning period Tw corresponds to the predetermined period used for the determination in S540. The NC device 11 stores data indicating the warning period Tw in a predetermined memory such as the ROM 11c in advance.
As described above, in the example of FIG. 8, the NC device 11 starts the machining program P for a predetermined period when the transfer of the machine tool 30 is detected by the unauthorized transfer notification device 20. Of course, even when the machine tool 30 enters an alarm state or a locked state in accordance with the process of FIG. 8, the alarm state or the locked state can be released by the release process described above.

S220またはS540に用いる所定の条件として、所定のサイクル数を用いてもよい。加工プログラムPの起動中においては、上記1サイクル毎に1つの精密部品が製造される。そのため、n(nは1以上の自然数。)サイクル分の動作を上記所定の条件として予め設定しておけば、工作機械30の移設が検知された後、少なくともn個の精密部品の製造を行なうことができる。また、所定の時刻または曜日または日付になったことを所定の条件としても良い。例えば、23:00、日曜、毎月の一日(ついたち)になったことを条件として所定のメモリに予め保存しておくことが考えられる。なお、時刻、曜日、日付は、CPU21aが出力するクロック信号から求めてもよく、時刻などを表す電波を受信してもよい。   A predetermined number of cycles may be used as the predetermined condition used in S220 or S540. While the machining program P is running, one precision part is manufactured for each cycle. Therefore, if an operation for n cycles (n is a natural number of 1 or more) cycles is set in advance as the predetermined condition, at least n precision parts are manufactured after the transfer of the machine tool 30 is detected. be able to. Alternatively, the predetermined condition may be that a predetermined time, day of the week, or date is reached. For example, it is conceivable that the data is stored in a predetermined memory in advance on the condition that the first day of every month (Sunday, 23:00) is reached. The time, day of the week, and date may be obtained from a clock signal output from the CPU 21a, or a radio wave representing the time may be received.

上記では、検知回路22として、地磁気センサを有する磁界状態検知回路を挙げたが、検知回路22は、工作機械30の移設の有無の判断に用いることが可能な情報を検知するものであれば何でも良い。例えば、検知回路22は、緯度・経度などの位置情報を検出して出力するGPS(Global Positioning System)受信機でもよいし、単純に移動(回転や振動を含む。)の有無を検知可能なジャイロセンサや振動センサなどであってもよい。検知回路22がGPS受信機であれば、上記基準値Rは、GPS受信機が検出する位置情報となる。移設判断部21a1は、上記S210,610(図3,8)では、GPS受信機に検出させた現在の位置情報と、基準値Rとして不揮発性メモリ23に記録されている位置情報とを比較して移設の有無を判断する。   In the above description, a magnetic field state detection circuit having a geomagnetic sensor is used as the detection circuit 22. However, the detection circuit 22 is anything that can detect information that can be used to determine whether or not the machine tool 30 has been moved. good. For example, the detection circuit 22 may be a GPS (Global Positioning System) receiver that detects and outputs position information such as latitude and longitude, or a gyro capable of simply detecting the presence or absence of movement (including rotation and vibration). It may be a sensor or a vibration sensor. If the detection circuit 22 is a GPS receiver, the reference value R is position information detected by the GPS receiver. In S210 and 610 (FIGS. 3 and 8), the relocation determination unit 21a1 compares the current position information detected by the GPS receiver with the position information recorded in the nonvolatile memory 23 as the reference value R. To determine if it has been relocated.

検知回路22が、移動の有無を検知可能なセンサであれば、検知回路22はセンサによって移動を検知する度に、移動があったことを示す情報(例えば、移動の検知時刻)を不揮発性メモリ23に書き込む。上記S210,610では、マイコン21は、不揮発性メモリ23に上記移動があったことを示す情報が記録されていれば、工作機械30の移設ありと判断し、移設ありと判断した時点を基準としてS220では警告期間Twの経過判断を開始する。工作機械30の移設は基本的に工作機械30が電源オフの状態で行なわれる。そのため、検知回路22として移動の有無を検知する上記センサを用いる場合は、工作機械30の電源オフ時にも検知が可能なように、不正移設通知装置20は、検知回路22用の電源を別途備える。   If the detection circuit 22 is a sensor that can detect the presence or absence of movement, the detection circuit 22 stores information indicating movement (e.g., movement detection time) each time the movement is detected by the sensor. 23 is written. In S210 and 610, if information indicating that the movement has been recorded in the nonvolatile memory 23, the microcomputer 21 determines that the machine tool 30 has been transferred, and uses the time point when the transfer has been determined as a reference. In S220, the elapse determination of the warning period Tw is started. The relocation of the machine tool 30 is basically performed while the machine tool 30 is turned off. Therefore, when using the sensor for detecting the presence or absence of movement as the detection circuit 22, the unauthorized transfer notification device 20 has a separate power supply for the detection circuit 22 so that the detection can be performed even when the machine tool 30 is powered off. .

これまでは、工作機械30の電源が投入されて加工プログラムPを起動する前に、工作機械30の移設の判断を行なう場合を説明した。ただし、工作機械30の移設の判断は、工作機械30が通常稼働状態となった後も定期的に行なわれるとしてもよい。NC装置11は、工作機械30が通常稼働状態の場合に、移設判断指示信号を定期的にマイコン21に出力し、マイコン21に定期的に工作機械30の移設の有無を判断させてもよい。移設判断指示信号を受信したマイコン21は、図3または図8に示した処理を実行する。かかる構成とすれば、仮に工作機械30の稼動中に移設が行なわれた場合でも移設が検知され、当該検知後の所定の期間、ワーニング状態であることをユーザに警告しながら工作機械30を稼働させることができる。   So far, the case where the determination of the relocation of the machine tool 30 is performed before the machine program 30 is turned on and the machining program P is started has been described. However, the determination of the relocation of the machine tool 30 may be made periodically after the machine tool 30 is in a normal operation state. When the machine tool 30 is in a normal operation state, the NC device 11 may periodically output a move determination instruction signal to the microcomputer 21 so that the microcomputer 21 may periodically determine whether the machine tool 30 has been moved. The microcomputer 21 that has received the relocation determination instruction signal executes the processing shown in FIG. 3 or FIG. With such a configuration, even if the relocation is performed while the machine tool 30 is in operation, the relocation is detected, and the machine tool 30 is operated while warning the user that it is in a warning state for a predetermined period after the detection. Can be made.

工作機械の外観の斜視図および工作機械の一部の垂直断面図の一例である。1 is an example of a perspective view of an appearance of a machine tool and a vertical sectional view of a part of the machine tool. 工作機械の概略的な機能構成を示したブロック図の一例である。It is an example of the block diagram which showed the rough functional structure of the machine tool. 工作機械の移設の判断処理および起動処理を示したフローチャートの一例である。It is an example of the flowchart which showed the judgment process and starting process of the transfer of a machine tool. 移設の判断処理の詳細を示したフローチャートの一例である。It is an example of the flowchart which showed the detail of the judgment process of moving. 工作機械の電源オン期間と電源オフ期間とが繰り返さる様子の一例を示した図である。It is the figure which showed an example of a mode that the power-on period and power-off period of a machine tool repeated. 工作機械の電源オン期間と電源オフ期間とが繰り返さる様子の一例を示した図である。It is the figure which showed an example of a mode that the power-on period and power-off period of a machine tool repeated. ワーニング状態またはロック状態の解除処理を示したフローチャートの一例である。It is an example of the flowchart which showed the cancellation | release process of the warning state or the lock state. 工作機械の移設の判断処理および起動処理を示したフローチャートの他の例である。It is the other example of the flowchart which showed the determination process and starting process of the transfer of a machine tool.

符号の説明Explanation of symbols

10…本体部、11…NC装置、11a…CPU、11b…RAM、11c…ROM、11d…入出力部I/O、12…加工部、13…電源供給部、13a…電源スイッチ、14…表示部、15…入力受付部、20…不正移設通知装置、21…マイコン、21a…CPU、21b…ROM、21c…RAM、21a1…移設判断部、21a2…経過判断部、21a3…通電時間計測部、22…検知回路、23…不揮発性メモリ、24…タイマ、25…入出力部I/O、26…電源入力部、28…筺体、30…工作機械、31…筺体 DESCRIPTION OF SYMBOLS 10 ... Main-body part, 11 ... NC apparatus, 11a ... CPU, 11b ... RAM, 11c ... ROM, 11d ... Input / output part I / O, 12 ... Processing part, 13 ... Power supply part, 13a ... Power switch, 14 ... Display 15, input receiving unit, 20, unauthorized transfer notification device, 21, microcomputer, 21 a, CPU, 21 b, ROM, 21 c, RAM, 21 a 1, transfer determination unit, 21 a 2, progress determination unit, 21 a 3, energization time measurement unit, DESCRIPTION OF SYMBOLS 22 ... Detection circuit, 23 ... Non-volatile memory, 24 ... Timer, 25 ... I / O part I / O, 26 ... Power supply input part, 28 ... Housing, 30 ... Machine tool, 31 ... Housing

Claims (7)

工作機械の移設を検知する移設検知手段と、
上記移設検知手段によって移設が検知されてから所定の時間条件に達したか否か判断する判断手段と、
上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間は上記工作機械の動作を許容し、上記判断手段によって上記所定の時間条件に達したと判断された場合に上記工作機械の動作を制限する動作制限手段とを備えることを特徴とする工作機械。
Relocation detection means for detecting relocation of a machine tool;
A judging means for judging whether or not a predetermined time condition has been reached after the relocation is detected by the relocation detecting means;
The operation of the machine tool is permitted until the predetermined time condition is reached by the determination means after the transfer detection is detected by the transfer detection means, and the predetermined time condition is set by the determination means. An operation restriction means for restricting the operation of the machine tool when it is determined that the machine tool has been reached.
上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間に外部から所定の指示を受付けた場合には、上記動作制限手段による上記動作の制限を禁止し、上記動作制限手段によって上記動作が制限されている期間に上記所定の指示を受付けた場合には、当該動作の制限を解除する制限禁止手段を備えることを特徴とする請求項1に記載の工作機械。 When a predetermined instruction is received from the outside between the time when the relocation detection means detects the relocation and the time when the determination means determines that the predetermined time condition has been reached, the operation by the operation restriction means And a restriction prohibiting means for releasing the restriction of the operation when the predetermined instruction is received during a period in which the operation is restricted by the action restricting means. The machine tool according to 1. 上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間、所定の警告を外部に対して行う警告手段を備えることを特徴とする請求項1または請求項2のいずれかに記載の工作機械。 A warning means for performing a predetermined warning to the outside from when the relocation detection means detects the relocation until the determination means determines that the predetermined time condition has been reached. The machine tool according to claim 1 or 2. 上記判断手段は、上記工作機械における通電時間の計測を行うとともに、上記移設検知手段によって移設が検知されてからの当該通電時間が所定の期間を超えた場合に、上記所定の時間条件に達したと判断することを特徴とする請求項1〜請求項3のいずれかに記載の工作機械。 The determination means measures the energization time in the machine tool and reaches the predetermined time condition when the energization time after the relocation detection means detects the relocation is longer than a predetermined period. The machine tool according to claim 1, wherein the machine tool is determined. 上記工作機械は、工作機械に対する数値制御を行う数値制御装置を備え、
上記判断手段は、上記数値制御装置から独立して上記所定の時間条件に達したか否かの判断をするとともに、上記動作制限手段は、上記数値制御装置に数値制御の実行を禁止させることにより工作機械の動作を制限することを特徴とする請求項1〜請求項4のいずれかに記載の工作機械。
The machine tool includes a numerical control device that performs numerical control on the machine tool,
The determining means determines whether or not the predetermined time condition has been reached independently of the numerical control device, and the operation restricting means prohibits the numerical control device from performing numerical control. The machine tool according to any one of claims 1 to 4, wherein operation of the machine tool is limited.
監視対象の機械の移設を検知する移設検知手段と、
上記移設検知手段によって移設が検知されてから所定の時間条件に達したか否か判断する判断手段と、
上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間と上記判断手段によって上記所定の時間条件に達したと判断された場合とで異なる信号を出力し、または、上記移設検知手段によって移設が検知されてから上記判断手段によって上記所定の時間条件に達したと判断されるまでの間と上記判断手段によって上記所定の時間条件に達したと判断された場合との一方のみ所定の信号を出力する信号出力手段とを備えることを特徴とする不正移設通知装置。
Relocation detection means for detecting relocation of the monitored machine;
A judging means for judging whether or not a predetermined time condition has been reached after the relocation is detected by the relocation detecting means;
The period from when the relocation is detected by the relocation detection means until the determination means determines that the predetermined time condition has been reached, and when the determination means determines that the predetermined time condition has been reached. output different signals, or reaches to the predetermined time condition by between and the determination means from being detected transferred by the relocation detecting means until it is determined to have reached the predetermined time condition by the determining means An unauthorized transfer notification device comprising: signal output means for outputting a predetermined signal only in one of the cases determined to have been performed.
監視対象の機械の移設を検知する移設検知工程と、
上記移設検知工程において移設が検知されてから所定の時間条件に達したか否か判断する判断工程と、
上記移設検知工程において移設が検知されてから上記判断工程において上記所定の時間条件に達したと判断されるまでの間は上記機械の動作を許容し、上記判断工程において上記所定の時間条件に達したと判断された場合に、上記機械に当該機械の動作を制限させる動作制限工程とを備えることを特徴とする機械動作制限方法。
A relocation detection process for detecting the relocation of monitored machines;
A determination step of determining whether or not a predetermined time condition has been reached after the relocation is detected in the relocation detection step;
During the time between the detected transferred in the relocation detection step until it is determined to have reached the predetermined time condition in the decision process will allow operation of the machine, reaches to the predetermined time condition in the judgment step A machine operation restriction method comprising: an operation restriction step for restricting the operation of the machine when it is determined that the machine has been operated.
JP2008048614A 2008-02-28 2008-02-28 Machine tool, unauthorized transfer notification device, and machine operation restriction method Active JP5101338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008048614A JP5101338B2 (en) 2008-02-28 2008-02-28 Machine tool, unauthorized transfer notification device, and machine operation restriction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008048614A JP5101338B2 (en) 2008-02-28 2008-02-28 Machine tool, unauthorized transfer notification device, and machine operation restriction method

Publications (2)

Publication Number Publication Date
JP2009205545A JP2009205545A (en) 2009-09-10
JP5101338B2 true JP5101338B2 (en) 2012-12-19

Family

ID=41147711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008048614A Active JP5101338B2 (en) 2008-02-28 2008-02-28 Machine tool, unauthorized transfer notification device, and machine operation restriction method

Country Status (1)

Country Link
JP (1) JP5101338B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014148359A1 (en) 2013-03-22 2014-09-25 シチズンホールディングス株式会社 Start limiting device and machine tool

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5948154B2 (en) * 2012-05-17 2016-07-06 Dmg森精機株式会社 Machine tool operation control device
JP2014018905A (en) * 2012-07-17 2014-02-03 Disco Abrasive Syst Ltd Method for managing process apparatus
JP6112922B2 (en) * 2013-03-13 2017-04-12 大阪瓦斯株式会社 Security system and use method thereof
JP6651841B2 (en) * 2015-12-24 2020-02-19 ブラザー工業株式会社 Relocation restriction device, machine tool, relocation restriction method, and computer program
JP7156123B2 (en) * 2019-03-25 2022-10-19 ブラザー工業株式会社 Machine tool and judgment method
DE112021004772T5 (en) * 2020-11-20 2023-07-27 Fanuc Corporation NOTIFICATION DEVICE AND COMPUTER READABLE STORAGE MEDIUM
JP6899988B1 (en) * 2020-11-26 2021-07-07 三菱電機株式会社 Numerical control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4731754B2 (en) * 2001-07-25 2011-07-27 シチズンホールディングス株式会社 Vibration detection apparatus and device activation control method using the vibration detection apparatus
JP2005044162A (en) * 2003-07-23 2005-02-17 Toyoda Mach Works Ltd Transfer restricted equipment and its illegal transfer prevention method
JP4173513B2 (en) * 2006-06-12 2008-10-29 ヤマザキマザック株式会社 Device relocation presence / absence detection device and device equipped with the device relocation presence / absence detection device
JP4883287B2 (en) * 2006-08-02 2012-02-22 株式会社ジェイテクト Transfer restriction device and its illegal transfer prevention method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014148359A1 (en) 2013-03-22 2014-09-25 シチズンホールディングス株式会社 Start limiting device and machine tool
JP2014186492A (en) * 2013-03-22 2014-10-02 Citizen Holdings Co Ltd Start restriction device and machine tool
KR20150133178A (en) * 2013-03-22 2015-11-27 시티즌 홀딩스 가부시키가이샤 Start limiting device and machine tool
US10401822B2 (en) 2013-03-22 2019-09-03 Citizen Watch Co., Ltd. Start limiting device and machine tool
KR102046029B1 (en) * 2013-03-22 2019-12-02 시티즌 도케이 가부시키가이샤 Start limiting device and machine tool

Also Published As

Publication number Publication date
JP2009205545A (en) 2009-09-10

Similar Documents

Publication Publication Date Title
JP5101338B2 (en) Machine tool, unauthorized transfer notification device, and machine operation restriction method
US7940160B2 (en) Lock controller of working machine, and working machine
US20080005604A1 (en) Displacement detector and machine having displacement detector
US9230425B2 (en) Vehicle controller
JP2008027241A (en) Part monitoring apparatus for working machine, and part monitoring method for working machine
JP2006348537A (en) Electronic key system
JP4599953B2 (en) Program rewriting system and vehicle computer system
JP5086914B2 (en) Function recovery system of numerical control device having function to prevent machine relocation
JP5572727B2 (en) Work machine parts monitoring device and work machine parts monitoring method
JP2010198465A (en) Control device and robot system using the same
JP2009243167A (en) Display control device for construction machine
JP4599952B2 (en) Program rewriting system and vehicle computer system
JP2009205317A (en) Unauthorized move detection apparatus, machine tool and action restricting method
JP2009251694A (en) Numerical controller having function of releasing automatic operation prohibited state
JP5422993B2 (en) Electronic device and computer program
JP4883287B2 (en) Transfer restriction device and its illegal transfer prevention method
JP2009129151A (en) Numerical control device with relocation determination function
JP5331336B2 (en) Security device and method
JP2006348744A (en) Anti-theft device of construction machinery and management method of construction machinery
JP2009151377A (en) Numerical control device with transfer preventing function and transfer prevention system
JP2010000922A (en) Theft prevention apparatus
KR20150133178A (en) Start limiting device and machine tool
CN111977474B (en) Method for preventing elevator base plate from being used improperly
JP4256880B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium
JP4794618B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120808

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120925

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120926

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5101338

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250