Numerical control device, information processing device, and program

JPWO2025203296A5Active Publication Date: 2026-03-05MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024563375
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2026-03-05
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

Existing numerical control devices lack the capability to effectively monitor and manage the operational characteristics of additional functions independently set by machine manufacturers, system integrators, or users, which can lead to negative effects on the controlled objects.

Method used

A numerical control device equipped with an acquisition unit to gather additional function data related to operating characteristics and a determination unit to assess whether the execution of these additional functions affects the controlled object, by comparing basic and additional function parameters.

Benefits of technology

Enables users to grasp information about the operational characteristics of additional functions, determining potential negative effects on controlled objects and allowing for corrective actions to ensure consistent and safe operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000016_0000
    Figure 00000016_0000
  • Figure 00000016_0001
    Figure 00000016_0001
  • Figure 00000017_0000
    Figure 00000017_0000
Patent Text Reader

Abstract

The numerical control device according to the present disclosure is a numerical control device that executes a basic function (11) and an additional function (12) for extending the basic function (11) for a control object (101), and has an acquisition unit (13) that acquires additional function data related to operating characteristics of the additional function (12), and a judgment unit (14) that judges, based on the additional function data, whether or not execution of the additional function (12) will have an adverse effect on the control object.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a numerical control device, an information processing device, and a program. [Background technology]

[0002] Machines such as industrial robots are manufactured by machine manufacturers, and the numerical control devices that control the operation of the machines to be controlled are also manufactured by numerical control device manufacturers. When expanding the functions of a machine, it is necessary to set the expansion of the functions in the numerical control device as well, so when expanding the functions of a machine, the machine manufacturer requests the expansion of the functions from the numerical control device manufacturer.

[0003] However, a machine manufacturer may want to set additional functions, which are extension functions that the machine manufacturer sets for the numerical control device, separately from the basic functions that are preset for the numerical control device by the numerical control device manufacturer. In addition, not only the machine manufacturer, but also users in various manufacturing industries who are customers of the machine manufacturer and system integrators (SIers) who cooperate with the machine manufacturer or users in various manufacturing industries may want to set additional functions for themselves. An example of the additional function is data conversion unique to the machine manufacturer or users in various manufacturing industries, which is performed in the numerical control device. In this case, for example, in Patent Document 1, the setting of the additional function is realized by expanding an additional function processing object, which is an execution object in which a unique additional function is compiled, into the storage unit of the numerical control device before the execution of the basic function. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] International Publication 2021 / 048976 Summary of the Invention [Problem to be solved by the invention]

[0005] However, after a numerical control device is shipped from a numerical control device manufacturer, only the person who sets the shipped numerical control device, for example, a machine manufacturer, a user, a system integrator, etc., knows how the additional functions have been added. For this reason, in Patent Document 1, the numerical control device manufactured by the numerical control device manufacturer cannot grasp information on the operation characteristics of the additional functions set by the machine manufacturer, the user, the system integrator, etc., such as the compatibility with the basic functions, the load on the numerical control device due to the execution of the additional functions, or whether the output such as acceleration based on the command of the additional functions meets the standard value of the machine to be controlled, and therefore it is not possible to respond even if there is a risk that the operation of the numerical control device will be adversely affected when the additional functions are executed.

[0006] The present disclosure has been made in consideration of the above circumstances, and aims to provide a technique that makes it possible to grasp information relating to the operating characteristics of additional functions that are uniquely set for a numerical control device. [Means for solving the problem]

[0007] In order to achieve the above object, a numerical control device according to the present disclosure is a numerical control device that executes a basic function and an additional function for expanding the basic function for a control target, the numerical control device comprising: an acquisition unit that acquires additional function data related to operating characteristics of the additional function; , with The control device further includes a determination unit that determines whether or not the execution of the additional function will have an adverse effect on the control target based on the additional function data. The additional function data includes basic function parameters for setting basic functions and additional function parameters for setting additional functions, and a judgment unit compares the basic function parameters with the additional function parameters and judges that an adverse effect will be exerted on the controlled object if there is an abnormality in the setting of the additional function. Effect of the Invention

[0008] According to the present disclosure, it is possible to grasp information regarding the operating characteristics of additional functions that are uniquely set for a numerical control device. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a numerical control device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of the operation of the numerical control device according to the first embodiment. [Diagram 3] FIG. 2 is a diagram showing an example of parameter data processing executed by the numerical control device according to the first embodiment. [Figure 4] FIG. 2 is a diagram showing an example of load data processing executed by the numerical control device according to the first embodiment. [Diagram 5] FIG. 2 is a diagram showing an example of command data processing executed by the numerical control device according to the first embodiment. [Figure 6] FIG. 13 is a diagram showing a configuration example of an information processing device according to a second embodiment. [Figure 7] FIG. 11 is a diagram showing an example of parameter data processing executed by the information processing device according to the second embodiment. [Figure 8] FIG. 11 is a diagram showing an example of load data processing executed by an information processing device according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the numerical control device according to the first embodiment will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments.

[0011] Embodiment 1 Fig. 1 is a diagram showing a configuration of a numerical control device 100 according to a first embodiment. The numerical control (Numerical Control: NC) device 100 is, for example, a computer that controls a machine tool that performs cutting processing. The numerical control device 100 controls a control target 101 shown in Fig. 1. The numerical control device 100 according to the first embodiment shows a configuration in which, for example, while the numerical control device 100 is in operation, various data related to the operating characteristics of additional functions that a machine manufacturer uniquely sets for the numerical control device are checked.

[0012] The controlled object 101 is, for example, a machine tool that performs cutting processing. In this case, the controlled object 101 has a linear axis or a rotary axis that changes the relative position between a tool and a workpiece. The actuator that drives this linear axis or rotary axis is a servo motor. Furthermore, when the controlled object is a machine tool, the controlled object 101 has a spindle that rotates the tool or workpiece. The spindle motor that rotates this spindle is the actuator.

