Machine tool, restart determination system, processing method, and program
The machine tool system addresses the inefficiency of manual restart processes by implementing an autonomous restart determination process, utilizing a numerical control device and relocation detection sensor to validate position and password information, thereby reducing labor costs.
Patent Information
- Application Number
- JP2025041156
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-06-30
- Estimated Expiration
- 2045-03-14
AI Technical Summary
The existing method for releasing operation restrictions on machine tools after relocation requires connecting an electronic device to the machine tool, increasing labor costs and inefficiency.
A machine tool system that includes a numerical control device and a relocation detection sensor, capable of executing a restart determination process. This process involves a position determination and a restart password determination, allowing the machine tool to autonomously assess whether to restart based on valid encrypted position information and passwords.
The system reduces labor required for restarting machine tools by enabling autonomous restart determination, ensuring valid restart conditions are met without manual intervention.
Smart Images

Figure 0007700395000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a machine tool, a restart determination system, a processing method, and a program.
Background Art
[0002] An electronic device for releasing the operation restriction of a machine tool when the machine tool is relocated is known (for example, Patent Document 1).
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] The above-described electronic device is connected to a machine tool, compares the current location of the electronic device with the relocation position of the machine tool, and releases the operation restriction of the machine tool when it is determined that the machine tool has not been illegally relocated. However, in releasing the operation restriction of the machine tool by such a method, it is necessary to connect the electronic device to the machine tool, such as by bringing the electronic device to the place where the machine tool is installed. Therefore, there has been a problem that the labor required to release the operation restriction of the machine tool, that is, to restart the machine tool, increases.
[0005] In view of the above circumstances, one object of the present invention is to provide a machine tool, a restart determination system, a processing method, and a program that can reduce the labor required to restart the machine tool.
Means for Solving the Problems
[0006] One aspect of the machine tool of the present invention is a machine tool that processes an object based on a numerical control program, comprising a machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program, and a relocation detection sensor capable of detecting the relocation of the machine tool. When it is determined based on the relocation detection sensor that the machine tool has been relocated, the numerical control device is capable of executing a restart determination process for determining whether to restart the machine tool. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a restart password determination process for determining whether the restart password input to the numerical control device is valid. The position determination process includes receiving first position information regarding the relocation position input to the numerical control device in an encrypted state, receiving second position information regarding the relocation position acquired based on a position detection sensor, decrypting the first position information, determining whether the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than an allowable upper limit value, prohibiting the restart of the machine tool when the difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value, and starting the restart password determination process when it is determined that the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than the allowable upper limit value. The restart password determination process includes receiving the restart password, prohibiting the restart of the machine tool when it is determined that the restart password is not valid, and permitting the restart of the machine tool when it is determined that the restart password is valid.
[0007] One aspect of the machine tool of the present invention is a machine tool that processes an object based on a numerical control program, comprising a machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program, and a relocation detection sensor that can detect the relocation of the machine tool. When it is determined based on the relocation detection sensor that the machine tool has been relocated, the numerical control device is capable of executing a restart determination process for determining whether to restart the machine tool. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a control password determination process that is executed prior to the position determination process. The control password determination process includes receiving a control password input to the numerical control device, determining whether to execute the position determination process based on the control password, starting the position determination process when it is determined to execute the position determination process based on the control password, and not performing the position determination process when it is determined not to execute the position determination process based on the control password. The position determination process includes prohibiting the restart of the machine tool when it is determined that the relocation position is not a position where the machine tool can be restarted.
[0008] One aspect of the restart determination system of the present invention includes the above-described machine tool, a generation device that generates the restart password and the first position information in an encrypted state, and the position detection sensor.
[0009] One aspect of the processing method of the present invention is a processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program. When it is determined based on a relocation detection sensor capable of detecting the relocation of the machine tool that the machine tool has been relocated, it includes executing a restart determination process for determining whether to restart the machine tool. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a restart password determination process for determining whether the restart password input to the numerical control device is valid. The position determination process includes receiving first position information regarding the relocation position input to the numerical control device in an encrypted state, receiving second position information regarding the relocation position acquired based on a position detection sensor, decrypting the first position information, determining whether the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than an allowable upper limit value, prohibiting the restart of the machine tool when the difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value, and starting the restart password determination process when it is determined that the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than the allowable upper limit value. The restart password determination process includes receiving the restart password, prohibiting the restart of the machine tool when it is determined that the restart password is invalid, and permitting the restart of the machine tool when it is determined that the restart password is valid.
[0010] One aspect of the processing method of the present invention is a processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program. When it is determined based on a relocation detection sensor capable of detecting the relocation of the machine tool that the machine tool has been relocated, a restart determination process for determining whether to restart the machine tool is executed. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a control password determination process executed prior to the position determination process. The control password determination process includes receiving a control password input to the numerical control device, determining whether to execute the position determination process based on the control password, starting the position determination process when it is determined to execute the position determination process based on the control password, and not performing the position determination process when it is determined not to execute the position determination process based on the control password. The position determination process includes prohibiting the restart of the machine tool when it is determined that the relocation position is not a position where the machine tool can be restarted.
[0011] One aspect of the program of the present invention causes the numerical control device to execute the above processing method.
Effects of the Invention
[0012] According to one aspect of the present invention, the labor required for restarting the machine tool can be reduced.
Brief Description of the Drawings
[0013]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Mode for Carrying Out the Invention
[0014] <First Embodiment> The restart determination system 100 shown in FIG. 1 determines whether the machine tool 10 whose operation has been stopped due to relocation can be restarted, and if it is determined that the machine tool 10 can be restarted, the system restarts the machine tool 10. As shown in FIG. 1, the restart determination system 100 includes a machine tool 10, a generation device 20, and a position detection sensor 30.
[0015] The machine tool 10 is a device that processes the object W based on a numerical control (NC) program. The machine tool 10 is an NC machine tool. The object W is, for example, a metal material or the like. The object W may be any object as long as it is an object to be subjected to a processing treatment. The object W is, for example, processed in a state fixed by a jig J. The machine tool 10 includes a machine tool main body 10a, a numerical control device 10b, and a relocation detection sensor 19.
[0016] The machine tool main body 10a is a part that performs a processing treatment. The machine tool main body 10a has a tool T for processing the object W. The tool T is, for example, a drill, an end mill, a milling cutter, or the like. The tool T included in the machine tool main body 10a is not particularly limited as long as it is a tool for processing the object W. The machine tool main body 10a may have two or more tools T.
[0017] The relocation detection sensor 19 is a sensor capable of detecting the relocation of the machine tool 10. The relocation detection sensor 19 is located, for example, inside the machine tool main body 10a. Note that the relocation detection sensor 19 may be located inside the control panel. The relocation detection sensor 19 has, for example, a gyro sensor capable of detecting the vibration of the machine tool 10 and the posture of the machine tool 10. When it is determined that the length of the vibration detected by the gyro sensor exceeds a predetermined threshold value, and when it is determined that the magnitude of the change in the posture detected by the gyro sensor exceeds a predetermined threshold value, etc., the relocation detection sensor 19 outputs a signal indicating that the machine tool 10 has been moved for relocation. The output from the relocation detection sensor 19 is input to the numerical control device 10b. The relocation detection sensor 19 has a battery inside and operates on the power from the battery. The power supply of the relocation detection sensor 19 is turned on when the power supply of the machine tool 10 is in the OFF state. The power supply of the relocation detection sensor 19 is turned off, for example, when the power supply of the machine tool 10 is in the ON state.
[0018] The numerical control device 10b controls the machine tool main body 10a based on a numerical control program. The numerical control device 10b is capable of executing a restart determination process for determining whether to restart the machine tool 10 when it is determined that the machine tool 10 has been relocated based on the relocation detection sensor 19. The restart determination process will be described in detail later. As shown in FIG. 2, the numerical control device 10b includes a first control unit 12, a first storage unit 13, a first input unit 14, and a first display unit 15.
[0019] The first input unit 14 is an input unit through which a user or the like can input various information into the numerical control device 10b. As shown in FIG. 1, in the present embodiment, the first input unit 14 is a button or the like provided on the outer surface of the numerical control device 10b. The first input unit 14 may have any configuration as long as a user can input various information. The first input unit 14 may be an input device such as a keyboard connected to the numerical control device 10b. The first display unit 15 is a display unit capable of displaying various information. On the first display unit 15, information input into the numerical control device 10b and input screens for various passwords described later are displayed. In the present embodiment, the first display unit 15 is a display screen provided on the outer surface of the numerical control device 10b. The first display unit 15 may have any configuration as long as it can display various information. The first display unit 15 may be a screen of a display connected to the numerical control device 10b.
[0020] The first control unit 12 controls each part of the numerical control device 10b. The first control unit 12 is a processor such as a CPU (Central Processing Unit). In the present embodiment, the first control unit 12 is a part that executes the above-described restart determination process. The first control unit 12 executes the restart determination process, for example, by executing an application program for processing stored in the first storage unit 13. As shown in FIG. 2, the first control unit 12 includes a first reception unit 16, a first processing unit 17, and a first output unit 18.
[0021] The first reception unit 16 receives various information input into the numerical control device 10b via the first input unit 14. The various information received by the first reception unit 16 is input into the first processing unit 17. The first output unit 18 outputs the information output from the first processing unit 17. The information output from the first output unit 18 is displayed on the first display unit 15.
[0022] The first processing unit 17 executes the above-described restart determination process. As shown in FIG. 3, the first processing unit 17 includes a decoding processing unit 17a and a determination unit 17b. The decoding processing unit 17a performs a process of decoding the encrypted information among the information received by the first reception unit 16. The determination unit 17b makes a determination in the restart determination process based on the decoded various types of information.
[0023] The position detection sensor 30 is a sensor capable of detecting the position where the position detection sensor 30 is disposed. In the present embodiment, the position detection sensor 30 is a sensor that detects a position using GPS (Global Positioning System). As shown in FIG. 1, in the present embodiment, the position detection sensor 30 is detachably connected to the numerical control device 10b. By detecting position information by the position detection sensor 30 at the position where the machine tool 10 has been relocated or at a position close to the position where the machine tool 10 has been relocated, the position detection sensor 30 can acquire second position information L2 regarding the relocation position where the machine tool 10 has been relocated. The "position close to the position where the machine tool 10 has been relocated" includes positions within a range where the distance from the position where the machine tool 10 has been relocated is equal to or less than an allowable upper limit value TL described later. The second position information L2 is information regarding the relocation position of the machine tool 10 acquired based on the position detection sensor 30. In the present embodiment, the second position information L2 is position information detected by the machine tool 10 at the position where the machine tool 10 has been relocated or at a position close to the position where the machine tool 10 has been relocated. The second position information L2 includes, for example, the latitude and longitude of the position detected by the position detection sensor 30. In the present embodiment, the second position information L2 is output from the position detection sensor 30 to the numerical control device 10b. Note that the second position information L2 may be position information calculated by performing some calculation by the numerical control device 10b on the detection result of the position detection sensor 30.
[0024] The generation device 20 is a device owned by the machine tool manufacturer that manufactured the machine tool 10. The generation device 20 is installed at a location different from the location where the machine tool 10 is installed. The generation device 20 generates various information based on the information input by the person in charge of the machine tool manufacturer. In the present embodiment, the generation device 20 generates a control password PWc, first position information L1, an allowable upper limit value TL, and a restart password PWr. The control password PWc, the first position information L1, the allowable upper limit value TL, and the restart password PWr are output from the generation device 20 in an encrypted state. That is, the generation device 20 generates the control password PWc in an encrypted state, the first position information L1 in an encrypted state, the allowable upper limit value TL in an encrypted state, and the restart password PWr in an encrypted state.
[0025] The control password PWc is information used to determine whether to execute the position determination process described later. The control password PWc includes information about matters that need to be confirmed when restarting the machine tool 10. Matters that need to be confirmed when restarting the machine tool 10 include information regarding whether to execute the position determination process described later and the like.
[0026] The first position information L1 is information regarding the relocation position of the machine tool 10. The first position information L1 is position information indicating the relocation position to which the machine tool 10 reported by the user is relocated. The first position information L1 includes, for example, the latitude and longitude of the relocation position to which the machine tool 10 is relocated.
[0027] The allowable upper limit value TL is the upper limit value of the value allowed as the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2. The allowable upper limit value TL is, for example, about 500 m. The allowable upper limit value TL is not particularly limited.
[0028] The restart password PWr is the password that the user finally inputs to the numerical control device 10b when restarting the machine tool 10. When the restart password PWr input to the numerical control device 10b is valid, the machine tool 10 is restarted. The restart password PWr includes at least one of information that can identify the machine tool 10 and information related to the relocation of the machine tool 10. The information that can identify the machine tool 10 is not particularly limited as long as it can identify the individual of the machine tool 10. The information related to the relocation of the machine tool 10 may be any information as long as it is information related to the relocation of the machine tool 10.
[0029] In this embodiment, the generation device 20 is a personal computer. The generation device 20 includes a generation device main body 20a, a second input unit 24, and a second display unit 25. The second input unit 24 is an input unit through which a person in charge of the machine tool manufacturer can input various information to the generation device 20. In this embodiment, the second input unit 24 is a keyboard connected to the generation device main body 20a and a pointing device such as a mouse. The second input unit 24 may have any configuration as long as the user can input various information. The second display unit 25 is a display unit that can display various information. Information input to the generation device 20, information generated by the generation device 20, etc. are displayed on the second display unit 25. In this embodiment, the second display unit 25 is the screen of a display connected to the generation device main body 20a. The second display unit 25 may have any configuration as long as it can display various information.
[0030] The generation device main body 20a is a computer main body. As shown in FIG. 2, the generation device main body 20a includes a second control unit 22 and a second storage unit 23. The second control unit 22 controls each part of the generation device main body 20a. The second control unit 22 is a processor such as a CPU. The second control unit 22 executes generation processing of various information, for example, by executing an application program for processing stored in the second storage unit 23. The second control unit 22 includes a second reception unit 26, a second processing unit 27, and a second output unit 28.
[0031] The second reception unit 26 receives various types of information input to the main body unit 20a of the generation device via the second input unit 24. The various types of information received by the second reception unit 26 are input to the second processing unit 27. The second output unit 28 outputs the information output from the second processing unit 27. The information output from the second output unit 28 is displayed on the second display unit 25.
[0032] Based on the information received by the second reception unit 26, the second processing unit 27 generates an encrypted control password PWc, an encrypted first position information L1, an encrypted allowable upper limit value TL, and an encrypted restart password PWr. As shown in FIG. 4, the second processing unit 27 includes a generation unit 27a and an encryption processing unit 27b. The generation unit 27a generates a control password PWc, a first position information L1, an allowable upper limit value TL, and a restart password PWr based on the information received by the second reception unit 26. The encryption processing unit 27b encrypts the various types of information generated by the generation unit 27a. The method of encrypting information performed by the encryption processing unit 27b may be any encryption method.
[0033] The person in charge of the machine tool manufacturer inputs information about the user, information that can identify the machine tool 10, information about the relocation position of the machine tool 10 transmitted from the user, and other information about the relocation of the machine tool 10 transmitted from the user to the generation device 20 via the second input unit 24. When the second control unit 22 receives this information, it generates various types of encrypted information based on the received information. The information about the user includes information indicating whether the user is a user who needs to perform the position determination process described later.
[0034] As an example, the numerical control device 10b of the machine tool 10 performs a process of determining whether to restart the machine tool 10 according to the flowcharts shown in FIGS. 5 to 7. The process of the numerical control device 10b described below is a processing method executed by the numerical control device 10b in the present embodiment. As shown in FIG. 5, when the machine tool 10 is relocated by the user (step S101), an operation restriction is imposed on the machine tool 10 (step S102). More specifically, when the machine tool 10 is transported for relocation, the relocation detection sensor 19 detects long-period vibrations applied to the machine tool 10 or changes in the posture of the machine tool 10, and enters a state of outputting a signal for restricting the restart of the machine tool 10. When the relocation detection sensor 19 is in this state, even if the power of the machine tool 10 is turned on, the first control unit 12 does not restart the machine tool 10 based on the signal output from the relocation detection sensor 19 unless the restart determination process is performed.
[0035] After relocating the machine tool 10 or before relocating the machine tool 10, the user contacts the person in charge of the machine tool manufacturer with various information (step S103). In step S103, the user contacts the person in charge of the machine tool manufacturer with, for example, the user name, the fact that the machine tool 10 is being relocated or will be relocated, the relocation position of the machine tool 10, and information that can identify the machine tool 10. When receiving these information (step S104), the person in charge of the machine tool manufacturer inputs these information into the generation device 20 to generate various information (step S105). In step S105, the person in charge of the machine tool manufacturer generates at least an encrypted control password PWc and an encrypted restart password PWr using the generation device 20.
[0036] For example, if the user is a user who needs to execute the position determination process described later, in step S105, the person in charge of the machine tool manufacturer uses the generation device 20 to generate the encrypted control password PWc, the encrypted restart password PWr, the encrypted first position information L1, and the encrypted allowable upper limit value TL. On the other hand, if the user is a user who does not need to execute the position determination process, in step S105, the person in charge of the machine tool manufacturer does not generate the encrypted first position information L1 and the encrypted allowable upper limit value TL. A user who needs to execute the position determination process is, for example, a user with low reliability who is judged to have a possibility of illegally relocating the machine tool 10. A user who does not need to execute the position determination process is, for example, a highly reliable user who is judged to have a low possibility of illegally relocating the machine tool 10, and a user who is the target of the person in charge of the machine tool manufacturer to go to the relocated place of the machine tool 10 to perform operations such as confirmation.
[0037] After receiving a notice from the user that the machine tool 10 has been relocated or will be relocated, the person in charge of the machine tool manufacturer determines whether the user needs to perform the position determination process. When the person in charge of the machine tool manufacturer inputs the judged information into the generation device 20, the generation device 20 generates various information based on the judged information. For example, when information indicating that the user needs to perform the position determination process is input into the generation device 20, the generation device 20 generates the encrypted control password PWc, the encrypted restart password PWr, the encrypted first position information L1, and the encrypted allowable upper limit value TL. The control password PWc generated at this time includes information for causing the numerical control device 10b to execute the position determination process. Also, for example, when information indicating that the user does not need to perform the position determination process is input into the generation device 20, the generation device 20 generates the encrypted control password PWc and the encrypted restart password PWr.
[0038] The person in charge of the machine tool manufacturer sends various information generated in step S105 to the user (step S106). The method of sending the various information in step S106 is not particularly limited. The person in charge of the machine tool manufacturer may send the information to the user by e-mail or the like, may mail a recording medium such as paper on which the information is described to the user, or may dispatch a person in charge who knows the various information to the user's place.
[0039] When the user is a user who does not require the position determination process by the numerical control device 10b but needs to confirm the position where the machine tool 10 has been relocated by the person of the machine tool manufacturer by some method, in step S106, the person in charge of the machine tool manufacturer does not send the encrypted restart password PWr to the user. As a method for the person of the machine tool manufacturer to confirm the position where the machine tool 10 has been relocated, for example, there are a method in which the person of the machine tool manufacturer goes to the relocation position of the machine tool 10 and directly confirms the relocation position, and a method in which the person of the machine tool manufacturer indirectly confirms the relocation position of the machine tool 10 by a photograph or the like. As a method for the person of the machine tool manufacturer to indirectly confirm the relocation position of the machine tool 10 by a photograph or the like, for example, there is a method in which the user is asked to take a photograph in which a device such as a smartphone displaying a screen showing the current location and the nameplate of the machine tool 10 are simultaneously reflected and send it, and the person of the machine tool manufacturer confirms the relocation position of the machine tool 10 based on the photograph. In this case, after it is confirmed that the position where the machine tool 10 has been relocated by the person of the machine tool manufacturer is not an improper position, the person in charge of the machine tool manufacturer sends the encrypted restart password PWr to the user. Also, in this case, after the confirmation of the position is completed, the person in charge of the machine tool manufacturer may generate the restart password PWr by the generation device 20. In the case where the person of the machine tool manufacturer goes to the relocation position of the machine tool 10 and directly confirms the relocation position, the person of the machine tool manufacturer who has performed the confirmation may input the restart password PWr.
[0040] Also, even when the user is a user who requires position determination processing, the person in charge of the machine tool manufacturer may send the restart password PWr to the user after the position determination processing is completed without sending the restart password PWr to the user in step S106. In this case, the person in charge of the machine tool manufacturer may generate the restart password PWr by the generation device 20 after the position determination processing is completed.
[0041] When the user receives various information from the person in charge of the machine tool manufacturer (step S107), the user turns on the power of the machine tool 10 (step S108). Note that the user may turn on the power of the machine tool 10 before receiving various information from the machine tool manufacturer, or may turn on the power of the machine tool 10 before contacting the machine tool manufacturer to notify the relocation of the machine tool 10. Also, when the person in charge of the machine tool manufacturer is dispatched to the user, the person in charge of the machine tool manufacturer may turn on the power of the machine tool 10.
[0042] When the power of the machine tool 10 is turned on, a signal from the relocation detection sensor 19 is input to the numerical control device 10b, and the numerical control device 10b starts a restart determination process for determining whether the machine tool 10 can be restarted while restricting the operation of the machine tool 10 (step S109). That is, the processing method executed by the numerical control device 10b includes executing a restart determination process.
[0043] When the restart determination process is started, the numerical control device 10b first starts a control password determination process (step S110). The control password determination process is a process executed before the position determination process. That is, in the present embodiment, the restart determination process includes a control password determination process that is executed before the position determination process. The control password determination process is a process for determining the content of the process to be performed in the restart determination process based on the input control password PWc.
[0044] When the control password determination process is started, the numerical control device 10b starts accepting the control password PWc (step S111). Specifically, the numerical control device 10b displays an input screen for the control password PWc on the first display unit 15, and enables the first reception unit 16 to receive the control password PWc input from the first input unit 14. After the acceptance of the control password PWc is started, the user operates the first input unit 14 to input the control password PWc into the numerical control device 10b (step S112). The numerical control device 10b receives the input control password PWc by the first reception unit 16 (step S113). That is, the control password determination process includes receiving the control password input into the numerical control device 10b. The control password PWc received by the numerical control device 10b in step S113 is encrypted. That is, in the present embodiment, the control password determination process includes receiving the control password PWc in an encrypted state. When a person in charge of the machine tool manufacturer is dispatched to the user, the person in charge of the machine tool manufacturer may input the control password PWc into the numerical control device 10b.
[0045] The numerical control device 10b that has received the encrypted control password PWc decrypts the received control password PWc by the decryption processing unit 17a (step S114). That is, in the present embodiment, the control password determination process includes decrypting the control password PWc.
[0046] The numerical control device 10b determines whether to execute the position determination process based on the decoded control password PWc (step S115). That is, the control password determination process includes determining whether to execute the position determination process based on the control password PWc. In step S115 of the present embodiment, the numerical control device 10b determines whether to execute the position determination process by the determination unit 17b. When the control password PWc includes information indicating that the position determination process is to be executed, the determination unit 17b determines that the position determination process is to be executed. On the other hand, when the control password PWc does not include information indicating that the position determination process is to be executed, the determination unit 17b determines that the position determination process is not to be executed.
[0047] When the numerical control device 10b determines to execute the position determination process in step S115 (step S115: YES), it starts the position determination process (step S116). That is, the restart determination process includes the position determination process, and when the control password determination process determines to execute the position determination process based on the control password PWc, it includes starting the position determination process.
[0048] The position determination process is a process of determining whether the relocation position where the machine tool 10 is relocated is a position where the machine tool 10 can be restarted. As shown in FIG. 6, when the position determination process is started, the numerical control device 10b starts receiving the first position information L1, the second position information L2, and the allowable upper limit value TL (step S117). That is, in the present embodiment, the position determination process includes receiving the first position information L1, the second position information L2, and the allowable upper limit value TL. Specifically, in step S117, the numerical control device 10b displays an input screen for inputting the first position information L1 and the allowable upper limit value TL on the first display unit 15, and enables the first reception unit 16 to receive the first position information L1 and the allowable upper limit value TL input from the first input unit 14. Also, in step S117, the numerical control device 10b enables the first reception unit 16 to receive the second position information L2 input from the position detection sensor 30.
[0049] After the reception of each position information and the tolerance upper limit value TL is started, the user inputs each position information and the tolerance upper limit value TL into the numerical control device 10b (step S118). In step S118, the user operates the first input unit 14 to input the first position information L1 and the tolerance upper limit value TL into the numerical control device 10b. Here, the first position information L1 and the tolerance upper limit value TL input into the numerical control device 10b in step S118 are encrypted. That is, the first position information L1 and the tolerance upper limit value TL are input into the numerical control device 10b by the user in an encrypted state.
[0050] In step S118, the user acquires the second position information L2 by the position detection sensor 30 and inputs the second position information L2 from the position detection sensor 30 into the numerical control device 10b. When the acquisition of the second position information L2 by the position detection sensor 30 is performed with the position detection sensor 30 connected to the numerical control device 10b, the second position information L2 acquired by the position detection sensor 30 is automatically input into the numerical control device 10b. When the acquisition of the second position information L2 by the position detection sensor 30 is performed with the position detection sensor 30 removed from the numerical control device 10b, after the second position information L2 is acquired by the position detection sensor 30, the user connects the position detection sensor 30 to the numerical control device 10b, whereby the second position information L2 is input into the numerical control device 10b.
[0051] In the position determination process, the numerical control device 10b receives each input position information and the tolerance upper limit value TL by the first reception unit 16 (step S119). Here, as described above, the first position information L1 and the tolerance upper limit value TL are encrypted. That is, the position determination process includes receiving the first position information L1 and the tolerance upper limit value TL in an encrypted state. After receiving each position information and the tolerance upper limit value TL, the numerical control device 10b decrypts the first position information L1 and the tolerance upper limit value TL by the decryption processing unit 17a (step S120). That is, in this embodiment, the position determination process includes decrypting the first position information L1 and the tolerance upper limit value TL.
[0052] In the position determination process, the numerical control device 10b determines whether the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is equal to or less than the allowable upper limit value TL by using each decoded position information and the allowable upper limit value TL (step S121). That is, the position determination process includes determining whether the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is equal to or less than the allowable upper limit value TL. In the present embodiment, the numerical control device 10b performs the determination in step S121 by the determination unit 17b. The determination unit 17b compares the latitude and longitude information of the first position information L1 with the latitude and longitude information of the second position information L2, calculates the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2, and determines whether the difference is equal to or less than the allowable upper limit value TL.
[0053] If the numerical control device 10b determines in step S121 that the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is greater than the allowable upper limit value TL (step S121: NO), the restart of the machine tool 10 is prohibited (step S128). That is, the position determination process includes prohibiting the restart of the machine tool 10 when the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is greater than the allowable upper limit value TL. In other words, the position determination process includes prohibiting the restart of the machine tool 10 when it is determined that the relocation position of the machine tool 10 is not a position where the machine tool 10 can be restarted.
[0054] When the numerical control device 10b determines in step S121 that the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is equal to or less than the allowable upper limit value TL (step S121: YES), it starts the restart password determination process (step S122). That is, the position determination process includes starting the restart password determination process when it is determined that the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is equal to or less than the allowable upper limit value TL. In other words, the position determination process includes starting the restart password determination process when it is determined that the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted. Further, the restart determination process includes the restart password determination process.
[0055] The restart password determination process is a process for determining whether the restart password PWr input to the numerical control device 10b is valid. When the restart password determination process is started, the numerical control device 10b starts accepting the restart password PWr (step S123). Specifically, in step S123, the numerical control device 10b displays an input screen for inputting the restart password PWr on the first display unit 15, and enables the first reception unit 16 to receive the restart password PWr input from the first input unit 14.
[0056] After the acceptance of the restart password PWr is started, the user inputs the restart password PWr to the numerical control device 10b (step S124). In step S124, the user operates the first input unit 14 to input the restart password PWr to the numerical control device 10b. Here, the restart password PWr input to the numerical control device 10b in step S124 is encrypted. That is, the restart password PWr is input to the numerical control device 10b by the user in an encrypted state.
[0057] In the restart password determination process, the numerical control device 10b receives the input restart password PWr by the first reception unit 16 (step S125). That is, the restart password determination process includes receiving the restart password PWr. Here, as described above, the restart password PWr is encrypted. That is, the restart password determination process includes receiving the restart password PWr in an encrypted state. After receiving the restart password PWr, the numerical control device 10b decrypts the restart password PWr by the decryption processing unit 17a (step S126). That is, the restart password determination process includes decrypting the restart password PWr.
[0058] In the restart password determination process, the numerical control device 10b determines whether the restart password PWr is valid based on the decoded restart password PWr (step S127). In the present embodiment, the numerical control device 10b makes the determination in step S127 by the determination unit 17b. In step S127, the determination unit 17b determines whether the restart password PWr is the restart password PWr generated for the machine tool 10 based on the information capable of identifying the machine tool 10 included in the restart password PWr. Further, in step S127, the determination unit 17b determines whether the restart password PWr is the restart password PWr generated for the relocation of the machine tool 10 based on the information regarding the relocation of the machine tool 10 included in the restart password PWr. For example, when the determination unit 17b determines that the machine tool 10 specified by the information included in the restart password PWr is the machine tool 10 to which the restart password PWr is input, and the information regarding the relocation obtained based on the restart password PWr is the information regarding the relocation of the machine tool 10, the determination unit 17b determines that the input restart password PWr is valid. Note that the determination unit 17b may collate other information other than the above-described information included in the restart password PWr with information such as a predetermined password stored in the numerical control device 10b in advance, and determine whether the information matches. In this case, for example, in addition to satisfying the above-described conditions, when the information matches, the determination unit 17b determines that the input restart password PWr is valid.
[0059] For example, when the machine tool 10 specified by the information included in the restart password PWr is different from the machine tool 10 to which the restart password PWr is input, and when the determination unit 17b determines that the information regarding the relocation obtained based on the restart password PWr is not the restart password PWr generated for the relocation of the machine tool 10, the determination unit 17b determines that the restart password PWr is not valid.
[0060] When the numerical control device 10b determines that the restart password PWr is invalid in step S127 (step S127: NO), it prohibits the restart of the machine tool 10 (step S128). That is, the restart password determination process includes prohibiting the restart of the machine tool 10 when it is determined that the restart password PWr is invalid. On the other hand, when the numerical control device 10b determines that the restart password PWr is valid in step S127 (step S127: YES), it permits the restart of the machine tool 10 (step S129). That is, the restart password determination process includes permitting the restart of the machine tool 10 when it is determined that the restart password PWr is valid. Thereby, the user can restart the relocated machine tool 10.
[0061] As shown in FIG. 5, when the numerical control device 10b determines not to execute the position determination process in step S115 (step S115: NO), it starts the above-described restart password determination process (step S122).
[0062] Machine tools sold by a machine tool manufacturer may be resold by the users who purchased them from the machine tool manufacturer to other users. In this case, the other users may attempt to use the machine tool in a country or region where the machine tool manufacturer has prohibited the use of the machine tool. In order to prevent the machine tool from being restarted in such a case, it is necessary to determine whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted. If the relocation position is a position where the use of the machine tool is prohibited, it is necessary to provide a mechanism for prohibiting the restart of the machine tool. As such a mechanism, for example, a method of connecting an electronic device prepared by the machine tool manufacturer to the machine tool wirelessly or by wire to determine the relocation position of the machine tool can be considered. However, in this method, when connecting the electronic device and the machine tool by wire, every time the machine tool is relocated, the person in charge of the machine tool manufacturer needs to carry the electronic device to the user, which is a great deal of trouble for the machine tool manufacturer. Also, when connecting the electronic device and the machine tool wirelessly, if the relocation position of the machine tool is a place where radio waves do not reach, the electronic device and the machine tool cannot be connected. Therefore, in the method of determining the restart of the machine tool by the electronic device prepared by the machine tool manufacturer, there is a problem that the labor required for restarting the machine tool increases.
[0063] In response to the above problems, according to the present embodiment, the numerical control device 10b of the machine tool 10 is capable of executing a restart determination process for determining whether or not to restart the machine tool 10. The restart determination process includes a position determination process for determining whether or not the relocation position where the machine tool 10 has been relocated is a position where the machine tool 10 can be restarted. Therefore, it is possible to determine by the machine tool 10 whether or not the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted without connecting another electronic device to the machine tool 10. As a result, even when the machine tool 10 is relocated to a place where radio waves do not reach without transporting the electronic device prepared by the machine tool manufacturer to the user, it is possible to simply determine whether or not the machine tool 10 can be restarted. Therefore, it is possible to reduce the labor of the machine tool manufacturer required for restarting the machine tool 10. In addition, since it is no longer necessary for the person in charge of the machine tool manufacturer to go to the relocation position of the machine tool 10, the machine tool 10 can be restarted quickly and the cost required for restarting the machine tool 10 can also be reduced.
[0064] The restart determination process includes a restart password determination process for determining whether the restart password PWr input to the numerical control device 10b is valid. The position determination process includes starting the restart password determination process when it is determined that the difference between the position indicated by the first position information L1 and the position indicated by the second position information L2 is equal to or less than the allowable upper limit value TL. The restart password determination process includes prohibiting the restart of the machine tool 10 when it is determined that the restart password PWr is invalid, and permitting the restart of the machine tool 10 when it is determined that the restart password PWr is valid. That is, even when it is determined by the position determination process that the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted, the machine tool 10 is not immediately restarted, and input of the restart password PWr is required to restart the machine tool 10. Therefore, even if the determination requirement in the position determination process is loosened to some extent within a range where it can be determined whether it is an improper relocation position, restart of the machine tool 10 at an improper relocation position can be suppressed, and safety against unauthorized use of the machine tool 10 can be ensured. Specifically, for example, when determining whether to restart the machine tool 10 only by the position determination process, it is difficult to ensure safety against unauthorized use of the machine tool 10 unless the determination requirement of the position determination process is made strict. However, for example, if the determination requirement of the position determination process is made strict by setting a time limit from when the first position information L1 and the second position information L2 are generated until they are input to the numerical control device 10b, problems such as the machine tool 10 not being able to be restarted even at an appropriate relocation position are likely to occur when an unexpected situation occurs. Therefore, there is a problem that the convenience of the user is reduced. On the other hand, as in the present embodiment, by providing a restart password determination process for determining whether the restart password PWr is valid in addition to the position determination process, the determination requirement of the position determination process can be loosened to some extent by eliminating the time limit when inputting each position information, and safety against unauthorized use of the machine tool 10 can be ensured. Therefore, according to the present embodiment, it is possible to achieve both the convenience of the user and the safety against unauthorized use of the machine tool 10.
[0065] Also, in this embodiment, the position determination process includes receiving the first position information L1 input to the numerical control device 10b in an encrypted state and decrypting the first position information L1. The person in charge of the machine tool manufacturer generates the first position information L1 in an encrypted state based on the relocation position reported by the user and sends the first position information L1 to the user. Since the first position information L1 obtained by the user from the person in charge of the machine tool manufacturer is encrypted, it is possible to prevent the first position information L1 from being tampered with by the user. Therefore, it is possible to prevent the user from reporting a false relocation position to the machine tool manufacturer and illegally restarting the machine tool 10.
[0066] According to this embodiment, the restart password determination process includes receiving the restart password PWr in an encrypted state and decrypting the restart password PWr. Therefore, it is possible to prevent the restart password PWr from being tampered with by the user. As a result, when the restart password PWr includes information that can identify the machine tool 10 and information related to the relocation of the machine tool 10, it is possible to prevent the information from being illegally rewritten.
[0067] According to this embodiment, the restart password PWr includes at least one of information that can identify the machine tool 10 and information related to the relocation of the machine tool 10. Therefore, in the restart password determination process using the restart password PWr, it is possible to further prevent the user from illegally restarting the machine tool 10. Therefore, the safety against illegal use of the machine tool 10 can be further improved.
[0068] According to this embodiment, the position determination process includes receiving the encrypted allowable upper limit value TL and decrypting the allowable upper limit value TL. Therefore, it is possible to prevent the allowable upper limit value TL from being tampered with by the user. As a result, it is possible to prevent the user from rewriting the allowable upper limit value TL to an excessively large value and causing a misjudgment in the position determination process. Further, instead of storing the allowable upper limit value TL in the numerical control device 10b in advance, by inputting it into the numerical control device 10b together with the first position information L1 and the like, each time the machine tool manufacturer receives notice from the user that the machine tool 10 has been relocated, the machine tool manufacturer can set an appropriate allowable upper limit value TL for each user. Therefore, the machine tool manufacturer can adjust the allowable upper limit value TL according to the degree of reliability of the user and the like, and can suitably adjust the convenience of the user and the safety against unauthorized use of the machine tool 10.
[0069] According to this embodiment, the position detection sensor 30 is detachably connected to the numerical control device 10b. Therefore, even when the second position information L2 cannot be acquired by the position detection sensor 30 at the position where the machine tool 10 is installed, the user can remove the position detection sensor 30 from the numerical control device 10b and move the position detection sensor 30 to a position where the second position information L2 can be acquired. Thereby, the user can acquire the second position information L2 by the position detection sensor 30. In particular, in a factory or the like where the machine tool 10 is installed, it is often difficult to acquire position information from GPS. In contrast, the user can acquire the second position information L2 by the position detection sensor 30 by taking the position detection sensor 30 that detects the second position information L2 using GPS outside the factory or the like. It is also possible for the machine tool manufacturer to send the position detection sensor 30 to the user together with information such as the control password PWc.
[0070] According to this embodiment, the restart determination process includes a control password determination process that is executed before the position determination process. The control password determination process includes receiving a control password PWc input to the numerical control device 10b, determining whether to execute the position determination process based on the control password PWc, starting the position determination process when it is determined to execute the position determination process based on the control password PWc, and making it possible to execute the restart password determination process without performing the position determination process when it is determined not to execute the position determination process based on the control password PWc. Therefore, the machine tool manufacturer can decide whether to execute the position determination process for each user by changing the content of the control password PWc according to the reliability of the user or the like. For example, if the target user is a highly reliable user, the machine tool manufacturer generates, by the generation device 20, a control password PWc that enables the execution of the restart password determination process without performing the position determination process. Thereby, the labor for restarting the machine tool 10 transferred by a user with a low possibility of using the machine tool 10 at an improper position can be reduced. Further, for example, if the target user is a user with low reliability, the machine tool manufacturer generates, by the generation device 20, a control password PWc for which the position determination process is executed. Thereby, it is possible to suppress the user from illegally restarting the machine tool 10. In addition, since the machine tool manufacturer can determine the control password PWc according to the user each time the machine tool 10 is transferred and restarted, the content to be confirmed at the time of restart can be changed by the user even for the same machine tool 10. Thereby, it is possible to suppress the machine tool 10 transferred from a position where restart is permitted to a position where restart is prohibited from being illegally restarted.
[0071] According to this embodiment, the control password determination process includes receiving the control password PWc in an encrypted state and decrypting the control password PWc. Therefore, it is possible to suppress the control password PWc from being tampered with by the user.
[0072] According to the present embodiment, the position detection sensor 30 is a sensor that detects a position using GPS. Therefore, the position detection sensor 30 can accurately acquire the second position information L2 regarding the relocation position of the machine tool 10.
[0073] The numerical control device 10b is a computer that executes the processing method of the present embodiment described above. A program for causing the numerical control device 10b, which is a computer, to execute the above-described processing method is installed in the numerical control device 10b. The program is stored, for example, in the first storage unit 13 and is executed by the first control unit 12. The program is an application program for the processing executed by the first control unit 12 described above. At least a part of the functions of each component in the first control unit 12 of the numerical control device 10b is realized, for example, by executing a program stored in the first storage unit 13, that is, software. Note that the program may be stored in a storage unit different from the first storage unit 13. The first control unit 12 may be composed of a plurality of parts each having a part of the functions of the first control unit 12.
[0074] The application program stored in the second storage unit 23 described above is a program for causing the generation device 20, which is a computer, to execute the information generation processing by the generation device 20 described above. At least a part of the functions of each component in the second control unit 22 of the generation device 20 is realized, for example, by executing a program stored in the second storage unit 23, that is, software. Note that the program may be stored in a storage unit different from the second storage unit 23. The second control unit 22 may be composed of a plurality of parts each having a part of the functions of the second control unit 22.
[0075] At least a part of the functions of the respective components in the first control unit 12 of the numerical control device 10b and at least a part of the functions of the respective components in the second control unit 22 of the generation device 20 may be realized by hardware including circuit units such as, for example, LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), and CPU (Central Processing Unit), or may be realized by the cooperation of software and hardware. The first storage unit 13 that stores a program for causing the numerical control device 10b, which is a computer, to execute the processing method of the present embodiment described above, and the second storage unit 23 of the generation device 20 are realized by storage media such as, for example, RAM (Random Access Memory), ROM (Read Only Memory), HDD (hard disk drive), and flash memory. The first storage unit 13 is not particularly limited as long as it can store a program for causing the numerical control device 10b to execute the processing method of the present embodiment described above. The second storage unit 23 is not particularly limited as long as it can store a program for causing the generation device 20 to execute the information generation processing by the generation device 20 described above. The first storage unit 13 and the second storage unit 23 may be a microcomputer or may be a disk medium such as a CD-ROM. The first storage unit 13 may be provided separately from the numerical control device 10b. In this case, the numerical control device 10b may communicate with the first storage unit 13 by wired communication or wireless communication and execute the program stored in the first storage unit 13. The second storage unit 23 may be provided separately from the generation device 20. In this case, the generation device 20 may communicate with the second storage unit 23 by wired communication or wireless communication and execute the program stored in the second storage unit 23.
[0076] <Second Embodiment> In the following description, for configurations and methods similar to those of the above-described embodiment, the description may be omitted by appropriately assigning the same reference numerals.
[0077] In this embodiment, the information about the user input to the generation device 20 by the person in charge of the machine tool manufacturer includes information regarding whether the user, when not needing to perform the position determination process, is a user who requires a predetermined start operation described later. Also, in this embodiment, the information indicating that the user input to the generation device 20 by the person in charge of the machine tool manufacturer is a user who does not need to perform the position determination process includes information regarding whether the user is a user who requires a predetermined start operation. When information indicating that the user is a user who requires a predetermined start operation is input to the generation device 20, the generated control password PWc includes information for causing the numerical control device 10b to start accepting the start operation. When information indicating that the user is not a user who requires a predetermined start operation is input to the generation device 20, the generated control password PWc includes information for causing the numerical control device 10b to start the restart password determination process without accepting the start operation. Thus, in this embodiment, the control password PWc includes information regarding whether a predetermined start operation is required when the position determination process is not executed.
[0078] As shown in FIG. 7, in this embodiment, when the numerical control device 10b determines not to execute the position determination process in step S115 (step S115: NO), it immediately starts the start operation determination process without starting the restart password determination process (step S130). The start operation determination process is included in the control password determination process. The start operation determination process is a process for determining whether a predetermined start operation performed by the user is necessary to start the restart password determination process when the position determination process is not executed. The predetermined start operation is, for example, a special operation that is usually not performed when using the machine tool 10. The predetermined start operation is, for example, an operation of pressing various buttons provided on the numerical control device 10b in a predetermined order. The predetermined start operation may be any operation.
[0079] As shown in FIG. 8, in the start operation determination process, the numerical control device 10b determines whether a predetermined start operation is necessary (step S131). In step S131, the numerical control device 10b determines by the determination unit 17b whether the start operation is necessary. In step S131, the determination unit 17b determines whether the input control password PWc satisfies a predetermined condition C1. In step S131, when the control password PWc satisfies the predetermined condition C1, the determination unit 17b determines that a predetermined start operation is not necessary to start the restart password determination process. In step S131, when the control password PWc does not satisfy the predetermined condition C1, the determination unit 17b determines that a predetermined start operation is necessary to start the restart password determination process. In the present embodiment, the predetermined condition C1 is that the control password PWc includes information indicating that a predetermined start operation is not necessary. The information indicating that a predetermined start operation is not necessary is, for example, a number or a character string indicating that a predetermined start operation is not necessary. As an example, when the number at a predetermined position in the decrypted control password PWc is "1" and this is the information indicating that a predetermined start operation is not necessary, if the number at the predetermined position in the decrypted control password PWc is "1", the control password PWc satisfies the predetermined condition C1. In this example, if the number at the predetermined position in the decrypted control password PWc is a number other than "1" such as "0", the control password PWc does not satisfy the predetermined condition C1.
[0080] When the numerical control device 10b determines in step S131 that the control password PWc satisfies the predetermined condition C1 and a predetermined start operation is not necessary (step S131: NO), it starts the restart password determination process described in the first embodiment (step S122). That is, the control password determination process includes starting the restart password determination process when it is determined not to execute the position determination process based on the control password PWc and the control password PWc satisfies the predetermined condition C1.
[0081] When the numerical control device 10b determines in step S131 that the control password PWc does not satisfy a predetermined condition and a predetermined start operation is required (step S131: YES), it starts accepting the start operation (step S132). That is, the control password determination process includes putting the numerical control device 10b in a state where it can accept a predetermined start operation for starting the restart password determination process when it is determined not to execute the position determination process based on the control password PWc and the control password PWc does not satisfy the predetermined condition C1. In step S132, the numerical control device 10b may or may not display on the first display unit 15 that it has started accepting the start operation.
[0082] When a predetermined start operation is required when the position determination process is not executed, it is determined by the person in charge of the machine tool manufacturer whether the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted. Examples of the determination method include a method in which the person in charge of the machine tool manufacturer goes to the relocation position of the machine tool 10 and directly checks the relocation position, and a method in which the person in charge of the machine tool manufacturer indirectly checks the relocation position of the machine tool 10 by means of a photograph or the like. Examples of the method in which the person in charge of the machine tool manufacturer indirectly checks the relocation position of the machine tool 10 by means of a photograph or the like include a method in which the user is asked to take and send a photograph in which a device such as a smartphone displaying a screen showing the current location and the nameplate of the machine tool 10 are simultaneously shown, and the person in charge of the machine tool manufacturer checks the relocation position of the machine tool 10 based on the photograph. When it is determined based on the photograph or the like that the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted, the person in charge of the machine tool manufacturer teaches the user the procedure of the start operation. The user executes the taught start operation on the numerical control device 10b (step S133). In the case where the person in charge of the machine tool manufacturer goes to the relocation position of the machine tool 10 and directly checks the relocation position, if the person in charge of the machine tool manufacturer determines that the relocation position of the machine tool 10 is a position where the machine tool 10 can be restarted, the person in charge of the machine tool manufacturer may teach the user the procedure of the start operation or may execute the start operation himself / herself.
[0083] The numerical control device 10b receives the executed start operation by the first reception unit 16 (step S134). When the numerical control device 10b receives the start operation, it starts the restart password determination process described in the first embodiment (step S122). Thus, when it is determined in step S115 of the present embodiment that the position determination process is not executed, the restart password determination process is executed without executing the position determination process. That is, the control password determination process includes making it possible to execute the restart password determination process without performing the position determination process when it is determined based on the control password PWc not to execute the position determination process.
[0084] Note that a plurality of types of start operations may be provided. In this case, the control password PWc includes information about which of the plurality of types of start operations needs to be performed in order to start the restart password determination process. The numerical control device 10b determines the start operation to be received from among the plurality of types of start operations based on the information included in the control password PWc.
[0085] According to the present embodiment, the control password determination process includes starting the restart password determination process when the control password PWc satisfies a predetermined condition C1 when it is determined based on the control password PWc not to execute the position determination process. Therefore, the machine tool manufacturer can generate and send a control password PWc that satisfies the predetermined condition C1 to a user who does not need to confirm the relocation position of the machine tool 10, and after the user inputs the control password PWc, the user can input the restart password PWr without performing any operation. Specifically, for example, when the user inputs the control password PWc in the control password determination process, an input screen for inputting the restart password PWr is automatically displayed on the first display unit 15. Therefore, the trouble when restarting the machine tool 10 relocated by a highly reliable user can be further reduced.
[0086] According to the present embodiment, when it is determined that the position determination process is not executed based on the control password PWc and the control password PWc does not satisfy the above-described predetermined condition C1, the numerical control device 10b is set to a state in which a predetermined start operation for starting the restart password determination process can be received. The numerical control device 10b starts the restart password determination process when the start operation is received. Therefore, the person in charge of the machine tool manufacturer can enable the input of the restart password PWr after making some confirmation even for a user for whom it is determined that the numerical control device 10b does not need to perform the position determination process. Specifically, for example, when the person in charge of the machine tool manufacturer determines that a simple confirmation of the relocation position is necessary although the position determination process by the numerical control device 10b is not required, the person in charge of the machine tool manufacturer generates and sends a control password PWc (a control password PWc that does not satisfy the above-described predetermined condition C1) for making the numerical control device 10b in a state where the above-described predetermined start operation can be received to the user. When the control password PWc is input to the numerical control device 10b, the numerical control device 10b becomes a state in which the above-described predetermined start operation can be received. The person in charge of the machine tool manufacturer indirectly confirms the relocation position of the machine tool 10 by the method using the above-described photo or the like, and after determining that there is no problem with the relocation position, teaches the user the procedure of the predetermined start operation. By executing the taught start operation, the user can input the restart password PWr to the numerical control device 10b. Therefore, it is possible to divide the level of confirmation of the relocation position of the machine tool 10 according to the reliability of the user. Therefore, while ensuring the convenience of the user, the safety against unauthorized use of the machine tool 10 can be suitably ensured. Further, when the person in charge of the machine tool manufacturer goes to the relocation position of the machine tool 10 and directly confirms the relocation position of the machine tool 10, the person in charge of the machine tool manufacturer performs the predetermined start operation on the numerical control device 10b after inputting the control password PWc and confirming that there is no problem with the relocation position of the machine tool 10, so that the restart password PWr can be input. Therefore, the labor when the person in charge of the machine tool manufacturer directly restarts the machine tool 10 can be reduced.Also, when the user is a user who needs to confirm the position where the machine tool 10 has been relocated by someone from the machine tool manufacturer using some method, even if the person in charge at the machine tool manufacturer accidentally sends the restart password PWr to the user before confirming the relocation position, the user cannot enter the restart password PWr unless they know the start operation. Therefore, the safety against unauthorized use of the machine tool 10 can be further improved.
[0087] The present invention is not limited to the above-described embodiments, and other configurations and methods can be adopted within the scope of the technical idea of the present invention. The position detection sensor may be any sensor as long as it can detect the position. The position detection sensor may be a sensor that detects the position based on the position of the base station of the mobile phone. In this case, even in a place where it is difficult to obtain position information from GPS, it is easy to obtain position information by the position detection sensor.
[0088] The control password may be any password containing any information. The control password may be input to the numerical control device in an unencrypted state. The restart determination process may not include the control password determination process. The restart password may be any password containing any information. The restart password may be input to the numerical control device in an unencrypted state. The restart determination process may not include the restart password determination process. The position detection process may be any process as long as it determines whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted. The allowable upper limit value may be stored in advance in the numerical control device.
[0089] Note that the present technology can take the following configuration. (1) A machine tool that processes an object based on a numerical control program, comprising a machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program, and a relocation detection sensor that can detect the relocation of the machine tool. The numerical control device is capable of executing a restart determination process for determining whether to restart the machine tool when it is determined based on the relocation detection sensor that the machine tool has been relocated. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a restart password determination process for determining whether the restart password input to the numerical control device is valid. The position determination process includes receiving first position information regarding the relocation position input to the numerical control device in an encrypted state, receiving second position information regarding the relocation position acquired based on a position detection sensor, decrypting the first position information, determining whether the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than an allowable upper limit value, prohibiting the restart of the machine tool when the difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value, and starting the restart password determination process when it is determined that the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than the allowable upper limit value. The restart password determination process includes receiving the restart password, prohibiting the restart of the machine tool when it is determined that the restart password is invalid, and permitting the restart of the machine tool when it is determined that the restart password is valid. Machine tool. (2) The machine tool according to (1), wherein the restart password determination process includes receiving the restart password in an encrypted state and decrypting the restart password. (3) The machine tool according to (2), wherein the restart password includes at least one of information that can identify the machine tool and information regarding the relocation of the machine tool. (4) The machine tool according to any one of (1) to (3), wherein the position determination process includes receiving the encrypted allowable upper limit value and decrypting the allowable upper limit value. (5) The machine tool according to any one of (1) to (4), wherein the position detection sensor is detachably connected to the numerical control device. (6) The machine tool according to any one of (1) to (5), wherein the restart determination process includes a control password determination process that is executed before the position determination process. The control password determination process includes receiving a control password input to the numerical control device, determining whether to execute the position determination process based on the control password, starting the position determination process when it is determined to execute the position determination process based on the control password, and enabling execution of the restart password determination process without performing the position determination process when it is determined not to execute the position determination process based on the control password. (7) A machine tool that processes an object based on a numerical control program, comprising a machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program, and a relocation detection sensor capable of detecting the relocation of the machine tool. The numerical control device is capable of executing a restart determination process for determining whether to restart the machine tool when it is determined based on the relocation detection sensor that the machine tool has been relocated. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a control password determination process executed prior to the position determination process. The control password determination process includes receiving a control password input to the numerical control device, determining whether to execute the position determination process based on the control password, starting the position determination process when it is determined to execute the position determination process based on the control password, and not performing the position determination process when it is determined not to execute the position determination process based on the control password. The position determination process includes prohibiting the restart of the machine tool when it is determined that the relocation position is not a position where the machine tool can be restarted. Machine tool. (8) The restart determination process includes a restart password determination process for determining whether a restart password input to the numerical control device is valid. The position determination process includes starting the restart password determination process when it is determined that the relocation position is a position where the machine tool can be restarted. The restart password determination process includes receiving the restart password, prohibiting the restart of the machine tool when it is determined that the restart password is not valid, and permitting the restart of the machine tool when it is determined that the restart password is valid. The machine tool according to (7). (9) The control password determination process includes starting the restart password determination process when the control password satisfies a predetermined condition in the case where it is determined not to execute the position determination process based on the control password. The machine tool according to (6) or (8). (10) When the control password determination process determines not to execute the position determination process based on the control password and the control password does not satisfy the predetermined condition, the numerical control device is made in a state capable of receiving a predetermined start operation for starting the restart password determination process. The numerical control device starts the restart password determination process when receiving the start operation. The machine tool according to (9). (11) The control password determination process includes receiving the control password in an encrypted state and decrypting the control password. The machine tool according to any one of (6) to (8). (12) A restart determination system including the machine tool according to any one of (1) to (6), a generation device that generates the restart password and the first position information in an encrypted state, and the position detection sensor. (13) The position detection sensor is a sensor that detects a position using GPS. The restart determination system according to (12). (14) The position detection sensor is a sensor that detects a position based on the position of a mobile phone base station. The restart determination system according to (12). A processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program, the method including executing a restart determination process for determining whether to restart the machine tool when it is determined based on a relocation detection sensor capable of detecting relocation of the machine tool that the machine tool has been relocated, the restart determination process including a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a restart password determination process for determining whether a restart password input to the numerical control device is valid, the position determination process including receiving first position information regarding the relocation position input to the numerical control device in an encrypted state, receiving second position information regarding the relocation position acquired based on a position detection sensor, decrypting the first position information, determining whether a difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than an allowable upper limit value, prohibiting restart of the machine tool when the difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value, and starting the restart password determination process when it is determined that the difference between the position indicated by the first position information and the position indicated by the second position information is equal to or less than the allowable upper limit value, the restart password determination process including receiving the restart password, prohibiting restart of the machine tool when it is determined that the restart password is invalid, and permitting restart of the machine tool when it is determined that the restart password is valid. (16) A processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program, including executing a restart determination process for determining whether to restart the machine tool when it is determined based on a relocation detection sensor capable of detecting relocation of the machine tool that the machine tool has been relocated. The restart determination process includes a position determination process for determining whether the relocation position where the machine tool has been relocated is a position where the machine tool can be restarted, and a control password determination process executed before the position determination process. The control password determination process includes receiving a control password input to the numerical control device, determining whether to execute the position determination process based on the control password, starting the position determination process when it is determined to execute the position determination process based on the control password, and not performing the position determination process when it is determined not to execute the position determination process based on the control password. The position determination process includes prohibiting restart of the machine tool when it is determined that the relocation position is not a position where the machine tool can be restarted. (17) A program for causing the numerical control device to execute the processing method according to (15) or (16).
[0090] As described above, the configurations and methods described in this specification can be appropriately combined within a range where they do not conflict with each other.
Description of Signs
[0091] 10…Machine tool, 10a…Machine tool main body part, 10b…Numerical control device, 19…Relocation detection sensor, 20…Generation device, 30…Position detection sensor, 100…Restart determination system, C1…Predetermined condition, L1…First position information, L2…Second position information, PWc…Control password, PWr…Restart password, TL…Allowable upper limit value, W…Object
Claims
1. A machine tool that processes an object based on a numerical control program, A machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program; A relocation detection sensor capable of detecting the relocation of the machine tool; Equipped with the numerical control device is capable of executing a restart determination process for determining whether or not to restart the machine tool when it is determined that the machine tool has been relocated based on the relocation detection sensor, The restart determination process includes: a position determination process for determining whether or not a relocation position to which the machine tool has been relocated is a position at which the machine tool may be restarted; a restart password determination process for determining whether or not a restart password input to the numerical control device is valid; Including, The position determination process includes: receiving first position information regarding the relocation position input to the numerical control device in an encrypted state; receiving second position information regarding the relocation position acquired based on a position detection sensor; Decoding the first location information; and determining whether a difference between a position indicated by the first position information and a position indicated by the second position information is equal to or smaller than an allowable upper limit; prohibiting restart of the machine tool when a difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value; and starting the restart password judgment process when it is determined that the difference between the location indicated by the first location information and the location indicated by the second location information is equal to or less than the allowable upper limit value; Including, The restart password determination process includes: accepting the restart password; prohibiting restart of the machine tool when it is determined that the restart password is invalid; and permitting the restart of the machine tool when it is determined that the restart password is valid; and Including, machine tools.
2. The restart password determination process includes: accepting the reactivation password in an encrypted state; decrypting the reactivation password; The machine tool of claim 1 , comprising:
3. The machine tool according to claim 2 , wherein the restart password includes at least one of information capable of identifying the machine tool and information regarding relocation of the machine tool.
4. The position determination process includes: receiving the upper tolerance limit value in an encrypted form; Decoding the upper tolerance limit value; and The machine tool of claim 1 , comprising:
5. The machine tool according to claim 1 , wherein the position detection sensor is detachably connected to the numerical control device.
6. the restart determination process includes a control password determination process that is executed before the position determination process, The control password determination process includes: accepting a control password to be input to the numerical control device; determining whether or not to execute the position determination process based on the control password; when it is determined that the position determination process is to be executed based on the control password, starting the position determination process; When it is determined that the position determination process is not to be executed based on the control password, the restart password determination process is executed without executing the position determination process; and The machine tool of claim 1 , comprising:
7. A machine tool that processes an object based on a numerical control program, A machine tool main body, a numerical control device that controls the machine tool main body based on the numerical control program; A relocation detection sensor capable of detecting the relocation of the machine tool; Equipped with the numerical control device is capable of executing a restart determination process for determining whether or not to restart the machine tool when it is determined that the machine tool has been relocated based on the relocation detection sensor, The restart determination process includes: a position determination process for determining whether or not a relocation position to which the machine tool has been relocated is a position at which the machine tool may be restarted; a control password determination process that is executed prior to the position determination process; Including, The control password determination process includes: accepting a control password to be input to the numerical control device; determining whether or not to execute the position determination process based on the control password; when it is determined that the position determination process is to be executed based on the control password, starting the position determination process; not performing the position determination process when it is determined not to perform the position determination process based on the control password; Including, The position determination process includes prohibiting restart of the machine tool when it is determined that the relocation position is not a position at which the machine tool may be restarted.
8. the restart determination process includes a restart password determination process for determining whether or not a restart password input to the numerical control device is valid, the position determination process includes starting the restart password determination process when it is determined that the relocation position is a position where the machine tool may be restarted, The restart password determination process includes: accepting the restart password; prohibiting restart of the machine tool when it is determined that the restart password is invalid; and permitting the restart of the machine tool when it is determined that the restart password is valid; and The machine tool of claim 7, comprising:
9. The machine tool according to claim 6 or 8, wherein the control password judgment process includes starting the restart password judgment process when it is determined that the position determination process will not be performed based on the control password and the control password satisfies a predetermined condition.
10. the control password judgment process includes, when it is determined that the position judgment process is not to be executed based on the control password and the control password does not satisfy the predetermined condition, putting the numerical control device into a state capable of accepting a predetermined start operation for starting the restart password judgment process; The machine tool according to claim 9 , wherein the numerical control device starts the restart password judgment process when the start operation is accepted.
11. The control password determination process includes: accepting the control password in an encrypted form; decrypting the control password; 9. A machine tool according to any one of claims 6 to 8, comprising:
12. A machine tool according to any one of claims 1 to 6; a generating device that generates the restart password and the first location information in an encrypted state; The position detection sensor; A restart determination system that is equipped with the above.
13. The reactivation determination system according to claim 12 , wherein the position detection sensor is a sensor that detects a position using a GPS.
14. The reactivation determination system according to claim 12 , wherein the position detection sensor is a sensor that detects a position based on a position of a mobile phone base station.
15. A processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program, comprising: executing a restart determination process for determining whether or not to restart the machine tool when it is determined that the machine tool has been relocated based on a relocation detection sensor capable of detecting the relocation of the machine tool, The restart determination process includes: a position determination process for determining whether or not a relocation position to which the machine tool has been relocated is a position at which the machine tool may be restarted; a restart password determination process for determining whether or not a restart password input to the numerical control device is valid; Including, The position determination process includes: receiving first position information regarding the relocation position input to the numerical control device in an encrypted state; receiving second position information regarding the relocation position acquired based on a position detection sensor; Decoding the first location information; and determining whether a difference between a position indicated by the first position information and a position indicated by the second position information is equal to or smaller than an allowable upper limit; prohibiting restart of the machine tool when a difference between the position indicated by the first position information and the position indicated by the second position information is greater than the allowable upper limit value; and starting the restart password judgment process when it is determined that the difference between the location indicated by the first location information and the location indicated by the second location information is equal to or less than the allowable upper limit value; Including, The restart password determination process includes: accepting the restart password; prohibiting restart of the machine tool when it is determined that the restart password is invalid; and permitting the restart of the machine tool when it is determined that the restart password is valid; and A processing method comprising:
16. A processing method executed by a numerical control device provided in a machine tool that processes an object based on a numerical control program, comprising: executing a restart determination process for determining whether or not to restart the machine tool when it is determined that the machine tool has been relocated based on a relocation detection sensor capable of detecting the relocation of the machine tool, The restart determination process includes: a position determination process for determining whether or not a relocation position to which the machine tool has been relocated is a position at which the machine tool may be restarted; a control password determination process that is executed prior to the position determination process; Including, The control password determination process includes: accepting a control password to be input to the numerical control device; determining whether or not to execute the position determination process based on the control password; when it is determined that the position determination process is to be executed based on the control password, starting the position determination process; not performing the position determination process when it is determined not to perform the position determination process based on the control password; Including, The position determination process includes prohibiting restart of the machine tool when it is determined that the relocation position is not a position where restart of the machine tool is permitted.
17. A program for causing the numerical control device to execute the processing method according to claim 15 or 16.
Citation Information
Patent Citations
Startup control system of machine tool
JP2008129706A
Numerical control device with transfer preventing function and transfer prevention system
JP2009151377A
Machine tool, method for determining transfer of machine tool, control program, and storage medium
JP2011180650A
Electronic device and restriction releasing method
JP2011242988A
Transfer detection method and transfer detection unit
JP2012032302A