Numerical control device
The numerical control device synchronizes tool change simulations with feedback information to enhance machining accuracy by integrating a control unit, feedback acquisition, and composite information generation, addressing timing deviations in conventional systems.
Patent Information
- Application Number
- JP2025070582
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-03
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Conventional numerical control devices cannot incorporate a tool change simulation into a machining simulation based on feedback information at the same timing due to deviations between commanded and actual tool change timings.
A numerical control device that includes a control unit to interpret machining programs, a feedback information acquisition unit, a tool change information acquisition unit, a composite information generation unit, a shape information storage unit, and a machining simulation unit to synchronize tool change simulations with feedback information, enabling accurate machining simulations.
Enables the incorporation of tool change simulations into machining simulations at the same timing, providing precise machining predictions and improving machining accuracy.
Smart Images

Figure 2025100832000001_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a numerical control device for a machine tool.
Background Art
[0002] Conventionally, in a numerical control device, a machining simulation has been performed in consideration of the influence on the machining surface quality due to the vibration of the machine tool caused by the acceleration and jerk of the drive axis, using the feedback information from the servo motor (Patent Document 1). By using the feedback information, a machining simulation reflecting the actual movement of the axis of the machine tool can be performed.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] However, the feedback information obtained from the servo motor does not include information related to tool change. Therefore, when using the feedback information, a machining simulation including a tool change simulation cannot be performed.
[0005] On the other hand, it is conceivable to perform a tool change simulation based on the tool change command included in the machining program. However, there is a deviation between the timing when the tool change is commanded and the timing when the tool change is actually executed on the machine tool. Therefore, the tool change simulation cannot be incorporated into the simulation performed based on the feedback information at the same timing.
[0006] The present disclosure aims to provide a numerical control device capable of incorporating a tool change simulation into a simulation based on feedback information at the same timing and executing a machining simulation.
Means for Solving the Problems
[0007] A numerical control device includes a control unit that interprets a machining program including tool information for specifying a tool and controls the axes of a machine tool, a feedback information acquisition unit that acquires feedback information indicating the positions of the axes from the machine tool, a tool change information acquisition unit that acquires tool information from the machining program and acquires exchange information indicating that a tool has been exchanged from the machine tool, a composite information generation unit that synthesizes the feedback information acquired by the feedback information acquisition unit and the tool information and exchange information acquired by the tool change information acquisition unit to generate composite information, a shape information storage unit that stores shape information indicating the shape of the tool, a machining simulation unit that executes a machining simulation of a workpiece based on the composite information and the shape information, and an output unit that outputs machining shape information indicating the shape of the machined workpiece generated by executing the machining simulation.
Effects of the Invention
[0008] An aspect of the present disclosure aims to provide a numerical control device capable of incorporating a tool change simulation into a simulation based on feedback information at the same timing and executing a machining simulation.
Brief Description of the Drawings
[0009]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6A
Figure 6B
Figure 6C
Figure 7
Embodiments for Carrying Out the Invention
[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Note that not all combinations of the features described in the following embodiments are necessarily required to solve the problems. Also, there may be cases where more detailed explanations than necessary are omitted. Further, the following descriptions of the embodiments and the drawings are provided for those skilled in the art to fully understand the present disclosure and are not intended to limit the scope of the claims.
[0011] FIG. 1 is a block diagram showing an example of the hardware configuration of a machine tool including a numerical control device. The machine tool 1 includes a lathe, a machining center, and a composite machining machine.
[0012] The machine tool 1 includes a numerical control device 2, an input / output device 3, a servo amplifier 4, a servo motor 5, a spindle amplifier 6, a spindle motor 7, and auxiliary equipment 8.
[0013] The numerical control device 2 is a device that controls the entire machine tool 1. The numerical control device 2 includes a hardware processor 201, a bus 202, a ROM (Read Only Memory) 203, a RAM (Random Access Memory) 204, and a non-volatile memory 205.
[0014] The hardware processor 201 is a processor that controls the entire numerical control device 2 according to a system program. The hardware processor 201 reads out a system program and the like stored in the ROM 203 via the bus 202, and performs various processes based on the system program. The hardware processor 201 controls the servo motor 5 and the spindle motor 7 based on a machining program. The hardware processor 201 is, for example, a CPU (Central Processing Unit) or an electronic circuit.
[0015] The hardware processor 201 performs, for example, analysis of a machining program and output of control commands for the servo motor 5 and the spindle motor 7 at each control cycle.
[0016] The bus 202 is a communication path that connects each hardware within the numerical control device 2 to each other. Each hardware within the numerical control device 2 exchanges data via the bus 202.
[0017] The ROM 203 is a storage device that stores a system program and the like for controlling the entire numerical control device 2. The ROM 203 is a computer-readable storage medium.
[0018] The RAM 204 is a storage device that temporarily stores various data. The RAM 204 functions as a work area for the hardware processor 201 to process various data.
[0019] The non-volatile memory 205 is a storage device that retains data even when the power of the machine tool 1 is turned off and the numerical control device 2 is not powered. The non-volatile memory 205 stores, for example, a machining program and various parameters. The non-volatile memory 205 is a computer-readable storage medium. The non-volatile memory 205 is composed of, for example, a memory backed up by a battery or an SSD (Solid State Drive).
[0020] The numerical control device 2 further includes an interface 206, an axis control circuit 207, a spindle control circuit 208, a PLC (Programmable Logic Controller) 209, and an I / O unit 210.
[0021] The interface 206 connects the bus 202 and the input / output device 3. The interface 206 sends various data processed by the hardware processor 201 to the input / output device 3, for example.
[0022] The input / output device 3 is a device that receives various data via the interface 206 and displays the various data. Also, the input / output device 3 receives the input of various data and sends the various data to the hardware processor 201 via the interface 206. The input / output device 3 is, for example, a touch panel. When the input / output device 3 is a touch panel, the touch panel is, for example, a capacitive touch panel. Note that the touch panel is not limited to the capacitive method and may be a touch panel of another method. The input / output device 3 is installed, for example, on an operation panel (not shown) in which the numerical control device 2 is stored.
[0023] The axis control circuit 207 is a circuit that controls the servo motor 5. The axis control circuit 207 receives a control command from the hardware processor 201 and outputs various commands for driving the servo motor 5 to the servo amplifier 4. The axis control circuit 207 sends, for example, a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4.
[0024] The servo amplifier 4 receives a command from the axis control circuit 207 and supplies current to the servo motor 5.
[0025] The servo motor 5 is driven by receiving current supply from the servo amplifier 4. The servo motor 5 is connected to, for example, a ball screw that drives a tool post. When the servo motor 5 is driven, the structures of the machine tool 1 such as the tool post move in each axial direction. The servo motor 5 incorporates an encoder (not shown) that detects the position and speed of the axis, and feeds back the position and speed feedback information from this encoder to the axis control circuit 207 to perform position and speed feedback control.
[0026] Note that the servo motor 5 is provided for each axis. That is, the servo motor 5 includes an X-axis servo motor, a Y-axis servo motor, and a Z-axis servo motor. The servo motor 5 may further include an A-axis servo motor, a B-axis servo motor, and a C-axis servo motor. The axis control circuit 207 and the servo amplifier 4 are respectively provided for each axis.
[0027] The spindle control circuit 208 is a circuit for controlling the spindle motor 7. The spindle control circuit 208 receives a control command from the hardware processor 201 and outputs a command for driving the spindle motor 7 to the spindle amplifier 6. The spindle control circuit 208 sends, for example, a spindle speed command for controlling the rotational speed of the spindle motor 7 to the spindle amplifier 6.
[0028] The spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies current to the spindle motor 7.
[0029] The spindle motor 7 is driven by receiving current supply from the spindle amplifier 6. The spindle motor 7 is connected to the main spindle and rotates the main spindle.
[0030] The PLC 209 is a device that executes a ladder program to control the auxiliary device 8. The PLC 209 sends commands to the auxiliary device 8 via the I / O unit 210.
[0031] The I / O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8. The I / O unit 210 sends the commands received from the PLC 209 to the auxiliary device 8.
[0032] The auxiliary device 8 is a device installed in the machine tool 1 and performs auxiliary operations in the machine tool 1. The auxiliary device 8 operates based on the commands received from the I / O unit 210. The auxiliary device 8 may be a device installed around the machine tool 1. The auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or an opening / closing door drive device.
[0033] Next, the functions of the numerical control device 2 will be described. The numerical control device 2 moves each axis by controlling the servo motor 5. Also, the numerical control device 2 rotates the spindle motor 7. Thereby, the numerical control device 2 performs machining of the workpiece. Also, the numerical control device 2 executes a machining simulation based on the feedback information.
[0034] The feedback information is, for example, information obtained from the servo motor 5. The information obtained from the servo motor 5 is information indicating the position of the axis. For example, the feedback information obtained from the X-axis servo motor is information indicating the position of the X-axis. Also, the feedback information obtained from the Y-axis servo motor is information indicating the position of the Y-axis.
[0035] FIG. 2 is a block diagram showing an example of the functions of the numerical control device 2. The numerical control device 2 includes a program storage unit 21, a control unit 22, a feedback information acquisition unit 23, a tool change information acquisition unit 24, a composite information generation unit 25, a shape information storage unit 26, a machining simulation unit 27, and an output unit 28.
[0036] The program storage unit 21 and the shape information storage unit 26 are realized by storing a machining program input from an input / output device 3 or the like and shape information indicating the shape of the tool in the RAM 204 or the nonvolatile memory 205.
[0037] The control unit 22, the feedback information acquisition unit 23, the tool change information acquisition unit 24, the composite information generation unit 25, the machining simulation unit 27, and the output unit 28 are realized, for example, by the hardware processor 201 performing arithmetic processing using the system program stored in the ROM 203 and various data stored in the non-volatile memory 205.
[0038] The program storage unit 21 stores a machining program. The machining program includes at least one of a turning machining program and a milling machining program. The machining program includes a command for specifying the movement path of the tool. The command for specifying the movement path of the tool is, for example, a positioning command, a linear interpolation command, and an arc interpolation command. Further, the machining program includes tool information for specifying the tool used for machining. The tool information is, for example, information indicating the tool number included in the tool selection command.
[0039] FIG. 3 is a diagram showing an example of a machining program. The T code described in the block with sequence number N11 is a tool selection command. That is, the command "T01" is a command for selecting the tool with tool number 1. Further, the command "M06" is a command for executing tool change. Therefore, in the block with sequence number N11, it is specified to change the tool to the tool with tool number 1.
[0040] The command "G00" described in the block with sequence number N12 is a positioning command. Further, "X100.Y100." is a command for specifying the position where the tool is positioned. Therefore, in the block with sequence number N12, it is specified to position the tool at the position of X100 and Y100. Also, in the block with sequence number N13, it is specified to position the tool at the position of Z3.
[0041] The command "G01" described in the block with sequence number N14 is a linear interpolation command. Also, "Z-2.8" is a command that specifies the movement destination of the tool. Further, the F code is a command that specifies the feed rate of the tool. That is, in the block with sequence number N14, it is specified that the tool is to be moved by linear interpolation at a feed rate of 500 [mm / min] to the position of Z-2.8. In the block with sequence number N15, it is specified that the tool is to be moved by linear interpolation to the positions of X120 and Y120.
[0042] In the block with sequence number N21, it is specified that the tool is to be changed to the tool numbered 2.
[0043] In the block with sequence number N22, it is specified that the tool is to be positioned at the positions of X100 and Y100. Also, in the block with sequence number N23, it is specified that the tool is to be positioned at the position of Z3.
[0044] In the block with sequence number N24, it is specified that the tool is to be moved by linear interpolation at a feed rate of 250 [mm / min] to the position of Z-3. In the block with sequence number N25, it is specified that the tool is to be moved by linear interpolation to the positions of X120 and Y120. Note that the machining program ends when, for example, the end-of-program command M30 is specified. Here, return to the description of Figure 2.
[0045] The control unit 22 interprets a machining program including tool information for specifying a tool and controls the axes of the machine tool 1. The axes of the machine tool 1 include the X-axis, Y-axis, and Z-axis. The control unit 22 interprets, for example, the machining program shown in Figure 3 to control each axis. Thereby, the tool moves along the movement path specified in the machining program.
[0046] The feedback information acquisition unit 23 acquires feedback information indicating the position of the axis from the machine tool 1. The feedback information is time-series data. That is, the feedback information is data indicating the movement path of the tool.
[0047] When the feedback information acquisition unit 23 acquires feedback information, the workpiece does not have to be being processed. That is, the feedback information may be acquired in a state where no workpiece is installed in the workpiece gripping unit. Alternatively, when the feedback information acquisition unit 23 acquires feedback information, the workpiece may be being processed. That is, the feedback information may be acquired in a state where a workpiece is installed in the workpiece gripping unit.
[0048] The feedback information acquisition unit 23 acquires information indicating the position of each axis, for example, at every predetermined control cycle. For example, the feedback information acquisition unit 23 acquires feedback information indicating the positions of the X-axis, Y-axis, and Z-axis within the period of one control cycle. One control cycle is, for example, several milliseconds.
[0049] The feedback information acquisition unit 23 acquires feedback information (the feedback information includes information indicating at least any one of the position, speed, and acceleration of the motor) from the servo motors that drive the respective axes of the machine tool 1. Alternatively, for example, the feedback information may be acquired from a linear encoder installed along each linear axis of the machine tool 1, or from a rotary encoder installed around each rotary axis.
[0050] The tool change information acquisition unit 24 acquires tool information from the machining program and acquires exchange information indicating that the tool has been changed from the machine tool 1. The tool change information acquisition unit 24 acquires, for example, the tool information stored in a predetermined register (not shown) by the control unit 22 that has interpreted the machining program. As described above, the tool information is information indicating the tool number included in the tool selection command.
[0051] The exchange information is information indicating that the tool change has been completed. That the tool change has been completed means that the tool specified in the machining program has been attached to the tool spindle and the axes can move. The information indicating that the tool change has been completed is, for example, a signal output from a proximity switch installed at a predetermined position.
[0052] The synthesis information generation unit 25 generates synthesis information by synthesizing the feedback information acquired by the feedback information acquisition unit 23, the tool information and the exchange information acquired by the tool exchange information acquisition unit 24.
[0053] The synthesis information generation unit 25 generates synthesis information by matching the time axis related to the acquisition of the feedback information with the time axis related to the acquisition of the exchange information. Matching the time axes means aligning the timings. For example, the feedback information acquisition unit 23 and the tool exchange information acquisition unit 24 each acquire feedback information and exchange information within one control cycle. The synthesis information generation unit 25 matches the time axes by combining the feedback information and the exchange information acquired within this one control cycle. Thereby, the synthesis information generation unit 25 can generate information indicating the position of each axis when the tool exchange is completed.
[0054] FIG. 4 is a diagram showing an example of the synthesis information. The synthesis information is time-series data combining the feedback information, the exchange information, and the tool information.
[0055] The No. 1 synthesis information includes the feedback information. The feedback information includes the data “X1, Y1, Z1” respectively indicating the positions of the X-axis, Y-axis, and Z-axis. Also, the No. 1 synthesis information does not include the exchange information and the tool information. In this case, in the control cycle when the feedback information acquisition unit 23 acquires the No. 1 feedback information, the tool exchange information acquisition unit 24 does not acquire the exchange information.
[0056] The synthesis information of No.2 includes feedback information. The feedback information includes data "X2, Y2, Z2" indicating the positions of the X-axis, Y-axis, and Z-axis respectively. Also, the synthesis information of No.2 includes exchange information "completed" and tool information "T01". In this case, in the control cycle when the feedback information acquisition unit 23 acquires the feedback information of No.2, the tool exchange information acquisition unit 24 is acquiring the exchange information.
[0057] The synthesis information of No.3 includes feedback information. The feedback information includes data "X3, Y3, Z3" indicating the positions of the X-axis, Y-axis, and Z-axis respectively. Also, the synthesis information of No.3 does not include exchange information and tool information.
[0058] The synthesis information of No.4 includes feedback information. The feedback information includes data "X4, Y4, Z4" indicating the positions of the X-axis, Y-axis, and Z-axis respectively. Also, the synthesis information of No.4 does not include exchange information and tool information.
[0059] The synthesis information of No.n includes feedback information. The feedback information includes data "Xn, Yn, Zn" indicating the positions of the X-axis, Y-axis, and Z-axis respectively. Also, the synthesis information of No.n includes exchange information "completed" and tool information "T02". In this case, in the control cycle when the feedback information acquisition unit 23 acquires the feedback information of No.n, the tool exchange information acquisition unit 24 is acquiring the exchange information.
[0060] The synthesis information of No.n+1 includes feedback information. The feedback information includes data "Xn+1, Yn+1, Zn+1" indicating the positions of the X-axis, Y-axis, and Z-axis respectively. Also, the synthesis information of No.n+1 does not include exchange information and tool information. Here, return to the description of Figure 2.
[0061] The shape information storage unit 26 stores shape information indicating the shape of the tool. The shape information includes, for example, information indicating the tool type, the cutting diameter, the cutting length, the shank diameter, and the overall length.
[0062] FIG. 5 is a diagram showing an example of the shape information. For tool number 1, shape information of a tool with a tool type of flat end mill, a cutting diameter of D6.0 [mm], a cutting length of 12 [mm], a shank diameter of 6 [mm], and an overall length of 55 [mm] is stored.
[0063] For tool number 2, shape information of a tool with a tool type of ball end mill, a cutting diameter of R1.0 [mm], a cutting length of 4 [mm], a shank diameter of 4 [mm], and an overall length of 60 [mm] is stored. Furthermore, shape information of tools may also be stored for tool numbers 3 and subsequent.
[0064] The machining simulation unit 27 executes a machining simulation of the workpiece based on the composite information and the shape information. The machining simulation unit 27 may further execute the machining simulation using workpiece shape information indicating the shape of the workpiece. In this case, the workpiece shape information indicating the shape of the workpiece may be stored in the shape information storage unit 26. When the machining simulation unit 27 executes the simulation using the workpiece shape information, the machining simulation unit 27 draws, for example, the workpiece W before machining shown in FIG. 6A.
[0065] The machining simulation unit 27 draws the position of the tool based on the data indicating the position of each axis included in the composite information. When the machining simulation unit 27 executes the machining simulation based on the composite information shown in, for example, FIG. 4, the machining simulation unit 27 first draws the tool at the position (X1, Y1, Z1) indicated by the No. 1 feedback information. The tool drawn at this time is, for example, the tool last used in the previous machining simulation.
[0066] Next, the machining simulation unit 27 draws the tool at the position (X2, Y2, Z2) indicated by the No. 2 feedback information. Also, the machining simulation unit 27 performs drawing of tool change at this position. That is, the machining simulation unit 27 performs drawing of tool change being performed on the tool No. 1. When the shape information storage unit 26 stores, for example, the shape information shown in FIG. 5, the machining simulation unit 27 performs drawing of tool change being performed on a flat end mill.
[0067] Next, the machining simulation unit 27 draws the tool at the position (X3, Y3, Z3) indicated by the No. 3 feedback information. Next, the machining simulation unit 27 draws the tool at the position (X4, Y4, Z4) indicated by the No. 4 feedback information. The machining simulation unit 27 performs machining simulation including tool change simulation by sequentially executing such processing based on the combined information and the shape information. The machining simulation unit 27 draws the result of executing the machining simulation using the tool No. 1 as shown in, for example, FIG. 6B.
[0068] Similarly, the machining simulation unit 27 draws the tool at the position (Xn, Yn, Zn) indicated by the No. n feedback information. Also, the machining simulation unit 27 performs drawing of tool change at this position. That is, the machining simulation unit 27 performs drawing of tool change being performed from the flat end mill of tool No. 1 to the ball end mill of tool No. 2.
[0069] Next, the machining simulation unit 27 draws the tool at the position (Xn+1, Yn+1, Zn+1) indicated by the No. n+1 feedback information. When the machining simulation using the tool No. 2 is completed, the machining simulation unit 27 draws the result of executing the machining simulation using the tool No. 2 as shown in, for example, FIG. 6C.
[0070] The output unit 28 outputs machining shape information indicating the shape of the workpiece W after machining generated by executing machining simulation. Note that the output unit 28 may output not only the shape of the workpiece W after machining but also the shape of the workpiece during machining drawn by the machining simulation unit 27 and information indicating the operation of the tool. The output unit 28 outputs the machining shape information to, for example, the display screen of the input / output device 3.
[0071] Next, the flow of processing executed by the numerical control device 2 will be described.
[0072] FIG. 7 is a diagram for explaining an example of the flow of processing executed by the numerical control device 2.
[0073] In the numerical control device 2, first, the control unit 22 interprets the machining program and controls the axes of the machine tool 1 (step S1).
[0074] Next, the feedback information acquisition unit 23 acquires feedback information indicating the positions of the respective axes (step S2).
[0075] Next, the tool change information acquisition unit 24 acquires tool information and change information (step S3).
[0076] Next, the composite information generation unit 25 composites the feedback information with the tool information and the change information to generate composite information (step S4).
[0077] Next, the machining simulation unit 27 executes machining simulation based on the composite information and the shape information indicating the shape of the tool (step S5).
[0078] Next, the output unit 28 outputs machining shape information indicating the shape of the workpiece W after machining (step S6), and the process ends.
[0079] As described above, the numerical control device 2 includes a control unit 22 that interprets a machining program including tool information for specifying a tool and controls the axes of the machine tool 1, a feedback information acquisition unit 23 that acquires feedback information indicating the positions of the axes from the machine tool 1, a tool exchange information acquisition unit 24 that acquires tool information from the machining program and acquires exchange information indicating that the tool has been exchanged from the machine tool 1, a composite information generation unit 25 that composites the feedback information acquired by the feedback information acquisition unit 23, the tool information and the exchange information acquired by the tool exchange information acquisition unit 24 to generate composite information, a shape information storage unit 26 that stores shape information indicating the shape of the tool, a machining simulation unit 27 that executes a machining simulation of the workpiece W based on the composite information and the shape information, and an output unit 28 that outputs machining shape information indicating the shape of the machined workpiece W generated by executing the machining simulation.
[0080] Therefore, it is possible to execute a machining simulation by incorporating a tool exchange simulation into the simulation performed based on the feedback information at the same timing.
[0081] Further, the composite information generation unit 25 generates composite information by matching the time axis related to the acquisition of the feedback information and the time axis related to the acquisition of the exchange information. Therefore, the numerical control device 2 can draw the timing of tool exchange of the tool drawn by the machining simulation unit 27 in accordance with the time axis of the time-series data indicating the positions of the axes.
[0082] Further, the feedback information acquisition unit 23 and the tool exchange information acquisition unit 24 respectively acquire the feedback information and the exchange information from the machine tool 1 within one control cycle. The exchange information is a signal indicating that the tool exchange has been completed. Therefore, the numerical control device 2 can easily match the timing of tool exchange drawn by the machining simulation unit 27 with the time axis of the time-series data indicating the positions of the axes.
[0083] In the above-described embodiment, the tool change information acquisition unit 24 acquires tool information from the machining program. However, the tool change information acquisition unit 24 may acquire tool information from a device installed in the machine tool 1. For example, an ATC (Automatic Tool Changer) mounted on the machine tool 1 has information indicating a tool number. Therefore, the tool change information acquisition unit 24 may acquire tool information from the ATC together with the change information.
[0084] In the above-described embodiment, the feedback information acquisition unit 23 and the tool change information acquisition unit 24 acquire feedback information and change information, respectively, within one control cycle. However, if the synthesis information generation unit 25 can match the time axis related to the acquisition of feedback information and the time axis related to the acquisition of change information, it is not necessarily required that the feedback information and the change information be acquired within one control cycle.
[0085] For example, the feedback information acquisition unit 23 acquires information regarding the time when acquiring the feedback information together with the feedback information. Information regarding the time when acquiring the feedback information is given, for example, by a timestamp. Also, the tool change information acquisition unit 24 acquires information regarding the time when acquiring the change information together with the change information. In this case, the synthesis information generation unit 25 can match the time axes of both based on the information of the time indicated by the timestamp and synthesize the feedback information and the change information.
[0086] The numerical control device 2 may further include a path error calculation unit. The path error calculation unit calculates the difference between the movement path of the tool calculated based on the command of the machining program and the movement path of the tool indicated by the feedback information.
[0087] The output unit 28 outputs the difference between the respective movement paths calculated by the path error calculation unit. Thereby, the operator can easily confirm the difference between the movement path of the tool specified in the machining program and the movement path of the tool when actually operating each axis of the machine tool 1.
[0088] Note that the present disclosure is not limited to the above-described embodiments, and can be appropriately modified without departing from the gist. In the present disclosure, any component of the embodiment can be modified or any component of the embodiment can be omitted.
Description of Reference Numerals
[0089] 1 Machine tool 2 Numerical control device 201 Hardware processor 202 Bus 203 ROM 204 RAM 205 Non-volatile memory 206 Interface 207 Axis control circuit 208 Spindle control circuit 209 PLC 210 I / O unit 21 Program storage unit 22 Control unit 23 Feedback information acquisition unit 24 Tool change information acquisition unit 25 Composite information generation unit 26 Shape information storage unit 27 Machining simulation unit 28 Output unit 3 Input / output device 4 Servo amplifier 5 Servo motor 6 Spindle amplifier 7 Spindle motor 8 Auxiliary equipment W Workpiece
Claims
1. A control unit that interprets a machining program including tool information for specifying a tool and controls the axes of a machine tool; A feedback information acquisition unit that acquires feedback information indicating the positions of the axes from the machine tool; A tool change information acquisition unit that acquires the tool information from the machining program and acquires change information indicating that the tool has been changed from the machine tool; A combined information generation unit that combines the feedback information acquired by the feedback information acquisition unit, the tool information and the change information acquired by the tool change information acquisition unit to generate combined information; A shape information storage unit that stores shape information indicating the shape of the tool; A machining simulation unit that executes a machining simulation of a workpiece based on the combined information and the shape information; An output unit that outputs machining shape information indicating the shape of the machined workpiece generated by executing the machining simulation; A numerical control device comprising the above.
2. The numerical control device according to claim 1, wherein the combined information generation unit generates the combined information by matching the time axis related to the acquisition of the feedback information and the time axis related to the acquisition of the change information.
3. The numerical control device according to claim 2, wherein the feedback information acquisition unit and the tool change information acquisition unit acquire the feedback information and the change information, respectively, from the machine tool within one control cycle.
4. The numerical control device according to any one of claims 1 to 3, wherein the change information is a signal indicating that the tool change has been completed.
Citation Information
Patent Citations
Working control system
JP2001255921A
Numerical control device
JP2020071734A
Simulation device, numeric controller and simulation method
JP2021105825A
Processing apparatus and processing method
JP2021128709A
Backlash quantity detecting method for feeding drive device, and backlash quantity detecting device for the feeding drive device
WO2009104676A1