[0013] When an amplifier or controller for an actuator of the controlled object 101 is connected, the output of the numerical control device 100 is output to the amplifier or controller for the actuator. In this case, the numerical control device 100 can be called a higher-level controller, and the amplifier or servo controller for the actuator can be called a lower-level controller. However, the lower-level controller is not limited to the amplifier or controller for the actuator, and any controller that is lower in the hierarchy than the numerical control device 100, which is a higher-level controller, can be called a lower-level controller.

[0014] 1, a numerical control device 100 includes a processing circuit 1 and a storage circuit 2. The processing circuit 1 generates, for example, a command to a control target 101. The storage circuit 2 stores various information required for processing executed by the processing circuit 1.

[0015] The processing circuit 1 is a processor that functions as the core of the numerical control device 100. For example, the processing circuit 1 executes a program stored in the memory circuit 2 to realize a function corresponding to the executed program. Note that the processing circuit 1 may include a storage area for storing at least a part of the data stored in the memory circuit 2.

[0016] The memory circuit 2 includes a processor-readable recording medium, such as a magnetic or optical recording medium, or a semiconductor memory. The memory circuit 2 may also be a drive device that reads and writes various information between the memory circuit 2 and a portable storage medium, such as a CD-ROM drive, a DVD drive, or a flash memory. The memory circuit 2 does not necessarily have to be realized by a single storage device. For example, the memory circuit 2 may be realized by a plurality of storage devices.

[0017] As shown in FIG. 1, the memory circuitry 2 stores, for example, a machining program 21, basic function parameters 22, additional function parameters 23, and shared data 24.

[0018] The machining program 21 is, for example, an NC program used to machine a workpiece. The machining program includes one or more blocks. The machining program also includes commands such as a movement command for moving a tool and a rotation command for rotating a spindle. The machining program 21 can be said to cause a computer to execute various processing procedures or methods for operating a machine tool.

[0019] The basic function parameters 22 are parameters for executing the basic functions. An example of a process for realizing the basic functions is, for example, reading and analyzing the machining program 21, and executing various processes based on the analysis results. The basic function parameters 22 include, for example, control parameters, servo parameters, tool parameters, information indicating device values ​​of the PLC, information indicating the machine to be controlled 101, and the like, for executing the basic functions.

[0020] The additional function parameters 23 are parameters for executing the additional functions. An example of the process for realizing the additional functions is, for example, a coordinate conversion process in the case where the controlled object 101 is a machine tool having a special structure different from three linear axes (X-axis, Y-axis, Z-axis) or two rotational axes (A-axis and B-axis, B-axis and C-axis, or C-axis and A-axis). More specifically, for example, in the case where the controlled object 101 is a machine tool having a spindle configured with a parallel link structure, an example of the process for realizing the additional functions is a coordinate conversion process for converting the operation in a coordinate system in which the machining program 21 is programmed into the operation of each axis of a parallel link mechanism. In this case, the controlled object 101 may be a machine tool having a link mechanism such as a pantograph mechanism or a crank slider mechanism. The additional function parameters 23 include, for example, control parameters, servo parameters, tool parameters, information indicating device values ​​of a PLC for executing the additional functions, and information indicating a machine to be the controlled object 101. A machine manufacturer stores the additional function parameters 23 created in advance in the storage circuit 2 in order to execute a desired additional function. The machine manufacturer is, for example, a manufacturer of the controlled object 101. In this case, the additional function parameters 23 may differ from the basic function parameters 22 because they are created by the machine manufacturer. Note that the additional function parameters 23 are not limited to being customized by the machine manufacturer, and may be customized by any manufacturer that is involved in setting the numerical control device 100 after the numerical control device 100 is shipped from the numerical control device manufacturer. The additional function parameters 23 may be customized by, for example, users in various manufacturing industries who are customers of the machine manufacturer, or system integrators that cooperate with the machine manufacturers or users in various manufacturing industries.

[0021] The shared data 24 is data that is used temporarily when each process of the basic function and the additional function is executed.

[0022] The processing circuit 1 according to the first embodiment realizes various functions by executing the program according to the present embodiment. Specifically, the processing circuit 1 realizes a basic function 11, an additional function 12, an acquisition function 13, a determination function 14, an output function 15, and an avoidance function 16, for example, by executing a program stored in the memory circuit 2. The acquisition function 13 is an example of an acquisition unit in the claims. The determination function 14 is an example of a determination unit in the claims. The output function 15 is an example of an output unit in the claims. The avoidance function 16 is an example of an avoidance unit in the claims.

[0023] The basic functions 11 are functions for executing various basic processes of the numerical control device, such as analysis of a machining program and control of axis movement. The basic functions 11 are created by a numerical control device manufacturer that manufactures the numerical control device, and are not subject to customization by machine manufacturers, and cannot be customized by machine manufacturers. In the basic functions 11, the processing circuit 1 executes, for example, an interpolation process that realizes smooth operation from the analysis result of the machining program 21, an output process to the control target 101, a screen process that realizes a human interface, a communication process with an external device, and a PLC (Programmable Logic Controller) process that executes a ladder program. The external device that is the subject of the communication process is, for example, an SD (SD) card, an Ethernet (registered trademark) device, etc.

[0024] The additional function 12 is, for example, a function for extending the basic function, and is a function that can be customized by a machine manufacturer. The additional function 12 is also a function that is not defined in the machining program 21. In the additional function 12, the processing circuit 1 executes, for example, a coordinate conversion process according to the mechanical structure of the control target 101.

[0025] The acquisition function 13 is a function for acquiring additional function data related to the operating characteristics of the additional function, for example. The additional function data includes, for example, parameter data, load data, command data, and the like. The parameter data is data including parameters for setting prerequisites for various functions executed by the numerical control device 100, and includes, for example, the basic function parameters 22 and the additional function parameters 23. The load data includes, for example, information related to the load on the numerical control device 100 when the additional function 12 is executed, the time required to execute the additional function 12, and the like. The command data includes, for example, information related to a command value output to the control target 101 to execute the additional function 12. The command data includes, for example, not only information generated as various commands for the basic function 11 to call the additional function 12 and execute the additional function 12 in cooperation with the additional function 12, but also information generated in the process of generating various commands.

