Numerical control device, information processing device, and program
The numerical control device addresses compatibility and load management of additional functions by acquiring and judging their operating characteristics, preventing adverse effects on the controlled object.
Patent Information
- Application Number
- PCT/JP2024/012167
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2025-10-02
AI Technical Summary
Numerical control devices lack the ability to grasp information about the operating characteristics of additional functions uniquely set by machine manufacturers or users, leading to potential adverse effects on the controlled object due to compatibility issues and load imbalances.
The numerical control device includes an acquisition unit to gather additional function data and a judgment unit to assess whether these functions will have adverse effects, with corrective measures to prevent such issues.
Enables the numerical control device to determine and mitigate potential adverse effects on the controlled object by ensuring compatibility and load management of additional functions.
Smart Images

Figure JP2024012167_02102025_PF_FP_ABST
Abstract
Description
Numerical control device, information processing device, and program
[0001] The present disclosure relates to a numerical control device, an information processing device, and a program.
[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 functionality of a machine, it is necessary to set the expansion of the functionality in the numerical control device as well, so when expanding the functionality of a machine, the machine manufacturer requests the expansion of the functionality from the numerical control device manufacturer.
[0003] However, machine builders may want to set additional functions, which are extensions that the machine builders set for the numerical controller, separately from the basic functions that the numerical controller manufacturer pre-sets for the numerical controller. In addition to machine builders, various manufacturing industry users who are the machine builders' customers, and system integrators (SIers) who cooperate with machine builders or various manufacturing industry users, may also want to set additional functions independently. Examples of additional functions include data conversions performed by the machine builders or various manufacturing industry users in the numerical controller. In this case, for example, in Patent Document 1, the additional functions are set by expanding an additional function processing object, which is an execution object obtained by compiling the original additional functions, into the storage unit of the numerical controller before executing the basic functions.
[0004] International Publication No. 2021 / 048976
[0005] However, after a numerical controller is shipped from a numerical controller manufacturer, how additional functions have been added to the shipped numerical controller is known only to the person who configures the shipped numerical controller, for example, a machine manufacturer, a user, a system integrator, etc. For this reason, in Patent Document 1, the numerical controller manufactured by the numerical controller manufacturer cannot grasp information about the operating characteristics of the additional functions configured by the machine manufacturer, a user, a system integrator, etc., such as compatibility with the basic functions, the load on the numerical controller due to the execution of the additional functions, or whether outputs such as acceleration based on commands from the additional functions satisfy the standard values of the machine to be controlled. Therefore, even if there is a risk that the operation of the numerical controller will be adversely affected when the additional functions are executed, it is not possible to respond.
[0006] The present disclosure has been made in consideration of the above circumstances, and aims to provide a technology that makes it possible to grasp information about the operating characteristics of additional functions that are uniquely set for a numerical control device.
[0007] In order to achieve the above-mentioned object, the numerical control device according to the present disclosure is a numerical control device that executes basic functions and additional functions for extending the basic functions on a controlled object, and has an acquisition unit that acquires additional function data related to the operating characteristics of the additional functions, and a judgment unit that judges, based on the additional function data, whether the execution of the additional functions will have an adverse effect on the controlled object.
[0008] According to the present disclosure, it is possible to grasp information relating to the operating characteristics of additional functions that are set uniquely for a numerical control device.
[0009] 1 is a diagram showing a configuration example of a numerical control device according to a first embodiment. 2 is a diagram showing an operation example of the numerical control device according to the first embodiment. 3 is a diagram showing an example of parameter data processing performed by the numerical control device according to the first embodiment. 4 is a diagram showing an example of load data processing performed by the numerical control device according to the first embodiment. 5 is a diagram showing an example of command data processing performed by the numerical control device according to the first embodiment. 6 is a diagram showing a configuration example of an information processing device according to a second embodiment. 7 is a diagram showing an example of parameter data processing performed by the information processing device according to the second embodiment. 8 is a diagram showing an example of load data processing performed by the information processing device according to the second embodiment.
[0010] Hereinafter, a numerical control device according to a first embodiment will be described in detail with reference to the drawings, but the present invention is not limited to these embodiments.
[0011] First Embodiment Fig. 1 is a diagram showing the configuration of a numerical control device 100 according to a first embodiment. The numerical control (NC) device 100 is, for example, a computer that controls a machine tool that performs cutting work. 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 relating to the operating characteristics of additional functions that a machine manufacturer independently sets for the numerical control device are checked.
[0012] The controlled object 101 is, for example, a machine tool that performs cutting work. In this case, the controlled object 101 has a linear axis or a rotary axis that changes the relative position of the tool and the 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 the upper controller, and the amplifier or servo controller for the actuator can be called the lower controller. However, the lower controller is not limited to the amplifier or controller for the actuator, and any controller that is lower in relation to the numerical control device 100, which is the upper controller, can be called the lower controller.
[0014] 1, a numerical control device 100 includes a processing circuit 1 and a memory circuit 2. The processing circuit 1 generates, for example, a command to a control target 101. The memory circuit 2 stores various information necessary 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. The processing circuit 1, for example, executes a program stored in the memory circuit 2, thereby realizing a function corresponding to the executed program. Note that the processing circuit 1 may also be provided with a memory area that stores at least a portion of the data stored in the memory circuit 2.
[0016] The storage circuit 2 includes a processor-readable storage medium such as a magnetic or optical storage medium, or a semiconductor memory. The storage circuit 2 may also be a drive that reads and writes various information from and to a portable storage medium such as a CD-ROM drive, a DVD drive, or a flash memory. The storage circuit 2 does not necessarily have to be realized by a single storage device. For example, the storage circuit 2 may be realized by multiple storage devices.
[0017] As shown in FIG. 1, the storage 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 movement commands to move a tool and rotation commands to rotate 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 to read and analyze the machining program 21 and execute various processes based on the analysis results. The basic function parameters 22 include, for example, control parameters, servo parameters, tool parameters, information indicating PLC device values, and information indicating the machine to be controlled 101, which are required to execute the basic functions.
[0020] The additional function parameters 23 are parameters for executing the additional functions. An example of a process for implementing the additional functions is a coordinate conversion process when the controlled object 101 is a machine tool with a special structure other than three linear axes (X-axis, Y-axis, and Z-axis) or two rotational axes (A-axis and B-axis, B-axis and C-axis, or C-axis and A-axis). More specifically, when the controlled object 101 is a machine tool with a spindle configured with a parallel link structure, an example of a process for implementing the additional functions is a coordinate conversion process for converting the motion in a coordinate system programmed with the machining program 21 into the motion of each axis of the parallel link mechanism. In this case, the controlled object 101 may be a machine tool with 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 PLC device values, and information indicating the machine that will be the controlled object 101, all of which are required to execute the additional functions. A machine manufacturer stores pre-created additional function parameters 23 in the memory circuit 2 to execute the desired additional functions. The machine manufacturer is, for example, the manufacturer of the controlled object 101. In this case, the additional function parameters 23 are created by the machine manufacturer, and therefore may differ in content from the basic function parameters 22. Note that the manufacturer that customizes the additional function parameters 23 is not limited to the machine manufacturer, and may be any manufacturer that is involved in setting up the numerical control device 100 after it is shipped from the numerical control device manufacturer. The manufacturer that customizes the additional function parameters 23 may be, for example, a user in various manufacturing industries who is a customer of the machine manufacturer, or a system integrator or the like that has a cooperative relationship with the machine manufacturer or the user in various manufacturing industries.
[0021] The shared data 24 is data that is temporarily used 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 analyzing a machining program and controlling axis movement. The basic functions 11 are created by the numerical control device manufacturer that produces the numerical control device and are not subject to customization by machine builders. In the basic functions 11, the processing circuit 1 executes, for example, interpolation processing to achieve smooth operation based on the analysis results of the machining program 21, output processing to the control target 101, screen processing to realize a human interface, communication processing with external devices, and PLC (Programmable Logic Controller) processing to execute ladder programs. External devices that are the target of communication processing include, for example, SD cards and Ethernet (registered trademark) devices.
[0024] The additional functions 12 are, for example, functions for extending the basic functions and can be customized by machine builders. The additional functions 12 are also functions that are not defined in the machining program 21. In the additional functions 12, the processing circuit 1 executes, for example, coordinate conversion processing according to the mechanical structure of the controlled object 101.
[0025] The acquisition function 13 is a function for acquiring additional function data related to the operating characteristics of the additional function. The additional function data includes, for example, parameter data, load data, and command data. The parameter data includes parameters for setting prerequisites for various functions executed by the numerical control device 100, such as 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 various commands generated by the basic function 11 to call the additional function 12 and execute the additional function 12 in cooperation with the basic function 11, but also information generated during the process of generating the 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 memory circuit 2. In addition, in the acquisition function 13, the processing circuit 1 acquires, for example, the memory utilization rate and CPU utilization rate of the numerical control device 100 while the additional function 12 is being executed. 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 that determines whether the execution of the additional function 12 will have an adverse effect on 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 the execution of the additional function 12 will have an adverse effect on the control object 101, for example, based on the acquired basic function parameters 22 and additional function parameters 23, depending on whether there is an abnormality in the setting of the additional function 12. Also, in the determination function 14, the processing circuit 1 determines whether the execution of the additional function 12 will have an adverse effect on the control object 101, for example, based on acquired load data, depending on whether the load value indicated by the load data exceeds a predetermined threshold. Note that this predetermined threshold may be stored in the processing circuit 1 in advance, or may be stored in the memory circuit 2 in advance and read from the memory circuit 2 to the processing circuit 1 as needed. Also, in the determination function 14, the processing circuit 1 determines whether the execution of the additional function 12 will have an adverse effect on the control object 101, for example, based on command data, depending on whether 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 a determination result when the determination function 14 determines that the execution of the additional function 12 will have an adverse effect on the control object 101. In the output function 15, when the processing circuit 1 determines 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 object 101, the processing circuit 1 outputs, for example, a message indicating that there is an abnormality in the setting of the additional function 12. In addition, in the output function 15, when the processing circuit 1 determines that the load value indicated by the load data exceeds a predetermined 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 load value indicated by the load data exceeds the predetermined threshold. In addition, in the output function 15, when the processing circuit 1 determines 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 the determination function 14 determines that the execution of the additional function 12 will have an adverse effect on the control object 101, executes a predetermined process to prevent the adverse effect from occurring on the control object 101. In the avoidance function 16, when the processing circuit 1 determines 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 object 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, when the processing circuit 1 determines that the load value indicated by the load data exceeds a predetermined threshold and that the execution of the additional function 12 will have an adverse effect on the control object 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 predetermined 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 the 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 described above will be described in accordance with the processing procedure of the processing circuit 1. FIG. 2 is a diagram illustrating an example of the operation of the numerical control device 100 according to the embodiment. FIG. 3 is a diagram illustrating an example of parameter data processing executed by the numerical control device 100 according to the embodiment. FIG. 4 is a diagram illustrating an example of load data processing executed by the numerical control device 100 according to the embodiment. FIG. 5 is a diagram illustrating an example of command data processing executed by the numerical control device 100 according to the embodiment. The following description will be made with reference to the flowcharts of FIGS. 2 to 5. Note that in this operation example, it is assumed that a machining program 21 including a program defining basic functions among commands to the control target 101 is pre-stored in the storage circuit 2. It is also assumed that a program defining additional functions is included in the machining program 21. The program defining basic functions and the program defining 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 from each other.
[0031] In FIG. 2, when the power supply to the numerical control device 100 is turned on, 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). A specific flow of this parameter data processing will be described below with reference to FIG.
[0033] In FIG. 3, the processing circuit 1 executes the acquisition function 13 to acquire the basic function parameters 22 from the storage 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 determination function 14 and compares the acquired basic function parameters 22 with the additional function parameters 23 (step S23). For example, the processing circuit 1 compares the 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 in 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] Because 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 additional function setting is inconsistent with the basic function setting, that the additional function setting is abnormal, and that execution of the additional function 12 will have an adverse effect on the control object 101 (Yes in step S24). The processing circuit 1 then executes the output function 15 to output a message indicating that the additional function setting is abnormal (step S25). Examples of the output method include displaying a message on a predetermined output device included in the numerical control device 100 or outputting a voice message. The processing circuit 1 may also output a message indicating that the additional function setting is abnormal via a device value of the PLC. By outputting a message indicating that the additional function setting is abnormal, for example, a user can modify 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 prevents, for example, when the additional function 12 is executed, the basic function from accessing memory outside of its array due to the additional function parameters 23 not matching the basic function parameters 22, causing the numerical control device 100 to go down and resulting in unintended movement of the controlled object 101 during cutting. Note that the processing circuit 1 may also 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, we will return to Fig. 2 and start the explanation from step S3.
[0040] 2, after executing the parameter data processing, the processing circuit 1 executes reading of the machining program 21 in which the command contents to the control object 101 are described (step 3). The processing circuit 1 reads and acquires the machining program 21 in which the command contents to the control object 101 are described from the storage circuit 2, for example.
[0041] Next, the processing circuit 1 executes the basic function 11 and starts control processing of 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 of 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). A specific flow of this load data processing will be described below 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 execution of the additional function 12 (step S61). The processing circuit 1 acquires, for example, the memory usage rate, CPU usage rate, etc. of the processing circuit 1 during 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. The processing circuit 1 also 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 determines whether the acquired load value exceeds a preset threshold value based on the comparison result (step S63). For example, the processing circuit 1 determines whether the acquired memory usage rate of the numerical control device 100 exceeds a preset threshold value for memory usage rate. Also, for example, the processing circuit 1 determines whether the acquired CPU usage rate of the numerical control device 100 exceeds a preset threshold value for CPU usage rate.
[0047] If the processing circuit 1 determines that the acquired load value exceeds a predetermined threshold and that 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 the predetermined threshold (step S64). For example, if the acquired memory usage rate of the numerical control device 100 exceeds a predetermined memory usage threshold, the processing circuit 1 executes the output function 15 to output a message indicating that the memory usage rate exceeds the predetermined memory usage threshold. Furthermore, for example, if the acquired CPU usage rate of the numerical control device 100 exceeds a predetermined CPU usage threshold, the processing circuit 1 outputs a message indicating that the CPU usage rate exceeds the predetermined CPU usage threshold. 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 predetermined threshold.
[0048] Alternatively, the processing circuit 1 executes the avoidance function 16, and changes the execution timing of the additional function 12 so that the load when the additional function 12 is executed does not exceed a preset threshold (step S64). This makes it possible to avoid a situation in which a high processing load prevents another desired function from being executed in the numerical control device 100 at the desired execution timing, causing the controlled object 101 to unintentionally decelerate or move slower than the command speed.
[0049] If the processing circuit 1 determines that the acquired load value is equal to or less than the preset threshold value (No in step S24), the processing proceeds to step S7 shown in Fig. 2. Hereinafter, the description will return to Fig. 2 and begin with step S7.
[0050] 2, the processing circuit 1 executes load data processing and then executes various processes on the command data (step 7). A specific flow of this command data processing will be described below with reference to FIG.
[0051] In FIG. 5, the processing circuit 1 acquires command data 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 the acceleration when moving the cutting axis. Note that the comparison target is not limited to acceleration, and may also be position, speed, current value, PLC signal, or the like.
[0053] Next, the processing circuit 1 compares the command value extracted in step S72 with the standard value of the controlled 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 controlled object 101 corresponding to the acceleration. At this time, in this embodiment, for example, the acceleration extracted in step S72 of "5 m / s 2 ", the standard value of the control object 101 corresponding to the acceleration "3 m / s 2 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 needed.
[0054] The processing circuit 1 determines, based on the comparison result, whether the extracted command value does not satisfy the standard value of the control object 101 corresponding to the command value (step S73). For example, the processing circuit 1 determines whether the extracted acceleration does not satisfy the standard value of the control object 101 corresponding to the acceleration.
[0055] The processing circuit 1 extracts the acceleration command value "5 m / s 2 " is the standard value of the control object 101 corresponding to the acceleration "3 m / 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, for example, the extracted command value, acceleration "5 m / s 2 " is the standard value of the control object 101 "3 m / s 2 The acceleration command value can be corrected so as to satisfy the following condition:
[0056] Alternatively, the processing circuit 1 may execute the avoidance function 16 and, for example, set the extracted command value of acceleration "5 m / s 2 " is the standard value of the control object 101 "3 m / 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 the standard value. Even if the user has created an incorrect 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 trajectory of the controlled object 101 to conform to the standard.
[0057] In addition, if the processing circuit 1 determines that the extracted command value meets the standard value of the control object 101 corresponding to the command value and that the execution of the additional function 12 will not have an adverse effect on the control object 101 (No in step S74), it sends a command including the command value to the control object 101 (step S76).
[0058] According to the 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 using the acquisition function 13. The processing circuit 1 determines, using the determination function 14, 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 object 101.
[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, i.e., while the numerical control device 100 is in operation.
[0060] Therefore, according to this embodiment, it is possible to grasp information about the operating characteristics of additional functions that are uniquely set for the numerical control device 100.
[0061] In the above embodiment, the control object 101 is a machine tool that performs cutting processing. However, this is not limiting. The control object 101 may be a device other than a machine tool that performs cutting processing. The control object 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 object 101 may be a laser processing machine, a water jet processing machine, an electric discharge processing machine, a metal additive manufacturing (AM) processing machine, a woodworking processing machine, or the like. The control object 101 may also be a robot instead of a machine tool. For example, the control object 101 may include a robot and a servo motor that controls the operation of the robot. If the control object 101 is an industrial robot, the control object 101 has one or more joint axes and a servo motor that is an actuator that changes the joint angle of each joint axis. If the control object 101 is an industrial robot, the type of industrial robot is not limited, and may be, for example, a vertical articulated robot, a horizontal articulated 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 "3 m / s 2 " and whether or not the extracted command value exceeds the standard value, it is determined whether or not the control object 101 will be adversely affected, but this is not limiting. For example, the standard value may include an upper limit and a lower limit, and it may be determined whether or not the control object 101 will be adversely affected depending on whether or not the extracted command value falls outside the range between the upper limit and the lower limit.
[0063] Second Embodiment. FIG. 6 is a diagram illustrating a configuration example of an information processing device 100A according to a second embodiment. The information processing device 100A can be connected to, for example, the numerical control device 100 shown in FIG. 1 via a network. The information processing device 100A according to the second embodiment illustrates a configuration in which, for example, the information processing device 100A is not connected to the numerical control device 100 via a network, and various data related to the operating characteristics of the additional functions is checked. Note that the information processing device 100A may be connected to a numerical control device other than the numerical control device 100 shown in FIG. 1 via a network. Furthermore, although the information processing device 100A is connected to the numerical control device 100 shown in FIG. 1 via a network, the information processing device 100A may check various data related to the operating characteristics of the additional functions when the numerical control device 100 is stopped, i.e., when the numerical control device 100 is not performing cutting on the control target 101 shown in FIG. 1.
[0064] 6, the information processing device 100A includes a processing circuit 1A, a memory 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 source code for realizing the additional function. The memory circuit 2A stores various information necessary 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. The processing circuit 1A executes a program stored in the storage circuit 2A, for example, to realize a function corresponding to the executed program. Note that the processing circuit 1A may also include a storage area that stores at least a portion of the data stored in the storage circuit 2A.
[0066] The storage circuit 2A includes a processor-readable storage medium such as a magnetic or optical storage medium or a semiconductor memory. The storage circuit 2A may also be a drive that reads and writes various information from and to a portable storage medium such as a CD-ROM drive, a DVD drive, or a flash memory. The storage circuit 2A does not necessarily have to be realized by a single storage device. For example, the storage circuit 2A may be realized by multiple storage devices.
[0067] As shown in FIG. 6, the storage circuitry 2A stores, for example, source code 21A, an object 22A, basic function parameters 23A, and additional function parameters 24A.
[0068] The source code 21A is source code for executing additional functions. 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 this is not a limitation. 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, for example, generated 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 the same as, for example, the contents of the basic function parameters 22 shown in Fig. 1. The contents of the additional function parameters 24A are the same as, for example, the contents of the additional function parameters 23 shown in Fig. 1.
[0071] The input interface 3 accepts, for example, various inputs from a user to the information processing device 100A. The input interface 3 is realized by, for example, a mouse, buttons, a keyboard, a touchpad that inputs instructions 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 signals supplied from the processing circuit 1A. The output interface 4 may be realized, for example, by a display circuit, a printed circuit, an audio device, etc. The display circuit may include, 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 may include, 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 may include, for example, a speaker, etc. The audio device may also include an output circuit that outputs an audio signal to the outside. The output interface 4 may also be realized, together with the input interface 3, as a touch panel or a touch screen.
[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 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 the network.
[0074] The processing circuit 1A according to the second embodiment executes predetermined general-purpose programs to realize various functions. Specifically, the processing circuit 1A executes predetermined programs stored in a storage circuit 2A to realize a system control function 11A, a compilation function 12A, an acquisition function 13A, a determination function 14A, and an output function 15A.
[0075] The system control function 11A is, for example, a function that controls input / output and communication with external devices. In the system control function 11A, a processing circuit 1A receives input information, for example, from an input interface 3. The processing circuit 1A also outputs predetermined output information, for example, via an output interface 4. The processing circuit 1A also performs various data communications with external devices, such as the numerical control device 100 shown in FIG. 1, for example, via a communication interface 5.
[0076] The compilation function 12A is a function that compiles various source codes for executing additional functions to generate predetermined objects. In the compilation function 12A, the processing circuit 1A compiles, for example, source code 21A stored in the storage circuit 2A to generate objects 22A and stores the objects 22A in the storage circuit 2A.
[0077] The acquisition function 13A is a function for acquiring additional function data relating to the operating characteristics of the additional functions, 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, basic function parameters 23A and additional function parameters 24A from the storage circuit 2A as parameter data. The processing circuit 1A may also 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 references, for example, source code 21A and acquires, as load data, the number of lines included in the source code 21A. The processing circuit 1A may also acquire, as load data, the number of operations included in the source code 21A. The operations include, for example, addition, subtraction, bit shift, and the like.
[0079] The determination function 14A is a function that determines whether the execution of the additional function 12 of the numerical control device 100 shown in FIG. 1 will have an adverse effect on 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 the execution of the additional function 12 will have an adverse effect on the control object 101 shown in FIG. 1 based on, for example, the acquired basic function parameters 23A and additional function parameters 24A, depending on whether 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 1A determines whether the execution of the additional function 12 will have an adverse effect on, for example, the control object 101 shown in FIG. 1 based on, for example, the acquired load data, depending on whether 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 needed.
[0080] The output function 15A is a function that outputs a determination result when the determination function 14A determines 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 determines 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 that there is an abnormality in the setting of the additional function 12. In the output function 15A, when the processing circuit 1A determines that the load value indicated by the load data exceeds a predetermined 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 that the load value indicated by the load data exceeds a predetermined threshold.
[0081] The operation of the information processing device 100A configured as described above will be described in accordance with the processing procedure of the processing circuit 1A. Unlike the first embodiment, in the second embodiment, each function is executed offline. Therefore, parameter data processing and load data processing are executed independently. FIG. 7 is a diagram illustrating an example of parameter data processing executed by the information processing device 100A according to the embodiment. FIG. 8 is a diagram illustrating an example of 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, for example, 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 matches, indicating that there is no abnormality in the settings of the additional functions. Furthermore, the number of lines included in the source code 21A stored in the storage circuit 2A does not exceed a predetermined line number threshold.
[0082] In FIG. 7, the processing circuit 1A executes the acquisition function 13A to acquire 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 determination function 14A and compares the acquired basic function parameters 23A and additional function parameters 24A (step S103). For example, the processing circuit 1A compares the information indicating the number of axes included in the basic function parameters 23A and the additional function parameters 24A.
[0085] The processing circuit 1A determines whether or not there is an abnormality in the setting of the additional function based on the comparison result in step S103 (step S104). 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 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 contained 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 are no abnormalities in the settings of the additional functions, and that the execution of the additional function 12 shown in Figure 1 will not have an adverse effect on the control 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 allows the program to be executed on the assumption that the parameters are always consistent as a result of the prior check.
[0088] If the processing circuit 1A determines that the additional function setting is inconsistent with the basic function setting, that the additional function setting is abnormal, and that execution of the additional function 12 shown in FIG. 1 will have an adverse effect on the control object 101 (Yes in step S104), it outputs a message indicating that the additional function setting is abnormal (step S107). Examples of the output method include displaying a message on the output interface 4 or outputting a voice message. The processing circuit 1A may also output a message indicating that the additional function setting is abnormal via a device value of a predetermined PLC. By outputting a message indicating that the additional function setting is abnormal, for example, the user can modify the additional function parameters 24A before executing the additional function, thereby preventing adverse effects on the control object 101 shown in FIG. 1 due to parameter inconsistency.
[0089] 8, the processing circuit 1A executes the acquisition function 13A to acquire load data, i.e., information related to 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 storage circuit 2A and acquires the number of lines included in the source code 21A.
[0090] The processing circuit 1A executes the determination function 14A to compare 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 predetermined 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 predetermined 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 the execution of the additional function 12 shown in Figure 1 will not have an adverse effect on the controlled object 101 (No in step S203), 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 S204).
[0093] The processing circuitry 1A stores the generated object 22A in the storage circuitry 2A (step S205). This allows, for example, a program to be executed without overloading by checking in advance before an additional function is executed by the numerical control device.
[0094] If the processing circuit 1A determines that the acquired load value exceeds a predetermined threshold and that execution of the additional function 12 shown in FIG. 1 will adversely affect the control target 101 (Yes in step S203), the processing circuit 1A outputs a message indicating that the load value exceeds the predetermined threshold (step S206). For example, if the number of lines included in the acquired source code 21A exceeds a predetermined line-number threshold, the processing circuit 1 executes the output function 15 to output a message indicating that the number of lines exceeds the predetermined line-number threshold. The output method may be, for example, a message displayed on the output interface 4, an audio output, a message displayed via a predetermined PLC device, or an audio output. By outputting a message indicating that the number of lines in the source code 21A exceeds the predetermined line-number threshold, the user can be informed that the execution of the additional function in the numerical control device will adversely affect the control target 101 before the source code 21A is compiled to execute the additional function, and can take necessary measures.
[0095] According to the 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 that executes the basic functions 11 and the additional functions 12 for extending the basic functions 11 on the control object 101. The processing circuit 1A uses an acquisition function 13A to acquire additional function data related to the operating characteristics of the additional functions 12 executed by the numerical control device 100 shown in Fig. 1. The processing circuit 1A uses a determination function 14A to determine whether the execution of the additional functions 12 will have an adverse effect on the control object 101, based on the acquired additional function data.
[0096] This allows the processing circuit 1A to determine whether or not the control target 101 will be adversely affected, for example, before the additional function 12 is executed, i.e., before the numerical control device 100 shown in FIG. 1 is put into operation.
[0097] Therefore, according to this embodiment, it is possible to grasp information relating to the operating characteristics of additional functions that are set uniquely for the numerical control device 100 shown in FIG.
[0098] The present disclosure allows various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Furthermore, the above-described embodiments are intended to explain the present disclosure and do not limit the scope of the present disclosure. That is, the scope of the present disclosure is defined by the claims, not the embodiments. Various modifications made within the scope of the claims and the meaning of equivalent disclosures are considered to be within the scope of the present disclosure.
[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 about the operating characteristics of additional functions that are set uniquely for the numerical control device.
[0100] 100 Numerical control device, 100A Information processing device, 101 Control object, 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 basic functions and additional functions for expanding the basic functions on a controlled object, comprising: an acquisition unit that acquires additional function data related to the operating characteristics of the additional functions; and a determination unit that determines whether the execution of the additional functions will have an adverse effect on the controlled object based on the additional function data.
2. The numerical control device according to claim 1, wherein the additional function data includes basic function parameters for setting the basic functions and additional function parameters for setting the additional functions, and the judgment unit compares the basic function parameters with the additional function parameters and judges that the adverse effect will affect the controlled object if there is an abnormality in the setting of the additional functions.
3. The numerical control device according to claim 1, wherein the additional function data includes load data relating to the load placed on the numerical control device when the additional function is executed, and the judgment unit compares the load value indicated by the acquired load data with a preset threshold value, and if the load value exceeds the threshold value, judges that the adverse effect will affect the controlled object.
4. The numerical control device according to claim 1, wherein the additional function data includes command data relating to a command value to be output to the control object in order to execute the additional function, and the judgment unit compares the command value included in the command data with a predetermined standard value relating to the control object, and judges that the adverse effect will affect the control object if the command value does not satisfy the standard value.
5. A numerical control device according to any one of claims 1 to 4, further comprising an output unit that outputs a determination result when it is determined that the adverse effect will affect the controlled object.
6. A numerical control device according to any one of claims 1 to 4, 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 controlled object, the information processing device having: an acquisition unit that acquires additional function data related to the operating characteristics of the additional functions; and a judgment unit that judges, based on the additional function data, whether or not the execution of the additional functions will have an adverse effect on the controlled object.
8. A program that enables a computer connectable via a network to a numerical control device that executes basic functions and additional functions to expand the basic functions for a controlled object to achieve the following: an acquisition function that acquires additional function data related to the operating characteristics of the additional functions; and a determination function that determines whether the execution of the additional functions will have an adverse effect on the controlled object based on the additional function data.
Citation Information
Patent Citations
Simulation device
JP2021056835A
Simulation device, numeric controller and simulation method
JP2021105825A
Numerical control device
WO2021048976A1
Simulation device for robot or machine tool
WO2023127056A1