CN107234485A - The control method of lathe and lathe - Google Patents

The control method of lathe and lathe Download PDF

Info

Publication number
CN107234485A
CN107234485A CN201710192876.4A CN201710192876A CN107234485A CN 107234485 A CN107234485 A CN 107234485A CN 201710192876 A CN201710192876 A CN 201710192876A CN 107234485 A CN107234485 A CN 107234485A
Authority
CN
China
Prior art keywords
main shaft
tapping
difference
threshold value
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710192876.4A
Other languages
Chinese (zh)
Other versions
CN107234485B (en
Inventor
堀冈大士
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Publication of CN107234485A publication Critical patent/CN107234485A/en
Application granted granted Critical
Publication of CN107234485B publication Critical patent/CN107234485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23GTHREAD CUTTING; WORKING OF SCREWS, BOLT HEADS, OR NUTS, IN CONJUNCTION THEREWITH
    • B23G1/00Thread cutting; Automatic machines specially designed therefor
    • B23G1/16Thread cutting; Automatic machines specially designed therefor in holes of workpieces by taps
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23GTHREAD CUTTING; WORKING OF SCREWS, BOLT HEADS, OR NUTS, IN CONJUNCTION THEREWITH
    • B23G1/00Thread cutting; Automatic machines specially designed therefor
    • B23G1/44Equipment or accessories specially designed for machines or devices for thread cutting

Abstract

The present invention provides the control method of lathe and lathe.The lathe has:Travel mechanism, makes main shaft move in the axial direction;Motor, rotates about the axis main shaft;Control device, is successively read the multiple orders for constituting procedure, and the driving to travel mechanism and motor is controlled;First test section, detects the axis direction position of main shaft;Second test section, detects the circumferential position of main shaft.Control device has:Judging part, when the order read includes tapping instruction, judge whether the position of the above-below direction obtained according to the circumferential position and tapping ordering calculation that are detected by the second test section and the difference of the position of the above-below direction detected by the first test section have exceeded threshold value set in advance;End portion, when judging part is judged as that difference has exceeded threshold value, perform has performed tapping instruction after terminate perform procedure first terminate processing and stop perform tapping instruct and terminate execution procedure the second end handle any one of.

Description

The control method of lathe and lathe
Technical field
The present invention relates to the control of the axis direction position that can control main shaft and the lathe and lathe of the circumferential position of main shaft Method processed, wherein, can be by tool assembly in the main shaft.
Background technology
Japanese Patent Publication the 2013-206330th discloses a kind of lathe, and lathe has main shaft, for making main shaft The travel mechanism that moves in the axial direction, for making the motor and the driving to travel mechanism and motor that main shaft rotates about the axis The control device being controlled, wherein, can be by tool assembly in the main shaft.Control device controls the rotary speed of main shaft, with Make the rotary speed of main shaft consistent with target rotational speed at the assigned position of axis direction.
Lathe carry out tapping processing when, when main shaft rotation amount and main shaft the amount of moving up and down difference it is larger when, Sometimes cutter causes cutter or main shaft damaged engaging in workpiece.
The content of the invention
Even if it is an object of the invention to provide the difference of the above-below direction position of main shaft and target above-below direction position compared with Greatly, the damaged lathe of main shaft and the control method of lathe can also be prevented.
The lathe of technical scheme 1 has:Main shaft, cutter can be assemblied in the main shaft;Travel mechanism, it is used to make main shaft edge Axis direction is moved;Motor, it is used to rotate about the axis main shaft;Control device, it, which is successively read, constitutes many of procedure Individual order, the driving to travel mechanism and motor is controlled;First test section, it is used for the axis direction position for detecting main shaft Put;And second test section, it is used for the circumferential position for detecting main shaft, and in the lathe, control device has:Judging part, When the order read is instructed using cutter to the tapping of workpiece tapping, the judging part is examined according to by the second test section The circumferential position of the main shaft measured is simultaneously instructed come the position of the above-below direction of main shaft described in computing, and judge based on the tapping The position of the above-below direction for the main shaft that the computing is obtained and the position of the above-below direction of the main shaft detected by the first test section Whether the difference put has exceeded threshold value set in advance;And end portion, should when judging part is judged as that difference has exceeded threshold value End portion performs first and terminates any one of processing and the second end processing, and first end processing is to perform tapping Terminate the processing of execution procedure after instruction, second end processing is to stop execution tapping to instruct and terminate to perform processing The processing of program.
The present invention is instructed come computing main shaft according to the circumferential position and tapping of the main shaft detected by the second test section The position of above-below direction, the master obtained in the position of the current above-below direction of the main shaft detected by the first test section and computing When the difference of the position of the above-below direction of axle has exceeded threshold value, the of the end procedure after tapping instruction has been performed is performed One end is handled, or performs the second end processing for terminating procedure before tapping instruction has been performed.
The control device of the lathe of technical scheme 2 has configuration part, and the configuration part, which is used for setting, to be performed at the first end Reason or execution the second end processing, end portion is performed according to the setting of configuration part at the first end processing or the second end Reason.
Operator can be set execution first using configuration part and terminate any one of processing and the second end processing, energy It is enough to perform appropriate end processing corresponding with the characteristic of cutter and workpiece.
The order of the lathe of technical scheme 3 includes exiting the exit instruction of cutter, threshold value from the screwed hole for being formed at workpiece Including first threshold and Second Threshold, judging part includes:First judging part, when performing tapping instruction, first judging part Judge whether difference has exceeded first threshold;And second judging part, when performing exit instruction, it is poor that second judging part judges Divide and whether exceeded Second Threshold.
In the position of the current above-below direction for the main shaft for carrying out tapping to workpiece and being detected by the first test section In the case that the difference of the position of the above-below direction of the main shaft obtained with computing has exceeded threshold value, during tapping is performed When stopping the rotation of main shaft, workpiece enters in the groove of cutter, and cutter is easily mutually locking with workpiece.Cutter is being exited from screwed hole simultaneously And in the case that the difference has exceeded threshold value, it is de- from main shaft engaging in the cutter of workpiece when main shaft is moved in the axial direction Fall, be easily caused main shaft and sustain damage.The present invention carry out tapping when and exited from when, the difference is judged respectively whether The threshold value is exceeded, even if cutter is also able to carry out the action of appropriate main shaft corresponding with each situation engaging in workpiece, has prevented The only breakage of cutter or main shaft.
The threshold value of the lathe of technical scheme 4 includes the 3rd threshold value and the 4th big threshold value of the threshold values of Bi tri-, and judging part includes: 3rd judging part, it is used to judge whether difference has exceeded the 3rd threshold value;And the 4th judging part, it is used to whether judge difference The 4th threshold value is exceeded, has been judged as that difference has exceeded the 3rd threshold value and the 4th judging part is judged as that difference does not have in the 3rd judging part During more than four threshold values, end portion performs the first end processing, when the 4th judging part is judged as that difference has exceeded four threshold values, End portion performs the second end processing.
The present invention is when the difference is more than the 3rd threshold value but for below the 4th threshold value, it is contemplated that cutter is locking to workpiece Degree is relatively low, therefore, performs the first end processing, completes to perform tapping instruction.When the difference has exceeded four threshold values, It is higher to the locking degree of workpiece in view of cutter, therefore, the second end processing is performed, stop to perform tapping instruction immediately. Even if occurring cutter engaging in the situation of workpiece, the action of appropriate main shaft corresponding with situation is also able to carry out, cutter is prevented Or the breakage of main shaft.
Technical scheme 5 is the control method of lathe, and the lathe has:Main shaft, cutter can be assemblied in the main shaft;Moving machine Structure, it is used to make the main shaft move in the axial direction;Motor, it is used to rotate about the axis the main shaft;Control device, its according to Secondary to read the multiple orders for constituting procedure, the driving to the travel mechanism and the motor is controlled;First detection Portion, it is used for the axis direction position for detecting the main shaft;And second test section, it is used for the circumferential position for detecting the main shaft Put, in the control method of the lathe, the tapping of workpiece tapping is referred to using cutter in the order read When making, according to the circumferential position of the main shaft detected by second test section and tapping instruction come computing The position of the above-below direction of main shaft, and judge the position of the above-below direction for the main shaft that the computing is obtained and examined by described first Whether the difference of the position of the above-below direction for the main shaft that survey portion is detected has exceeded threshold value set in advance, being judged as When stating difference and having exceeded the threshold value, perform first and terminate any one of processing and the second end processing, at first end Reason is to terminate to perform the processing of the procedure after the tapping instruction has been performed, and second end processing is to stop to hold The row tapping instructs and terminates to perform the processing of the procedure.
The present invention is instructed come computing main shaft according to the circumferential position and tapping of the main shaft detected by the second test section The position of above-below direction, the master obtained in the position of the current above-below direction of the main shaft detected by the first test section and computing When the difference of the position of the above-below direction of axle has exceeded threshold value, the of the end procedure after tapping instruction has been performed is performed One end is handled, or performs the second end processing for terminating procedure before tapping instruction has been performed.
Brief description of the drawings
Fig. 1 is the stereogram for the lathe for representing embodiment 1.
Fig. 2 is the block diagram for representing control device.
Fig. 3 is the schematic diagram for an example for representing procedure.
Fig. 4 is the explanation figure for illustrating the action of main shaft.
Fig. 5 is the flow chart for illustrating tapping working process.
Fig. 6 is the flow chart for illustrating tapping working process.
Fig. 7 is the flow chart for illustrating the tapping working process of embodiment 2.
Embodiment
Embodiment 1
Illustrate the lathe of embodiment 1 based on accompanying drawing.In the following description content, using shown in the arrow in accompanying drawing Top to bottom, left and right, front and rear.
As shown in figure 1, lathe 100 has the pedestal 1 of the rectangle extended along the longitudinal direction.Work holding portion thereof 3 is located at pedestal 1 Top forward side position.Work holding portion thereof 3 can be around the A axles rotation extended in left-right direction, and work holding portion thereof 3 can Rotated around vertically extending C axles.Supporting station 2 is located at the position of the side rearward on the top of pedestal 1, supporting upright post 4.
Y direction travel mechanism 10 is located at the top of supporting station 2, and movable plate 16 can be made to move along the longitudinal direction.Y-axis side There is the track 11 that Y-axis screw rod 12, Y-axis motor 13, bearing 14 and two extend along the longitudinal direction to travel mechanism 10.Track 11 located at the side that keeps left on the top of supporting station 2 position and position on the right side.Y-axis screw rod 12 extends along the longitudinal direction, and sets Between two tracks 11.Bearing 14 is located at the leading section of Y-axis screw rod 12 and middle part (omitting diagram).Y-axis motor 13 and Y-axis The rearward end of screw rod 12 is connected.Nut (omitting diagram) is threadedly engaged across rolling element (omitting diagram) with Y-axis screw rod 12.Rolling Kinetoplast is, for example, ball.Multiple sliding parts 15 are located at each track 11 in the way of it can slide.Movable plate 16 prolongs in the horizontal direction Stretch, be connected with the top of nut and sliding part 15.Y-axis screw rod 12 is rotated with the rotation of Y-axis motor 13, so that spiral shell Mother moves along the longitudinal direction, movable plate 16 is moved along the longitudinal direction.
X-direction travel mechanism 20 is located at the upper surface of movable plate 16, and column 4 can be made to move in left-right direction.X-axis side There are X-axis screw rod 22, X-axis motor 23 (reference picture 2), bearing 24 and two rails extended in left-right direction to travel mechanism 20 Road 21.Position and the rearward position of side of the track 21 located at the forward side of the upper surface of movable plate 16.X-axis screw rod 22 is along right and left To extension, and between two tracks 21.Bearing 24 is located at the left part of X-axis screw rod 22 and middle part (omitting diagram).X-axis The right part of motor 23 and X-axis screw rod 22 is connected.Nut (omitting diagram) is across rolling element (omitting diagram) and X-axis screw rod 22 It is threadedly engaged.Multiple sliding parts 26 are located at each track 21 in the way of it can slide.The top of column 4 and nut and sliding part 26 It is connected.X-axis screw rod 22 is rotated with the rotation of X-axis motor 23, so that nut is moved in left-right direction, makes column 4 Move in left-right direction.
Z-direction travel mechanism 30 is located at the preceding surface of column 4, and main tapping 5 can be made to move along the vertical direction.Z axis side There are Z axis screw rod 32, Z axis motor 33, bearing 34 and two vertically extending tracks 31 to travel mechanism 30.Track 31 located at the side that keeps left on the preceding surface of column 4 position and position on the right side.Z axis screw rod 32 is vertically extending, and sets Between two tracks 31.Bearing 34 is located at the bottom of Z axis screw rod 32 and middle part (omitting diagram).Z axis motor 33 and Z axis The upper end of screw rod 32 is connected.Nut (omitting diagram) is threadedly engaged across rolling element (omitting diagram) with Z axis screw rod 32.It is many Individual sliding part 35 is located at each track 31 in the way of it can slide.The front portion of main tapping 5 and nut and sliding part 35 is connected.Z Axle screw rod 32 is rotated with the rotation of Z axis motor 33, so that nut is moved along the vertical direction, makes main tapping 5 vertically Move in direction.
Vertically extending main shaft 51 is in main tapping 5.Main shaft 51 can be rotated about the axis.(the horse of spindle motor 6 Up to) it is located at the upper end of main tapping 5.Can be by tool assembly in the bottom of main shaft 51.Main shaft 51 is with the rotation of spindle motor 6 Capable rotation is rotated into, so that cutter is rotated.The cutter of rotation is processed to the workpiece kept by work holding portion thereof 3.
Lathe 100 has the tool changing device (omitting diagram) that can exchange cutter.Tool changing device can exchange and be accommodated in knife The cutter in storehouse (omitting diagram) and the cutter being assemblied on main shaft 51.
Lathe 100 has the drive to motor 6, motor 13, motor 23, motor 33, work holding portion thereof 3 and tool changing device etc. The dynamic control device 60 being controlled.As shown in Fig. 2 control device 60 has CPU61, ROM62, RAM63, EEPROM etc. non-easily Storage device 64, input interface 65, output interface 66 of the property lost etc..The control program reading that CPU61 will be stored in ROM62 is arrived RAM63, the driving to motor 6, motor 23, motor 13, motor 33, work holding portion thereof 3 and tool changing device etc. is controlled.
Storage device 64 stores first threshold C1, Second Threshold C2, cuts rank, exit rank, represent procedure The variable n of line number and procedure of processing workpiece etc..Cutting rank has low level and high-level, and exiting rank has low level With it is high-level.Operator is by operating receiving portion 67, to cutting rank and exiting grade setting low level or high-level.
Low level is represented after Machining Instruction has been performed, and terminates to perform procedure.High-level expression, which does not wait to have performed, to be added Work instruction just stops to perform Machining Instruction, terminates to perform procedure.
Lathe 100 has receiving portion 67 (configuration part), Z axis sensor 68 (the first test section) and main shaft sensor 69 (the second test section).Receiving portion 67 has such as keyboard, touch pad, display picture, can receive the operation of user.Use Person performs for example described later first in the setting of storage device 64 by receiving portion 67 and terminates processing or the second end processing.Z axis is passed Sensor 68 can detect the position of the above-below direction of main shaft 51, in other words can detect the axis direction position of main shaft 51.Main shaft Sensor 69 can detect the circumferential position of main shaft 51.Control device 60 refers to by input interface 65 from the input of receiving portion 67 Order, from the input axis direction position of Z axis sensor 68, from the circumferential position of the entering spindle 51 of main shaft sensor 69.Control dress 60 are put by output interface 66 to spindle motor 6, X-axis motor 23, Y-axis motor 13, the output drive signal of Z axis motor 33.
As shown in figure 3, " numbering " column represents line number, " order " column represents the processing performed.Storage device 64, which is stored, to be used for Process the procedure of workpiece.Procedure has multiple rows (order).CPU61 is read out to row successively, performs order.The The G100 of N1 rows represents tool changing order, and T1 represents next to be assemblied in the numbering of the cutter of main shaft 51.X-60 is represented after tool changing Main shaft 51 left and right directions position of readiness, Y-20 represents the fore-and-aft direction position of readiness of the main shaft after tool changing 51, and Z20 is represented The above-below direction position of readiness of main shaft 51 after tool changing.Main shaft 51 when numerical value behind X, Y, Z represents working origin being set to 0 Position, unit is mm.In addition, movement towards a direction is represented by "+", the movement towards other direction is represented by "-".N2 Capable G84 represents tapping processing order, and M03 represents that main shaft 51 is rotated forward, and S25000 represents that the target rotational speed of main shaft 51 is 25000rmp, Z-5 represent the above-below direction in-position in tapping processing.I2 represents that tapping pitch is 2.M04 represents main Axle 51 is inverted, and S15000 represents that the target rotational speed of main shaft 51 is 15000rmp, and Z10 represents to exit main shaft 51 from screwed hole Above-below direction in-position in action.Main shaft 51 is rotated forward, and the above-below direction being moved to from position of readiness in tapping processing In-position, to workpiece tapping, forms screwed hole on workpiece.After screwed hole is formed, main shaft 51 is inverted, and is moved to and is moved back The above-below direction in-position gone out under action.The M30 of Nn rows represents the end order of procedure.In addition, for cutting level Not and rank is exited, receiving portion 67 is operated by operator in advance, by low level or high-level be stored in storage device 64.
As shown in Figure 5, Figure 6, variable n is set as 1 (step S1) by CPU61, reads the Nn row (steps of procedure S2).CPU61 judges whether to read end order (M30) (step S3).(the step S3 when reading end order:It is), CPU61 terminates to perform procedure.(the step S3 when not reading end order:It is no), CPU61, which judges whether to read, to be attacked Screw thread process order (step S4).(the step S4 when not reading tapping processing order:It is no), CPU61 is performed and read Order (step S5), Jia 1 (step S6) on variable n, and return process to step S2.
(the step S4 when reading tapping processing order:It is), CPU61 reference objects rotary speed is (such as in Fig. 3 S25000), rotate forward main shaft 51, and main shaft 51 is declined towards workpiece.Before main shaft 51 rotates and declines, from main shaft sensing Device 69 obtains the current circumferential position of main shaft 51, and obtains from Z axis sensor 68 the current above-below direction position of main shaft 51 Put (step S7).CPU61 obtains the circumferential position of main shaft 51 from main shaft sensor 69, by the circumferential position of the main shaft 51 got Put and add up to be added with the circumferential position of the main shaft 51 got in step 7.CPU61 obtains main shaft from Z axis sensor 68 simultaneously 51 above-below direction position, by the above-below direction position of the main shaft 51 got and the above-below direction got in step 7 Position is accumulative to be added (the current above-below direction position of main shaft 51).It is added the obtained circumferential position of main shaft 51 according to accumulative and attacks The above-below direction position (the target above-below direction position of main shaft 51) of thread pitch computing main shaft 51, and to master that the computing is obtained The above-below direction position (the target above-below direction position of main shaft 51) of axle 51 and the accumulative above-below direction position (main shaft for being added and obtaining 51 current above-below direction position) difference (the first difference) carry out computing (step S8).CPU61 judges whether the first difference surpasses First threshold C1 (step S9) is crossed.(the step S9 when the first difference has exceeded first threshold C1:It is), CPU61 is set in 1 First mark (step S10) of storage device 64, judges whether cutting rank is low level (step S11).It is super in the first difference When having crossed first threshold C1, cutter is easily engaging in workpiece.
Cutting (step S11 when rank is low level:It is), CPU61 judges whether main shaft 51 has reached above-below direction and arrived Up to position (step S12).Specifically, CPU61 obtains the above-below direction position of main shaft 51 from Z axis sensor 68, judges main shaft Whether 51 be located at the position (reference picture 3) represented by Z-5.(the step when main shaft 51 does not reach above-below direction in-position S12:It is no), i.e., cutter is also when to workpiece tapping, and CPU61 returns process to step S8.Upper and lower has been reached in main shaft 51 To (step S12 during in-position:It is), the current circumferential position of main shaft 51 is obtained from main shaft sensor 69, and pass from Z axis Sensor 68 obtains the current above-below direction position (step S13) of main shaft 51.CPU61 reference objects rotary speed is (such as in Fig. 3 S15000), main shaft 51 is inverted and is risen (step S14).CPU61 obtains the circumferential position of main shaft 51 from main shaft sensor 69 Put, the circumferential position of the main shaft 51 got is added up to be added with the circumferential position of the main shaft 51 got in step 13. CPU61 obtains the above-below direction position of main shaft 51 from Z axis sensor 68 simultaneously, by the above-below direction position of the main shaft 51 got Put and add up to be added (the above-below direction position of main shaft 51) with the above-below direction position got in step 13.It is added according to accumulative The circumferential position of obtained main shaft 51 and above-below direction position (the target upper and lower of main shaft 51 of tapping pitch computing main shaft 51 To position), and the above-below direction position (the target above-below direction position of main shaft 51) of the main shaft 51 obtained to the computing and accumulative The difference (the second difference) for being added obtained above-below direction position (the current above-below direction position of main shaft 51) carries out computing (step S15).CPU61 judges whether the second difference has exceeded Second Threshold C2 (step S16).Second Threshold is exceeded in the second difference (step S16 during C2:It is), the second mark (step S17) that CPU61 is set in storage device 64 by 1.Exceed in the second difference During Second Threshold C2, cutter is easily engaging in workpiece.Then, CPU61 judges to exit whether rank is low level (step S18). (the step S18 when exiting rank for low level:It is), CPU61 judges to exit whether action has terminated (step S19).It is specific and Speech, CPU61 obtains the above-below direction position of main shaft 51 from Z axis sensor 68, judges whether main shaft 51 is located at the position represented by Z10 Put (reference picture 3).Exiting (step S19 when action is not over:It is no), CPU61 returns process to step S15.
(the step S19 when exiting release:Be), CPU61 judge whether by the value beyond 0 be set in the first mark or Second mark (step S20).(the step S20 when the first mark and the second mark are 0:It is no), CPU61 Jia 1 on variable n (step S23), and return process to step S2.
When the first mark and the second mark are 0, cutter is relatively low engaging in the possibility of workpiece.Therefore, CPU61 is successively The row of procedure is read, procedure is continued executing with untill reading end order.CPU61 is reading end order When, terminate to perform procedure.Because cutter is relatively low engaging in the possibility of workpiece, therefore, CPU61 performs common tapping Processing, also performs follow-up processing.
In step S20, (step S20 when any one of the first mark and the second mark are not 0:It is), CPU61 terminates Procedure (step S21), and terminate tapping working process.
It is judged as that the first difference is not above (step S9 during first threshold C1 in step s 9:It is no), CPU61 makes before processing Enter step S12.When the first difference is not above first threshold C1, cutter is relatively low engaging in the possibility of workpiece.In step It is judged as that the second difference is not above (step S16 during Second Threshold C2 in S16:It is no), CPU61 makes processing proceed to step S19. When the second difference is not above Second Threshold C2, cutter is relatively low engaging in the possibility of workpiece.
It is judged as (step S11 when cutting rank is not low level in step s 11:It is no), that is, it is judged as that cutting rank is When high-level, CPU61 stops tapping processing (step S22), processing is proceeded to step S20.Due in step slo by 1 It is set in the first mark (step S20:It is), therefore CPU61 terminates execution procedure (step S21).
It is judged as exiting (step S18 when rank is not low level in step S18:It is no), that is, it is judged as that exiting rank is When high-level, CPU61 stops to exit action (step S22), processing is proceeded to step S20.Due to 1 being set in step S17 Indicate (step S20 due to second:It is), therefore CPU61 terminates execution procedure (step S21).Perform S9, S16 CPU61 Equivalent to judging part.
It is judged as NO, is handled via S22, S20, S21 processing equivalent to the second end, in S11 and S18 in S11 and S18 It is judged as YES, is handled via S20, S21 processing equivalent to the first end.Perform the first end processing and the second end processing CPU61 equivalent to end portion.
S9 CPU61 is performed equivalent to the first judging part, S16 CPU61 is performed equivalent to the second judging part.
The lathe 100 of embodiment 1 is in the current above-below direction position of main shaft 51 and the target above-below direction position of main shaft 51 When the difference put has exceeded first threshold C1 or Second Threshold C2, i.e., according to the judgement in step S11 or step S18, performing After complete tapping Machining Instruction or exit instruction, terminate procedure (performing the first end processing), or, stop execution and attack spiral shell Line Machining Instruction or exit instruction, terminate procedure (performing the second end processing).Therefore, even if occurring cutter engaging in work The situation of part, main shaft 51 also can be acted suitably, prevent the breakage of cutter or main shaft 51.
Operator can set any one of the first end processing and the second end processing using receiving portion 67, can Perform appropriate end processing corresponding with the characteristic of cutter and workpiece.
During to workpiece tapping, in the current above-below direction position of main shaft 51 and the target upper and lower of main shaft 51 When exceeding first threshold C1 to the difference of position and stopping the rotation of main shaft 51, cutter is easily engaging in workpiece.By cutter During screwed hole is exited, the difference in the current above-below direction position of main shaft 51 and the target above-below direction position of main shaft 51 When point being moved in the axial direction more than Second Threshold C2 and main shaft 51, depart from engaging in the cutter of workpiece from main shaft 51, easily Main shaft 51 is caused to sustain damage.In the present embodiment, for carry out tapping when and the when of exiting, whether judge the difference Exceed first threshold C1 or Second Threshold C2, even if occurring cutter engaging in the situation of workpiece, be also able to carry out appropriate master The action of axle 51, prevents the breakage of cutter or main shaft 51.
For example when carrying out tapping processing, by being low level by cutting grade setting, even if so that the difference is super First threshold C1 is crossed, lathe will not also stop processing in the action process of tapping.When the termination in tapping action process During processing, cutter is engaging in workpiece, it is necessary to which operator exits the operation of cutter from workpiece.Although the difference exceedes first threshold C1, as turning into substandard products for workpiece, but by being low level, lathe can save aforesaid operations person by cutting grade setting Operation.
When carrying out exiting the action of cutter from screwed hole, it is high-level for will move out grade setting, and action is exited in termination, is tied Beam procedure, prevents cutter departs from from main shaft 51 from causing main shaft 51 to sustain damage.
Embodiment 2
Illustrate the lathe of embodiment 2 based on accompanying drawing.Storage device 64 is stored with the 3rd tri- threshold value of threshold value C3 and Bi The 4th big C3 threshold value C4.As shown in fig. 7, variable n is set as 1 (step S31) by CPU61, the Nn rows of procedure are read (step S32).CPU61 judges whether to read end order (M30) (step S33).(the step when reading end order S33:It is), CPU61 terminates to perform procedure.(the step S33 when not reading end order:It is no), CPU61 judgements are It is no to read tapping processing order (step S34).(the step S34 when not reading tapping processing order:It is no), CPU61 performs the order (step S35) read, Jia 1 (step S36) on variable n, and return process to step S32. (step S34 when reading tapping processing order:It is), CPU61 obtains the current circumference of main shaft 51 from main shaft sensor 69 Position, and from Z axis sensor 68 obtain main shaft 51 current above-below direction position (step S37).CPU61 reference objects are revolved Rotary speed (such as the S25000 in Fig. 3), rotates forward main shaft 51, and main shaft 51 is declined (step S38) towards workpiece.CPU61 After the rotating forward of main shaft 51 and down maneuver is completed, the reversion and rising of main shaft 51 are automatically carried out, that is, exits action. CPU61 obtains the circumferential position of main shaft 51 from main shaft sensor 69, by the circumferential position of the main shaft 51 got and in S37 The circumferential position of the main shaft 51 got is accumulative to be added.CPU61 obtains the above-below direction position of main shaft 51 from Z axis sensor 68 simultaneously Put, the above-below direction position of the main shaft 51 got and the above-below direction position got in S37 are added up to be added (main shaft 51 current above-below direction position).According to the circumferential position and tapping pitch computing main shaft of the accumulative main shaft 51 for being added and obtaining 51 above-below direction position (the target above-below direction position of main shaft 51), and the above-below direction position of the main shaft 51 obtained to the computing Put (the target above-below direction position of main shaft 51) and accumulative above-below direction position (the current above-below direction of main shaft 51 for being added and obtaining Position) difference (the first difference) carry out computing (step S39).CPU61 judges whether the difference has exceeded the 3rd threshold value C3 (step S40).(the step S40 when the difference has exceeded the 3rd threshold value C3:It is), CPU61 is set in storage device 64 by 1 Indicate (step S41), CPU61 judges whether the difference has exceeded the 4th threshold value C4 (step S42).Do not surpass in the difference (step S42 when crossing the 4th threshold value C4:It is no), i.e., described difference more than the 3rd threshold value C3 but less than or equal to the 4th threshold value C4 when, CPU61 judges to exit whether action has terminated (step S43).Exiting (step S43 when action is not over:It is no), CPU61 will Processing returns to step S39.(the step S43 when exiting release:It is), CPU61 judges whether to be set in storage dress by 1 Put 64 mark (step S44).(the step S44 when being set in mark by 1:It is), CPU61 terminates procedure (step S45), And terminate processing.That is, after completing tapping processing and exiting action, other rows are not read, terminate procedure.Described Difference more than the 3rd threshold value C3 but less than or equal to the 4th threshold value C4 when, even if occur cutter engaging in workpiece situation, it is locking Degree is also little.Therefore, after completing tapping processing and exiting action, other rows are not read, terminate procedure.In step It is judged as that the difference is not above (step S40 during the 3rd threshold value C3 in rapid S40:It is no), CPU61 makes processing proceed to step S43, step S44.Due to being not carried out step S41, therefore the mark (step that CPU61 is not set in storage device 64 by 1 S44:It is no).CPU61 Jia 1 (step S47) on variable n, and returns process to step S32.CPU61 is successively read processing journey The row of sequence, continues executing with procedure.(the step S33 when reading the end order of procedure:It is), CPU61 terminates to hold Row procedure.When not being set in mark by 1, i.e., when described difference is not above the 3rd threshold value C3, cutter will not be locking In workpiece.Therefore, CPU61 is successively read the row of procedure, continues executing with procedure untill reading end order. It is judged as (step S42 when the difference has exceeded the 4th threshold value C4 in step S42:Be), CPU61 stop tapping processing or Action (step S46) is exited, processing is proceeded to step S44.Due to being set in mark (step S44 by 1 in step S40: It is), therefore CPU61 terminates execution procedure (step S45).When the difference has exceeded the 4th threshold value C4, cutter is locking In workpiece.Therefore, stop tapping processing immediately or exit action, other rows of procedure are not read, terminates execution and adds Engineering sequence.When the difference is more than the 3rd threshold value but for below the 4th threshold value, cutter is relatively low engaging in the degree of workpiece, because This, the lathe 100 of embodiment 2 completes to perform tapping processing and exits action.Then, do not wait to read and terminate order, just tie Beam procedure.When the difference has exceeded four threshold values, cutter is higher engaging in the degree of workpiece, therefore, and lathe 100 is stood Stop to perform tapping processing and exit action, terminate procedure.Even if cutter is engaging in workpiece, it is appropriate to be also able to carry out Main shaft action, prevent the breakage of cutter or main shaft.When the difference is below the 3rd threshold value, cutter is engaging in workpiece Possibility is relatively low, therefore, performs common tapping processing, continues executing with procedure untill reading end order.
S40 CPU61 is performed equivalent to the 3rd judging part.S42 CPU61 is performed equivalent to the 4th judging part.Sentence in S40 Break to be and being judged as NO in S42, handle, be judged as YES in S42 equivalent to the first end via S43~S45 processing, via S46, S44, S45 processing are handled equivalent to the second end.Perform the first end processing and second and terminate the CPU61 phases of processing When in end portion.

Claims (5)

1. a kind of lathe, the lathe has:Main shaft, cutter can be assemblied in the main shaft;Travel mechanism, it is used to make the main shaft Move in the axial direction;Motor, it is used to rotate about the axis the main shaft;Control device, it is successively read composition processing journey Multiple orders of sequence, the driving to the travel mechanism and motor is controlled;First test section, it is used to detect the main shaft Axis direction position;And second test section, it is used for the circumferential position for detecting the main shaft, and the lathe is characterised by,
The control device has:
Judging part, when the order read is instructed using cutter to the tapping of workpiece tapping, the judging part The main shaft according to the circumferential position of the main shaft detected by second test section and tapping instruction come computing Above-below direction position, and judge the position of the above-below direction for the main shaft that the computing is obtained and by first test section Whether the difference of the position of the above-below direction of the main shaft detected has exceeded threshold value set in advance;And
End portion, when the judging part is judged as that the difference has exceeded the threshold value, this terminates portion and performed at the first end Any one of reason and the second end processing, first end processing are to terminate to perform institute after the tapping instruction has been performed The processing of procedure is stated, second end processing is to stop the execution tapping to instruct and terminate to perform the procedure Processing.
2. lathe according to claim 1, it is characterised in that
The control device has configuration part, and it is to perform described first to terminate processing or execution second that the configuration part, which is used for setting, End is handled,
The end portion performs described first according to the setting of the configuration part and terminates processing or the second end processing.
3. lathe according to claim 1 or 2, it is characterised in that
The order includes exiting the exit instruction of cutter from the screwed hole for being formed at workpiece,
The threshold value includes first threshold and Second Threshold,
The judging part includes:
First judging part, when performing the tapping instruction, it is described that first judging part judges whether the difference has exceeded First threshold;And
Second judging part, when performing the exit instruction, second judging part judges whether the difference has exceeded described the Two threshold values.
4. lathe according to claim 1, it is characterised in that
The threshold value includes the 3rd threshold value and the 4th big threshold value of the threshold values of Bi tri-,
The judging part includes:
3rd judging part, it is used to judge whether the difference has exceeded the 3rd threshold value;And
4th judging part, it is used to judge whether the difference has exceeded the 4th threshold value,
It is judged as that the difference has exceeded the 3rd threshold value and the 4th judging part is judged as institute in the 3rd judging part State in the case that difference is not above the 4th threshold value, the end portion performs the first end processing, the described 4th In the case that judging part is judged as that the difference has exceeded the 4th threshold value, the end portion is performed at second end Reason.
5. a kind of control method of lathe, the lathe has:Main shaft, cutter can be assemblied in the main shaft;Travel mechanism, it is used for The main shaft is set to move in the axial direction;Motor, it is used to rotate about the axis the main shaft;Control device, it is successively read structure Into multiple orders of procedure, the driving to the travel mechanism and the motor is controlled;First test section, it is used for Detect the axis direction position of the main shaft;And second test section, it is used for the circumferential position for detecting the main shaft, the lathe Control method be characterised by,
When the order read is instructed using cutter to the tapping of workpiece tapping, examined according to by described second The circumferential position for the main shaft that survey portion is detected and tapping instruction come the position of the above-below direction of main shaft described in computing, And judge the position of the above-below direction for the main shaft that the computing is obtained and the main shaft detected by first test section The difference of position of above-below direction whether exceeded threshold value set in advance,
When being judged as that the difference has exceeded the threshold value, perform first and terminate processing and any in the second end processing Person, first end processing is to terminate to perform the processing of the procedure after the tapping instruction has been performed, and this second End processing is to stop the execution tapping to instruct and terminate to perform the processing of the procedure.
CN201710192876.4A 2016-03-28 2017-03-28 The control method of lathe and lathe Active CN107234485B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-064178 2016-03-28
JP2016064178 2016-03-28

Publications (2)

Publication Number Publication Date
CN107234485A true CN107234485A (en) 2017-10-10
CN107234485B CN107234485B (en) 2019-06-28

Family

ID=59983436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710192876.4A Active CN107234485B (en) 2016-03-28 2017-03-28 The control method of lathe and lathe

Country Status (2)

Country Link
JP (1) JP6801552B2 (en)
CN (1) CN107234485B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405962A (en) * 2017-11-30 2020-07-10 三菱重工工作机械株式会社 Machine tool control method, machine tool control device, machine tool setting support device, machine tool control system, and program
CN111716112A (en) * 2019-03-22 2020-09-29 兄弟工业株式会社 Numerical control device and machine tool
CN112548235A (en) * 2020-12-10 2021-03-26 博峰汽配科技(芜湖)有限公司 Plate processing tapping machining bed capable of being fixed in multi-directional positioning mode

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05318227A (en) * 1992-05-18 1993-12-03 Yaskawa Electric Corp Nc thread cutting device
JP2002283184A (en) * 2001-03-27 2002-10-03 Toyoda Mach Works Ltd Machining control method, its recording medium and its device
CN102785125A (en) * 2011-05-18 2012-11-21 发那科株式会社 Controller for a machine tool for executing tapping
CN102922059A (en) * 2011-08-08 2013-02-13 发那科株式会社 Tapping machine
CN104380218A (en) * 2012-06-05 2015-02-25 三菱电机株式会社 Numeric control device
CN104440386A (en) * 2013-09-25 2015-03-25 兄弟工业株式会社 Machine tool

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3433967B2 (en) * 1993-04-22 2003-08-04 ファナック株式会社 Rigid tap control device
JP3483636B2 (en) * 1994-12-21 2004-01-06 ファナック株式会社 Tool breakage / wear detection device
JP3787481B2 (en) * 2000-03-30 2006-06-21 株式会社ジェイテクト Method and apparatus for detecting load of cutting tool in machine tool
JP2016033705A (en) * 2014-07-31 2016-03-10 ブラザー工業株式会社 Numerical control unit, control method, storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05318227A (en) * 1992-05-18 1993-12-03 Yaskawa Electric Corp Nc thread cutting device
JP2002283184A (en) * 2001-03-27 2002-10-03 Toyoda Mach Works Ltd Machining control method, its recording medium and its device
CN102785125A (en) * 2011-05-18 2012-11-21 发那科株式会社 Controller for a machine tool for executing tapping
CN102922059A (en) * 2011-08-08 2013-02-13 发那科株式会社 Tapping machine
CN104380218A (en) * 2012-06-05 2015-02-25 三菱电机株式会社 Numeric control device
CN104440386A (en) * 2013-09-25 2015-03-25 兄弟工业株式会社 Machine tool

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405962A (en) * 2017-11-30 2020-07-10 三菱重工工作机械株式会社 Machine tool control method, machine tool control device, machine tool setting support device, machine tool control system, and program
CN111716112A (en) * 2019-03-22 2020-09-29 兄弟工业株式会社 Numerical control device and machine tool
CN111716112B (en) * 2019-03-22 2022-04-12 兄弟工业株式会社 Numerical control device and machine tool
CN112548235A (en) * 2020-12-10 2021-03-26 博峰汽配科技(芜湖)有限公司 Plate processing tapping machining bed capable of being fixed in multi-directional positioning mode
CN112548235B (en) * 2020-12-10 2021-12-07 博峰汽配科技(芜湖)有限公司 Plate processing tapping machining bed capable of being fixed in multi-directional positioning mode

Also Published As

Publication number Publication date
JP6801552B2 (en) 2020-12-16
JP2017177323A (en) 2017-10-05
CN107234485B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN107234485A (en) The control method of lathe and lathe
CN105382412B (en) Laser processing device with high speed positioning function
CN104460497B (en) Numerical control device
CN104768706B (en) Processing program generation method and device
CN103676771B (en) Numerical control device
US9400497B2 (en) Numerical control device
JP6189191B2 (en) Surface shape measuring device and machine tool
US20090244550A1 (en) Method for controlling a machine tool and apparatus therefor
US8521322B2 (en) Automatic programming method and device for creating multi-path program
US20210389747A1 (en) Machine tool and control device
CN106625015B (en) Control device, lathe, control method
CN105518550A (en) Toolpath evaluation method, toolpath generation method, and toolpath generation device
KR20190112773A (en) Method and apparatus for generating tool path
CN106020123B (en) Control device, lathe and control method
US20190278248A1 (en) Selection apparatus
CN102985222B (en) grinding machine and grinding method
KR20200022345A (en) Control device and axial feed control method
CN107921546A (en) Work mechanism
JP4947534B2 (en) Machine tool and method of operating machine tool
US20190202017A1 (en) Selecting device, selecting method, and program
CN109475993A (en) Processing program generating device and processing method
MX2011001688A (en) Method for activating a workpiece manipulator of a machine tool after an interruption in working.
JP6623902B2 (en) Processing path calculation device, processing path calculation method, and computer program
JP5308798B2 (en) Laser processing equipment
JP7057703B2 (en) Machine Tools

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant