JP6759944B2 - Relocation detection system and control method - Google Patents

Relocation detection system and control method Download PDF

Info

Publication number
JP6759944B2
JP6759944B2 JP2016194457A JP2016194457A JP6759944B2 JP 6759944 B2 JP6759944 B2 JP 6759944B2 JP 2016194457 A JP2016194457 A JP 2016194457A JP 2016194457 A JP2016194457 A JP 2016194457A JP 6759944 B2 JP6759944 B2 JP 6759944B2
Authority
JP
Japan
Prior art keywords
battery
relocation
time
mounting portion
state
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
JP2016194457A
Other languages
Japanese (ja)
Other versions
JP2018055628A (en
Inventor
翔太 荒木
翔太 荒木
知之 藤田
知之 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016194457A priority Critical patent/JP6759944B2/en
Priority to CN201710892549.XA priority patent/CN107885162B/en
Publication of JP2018055628A publication Critical patent/JP2018055628A/en
Application granted granted Critical
Publication of JP6759944B2 publication Critical patent/JP6759944B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Description

本発明は、移設検知システムと制御方法に関する。 The present invention relates to a relocation detection system and a control method.

特許文献1が開示する移設検知システムは数値制御装置と移設検知装置を備える。数値制御装置は工作機械の動作を制御する。移設検知装置は工作機械の移設時に生じる振動で移設を検知する。移設検知装置が工作機械の移設を検知した時、数値制御装置は工作機械の動作を制限する。移設検知装置のバッテリが切れた時も、数値制御装置は工作機械の動作を制限する。数値制御装置が工作機械の動作を制限した時、使用者は工作機械製造業者に動作制限の解除を依頼する必要がある。 The relocation detection system disclosed in Patent Document 1 includes a numerical control device and a relocation detection device. The numerical control device controls the operation of the machine tool. The relocation detection device detects the relocation by the vibration generated when the machine tool is relocated. When the relocation detector detects the relocation of the machine tool, the numerical control device limits the operation of the machine tool. Even when the battery of the relocation detection device runs out, the numerical control device limits the operation of the machine tool. When the numerical control device restricts the operation of the machine tool, the user needs to request the machine tool manufacturer to lift the operation restriction.

特許第5397270号公報Japanese Patent No. 5397270

移設検知装置のバッテリ電圧の低下時、数値制御装置は操作盤の表示部に電圧警告画面を表示する。作業者は、移設検知装置のバッテリを交換して、操作盤の操作部を操作する。移設検知装置は電圧警告画面の表示を終える。移設検知システムは、移設検知装置のバッテリ切れを事前に回避する。しかし、作業者が、数値制御装置による電圧警告画面の表示後に、バッテリの交換をせずに、操作部を操作してしまう可能性がある。数値制御装置のバッテリが切れてしまい、数値制御装置が工作機械の動作を制限する可能性がある。 When the battery voltage of the relocation detection device drops, the numerical control device displays a voltage warning screen on the display of the operation panel. The operator replaces the battery of the relocation detection device and operates the operation unit of the operation panel. The relocation detector finishes displaying the voltage warning screen. The relocation detection system avoids running out of battery in the relocation detection device in advance. However, there is a possibility that the operator operates the operation unit without replacing the battery after the voltage warning screen is displayed by the numerical control device. The battery of the numerical control device may run out, and the numerical control device may limit the operation of the machine tool.

本発明の目的は、移設検知手段のバッテリ切れを事前に回避できる移設検知システムと制御方法を提供することである。 An object of the present invention is to provide a relocation detection system and a control method capable of avoiding the battery exhaustion of the relocation detection means in advance.

本発明の第一態様の移設検知システムは、バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段と、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定手段と、前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定手段と、前記移設判定手段が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定手段が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限手段と、前記制限手段による前記動作の制限を解除する解除手段とを備えた移設検知システムにおいて、前記装着部に装着した前記バッテリが、前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、交換すべき時期を迎えた状態である特定状態であると判定する状態判定手段と、前記状態判定手段が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知手段と、前記装着時間が、前記特定時間よりも短い時間である事前特定時間を経過したか否かを判定する事前判定手段と、前記事前判定手段が、前記装着時間は前記事前特定時間を経過したと判定した場合、前記事前特定時間の経過を報知する事前報知手段と、前記事前報知手段が前記事前特定時間の経過を報知した場合、若しくは、前記報知手段が前記バッテリの前記特定状態を報知した場合、前記バッテリが交換されたか否かを判定する交換判定手段とを備え、前記交換判定手段が、前記バッテリは交換されたと判定するまで、前記事前報知手段は、前記事前特定時間の経過を報知し、前記交換判定手段が前記バッテリは交換されたと判定するまで、前記報知手段は、前記特定状態を報知することを特徴とする。上記構成によれば、バッテリが特定状態になると、報知手段はバッテリの特定状態を報知する。バッテリの特定状態を認識した作業者は、バッテリの交換作業を実行する。交換判定手段が、バッテリは交換されたと判定するまで、報知手段はバッテリの特定状態を報知する。故に、バッテリが、特定状態からバッテリ切れの状態に切り替わる前に、作業者はバッテリの交換作業を実行し易い。故に移設検知システムは、移設検知手段のバッテリ切れを事前に回避できる。 The relocation detection system of the first aspect of the present invention has a mounting portion on which a battery can be mounted, and is based on the relocation detecting means capable of detecting the relocation of a machine by the power of the battery and the output information of the relocation detecting means. When the relocation determination means for determining the relocation of the machine, the battery exhaustion determination means for determining the battery exhaustion of the battery mounted on the mounting portion, and the relocation determination means determine that the machine has been relocated, or the battery When the dead battery determination means determines that the battery has run out, the mounting unit is provided in a relocation detection system including a limiting means for limiting the operation of the machine and a releasing means for releasing the restriction on the operation by the limiting means. A state in which it is determined that the battery mounted on the battery is in a specific state in which it is time to replace the battery when the mounting time, which is the time elapsed since the battery is mounted on the mounting portion, has passed. When the determination means and the state determination means determine that the battery is in the specific state, the notification means for notifying the specific state of the battery and the mounting time are shorter than the specific time. When the pre-determination means for determining whether or not the pre-specific time has elapsed and the pre-determination means determine that the pre-specific time has elapsed, the advance of the pre-specific time is notified. When the advance notification means and the advance notification means notify the passage of the advance specific time, or when the notification means notifies the specific state of the battery, whether or not the battery has been replaced is determined. The replacement determination means is provided with a replacement determination means for determining, and the advance notification means notifies the elapse of the advance specific time until the replacement determination means determines that the battery has been replaced, and the replacement determination means notifies the battery. Is characterized in that the notification means notifies the specific state until it is determined that the battery has been replaced. According to the above configuration, when the battery reaches a specific state, the notification means notifies the specific state of the battery. The operator who recognizes the specific state of the battery executes the battery replacement work. The notification means notifies the specific state of the battery until the replacement determination means determines that the battery has been replaced. Therefore, it is easy for the operator to perform the battery replacement operation before the battery is switched from the specific state to the dead battery state. Therefore, the relocation detection system can avoid running out of the battery of the relocation detection means in advance.

着時間が長い程、バッテリは特定状態になり易い。移設検知システムは、装着時間によってバッテリの状態を判定するので、バッテリ切れを事前に回避し易い。 The longer the instrumentation wearing time, the battery is likely to be in a particular state. Since the relocation detection system determines the state of the battery based on the mounting time, it is easy to avoid running out of the battery in advance.

前報知手段が事前特定時間の経過を報知すると、作業者は、バッテリの交換作業を実行できる。移設検知システムは、バッテリ切れを事前に更に回避し易い。 When the thing before informing means for informing the course of the pre-specified time, the worker can perform the replacement of the battery. The relocation detection system is more likely to avoid running out of battery in advance.

前記移設検知システムでは、前記装着部における電位差を検知する電圧検知部を備え、前記電圧検知部が検知した前記電位差が、所定の閾値未満になった場合に、前記状態判定手段は、前記バッテリが前記特定状態であると判定してもよい。バッテリが特定状態になると、バッテリを装着した装着部における電位差は、所定値以下になる。移設検知システムは、装着部における電位差によってバッテリが特定状態か否かを判定するので、バッテリ切れを事前に回避し易い。 The relocation detection system includes a voltage detection unit that detects a potential difference in the mounting unit, and when the potential difference detected by the voltage detection unit becomes less than a predetermined threshold value, the state determination means uses the battery. It may be determined that it is in the specific state. When the battery is in a specific state, the potential difference in the mounting portion where the battery is mounted becomes a predetermined value or less. Since the relocation detection system determines whether or not the battery is in a specific state based on the potential difference in the mounting portion, it is easy to avoid running out of the battery in advance.

前記移設検知システムでは、前記装着部における電位差を検知する電圧検知部を備え、前記電圧検知部が検知した前記電位差が、所定の閾値未満になった後に前記閾値以上になった場合に、前記交換判定手段は、前記バッテリが交換されたと判定してもよい。バッテリが特定状態になった場合、装着部における電位差が、閾値未満から閾値以上になるまで、報知手段は、バッテリの特定状態を報知する。故に、作業者は、特定状態になったバッテリの交換作業を確実に実行できる。
本発明の第二態様の移設検知システムは、バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段と、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定手段と、前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定手段と、前記移設判定手段が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定手段が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限手段と、前記制限手段による前記動作の制限を解除する解除手段とを備えた移設検知システムにおいて、前記装着部に装着した前記バッテリが、交換すべき時期を迎えた状態である特定状態か否かを判定する状態判定手段と、前記状態判定手段が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知手段と、前記報知手段が前記バッテリの前記特定状態を報知した場合、前記装着部に装着した前記バッテリが交換されたか否かを判定する交換判定手段と、前記装着部における電位差を検知する電圧検知部とを備え、前記状態判定手段は、前記バッテリが前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、前記バッテリは前記特定状態であると判定し、前記装着時間が前記特定時間を経過していない場合には、前記電圧検知部により前記装着部における電位差を検知し、当該検知した前記電位差が所定の閾値未満になった場合に、前記バッテリは前記特定状態であると判定することを特徴とする。
The relocation detection system includes a voltage detection unit that detects a potential difference in the mounting unit, and when the potential difference detected by the voltage detection unit becomes less than a predetermined threshold value and then exceeds the threshold value, the replacement is performed. The determination means may determine that the battery has been replaced. When the battery is in a specific state, the notification means notifies the specific state of the battery until the potential difference in the mounting portion becomes from less than the threshold value to more than the threshold value. Therefore, the operator can reliably perform the replacement work of the battery in the specific state.
The relocation detection system of the second aspect of the present invention has a mounting portion on which a battery can be mounted, and is based on the relocation detecting means capable of detecting the relocation of a machine by the power of the battery and the output information of the relocation detecting means. A relocation determination means for determining the relocation of the machine, a battery exhaustion determination means for determining the battery exhaustion of the battery mounted on the mounting portion, and a relocation determination means for determining that the machine has been relocated, or the battery. When the dead battery determination means determines that the battery has run out, the mounting unit is provided in a relocation detection system including a limiting means for limiting the operation of the machine and a releasing means for releasing the restriction on the operation by the limiting means. When the state determining means for determining whether or not the battery mounted on the battery is in a specific state in which it is time to replace the battery and the state determining means determine that the battery is in the specific state, the said A notification means for notifying the specific state of the battery, a replacement determination means for determining whether or not the battery mounted on the mounting portion has been replaced when the notification means notifies the specific state of the battery, and the above. The state determination means includes a voltage detection unit that detects a potential difference in the mounting unit , and the state determination means means that the battery is mounted when a specific time has elapsed, which is the time elapsed since the battery was mounted on the mounting portion. Is determined to be in the specific state, and when the mounting time does not elapse the specific time, the voltage detection unit detects a potential difference in the mounting unit, and the detected potential difference is less than a predetermined threshold value. When becomes, the battery is determined to be in the specific state.

本発明の第態様の制御方法は、バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段を備えた移設検知システムの、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定工程と、前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定工程と、前記移設判定工程が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定工程が前記バッテリ切れを生じたと判定した場合、前記機械の動作を制限する制限工程と、前記制限工程による前記動作の制限を解除する解除工程とを備えた前記移設検知システムの制御方法において、前記装着部に装着した前記バッテリが、前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、交換すべき時期を迎えた状態である特定状態であると判定する状態判定工程と、前記状態判定工程が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知工程と、前記装着時間が、前記特定時間よりも短い時間である事前特定時間を経過したか否かを判定する事前判定工程と、前記事前判定工程が、前記装着時間は前記事前特定時間を経過したと判定した場合、前記事前特定時間の経過を報知する事前報知工程と、前記事前報知工程が前記事前特定時間の経過を報知した場合、若しくは、前記報知工程が前記バッテリの前記特定状態を報知した場合、前記バッテリが交換されたか否かを判定する交換判定工程とを備え、前記交換判定工程が、前記バッテリは交換されたと判定するまで、前記事前報知工程は、前記事前特定時間の経過を報知し、前記交換判定工程が前記バッテリは交換されたと判定するまで、前記報知工程は、前記特定状態を報知することを特徴とする。第態様の制御方法は、第一態様の移設検知システムと同様の効果を奏する。
本発明の第四態様の制御方法は、バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段を備えた移設検知システムの、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定工程と、前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定工程と、前記移設判定工程が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定工程が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限工程と、前記制限工程による前記動作の制限を解除する解除工程とを備えた移設検知システムの制御方法において、前記装着部に装着した前記バッテリが、交換すべき時期を迎えた状態である特定状態か否かを判定する状態判定工程と、前記状態判定工程が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知工程と、前記報知工程が前記バッテリの前記特定状態を報知した場合、前記装着部に装着した前記バッテリが交換されたか否かを判定する交換判定工程とを備え、前記状態判定工程は、前記バッテリが前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、前記バッテリは前記特定状態であると判定し、前記装着時間が前記特定時間を経過していない場合には、前記装着部における電位差を検知する電圧検知部により前記装着部における電位差を検知し、当該検知した前記電位差が所定の閾値未満になった場合に、前記バッテリは前記特定状態であると判定することを特徴とする。
The control method according to the third aspect of the present invention is the relocation detection means of the relocation detection system, which has a mounting portion on which a battery can be mounted and includes a relocation detection means capable of detecting the relocation of a machine by the power of the battery. Based on the output information, the relocation determination step of determining the relocation of the machine, the battery exhaustion determination step of determining the battery exhaustion of the battery mounted on the mounting portion, and the relocation determination step determined that the machine has been relocated. If, or when the battery depletion determination process is determined to have occurred the dead battery, the relocation detection with a limiting step for limiting the operation of the machine, and a release step for releasing the restriction of the operation by the restricting step In the control method of the system, when the mounting time, which is the time elapsed since the battery mounted on the mounting portion is mounted on the mounting portion, has passed a specific time, it is time to replace the battery. a state determining step of determining that the particular state, the state determination step, when the battery is determined to the a specific state, and a notification step of notifying the specific state of the battery, the mounting time, When the pre-determination step for determining whether or not the pre-specific time, which is shorter than the specific time, has elapsed and the pre-determination step determine that the wearing time has elapsed the pre-specific time, When the advance notification step for notifying the passage of the advance specific time and the advance notification step notify the passage of the advance specific time, or when the notification step notifies the specific state of the battery. The pre-notification step notifies the elapse of the pre-specified time until the replacement determination step determines that the battery has been replaced, and includes a replacement determination step for determining whether or not the battery has been replaced. The notification step is characterized in that the specific state is notified until the replacement determination step determines that the battery has been replaced. The control method of the third aspect has the same effect as the relocation detection system of the first aspect.
The control method according to the fourth aspect of the present invention is the relocation detection means of the relocation detection system, which has a mounting portion on which a battery can be mounted and includes a relocation detection means capable of detecting the relocation of a machine by the power of the battery. Based on the output information, the relocation determination step of determining the relocation of the machine, the battery exhaustion determination step of determining the battery exhaustion of the battery mounted on the mounting portion, and the relocation determination step determined that the machine has been relocated. In this case, or when the battery exhaustion determination step determines that the battery exhaustion has occurred, a relocation detection system including a restriction step for limiting the operation of the machine and a release step for releasing the restriction on the operation by the restriction step. In the control method of the above, the state determination step of determining whether or not the battery mounted on the mounting portion is in a specific state in which it is time to replace the battery and the state determination step of the battery are the specific states. When the determination is made, the notification step for notifying the specific state of the battery, and when the notification step notifies the specific state of the battery, whether or not the battery mounted on the mounting portion has been replaced. The state determination step includes a replacement determination step for determining, and in the state determination step, the battery is in the specific state when a specific time elapses, which is the time elapsed since the battery was attached to the mounting portion. If it is determined that there is, and the mounting time does not elapse, the voltage detection unit that detects the potential difference in the mounting portion detects the potential difference in the mounting portion, and the detected potential difference is predetermined. When the value becomes less than the threshold value, the battery is determined to be in the specific state.

移設検知システム1の斜視図。The perspective view of the relocation detection system 1. 制御箱9の斜視図。The perspective view of the control box 9. 移設検知システム1の電気的構成を示すブロック図。The block diagram which shows the electrical structure of the relocation detection system 1. 動作制限処理の流れ図。Flow diagram of operation restriction processing. 解除処理の流れ図。Flow diagram of release processing. バッテリ検査処理の流れ図。Flow chart of battery inspection process. 予告警告画面61をポップアップ表示した表示部12の図。The figure of the display part 12 which pop-applied the notice warning screen 61. 交換警告画面62をポップアップ表示した表示部12の図。The figure of the display part 12 which pop-applied the exchange warning screen 62. 警告画面63をポップアップ表示した表示部12の図。The figure of the display part 12 which pop-applied the warning screen 63.

本発明の実施形態を説明する。以下記載するシステムの構成、処理等は、特に特定的な記載がない限り、それのみに限定する趣旨ではなく、単なる説明例である。図面は、本発明が採用しうる技術的特徴を説明する為に用いられるものである。以下説明では、図中に矢印で示す左右、前後、上下を使用する。 An embodiment of the present invention will be described. Unless otherwise specified, the system configuration, processing, etc. described below are not intended to be limited thereto, but are merely explanatory examples. The drawings are used to illustrate the technical features that can be adopted by the present invention. In the following description, the left and right, front and back, and up and down indicated by arrows in the figure are used.

図1を参照し、移設検知システム1の構成を説明する。移設検知システム1は、工作機械10、数値制御装置20(図3参照)、移設検知装置30(図3参照)を備える。工作機械10は、工具で被加工物に切削加工等の加工を施す機械である。数値制御装置20はNCプログラムを実行することで工作機械10の動作を制御する。NCプログラムは各種制御指令を含む複数ブロックで構成し、工作機械10の軸移動、工具交換等を含む各種動作をブロック単位で制御する。移設検知装置30は、工作機械10に生じる振動を検知することで、工作機械10の移設を検知する。数値制御装置20と移設検知装置30は互いに通信可能である。移設検知装置30が工作機械10の移設を検知した場合、数値制御装置20は工作機械10の動作を制限する。使用者は工作機械10を使用できないので、工作機械製造業者に動作制限の解除を依頼する。工作機械製造業者は使用者からの依頼に基づき、工作機械10の動作制限を解除する解除キーを使用者に配布し、使用者は該解除キーを用いて動作制限を解除する。 The configuration of the relocation detection system 1 will be described with reference to FIG. The relocation detection system 1 includes a machine tool 10, a numerical control device 20 (see FIG. 3), and a relocation detection device 30 (see FIG. 3). The machine tool 10 is a machine that performs processing such as cutting on a work piece with a tool. The numerical control device 20 controls the operation of the machine tool 10 by executing an NC program. The NC program is composed of a plurality of blocks including various control commands, and controls various operations including axis movement and tool change of the machine tool 10 in block units. The relocation detection device 30 detects the relocation of the machine tool 10 by detecting the vibration generated in the machine tool 10. The numerical control device 20 and the relocation detection device 30 can communicate with each other. When the relocation detection device 30 detects the relocation of the machine tool 10, the numerical control device 20 limits the operation of the machine tool 10. Since the user cannot use the machine tool 10, the machine tool manufacturer is requested to lift the operation restriction. Based on the request from the user, the machine tool manufacturer distributes a release key for releasing the operation restriction of the machine tool 10 to the user, and the user releases the operation restriction by using the release key.

工作機械10は、基台2と本体6を備える。基台2は床に設置する。本体6は基台2に設けた箱状体である。本体6は、テーブル、主軸ヘッド、工具交換装置、駆動部等を収容する。テーブルは被加工物を装着する。テーブルは、X軸方向(左右方向)とY軸方向(前後方向)に移動可能である。主軸ヘッドは、テーブルの上側でZ軸方向(上下方向)に移動可能である。主軸ヘッドは主軸を回転可能に支持する。主軸は上下方向に延び且つ工具を装着する。主軸は工具と一体的に回転可能である。工具交換装置は、主軸に装着する工具を交換可能である。駆動部は、Xモータ、Yモータ、Zモータ、主軸モータ、マガジンモータを備える。XモータとYモータはテーブルを移動する。Zモータは主軸ヘッドを移動する。主軸モータは主軸を回転する。マガジンモータは工具交換装置を駆動する。工作機械10は、回転する主軸と、テーブルを互いに相対移動することで、工具で被加工物に加工を施す。 The machine tool 10 includes a base 2 and a main body 6. The base 2 is installed on the floor. The main body 6 is a box-shaped body provided on the base 2. The main body 6 accommodates a table, a spindle head, a tool changer, a drive unit, and the like. The table is equipped with the work piece. The table can be moved in the X-axis direction (horizontal direction) and the Y-axis direction (front-back direction). The spindle head can be moved in the Z-axis direction (vertical direction) on the upper side of the table. The spindle head rotatably supports the spindle. The spindle extends in the vertical direction and mounts the tool. The spindle can rotate integrally with the tool. The tool changer can change the tool mounted on the spindle. The drive unit includes an X motor, a Y motor, a Z motor, a spindle motor, and a magazine motor. The X and Y motors move the table. The Z motor moves the spindle head. The spindle motor rotates the spindle. The magazine motor drives the tool changer. The machine tool 10 processes a workpiece with a tool by moving the rotating spindle and the table relative to each other.

本体6の前壁部は、開閉扉7、表示部12、入力部13を備える。開閉扉7はスライド可能に設ける。開閉扉7は、スライドすることで本体6の内部を開閉する。表示部12は各種情報を表示する。表示部12は設定画面、操作画面等の各種画面を表示する。入力部13は表示部12下方にある。入力部13は例えば物理的なスイッチ、ボタン、タッチパネル等である。入力部は電源スイッチ(図示略)、リセットキー(図示略)等を備える。 The front wall portion of the main body 6 includes an opening / closing door 7, a display unit 12, and an input unit 13. The opening / closing door 7 is provided so as to be slidable. The opening / closing door 7 opens and closes the inside of the main body 6 by sliding. The display unit 12 displays various information. The display unit 12 displays various screens such as a setting screen and an operation screen. The input unit 13 is below the display unit 12. The input unit 13 is, for example, a physical switch, a button, a touch panel, or the like. The input unit includes a power switch (not shown), a reset key (not shown), and the like.

図1、図2に示す如く、本体6の後壁部は制御箱9を備える。制御箱9は、数値制御装置20(図3参照)と移設検知装置30(図3参照)を収容する。制御箱9の左壁部は、装着部36とカバー17を備える。装着部36は、左方に向けて開口する箱状である。作業者は、バッテリ34(図3参照)を装着部36内側に装着可能である。装着部36に装着したバッテリ34は、移設検知装置30に電力を供給可能である。バッテリ34は、一例として複数の乾電池である。乾電池の本数は一例として4本である。 As shown in FIGS. 1 and 2, the rear wall portion of the main body 6 includes a control box 9. The control box 9 houses the numerical control device 20 (see FIG. 3) and the relocation detection device 30 (see FIG. 3). The left wall portion of the control box 9 includes a mounting portion 36 and a cover 17. The mounting portion 36 has a box shape that opens toward the left. The operator can mount the battery 34 (see FIG. 3) inside the mounting portion 36. The battery 34 mounted on the mounting unit 36 can supply electric power to the relocation detection device 30. The battery 34 is, for example, a plurality of dry batteries. The number of dry batteries is four as an example.

カバー17は枠体15と板状体16を備える。枠体15は矩形且つ板状である。枠体15の一端部は、制御箱9に回動可能に連結する。板状体16は、枠体15の内側に嵌め込む。カバー17は、開放位置(図2参照)と閉塞位置(図示略)の間を回動する。開放位置にあるカバー17は装着部36を開放する。カバー17が開放位置にある時、作業者は、装着部36に装着のバッテリ34を交換可能である。閉塞位置にあるカバー17は、装着部36を閉塞する。 The cover 17 includes a frame body 15 and a plate-shaped body 16. The frame body 15 is rectangular and plate-shaped. One end of the frame 15 is rotatably connected to the control box 9. The plate-shaped body 16 is fitted inside the frame body 15. The cover 17 rotates between an open position (see FIG. 2) and a closed position (not shown). The cover 17 in the open position opens the mounting portion 36. When the cover 17 is in the open position, the operator can replace the battery 34 mounted on the mounting portion 36. The cover 17 in the closed position closes the mounting portion 36.

図3を参照し、数値制御装置20の電気的構成を説明する。数値制御装置20は、CPU21、ROM22、RAM23、記憶装置24、タイマ29、機械用I/F部25、AC/DC変換機26、移設用I/F部27等を備える。CPU21は数値制御装置20の動作を統括制御する。RAM23は各種情報を一時的に記憶する。RAM23は、移設検知フラグを記憶する記憶領域を含む。移設検知フラグは、移設検知装置30が工作機械10の移設を検知した場合、又は、バッテリ34の後述のバッテリ切れが生じた場合は「1」になる。移設検知フラグは、移設検知装置30が工作機械10の移設を検知しない場合、及び、バッテリ34のバッテリ切れが生じていない場合は「0」になる。ROM22は、動作制限プログラム、解除プログラム、バッテリ検査プログラム等を記憶する。各プログラムに基づく処理については後述する。各プログラムは、コンピュータで読み取り可能な記憶媒体としての不揮発性の記憶装置、EEPROM(登録商標)、HDD(ハードディスクドライブ)等に記憶してもよい。RAM23は各種情報を一時的に記憶する。記憶装置24は不揮発性であり、NCプログラムの他、各種情報を記憶する。CPU21は、使用者が入力部13を介して入力したNCプログラムに加え、外部入力で読み込んだNCプログラム等を記憶装置24に記憶することもできる。タイマ29は、バッテリ34が装着部36に装着されてから経過した時間である装着時間を計時する。 The electrical configuration of the numerical control device 20 will be described with reference to FIG. The numerical control device 20 includes a CPU 21, a ROM 22, a RAM 23, a storage device 24, a timer 29, a mechanical I / F unit 25, an AC / DC converter 26, a relocation I / F unit 27, and the like. The CPU 21 comprehensively controls the operation of the numerical control device 20. The RAM 23 temporarily stores various types of information. The RAM 23 includes a storage area for storing the relocation detection flag. The relocation detection flag is set to "1" when the relocation detection device 30 detects the relocation of the machine tool 10 or when the battery of the battery 34, which will be described later, runs out. The relocation detection flag is set to "0" when the relocation detection device 30 does not detect the relocation of the machine tool 10 and when the battery of the battery 34 has not run out. The ROM 22 stores an operation restriction program, a release program, a battery inspection program, and the like. The processing based on each program will be described later. Each program may be stored in a non-volatile storage device as a computer-readable storage medium, EEPROM (registered trademark), HDD (hard disk drive), or the like. The RAM 23 temporarily stores various types of information. The storage device 24 is non-volatile and stores various information in addition to the NC program. In addition to the NC program input by the user via the input unit 13, the CPU 21 can also store the NC program or the like read by the external input in the storage device 24. The timer 29 measures the mounting time, which is the time elapsed since the battery 34 was mounted on the mounting unit 36.

機械用I/F部25は、工作機械10の駆動部、表示部12、入力部13の夫々に接続する。CPU21は、機械用I/F部25を介して駆動部を駆動制御し、工作機械10の加工動作を制御する。CPU21は、機械用I/F部25を介して、表示部12に各種情報を表示する。CPU21は、入力部13に入力の各種情報を、機械用I/F部25を介して受付ける。AC/DC変換機26は、移設検知システム1の外部に設けた交流電源28に接続し、交流電源28が供給する交流の電力を直流の電力に変換する。AC/DC変換機26は、交流電源28の他に、移設検知装置30の後述するI/F部35にも接続する。 The machine I / F unit 25 is connected to each of the drive unit, the display unit 12, and the input unit 13 of the machine tool 10. The CPU 21 drives and controls the drive unit via the machine I / F unit 25 to control the machining operation of the machine tool 10. The CPU 21 displays various information on the display unit 12 via the mechanical I / F unit 25. The CPU 21 receives various types of input information from the input unit 13 via the mechanical I / F unit 25. The AC / DC converter 26 is connected to an AC power supply 28 provided outside the relocation detection system 1 and converts the AC power supplied by the AC power supply 28 into DC power. The AC / DC converter 26 is connected not only to the AC power supply 28 but also to the I / F unit 35 described later of the relocation detection device 30.

移設検知装置30の電気的構成を説明する。移設検知装置30は、CPU31、記憶装置32、振動検知器33、装着部36、電圧検知部37、I/F部35等を備える。CPU31は移設検知装置30の動作を統括制御する。記憶装置32は不揮発性である。記憶装置32は振動検知器33の検知結果を例えばフラグ等で記憶する。移設検知装置30は振動検知器33を用いて工作機械10の移設を検知する。振動検知器33は工作機械10に生じる振動を検知する。移設を検知する方法は、振動を検知する方法以外でもよく、例えば加速度、傾斜等を検知する方法を採用できる。装着部36は電圧検知部37と電気的に接続する。電圧検知部37は、装着部36における電位差を検知する。故に電圧検知部37はバッテリ34の電圧を検知可能である。 The electrical configuration of the relocation detection device 30 will be described. The relocation detection device 30 includes a CPU 31, a storage device 32, a vibration detector 33, a mounting unit 36, a voltage detection unit 37, an I / F unit 35, and the like. The CPU 31 controls the operation of the relocation detection device 30 in an integrated manner. The storage device 32 is non-volatile. The storage device 32 stores the detection result of the vibration detector 33, for example, with a flag or the like. The relocation detection device 30 detects the relocation of the machine tool 10 by using the vibration detector 33. The vibration detector 33 detects the vibration generated in the machine tool 10. The method of detecting the relocation may be other than the method of detecting vibration, and for example, a method of detecting acceleration, inclination, or the like can be adopted. The mounting unit 36 is electrically connected to the voltage detecting unit 37. The voltage detection unit 37 detects the potential difference in the mounting unit 36. Therefore, the voltage detection unit 37 can detect the voltage of the battery 34.

I/F部35は、数値制御装置20の移設用I/F部27とAC/DC変換機26に夫々接続する。工作機械10の入力部13の電源スイッチがオンの場合、AC/DC変換機26は、交流から直流に変換した電力の一部をI/F部35に供給する。この場合、移設検知装置30は、AC/DC変換機26が供給する電力によって動作する。入力部13の電源スイッチがオンからオフの場合、AC/DC変換機26はI/F部35への電力供給を遮断する。この場合、移設検知装置30はバッテリ34が供給する電力によって動作する。 The I / F unit 35 is connected to the relocation I / F unit 27 of the numerical control device 20 and the AC / DC converter 26, respectively. When the power switch of the input unit 13 of the machine tool 10 is on, the AC / DC converter 26 supplies a part of the electric power converted from alternating current to direct current to the I / F unit 35. In this case, the relocation detection device 30 operates by the electric power supplied by the AC / DC converter 26. When the power switch of the input unit 13 is turned off from on, the AC / DC converter 26 cuts off the power supply to the I / F unit 35. In this case, the relocation detection device 30 operates by the electric power supplied by the battery 34.

移設検知装置30の動作を説明する。移設検知装置30のCPU31は、振動検知器33が工作機械10の振動を検知したか否か所定周期で監視する。例えば不審者が工場内から工作機械10を不正に移設しようとした場合、工作機械10に振動が生ずる。振動検知器33は工作機械10に生じた振動を検知する。CPU31は振動検知器33の検知結果を記憶装置32に記憶する。更にCPU31は、電圧検知部37が検知した電位差である検知電圧を、所定周期で取得する。CPU31は数値制御装置20から後述する確認信号を受信すると、振動検知器33の検知結果、取得した検知電圧に基づく各種判定結果を含む情報を、応答信号として数値制御装置20に送信する。移設検知装置30は、AC/DC変換機26の供給電力、又は、バッテリ34の供給電力によって、上記動作を実行する。 The operation of the relocation detection device 30 will be described. The CPU 31 of the relocation detection device 30 monitors at a predetermined cycle whether or not the vibration detector 33 has detected the vibration of the machine tool 10. For example, when a suspicious person attempts to illegally relocate the machine tool 10 from the factory, the machine tool 10 vibrates. The vibration detector 33 detects the vibration generated in the machine tool 10. The CPU 31 stores the detection result of the vibration detector 33 in the storage device 32. Further, the CPU 31 acquires a detection voltage, which is a potential difference detected by the voltage detection unit 37, at a predetermined cycle. When the CPU 31 receives the confirmation signal described later from the numerical control device 20, the CPU 31 transmits the detection result of the vibration detector 33 and information including various determination results based on the acquired detection voltage to the numerical control device 20 as a response signal. The relocation detection device 30 executes the above operation by the power supplied by the AC / DC converter 26 or the power supplied by the battery 34.

バッテリ34の交換について説明する。バッテリ34は、移設検知装置30に電力を供給するにつれて劣化し、やがてバッテリ切れになる。バッテリ切れは、移設検知装置30への適正な電力供給ができなくなったバッテリ34の状態である。以下、適正な電力を供給していたバッテリ34がバッテリ切れに切り替わる時の、電圧検知部37の検知電圧を、第一閾値と称す。バッテリ34がバッテリ切れになる前に、作業者がバッテリ34交換を実行することで、移設検知システム1は、工作機械10の電源スイッチがオフの間、バッテリ34の供給電力によって、工作機械10の移設を確実に検知できる。バッテリ34は、バッテリ切れになる前に、交換すべき状態である特定状態になる。特定状態のバッテリ34は、移設検知装置30に対して適正な電力を供給可能である。 The replacement of the battery 34 will be described. The battery 34 deteriorates as power is supplied to the relocation detection device 30, and eventually the battery runs out. The dead battery is a state of the battery 34 in which proper power cannot be supplied to the relocation detection device 30. Hereinafter, the detection voltage of the voltage detection unit 37 when the battery 34 that has been supplying appropriate power is switched to the dead battery is referred to as a first threshold value. By the operator performing the battery 34 replacement before the battery 34 runs out, the relocation detection system 1 uses the power supplied by the battery 34 while the power switch of the machine tool 10 is off. Relocation can be detected reliably. The battery 34 is in a specific state to be replaced before the battery runs out. The battery 34 in the specific state can supply appropriate electric power to the relocation detection device 30.

本実施形態の特定状態は、交換状態とLOW状態を含む。交換状態は、装着時間が特定時間を経過した場合のバッテリ34の状態である。特定時間は、例えば、未使用状態で装着部36に装着されたバッテリ34がバッテリ切れになるまでの時間に対して、所定の安全率を確保した時間である。特定時間は一例として1年である。移設検知システム1が通常環境下で動作するのであれば、バッテリ34が交換状態である場合、電圧検知部37の検知電圧は第一閾値よりも大きい。LOW状態は、電圧検知部37の検知電圧が、第一閾値よりも高い所定の閾値である第二閾値以下になった時の、バッテリ34の状態である。バッテリ34は、LOW状態である場合、バッテリ切れに切り替わりつつある。移設検知システム1が、例えば仕様によって定まる温度範囲を逸脱した高温又は低温の環境下で動作し続けると、バッテリ34の劣化は速まる。結果、バッテリ34の装着時間が特定時間を経過する前に、バッテリ34はLOW状態になる。尚、通常環境下でバッテリ34が交換状態になった場合、電圧検知部37の検知電圧は、第二閾値以上である。 Specific states of the present embodiment include a replacement state and a LOW state. The replacement state is the state of the battery 34 when the mounting time elapses. The specific time is, for example, a time for ensuring a predetermined safety factor with respect to the time until the battery 34 mounted on the mounting unit 36 in the unused state runs out of battery. The specific time is one year as an example. If the relocation detection system 1 operates in a normal environment, the detection voltage of the voltage detection unit 37 is larger than the first threshold value when the battery 34 is in the replaced state. The LOW state is the state of the battery 34 when the detection voltage of the voltage detection unit 37 becomes equal to or lower than the second threshold value, which is a predetermined threshold value higher than the first threshold value. When the battery 34 is in the LOW state, the battery 34 is being switched to the dead battery. If the relocation detection system 1 continues to operate in a high or low temperature environment that deviates from the temperature range determined by the specifications, for example, the deterioration of the battery 34 is accelerated. As a result, the battery 34 goes into the LOW state before the mounting time of the battery 34 elapses. When the battery 34 is replaced under a normal environment, the detection voltage of the voltage detection unit 37 is equal to or higher than the second threshold value.

図4を参照し、動作制限処理を説明する。電源スイッチがオンすると、数値制御装置20のCPU21はROM22から動作制限プログラムを読出し、本処理を実行する。CPU21は移設検知装置30に対して確認信号を送信する(S1)。移設検知装置30のCPU31は、確認信号の受信後、記憶装置32が記憶するフラグ情報を参照することで、振動検知器33の検知結果を取得する。確認信号を受信したCPU31は、更に、電圧検知部37の検知電圧が第一閾値以下であるかを判定することで、バッテリ34のバッテリ切れの発生の有無を判定する。CPU21は、振動検知器33の検知結果とバッテリ切れの発生の有無を示す情報を、応答信号としてCPU31に返信する(S1)。CPU21は応答信号を受信したか否か判定する(S2)。応答信号を受信する迄(S2:NO)、CPU21はS2に戻って待機する。 The operation restriction process will be described with reference to FIG. When the power switch is turned on, the CPU 21 of the numerical control device 20 reads the operation restriction program from the ROM 22 and executes this process. The CPU 21 transmits a confirmation signal to the relocation detection device 30 (S1). After receiving the confirmation signal, the CPU 31 of the relocation detection device 30 acquires the detection result of the vibration detector 33 by referring to the flag information stored in the storage device 32. Upon receiving the confirmation signal, the CPU 31 further determines whether or not the detection voltage of the voltage detection unit 37 is equal to or less than the first threshold value, thereby determining whether or not the battery of the battery 34 has run out. The CPU 21 returns the detection result of the vibration detector 33 and the information indicating whether or not the battery has run out to the CPU 31 as a response signal (S1). The CPU 21 determines whether or not the response signal has been received (S2). The CPU 21 returns to S2 and waits until the response signal is received (S2: NO).

応答信号を受信した時(S2:YES)、CPU21は受信した応答信号に基づき、工作機械10の移設を検知したか否か判定する(S3)。受信した応答信号が、工作機械10の移設検知を示す情報を含む場合、CPU21は工作機械10の移設を検知したと判定し(S3:YES)、工作機械10の動作を制限する(S7)。例えば、CPU21は、工作機械10の起動停止、工作機械10の駆動部の駆動制御停止、入力部13を介して入力される各種指示の受付停止、等を実行する(S7)。故に不審者が工作機械10を不正に移設した時、工作機械10は動作できない。CPU21は、例えば表示部12に警告画面(図示略)をポップアップ表示する(S7)。故に使用者は工作機械10の移設を検知したことを理由に、工作機械10の動作が停止したことを認識できる。CPU21は、RAM23に記憶する移設検知フラグを1に設定し(S8)、動作制限処理を終了する。 When the response signal is received (S2: YES), the CPU 21 determines whether or not the relocation of the machine tool 10 has been detected based on the received response signal (S3). When the received response signal includes information indicating the relocation detection of the machine tool 10, the CPU 21 determines that the relocation of the machine tool 10 has been detected (S3: YES), and limits the operation of the machine tool 10 (S7). For example, the CPU 21 executes the start / stop of the machine tool 10, the drive control stop of the drive unit of the machine tool 10, the reception stop of various instructions input via the input unit 13, and the like (S7). Therefore, when a suspicious person illegally relocates the machine tool 10, the machine tool 10 cannot operate. For example, the CPU 21 pops up a warning screen (not shown) on the display unit 12 (S7). Therefore, the user can recognize that the operation of the machine tool 10 has stopped because the relocation of the machine tool 10 has been detected. The CPU 21 sets the relocation detection flag stored in the RAM 23 to 1 (S8), and ends the operation restriction process.

CPU21は、工作機械10の移設を検知しなかったと判定した場合(S3:NO)、CPU31からの応答信号に基づき、バッテリ34のバッテリ切れが生じたか否かを判定する(S4)。CPU31からの応答信号が、バッテリ切れが発生したことを示す場合、CPU21はバッテリ切れが生じたと判定し(S4:YES)、処理をS7に移行する。CPU31から応答信号が、バッテリ切れが発生しなかったことを示す場合、CPU21は、バッテリ切れが生じなかったと判定し(S4:NO)、工作機械10の動作を許可する(S5)。故に使用者は工作機械10を正常に使用できる。CPU21は、S5の実行後、RAM23に記憶の移設検知フラグを0に設定し(S6)、動作制限処理を終了する。 When the CPU 21 determines that the relocation of the machine tool 10 has not been detected (S3: NO), the CPU 21 determines whether or not the battery of the battery 34 has run out based on the response signal from the CPU 31 (S4). When the response signal from the CPU 31 indicates that the battery has run out, the CPU 21 determines that the battery has run out (S4: YES), and shifts the process to S7. When the response signal from the CPU 31 indicates that the battery has not run out, the CPU 21 determines that the battery has not run out (S4: NO) and permits the operation of the machine tool 10 (S5). Therefore, the user can use the machine tool 10 normally. After executing S5, the CPU 21 sets the storage transfer detection flag in the RAM 23 to 0 (S6), and ends the operation restriction process.

図5を参照し、解除処理を説明する。CPU21が動作制限処理(図4参照)で工作機械10の動作を制限した時、工作機械10は動作を停止する。使用者は工作機械10を使用できない。使用者は工作機械製造業者に動作制限の解除を依頼する。工作機械製造業者は解除操作に必要な解除キーを使用者に通知する。解除操作は、工作機械10の動作が制限した状態で、例えば入力部13に解除キーを入力することで行う。CPU21は解除キーの入力を受付けた時、ROM22から解除プログラムを読出し、本処理を実行する。CPU21は工作機械10の動作制限を解除する(S11)。CPU21は、RAM23に記憶の移設検知フラグを0に初期化し(S12)、本処理を終了する。 The release process will be described with reference to FIG. When the CPU 21 restricts the operation of the machine tool 10 by the operation restriction process (see FIG. 4), the machine tool 10 stops the operation. The user cannot use the machine tool 10. The user requests the machine tool manufacturer to lift the operation restriction. The machine tool manufacturer notifies the user of the release key required for the release operation. The release operation is performed, for example, by inputting a release key to the input unit 13 in a state where the operation of the machine tool 10 is restricted. When the CPU 21 receives the input of the release key, the CPU 21 reads the release program from the ROM 22 and executes this process. The CPU 21 releases the operation restriction of the machine tool 10 (S11). The CPU 21 initializes the storage transfer detection flag in the RAM 23 to 0 (S12), and ends this process.

図6〜図9を参照し、バッテリ検査処理を説明する。バッテリ検査処理は、動作制限処理の実行後にRAM23に記憶の移設検知フラグが「0」である場合に、CPU21が所定周期で実行する処理である。所定周期は例えば40msである。CPU21は、ROM22に記憶のバッテリ検査プログラムを読み出して、バッテリ検査処理を実行する。 The battery inspection process will be described with reference to FIGS. 6 to 9. The battery inspection process is a process executed by the CPU 21 at a predetermined cycle when the transfer detection flag of the memory stored in the RAM 23 is “0” after the operation restriction process is executed. The predetermined period is, for example, 40 ms. The CPU 21 reads the stored battery inspection program into the ROM 22 and executes the battery inspection process.

CPU21は、バッテリ34が事前交換状態か否かを判定する(S21)。事前交換状態は、交換状態になりつつあるバッテリ34の状態である。詳細には、事前交換状態は、バッテリ34の装着時間が、特定時間よりも短い事前特定時間を経過し且つ特定時間未満となる場合のバッテリ34の状態である。事前特定時間は、一例として特定時間よりも1週間短い。CPU21は、タイマ29が計時した値であるTを取得し、以下の式(A)が成立するか否かを判定する(S21)。
T2≦T<T1・・・(A)
式(A)において、T1は特定時間であり、T2は事前特定時間である。
The CPU 21 determines whether or not the battery 34 is in the pre-replacement state (S21). The pre-replacement state is the state of the battery 34 that is about to be replaced. Specifically, the pre-replacement state is a state of the battery 34 when the mounting time of the battery 34 elapses and becomes less than the specific time, which is shorter than the specific time. The pre-specified time is, for example, one week shorter than the specified time. The CPU 21 acquires T, which is the value measured by the timer 29, and determines whether or not the following equation (A) holds (S21).
T2 ≤ T <T1 ... (A)
In the formula (A), T1 is a specific time and T2 is a pre-specific time.

図6、図7に示す如く、式(A)が成立した場合、CPU21は、バッテリ34が事前交換状態であると判定し(S21:YES)、表示部12を制御してバッテリ34の交換予告の警告表示を実行する(S24)。換言すると、CPU21は、装着時間が事前特定時間を経過したことを報知する(S24)。例えば、表示部12は、メッセージ欄40に、「移設検知装置バッテリ定期交換予告」というアラーム表示を行う(S24)。更に表示部12は、メッセージ欄40の下方にある手動条件設定画面51に被せて、予告警告画面61をポップアップ表示する。手動条件設定画面51は、工作機械10の駆動部の手動条件を設定する為の画面である。予告警告画面61は、例えば以下(1)、(2)の警告を表示する。
(1) 予告警告画面61のポップアップ表示が生じた原因は、バッテリ34の事前交換状態にあること。
(2) バッテリ34の交換手順。
作業者は、バッテリ34の事前交換状態を認識し、バッテリ34の交換を実行できる。CPU21は、処理をS28に移行する。
As shown in FIGS. 6 and 7, when the formula (A) is satisfied, the CPU 21 determines that the battery 34 is in the pre-replacement state (S21: YES), and controls the display unit 12 to notify the replacement of the battery 34. Warning display is executed (S24). In other words, the CPU 21 notifies that the mounting time has elapsed in advance (S24). For example, the display unit 12 displays an alarm in the message field 40, "Notice of periodic replacement of the battery of the relocation detection device" (S24). Further, the display unit 12 pops up the notice warning screen 61 over the manual condition setting screen 51 below the message field 40. The manual condition setting screen 51 is a screen for setting manual conditions for the drive unit of the machine tool 10. The notice warning screen 61 displays, for example, the following warnings (1) and (2).
(1) The cause of the pop-up display of the warning / warning screen 61 is that the battery 34 has been replaced in advance.
(2) Battery 34 replacement procedure.
The operator can recognize the pre-replacement state of the battery 34 and replace the battery 34. The CPU 21 shifts the process to S28.

図6、図8に示す如く、式(A)が成立しない場合、CPU21は、バッテリ34が事前交換状態ではないと判定し(S21:NO)、バッテリ34が交換状態であるか否かを判定する(S22)。CPU21は、タイマ29が計時した値であるTを取得し、以下の式(B)が成立するか否かを判定する(S21)。
T>T1・・・(B)
例えば、工作機械10の電源スイッチが長期間に亘ってオフだった場合、式(A)は成立せず(S21:NO)、且つ式(B)は成立する。式(B)が成立すると、CPU21は、バッテリ34が交換状態であると判定し(S22:YES)、表示部12を制御してバッテリ34の交換の警告表示を実行する(S25)。換言すると、CPU21は、バッテリ34の交換状態を報知する(S25)。例えば、表示部12は、メッセージ欄40に、「移設検知装置バッテリ定期交換」というアラーム表示を行う(S24)。更に表示部12は、手動条件設定画面51に被せて、交換警告画面62をポップアップ表示する。交換警告画面62は、例えば以下(1)、(2)の警告を表示する。
(1)交換警告画面62のポップアップ表示が生じた原因は、バッテリ34の交換状態にあること。
(2)バッテリ34の交換手順。
作業者は、バッテリ34の交換状態を認識し、バッテリ34の交換を実行できる。
As shown in FIGS. 6 and 8, when the formula (A) does not hold, the CPU 21 determines that the battery 34 is not in the pre-replacement state (S21: NO), and determines whether or not the battery 34 is in the replacement state. (S22). The CPU 21 acquires T, which is the value measured by the timer 29, and determines whether or not the following equation (B) holds (S21).
T> T1 ... (B)
For example, when the power switch of the machine tool 10 is turned off for a long period of time, the formula (A) does not hold (S21: NO) and the formula (B) holds. When the formula (B) is satisfied, the CPU 21 determines that the battery 34 is in the replacement state (S22: YES), controls the display unit 12, and executes a warning display for replacement of the battery 34 (S25). In other words, the CPU 21 notifies the replacement state of the battery 34 (S25). For example, the display unit 12 displays an alarm in the message field 40 that says “relocation detection device battery periodic replacement” (S24). Further, the display unit 12 covers the manual condition setting screen 51 and displays the replacement warning screen 62 in a pop-up manner. The exchange warning screen 62 displays, for example, the following warnings (1) and (2).
(1) The cause of the pop-up display on the replacement warning screen 62 is that the battery 34 has been replaced.
(2) Battery 34 replacement procedure.
The operator can recognize the replacement state of the battery 34 and replace the battery 34.

CPU21は、工作機械10の動作を制限する(S26)。例えば、CPU21は、工作機械10の駆動部の駆動制御停止等を実行する(S26)。CPU21は、処理をS28に移行する。 The CPU 21 limits the operation of the machine tool 10 (S26). For example, the CPU 21 executes the drive control stop of the drive unit of the machine tool 10 (S26). The CPU 21 shifts the process to S28.

図6、図9に示す如く、式(B)が成立しない場合、CPU21は、バッテリ34が交換状態でないと判定し(S22:NO)、バッテリ34がLOW状態か否かを判定する(S23)。例えばCPU21は、CPU31に確認信号を送信する(S23)。確認信号を受信したCPU31は、電圧検知部37の検知電圧を取得し、取得した検知電圧が第二閾値以下か否かを判定する。CPU31は、検知電圧に基づく判定結果を、応答信号としてCPU21に出力する。検知電圧が第二閾値よりも高い場合、応答信号を受信したCPU21は、バッテリ34がLOW状態ではないと判定し(S23:NO)、バッテリ検査処理を終了する。 As shown in FIGS. 6 and 9, when the equation (B) does not hold, the CPU 21 determines that the battery 34 is not in the replacement state (S22: NO), and determines whether the battery 34 is in the LOW state (S23). .. For example, the CPU 21 transmits a confirmation signal to the CPU 31 (S23). Upon receiving the confirmation signal, the CPU 31 acquires the detection voltage of the voltage detection unit 37 and determines whether or not the acquired detection voltage is equal to or less than the second threshold value. The CPU 31 outputs a determination result based on the detection voltage to the CPU 21 as a response signal. When the detection voltage is higher than the second threshold value, the CPU 21 that has received the response signal determines that the battery 34 is not in the LOW state (S23: NO), and ends the battery inspection process.

検知電圧が第二閾値以下である場合、CPU21は、バッテリ34がLOW状態であると判定し(S23:YES)、表示部12を制御してバッテリ34の電圧低下の警告表示を実行する(S27)。換言すると、CPU21は、バッテリ34のLOW状態を報知する(S27)。例えば、表示部12は、メッセージ欄40に、「電源をオフせずに移設検知装置バッテリを交換してください」と表示する(S27)。更に表示部12は、手動条件設定画面51に被せて、警告画面63をポップアップ表示する。警告画面63は、例えば以下(1)、(2)の警告を表示する。
(1)警告画面63のポップアップ表示が生じた原因は、バッテリ34のLOW状態にあること。
(2) バッテリ34の交換手順。
(3)工作機械10の電源スイッチがオフの状態でバッテリ34の交換を実行すると、移設検知システム1は移設を検知する可能性があること。
作業者は、バッテリ34のLOW状態を認識して、バッテリ34の交換を実行できる。CPU21は、処理をS28に移行する。
When the detection voltage is equal to or lower than the second threshold value, the CPU 21 determines that the battery 34 is in the LOW state (S23: YES), controls the display unit 12, and executes a warning display of a voltage drop of the battery 34 (S27). ). In other words, the CPU 21 notifies the LOW state of the battery 34 (S27). For example, the display unit 12 displays in the message field 40, "Please replace the relocation detection device battery without turning off the power" (S27). Further, the display unit 12 covers the manual condition setting screen 51 and displays the warning screen 63 in a pop-up manner. The warning screen 63 displays, for example, the following warnings (1) and (2).
(1) The cause of the pop-up display of the warning screen 63 is that the battery 34 is in the LOW state.
(2) Battery 34 replacement procedure.
(3) If the battery 34 is replaced while the power switch of the machine tool 10 is off, the relocation detection system 1 may detect the relocation.
The operator can recognize the LOW state of the battery 34 and replace the battery 34. The CPU 21 shifts the process to S28.

