A numerical control device having a function of changing setting parameters for controlling a controlled object at a predetermined timing, and a method for changing the setting parameters

Through the coordinated work of the main control unit, memory, parameter input unit and parameter change command unit of the numerical control device, the detection value of the discriminating data is obtained in real time, and update instructions are generated to change the set parameters, which solves the problem that parameters cannot be changed in time during the control operation, and realizes flexible and safe parameter changes.

CN116157754BActive Publication Date: 2025-07-18FANUC LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202180058896.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-29
Filing Date
2021-07-27
Publication Date
2025-07-18
Estimated Expiration
2041-07-27

AI Technical Summary

Technical Problem

In the prior art, the control device cannot change the set parameters in a timely manner during the control operation, resulting in the parameter change only after the control operation is completed when encountering a dangerous situation, and cannot respond in a timely manner.

Method used

The numerical control device obtains the detection value of the discriminating data in real time through the coordinated work of the main control unit, the memory, the parameter input unit and the parameter change command unit, and generates an update command to change the setting parameters, so as to realize parameter changes at a predetermined timing.

Benefits of technology

It realizes the instant change of setting parameters during the control operation, shortens the parameter change time, and improves the flexibility and safety of the control device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116157754B_ABST
    Figure CN116157754B_ABST
Patent Text Reader

Abstract

The numerical control device (100) of the present invention has a function of changing set parameters for controlling a controlled object (30) at a predetermined timing, and includes: a main control unit (110) that outputs various instructions; a memory (120) that stores various data including the set parameters; a parameter input unit (130) that inputs the changed set parameters; and a parameter change instruction unit (140) that outputs an update instruction. The parameter change instruction unit (140) includes: a discrimination data selection unit (142) that selects discrimination data for discriminating the change timing based on the set parameters; a data acquisition unit (144) that acquires the detection value of the discrimination data in real time; and a discrimination unit (146) that generates an update instruction based on the acquired detection value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a control device having a set parameter change function and a method for changing set parameters of the control device. Background Art

[0002] A control device that sends control commands based on various set parameters such as position and processing conditions to a control object such as industrial machinery needs to change the above set parameters when, for example, the usage environment changes or the workpiece to be processed or the type of processing changes. In such a control device, if the set parameters are suddenly changed during normal control operations, the operations of drive mechanisms such as motors and conveying mechanisms are also changed, so problems such as a large load on the structure of the control object or defects in the processed workpiece may occur.

[0003] As an example of such a control device, Patent Document 1 discloses a control system for a machine tool that is automated by reflecting parameters through computer numerical control. The control system includes: a storage unit that stores, when the above parameters are changed, the changed parameters as the changed parameters; a changed parameter reflection condition setting unit that sets conditions for reflecting the above changed parameters; and a changed parameter reflection unit that reflects the above changed parameters that have not been reflected when the above conditions are detected. Thus, it is possible to reflect the changed parameters on the machine side at an arbitrary timing according to the intention of the operator, and it is possible to prevent the situation where the parameters are changed and affect the machine side regardless of the intention of the operator.

[0004] Prior Art Documents

[0005] Patent Documents

[0006] Patent Document 1: Japanese Unexamined Patent Application Publication No. 2020-52859 Summary of the Invention

[0007] Problems to be Solved by the Invention

[0008] However, in order to prevent unintended control from being executed, the set parameters of the control object are usually changed not during the control operation but after a series of control operations are completed or during the waiting period of the control operation. For example, in the control system for a machine tool disclosed in Patent Document 1, as conditions for reflecting the changed parameters on the machine side, examples include turning on the power supply device of a normal machine tool again according to the intention of the operator, the operator performing a reset operation to reset the parameters, and the operator pressing a specific button for each changed parameter.

[0009] In such a conventional operation of changing set parameters, the timing of changing the set parameters is limited to when the controlled object (such as a machine tool) is not actually operating / driving. Therefore, for example, if the control is directly continued during the control operation, even in the case of a dangerous situation where the device or workpiece is damaged, the set parameters can only be changed after a series of control operations have been executed.

[0010] For this reason, there is a need for a numerical control device and a method for changing set parameters thereof that can change the values of the set parameters at a predetermined timing even during the execution of a control operation.

[0011] Means for Solving the Problem