[0026] In the acquisition function 13, the processing circuit 1 acquires, for example, basic function parameters 22 and additional function parameters 23 from the storage circuit 2. In addition, in the acquisition function 13, the processing circuit 1 acquires, for example, the memory utilization rate and the CPU utilization rate of the numerical control device 100 during the execution of the additional function 12. In addition, in the acquisition function 13, the processing circuit 1 acquires, for example, by measuring the time required to execute the additional function 12. In addition, in the acquisition function 13, the processing circuit 1 acquires, for example, command data generated when the numerical control device 100 starts control processing.

[0027] The determination function 14 is a function for determining whether or not the execution of the additional function 12 will adversely affect the control object 101 based on the additional function data acquired by the execution of the acquisition function 13. In the determination function 14, the processing circuit 1 determines whether or not the execution of the additional function 12 will adversely affect the control object 101 based on, for example, the acquired basic function parameters 22 and the additional function parameters 23, depending on whether or not there is an abnormality in the setting of the additional function 12. In addition, in the determination function 14, the processing circuit 1 determines whether or not the execution of the additional function 12 will adversely affect the control object 101 based on, for example, the acquired load data, depending on whether or not the load value indicated by the load data exceeds a preset threshold. Note that this preset threshold may be held in advance in the processing circuit 1, or may be stored in advance in the storage circuit 2 and read from the storage circuit 2 to the processing circuit 1 as necessary. In addition, in the determination function 14, the processing circuit 1 determines whether or not the execution of the additional function 12 will adversely affect the control object 101 based on, for example, command data, depending on whether or not the command value included in the command data does not satisfy a predetermined standard value related to the control object 101.

[0028] The output function 15 is a function that outputs the judgment result when it is judged by the execution of the judgment function 14 that the execution of the additional function 12 will have an adverse effect on the control object 101. In the output function 15, when it is judged that the setting of the additional function 12 is abnormal and that the execution of the additional function 12 will have an adverse effect on the control object 101, the processing circuit 1 outputs, for example, a message indicating that the setting of the additional function 12 is abnormal. In addition, in the output function 15, when it is judged that the value of the load indicated by the load data exceeds a preset threshold and that the execution of the additional function 12 will have an adverse effect on the control object 101, the processing circuit 1 outputs, for example, a message indicating that the value of the load indicated by the load data exceeds a preset threshold. In addition, in the output function 15, when it is judged that the command value included in the command data does not satisfy a predetermined standard value related to the control object 101 and that the execution of the additional function 12 will have an adverse effect on the control object 101, the processing circuit 1 outputs, for example, a message indicating that the command value included in the command data does not satisfy a predetermined standard value related to the control object 101.

[0029] The avoidance function 16 is a function that, when it is determined by the execution of the determination function 14 that the execution of the additional function 12 will have an adverse effect on the control target 101, executes a predetermined process to avoid the adverse effect from being exerted on the control target 101. In the avoidance function 16, when it is determined that there is an abnormality in the setting of the additional function 12 and that the execution of the additional function 12 will have an adverse effect on the control target 101, the processing circuit 1 corrects the setting of the additional function parameter 23, for example, so that the setting of the additional function 12 is consistent with the setting of the basic function 11. In addition, in the avoidance function 16, when it is determined that the value of the load indicated by the load data exceeds a preset threshold and that the execution of the additional function 12 will have an adverse effect on the control target 101, the processing circuit 1 changes the execution timing of the additional function 12, for example, so that the load when the additional function 12 is executed does not exceed the preset threshold. In addition, in the avoidance function 16, if it is determined that the command value included in the command data does not satisfy a predetermined standard value related to the control object 101 and that execution of the additional function 12 will have an adverse effect on the control object 101, the processing circuit 1 corrects the command value included in the command data so that it satisfies the predetermined standard value related to the control object 101, for example.

[0030] The operation of the numerical control device 100 configured as above will be described according to the processing procedure of the processing circuit 1. FIG. 2 is a diagram showing an example of the operation of the numerical control device 100 according to the embodiment. FIG. 3 is a diagram showing an example of parameter data processing executed by the numerical control device 100 according to the embodiment. FIG. 4 is a diagram showing an example of load data processing executed by the numerical control device 100 according to the embodiment. FIG. 5 is a diagram showing an example of command data processing executed by the numerical control device 100 according to the embodiment. Hereinafter, the description will be made with reference to the flowcharts of FIG. 2 to FIG. 5. In this operation example, it is assumed that among the commands to the control target 101, a machining program 21 including a program that specifies basic functions is stored in the storage circuit 2 in advance. It is also assumed that a program that specifies additional functions is included in the machining program 21. The program that specifies basic functions and the program that specifies additional functions may be stored separately. It is also assumed that the basic function parameters 22 and the additional function parameters 23 acquired from the storage circuit 2 each include, for example, information indicating the number of axes, which is a parameter indicating the machine configuration. Furthermore, the information indicating the number of axes included in the basic function parameters 22 is "3", and the information indicating the number of axes included in the additional function parameters 23 is "5", which are different.

[0031] In FIG. 2, when the power supply is turned on to the numerical control device 100, power is supplied to the numerical control device 100, and the processing circuit 1 and the storage circuit 2 are started up (step 1).

[0032] Next, the processing circuit 1 executes various processes on the parameter data (step S2). Hereinafter, a specific flow of this parameter data processing will be described with reference to FIG.

[0033] In FIG. 3, the processing circuit 1 executes the acquisition function 13 and acquires the basic function parameters 22 from the memory circuit 2 (step S21).

[0034] Next, the processing circuit 1 acquires the additional function parameters 23 from the storage circuit 2 (step S22). Note that the processing circuit 1 may acquire the additional function parameters 23 via the additional function 12.