CPU21は、電圧検知部37の検知電圧に基づき、バッテリ34の交換が完了したか否かを判定する(S28)。例えば、CPU21は、CPU31に確認信号を送信する(S28)。確認信号を受信したCPU31は、電圧検知部37の検知電圧を取得する。CPU31は、取得した検知電圧が0Vになった後に第二閾値を超えたか否かを判定する。検知電圧が0Vにならない場合、又は、検知電圧が0Vになった後に第二閾値を超えない場合には、CPU31は、条件を満たしていないことを示す情報を、応答信号としてCPU21に返信する(S28)。CPU21は、バッテリ34の交換が完了していないと判定し(S28:NO)、処理をS21に移行する。CPU21が、S24、S25、又はS27を継続して実行することで、表示部12は警告表示を継続して実行する。 The CPU 21 determines whether or not the replacement of the battery 34 is completed based on the detection voltage of the voltage detection unit 37 (S28). For example, the CPU 21 transmits a confirmation signal to the CPU 31 (S28). The CPU 31 that has received the confirmation signal acquires the detection voltage of the voltage detection unit 37. The CPU 31 determines whether or not the acquired detection voltage exceeds the second threshold value after reaching 0 V. If the detection voltage does not reach 0V, or if the second threshold value is not exceeded after the detection voltage reaches 0V, the CPU 31 returns information indicating that the conditions are not satisfied to the CPU 21 as a response signal ( S28). The CPU 21 determines that the replacement of the battery 34 is not completed (S28: NO), and shifts the process to S21. When the CPU 21 continuously executes S24, S25, or S27, the display unit 12 continuously executes the warning display.