[0012] A numerical control device according to one aspect of the present invention has a function of changing set parameters for controlling a controlled object at a predetermined timing, and the numerical control device includes: a main control unit that outputs various commands for the controlled object; a memory that stores various data including the set parameters; a parameter input unit that inputs changed set parameters obtained by overwriting the set parameters stored in the memory; and a parameter change command unit that outputs an update command for changing the set parameters to the changed set parameters. The parameter change command unit includes: a discrimination data selection unit that selects discrimination data for discriminating the predetermined timing based on the set parameters; a data acquisition unit that acquires a detection value of the selected discrimination data in real time; and a discrimination unit that generates an update command based on the detection value acquired by the data acquisition unit.

[0013] In addition, a method for changing set parameters of a numerical control device according to one aspect of the present invention changes set parameters for controlling a controlled object at a predetermined timing, and the method for changing set parameters executes the following steps when outputting various commands for the controlled object: a step of inputting changed set parameters obtained by overwriting the set parameters stored in the memory, where the memory stores various data including the set parameters; and a step of outputting an update command for changing the set parameters to the changed set parameters. The step of outputting the update command further includes: a step of selecting discrimination data for discriminating the predetermined timing based on the set parameters; a step of acquiring a detection value of the selected discrimination data in real time; and a step of generating an update command based on the acquired detection value.

[0014] Advantages of the Invention

[0015] According to one aspect of the present invention, when outputting an update instruction for changing a set parameter to a changed set parameter, discrimination data for discriminating a change timing is selected according to the set parameter, a detection value of the selected discrimination data is obtained in real time, and an update instruction is generated based on the obtained detection value. Thus, even during the execution of a control action, the set parameter can be changed at a predetermined timing. As a result, the time until the set parameter is changed can be shortened. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 FIG. is a block diagram showing the association between a numerical control device according to a first embodiment of the present invention and its peripheral devices, where the numerical control device has a function of changing set parameters for controlling a controlled object at a predetermined timing.

[0017] Figure 2 It shows Figure 1 FIG. is a block diagram showing an example of the connection state between the controlled object shown and the numerical control device.

[0018] Figure 3 FIG. is a flowchart showing an outline of a method for changing set parameters of the numerical control device according to the first embodiment.

[0019] Figure 4 It shows Figure 3 FIG. is a flowchart showing an outline of the parameter change subroutine shown.

[0020] Figure 5 FIG. is a block diagram showing an example of the connection state between the controlled object and the numerical control device according to a first modification of the first embodiment.

[0021] Figure 6 FIG. is a flowchart showing an outline of a method for changing set parameters of the numerical control device according to a second modification of the first embodiment.

[0022] Figure 7 It shows Figure 6 FIG. is a flowchart showing an outline of the parameter change subroutine shown.

[0023] Figure 8 FIG. is a block diagram showing the association between a numerical control device according to a second embodiment of the present invention and its peripheral devices, where the numerical control device has a function of changing set parameters for controlling a controlled object at a predetermined timing.

[0024] Figure 9 FIG. is a flowchart showing an outline of a parameter change subroutine in a method for changing set parameters of the numerical control device according to the second embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0025] Hereinafter, together with the attached Figure 1Let's describe an embodiment of a numerical control device and a method for changing its set parameters, which is a representative example of the present invention. The numerical control device has a function of changing the set parameters for controlling a controlled object at a predetermined timing.

[0026] (First Embodiment)

[0027] Figure 1 FIG. is a block diagram showing the association between a numerical control device according to a first embodiment, which is a representative example of the present invention, and its peripheral devices. The numerical control device has a function of changing the set parameters for controlling a controlled object at a predetermined timing. Additionally, Figure 2 is a diagram showing Figure 1 an example of the connection state between the controlled object shown and the numerical control device.

[0028] As Figure 1 shown, as an example, the numerical control device 100 of the first embodiment includes: a main control unit 110 that outputs various instructions for a controlled object 30 (e.g., a device that controls the execution of actions numerically, such as a machine tool); a memory 120 that stores various data, including set parameters such as position and machining conditions; a parameter input unit 130 that inputs changed set parameters that overwrite the set parameters stored in the memory 120; and a parameter change instruction unit 140 that outputs an update instruction to change the above set parameters to the changed set parameters.

[0029] The numerical control device 100 is communicably connected to the control unit 32 of the controlled object 30 or the external storage device 10 via a wired or communication line, etc. The numerical control device 100 issues various control instructions to the controlled object 30 and receives detection signals from various sensors 34 installed on the controlled object 30.