[0035] The processing circuit 1 executes the judgment function 14 and compares the acquired basic function parameters 22 with the additional function parameters 23 (step S23). The processing circuit 1 compares, for example, information indicating the number of axes included in the basic function parameters 22 and the additional function parameters 23.

[0036] The processing circuit 1 determines whether or not there is an abnormality in the setting of the additional function based on the comparison result (step S24). For example, the processing circuit 1 determines whether or not there is an abnormality in the setting of the additional function based on whether or not the information indicating the number of axes included in the basic function parameters 22 and the additional function parameters 23 differs as a result of the comparison in step S23.

[0037] Since the information indicating the number of axes included in the basic function parameter 22 and the additional function parameter 23 is different between "3" and "5", the processing circuit 1 determines that the setting of the additional function is inconsistent with the setting of the basic function, that the setting of the additional function is abnormal, and that the execution of the additional function 12 will have an adverse effect on the control target 101 (Yes in step S24), and executes the output function 15 to output that the setting of the additional function is abnormal (step S25). The output method is, for example, displaying a message on a predetermined output device provided in the numerical control device 100, outputting a voice, etc. The processing circuit 1 may output that the setting of the additional function is abnormal via a device value of the PLC. By outputting that the setting of the additional function is abnormal, for example, a user can correct the additional function parameter 23 so that the setting of the additional function 12 is consistent with the setting of the basic function 11.

[0038] Alternatively, the processing circuit 1 executes the avoidance function 16, and corrects the setting of the additional function parameters 23 so that the setting of the additional function 12 is consistent with the setting of the basic function 11 (step S25). This makes it possible to avoid, for example, when the additional function 12 is executed, a case where the additional function parameters 23 are not consistent with the basic function parameters 22, which causes an access outside the memory array in the basic function, which causes the numerical control device 100 to go down, and causes the controlled object 101 to move unintendedly during cutting. Note that the processing circuit 1 may execute an emergency stop of the numerical control device 100 as an avoidance method.

[0039] If the processing circuit 1 determines that the settings of the additional functions are consistent with the settings of the basic functions, that the settings of the additional functions are normal, and that the execution of the additional functions 12 will not adversely affect the controlled object 101 (No in step S24), the processing proceeds to step S3 shown in Fig. 2. Hereinafter, the description will return to Fig. 2 and begin with step S3.

[0040] 2, after executing parameter data processing, the processing circuit 1 executes reading of the machining program 21 in which command contents to the control target 101 are described (step 3). The processing circuit 1, for example, reads and acquires the machining program 21 in which command contents to the control target 101 are described from the memory circuit 2.

[0041] Next, the processing circuit 1 executes the basic function 11, and starts control processing for the control object 101 using the machining program read in step S3 (step S4). At this time, the processing circuit 1 analyzes the machining program acquired in step S3, and generates command data as the analysis result. Then, the processing circuit 1 executes cutting processing for the control object 101 based on the command data, the basic function parameters 22, and the additional function parameters 23.

[0042] Next, the processing circuit 1 determines whether or not the control processing according to the machining program 21 has been completed (step S5).

[0043] If the control process is not completed (No in step S5), the processing circuit 1 executes various processes on the load data (step S6). Hereinafter, a specific flow of this load data process will be described with reference to FIG.

[0044] 4, the processing circuit 1 executes the acquisition function 13 to acquire load data, i.e., information on the load of the numerical control device 100, during the execution of the additional function 12 (step S61). The processing circuit 1 acquires, for example, the memory usage rate, the CPU usage rate, etc. of the processing circuit 1 during the execution of the additional function 12.

[0045] The processing circuit 1 executes the determination function 14 and compares the load value indicated by the acquired information on the load of the numerical control device 100 with a preset threshold value (step S62). The processing circuit 1, for example, compares the acquired memory usage rate of the numerical control device 100 with a preset threshold value for memory usage rate. Also, the processing circuit 1, for example, compares the acquired CPU usage rate of the numerical control device 100 with a preset threshold value for CPU usage rate.

[0046] The processing circuit 1 judges whether or not the acquired load value exceeds a preset threshold value based on the comparison result (step S63). The processing circuit 1 judges, for example, whether or not the acquired memory usage rate of the numerical control device 100 exceeds a preset threshold value related to memory usage rate. The processing circuit 1 also judges, for example, whether or not the acquired CPU usage rate of the numerical control device 100 exceeds a preset threshold value related to CPU usage rate.

[0047] When the processing circuit 1 determines that the acquired load value exceeds a preset threshold and that the execution of the additional function 12 will have an adverse effect on the control target 101 (Yes in step S63), it outputs a message indicating that the load value exceeds a preset threshold (step S64). For example, when the acquired memory usage rate of the numerical control device 100 exceeds a preset threshold for memory usage rate, the processing circuit 1 executes the output function 15 and outputs a message indicating that the memory usage rate exceeds a preset threshold for memory usage rate. Also, for example, when the acquired CPU usage rate of the numerical control device 100 exceeds a preset threshold for CPU usage rate, the processing circuit 1 outputs a message indicating that the CPU usage rate exceeds a preset threshold for CPU usage rate. This allows, for example, a user to change the execution timing of the additional function 12 so that the load when the additional function 12 is executed does not exceed the preset threshold.

[0048] Alternatively, the processing circuit 1 executes the avoidance function 16, and changes the execution timing of the additional function 12 so that, for example, the load when the additional function 12 is executed does not exceed a preset threshold (step S64). This makes it possible to prevent a situation in which a function desired to be executed by the numerical control device 100 cannot be executed at a desired execution timing due to a high processing load, causing the controlled object 101 to decelerate unintentionally or move slower than a command speed.

[0049] If the processing circuit 1 determines that the acquired load value is equal to or less than a preset threshold value (No in step S24), the processing proceeds to step S7 shown in Fig. 2. Hereinafter, step S7 will be described again with reference to Fig. 2.

[0050] 2, the processing circuit 1 executes various processes on the command data after executing the load data process (step 7). Hereinafter, a specific flow of this command data process will be described with reference to FIG.