例えば作業者は、カバー17を閉塞位置から開放位置に回動して、装着部36からバッテリ34を取り外す。新しいバッテリ34の装着まで、検知電圧は0Vを維持する(S28:NO)。また、作業者が、劣化したバッテリ34を装着部36に誤って装着した場合、検知電圧は0Vになった後に、第二閾値以上にならない(S28:NO)。CPU21は、警告表示を継続して実行する(S24、S25、S27)。 For example, the operator rotates the cover 17 from the closed position to the open position to remove the battery 34 from the mounting portion 36. The detection voltage is maintained at 0V until the new battery 34 is installed (S28: NO). Further, when the operator mistakenly mounts the deteriorated battery 34 on the mounting portion 36, the detection voltage does not exceed the second threshold value after reaching 0V (S28: NO). The CPU 21 continuously executes the warning display (S24, S25, S27).

作業者がバッテリ34を適正に完了すると、電圧検知部37の検知電圧は、0Vになった後に第二閾値を超える。CPU31は条件を満たしたことを示す情報を応答信号としてCPU21に返信する(S28)。CPU21は、バッテリ34の交換が完了したと判定し(S28)、処理をS29に移行する。作業者は、バッテリ34装着後、カバー17を開放位置から閉塞位置に回動する。 When the operator properly completes the battery 34, the detection voltage of the voltage detection unit 37 exceeds the second threshold value after reaching 0V. The CPU 31 returns information indicating that the condition is satisfied to the CPU 21 as a response signal (S28). The CPU 21 determines that the replacement of the battery 34 is completed (S28), and shifts the process to S29. After installing the battery 34, the operator rotates the cover 17 from the open position to the closed position.

