BACKGROUND OF THE INVENTION
Field of the Invention
The present invention relates to a machining simulation apparatus, a numerically controlled lathe, a machine tool system, and a method for machining a workpiece.
Discussion of the Background
A technique for machining a workpiece using a lathe is known.
A related technique includes a machining simulation apparatus disclosed in JP 2009-53823 A. The machining simulation apparatus disclosed in JP 2009-53823 A includes machining simulation means, a memory, reading means, and setting means. The machining simulation means performs, based on a machining program, a simulation of relative movement of a tool and an object to be machined. The memory stores a three-dimensional model of the tool and the object to be machined together with an identifier. The reading means reads the identifier of the three-dimensional model designated in the machining program. The setting means recalls, from the memory, the three-dimensional model having the identifier that matches the identifier that has been read, and sets the recalled three-dimensional model in the machining simulation means. In the machining simulation apparatus disclosed in JP 2009-53823 A, an origin of the shape of the object to be machined is set to an origin (X=0, Y=0, and Z=0) of an imaginary three-dimensional space.
SUMMARY OF THE INVENTION
According to one aspect of the present invention, a machining simulation apparatus includes a processor and a communication circuit. The processor is configured to set a position of a program origin, that is an origin on a machining simulation coordinate system of a numerically controlled lathe, based on a machine model origin on the machining simulation coordinate system, a jaw model that is a shape model of a plurality of jaws mounted on a chuck of the numerically controlled lathe, and a workpiece model that is a shape model of a workpiece to be gripped by the plurality of jaws. The machine model origin corresponds to a machine origin of the numerically controlled lathe. The processor is configured to execute the machining program using the program origin as a reference position to virtually machine the workpiece model. The communication circuit is configured to transmit data indicating the position of the program origin to the numerically controlled lathe.
According to another aspect of the present invention, a numerically controlled lathe includes a spindle rotatable around a first axis; a chuck connected to the spindle to be rotatable together with the spindle around the first axis; a plurality of jaws mounted on the chuck to be rotatable together with the spindle around the first axis and configured to grip a workpiece; a rotary driver configured to rotate the spindle about the first axis; a motion driver configured to move a first tool which is configured to machine the workpiece; a second memory configured to store a machining program; a second communication circuit configured to receive, from a machining simulation apparatus, data indicating a position of a program origin that is an origin on a machining simulation coordinate system of the numerically controlled lathe, the machining simulation apparatus being configured to set the position of the program origin based on a machine model origin on the machining simulation coordinate system, a jaw model that is a shape model of the plurality of jaws, and a workpiece model that is a shape model of the workpiece, machine model origin corresponding to a machine origin of the numerically controlled lathe, the machining simulation apparatus being configured to execute the machining program using the program origin as a reference position to virtually machine the workpiece model; and a second processor configured to set a position of a machining program origin in a machining program coordinate system based on the position of the program origin and configured to determine a movement path of the first tool with respect to the machining program origin by executing the machining program.
According to the other aspect of the present invention, a machine tool system includes the above-described machining simulation apparatus and the above-described numerically controlled lathe.
According to further aspect of the present invention, a method for machining a workpiece includes setting a position of a program origin, that is an origin on a machining simulation coordinate system of a numerically controlled lathe, based on a machine model origin on the machining simulation coordinate system, a jaw model that is a shape model of a plurality of jaws mounted on a chuck of the numerically controlled lathe, and a workpiece model that is a shape model of a workpiece to be gripped by the plurality of jaws, the machine model origin corresponding to a machine origin of the numerically controlled lathe; executing the machining program using the program origin as a reference position to virtually machine the workpiece model; setting a position of a machining program origin in a machining program coordinate system based on the position of the program origin; and executing the machining program using the machining program origin as a reference position to machine the workpiece by the numerically controlled lathe.
BRIEF DESCRIPTION OF THE DRAWINGS
A more complete appreciation of the present disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
FIG. 1 is a block diagram illustrating an example of a hardware configuration of a machining simulation apparatus according to a first embodiment;
FIG. 2 is a block diagram of a processor;
FIG. 3 is a diagram schematically illustrating a position of a machine origin in a numerically controlled lathe;
FIG. 4 is a diagram schematically illustrating a positional relationship between a machine model origin and a program origin in a machining simulation coordinate system;
FIG. 5 is a diagram schematically illustrating a positional relationship between the machine model origin and the program origin in the machining simulation coordinate system;
FIG. 6 is a diagram schematically illustrating how a simulation image is displayed on a display device;
FIG. 7 is a diagram schematically illustrating how the simulation image is displayed on the display device;
FIG. 8 is a schematic perspective diagram schematically illustrating the numerically controlled lathe according to the first embodiment;
FIG. 9 is a block diagram illustrating an example of a hardware configuration of a control unit of the numerically controlled lathe;
FIG. 10 is a diagram schematically illustrating a positional relationship between the machine origin and a machining program origin in a machining program coordinate system;
FIG. 11 is a block diagram illustrating an example of the hardware configuration of the control unit of the numerically controlled lathe;
FIG. 12 is a diagram schematically illustrating how an offset amount is displayed on the display device;
FIG. 13 is a diagram schematically illustrating how a setting window of a jaw model is displayed on the display device;
FIG. 14 is a diagram schematically illustrating how a setting window of a workpiece model is displayed on the display device;
FIG. 15 is a diagram schematically illustrating how a workpiece model creation window is displayed on the display device;
FIG. 16 is a diagram schematically illustrating how a setting window of a chuck model is displayed on the display device;
FIG. 17 is a diagram schematically illustrating how an assembly model in which the chuck model, the jaw model, and the workpiece model are assembled is displayed on the display device;
FIG. 18 is a diagram schematically illustrating a positional relationship between the machine model origin and the program origin in the machining simulation coordinate system;
FIG. 19 is a diagram schematically illustrating a positional relationship between the machine model origin and the program origin in the machining simulation coordinate system;
FIG. 20 is a diagram schematically illustrating how a second offset amount is displayed on a second display device;
FIG. 21 is a diagram schematically illustrating how first default data specifying the shape of a jaw is displayed on the second display device in an editable form;
FIG. 22 is a diagram schematically illustrating how a message that recommends to execute a machining simulation again is displayed on the second display device;
FIG. 23 is a diagram schematically illustrating how second default data specifying the shape of a workpiece is displayed on the second display device in an editable form;
FIG. 24 is a diagram schematically illustrating how a message that recommends to execute the machining simulation again is displayed on the second display device;
FIG. 25 is a diagram schematically illustrating a machine tool system according to the first embodiment;
FIG. 26 is a flowchart illustrating an example of a machining simulation method according to the first embodiment;
FIG. 27 is a flowchart illustrating an example of a workpiece machining method according to the first embodiment; and
FIG. 28 is a diagram schematically illustrating an example of a non-volatile storage medium that stores a program.
DESCRIPTION OF THE EMBODIMENTS
The embodiments will now be described with reference to the accompanying drawings, wherein like reference numerals designate corresponding or identical elements throughout the various drawings.
Hereinafter, a machining simulation apparatus 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 computation program 41) according to an embodiment will be described with reference to the drawings. In the following description of the embodiments, identical reference numerals are given to portions and members having identical functions, and repetitive descriptions of the portions and members with the identical reference numerals are omitted.
First Embodiment
A machining simulation apparatus 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 illustrating an example of a hardware configuration of the machining simulation apparatus 1A according to the first embodiment. FIG. 2 is a block diagram of a processor 2. FIG. 3 is a diagram schematically illustrating a position of a machine origin G0 in a numerically controlled lathe. FIGS. 4 and 5 are diagrams each schematically illustrating a positional relationship between a machine model origin FO and a program origin F1 in a machining simulation coordinate system. FIGS. 6 and 7 are diagrams each schematically illustrating how a simulation image 50A is displayed on a display device (an example of a “display”) 5. FIG. 8 is a schematic perspective diagram schematically illustrating the numerically controlled lathe 8A according to the first embodiment. FIG. 9 is a block diagram illustrating an example of a hardware configuration of a control unit 80 of the numerically controlled lathe 8A. FIG. 10 is a diagram schematically illustrating a positional relationship between the machine origin G0 and a machining program origin G1 in a machining program coordinate system. FIG. 11 is a block diagram illustrating an example of a hardware configuration of the control unit 80 of the numerically controlled lathe 8A. FIG. 12 is a diagram schematically illustrating how an offset amount T1 is displayed on the display device 5. FIG. 13 is a diagram schematically illustrating how a setting window 50B of a jaw model 94m is displayed on the display device 5. FIG. 14 is a diagram schematically illustrating how a setting window 50C of a workpiece model 95m is displayed on the display device 5. FIG. 15 is a diagram schematically illustrating how a workpiece model creation window 50D is displayed on the display device 5. FIG. 16 is a diagram schematically illustrating how a setting window 50E of a chuck model 93m is displayed on the display device 5. FIG. 17 is a diagram schematically illustrating how an assembly model 92m in which the chuck model 93m, the jaw model 94m, and the workpiece model 95m are assembled is displayed on the display device 5. FIGS. 18 and 19 are diagrams each schematically illustrating a positional relationship between the machine model origin FO and the program origin F1 in the machining simulation coordinate system. FIG. 20 is a diagram schematically illustrating how a second offset amount T2 is displayed on a second display device (an example of a “second display”) 85. FIG. 21 is a diagram schematically illustrating how first default data DD1 specifying the shape of a jaw 94 is displayed on the second display device 85 in an editable form. FIG. 22 is a diagram schematically illustrating how a message MG1 that recommends to execute a machining simulation again is displayed on the second display device 85. FIG. 23 is a diagram schematically illustrating how second default data DD2 specifying the shape of a workpiece 95 is displayed on the second display device 85 in an editable form. FIG. 24 is a diagram schematically illustrating how a message MG2 that recommends to execute the machining simulation again is displayed on the second display device 85. FIG. 25 is a diagram schematically illustrating the machine tool system 100A according to the first embodiment.
Machining Simulation Apparatus 1A
As illustrated in FIG. 1, the machining simulation apparatus 1A includes the processor 2 and a communication circuit 3. Additionally, the machining simulation apparatus 1A may include a memory 4, the display device 5, and an input device 6. The input device 6 may be incorporated in the display device 5 (more specifically, the display device 5 may be a touch panel display 52 with a built-in input device 6a). Alternatively or additionally, the machining simulation apparatus 1A may include an input device 6b (for example, a button, a switch, a lever, a pointing device, and a keyboard) provided separately from the display device 5.
The machining simulation apparatus 1A may include one computer. Alternatively, a plurality of computers may operate together to function as the machining simulation apparatus 1A. In other words, the machining simulation apparatus 1A may include one computer or a plurality of computers.
In an example illustrated in FIG. 1, the processor 2, the memory 4, the communication circuit 3, the display device 5, and/or the input device 6 are coupled to each other via a bus 10. The processor 2 includes at least one processor 2a (for example, at least one CPU).
The memory 4 includes a storage medium from which the processor 2 is readable. The memory 4 may include a non-volatile or volatile semiconductor memory, a magnetic disk, or other forms of memory. The non-volatile or volatile semiconductor memory includes, for example, a RAM, a ROM, and a flash memory. The memory 4 stores the computation program 41 (for example, a three-dimensional model creating program 41a, a program origin setting program 41b, a simulation computation 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 a desired shape), and data 43 (for example, first dimension data 43a specifying the shape of a chuck model, second dimension data 43b specifying the shape of a jaw model, third dimension data 43c specifying the shape of a workpiece model, and position data 43e of a machine model origin).
The memory 4 may be distributed to a plurality of locations. For example, a memory that stores the machining program 42 may be provided separately from a memory that stores the computation program 41 or the data 43.
A part of the memory 4 may be located at a position far from the communication circuit 3. In other words, when the processor 2 executes the computation program 41, the memory 4 may provide at least part of the computation program 41 or part of the data 43 to the processor 2 via the communication circuit 3. At least part of the data 43 may be input by an operator via the input device 6, and the data 43 that has been input may be stored in the memory 4. Alternatively or additionally, at least part of the data 43 may be transmitted to the machining simulation apparatus 1A from another computer. In this case, the processor 2 stores the data 43 received via the communication circuit 3 in the memory 4.
As illustrated in FIG. 2, the processor 2 may include a three-dimensional model creating unit 21, a program origin setting unit 22, a movement path generating unit 23, an interference checking unit 24, and a display image generating unit 25. More specifically, the processor 2 may function as the three-dimensional model creating unit 21, the program origin setting unit 22, the movement path generating unit 23, the interference checking unit 24, and the display image generating unit 25 by executing the computation program 41, which is stored in the memory 4.
As illustrated in FIG. 3, the machine origin G0 of the numerically controlled lathe 8A is an origin on a machine coordinate system of the numerically controlled lathe 8A. The machine origin G0 is a reference point of the numerically controlled lathe 8A that does not depend on the shape of the workpiece 95. In an example illustrated in FIG. 3, the machine coordinate system (X, Y, Z orthogonal coordinate system) of the numerically controlled lathe 8A is set with respect to the machine origin G0. The position of the machine origin G0 may vary from one numerically controlled lathe 8A to another. In other words, the position of the machine origin G0 is not limited to the position illustrated in FIG. 3.
In the example illustrated in FIG. 3, the jaw 94 is mounted on a chuck 93 of the numerically controlled lathe 8A. The chuck 93 is mounted on a spindle 91 that rotates about a first axis AX1. As illustrated in FIG. 4, a shape model of the jaw 94 (hereinafter, referred to as the “jaw model 94m”) has substantially the same shape as the jaw 94 in the machining simulation coordinate system. A shape model of the chuck 93 (hereinafter, referred to as the “chuck model 93m”) has substantially the same shape as the chuck 93 in the machining simulation coordinate system.
In the example illustrated in FIG. 3, the workpiece 95 is gripped by a plurality of jaws 94 mounted on the chuck 93. As illustrated in FIG. 4, a shape model of the workpiece 95 (hereinafter, referred to as the “workpiece model 95m”) has substantially the same shape as the workpiece 95 in the machining simulation coordinate system.
The processor 2 (more specifically, the program origin setting unit 22) sets the position of the program origin F1 by executing the program origin setting program 41b. The program origin F1 is an origin on the machining simulation coordinate system. More specifically, the processor 2 sets the position of the program origin F1 (refer to FIG. 4), which is the origin on the machining simulation coordinate system, based on the machine model origin F0 (refer to FIG. 4), on the machining simulation coordinate system, that corresponds to the machine origin G0 (refer to FIG. 3) of the numerically controlled lathe 8A, the above-described jaw model 94m, and the above-described workpiece model 95m.
As illustrated in FIG. 4, the machine model origin F0 is a point that simulates the machine origin G0 of the numerically controlled lathe 8A on the machining simulation coordinate system. Note that the position data 43e of the machine model origin F0 is preferably stored in the memory 4 in advance.
In an example illustrated in FIG. 4, the distance between a reference face 910m that has been previously set (for example, a distal end face 911m of a shape model 91m of the spindle 91) and a contact surface between the jaw model 94m and a proximal end face 951m of the workpiece model 95m is defined as a distance L1. The distance between the proximal end face 951m of the workpiece model 95m and a distal end face 952m of the workpiece model 95m is defined as a distance L2. The distance between the reference face 910m that has been previously set (for example, the distal end face 911m of the shape model 91m of the spindle 91) and the machine model origin F0 is defined as a distance L3. The distance between the machine model origin F0 and the program origin F1 in a direction along the rotation axis AT of the chuck model 93m is defined as a distance L4. Furthermore, an intersection between the rotation axis AT of the chuck model 93m and a first face PL1 that passes through the machine model origin F0 and is orthogonal to the rotation axis AT is defined as an intersection CP1.
The processor 2 is capable of calculating the above-described distance L1 using, for example, position data of the reference face 910m stored in the memory 4, the first dimension data 43a, which is stored in the memory 4 and specifies the shape of the chuck model 93m, and the second dimension data 43b, which is stored in the memory 4 and specifies the shape of the jaw model 94m. The processor 2 is also capable of calculating the above-described distance L2 using the third dimension data 43c, which is stored in the memory 4 and specifies the shape of the workpiece model 95m. The processor 2 is also capable of calculating the above-described distance L3 using, for example, the position data of the reference face 910m, which is stored in the memory 4, and the position data 43e of the machine model origin F0, which is stored in the memory 4. Furthermore, the processor 2 is capable of calculating the above-described distance L4 using a mathematical expression: distance L4=distance L3−distance L1−distance L2. Note that, the distance L4 is calculated using a model in which a bottom of the jaw model 94m is in contact with the proximal end face 951m of the workpiece model 95m.
In the example illustrated in FIG. 4, the processor 2 (more specifically, the program origin setting unit 22) is capable of setting, based on the machine model origin F0, the jaw model 94m, and the workpiece model 95m, the position of the program origin F1 to a position that is moved by the distance L4 from the above-described intersection CP1 toward the distal end face 952m of the workpiece model 95m along the above-described rotation axis AT. In this manner, the processor 2 accurately sets the position of the program origin F1 to a predetermined position of the workpiece model (for example, an intersection CP2 between the above-described rotation axis AT and the distal end face 952m of the workpiece model) regardless of the diversity of the shape of the jaw model and the diversity of the shape of the workpiece model.
Additionally, as illustrated in FIG. 3, when a reference point G2 (for example, a reference workpiece origin) positionally fixed with respect to the machine origin G0 is set, a reference point F2 (for example, a reference workpiece model origin) positionally fixed with respect to the machine model origin F0 may be set in the machining simulation coordinate system (refer to FIG. 5). The position data of the reference point F2 may be stored in the memory 4. The reference point F2 (refer to FIG. 5) is a point corresponding to the above-described reference point G2 (refer to FIG. 3) in the machining simulation coordinate system.
In an example illustrated in FIG. 5, the distance between the above-described reference point F2 and the machine model origin F0 in a direction along the above-described rotation axis AT is defined as a distance L5. The distance between the above-described reference point F2 and the program origin F1 in the direction along the above-described rotation axis AT is defined as a distance L6. Furthermore, an intersection between the above-described rotation axis AT and a second face PL2 that passes through the reference point F2 and is orthogonal to the rotation axis AT is defined as an intersection CP3.
The processor 2 is capable of calculating the above-described distance L5 using the position data of the reference point F2 and the position data 43e of the machine model origin F0, which are stored in the memory 4. The processor 2 is also capable of calculating the above-described distance L6 using a mathematical expression: distance L6=distance L3−distance L1−distance L2−distance L5. Note that, the distance L6 is calculated using a model in which a bottom of the jaw model 94m is in contact with the proximal end face 951m of the workpiece model 95m.
In the example illustrated in FIG. 5, the processor 2 (more specifically, the program origin setting unit 22) is capable of setting, based on the machine model origin F0, the jaw model 94m, and the workpiece model 95m, the position of the program origin F1 to a position that is moved by the distance L6 from the above-described intersection CP3 toward the distal end face 952m of the workpiece model 95m along the above-described rotation axis AT. In this manner, the processor 2 accurately sets the position of the program origin F1 to a predetermined position of the workpiece model (for example, the intersection CP2 between the above-described rotation axis AT and the distal end face 952m of the workpiece model) regardless of the diversity of the shape of the jaw model and the diversity of the shape of the workpiece model.
In the example illustrated in FIG. 4 or 5, the processor 2 sets the machining simulation coordinate system (for example, an x, y, z orthogonal coordinate system) with respect to the program origin F1.
In an example illustrated in FIG. 6, the processor 2 performs a machining simulation of virtually machining the workpiece model 95m, which is the shape model of the workpiece 95, by executing the machining program 42 using the program origin F1 as a reference position. As used herein, the processor 2 executing the machining program 42 encompasses the processor 2 executing the machining program 42 via the computation program 41 (more specifically, the simulation computation program 41c). In other words, the machining program 42 may be processed (in other words, analyzed) by the processor 2 executing the computation program 41. The processor 2 may perform the machining simulation of virtually machining the workpiece model 95m, based on the processing (in other words, based on the analysis).
The processor 2 may display the simulation image 50A on the display device 5 by executing the machining program 42 via the simulation computation program 41c, which is stored in the memory 4, and also executing the display program 41d, which is stored in the memory 4. The display program 41d may be a program different from the simulation computation program 41c, or may be a program incorporated in the simulation computation program 41c.
In an example illustrated in FIG. 8, the numerically controlled lathe 8A includes the plurality of jaws 94, the chuck 93, the spindle 91, a tool rest 96, a first tool holding unit 97, and a first tool 98. The plurality of jaws 94 grip the workpiece 95. The chuck 93 supports the plurality of jaws 94. The spindle 91 supports the chuck 93 and rotates about the first axis AX1. The first tool holding unit 97 is held by the tool rest 96. The first tool 98 is held by the first tool holding unit 97. The numerically controlled lathe 8A may include another tool holding unit 97-2 and another tool 98-2. The other tool holding unit 97-2 may be held by the tool rest 96. The other tool 98-2 may be held by the other tool holding unit 97-2. The numerically controlled lathe 8A may also include a tailstock that presses a distal end face of the workpiece 95.
In the example illustrated in FIG. 6, the simulation image 50A includes at least an image of the workpiece model 95m corresponding to the workpiece 95, images of the plurality of jaw models 94m corresponding to the plurality of jaws 94, an image of a tool rest model 96m corresponding to the tool rest 96, an image of a first tool holding unit model 97m corresponding to the first tool holding unit 97, and an image of a first tool model 98m corresponding to the first tool 98. The simulation image 50A may include an image of another tool holding unit model 97m-2 corresponding to the other tool holding unit 97-2 and an image of another tool model 98m-2 corresponding to the other tool 98-2. Additionally, as illustrated in FIG. 7, the simulation image 50A may include an image of a tailstock model 99m corresponding the tailstock.
The processor 2 (more specifically, the movement path generating unit 23) generates movement path data of the first tool model 98m with respect to the program origin F1 in the machining simulation coordinate system by executing the machining program 42 via the simulation computation program 41c, which is stored in the memory 4. As the simulation image 50A, the processor 2 may display, on the display device 5, a moving image of the first tool model 98m and plurality of models (96m, 97m, 97m-2, and 98m-2) that move together with the first tool model 98m with respect to the workpiece model 95m along the path designated by the movement path data by executing the simulation computation program 41c and the display program 41d, which are stored in the memory 4. In the moving image, the simulated machining of the workpiece model 95m by the first tool model 98m is performed.
The processor 2 (more specifically, the interference checking unit 24) checks whether there is an abnormal interference, in the machining simulation coordinate system, between the first tool model 98m, which moves along the path designated by the above-described movement path data, and other plurality of models (for example, the workpiece model 95m and the tailstock model 99m) and between the plurality of models that move together with the first tool model 98m and other plurality of models (for example, the workpiece model 95m and the tailstock model 99m) by executing the simulation computation program 41c, which is stored in the memory 4. As used herein, the term “abnormal interference” means an interference between models that are not supposed to interfere with each other. For example, the term “abnormal interference” includes (1) an interference between the first tool holding unit model 97m mounted on the tool rest model 96m and the workpiece model 95m, (2) an interference between the other tool holding unit model 97m-2 different from the first tool holding unit model 97m, which is mounted on the tool rest model 96m, or the other tool model 98m-2 different from the first tool model 98m and the workpiece model 95m, and (3) an interference between the first tool model 98m that moves along the path designated by the above-described movement path data or the plurality of models that move together with the first tool model 98m and the tailstock model 99m.
The communication circuit 3 transmits, to the numerically controlled lathe 8A (refer to FIG. 8), data 43f indicating the position of the above-described program origin F1 (refer to FIG. 4 or 5), which is set by the processor 2.
In the machining simulation apparatus 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, the position of the program origin F1 (refer to FIG. 4 or 5) with respect to the machine model origin F0 is accurately set on the machining simulation coordinate system regardless of the diversity of the shape of the jaw model and the diversity of the shape of the workpiece model. This allows the machining simulation to be performed with higher accuracy with respect to the program origin F1 (refer to FIG. 6 or 7). Performing the highly accurate machining simulation omits or simplifies an interference check performed using the numerically controlled lathe 8A. The omission or the simplifying of the interference check at a machining site improves an operating rate of the numerically controlled lathe 8A. Further, an operator workload at the machining site is reduced.
In the machining simulation apparatus 1A according to the first embodiment, the program origin F1 on the machining simulation coordinate system is accurately set, and the data 43f indicating the position of the program origin F1 that has been accurately set is transmitted to the numerically controlled lathe 8A. In this case, the numerically controlled lathe 8A sets a machining program origin by utilizing the program origin F1 on the machining simulation coordinate system. This eliminates the need for or simplifies an operation of actually measuring the reference position of the workpiece 95 in order to set the machining program origin. The reduction in preparation work performed at the machining site further improves the operating rate of the numerically controlled lathe 8A. The operator workload at the machining site is further reduced. The consumption of energy involved in the preparation work is reduced. This also reduces load on the environment.
In contrast to the numerically controlled lathe 8A that needs to be installed at the machining site, it is possible to install the machining simulation apparatus 1A at any of the machining site, office, and operator's home. When the machining simulation apparatus 1A is installed at a location other than the machining site, a working environment of the operator is improved.
Further, part of the preparation work is digitized, and digital transformation (DX) is promoted. In other words, using the machining simulation apparatus 1A according to the first embodiment promotes digital transformation to improve the work flow.
Numerically Controlled Lathe 8A
Next, the numerically controlled lathe 8A according the first embodiment will be described.
In the example illustrated in FIG. 8, the numerically controlled lathe 8A includes the control unit 80, the chuck 93, the jaws 94, the spindle 91, a rotary drive device (an example of a “rotary driver”) 90, and a moving device (an example of a “motion driver”) 87 that moves a tool. The numerically controlled lathe 8A may include the tool rest 96 (for example, a turret 96t). The tool holding unit that holds the tool is mounted on the tool rest 96. The numerically controlled lathe 8A may include a second rotary drive device 88. The second rotary drive device 88 causes the turret 96t to rotate about a second axis AX2. The numerically controlled lathe 8A (more specifically, the tool rest 96) may include a third rotary drive device that causes the tool to rotate around a tool axis.
The chuck 93 supports the jaws 94. The chuck 93 causes the jaws 94 to move in a direction toward a rotation axis AX of the chuck 93 and to move in a direction away from the rotation axis AX.
The plurality of jaws 94 are mounted on the chuck 93 and grip the workpiece 95.
The spindle 91 supports the chuck 93. Further, the spindle 91 rotates about the first axis AX1 by a driving force of the rotary drive device 90.
The rotary drive device 90 causes the spindle 91 to rotate about the first axis AX1. The first axis AX1 is coaxial with the rotation axis AX of the chuck 93. The rotary drive device 90 causes the spindle 91 to rotate about the first axis AX1. This causes the spindle 91, the chuck 93, the plurality of jaws 94, and the workpiece 95 to integrally rotate about the first axis AX1.
The moving device 87 causes the first tool 98 to move. The first tool 98 machines the workpiece 95. The moving device 87 causes the first tool 98, the first tool holding unit 97, which holds the first tool 98, and the tool rest 96 (for example, the turret 96t), which supports the first tool holding unit 97 to move one-, two- or three-dimensionally.
As illustrated in FIG. 8, the moving device 87 may include a first moving device 87a. The first moving device 87a causes the tool rest 96 (for example, the turret 96t) to move in a direction (in other words, a Y-axis direction) that is perpendicular to the first axis AX1 and parallel to a horizontal plane. Additionally, the moving device 87 may include a second moving device 87b. The second moving device 87b causes the tool rest 96 (for example, the turret 96t) to move in a direction (in other words, a Z-axis direction) that is parallel to the first axis AX1. Further, the moving device 87 may include a third moving device 87c. The third moving device 87c changes the height of the tool rest 96 (for example, the turret 96t).
The control unit 80 controls control target devices. More specifically, the control unit 80 controls each of the plurality of control target devices (for example, the rotary drive device 90, the moving device 87, and the second rotary drive device 88) by transmitting a control command to each of the plurality of control target devices. The control unit 80 may be distributed to a plurality of locations. In other words, the control unit may be divided into a plurality of sub-units that are communicable with each other.
In an example illustrated in FIG. 9, the numerically controlled lathe 8A (more specifically, the control unit 80) includes a second processor 82, a second communication circuit 83, a second memory 84, and the second display device 85. Additionally, the numerically controlled lathe 8A (more specifically, the control unit 80) may include a second input device 86. The second input device 86 may be incorporated in the second display device 85 (more specifically, the second display device 85 may be a touch panel display 852 containing the second input device 86). Alternatively or additionally, the numerically controlled lathe 8A may include a second input device (for example, a button, a switch, a lever, a pointing device, and a keyboard) provided separately from the second display device.
In the example illustrated in FIG. 9, the second processor 82, the second communication circuit 83, the second memory 84, the second display device 85, and/or the second input device 86 are coupled to each other via a bus 81. The second processor 82 includes at least one processor 82a (for example, at least one CPU).
The second communication circuit 83 receives, from the machining simulation apparatus 1A, the data 43f, which indicates the position of the program origin F1. The second memory 84 stores the data 43f, which indicates the position of the program origin F1 and has been received by the second communication circuit 83. The machining simulation apparatus 1A and the program origin F1 have already been described in the description of the machining simulation apparatus 1A according to the first embodiment, and repetitive descriptions of the machining simulation apparatus 1A and the program origin F1 are therefore omitted.
The second memory 84 is a storage medium from which the second processor 82 is readable. The second memory 84 may include a non-volatile or volatile semiconductor memory, a magnetic disk, or other forms of memory. The non-volatile or volatile semiconductor memory may include, for example, a RAM, a ROM, and a flash memory. The second memory 84 stores a computation program 841, the machining program 42, and data 843 (for example, position data of the machine origin G0 and dimension data that specifies the shape of the workpiece 95).
In the example illustrated in FIG. 9, the second memory 84 stores a machining computation program 841a and a second display program 841b. The second memory 84 may be distributed to a plurality of locations. For example, a memory that stores the machining program 42 may be provided separately from a memory that stores the computation program 841 or the data 843.
The second processor 82 sets, based on the position of the program origin F1, the position (refer to FIG. 10) of the machining program origin G1 in the machining program coordinate system. The second processor 82 preferably sets the position of the above-described machining program origin G1 to make a relative position (refer to FIG. 10) of the machining program origin G1 with respect to the machine origin G0 in the machining program coordinate system equal to a relative position (refer to FIG. 4 or 5) of the program origin F1 with respect to the machine model origin F0 in the machining simulation coordinate system.
The second processor 82 determines the movement path of the first tool 98 with respect to the machining program origin G1 in the machining program coordinate system by executing the machining program 42, which is stored in the second memory 84. As used herein, the second processor 82 executing the machining program 42 encompasses the second processor 82 executing the machining program 42 via the machining computation program 841a. In other words, the machining program 42 may be processed (in other words, analyzed) by the second processor 82 executing the machining computation program 841a. The second processor 82 may determine the movement path of the first tool 98 with respect to the machining program origin G1 in the machining program coordinate system, based on the processing (in other words, based on the analysis). The second processor 82 generates, based on the movement path, a movement command 87i to be transmitted to the moving device 87. The movement command 87i (refer to FIG. 11), which is generated by the second processor 82, is transmitted to the moving device 87. The second processor 82 generates a rotation command 90i by executing the machining program 42 (for example, by executing the machining program 42 via the machining computation program 841a). The rotation command 90i (refer to FIG. 11), which is generated by the second processor 82, is transmitted to the rotary drive device 90.
The rotary drive device 90, which receives the rotation command 90i, causes the spindle 91, the chuck 93, the plurality of jaws 94, and the workpiece 95 to integrally rotate about the first axis AX1. The moving device 87, which receives the movement command 87i, causes the first tool 98 to move along the above-described movement path.
The numerically controlled lathe 8A according to the first embodiment receives data (for example, the data 43f, which indicates the position of the program origin F1) from the machining simulation apparatus 1A, which executes the highly accurate machining simulation. Performing the highly accurate machining simulation in advance omits or simplifies the interference check performed using the numerically controlled lathe 8A. The omission or the simplifying of the interference check at the machining site improves the operating rate of the numerically controlled lathe 8A. Further, an operator workload at the machining site is reduced.
In the numerically controlled lathe 8A according to the first embodiment, the machining program origin G1 is set (refer to FIG. 10) in the machining program coordinate system, based on the position of the program origin F1 accurately set by the machining simulation apparatus 1A. This eliminates the need for or simplifies an operation of actually measuring the reference position of the workpiece 95 in order to set the machining program origin. The reduction in preparation work performed at the machining site further improves the operating rate of the numerically controlled lathe 8A. The operator workload at the machining site is further reduced. The consumption of energy involved in the preparation work is reduced. This also reduces load on the environment.
Machine Tool System 100A
Next, the machine tool system 100A according to the first embodiment will be described.
As illustrated in FIG. 25, the machine tool system 100A according to the first embodiment includes the machining simulation apparatus 1A and the numerically controlled lathe 8A. The machining simulation apparatus 1A and the numerically controlled lathe 8A are preferably coupled to each other via a network 101 to be communicable with each other. The network 101 may be a corporate network or an external network (for example, the Internet). The machining simulation apparatus 1A and the numerically controlled lathe 8A have already been described, and repetitive descriptions of the machining simulation apparatus 1A and the numerically controlled lathe 8A are therefore omitted.
Optional Structures
Next, with reference to FIGS. 1 to 25, optional structures adaptable to the machining simulation apparatus 1A, the numerically controlled lathe 8A, or the machine tool system 100A according to the first embodiment will be described.
Displaying of Offset Amount T1
The processor 2 (more specifically, the program origin setting unit 22) may calculate the offset amount T1. The offset amount T1 indicates the relative position of the program origin F1.
In the example illustrated in FIG. 5, the offset amount T1 is an offset amount of the program origin F1 in the machining simulation coordinate system with respect to the reference point F2 (for example, the reference workpiece model origin), which is positionally fixed with respect to the machine model origin F0 in the machining simulation coordinate system. The offset amount T1 is an offset amount (that is, a z-offset amount) in a z-axis direction (in other words, a direction along the rotation axis AT of the chuck model 93m).
Alternatively, as illustrated in FIG. 4, the offset amount T1 may be an offset amount of the program origin F1 in the machining simulation coordinate system with respect to the machine model origin F0 in the machining simulation coordinate system. The offset amount T1 is the offset amount (that is, the z-offset amount) in the z-axis direction (in other words, the direction along the rotation axis AT of the chuck model 93m).
In an example illustrated in FIG. 12, the processor 2 causes the display device 5 to display the above-described offset amount T1 by executing the display program 41d, which is stored in the memory 4. With the offset amount T1 being displayed on the display device 5, it is possible for the operator to numerically check the relative position of the program origin F1.
The processor 2 (more specifically, the display image generating unit 25) may cause the display device 5 to display the above-described offset amount T1 in an operator editable form by executing the display program 41d, which is stored in the memory 4. In this case, it is possible for the operator to correct, using the input device 6, the position of the program origin F1 that is automatically set by the processor 2.
As illustrated in FIG. 12, the processor 2 may cause the display device 5 to display the above-described offset amount T1, the jaw model 94m, the workpiece model 95m, and an image IM of the program origin F1 at the same time by executing the display program 41d. In this case, it is possible for the operator to easily grasp the offset amount T1, the arrangement of the jaw model 94m and the workpiece model 95m, and the position of the program origin F1.
In the example illustrated in FIG. 12, the processor 2 causes the display device 5 to display the assembly model 92m, in which the chuck model 93m, the jaw model 94m, and the workpiece model 95m are assembled, in a three-dimensional display form by executing the three-dimensional model creating program 41a and the display program 41d, which are stored in the memory 4. In this case, it is easy for the operator to intuitively grasp original data used to derive the program origin F1 (or the offset amount T1).
The machining simulation apparatus 1A may transmit, to the numerically controlled lathe 8A, the data indicating the above-described offset amount T1 as the above-described data 43f, which indicates the position of the program origin F1.
Setting of Jaw Model 94m
In an example illustrated in FIG. 13, the processor 2 (more specifically, the display image generating unit 25) causes the display device 5 to display the setting window 50B of the jaw model 94m by executing the computation program 41 (more specifically, the display program 41d), which is stored in the memory 4. When the jaw model 94m used last time is to be used as it is, the setting of the jaw model 94m may be omitted.
In the setting window 50B, a specific jaw model (hereinafter, referred to as a specific jaw model 94m-s) may be selected, via the input device 6, out of the plurality of jaw models 94m the shapes of which have already been set. This may cause the selected specific jaw model 94m-s to be determined as the jaw model 94m to be used to set the position of the above-described program origin F1.
Alternatively or additionally, the processor 2 may cause the display device 5 to display the second dimension data 43b, which specifies the shape of the jaw model 94m, in the operator editable form by executing the display program 41d, which is stored in the memory 4. The display device 5 may display, in the setting window 50B, an entry field 501 in which a value of the second dimension data 43b is to be input. The processor 2 may cause the display device 5 to display the jaw model 94m in the three-dimensional display form, a dimension line S2 added to the jaw model 94m in the three-dimensional display form, and the entry field 501 in which the length of the dimension line S2 is to be input, at the same time by executing the computation program 41 (more specifically, the three-dimensional model creating program 41a and the display program 41d), which is stored in the memory 4. The processor 2 may automatically change the shape of the jaw model 94m in the three-dimensional display form and the length of the dimension line S2, based on the value input to the entry field 501, and cause the display device 5 to automatically display the jaw model 94m after the change and the dimension line S2 after the change.
In the example illustrated in FIG. 13, in response to receiving the data for setting the jaw model 94m via the input device 6, the processor 2 determines the second dimension data 43b, which specifies the shape of the jaw model 94m, and stores, in the memory 4, the second dimension data 43b that has been determined. Alternatively, the processor 2 may acquire dimension data of the jaw model created using software such as CAD software via, for example, the communication circuit 3, convert the dimension data to a form compatible with, for example, the three-dimensional model creating program 41a, and store the converted dimension data in the memory 4 as the second dimension data 43b, which specifies the shape of the jaw model 94m.
Setting of Workpiece Model 95m
In an example illustrated in FIG. 14, the processor 2 (more specifically, the display image generating unit 25) causes the display device 5 to display the setting window 50C of the workpiece model 95m by executing the computation program 41 (more specifically, the display program 41d), which is stored in the memory 4. In the example illustrated in FIG. 14, the processor 2 extracts the workpiece model (hereinafter, referred to as a “designated workpiece model”) designated by the machining program 42 by analyzing the machining program 42. The processor 2 causes the display device 5 to display the designated workpiece model as a default model of the workpiece model 95m used for setting the position of the above-described program origin F1 by executing the display program 41d, which is stored in the memory 4. The display device 5 may display dimension data DT1 that specifies the shape of the default model in the operator editable form. For example, the display device 5 may display, in the setting window 50C, an entry field 502 in which a value of the dimension data DT1 is to be changed. When a changing value of the dimension data DT1 is input in the entry field 502, the workpiece model 95m that reflects the changing value is set. When the changing value of the dimension data DT1 is not input in the entry field 502, the default model is set as the workpiece model 95m as it is.
Alternatively or additionally, as illustrated in FIG. 15, the processor 2 (more specifically, the display image generating unit 25) may cause the display device 5 to display the workpiece model creation window 50D by executing the computation program 41 (more specifically, the display program 41d), which is stored in the memory 4. In an example illustrated in FIG. 15, the processor 2 causes the third dimension data 43c, which specifies the shape of the workpiece model 95m, to be displayed in the operator editable form by executing the display program 41d, which is stored in the memory 4. The display device 5 may display, in the workpiece model creation window 50D, entry fields 503 in which values of the third dimension data 43c are to be input. The processor 2 may display, on the display device 5, the workpiece model 95m in the three-dimensional display form, a dimension line S3 added to the workpiece model 95m in the three-dimensional display form, and an entry field 503 in which the length of the dimension line S3 is to be input, at the same time by executing the computation program 41 (more specifically, the three-dimensional model creating program 41a and the display program 41d), which is stored in the memory 4. The processor 2 may automatically change the shape of the workpiece model 95m in the three-dimensional display form and the length of the dimension line S3, based on values input to the entry fields 503, and cause the display device 5 to automatically display the workpiece model 95m after the change and the dimension line S3 after the change.
In the example illustrated in FIG. 15, in response to receiving the data for setting the workpiece model 95m via the input device 6, the processor 2 determines the third dimension data 43c, which specifies the shape of the workpiece model 95m, and stores, in the memory 4, the third dimension data 43c that has been determined. Alternatively, the processor 2 may acquire dimension data of the workpiece model created using software such as CAD software via, for example, the communication circuit 3, convert the dimension data to a form compatible with, for example, the three-dimensional model creating program 41a, and store the converted dimension data in the memory 4 as the third dimension data 43c, which specifies the shape of the workpiece model 95m.
Setting of Chuck Model 93m
In an example illustrated in FIG. 16, the processor 2 (more specifically, the display image generating unit 25) causes the display device 5 to display the setting window 50E of the chuck model 93m by executing the computation program 41 (more specifically, the display program 41d), which is stored in the memory 4. When the chuck model 93m used last time is to be used as it is, the setting of the chuck model 93m may be omitted.
In the example illustrated in FIG. 16, the processor 2 causes the display device 5 to display the first dimension data 43a, which specifies the shape of the chuck model 93m, in the operator editable form by executing the display program 41d, which is stored in the memory 4. The display device 5 may display, in the setting window 50E, entry fields 504 in which values of the first dimension data 43a are to be input. The processor 2 may display, on the display device 5, the chuck model 93m in the three-dimensional display form, a dimension line S1 added to the chuck model 93m in the three-dimensional display form, and an entry field 504 in which the length of the dimension line S1 is to be input, at the same time by executing the computation program 41 (more specifically, the three-dimensional model creating program 41a and the display program 41d), which is stored in the memory 4. The processor 2 may automatically change the shape of the chuck model 93m in the three-dimensional display form and the length of the dimension line S1, based on values input to the entry fields 504, and cause the display device 5 to automatically display the chuck model 93m after the change and the dimension line S1 after the change.
In the example illustrated in FIG. 16, in response to receiving the data for setting the chuck model 93m via the input device 6, the processor 2 determines the first dimension data 43a, which specifies the shape of the chuck model 93m, and stores, in the memory 4, the first dimension data 43a that has been determined. Alternatively, the processor 2 may acquire dimension data of the chuck model created using software such as CAD software via, for example, the communication circuit 3, convert the dimension data to a form compatible with, for example, the three-dimensional model creating program 41a, and store the converted dimension data in the memory 4 as the first dimension data 43a, which specifies the shape of the chuck model 93m.
In an example illustrated in FIG. 17, the processor 2 (more specifically, the three-dimensional model creating unit 21) creates the assembly model 92m, in which the chuck model 93m, the jaw model 94m, and the workpiece model 95m are assembled, based on the chuck model 93m that has been set, the jaw model 94m that has been set, and the workpiece model 95m that has been set, by executing the computation program 41 (more specifically, the three-dimensional model creating program 41a), which is stored in the memory 4. Further, the processor 2 (more specifically, the display image generating unit 25) causes the display device 5 to display the assembly model 92m that has been created by executing the computation program 41 (more specifically, the display program 41d), which is stored in the memory 4.
In the example illustrated in FIG. 16, the shape of the chuck model 93m is changeable. In this case, in setting the position of the program origin F1, the dimension data of the chuck model 93m is used in addition to the dimension data of the jaw model 94m and the dimension data of the workpiece model 95m.
In an example illustrated in FIG. 18, the processor 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, that corresponds to the machine origin G0 (refer to 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).
In addition to the definition of the “distance L2”, the “distance L3”, and the “distance L4” in FIG. 4, in the example illustrated in FIG. 18, the distance between the reference face 910m that is previously set (for example, the distal end face 911m of the shape model 91m of the spindle 91) and a distal end face 931m of the chuck model 93m is defined as a distance L7. The distance between the distal end face 931m of the chuck model 93m and the contact surface between the jaw model 94m and the proximal end face 951m of the workpiece model 95m is defined as a distance L8.
The processor 2 is capable of calculating the above-described distance L7 and the above-described distance L8 using, for example, the position data of the reference face 910m, which is stored in the memory 4, the first dimension data 43a, which is stored in the memory 4 and specifies the shape of the chuck model 93m, and the second dimension data 43b, which is stored in the memory 4 and specifies the shape of the jaw model 94m. Methods for calculating the “distance L2” and the “distance L3” have already been described, and repetitive descriptions of the methods for calculating the distances are therefore omitted. Further, the processor 2 is capable of calculating the above-described distance L4 using a mathematical expression: distance L4=distance L3−distance L7−distance L8−distance L2. Note that, the distance L4 is calculated using a model in which the bottom of the jaw model 94m is in contact with the proximal end face 951m of the workpiece model 95m.
In the example illustrated in FIG. 18, the processor 2 (the program origin setting unit 22) sets the position of the program origin F1 to a position that is moved by the distance L4 from the above-described intersection CP1 toward the distal end face 952m of the workpiece model 95m along the rotation axis AT of the chuck model 93m. In this manner, the processor 2 accurately sets the position of the program origin F1 to a predetermined position of the workpiece model (for example, the intersection CP2 between the above-described rotation axis AT and the distal end face 952m of the workpiece model) regardless of the diversity of the shape of the jaw model, the diversity of the shape of the workpiece model, and the diversity of the shape of the chuck model.
Additionally, as illustrated in FIG. 3, when the reference point G2 (for example, the reference workpiece origin) positionally fixed with respect to the machine origin G0 is set, the reference point F2 (for example, the reference workpiece model origin) positionally fixed with respect to the machine model origin F0 may be set in the machining simulation coordinate system (refer to FIG. 19). The position data of the reference point F2 may be stored in the memory 4. The reference point F2 (refer to FIG. 19) is a point corresponding to the above-described reference point G2 (refer to FIG. 3) in the machining simulation coordinate system.
In an example illustrated in FIG. 19, the processor 2 (more specifically, the program origin setting unit 22) is capable of calculating the above-described distance L6 using a mathematical expression: distance L6=distance L3−distance L7−distance L8−distance L2−distance L5. Note that, methods for calculating the “distance L2”, the “distance L3”, the “distance L5”, the “distance L7”, and the “distance L8” have already been described, and repetitive descriptions of the methods for calculating the distances are therefore omitted.
In the example illustrated in FIG. 19, the processor 2 (more specifically, the program origin setting unit 22) is capable of setting the position of the program origin F1 to a position that is moved by the distance L6 from the above-described intersection CP3 toward the distal end face 952m of the workpiece model 95m along the rotation axis AT of the chuck model 93m. In this manner, the processor 2 accurately sets the position of the program origin F1 to a predetermined position of the workpiece model (for example, the intersection CP2 between the above-described rotation axis AT and the distal end face 952m of the workpiece model) regardless of the diversity of the shape of the jaw model, the diversity of the shape of the workpiece model, and the diversity of the shape of the chuck model.
The processor 2 sets the position of the above-described program origin F1, based on the machine model origin F0, the jaw model 94m, the workpiece model 95m, and the chuck model 93m. Further, after the position of the program origin F1 is set, the processor 2 (more specifically, the movement path generating unit 23 and the interference checking unit 24) performs the machining simulation of virtually machining the workpiece model 95m using the program origin F1 as the reference position. The operation and the displaying of the machining simulation have already been described, and repetitive descriptions of the operation and the displaying are therefore omitted.
Machining Program Origin G1
In the example illustrated in FIG. 9, the second communication circuit 83 of the numerically controlled lathe 8A receives the data 43f, which indicates 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 apparatus 1A. The second memory 84 stores the data 43f, which is received by the second communication circuit 83 and indicates the position of the program origin F1 (for example, the data 430f, which indicates the offset amount T1 of the program origin F1).
In the example illustrated in FIG. 20, the second processor 82 causes 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 with respect to the machine model origin F0 or the reference point F2 positionally fixed with respect to the machine model origin F0) by executing the second display program 841b, which is stored in the second memory 84.
The above-described offset amount T1 functions as a default value of the offset amount (hereinafter, referred to as the “second offset amount T2”) of the machining program origin G1 with respect to the machine origin G0 or the reference point G2 (refer to FIG. 3) positionally fixed with respect to the machine origin G0. FIG. 10 schematically illustrates an example of the second offset amount T2. The second offset amount T2 is an offset amount (that is, a z-offset amount) in the z-axis direction (in other words, a direction along the rotation axis AX of the chuck 93).
The above-described offset amount T1 that has been set in the machining simulation apparatus 1A functions as the default value of the above-described second offset amount T2 to be set in the numerically controlled lathe 8A. This omits or simplifies the setting operation of the above-described second offset amount T2 in the numerically controlled lathe 8A (for example, the second offset amount T2 is set without actually measuring the reference position of the workpiece 95).
As illustrated in FIG. 20, the second processor 82 may cause the second display device 85 to display the above-described offset amount T1 (in other words, the default value DD of the second offset amount) in the operator editable form by executing the display program 41d, which is stored in the memory 4. The second display device 85 may display an entry field 853 in which the default value DD of the second offset amount T2 is to be changed to another value. Inputting a numerical value to the entry field 853 and operating a change operation portion 858a (more specifically, a change operation image displayed on the display device 5) cause the second offset amount T2 to be changed to the numerical value input to the entry field 853 from the default value DD.
The second processor 82 sets (refer to FIG. 10) the position of the machining program origin G1, based on the second offset amount T2 and the machine origin G0 or the reference point G2 positionally fixed with respect to the machine origin G0. Further, the second processor 82 determines the movement path of the first tool 98 with respect to the machining program origin G1 in the machining program coordinate system by executing the machining program 42, which is stored in the second memory 84 (for example, by executing the machining program 42 via the machining computation program 841a). Further, the second processor 82 generates, based on the movement path, the movement command 87i to be transmitted to the moving device 87. The movement command 87i (refer to FIG. 11), which is generated by the second processor 82, is transmitted to the moving device 87. The second processor 82 generates the rotation command 90i by executing the machining program 42 (for example, by executing the machining program 42 via the machining computation program 841a). The rotation command 90i (refer to FIG. 11), which is generated by the second processor 82, is transmitted to the rotary drive device 90. This causes the first tool 98 to move along the movement path, and the workpiece 95 to be machined by the first tool 98.
Usage of Jaw Model 94m and Workpiece Model 95m
The second communication circuit 83 of the numerically controlled lathe 8A may receive, from the machining simulation apparatus 1A, the second dimension data 43b, which specifies the shape of the jaw model 94m, and the third dimension data 43c, which specifies the shape of the workpiece model 95m. Additionally, the second communication circuit 83 may receive, from the machining simulation apparatus 1A, the first dimension data 43a, which specifies the shape of the chuck model 93m.
As illustrated in FIG. 9, the second memory 84 may store the second dimension data 43b, which specifies the shape of the jaw model 94m and is received via the second communication circuit 83, as default data (hereinafter, referred to as the “first default data DD1”) of a fifth dimension data 843b. The fifth dimension data 843b specifies the shape of the jaw 94. The second memory 84 may store the third dimension data 43c, which specifies the shape of the workpiece model 95m and is received via the second communication circuit 83, as default data (hereinafter, referred to as the “second default data DD2”) of a sixth dimension data 843c. The sixth dimension data 843c specifies the shape of the workpiece 95. Further, the second memory 84 may store the first dimension data 43a, which specifies the shape of the chuck model 93m and is received via the second communication circuit 83, as default data (hereinafter, referred to as “third default data DD3”) of a fourth dimension data 843a. The fourth dimension data 843a specifies the shape of the chuck 93.
As illustrated in FIG. 20, the second processor 82 may cause the second display device 85 to display an assembly 92 in which the chuck 93, the jaw 94, and the workpiece 95 are assembled in the three-dimensional display form, based on the default data (DD1, DD2, and DD3) by executing the second display program 841b, which is stored in the second memory 84. The second display device 85 may display a three-dimensional image of the assembly 92 and an image IM2 indicating the machining program origin G1 at the same time. The image IM2 will be described later.
In an example illustrated in FIG. 21, the second processor 82 causes the second display device 85 to display the first default data DD1, which specifies the shape of the jaw 94, in the operator editable form by executing the second display program 841b, which is stored in the second memory 84. The second display device 85 may display an entry field 854 in which a value of the first default data DD1 is to be changed to another value. Inputting a numerical value to the entry field 854 and operating a change operation portion 858b (more specifically, a change operation image displayed on the second display device 85) cause the fifth dimension data 843b, which specifies the shape of the jaw 94, to be changed based on the numerical value input to the entry field 854.
As illustrated in FIG. 22, the second processor 82 may cause the second display device 85 to display the message MG1, which recommends to execute the machining simulation again, in response to changing of any of values of the first default data DD1 over a permissible value that has been previously set. In other words, the second processor 82 may cause the second display device 85 to display the message MG1, which recommends to execute the machining simulation again, in response to exceeding of a deviation amount of the shape of the jaw 94 with respect to the shape of the jaw model 94m over a permissible amount. In this case, the operator preferably performs resetting of the assembly model 92m, which includes the jaw model 94m and the workpiece model 95m, resetting of the program origin F1, and re-execution of the machining simulation using the machining simulation apparatus 1A.
In an example illustrated in FIG. 23, the second processor 82 causes the second display device 85 to display the second default data DD2, which specifies the shape of the workpiece 95, in the operator editable form by executing the second display program 841b, which is stored in the second memory 84. The second display device 85 may display entry fields 855 in which values of the second default data DD2 are to be changed to other values. Inputting numerical values to the entry fields 855 and operating a change operation portion 858c (more specifically, a change operation image displayed on the second display device 85) change the sixth dimension data 843c, which specifies the shape of the workpiece 95, based on the numerical values input to the entry fields 855.
As illustrated in FIG. 24, the second processor 82 may cause the second display device 85 to display the message MG2, which recommends to execute the machining simulation again, in response to changing of any of values of the second default data DD2 over a permissible value that has been previously set. In other words, the second processor 82 may cause the second display device 85 to display the message MG2, which recommends to execute the machining simulation again, in response to exceeding of a deviation amount of the shape of the workpiece 95 with respect to the shape of the workpiece model 95m over a permissible amount. In this case, the operator preferably performs resetting of the assembly model 92m, which includes the jaw model 94m and the workpiece model 95m, resetting of the program origin F1, and re-execution of the machining simulation using the machining simulation apparatus 1A.
Machining Simulation Method and Computation Program 41
The machining simulation method according to the first embodiment will be described with reference to FIGS. 1 to 26. FIG. 26 is a flowchart illustrating an example of the machining simulation method according to the first embodiment.
As illustrated in FIG. 20, the second computation device 82 may cause the second display device 85 to display the above-described offset amount T1 (in other words, the default value DD of the second offset amount T2) in the operator editable form by executing the display program 41d, which is stored in the memory 4. The second display device 85 may display an entry field 853 in which the default value DD of the second offset amount T2 is to be changed to another value. Inputting a numerical value to the entry field 853 and operating a change operation portion 858a (more specifically, a change operation image displayed on the display device 5) cause the second offset amount T2 to be changed to the numerical value input to the entry field 853 from the default value DD.
The machining simulation method according to the first embodiment is executed using the machining simulation apparatus 1A according to the first embodiment or another machining simulation apparatus. The machining simulation apparatus 1A according to the first embodiment has already been described, and a repetitive description of the machining simulation apparatus 1A according to the first embodiment is therefore omitted.
At a first step ST1, the workpiece model 95m is set. The first step ST1 is a first setting step. The first setting step includes determining, by the processor 2 of the machining simulation apparatus 1, the third dimension data 43c, which specifies the shape of the workpiece model 95m, and storing, by the memory 4, the third dimension data 43c that has been determined.
As illustrated in FIG. 14, the first setting step may include extracting, by the processor 2, the workpiece model 95m designated by the machining program 42 by analyzing the machining program 42, and determining, by the processor 2, the third dimension data 43c, which specifies the shape of the workpiece model 95m, based on the workpiece model 95m that has been extracted. Alternatively, as illustrated in FIG. 15, the first setting step may include determining, by the processor 2, the third dimension data 43c, which specifies the shape of the workpiece model 95m, in response to receiving the data for setting the workpiece model 95m via the input device 6. Further alternatively, the first setting step may include reading, by the processor 2, the workpiece model 95m created in the past from the memory 4 and determining, by the processor 2, the third dimension data 43c, which specifies the shape of the workpiece model 95m, based on the workpiece model 95m that has been read.
The workpiece model 95m may be displayed on the display device 5 during the execution of the first step ST1 or after the execution of the first step ST1. As illustrated in FIG. 15, the displaying of the workpiece model 95m on the display device 5 may include displaying the third dimension data 43c, which specifies the shape of the workpiece model 95m, on the display device 5 in the operator editable form. In the example illustrated in FIG. 15, the display device 5 displays the workpiece model 95m in the three-dimensional display form, the dimension line S3 added to the workpiece model 95m in the three-dimensional display form, and the entry field 503 in which the length of the dimension line S3 is to be input, at the same time. The processor 2 automatically changes the shape of the workpiece model 95m in the three-dimensional display form and the length of the dimension line S3, based on values input to the entry fields 503, and causes the display device 5 to automatically display the workpiece model 95m after the change and the dimension line S3 after the change.
At a second step ST2, the jaw model 94m is set. The second step ST2 is a second setting step. The second setting step includes determining, by the processor 2, the second dimension data 43b, which specifies the shape of the jaw model 94m, and storing, by the memory 4, the second dimension data 43b that has been determined.
The second setting step may include determining, by the processor 2, the second dimension data 43b, which specifies the shape of the jaw model 94m, in response to receiving the data for setting the jaw model 94m via the input device 6. Alternatively, the second setting step may include reading, by the processor 2, the jaw model 94m created in the past from the memory 4 and determining, by the processor 2, the second dimension data 43b, which specifies the shape of the jaw model 94m, based on the jaw model 94m that has been read.
The jaw model 94m may be displayed on the display device 5 during the execution of the second step ST2 or after the execution of the second step ST2. As illustrated in FIG. 13, the displaying of the jaw model 94m on the display device 5 may include displaying the second dimension data 43b, which specifies the shape of the jaw model 94m, on the display device 5 in the operator editable form. In the example illustrated in FIG. 13, the display device 5 displays the jaw model 94m in the three-dimensional display form, the dimension line S2 added to the jaw model 94m in the three-dimensional display form, and the entry field 501, in which the length of the dimension line S2 is to be input, at the same time. The processor 2 automatically changes the shape of the jaw model 94m in the three-dimensional display form and the length of the dimension line S2, based on the value input to the entry field 501, and causes the display device 5 to automatically display the jaw model 94m after the change and the dimension line S2 after the change.
The second step ST2 may be executed after the first step ST1 or may be executed before the first step ST1.
At a third step ST3, the chuck model 93m is set. The third step ST3 is a third setting step. The third setting step includes determining, by the processor 2, the first dimension data 43a, which specifies the shape of the chuck model 93m, and storing, by the memory 4, the first dimension data 43a that has been determined.
The third setting step may include determining, by the processor 2, the first dimension data 43a, which specifies the shape of the chuck model 93m, in response to receiving the data for setting the chuck model 93m via the input device 6. Alternatively, the third setting step may include reading, by the processor 2, the chuck model 93m created in the past from the memory 4 and determining, by the processor 2, the first dimension data 43a, which specifies the shape of the chuck model 93m, based on the chuck model 93m that has been read.
The chuck model 93m may be displayed on the display device 5 during the execution of the third step ST3 or after the execution of the third step ST3. As illustrated in FIG. 16, the displaying of the chuck model 93m on the display device 5 may include displaying the first dimension data 43a, which specifies the shape of the chuck model 93m, on the display device 5 in the operator editable form. In the example illustrated in FIG. 16, the display device 5 displays the chuck model 93m in the three-dimensional display form, the dimension line S1 added to the chuck model 93m in the three-dimensional display form, and the entry field 504 in which the length of the dimension line S1 is to be input, at the same time. The processor 2 automatically changes the shape of the chuck model 93m in the three-dimensional display form and the length of the dimension line S1, based on values input to the entry fields 504, and causes the display device 5 to automatically display the chuck model 93m after the change and the dimension line S1 after the change.
The third step ST3 may be executed after the first step ST1 and the second step ST2 or may be executed before the first step ST1 and the second step ST2. Alternatively, the third step ST3 may be executed between the first step ST1 and the second step ST2. Note that, the third step ST3 may be omitted.
In a fourth step ST4, the processor 2 creates the assembly model 92m, in which the workpiece model 95m, the jaw model 94m, and the chuck model 93m are assembled. The fourth step ST4 is an assembly model creating step. The assembly model creating step preferably includes checking (in other words, a checking step) whether the assembly model 92m that has been created is normal. The checking step includes, for example, checking whether the jaw model 94m has a shape appropriate for gripping the workpiece model 95m. When the assembly model 92m is not normal, the processor 2 may cause the display device 5 to display an alert.
As illustrated in FIG. 17, the assembly model 92m created by the assembly model creating step may be displayed on the display device 5.
At a fifth step ST5, the position of the 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 illustrated in FIG. 17, the program origin setting step may be configured to be automatically executed by the processor 2 in response to operation of an origin setting operation portion 55 (more specifically, an origin setting operation portion 55a displayed on the display device 5).
As illustrated in FIG. 4 or 5, in the program origin setting step, the processor 2 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, that corresponds to the machine origin G0 of the numerically controlled lathe 8, the jaw model 94m, which is the shape model of the jaw 94 mounted on the chuck 93 of the numerically controlled lathe 8, and the workpiece model 95m, which is the shape model of the workpiece 95 gripped by the plurality of jaws 94.
Further, when the shape of the chuck model 93m is changeable, the processor 2 sets the position of the program origin F1 taking into consideration also the shape of the chuck model 93m. More specifically, as illustrated in FIG. 18 or 19, in the program origin setting step, the processor 2 sets the position of the program origin F1, which is the origin on the machining simulation coordinate system, based on the above-described machine model origin F0, the above-described jaw model 94m, the above-described workpiece model 95m, and the chuck model 93m.
A procedure by which the processor 2 sets the position of the program origin F1 has already been described with reference to FIG. 4 or 5 (or FIG. 18 or 19), and a repetitive description of the procedure is therefore omitted. Note that, data necessary for setting the position of the program origin F1 (for example, the position data of the reference face 910m, the position data 43e of the machine model origin F0, the second dimension data 43b, which specifies the shape of the jaw model 94m, and the third dimension data 43c, which specifies the shape of the workpiece model 95m) is preferably stored in the memory 4 before executing the program origin setting step.
The program origin setting step (the fifth step ST5) preferably includes storing, in the memory 4, the data 43f, which indicates the position of the program origin F1 set by the processor 2. Note that the data 43f, which indicates the position of the program origin F1, may be data indicating the offset amount T1 of the program origin F1 with respect to the machine model origin F0 or the reference point F2, which is positionally fixed with respect to the machine model origin F0.
In a sixth step ST6, at least one of the image IM indicating the position of the program origin F1 set by the processor 2 and the above-described offset amount T1 is displayed on the display device 5 (refer to FIG. 12). The sixth step ST6 is a displaying step. The displaying step may include displaying, on the display device 5, the above-described offset amount T1, the jaw model 94m in the three-dimensional display form, the workpiece model 95m in the three-dimensional display form, and the image IM, which indicates the program origin F1, at the same time. The displaying step may include displaying, on the display device 5, the above-described offset amount T1 in the operator editable form. Note that, the displaying step (the sixth step ST6) may be omitted.
At a seventh step ST7, the machining simulation of virtually machining the workpiece model 95m is executed. The seventh step ST7 is a machining simulation execution step. The machining simulation execution step includes performing, by the processor 2 (more specifically, the movement path generating unit 23 and the interference checking unit 24), the machining simulation of virtually machining the workpiece model 95m by executing the machining program 42 using the program origin F1 as the reference position.
The machining simulation execution step includes generating, by the processor 2, the movement path data of the first tool model 98m that performs simulated machining of the workpiece model 95m with respect to the program origin F1 in the machining simulation coordinate system.
As illustrated in FIG. 6 or 7, the machining simulation execution step may include displaying, on the display device 5, a moving image of the first tool model 98m and the plurality of models (96m, 97m, 97m-2, and 98m-2) that move together with the first tool model 98m with respect to the workpiece model 95m along the path designated by the above-described movement path data. In the moving image, the simulated machining of the workpiece model 95m by the first tool model 98m is performed.
The machining simulation execution step may include checking, by the processor 2, whether there is an abnormal interference between the first tool model 98m and other plurality of models (for example, the workpiece model 95m and the tailstock model 99m) and between the plurality of models that move together with the first tool model 98m and other plurality of models (for example, the workpiece model 95m and the tailstock model 99m). Further, the machining simulation execution step may include displaying, on the display device 5, a message indicating that there is an abnormal interference when it is determined, by the processor 2, that there is an abnormal interference.
At an eighth step ST8, pieces of data (43a, 43b, 43c, and 43f) are transmitted to the numerically controlled lathe 8 from the communication circuit 3 of the machining simulation apparatus 1. The eighth step ST8 is a data transmission step.
The data transmission step includes transmitting the data 43f (for example, the above-described offset amount T1) from the communication circuit 3 of the machining simulation apparatus 1 to the numerically controlled lathe 8. The data 43f indicates the position of the program origin F1, which is the origin on the machining simulation coordinate system.
Additionally, the data transmission step may include transmitting, from the communication circuit 3 of the machining simulation apparatus 1 to the numerically controlled lathe 8, the second dimension data 43b, which specifies the shape of the jaw model 94m, and the third dimension data 43c, which specifies the shape of the workpiece model 95m. The data transmission step may also include transmitting, from the communication circuit 3 of the machining simulation apparatus 1 to the numerically controlled lathe 8, the first dimension data 43a, which specifies the shape of the chuck model 93m.
Further, the data transmission step may include transmitting, from the communication circuit 3 of the machining simulation apparatus 1 to the numerically controlled lathe 8, data of a result of executing the machining simulation (for example, data indicating that there was no abnormal interference in the machining simulation).
The computation program 41 according to the first embodiment is a program that causes the machining simulation apparatus 1 to execute the machining simulation method according to the first embodiment.
More specifically, the program according to the first embodiment (more specifically, the computation program 41) is a program for causing the machining simulation apparatus 1 to execute the machining simulation method including (1) a step (in other words, the above-described fifth step ST5) of setting 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, that corresponds to the machine origin G0 of the numerically controlled lathe 8, the jaw model 94m, which is the shape model of the jaw 94 mounted on the chuck 93 of the numerically controlled lathe 8, and the workpiece model 95m, which is the shape model of the workpiece 95 gripped by the plurality of jaws 94, (2) a step (in other words, the above-described seventh step ST7) of performing the machining simulation of virtually machining the workpiece model 95m by executing the machining program 42 using the program origin F1 as the reference position (for example, by analyzing the machining program 42 using the program origin F1 as the reference position), and (3) a step (in other words, the above-described eighth step ST8) of transmitting the data 43f, which indicates the position of the program origin F1 (for example, the above-described offset amount T1), to the numerically controlled lathe 8.
Additionally, the program according to the first embodiment (more specifically, the computation program 41) may be a program for causing the machining simulation apparatus 1 to execute the machining simulation method including the above-described first setting step (the first step ST1) and/or the above-described second setting step (the second step ST2). Alternatively or additionally, the program according to the first embodiment (more specifically, the computation program 41) may be a program for causing the machining simulation apparatus 1 to execute the machining simulation method including the above-described third setting step (the third step ST3). Alternatively or additionally, the program according to the first embodiment (more specifically, the computation program 41) may be a program for causing the machining simulation apparatus 1 to execute the machining simulation method including the above-described assembly model creating step (the fourth step ST4). Alternatively or additionally, the program according to the first embodiment (more specifically, the computation program 41) may be a program for causing the machining simulation apparatus 1 to execute the machining simulation method including the above-described displaying step (the sixth step ST6).
For example, as illustrated in FIG. 13, the program (more specifically, the computation program 41) may be a program that causes the machining simulation apparatus 1 to execute the machining simulation method including (1) a step of displaying, on the display device 5, the jaw model 94m in the three-dimensional display form, the dimension line S2 added to the jaw model 94m in the three-dimensional display form, and the entry field 501, in which the length of the dimension line S2 is to be input, at the same time, and (2) a step of automatically changing, based on the value input to the entry field 501, the shape of the jaw model 94m in the three-dimensional display form and the length of the dimension line S2, and automatically displaying, on the display device 5, the jaw model 94m after the changing and the dimension line S2 after the changing.
The memory 4 according to the first embodiment may be a non-volatile storage medium that stores the above-described program (more specifically, the computation program 41). The non-volatile storage medium that stores the above-described program (more specifically, the computation program 41) may be a portable storage medium 4M illustrated in FIG. 28.
The machining simulation method, the program (more specifically, the computation program 41), or the non-volatile storage medium that stores the program (more specifically, the computation program 41) according to the first embodiment achieve advantageous effects similar to those achieved by the machining simulation apparatus 1A according to the first embodiment.
Workpiece Machining Method
The workpiece machining method according to the first embodiment will be described with reference to FIGS. 1 to 27. FIGS. 26 and 27 are flowcharts illustrating an example of the workpiece machining method according to the first embodiment.
The workpiece machining method according to the first embodiment is executed using the machine tool system 100A according to the first embodiment or another machine tool system. The machine tool system 100A (more specifically, the machining simulation apparatus 1A and the numerically controlled lathe 8A) according to the first embodiment has already been described, and a repetitive description of the machine tool system 100A according to the first embodiment is therefore omitted.
The workpiece machining method according to the first embodiment includes (1) a step (in other words, the above-described fifth step ST5) of setting 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, that corresponds to the machine origin G0 of the numerically controlled lathe 8, the jaw model 94m, which is the shape model of the jaw 94 mounted on the chuck 93 of the numerically controlled lathe 8, and the workpiece model 95m, which is the shape model of the workpiece 95 gripped by the plurality of jaws 94, (2) a step (in other words, the above-described seventh step ST7) of performing the machining simulation of virtually machining the workpiece model 95m by executing the machining program 42 using the program origin F1 as the reference position, (3) a step (in other words, a thirteenth step ST13 to be described later) 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, and (4) a step (in other words, a fourteenth step ST14 to be described later) of machining the workpiece 95 by the numerically controlled lathe 8 that executes the machining program 42 using the machining program origin G1 as the reference position.
The workpiece machining method according to the first embodiment may include the above-described first setting step (the first step ST1) and/or the above-described second setting step (the second step ST2). Alternatively or additionally, the workpiece machining method according to the first embodiment may include the above-described third setting step (the third step ST3). Alternatively or additionally, the workpiece machining method according to the first embodiment may include the above-described assembly model creating step (the fourth step ST4). Alternatively or additionally, the workpiece machining method according to the first embodiment may include the above-described displaying step (the sixth step ST6). The workpiece machining method according to the first embodiment may include the above-described data transmission step (the eighth step ST8).
The first step ST1 to the eighth step ST8 have already been described in the description for the machining simulation method according to the first embodiment, and repetitive descriptions of the first step ST1 to the eighth step ST8 are therefore omitted.
After the execution of the eighth step ST8, at a ninth step ST9, the second communication circuit 83 of the numerically controlled lathe 8 receives data (43a, 43b, 43c, and 43f) from the machining simulation apparatus 1. The ninth step ST9 is a data receiving step.
In the example illustrated in FIG. 9, the data receiving step includes receiving, by the second communication circuit 83 of the numerically controlled lathe 8, the data 43f (for example, the data 430f, which indicates the above-described offset amount T1) from the machining simulation apparatus 1. The data 43f indicates the position of the program origin F1, which is the origin on the machining simulation coordinate system.
Additionally, the data receiving step may include receiving, by the second communication circuit 83 of the numerically controlled lathe 8, the second dimension data 43b, which specifies the shape of the jaw model 94m, and the third dimension data 43c, which specifies the shape of the workpiece model 95m, from the machining simulation apparatus 1. The data receiving step may include receiving, by the second communication circuit 83 of the numerically controlled lathe 8, the first dimension data 43a, which specifies the shape of the chuck model 93m, from the machining simulation apparatus 1.
The data receiving step may include receiving, by the second communication circuit 83 of the numerically controlled lathe 8, data of a result of executing the machining simulation (for example, data indicating that there was no abnormal interference in the machining simulation) from the machining simulation apparatus 1.
The data (43a, 43b, 43c, 43f, and 430f) received via the second communication circuit 83 is stored in the second memory 84. For example, the data 43f, which indicates the position of the program origin F1 (more specifically, the data 430f, which indicates the above-described offset amount T1), is stored in the second memory 84. Further, the first dimension data 43a, which specifies the shape of the chuck model 93m, the second dimension data 43b, which specifies the shape of the jaw model 94m, and the third dimension data 43c, which specifies the shape of the workpiece model 95m, are stored in the second memory 84.
In the example illustrated in FIG. 20, at a tenth step ST10, the above-described offset amount T1 is displayed on the second display device 85. The tenth step ST10 is a second displaying step.
More specifically, the second displaying step includes displaying, on the second display device 85, the offset amount T1 of the program origin F1 with respect to the machine model origin F0 or the reference point F2 positionally fixed with respect to the machine model origin F0.
The above-described offset amount T1 functions as the default value DD of the second offset amount T2, which is the offset amount of the machining program origin G1 with respect to the machine origin G0 or the reference point G2 (refer to FIG. 10) positionally fixed with respect to the machine origin G0. The above-described offset amount T1 that has been set in the machining simulation apparatus 1 functions as the default value DD of the above-described second offset amount T2 to be set in the numerically controlled lathe 8A. This omits or simplifies the setting operation of the above-described second offset amount T2 in the numerically controlled lathe 8A (for example, allows the second offset amount T2 to be set without actually measuring the reference position of the workpiece 95).
The second displaying step may include displaying, on the second display device 85, the above-described offset amount T1 (in other words, the default value DD of the above-described second offset amount T2) in the operator editable form. In this case, the second displaying step may include displaying, on the second display device 85, a message that recommends to execute the machining simulation again in response to changing of the default value DD over a permissible value that has been previously set.
In the example illustrated in FIG. 21, at an eleventh step ST11, the dimension data (more specifically, the fifth dimension data 843b), which specifies the shape of the jaw 94, is displayed on the second display device 85. The eleventh step ST11 is a third displaying step. The data that specifies the shape of the jaw model 94m may be displayed on the second display device 85 as the first default data DD1 of the fifth dimension data 843b. The second display device 85 may display the first default data DD1 in the operator editable form. More specifically, the second display device 85 may display the entry field 854 in which a value of the first default data DD1 is to be changed to another value. Inputting a numerical value to the entry field 854 and operating the change operation portion 858b may cause the fifth dimension data 843b displayed on the second display device 85 to be changed based on the numerical value input to the entry field 854.
As illustrated in FIG. 22, the third displaying step (the eleventh step ST11) may include displaying, on the second display device 85, the message MG1 that recommends to execute the machining simulation again in response to changing of any of the values of the first default data DD1 over a permissible value that has been previously set.
In the example illustrated in FIG. 23, at a twelfth step ST12, the dimension data (more specifically, the sixth dimension data 843c), which specifies the shape of the workpiece 95, is displayed on the second display device 85. The twelfth step ST12 is a fourth displaying step. The data that specifies the shape of the workpiece model 95m may be displayed on the second display device 85 as the second default data DD2 of the sixth dimension data 843c. The second display device 85 may display the second default data DD2 in the operator editable form. More specifically, the second display device 85 may display the entry fields 855 in which the values of the second default data DD2 are to be changed to other values. Inputting numerical values to the entry fields 855 and operating the change operation portion 858c may cause the sixth dimension data 843c displayed on the second display device 85 to be changed based on the numerical values input to the entry fields 855.
As illustrated in FIG. 24, the fourth displaying step (the twelfth step ST12) may include displaying, on the second display device 85, the message MG2 that recommends to execute the machining simulation again in response to changing of any of the values of the second default data DD2 over a permissible value that has been previously set.
The tenth step ST10 to the twelfth step ST12 may be executed in any order. The tenth step ST10 and the twelfth step ST12 may be executed at the same time, or the eleventh step ST11 and the twelfth step ST12 may be executed at the same time. Furthermore, the tenth step ST10 to the twelfth step ST12 may each be omitted.
At the thirteenth step ST13, the position of the 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.
In the example illustrated in FIG. 10, the machining program origin setting step includes setting, by the second processor 82, the position of the machining program origin G1 to make the relative position of the machining program origin G1 with respect to the machine origin G0 in the machining program coordinate system equal to the relative position of the program origin F1 with respect to the machine model origin F0 (refer to FIG. 4, 5, 18, or 19).
The machining program origin setting step may include setting, by the second processor 82, the position of the machining program origin G1 to make the second offset amount T2 of the machining program origin G1 with respect to the machine origin G0 or the reference point G2 positionally fixed with respect to the machine origin G0 equal to the above-described offset amount T1. At the tenth step ST10, when the second offset amount T2 is corrected, the machining program origin setting step may include correcting the position of the machining program origin G1, based on the difference between the second offset amount T2 after the correction and the second offset amount T2 before the correction.
At the 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 the reference position. The fourteenth step ST14 is a machining step.
The machining step includes determining the movement path of the first tool 98 with respect to the machining program origin G1. The machining step also includes transmitting, by the second processor 82, the control command to each of the plurality of control target devices (for example, the moving device 87 and the rotary drive device 90).
For example, the machining step includes (1) generating, by the second processor 82, the movement command 87i, based on the movement path of the first tool 98 determined with respect to the machining program origin G1, (2) transmitting, by the second processor 82, the movement command 87i to the moving device 87, and (3) moving, by the moving device 87 that has received the movement command 87i, the first tool 98 along the above-described movement path. The machining step also includes (4) transmitting, by the second processor 82, the rotation command 90i to the rotary drive device 90, and (5) causing the rotary drive device 90 that has received the rotation command 90i to integrally rotate the spindle 91, the chuck 93, the plurality of jaws 94, and the workpiece 95 about the first axis AX1.
In the workpiece machining method according to the first embodiment, a highly accurate machining simulation is executed in advance. The execution of the highly accurate machining simulation in advance omits or simplifies the interference check performed using the numerically controlled lathe 8A. The omission or the simplifying of the interference check at the machining site improves the operating rate of the numerically controlled lathe 8A. Further, an operator workload at the machining site is reduced.
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 and is accurately set by the machining simulation. This eliminates the need for or simplifies an operation of actually measuring the reference position of the workpiece 95 in order to set the machining program origin. The reduction in preparation work performed at the machining site further improves the operating rate of the numerically controlled lathe 8A. The operator workload at the machining site is further reduced. The consumption of energy involved in the preparation work is reduced. This also reduces load on the environment.
The above-described embodiments provide a machining simulation apparatus that is capable of accurately setting a program origin on a machining simulation coordinate system, a numerically controlled lathe, a machine tool system, a workpiece machining method, and a program.
As used herein, the term “comprise” and its variations are intended to mean open-ended terms, not excluding any other elements and/or components that are not recited herein. The same applies to the terms “include”, “have”, and their variations.
As used herein, a component suffixed with a term such as “member”, “portion”, “part”, “element”, “body”, and “structure” is intended to mean that there is a single such component or a plurality of such components.
As used herein, ordinal terms such as “first” and “second” are merely used for distinguishing purposes and there is no other intention (such as to connote a particular order) in using ordinal terms. For example, the mere use of “first element” does not connote the existence of “second element”; otherwise, the mere use of “second element” does not connote the existence of “first element”.
As used herein, approximating language such as “approximately”, “about”, and “substantially” may be applied to modify any quantitative representation that could permissibly vary without a significant change in the final result obtained. All of the quantitative representations recited in the present application shall be construed to be modified by approximating language such as “approximately”, “about”, and “substantially”.
As used herein, the phrase “at least one of A and B” is intended to be interpreted as “only A”, “only B”, or “both A and B”.
It should be clearly understood that the present invention is not limited to the above-described embodiments or modifications, and each of the embodiments or modifications may be deformed or modified as required within the range of the technical ideas obtainable from the present invention. Various techniques used in each of the embodiments or modifications may be applied to other embodiments or modifications unless a technical contradiction arises. Furthermore, any optional structure in each of the embodiments or modifications may be omitted as required.