CN105320074A - Numerical value control device and control method - Google Patents

Numerical value control device and control method Download PDF

Info

Publication number
CN105320074A
CN105320074A CN201510251139.8A CN201510251139A CN105320074A CN 105320074 A CN105320074 A CN 105320074A CN 201510251139 A CN201510251139 A CN 201510251139A CN 105320074 A CN105320074 A CN 105320074A
Authority
CN
China
Prior art keywords
axle
work
fixed mechanism
numerical control
judging part
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
CN201510251139.8A
Other languages
Chinese (zh)
Other versions
CN105320074B (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 CN105320074A publication Critical patent/CN105320074A/en
Application granted granted Critical
Publication of CN105320074B publication Critical patent/CN105320074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4155Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The present invention provides a numerical value control device and a control method. A CPU of a numerical value control device analyzes an NC program by one block. When there is a clamp command or an unclamp command of a rotary table holding a workpiece in the analyzed program block, the CPU turns on a completion-waiting flag, stores an axis information of the clamp command or the unclamp command, and performs clamping or unclamping of the rotary table. Next, in the case that there is an axis movement command in the analyzed block, when the completion waiting flag is turned on, and the axis movement command is a positioning command, the CPU determines whether or not a command axis of the positioning command and the axis information coincide with each other. When the command axis and the axis information do not coincide with each other, the CPU performs axis movement without waiting for the completion of the clamping or unclamping, and thus, a cycle time required for workpiece processing can be effectively shortened.

Description

Numerical control device and control method
Technical field
The present invention relates to numerical control device and control method.
Background technology
Numerical control device controls lathe and carries out the cut of workpiece.Lathe comprises grip device.Workpiece is held in and can rotates by the universal stage of grip device.Grip device comprises fixed mechanism.When cutting workpiece, numerical control device makes workpiece motionless by controlling fixed mechanism and being fixed into by universal stage, mechanically stops the rotation of universal stage.Japanese Unexamined Patent Publication No. 198734 publications in 2012 disclose a kind of numerical control device, and it removes fixed mechanism fixing universal stage when making universal stage rotate according to the instruction of unclamping in numerical control program, and after being unclamped by universal stage, universal stage is rotated.Numerical control device makes universal stage rotate towards target location, at fixed mechanism to after fixedly the completing of universal stage, makes the relative position of instrument and workpiece move to carry out the cutting of workpiece.
When there is fixed instruction in the program block at numerical control program or unclamping instruction, numerical control device is according to this fixed instruction or unclamp instruction and perform the fixing of rotary table or unclamp, and performs the axle move of next program block after this is fixed or the action of unclamping completes.Compared with the detent of electric means, fixed mechanism is to the fixing of the mechanical system of rotary table and to unclamp institute's time spent more.Because numerical control device moves the fixing of rotary table or the axle that carries out next program block after having unclamped at fixed mechanism, therefore there is process-cycle elongated problem.
Summary of the invention
The object of the present invention is to provide a kind of numerical control device and the control method that can shorten the process-cycle.
The numerical control device of technical scheme 1 controls lathe according to numerical control program, this lathe comprises rotary table and fixed mechanism, above-mentioned rotary table holding workpiece and rotating, above-mentioned fixed mechanism is forbidden perhaps can the rotation of above-mentioned rotary table, above-mentioned numerical control program is made up of the multiple program blocks comprising steering order, above-mentioned steering order have above-mentioned fixed mechanism work is forbidden perhaps can the instruction of rotation of above-mentioned rotary table, above-mentioned numerical control device comprises explanation portion and enforcement division, a program block entirety of above-mentioned numerical control program is explained in above-mentioned explanation portion, above-mentioned enforcement division performs the steering order that above-mentioned explanation portion explains, the feature of above-mentioned numerical control device is to comprise: the first judging part, whether this first judging part makes the steering order of above-mentioned fixed mechanism work judge to existing in the program block explained in above-mentioned explanation portion, second judging part, this second judging part judges the axle move that whether there is the movement of instruction axle in the program block explained in above-mentioned explanation portion, storage part in work, when above-mentioned first judging part be judged as existing in an above-mentioned program block make the steering order of above-mentioned fixed mechanism work time, in this work, the work of described fixed mechanism is not yet completed this information and is stored by storage part, axle storage part, the information and axis information that drive the axle of above-mentioned rotary table are stored by this axle storage part, 3rd judging part, when above-mentioned second judging part is judged as there is above-mentioned axle move in an above-mentioned program block, the 3rd judging part not yet completes this information to the work whether storage part in above-mentioned work stores above-mentioned fixed mechanism and judges, 4th judging part, when above-mentioned 3rd judging part is judged as that the work that storage part in above-mentioned work stores above-mentioned fixed mechanism not yet completes this information, whether the above-mentioned axis information that the 4th judging part stores the axle of movement and command shaft and above-mentioned axle storage part by above-mentioned axle move is consistent judges, first axle mobile control division, when above-mentioned 4th judging part is judged as above-mentioned command shaft and above-mentioned axis information is inconsistent, this first axle mobile control division does not wait for that work that above-mentioned enforcement division completes above-mentioned fixed mechanism just performs axle according to above-mentioned axle move and moves, and the second axle mobile control division, when above-mentioned 4th judging part is judged as that above-mentioned command shaft is consistent with above-mentioned axis information, this second axle mobile control division performs axle according to above-mentioned axle move and moves after above-mentioned enforcement division completes the work of above-mentioned fixed mechanism.When command shaft and axis information inconsistent time, numerical control device is not waited for that the work of fixed mechanism completes and is just performed axle and move, and therefore, can shorten the process-cycle.When command shaft is consistent with axis information, numerical control device performs axle and moves after the work of fixed mechanism completes, and therefore, can prevent load from acting on fixed mechanism.
The feature of the numerical control device of technical scheme 2 is to comprise limiting unit, and this limiting unit forbids the execution of above-mentioned first axle mobile control division, and above-mentioned limiting unit is carried out standby, until above-mentioned enforcement division completes the work of above-mentioned fixed mechanism.Numerical control device to not waiting for that the function that the work of fixed mechanism completes with regard to performing axle movement limits, therefore, can distinguish using function according to numerical control program.
The feature of the numerical control device of technical scheme 3 or 4 is to comprise: the 5th judging part, when above-mentioned 3rd judging part is judged as that the work that storage part in above-mentioned work stores above-mentioned fixed mechanism not yet completes this information, whether the 5th judging part is specify the interpolation instruction of translational speed movement to judge to above-mentioned axle move; And the 3rd axle mobile control division, when above-mentioned 5th judging part is judged as that above-mentioned axle move is above-mentioned interpolation instruction, the 3rd axle mobile control division performs axle according to above-mentioned axle move and moves after above-mentioned enforcement division completes the work of above-mentioned fixed mechanism.When axle move is interpolation instruction, lathe likely performs cut.Move because numerical control device performs axle after the work of fixed mechanism completes, the processing of workpiece therefore can be prevented bad.
The feature of the numerical control device of technical scheme 5 or 6 is to comprise: main shaft condition adjudgement portion, when above-mentioned 5th judging part is judged as that above-mentioned axle move is above-mentioned interpolation instruction, whether this main shaft condition adjudgement portion is rotating the main shaft being provided with the instrument cutting above-mentioned workpiece judges; 6th judging part, when above-mentioned main shaft condition adjudgement portion is judged as that above-mentioned main shaft is in halted state, whether the above-mentioned axis information that the 6th judging part stores the command shaft of above-mentioned interpolation instruction and above-mentioned axle storage part is consistent judges; And the 4th axle mobile control division, when above-mentioned 6th judging part is judged as above-mentioned command shaft and above-mentioned axis information is inconsistent, 4th axle mobile control division does not wait for that work that above-mentioned enforcement division completes above-mentioned fixed mechanism just performs axle according to above-mentioned axle move and moves, when above-mentioned main shaft condition adjudgement portion is judged as above-mentioned main shaft just when rotated, above-mentioned 3rd axle moves the imperial portion of control and moves according to above-mentioned axle move execution axle after above-mentioned enforcement division completes the work of above-mentioned fixed mechanism.When main shaft stops, even if axle move is interpolation instruction, lathe does not have cutting workpiece yet.When the command shaft of interpolation instruction and axis information inconsistent time, numerical control device is not waited for that the work of fixed mechanism completes and is just performed axle and move, and therefore, can shorten the process-cycle.
The feature of the numerical control device of technical scheme 7 is to comprise: the 7th judging part, and the 7th judging part judges the above-mentioned axle move that whether there is the axle making the instruction of above-mentioned fixed mechanism work and fix for above-mentioned fixed mechanism in the same program block in above-mentioned numerical control program; And efferent, when above-mentioned 7th judging part is judged as the above-mentioned axle move that there is the axle making the instruction of above-mentioned fixed mechanism work and fix for above-mentioned fixed mechanism in same program block, this efferent output abnormality information.When there is both axle moves of the axle making the instruction of fixed mechanism work and fix for fixed mechanism in same program block, numerical control device output abnormality information, therefore, operator can notice in numerical control program to there is mistake.
The control method of technical scheme 8 controls numerical control device, above-mentioned numerical control device controls lathe according to numerical control program, this lathe comprises rotary table and fixed mechanism, above-mentioned rotary table holding workpiece and rotating, above-mentioned fixed mechanism is forbidden perhaps can the rotation of above-mentioned rotary table, above-mentioned numerical control program is made up of the multiple program blocks comprising steering order, above-mentioned steering order have above-mentioned fixed mechanism work is forbidden perhaps can the instruction of rotation of above-mentioned rotary table, above-mentioned control method comprises to be explained operation and performs operation, above-mentioned explanation operation explains a program block entirety of above-mentioned numerical control program, above-mentioned execution operation performs the steering order explained by above-mentioned explanation operation, the feature of above-mentioned control method is to comprise: first judges operation, this first judges operation makes the steering order of above-mentioned fixed mechanism work judge to whether existing in the program block explained in above-mentioned explanation operation, second judges operation, and this second judges that operation judges the axle move that whether there is the movement of instruction axle in the program block explained in above-mentioned explanation operation, operation is stored in work, when above-mentioned first judge operation be judged as existing in an above-mentioned program block make the steering order of above-mentioned fixed mechanism work time, store the work that operation stores above-mentioned fixed mechanism at work in storage part in this work and not yet complete this information, axle stores operation, and this axle stores operation and the information and axis information that drive the axle of above-mentioned rotary table stored, 3rd judges operation, when above-mentioned second judges that operation is judged as there is above-mentioned axle move in an above-mentioned program block, the 3rd judges that operation not yet completes this information to the work storing in operation storage part in above-mentioned work and whether store above-mentioned fixed mechanism in above-mentioned work and judges, 4th judges operation, when the above-mentioned 3rd judges that operation is judged as that the work that in above-mentioned work storage part stores above-mentioned fixed mechanism not yet completes this information, the 4th judges that operation is to the axle of movement and command shaft and above-mentioned axle store whether above-mentioned axis information that operation stores is consistent judges by above-mentioned axle move, first axle moves control operation, when the above-mentioned 4th judge operation be judged as above-mentioned command shaft and above-mentioned axis information inconsistent time, this first axle moves and controls operation and do not wait for that the work that above-mentioned execution operation completes above-mentioned fixed mechanism is just moved according to above-mentioned axle move execution axle, and second axle move control operation, when the above-mentioned 4th judges that operation is judged as that above-mentioned command shaft is consistent with above-mentioned axis information, this second axle moves control operation and moves according to above-mentioned axle move execution axle after above-mentioned execution operation completes the work of above-mentioned fixed mechanism.Numerical control device, by carrying out above-mentioned operation, can obtain the effect described in technical scheme 1.
Accompanying drawing explanation
Fig. 1 is the stereographic map of lathe 1.
Fig. 2 is the I-I alignment apparent direction cut-open view shown in Fig. 1.
Fig. 3 is the block diagram of the electrical structure representing lathe 1 and numerical control device 50.
Fig. 4 is main process flow diagram to be processed.
Fig. 5 is the process flow diagram of fixing/release treatment.
Fig. 6 is the process flow diagram that axle moves process.
Fig. 7 is the process flow diagram that axle moves process (the first variation).
Fig. 8 is the process flow diagram that axle moves process (the second variation).
Fig. 9 is the stereographic map of combined machine 100.
Embodiment
The following describes embodiments of the present invention.In the following description, the top to bottom, left and right, front and rear shown in arrow in figure are used.The left and right of lathe 1, front and back, be X-direction, Y direction, Z-direction respectively up and down.
The numerical control device 50 (with reference to Fig. 3) of present embodiment carrys out the action of the lathe 1 shown in control chart 1 according to numerical control program.Lathe 1 comprises X-axis, Y-axis, Z axis and four axles as the A axle of additional shaft to control lathe, and it carries out the processing such as cutting by the relative movement of workpiece (not shown) and instrument 6 to workpiece.The control axle that A axle is is rotation center with the axle parallel with X-axis.The A axle of present embodiment is the rotary table 4 (with reference to Fig. 2) of aftermentioned grip device 10.
The structure of lathe 1 is described simply referring to Fig. 1.Lathe 1 comprises base station 2, column 5, main tapping 7, main shaft (not shown), transfer table 15, grip device 10 etc.Fig. 1 illustrate only the top of lathe 1, and eliminates the bottom of base station 2.Base station 2 is pedestals of lathe 1.The rear being arranged at base station 2 top erect by column 5.Main tapping 7 is located at column 5 front surface, and is moved along Z-direction by the driving of Z axis motor 61.It is inner that main tapping 7 is located at by main shaft, and main tapping 7 bottom has mounting hole (not shown).Mounting hole installs the hole to the keeper 16 that instrument 6 holds.Main shaft rotates by being located at the driving of the Spindle Motor 62 on main tapping 7 top.Instrument 6 is such as drill bit, screw tap, milling cutter etc.Instrument 6 rotates together with main shaft, and cuts being held in revolvable workpiece (not shown) by grip device 10.Instrument 6 is changed by tool replacing apparatus (not shown) and other instrument as required.
Base station 2 top is located at by transfer table 15, and can move along X-axis, Y direction.Grip device 10 is fixed on transfer table 15 upper surface.The rotary table 4 of the holding workpiece of grip device 10 rotates around A axle, and rotary table 4 utilizes fixed mechanism to be fixed on stop position.Therefore, lathe 1 utilizes transfer table 15 to make workpiece in XY direction upper feeding, makes the rotary table 4 of grip device 10 rotate around A axle and be fixed on desired location, to carry out the processing such as cutting.
The structure of grip device 10 is described referring to Fig. 2.Grip device 10 comprises the covering part 21 of tubular.At covering part 21 inner utilization screw 46, bearing 22 is installed.Covering part 21 makes gear wheel 26 be integrated with rotary body 23 one-tenth, and gear wheel 26 and rotary body 23 are supported to and can be rotated coaxially.Bearing 22 is clamped in gear wheel 26 and rotary body 23 end, and utilizes screw 45 to be fixed by bearing 22.Pinion wheel 25 is supported with in revolvable mode inside covering part 21.Pinion wheel 25 is in the position relationship orthogonal with the rotating shaft of gear wheel 26, and engages with gear wheel 26.Pinion wheel 25 and gear wheel 26 form alternating axis bevel gear mechanism.
Rotary table 4 is in the form of annular discs, and utilizes screw 47 to be installed on an axially end of rotary body 23.Retainer (not shown) fixation workpiece is used at rotary table 4 outside surface (left surface of Fig. 2).Protuberance 28 utilize screw 48 to be installed on rotary body 23 with the other end of an above-mentioned end opposite side.Disk 32 configures in the mode be clipped between rotary body 23 and protuberance 28.O shape ring 42 configures in the mode be clipped between disk 32 and rotary body 23.O shape ring 41 configures in the mode be clipped between disk 32 and protuberance 28.
Cylinder 29 in the form of a ring, and utilize screw 49 to be fixed on covering part 21 with the state clamping packing ring 37 with the face of rotary table 4 opposite side.At cylinder 29, central authorities are provided with oil sealing 44.The piston 30 of ring-type is accommodated with in cylinder 29 inside.At piston 30 peripheral part, O shape ring 38 is installed, in piston 30 inner peripheral portion, O shape ring 39 is installed.Piston 30 can sliding axially along covering part 21.Cylinder 29 has vent passage 35.Vent passage 35 makes the part of the storage piston 30 of cylinder 29 and cylinder 29 ft connection.The air that aftermentioned fixing control device 66 (with reference to Fig. 3) makes pump (not shown) supply according to the fixed signal that numerical control device 50 exports injects via vent passage 35, and makes according to unlock signal the air pressure release putting on vent passage 35.
Recess 33 is had at the mask relative with cylinder 29 of covering part 21.Spring 34 is configured with inside recess 33.Piston 30 presses towards cylinder 29 side by spring 34.When being pressed towards cylinder 29 side by piston 30, rotary table 4 can rotate, and is therefore in releasing orientation.When being pressed towards disk 32 side by piston 30, rotary table 4 cannot rotate, and is in stationary state.Piston 30, disk 32, spring 34, vent passage 35 form the fixed mechanism (being equivalent to mechanism of the present invention) of fixing rotary table 4.Packing ring 37 and O shape ring 41,42 prevent cutting oil etc. from infiltrating between piston 30 and disk 32 and causing friction force between disk 32 and covering part 21 to decline.
Referring to Fig. 2, the fixing of rotary table 4 be described and unclamp.In the rotary table 4 being in releasing orientation, if numerical control device 50 drives rotary table motor 65 (with reference to Fig. 3), then pinion wheel 25 rotates.Because pinion wheel 25 engages with gear wheel 26, therefore gear wheel 26 rotates.If gear wheel 26 rotates, then rotary body 23, rotary table 4, protuberance 28, disk 32 rotate.Therefore, the workpiece that rotary table 4 keeps rotates around the A axle of rotary table 4.
If rotary table motor 65 stops driving, then pinion wheel 25 and gear wheel 26 stop the rotation, and rotary body 23, rotary table 4, protuberance 28, disk 32 also stop the rotation.The control circuit 66A (with reference to Fig. 3) of fixed signal towards fixing control device 66 exports by numerical control device 50.Control circuit 66A drives fixing control device 66 according to this fixed signal.The air that fixing control device 66 makes pump supply injects via vent passage 35.Piston 30 moves towards covering part 21 side because of the pressure of injected air.Inject air pressure exceed the spring force of spring 34.If piston 30 contacts with disk 32, then there is elastic deformation in disk 32.The disk 32 of elastic deformation is pressed into covering part 21 by piston 30.Therefore, between disk 32 and covering part 21, friction force is produced.The action of friction force restriction disk 32 and rotary body 23, makes rotary table 4 become stationary state.Lathe 1 can carry out the cut of workpiece.
In order to change the angle of absorption surface instrument 6, the control circuit 66A of unlock signal towards fixing control device 66 exports by numerical control device 50.Control circuit 66A drives fixing control device 66 according to unlock signal, makes the air pressure release putting on vent passage 35.Piston 30 because of the spring force of spring 34, move by the direction towards cylinder 29, disk 32 elastic recovery because of the elastic force of spring 34.Because disk 32 leaves from covering part 21, therefore friction force disappears.Rotary table 4 becomes releasing orientation, and rotary body 23 becomes and can rotate.Rotary table 4 stops after have rotated the target amount of movement set by numerical control program.The control circuit 66A of fixed signal towards fixing control device 66 exports by numerical control device 50.Control circuit 66A drives fixing control device 66 according to fixed signal.Fixing control device 66 makes rotary table 4 again become stationary state.Therefore, lathe 1 can carry out cut from other angle to workpiece.
The electrical structure of numerical control device 50 and lathe 1 is described referring to Fig. 3.Numerical control device 50 comprises CPU51, ROM52, RAM53, memory storage 54, input and output portion 55, driving circuit 61A ~ 65A, control circuit 66A etc.CPU51 Comprehensive Control numerical control device 50.ROM52 storage comprises the various programs of main program etc.Main program performs main process described later (with reference to Fig. 4).Main process makes an explanation to a program block entirety of numerical control program to perform the process of various steering order.
RAM53 stores the various data in various processing execution process temporarily.Memory storage 54 is non-volatile, and it stores numerical control program etc.Numerical control program is made up of the multiple program blocks comprising various steering order.Numerical control device 50 moves the axle comprising lathe 1 in units of program block, the rotation of rotary table 4, fixing and unclamp, and tool changing etc. control in interior various actions.CPU51 operator is utilized operating portion 71 to input and the numerical control program set is stored in memory storage 54.
Driving circuit 61A is connected with Z axis motor 61 and scrambler 61B.Driving circuit 62A is connected with Spindle Motor 62 and scrambler 62B.Driving circuit 63A is connected with X-axis motor 63 and scrambler 63B.Driving circuit 64A is connected with Y-axis motor 64 and scrambler 64B.Driving circuit 65A is connected with rotary table motor 65 and scrambler 65B.Control circuit 66A is connected with fixing control device 66.Driving circuit 61A ~ 65A receives instruction from CPU51, towards each motor 61 ~ 65 output driving current of correspondence.Driving circuit 61A ~ 65A, from scrambler 61B ~ 65B receiving feedback signals, carries out the FEEDBACK CONTROL of position and speed.Control circuit 66A receives fixed signal or unlock signal from CPU51, controls fixing control device 66.
Input and output portion 55 is connected with operating portion 71, display part 72 and fixed detector 73 respectively.Operating portion 71 and display part 72 are located at the side of the protective cover (not shown) such as covering lathe 1.Operating portion 71 be comprise multiple instruction keys of the instructions such as the startup that such as sends lathe 1 and stopping, processing that instruction processing starts starts key, the equipment of the enter key of numerical control program and editing key etc.Operating portion 71 also can adopt the touch panel mode being located at display part 72.Display part 72 is the equipment showing various picture.Stationary state or the releasing orientation of the rotary table 4 in fixed detector 73 pairs of grip devices 10 detect, and by fixing confirmation signal or unclamp confirmation signal and be sent to numerical control device 50.
The following describes the setting and releasing of shortening time function.Present embodiment can shorten time function to the action setting of the work pieces process of lathe 1.So-called shorten time function, refer to and move by not waiting for the fixing of rotary table 4 or having unclamped just execution axle below the function shortening the process-cycle.Operator can utilize operating portion 71 to set or remove this function.When receiving the setting shortening time function, the functional parameter being stored in memory storage 54 is updated to 1 by CPU51.When receiving the releasing shortening time function, the functional parameter being stored in memory storage 54 is updated to 0 (zero) by CPU51.Numerical control device 50 shortens time function by removing, can to the fixing of rotary table 4 or before having unclamped the axle performed then move and limit.
The main process undertaken by CPU51 is described referring to Fig. 4 ~ Fig. 6.Main process is the process that the numerical control program selected according to operator makes lathe 1 action.
-explanation of numerical control program-
In the present embodiment, be described for the situation of the numerical control program performing following five patterns.Numerical control program follow procedure block indicates multiple steering order.Following five patterns have made the example of two program blocks simplified, and certainly can also perform other numerical control program.
Numerical control program (1): for the positioning instruction that the axle different from A axle carries out after A axle unclamps instruction
M442
G00X_Y_;
Numerical control program (2): for the positioning instruction that A axle carries out after A axle unclamps instruction
M442
G00A_;
Numerical control program (3): for the interpolation instruction that the axle different from A axle carries out after A axle unclamps instruction
M442
G01X_Y_F_;
Numerical control program (4): the positioning instruction carried out for the axle different from A axle after A axle fixed instruction
M443
G00X_Y_;
Numerical control program (5): for the interpolation instruction that the axle different from A axle carries out after A axle fixed instruction
M443
G01X_Y_F_;
M442 be A axle unclamp instruction, M443 is the fixed instruction of A axle.G00 is positioning instruction.So-called interpolation instruction, the instruction that the translational speed (F_) referring to set makes axle move, such as linear interpolation instruction (G01), circular interpolation instruction (G02), spiral interpolation instruction etc.So-called spiral interpolation instruction, refers to the instruction of the speed of feed of instruction towards position spiral fashion (adding the motion of the action of depth direction on the basis of the circular interpolation) movement of instruction.When using spiral interpolation instruction, given plane axle (two axles) and linear axis (axle).Linear axis also can be set to two axles comprising rotating shaft.Second row of above-mentioned numerical control program (3) and (5) is linear interpolation instruction, but also can be circular interpolation instruction or spiral interpolation instruction etc.In numerical control program (1), (3), (4), (5), the positioning instruction of the second row and the axle specified by interpolation instruction are not limited to above-mentioned example.Second row of numerical control program (2) is not limited to the independent instruction of A axle, also can be the multiaxis instruction simultaneously comprising A axle.
Operator uses operating portion 71 to select the numbering of numerical control program, and presses processing beginning key (not shown).The main program being stored in ROM52, when detecting that processing starts pressing of key, reads in perform present treatment by CPU51.
As shown in Figure 4, CPU51 reads in the numerical control program (S1) corresponding with the numbering utilizing operating portion 71 to select from memory storage 54.CPU51 makes an explanation (S2) to a program block from the beginning row of the numerical control program read in, steering orders all in recognizer block.Whether CPU51 is that end code judges (S3) to the steering order identified.When steering order is not end code (S3: no), whether CPU51 meets exclusive condition to the program block explained judges (S4).So-called exclusive condition, refers to the condition comprising the axle move of unclamping instruction and unclamping the object axle of instruction for this in same program block.Such as following such program block meets exclusive condition.
·M442G00A_;
If make lathe 1 action according to this program block, then CPU51 just drove rotary table motor 65 and rotary table 4 is rotated before having unclamped of rotary table 4, and therefore, load can act on fixed mechanism.
In order to avoid this situation, when the program block explained meets exclusive condition (S4: yes), CPU51 towards display part 72 output abnormality information (S5), and terminating present treatment after being extremely notified of operator, makes lathe 1 stop processing.Therefore, numerical control device 50 can prevent load from acting on fixed mechanism, and then can prevent that processing is bad.As the content of abnormal information being shown in display part 72, CPU51 such as also can make the numbering of the numerical control program of stopping, meeting the displays such as the numbering of the program block of exclusive condition.Operator, by confirming abnormal information, can notice in numerical control program to there is mistake immediately.In the present embodiment, except making display part 72 show except abnormal information, such as, also exception is notified by buzzer or voice etc.In the present embodiment, also abnormal information and abnormal generation together with the date can be stored in memory storage 54 etc.
When the program block explained does not meet exclusive condition (S4: no), CPU51 judges (S6) whether there is fixed instruction or unclamp instruction in the program block explained.Such as when explaining the first row of above-mentioned numerical control program (1) ~ (5), owing to there is fixed instruction or unclamping instruction (S6: yes) in the program block explained, therefore CPU51 performs fixing/release treatment (with reference to Fig. 5) (S10).When there is not fixed instruction or unclamp instruction (S6: no), CPU51 judges (S7) whether there is axle move in the program block explained.So-called axle move, refers to such as positioning instruction or interpolation instruction etc.When there is axle move in the program block explained (S7: yes), CPU51 performs axle and moves process (with reference to Fig. 6) (S9).During any one when there is not fixed instruction, unclamp instruction in the program block explained, in axle move (S7: no), CPU51 performs the steering order (S8) in the program block explained.
Referring to Fig. 5, fixing/release treatment is described.Whether CPU51 is 1 to judge (S13) to the functional parameter being stored in memory storage 54.
When functional parameter is 0 (S13: no), CPU51 exports fixed signal or unlock signal to the control circuit 66A of fixing control device 66, and performs fixed instruction or unclamp instruction (S15).The fixing control device 66 receiving fixed signal or unlock signal injects air towards vent passage 35, or makes the air pressure release putting on vent passage 35.Piston 30 moves towards covering part 21 side or cylinder 29 side, makes rotary table 4 fix or unclamp.
CPU51 judges (S16) fixing or unclamping whether to complete of rotary table 4.Fixed detector 73 detects the fixing of rotary table 4 or releasing orientation, and by fixing confirmation signal or unclamp confirmation signal and be sent to CPU51.CPU51 carried out standby (S16: no) before receiving fixing confirmation signal or unclamping confirmation signal.When receiving fixing confirmation signal or unclamping confirmation signal (S16: yes), because the fixing of rotary table 4 or unclamp completes, therefore CPU51 terminates present treatment and turns back to the main process of Fig. 4.Therefore, at the end of fixing/release treatment, fix or unclamp the state being in and having completed.
When functional parameter is 1 (S13: yes), shortens time function and be in the state set.Therefore, CPU51 creates and waits for complement mark (S17) in RAM53.Fixed instruction or the object axis information that unclamps instruction are stored in RAM53 by CPU51.So-called object axis information, refers to as fixed instruction or the information of axle of object of unclamping instruction, is equivalent to axis information of the present invention.Due to M442 and M443 using A axle as object axle, therefore A axle is stored in RAM53 as object axis information by CPU51.CPU51 exports fixed signal or unlock signal to the control circuit 66A of fixing control device 66, and performs fixed instruction or unclamp instruction (S19).CPU51 does not wait for the fixing of rotary table 4 or has unclamped and just terminates present treatment, turns back to the main process of Fig. 4.
Whether CPU51 has completed all to the whole instructions in the program block explained judges (S11).When there is the instruction not yet completed (S11: no), CPU51 turns back to S3, and the instruction according to remainder carries out above-mentioned process repeatedly.When the whole instructions in a program block complete all (S11: yes), CPU51 turns back to S2, repeatedly carries out above-mentioned process for next program block.Such as when explaining the second row of above-mentioned numerical control program (1) ~ (5), owing to there is axle move (S7: yes) in the program block explained, therefore CPU51 performs axle and moves process (with reference to Fig. 6) (S9).
Illustrate that axle moves process referring to Fig. 6.Whether CPU51 creates the wait complement mark being stored in RAM53 judges (S21).
When waiting for that complement mark does not create (S21: no), shorten time function and be in the state do not set, further, perform before fixing/release treatment (with reference to Fig. 5) at the end of, rotary table 4 fixing or unclamp the state being in and having completed.Therefore, CPU51 performs axle move (S26), turns back to the main process of Fig. 4.
When waiting for that complement mark creates (S21: yes), shortening time function and being in the state set, and, perform before fixing/release treatment at the end of, rotary table 4 fixing or unclamp not yet completes sometimes.If lathe 1 started to utilize instrument 6 to carry out the cutting of workpiece before fixedly the completing of rotary table 4, then rotary table 4 can depart from stop position, likely becomes the reason that processing is bad.When lathe 1 made rotary table 4 rotate before having unclamped of rotary table 4, load likely can act on fixed mechanism.
Whether CPU51 is that interpolation instruction judges (S22) to the axle move in the program block explained.Interpolation instruction is the instruction that the translational speed (F_) that sets makes axle move, and it usually uses when cutting workpiece.The axle move of the second row of above-mentioned numerical control program (3) is the linear interpolation instruction after unclamping instruction.The axle move of the second row of above-mentioned numerical control program (5) is the linear interpolation instruction after fixed instruction.
When the axle move in the program block explained is interpolation instruction (S22: yes), whether CPU51 is unclamp instruction to judge (S25) to instruction before.Instruction when is before that (S25: yes) when unclamping instruction, CPU51 perform interpolation instruction (S29), makes process return main process (Fig. 4).Such as by make with the translational speed of setting the axle of specifying linearly, circular arc or helically move, and carrys out cutting workpiece.When instruction when is before fixed instruction (S25: no), fixing whether completed of CPU51 to rotary table 4 judges (S26).Before fixedly completing (S26: no), CPU51 carries out standby.When fixing complete time (S26: yes), CPU51 removes and waits for complement mark (S28), performs interpolation instruction (S29).Therefore, numerical control device 50 is cutting workpiece under the state of reliably fixing rotary table 4, and processing can be prevented bad.
When the axle move explained is positioning instruction (S22: no), CPU51 judges (S23) with whether the object axis information being stored in RAM53 in fixing shown in Fig. 5/S18 of release treatment is consistent the command shaft of positioning instruction.The object axis information being stored in RAM53 is A axle.When for numerical control program (1) and (4), the positioning instruction of the second row is the positioning instruction of X-axis for different from A axle, Y-axis, and therefore, command shaft is X-axis, Y-axis (S23: no).Therefore, CPU51 does not wait for the fixing of rotary table 4 or has unclamped the positioning instruction (S29) just performing X-axis, Y-axis immediately.Therefore, numerical control device 50 can shorten the process-cycle.CPU51 turns back to the main process of Fig. 4.
When for numerical control program (2), the positioning instruction of the second row is the positioning instruction for A axle, consistent with the A axle as object axis information (S23: yes), therefore, whether CPU51 unclamps to complete judge (S24) rotary table 4.Before having unclamped (S24: no), CPU51 has turned back to S24 and has carried out standby.When unclamp complete time (S24: yes), CPU51 removes and waits for complement mark (S27), performs the positioning instruction (S29) of A axle.Therefore, numerical control device 50 can rotary table 4 unclamp reliably complete after make rotary table 4 rotate to position, therefore, can prevent load from acting on fixed mechanism.CPU51 turns back to the main process of Fig. 4.
Get back to Fig. 4, when the whole instructions of CPU51 in the program block explained complete all (S11: yes), turn back to S2 to explain next program block.When steering order is end code (S3: yes), CPU51 terminates present treatment.
As described above, the action of numerical control device 50 pairs of lathes 1 of present embodiment controls.The CPU51 of numerical control device 50 explains the steering order in numerical control program in program block ground one by one.When there is the fixed instruction of the rotary table 4 of holding workpiece or unclamp instruction in the program block explained, CPU51 creates wait complement mark in RAM53, and the object axis information as fixed instruction or the object that unclamps instruction is stored in RAM53.Afterwards, CPU51 performs the fixing of rotary table 4 or unclamps.When being judged as there is axle move in next program block, whether CPU51 equity mark to be done creates and judges.When waiting for that complement mark creates, CPU51 judges with whether the object axis information being stored in RAM53 is consistent the command shaft of axle move.When the command shaft of axle move and object axis information inconsistent time, CPU51 does not wait for the fixing of rotary table 4 or has unclamped and just performs axle and move.Therefore, numerical control device 50 effectively can shorten the process-cycle.When the command shaft of axle move is consistent with object axis information, CPU51 is at the fixing of rotary table 4 or perform axle after having unclamped and move.Therefore, numerical control device 50 can prevent load from acting on the fixed mechanism of grip device 10, and then can prevent that the processing of workpiece is bad.
In the present embodiment, being stored in the functional parameter of memory storage 54 by using, can limiting at the fixing of rotary table 4 or the shortening time function that just performs the steering order of next program block before having unclamped.Some numerical control programs are generated as: by the fixing of rotary table 4 or unclamp and carry out axle premised on completed state and move.Numerical control device 50 limits above-mentioned functions by the content according to numerical control program, can prevent load from acting on fixed mechanism, and then can prevent that the processing of workpiece is bad.
In the present embodiment, when the steering order in the program block explained is axle move and waits for that complement mark creates, whether CPU51 is that interpolation instruction judges to axle move.When axle move is interpolation instruction, lathe 1 likely cutting workpiece.Therefore, CPU51 performs interpolation instruction after fixedly completing.Therefore, numerical control device 50 is cutting workpiece under the state of reliably fixing rotary table 4, and processing can be prevented bad.
In the present embodiment, when there is fixed instruction or unclamp instruction and the axle move for the object axle of this instruction in the same program block of numerical control program, CPU51 can export abnormal information to display part 72, and therefore, operator can process the exception of numerical control program immediately.
The present invention is not limited to above-mentioned embodiment, can carry out various change.First variation, the second variation are below described.
-the first variation-
Such as move in process at the axle shown in Fig. 6, when the axle move in the program block explained is interpolation instruction (S22: yes), CPU51 performs axle and moves after fixedly the completing of rotary table 4.Interpolation instruction usually uses when cutting workpiece, but, such as carry out adding man-hour when the workpiece of manufacturing complex shapes or at use additional shaft, disturbing to prevent from producing with workpiece, making instrument 6 use interpolation instruction from the action that workpiece is kept out of the way sometimes.Owing to there is not the action making instrument 6 keep out of the way in stock removal action, therefore, so long as not the interpolation instruction for the identical axle of the object axle with fixed instruction, CPU51 also can perform interpolation instruction.Whether CPU51 such as can rotate according to main shaft judges whether carrying out stock removal action by interpolation instruction.CPU51 such as can judge according to the rotation of the feedback signal of scrambler 62B to main shaft.
Such as, the first variation is as shown in Figure 7 such, when the axle move in the program block explained is interpolation instruction and instruction is before fixed instruction (S22: be, S25: no), whether CPU51 is rotating main shaft judges (S30).When main shaft just when rotated (S30: yes), interpolation instruction cutting workpiece likely by then performing, therefore, CPU51 carried out standby (S26) before fixedly the completing of rotary table 4, when fixing complete time (S26: yes), remove and wait for complement mark (S28), perform interpolation instruction (S29).
When main shaft is in halted state (S30: no), interpolation instruction not cutting workpiece then, therefore, CPU51 judges (S23) with whether the object axis information being stored in RAM53 is consistent the command shaft of interpolation instruction.When command shaft and object axis information inconsistent time (S23: no), CPU51 does not wait for the fixing of rotary table 4 or has unclamped the positioning instruction (S29) just performing X-axis, Y-axis.Therefore, on the basis of above-mentioned embodiment, the first variation also can not be waited for the fixing of rotary table 4 or unclamp and just perform when the avoidance operation of not cutting workpiece.When command shaft is consistent with object axis information (S23: yes), CPU51 judges (S31) fixing or unclamping whether to complete of rotary table 4.CPU51 is to be fixed when interpolation instruction etc. to be completed, complete (S31: yes) to be released such as when positioning instruction, and then performing that axle moves can (S29).
-the second variation-
In the above-described embodiment, move in process at the axle shown in Fig. 6, when waiting for that complement mark creates (S21: yes), whether be that interpolation instruction judges to axle move, but, can not tubular axis move whether be also such as interpolation instruction, command shaft and object axis information inconsistent time, do not wait for the fixing of rotary table 4 without exception or unclamped just performing axle move.Such as, the second variation is as shown in Figure 8 such, and when waiting for that complement mark creates (S21: yes), CPU51 judges (S23) with whether the object axis information being stored in RAM53 is consistent the command shaft of interpolation instruction.When command shaft and object axis information inconsistent time, CPU51 does not wait for the fixing of rotary table 4 or has unclamped and just performs axle move (S29).Therefore, the second variation also can shorten the process-cycle.Second variation is the simplest embodiment of the present invention.
-other variation-
In above-mentioned embodiment and variation, rotary table 4 is set to A axle, but such as when arranging grip device 10 with the rotation center of rotary table 4 towards the mode of Y-axis, rotary table 4 becomes B axle.Fixing and unclamping of B axle is such as specified by M440 and M441.When B axle is set to additional shaft, be replaced into B axle as long as specified by the A axle in the numerical control program of above-mentioned embodiment.
Above-mentioned embodiment controls lathe 1 to four axles rotary table 4 being set to additional shaft to control, but the present invention also can be applicable to control the lathe of the control axle with more than such as five axles.In lathe more than five axles, also additional shaft can be appointed as more than two axles.
The lathe 1 that the numerical control device 50 of above-mentioned embodiment is vertical controls, but the present invention also can be applicable to the numerical control device that carries out horizontal lathe.
Above-mentioned embodiment using function parameter carries out setting and the releasing of shortening time function, but the S13 process of functional parameter and Fig. 5 also can be omitted.
In the above-described embodiment, in the master of Fig. 4 S4 to be processed, unclamp instruction using comprising in same program block and for this this condition of axle move of unclamping the object axle of instruction as exclusive condition, but such as also can using in same program block, comprise fixed instruction or unclamp instruction and for this fixed instruction or unclamp instruction this condition of axle move of object axle as exclusive condition.Above-mentioned embodiment also can be set in further in same program block and comprise fixed instruction and this condition of interpolation instruction.Therefore, above-mentioned embodiment can prevent from performing interpolation instruction before fixedly the completing of rotary table 4.
Above-mentioned embodiment controls the lathe 1 shown in Fig. 1, but the present invention also can be such as the numerical control device controlled the combined machine 100 shown in Fig. 9.Combined machine 100 makes the main shaft of erecting tools 6 (not shown) can move along X-axis, Y-axis, Z-direction, and comprises A axle 101 and C axle 102 further.C axle 102 is located on A axle 101, and with Z-direction configured in parallel.C axle 102 holding workpiece and rotating.Such as by making, main shaft and the one party in C axle 102 are relative relative to the opposing party to be rotated, and comes optionally to implement to rotate processing and turnery processing to workpiece.Such as move in process (the first variation) at the axle shown in Fig. 7, when C axle 102 does not rotate (S30: no), even if CPU51 can judge the linear interpolation instruction of A axle, also do not cut.Therefore, CPU51 can not wait for the fixing of A axle or unclamp and move with regard to the axle performed then.
In the above description, the CPU51 performing the S2 process of Fig. 4 is equivalent to explanation portion of the present invention.The CPU51 performing S6 process is equivalent to the first judging part of the present invention.The CPU51 performing S7 process is equivalent to the second judging part of the present invention.The RAM53 of Fig. 3 is equivalent to storage part in work of the present invention.The CPU51 performing the S29 process of S19, Fig. 6 ~ Fig. 8 of S8, Fig. 5 of Fig. 4 is equivalent to enforcement division of the present invention.The CPU51 performing S18 process is equivalent to axle storage part of the present invention.The CPU51 performing the S21 process of Fig. 6 is equivalent to the 3rd judging part of the present invention.The CPU51 performing S23 process is equivalent to the 4th judging part of the present invention.The CPU51 performing S29 process is equivalent to the first axle mobile control division of the present invention.The CPU51 performing S24, S29 process is equivalent to the second axle mobile control division.
Perform the S13 of Fig. 5: CPU51 that is no, S15, S16 process is equivalent to limiting unit of the present invention.The CPU51 performing the S22 process of Fig. 6 is equivalent to the 5th judging part of the present invention.The CPU51 performing S26, S29 process is equivalent to the 3rd axle mobile control division of the present invention.The CPU51 performing the S30 process of Fig. 7 is equivalent to main shaft condition adjudgement portion of the present invention.The CPU51 performing S23 process is equivalent to the 6th judging part of the present invention.The CPU51 performing S29 process is equivalent to the 4th axle mobile control division of the present invention.The CPU51 performing the S4 process of Fig. 4 is equivalent to the 7th judging part of the present invention.The CPU51 performing S5 process is equivalent to efferent of the present invention.

Claims (8)

1. a numerical control device, this numerical control device controls lathe according to numerical control program, this lathe comprises rotary table and fixed mechanism, described rotary table holding workpiece and rotating, described fixed mechanism is forbidden perhaps can the rotation of described rotary table, described numerical control program is made up of the multiple program blocks comprising steering order, described steering order have described fixed mechanism work is forbidden perhaps can the instruction of rotation of described rotary table, described numerical control device comprises explanation portion (51:S2) and enforcement division (51:S8, S19, S29), described explanation portion (51:S2) explains a program block entirety of described numerical control program, described enforcement division (51:S8, S19, S29) steering order that described explanation portion explains is performed, it is characterized in that,
Described numerical control device comprises:
First judging part (51:S6), whether this first judging part (51:S6) makes the steering order of described fixed mechanism work judge to existing in the program block explained in described explanation portion;
Second judging part (51:S7), this second judging part (51:S7) judges the axle move that whether there is the movement of instruction axle in the program block explained in described explanation portion;
Storage part (53) in work, when described first judging part be judged as existing in a described program block make the steering order of described fixed mechanism work time, in this work, the work of described fixed mechanism is not yet completed this information and is stored by storage part (53);
Axle storage part (51:S18), the information and axis information that drive the axle of described rotary table are stored by this axle storage part (51:S18);
3rd judging part (51:S21), when described second judging part is judged as there is described axle move in a described program block, the 3rd judging part (51:S21) not yet completes this information to the work whether storage part in described work stores described fixed mechanism and judges;
4th judging part (51:S23), when described 3rd judging part is judged as that the work that storage part in described work stores described fixed mechanism not yet completes this information, whether the described axis information that the 4th judging part (51:S23) stores the axle of movement and command shaft and described axle storage part by described axle move is consistent judges;
First axle mobile control division (51:S29), when described 4th judging part is judged as described command shaft and described axis information is inconsistent, this first axle mobile control division (51:S29) does not wait for that work that described enforcement division completes described fixed mechanism just performs axle according to described axle move and moves; And
Second axle mobile control division (51:S24, S29), when described 4th judging part is judged as that described command shaft is consistent with described axis information, this second axle mobile control division (51:S24, S29) performs axle according to described axle move and moves after described enforcement division completes the work of described fixed mechanism.
2. numerical control device as claimed in claim 1, is characterized in that,
Described numerical control device comprises limiting unit (51:S13: no, S15, S16), and this limiting unit (51:S13: no, S15, S16) forbids the execution of described first axle mobile control division,
Described limiting unit is carried out standby, until described enforcement division completes the work of described fixed mechanism.
3. numerical control device as claimed in claim 1, is characterized in that,
Described numerical control device comprises:
5th judging part (51:S22), when described 3rd judging part is judged as that the work that storage part in described work stores described fixed mechanism not yet completes this information, whether the 5th judging part (51:S22) is that the interpolation instruction of specifying translational speed to carry out movement judges to described axle move; And
3rd axle mobile control division (51:S26, S29), when described 5th judging part is judged as that described axle move is described interpolation instruction, the 3rd axle mobile control division (51:S26, S29) performs axle according to described axle move and moves after described enforcement division completes the work of described fixed mechanism.
4. numerical control device as claimed in claim 2, is characterized in that,
Described numerical control device comprises:
5th judging part, when described 3rd judging part is judged as that the work that storage part in described work stores described fixed mechanism not yet completes this information, whether the 5th judging part is that the interpolation instruction of specifying translational speed to carry out movement judges to described axle move; And
3rd axle mobile control division, when described 5th judging part is judged as that described axle move is described interpolation instruction, the 3rd axle mobile control division performs axle according to described axle move and moves after described enforcement division completes the work of described fixed mechanism.
5. numerical control device as claimed in claim 3, is characterized in that,
Described numerical control device comprises:
Main shaft condition adjudgement portion (51:S30), when described 5th judging part is judged as that described axle move is described interpolation instruction, whether this main shaft condition adjudgement portion (51:S30) is rotating the main shaft being provided with the instrument cutting described workpiece judges;
6th judging part (51:S23), when described main shaft condition adjudgement portion is judged as that described main shaft is in halted state, whether the described axis information that the 6th judging part (51:S23) stores the command shaft of described interpolation instruction and described axle storage part is consistent judges; And
4th axle mobile control division (S29), when described 6th judging part is judged as described command shaft and described axis information is inconsistent, 4th axle mobile control division (S29) does not wait for that work that described enforcement division completes described fixed mechanism just performs axle according to described axle move and moves
When described main shaft condition adjudgement portion is judged as described main shaft just when rotated, described 3rd axle mobile control division performs axle according to described axle move and moves after described enforcement division completes the work of described fixed mechanism.
6. numerical control device as claimed in claim 4, is characterized in that,
Described numerical control device comprises:
Main shaft condition adjudgement portion, when described 5th judging part is judged as that described axle move is described interpolation instruction, whether this main shaft condition adjudgement portion is rotating the main shaft being provided with the instrument cutting described workpiece judges;
6th judging part, when described main shaft condition adjudgement portion is judged as that described main shaft is in halted state, whether the described axis information that the 6th judging part stores the command shaft of described interpolation instruction and described axle storage part is consistent judges; And
4th axle mobile control division, when described 6th judging part is judged as described command shaft and described axis information is inconsistent, the 4th axle mobile control division does not wait for that work that described enforcement division completes described fixed mechanism just performs axle according to described axle move and moves,
When described main shaft condition adjudgement portion is judged as described main shaft just when rotated, described 3rd axle mobile control division performs axle according to described axle move and moves after described enforcement division completes the work of described fixed mechanism.
7. the numerical control device according to any one of claim 1 to 6, is characterized in that,
Described numerical control device comprises:
7th judging part (51:S4), the 7th judging part (51:S4) judges the described axle move that whether there is the axle making the instruction of described fixed mechanism work and fix for described fixed mechanism in the same program block in described numerical control program; And
Efferent (51:S5), when described 7th judging part is judged as the described axle move that there is the axle making the instruction of described fixed mechanism work and fix for described fixed mechanism in same program block, this efferent (51:S5) output abnormality information.
8. a control method, numerical control device is controlled, described numerical control device controls lathe according to numerical control program, this lathe comprises rotary table and fixed mechanism, described rotary table holding workpiece and rotating, described fixed mechanism is forbidden perhaps can the rotation of described rotary table, described numerical control program is made up of the multiple program blocks comprising steering order, described steering order have described fixed mechanism work is forbidden perhaps can the instruction of rotation of described rotary table, described control method comprises to be explained operation and performs operation, described explanation operation explains a program block entirety of described numerical control program, described execution operation performs the steering order explained by described explanation operation, it is characterized in that,
Described control method comprises:
First judges operation, and this first judges operation makes the steering order of described fixed mechanism work judge to whether existing in the program block explained in described explanation operation;
Second judges operation, and this second judges that operation judges the axle move that whether there is the movement of instruction axle in the program block explained in described explanation operation;
Operation is stored in work, when described first judge operation be judged as existing in a described program block make the steering order of described fixed mechanism work time, store the work that operation stores described fixed mechanism at work in storage part in this work and not yet complete this information;
Axle stores operation, and this axle stores operation and the information and axis information that drive the axle of described rotary table stored;
3rd judges operation, when described second judges that operation is judged as there is described axle move in a described program block, the 3rd judge operation to store in described work work described in operation in the storage part work that whether stores described fixed mechanism not yet complete this information and judge;
4th judges operation, when the described 3rd judges that operation is judged as that the work that storage part in described work stores described fixed mechanism not yet completes this information, the 4th judges that operation is to the axle of movement and command shaft and described axle store whether described axis information that operation stores is consistent judges by described axle move;
First axle moves control operation, when the described 4th judge operation be judged as described command shaft and described axis information inconsistent time, this first axle moves and controls operation and do not wait for that the work that described execution operation completes described fixed mechanism is just moved according to described axle move execution axle; And
Second axle moves control operation, when the described 4th judges that operation is judged as that described command shaft is consistent with described axis information, this second axle moves control operation and moves according to described axle move execution axle after described execution operation completes the work of described fixed mechanism.
CN201510251139.8A 2014-05-30 2015-05-18 Numerical control device and control method Active CN105320074B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-111825 2014-05-30
JP2014111825A JP2015225617A (en) 2014-05-30 2014-05-30 Numerical value control device and control method

Publications (2)

Publication Number Publication Date
CN105320074A true CN105320074A (en) 2016-02-10
CN105320074B CN105320074B (en) 2018-03-20

Family

ID=54842282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510251139.8A Active CN105320074B (en) 2014-05-30 2015-05-18 Numerical control device and control method

Country Status (2)

Country Link
JP (1) JP2015225617A (en)
CN (1) CN105320074B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105911964A (en) * 2015-02-20 2016-08-31 发那科株式会社 Numerical Controller
CN111708320A (en) * 2019-03-18 2020-09-25 兄弟工业株式会社 Numerical control device, numerical control method, and storage device storing numerical control program
CN112147953A (en) * 2019-06-28 2020-12-29 发那科株式会社 Numerical controller

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6693409B2 (en) * 2016-12-26 2020-05-13 ブラザー工業株式会社 Numerical control device and control method
JP6809343B2 (en) * 2017-03-31 2021-01-06 ブラザー工業株式会社 Machine tools, machine tool control methods and computer programs
JP6807794B2 (en) * 2017-03-31 2021-01-06 ヤンマーパワーテクノロジー株式会社 Autonomous driving system for agricultural work vehicles
JP6705768B2 (en) * 2017-04-06 2020-06-03 ファナック株式会社 Information processing equipment
JP7010873B2 (en) 2019-04-04 2022-01-26 ファナック株式会社 Machine tools, machining systems, and additional table units
JP7100688B2 (en) * 2020-12-03 2022-07-13 ヤンマーパワーテクノロジー株式会社 Autonomous driving system for agricultural work vehicles
DE112021006842T5 (en) 2021-04-06 2023-11-16 Fanuc Corporation Numerical control and machining system
JP7250202B1 (en) 2022-08-25 2023-03-31 Dmg森精機株式会社 Information processing device and information processing program

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08114138A (en) * 1994-10-17 1996-05-07 Toyota Motor Corp Air-fuel ratio control device/for internal combustion engine with egr device
JP2003260637A (en) * 2002-03-07 2003-09-16 Murata Mach Ltd Turn/clamp operation controller of turret
CN101038490A (en) * 2006-03-13 2007-09-19 发那科株式会社 Machine with program check function
CN101488018A (en) * 2008-01-18 2009-07-22 兄弟工业株式会社 Numeric control apparatus
CN101497168A (en) * 2008-01-30 2009-08-05 兄弟工业株式会社 Numeric control apparatus and numeric control method
EP2106878A1 (en) * 2008-04-04 2009-10-07 Fanuc Ltd Rotary table having clamp state confirmation means
JP3161248U (en) * 2010-02-10 2010-07-29 亮 中井 Mobile suspension scaffold device
CN102717302A (en) * 2011-03-28 2012-10-10 兄弟工业株式会社 Machine tool
JP2012198734A (en) * 2011-03-22 2012-10-18 Brother Ind Ltd Numerical controller and clamp release method
CN103659297A (en) * 2012-09-26 2014-03-26 兄弟工业株式会社 Numerical control device and adjustment method for turntable position

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01312605A (en) * 1988-06-13 1989-12-18 Sodick Co Ltd Electrical discharge machine
JP3224596B2 (en) * 1992-05-02 2001-10-29 ブラザー工業株式会社 Numerical control unit

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08114138A (en) * 1994-10-17 1996-05-07 Toyota Motor Corp Air-fuel ratio control device/for internal combustion engine with egr device
JP2003260637A (en) * 2002-03-07 2003-09-16 Murata Mach Ltd Turn/clamp operation controller of turret
CN101038490A (en) * 2006-03-13 2007-09-19 发那科株式会社 Machine with program check function
CN101488018A (en) * 2008-01-18 2009-07-22 兄弟工业株式会社 Numeric control apparatus
CN101497168A (en) * 2008-01-30 2009-08-05 兄弟工业株式会社 Numeric control apparatus and numeric control method
EP2106878A1 (en) * 2008-04-04 2009-10-07 Fanuc Ltd Rotary table having clamp state confirmation means
JP3161248U (en) * 2010-02-10 2010-07-29 亮 中井 Mobile suspension scaffold device
JP2012198734A (en) * 2011-03-22 2012-10-18 Brother Ind Ltd Numerical controller and clamp release method
CN102717302A (en) * 2011-03-28 2012-10-10 兄弟工业株式会社 Machine tool
CN103659297A (en) * 2012-09-26 2014-03-26 兄弟工业株式会社 Numerical control device and adjustment method for turntable position

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105911964A (en) * 2015-02-20 2016-08-31 发那科株式会社 Numerical Controller
CN105911964B (en) * 2015-02-20 2018-11-13 发那科株式会社 Numerical control device
CN111708320A (en) * 2019-03-18 2020-09-25 兄弟工业株式会社 Numerical control device, numerical control method, and storage device storing numerical control program
CN111708320B (en) * 2019-03-18 2023-08-04 兄弟工业株式会社 Numerical control device, numerical control method, and storage device storing numerical control program
CN112147953A (en) * 2019-06-28 2020-12-29 发那科株式会社 Numerical controller
CN112147953B (en) * 2019-06-28 2024-02-20 发那科株式会社 Numerical controller

Also Published As

Publication number Publication date
CN105320074B (en) 2018-03-20
JP2015225617A (en) 2015-12-14

Similar Documents

Publication Publication Date Title
CN105320074A (en) Numerical value control device and control method
US7847506B2 (en) Machine tool controller
US7899574B2 (en) Machine-tool controller
US7251543B2 (en) Interference checking device
EP3147052B1 (en) Turret cutting tool holder and machine tool provided with same
US8887360B2 (en) Composite working lathe
US9962800B2 (en) Tool changer of machine tool
US8776357B2 (en) System and method of synchronized machining
CN111655411B (en) Turret head for a machine tool
JP2012141762A (en) Numerically-controlled machine tool, control program, and storage medium
JP2019010726A (en) Machine tool for machining workpiece
US20080086221A1 (en) Machine-tool controller
US8206276B2 (en) Machine tool
JP5609731B2 (en) Numerical control apparatus and clamp release method
EP3907038A1 (en) Machine tool and operation method therefor
JP2022168358A (en) Machine tool
JP2008234278A (en) Numerical control device, control program, control program recording medium, and machine tool
KR100324642B1 (en) Dual Rotary Table Control Unit and Method
JP7475533B1 (en) Information processing device, NC program generation method, and control program
JP3224596B2 (en) Numerical control unit
JPH06155231A (en) Numerically controlled machine tool
WO2022113223A1 (en) Machine tool
JP2006301843A (en) Machining control method for work in machine tool
KR102305903B1 (en) Machine tool
JP2003285245A (en) Method for commanding tool indexing for use in rotary turret

Legal Events

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