CPU21はリセット処理を実行する(S29)。例えば作業者が入力部13のリセットキーを操作すると、CPU21は、リセットキーの操作を受付けて、リセット処理を実行する。CPU21は、S24、S25、又はS27で実行していた警告表示を止め、タイマ29をリセットする(S29)。CPU21は、S26を実行していた場合には、動作制限を解除する(S29)。作業者は表示部12を見ながら入力部13を操作して、工作機械10の加工動作を正常に開始できる。 The CPU 21 executes a reset process (S29). For example, when an operator operates the reset key of the input unit 13, the CPU 21 accepts the operation of the reset key and executes the reset process. The CPU 21 stops the warning display executed in S24, S25, or S27, and resets the timer 29 (S29). When the CPU 21 has executed S26, the operation restriction is released (S29). The operator can operate the input unit 13 while looking at the display unit 12 to normally start the machining operation of the machine tool 10.

以上説明にて、移設検知装置30は本発明の移設検知手段の一例である。第二閾値は本発明の所定の閾値の一例である。S3を実行するCPU21は本発明の移設判定手段の一例である。S4を実行するCPU21は本発明のバッテリ切れ判定手段の一例である。S7を実行するCPU21は本発明の制限手段の一例である。S11、S12を実行するCPU21は本発明の解除手段の一例である。S22、S23を実行するCPU21は本発明の状態判定手段の一例である。S25、S27を実行するCPU21は本発明の報知手段の一例である。S28を実行するCPU21は本発明の交換判定手段の一例である。S21を実行するCPU21は本発明の事前判定手段の一例である。S24を実行するCPU21は本発明の事前報知手段の一例である。 In the above description, the relocation detection device 30 is an example of the relocation detection means of the present invention. The second threshold is an example of a predetermined threshold of the present invention. The CPU 21 that executes S3 is an example of the relocation determination means of the present invention. The CPU 21 that executes S4 is an example of the battery exhaustion determining means of the present invention. The CPU 21 that executes S7 is an example of the limiting means of the present invention. The CPU 21 that executes S11 and S12 is an example of the releasing means of the present invention. The CPU 21 that executes S22 and S23 is an example of the state determination means of the present invention. The CPU 21 that executes S25 and S27 is an example of the notification means of the present invention. The CPU 21 that executes S28 is an example of the exchange determination means of the present invention. The CPU 21 that executes S21 is an example of the preliminary determination means of the present invention. The CPU 21 that executes S24 is an example of the advance notification means of the present invention.

