Machining simulation device, numerically controlled lathe, machine tool system, workpiece machining method, and program

JPWO2024095367A5Active Publication Date: 2024-09-26YAMAZAKI MAZAK KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023507557
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-11-01
Filing Date
2022-11-01
Publication Date
2024-09-26
Estimated Expiration
2042-11-01

AI Technical Summary

Technical Problem

Existing machining simulation devices struggle to accurately set the program origin on a machining simulation coordinate system, leading to inefficiencies and increased workload for operators due to the need for manual measurement and setup.

Method used

A machining simulation device and numerically controlled lathe system that sets the program origin based on a machine model and workpiece model, using a communication circuit to transmit data for precise positioning, thereby simplifying the setup process and reducing manual intervention.

Benefits of technology

Accurate setting of the program origin enhances machining simulation precision, reduces interference checks, and improves operational efficiency by minimizing setup work and energy consumption, thus optimizing the operation rate of the numerically controlled lathe.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The machining simulation device includes a calculation device and a communication circuit. The calculation device sets the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to the machine origin of the numerically controlled lathe, a jaw model, which is a shape model of the jaws attached to the chuck of the numerically controlled lathe, and a workpiece model, which is a shape model of the workpiece gripped by the multiple jaws. The calculation device also performs a machining simulation to virtually machine the workpiece model by executing a machining program using the program origin as a reference position. The communication circuit transmits data indicating the position of the program origin to the numerically controlled lathe.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a machining simulation device, a numerically controlled lathe, a machine tool system, a workpiece machining method, and a program. [Background technology]

[0002] 2. Description of the Related Art Techniques for machining a workpiece using a lathe are known.

[0003] As a related technique, Patent Document 1 discloses a machining simulation device. The machining simulation device described in Patent Document 1 includes a machining simulation means for simulating the relative motion of a tool and a workpiece based on a machining program, a memory for storing three-dimensional models of the tool and the workpiece together with their identifiers, a means for reading the identifier of the three-dimensional model specified in the machining program, and a means for retrieving from the memory a three-dimensional model having an identifier that matches the read identifier and setting the model in the machining simulation means. In the machining simulation device described in Patent Document 1, the origin of the workpiece shape is set to the origin (X=0, Y=0, Z=0) of a virtual three-dimensional space. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2009-53823 Summary of the Invention [Problem to be solved by the invention]

[0005] An object of the present invention is to provide a machining simulation device, a numerically controlled lathe, a machine tool system, a workpiece machining method, and a program that are capable of accurately setting a program origin on a machining simulation coordinate system. [Means for solving the problem]

[0006] In some embodiments, the machining simulation device includes: a computing device that sets the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to the machine origin of a numerically controlled lathe, a claw model, which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model, which is a shape model of a workpiece gripped by the plurality of claws, and performs a machining simulation to virtually machine the workpiece model by executing a machining program using the program origin as a reference position; and a communication circuit that transmits data indicating the position of the program origin to the numerically controlled lathe.

[0007] a machining simulation device that sets the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on a machining simulation coordinate system corresponding to a machine origin of the numerically controlled lathe, a jaw model that is a shape model of jaws attached to a chuck of the numerically controlled lathe, and a workpiece model that is a shape model of a workpiece gripped by the plurality of jaws, and executes a machining program using the program origin as a reference position, thereby performing a machining simulation for virtually machining the workpiece model; a second communication circuit that receives data indicating the position of the program origin from a machining simulation device; a second memory that stores the machining program; the chuck; the plurality of jaws that are attached to the chuck and grip the workpiece; a spindle that supports the chuck; a rotation drive device that rotates the spindle about a first axis; a movement device that moves a first tool; and a second arithmetic device that sets the position of the machining program origin in the machining program coordinate system based on the position of the program origin, and determines a movement path of the first tool with reference to the machining program origin by executing the machining program.

[0008] In some embodiments, the machine tool system includes the above-described machining simulation device and the above-described numerically controlled lathe.

[0009] In some embodiments, a workpiece machining method includes the steps of: setting the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on a machining simulation coordinate system corresponding to the machine origin of a numerically controlled lathe, a claw model, which is a shape model of claws attached to a chuck of the numerically controlled lathe, and a workpiece model, which is a shape model of a workpiece gripped by a plurality of the claws; performing a machining simulation to virtually machine the workpiece model by executing a machining program using the program origin as a reference position; setting the position of the machining program origin in the machining program coordinate system based on the position of the program origin; and machining the workpiece by the numerically controlled lathe that executes the machining program using the machining program origin as a reference position.

[0010] In some embodiments, the program is a program for causing a machining simulation device to execute a machining simulation method, the program including: a step of setting the position of a program origin, which is the origin on a machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to the machine origin of a numerically controlled lathe, a claw model, which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model, which is a shape model of a workpiece gripped by a plurality of the claws; a step of performing a machining simulation to virtually machine the workpiece model by executing a machining program using the program origin as a reference position; and a step of transmitting data indicating the position of the program origin to the numerically controlled lathe. [Effects of the Invention]

[0011] The present invention can provide a machining simulation device, a numerically controlled lathe, a machine tool system, a workpiece machining method, and a program that can accurately set a program origin on a machining simulation coordinate system. [Brief explanation of the drawings]

[0012] [Figure 1] FIG. 1 is a block diagram showing an example of a hardware configuration of a machining simulation device according to a first embodiment. [Figure 2] FIG. 2 is a functional block diagram of the arithmetic unit. [Figure 3] FIG. 3 is a diagram schematically showing the position of the machine origin in a numerically controlled lathe. [Figure 4] FIG. 4 is a diagram schematically showing the positional relationship between the machine model origin and the program origin in the machining simulation coordinate system. [Figure 5] FIG. 5 is a diagram schematically showing the positional relationship between the machine model origin and the program origin in the machining simulation coordinate system. [Figure 6] FIG. 6 is a diagram schematically showing a state in which a simulation image is displayed on a display device. [Figure 7] FIG. 7 is a diagram schematically showing a state in which a simulation image is displayed on a display device. [Figure 8] FIG. 8 is a schematic perspective view illustrating the numerically controlled lathe according to the first embodiment. [Figure 9] FIG. 9 is a block diagram showing an example of the hardware configuration of a control unit of a numerically controlled lathe. [Figure 10] FIG. 10 is a diagram schematically showing the positional relationship between the machine origin and the machining program origin in the machining program coordinate system. [Figure 11] FIG. 11 is a block diagram showing an example of the hardware configuration of a control unit of a numerically controlled lathe. [Figure 12] FIG. 12 is a diagram schematically showing how the offset amount is displayed on the display device. [Figure 13] FIG. 13 is a diagram schematically showing a state in which a setting window for a nail model is displayed on a display device. [Figure 14] FIG. 14 is a diagram schematically showing a workpiece model setting window displayed on the display device. [Figure 15]FIG. 15 is a diagram schematically showing a workpiece model creation window displayed on the display device. [Figure 16] FIG. 16 is a diagram schematically showing a state in which a setting window for a chuck model is displayed on the display device. [Figure 17] FIG. 17 is a diagram schematically showing an assembly model in which a chuck model, a jaw model, and a workpiece model are combined and displayed on a display device. [Figure 18] FIG. 18 is a diagram schematically showing the positional relationship between the machine model origin and the program origin in the machining simulation coordinate system. [Figure 19] FIG. 19 is a diagram schematically showing the positional relationship between the machine model origin and the program origin in the machining simulation coordinate system. [Figure 20] FIG. 20 is a diagram schematically showing how the second offset amount is displayed on the second display device. [Figure 21] FIG. 21 is a diagram schematically showing how first default data specifying the shape of the nail is displayed in an editable format on the second display device. [Figure 22] FIG. 22 is a diagram schematically illustrating a state in which a message recommending execution of the machining simulation again is displayed on the second display device. [Figure 23] FIG. 23 is a diagram schematically showing how second default data specifying the shape of the workpiece is displayed in an editable format on the second display device. [Figure 24] FIG. 24 is a diagram schematically illustrating a state in which a message recommending that the processing simulation be executed again is displayed on the second display device. [Figure 25] FIG. 25 is a diagram schematically showing a machine tool system according to the first embodiment. [Figure 26] FIG. 26 is a flowchart showing an example of a processing simulation method according to the first embodiment. [Figure 27]FIG. 27 is a flowchart showing an example of a workpiece machining method according to the first embodiment. [Figure 28] FIG. 28 is a diagram schematically illustrating an example of a nonvolatile storage medium on which a program is recorded. DETAILED DESCRIPTION OF THE INVENTION

[0013] Hereinafter, a machining simulation device 1, a numerically controlled lathe 8, a machine tool system 100, a machining simulation method, a workpiece machining method, and a program (more specifically, a calculation program 41) according to an embodiment will be described with reference to the drawings. In the following description of the embodiment, parts and members having the same functions are denoted by the same reference numerals, and repeated description of parts and members denoted by the same reference numerals will be omitted.

[0014] (First embodiment) A machining simulation device 1A, a numerically controlled lathe 8A, and a machine tool system 100A according to a first embodiment will be described with reference to FIGS. 1 to 25. FIG. 1 is a block diagram showing an example of the hardware configuration of the machining simulation device 1A according to the first embodiment. FIG. 2 is a functional block diagram of a calculation device 2. FIG. 3 is a diagram schematically showing the position of a machine origin G0 in a numerically controlled lathe. FIGS. 4 and 5 are diagrams schematically showing the positional relationship between a machine model origin F0 and a program origin F1 in a machining simulation coordinate system. FIGS. 6 and 7 are diagrams schematically showing a state in which a simulation image 50A is displayed on a display device 5. FIG. 8 is a schematic perspective view showing a numerically controlled lathe 8A according to the first embodiment. FIG. 9 is a block diagram showing an example of the hardware configuration of a control unit 80 of the numerically controlled lathe 8A. FIG. 10 is a diagram schematically showing the positional relationship between a machine origin G0 and a machining program origin G1 in a machining program coordinate system. FIG. 11 is a block diagram showing an example of the hardware configuration of the control unit 80 of the numerically controlled lathe 8A. FIG. 12 is a diagram schematically showing an offset amount T1 displayed on the display device 5. FIG. 13 is a diagram schematically showing a setting window 50B for the jaw model 94m displayed on the display device 5. FIG. 14 is a diagram schematically showing a setting window 50C for the workpiece model 95m displayed on the display device 5. FIG. 15 is a diagram schematically showing a workpiece model creation window 50D displayed on the display device 5. FIG. 16 is a diagram schematically showing a setting window 50E for the chuck model 93m displayed on the display device 5. FIG. 17 is a diagram schematically showing an assembly model 92m, which is a combination of the chuck model 93m, the jaw model 94m, and the workpiece model 95m, displayed on the display device 5. FIGS. 18 and 19 are diagrams schematically showing the positional relationship between the machine model origin F0 and the program origin F1 in the machining simulation coordinate system. FIG. 20 is a diagram schematically showing the second offset amount T2 displayed on the second display device 85. As shown in FIG.Fig. 21 is a diagram schematically showing how first default data DD1 specifying the shape of the claws 94 is displayed in an editable format on the second display device 85. Fig. 22 is a diagram schematically showing how a message MG1 recommending that the machining simulation be executed again is displayed on the second display device 85. Fig. 23 is a diagram schematically showing how second default data DD2 specifying the shape of the workpiece 95 is displayed in an editable format on the second display device 85. Fig. 24 is a diagram schematically showing how a message MG2 recommending that the machining simulation be executed again is displayed on the second display device 85. Fig. 25 is a diagram schematically showing the machine tool system 100A in the first embodiment.

[0015] (Processing simulation device 1A) 1, the machining simulation device 1A includes a calculation device 2 and a communication circuit 3. Additionally, the machining simulation device 1A may include a memory 4, a display device 5, and an input device 6. The input device 6 may be incorporated into the display device 5 (more specifically, the display device 5 may be a touch panel display 52 incorporating an input device 6a). Alternatively, or additionally, the machining simulation device 1A may include an input device 6b (for example, a button, a switch, a lever, a pointing device, a keyboard, etc.) provided separately from the display device 5.

[0016] The machining simulation apparatus 1A may be configured by one computer. Alternatively, a plurality of computers may cooperate to function as the machining simulation apparatus 1A. In other words, the machining simulation apparatus 1A may include one computer or may include a plurality of computers.

[0017] 1, the computing device 2, memory 4, communication circuitry 3, and display device 5 and / or input device 6 are connected to one another via a bus 10. The computing device 2 includes at least one processor 2a (e.g., at least one CPU).

[0018] The memory 4 is a storage medium readable by the arithmetic device 2. The memory 4 may be, for example, a non-volatile or volatile semiconductor memory such as a RAM, a ROM, or a flash memory, a magnetic disk, or other types of memory. The memory 4 stores an arithmetic program 41 (e.g., a three-dimensional model creation program 41a, a program origin setting program 41b, a simulation arithmetic program 41c, and a display program 41d), a machining program 42 used to machine the workpiece 95 into a desired shape (more specifically, the machining program 42 to be executed by the numerically controlled lathe 8A to machine the workpiece 95 into the desired shape), and data 43 (e.g., first dimension data 43a specifying the shape of the chuck model, second dimension data 43b specifying the shape of the jaw model, third dimension data 43c specifying the shape of the workpiece model, and position data 43e of the machine model origin).

[0019] The memory 4 may be distributed across multiple locations. For example, a memory that stores the processing program 42 may be provided separately from a memory that stores the calculation program 41 or the data 43.

[0020] A part of the memory 4 may be located at a position remote from the communication circuit 3. In other words, when the arithmetic device 2 executes the arithmetic program 41, the memory 4 may provide at least a part of the arithmetic program 41 or a part of the data 43 to the arithmetic device 2 via the communication circuit 3. At least a part of the data 43 may be input by an operator via the input device 6, and the input data 43 may be stored in the memory 4. Alternatively, or additionally, at least a part of the data 43 may be transmitted from another computer to the machining simulation device 1A. In this case, the arithmetic device 2 stores the data 43 received via the communication circuit 3 in the memory 4.

[0021] 2, the calculation device 2 may have a three-dimensional model creation unit 21, a program origin setting unit 22, a movement path generation unit 23, an interference check unit 24, and a display image generation unit 25. More specifically, the calculation device 2 may execute a calculation program 41 stored in the memory 4, causing the calculation device 2 to function as the three-dimensional model creation unit 21, the program origin setting unit 22, the movement path generation unit 23, the interference check unit 24, and the display image generation unit 25.

[0022] As shown in FIG. 3, the machine origin G0 of the numerically controlled lathe 8A is the origin of the machine coordinate system of the numerically controlled lathe 8A. The machine origin G0 is a reference point of the numerically controlled lathe 8A that is independent of the shape of the workpiece 95. In the example shown in FIG. 3, the machine coordinate system (X, Y, Z Cartesian coordinate system) of the numerically controlled lathe 8A is set based on the machine origin G0. Note that the position of the machine origin G0 may differ for each numerically controlled lathe 8A. In other words, the position of the machine origin G0 is not limited to the position exemplified in FIG. 3.

[0023] In the example shown in Fig. 3, the jaws 94 are attached to a chuck 93 of a numerically controlled lathe 8A. The chuck 93 is attached to a spindle 91 that rotates about a first axis AX1. As shown in Fig. 4, a shape model of the jaws 94 (hereinafter referred to as a "jaw model 94m") has substantially the same shape as the jaws 94 in the machining simulation coordinate system. A shape model of the chuck 93 (hereinafter referred to as a "chuck model 93m") has substantially the same shape as the chuck 93 in the machining simulation coordinate system.

[0024] In the example shown in Fig. 3, a workpiece 95 is gripped by a plurality of jaws 94 attached to a chuck 93. As illustrated in Fig. 4, a shape model of the workpiece 95 (hereinafter referred to as a "workpiece model 95m") has substantially the same shape as the workpiece 95 in the machining simulation coordinate system.

[0025] The arithmetic device 2 (more specifically, the program origin setting unit 22) sets the position of a program origin F1, which is the origin on the machining simulation coordinate system, by executing the program origin setting program 41b. More specifically, the arithmetic device 2 sets the position of the program origin F1 (see FIG. 4), which is the origin on the machining simulation coordinate system, based on a machine model origin F0 (see FIG. 4) on the machining simulation coordinate system corresponding to the machine origin G0 (see FIG. 3) of the numerically controlled lathe 8A, the jaw model 94m, and the workpiece model 95m.

[0026] 4, the machine model origin F0 is a point on the machining simulation coordinate system that simulates the machine origin G0 of the numerically controlled lathe 8A. Note that it is preferable that the position data 43e of the machine model origin F0 is stored in advance in the memory 4.

[0027] In the example shown in FIG. 4, the distance from a preset reference plane 910m (e.g., a tip end surface 911m of the shape model 91m of the spindle 91) to the contact surface between the jaw model 94m and a base end surface 951m of the workpiece model 95m is defined as distance L1. The distance from the base end surface 951m of the workpiece model 95m to a tip end surface 952m of the workpiece model 95m is defined as distance L2. The distance from the preset reference plane 910m (e.g., the tip end surface 911m of the shape model 91m of the spindle 91) to the machine model origin F0 is defined as distance L3. The distance between the machine model origin F0 and the program origin F1 in the direction along the rotation axis AT of the chuck model 93m is defined as distance L4. The intersection of the rotation axis AT of the chuck model 93m and a first plane PL1 that passes through the machine model origin F0 and is perpendicular to the rotation axis AT is defined as intersection CP1.

[0028] The calculation device 2 can calculate the above-mentioned distance L1 using, for example, the position data of the reference surface 910m stored in the memory 4, the first dimension data 43a stored in the memory 4 for specifying the shape of the chuck model 93m, and the second dimension data 43b stored in the memory 4 for specifying the shape of the jaw model 94m. The calculation device 2 can also calculate the above-mentioned distance L2 using the third dimension data 43c stored in the memory 4 for specifying the shape of the workpiece model 95m. The calculation device 2 can also calculate the above-mentioned distance L3 using, for example, the position data of the reference surface 910m stored in the memory 4 and the position data 43e of the machine model origin F0 stored in the memory 4. Furthermore, the calculation device 2 can calculate the above-mentioned distance L4 using the formula: distance L4 = distance L3 - distance L1 - distance L2. The calculation of the distance L4 is performed using a model in which the bottom of the jaw model 94m and the base end surface 951m of the workpiece model 95m are in contact with each other.

[0029] 4, the calculation device 2 (more specifically, the program origin setting unit 22) can set the position of the program origin F1 to a position moved a distance L4 along the rotation axis AT from the intersection CP1 toward the tip surface 952m of the workpiece model 95m based on the machine model origin F0, the jaw model 94m, and the workpiece model 95m. In this way, the calculation device 2 can accurately set the position of the program origin F1 to a predetermined position of the workpiece model (for example, the intersection CP2 of the rotation axis AT and the tip surface 952m of the workpiece model) regardless of the variety of shapes of the jaw model and the variety of shapes of the workpiece model.

[0030] Additionally, as illustrated in Fig. 3, when a reference point G2 (e.g., a reference workpiece origin) whose position is fixed relative to the machine origin G0 is set, a reference point F2 (e.g., a reference workpiece model origin) whose position is fixed relative to the machine model origin F0 may be set in the machining simulation coordinate system (see Fig. 5). In addition, the position data of the reference point F2 may be stored in the memory 4. The reference point F2 (see Fig. 5) is a point in the machining simulation coordinate system that corresponds to the above-mentioned reference point G2 (see Fig. 3).

[0031] 5, the distance between the reference point F2 and the machine model origin F0 in the direction along the rotation axis AT is defined as distance L5. The distance between the reference point F2 and the program origin F1 in the direction along the rotation axis AT is defined as distance L6. Furthermore, the intersection of the rotation axis AT and a second plane PL2 that passes through the reference point F2 and is perpendicular to the rotation axis AT is defined as intersection CP3.

[0032] The calculation device 2 can calculate the above-mentioned distance L5 using the position data of the reference point F2 and the position data 43e of the machine model origin F0 stored in the memory 4. The calculation device 2 can also calculate the above-mentioned distance L6 using the calculation formula: distance L6 = distance L3 - distance L1 - distance L2 - distance L5. Note that the calculation of the distance L6 is performed using a model in which the bottom of the claw model 94m and the base end surface 951m of the workpiece model 95m are in contact with each other.

[0033] 5, the calculation device 2 (more specifically, the program origin setting unit 22) can set the position of the program origin F1 to a position moved a distance L6 along the rotation axis AT from the intersection CP3 toward the tip surface 952m of the workpiece model 95m based on the machine model origin F0, the jaw model 94m, and the workpiece model 95m. In this way, the calculation device 2 can accurately set the position of the program origin F1 to a predetermined position of the workpiece model (for example, the intersection CP2 of the rotation axis AT and the tip surface 952m of the workpiece model) regardless of the variety of shapes of the jaw model and the variety of shapes of the workpiece model.

[0034] In the example shown in FIG. 4 or 5, the arithmetic device 2 sets a machining simulation coordinate system (for example, an x, y, z Cartesian coordinate system) with the program origin F1 as the reference.

[0035] In the example shown in FIG. 6, the arithmetic device 2 executes the machining program 42 using the program origin F1 as a reference position, thereby performing a machining simulation for virtually machining a workpiece model 95m, which is a shape model of the workpiece 95. In this specification, the execution of the machining program 42 by the arithmetic device 2 includes the arithmetic device 2 executing the machining program 42 via the arithmetic program 41 (more specifically, the simulation arithmetic program 41c). In other words, the arithmetic device 2 may execute the arithmetic program 41, thereby processing (in other words, interpreting) the machining program 42. Furthermore, the arithmetic device 2 may perform a machining simulation for virtually machining the workpiece model 95m based on the processing (in other words, based on the interpretation).

[0036] The calculation device 2 may execute the machining program 42 via the simulation calculation program 41c stored in the memory 4, and may also execute the display program 41d stored in the memory 4 to display the simulation image 50A on the display device 5. Note that the display program 41d may be a program separate from the simulation calculation program 41c, or may be a program incorporated into the simulation calculation program 41c.

[0037] 8 , the numerically controlled lathe 8A includes a plurality of jaws 94 that grip a workpiece 95, a chuck 93 that supports the plurality of jaws 94, a spindle 91 that supports the chuck 93 and rotates about a first axis AX1, a tool rest 96, a first tool holding unit 97 held by the tool rest 96, and a first tool 98 held by the first tool holding unit 97. The numerically controlled lathe 8A may also include another tool holding unit 97-2 held by the tool rest 96 and another tool 98-2 held by the other tool holding unit 97-2. The numerically controlled lathe 8A may also include a tailstock that presses against the tip surface of the workpiece 95.

