Post-processor, machining program generation method, CNC machining system, and computer-readable medium
By communicating with the CNC device through the post-processor to obtain information, generate and simulate the machining program, the problem of the post-processor being unable to update synchronously is solved, the most suitable machining program is generated, and the applicability and accuracy of the machining program are improved.
Patent Information
- Application Number
- CN202180046462.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-07-03
- Filing Date
- 2021-06-28
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2041-06-28
AI Technical Summary
Existing post-processors cannot collaborate with CNC devices and cannot be updated synchronously when CNC devices are upgraded or options are added. In addition, it is difficult for users to select appropriate functions, resulting in inappropriate machining program generation.
The postprocessor communicates with the CNC device to obtain its option information and specification information, determines the available functions, generates and simulates the machining program, and selects the most suitable program for output.
The post-processor generates the most suitable machining program according to the CNC device information, improves the applicability and accuracy of the machining program, and meets the machining goals.
Smart Images

Figure CN115735167B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a post-processor, a machining program preparation method, a CNC machining system and a computer readable medium. Background Art
[0002] In a machine tool that is controlled by a computer numerical control device (CNC device) and moves a table for manufacturing a tool or a workpiece (workpiece) to manufacture the workpiece, the machine motion is provided by a machining program (G code, etc.).
[0003] However, machining programs vary depending on the machine manufacturer or machine options. Therefore, CAM (Computer Aided Manufacturing) devices output machining instructions independent of the machine, namely CL (Cutter Location) data. The CL data is converted into machining programs corresponding to each machine through a post-processor.
[0004] Therefore, whether or not a machining program that utilizes CNC functions can be generated depends on the performance of the postprocessor.
[0005] Patent Document 1 describes a method in which a CNC device calls a control subroutine to cause a machine tool to execute specific machining steps such as finish cutting and rough cutting.
[0006] Specifically, Patent Document 1 describes the following: information specifying the availability of a control subroutine for a specific machining process to be executed is read into a control device (a CNC device). Furthermore, Patent Document 1 describes the following: based on the available control subroutines and motion information, when a control subroutine associated with the machining process is available for execution, a control subroutine call request for calling the control subroutine associated with the machining process is generated as a control command.
[0007] Patent Document 2 also describes a method for avoiding errors during the machining process caused by a discrepancy between the machine tool configuration used in simulating a partial program and the actual machine tool configuration during the actual machining process.
[0008] Specifically, Patent Document 2 describes the following: it is possible to control the machining process of a machine tool through a partial program, determine the current structure of the machine tool, compare the current structure with the simulated structure of the machine tool stored in the partial program, and generate an alarm when the current structure is inconsistent with the simulated structure.
[0009] Prior art literature
[0010] Patent Literature
[0011] Patent Document 1: Japanese Patent Application Laid-Open No. 2010-123122
[0012] Patent Document 2: Japanese Patent Application Laid-Open No. 2009-123209 Summary of the Invention
[0013] Problems to be solved by the invention
[0014] The current postprocessor does not cooperate with the CNC device. When the CNC device is upgraded or options are added, the added functions cannot be used unless the postprocessor is updated separately from the CNC device.
[0015] Furthermore, there are cases where the user does not understand the functions of the CNC device and cannot select a useful function.
[0016] Therefore, it is desirable that the postprocessor generates a machining program by referring to CNC device information and selecting a function to use based on the CNC device information. Furthermore, it is desirable that the postprocessor predicts machining results using a machining simulator and outputs a machining program that is optimal for the machining target.
[0017] Means for solving problems
[0018] (1) A first aspect of the present disclosure is a post-processor comprising:
[0019] a processing instruction input unit to which processing instructions independent of the machine are input;
[0020] a CNC information acquisition unit that communicates with the CNC device to acquire option information of the CNC device or information related to specifications of the CNC device;
[0021] a processing target input unit to which processing target information related to the processing target is input;
[0022] an available function determination unit for determining a function that can be used in machining based on the option information of the CNC device or information related to the specifications of the CNC device acquired by the CNC information acquisition unit;
[0023] a machining program generating unit for generating, based on the machining instruction, at least one machining program that uses at least one function determined to be usable by the usable function determining unit or does not use the function;
[0024] a machining simulation unit that simulates a machining result based on the machining program generated by the machining program generation unit;
[0025] a machining simulation result evaluation unit that evaluates the machining simulation result output from the machining simulation unit based on the machining target; and
[0026] A machining program output unit selects and outputs a machining program used for machining based on the evaluation of the machining simulation result.
[0027] (2) A second aspect of the present disclosure is a CNC machining system having:
[0028] The post-processor described in (1) above; and
[0029] A CNC machining machine includes a CNC device connected to the post-processor, and performs CNC machining of a workpiece according to a machining program output from the post-processor.
[0030] (3) A third aspect of the present disclosure is a method for generating a processing program for a post-processor.
[0031] Input processing instructions that do not depend on machinery;
[0032] Communicate with the CNC device to obtain option information of the CNC device or information related to specifications of the CNC device;
[0033] Inputting processing target information related to the processing target;
[0034] determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device;
[0035] generating, based on the machining instruction, at least one machining program that uses at least one function determined to be usable or does not use the function;
[0036] According to the generated machining program, the machining results are simulated;
[0037] evaluating machining simulation results according to the machining objectives;
[0038] Based on the evaluation of the machining simulation results, a machining program used in machining is selected and output.
[0039] (4) A fourth aspect of the present disclosure is a program for generating a machining program.
[0040] The computer serving as a post-processor executes the following processing:
[0041] Communicating with a CNC device to obtain option information of the CNC device or information related to specifications of the CNC device;
[0042] a process for determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device;
[0043] a process of generating, based on a machining instruction not dependent on a machine, at least one machining program that uses at least one function determined to be usable or does not use the function;
[0044] According to the generated machining program, the machining results are simulated;
[0045] Evaluate the processing of machining simulation results based on the input machining objectives; and
[0046] A process of selecting and outputting a machining program used for machining based on the evaluation of the machining simulation result.
[0047] Effects of the Invention
[0048] According to each aspect of the present disclosure, the postprocessor refers to the information of the CNC device, and can select and use a function based on the information of the CNC device to generate a machining program.
[0049] In addition, the post-processor can output the most suitable machining program for the machining target by predicting the machining results using a machining simulator. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 This is a block diagram showing a configuration example of a CNC machining system including a post-processor according to the first embodiment of the present disclosure.
[0051] Figure 2 This is a block diagram showing a configuration example of a post-processor according to the first embodiment of the present disclosure.
[0052] Figure 3 This is a diagram showing an example of information related to the CNC function of a CNC machine tool.
[0053] Figure 4 This is a perspective view showing a workpiece in which a cylinder is installed on a rectangular parallelepiped.
[0054] Figure 5 A diagram showing a workpiece used to describe target dimensions and geometric tolerances between specific elements of a target shape.
[0055] Figure 6 This diagram shows a tool path that moves faithfully to the commanded path and a tool path that is smoothed to make the commanded path smooth.
[0056] Figure 7 This is a flowchart showing the operation of the post-processor.
[0057] Figure 8This is a block diagram showing a configuration example of a post-processor according to the second embodiment of the present disclosure.
[0058] Figure 9 This is a diagram showing the operation of a machining simulation unit that uses the shape of a material before machining to determine the shape after machining. DETAILED DESCRIPTION
[0059] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0060] (First embodiment)
[0061] First, the configuration of a CNC (Computerized Numerical Control) machining system including a post-processor according to a first embodiment of the present disclosure will be described.
[0062] Figure 1 This is a block diagram showing a configuration example of a CNC machining system including a post-processor according to the first embodiment of the present disclosure. Figure 2 This is a block diagram showing a configuration example of a post-processor according to the first embodiment of the present disclosure.
[0063] like Figure 1 As shown, the CNC machining system includes a CAD (computer aided design) device 10, a main processor 20, a post-processor 30, and a CNC machine tool 40. The CNC machine tool 40 includes a CNC device 410, a motor control device 420, a spindle motor 431, and a feed axis motor 432. In addition to the spindle motor 431 and the feed axis motor 432, the CNC machine tool 40 also includes components required for machining. Figure 1 Only the spindle motor 431 and the feed axis motor 432 are shown.
[0064] The CAD device 10 uses a CPU (Central Processing Unit) to run CAD software on a computer screen. Workpieces are drawn using 2D or 3D CAD. When using 2D CAD, front, top, and side views of the workpiece are created on the X and Y planes. When using 3D CAD, a three-dimensional image of the workpiece is created in the X, Y, and Z three-dimensional space.
[0065] The main processor 20 sets the movement of tools and machine tools based on the CAD data to obtain the processed shape, and converts the movement into CL (tool position) data.
[0066] The post-processor 30 generates a machining program (NC data) based on the CL data generated by the main processor 20. The post-processor 30 is connected to the CNC device 410 via a wired or wireless connection in a manner that allows direct or indirect communication, and generates a machining program by referring to information from the CNC device 410. The detailed structure of the post-processor 30 will be described later.
[0067] The main processor 20 and the post-processor 30 may be provided separately or may be integrated into a CAM device.
[0068] The main processor 20 and the post-processor 30 can respectively use the CPU of a computer to execute main processor software for operating as the main processor 20 and post-processor software for operating as the post-processor 30, thereby functioning as the main processor 20 and the post-processor 30. The two software may be executed on the same computer or on different computers.
[0069] Furthermore, the post-processor 30 , the post-processor 30 and the main processor 20 , or the post-processor 30 , the main processor 20 , and the CAD device 10 may be included in the CNC machine tool 40 .
[0070] The CNC machine tool 40 is, for example, a three-axis machine that performs CNC machining according to a machining program. In a three-axis machine, a CNC device 410 controls a motor control device 420 according to the machining program. The motor control device 420 drives a spindle motor 431 and a feed axis motor 432 to perform machining. The CNC machine tool 40 is not limited to a three-axis machine and may also be a five-axis machine, for example.
[0071] The CNC device 410 includes a program analyzing unit 411 , a command output unit 412 , and a storage unit 413 .
[0072] The program analysis unit 411 reads out the program blocks containing the movement instructions of the X-axis, Y-axis and Z-axis and the rotation instructions of the main spindle from the machining program (NC data) produced by the post-processor 30 in sequence and analyzes them, and produces instruction data for instructing the movement of the X-axis, Y-axis and Z-axis and the rotation of the main spindle based on the analysis results, and outputs them to the instruction output unit 412.
[0073] The command output unit 412 calculates the speed of each axis based on the command data output from the program analysis unit 411, and outputs the data based on the calculation result to the spindle motor control unit 421 and the three feed axis motor control units 422 of the motor control device 420.
[0074] The storage unit 413 stores parameter information of the CNC device 410, option information of the CNC device 410, and information related to the specifications of the CNC device 410. The information stored in the storage unit 413 may be one or two of the parameter information, option information, and information related to the specifications of the CNC device 410.
[0075] The parameter information of the CNC device 410 is, for example, parameters related to the axis structure and the movable range of each axis, parameters such as the time constant used for controlling the speed, acceleration and jerk of each axis, and at least one parameter such as the allowable position deviation used for position control of each axis.
[0076] The option information of the CNC device 410 is, for example, information related to CNC functions available in the CNC device 410. The information related to CNC functions available in the CNC device 410 includes whether the CNC function is available in the CNC device 410 and, if available, the content of the CNC function.
[0077] The information related to the specifications of the CNC device 410 is, for example, information related to the manufacturer and model of the CNC device 410 and / or information related to the software version.
[0078] The motor control device 420 includes a main spindle motor control unit 421 and a feed axis motor control unit 422 .
[0079] The spindle motor control unit 421 controls the rotational operation of the spindle motor 431 through general feedback control using a feedback value of the rotational position of the spindle motor 431 based on the output from the command output unit 412 .
[0080] The three feed axis motor control unit 422 (X-axis, Y-axis, and Z-axis) controls the feed motion of the three feed axis motors 432 based on the output from the command output unit 412 and using the feedback value of the feed position of the three feed axis motors 432. The internal structures of the spindle motor control unit 421 and the three feed axis motor control unit 422 are well known to those skilled in the art, and therefore, detailed description and illustration are omitted.
[0081] The spindle motor 431 rotates tools such as ball-end mills. The feed axis motor 432 is composed of three motors in the X-axis direction, Y-axis direction, and Z-axis direction. The motors in the X-axis direction and Y-axis direction move the workbench on which the substrate for making the workpiece is placed linearly in the X-axis direction and Y-axis direction respectively via a ball screw or the like. The motor in the Z-axis direction moves the tool or the workbench linearly in the Z-axis direction. In addition, the structure of the three-axis processing machine is not limited to such a structure. For example, the tool can be fixed and the feed axis motor 432 moves the workbench linearly in the X-axis direction, Y-axis direction, and Z-axis direction, or the workbench can be fixed and the feed axis motor 432 moves the tool linearly in the X-axis direction, Y-axis direction, and Z-axis direction. Linear motors can also be used as the motors in the X-axis direction, Y-axis direction, and Z-axis direction.
[0082] The above describes the structure of the CNC machining system. Figure 2 The post-processor 30 will be described in more detail.
[0083] <Post-processor 30>
[0084] like Figure 2 As shown, the post-processor 30 includes a CNC information acquisition unit 301, an available function determination unit 302, a machining target input unit 303, a machining instruction input unit 304, a machining program generation unit 305, a machining simulation unit 306, a machining simulation result evaluation unit 307, and a machining program output unit 308. The post-processor 30 may also be built into the CNC device 410.
[0085] The CNC information acquisition unit 301 communicates with the CNC device 410, acquires at least one of the option information of the CNC device 410 and information related to the specifications of the CNC device 410 from the storage unit 413, and outputs the information to the available function determination unit 302. Furthermore, the CNC information acquisition unit 301 may acquire parameters of the CNC device 410 from the storage unit 413 and output the information to one or both of the available function determination unit 302 and the machining program generation unit 305. The option information of the CNC device 410, the information related to the specifications of the CNC device 410, and the parameters of the CNC device 410 are collectively referred to as "CNC information."
[0086] The available function determination unit 302 determines the CNC functions available in the CNC device 410 based on the option information of the CNC device 410 or information related to the specifications of the CNC device 410 acquired by the CNC information acquisition unit 301 , and outputs the information to the machining program generation unit 305 .
[0087] When the CNC information acquisition unit 301 acquires information related to CNC functions available in the CNC device 410 as optional information, the function determination unit 302 can determine whether the CNC function is available in the CNC device 410 and extract the CNC function if available. Examples of the extracted CNC functions include a smoothing function and a high-speed machining function.
[0088] The usable function determination unit 302 may determine the CNC functions available in the CNC device 410 by using information related to the specifications of the CNC device 410, rather than the option information. Specifically, the usable function determination unit 302 may use, for example, information related to the manufacturer and model of the CNC device 410 and / or information related to the software version as information related to the specifications of the CNC device 410, and refer to a list of functions of the CNC device 410 stored in the unit to determine that the smoothing function FA and the high-speed machining function are CNC functions available in the CNC device 410.
[0089] In addition, the function determination unit 302 can use information related to the specifications of the CNC device 410, refer to the list of functions of the CNC device 410 stored in itself to determine the multiple functions that can be used in the CNC device 410, and refer to the NC parameters included in the parameters of the CNC device 410, which indicate whether the multiple functions of the CNC device 410 are respectively valid, to determine the CNC functions that can be used in the CNC device 410.
[0090] Specifically, the function judgment unit 302 can use, for example, information related to the manufacturer and model of the CNC device 410 and / or information related to the software version as information related to the specifications of the CNC device 410, and refer to the list of functions of the CNC device 410 stored in itself to determine the function of the CNC device 410. Figure 3 The smoothing function FA, smoothing function FB, corner deceleration function, and high-speed machining function shown are determined to be functions that can be used in the CNC device 410. Next, the usable function determination unit 302 can refer to the NC parameters included in the parameters of the CNC device 410, which indicate whether the functions of the CNC device 410 are valid, and determine whether the smoothing function FA and the high-speed machining function are CNC functions that can be used in the CNC device 410. Figure 3 In the figure, regarding the smoothing function FA and the high-speed machining function, the parameter indicating that the function is valid is ON, and the other functions are OFF. The usable function determination unit 302 can select the smoothing function FA and the high-speed machining function as CNC functions that can be used in the CNC device 410.
[0091] The processing target input unit 303 outputs the processing target input by the user when performing processing to the processing program generation unit 305 and the processing simulation result evaluation unit 307 .
[0092] Machining objectives may include, for example, at least one of the following: machining time, machining accuracy, machining quality, and information obtained by prioritizing at least two of these. Machining time may be, for example, the minimum machining time or the target machining time. Machining accuracy may be, for example, the dimensional difference from the target shape or the geometric tolerance from the target shape. Machining quality may be, for example, the permissible value of surface roughness.
[0093] When there are multiple processing targets, targets that must be met and targets that do not have to be met can be set, wherein the priority of the targets that do not have to be met is set lower than the priority of the targets that must be met.
[0094] When machining accuracy or machining quality is included in the machining target, the position on the target shape to which the target is applied may also be input.
[0095] Table 1 shows the Figure 4 The following table shows the machining time, machining accuracy, and machining quality values, as well as the priority and machining application location when setting a cylindrical workpiece on a rectangular parallelepiped.
[0096] [Table 1]
[0097] Processing target value Priority Application area Processing time shortest No. 3 Processing accuracy D20±0.01mm The first one must Cylindrical surface CS Processing quality Less than Ra3.2 The second position is required Plane PS1, Plane PS2
[0098] Figure 4 This is a three-dimensional diagram showing a workpiece in which a cylinder is set on a rectangular parallelepiped. Figure 4 In the embodiment, the workpiece 50 is provided with a cylinder having a plane PS1 and a cylindrical surface CS on a plane PS2 of a rectangular parallelepiped.
[0099] Table 1 sets the machining objectives for machining time, machining accuracy, and machining quality. Furthermore, the machining time, machining accuracy, and machining quality values are set to the shortest possible value, the diameter of the cylindrical surface CS (D) = 20 ± 0.01 mm, and the surface roughness Ra (Ra) less than 3.2, respectively. Priority is set in the order of machining accuracy, machining quality, and machining time. Setting the priority order for machining accuracy and machining quality is essential. Furthermore, in Table 1, machining accuracy is set for the cylindrical surface CS, and machining quality is set for planes PS1 and PS2.
[0100] The machining accuracy of the machining target can be specified based on the following information, for example.
[0101] Target dimensions between specific elements of the target shape (e.g. Figure 5 Target distance between surface SA and surface SC)
[0102] Geometric tolerances between specific elements of the target shape (e.g. Figure 5 Target parallelism of surface SB and surface SD)
[0103] More specifically, if Figure 5 As shown, when the distance between surface SA and surface SC is set as target dimension LA and the difference between the target dimension LA and the processed dimension is evaluated, surface SA' and surface SC' of the processed shape corresponding to surface SA and surface SC are determined. As a method for determining surface SA' and surface SC', one method is to use the surface of the processed shape that is closest in position and orientation to the target shape surface SA as surface SA'.
[0104] The same can be determined for the surface SC'. Figure 5 In the figure, the distance between the surface SA' and the surface SC' is defined as the processed dimension LA', and the difference between the target dimension LA and the processed dimension LA' is defined as the dimension difference.
[0105] When evaluating the parallelism between the surfaces SB and SD as the geometric tolerance, the surfaces SB' and SD' are similarly determined, and the angle of the surface SD' relative to the surface SB' is calculated as the geometric tolerance after processing.
[0106] In addition, the processing quality of the processing target can be specified by, for example, an allowable value of surface roughness. In addition, the method of calculating surface roughness by simulation is well known to those skilled in the art, as described in, for example, "Simulation of Surface Roughness and Profile in High-Speed End Milling" by Ki Yong Lee, Myeong Chang Kang, Yung Ho Jeong, Deuk Woo Lee, Jeong Suk Kim, Journal of Materials Processing Technology 113 (2001) 410-415, and a detailed description thereof will be omitted.
[0107] The processing instruction input unit 304 outputs the input processing instruction that does not depend on the machine to the processing program generation unit 305. Here, as an example of the processing instruction that does not depend on the machine, a CL file (Cutter Location file) is listed. Figure 1 In the structure shown, the CL file is input from the main processor 20.
[0108] The machining program generation unit 305 generates one or more machining programs based on the machining instructions. In this case, the machining program generation unit 305 generates machining programs that utilize at least one function determined by the usable function determination unit 302 to be usable, or that utilize no functions. In the above example, the usable functions determined by the usable function determination unit 302 to be usable are the smoothing function FA and the high-speed machining function. Therefore, the usable function determination unit 302 can generate the following machining programs (a) to (d).
[0109] (a) Processing program that does not use the function
[0110] (b) Machining program using the smoothing function FA
[0111] (c) Processing program using high-speed machining functions
[0112] (d) Machining program using the smoothing function FA and the high-speed machining function
[0113] The machining program generating unit 305 may not generate all of the machining programs (a) to (d). For example, the following cases (A) and (B) may be used as examples of cases where one or more of the machining programs (a) to (d) are generated instead of all of them.
[0114] (A) The machining program generating unit 305 can refer to the information related to the specifications of the CNC device 410 to find out the function combination that cannot be used together.
[0115] For example, when the machining program generating unit 305 knows that the smoothing function FA and the high-speed machining function cannot be used together, it may generate machining programs (a) to (c) instead of machining program (d).
[0116] (B) When the machining program generating unit 305 can refer to the information related to the specifications of the CNC device 410 and the machining target information described later, and knows the effect of each CNC function in advance
[0117] For example, when the machining program generating unit 305 knows that the machining goal is only “minimizing machining time” and the effect of the high-speed machining function is shortening machining time, it may create only machining programs (c) and (d).
[0118] The machining program generation unit 305 may generate a machining program including an instruction to change one or more parameter values of the CNC device 410 acquired by the CNC information acquisition unit 301. For example, the machining program generation unit 305 may include an instruction to change the values of one or more parameters of the CNC device 410 so that they differ between two or more machining programs among machining programs (a) to (d).
[0119] Here, among the parameters of the CNC device 410 , the following parameters are examples of parameters whose values can be changed by commands.
[0120] Parameters such as the time constant used in the speed, acceleration, and jerk control of each axis
[0121] Parameters such as the allowable position deviation used in the position control of each axis
[0122] By properly setting the above parameter values, the machine can be determined to meet the following characteristics during processing.
[0123] When speed is important, you can set a parameter value that increases the processing speed.
[0124] When accuracy is important, you can set parameter values that minimize the error from the commanded path.
[0125] When smoothness is important, you can set parameter values to reduce the acceleration or jerk of each axis.
[0126] Hereinafter, a specific method of determining parameter values by the machining program generating unit 305 will be described with examples.
[0127] The CNC device 410 generally moves the tool according to the tool path and command speed specified by the machining program. However, the actual tool path may not be consistent with the tool path specified by the machining program due to the following factors (a) and (b).
[0128] (a) When the command speed is high or the commanded path curve is steep, the acceleration along the curve may become excessive when traveling along the commanded path at the commanded speed, for example exceeding the motor performance of the drive shaft. This may result in vibration, for example.
[0129] (b) Since the tool path is generally described by a polyline, even if the target shape is a smooth curved surface, the command path is a polygon. Therefore, in order to make the machining result a smooth curve, the command path is sometimes deliberately deviated.
[0130] As a response to factor (a), the machining program generation unit 305 may change the above-mentioned parameter values to thereby determine whether the machine performs (1a), (2b), or an intermediate operation.
[0131] (1a: Speed Prioritization) Since deviation from the commanded path or vibration may occur, parameter values should be set to minimize speed reduction. This can shorten machining time. Conversely, this can result in unsatisfactory dimensional accuracy and surface vibration.
[0132] (2a: Focus on Precision) Speed can be reduced, allowing parameter values to be set to follow the command path without causing vibration. This results in improved dimensional accuracy and a clean machined surface. However, this may increase machining time.
[0133] As a response to factor (b), the machining program generation unit 305 may change the above-mentioned parameter values to thereby determine whether the machine performs (1b), (2b), or an intermediate operation.
[0134] (1b: Focus on the command path) Parameter values can be set so that the machine moves along the command path with a broken line angle. Otherwise, the machined surface may become uneven.
[0135] (2b: Emphasis on Smoothness) Smoothing can be achieved by setting parameter values to make the tool path smoother. However, this may result in poor dimensional accuracy.
[0136] Figure 6 This diagram shows a tool path that follows the commanded path and a tool path that has been smoothed to create a smoother path. The tool path that follows the commanded path has an uneven surface (angular), but the accuracy of dimension L is good. On the other hand, the tool path that has been smoothed has a smooth surface, but the accuracy of dimension L is poor.
[0137] As described above, in order to make the machine meet the above-mentioned characteristics of emphasizing speed, emphasizing accuracy or emphasizing smoothness, the machining program generation unit 305 can combine the above-mentioned actions (1a), (2a) and the above-mentioned actions (1b), (2b) as shown in Table 2 to determine the parameter values.
[0138] [Table 2]
[0139]
[0140] Here, an example of describing a command for changing parameters in a machining program will be briefly described.
[0141] There are two methods for changing parameter values in a machining program: setting values for individual parameters as shown in Table 3, and changing all parameters associated with an operation to pre-registered values as shown in Table 4.
[0142] [Table 3]
[0143]
[0144] In Table 3, parameter No. 1322 can be set to a different value for each axis, and the axis number to be changed is specified with P. P represents the axis, for example, P1 represents the X axis, P2 represents the Y axis, and P3 represents the Z axis.
[0145] [Table 4]
[0146]
[0147] As described above, inserting parameter change commands within a machining program offers the advantage of being able to modify machine motion midway through the program. Therefore, this method is suitable for changing machine settings based on the machining program or when changing machine settings during a series of machining operations, such as roughing and finishing.
[0148] However, when modifying the machine settings, all corresponding commands must be rewritten. In particular, when you want to process multiple programs with the same machine settings, you need to rewrite all program instructions.
[0149] The machining simulation unit 306 simulates machining results based on each machining program generated by the machining program generation unit 305 and outputs machining simulation result information.
[0150] The machining simulation result information includes, for example, information on the shape after machining and / or information on the machining time.
[0151] The technology for simulating a machining result based on a machining program is a known technology as described in, for example, Japanese Patent No. 5149421, and therefore a detailed description thereof will be omitted.
[0152] Furthermore, when using the parameter information of the CNC device 410 in the machining simulation, the machining simulation unit 306 may refer to the parameter information of the CNC device 410 already described.
[0153] When the machining program generation unit 305 generates a machining program including instructions for changing one or more parameter values of the CNC device 410, the machining simulation unit 306 can perform machining simulation for at least one machining program generated by the machining program generation unit 305 under two or more conditions with different parameter values for the CNC device 410. Specifically, when the machining program generation unit 305 sets two or more different conditions for parameters such as time constants used in controlling the speed, acceleration, or jerk of each axis, the machining simulation unit 306 performs machining simulation for each condition.
[0154] Thus, the machining simulation unit 306 can output each parameter value of the CNC device 410 used in the machining simulation in association with the simulation result to which the parameter value is applied.
[0155] The machining simulation result evaluation unit 307 evaluates the machining simulation result output from the machining simulation unit 306 based on the machining target output from the machining target input unit 303 and assigns a score.
[0156] Specifically, if the machining goal is "shortest machining time," the machining simulation results are assigned scores from high to low in order of machining time.
[0157] Furthermore, when the processing goal is provided by a combination of multiple goals, the higher the priority of the goal is, the higher the score is given.
[0158] exist Figure 4 In the example shown in Table 1, the accuracy of the cylindrical surface CS is the highest priority objective. Therefore, the machining simulation results in which the cylindrical surface CS diameter D meets 20 ± 0.01 mm are selected. If no results meet this objective, the result with the cylindrical surface CS diameter D closest to the objective is given the highest score, and the evaluation ends.
[0159] Next, from the selected machining simulation results, the results that meet the second priority level, surface roughness Ra of planes PS1 and PS2, less than 3.2, are selected. If there is no result that meets the target, the result closest to the target is given the highest score, and the evaluation ends.
[0160] Finally, from the selected results, scores are assigned in order of processing time from shortest to longest.
[0161] When all the targets that must be met are not met in the machining simulation result, the machining simulation result evaluation unit may output a machining program that does not meet the targets in accordance with the evaluation result.
[0162] The machining program output unit 308 outputs the machining program that outputs the machining simulation result with the highest score assigned by the machining simulation result evaluation unit 307 as a machining program used for machining to the CNC device 410. The CNC device 410 uses the machining program for DNC (Direct Numerical Control) operation.
[0163] In addition, when simulating a machining program in which the parameter value is applied to each parameter value of the CNC device 410 used in the machining simulation, the machining program output unit 308 can insert and output an instruction to change the parameter value of the CNC device 410 to the parameter value in the machining program associated with the parameter value corresponding to the machining simulation result assigned the highest score by the machining simulation result evaluation unit 307.
[0164] In the embodiment described above, the processing instruction input unit 304 can input a processing instruction in which processing is described as a set of one or more processing steps. An example of a processing instruction in which processing is described as a set of one or more processing steps is a processing instruction described in accordance with the STEP NC data model. The details of such processing instructions are described in Japanese Patent No. 6646027, especially in paragraphs 0034 and Figure 4 .
[0165] When a processing instruction in which processing is described as a set of more than one processing steps is input into the processing instruction input unit 304, the processing target input unit 303, the processing instruction input unit 304, the processing program generation unit 305, the processing simulation unit 306, the processing simulation result evaluation unit 307 and the processing program output unit 308 perform the following processing.
[0166] When a machining instruction input unit 304 receives a machining instruction describing a set of one or more machining steps, the machining program generation unit 305 interprets the machining instruction and decomposes it into the machining steps. The machining program generation unit 305 then generates one or more machining programs using different combinations of NC functions for each of the decomposed machining steps.
[0167] The processing target information input to the processing target input unit 303 may include a processing target for each processing step. In this case, the processing target corresponding to each processing step is applied to each processing step. If the processing target is not specified for each processing step, the same processing target is applied to all processing steps.
[0168] The machining simulation unit 306 performs machining simulation on each process, and the machining simulation result evaluation unit 307 evaluates the machining simulation result for each machining process.
[0169] In the machining program output unit 308, the machining program that outputs the highest-evaluated machining simulation result according to the machining process is selected, and these machining programs are combined in the order of the machining processes recorded in the machining instructions to generate a machining program for the entire machining process, and the machining program for the entire machining process is output.
[0170] The functional blocks included in the post-processor 30 have been described above.
[0171] To implement these functional blocks, the post-processor 30 includes a CPU (Central Processing Unit) and other processing units. Furthermore, the post-processor 30 includes auxiliary storage devices such as HDDs (Hard Disk Drives) that store various control programs, including application software and an OS (Operating System), and main storage devices such as RAM (Random Access Memory) for temporarily storing data required by the processing unit while executing programs.
[0172] Furthermore, in the post-processor 30, the arithmetic processing device reads application software and an operating system from the auxiliary storage device, expands the read application software or OS into the main storage device, and performs arithmetic processing based on the application software or OS. Furthermore, based on the results of these arithmetic operations, the various hardware components of each device are controlled. This realizes the functional blocks of this embodiment. In other words, this embodiment can be implemented through the collaboration of hardware and software.
[0173] Next, the operation of the post-processor 30 will be described using a flowchart. Figure 7 : is a flowchart showing the operation of the post-processor 30 .
[0174] In step S11 , the CNC information acquisition unit 301 acquires CNC information, and the available function determination unit 302 determines available functions of the CNC device based on the CNC information acquired by the CNC information acquisition unit 301 .
[0175] In step S12 , the machining program generating unit 305 generates a machining program by selecting or not selecting a function from the functions determined as usable by the usable function determining unit 302 based on the machining instruction.
[0176] In step S13, machining results are simulated and machining simulation result information is output based on each machining program generated by the machining program generating unit 305. The machining simulation result information includes, for example, information on the shape after machining and / or information on machining time.
[0177] In step S14 , the machining simulation result evaluation unit 307 evaluates the machining simulation result based on the machining target output from the machining target input unit 303 and assigns a score.
[0178] In step S15, the machining simulation result evaluation unit 307 determines whether the machining simulation result satisfies the machining target. If no machining program satisfies the machining target in the machining simulation result, the machining simulation result evaluation unit 307 outputs the machining program that does not meet the target according to the evaluation result and ends the process.
[0179] In step S16 , when the machining simulation result satisfies the machining target, the machining program output unit 308 outputs the machining program that outputs the machining simulation result with the highest score assigned by the machining simulation result evaluation unit 307 as the machining program used for machining to the CNC device, and the process ends.
[0180] According to the first embodiment described above, the postprocessor can generate a machining program by selecting and using functions based on the CNC device information by referring to the CNC device information. In addition, the postprocessor can output a machining program that best suits the machining target by predicting machining results using a machining simulator.
[0181] (Second embodiment)
[0182] Figure 8 1 is a block diagram showing a configuration example of a post-processor according to the second embodiment of the present disclosure. Figure 8 As shown, the post-processor 30A of this embodiment is relatively Figure 2 The post-processor 30 shown in the figure is further provided with a CNC parameter information output unit 309, an external storage device 310, a target shape information input unit 311, a material shape information input unit 312, and a tool shape information input unit 313. Figure 2 The same components of the post-processor 30 shown are denoted by the same reference numerals, and description thereof will be omitted.
[0183] In this embodiment, the structure of the CNC machining system is as follows: Figure 1 The post-processor 30 shown is replaced by the post-processor 30A. Figure 1 The structures of the CNC machining systems shown are the same.
[0184] In the first embodiment, the machining program output unit 308 inserts and outputs a command for changing the parameter value of the CNC device 410 to the parameter value of the CNC device 410 associated with the machining simulation result in the machining program that outputs the machining simulation result assigned the highest score by the machining simulation result evaluation unit 307.
[0185] In this embodiment, a command to change the parameter values of the CNC device 410 is not inserted into the machining program. Instead, a CNC parameter information output unit 309 is provided to output the parameter information of the CNC device 410. The CNC parameter information output unit 309 outputs the parameter information of the CNC device 410 to the CNC device 410. The parameter information of the CNC device 410 is composed of a pair of parameter numbers and parameter values of the CNC device 410 used when the machining simulation result with the highest score was given by the machining simulation result evaluation unit 307. The machining program output unit 308 only outputs the machining program that has produced the machining simulation result with the highest score given by the machining simulation result evaluation unit 307.
[0186] In a method where the CNC parameter information output unit 309 outputs parameter information of the CNC device 410 separately from the machining program and uses this parameter information to change machine parameters, the parameter information of the CNC device 410 is read before machining begins, and all CNC parameters are changed at once. Table 5 shows an example of the parameter information of the CNC device 410.
[0187] [Table 5]
[0188]
[0189] In Table 5, A represents an axis number, A1 represents an X-axis, A2 represents a Y-axis, and A3 represents a Z-axis. In addition, in Table 5, P represents a parameter value.
[0190] In this method, the CNC parameter information output unit 309 outputs the parameter information of the CNC device 410 separately from the machining program and uses this parameter information to change the machine parameters. Changing the machine settings only requires modifying the parameter information of the CNC device 410, eliminating the need to modify individual programs. This method is suitable for changing the machine settings without changing the machining program, or for running multiple machining programs with the same machine settings. However, since the parameters are set uniformly before machining, it is not possible to change the machine settings during machining.
[0191] The parameter information of the CNC device 410 may be output as a file to the external storage device 310 instead of being output to the CNC device 410. Alternatively, the machining program may be output as a file to the external storage device 310 instead of being output to the CNC device 410.
[0192] The machining target input from the machining target input unit 303 may include machining accuracy, which is specified by the tolerance relative to the target shape. Furthermore, the machining simulation result evaluation unit 307 may need to compare the post-machining shape predicted by the machining simulation unit 306 with the target shape. In such cases, a target shape information input unit 311 may be provided.
[0193] The target shape information input unit 311 outputs the processed target shape information input by the user to the processing simulation result evaluation unit 307. The target shape information is, for example, CAD data. Figure 1 The CAD device 10 shown is input.
[0194] Even data other than CAD data may be any data as long as it can three-dimensionally express the target shape after processing.
[0195] In addition to CAD data, examples of data capable of expressing a three-dimensional shape include CSG (Constructive Solid Geometry) data, polyhedral element model data, voxel data, polygon mesh, and point cloud data.
[0196] CSG data is information that represents a three-dimensional shape as a collection of basic shapes. For example, CSG data includes information on the type of basic shape (plane, sphere, cube, cylinder, etc.), its dimensions (the outline of a plane, the diameter of a sphere, the height of a cube, the diameter and length of a cylinder, etc.), its position and orientation, and its overlap (addition, differences, commonalities, etc.).
[0197] Polyhedron element model data is information representing a target shape as a collection of polyhedrons.
[0198] Voxel data is information about the shape of an object expressed as a collection of cubes.
[0199] A polygon mesh is the surface information of an object's shape represented as a collection of polygons.
[0200] Point cloud data is the surface information of the target shape expressed as a point cloud.
[0201] When information on the material shape before machining is required in addition to the machining program during machining simulation by the machining simulation unit 306 , the material shape information input unit 312 outputs the material shape information before machining input by the user to the machining simulation unit 306 .
[0202] The pre-processed raw material shape is information related to the three-dimensional shape of the workpiece before the machining program is executed. If machining is performed from a block, the pre-processed raw material shape is a rectangular parallelepiped. If machining is performed from a casting, the pre-processed raw material shape is the casting shape. When some processing is performed in a previous process, such as finishing after rough machining, the pre-processed raw material shape is the shape of the workpiece immediately after the previous process is completed.
[0203] The data format of the material shape information before processing may be, for example, CAD data, similar to the target shape information, or any format that can express a three-dimensional shape.
[0204] The machining simulation unit 306 calculates the area through which the tool moves according to the machining program. Figure 9 As shown, this area is the portion removed by the tool during machining. Therefore, the shape of the material before machining outputted from the material shape information input unit 312 excluding the area where the tool passes is the shape after machining. Figure 9 This is a diagram showing the operation of a machining simulation unit that uses the shape of a material before machining to determine the shape after machining.
[0205] In the machining simulation by the machining simulation unit 306 , when tool shape information of a tool used in machining is required in addition to the machining program, the tool shape information input unit 313 outputs the tool shape information input by the user to the machining simulation unit 306 .
[0206] The target shape information, raw material shape information and tool shape information exist in the following situations: the case where they are input to the post-processor 30A by the user separately from the main processor 20 or the CAD device 10; the case where the target shape information, raw material shape information and tool shape information are included in the CL data output by the main processor 20.
[0207] For example, if the STEP NC standard defined by ISO-14649 is used, all of the above information can be included in the CL data output by the host processor 20. When such a machining instruction is input, there is no need to separately input target shape information, material shape information, and tool shape information.
[0208] When the CL data does not include target shape information, material shape information, and tool shape information, and only includes tool movement path information, the target shape information, material shape information, and tool shape information must be separately input into the post-processor.
[0209] In this embodiment, one or more structural parts can be selectively set from the CNC parameter information output part 309, the external storage device 310, the target shape information input part 311, the raw material shape information input part 312 and the tool shape information input part 313. Figure 8 The post-processor 30A shown may be a Figure 1 The post-processor 30 shown, for example, only adds the structure of the CNC parameter information output unit 309, adds the structure of the CNC parameter information output unit 309 and the external storage device 310, only adds the structure of the target shape information input unit 311, adds the structure of the raw material shape information input unit 312 or the tool shape information input unit 313, etc.
[0210] The above describes the various embodiments of the present invention, and all or part of the functions of the post-processors 30 and 30A can be implemented by software. However, the functions of the post-processors 30 and 30A can also be implemented by hardware, or a combination of software and hardware. Here, implementation by software means implementation by reading a program into a computer and executing it. In the case where the post-processors 30 and 30A are composed of hardware, for example, part or all of the various structural parts of the post-processors 30 and 30A can be composed of integrated circuits (ICs) such as LSI (Large Scale Integrated Circuit), ASIC (Application Specific Integrated Circuit), gate array, FPGA (Field Programmable Gate Array), etc.
[0211] When the post-processors 30 and 30A are implemented by software, the following steps are described to cause the post-processors 30 and 30A to operate. Figure 7The post-processor application stored in a first storage unit such as a hard disk device or ROM stores information required for calculation in a second storage unit such as RAM, and the CPU executes the processing. This allows the operation of post-processors 30 and 30A to be executed by a program. The post-processor application can be read from a computer-readable medium containing the program into the first storage unit such as a hard disk.
[0212] Computer-readable media include various types of tangible storage media. Computer-readable media include non-transitory computer-readable media. Examples of computer-readable media include magnetic recording media (e.g., hard disk drives), optical magnetic recording media (e.g., magnetic optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, and semiconductor memories (e.g., mask ROMs, Programmable ROMs, EPROMs (Erasable PROMs), flash ROMs, and random access memory).
[0213] The above-mentioned embodiments are preferred embodiments of the present invention. However, the scope of the present invention is not limited to the above-mentioned embodiments, and the present invention can be implemented in various modified forms without departing from the spirit of the present invention.
[0214] The post-processor, machining program generation method, CNC machining system, and machining program generation program disclosed herein can include the above-described embodiments and take various embodiments having the following structures.
[0215] (1) A post-processor comprising:
[0216] a processing instruction input unit (e.g., processing instruction input unit 304 ) to which processing instructions not dependent on machinery are input;
[0217] a CNC information acquisition unit (e.g., CNC information acquisition unit 301 ) that communicates with a CNC device to acquire option information of the CNC device or information related to specifications of the CNC device;
[0218] a processing target input unit (e.g., the processing target input unit 303 ) to which processing target information related to the processing target is input;
[0219] an available function determination unit (e.g., available function determination unit 302) for determining a function available for machining based on the option information of the CNC device or information related to the specifications of the CNC device acquired by the CNC information acquisition unit;
[0220] a machining program generating unit (e.g., machining program generating unit 305) for generating, based on the machining instruction, at least one machining program that uses at least one function determined to be usable by the usable function determining unit or does not use the function;
[0221] a machining simulation unit (e.g., machining simulation unit 306 ) that simulates a machining result based on the machining program generated by the machining program generation unit;
[0222] a machining simulation result evaluation unit (for example, the machining simulation result evaluation unit 307 ) that evaluates the machining simulation result output from the machining simulation unit based on the machining target; and
[0223] The machining program output unit (for example, the machining program output unit 308 ) selects and outputs a machining program used for machining based on the evaluation of the machining simulation result.
[0224] According to this postprocessor, the postprocessor can generate a machining program by selecting a function to be used based on the CNC device information by referring to the CNC device information. In addition, the postprocessor can output a machining program that is most suitable for the machining target by predicting the machining results using a machining simulator.
[0225] (2) The post-processor according to (1), wherein
[0226] The CNC information acquisition unit acquires parameter information of the CNC device,
[0227] The machining program generating unit generates the machining program including a command for changing one or more parameter values of the CNC device included in the parameter information of the CNC device.
[0228] According to this post-processor, the mechanical operation can be changed during the program.
[0229] (3) The post-processor according to (1), wherein
[0230] The CNC information acquisition unit acquires parameter information of the CNC device,
[0231] The machining simulation unit performs machining simulation under a plurality of conditions in which one or more parameters of the CNC device included in the parameter information of the CNC device are different.
[0232] The machining program output unit selects a machining program used for machining based on the evaluation of the machining simulation result, inserts a command for changing one or more parameter values of the CNC device into the machining program, and outputs the command.
[0233] According to this post-processor, the mechanical operation can be changed during the program.
[0234] (4) The post-processor according to (1), wherein
[0235] The CNC information acquisition unit acquires parameter information of the CNC device,
[0236] The machining simulation unit performs machining simulation under a plurality of conditions in which one or more parameters of the CNC device included in the parameter information of the CNC device are different.
[0237] The post-processor has: a CNC parameter information output unit (for example, CNC parameter information output unit 309), which outputs CNC parameter information based on the evaluation of the machining simulation result, and the CNC parameter information is composed of a group of the number of one or more parameters of the CNC device and the value of the parameter.
[0238] According to this post-processor, when changing the machine settings, it is only necessary to correct the parameter information of the CNC device without having to correct each program.
[0239] (5) The post-processor according to any one of (1) to (4), wherein
[0240] The post-processor comprises: a target shape information input unit to which the processed target shape information is input;
[0241] The machining simulation result evaluation unit evaluates the machining simulation result based on the machining simulation result and the target shape information.
[0242] (6) The post-processor according to any one of (1) to (5), wherein
[0243] The processing instruction input unit receives a processing instruction as an input: a processing instruction describing a set of one or more processing steps;
[0244] The processing target input unit is input with different processing targets in each processing step.
[0245] The machining program generating unit generates a machining program for each machining step.
[0246] (7) The post-processor according to any one of (1) to (6), wherein
[0247] The post-processor is built into the CNC device.
[0248] (8) The post-processor according to any one of (1) to (7), wherein
[0249] The post-processor includes: a material shape information input unit to which material shape information before processing is input, or a tool shape information input unit to which tool shape information of a tool used for processing is input,
[0250] The machining simulation unit performs machining simulation using the material shape information before machining or the tool shape information.
[0251] (9) A CNC machining system comprising:
[0252] The post-processor according to any one of (1) to (6); and
[0253] A CNC machining machine (for example, the CNC machine tool 40 ) includes a CNC device connected to the post-processor, and performs CNC machining of a workpiece according to a machining program output from the post-processor.
[0254] According to this CNC machining system, the postprocessor can generate a machining program by selecting and using functions based on the CNC device information by referring to the CNC device information. In addition, the postprocessor can output the machining program most suitable for the machining target by predicting the machining results using a machining simulator.
[0255] (10) A method for generating a machining program for a post-processor, wherein:
[0256] Input processing instructions that do not depend on machinery;
[0257] Communicate with the CNC device to obtain option information of the CNC device or information related to specifications of the CNC device;
[0258] Inputting processing target information related to the processing target;
[0259] determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device;
[0260] generating, based on the machining instruction, at least one machining program that uses at least one function determined to be usable or does not use the function;
[0261] According to the generated machining program, the machining results are simulated;
[0262] evaluating machining simulation results according to the machining objectives;
[0263] Based on the evaluation of the machining simulation results, a machining program used in machining is selected and output.
[0264] According to this machining program generation method, a postprocessor can generate a machining program by selecting and using functions based on CNC device information by referring to CNC device information. In addition, the postprocessor can output a machining program that best suits the machining target by predicting machining results using a machining simulator.
[0265] (11) A program for generating a machining program, wherein:
[0266] The computer serving as a post-processor executes the following processing:
[0267] Communicating with a CNC device to obtain option information of the CNC device or information related to specifications of the CNC device;
[0268] a process for determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device;
[0269] a process of generating, based on a machining instruction not dependent on a machine, at least one machining program that uses at least one function determined to be usable or does not use the function;
[0270] According to the generated machining program, the machining results are simulated;
[0271] Evaluate the processing of machining simulation results based on the input machining objectives; and
[0272] A process of selecting and outputting a machining program used for machining based on the evaluation of the machining simulation result.
[0273] Based on this machining program generation program, the postprocessor can generate a machining program by selecting and using functions based on the CNC device information. In addition, the postprocessor can output the machining program that best suits the machining target by predicting machining results using a machining simulator.
[0274] Explanation of symbols
[0275] 10 CAD devices
[0276] 20 Main processor
[0277] 30, 30A postprocessor
[0278] 40 CNC machine tools
[0279] 301 CNC Information Acquisition Department
[0280] 302 Function determination unit available
[0281] 303 Processing target input unit
[0282] 304 Processing instruction input unit
[0283] 305 Processing program generation unit
[0284] 306 Machining Simulation
[0285] 307 Processing Simulation Result Evaluation Department
[0286] 308 Processing program output unit
[0287] 309 CNC parameter information output unit
[0288] 310 External storage device
[0289] 311 Target shape information input unit
[0290] 312 Raw material shape information input unit
[0291] 313 Tool shape information input unit
[0292] 410 CNC device
[0293] 411 Program Analysis Department
[0294] 412 Command Output Unit
[0295] 413 Storage Department
[0296] 420 Motor Control Unit
[0297] 421 Spindle motor control unit
[0298] 422 Feed axis motor control unit
[0299] 431 Spindle Motor
[0300] 432 feed axis motor.
Claims
1. A post-processor, characterized in that: Include: a processing instruction input unit to which processing instructions independent of the machine are input; a CNC information acquisition unit that communicates with the CNC device to acquire option information of the CNC device or information related to specifications of the CNC device; a processing target input unit to which processing target information related to the processing target is input; an available function determination unit for determining a function that can be used in machining based on the option information of the CNC device or information related to the specifications of the CNC device acquired by the CNC information acquisition unit; a machining program generating unit for generating, based on the machining instruction, one or more machining programs from a plurality of machining programs having different combinations of functions determined to be usable by the usable function determining unit; a machining simulation unit that simulates a machining result based on the machining program generated by the machining program generation unit; a machining simulation result evaluation unit that evaluates the machining simulation result output from the machining simulation unit based on the machining target; and A machining program output unit selects and outputs a machining program used for machining based on the evaluation of the machining simulation result.
2. The post-processor according to claim 1, wherein: The CNC information acquisition unit acquires parameter information of the CNC device, The machining program generating unit generates the machining program including a command for changing one or more parameter values of the CNC device included in the parameter information of the CNC device.
3. The post-processor according to claim 1, wherein: The CNC information acquisition unit acquires parameter information of the CNC device, The machining simulation unit performs machining simulation under a plurality of conditions in which one or more parameters of the CNC device included in the parameter information of the CNC device are different. The machining program output unit selects a machining program used for machining based on the evaluation of the machining simulation result, inserts a command for changing one or more parameter values of the CNC device into the machining program, and outputs the command.
4. The post-processor according to claim 1, wherein: The CNC information acquisition unit acquires parameter information of the CNC device, The machining simulation unit performs machining simulation under a plurality of conditions in which one or more parameters of the CNC device included in the parameter information of the CNC device are different. The post-processor includes a CNC parameter information output unit configured to output CNC parameter information based on an evaluation of the machining simulation result. The CNC parameter information is composed of a set of numbers of one or more parameters of the CNC device and values of the parameters.
5. The post-processor according to any one of claims 1 to 4, characterized in that: The post-processor comprises: a target shape information input unit to which the processed target shape information is input; The machining simulation result evaluation unit evaluates the machining simulation result based on the machining simulation result and the target shape information.
6. The post-processor according to any one of claims 1 to 4, characterized in that: The processing instruction input unit receives a processing instruction as an input: a processing instruction describing a set of one or more processing steps; The processing target input unit is input with different processing targets in each processing step. The machining program generating unit generates a machining program for each machining step.
7. The post-processor according to any one of claims 1 to 4, characterized in that: The post-processor is built into the CNC device.
8. The post-processor according to any one of claims 1 to 4, characterized in that: The post-processor includes: a material shape information input unit to which material shape information before processing is input, or a tool shape information input unit to which tool shape information of a tool used for processing is input, The machining simulation unit performs machining simulation using the material shape information before machining or the tool shape information.
9. A CNC machining system, characterized in that: have: The post-processor according to any one of claims 1 to 6; and A CNC machining machine includes a CNC device connected to the post-processor, and performs CNC machining of a workpiece according to a machining program output from the post-processor.
10. A method for generating a machining program for a post-processor, characterized in that: Input processing instructions that do not depend on machinery; Communicate with the CNC device to obtain option information of the CNC device or information related to specifications of the CNC device; Inputting processing target information related to the processing target; determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device; generating one or more machining programs from a plurality of machining programs having different combinations of functions determined to be usable, based on the machining instruction; According to the generated machining program, the machining results are simulated; evaluating machining simulation results according to the machining objectives; Based on the evaluation of the machining simulation results, a machining program used in machining is selected and output.
11. A computer-readable medium recording a program for generating a machining program, characterized in that: The machining program generation program causes a computer serving as a post-processor to execute the following processing: Communicating with a CNC device to obtain option information of the CNC device or information related to specifications of the CNC device; a process for determining functions that can be used in machining based on the acquired option information of the CNC device or information related to the specifications of the CNC device; A process for generating one or more machining programs from a plurality of machining programs having different combinations of functions determined to be usable, based on a machining instruction not dependent on the machine; According to the generated machining program, the machining results are simulated; Evaluate the processing of machining simulation results based on the input machining objectives; and A process of selecting and outputting a machining program used for machining based on the evaluation of the machining simulation result.
Citation Information
Patent Citations
Method and device for operating machine tool
JP2009123209A
Method for creating part program
JP2010123122A
Program optimization system
CN107957912A
Postprocessor device, machining program generation method, cnc machining system, and computer-readable information storage medium
CN109725600A
NC code simulation method for six-shaft transformation of five-shaft numerical control gantry machine tool
CN110244656A