S3を実行するCPU21は本発明の移設判定工程の一例である。S4を実行するCPU21は本発明のバッテリ切れ判定工程の一例である。S7を実行するCPU21は本発明の制限工程の一例である。S11、S12を実行するCPU21は本発明の解除工程の一例である。S22、S23を実行するCPU21は本発明の状態判定工程の一例である。S25、S27を実行するCPU21は本発明の報知工程の一例である。S28を実行するCPU21は本発明の交換判定工程の一例である。S21を実行するCPU21は本発明の事前判定工程の一例である。S24を実行するCPU21は本発明の事前報知工程の一例である。 The CPU 21 that executes S3 is an example of the relocation determination step of the present invention. The CPU 21 that executes S4 is an example of the battery exhaustion determination process of the present invention. The CPU 21 that executes S7 is an example of the limiting process of the present invention. The CPU 21 that executes S11 and S12 is an example of the release step of the present invention. The CPU 21 that executes S22 and S23 is an example of the state determination process of the present invention. The CPU 21 that executes S25 and S27 is an example of the notification process of the present invention. The CPU 21 that executes S28 is an example of the exchange determination step of the present invention. The CPU 21 that executes S21 is an example of the predetermination step of the present invention. The CPU 21 that executes S24 is an example of the advance notification process of the present invention.