[0051] In FIG. 5, the processing circuit 1 acquires command data that is generated when the basic function 11 calls the additional function 12 and cooperates with it to execute various processes (step S71).

[0052] The processing circuit 1 refers to the command data acquired in step S71 and extracts, for example, a command value for operating the control target 101 (step S72). An example of the command value is, for example, the acceleration when moving the cutting axis. Note that the comparison target is not limited to the acceleration, and may be the position, the speed, the current value, or a PLC signal, etc.

[0053] Next, the processing circuit 1 compares the command value extracted in step S72 with the standard value of the control object 101 corresponding to the command value (step S73). For example, the processing circuit 1 compares the acceleration extracted in step S72 with the standard value of the control object 101 corresponding to the acceleration. At this time, in this embodiment, for example, the acceleration "5 m / s 2 ", and the standard value of the controlled object 101 corresponding to the acceleration is "3m / s 2 It should be noted that this standard value may be held in advance in the processing circuit 1, or may be stored in advance in the storage circuit 2 and read out from the storage circuit 2 to the processing circuit 1 as necessary.

[0054] The processing circuit 1 determines whether or not the extracted command value does not satisfy the standard value of the control object 101 corresponding to the command value based on the comparison result (step S73). For example, the processing circuit 1 determines whether or not the extracted acceleration does not satisfy the standard value of the control object 101 corresponding to the acceleration.

[0055] The processing circuit 1 outputs the extracted command value, which is the acceleration "5m / s 2 " is the standard value of the control object 101 corresponding to the acceleration "3m / s 2" and does not satisfy the standard value, it is determined that the execution of the additional function 12 will have an adverse effect on the control target 101 (Yes in step S74), and an output is made to the effect that the command value does not satisfy the standard value (step S75). As a result, for example, the user can select the acceleration "5 m / s 2 " is the standard value of control object 101 "3m / s 2 The acceleration, which is the command value, can be corrected so as to satisfy the following condition.

[0056] Alternatively, the processing circuit 1 executes the avoidance function 16 and, for example, executes the extracted command value of acceleration “5 m / s 2 " is the standard value of control object 101 "3m / s 2 " is satisfied (step S75). This makes it possible to prevent, for example, the controlled object 101 from performing a problematic operation that exceeds the maximum acceleration, which is a standard value. Even if the user makes a mistake in creating an additional function program, the numerical control device 100 can prevent the controlled object 101 from operating at an abnormal speed. In other words, by correcting the command values ​​based on the program created by the user and preventing it from being executed as is, it becomes possible to correct the cutting process to comply with the standards of the controlled object 101.

[0057] In addition, if the processing circuit 1 determines that the extracted command value meets the standard value of the controlled object 101 corresponding to the command value and that the execution of the additional function 12 will not have an adverse effect on the controlled object 101 (No in step S74), it transmits a command including the command value to the controlled object 101 (step S76).

[0058] According to the above-mentioned first embodiment, the processing circuit 1 included in the numerical control device 100 executes the basic function 11 and the additional function 12 for extending the basic function 11 on the control object 101. The processing circuit 1 acquires additional function data related to the operating characteristics of the additional function 12 by using the acquisition function 13. The processing circuit 1 judges, by using the judgment function 14, whether or not the execution of the additional function 12 will adversely affect the control object 101 based on the acquired additional function data.

[0059] This enables the processing circuit 1 to determine whether or not the control target 101 is adversely affected while the additional function 12 is being executed, that is, while the numerical control device 100 is in operation, for example.

[0060] Therefore, according to this embodiment, it is possible to grasp information regarding the operating characteristics of additional functions that are uniquely set for the numerical control device 100.

[0061] In the above embodiment, the control target 101 is a machine tool that performs cutting, but is not limited to this. The control target 101 may be a device other than a machine tool that performs cutting. The control target 101 may include, for example, a processing machine that processes a workpiece and a servo motor that controls the operation of the processing machine. The control target 101 may be a laser processing machine, a water jet processing machine, an electric discharge processing machine, a metal additive manufacturing (AM) processing machine, or a woodworking processing machine. The control target 101 may also be a robot instead of a machine tool. For example, the control target 101 may include a robot and a servo motor that controls the operation of the robot. When the control target 101 is an industrial robot, the control target 101 has one or more joint axes and a servo motor that is an actuator that changes each joint angle of the joint axis. When the control target 101 is an industrial robot, the type of industrial robot does not matter, and may be, for example, a vertical multi-joint robot, a horizontal multi-joint robot, a parallel link robot, or the like.

[0062] In the above embodiment, for example, the acceleration “5 m / s 2 " and the standard value of the control object 101 corresponding to the acceleration "3m / s 2 " and whether or not the control target 101 is adversely affected depending on whether or not the standard value is exceeded, but this is not limiting. For example, the standard value may include an upper limit and a lower limit, and whether or not the control target 101 is adversely affected may be determined depending on whether or not the extracted command value falls outside the range between the upper limit and the lower limit.

[0063] Embodiment 2 FIG. 6 is a diagram showing a configuration example of an information processing device 100A according to a second embodiment. The information processing device 100A can be connected to the numerical control device 100 shown in FIG. 1 via a network, for example. The information processing device 100A according to the second embodiment shows a configuration in which, for example, when the information processing device 100A is not connected to the numerical control device 100 via a network, various data related to the operating characteristics of the additional functions are checked. Note that the information processing device 100A can be connected to a network by a numerical control device other than the numerical control device 100 shown in FIG. 1. In addition, the information processing device 100A is connected to the numerical control device 100 shown in FIG. 1 via a network, but when the numerical control device 100 is stopped, that is, when the numerical control device 100 is not performing cutting processing on the control target 101 shown in FIG. 1, various data related to the operating characteristics of the additional functions may be checked.