[0038] 6, simulation image 50A includes at least an image of a workpiece model 95m corresponding to workpiece 95, an image of a plurality of jaw models 94m corresponding to the plurality of jaws 94, an image of a tool rest model 96m corresponding to tool rest 96, an image of a first tool holding unit model 97m corresponding to a first tool holding unit 97, and an image of a first tool model 98m corresponding to a first tool 98. Simulation image 50A may also include an image of another tool holding unit model 97m-2 corresponding to another tool holding unit 97-2, and an image of another tool model 98m-2 corresponding to another tool 98-2. Additionally, as illustrated in FIG. 7, simulation image 50A may also include an image of a tailstock model 99m corresponding to a tailstock.

[0039] The calculation device 2 (more specifically, the movement path generating unit 23) executes the machining program 42 via the simulation calculation program 41c stored in the memory 4, thereby generating movement path data of the first tool model 98m in a machining simulation coordinate system with the program origin F1 as a reference. The calculation device 2 may execute the simulation calculation program 41c and the display program 41d stored in the memory 4 to display, as a simulation image 50A on the display device 5, a moving image in which the first tool model 98m and multiple models (96m, 97m, 97m-2, 98m-2) moving together with the first tool model 98m move relative to the workpiece model 95m along a path specified by the movement path data. In the moving image, the workpiece model 95m is machined in a simulated manner by the first tool model 98m.

[0040] Furthermore, the calculation device 2 (more specifically, the interference check unit 24) executes the simulation calculation program 41c stored in the memory 4 to check whether or not there is abnormal interference between the first tool model 98m, which moves along the path specified by the above-mentioned movement path data, and the plurality of models that move together with the first tool model 98m, and the other plurality of models (for example, the workpiece model 95m, the tailstock model 99m, etc.). In this specification, "abnormal interference" means interference between models that should not interfere with each other. For example, "abnormal interference" includes (1) interference between the first tool holding unit model 97m attached to the tool post model 96m and the workpiece model 95m, (2) interference between a tool holding unit model 97m-2 other than the first tool holding unit model 97m attached to the tool post model 96m, or a tool model 98m-2 other than the first tool model 98m, and the workpiece model 95m, (3) interference between the tailstock model 99m and the first tool model 98m moving along the path specified by the above-mentioned movement path data, or multiple models moving together with the first tool model 98m, and the first tool model 98m, etc.

[0041] The communication circuit 3 transmits data 43f indicating the position of the above-mentioned program origin F1 (see FIG. 4 or 5) set by the arithmetic unit 2 to the numerically controlled lathe 8A (see FIG. 8).

[0042] In the machining simulation device 1A according to the first embodiment, the position of the program origin F1, which is the origin on the machining simulation coordinate system, is set based on the machine model origin F0, the jaw model 94m, and the workpiece model 95m. In this case, regardless of the diversity of the jaw model shape and the diversity of the workpiece model shape, the position of the program origin F1 (see FIG. 4 or FIG. 5) relative to the machine model origin F0 can be accurately set on the machining simulation coordinate system. Therefore, a more accurate machining simulation can be performed based on the program origin F1 (see FIG. 6 or FIG. 7). By performing a highly accurate machining simulation, it is possible to omit or simplify interference checks performed using the numerically controlled lathe 8A. By omitting or simplifying interference checks at the machining site, it is possible to improve the availability of the numerically controlled lathe 8A. Furthermore, the workload of operators at the machining site is reduced.

[0043] Furthermore, in the machining simulation device 1A according to the first embodiment, the program origin F1 on the machining simulation coordinate system is accurately set, and data 43f indicating the position of the accurately set program origin F1 is transmitted to the numerically controlled lathe 8A. In this case, the numerically controlled lathe 8A can set the machining program origin using the program origin F1 on the machining simulation coordinate system. Therefore, the work of actually measuring the reference position of the workpiece 95 to set the machining program origin is not necessary, or the work can be simplified. Furthermore, the reduction in setup work performed at the machining site can further improve the availability of the numerically controlled lathe 8A. Furthermore, the workload of the operator at the machining site is further reduced. Furthermore, the reduction in energy consumption associated with setup work also reduces the burden on the environment.

[0044] While the numerically controlled lathe 8A must be installed at the machining site, the machining simulation device 1A can be installed at the machining site, in an office, or at the operator's home. When the machining simulation device 1A is installed outside the machining site, the operator's working environment is improved.

[0045] In addition, a part of the setup work is digitized, and DX (Digital Transformation) is promoted. In other words, by using the machining simulation device 1A in the first embodiment, DX for improving the workflow is promoted.

[0046] (Numerically controlled lathe 8A) Next, the numerically controlled lathe 8A in the first embodiment will be described.

[0047] In the example shown in FIG. 8 , the numerically controlled lathe 8A includes a control unit 80, a chuck 93, a jaw 94, a spindle 91, a rotary drive device 90, and a moving device 87 that moves a tool. The numerically controlled lathe 8A may also include a tool rest 96 (e.g., a turret 96t) to which a tool holding unit that holds a tool is attached. The numerically controlled lathe 8A may also include a second rotary drive device 88 that rotates the turret 96t about a second axis AX2. Furthermore, the numerically controlled lathe 8A (more specifically, the tool rest 96) may also include a third rotary drive device that rotates the tool about the tool axis.

[0048] The chuck 93 supports the claws 94. The chuck 93 can move the claws 94 in a direction toward the rotation axis AX of the chuck 93 and can move the claws 94 in a direction away from the rotation axis AX.

[0049] A plurality of jaws 94 are attached to the chuck 93 and grip a workpiece 95 .

[0050] The spindle 91 supports the chuck 93. The spindle 91 is rotated around the first axis AX1 by the driving force of the rotation driving device 90.

[0051] The rotation drive device 90 rotates the spindle 91 about a first axis AX1. The first axis AX1 is coaxial with the rotation axis AX of the chuck 93. When the rotation drive device 90 rotates the spindle 91 about the first axis AX1, the spindle 91, the chuck 93, the multiple jaws 94, and the workpiece 95 rotate integrally about the first axis AX1.

[0052] The moving device 87 moves a first tool 98 that machines a workpiece 95. The moving device 87 moves the first tool 98, a first tool holding unit 97 that holds the first tool 98, and a tool rest 96 (e.g., a turret 96t) that supports the first tool holding unit 97 one-dimensionally, two-dimensionally, or three-dimensionally.

[0053] 8, the moving device 87 may include a first moving device 87a that moves the tool post 96 (e.g., turret 96t) in a direction perpendicular to the first axis AX1 and parallel to the horizontal plane (in other words, the Y-axis direction). Additionally, the moving device 87 may include a second moving device 87b that moves the tool post 96 (e.g., turret 96t) in a direction parallel to the first axis AX1 (in other words, the Z-axis direction). The moving device 87 may also include a third moving device 87c that changes the height of the tool post 96 (e.g., turret 96t).

[0054] The control unit 80 controls the control target devices. More specifically, the control unit 80 controls each of the control target devices (e.g., the rotation drive device 90, the movement device 87, the second rotation drive device 88, etc.) by transmitting a control command to each of the control target devices. The control unit 80 may be distributed and arranged in multiple locations. In other words, the control unit may be divided into multiple sub-units that can communicate with each other.

[0055] In the example shown in FIG. 9 , the numerically controlled lathe 8A (more specifically, the control unit 80) has a second arithmetic unit 82, a second communication circuit 83, a second memory 84, and a second display device 85. Additionally, the numerically controlled lathe 8A (more specifically, the control unit 80) may have a second input device 86. The second input device 86 may be incorporated into the second display device 85 (more specifically, the second display device 85 may be a touch panel display 852 incorporating the second input device 86). Alternatively, or additionally, the numerically controlled lathe 8A may have a second input device (e.g., a button, a switch, a lever, a pointing device, a keyboard, etc.) provided separately from the second display device.

[0056] 9, a second computing device 82, a second communication circuit 83, a second memory 84, a second display device 85, and / or a second input device 86 are connected to one another via a bus 81. The second computing device 82 includes at least one processor 82a (e.g., at least one CPU).

[0057] The second communication circuit 83 receives data 43f indicating the position of the program origin F1 from the machining simulation device 1A. The second memory 84 stores the data 43f indicating the position of the program origin F1 received by the second communication circuit 83. The machining simulation device 1A and the program origin F1 have already been explained in the explanation of the machining simulation device 1A in the first embodiment, so repeated explanation of the machining simulation device 1A and the program origin F1 will be omitted.

[0058] The second memory 84 is a storage medium readable by the second arithmetic device 82. The second memory 84 may be, for example, a non-volatile or volatile semiconductor memory such as RAM, ROM, or flash memory, or may be a magnetic disk or other type of memory. The second memory 84 stores an arithmetic program 841, a machining program 42, and data 843 (for example, position data of the machine origin G0, dimensional data specifying the shape of the workpiece 95, etc.).

[0059] 9, the second memory 84 stores a processing calculation program 841a and a second display program 841b. The second memory 84 may be distributed across multiple locations. For example, a memory that stores the processing program 842 may be provided separately from a memory that stores the calculation program 841 or the data 843.

[0060] The second arithmetic device 82 sets the position of the machining program origin G1 in the machining program coordinate system based on the position of the program origin F1 (see FIG. 10). It is preferable that the second arithmetic device 82 sets the position of the machining program origin G1 so that the relative position of the machining program origin G1 with respect to the machine origin G0 in the machining program coordinate system (see FIG. 10) is equal to the relative position of the program origin F1 with respect to the machine model origin F0 in the machining simulation coordinate system (see FIG. 4 or FIG. 5).

[0061] The second arithmetic device 82 executes the machining program 42 stored in the second memory 84 to determine a movement path of the first tool 98 in the machining program coordinate system, with the machining program origin G1 as the reference. In this specification, the execution of the machining program 42 by the second arithmetic device 82 includes the second arithmetic device 82 executing the machining program 42 via the machining operation program 841a. In other words, the second arithmetic device 82 may process (interpret) the machining program 42 by executing the machining operation program 841a. Furthermore, the second arithmetic device 82 may determine a movement path of the first tool 98 in the machining program coordinate system, with the machining program origin G1 as the reference, based on the processing (based on the interpretation). The second arithmetic device 82 generates a movement command 87i to be transmitted to the movement device 87 based on the movement path. The movement command 87i (see FIG. 11 ) generated by the second arithmetic device 82 is transmitted to the movement device 87. Furthermore, the second arithmetic device 82 generates a rotation command 90i by executing the machining program 42 (for example, by executing the machining program 42 via the machining calculation program 841a). The rotation command 90i (see FIG. 11) generated by the second arithmetic device 82 is transmitted to the rotation drive device 90.

[0062] The rotation drive device 90, which receives the rotation command 90i, rotates the spindle 91, the chuck 93, the multiple jaws 94, and the workpiece 95 together around the first axis AX1. In addition, the movement device 87, which receives the movement command 87i, moves the first tool 98 along the movement path described above.

[0063] The numerically controlled lathe 8A in the first embodiment receives data (for example, data 43f indicating the position of the program origin F1) from a machining simulation device 1A that executes a high-precision machining simulation. By performing a high-precision machining simulation in advance, it is possible to omit or simplify the interference check performed using the numerically controlled lathe 8A. By omitting or simplifying the interference check at the machining site, it is possible to improve the availability of the numerically controlled lathe 8A. In addition, the workload of the operator at the machining site is reduced.