以上説明した如く、バッテリ34が特定状態になった場合(S22:YES、S23:YES)、CPU21は、表示部12を制御して警告表示を実行する(S25、S27)。作業者は、バッテリ34の特定状態を認識できるので、バッテリ34の交換作業を実行する。バッテリ34の交換作業が完了するまで(S28:NO)、CPU21は、処理をS21に移行し、バッテリ34の特定状態を報知する(S25、S27)。故に、バッテリ34がバッテリ切れの状態になる前に、作業者はバッテリ34の交換作業を実行し易い。故に、移設検知システム1は、バッテリ34のバッテリ切れを事前に回避できる。 As described above, when the battery 34 is in a specific state (S22: YES, S23: YES), the CPU 21 controls the display unit 12 to execute a warning display (S25, S27). Since the operator can recognize the specific state of the battery 34, the operator executes the replacement work of the battery 34. Until the replacement work of the battery 34 is completed (S28: NO), the CPU 21 shifts the process to S21 and notifies the specific state of the battery 34 (S25, S27). Therefore, it is easy for the operator to perform the replacement work of the battery 34 before the battery 34 is in the dead battery state. Therefore, the relocation detection system 1 can avoid running out of the battery 34 in advance.

バッテリ34の装着時間が長い程、バッテリ34は特定状態になり易い。CPU21は、バッテリ34の装着時間を計時するタイマ29の値によって、バッテリ34が交換状態か否かを判定する。故に移設検知システム1は、バッテリ34のバッテリ切れを事前に回避し易い。 The longer the battery 34 is attached, the easier it is for the battery 34 to be in a specific state. The CPU 21 determines whether or not the battery 34 is in the replacement state based on the value of the timer 29 that measures the mounting time of the battery 34. Therefore, the relocation detection system 1 can easily avoid running out of the battery 34 in advance.

バッテリ34が交換状態より前の事前交換状態になると(S21:YES)、CPU21は、バッテリ34の事前交換状態を報知する(S24)。CPU21は、バッテリ34の交換完了まで(S28:NO)、処理をS21に移行する。作業者は、バッテリ34の事前交換状態を認識し、バッテリ34の交換作業を実行する。故に移設検知システム1は、バッテリ34のバッテリ切れを事前に更に回避し易い。 When the battery 34 is in the pre-replacement state before the replacement state (S21: YES), the CPU 21 notifies the pre-replacement state of the battery 34 (S24). The CPU 21 shifts the process to S21 until the replacement of the battery 34 is completed (S28: NO). The operator recognizes the pre-replacement state of the battery 34 and executes the replacement work of the battery 34. Therefore, the relocation detection system 1 is more likely to avoid running out of the battery 34 in advance.

バッテリ34がLOW状態になると、電圧検知部37の検知電圧は第二閾値以下になる。移設検知システム1は、装着部36の電位差によってバッテリ34がLOW状態か否かを判定するので(S23)、バッテリ34のバッテリ切れを事前に回避し易い。 When the battery 34 is in the LOW state, the detection voltage of the voltage detection unit 37 becomes equal to or lower than the second threshold value. Since the relocation detection system 1 determines whether or not the battery 34 is in the LOW state based on the potential difference of the mounting portion 36 (S23), it is easy to avoid running out of the battery 34 in advance.

電圧検知部37の検知電圧が第二閾値未満の値である0Vになった後に、第二閾値以上になるまで(S28:NO)、CPU21は処理をS21に移行する。例えば、作業者がバッテリ34を装着部36から取り外したまま移設検知システム1を放置した場合、検知電圧は0Vから切り替わらない(S28:NO)。例えば、作業者が劣化したバッテリ34を装着部36に誤って装着した場合、検知電圧は、0Vになった後に、第二閾値以上にならない(S28:NO)。CPU21は、バッテリ34の交換作業が未完了であると判定し(S28:NO)、警告表示を継続する(S25、S27)。故に、作業者は、交換状態、LOW状態になったバッテリ34の交換作業を、確実に実行できる。 After the detection voltage of the voltage detection unit 37 becomes 0V, which is a value less than the second threshold value, the CPU 21 shifts the processing to S21 until it becomes the second threshold value or more (S28: NO). For example, when the operator leaves the relocation detection system 1 with the battery 34 removed from the mounting portion 36, the detection voltage does not switch from 0V (S28: NO). For example, when the operator mistakenly mounts the deteriorated battery 34 on the mounting portion 36, the detection voltage does not exceed the second threshold value after reaching 0V (S28: NO). The CPU 21 determines that the replacement work of the battery 34 is incomplete (S28: NO), and continues the warning display (S25, S27). Therefore, the operator can surely execute the replacement work of the battery 34 in the replacement state and the LOW state.

本発明は、上記実施形態に限定しない。上記実施形態の移設検知装置30は、工作機械10の移設を検知するものであるが、工作機械以外のタイプの機械の移設を検知するようにしてもよい。上記実施形態の移設検知装置30は、工作機械10に取り付けているが、例えば振動検知器33のみを工作機械10に取り付けてもよい。移設検知装置30は制御箱9の内部に配置する代わりに、例えば工作機械10の本体6の底壁等に設けてもよい。 The present invention is not limited to the above embodiment. The relocation detection device 30 of the above embodiment detects the relocation of the machine tool 10, but it may also detect the relocation of a type of machine other than the machine tool. The relocation detection device 30 of the above embodiment is attached to the machine tool 10, but for example, only the vibration detector 33 may be attached to the machine tool 10. Instead of arranging the relocation detection device 30 inside the control box 9, it may be provided, for example, on the bottom wall of the main body 6 of the machine tool 10.

CPU31が、CPU21からの確認信号に応じて、電圧検知部37の検知電圧を取得し、取得した検知電圧が式(A)、(B)等の所定条件を満たすか否かを判定しなくてもよい。例えば、CPU21が、移設検知装置30のI/F部35を介して電圧検知部37の検知電圧を直接取得してもよい。この場合、CPU21は、取得した検知電圧に基づき、式(A)、(B)等の所定条件が満たされるか否かを判定すればよい。 The CPU 31 acquires the detection voltage of the voltage detection unit 37 in response to the confirmation signal from the CPU 21, and does not determine whether or not the acquired detection voltage satisfies the predetermined conditions of the equations (A), (B) and the like. May be good. For example, the CPU 21 may directly acquire the detection voltage of the voltage detection unit 37 via the I / F unit 35 of the relocation detection device 30. In this case, the CPU 21 may determine whether or not the predetermined conditions such as the equations (A) and (B) are satisfied based on the acquired detection voltage.

バッテリ34の交換判定時(S28)、CPU31は、電圧検知部37の検知電圧が第二閾値未満の0Vに切り替わったか否かを判定する代わりに、第二閾値未満かつ0Vよりも大きい第三閾値未満に切り替わったか否かを判定してもよい。バッテリ34がLOW状態である場合(S23:YES)、CPU21は、電圧検知部37の検知電圧が0Vに切り替わったか否かを判定せずに、検知電圧が第二閾値を超えたか否かだけを判定してもよい。バッテリ34の交換判定時、CPU31は、電圧検知部37の検知電圧が第二閾値を超えたか否かを判定する代わりに、第二閾値よりも大きな第四閾値を超えたか否かを判定してもよい。第四閾値は、未使用状態のバッテリ34が装着部36に装着された時の、電圧検知部37の検知電圧に近い値であってもよい。 At the time of battery 34 replacement determination (S28), the CPU 31 determines whether or not the detection voltage of the voltage detection unit 37 has switched to 0V below the second threshold value, but instead determines whether or not the detection voltage is below the second threshold value and greater than 0V. It may be determined whether or not the switch is made to less than. When the battery 34 is in the LOW state (S23: YES), the CPU 21 does not determine whether or not the detection voltage of the voltage detection unit 37 has been switched to 0V, but only determines whether or not the detection voltage exceeds the second threshold value. You may judge. When determining the replacement of the battery 34, the CPU 31 determines whether or not the detection voltage of the voltage detection unit 37 exceeds the second threshold value, but determines whether or not the detection voltage exceeds the fourth threshold value larger than the second threshold value. May be good. The fourth threshold value may be a value close to the detection voltage of the voltage detection unit 37 when the unused battery 34 is mounted on the mounting unit 36.