[0064] 6, the information processing device 100A includes a processing circuit 1A, a storage circuit 2A, an input interface 3, an output interface 4, and a communication interface 5. The processing circuit 1A generates an object capable of executing the additional function, for example, by compiling a source code for realizing the additional function. The storage circuit 2A stores various information required for the processing executed by the processing circuit 1A.

[0065] The processing circuit 1A is a processor that functions as the core of the information processing device 100A. For example, the processing circuit 1A executes a program stored in the memory circuit 2A to realize a function corresponding to the executed program. The processing circuit 1A may include a storage area that stores at least a portion of the data stored in the memory circuit 2A.

[0066] The memory circuit 2A includes a processor-readable recording medium such as a magnetic or optical recording medium, or a semiconductor memory. The memory circuit 2A may also be a drive device that reads and writes various information between the memory circuit 2A and a portable storage medium such as a CD-ROM drive, a DVD drive, or a flash memory. The memory circuit 2A does not necessarily have to be realized by a single storage device. For example, the memory circuit 2A may be realized by multiple storage devices.

[0067] As shown in FIG. 6, the storage circuit 2A stores, for example, a source code 21A, an object 22A, a basic function parameter 23A, and an additional function parameter 24A.

[0068] The source code 21A is a source code for executing an additional function. The source code 21A is created, for example, by a machine manufacturer. The source code 21A is stored in the memory circuit 2A of the information processing device 100A, but is not limited to this. The source code 21A may be stored, for example, in a predetermined external storage device different from the information processing device 100A.

[0069] The object 22A is an object for realizing an additional function. The object 22A is generated, for example, by compiling the source code 21A. The object 22A is transmitted, for example, to the numerical control device 100 shown in FIG. 1. The object 22A transmitted to the numerical control device 100 is executed by the processing circuit 1 of the numerical control device 100 to realize various additional functions. Note that the object 22A may be any object for realizing an additional function, and may be generated, for example, by compiling a predetermined source code stored in a predetermined external storage device different from the information processing device 100A.

[0070] The contents of the basic function parameters 23A are similar to, for example, the contents of the basic function parameters 22 shown in Fig. 1. The contents of the additional function parameters 24A are similar to, for example, the contents of the additional function parameters 23 shown in Fig. 1.

[0071] The input interface 3 accepts, for example, various inputs to the information processing device 100A by a user. The input interface 3 is realized by, for example, a mouse, a button, a keyboard, a touch pad where instructions are input by touching an operation surface, a touch panel, etc. The input interface 3 is connected to the processing circuit 1A, converts various inputs input by the user into electrical signals, and outputs the electrical signals to the processing circuit 1A.

[0072] The output interface 4 is connected to the processing circuit 1A and outputs a signal supplied from the processing circuit 1A. The output interface 4 is realized by, for example, a display circuit, a printed circuit, and an audio device. The display circuit includes, for example, a CRT display, a liquid crystal display, an organic EL display, an LED display, and a plasma display. The display circuit may also include a processing circuit that converts data representing a display object into a video signal and outputs the video signal to the outside. The printed circuit includes, for example, a printer. The printed circuit may also include an output circuit that outputs data representing a print object to the outside. The audio device includes, for example, a speaker. The audio device may also include an output circuit that outputs an audio signal to the outside. The output interface 4 may be realized as a touch panel or a touch screen together with the input interface 3.

[0073] The communication interface 5 is connected to, for example, any general-purpose network. The communication interface 5 performs data communication with, for example, the numerical control device 100 shown in Fig. 1 via the arbitrary general-purpose network. Note that the communication interface 5 may perform data communication with a numerical control device other than the numerical control device 100 shown in Fig. 1 via an arbitrary network.

[0074] The processing circuit 1A according to the second embodiment realizes various functions by executing a predetermined general-purpose program. Specifically, the processing circuit 1A realizes a system control function 11A, a compilation function 12A, an acquisition function 13A, a determination function 14A, and an output function 15A by executing a predetermined program stored in a storage circuit 2A, for example.

[0075] The system control function 11A is, for example, a function that controls input / output and communication with an external device. In the system control function 11A, a processing circuit 1A receives, for example, input information input from an input interface 3. The processing circuit 1A also outputs, for example, predetermined output information via an output interface 4. The processing circuit 1A also performs various data communications with an external device such as a numerical control device 100 shown in FIG. 1 via, for example, a communication interface 5.

[0076] The compile function 12A is a function that compiles various source codes for executing additional functions to generate a predetermined object. In the compile function 12A, the processing circuit 1A compiles, for example, the source code 21A stored in the storage circuit 2A to generate an object 22A and stores it in the storage circuit 2A.

[0077] The acquisition function 13A is a function for acquiring additional function data related to the operating characteristics of the additional function, for example. The additional function data includes, for example, parameter data, load data, and the like.

[0078] In the acquisition function 13A, the processing circuit 1A acquires, for example, the basic function parameters 23A and the additional function parameters 24A from the storage circuit 2A as parameter data. The processing circuit 1A may acquire the basic function parameters 23A and / or the additional function parameters 24A from the numerical control device 100 shown in FIG. 1 via the communication interface 5. In addition, in the acquisition function 13A, the processing circuit 1A refers to the source code 21A, for example, and acquires the number of lines included in the source code 21A as load data. The processing circuit 1A may acquire the number of operations included in the source code 21A as load data. The operations include, for example, addition, subtraction, bit shift, and the like.

[0079] The determination function 14A is a function that determines whether or not the execution of the additional function 12 of the numerical control device 100 shown in FIG. 1 adversely affects the control object 101 shown in FIG. 1 based on the additional function data acquired by the execution of the acquisition function 13A. In the determination function 14A, the processing circuit 1A determines whether or not the execution of the additional function 12 adversely affects the control object 101 shown in FIG. 1 based on, for example, the acquired basic function parameters 23A and the additional function parameters 24A, depending on whether or not there is an abnormality in the setting of the additional function 12 of the numerical control device 100 shown in FIG. 1. In the determination function 14A, the processing circuit 1 determines whether or not the execution of the additional function 12 adversely affects, for example, the control object 101 shown in FIG. 1 based on, for example, the acquired load data, depending on whether or not the load value indicated by the load data exceeds a preset threshold. The preset threshold is, for example, a threshold for the number of lines of source code. The preset threshold value may be held in advance in the processing circuit 1A, or may be stored in advance in the storage circuit 2A and read out from the storage circuit 2A to the processing circuit 1A as necessary.