[0030] Here, in the present application specification, "set parameters" include the set items required for controlling the controlled object 30 and the numerical values for these set items. For example, it may include the coordinate system and its position data of the components included in the controlled object 30, the correction items and their correction amounts of these components, or, in the case where the controlled object 30 is a machine tool for machining workpieces, etc., it may include the machining conditions set during the machining. Moreover, the "set parameters" are always recorded or overwritten and stored in the memory 120, and control instructions for the controlled object 30 are generated by combining with the above control program.

[0031] As an example, the external storage device 10 pre-stores a machining program in a predetermined storage area and performs processing of sequentially transmitting and receiving the control program with the numerical control device 100. In Figure 1In this case, the external storage device 10 is illustrated as a structure independent of the numerical control device 100, but it is also possible to adopt a method of installing the external storage device 10 inside the numerical control device 100.

[0032] The input device 20 is an interface through which the operator of the numerical control device 100 can manually input the switching of on / off for operations, various data, set parameters, etc., and examples thereof include a keyboard, a teach pendant, a joystick, or a touch panel type input unit. Further, the input device 20 is connected to the parameter input unit 130 of the numerical control device 100, and temporarily stores various input data, set parameters, etc. in the parameter input unit 130.

[0033] As Figure 2 shown, the controlled object 30 is configured, for example, as a processing device that performs a predetermined process such as cutting on the workpiece W1 using the processing tool T1. And, as an example, the controlled object 30 includes: a control unit 32 that receives a control instruction from the numerical control device 100 and executes control of all components of the controlled object 30; a tool drive unit 33 that mounts the processing tool T1 and relatively moves the processing tool T1 with respect to the workpiece W1; various sensors 34 that are mounted on the tool drive unit 33; a conveying mechanism 35 that mounts and conveys the workpiece W1; and a main body unit 36 that supports the conveying mechanism 35. In this specific example, the various sensors 34 include, for example, a position sensor for detecting the position of the processing tool T1, a rotation sensor for detecting the rotation speed of the processing tool T1, or a load sensor for detecting the load on the processing tool T1.

[0034] As Figure 1 shown, the main control unit 110 of the numerical control device 100 is configured as a unit that issues various instructions to the controlled object 30, and sequentially reads a part of the control program from the external storage device 10. The main control unit 110 includes the following functions: a function of combining the read control program with the set parameters stored in the memory 120 to generate a control instruction and sending it to the control unit 32, a function of receiving detection signals from the various sensors 34 provided in the controlled object 30 and correcting the control instruction according to the detected value, and a function of transmitting the received detected value to the parameter change instruction unit 140 described later. In addition, the main control unit 110 may further include a function of adding or correcting and changing the control program stored in the external storage device 10 as needed.

[0035] The parameter input unit 130 is configured to receive various data and setting parameters input from the input device 20 and temporarily store them in a built-in buffer unit (not shown). In addition, the parameter input unit 130 has the following function: when receiving an update instruction from the parameter change instruction unit 140 described later, it sends the changed setting parameter temporarily stored to the memory 120 to perform overwrite update of the setting parameter.

[0036] The parameter change instruction unit 140 has the following function: based on the detection values received from various sensors of the controlled object 30 via the main control unit 110, it determines the timing to change the setting parameter to the changed setting parameter, and issues an update instruction to the parameter input unit 130. And, as an example, the parameter change instruction unit 140 is configured to include: a discrimination data selection unit 142 that selects discrimination data for determining the change timing of the setting parameter according to the setting parameter to be targeted; a data acquisition unit 144 that acquires the detection value of the selected discrimination data in real time; and a discrimination unit 146 that generates an update instruction based on the detection value acquired by the data acquisition unit 144.

[0037] The discrimination data selection unit 142 selects discrimination data for determining the change timing according to the type of the setting parameter to be changed. For example, when the setting parameter to be changed is the cutting feed amount of the machining tool T1, as the discrimination data, the rotational speed of the motor of the tool drive unit 33 that controls the movement of the machining tool T1 can be applied. At this time, the correspondence relationship between the setting parameter and the discrimination data can be stored in advance in the external storage device 10 or the like as a correspondence table, or the type of the discrimination data can also be input from the input device 20 together with the changed setting parameter.

[0038] The data acquisition unit 144 acquires the discrimination data selected by the discrimination data selection unit 142 in real time. Specifically, as an example, the data acquisition unit 144 acquires in real time the detection value equivalent to the discrimination data from various sensors 34 of the controlled object 30 via the main control unit 110 and shares it with the discrimination unit 146 as time-series waveform data.

[0039] The discrimination unit 146 monitors the real-time waveform data of the discrimination data acquired by the data acquisition unit 144 and determines whether the discrimination data has reached a predetermined condition (or is in a state of a predetermined condition) that enables the setting parameter to be changed. In this determination, when it is determined that the discrimination data has reached the predetermined condition, the parameter change instruction unit 140 outputs a change instruction signal to the parameter input unit 130.

[0040] Regarding the predetermined conditions that serve as the criteria when the determination unit 146 makes the above determination, for example, when the set parameter to be changed is the "approach movement amount of the machining tool T1" and the determination data is the "rotation speed of the motor of the tool drive unit 33", it is possible to use the situation where the rotation speed becomes zero (i.e., the drive of the motor has stopped) as the above predetermined condition. Additionally, this predetermined condition can be stored in advance in the correspondence table of the above set parameters and determination data, or it can also be input from the input device 20 together with the type of determination data.

[0041] Figure 3 is a flowchart showing an overview of the method for changing the set parameters of the numerical control device according to the first embodiment. Additionally, Figure 4 is showing Figure 3 is a flowchart showing an overview of the parameter change subroutine shown. Additionally, as a prerequisite for executing Figure 3 and Figure 4 the flowchart shown, the main control unit 110 is performing control based on normal control instructions for the controlled object 30 through the control program. In particular, in the case where there is no instruction to change the set parameters, it directly continues to perform control based on the normal control instructions.

[0042] In the method for changing the set parameters of the numerical control device 100 according to the first embodiment, as Figure 3 shown, the main control unit 110 of the numerical control device 100 executes control based on the control instructions of this control program (step S10). Next, the numerical control device 100 determines whether a change reservation for the changed set parameter has been input from the input device 20 to the parameter input unit 130 (step S11). For example, the determination operation of step S11 is executed for each control clock of the main control unit 110.

[0043] In step S11, if it is determined that no change reservation has been input, the main control unit 110 continues to execute the control based on the control instructions performed in step S10 (step S12). Next, the main control unit 110 determines whether the next control instruction is a machining end instruction (step S13). On the other hand, in step S11, if it is determined that the changed set parameter has been input together with the change reservation, the parameter change instruction unit 140 executes the parameter change subroutine SS1. After this parameter change subroutine SS1 ends, it proceeds to the determination of step S13.

[0044] Next, in step S13, if it is determined that the next control instruction is a machining end instruction, the main control unit 110 issues a machining end instruction to the controlled object 30 to end the control. On the other hand, in step S13, if it is determined that the next control instruction is not a machining end instruction, it returns to step S10 to execute the control based on the control instructions of the control program.

[0045] In Figure 3 the parameter change subroutine SS1 shown, as Figure 4 shown, the discrimination data selection unit 142 of the parameter change instruction unit 140 selects discrimination data (SS10) for discriminating the change timing according to the type of the set parameter to be changed, etc. Correspondingly, the data acquisition unit 144 acquires the real-time detection value of the discrimination data selected in step SS10 (SS11).

[0046] Next, the discrimination unit 146 discriminates whether the detection value acquired in step SS11 has reached a predetermined value (i.e., whether the detection value has become a predetermined condition) (step SS12). In this step SS12, when it is discriminated that the discrimination data has not reached the predetermined value, the subroutine SS1 is directly ended and returned to the main program. Thus, although the change reservation of the set parameter is made, it is not yet the timing to be able to change, and the control based on the normal control instruction is continued to be executed.

[0047] On the other hand, in step SS12, when it is discriminated that the discrimination data has reached the predetermined value, the parameter change instruction unit 140 outputs a change instruction signal to the parameter input unit 130 (step SS13), and then ends the subroutine SS1 and returns to the main program. Thus, the changed set parameter temporarily stored in the parameter input unit 130 is used to overwrite the set parameter stored in the memory 120 for storage, and the control based on the normal control instruction is continued to be executed.

[0048] Next, a modification example of the numerical control device and its set parameter change method of the first embodiment will be described using Figures 5 - 7 FIG. is a block diagram showing an example of the connection state between the controlled object and the numerical control device in the first modification example of the first embodiment. In

[0049] Figure 5 the specific example shown, as the controlled object 30, a processing device that performs a predetermined process such as cutting a workpiece W1 using a processing tool T1 is exemplified, but in the first modification example, as the controlled object 30, for example, a packaging device that pastes a label on the upper surface of a conveyed workpiece W2 using a pasting tool T2 is configured. Figure 2 In

[0050] In Figure 5Among them, as an example, the controlled object 30 includes: a control unit 32 that receives a control instruction from the numerical control device 100 and executes control of all components of the controlled object 30; a tool driving unit 33 that mounts and pastes a pasting tool T2 to relatively move the pasting tool T2 with respect to the workpiece W2; a conveying mechanism 35 that mounts and conveys the workpiece W2; a main body portion 36 that supports the conveying mechanism 35; and various sensors 34 that are disposed on the main body portion 36. In this specific example, the various sensors 34 include, for example, a position sensor that detects the position of the workpiece W2, a speed sensor that detects the conveying speed of the conveying mechanism 35, and the like.

[0051] Moreover, in the first modification example, for example, when the setting parameter to be changed is the "conveying stroke of the workpiece W2", the conveying speed of the conveying mechanism 35 that conveys the workpiece W2 can be applied as the discrimination data. At this time, regarding the predetermined condition that is an index when the parameter change instruction unit 140 determines whether to send a parameter change instruction signal, for example, when the above discrimination data is set to the "conveying speed of the conveying mechanism 35", it can be adopted when the conveying speed becomes zero (that is, the driving of the conveying electric motor has stopped), etc. Thus, the numerical control device and the setting parameter change method of the present invention can be applied to any controlled object that is automatically controlled by numerical control.

[0052] Figure 6 is a flowchart showing an outline of a method for changing a setting parameter of a numerical control device according to a second modification example in the first embodiment. In addition, Figure 7 is showing Figure 6 is a flowchart showing an outline of the parameter change subroutine shown. Here, when executing Figure 6 and Figure 7 the flowchart shown, as a prerequisite, the main control unit 110 of the numerical control device 100 is executing control based on a normal control instruction for the controlled object 30 through a control program, and in particular, when there is no change instruction for the setting parameter, it directly continues to execute control based on the normal control instruction.

[0053] In the setting parameter change method of the second modification example, similar to the Figure 3 setting parameter change method shown, first, the main control unit 110 of the numerical control device 100 executes control of a control instruction based on this control program (step S10). Next, the numerical control device 100 determines whether a change reservation of the changed setting parameter has been input from the input device 20 to the parameter input unit 130 (step S11).

[0054] In step S11, when it is determined that no change reservation has been input, the main control unit 110 continues to execute the control based on the control instruction performed in step S10 (step S12). Then, the main control unit 110 determines whether the next control instruction is a machining end instruction (step S13). On the other hand, in step S11, when it is determined that the changed setting parameters have been input together with the change reservation, the numerical control device 100 sends a stop instruction for the temporary stop control instruction to the controlled object 30 (step S14). At this time, the stop instruction may include a control instruction for retracting the machining tool T1 so as not to damage the workpiece W1.

[0055] Then, the main control unit 110 temporarily stores the control conditions (operation parameters, etc.) of the control instruction executed until the time point when the stop instruction is sent (step S15), and transfers to the parameter change subroutine SS1b. At this time, the control conditions of the control instruction at the temporary stop time point may also be temporarily stored not in the main control unit 110 but in the memory 120.

[0056] After the parameter change instruction unit 140 executes the parameter change subroutine SS1b, the main control unit 110 reads out the control conditions temporarily stored in step S15, and resumes control according to the control instruction based on the control conditions (step S16). Thus, the control is resumed in a state where the setting parameters have been changed from the time point when the control action of the controlled object 30 was temporarily stopped. Then, the main control unit 110 then proceeds to the determination in step S13.

[0057] Next, in step S13, when it is determined that the next control instruction is a machining end instruction, the main control unit 110 issues a machining end instruction to the controlled object 30 to end the control. On the other hand, in step S13, when it is determined that the next control instruction is not a machining end instruction, it returns to step S10 to execute the control of the control instruction based on the control program.

[0058] Same as the case shown in Figure 3 The parameter change instruction unit 140 of the numerical control device 100 executes the parameter change subroutine SS1b according to the flowchart shown in Figure 7 In this parameter change subroutine SS1b, same as the flowchart shown in Figure 4 First, the discrimination data selection unit 142 selects discrimination data (SS10) for discriminating its change timing according to the type of the setting parameter to be changed, etc. Correspondingly, the data acquisition unit 144 acquires the real-time detection value of the discrimination data selected in step SS10 (SS11).

[0059] Next, the determination unit 146 determines whether the detection value obtained in step SS11 has reached a predetermined value (i.e., whether the detection value has become a predetermined condition) (step SS12). In this step SS12, when it is determined that the determination data has not reached the predetermined value, in the second modification example, the process returns to step SS11, and the acquisition and determination of the detection value of the determination data are repeated.

[0060] On the other hand, in step SS12, when it is determined that the determination data has reached the predetermined value, the parameter change instruction unit 140 outputs a change instruction signal to the parameter input unit 130 (step SS13), and then ends the subroutine SS1b and returns to the main program. Thereby, the changed set parameter temporarily stored in the parameter input unit 130 overwrites the set parameter stored in the memory 120 and is saved, and the control based on the normal control instruction is continued.

[0061] According to this subroutine SS1b, after the change of the set parameter is implemented, it returns to the main program. And, by combining with Figure 6 the main program shown, according to the second modification example, when changing the set parameter, the control instruction of the controlled object 30 is temporarily stopped, and after changing the set parameter, it can restart from the stopped control instruction.

[0062] By having the above structure, when the numerical control device and its set parameter change method of the first embodiment output an update instruction for changing the set parameter to the changed set parameter, the determination data for determining the change timing is selected according to the set parameter, the detection value of the selected determination data is obtained in real time, and the update instruction is generated based on the obtained detection value. Thus, even when the control action is being executed, the set parameter can be changed at a predetermined timing. And, as a result, the time until the set parameter is changed can be shortened.

[0063] (Second Embodiment)

[0064] Figure 8 FIG. is a block diagram showing the association between the numerical control device of the second embodiment of the present invention and its peripheral devices, where the numerical control device has a function of changing the set parameter for controlling the controlled object at a predetermined timing. In addition, in the second embodiment, in Figures 1 - 7 the block diagrams, flowcharts, etc. shown, for parts that can adopt the same or common structure as the first embodiment, the same reference numerals are given and the repeated description is omitted.

[0065] As shown in Figure 8As shown, the numerical control device 100 of the second embodiment includes a main control unit 110, a memory 120, a parameter input unit 130, and a parameter change instruction unit 240. Further, in the second embodiment, as an example, the parameter change instruction unit 240 is configured to include, in addition to a discrimination data selection unit 142, a data acquisition unit 144, and a discrimination unit 146, a function on / off selection unit 248 for selecting whether to use the function of the parameter change instruction unit 240.

[0066] The function on / off selection unit 248 is used to select whether to execute the operation of automatically discriminating and setting the change timing of the parameters of the parameter change instruction unit 240, and is configured such that only when the function on / off selection unit 248 is in the on state, the parameter change instruction unit 240 outputs an update instruction to the parameter input unit 130.

[0067] The on / off state of the function on / off selection unit 248 can be arbitrarily selected by the operator using the numerical control device 100 of the present invention. At this time, for the selection of the on / off state, it can be configured to provide another switch (not shown) in the numerical control device 100, or to make the input device 20 include the above on / off input function so that it can be directly input from the input device 20.

[0068] Figure 9 It is a flowchart showing an outline of a parameter change subroutine in the method for changing set parameters of the numerical control device of the second embodiment. In the parameter change subroutine (denoted by the symbol "SS2") of the second embodiment, as Figure 9 shown, first, it is discriminated whether the state of the function on / off selection unit 248 is the on state (SS01).

[0069] In step SS01, when it is discriminated that the function on / off selection unit 248 is not in the on state (i.e., in the off state), the parameter change instruction unit 240 does not further execute the parameter change subroutine SS2 and returns to the main program. On the other hand, in step SS01, when it is discriminated that the function on / off selection unit 248 is in the on state, it proceeds to step SS10 in which the discrimination data selection unit 142 selects discrimination data for discriminating its change timing according to the type of the set parameter to be changed, etc.

[0070] Then, regarding steps SS10 and subsequent steps, since they are the same as the steps described in Figure 4 , the subsequent description is omitted. Further, regarding the structure after step SS10, the same structure as the parameter change subroutine SS1b described as a modification example in Figure 7 can be used.

[0071] By having the structure as described above, in addition to the effects described in the first embodiment, the numerical control device and its setting parameter change method according to the second embodiment can also select to turn on or off the automatic change function of the setting parameters, thereby reducing the load of constantly monitoring and discriminating data. As a result, the arithmetic and processing load of the numerical control device can be reduced.

[0072] In addition, in the above-described second embodiment, it has been described that the on / off state of the function on / off selection unit 248 can be determined by the direct input of the operator, but it may also be configured to determine the on / off state based on various detection values obtained from various sensors 34 of the controlled object 30 via the main control unit 110. In addition, it has been described that the parameter change instruction unit 240 discriminates whether to execute the parameter change subroutine SS2 within this subroutine, but it may also be changed to be discriminated by the main control unit 110 in the main program.

[0073] Moreover, the present invention is not limited to the above-described embodiments and can be appropriately changed without departing from the gist. Within the scope of the present invention, any constituent element of the embodiment can be deformed or any constituent element of the embodiment can be omitted.

[0074] Reference Signs

[0075] 10 External storage device

[0076] 20 Input device

[0077] 30 Controlled object

[0078] 32 Control unit

[0079] 34 Various sensors

[0080] 100 Numerical control device

[0081] 110 Main control unit

[0082] 120 Memory

[0083] 130 Parameter input unit

[0084] 140 Parameter change instruction unit

[0085] 142 Discrimination data selection unit

[0086] 144 Data acquisition unit

[0087] 146 Discrimination unit

[0088] 240 Parameter change instruction unit

[0089] 248 Function on / off selection unit.

Claims

1. A numerical control device having a function of changing set parameters for controlling a controlled object at a predetermined timing, Characterized in that, The numerical control device comprises: A main control unit that outputs various instructions for the controlled object; A memory that stores various data including the set parameters; A parameter input unit that inputs changed set parameters for overwriting the set parameters stored in the memory; And A parameter change instruction unit that outputs an update instruction for changing the set parameters to the changed set parameters, The parameter change instruction unit includes: A discrimination data selection unit that selects discrimination data for discriminating the predetermined timing based on the set parameters; A data acquisition unit that acquires detection values of the discrimination data in real time; And A discrimination unit that generates the update instruction based on the detection values acquired by the data acquisition unit.

2. The numerical control device according to claim 1, characterized in that, The discrimination data is selected by input from the parameter input unit together with the changed set parameters.

3. The numerical control device according to claim 1 or 2, characterized in that, When the main control unit outputs the update instruction during the output of the various instructions, the output of the various instructions is temporarily stopped, and the output of the various instructions is restarted after the change of the changed set parameters.

4. The numerical control device according to claim 1 or 2, characterized in that, The parameter change instruction unit further includes a function on / off selection unit, When the function on / off selection unit is in the on state, the parameter change instruction unit outputs the update instruction.

5. A method for changing set parameters of a numerical control device, which changes set parameters for controlling a controlled object at a predetermined timing, Characterized in that, When outputting various instructions for the controlled object, the set parameter change method performs the following steps: The step of inputting changed set parameters for overwriting the set parameters stored in the memory, wherein the memory stores various data including the set parameters; and The step of outputting an update instruction for changing the set parameters to the changed set parameters, The step of outputting the update instruction further includes: The step of selecting discrimination data for discriminating the above-mentioned predetermined timing based on the set parameters; The step of acquiring detection values of the discrimination data in real time; and The step of generating the update instruction based on the acquired detection values.

6. The method for changing set parameters of a numerical control device according to claim 5, characterized in that, The discrimination data is selected by input together with the changed set parameters.

7. The method for changing set parameters of a numerical control device according to claim 5 or 6, characterized in that, When the update instruction is output during the output of the various instructions, the output of the various instructions is temporarily stopped, and the output of the various instructions is restarted after the change of the changed set parameters.

8. A method for changing set parameters of a numerical control device according to claim 5 or 6, characterized in that the numerical control device is configured to be able to select to turn on or off the step of outputting the update instruction.

Citation Information

Patent Citations

  • Control system for machine tool

    JP2020052859A

  • Numerical control apparatus and control method thereof

    CN106020129A

  • Control system of machine tool

    CN110968043A

  • Servo motor adjusting device and servo motor adjusting method

    CN111052018A