タイマ29は、数値制御装置20に代えて移設検知装置30に設けてもよい。この場合、CPU31が、タイマ29の計時した値を取得し、式(B)等が成立するか否かを判定し、判定結果を含む情報をCPU31に送信すればよい(S22)。移設検知装置30に設けたタイマ29は、バッテリ34の装着時間を計時する代わりに、バッテリ34が移設検知装置30に電力を供給する時間を計時してもよい。本変形例のタイマ29は、AC/DC変換機26が移設検知装置30に電力を供給する間、計時を停止する一方、バッテリ34が移設検知装置30に電力を供給する間、計時を実行する。 The timer 29 may be provided in the relocation detection device 30 instead of the numerical control device 20. In this case, the CPU 31 may acquire the timed value of the timer 29, determine whether or not the equation (B) and the like are satisfied, and transmit information including the determination result to the CPU 31 (S22). The timer 29 provided in the relocation detection device 30 may time the time for which the battery 34 supplies power to the relocation detection device 30 instead of timing the mounting time of the battery 34. The timer 29 of the present modification stops the time counting while the AC / DC converter 26 supplies power to the relocation detection device 30, while the timer 29 executes the time measurement while the battery 34 supplies power to the relocation detection device 30. ..

移設検知システム1は、タイマ29を備えなくてもよい。例えば、CPU21は、S29のリセット処理で、バッテリ34交換日時を取得して、取得した日時を例えば記憶装置24に記憶してもよい。特定時間が記憶装置24に記憶の日時から経過したか否かによって、CPU21はバッテリ34が交換状態であるか否かを判定できる(S22)。尚、CPU21に代えてCPU31が、バッテリ34の交換日時を、記憶装置24に代えて記憶装置32に記憶してもよい。この場合、CPU31は、バッテリ34が交換状態か否かを判定し、判定結果をCPU21に出力してもよい。 The relocation detection system 1 does not have to include the timer 29. For example, the CPU 21 may acquire the battery 34 replacement date and time in the reset process of S29 and store the acquired date and time in, for example, the storage device 24. The CPU 21 can determine whether or not the battery 34 is in the replaced state depending on whether or not the specific time has elapsed from the date and time of storage in the storage device 24 (S22). The CPU 31 may store the replacement date and time of the battery 34 in the storage device 32 instead of the storage device 24 instead of the CPU 21. In this case, the CPU 31 may determine whether the battery 34 is in the replaced state and output the determination result to the CPU 21.

CPU21は、S22、S23、S25〜S27を実行しなくてもよい。本変形例において、事前交換状態が本発明の特定状態の一例であり、S21を実行するCPU21が、本発明の状態判定手段の一例であり、S24を実行するCPU21が、本発明の報知手段の一例である。 The CPU 21 does not have to execute S22, S23, and S25 to S27. In the present modification, the pre-replacement state is an example of the specific state of the present invention, the CPU 21 that executes S21 is an example of the state determination means of the present invention, and the CPU 21 that executes S24 is the notification means of the present invention. This is an example.

移設検知システム1は、電圧検知部37に代えて、例えばリミットスイッチ等のセンサを備えてもよい。リミットスイッチは例えばCPU21に電気的に接続する。リミットスイッチは、カバー17に対して接離可能となるように、装着部36に固定してもよい。カバー17が閉塞位置にある場合、リミットスイッチは、カバー17と接触してオフ信号を出力する。カバー17が開放位置にある場合、リミットスイッチはカバー17から離隔してオン信号を出力する。CPU21は、リミットスイッチの出力信号が、オフ信号、オン信号、オフ信号の順に切り替わったか否かを判定することで、カバー17が装着部36を開閉したか否かを判定できる。カバー17はバッテリ34の交換に伴い装着部36を開閉するので、CPU21は、バッテリ34の交換が完了したか否かを判定できる(S28)。尚、リミットスイッチに代えて、例えば透過型のセンサが装着部36に設けられてもよい。透過型のセンサは、カバー17が例えば閉塞位置にあるか否かを検知可能であり、検知結果に応じてオン信号、オフ信号を、例えばCPU21に出力すればよい。 The relocation detection system 1 may include a sensor such as a limit switch instead of the voltage detection unit 37. The limit switch is electrically connected to, for example, the CPU 21. The limit switch may be fixed to the mounting portion 36 so that it can be brought into contact with and detached from the cover 17. When the cover 17 is in the closed position, the limit switch contacts the cover 17 and outputs an off signal. When the cover 17 is in the open position, the limit switch outputs an on signal at a distance from the cover 17. The CPU 21 can determine whether or not the cover 17 opens and closes the mounting portion 36 by determining whether or not the output signal of the limit switch is switched in the order of the off signal, the on signal, and the off signal. Since the cover 17 opens and closes the mounting portion 36 with the replacement of the battery 34, the CPU 21 can determine whether or not the replacement of the battery 34 is completed (S28). In addition, instead of the limit switch, for example, a transmission type sensor may be provided in the mounting portion 36. The transmission type sensor can detect whether or not the cover 17 is in the closed position, for example, and may output an on signal and an off signal to, for example, the CPU 21 according to the detection result.

リミットスイッチは、例えば、カバー17に代えてバッテリ34に対して接離可能となるように、装着部36に固定してもよい。装着部36に装着されたバッテリ34は、リミットスイッチに対して接触する。装着部36から取り外されたバッテリ34は、リミットスイッチから離隔する。リミットスイッチは、バッテリ34との接触又は非接触に応じて、オン信号、オフ信号をCPU21に出力すればよい。故に、CPU21は、リミットスイッチの出力信号が二回切り替わったか否かを判定することで、バッテリ34の交換作業が完了したか否かを判定できる(S28)。 The limit switch may be fixed to the mounting portion 36 so that it can be brought into contact with and detached from the battery 34 instead of the cover 17, for example. The battery 34 mounted on the mounting portion 36 comes into contact with the limit switch. The battery 34 removed from the mounting portion 36 is separated from the limit switch. The limit switch may output an on signal and an off signal to the CPU 21 in response to contact or non-contact with the battery 34. Therefore, the CPU 21 can determine whether or not the replacement work of the battery 34 is completed by determining whether or not the output signal of the limit switch has been switched twice (S28).

上記実施形態の動作制限処理、解除処理、バッテリ検査処理は、CPU21が実行する例に限定されず、CPU31の他、例えばAISC等の電子部品が実行してもよい。 The operation restriction process, release process, and battery inspection process of the above embodiment are not limited to the example executed by the CPU 21, and may be executed by an electronic component such as AISC in addition to the CPU 31.

1 移設検知システム
21 CPU
30 移設検知装置
34 バッテリ
36 装着部
37 電圧検知部
1 Relocation detection system 21 CPU
30 Relocation detection device 34 Battery 36 Mounting unit 37 Voltage detection unit

Claims (6)

バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段と、
前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定手段と、
前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定手段と、
前記移設判定手段が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定手段が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限手段と、
前記制限手段による前記動作の制限を解除する解除手段
備えた移設検知システムにおいて、
前記装着部に装着した前記バッテリが、前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、交換すべき時期を迎えた状態である特定状態であると判定する状態判定手段と、
前記状態判定手段が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知手段と、
前記装着時間が、前記特定時間よりも短い時間である事前特定時間を経過したか否かを判定する事前判定手段と、
前記事前判定手段が、前記装着時間は前記事前特定時間を経過したと判定した場合、前記事前特定時間の経過を報知する事前報知手段と、
前記事前報知手段が前記事前特定時間の経過を報知した場合、若しくは、前記報知手段が前記バッテリの前記特定状態を報知した場合、前記バッテリが交換されたか否かを判定する交換判定手段とを備え、
前記交換判定手段が、前記バッテリは交換されたと判定するまで、前記事前報知手段は、前記事前特定時間の経過を報知し、
前記交換判定手段が前記バッテリは交換されたと判定するまで、前記報知手段は、前記特定状態を報知することを特徴とする移設検知システム。
A relocation detecting means having a mounting portion on which a battery can be mounted and capable of detecting the relocation of a machine with the electric power of the battery,
A relocation determination means for determining the relocation of the machine based on the output information of the relocation detection means, and
A battery exhaustion determining means for determining the battery exhaustion of the battery mounted on the mounting portion, and
When the relocation determining means determines that the machine has been relocated, or when the battery exhaustion determining means determines that the battery has run out, the limiting means for limiting the operation of the machine and the limiting means.
And canceling means for canceling the limitation of the operation by the restricting means
In the relocation detection system equipped with
It is said that the battery mounted on the mounting portion is in a specific state in which it is time to replace the battery when the mounting time, which is the time elapsed since the battery is mounted on the mounting portion, has passed. State determination means for determination and
When the state determination means determines that the battery is in the specific state, the notification means for notifying the specific state of the battery and the notification means.
Preliminary determination means for determining whether or not the pre-specified time, which is shorter than the specific time, has elapsed.
When the pre-determining means determines that the wearing time has elapsed the pre-specified time, the pre-notifying means for notifying the elapse of the pre-specified time
When the advance notification means notifies the elapse of the advance specific time, or when the notification means notifies the specific state of the battery, the exchange determination means for determining whether or not the battery has been replaced. With
Until the replacement determination means determines that the battery has been replaced, the advance notification means notifies the elapse of the advance specific time.
A relocation detection system, characterized in that the notification means notifies the specific state until the replacement determination means determines that the battery has been replaced.
前記装着部における電位差を検知する電圧検知部を備え、
前記電圧検知部が検知した前記電位差が、所定の閾値未満になった場合に、前記状態判定手段は、前記バッテリが前記特定状態であると判定することを特徴とする請求項1に記載の移設検知システム。
A voltage detection unit for detecting a potential difference in the mounting unit is provided.
The potential difference by the voltage detecting unit has detected, if it becomes less than a predetermined threshold, the state determination means, relocation of claim 1, wherein the battery is characterized in that it determines that the a specific state Detection system.
前記装着部における電位差を検知する電圧検知部を備え、
前記電圧検知部が検知した前記電位差が、所定の閾値未満になった後に前記閾値以上になった場合に、前記交換判定手段は、前記バッテリが交換されたと判定することを特徴とする請求項1又は2に記載の移設検知システム。
A voltage detection unit for detecting a potential difference in the mounting unit is provided.
1. The replacement determination means determines that the battery has been replaced when the potential difference detected by the voltage detection unit becomes equal to or greater than the threshold after becoming less than a predetermined threshold. Or the relocation detection system according to 2.
バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段と、
前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定手段と、
前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定手段と、
前記移設判定手段が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定手段が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限手段と、
前記制限手段による前記動作の制限を解除する解除手段
備えた移設検知システムにおいて、
前記装着部に装着した前記バッテリが、交換すべき時期を迎えた状態である特定状態か否かを判定する状態判定手段と、
前記状態判定手段が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知手段と、
前記報知手段が前記バッテリの前記特定状態を報知した場合、前記装着部に装着した前記バッテリが交換されたか否かを判定する交換判定手段と
前記装着部における電位差を検知する電圧検知部と
備え、
前記状態判定手段は、
前記バッテリが前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、前記バッテリは前記特定状態であると判定し、
前記装着時間が前記特定時間を経過していない場合には、前記電圧検知部により前記装着部における電位差を検知し、当該検知した前記電位差が所定の閾値未満になった場合に、前記バッテリは前記特定状態であると判定することを特徴とする移設検知システム。
A relocation detecting means having a mounting portion on which a battery can be mounted and capable of detecting the relocation of a machine with the electric power of the battery, and a relocation detecting means.
Based on the output information of the relocation detecting means, the relocation determining means for determining the relocation of the machine and the relocation determining means.
A battery exhaustion determining means for determining the battery exhaustion of the battery mounted on the mounting portion, and
When the relocation determining means determines that the machine has been relocated, or when the battery exhaustion determining means determines that the battery has run out, the limiting means for limiting the operation of the machine and the limiting means.
And canceling means for canceling the limitation of the operation by the restricting means
In the relocation detection system equipped with
A state determining means for determining whether or not the battery mounted on the mounting portion is in a specific state in which it is time to replace the battery.
When the state determination means determines that the battery is in the specific state, the notification means for notifying the specific state of the battery and the notification means.
When the notification means notifies the specific state of the battery, the replacement determination means for determining whether or not the battery mounted on the mounting portion has been replaced , and
With the voltage detection unit that detects the potential difference in the mounting unit
With
The state determination means
When the mounting time, which is the time elapsed since the battery was mounted on the mounting portion, has passed a specific time, it is determined that the battery is in the specific state.
When the mounting time does not elapse the specific time, the voltage detecting unit detects the potential difference in the mounting unit, and when the detected potential difference becomes less than a predetermined threshold value, the battery is said to be the battery. A relocation detection system characterized by determining that it is in a specific state .
バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段を備えた移設検知システムの、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定工程と、
前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定工程と、
前記移設判定工程が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定工程が前記バッテリ切れを生じたと判定した場合、前記機械の動作を制限する制限工程と、
前記制限工程による前記動作の制限を解除する解除工程
備えた前記移設検知システムの制御方法において、
前記装着部に装着した前記バッテリが、前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、交換すべき時期を迎えた状態である特定状態であると判定する状態判定工程と、
前記状態判定工程が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知工程と、
前記装着時間が、前記特定時間よりも短い時間である事前特定時間を経過したか否かを判定する事前判定工程と、
前記事前判定工程が、前記装着時間は前記事前特定時間を経過したと判定した場合、前記事前特定時間の経過を報知する事前報知工程と、
前記事前報知工程が前記事前特定時間の経過を報知した場合、若しくは、前記報知工程が前記バッテリの前記特定状態を報知した場合、前記バッテリが交換されたか否かを判定する交換判定工程とを備え、
前記交換判定工程が、前記バッテリは交換されたと判定するまで、前記事前報知工程は、前記事前特定時間の経過を報知し、
前記交換判定工程が前記バッテリは交換されたと判定するまで、前記報知工程は、前記特定状態を報知することを特徴とする制御方法。
The relocation of the machine is determined based on the output information of the relocation detection means of the relocation detection system having a mounting portion on which the battery can be mounted and having the relocation detecting means capable of detecting the relocation of the machine by the electric power of the battery. Relocation judgment process and
A battery exhaustion determination step for determining the battery exhaustion of the battery mounted on the mounting portion, and
When the relocation determination step determines that the machine has been relocated, or when the battery exhaustion determination process determines that the battery has run out, a restriction step that limits the operation of the machine and
A release step of releasing the restriction of the operation by the limiting step
In the control method of the relocation detection system provided with
It is said that the battery mounted on the mounting portion is in a specific state in which it is time to replace the battery when the mounting time, which is the time elapsed since the battery is mounted on the mounting portion, has passed. The state judgment process to judge and
When the state determination step determines that the battery is in the specific state, the notification step for notifying the specific state of the battery and the notification step.
A pre-determination step of determining whether or not the pre-specified time, which is shorter than the specific time, has elapsed, and
When the pre-determination step determines that the wearing time has elapsed the pre-specified time, the pre-notifying step for notifying the elapse of the pre-specified time
When the advance notification step notifies the elapse of the advance specific time, or when the notification step notifies the specific state of the battery, a replacement determination step for determining whether or not the battery has been replaced. With
Until the replacement determination step determines that the battery has been replaced, the advance notification step notifies the lapse of the advance specific time.
A control method characterized in that the notification step notifies the specific state until the replacement determination step determines that the battery has been replaced.
バッテリが装着可能な装着部を有し、前記バッテリの電力で機械の移設を検知可能な移設検知手段を備えた移設検知システムの、前記移設検知手段の出力情報に基づき、前記機械の移設を判定する移設判定工程と、
前記装着部に装着した前記バッテリのバッテリ切れを判定するバッテリ切れ判定工程と、
前記移設判定工程が前記機械は移設したと判定した場合、若しくは前記バッテリ切れ判定工程が前記バッテリ切れは生じたと判定した場合、前記機械の動作を制限する制限工程と、
前記制限工程による前記動作の制限を解除する解除工程と
を備えた移設検知システムの制御方法において、
前記装着部に装着した前記バッテリが、交換すべき時期を迎えた状態である特定状態か否かを判定する状態判定工程と、
前記状態判定工程が、前記バッテリは前記特定状態であると判定した場合、前記バッテリの前記特定状態を報知する報知工程と、
前記報知工程が前記バッテリの前記特定状態を報知した場合、前記装着部に装着した前記バッテリが交換されたか否かを判定する交換判定工程と
を備え、
前記状態判定工程は、
前記バッテリが前記装着部に装着されてから経過した時間である装着時間が、特定時間を経過した場合に、前記バッテリは前記特定状態であると判定し、
前記装着時間が前記特定時間を経過していない場合には、前記装着部における電位差を検知する電圧検知部により前記装着部における電位差を検知し、当該検知した前記電位差が所定の閾値未満になった場合に、前記バッテリは前記特定状態であると判定することを特徴とする制御方法。
The relocation of the machine is determined based on the output information of the relocation detection means of the relocation detection system having a mounting portion on which the battery can be mounted and having the relocation detecting means capable of detecting the relocation of the machine by the electric power of the battery. Relocation judgment process and
A battery exhaustion determination step for determining the battery exhaustion of the battery mounted on the mounting portion, and
When the relocation determination step determines that the machine has been relocated, or when the battery exhaustion determination process determines that the battery has run out, a restriction step that limits the operation of the machine and
With the release step of releasing the restriction of the operation by the restriction step
In the control method of the relocation detection system equipped with
A state determination step of determining whether or not the battery mounted on the mounting portion is in a specific state in which it is time to replace the battery.
When the state determination step determines that the battery is in the specific state, the notification step for notifying the specific state of the battery and the notification step.
When the notification step notifies the specific state of the battery, the replacement determination step of determining whether or not the battery mounted on the mounting portion has been replaced.
With
The state determination step is
When the mounting time, which is the time elapsed since the battery was mounted on the mounting portion, has passed a specific time, it is determined that the battery is in the specific state.
When the mounting time has not passed the specific time, the voltage detection unit that detects the potential difference in the mounting portion detects the potential difference in the mounting portion, and the detected potential difference becomes less than a predetermined threshold value. A control method comprising determining that the battery is in the specific state .
JP2016194457A 2016-09-30 2016-09-30 Relocation detection system and control method Active JP6759944B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016194457A JP6759944B2 (en) 2016-09-30 2016-09-30 Relocation detection system and control method
CN201710892549.XA CN107885162B (en) 2016-09-30 2017-09-27 Displacement detection system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016194457A JP6759944B2 (en) 2016-09-30 2016-09-30 Relocation detection system and control method

Publications (2)

Publication Number Publication Date
JP2018055628A JP2018055628A (en) 2018-04-05
JP6759944B2 true JP6759944B2 (en) 2020-09-23

Family

ID=61780935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016194457A Active JP6759944B2 (en) 2016-09-30 2016-09-30 Relocation detection system and control method

Country Status (2)

Country Link
JP (1) JP6759944B2 (en)
CN (1) CN107885162B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7156123B2 (en) * 2019-03-25 2022-10-19 ブラザー工業株式会社 Machine tool and judgment method
JP7287226B2 (en) * 2019-09-30 2023-06-06 ブラザー工業株式会社 Machine tool and judgment method
JP7314852B2 (en) * 2020-03-30 2023-07-26 ブラザー工業株式会社 Machine tool and judgment method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0478913A (en) * 1990-07-23 1992-03-12 Ricoh Co Ltd Backup battery service life informing method
JP3179681B2 (en) * 1995-08-30 2001-06-25 日本ファウンドリー株式会社 Automatic transfer robot
JP3481367B2 (en) * 1995-09-18 2003-12-22 ファナック株式会社 Robot teaching operation panel
CN102200492B (en) * 2010-02-26 2014-08-13 兄弟工业株式会社 Detection system for mobile device
JP5397270B2 (en) * 2010-02-26 2014-01-22 ブラザー工業株式会社 Relocation detection system
JP5402750B2 (en) * 2010-03-18 2014-01-29 株式会社安川電機 Robot system
JPWO2013099079A1 (en) * 2011-12-28 2015-04-30 パナソニックIpマネジメント株式会社 Drive control device, drive control method, and drive control program
JP6229396B2 (en) * 2013-09-20 2017-11-15 ブラザー工業株式会社 Numerical controller
JP5991303B2 (en) * 2013-11-26 2016-09-14 トヨタ自動車株式会社 Control device
JP5992087B1 (en) * 2015-12-28 2016-09-14 ファナック株式会社 Preventive maintenance management system for creating machine maintenance plans

Also Published As

Publication number Publication date
CN107885162A (en) 2018-04-06
JP2018055628A (en) 2018-04-05
CN107885162B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
JP6759944B2 (en) Relocation detection system and control method
EP2907434A1 (en) Glass cleaning robot outage emergency processing method
JP4700016B2 (en) Circuit with control function and inspection method thereof
US10585415B2 (en) Portable operation panel having vibrating function and vibration-detecting function
TW201223054A (en) Apparatus for energizing a protective device, and associated method
US20150005942A1 (en) Portable operation panel having vibration motor
JP2012131597A (en) Unnecessary document collection system
CN101539768A (en) Control device of machine tool
KR101296141B1 (en) Apparatus and method of informing state of battery for vehicles
JP5639836B2 (en) measuring device
JP2014131138A (en) Portable terminal mounting device
KR20170141254A (en) A measurement assembly comprising a recognition system and a recognition method
CN107450475B (en) Displacement detection system and control method of displacement detection system
JP5998708B2 (en) Numerical controller
KR101853977B1 (en) Cleaning apparatus for window and method of controlling the same
JP2011180702A (en) Transfer detection system
KR20140108896A (en) Portable electronics with impact protection function
JP5954768B2 (en) Hazardous area marking device
JP2011067916A (en) Relocation detection device, and machine tool including the relocation detection device
JP7287226B2 (en) Machine tool and judgment method
JP2005339099A (en) Communication equipment and its program
KR101492887B1 (en) Device for sensing destruction of tool of machine tools
JP2019118246A (en) Information processing terminal and charge control method
CN216591880U (en) Range hood and oil cup fixing device thereof
JP6219619B2 (en) Charging system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190524

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200526

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200720

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: 20200804

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200817

R150 Certificate of patent or registration of utility model

Ref document number: 6759944

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150