[0064] Furthermore, in the numerically controlled lathe 8A in the first embodiment, a machining program origin G1 is set in the machining program coordinate system based on the position of the program origin F1 accurately set by the machining simulation device 1A (see FIG. 10). Therefore, the work of actually measuring the reference position of the workpiece 95 to set the machining program origin is not necessary, or the work can be simplified. Furthermore, by reducing the amount of setup work performed at the machining site, the availability rate of the numerically controlled lathe 8A can be further improved. Furthermore, the workload of the operator at the machining site is further reduced. Furthermore, by reducing the energy consumption associated with the setup work, the burden on the environment is also reduced.

[0065] (Machine Tool System 100A) Next, the machine tool system 100A in the first embodiment will be described.

[0066] As illustrated in Fig. 25, a machine tool system 100A in the first embodiment includes a machining simulation device 1A and a numerically controlled lathe 8A. The machining simulation device 1A and the numerically controlled lathe 8A are preferably connected to each other so as to be able to communicate with each other via a network 101. The network 101 may be an in-house network or may include an external network (for example, the Internet). The machining simulation device 1A and the numerically controlled lathe 8A have already been explained, so repeated explanations of the machining simulation device 1A and the numerically controlled lathe 8A will be omitted.

[0067] (Optional configuration) Next, optional additional configurations that can be employed in the machining simulation device 1A, the numerically controlled lathe 8A, or the machine tool system 100A in the first embodiment will be described with reference to FIGS.

[0068] (Display of offset amount T1) The calculation device 2 (more specifically, the program origin setting unit 22) may calculate an offset amount T1 that indicates the relative position of the program origin F1.

[0069] 5, the offset amount T1 is the offset amount of the program origin F1 in the machining simulation coordinate system relative to a reference point F2 (e.g., a reference workpiece model origin) whose position is fixed relative to the machine model origin F0 in the machining simulation coordinate system. The offset amount T1 is the offset amount in the z-axis direction (in other words, the direction along the rotation axis AT of the chuck model 93m) (i.e., the z-offset amount).

[0070] 4, the offset amount T1 may be an offset amount of the program origin F1 in the machining simulation coordinate system relative to the machine model origin F0 in the machining simulation coordinate system. Note that the offset amount T1 is an offset amount in the z-axis direction (in other words, a direction along the rotation axis AT of the chuck model 93m) (i.e., a z-offset amount).

[0071] 12, the arithmetic unit 2 executes the display program 41d stored in the memory 4 to cause the display device 5 to display the above-mentioned offset amount T1. By displaying the offset amount T1 on the display device 5, the operator can numerically confirm the relative position of the program origin F1.

[0072] The arithmetic unit 2 (more specifically, the display image generating unit 25) may execute the display program 41d stored in the memory 4 to cause the display device 5 to display the offset amount T1 in a format that can be edited by the operator. In this case, the operator can use the input device 6 to correct the position of the program origin F1 automatically set by the arithmetic unit 2.

[0073] 12, the calculation device 2 may execute the display program 41d to simultaneously display the above-mentioned offset amount T1, the claw model 94m, the workpiece model 95m, and an image IM indicating the program origin F1 on the display device 5. In this case, the operator can easily grasp the offset amount T1, the arrangement of the claw model 94m and the workpiece model 95m, and the position of the program origin F1.

[0074] 12, the arithmetic device 2 executes the three-dimensional model creation program 41a and the display program 41d stored in the memory 4, thereby causing the display device 5 to display, in a three-dimensional display format, an assembly model 92m obtained by combining a chuck model 93m, a jaw model 94m, and a workpiece model 95m. In this case, the operator can easily intuitively grasp the original data used to derive the program origin F1 (or the offset amount T1).

[0075] The machining simulation device 1A may transmit data indicating the above-mentioned offset amount T1 to the numerically controlled lathe 8A as data 43f indicating the position of the above-mentioned program origin F1.

[0076] (Setting of nail model 94m) 13, the calculation device 2 (more specifically, the display image generation unit 25) executes the calculation program 41 (more specifically, the display program 41d) stored in the memory 4 to cause the display device 5 to display a setting window 50B for the nail model 94m. Note that if the nail model 94m used last time is to be used as is, setting of the nail model 94m may be omitted.

[0077] In the setting window 50B, a specific nail model (hereinafter referred to as a specific nail model 94m-s) is selected via the input device 6 from among a plurality of nail models 94m whose shapes have already been set, and the selected specific nail model 94m-s may be determined as the nail model 94m to be used in setting the position of the program origin F1 described above.

[0078] Alternatively, or additionally, the calculation device 2 may execute the display program 41d stored in the memory 4 to cause the display device 5 to display the second dimension data 43b specifying the shape of the nail model 94m in a format that can be edited by an operator. The display device 5 may display an input field 501 into which the value of the second dimension data 43b is input in the setting window 50B. Furthermore, the calculation device 2 may execute the calculation program 41 (more specifically, the three-dimensional model creation program 41a and the display program 41d) stored in the memory 4 to simultaneously display the nail model 94m in a three-dimensional display format, the dimension line S2 added to the nail model 94m in the three-dimensional display format, and the input field 501 into which the length of the dimension line S2 is input, on the display device 5. In addition, the calculation device 2 may automatically change the shape of the nail model 94m in a three-dimensional display format and the length of the dimension line S2 based on the value entered in the input field 501, and automatically display the changed nail model 94m and the changed dimension line S2 on the display device 5.

[0079] 13, the arithmetic unit 2 determines second dimensional data 43b specifying the shape of the nail model 94m in response to data for setting the nail model 94m being input via the input device 6, and stores the determined second dimensional data 43b in the memory 4. Alternatively, the arithmetic unit 2 may acquire dimensional data of the nail model created using software such as CAD software via the communication circuit 3 or the like, convert the dimensional data into a format compatible with the three-dimensional model creation program 41a or the like, and store the converted dimensional data in the memory 4 as the second dimensional data 43b specifying the shape of the nail model 94m.

[0080] (Work model 95m setting) In the example shown in FIG. 14 , the arithmetic device 2 (more specifically, the display image generating unit 25) executes the arithmetic program 41 (more specifically, the display program 41d) stored in the memory 4 to display a setting window 50C for the workpiece model 95m on the display device 5. In the example shown in FIG. 14 , the arithmetic device 2 analyzes the machining program 42 to extract a workpiece model (hereinafter referred to as a "designated workpiece model") designated in the machining program 42. The arithmetic device 2 also executes the display program 41d stored in the memory 4 to display the designated workpiece model on the display device 5 as a default model for the workpiece model 95m used to set the position of the program origin F1 described above. The display device 5 may display dimension data DT1 that specifies the shape of the default model in a format that can be edited by an operator. For example, the display device 5 may display an input field 502 in the setting window 50C for changing the value of the dimension data DT1. When the change value for the dimension data DT1 is entered in the input field 502, the workpiece model 95m reflecting the change value is set. On the other hand, if no change value for the dimension data DT1 is entered in the input field 502, the default model is set as the workpiece model 95m as is.

[0081] Alternatively, or additionally, as illustrated in FIG. 15 , the calculation device 2 (more specifically, the display image generating unit 25) may execute the calculation program 41 (more specifically, the display program 41d) stored in the memory 4 to display a workpiece model creation window 50D on the display device 5. In the example illustrated in FIG. 15 , the calculation device 2 executes the display program 41d stored in the memory 4 to display third dimension data 43c that specifies the shape of the workpiece model 95m in a format that can be edited by the operator. The display device 5 may display an input field 503 in which the value of the third dimension data 43c is entered within the workpiece model creation window 50D. Furthermore, the calculation device 2 may execute the calculation program 41 (more specifically, the three-dimensional model creation program 41a and the display program 41d) stored in the memory 4 to simultaneously display on the display device 5 the workpiece model 95m in a three-dimensional display format, the dimension line S3 added to the workpiece model 95m in the three-dimensional display format, and the input field 503 in which the length of the dimension line S3 is entered. In addition, the calculation device 2 may automatically change the shape of the work model 95m in three-dimensional display format and the length of the dimension line S3 based on the value entered in the input field 503, and automatically display the changed work model 95m and the changed dimension line S3 on the display device 5.

[0082] 15, in response to data for setting the workpiece model 95m being input via the input device 6, the calculation device 2 determines third dimension data 43c that specifies the shape of the workpiece model 95m, and stores the determined third dimension data 43c in the memory 4. Alternatively, the calculation device 2 may acquire dimension data of the workpiece model created using software such as CAD software via the communication circuit 3 or the like, convert the dimension data into a format compatible with the three-dimensional model creation program 41a or the like, and store the converted dimension data in the memory 4 as the third dimension data 43c that specifies the shape of the workpiece model 95m.

[0083] (Chuck model 93m setting) 16, the calculation device 2 (more specifically, the display image generation unit 25) executes the calculation program 41 (more specifically, the display program 41d) stored in the memory 4 to display a setting window 50E for the chuck model 93m on the display device 5. Note that if the chuck model 93m used last time is used as is, setting of the chuck model 93m may be omitted.

[0084] 16, the arithmetic device 2 executes the display program 41d stored in the memory 4 to cause the display device 5 to display the first dimension data 43a specifying the shape of the chuck model 93m in a format that can be edited by the operator. The display device 5 may display an input field 504 into which the value of the first dimension data 43a is input in the setting window 50E. Furthermore, the arithmetic device 2 may execute the arithmetic program 41 (more specifically, the three-dimensional model creation program 41a and the display program 41d) stored in the memory 4 to simultaneously display the chuck model 93m in a three-dimensional display format, the dimension line S1 added to the chuck model 93m in the three-dimensional display format, and the input field 504 into which the length of the dimension line S1 is input, on the display device 5. In addition, the calculation device 2 may automatically change the shape of the chuck model 93m in three-dimensional display format and the length of the dimension line S1 based on the value entered in the input field 504, and automatically display the changed chuck model 93m and the changed dimension line S1 on the display device 5.

[0085] 16 , the arithmetic device 2 determines first dimension data 43a specifying the shape of the chuck model 93m in response to data for setting the chuck model 93m being input via the input device 6, and stores the determined first dimension data 43a in the memory 4. Alternatively, the arithmetic device 2 may acquire, via the communication circuit 3 or the like, dimension data of the chuck model created using software such as CAD software, convert the dimension data into a format compatible with the three-dimensional model creation program 41a or the like, and store the converted dimension data in the memory 4 as the first dimension data 43a specifying the shape of the chuck model 93m.

[0086] 17, the calculation device 2 (more specifically, the three-dimensional model creation unit 21) executes the calculation program 41 (more specifically, the three-dimensional model creation program 41a) stored in the memory 4 to create an assembly model 92m in which the chuck model 93m, the jaw model 94m, and the workpiece model 95m are combined, based on the set chuck model 93m, the set jaw model 94m, and the set workpiece model 95m. Furthermore, the calculation device 2 (more specifically, the display image generation unit 25) executes the calculation program 41 (more specifically, the display program 41d) stored in the memory 4 to display the created assembly model 92m on the display device 5.

[0087] 16, the shape of the chuck model 93m can be changed. In this case, in setting the position of the program origin F1, the dimensional data of the chuck model 93m is used in addition to the dimensional data of the jaw model 94m and the dimensional data of the workpiece model 95m.