[0080] The output function 15A is a function that outputs a judgment result when it is judged by the execution of the judgment function 14A that the execution of the additional function 12 will have an adverse effect on the control target 101. In the output function 15A, when the processing circuit 1A judges that there is an abnormality in the setting of the additional function 12 and that the execution of the additional function 12 will have an adverse effect on the control target 101, the processing circuit 1A outputs, for example, via the output interface 4, a message indicating that there is an abnormality in the setting of the additional function 12. In the output function 15A, when the processing circuit 1A judges that the load value indicated by the load data exceeds a preset threshold and that the execution of the additional function 12 will have an adverse effect on the control target 101, the processing circuit 1A outputs, for example, via the output interface 4, a message indicating that the load value indicated by the load data exceeds a preset threshold.

[0081] The operation of the information processing device 100A configured as above will be described according to the processing procedure of the processing circuit 1A. In the second embodiment, unlike the first embodiment, each function is executed offline. Therefore, the parameter data processing and the load data processing are executed independently. FIG. 7 is a diagram showing an example of the parameter data processing executed by the information processing device 100A according to the embodiment. FIG. 8 is a diagram showing an example of the load data processing executed by the information processing device 100A according to the embodiment. In this operation example, the basic function parameters 23A and the additional function parameters 24A acquired from the storage circuit 2 each include information indicating the number of axes, which is a parameter indicating the mechanical configuration. Furthermore, the information indicating the number of axes included in the basic function parameters 23A is "3", and the information indicating the number of axes included in the additional function parameters 24A is "3", which are consistent, and there is no abnormality in the setting of the additional function. In addition, the number of lines included in the source code 21A stored in the storage circuit 2A does not exceed a preset threshold value regarding the number of lines.

[0082] In FIG. 7, the processing circuit 1A executes the acquisition function 13A and acquires the basic function parameters 23A from the storage circuit 2A (step S101).

[0083] Next, the processing circuit 1A acquires the additional function parameters 24A from the storage circuit 2A (step S102).

[0084] The processing circuit 1A executes the judgment function 14A and compares the acquired basic function parameters 23A and additional function parameters 24A (step S103). The processing circuit 1A compares, for example, information indicating the number of axes included in the basic function parameters 23A and the additional function parameters 24A.

[0085] The processing circuit 1A judges whether or not there is an abnormality in the setting of the additional function based on the comparison result (step S104). For example, the processing circuit 1 judges whether or not there is an abnormality in the setting of the additional function based on whether or not the information indicating the number of axes included in the basic function parameter 23A and the additional function parameter 24A differs as a result of the comparison in step S103.

[0086] The processing circuit 1A determines that the information indicating the number of axes included in the basic function parameters 23A and the additional function parameters 24A is "3" and "3", that the settings of the additional functions are consistent with the settings of the basic functions, that there is no abnormality in the settings of the additional functions, and that execution of the additional function 12 shown in FIG. 1 will not adversely affect the controlled object 101 (No in step S104), and executes the compilation function 12A, for example, by compiling the source code 21A stored in the memory circuit 2A to generate an object 22A (step S105).

[0087] The processing circuit 1A stores the generated object 22A in the storage circuit 2A (step S105). This makes it possible to execute a program on the premise that the parameters are always consistent as a result of the prior check.

[0088] When the processing circuit 1A determines that the setting of the additional function is not consistent with the setting of the basic function, that the setting of the additional function is abnormal, and that the execution of the additional function 12 shown in FIG. 1 will have an adverse effect on the control target 101 (Yes in step S104), it outputs the fact that the setting of the additional function is abnormal (step S107). The output method is, for example, displaying a message on the output interface 4, outputting a voice, etc. The processing circuit 1A may output the fact that the setting of the additional function is abnormal via a device value of a predetermined PLC. By outputting the fact that the setting of the additional function is abnormal, for example, the user can modify the additional function parameters 24A before the execution of the additional function, and it becomes possible to prevent the control target 101 shown in FIG. 1 from being adversely affected by parameter inconsistency.

[0089] 8, the processing circuit 1A executes the acquisition function 13A to acquire load data, i.e., information on the load of the numerical control device 100 (step S201). The processing circuit 1A, for example, refers to the source code 21A stored in the memory circuit 2A and acquires the number of lines included in the source code 21A.

[0090] The processing circuit 1A executes the determination function 14A and compares the load value indicated by the acquired load data with a preset threshold value (step S202). For example, the processing circuit 1A compares the number of lines included in the acquired source code 21A with a preset threshold value for the number of lines.

[0091] The processing circuit 1A determines whether the acquired load value exceeds a preset threshold value based on the comparison result (step S203). For example, the processing circuit 1A determines whether the number of lines included in the acquired source code 21A exceeds a preset threshold value for the number of lines.

[0092] The processing circuit 1A determines that the number of lines contained in the acquired source code 21A does not exceed a predetermined threshold for the number of lines, and that execution of the additional function 12 shown in FIG. 1 will not have an adverse effect on the controlled object 101 (No in step S203), and executes the compilation function 12A, for example, to compile the source code 21A stored in the memory circuit 2A to generate an object 22A (step S204).

[0093] The processing circuit 1A stores the generated object 22A in the storage circuit 2A (step S205). This allows, for example, a program to be executed in a state where it is always free from overload by checking in advance before an additional function is executed by the numerical control device.

[0094] In addition, when the processing circuit 1A determines that the acquired load value exceeds a preset threshold and that the execution of the additional function 12 shown in FIG. 1 will have an adverse effect on the control target 101 (Yes in step S203), it outputs that the load value exceeds a preset threshold (step S206). For example, when the number of lines included in the acquired source code 21A exceeds a preset threshold for the number of lines, the processing circuit 1 executes the output function 15 and outputs that the number of lines exceeds a preset threshold for the number of lines. The output method is, for example, display of a message in the output interface 4, output of a voice, display of a message via a predetermined PLC device, output of a voice, etc. By outputting that the number of lines of the source code 21A exceeds a preset threshold for the number of lines, the user can know, for example, that the additional function will have an adverse effect on the control target 101 when executed by the numerical control device before the compilation process of the source code 21A for executing the additional function is executed, and it becomes possible to take necessary measures.

[0095] According to the above-mentioned second embodiment, the processing circuit 1A included in the information processing device 100A is connectable via a network to the numerical control device 100 shown in Fig. 1 which executes a basic function 11 and an additional function 12 for extending the basic function 11 for a control target 101. The processing circuit 1A acquires additional function data relating to the operating characteristics of the additional function 12 executed by the numerical control device 100 shown in Fig. 1 using an acquisition function 13A. The processing circuit 1A judges, using a judgment function 14A, based on the acquired additional function data, whether or not the execution of the additional function 12 will have an adverse effect on the control target 101.

[0096] This enables the processing circuit 1A to determine whether or not an adverse effect will occur on the control target 101, for example, before the execution of the additional function 12, that is, before the operation of the numerical control device 100 shown in FIG.

[0097] Therefore, according to this embodiment, it is possible to grasp information regarding the operating characteristics of additional functions that are uniquely set for the numerical control device 100 shown in FIG.

[0098] Various embodiments and modifications of the present disclosure are possible without departing from the broad spirit and scope of the present disclosure. The above-described embodiments are for explaining the present disclosure and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is indicated by the claims, not the embodiments. Various modifications made within the scope of the claims and the scope of the disclosure equivalent thereto are considered to be within the scope of the present disclosure. [Industrial Applicability]

[0099] According to the present disclosure, it is possible to provide an information processing device and a numerical control device that are capable of grasping information regarding the operating characteristics of additional functions that are uniquely set for a numerical control device. [Explanation of symbols]

[0100] 100 Numerical control device, 100A Information processing device, 101 Control target, 1,1A Processing circuit, 2,2A Memory circuit, 3 Input interface, 4 Output interface, 5 Communication interface, 11 Basic function, 12 Additional function, 13,13A Acquisition function, 14,14A Judgment function, 15,15A Output function, 16 Avoidance function, 21 Machining program, 22,23A Basic function parameters, 23,24A Additional function parameters, 24 Shared data, 11A System control function, 12A Compilation function, 21A Source code, 22A Object.

Claims

1. A numerical control device that executes a basic function and an additional function for expanding the basic function for a controlled object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the controlled object based on the additional function data during operation of the numerical control device; A numerical control device having:

2. A numerical control device that executes a basic function and an additional function for expanding the basic function for a controlled object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; and the additional function data includes basic function parameters for setting the basic functions and additional function parameters for setting the additional functions, the determination unit compares the basic function parameters with the additional function parameters, and determines that the adverse effect will affect the control target if there is an abnormality in the setting of the additional function. Numerical control device.

3. A numerical control device that executes a basic function and an additional function for expanding the basic function for a controlled object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; and the additional function data includes load data relating to a load applied to the numerical control device when the additional function is executed, the determination unit compares a load value indicated by the acquired load data with a preset threshold, and determines that the adverse effect will affect the control target when the load value exceeds the threshold. Numerical control device.

4. A numerical control device that executes a basic function and an additional function for expanding the basic function for a controlled object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; and the additional function data includes command data related to a command value to be output to the control target in order to execute the additional function; the determination unit compares a command value included in the command data with a predetermined standard value related to the control object, and determines that the control object will be adversely affected if the command value does not satisfy the standard value. Numerical control device.

5. 5. The numerical control device according to claim 1, further comprising an output unit that outputs a determination result when it is determined that the adverse effect will affect the controlled object.

6. 5. The numerical control device according to claim 1, further comprising an avoidance unit that, when it is determined that the adverse effect will affect the controlled object, executes a predetermined process to prevent the adverse effect from affecting the controlled object.

7. An information processing device connectable via a network to a numerical control device that executes basic functions and additional functions for expanding the basic functions for a control object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; and the additional function data includes basic function parameters for setting the basic functions and additional function parameters for setting the additional functions, the determination unit compares the basic function parameters with the additional function parameters, and determines that the adverse effect will affect the control target if there is an abnormality in the setting of the additional function. Information processing device.

8. An information processing device connectable via a network to a numerical control device that executes basic functions and additional functions for expanding the basic functions for a controlled object, an acquisition unit that acquires additional function data related to the operating characteristics of the additional function; a determination unit that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; and the additional function data includes load data relating to a load applied to the numerical control device when the additional function is executed, the determination unit compares a load value indicated by the acquired load data with a preset threshold, and determines that the adverse effect will affect the control target when the load value exceeds the threshold. Information processing device.

9. a computer connectable via a network to a numerical control device that executes basic functions and additional functions for expanding the basic functions for a controlled object; an acquisition function for acquiring additional function data relating to the operational characteristics of the additional function; a determination function that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; To achieve this, the additional function data includes basic function parameters for setting the basic functions and additional function parameters for setting the additional functions, the determination function compares the basic function parameters with the additional function parameters, and determines that the adverse effect will affect the control target if there is an abnormality in the setting of the additional function. program.

10. A computer connectable via a network to a numerical control device that executes basic functions and additional functions for expanding the basic functions for a controlled object, an acquisition function for acquiring additional function data relating to the operational characteristics of the additional function; a determination function that determines whether or not execution of the additional function will have an adverse effect on the control target based on the additional function data; To achieve this, the additional function data includes load data relating to a load applied to the numerical control device when the additional function is executed, the determination function compares a load value indicated by the acquired load data with a preset threshold, and determines that the adverse effect will affect the control target if the load value exceeds the threshold. program.