lathe
The lathe facilitates easy adjustment of tool protrusion length by displaying distances to prohibited areas, eliminating the need for time-consuming simulations and improving machining accuracy and efficiency.
Patent Information
- Application Number
- JP2020071766
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-04-13
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2040-04-13
AI Technical Summary
Existing NC lathes require time-consuming and cumbersome simulations to adjust the protrusion length of tools, which complicates the machining process and reduces efficiency.
The lathe incorporates a distance display unit that calculates and displays the distance to prohibited areas, allowing for easy adjustment of tool protrusion length without simulation by using a storage unit to store entry-prohibited area information and a tool position information display unit to update tool positions based on operator input.
Enables quick and precise adjustment of tool protrusion length, improving machining accuracy and reducing the need for repetitive simulations, thereby enhancing operational efficiency.
Smart Images

Figure 0007553766000013 
Figure 0007553766000005 
Figure 0007553766000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a lathe that uses a tool to machine a workpiece held by a spindle. [Background technology]
[0002] An NC (numerically controlled) lathe is equipped with a headstock having a spindle for gripping a workpiece, a tool rest to which a tool is attached directly or via a tool holder, and a drive unit for moving at least one of the driven objects, the headstock and the tool rest. In order to prevent the driven object from interfering with other structures, the NC lathe controls the drive unit so that the driven object does not enter a no-entry area set in the structure. For example, when the driven object is the headstock, the movement of the headstock is controlled so that the spindle does not enter a no-entry area set in the tool rest.
[0003] In order to improve the machining accuracy of a workpiece, it is preferable to attach a tool to the tool rest or tool holder so that the protruding length of the tool from the tool rest or tool holder is as short as possible. However, the shorter the protruding length of the tool is, the closer the spindle and the tool rest must be, and the more likely it is that the spindle and the tool rest cannot be brought close to each other due to a no-entry area. The numerical control device disclosed in Patent Document 1 simulates a machining program, and if interference occurs between the tool or tool holder and another structure, it changes the tool or tool holder and repeats the simulation of the machining program again. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2012-218111 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, repeating simulations of a machining program requires time-consuming and cumbersome work. The present invention discloses a lathe that allows the projection length of a tool to be easily adjusted without performing a simulation. [Means for solving the problem]
[0006] The lathe of the present invention comprises: a headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a tool position information display unit that displays tool position information indicating a position of the tool in the drive shaft direction; Equipped with 、 When a setting key for acquiring a contact position between the workpiece and the tool in the drive shaft direction is operated while the spindle is gripping the workpiece, the tool position information display unit acquires the contact position between the workpiece and the tool in the drive shaft direction, and updates and displays the tool position information based on the acquired position. , has an aspect. The lathe of the present invention further comprises a headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a tool position information display unit that displays tool position information representing a position of the tool in the drive shaft direction, The tool position information display unit has a configuration in which, when a setting key for acquiring the position where the spindle and the tool contact in the drive shaft direction is operated while the spindle is not gripping the workpiece, the tool position information display unit acquires the position where the spindle and the tool contact in the drive shaft direction, and updates and displays the tool position information based on the acquired position. Furthermore, the lathe of the present invention includes a headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a mode reception unit that receives either a gripping mode in which the spindle grips the workpiece or a non-grip mode in which the spindle does not grip the workpiece; a tool position information display unit that displays tool position information representing a position of the tool in the drive shaft direction, The tool position information display unit includes: When the mode is the gripping mode, when a setting key for acquiring a contact position between the workpiece and the tool in the drive shaft direction is operated in a state in which the spindle is gripping the workpiece, the contact position between the workpiece and the tool in the drive shaft direction is acquired, and the tool position information is updated and displayed based on the acquired position, When the mode is the non-gripping mode, when the spindle is not gripping the workpiece, when a setting key for acquiring the position where the spindle and the tool contact in the drive axis direction is operated, the position where the spindle and the tool contact in the drive axis direction is acquired, and the tool position information is updated and displayed based on the acquired position. Effect of the Invention
[0007] According to the present invention, it is possible to provide a lathe in which the protruding length of the tool can be easily adjusted without performing a simulation. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a plan view showing a schematic configuration example of a lathe. [Diagram 2] FIG. 2 is a block diagram illustrating a schematic configuration example of an electric circuit of a lathe. [Diagram 3] FIG. 2 is a front view illustrating a schematic example of an operation panel. [Figure 4] FIG. 11 is a plan view showing a schematic example of a no-entry area and various parameters. [Diagram 5] FIG. 11 is a plan view showing an example of various parameters according to the position of a driven object. [Figure 6] 13 is a flowchart showing an example of a tool mounting assist process performed on a lathe. [Figure 7] FIG. 13 is a diagram illustrating an example of a tool selection screen in a grip mode. [Figure 8] 13 is a diagram illustrating an example of a tool selection screen in a non-gripping mode. FIG. [Figure 9] FIG. 13 is a diagram illustrating an example of a tool selection screen having a handle key. [Figure 10] FIG. 13 is a diagram illustrating an example of a handle mode screen. [Figure 11] 13 is a diagram illustrating an example of an updated screen including shape correction G. FIG. [Figure 12] FIG. 13 is a plan view showing a schematic diagram of a modified example in which the main tool rest is the driving target. [Figure 13] FIG. 13 is a plan view showing a schematic example of a lathe immediately after a temporary fixing operation of a target tool is performed. [Figure 14] 11 is a plan view showing a schematic example of contacting an end face of a workpiece with a tip of a target tool. FIG. [Figure 15] FIG. 11 is a plan view showing a schematic example of an example in which the back headstock advances until the machine coordinate Pm reaches the no-entry position Pa. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following embodiments of the present invention will be described. Of course, the following embodiments are merely illustrative of the present invention, and not all of the features shown in the embodiments are necessarily essential to the solution of the invention.
[0010] (1) Overview of the technology included in this invention: First, the outline of the technology included in the present invention will be described with reference to the examples shown in Figures 1 to 15. The figures in the present application are diagrams showing examples in a schematic manner, and the magnification ratios in each direction shown in these figures may differ, and the figures may not be consistent with each other. Of course, each element of the present technology is not limited to the specific example shown by the symbol.
[0011] [Aspect 1] A lathe 1 according to an embodiment of the present technology includes a headstock 10, a tool rest unit U1, a drive unit U2, a memory unit U3, and a distance display unit U4. The headstock 10 is provided with a spindle 11 that holds a workpiece W1. A tool T1 for machining the workpiece W1 held by the spindle 11 can be attached to the tool rest unit U1. The drive unit U2 moves at least one of the driven objects 50 of the headstock 10 and the tool rest unit U1 in a drive axis direction 3 in which a distance (e.g., O1-F shown in FIG. 4) from the workpiece W1 to the tool T1 changes. The memory unit U3 stores entry-prohibited area information IN1 that indicates an entry-prohibited area A1 of the driven object 50. As illustrated in Figures 6 and 10, the distance display unit U4 calculates and displays the distance Lot from the driven object 50 to the no-entry area A1 in the drive axis direction 3 based on the current position (e.g., machine coordinates Pm) of the driven object 50 in the drive axis direction 3 and the no-entry area information IN1.
[0012] In the above embodiment, the distance Lot from the driven object 50 to the no-entry area A1 in the drive shaft direction 3 is known numerically, so the operator can adjust the protruding length Lt of the tool T1 based on the specific value of the distance Lot. Therefore, the above embodiment can provide a lathe that allows the protruding length of the tool to be easily adjusted without performing a simulation. The no-entry area refers to an area in which the amount of movement is limited to prevent interference, and an area in which movement is not possible due to mechanical factors such as the length of the ball screw.
[0013] Here, the tool rest portion may be a combination of a tool rest and a tool holder when the tool is attached to the tool rest via a tool holder, or may be a tool rest alone when the tool is attached directly to the tool rest, such as a comb-shaped tool rest. The driven object may be the headstock, the tool rest section, or both the headstock and the tool rest section. In other words, the drive section may move the headstock without moving the tool rest section, may move the tool rest section without moving the headstock, or may move both the headstock and the tool rest section. The above remarks also apply to the following aspects.
[0014] [Aspect 2] 4, the tool rest U1 may be capable of mounting a plurality of the tools T1 at different positions on a virtual plane 4 intersecting with the drive shaft direction 3. The lathe 1 may further include a switching drive unit U5 (for example, the X2-axis motor M4 shown in FIG. 2) that switches the tool T1 for machining the workpiece W1 from among the plurality of tools T1 mounted on the tool rest U1. The above embodiment allows for the use of multiple tools.
[0015] [Aspect 3] The lathe 1 may further include a target tool receiving unit U6 (for example, an input unit 81 shown in FIG. 2) that receives a selection of a target tool T2, the protrusion length Lt of which is to be adjusted, from among the plurality of tools T1 attached to the tool rest unit U1. The distance display unit U4 may calculate and display a distance Lot to the no-entry area A1 based on the current position (Pm) and the no-entry area information IN1 when the target tool T2 faces the workpiece W1 in the drive shaft direction 3. In the above embodiment, since the distance Lot in the drive shaft direction 3 from the driven object 50 to the no-entry area A1 for each of the multiple tools T1 attached to the tool post U1 is known numerically, the operator can adjust the protruding length Lt of the multiple tools T1 based on an appropriate specific value of the distance Lot to the no-entry area A1. Therefore, the above embodiment can provide a lathe that can easily adjust the protruding length of the multiple tools attached to the tool post.
[0016] Here, the switching drive unit may switch tools by moving the headstock, may switch tools by moving the tool rest unit, or may switch tools by moving both the headstock and the tool rest unit. Also, if the tool rest unit includes a turret tool rest, the switching drive unit may switch tools by rotating the tool rest unit. The above remarks also apply to the following aspects.
[0017] [Aspect 4] As illustrated in FIG. 7 and the like, the lathe 1 may include a mode reception unit U7 that receives either one of a grip mode 521 in which the spindle 11 grips the workpiece W1 and a non-grip mode 522 in which the spindle 11 does not grip the workpiece W1. As illustrated in FIG. 11 and the like, the lathe 1 may further include a tool position information display unit U8 that displays tool position information IN2 that indicates the position (e.g., shape correction G) of the tool T1 in the drive shaft direction 3. When the mode is the grip mode 521, the tool position information display unit U8 may acquire a position (e.g., workpiece coordinate Pw in the contact state ST2 shown in FIG. 5) where the workpiece W1 and the tool T1 contact each other in the drive shaft direction 3 in a state in which the spindle 11 grips the workpiece W1, and display the tool position information IN2 based on the acquired position. In addition, when the mode is the non-gripping mode 522, the tool position information display unit U8 may acquire the position where the spindle 11 and the tool T1 contact each other in the drive shaft direction 3 when the spindle 11 is not gripping the workpiece W1, and display the tool position information IN2 based on the acquired position.
[0018] In the above embodiment, the attachment position (G) of the tool T1 can be determined numerically whether the spindle 11 is gripping the workpiece W1 or not, so a lathe can be provided in which the protruding length of the tool attached to the tool rest can be adjusted even more easily.
[0019] [Aspect 5] The tool position information display unit U8 may receive an input of a machining length (e.g., end chamfering allowance F shown in FIG. 7) for machining the end face W1a of the workpiece W1 in the drive shaft direction 3. When the mode is the gripping mode 521, the tool position information display unit U8 may update the tool position information IN2 based on the acquired position (Pw) and the machining length (F). Furthermore, when the mode is the non-grip mode 522, the tool position information display unit U8 may update the tool position information IN2 without using the machining length (F).
[0020] In the above embodiment, the position (G) of the tool T1 is taken into account in the machining length (F) of the end face W1a of the workpiece W1, so that a lathe can be provided that makes it even easier to adjust the protruding length of the tool attached to the tool post.
[0021] (2) Specific examples of lathe configurations: FIG. 1 shows a schematic configuration of a spindle-moving type NC (numerically controlled) lathe 1 as an example of a lathe. FIG. 2 shows a schematic configuration of an electric circuit of the NC lathe 1. Note that the explanation of the positional relationship of each part is merely an example. Therefore, this technology also includes changing the left-right direction to the up-down direction or the front-back direction, changing the up-down direction to the left-right direction or the front-back direction, changing the front-back direction to the left-right direction or the up-down direction, changing the rotation direction to the opposite direction, and the like. Also, the identity of the direction, position, etc. is not limited to strict agreement, and includes deviation from strict agreement due to an error.
[0022] The lathe 1 shown in FIG. 1 includes a headstock 10, a guide bush 15, a support table 30, a tool rest 40, an NC device 70, and the like, on a base 2. Here, the headstock 10 collectively refers to the front headstock 10A and the back headstock 10B, and the tool rest 40 collectively refers to the main tool rest 40A and the back tool rest 40B. The NC device 70 controls the operation of the headstock 10 and its drive units (for example, the Z1-axis motor M1, the X2-axis motor M4, and the Z2-axis motor M5 shown in FIG. 2), the main tool rest 40A and its drive units (for example, the X1-axis motor M2 and the Y1-axis motor M3 shown in FIG. 2), and the like. The lathe 1 has X1, Y1, Z1, X2, and Z2 axes as control axes. The Y1 axis is oriented perpendicular to the paper surface in FIG. 1. The X1, Y1, Z1, X2, and Z2 axis directions refer to directions along the X1, Y1, Z1, X2, and Z2 axes. Of course, the lathe 1 may have a control axis such as the Y2 axis in addition to the five axes described above.
[0023] The front headstock 10A on which the front spindle 11A is mounted is movable in the Z1-axis direction along the center line AX1 of the front spindle 11A relative to the base 2. The front spindle is also called the main spindle, and the front spindle stock is also called the main spindle stock. The NC device 70 controls the position of the front spindle stock 10A in the Z1-axis direction via the Z1-axis motor M1 and the feed mechanism 10z. The front spindle 11A releasably holds the cylindrical (rod-shaped) workpiece W1 inserted in the Z1-axis direction with a collet (not shown), and rotates the workpiece W1 around the center line AX1 along the longitudinal direction of the workpiece W1.
[0024] The guide bush 15 is attached to a support stand 30 in front of the front spindle 11A. The guide bush 15 arranged in front of the front spindle 11A supports the elongated workpiece W1 penetrating the front spindle 11A so as to be slidable in the Z1 axis direction, and is driven to rotate around the center line AX1 of the front spindle 11A in synchronization with the front spindle 11A. That is, the guide bush 15 supports the workpiece W1 through the workpiece W1 protruding from the front spindle 11A. The presence of the guide bush 15 suppresses bending of the elongated workpiece W1, enabling high-precision machining.
[0025] The back spindle stock 10B provided with the back spindle 11B is movable relative to the base 2 in the Z2-axis direction along the center line AX2 of the back spindle 11B and in the X2-axis direction perpendicular to the center line AX2. The back spindle is also called the sub-spindle, and the back spindle stock is also called the sub-spindle stock. The Z2-axis direction is the direction along the Z1-axis direction. The back spindle 11B is located opposite the front spindle 11A via the guide bush 15. The NC device 70 controls the position of the back spindle stock 10B in the Z2-axis direction via the Z2-axis motor M5 and the feed mechanism 20z, and controls the position of the back spindle stock 10B in the X2-axis direction via the X2-axis motor M4 and the feed mechanism 20x. The back spindle 11B receives the workpiece W1 from the front spindle 11A at a position opposite the front spindle 11A via the guide bush 15, and releasably holds the workpiece W1 inserted in the Z2-axis direction with a collet (not shown). For example, when the front-machined workpiece W1 is separated from a long workpiece by a cut-off bit held on the main tool rest 40A, the back spindle 11B rotates the front-machined workpiece W1 around a center line AX2 along the longitudinal direction of the front-machined workpiece W1.
[0026] The main tool rest 40A is a comb-shaped tool rest to which a plurality of tools T1 such as cutting tools are directly attached, and a tool such as a rotary drill may be attached via a tool holder. The main tool rest 40A is supported on the support base 30 so as to be movable in the X1 and Y1 axis directions perpendicular to the center line AX1 of the front spindle 11A with respect to the side portion 31 facing the back spindle 11B. The X1 axis direction is a direction along the X2 axis direction and perpendicular to the Z1 axis direction. The Y1 axis direction is perpendicular to the Z1 axis direction and the X1 axis direction. The NC device 70 controls the position of the main tool rest 40A in the X1 axis direction via the X1 axis motor M2 and the feed mechanism 40x, and controls the position of the main tool rest 40A in the Y1 axis direction via the Y1 axis motor M3 and the feed mechanism 40y. The main tool rest 40A is an example of a tool rest part U1 to which a tool T1 for machining a workpiece W1 held by the spindle 11 can be attached.
[0027] The support base 30 is fixed between the front headstock 10A and the back headstock 10B so as not to move relative to the base 2, and extends upward in the X1 axis direction from the base 2. The support base 30 holds a guide bush 15 through which the workpiece W1 protruding from the front spindle 11A passes. A side portion 31 of the support base 30 facing the back spindle 11B supports the main tool rest 40A so as to be movable in the X1 and Y1 axis directions, and fixes the attached back tool rest 40B so as not to move.
[0028] A plurality of tools T1, such as drill tools, are attached to the back tool rest 40B fixed to the support base 30 via tool holders TU1. By moving the back spindle stock 10B, which is provided with the back spindle 11B gripping the workpiece W1, in the X2 axis direction, it is possible to make any one of the plurality of tools T1 attached to the back tool rest 40B face the workpiece W1. The combination of the back tool rest 40B and the plurality of tool holders TU1 is an example of a tool rest section U1 to which a tool T1 for machining the workpiece W1 gripped by the spindle 11 can be attached. The lathe 1 may be provided with tool rests other than the main tool rest 40A and the back tool rest 40B.
[0029] The headstock 10, the guide bush 15, the support table 30, the tool rest 40, and the main portion of the tool T1 may be formed of, for example, metal.
[0030] In the lathe 1 shown in Fig. 2, an operation panel 80, a Z1-axis motor M1, an X1-axis motor M2, a Y1-axis motor M3, an X2-axis motor M4, a Z2-axis motor M5, a rotary motor (not shown) for the front spindle 11A, a rotary motor (not shown) for the back spindle 11B, a rotary motor (not shown) for a rotary drill, etc. are connected to the NC device 70. The NC device 70 has a CPU (Central Processing Unit) 71, a ROM (Read Only Memory) 72 which is a semiconductor memory, a RAM (Random Access Memory) 73 which is a semiconductor memory, a timer circuit 74, an I / F (Interface) 75, etc. In Fig. 2, the I / Fs of the operation panel 80 and the servo motors (M1 to M5) are collectively referred to as I / F 75.
[0031] The ROM 72 is written with an interpretation execution program P1 for interpreting and executing the machining program P2, and entry-prohibited area information IN1 representing the entry-prohibited area of the driven object. The ROM 72 is an example of a storage unit U3 that stores the entry-prohibited area information IN1. The ROM 72 may include a rewritable non-volatile memory such as a flash memory. When the entry-prohibited area information IN1 is written in the rewritable non-volatile memory, the entry-prohibited area information IN1 can be updated as appropriate. The RAM 73 stores a machining program P2 created by a user. The machining program is also called an NC program. The CPU 71 uses the RAM 73 as a work area and executes the interpretation execution program P1 recorded in the ROM 72 to cause the computer to function as the NC device 70. Of course, a part or all of the functions realized by the interpretation execution program P1 may be realized by other means such as an ASIC (Application Specific Integrated Circuit).
[0032] The Z1-axis motor M1 moves the front headstock 10A including the front spindle 11A in both directions along the Z1 axis via the feed mechanism 10z shown in FIG. 1. The X1-axis motor M2 moves the main tool rest 40A in both directions along the X1 axis via the feed mechanism 40x shown in FIG. 1. The Y1-axis motor M3 moves the main tool rest 40A in both directions along the Y1 axis via the feed mechanism 40y shown in FIG. 1. The X2-axis motor M4 moves the back headstock 10B in both directions along the X2 axis via the feed mechanism 20x shown in FIG. 1. The Z2-axis motor M5 moves the back headstock 10B in both directions along the Z2 axis via the feed mechanism 20z shown in FIG. 1. The feed mechanisms 10z, 40x, 40y, 20x, and 20z can be a slidable fitting structure between a rail and a guide member, a slidable fitting structure between a dovetail groove and a dovetail, or the like.
[0033] FIG. 3 illustrates a schematic front view of the operation panel 80. As shown in FIG. The operation panel 80 includes an input unit 81 and a display unit 82, and functions as a user interface for the NC device 70.
[0034] The input unit 81 is composed of hard keys 81a, a changeover switch 81b, a handle 83, buttons 84, and a touch panel (a screen 82a of the display unit 82) for receiving operation inputs from an operator. The hard keys 81a include a control axis key 81c for selecting a control axis for manual handle feed from among a plurality of control axes, a cursor key 81d for moving a cursor on the screen 82a, a character key 81e for inputting characters such as alphabets and numbers, an input key 81f for inputting the input characters, and the like. The changeover switch 81b is an operation unit for switching various operations such as switching between discharging and stopping the discharging of cutting oil. The handle 83 is an operation unit for manually moving a driven object. The buttons 84 include a START button and the like used to select a target tool for adjusting the protruding length. A soft key 81g is arranged on the screen 82a as the input unit 81. The input unit 81 is an example of a target tool receiving unit U6 that receives a selection of a target tool for which the protrusion length is to be adjusted from among the multiple tools T1 attached to the tool rest unit U1, and a mode receiving unit U7 that receives either the G132 mode or the G130 mode (see Figs. 7 to 11). The G132 mode is an example of a gripping mode 521 in which the spindle 11 grips the workpiece W1. The G130 mode is an example of a non-gripping mode 522 in which the spindle 11 does not grip the workpiece W1.
[0035] The display unit 82 is configured with a display (e.g., a liquid crystal display) that displays on a screen 82a the contents of various settings received as operational input from the operator and various information related to the NC lathe 1. The screen 82a includes a tool selection screen 500, a handle mode screen 501, an update screen 502, and the like, which are shown in Figs. 7 to 11. The display unit 82 is an example of a distance display unit U4 (see Fig. 10) that calculates and displays the distance in the drive axis direction until the driven object reaches the no-entry area, and a tool position information display unit U8 that displays tool position information indicating the position of the tool T1 in the drive axis direction.
[0036] FIG. 4 is a schematic diagram illustrating the no-entry area A1 and various parameters when the driven object 50 is the back spindle 10B and the interference object 55 is the tool rest part U1 which is a combination of the back tool rest 40B and multiple tool holders TU1. The multiple tools T1 shown in FIG. 4 are drill tools. The back spindle 10B provided with the back spindle 11B which holds the workpiece W1 is moved in the X2-axis direction by the X2-axis motor M4 and moved in the Z2-axis direction by the Z2-axis motor M5 as shown in FIG. 2. The workpiece W1 held by the back spindle 11B is machined by one of the multiple tools T1 attached to the tool rest part U1 including the back tool rest 40B. In FIG. 4, the left direction along the Z2 axis is the positive direction, and the right direction along the Z2 axis is the negative direction. In the example shown in FIG. 4, the drive axis direction 3 along which the distance from the workpiece W1 to the tool T1 changes is the Z2 axis direction, the drive unit U2 that moves the driven object 50 is the Z2 axis motor M5, and the switching drive unit U5 that switches the tool T1 is the X2 axis motor M4.
[0037] The tool holders TU1 of the tool rest U1 are attached to the facing surface 41 of the back tool rest 40B facing the back spindle 11B. A tool T1 is attached to each tool holder TU1. Therefore, the tool rest U1 can have a plurality of tools T1 attached to different positions on a virtual plane 4 intersecting with the Z2-axis direction. The X2-axis motor M4 moves the back spindle stock 10B in the X2-axis direction in accordance with the control of the NC device 70 so that the workpiece W1 held by the back spindle 11B faces one of the plurality of tools T1 in the Z2-axis direction. This allows the tool facing the workpiece W1 to be switched from among the plurality of tools T1 attached to the tool rest U1. The adjustment of the protruding length Lt of the tool T1 from the tool holder TU1 is performed in a state in which the tool T1 faces the workpiece W1. The tool of the plurality of tools T1 whose protruding length Lt is adjusted is called the target tool T2. The Z2-axis motor M5 moves the back spindle stock 10B, which is provided with the back spindle 11B gripping the workpiece W1, in the Z2-axis direction under the control of the NC device 70. This changes the distance from the workpiece W1 to the opposing tool T1.
[0038] In the lathe 1, an entry-prohibited area A1 is set according to the shape of the tool rest U1 to prevent interference between the back spindle 11B and the tool rest U1. When the control position (corresponding to the machine coordinate Pm) of the end face 11c of the back spindle 11B approaching the tool rest U1 on the Z2 axis reaches the boundary A1b (corresponding to the entry-prohibited position Pa) of the entry-prohibited area A1, the NC device 70 stops the movement of the back spindle stock 10B. As shown in FIG. 4, the position of the boundary A1b of the entry-prohibited area A1 on the Z2 axis may differ depending on the tool T1 used to machine the workpiece W1.
[0039] Here, various parameters according to the position of the back headstock 10B on the Z2 axis will be described with reference to Fig. 5. The upper part of Fig. 5 shows various parameters in state ST1 where the machine coordinate Pm on the Z2 axis is 0. The lower part of Fig. 5 shows various parameters in state ST2 where the workpiece W1 and the target tool T2 are in contact with each other in the Z2 axis direction.
[0040] First, the machine-specific point (Z2=0) that serves as the machine reference on the Z2 axis is set as the machine origin. The machine origin Z2=0 is also the origin position of the end face 11c of the back spindle 11B on the Z2 axis. The machine coordinate Pm indicates the position of the end face 11c on the Z2 axis with the machine origin Z2=0 as the base point, and is a positive value when the end face 11c is to the left of the machine origin Z2=0 in Figures 4 and 5. The machine coordinate Pm is an example of the current position of the driven object 50. The workpiece coordinate Pw is the coordinate used for machining the workpiece W1, and is the coordinate of the end face of the product on the Z2 axis. When cutting the end face W1a of the workpiece W1 to make a product, the position is the position excluding the end chamfer allowance F. The end chamfer allowance F is an example of the machining length for machining the end face W1a of the workpiece W1 in the Z2 axis direction, and is a positive value. When there is an end chamfer allowance F, the workpiece coordinate Pw is the coordinate of the end face W1a of the workpiece W1 excluding the end chamfer allowance F.
[0041] The correction amount (referred to as O) is an offset value for calculating the workpiece coordinate Pw from the machine coordinate Pm, and is the amount of shift from the machine origin Z2=0. The correction amount O is the sum of the distance O1 from the tip T1a of the target tool T2 facing the workpiece W1 in the Z2 axis direction to the end face of the product, and the distance O2 from the end face 11c of the back spindle 11B to the machine origin Z2=0 in the Z2 axis direction. The workpiece coordinate Pw is the value obtained by subtracting the correction amount O from the machine coordinate Pm. Pw = Pm-O … (1) In the G132 mode in which the back spindle 11B grips the workpiece W1, when the end face of the product is to the right of the tip T1a of the target tool T2 in FIGS.
[0042] The shape correction G is an example of the position of the target tool T2 on the Z2 axis, and is the distance from the tool mounting reference position Pb to the tip T1a of the target tool T2 on the Z2 axis. The tool mounting reference position Pb shown in Figures 4 and 5 is the machine origin Z2 = 0. Therefore, the shape correction G is usually a positive value. The protrusion registration length K is the length by which the product held by the back spindle 11B protrudes from the end face 11c of the back spindle 11B in the Z-axis direction, and is the positive value obtained by subtracting the gripping length Lg of the workpiece W1 from the product length Lp in the Z2-axis direction. When the end face W1a of the workpiece W1 is cut to produce a product, the protrusion registration length K is the length of the workpiece W1 before back machining minus the end chamfering allowance F and the gripping length Lg. In the G130 mode, in which the back spindle 11B does not grip the workpiece W1, the protrusion registration length K can be treated as 0 in the following formula.
[0043] In the G130 mode in which the back spindle 11B does not grip the workpiece W1, the correction amount O is equal to the shape correction G. O=G …(2) From equations (1) and (2), the workpiece coordinate Pw is calculated by subtracting the shape correction G from the machine coordinate Pm. Pw = Pm - G … (3)
[0044] In the G132 mode in which the back spindle 11B grips the workpiece W1, the correction amount O is a value obtained by subtracting the protrusion registration length K from the shape correction G. O=GK …(4) From equations (1) and (4), the workpiece coordinate Pw is calculated by subtracting the shape correction G from the machine coordinate Pm and adding the registration length K. Pw = Pm - (GK) = Pm - G + K … (5)
[0045] When the target tool T2 is reattached to the tool rest U1, the shape correction G is updated based on the calculated shape correction G. The calculation formula for updating the shape correction G will be described below. In the G132 mode in which the back spindle 11B grips the workpiece W1, the shape correction after update is calculated so that the workpiece coordinate Pw becomes -F in the state ST2 in which the tip T1a of the target tool T2 and the end face W1a of the workpiece W1 are in contact as shown in the lower part of FIG. 5. Note that the parameter representing the value before the update is marked with "c" and the parameter representing the value after the update is marked with "n". For example, the shape correction G is represented as Gc before the update and as Gn after the update. As will be described later, the shape correction G is updated when the Z setting key 540 shown in FIG. 10 is operated.
[0046] From formula (1), the workpiece coordinate Pwc before the update is the value obtained by subtracting the correction amount Oc before the update from the machine coordinate Pm. Pwc = Pm - Oc … (6) Furthermore, from formula (1), the updated workpiece coordinate Pwn is the machine coordinate Pm minus the updated correction amount On, which is −F. Pwn=Pm-On=-F …(7)
[0047] When the machine coordinate Pm is eliminated from equations (6) and (7), the compensation amount On after the update becomes the sum of the pre-update compensation amount Oc and the end chamfer allowance F to the pre-update workpiece coordinate Pwc. On=Pwc+Oc+F …(8) From equations (4) and (8), Gn-K=Pwc+(Gc-K)+F Therefore, the shape correction Gn after the update is the value obtained by adding the shape correction Gc before the update and the end chamfering allowance F to the workpiece coordinate Pwc before the update. Gn = Pwc + Gc + F … (9)
[0048] In the G130 mode in which the back spindle 11B does not grip the workpiece W1, the protrusion registration length K is 0 and the end chamfer allowance F is 0, so the updated shape correction Gn is the value obtained by adding the pre-update shape correction Gc to the pre-update workpiece coordinate Pwc. Gn = Pwc + Gc … (10)
[0049] In order to improve the machining accuracy of the workpiece W1, it is preferable to shorten the protruding length Lt of the tool T1 from the tool holder TU1 as much as possible. However, the shorter the protruding length Lt of the tool T1, the more the back spindle 11B and the tool rest U1 must be brought closer to each other, and the possibility that the back spindle 11B and the tool rest U1 cannot be brought closer to each other due to the no-entry area A1 increases. Here, if interference between the tool or tool holder and the spindle occurs during simulation of the machining program, it is necessary to change the tool or tool holder and repeat the simulation of the machining program again, which requires time-consuming and cumbersome work.
[0050] In this specific example, when an operator operates the handle 83 to manually move the driven object 50 of the target control axis, the distance Lot by which the driven object 50 reaches the no-entry area A1 is displayed as shown in Fig. 10. This makes it possible to easily adjust the protruding length Lt of the tool T1 when mounting the tool T1 on the tool rest U1 without simulating the machining program. Below, an example of the tool mounting assistance process performed on the lathe 1 will be described with reference to Figs. 6 to 11.
[0051] (3) Examples of tool installation assistance: Fig. 6 shows an example of a tool attachment auxiliary process executed by the lathe 1 when the operator attaches the tool T1 to the tool rest U1. The tool attachment auxiliary process is mainly performed by the NC device 70, and starts after front machining, for example. Figs. 7 to 11 show schematic examples of screens displayed on the display unit 82. Before performing the tool attachment assistance process, the operator sets the protruding length of the tool T1 to a short length and temporarily fixes the tool T1 to the tool rest U1. In this specific example, a case will be described in which the Z2 axis is selected by the control axis key 81c shown in FIG. 3 as the control axis for performing manual handle feed.
[0052] First, the operator attaches the tool T1 to the tool holder TU1 attached to the back tool rest 40B at a temporary position, and adjusts the position of the back spindle stock 10B on the X2 axis using the input unit 81 so that the back spindle 11B faces the tool T1 whose protruding length Lt is to be adjusted. When the tool attachment assistance process starts, the NC device 70 acquires the product length Lp and the gripping length Lg of the workpiece W1 (step S102). For example, the NC device 70 may accept the input of the product length Lp through the input unit 81, or may read or calculate the gripping length Lg from the machining program P2 shown in FIG. 2. If the machining program P2 includes the product length Lp, the NC device 70 may read or calculate the product length Lp from the machining program P2.
[0053] The calculation of the protrusion registration length K is automatically calculated before execution, like other values. As a simple example, the protrusion registration length K may be obtained by subtracting the grip length Lg from the product length Lp.
[0054] Next, the NC device 70 displays a tool selection screen 500 as shown in Fig. 7 on the display unit 82 (step S104). The tool selection screen 500 shown in Fig. 7 has a work coordinate display section 511, a shape correction display section 512, a tool list display section 513, a mode display section 520, soft keys 81g, etc. Also, a cursor 510 is provided on the tool selection screen 500. The position of the cursor 510 can be changed by operating the cursor key 81d shown in Fig. 3.
[0055] The workpiece coordinate display unit 511 displays the workpiece coordinates on the X1, Y1, Z1, X2, and Z2 axes, for example, the coordinates of the end face of the product in the case of the Z2 axis. When the workpiece W1 held by the back spindle 11B is machined with the tool T1 attached to the back tool rest 40B, the workpiece coordinate Pw on the Z2 axis is displayed on the workpiece coordinate display unit 511. The workpiece coordinate Pw is a value obtained by adding the protrusion registration length K to the machine coordinate Pm. The shape correction display section 512 displays information on the shape correction G. When the workpiece W1 held by the back spindle 11B is machined with the tool T1 attached to the back tool rest 40B, the shape correction G of the Z axis, i.e., tool position information IN2 representing the position of the target tool T2 in the Z2 axis direction, is displayed in the shape correction display section 512, as in the update screen 502 shown in FIG. 11. The initial value of the shape correction G is 0. The shape correction display section 512 is an example of the tool position information display section U8 that displays the tool position information IN2.
[0056] A list of tools T1 attached to the back tool rest 40B is displayed in the tool list display area 513. Four types of tools T20, T21, T22, and T23 are shown in FIG. The mode display section 520 displays "G132" indicating the gripping mode 521 in which the back spindle 11B grips the workpiece W1, and "G130" indicating the non-grip mode 522 in which the back spindle 11B does not grip the workpiece W1. The * mark displayed on the mode display section 520 indicates a mode selected from the G132 mode and the G130 mode. In the tool selection screen 500 shown in FIG. 7, the * mark is added to "G132", which indicates that the G132 mode is selected. The G132 mode and the G130 mode are switched by operating the mode switching key 523 included in the soft key 81g. The mode display section 520 is an example of a mode reception section U7 that receives either the gripping mode 521 or the non-grip mode 522.
[0057] 7, when the G132 mode is selected, the NC device 70 displays, on the tool selection screen 500, a protrusion registration length display section 514 including the protrusion registration length K calculated in step S104, and an end chamfering allowance display section 515 including the end chamfering allowance F. The end chamfering allowance F displayed first may be a default value, a value described in the machining program P2, or a value calculated from the machining program P2.
[0058] As shown in FIG. 8, when the G130 mode is selected, the projection registration length display section 514 and the end chamfer allowance display section 515 are not displayed on the tool selection screen 500.
[0059] Next, the NC device 70 accepts various operations through the input unit 81 based on the tool selection screen 500 (step S106). 7 and 8, a process is performed in which either the G132 mode or the G130 mode is accepted by the mode switching key 523. The input unit 81 capable of executing this process is an example of the mode acceptance unit U7. In the end chamfer allowance display unit 515 shown in FIG. 7, a process is performed in which the input of the end chamfer allowance F is accepted by the character keys 81e, the input key 81f, etc. This process corresponds to the tool position information display unit U8 accepting an input of the machining length for machining the end face W1a of the workpiece W1 in the drive shaft direction 3.
[0060] In the tool list display section 513 shown in FIG. 7 and FIG. 8, a process is performed in which the selection of the target tool T2, the projection length Lt of which is adjusted, is received from among the multiple tools T1 attached to the tool rest section U1 by the cursor key 81d, the button 84, etc. shown in FIG. 3. The input section 81 capable of executing this process is an example of the target tool receiving section U6. The NC device 70 monitors the pressing of the START button included in the button 84 and waits until the pressing of the START button is received by the input section 81 (step S108). When the pressing of the START button is received, the NC device 70 switches to the tool selection screen 500 as shown in FIG. 9. In addition, when the START button is pressed, the calculation process of the workpiece coordinate Pw is performed by the formula (5) and displayed. If the selected target tool T2 does not face the workpiece W1, the NC device 70 may drive the X2-axis motor M4 to move the back headstock 10B in the X2-axis direction so that the selected target tool T2 faces the workpiece W1. The tool selection screen 500 shown in FIG. 9 has soft keys 81g including a handle key 530 arranged thereon. The handle key 530 is an operation unit for switching to a handle mode in which manual handle feed is performed.
[0061] Next, the NC device 70 waits until it receives an operation of the handle key 530 (step S110), and when it receives the operation of the handle key 530, it proceeds to step S112. In step S112, the NC device 70 calculates a distance Lot from the back spindle 11B to the entry-prohibited area A1 in the Z2-axis direction based on the machine coordinate Pm of the back spindle 11B in the Z2-axis direction and the entry-prohibited area information IN1 indicating the entry-prohibited area A1.
[0062] 4, the distance Lot from the machine coordinate Pm, which indicates the position of the end face 11c of the back spindle 11B on the Z2 axis, to the boundary A1b of the entry-prohibited area A1 may differ depending on the position of the center line AX2 of the back spindle 11B on the X2 axis. Therefore, the NC device 70 acquires the position on the X2 axis of the center line AX2, which is the machine coordinate of the back spindle 11B on the X2 axis, obtains the entry-prohibited position Pa, which is the Z2 position of the boundary A1b of the entry-prohibited area A1 at the position of the center line AX2 on the X2 axis, from the entry-prohibited area information IN1, and calculates the distance Lot by subtracting the machine coordinate Pm from the entry-prohibited position Pa. Lot=Pa-Pm …(11) From the above, when the target tool T2 faces the workpiece W1 in the Z2 axis direction, the distance Lot to the entry-prohibited area A1 is calculated based on the machine coordinates Pm and the entry-prohibited area information IN1.
[0063] 10, the NC device 70 causes the display unit 82 to display a handle mode screen 501 including the distance Lot to the entry-prohibited area A1 (step S114). The handle mode screen 501 shown in FIG. 10 displays the distance Lot to the entry-prohibited area A1, such as "distance to OT: 46.001 mm". In this manner, the distance display unit U4 calculates and displays the distance Lot to the entry-prohibited area A1 based on the current position of the driven object 50 and the entry-prohibited area information IN1 when the target tool T2 faces the workpiece W1 in the drive shaft direction 3. When the operator operates the handle 83 (see FIG. 3) while the handle mode screen 501 is displayed, the back headstock 10B moves in the Z2-axis direction in response to the operation of the handle 83. In addition, the handle mode screen 501 has soft keys 81g including a Z setting key 540. The Z setting key 540 is an operation unit for updating the shape correction G that indicates the position of the target tool T2 on the Z2 axis. In the G132 mode, the Z setting key 540 is operated on the premise that it is performed when the end face W1a of the workpiece W1 comes into contact with the tip T1a of the target tool T2, and in the G130 mode, the Z setting key 540 is operated on the premise that it is performed when the end face 11c of the back spindle 11B comes into contact with the tip T1a of the target tool T2.
[0064] Here, an example of adjusting the protruding length Lt of the target tool T2 will be described with reference to Figs. 13 to 15. Fig. 13 shows a schematic example of the tool rest U1 and the back headstock 10B immediately after the temporary fixing operation of the target tool T2. Fig. 14 shows a schematic example of the state where the end face W1a of the workpiece W1 is brought into contact with the tip T1a of the target tool T2. Fig. 15 shows a diagram of the drilling of the maximum machining length Ld by the target tool T2, and shows a schematic example of the state where the back headstock 10B advances until the machine coordinate Pm becomes the machining position of the maximum machining length Ld. For convenience of illustration, Figs. 13 to 15 show the length of the workpiece W1 and the length of the target tool T2 in an exaggerated manner. When the allowance length is α, the machine coordinate Pm is Pa-α, which is obtained by subtracting the allowance length α from the entry prohibition position Pa.
[0065] 15, distance Lft is the distance from the opposing surface 41 of the back tool rest to the tip T1a of the target tool T2, and distance Lfb is the distance from the opposing surface 41 of the back tool rest to the tool attachment reference position Pb. For convenience of explanation, the difference Lfb-Lft between the distances Lfb and Lft, and the calculation formula for distance Lfb are shown below. The difference Lfb-Lft between the distances Lfb and Lft is expressed by the following formula using the no-entry position Pa, the protrusion registration length K, the maximum machining length Ld from the end face of the part of the workpiece W1 excluding the end chamfering allowance F, and the allowance length α. The optimum allowance length α is about 1 to 2 mm. Lfb-Lft=Pa+K-Ld-α …(12) The distance Lft that minimizes the protrusion length Lt of the target tool T2 is expressed by the following calculation formula based on formula (12). Lft = Lfb - Pa - K + Ld + α … (13) In this specific example, the operator does not need to perform the calculations of the above-mentioned equations (12) and (13).
[0066] In this specific example, the protrusion length Lt of the target tool T2 can be adjusted as follows. First, Fig. 13 is a diagram before adjusting the protruding length Lt of the target tool T2. In a state in which the target tool T2 and the workpiece W1 are separated as shown in Fig. 13, the operator performs a temporary fixing operation of the target tool T2 and advances the Z2 axis by operating the handle 83. Then, the operator checks whether the distance Lot to the no-entry area A1 is Lot = Ld + F + α … (14) The Z2 axis is advanced by operating the handle 83 until the value represented by
[0067] FIG. 14 is a diagram showing a state where the back headstock 10B is moved forward to a position where the protruding length Lt of the target tool T2 is adjusted. The operator moves the target tool T2, which is temporarily fixed as shown in FIG. 14, so that it contacts the end face W1a of the workpiece W1, and fastens the cap TU1c to fix the target tool T2 to the tool unit TU1. Before being fixed, the target tool T2 can move in a direction along the Z2 axis. If the target tool T2 is not temporarily fixed but is already attached, the distance Lot to the no-entry area A1 when the target tool T2 contacts the end face W1a of the workpiece W1 is confirmed, and if the protruding length Lt of the target tool T2 is short, it is adjusted by reattaching it again.
[0068] Here is an example with concrete numbers. First, let us assume that the protrusion registration length K = 20.0 mm, the maximum machining length Ld = 15.0 mm, the end chamfering allowance F = 0.1 mm, and the margin length α = 2.0 mm. Let the maximum value Lot_max of the distance Lot to the no-entry area A1 be Lot_max = 46.0 mm. If the target distance Lot when applying the above numbers is Lot_min, then from equation (14), Ld + F + α = 15.0 mm + 0.1 mm + 2.0 mm = 17.1 mm. In Fig. 13, the relationship of the distance Lot is Lot_max ≥ Lot ≥ Lot_min, and the Z2 axis of the back headstock 10B is advanced by operating the handle 83 so that Lot = Lot_min = 17.1 mm in the position shown in Fig. 14. In this state, the target tool T2 is moved so as to contact the end face W1a of the workpiece W1, and the cap TU1c is tightened to fix the target tool T2 to the tool unit TU1. This makes it possible to easily set the target tool T2 to an appropriate length without using simulations or the like.
[0069] As a comparative example, an example in which an operator calculates the distance Lft in the above-mentioned equation (13) will be described. The calculation of the distance Lft in the above formula (13) is tedious because it requires multiple parameters. The reason is as follows. First, the distance Lfb and the no-entry position Pa are not displayed on the screen because they are inherent values of the machine and are not values that the operator takes into consideration. Also, since a lathe is a collection of cylindrical shapes with different diameters, it is difficult to measure the distance Lft with a vernier caliper, and it is necessary to create a dedicated jig. When the tool T1 is a drill tool, the tool T1 is fixed to the tool unit TU1 by tightening the cap TU1c. The protruding length Lt of the tool T1 changes depending on whether the cap TU1c is tightened, and therefore cannot be measured before the tool T1 is attached.
[0070] In contrast, the formula (14) calculated by the operator in this specific example has few parameters and can be calculated easily because the maximum machining length Ld included in the formula (14) can be read from the machining program P2 or the machining drawing.
[0071] Next, the NC device 70 branches the process depending on whether the Z setting key 540 has been operated (step S116). If the Z setting key 540 has not been operated, the process returns to step S112. Therefore, when the position of the end face 11c of the back spindle 11B, that is, the machine coordinate Pm, changes, a new distance Lot is calculated in step S112 and displayed on the handle mode screen 501 in step S114. Therefore, the operator can adjust the mounting position of the target tool T2 relative to the tool holder TU1 while visually checking the display of the distance Lot to the entry-prohibited area A1. For example, when the G132 mode in which the back spindle 11B grips the workpiece W1 is selected, the operator can specifically determine whether the distance Lot to the entry-prohibited area A1 is appropriate in a state ST2 in which the end face W1a of the workpiece W1 is brought into contact with the tip T1a of the target tool T2 by operating the handle 83 (see the lower part of FIG. 5). If the operator determines that the distance Lot is not appropriate, he or she can adjust the mounting position of the target tool T2 relative to the tool holder TU1. When the G130 mode is selected, which does not allow the back spindle 11B to grip the workpiece W1, the operator can specifically determine whether or not the distance Lot, which reaches the no-entry area A1 while the end face 11c of the back spindle 11B is in contact with the tip T1a of the target tool T2 by operating the handle 83, is appropriate. If the operator determines that the distance Lot is not appropriate, he or she can adjust the mounting position of the target tool T2 relative to the tool holder TU1.
[0072] When the Z setting key 540 is operated, the NC device 70 calculates the shape correction G according to the above-mentioned formula (9) or (10) (step S118). In this case, the calculated shape correction G is set in the shape correction display section 512.
[0073] When the G132 mode is selected, it is assumed that the end face W1a of the workpiece W1 is in contact with the tip T1a of the target tool T2 in state ST2 as shown in the lower part of FIG. 5. The operator operates the Z setting key 540 in state ST2 shown in the lower part of FIG. 5. In this case, the updated shape correction Gn is calculated according to formula (9), that is, Gn=Pwc+Gc+F. The NC device 70 acquires the workpiece coordinate Pwc indicating the position where the workpiece W1 and the tool T1 contact in the Z2 axis direction when the back spindle 11B is gripping the workpiece W1, and calculates the updated shape correction Gn based on this workpiece coordinate Pwc. Note that when the shape correction Gn is calculated for the first time after the tool attachment assistance process shown in FIG. 6 is started, the shape correction Gn is the value obtained by adding the end chamfering allowance F to the workpiece coordinate Pwc before the update, since the shape correction Gc before the update is the initial value 0. Gn = Pwc + F ... (9)'
[0074] When the G130 mode is selected, it is assumed that the end face 11c of the back spindle 11B is in contact with the tip T1a of the target tool T2. The operator operates the Z setting key 540 under this assumption. In this case, the updated shape correction Gn is calculated according to the formula (10), that is, Gn=Pwc+Gc. When the back spindle 11B is not gripping the workpiece W1, the NC device 70 acquires the workpiece coordinate Pwc indicating the position where the back spindle 11B and the tool T1 contact in the Z2 axis direction, and calculates the updated shape correction Gn based on the workpiece coordinate Pwc without using the end chamfering allowance F. Note that when the shape correction Gn is calculated for the first time after the tool attachment assistance process shown in FIG. 6 is started, the shape correction Gn becomes the workpiece coordinate Pwc before the update because the shape correction Gc before the update is an initial value 0. Gn = Pwc ... (10)'
[0075] 11, the NC device 70 displays on the display unit 82 an update screen 502 including tool position information IN2 representing the updated shape correction Gn (step S120). The shape correction Gn indicates the position of the target tool T2 in the Z2-axis direction. When the G132 mode is selected, the tool position information display unit U8 that displays the tool position information IN2 acquires a work coordinate Pw that is a position where the workpiece W1 and the tool T1 contact each other in the Z2-axis direction in a state where the back spindle 11B is gripping the workpiece W1, and displays the tool position information IN2 based on the work coordinate Pw. According to the formula (9), the tool position information IN2 is updated based on the work coordinate Pw and the end chamfering allowance F. When the G130 mode is selected, the tool position information display unit U8 acquires a work coordinate Pw that is a position where the back spindle 11B and the tool T1 contact each other in the Z2-axis direction, and displays the tool position information IN2 based on the work coordinate Pw.
[0076] 6 are performed for all tools T1 attached to the tool rest U1. When the process of displaying the updated screen 502 including the tool position information IN2 on the display unit 82 (step S120) is completed, the NC device 70 ends the tool attachment assist process.
[0077] When the tool attachment assistance process is performed, the distance Lot that the back spindle 11B reaches the entry-prohibited area A1 in the Z2-axis direction is displayed on the handle mode screen 501 as shown in FIG. 10. If the distance Lot is not displayed, the operator must perform the troublesome task of calculating the protruding length Lt by himself so that the back spindle 11B does not reach the entry-prohibited area A1 and attaching the tool T1 to the tool rest U1. If it is difficult to calculate the protruding length Lt, it may be found that the back spindle 11B reaches the entry-prohibited area A1 when mass production processing is actually started, and it becomes necessary to reattach the tool T1 at the time of finding out. In this specific example, since the distance Lot that reaches the entry-prohibited area A1 can be found numerically by looking at the handle mode screen 501, the operator can easily determine whether the back spindle 11B can machine the workpiece W1 without entering the entry-prohibited area A1 at the current attachment position of the tool T1. The operator can also determine whether the protruding length Lt of the tool T1 is longer than necessary. Therefore, the operator can appropriately adjust the protrusion length Lt of the tool T1 based on the specific value of the distance Lot. In addition, since the target tool T2 for which the protrusion length Lt is to be adjusted can be switched on the tool selection screen 500 shown in Figures 7 and 8, the protrusion length Lt can be adjusted for all tools T1 attached to the tool rest U1 based on the specific value of the distance Lot. Therefore, in this specific example, the protrusion length of the tool can be easily adjusted without simulating the machining program. In addition, the distance Lot to the no-entry area A1 is displayed, the Z2 axis position for fixing the tool T1 is displayed, and the eigenvalues of the machine have already been calculated by the NC unit 70, so the operator need only consider the shape he or she wishes to machine.
[0078] Furthermore, the operator can know the updated shape correction Gn, which indicates the mounting position of the target tool T2 on the Z2 axis, in numerical value whether the operator is in G132 mode in which the rear spindle 11B grips the workpiece W1 or in G130 mode in which the rear spindle 11B does not grip the workpiece W1.
[0079] (4) Variation: The present invention contemplates various modifications. For example, the lathe to which the present technology can be applied is not limited to a type equipped with a guide bush, but may be a type without a guide bush, or a type in which the use of a guide bush can be switched on and off.Furthermore, the lathe to which the present technology can be applied is not limited to a moving spindle type lathe, but may be a fixed spindle type lathe in which the front headstock does not move.
[0080] In the above-described specific example, the back headstock 10B moves in the Z2 axis direction, but the back tool rest 40B may move in the Z2 axis direction without moving the back headstock 10B. In this case, the tool rest unit U1 including the back tool rest 40B becomes the driven object 50. In addition, when both the back headstock 10B and the back tool rest 40B move in the Z2 axis direction, both the back headstock 10B and the tool rest unit U1 can be treated as the driven object 50. Furthermore, in the above-mentioned specific example, the back headstock 10B moves in the X2 axis direction, but the back tool rest 40B may move in the X2 axis direction without moving the back headstock 10B. In this case, the X2-axis drive motor that moves the back tool rest 40B in the X2 axis direction becomes the switching drive unit U5. Also, when both the back headstock 10B and the back tool rest 40B move in the X2 axis direction, the drive motors for both the back headstock 10B and the tool rest unit U1 can be treated as the switching drive unit U5.
[0081] The headstock to which the present technology can be applied is not limited to the rear headstock 10B, but may be the front headstock 10A. The tool rest section to which the present technology can be applied is not limited to the combination of the back tool rest 40B and the tool holder TU1, but may be a combination of a turret tool rest and a tool holder, a comb tool rest for selecting multiple tools, etc. When the tool rest section includes a turret tool rest, the drive section that rotates the turret may be treated as the switching drive section.
[0082] FIG. 12 shows a schematic example of the no-entry area A1 and various parameters when the driven object 50 is the tool rest part U1 including at least the main tool rest 40A and the interference object 55 is the front spindle stock 10A. The tool T1 shown in FIG. 12 is a tool bit, but the tool attached to the tool rest part U1 may include a rotary drill or the like. As shown in FIG. 2, the main tool rest 40A moves in the X1-axis direction by the X1-axis motor M2 and moves in the Y1-axis direction by the Y1-axis motor M3. The workpiece W1 held by the front spindle 11A is machined by one of the multiple tools T1 attached to the tool rest part U1 including at least the main tool rest 40A. In FIG. 12, the upward direction along the X1 axis is the positive direction, and the downward direction along the X1 axis is the negative direction. In the example shown in FIG. 12, the drive axis direction 3 in which the distance from the workpiece W1 to the tool T1 changes is the X1 axis direction, the drive unit U2 that moves the driven object 50 is the X1 axis motor M2, and the switching drive unit U5 that switches the tool T1 is the Y1 axis motor M3.
[0083] The main tool rest 40A can mount a plurality of tools T1 at different positions on a virtual plane 4 intersecting with the X1-axis direction. The Y1-axis motor M3 moves the main tool rest 40A in the Y1-axis direction in accordance with the control of the NC device 70 so that the side of the workpiece W1 held by the front spindle 11A faces one of the plurality of tools T1 in the X1-axis direction. This switches the tool facing the workpiece W1 from the plurality of tools T1 attached to the main tool rest 40A. The adjustment of the protruding length Lt of the tool T1 from the main tool rest 40A is performed in a state in which the tool T1 faces the workpiece W1. The X1-axis motor M2 moves the main tool rest 40A in the X1-axis direction in accordance with the control of the NC device 70. This changes the distance Lot from the workpiece W1 to the facing tool T1.
[0084] In order to prevent interference between the headstock 10A and the main tool rest 40A, an entry-prohibited area A1 corresponding to the shape of the headstock 10A is set on the lathe 1. When the control position (corresponding to the machine coordinate Pm) of the main tool rest 40A approaching the headstock 11A on the X1 axis reaches the boundary A1b (corresponding to the entry-prohibited position Pa) of the entry-prohibited area A1, the NC device 70 stops the movement of the main tool rest 40A.
[0085] Here, the point (X1=0) specific to the machine that serves as the reference for the machine on the X1 axis is defined as the machine origin. The machine origin X1=0 shown in FIG. 12 is aligned with the center line AX1 of the front spindle 11A. The machine coordinate Pm indicates the position on the X1 axis of the main tool post 40A with the machine origin X1=0 as the base point. The machine coordinate Pm shown in FIG. 12 is the position on the X1 axis of the virtual plane 4 with the machine origin X1=0 as the base point, and is a positive value when it is above the machine origin X1=0. The machine coordinate Pm is an example of the current position of the driven object 50. The workpiece coordinate Pw is the coordinate of the tip T1a of the target tool T2 on the X1 axis. The radius d of the workpiece W1 is a parameter that replaces the above-mentioned protrusion registration length K. The position on the X1 axis of the side surface of the workpiece W1 that faces the target tool T2 is d. The radius d of the workpiece W1 can be read out or calculated from the machining program P2. The distance Lot of the main tool rest 40A to the no-entry area A1 is the value obtained by subtracting the machine coordinate Pm from the no-entry position Pa, as shown in the above-mentioned formula (11). The distance Lot shown in FIG. 12 is a negative value. The NC device 70 displays the distance Lot, which is a negative value, on the handle mode screen, similar to the handle mode screen 501 shown in FIG. 10.
[0086] The operator can see the distance Lot to the no-entry area A1 numerically by looking at the handle mode screen, and can adjust the protrusion length Lt of the tool T1 based on the specific value of the distance Lot. Therefore, in the example shown in Fig. 12, the protrusion length of the tool can be easily adjusted without simulating the machining program.
[0087] (5) Conclusion: As described above, according to the present invention, it is possible to provide a technology for a lathe or the like that allows the protruding length of a tool to be easily adjusted without performing a simulation, through various aspects. Of course, even if the technology is composed only of the constituent elements according to the independent claims, the basic functions and effects described above can be obtained. In addition, configurations in which the configurations disclosed in the above examples are substituted with each other or the combination is changed, configurations in which the configurations disclosed in the publicly known techniques and the above examples are substituted with each other or the combination is changed, etc. The present invention also includes these configurations. [Explanation of symbols]
[0088] 1...Lathe, 3...Drive shaft direction, 4...Virtual plane, 10…headstock, 10A…front headstock, 10B…rear headstock, 11...Spindle, 11A...Front spindle, 11B...Back spindle, 11c...End face, 40...tool rest, 40A...main tool rest, 40B...back tool rest, 41...opposing surface, 50...Driven object, 55...Interference object, 70...NC device, 72...ROM, 80: operation panel, 81: input unit, 82: display unit, 82a: screen, 83: handle, 500...tool selection screen, 501...handle mode screen, 502...update screen, 511: workpiece coordinate display section; 512: shape correction display section; 513: tool list display section; 514: protrusion registration length display section; 515: end chamfering allowance display section; 520: Mode display unit, 521: Holding mode, 522: Non-holding mode, 523...Mode switching key, 530...Handle key, 540...Z setting key, A1...Prohibited area, A1b...Boundary, AX1, AX2…center line, F... End chamfering allowance (example of machining length), G... Shape correction (example of tool position), IN1…Prohibited area information, IN2…Tool position information, Lg: gripping length of workpiece, Lot: distance to no-entry area, Lt: tool protrusion length, Lp: product length, K…Extrusion registration length, M1...Z1 axis motor, M2...X1 axis motor, M3...Y1 axis motor, M4…X2 axis motor, M5…Z2 axis motor, Pa...Prohibited position, Pb...Tool installation reference position, Pm: Machine coordinates (example of the current position of the driven object) Pw: Work coordinates (example of the coordinates of the end face of the work), T1...tool, T1a...tip, T2...target tool, TU1...tool holder, U1: Tool rest, U2: Drive, U3: Memory, U4: Distance display, U5: Switching drive unit, U6: Target tool reception unit, U7: Mode reception unit, U8...Tool position information display section, W1...workpiece, W1a...end surface.
Claims
1. A headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a tool position information display unit that displays tool position information representing a position of the tool in the drive shaft direction, When a setting key for acquiring the contact position between the workpiece and the tool in the drive shaft direction is operated while the spindle is gripping the workpiece, the tool position information display unit acquires the contact position between the workpiece and the tool in the drive shaft direction, and updates and displays the tool position information based on the acquired position.
2. A headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a tool position information display unit that displays tool position information representing a position of the tool in the drive shaft direction, When a setting key for acquiring the contact position between the spindle and the tool in the drive shaft direction is operated while the spindle is not gripping the workpiece, the tool position information display unit acquires the contact position between the spindle and the tool in the drive shaft direction, and updates and displays the tool position information based on the acquired position.
3. A headstock having a spindle for gripping a workpiece; a tool rest portion to which a tool for machining the workpiece held by the spindle can be attached; a drive unit that moves at least one of the headstock and the tool rest in a drive axis direction in which a distance from the workpiece to the tool changes; A storage unit that stores entry-prohibited area information that indicates an entry-prohibited area of the driving object; a distance display unit that calculates and displays a distance from the driven object to the no-entry area in the drive axis direction based on a current position of the driven object in the drive axis direction and the no-entry area information; a mode reception unit that receives either a gripping mode in which the spindle grips the workpiece or a non-grip mode in which the spindle does not grip the workpiece; a tool position information display unit that displays tool position information representing a position of the tool in the drive shaft direction, The tool position information display unit includes: When the mode is the gripping mode, when a setting key for acquiring a contact position between the workpiece and the tool in the drive shaft direction is operated in a state in which the spindle is gripping the workpiece, the contact position between the workpiece and the tool in the drive shaft direction is acquired, and the tool position information is updated and displayed based on the acquired position, When the mode is the non-gripping mode, when a setting key for acquiring the contact position between the spindle and the tool in the drive shaft direction is operated while the spindle is not gripping the workpiece, the lathe acquires the contact position between the spindle and the tool in the drive shaft direction, and updates and displays the tool position information based on the acquired position.
4. the tool rest portion is capable of mounting a plurality of the tools at different positions on a virtual plane intersecting the drive shaft direction, The lathe according to any one of claims 1 to 3, further comprising a switching drive unit that switches a tool for machining the workpiece from among the plurality of tools attached to the tool rest unit.
5. a target tool receiving unit that receives a selection of a target tool to have its projection length adjusted from among the plurality of tools attached to the tool rest unit, 5. The lathe according to claim 4, wherein the distance display unit calculates and displays a distance to the no-entry area based on the current position and the no-entry area information when the target tool faces the workpiece in the drive shaft direction.
6. 4. The lathe according to claim 3, wherein the tool position information display unit accepts an input of a machining length for machining the end face of the workpiece in the drive axis direction, and when the mode is the gripping mode, updates the tool position information based on the acquired position and the machining length.
Citation Information
Patent Citations
Production of approach route of NC working machine
JP1989032310A
Numeric controller
JP1990028703A
Deciding device for tooling on sinking comb type cutting tool post
JP1990041842A
Numerical controller
JP1994119025A
Interaction region setting method of machine tool
JP2006102922A