[0088] In the example shown in FIG. 18, the calculation device 2 (more specifically, the program origin setting unit 22) sets the position of the program origin F1, which is the origin on the machining simulation coordinate system, based on the machine model origin F0 on the machining simulation coordinate system corresponding to the machine origin G0 (see FIG. 3) of the numerically controlled lathe 8A and the assembly model 92m (more specifically, the jaw model 94m, the workpiece model 95m, and the chuck model 93m).

[0089] 4, in addition to the definitions of "distance L2," "distance L3," and "distance L4," in the example shown in Fig. 18, the distance from a preset reference plane 910m (for example, a tip surface 911m of a shape model 91m of the spindle 91) to a tip surface 931m of a chuck model 93m is defined as distance L7. Also, the distance from the tip surface 931m of the chuck model 93m to the contact surface between the jaw model 94m and the base end surface 951m of the workpiece model 95m is defined as distance L8.

[0090] The calculation device 2 can calculate the above-mentioned distance L7 and distance L8 using, for example, position data of the reference surface 910m stored in the memory 4, first dimension data 43a that specifies the shape of the chuck model 93m stored in the memory 4, and second dimension data 43b that specifies the shape of the jaw model 94m stored in the memory 4. Because the calculation methods for "distance L2" and "distance L3" have already been explained, repeated explanations of the calculation methods for these distances will be omitted. The calculation device 2 can also calculate the above-mentioned distance L4 using the formula: distance L4 = distance L3 - distance L7 - distance L8 - distance L2. Note that the calculation of distance L4 is performed using a model in which the bottom of the jaw model 94m and the base end surface 951m of the workpiece model 95m are in contact with each other.

[0091] 18, the calculation device 2 (program origin setting unit 22) sets the position of the program origin F1 to a position moved a distance L4 from the above-mentioned intersection CP1 toward the tip surface 952m of the workpiece model 95m along the rotation axis AT of the chuck model 93m. In this way, the calculation device 2 can accurately set the position of the program origin F1 to a predetermined position of the workpiece model (for example, the above-mentioned intersection CP2 of the rotation axis AT and the tip surface 952m of the workpiece model) regardless of the variety of shapes of the jaw models, the variety of shapes of the workpiece model, and the variety of shapes of the chuck model.

[0092] Additionally, as illustrated in Fig. 3, when a reference point G2 (e.g., a reference workpiece origin) whose position is fixed relative to the machine origin G0 is set, a reference point F2 (e.g., a reference workpiece model origin) whose position is fixed relative to the machine model origin F0 may be set in the machining simulation coordinate system (see Fig. 19). In addition, the position data of the reference point F2 may be stored in the memory 4. The reference point F2 (see Fig. 19) is a point in the machining simulation coordinate system that corresponds to the above-mentioned reference point G2 (see Fig. 3).

[0093] 19, the calculation device 2 (more specifically, the program origin setting unit 22) can calculate the above-mentioned distance L6 using the calculation formula: distance L6 = distance L3 - distance L7 - distance L8 - distance L2 - distance L5. Note that the calculation methods for "distance L2," "distance L3," "distance L5," "distance L7," and "distance L8" have already been explained, so repeated explanations of the calculation methods for these distances will be omitted.

[0094] 19, the calculation device 2 (more specifically, the program origin setting unit 22) can set the position of the program origin F1 to a position moved a distance L6 along the rotation axis AT of the chuck model 93m from the above-mentioned intersection CP3 toward the tip surface 952m of the workpiece model 95m. In this way, the calculation device 2 can accurately set the position of the program origin F1 to a predetermined position of the workpiece model (for example, the above-mentioned intersection CP2 of the rotation axis AT and the tip surface 952m of the workpiece model) regardless of the variety of shapes of the jaw models, the variety of shapes of the workpiece model, and the variety of shapes of the chuck model.

[0095] The arithmetic unit 2 sets the position of the above-mentioned program origin F1 based on the machine model origin F0, the jaw model 94m, the workpiece model 95m, and the chuck model 93m. After the position of the program origin F1 is set, the arithmetic unit 2 (more specifically, the movement path generating unit 23 and the interference checking unit 24) performs a machining simulation to virtually machine the workpiece model 95m using the program origin F1 as a reference position. The operations and displays in the machining simulation have already been explained, so repeated explanations of these operations and displays will be omitted.

[0096] (Machining program origin G1) 9, the second communication circuit 83 of the numerically controlled lathe 8A receives data 43f indicating the position of the program origin F1 (for example, data 430f indicating the offset amount T1 of the program origin F1) from the machining simulation device 1A. Furthermore, the second memory 84 stores the data 43f indicating the position of the program origin F1 (for example, data 430f indicating the offset amount T1 of the program origin F1) received by the second communication circuit 83.

[0097] In the example shown in FIG. 20, the second calculation device 82 executes the second display program 841b stored in the second memory 84, thereby causing the second display device 85 to display the offset amount T1 of the program origin F1 (in other words, the offset amount T1 of the program origin F1 relative to the machine model origin F0 or a reference point F2 whose position is fixed relative to the machine model origin F0).

[0098] The offset amount T1 described above functions as a default value for the offset amount (hereinafter referred to as the "second offset amount T2") of the machining program origin G1 relative to the machine origin G0 or a reference point G2 (see FIG. 3) whose position is fixed relative to the machine origin G0. An example of the second offset amount T2 is schematically shown in FIG. 10. The second offset amount T2 is an offset amount (i.e., a Z offset amount) in the Z-axis direction (in other words, a direction along the rotation axis AX of the chuck 93).

[0099] The offset amount T1 set in the machining simulation device 1A functions as a default value for the second offset amount T2 set in the numerically controlled lathe 8A, so that the setting work of the second offset amount T2 in the numerically controlled lathe 8A is omitted or the setting work is simplified (for example, the second offset amount T2 can be set without actually measuring the reference position of the workpiece 95).

[0100] 20 , the second arithmetic device 82 may execute a display program 41d stored in the memory 4 to cause the second display device 85 to display the above-mentioned offset amount T1 (in other words, the default value DD of the second offset amount) in a format that can be edited by an operator. The second display device 85 may display an input field 853 for changing the default value DD of the second offset amount T2 to another value. By inputting a numerical value into the input field 853 and operating a change operation unit 858a (more specifically, a change operation image displayed on the display device 5), the second offset amount T2 is changed from the default value DD to the numerical value input into the input field 853.

[0101] The second arithmetic device 82 sets the position of the machining program origin G1 based on the second offset amount T2 and the machine origin G0 or a reference point G2 whose position is fixed relative to the machine origin G0 (see FIG. 10). The second arithmetic device 82 also determines a movement path of the first tool 98 in the machining program coordinate system, with the machining program origin G1 as a reference, by executing the machining program 42 stored in the second memory 84 (for example, by executing the machining program 42 via the machining operation program 841a). The second arithmetic device 82 also generates a movement command 87i to be transmitted to the movement device 87 based on the movement path. The movement command 87i (see FIG. 11) generated by the second arithmetic device 82 is transmitted to the movement device 87. The second arithmetic device 82 also generates a rotation command 90i by executing the machining program 42 (for example, by executing the machining program 42 via the machining operation program 841a). The rotation command 90i (see FIG. 11) generated by the second arithmetic device 82 is transmitted to the rotation drive device 90. In this manner, the first tool 98 moves along the movement path, and the workpiece 95 is machined by the first tool 98.

[0102] (Using jaw model 94m and work model 95m) The second communication circuit 83 of the numerically controlled lathe 8A may receive the second dimension data 43b specifying the shape of the jaw model 94m and the third dimension data 43c specifying the shape of the workpiece model 95m from the machining simulation device 1A. Additionally, the second communication circuit 83 may receive the first dimension data 43a specifying the shape of the chuck model 93m from the machining simulation device 1A.

[0103] 9, the second memory 84 may store the second dimension data 43b, which is received via the second communication circuit 83 and specifies the shape of the jaw model 94m, as default data for the fifth dimension data 843b, which specifies the shape of the jaw 94 (hereinafter referred to as "first default data DD1"). The second memory 84 may store the third dimension data 43c, which is received via the second communication circuit 83 and specifies the shape of the workpiece model 95m, as default data for the sixth dimension data 843c, which specifies the shape of the workpiece 95 (hereinafter referred to as "second default data DD2"). The second memory 84 may also store the first dimension data 43a, which is received via the second communication circuit 83 and specifies the shape of the chuck model 93m, as default data for the fourth dimension data 843a, which specifies the shape of the chuck 93 (hereinafter referred to as "third default data DD3").

[0104] 20, the second arithmetic device 82 may execute the second display program 841b stored in the second memory 84 to cause the second display device 85 to display an assembly 92, which is a combination of a chuck 93, jaws 94, and a workpiece 95, in a three-dimensional display format based on default data (DD1, DD2, DD3). The second display device 85 may simultaneously display a three-dimensional image of the assembly 92 and an image IM2 indicating a machining program origin G1, which will be described later.

[0105] 21 , the second arithmetic device 82 executes the second display program 841b stored in the second memory 84, thereby causing the second display device 85 to display first default data DD1 specifying the shape of the nail 94 in a format that can be edited by the operator. The second display device 85 may display an input field 854 for changing the value of the first default data DD1 to another value. By inputting a numerical value into the input field 854 and operating a change operation unit 858b (more specifically, a change operation image displayed on the second display device 85), fifth dimension data 843b specifying the shape of the nail 94 is changed based on the numerical value input into the input field 854.

[0106] 22, the second arithmetic device 82 may cause the second display device 85 to display a message MG1 recommending that the machining simulation be performed again when any value of the first default data DD1 is changed beyond a preset allowable value. In other words, the second arithmetic device 82 may cause the second display device 85 to display a message MG1 recommending that the machining simulation be performed again when the deviation amount of the shape of the claw 94 from the shape of the claw model 94m exceeds the allowable amount. In this case, it is preferable that the operator resets the assembly model 92m including the claw model 94m and the workpiece model 95m, resets the program origin F1, and re-executes the machining simulation using the machining simulation device 1A.

[0107] 23, the second arithmetic device 82 executes the second display program 841b stored in the second memory 84, thereby causing the second display device 85 to display second default data DD2 specifying the shape of the workpiece 95 in a format that can be edited by the operator. The second display device 85 may display an input field 855 for changing the value of the second default data DD2 to another value. By inputting a numerical value into the input field 855 and operating a change operation unit 858c (more specifically, a change operation image displayed on the second display device 85), the sixth dimension data 843c specifying the shape of the workpiece 95 is changed based on the numerical value input into the input field 855.

[0108] 24, the second arithmetic device 82 may cause the second display device 85 to display a message MG2 recommending that the machining simulation be performed again in response to any value of the second default data DD2 being changed beyond a preset allowable value. In other words, the second arithmetic device 82 may cause the second display device 85 to display a message MG2 recommending that the machining simulation be performed again in response to the amount of deviation of the shape of the workpiece 95 from the shape of the workpiece model 95m exceeding the allowable amount. In this case, it is preferable that the operator resets the assembly model 92m including the jaw model 94m and the workpiece model 95m, resets the program origin F1, and re-executes the machining simulation using the machining simulation device 1A.

[0109] (Processing simulation method and calculation program 41) A processing simulation method according to the first embodiment will be described with reference to Fig. 1 to Fig. 26. Fig. 26 is a flowchart showing an example of the processing simulation method according to the first embodiment.

[0110] The machining simulation method according to the first embodiment is executed using the machining simulation device 1A according to the first embodiment or another machining simulation device. Since the machining simulation device 1A according to the first embodiment has already been described, repeated description of the machining simulation device 1A according to the first embodiment will be omitted.

[0111] In a first step ST1, a workpiece model 95m is set. The first step ST1 is a first setting step. The first setting step includes the calculation device 2 of the machining simulation device 1 determining third dimension data 43c that specifies the shape of the workpiece model 95m, and the memory 4 storing the determined third dimension data 43c.

[0112] 14, the first setting step may include the calculation device 2 analyzing the machining program 42 to extract a workpiece model 95m specified in the machining program 42, and the calculation device 2 determining third dimension data 43c that specifies the shape of the workpiece model 95m based on the extracted workpiece model 95m. Alternatively, as illustrated in FIG. 15, the first setting step may include the calculation device 2 determining third dimension data 43c that specifies the shape of the workpiece model 95m in response to input of data for setting the workpiece model 95m via the input device 6. Further alternatively, the first setting step may include the calculation device 2 reading out a previously created workpiece model 95m from the memory 4, and the calculation device 2 determining third dimension data 43c that specifies the shape of the workpiece model 95m based on the read workpiece model 95m.

[0113] During or after the first step ST1, the workpiece model 95m may be displayed on the display device 5. As illustrated in FIG. 15, displaying the workpiece model 95m on the display device 5 may include displaying the third dimension data 43c specifying the shape of the workpiece model 95m on the display device 5 in a format that can be edited by the operator. In the example illustrated in FIG. 15, the display device 5 simultaneously displays the workpiece model 95m in a three-dimensional display format, a dimension line S3 added to the workpiece model 95m in the three-dimensional display format, and an input field 503 in which the length of the dimension line S3 is entered. Furthermore, the calculation device 2 automatically changes the shape of the workpiece model 95m in the three-dimensional display format and the length of the dimension line S3 based on the value entered in the input field 503, and automatically displays the changed workpiece model 95m and the changed dimension line S3 on the display device 5.

[0114] In a second step ST2, a nail model 94m is set. The second step ST2 is a second setting step. The second setting step includes the calculation device 2 determining second dimension data 43b that specifies the shape of the nail model 94m, and the memory 4 storing the determined second dimension data 43b.

[0115] The second setting step may include the calculation device 2 determining second dimension data 43b that specifies the shape of the nail model 94m in response to input of data for setting the nail model 94m via the input device 6. Alternatively, the second setting step may include the calculation device 2 reading out a nail model 94m that was created in the past from the memory 4, and the calculation device 2 determining second dimension data 43b that specifies the shape of the nail model 94m based on the read nail model 94m.

[0116] The nail model 94m may be displayed on the display device 5 during or after the execution of the second step ST2. As illustrated in FIG. 13 , displaying the nail model 94m on the display device 5 may include displaying the second dimension data 43b specifying the shape of the nail model 94m on the display device 5 in a format that can be edited by an operator. In the example illustrated in FIG. 13 , the display device 5 simultaneously displays the nail model 94m in a three-dimensional display format, a dimension line S2 added to the nail model 94m in the three-dimensional display format, and an input field 501 into which the length of the dimension line S2 is input. Furthermore, the calculation device 2 automatically changes the shape of the nail model 94m in the three-dimensional display format and the length of the dimension line S2 based on the value input in the input field 501, and automatically displays the changed nail model 94m and the changed dimension line S2 on the display device 5.

[0117] The second step ST2 may be performed after the first step ST1 or before the first step ST1.

[0118] In a third step ST3, a chuck model 93m is set. The third step ST3 is a third setting step. The third setting step includes the calculation device 2 determining first dimension data 43a that specifies the shape of the chuck model 93m, and the memory 4 storing the determined first dimension data 43a.

[0119] The third setting step may include the calculation device 2 determining first dimension data 43a specifying the shape of the chuck model 93m in response to input of data for setting the chuck model 93m via the input device 6. Alternatively, the third setting step may include the calculation device 2 reading out a chuck model 93m created in the past from the memory 4, and the calculation device 2 determining first dimension data 43a specifying the shape of the chuck model 93m based on the read-out chuck model 93m.

[0120] The chuck model 93m may be displayed on the display device 5 during or after the execution of the third step ST3. As illustrated in FIG. 16 , displaying the chuck model 93m on the display device 5 may include displaying the first dimension data 43a specifying the shape of the chuck model 93m on the display device 5 in a format that can be edited by an operator. In the example illustrated in FIG. 16 , the display device 5 simultaneously displays the chuck model 93m in a three-dimensional display format, a dimension line S1 added to the chuck model 93m in the three-dimensional display format, and an input field 504 into which the length of the dimension line S1 is input. Furthermore, the calculation device 2 automatically changes the shape of the chuck model 93m in the three-dimensional display format and the length of the dimension line S1 based on the value input in the input field 504, and automatically displays the changed chuck model 93m and the changed dimension line S1 on the display device 5.

[0121] The third step ST3 may be performed after the first step ST1 and the second step ST2, or before the first step ST1 and the second step ST2. Alternatively, the third step ST3 may be performed between the first step ST1 and the second step ST2. Note that the third step ST3 may be omitted.

[0122] In a fourth step ST4, the calculation device 2 creates an assembly model 92m by combining the workpiece model 95m, the jaw model 94m, and the chuck model 93m. The fourth step ST4 is an assembly model creation process. The assembly model creation process preferably includes checking whether the created assembly model 92m is normal (in other words, a checking process). The checking process includes, for example, checking whether the jaw model 94m has a shape suitable for gripping the workpiece model 95m. If the assembly model 92m is not normal, the calculation device 2 may cause the display device 5 to display an alert.

[0123] As illustrated in FIG. 17, the assembly model 92m created by the assembly model creating step may be displayed on the display device 5.

[0124] In a fifth step ST5, the position of a program origin F1, which is the origin on the machining simulation coordinate system, is set. The fifth step ST5 is a program origin setting step. In the example shown in FIG. 17, the program origin setting step may be configured to be automatically executed by the arithmetic device 2 by operating the origin setting operation unit 55 (more specifically, the origin setting operation unit 55a displayed on the display device 5).

[0125] As illustrated in Figure 4 or 5, in the program origin setting process, the calculation device 2 sets the position of the program origin F1, which is the origin on the machining simulation coordinate system, based on a machine model origin F0 on the machining simulation coordinate system corresponding to the machine origin G0 of the numerically controlled lathe 8, a claw model 94m which is a shape model of the claws 94 attached to the chuck 93 of the numerically controlled lathe 8, and a workpiece model 95m which is a shape model of the workpiece 95 gripped by the multiple claws 94.

[0126] Furthermore, if the shape of the chuck model 93m is changeable, the arithmetic device 2 sets the position of the program origin F1, taking the shape of the chuck model 93m into consideration. More specifically, as illustrated in Fig. 18 or 19, in the program origin setting step, the arithmetic device 2 sets the position of the program origin F1, which is the origin on the machining simulation coordinate system, based on the above-mentioned machine model origin F0, the above-mentioned jaw model 94m, the above-mentioned workpiece model 95m, and the chuck model 93m.

[0127] The procedure by which the arithmetic device 2 sets the position of the program origin F1 has already been explained with reference to Figure 4 or Figure 5 (or Figure 18 or Figure 19), and therefore a repeated explanation of this procedure will be omitted. Note that data necessary for setting the position of the program origin F1 (for example, position data of the reference surface 910m, position data 43e of the machine model origin F0, second dimension data 43b specifying the shape of the claw model 94m, third dimension data 43c specifying the shape of the workpiece model 95m, etc.) is preferably stored in the memory 4 before the program origin setting step is executed.

[0128] The program origin setting step (fifth step ST5) preferably includes storing data 43f indicating the position of the program origin F1 set by the arithmetic device 2 in the memory 4. Note that the data 43f indicating the position of the program origin F1 may be data indicating an offset amount T1 of the program origin F1 with respect to the machine model origin F0 or a reference point F2 whose position is fixed with respect to the machine model origin F0.

[0129] In a sixth step ST6, at least one of an image IM indicating the position of the program origin F1 set by the arithmetic device 2 and the above-mentioned offset amount T1 is displayed on the display device 5 (see FIG. 12). The sixth step ST6 is a display step. The display step may include simultaneously displaying the above-mentioned offset amount T1, the claw model 94m in a three-dimensional display format, the workpiece model 95m in a three-dimensional display format, and the image IM indicating the program origin F1 on the display device 5. The display step may also include displaying the above-mentioned offset amount T1 on the display device 5 in a format that can be edited by the operator. The display step (sixth step ST6) may be omitted.

[0130] In seventh step ST7, a machining simulation is executed to virtually machine the workpiece model 95m. The seventh step ST7 is a machining simulation execution step. The machining simulation execution step includes the calculation device 2 (more specifically, the movement path generation unit 23 and the interference check unit 24) executing the machining program 42 using the program origin F1 as a reference position, thereby performing a machining simulation to virtually machine the workpiece model 95m.

[0131] The machining simulation execution step includes the calculation device 2 generating movement path data of the first tool model 98m that simulates machining of the workpiece model 95m in the machining simulation coordinate system, with the program origin F1 as the reference.

[0132] 6 or 7, the machining simulation execution step may include displaying a moving image in which the first tool model 98m and a plurality of models (96m, 97m, 97m-2, 98m-2) moving together with the first tool model 98m move relative to the workpiece model 95m along a path specified by the above-mentioned movement path data on the display device 5. In the moving image, the workpiece model 95m is simulated to be machined by the first tool model 98m.

[0133] The machining simulation execution step may include the calculation device 2 checking whether or not there is abnormal interference between the first tool model 98m and a plurality of models that move together with the first tool model 98m, and a plurality of other models (for example, the workpiece model 95m, the tailstock model 99m, etc.). Furthermore, the machining simulation execution step may include, when the calculation device 2 determines that there is abnormal interference, displaying on the display device 5 a message indicating that there is abnormal interference.

[0134] In an eighth step ST8, data (43a, 43b, 43c, 43f) is transmitted from the communication circuit 3 of the machining simulation device 1 to the numerically controlled lathe 8. A tenth step ST10 is a data transmission step.

[0135] The data transmission step includes transmitting data 43f (for example, the above-mentioned offset amount T1) indicating the position of the program origin F1, which is the origin on the machining simulation coordinate system, from the communication circuit 3 of the machining simulation device 1 to the numerically controlled lathe 8.

[0136] Additionally, the data transmitting step may include transmitting second dimension data 43b specifying the shape of the jaw model 94m and third dimension data 43c specifying the shape of the workpiece model 95m from the communication circuit 3 of the machining simulation device 1 to the numerically controlled lathe 8. Furthermore, the data transmitting step may include transmitting first dimension data 43a specifying the shape of the chuck model 93m from the communication circuit 3 of the machining simulation device 1 to the numerically controlled lathe 8.

[0137] The data transmission step may also include transmitting execution result data of the machining simulation (for example, data indicating that no abnormal interference occurred in the machining simulation) from the communication circuit 3 of the machining simulation device 1 to the numerically controlled lathe 8.

[0138] The calculation program 41 in the first embodiment is a program for causing the processing simulation device 1 to execute the processing simulation method in the first embodiment.

[0139] More specifically, the program in the first embodiment (more specifically, the calculation program 41) includes the following steps: (1) a step of setting the position of a program origin F1, which is an origin on the machining simulation coordinate system, based on a machine model origin F0 on the machining simulation coordinate system corresponding to the machine origin G0 of the numerically controlled lathe 8, a jaw model 94m which is a shape model of the jaws 94 attached to the chuck 93 of the numerically controlled lathe 8, and a workpiece model 95m which is a shape model of the workpiece 95 gripped by the plurality of jaws 94 (in other words, the above-mentioned fifth step ST5); and (2) a step of setting the position of a program origin F1, which is an origin on the machining simulation coordinate system, based on the program origin F1. The program is for causing the machining simulation device 1 to execute a machining simulation method, which includes: (1) a step of performing a machining simulation for virtually machining a workpiece model 95m by executing the machining program 42 using the program origin F1 as a reference position (for example, by interpreting the machining program 42 using the program origin F1 as a reference position) (in other words, the above-mentioned seventh step ST7); and (2) a step of transmitting data 43f indicating the position of the program origin F1 (for example, the above-mentioned offset amount T1) to the numerically controlled lathe 8 (in other words, the above-mentioned eighth step ST8).

[0140] Additionally, the program in the first embodiment (more specifically, the arithmetic program 41) may be a program for causing the machining simulation device 1 to execute a machining simulation method including the above-mentioned first setting step (first step ST1) and / or the above-mentioned second setting step (second step ST2). Alternatively or additionally, the program in the first embodiment (more specifically, the arithmetic program 41) may be a program for causing the machining simulation device 1 to execute a machining simulation method including the above-mentioned third setting step (third step ST3). Alternatively or additionally, the program in the first embodiment (more specifically, the arithmetic program 41) may be a program for causing the machining simulation device 1 to execute a machining simulation method including the above-mentioned assembly model creating step (fourth step ST4). Alternatively or additionally, the program in the first embodiment (more specifically, the arithmetic program 41) may be a program for causing the machining simulation device 1 to execute a machining simulation method including the above-mentioned display step (sixth step ST6).

[0141] For example, as illustrated in FIG. 13 , the program (more specifically, the calculation program 41) may be a program for causing the machining simulation device 1 to execute a machining simulation method including the steps of: (1) simultaneously displaying, on the display device 5, a nail model 94m in a three-dimensional display format, a dimension line S2 added to the nail model 94m in a three-dimensional display format, and an input field 501 for inputting the length of the dimension line S2; and (2) automatically changing the shape of the nail model 94m in a three-dimensional display format and the length of the dimension line S2 based on the value input in the input field 501, and automatically displaying, on the display device 5, the nail model 94m after the change and the dimension line S2 after the change.

[0142] Furthermore, the memory 4 in the first embodiment may be a nonvolatile storage medium on which the above-mentioned program (more specifically, the arithmetic program 41) is recorded. The nonvolatile storage medium on which the above-mentioned program (more specifically, the arithmetic program 41) is recorded may be a portable storage medium 4M, as exemplified in FIG.

[0143] The machining simulation method, program (more specifically, the calculation program 41) in the first embodiment, or the non-volatile storage medium on which the program (more specifically, the calculation program 41) is recorded, achieves the same effects as the machining simulation device 1A in the first embodiment.

[0144] (Workpiece processing method) A workpiece machining method according to the first embodiment will be described with reference to Figures 1 to 27. Figures 26 and 27 are flowcharts showing an example of the workpiece machining method according to the first embodiment.

[0145] The workpiece machining method in the first embodiment is executed using the machine tool system 100A in the first embodiment or another machine tool system. Since the machine tool system 100A in the first embodiment (more specifically, the machining simulation device 1A and the numerically controlled lathe 8A) has already been described, repeated description of the machine tool system 100A in the first embodiment will be omitted.

[0146] The workpiece machining method in the first embodiment includes: (1) a step of setting the position of a program origin F1, which is the origin on the machining simulation coordinate system, based on a machine model origin F0 on the machining simulation coordinate system corresponding to a machine origin G0 of the numerically controlled lathe 8, a jaw model 94m which is a shape model of a jaw 94 attached to the chuck 93 of the numerically controlled lathe 8, and a workpiece model 95m which is a shape model of a workpiece 95 gripped by the plurality of jaws 94 (in other words, the above-mentioned fifth step ST5); and (2) a step of setting the position of a program origin F1, which is the origin on the machining simulation coordinate system, based on the machine model origin F0 on the machining simulation coordinate system corresponding to a machine origin G0 of the numerically controlled lathe 8, a jaw model 94m which is a shape model of a jaw 94 attached to the chuck 93 of the numerically controlled lathe 8, and a workpiece model 95m which is a shape model of a workpiece 95 gripped by the plurality of jaws 94 (in other words, the above-mentioned fifth step ST5). (2) a step of performing a machining simulation to virtually machine a workpiece model 95m by executing the machining program 42 (in other words, the seventh step ST7 described above); (3) a step of setting the position of the machining program origin G1 in the machining program coordinate system based on the position of the program origin F1 (in other words, the thirteenth step ST13 described below); and (4) a step of machining the workpiece 95 by the numerically controlled lathe 8 that executes the machining program 42 using the machining program origin G1 as a reference position (in other words, the fourteenth step ST14 described below).

[0147] The workpiece machining method in the first embodiment may include the above-mentioned first setting step (first step ST1) and / or the above-mentioned second setting step (second step ST2). Alternatively, or additionally, the workpiece machining method in the first embodiment may include the above-mentioned third setting step (third step ST3). Alternatively, or additionally, the workpiece machining method in the first embodiment may include the above-mentioned assembly model creation step (fourth step ST4). Alternatively, or additionally, the workpiece machining method in the first embodiment may include the above-mentioned display step (sixth step ST6). Furthermore, the workpiece machining method in the first embodiment may include the above-mentioned data transmission step (eighth step ST8).

[0148] The first step ST1 to the eighth step ST8 have already been described in the machining simulation method of the first embodiment, so repeated description of the first step ST1 to the eighth step ST8 will be omitted.

[0149] After the eighth step ST8 is executed, in a ninth step ST9, the second communication circuit 83 of the numerically controlled lathe 8 receives the data (43a, 43b, 43c, 43f) from the machining simulation device 1. The ninth step ST9 is a data receiving step.

[0150] In the example shown in FIG. 9, the data receiving step includes the second communication circuit 83 of the numerically controlled lathe 8 receiving, from the machining simulation device 1, data 43f indicating the position of the program origin F1, which is the origin on the machining simulation coordinate system (for example, data 430f indicating the above-mentioned offset amount T1).

[0151] Additionally, the data receiving step may include the second communication circuit 83 of the numerically controlled lathe 8 receiving, from the machining simulation device 1, second dimension data 43b specifying the shape of the jaw model 94m and third dimension data 43c specifying the shape of the workpiece model 95m. Furthermore, the data receiving step may include the second communication circuit 83 of the numerically controlled lathe 8 receiving, from the machining simulation device 1, first dimension data 43a specifying the shape of the chuck model 93m.

[0152] The data receiving process may also include the second communication circuit 83 of the numerically controlled lathe 8 receiving execution result data of the machining simulation (for example, data indicating that there was no abnormal interference in the machining simulation) from the machining simulation device 1.

[0153] The data (43a, 43b, 43c, 43f, 430f) received via the second communication circuit 83 is stored in the second memory 84. For example, data 43f indicating the position of the program origin F1 (more specifically, data 430f indicating the offset amount T1 described above) is stored in the second memory 84. In addition, first dimension data 43a specifying the shape of the chuck model 93m, second dimension data 43b specifying the shape of the jaw model 94m, and third dimension data 43c specifying the shape of the workpiece model 95m are stored in the second memory 84.

[0154] 20, in tenth step ST10, the offset amount T1 described above is displayed on the second display device 85. The tenth step ST10 is a second display step.

[0155] More specifically, the second display step includes displaying on the second display device 85 the offset amount T1 of the program origin F1 relative to the machine model origin F0 or a reference point F2 whose position is fixed relative to the machine model origin F0.

[0156] The offset amount T1 described above functions as a default value DD of a second offset amount T2, which is an offset amount of the machining program origin G1 relative to the machine origin G0 or a reference point G2 (see FIG. 10) whose position is fixed relative to the machine origin G0. The offset amount T1 set in the machining simulation device 1 functions as the default value DD of the second offset amount T2 set in the numerically controlled lathe 8, so that the setting work of the second offset amount T2 in the numerically controlled lathe 8 is omitted or the setting work is simplified (for example, the second offset amount T2 can be set without actually measuring the reference position of the workpiece 95).

[0157] The second display step may include displaying the above-mentioned offset amount T1 (in other words, the default value DD of the above-mentioned second offset amount T2) in a format that can be edited by the operator on the second display device 85. In this case, the second display step may include displaying a message on the second display device 85 recommending that the machining simulation be executed again when the default value DD is changed beyond a preset allowable value.

[0158] In the example shown in FIG. 21 , in an eleventh step ST11, dimension data specifying the shape of the nail 94 (more specifically, fifth dimension data 843b) is displayed on the second display device 85. The eleventh step ST11 is a third display step. Note that data specifying the shape of the nail model 94m may be displayed on the second display device 85 as first default data DD1 of the fifth dimension data 843b. The second display device 85 may also display the first default data DD1 in a format that can be edited by an operator. More specifically, the second display device 85 may display an input field 854 for changing the value of the first default data DD1 to another value. A numerical value may be input into the input field 854, and the change operation unit 858b may be operated, whereby the fifth dimension data 843b displayed on the second display device 85 may be changed based on the numerical value input into the input field 854.

[0159] As illustrated in FIG. 22, the third display step (eleventh step ST11) may include displaying a message MG1 on the second display device 85 recommending that the machining simulation be performed again in response to any value of the first default data DD1 being changed beyond a preset allowable value.

[0160] In the example shown in FIG. 23 , in twelfth step ST12, dimension data specifying the shape of the workpiece 95 (more specifically, sixth dimension data 843c) is displayed on the second display device 85. The twelfth step ST12 is a fourth display step. Note that data specifying the shape of the workpiece model 95m may be displayed on the second display device 85 as second default data DD2 of the sixth dimension data 843c. The second display device 85 may also display the second default data DD2 in a format that can be edited by the operator. More specifically, the second display device 85 may display an input field 855 for changing the value of the second default data DD2 to another value. Furthermore, by inputting a numerical value into the input field 855 and operating the change operation unit 858c, the sixth dimension data 843c displayed on the second display device 85 may be changed based on the numerical value input into the input field 855.

[0161] As illustrated in FIG. 24, the fourth display step (twelfth step ST12) may include displaying a message MG2 on the second display device 85 recommending that the processing simulation be performed again in response to any value of the second default data DD2 being changed beyond a preset allowable value.

[0162] The tenth step ST10 to the twelfth step ST12 may be performed in any order. Furthermore, the tenth step ST10 and the twelfth step ST12 may be performed simultaneously, or the eleventh step ST11 and the twelfth step ST12 may be performed simultaneously. Furthermore, each of the tenth step ST10 to the twelfth step ST12 may be omitted.

[0163] In thirteenth step ST13, the position of a machining program origin G1 in the machining program coordinate system is set based on the position of the program origin F1. The thirteenth step ST13 is a machining program origin setting step.

[0164] In the example shown in Figure 10, the machining program origin setting process includes the second calculation device 82 setting the position of the machining program origin G1 so that the relative position of the machining program origin G1 to the machine origin G0 in the machining program coordinate system is equal to the relative position of the program origin F1 to the machine model origin F0 (see Figure 4, Figure 5, Figure 18, or Figure 19).

[0165] The machining program origin setting step may include the second arithmetic device 82 setting the position of the machining program origin G1 so that a second offset amount T2 of the machining program origin G1 relative to the machine origin G0 or a reference point G2 whose position is fixed relative to the machine origin G0 is equal to the above-mentioned offset amount T1. Furthermore, if the second offset amount T2 is corrected in tenth step ST10, the machining program origin setting step may include correcting the position of the machining program origin G1 based on the difference between the corrected second offset amount T2 and the uncorrected second offset amount T2.

[0166] In a fourteenth step ST14, the workpiece 95 is machined by the numerically controlled lathe 8 which executes the machining program 42 using the machining program origin G1 as a reference position. The fourteenth step ST14 is a machining process.

[0167] The machining process includes determining a movement path of the first tool 98 based on the machining program origin G1. The machining process also includes the second arithmetic device 82 transmitting a control command to each of a plurality of control target devices (for example, the moving device 87, the rotary drive device 90, etc.).

[0168] For example, the machining process includes: (1) the second arithmetic device 82 generating a movement command 87i based on a movement path of the first tool 98 determined with reference to a machining program origin G1; (2) the second arithmetic device 82 transmitting the movement command 87i to the movement device 87; and (3) the movement device 87 receiving the movement command 87i moving the first tool 98 along the movement path. The machining process also includes: (4) the second arithmetic device 82 transmitting a rotation command 90i to the rotation drive device 90; and (5) the rotation drive device 90 receiving the rotation command 90i rotating the spindle 91, the chuck 93, the multiple jaws 94, and the workpiece 95 integrally around the first axis AX1.

[0169] In the workpiece machining method in the first embodiment, a highly accurate machining simulation is performed in advance. By performing a highly accurate machining simulation in advance, it is possible to omit or simplify the interference check performed using the numerically controlled lathe 8. By omitting or simplifying the interference check at the machining site, it is possible to improve the availability of the numerically controlled lathe 8. In addition, the workload of the operator at the machining site is reduced.

[0170] Furthermore, in the workpiece machining method according to the first embodiment, the machining program origin G1 in the machining program coordinate system is set based on the position of the program origin F1, which is the origin on the machining simulation coordinate system that is accurately set in the machining simulation. Therefore, the task of actually measuring the reference position of the workpiece 95 to set the machining program origin is not necessary, or this task can be simplified. Furthermore, by reducing the amount of setup work performed at the machining site, the availability rate of the numerically controlled lathe 8A can be further improved. Furthermore, the workload of the operator at the machining site is further reduced. Furthermore, by reducing the energy consumption associated with setup work, the burden on the environment is also reduced.

[0171] The present invention is not limited to the above-described embodiments or modifications, and it is clear that each embodiment or modification can be appropriately modified or changed within the scope of the technical concept of the present invention. Furthermore, various techniques used in each embodiment or modification can be applied to other embodiments or modifications as long as no technical contradiction occurs. Furthermore, optional additional configurations in each embodiment or modification can be omitted as appropriate. [Explanation of symbols]

[0172] 1, 1A... Machining simulation device, 2... Arithmetic unit, 2a... Processor, 3... Communication circuit, 4... Memory, 4M... Storage medium, 5... Display device, 6, 6a, 6b... Input device, 8, 8A... Numerically controlled lathe, 10... Bus, 21... 3D model creation unit, 22... Program origin setting unit, 23... Movement path generation unit, 24... Interference check unit, 25... Display image generation unit, 41... Arithmetic program, 41a... 3D model creation program, 41b... Program origin setting program, 41c... Simulation calculation program, 41d... Display program, 42... Machining program, 43... Data , 43a...first dimension data, 43b...second dimension data, 43c...third dimension data, 43e...position data of machine model origin, 43f...data indicating the position of program origin, 50A...simulation image, 50B...jaw model setting window, 50C...work model setting window, 50D...work model creation window, 50E...chuck model setting window, 52...touch panel display, 55, 55a...origin setting operation unit, 80...control unit, 81...bus, 82...second calculation device, 82a...processor, 83...second communication circuit, 84...second memory harpoon, 85...second display device, 86...second input device, 87...moving device, 87a...first moving device, 87b...second moving device, 87c...third moving device, 87i...movement command, 88...second rotation drive device, 90...rotation drive device, 90i...rotation command, 91...spindle, 91m...spindle shape model, 92...assembly, 92m...assembly model, 93...chuck, 93m...chuck model, 94...jaw, 94m...jaw model, 94m-s...specific jaw model, 95...work, 95m...work model, 96...tool rest, 96m...tool rest model, 96t...turret, 97...first tool Holding unit, 97-2...other tool holding unit, 97m...first tool holding unit model, 97m-2...other tool holding unit model, 98...first tool, 98-2...other tool, 98m...first tool model, 98m-2...other tool model, 99m...tailstock model, 100, 100A...machine tool system, 101...network, 430f...data indicating offset amount, 501, 502, 503, 504...input field, 841...calculation program, 841a...machining calculation program, 841b...second display program, 843...data, 843a...fourth dimension data,843b...Fifth dimension data, 843c...Sixth dimension data, 852...Touch panel display, 853, 854, 855...Input field, 858a, 858b, 858c...Change operation unit, 910m...Reference surface, 911m...Tip surface of spindle shape model, 931m...Tip surface of chuck model, 951m...Base end surface of workpiece model, 952m...Tip surface of workpiece model, AT...Rotation axis of chuck model, AX...Rotation axis of chuck, AX1...1st axis, AX2...2nd axis, DD ...default value, DD1...first default data, DD2...second default data, DD3...third default data, DT1...dimensional data specifying the shape of the default model, F0...machine model origin, F1...program origin, F2...reference point, G0...machine origin, G1...machining program origin, G2...reference point, IM...image showing program origin, IM2...image showing machining program origin, S1, S2, S3...dimension line, T1...offset amount, T2...second offset amount,

Claims

1. a computing device that sets the position of a program origin, which is an origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to a machine origin of a numerically controlled lathe, a claw model which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model which is a shape model of a workpiece gripped by a plurality of the claws, and performs a machining simulation for virtually machining the workpiece model by executing a machining program using the program origin as a reference position; a communication circuit for transmitting data indicating the position of the program origin to the numerically controlled lathe; Equipped with Machining simulation device.

2. A memory for storing a display program; Display device and Further comprising: The arithmetic device executes the display program stored in the memory to cause the display device to display an offset amount of the program origin with respect to the machine model origin or a reference point whose position is fixed with respect to the machine model origin. The machining simulation device according to claim 1 .

3. The arithmetic device executes the display program stored in the memory to cause the display device to simultaneously display the offset amount, the jaw model, the workpiece model, and an image indicating the program origin. The machining simulation device according to claim 2 .

4. The arithmetic device sets the position of the program origin based on the machine model origin, the jaw model, the workpiece model, and a chuck model which is a shape model of the chuck, and performs the machining simulation to virtually machine the workpiece model using the program origin as the reference position. The machining simulation device according to any one of claims 1 to 3.

5. a second communication circuit that sets the position of a program origin, which is an origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to a machine origin of a numerically controlled lathe, a jaw model which is a shape model of jaws attached to a chuck of the numerically controlled lathe, and a workpiece model which is a shape model of a workpiece gripped by the jaws, and receives data indicating the position of the program origin from a machining simulation device that performs a machining simulation for virtually machining the workpiece model by executing a machining program using the program origin as a reference position; A second memory that stores the machining program; The chuck; A plurality of jaws attached to the chuck and configured to grip the workpiece; A spindle supporting the chuck; A rotary drive device that rotates the spindle about a first axis; A moving device that moves the first tool; a second arithmetic unit that sets a position of the machining program origin in a machining program coordinate system based on the position of the program origin, and executes the machining program to determine a movement path of the first tool with the machining program origin as a reference; Equipped with Numerical control lathe.

6. The second calculation device sets the position of the machining program origin so that the relative position of the machining program origin with respect to the machine origin is equal to the relative position of the program origin with respect to the machine model origin.

6. A numerically controlled lathe according to claim 5.

7. Further comprising a second display device, the second memory stores a second display program; The second calculation device executes the second display program stored in the second memory to cause the second display device to display an offset amount of the program origin with respect to the machine model origin or a reference point whose position is fixed with respect to the machine model origin.

7. A numerically controlled lathe according to claim 5 or 6.

8. The offset amount is a default value of a second offset amount of the machining program origin with respect to the machine origin or a reference point whose position is fixed with respect to the machine origin. R 8. A numerically controlled lathe according to claim 7.

9. Further comprising a second display device, The second computing device displays, in response to at least one of a deviation amount of the shape of the claw from a shape of the claw model and a deviation amount of the shape of the workpiece from a shape of the workpiece model exceeding an allowable amount, a message recommending execution of a machining simulation again on the second display device.

7. A numerically controlled lathe according to claim 5 or 6.

10. An arithmetic device which performs a machining simulation to virtually machine the workpiece model by setting the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on a machining simulation coordinate system corresponding to the machine origin of a numerically controlled lathe, a claw model which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model which is a shape model of a workpiece gripped by a plurality of said claws, and executing a machining program using the program origin as a reference position; a communication circuit for transmitting data indicating the position of the program origin to the numerically controlled lathe; A machining simulation device comprising: a second communication circuit that receives data indicating the position of the program origin from the machining simulation device; A second memory that stores the machining program; The chuck; A plurality of jaws attached to the chuck and configured to grip the workpiece; A spindle supporting the chuck; A rotary drive device that rotates the spindle about a first axis; A moving device that moves the first tool; a second arithmetic unit that sets a position of the machining program origin in a machining program coordinate system based on the position of the program origin, and executes the machining program to determine a movement path of the first tool with the machining program origin as a reference; The numerically controlled lathe comprising: Equipped with Machine tool systems.

11. a step of setting the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to the machine origin of the numerically controlled lathe, a claw model which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model which is a shape model of a workpiece gripped by the plurality of claws; performing a machining simulation for virtually machining the workpiece model by executing a machining program using the program origin as a reference position; setting a position of a machining program origin in a machining program coordinate system based on the position of the program origin; machining the workpiece by the numerically controlled lathe executing the machining program using the machining program origin as a reference position; Equipped with Workpiece processing method.

12. a step of setting the position of a program origin, which is the origin on the machining simulation coordinate system, based on a machine model origin on the machining simulation coordinate system corresponding to the machine origin of the numerically controlled lathe, a claw model which is a shape model of a claw attached to a chuck of the numerically controlled lathe, and a workpiece model which is a shape model of a workpiece gripped by the plurality of claws; performing a machining simulation for virtually machining the workpiece model by executing a machining program using the program origin as a reference position; transmitting data indicative of the location of the program origin to the numerically controlled lathe; A program for causing a processing simulation device to execute a processing simulation method comprising the steps of:

13. a step of simultaneously displaying, on a display device, the nail model in a three-dimensional display format, a dimension line added to the nail model in the three-dimensional display format, and an input field for inputting the length of the dimension line; automatically changing the shape of the nail model in the three-dimensional display format and the length of the dimension line based on the values ​​input in the input fields, and automatically displaying the changed nail model and the changed dimension line on the display device; The program according to claim 12 , for causing the processing simulation device to execute the processing simulation method, further comprising: