Information processing device, information processing method, and software
The information processing device allows for direct adjustment of rotating body attitudes in the NC program to resolve overstroke or interference issues, eliminating the need for cutter location data regeneration.
Patent Information
- Application Number
- JP2025064088
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2045-04-09
AI Technical Summary
Existing systems require regeneration of cutter location data if overstroke or collision occurs during simulation, which is inefficient and time-consuming.
An information processing device and method that allows changing the attitude of rotating bodies in a numerical control program by symmetry operations, eliminating the need to regenerate cutter location data when overstroke or interference is detected.
Enables direct adjustment of rotating body attitudes in the NC program without regenerating cutter location data, thus avoiding the inefficiencies of manual data re-generation.
Smart Images

Figure 0007810843000001_ABST
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an information processing device, an information processing method, and software. [Background technology]
[0002] Conventionally, as shown in Japanese Patent No. 7528347 (Patent Document 1), a numerical control (NC) program is generated from cutter location (CL) data. The numerical control program is simulated by simulation software before being executed on a machine tool.
[0003] Specifically, cutter location data is generated by a computer-aided manufacturing (CAM) software, also called a main processor, and is converted into a numerical control program by software called a post-processor. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 7528347 Summary of the Invention [Problem to be solved by the invention]
[0005] If the simulation results in overstroke (also called "overtravel") or collision, the user must regenerate the cutter location data in CAM and then reload the corrected cutter location data into the post-processor.
[0006] The present disclosure provides an information processing device, an information processing method, and software that eliminate the need to regenerate cutter location data even if an overstroke or interference occurs in a simulation. [Means for solving the problem]
[0007] According to one aspect of the present disclosure, an information processing device includes an operation receiving unit that receives an operation, and a program generation unit that generates a numerical control program to be executed by a machine tool from cutter location data. The machine tool includes a rotating body that is rotatable about a predetermined axis and is used to machine a workpiece within a workpiece machining area. The numerical control program includes information indicating an attitude of the rotating body. When the operation receiving unit receives the predetermined operation, the program generation unit changes the information indicating the attitude in the numerical control program from information indicating a preset first attitude to information indicating a second attitude that is symmetrical to the first attitude with respect to a reference plane including the predetermined axis, by rotation about the predetermined axis.
[0008] An information processing method executed by an information processing device includes a step of generating a numerical control program to be executed by a machine tool from cutter location data. The machine tool includes a rotating body that is rotatable about a predetermined axis and is used to machine a workpiece within a workpiece machining area. The numerical control program includes information indicating the attitude of the rotating body. The information processing method further includes a step of, when the information processing device receives a predetermined operation, changing the information indicating the attitude in the numerical control program from information indicating a preset first attitude to information indicating a second attitude that is symmetrical to the first attitude with respect to a reference plane including the predetermined axis, by rotation about the predetermined axis. [Effects of the Invention]
[0009] According to the above configuration, even if an overstroke or interference occurs in the simulation, there is no need to regenerate the cutter location data. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 illustrates a machine tool system. [Figure 2] FIG. 2 is a block diagram illustrating a hardware configuration of an information processing device. [Figure 3] FIG. 2 is a functional block diagram illustrating a functional configuration of the information processing device. [Figure 4] FIG. 2 is a diagram illustrating a screen displayed on a monitor of the information processing device. [Figure 5] FIG. 10 is a diagram showing a part of an NC program. [Figure 6] 10A and 10B are diagrams illustrating other screens displayed on the monitor of the information processing device. [Figure 7] FIG. 7 is a diagram for explaining the model of FIG. 6. [Figure 8] 10A and 10B are diagrams illustrating other screens displayed on the monitor of the information processing device. [Figure 9] FIG. 10 is a diagram showing an NC program in which parameters have been changed. [Figure 10] 10A and 10B are diagrams illustrating other screens displayed on the monitor of the information processing device. [Figure 11] FIG. 10 is a flowchart illustrating an example of a flow of a process for changing an NC program. DETAILED DESCRIPTION OF THE INVENTION
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
[0012] FIG. 1 is a diagram showing a machine tool system 1000. As shown in FIG. 1, the machine tool system 1000 includes an information processing device 1 and a machine tool 900. The information processing device 1 is communicatively connected to the machine tool 900. In this example, the machine tool 900 is a vertical machining center. However, the type of machine tool 900 is not limited to this.
[0013] <A. Configuration of the Machine Tool> The machine tool 900 includes a column 101, a box body 102, a tool spindle 103, a table 105, a jig 106, and a guide rail 107 in the machining chamber.
[0014] The column 101 is movable in the X-axis direction (front-back direction). The box body 102 is attached to the column 101. The box body 102 is movable in the Z-axis direction (up-down direction) with respect to the column 101. The tool spindle 103 is attached to the box body 102. In this example, the tool spindle 103 is attached to the side of the box body 102. The tool spindle 103 is rotatable around the A-axis parallel to the X-axis. A tool 104 for machining the workpiece W is attached to the tool spindle 103.
[0015] The table 105 holds the workpiece W. Specifically, the table 105 holds the workpiece W via the jig 106. The table 105 is movable along the guide rail 107. The guide rail 107 extends in the Y-axis direction (left-right direction). Therefore, the table 105 moves in the Y-axis direction.
[0016] The table 105 is rotatable 360° around the C-axis parallel to the Z-axis. Specifically, the table 105 includes a base 151 and a rotating part 152. The rotating part 152 is fixedly attached to the base 151 so as to be rotatable. The rotating part 152 is rotatable 360° around the C-axis.
[0017] The jig 106 is installed on the top surface of the rotating part 152. The workpiece W is fixed to the jig 106. When the base 151 moves in the Y-axis direction along the guide rail 107, the rotating part 152 also moves in the Y-axis direction. As a result, the workpiece W moves in the Y-axis direction.
[0018] In this example, the workpiece W has a top surface U1 inclined with respect to the XY plane and a top surface U2 parallel to the XY plane. The top surface U1 and the top surface U2 are continuous. The shape of the workpiece W is an example and is not limited thereto.
[0019] Note that the A-axis is an example of the "first axis" of the present disclosure. The C-axis is an example of the "second axis" of the present disclosure. The Y-axis is an example of the "third axis" of the present disclosure. The top surfaces U1 and U2 are examples of the "machined surfaces" of the present disclosure. The tool spindle 103 and the table 105 are examples of the "rotating bodies" of the present disclosure.
[0020] <B. Configuration of Information Processing Apparatus> FIG. 2 is a block diagram for explaining the hardware configuration of the information processing apparatus 1. As shown in FIG. 2, the information processing apparatus 1 includes a CPU (Central Processing Unit) 2 which is a kind of arithmetic unit, a memory 3, an operation device 4, a monitor 5, and a communication interface 6. The memory 2 includes a volatile memory such as a RAM (Random Access Memory) and a non-volatile memory such as a ROM (Read Only Memory), an HDD (Hard Disk Drive), and an SSD (Solid State Drive).
[0021] The memory 3 stores a computer-aided manufacturing (CAM) 9 and an integrated software 10. The integrated software 10 includes at least a post-processor 11 and a simulation software 12. Note that the post-processor 11 and the simulation software 12 do not necessarily need to be configured as one integrated software.
[0022] The operation device 4 receives user operations. The operation device 4 is typically an input device including a keyboard and a mouse. When the monitor 5 is configured as a touch screen, the operation device 4 may be a touch panel.
[0023] The CPU 2 executes the CAM 9 based on the operations of the user of the information processing apparatus 1. The CPU 2 executes the integrated software 10 based on the operations of the user. Specifically, the CPU 2 executes the post-processor 11. The CPU 2 executes the simulation software 12.
[0024] The CPU 2 generates cutter location (CL) data from the input 3D model by executing the CAM 9. The CPU 2 generates a numerical control (NC) program from the CL data (also called a "tool path" or "tool route") using a post processor 11. More specifically, the post processor 11 converts the CL data into an NC program.
[0025] More specifically, the CPU 2 executes the post-processor 11 to convert the tool path to suit the structure of the machine tool being used and the specifications of the NC device. The post-processor 11 adds command codes such as feed rate, spindle rotation speed, and various macros to the converted tool path, and outputs an NC program determined by each NC device manufacturer. The NC program is a machining program used in the NC machine tool. The NC program is a program that combines dedicated codes such as G-code and M-code. In this example, the NC program includes at least information indicating the attitude (rotation angle) of the tool spindle 103 and information indicating the attitude (rotation angle) of the table 105.
[0026] The CPU 2 simulates the generated NC program using simulation software 12. The CPU 2 displays the results of the simulation on the monitor 5. The user checks the results of the simulation on the monitor 5 to see if overstroke or interference has occurred.
[0027] If no overstroke or interference has occurred and the user has determined that the NC program is appropriate, the CPU 2 transmits the NC program to the machine tool 900 via the communication interface 6 based on the user's operation.
[0028] The CPU 2 is an example of a "processor" in the present disclosure. The post-processor 11 corresponds to a "program generating unit" in the present disclosure.
[0029] Fig. 3 is a functional block diagram for explaining the functional configuration of the information processing device 1. As shown in Fig. 3, the information processing device 1 includes a CL data generation unit 21, an NC program generation unit 22, a simulation unit 23, a display unit 24, and an operation reception unit 25. The NC program generation unit 22 includes a tilt direction change unit 221.
[0030] The CL data generating unit 21, the NC program generating unit 22, and the simulation unit 23 operate based on the user operation received by the operation receiving unit 25. Various screens (user interfaces) corresponding to the operation are displayed on the display unit 24.
[0031] The CL data generation unit 21 is a functional block realized by the CPU 2 executing the CAM 9. The NC program generation unit 22 is a functional block realized by the CPU 2 executing the post processor 11. The simulation unit 23 is a functional block realized by the CPU 2 executing the simulation software 12. The display unit 24 corresponds to the monitor 5. In detail, the information processing device 1 has a display control unit (not shown), and various images are displayed on the display unit 24 based on the control of the display control unit.
[0032] The CL data generation unit 21 generates CL data from the input three-dimensional data. The generated CL data is sent to the NC program generation unit 22. The NC program generation unit 22 generates an NC program from the CL data. More specifically, the NC program generation unit 22 converts the CL data into an NC program. The generated NC program is sent to the simulation unit 23. The simulation unit 23 simulates the NC program. The results of the simulation are sent to the display unit 24. The display unit 24 displays the results of the simulation.
[0033] If the user determines that the NC program is appropriate, the NC program is transmitted from the NC program generating unit 22 to the machine tool 900. The tilt direction changing unit 221 of the NC program generating unit 22 will be described later.
[0034] <C.ポストプロセッサのUI(1)> Fig. 4 is a diagram illustrating a screen G11 displayed on the monitor 5 of the information processing device 1. As shown in Fig. 4, the screen G11 is an operation screen (UI: User Interface) provided by the post-processor 11. In detail, the screen G11 is an example of a screen before the cutter location data is divided into a plurality of processes by the post-processor and an NC program is generated.
[0035] The screen G11 includes navigation windows 510 and 520, and a work window 530. The navigation window 510 is a window for editing processes. The navigation window 520 is a window for setting parameters.
[0036] A list of multiple check boxes is displayed in the navigation window 510. In the navigation window 510, structural dependencies are expressed by placement and indentation, allowing the user to visually recognize the hierarchical structure of the data.
[0037] The NC program contains multiple processes for each system. On screen G11, by selecting each process with a checkbox, the selected process can be edited. Specifically, screen G11 includes option P1 representing the process for machining plane (G54), option P2 representing the process for machining plane (G54 inclined plane machining command), and option P3 representing the process for machining plane (G54). Each process (option) is composed of one or multiple detailed processes. For example, the process represented by option P3 consists of six detailed processes from "end face machining (end face machining APT - 111)" to "end face machining (end face machining APT - 116)". The detailed processes included in the same process (option) have the same angle for the A-axis and / or C-axis. The direction of the rotating axis described later can be changed for each of these multiple processes (options).
[0038] In the example of screen G11, when the user checks the checkbox, option P2 is selected. Furthermore, the option in the lower layer of option P2 ("inclined plane machining (inclined plane machining APT - 110)") is also selected. Since option P2 is selected, on screen G11, in the navigation window 520, the user can set the three parameters Q1, Q2, and Q3 for the inclined plane machining command.
[0039] Parameter Q1 is a parameter that changes the direction of the rotating axis of the rotating body used for machining the workpiece in the process of option P2 to either positive (+) or negative (-). On screen G11, the direction of the rotating axis is set to positive (+). Details of parameter Q1 will be described later.
[0040] Parameter Q2 is a parameter that specifies the turning mode. Parameter Q3 is a parameter that specifies the order of turning.
[0041] <Explanation of D.CL data> For the sake of convenience, it is assumed below that when the CAM 9 generates the CL data for the process of option P2, the CAM 9 derives the following two solutions α and β. In this case, the post-processor 11 generates an NC program using either the solution α or the solution β. Note that the solutions α and β are examples of solutions.
[0042] Solution α: (A-axis rotation angle, C-axis rotation angle) = (-15.0°, 0.0°) Solution β: (A-axis rotation angle, C-axis rotation angle) = (15.0°, 180.0°) The rotation angle of the A-axis is the rotation angle of the tool spindle 103. The rotation angle of the A-axis when the tool 104 is facing vertically downward is defined as 0°. A plane that includes the A-axis and is parallel to the XZ plane (see FIG. 1) is defined as the first reference plane. The rotation angle when the tip of the tool 104 faces more toward the negative Y-axis direction than the first reference plane is defined as a positive (+) angle. The rotation angle when the tip of the tool 104 faces more toward the positive Y-axis direction than the first reference plane is defined as a negative (-) angle. In the example of FIG. 1, the rotation angle of the A-axis is a negative angle.
[0043] The rotation angle of the C-axis is the rotation angle of table 105. The rotation angle of the C-axis is defined in the range of 360°. In this example, the rotation angle of the C-axis is defined as equal to or greater than 0° and less than 360°. However, this is not limiting, and the rotation angle of the C-axis may be defined as equal to or greater than -180° and less than 180°. The rotation angle of the C-axis in the state of FIG. 1 is 0°. When the C-axis rotates clockwise in a top view of machine tool 900, for example, the rotation angle of the C-axis increases from 0°, passes through 180°, and becomes 360° (i.e., 0°).
[0044] Furthermore, in the following, a plane that includes the C-axis and is parallel to the XZ plane (see Figure 1) is referred to as the second reference plane. The second reference plane is parallel to the first reference plane. Note that when the C-axis intersects with the A-axis, the first reference plane and the second reference plane coincide.
[0045] <E.NCプログラム(1)> Fig. 5 is a diagram showing a portion of an NC program corresponding to the process of option P2 in Fig. 4. As shown in Fig. 5, the NC program 40 includes a coordinate transformation statement. The coordinate transformation statement includes a variable Va and a variable Vb.
[0046] In FIG. 5, since the parameter Q1 shown in FIG. 4 is "-", the post-processor 11 sets the value of the variable Va to 1 and the value of the variable Vb to -1. When the value of the variable Vb is set to -1, the post-processor 11 identifies the minimum value from among the four values included in the solutions α and β. Furthermore, the post-processor 11 selects the solution including the identified minimum value from the solutions α and β.
[0047] In this example, the solution α includes -15.0° and 0.0°, and the solution β includes 15.0° and 180.0°. Therefore, the post-processor 11 identifies the minimum value, -15.0°, from among -15.0°, 0.0°, 15.0°, and 180.0°. As a result, the CAM 9 selects the solution α that includes the identified minimum value (-15.0°) from the solution α and the solution β. Furthermore, the post-processor 11 generates an NC program using the solution α.
[0048] In this case, the rotation angle of the tool spindle 103 is first identified, and then a solution α including the identified angle is selected. The selection of the solution α determines the rotation angle of the table 105. Therefore, in this example, it can be said that the rotation angle of the table 105 is determined in conjunction with the determination of the rotation angle of the tool spindle 103.
[0049] <F.シミュレーションソフトのUI(1)> Fig. 6 is a diagram illustrating a screen G21 displayed on the monitor 5 of the information processing device 1. As shown in Fig. 6, the screen G21 is an operation screen provided by the simulation software 12. In detail, the screen G21 is an example of a screen when the NC program 40 generated by the post-processor 11 is simulated.
[0050] More specifically, screen G21 is an example of a screen when simulating an NC program corresponding to the process of option P2 in Fig. 4. Even more specifically, screen G21 is an example of a screen when simulating an NC program to which solution α of solutions α and β is applied.
[0051] Screen G21 includes an image area 30 that displays the simulation results. In image area 30, the simulation results using model 900m of machine tool 900 are displayed as a moving image. The moving image can be stopped midway.
[0052] Fig. 7 is a diagram for explaining the model 900m of Fig. 6. As shown in Fig. 7, the model 900m includes a model 101m of the column 101, a model 102m of the box 102, a model 103m of the tool spindle 103, a model 104m of the tool 104, a model 105m of the table 105, a model 106m of the jig 106, a model 107m of the guide rail 107, and a model Wm of the workpiece W.
[0053] The model 105m includes a model 151m of the base 151 and a model 152m of the rotating part 152. The model Wm of the workpiece W includes a model U1m of the top surface U1 and a model U2m of the top surface U2. Figure 7 shows a model simulating the state in which the top surface U1 of the workpiece W is being cut with the tool 104.
[0054] The positional relationship between the model 104m of the tool 104 and the model Wm of the workpiece W is appropriate. However, the model 105m of the table 105 interferes with the model 101m of the column 101. In this way, the model 105m of the table 105 has advanced to a position where the stroke of the table 105 in the Y-axis direction is actually impossible. In other words, an overstroke state has occurred. Therefore, the NC program to which the solution α is applied cannot machine the workpiece W with the tool 104.
[0055] <G.ポストプロセッサのUI(2)> Fig. 8 is a diagram illustrating a screen G12 displayed on the monitor 5 of the information processing device 1. As shown in Fig. 8, the screen G12 is an operation screen provided by the post-processor 11, similar to the screen G11 (Fig. 4). More specifically, the screen G12 is a transition screen from the screen G11. The screen G12 shows a situation in which an operation to change the setting of the parameter Q1 is being accepted.
[0056] When the user selects the area 521 used to display the character string of the parameter Q1 with a mouse or the like, a pull-down menu Q10 is displayed. The pull-down menu Q10 includes a plus (+) option Q11 and a minus (-) option Q12.
[0057] When the parameter Q1 is set to minus (-), interference occurs as described above. Therefore, the user changes the setting of the parameter Q1 from minus (-) to plus (+) by selecting plus (+) with a mouse or the like. Note that this user operation of switching the setting of the parameter Q1 from minus (-) to plus (+) is an example of the "predetermined operation" of the present disclosure.
[0058] <H.NCプログラム(2)> 9 is a diagram showing an NC program in which parameter Q1 has been changed from "-" to "+." Referring to FIG. 9, an NC program 40A after the change has a different coordinate transformation statement compared to NC program 40 (FIG. 5).
[0059] Specifically, when the parameter Q1 is set to "+", the post-processor 11 sets the value of the variable Va to 2 and the value of the variable Vb to 1. When the value of the variable Vb is set to 1, the post-processor 11 identifies the maximum value from among the four values contained in the solutions α and β. Furthermore, the post-processor 11 selects the solution containing the identified maximum value from the solutions α and β.
[0060] In this example, as described above, the solution α includes -15.0° and 0.0°, and the solution β includes 15.0° and 180.0°. Therefore, the post-processor 11 identifies the maximum value, 180.0°, from among -15.0°, 0.0°, 15.0°, and 180.0°. As a result, the post-processor 11 selects the solution β that includes the identified maximum value (180.0°) from the solution α or the solution β. Furthermore, the post-processor 11 generates an NC program using the solution β.
[0061] In this case, the rotation angle of the table 105 is first identified, and then a solution β including the identified angle is selected. The selection of the solution β determines the rotation angle of the tool spindle 103. Therefore, in this example, it can be said that the rotation angle of the tool spindle 103 is determined in conjunction with the determination of the rotation angle of the table 105.
[0062] The modification of the NC program using such other solutions (specifically, modification from NC program 40 to NC program 40A) is performed by the tilt direction change unit 221 (Figure 3) of the NC program generation unit 22 corresponding to the post processor 11.
[0063] <I.シミュレーションソフトのUI(2)> Fig. 10 is a diagram illustrating a screen G22 displayed on the monitor 5 of the information processing device 1. As shown in Fig. 10, the screen G22 is an operation screen provided by the simulation software 12. In detail, the screen G22 is an example of a screen displayed when the NC program 40A corrected using the post-processor 11 is simulated.
[0064] In this case, model 105m of table 105 moves in the direction opposite to the table moving direction (positive Y-axis direction) shown in Fig. 7. Furthermore, the moving direction of model 104m of tool 104 is opposite to the tool moving direction shown in Fig. 7 when viewed from above model 900m of machine tool 900.
[0065] As shown in FIG. 10, the positional relationship between the model 104m of the tool 104 and the model Wm of the workpiece W is appropriate. Further, unlike the state shown in FIG. 7, the model 105m of the table 105 does not interfere with the model 101m of the column 101. Therefore, with the NC program (modified NC program) to which the solution β is applied, the workpiece W can be machined with the tool 104.
[0066] <J. Change in posture (1)> Hereinafter, the transition from the posture shown in FIG. 6 to the posture shown in FIG. 10 will be described. Specifically, the change in the information indicating the posture of the tool spindle 103 (hereinafter also referred to as "posture J") and the change in the information indicating the posture of the table 105 (hereinafter also referred to as "posture K") when the setting of the parameter Q1 is changed as described above will be explained.
[0067] When the information processing device receives a user operation to change the setting of the parameter Q1 from "-" to "+", the NC program generation unit 22 (FIG. 3) executes the following two processes (posture change).
[0068] (j1: Change in the posture of the tool spindle) (1) The NC program generation unit 22 (specifically, the inclination direction change unit 221) changes the information indicating the posture J of the tool spindle 103 in the NC program from the information indicating a preset posture (hereinafter also referred to as "posture J1") to the information indicating a posture (hereinafter also referred to as "posture J2") that is symmetric to the posture J1 with respect to the above-described first reference plane including the A axis by rotation around the A axis.
[0069] Note that the posture J1 corresponds to the posture of the model 103m of the tool spindle 103 shown in FIG. 6. The posture J2 corresponds to the posture of the model 103m shown in FIG. 10. Specifically, the posture J1 is the posture of the tool spindle 103 in the NC program generated using the solution α. The posture J2 is the posture of the tool spindle 103 in the NC program generated using the solution β.
[0070] With this configuration, the user can change the attitude of the tool spindle 103 in the NC program from attitude J1 to attitude J2 simply by changing the setting of parameter Q1 from "-" to "+." In other words, the information about the attitude of the tool spindle 103 in the NC program can be directly changed by user operation. Therefore, even if an overstroke or interference occurs in the simulation of the NC program, there is no need to regenerate the CL data.
[0071] (2) More specifically, the rotation angle of the tool spindle 103 around the A-axis is defined as a positive angle on one side of the first reference plane described above, and as a negative angle on the other side. In this example, the rotation angle when the tip of the tool 104 faces the negative Y-axis direction side of the first reference plane is defined as a positive (+) angle.
[0072] When the operation receiving unit 25 receives a predetermined operation, the program generating unit 22 (more specifically, the tilt direction changing unit 221) changes the information indicating the attitude of the tool spindle 103 from information indicating attitude J1 to information indicating attitude J2 by inverting the positive and negative of the rotation angle of the tool spindle 103 in the NC program. In the above example, the program generating unit 22 changes the rotation angle of the tool spindle 103 from -15.0° to 15.0°.
[0073] With this configuration, the information indicating the attitude J of the tool spindle 103 can be changed from information indicating the attitude J1 to information indicating the attitude J2 that is symmetrical to the attitude J1 with respect to the first reference plane. The tilt axis direction change unit can also be called an attitude determination unit, an attitude selection unit, or a rotation axis direction selection unit based on its characteristics.
[0074] (j2: Change the table position) (1) By rotating around the C axis, the NC program generation unit 22 changes the information indicating the posture K of the table 105 in the NC program from information indicating a preset posture (hereinafter also referred to as "posture K1") to information indicating a posture (hereinafter also referred to as "posture K2") that is symmetrical to posture K1 with respect to the above-mentioned second reference plane including the C axis.
[0075] Note that orientation K1 corresponds to the orientation of model 105m of table 105 shown in Fig. 6. Orientation K2 corresponds to the orientation of model 105m shown in Fig. 10. Specifically, orientation K1 is the orientation of table 105 in the NC program generated using solution α. Orientation K2 is the orientation of table 105 in the NC program generated using solution β.
[0076] With this configuration, the user can change the orientation of the table 105 in the NC program from orientation K1 to orientation K2 simply by changing the setting of parameter Q1 from "-" to "+." In other words, the user can directly change information about the orientation of the table 105 in the NC program through user operation. Therefore, even if an overstroke or interference occurs in the simulation of the NC program, there is no need to regenerate the CL data.
[0077] (2) More specifically, the table 105 can rotate 360° around the C-axis. When the operation receiving unit 25 receives the predetermined operation, the program generating unit 22 changes the rotation angle of the table 105 in the NC program within the range, thereby changing the information indicating the posture of the table 105 from information indicating posture K1 to information indicating posture K2. In the above example, the program generating unit 22 changes the rotation angle of the table 105 from 0.0° to 180.0°.
[0078] According to this configuration, the information indicating the orientation K of the table 105 can be changed from information indicating the orientation K1 to information indicating the orientation K2 that is symmetrical to the orientation K1 with respect to the second reference plane.
[0079] Note that the orientation J1 and the orientation K1 are examples of the "first orientation" in the present disclosure. The orientation J2 and the orientation K2 are examples of the "second orientation" in the present disclosure. The orientation J1 and the orientation K1 are different from each other. Similarly, the orientation J2 and the orientation K2 are different from each other.
[0080] (j3: Parameter Q1 setting) In the above, since the parameter Q1 was initially set to "-" and it was found by simulation that overstroke occurred with this setting, the operation of changing the setting from "-" to "+" was taken as an example for explanation. Not limited to this, the present disclosure also includes a configuration in which, when the parameter Q1 is initially set to "+" and it is found by simulation that overstroke occurs with this setting, the setting is changed from "+" to "-".
[0081] <K. Simulation> The simulation unit 23 (FIG. 3) executes the simulation of the NC program after the change (the NC program including the information indicating the postures J2 and K2) following the simulation of the NC program before the change (the NC program including the information indicating the postures J1 and K1). The display unit 24 displays each simulation result.
[0082] According to such a configuration, the user can visually recognize not only the result of simulating the NC program before the change but also the result of simulating the NC program after the change. For example, by simulating the NC program changed as described above, the user can confirm with the display unit 24 that problems such as overstroke have disappeared (see FIG. 10).
[0083] <L. Change of Posture (2)> (1) In the above, regarding the process of option P2, the configuration of changing the postures of the tool spindle 103 and the table 105 was taken as an example for explanation. Such a change of posture can be executed for each of a plurality of processes included in the NC program. The NC program generation unit 22 accepts the change of posture for each process. According to such a configuration, the user can change the postures of the tool spindle 103 and the table 105 for each process based on the simulation results for each process by setting the parameter Q1.
[0084] (2) In particular, the workpiece W has a plurality of machining surfaces (in this example, the top surfaces U1, U2) with different inclination angles. The above steps are set for each machining surface. According to such a configuration, the user can change the postures of the tool spindle 103 and the table 105 for each process for machining surfaces with different inclination angles.
[0085] <M. Control Structure> FIG. 11 is a flowchart for explaining an example of the flow of the NC program change process. Referring to FIG. 11, in step S1, the CPU 2 causes the monitor 5 to display an NC program editing screen (see FIG. 4) by executing the function of the post-processor 11. In step S2, a selection operation of a process by the user is received. In the example of FIG. 4, an operation of selecting the process of option P2 is received.
[0086] In step S3, the CPU 2 determines whether the setting of the parameter Q1 is negative (-). If it is determined that the setting of the parameter Q1 is negative (-) (YES in step S3), in step S4, the CPU 2 determines whether an operation of changing the setting of the parameter Q1 to positive (+) has been received.
[0087] If it is determined that an operation of changing the setting of the parameter Q1 to positive (+) has been received (YES in step S4), in step S5, the CPU 2 changes the posture J of the tool spindle in the NC program from posture J1 to posture J2, and changes the posture K of the table 105 from posture K1 to posture K2. If it is determined that an operation of changing the setting of the parameter Q1 to positive (+) has not been received (NO in step S4), the posture change process is not performed.
[0088] If it is determined that the setting of the parameter Q1 is not negative (-) (i.e., positive (+)) (NO in step S3), in step S6, the CPU 2 determines whether an operation of changing the setting of the parameter Q1 to negative (-) has been received.
[0089] When it is determined that an operation to change the setting of parameter Q1 to minus (-) has been received (YES in step S6), in step S7, the CPU 2 changes the posture J of the tool spindle in the NC program from posture J2 to posture J1, and also changes the posture K of the table 105 from posture K2 to posture K1. When it is determined that an operation to change the setting of parameter Q1 to minus (-) has not been received (NO in step S6), the posture change process is not performed.
[0090] Note that in step S3, instead of determining whether the setting of parameter Q1 is minus (-), the CPU 2 may be configured to determine whether the setting of parameter Q1 is plus (+). In this case, the content after step S4 needs to be changed according to the change.
[0091] <N. Generalization> Generalizing the above configuration and process using the term "rotating body", it is as follows. Referring to FIG. 2, the information processing apparatus 1 includes an operation reception unit 25 that receives an operation, and an NC program generation unit 22 that generates an NC program to be executed by the machine tool 900 from the CL data. The machine tool 900 is rotatable around a predetermined axis and includes a rotating body used for machining the workpiece W within the machining area of the workpiece W. The NC program includes information indicating the posture of the rotating body. When the operation reception unit 25 receives a predetermined operation, the NC program generation unit 22 changes the information indicating the posture in the NC program from the information indicating the preset first posture to the information indicating the second posture that is symmetric to the first posture with respect to the reference plane including the predetermined axis by rotation around the predetermined axis.
[0092] According to such a configuration, the rotating body in the NC program can be changed from the first posture to the second posture only by receiving a predetermined operation. That is, the information regarding the posture of the rotating body in the NC program can be directly changed by a user operation. Therefore, even when overstroke or interference occurs due to simulation, regeneration of the CL data is not required.
[0093] <O. Medium> The post-processor 11, which is software (a program), can be stored in various computer-readable recording media. Note that a computer-readable recording media is a non-transitory medium that records a computer program and enables the computer to read the program, and includes, for example, DVD-ROMs and the like.
[0094] The embodiments disclosed this time are illustrative and are not limited to the above content. The scope of the present invention is indicated by the claims, and all modifications within the meaning and scope equivalent to the claims are intended to be included.
[0095] As a result of simulating a first process composed of a plurality of detailed steps, if it is found that overstroke or interference occurs in some of the detailed steps, the user may extract only those some detailed steps from the first process and set them as a new second process, and change the information regarding the posture of the second process.
Explanation of Reference Numerals
[0096] 1 Information processing device, 3 Memory, 4 Operation device, 5 Monitor, 6 Communication interface, 10 Integrated software, 11 Post processor, 12 Simulation software, 21 Data generation unit, 22 Program generation unit, 23 Simulation unit, 24 Display unit, 25 Operation reception unit, 30 Image area, 40, 40A Program, 101 Column, 101m, 102m, 103m, 104m, 105m, 106m, 107m, 151m, 152m, 900M, 900m, U1m, U2m, Wm Model, 102 Box, 103 Tool spindle, 104 Tool, 105 Table, 106 Jig, 107 Guide rail, 151 Base, 152 Rotation unit, 221 Tilt direction change unit, 510, 520 Navigation window, 521 Area, 530 Work window, 900 machine tools, 1000 machine tool systems, G11, G12, G21, G22 screen, J, J1, J2, K, K1, K2 posture, P1, P2, P3, Q11, Q12 selection, Q1, Q2, Q3 parameter, Q10 pull-down menu, U1, U2 top surface, Va, Vb variables, W workpiece.
Claims
1. An information processing device that is executed by a machine tool including a rotating body that can change the attitude of at least one of a workpiece in a processing area and a tool that processes the workpiece by rotating about a predetermined axis, and that generates a numerical control program that includes information indicating the attitude of the rotating body, a program generating unit that generates the numerical control program from cutter location data; an operation receiving unit that receives an operation to change the setting of a parameter that can be set to each of two options from one option currently being set to the other option, When the operation receiving unit receives the operation, the program generation unit changes, by rotation about the predetermined axis, information indicating the attitude of the rotating body included in the numerical control program from information indicating a preset first attitude to information indicating a second attitude that is symmetrical to the first attitude with respect to a reference plane including the predetermined axis.
2. The numerical control program includes a plurality of steps, The information processing apparatus according to claim 1 , wherein the program generating section accepts the change for each of the processes.
3. the workpiece has a plurality of machining surfaces with different inclination angles; The information processing apparatus according to claim 2 , wherein the process is set for each of the processing surfaces.
4. the predetermined axis includes a first axis and a second axis, the reference plane includes a first reference plane including the first axis and a second reference plane including the second axis; the rotating body includes a tool spindle to which the tool is attached and which is rotatable around the first axis, and a table which holds the workpiece and which is rotatable around the second axis, the first and second attitudes of the tool spindle and the table are different from each other; When the information processing device accepts the operation, the program generation unit By the rotation around the first axis, information indicating the attitude of the tool spindle is changed from information indicating the first attitude to information indicating the second attitude which is symmetrical to the first attitude with respect to the first reference plane, 4. The information processing device according to claim 1, wherein the rotation around the second axis changes information indicating the posture of the table from information indicating the first posture to information indicating the second posture that is symmetrical to the first posture with respect to the second reference plane.
5. a rotation angle of the tool spindle around the first axis is defined as an angle in a positive direction on one side of the first reference plane and as an angle in a negative direction on the other side, 5. The information processing device according to claim 4, wherein, when the information processing device accepts the operation, the program generation unit changes the information indicating the attitude of the tool spindle from information indicating the first attitude to information indicating the second attitude by inverting the positive and negative signs of the rotation angle in the numerical control program.
6. The table is rotatable 360° around a second axis; 5. The information processing device according to claim 4, wherein when the information processing device receives the operation, the program generation unit changes information indicating the posture of the table from information indicating the first posture to information indicating the second posture by changing the rotation angle of the table about the second axis in the numerical control program.
7. The first axis and the second axis are perpendicular to each other, the first reference plane and the second reference plane are parallel to each other, 5. The information processing apparatus according to claim 4, wherein, in a top view of the machine tool, the table and the tool spindle are relatively movable in the direction of a third axis perpendicular to the first axis and the second axis.
8. a simulation unit that simulates the numerical control program; a display unit that displays the results of the simulation, The information processing apparatus according to claim 1 , wherein the simulation unit simulates a numerical control program including information indicating the first attitude and a numerical control program including information indicating the second attitude.
9. An information processing method executed by a machine tool including a rotating body capable of changing the attitude of at least one of a workpiece in a machining area and a tool for machining the workpiece by rotating about a predetermined axis, and executed by an information processing device that generates a numerical control program including information indicating the attitude of the rotating body, generating the numerical control program from cutter location data by the information processing device; a step of receiving an operation by the information processing device to change a setting of a parameter that can be set to each of two options from one of the options currently being set to the other option; and a step in which the information processing device, based on the operation, changes information indicating the attitude of the rotating body included in the numerical control program by rotation around the specified axis from information indicating a preset first attitude to information indicating a second attitude that is symmetrical to the first attitude with respect to a reference plane including the specified axis.
10. Software that causes a processor to execute each step of the information processing method according to claim 9.
Citation Information
Patent Citations
Method for preparing NC program
JP2008192001A
Automatic programming device and operation program thereof
JP2011183528A
Program editing assistance device
WO2024201908A1
Information processing device, NC program generation method and program
JP7528347B1