CN105320074B - Numerical control device and control method - Google Patents
Numerical control device and control method Download PDFInfo
- Publication number
- CN105320074B CN105320074B CN201510251139.8A CN201510251139A CN105320074B CN 105320074 B CN105320074 B CN 105320074B CN 201510251139 A CN201510251139 A CN 201510251139A CN 105320074 B CN105320074 B CN 105320074B
- Authority
- CN
- China
- Prior art keywords
- axle
- work
- judged
- instruction
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical 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/4155—Numerical 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc 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 kind of numerical control device and control method.The CPU of numerical control device explains a program block entirety of numerical control program.When the fixed instruction or release instruction that the rotary table for keeping workpiece in the program block in explanation be present, CPU is created and is waited for indicating, information by fixed instruction or the axle for unclamping instruction is that axis information is stored, and performs the fixation or release of rotary table.When axle move in next program block in explanation be present, if waiting for, mark has been created and the axle move is positioning instruction, and whether CPU is unanimously judged with axis information the command shaft of positioning instruction.When command shaft and axis information are inconsistent, CPU is not to wait for fixed or release completion and is carried out axle movement.Therefore, numerical control device can shorten the process-cycle of workpiece.
Description
Technical field
The present invention relates to numerical control device and control method.
Background technology
Numerical control device controls lathe and carries out the machining of workpiece.Lathe includes grip device.The rotation of grip device
Workpiece is kept into by platform to be rotated.Grip device includes fixed mechanism.In cutting workpiece, numerical control device is by controlling fixed machine
Structure and being fixed into turntable makes workpiece motionless, mechanically to prevent the rotation of turntable.Japanese Unexamined Patent Publication 2012
No. 198734 publications disclose a kind of numerical control device, and its release when rotating turntable in numerical control program is instructed to solve
Except fixation of the fixed mechanism to turntable, and turntable is rotated after turntable is unclamped.Numerical control device makes turntable court
Target location rotates, and after fixed mechanism is to the fixed completion of turntable, enters the movement of the relative position of instrument and workpiece
The cutting of row workpiece.
When fixed instruction in the program block in numerical control program be present or unclamp instruction, numerical control device is according to the fixed instruction
Or unclamp fixation or release that instruction performs rotary table, and this fix or the action unclamped complete to perform afterwards it is next
The axle move of program block.Compared with brake electrically, fixed mechanism is consolidated to the mechanical system of rotary table
The time spent in fixed and release, is more.Because numerical control device is after fixation of the fixed mechanism to rotary table or release are completed
Carry out next program block axle movement, therefore exist the process-cycle it is elongated the problem of.
The content of the invention
It is an object of the invention to provide a kind of numerical control device and control method that can shorten the process-cycle.
The numerical control device of technical scheme 1 controls lathe according to numerical control program, and the lathe includes rotary table and fixation
Mechanism, above-mentioned rotary table keep workpiece and can rotated, above-mentioned fixed mechanism forbid perhaps can above-mentioned rotary table rotation
Turn, above-mentioned numerical control program is made up of multiple program blocks comprising control instruction, above-mentioned control instruction have make above-mentioned fixed mechanism
Work forbid perhaps can above-mentioned rotary table rotation instruction, above-mentioned numerical control device includes explanation portion and enforcement division, on
The program block entirety that above-mentioned numerical control program is explained in explanation portion is stated, above-mentioned enforcement division performs the control explained in above-mentioned explanation portion and referred to
Order, above-mentioned numerical control device are characterised by including:First judging part, first judging part is to explained in above-mentioned explanation portion one
Judged in program block with the presence or absence of the control instruction for making above-mentioned fixed mechanism work;Second judging part, second judging part
To judging in a program block being explained in above-mentioned explanation portion with the presence or absence of the axle move of instruction axle movement;In work
Storage part, refer to the control of above-mentioned fixed mechanism work when above-mentioned first judging part is judged as existing in said one program block
When making, the work of the fixed mechanism is not yet completed this information and stored by storage part in the work;Axle storage part, the axle
Storage part is stored the information for the axle for driving above-mentioned rotary table i.e. axis information;3rd judging part, sentence when above-mentioned second
When disconnected portion is judged as existing in said one program block above-mentioned axle move, the 3rd judging part in above-mentioned work to storing
The work whether portion is stored with above-mentioned fixed mechanism is not yet completed this information and judged;4th judging part, when the above-mentioned 3rd
When judging part is judged as that storage part in above-mentioned work is stored with the work of above-mentioned fixed mechanism and not yet completes this information, the 4th
Judging part is to and the axle of movement being that the above-mentioned axis information that command shaft stores with above-mentioned axle storage part is by above-mentioned axle move
It is no unanimously to be judged;First axle mobile control division, when above-mentioned 4th judging part is judged as above-mentioned command shaft and above-mentioned axis information
When inconsistent, the first axle mobile control division is not to wait for above-mentioned enforcement division and completes the work of above-mentioned fixed mechanism just according to above-mentioned axle
Move performs axle movement;And the second axle mobile control division, when above-mentioned 4th judging part be judged as above-mentioned command shaft with it is upper
State axis information it is consistent when, the second axle mobile control division is after above-mentioned enforcement division completes the work of above-mentioned fixed mechanism according to upper
State axle move and perform axle movement.When command shaft and axis information are inconsistent, numerical control device is not to wait for the work of fixed mechanism
Completion is carried out axle movement, accordingly, it is capable to shorten the process-cycle.When command shaft is consistent with axis information, numerical control device is in fixed machine
The work of structure performs axle movement after completing, accordingly, it is capable to prevent load effect in fixed mechanism.
The numerical control device of technical scheme 2 is characterised by including limiting unit, and the limiting unit forbids above-mentioned first axle movement control
The execution in portion processed, above-mentioned limiting unit progress is standby, until above-mentioned enforcement division completes the work of above-mentioned fixed mechanism.Numerical control device energy
The function of completing to be carried out axle movement to the work for being not to wait for fixed mechanism limits, accordingly, it is capable to according to numerical control program come area
Shi Yong not function.
The numerical control device of technical scheme 3 or 4 is characterised by including:5th judging part, when above-mentioned 3rd judging part judges
When being stored with the work of above-mentioned fixed mechanism for storage part in above-mentioned work and not yet completing this information, the 5th judging part is to upper
State whether axle move is that the interpolation instruction for specifying translational speed to move is judged;And the 3rd axle movement control
Portion, when it is above-mentioned interpolation instruction that above-mentioned 5th judging part, which is judged as above-mentioned axle move, the 3rd axle mobile control division exists
Above-mentioned enforcement division is completed to be moved according to above-mentioned axle move execution axle after the work of above-mentioned fixed mechanism.When axle move
When being interpolation instruction, lathe is possible to perform machining.Because numerical control device performs after the work of fixed mechanism is completed
Axle moves, therefore can prevent that the processing of workpiece is bad.
The numerical control device of technical scheme 5 or 6 is characterised by including:Main shaft condition adjudgement portion, when above-mentioned 5th judging part
When to be judged as above-mentioned axle move be above-mentioned interpolation instruction, the main shaft condition adjudgement portion cuts being provided with the work of above-mentioned workpiece
Whether the main shaft of tool, which rotates, is judged;6th judging part, when above-mentioned main shaft condition adjudgement portion is judged as at above-mentioned main shaft
When halted state, command shaft and the above-mentioned axis information of above-mentioned axle storage part storage that the 6th judging part instructs to above-mentioned interpolation
Whether unanimously judged;And the 4th axle mobile control division, when above-mentioned 6th judging part be judged as above-mentioned command shaft with it is above-mentioned
When axis information is inconsistent, the 4th axle mobile control division is not to wait for above-mentioned enforcement division and completes the work of above-mentioned fixed mechanism with regard to basis
Above-mentioned axle move performs axle movement, when above-mentioned main shaft condition adjudgement portion is judged as above-mentioned main shaft just when rotated, above-mentioned the
The imperial portion of three axles movement control performs after above-mentioned enforcement division completes the work of above-mentioned fixed mechanism according to above-mentioned axle move
Axle moves.When main shaft stops, even if axle move is interpolation instruction, lathe does not have cutting workpiece yet.When interpolation instruction
When command shaft and inconsistent axis information, the work that numerical control device is not to wait for fixed mechanism is completed to be carried out axle movement, accordingly, it is capable to contract
The short process-cycle.
The numerical control device of technical scheme 7 is characterised by including:7th judging part, the 7th judging part is in above-mentioned numerical control
It whether there is the instruction for making above-mentioned fixed mechanism work in same program block in program and consolidate for above-mentioned fixed mechanism
The above-mentioned axle move of fixed axle is judged;And output section, when above-mentioned 7th judging part is judged as in same program
The instruction for making above-mentioned fixed mechanism work and the above-mentioned axle move for the axle fixed for above-mentioned fixed mechanism in block be present
When, the output section output abnormality information.When the instruction that makes fixed mechanism work in same program block being present and for solid
When determining both axle moves of the axle of mechanism fixation, numerical control device output abnormality information, therefore, operator is it will be noted that number
Mistake be present in control program.
The control method of technical scheme 8 is controlled to numerical control device, and above-mentioned numerical control device controls according to numerical control program
Lathe, the lathe include rotary table and fixed mechanism, and above-mentioned rotary table keeps workpiece and can rotated, above-mentioned fixed machine
Structure forbid perhaps can above-mentioned rotary table rotation, above-mentioned numerical control program is made up of multiple program blocks comprising control instruction,
Above-mentioned control instruction have make the work of above-mentioned fixed mechanism forbid perhaps can above-mentioned rotary table rotation instruction, it is above-mentioned
Control method includes explaining process and performs process, and above-mentioned explanation process explains a program block entirety of above-mentioned numerical control program,
Above-mentioned execution process performs the control instruction explained by above-mentioned explanation process, and above-mentioned control method is characterised by including:First
Judgment step, first judgment step in a program block being explained in above-mentioned explanation process with the presence or absence of making above-mentioned fixed machine
The control instruction of structure work is judged;Second judgment step, second judgment step to explained in above-mentioned explanation process one
Axle move in individual program block with the presence or absence of instruction axle movement is judged;Process is stored in work, is sentenced when above-mentioned first
When disconnected process is judged as existing in said one program block the control instruction for making above-mentioned fixed mechanism work, stored in the work
This information is not yet completed in the work that process stores above-mentioned fixed mechanism in storage part at work;Axle stores process, and the axle is deposited
Storage process is stored the information for the axle for driving above-mentioned rotary table i.e. axis information;3rd judgment step, when above-mentioned second
When judgment step is judged as existing in said one program block above-mentioned axle move, the 3rd judgment step is in above-mentioned work
Storage part in above-mentioned work is stored in process in work whether store the work of above-mentioned fixed mechanism and not yet complete this information and enter
Row judges;4th judgment step, when above-mentioned 3rd judgment step is judged as that in above-mentioned work storage part is stored with above-mentioned fixation
When this information is not yet completed in the work of mechanism, the 4th judgment step by above-mentioned axle move and the axle of movement to being referred to
Axle is made to store whether the above-mentioned axis information of process storage is unanimously judged with above-mentioned axle;First axle movement control process, when upper
When stating the 4th judgment step and being judged as that above-mentioned command shaft and above-mentioned axis information are inconsistent, first axle movement control process is not to wait for
The work that above-mentioned execution process completes above-mentioned fixed mechanism just performs axle movement according to above-mentioned axle move;And second axle move
Dynamic control process, when above-mentioned 4th judgment step is judged as that above-mentioned command shaft is consistent with above-mentioned axis information, second axle movement
Process is controlled to perform axle movement according to above-mentioned axle move after above-mentioned execution process completes the work of above-mentioned fixed mechanism.
Numerical control device can obtain the effect described in technical scheme 1 by carrying out above-mentioned operation.
Brief description of the drawings
Fig. 1 is the stereogram of lathe 1.
Fig. 2 is the I-I line apparent direction sectional views shown in Fig. 1.
Fig. 3 is the block diagram for the electrical structure for representing lathe 1 and numerical control device 50.
Fig. 4 is main flow chart to be processed.
Fig. 5 is the flow chart of fixation/release treatment.
Fig. 6 is the flow chart of axle movement processing.
Fig. 7 is the flow chart of axle movement processing (the first variation).
Fig. 8 is the flow chart of axle movement processing (the second variation).
Fig. 9 is the stereogram of combined machine 100.
Embodiment
Illustrate embodiments of the present invention below.In the following description, using shown in arrow in figure up and down, left and right, it is preceding
Afterwards.The left and right of lathe 1, it is front and rear, be X-direction, Y direction, Z-direction respectively up and down.
Lathe 1 of the numerical control device 50 (reference picture 3) of present embodiment according to numerical control program come control figure 1 moves
Make.Lathe 1 is to include X-axis, Y-axis, Z axis and four axles as the A axles of additional shaft to control lathe, its by workpiece (not shown) and
The relative movement of instrument 6 carries out the processing such as cutting to workpiece.A axles are the control shafts using the axle parallel with X-axis as pivot.
The A axles of present embodiment are the rotary tables 4 (reference picture 2) of aftermentioned grip device 10.
The structure of lathe 1 is simplyd illustrate referring to Fig. 1.Lathe 1 includes base station 2, column 5, main tapping 7, main shaft (not
Diagram), mobile station 15, grip device 10 etc..Fig. 1 illustrate only the top of lathe 1, and eliminate the bottom of base station 2.Base station 2
It is the pedestal of lathe 1.Column 5 stands up the rear on the top of base station 2.Main tapping 7 is located at 5 preceding surface of column, and passes through Z axis
The driving of motor 61 and moved along Z-direction.Inside main tapping 7, there is the bottom of main tapping 7 main shaft mounting hole (not scheme
Show).Mounting hole is the hole for the keeper 16 that installation is held to instrument 6.Main shaft passes through the main shaft horse located at the top of main tapping 7
Rotated up to 62 driving.Instrument 6 is such as drill bit, screw tap, milling cutter.Instrument 6 rotates together with main shaft, and to being filled by fixture
Put 10 and be kept into revolvable workpiece (not shown) and cut.Instrument 6 is as desired by tool replacing apparatus (not shown)
Changed with other instruments.
Mobile station 15 is located at the top of base station 2, and can be moved along X-axis, Y direction.Grip device 10 is fixed on mobile station 15
Upper surface.The rotary table 4 of the holding workpiece of grip device 10 is rotated around A axles, and rotary table 4 is fixed using fixed mechanism
In stop position.Therefore, lathe 1 makes workpiece in XY directions upper feeding using mobile station 15, makes the rotary work of grip device 10
Platform 4 rotates around A axles and is fixed on setting position, to carry out the processing such as cutting.
Illustrate the structure of grip device 10 referring to Fig. 2.Grip device 10 includes the covering part 21 of tubular.Covering
The inner utilization screw 46 of portion 21 is provided with bearing 22.Covering part 21 is integrally formed gear wheel 26 and rotary body 23, and by canine tooth
Wheel 26 and rotary body 23 are supported into and can coaxially rotated.Bearing 22 is clamped in gear wheel 26 and the end of rotary body 23, and utilizes screw
45 fix bearing 22.Little gear 25 is supported by a manner of revolvable in the inner side of covering part 21.Little gear 25 is in and canine tooth
The orthogonal position relationship of rotating shaft of wheel 26, and engaged with gear wheel 26.Little gear 25 and gear wheel 26 form the shaft bevel gears that interlock
Mechanism.
Rotary table 4 is in the form of annular discs, and the axial one end of rotary body 23 is installed on using screw 47.In rotary work
The outer surface of platform 4 (Fig. 2 left surface) uses retainer fixed workpiece (not shown).Convex portion 28 is installed on rotary body using screw 48
23 the other end with above-mentioned one end opposite side.Disk 32 is matched somebody with somebody in a manner of being clipped between rotary body 23 and convex portion 28
Put.O-ring 42 is configured in a manner of being clipped between disk 32 and rotary body 23.O-ring 41 be clipped in disk 32 and convex portion 28 it
Between mode configure.
Cylinder 29 is annular in shape, and using screw 49 to clamp the state of packing ring 37 is fixed on covering part 21 and rotary table
The face of 4 opposite side.Oil sealing 44 is installed in the center of cylinder 29.The piston 30 of ring-type is accommodated with inside cylinder 29.Outside piston 30
All portions are provided with O-ring 38, and O-ring 39 is provided with the inner peripheral portion of piston 30.Piston 30 can sliding axially along covering part 21.Cylinder
29 have vent passage 35.Vent passage 35 makes part and the ft connection of cylinder 29 of the storage piston 30 of cylinder 29.Aftermentioned fixed control dress
Putting the fixed signal that 66 (reference pictures 3) export according to numerical control device 50 makes the air of pump supply (not shown) via the note of vent passage 35
Enter, and the air pressure for putting on vent passage 35 is discharged according to signal is unclamped.
There is recess 33 in the face relative with cylinder 29 of covering part 21.Spring 34 is configured with the inner side of recess 33.Spring 34
Piston 30 is pressed towards the side of cylinder 29.When piston 30 is pressed towards the side of cylinder 29, rotary table 4 can rotate, therefore in release
State.When piston 30 is pressed towards the side of disk 32, rotary table 4 can not rotate, in stationary state.Piston 30, disk
32nd, spring 34, vent passage 35 form the fixed mechanism of fixed rotary table 4 (equivalent to the mechanism of the present invention).Packing ring 37 and O
Shape ring 41,42 prevents that cutting oil etc. penetrates between piston 30 and disk 32 and cause between disk 32 and covering part 21 under frictional force
Drop.
Illustrate the fixation of rotary table 4 and release referring to Fig. 2.In the rotary table 4 in releasing orientation
In, if numerical control device 50 drives rotary table motor 65 (reference picture 3), little gear 25 rotates.Due to little gear 25 and greatly
Gear 26 engages, therefore gear wheel 26 rotates.If gear wheel 26 rotates, rotary body 23, rotary table 4, convex portion 28, disk
32 rotations.Therefore, the workpiece that rotary table 4 is kept rotates around the A axles of rotary table 4.
If rotary table motor 65 stops driving, little gear 25 and gear wheel 26 stop the rotation, rotary body 23, rotation
Workbench 4, convex portion 28, disk 32 also stop the rotation.Control electricity of the numerical control device 50 by fixed signal towards fixed control device 66
Road 66A (reference picture 3) is exported.Control circuit 66A drives fixed control device 66 according to the fixed signal.Fixed control device
66 air for supplying pump inject via vent passage 35.Piston 30 moves because of the pressure of injected air towards the side of covering part 21.
The pressure of injected air exceedes the spring force of spring 34.If piston 30 contacts with disk 32, elastic deformation occurs for disk 32.
The disk 32 of elastic deformation is pressed into covering part 21 by piston 30.Therefore, frictional force is produced between disk 32 and covering part 21.
The action of the power restriction that rubs disk 32 and rotary body 23, makes rotary table 4 turn into stationary state.Lathe 1 can carry out workpiece
Machining.
In order to change the angle of workpiece contact instrument 6, numerical control device 50 will unclamp control of the signal towards fixed control device 66
Circuit 66A outputs processed.Control circuit 66A drives fixed control device 66 according to signal is unclamped, and makes to put on vent passage 35
Air pressure discharges.Piston 30 moves because of the spring force of spring 34 and towards the direction of cylinder 29, and disk 32 is elastic because of the elastic force of spring 34
Restore.Because disk 32 leaves from covering part 21, therefore frictional force disappears.Rotary table 4 turns into releasing orientation, rotary body 23
It is changed into rotating.Rotary table 4 stops after it have rotated the target amount of movement by numerical control program setting.Numerical control device 50 will
Control circuit 66A output of the fixed signal towards fixed control device 66.Control circuit 66A drives fixed control according to fixed signal
Device 66 processed.Fixed control device 66 makes rotary table 4 turn into stationary state again.Therefore, lathe 1 can be from other angle pair
Workpiece carries out machining.
Illustrate the electrical structure of numerical control device 50 and lathe 1 referring to Fig. 3.Numerical control device 50 include CPU51,
ROM52, RAM53, storage device 54, input and output portion 55, drive circuit 61A~65A, control circuit 66A etc..CPU51 is integrated
Control numerical control device 50.ROM52 storages include the various programs of main program etc..Main program performs main processing described later
(reference picture 4).Main processing is that a program block of numerical control program is integrally explained to perform the place of various control instructions
Reason.
Various data in the various processing implementation procedures of RAM53 interim storages.Storage device 54 is non-volatile, and it is deposited
Store up numerical control program etc..Numerical control program is made up of multiple program blocks comprising various control instructions.Numerical control device 50 using program block as
Unit moves to the axle comprising lathe 1, and rotary table 4 rotates, fixes and unclamped, the various actions including tool changing etc.
It is controlled.The numerical control program that operator is inputted and set using operating portion 71 is stored in storage device 54 by CPU51.
Drive circuit 61A is connected with Z axis motor 61 and encoder 61B.Drive circuit 62A and spindle motor 62 and encoder
62B connections.Drive circuit 63A is connected with X-axis motor 63 and encoder 63B.Drive circuit 64A and Y-axis motor 64 and encoder
64B connections.Drive circuit 65A is connected with rotary table motor 65 and encoder 65B.Control circuit 66A fills with fixed control
Put 66 connections.Drive circuit 61A~65A is received from CPU51 and instructed, towards corresponding each output driving current of motor 61~65.Drive
Dynamic circuit 61A~65A receives feedback signal from encoder 61B~65B, carries out the feedback control of position and speed.Control circuit
66A receives fixed signal from CPU51 or unclamps signal, and fixed control device 66 is controlled.
Input and output portion 55 is connected with operating portion 71, display part 72 and fixed detector 73 respectively.Operating portion 71 and display
Portion 72 is located at the side for the protective cover (not shown) for for example covering lathe 1.Operating portion 71 is the startup for including for example sending lathe 1
With the enter key and editing key etc. for the multiple instruction key of instruction, the processing start button that instruction processing starts, the numerical control program such as stopping
Equipment.Operating portion 71 can also use the touch panel mode located at display part 72.Display part 72 is to show setting for various pictures
It is standby.Fixed detector 73 detects to the stationary state or releasing orientation of the rotary table 4 in grip device 10, and will be solid
Determine confirmation signal or unclamp confirmation signal to send to numerical control device 50.
Explanation shortens the setting and releasing of time function below.Present embodiment can be to the action of the work pieces process of lathe 1
Time function is shortened in setting.So-called shortening time function, refer to the fixation by being not to wait for rotary table 4 or unclamp complete just
Following axle is performed to move to shorten the function of process-cycle.Operator can set or release the function using operating portion 71.
When receiving the setting for shortening time function, the functional parameter for being stored in storage device 54 is updated to 1 by CPU51.Receiving contracting
During the releasing of short time function, the functional parameter for being stored in storage device 54 is updated to 0 (zero) by CPU51.Numerical control device 50 is logical
Cross releasing and shorten time function, the axle performed before the fixation of rotary table 4 or release are completed then can be moved and carried out
Limitation.
Illustrate the main processing carried out by CPU51 referring to Fig. 4~Fig. 6.Main processing is selected according to operator
Numerical control program make lathe 1 act processing.
- explanation of numerical control program-
In the present embodiment, to be illustrated in case of performing the numerical control program of following five patterns.Numerical control journey
Sequence is indicated multiple control instructions by program block.Following five patterns are in order that illustrating two for readily appreciating and being simplified
The example of program block, other numerical control programs can also be performed certainly.
Numerical control program (1):The positioning instruction carried out after A axles unclamp instruction for the axle different from A axles
M442
G00X_Y_;
Numerical control program (2):The positioning instruction carried out after A axles unclamp instruction for A axles
M442
G00A_;
Numerical control program (3):The interpolation instruction carried out after A axles unclamp instruction for the axle different from A axles
M442
G01X_Y_F_;
Numerical control program (4):The positioning instruction carried out after A axle fixed instructions for the axle different from A axles
M443
G00X_Y_;
Numerical control program (5):The interpolation instruction carried out after A axle fixed instructions for the axle different from A axles
M443
G01X_Y_F_;
M442 is the release instruction of A axles, and M443 is the fixed instruction of A axles.G00 is positioning instruction.So-called interpolation instruction, it is
Refer to the translational speed (F_) set make axle move instruction, such as linear interpolation instruction (G01), circular interpolation instruction (G02),
Spiral interpolation instruction etc..So-called spiral interpolation instruction, refer to the feed speed of instruction towards instruction position helical form (in circular arc
The motion of the action of depth direction is added on the basis of interpolation) mobile instruction.When being instructed using spiral interpolation, specify flat
Face axle (two axles) and linear axis (axle).Linear axis can also be set to include two axles of rotating shaft.Above-mentioned numerical control program (3) and
(5) the second row is linear interpolation instruction but it is also possible to be circular interpolation instruction or spiral interpolation instruction etc..In numerical control program
(1), in (3), (4), (5), the positioning instruction of the second row and the axle of interpolation instruction are not limited to above-mentioned example.Numerical control
Second row of program (2) is not limited to the independent instruction of A axles or the multiaxis comprising A axles while instructed.
Operator selects the numbering of numerical control program using operating portion 71, and presses processing start button (not shown).CPU51 exists
Detect to process when pressing of start button, the main program for being stored in ROM52 is read in perform present treatment.
As shown in figure 4, CPU51 reads in numerical control program corresponding with the numbering selected using operating portion 71 from storage device 54
(S1).CPU51 is explained (S2) from the beginning row of the numerical control program of reading to a program block, is owned in recognizer block
Control instruction.Whether CPU51 is that end code is judged (S3) to the control instruction of identification.When control instruction is not to terminate
(S3 during code:It is no), CPU51 is judged (S4) whether the program block of explanation meets exclusive condition.So-called exclusive condition, it is
Refer in same program block comprising the condition for unclamping instruction and the axle move of the object axle instructed for the release.Such as
Such program block meets exclusive condition below.
·M442G00A_;
If acting lathe 1 according to the program block, then CPU51 just drives before the release of rotary table 4 is completed
Rotary table motor 65 and rotary table to be made 4 rotates, therefore, load can act on fixed mechanism.
In order to avoid the situation, (the S4 when the program block of explanation meets exclusive condition:It is), CPU51 is defeated towards display part 72
Go out abnormal information (S5), and terminate present treatment will be notified of extremely after operator, lathe 1 is stopped processing.Therefore, numerical control
Device 50 can prevent load effect in fixed mechanism, and then can prevent to process bad.As being shown in the different of display part 72
The content of normal information, CPU51 is such as can also make the numbering of numerical control program of stopping, the numbering for the program block for meeting exclusive condition
Display.Operator can be one may immediately notice in numerical control program by confirming abnormal information and mistake be present.In the present embodiment, remove
Display part 72 is shown outside abnormal information, such as also exception can be notified by buzzer or voice etc..In this embodiment party
In formula, also abnormal information can be stored in storage device 54 etc. together with the abnormal generation date.
(the S4 when the program block of explanation does not meet exclusive condition:It is no), CPU51 in the program block of explanation to whether there is
Fixed instruction or release instruction are judged (S6).Such as when explaining the first row of above-mentioned numerical control program (1)~(5), by
(S6 is instructed in fixed instruction in the program block in explanation be present or unclamp:It is), therefore CPU51 performs fixation/release treatment (ginseng
According to Fig. 5) (S10).(the S6 when being instructed in the absence of fixed instruction or release:It is no), whether CPU51 in the program block of explanation to depositing
Judged (S7) in axle move.So-called axle move, refer to such as instructing positioning instruction or interpolation.When explaining
Program block in (S7 when axle move be present:It is), CPU51 performs axle movement processing (reference picture 6) (S9).When in explanation
(S7 when fixed instruction being not present in program block, unclamping any one of instruction, axle move:It is no), CPU51 is performed and explained
Program block in control instruction (S8).
Illustrate fixation/release treatment referring to Fig. 5.CPU51 to be stored in storage device 54 functional parameter whether
It is 1 to be judged (S13).
(the S13 when functional parameter is 0:It is no), control circuit 66A output fixed letters of the CPU51 to fixed control device 66
Number or unclamp signal, and perform fixed instruction or unclamp instruction (S15).Receive fixed signal or unclamp the fixed control of signal
Device 66 injects air towards vent passage 35, or makes the air pressure release for putting on vent passage 35.Piston 30 is towards the side of covering part 21 or cylinder
29 sides are moved, and rotary table 4 is fixed or is unclamped.
Whether fixations or release of the CPU51 to rotary table 4 have been completed to be judged (S16).Fixed detector 73 is examined
Fixation or the releasing orientation of rotary table 4 are surveyed, and fixed confirmation signal or release confirmation signal are sent to CPU51.CPU51
Standby (S16 is carried out before receiving fixed confirmation signal or unclamping confirmation signal:It is no).When receive fixed confirmation signal or
(S16 when unclamping confirmation signal:It is), because the fixation or release of rotary table 4 have been completed, therefore CPU51 terminates present treatment
And return to Fig. 4 main processing.Therefore, at the end of fixation/release treatment, fixed or release is in the shape completed
State.
(the S13 when functional parameter is 1:It is), shorten time function and be in the state set.Therefore, CPU51 exists
Created in RAM53 and wait for indicating (S17).The object axis information of fixed instruction or release instruction is stored in by CPU51
RAM53.So-called object axis information, refer to the information of the axle as fixed instruction or the object for unclamping instruction, equivalent to the present invention
Axis information.Because M442 and M443 is using A axles as object axle, therefore CPU51 is stored in A axles as object axis information
RAM53.CPU51 exports fixed signal to the control circuit 66A of fixed control device 66 or unclamps signal, and performs fixed instruction
Or unclamp instruction (S19).CPU51 is not to wait for the fixation of rotary table 4 or unclamped to complete just to terminate present treatment, returns to Fig. 4
Main processing.
CPU51 is judged (S11) whether all instructions in a program block of explanation is complete.When in the presence of still
(S11 during unfinished instruction:It is no), CPU51 returns to S3, and above-mentioned processing is repeated according to remaining instruction.When a journey
(S11 when all instructions in sequence block is complete:It is), CPU51 returns to S2, is repeated for next program block above-mentioned
Processing.Such as when explaining the second row of above-mentioned numerical control program (1)~(5), due to axle shifting in the program block of explanation be present
Dynamic instruction (S7:It is), therefore CPU51 performs axle movement processing (reference picture 6) (S9).
Illustrate that axle movement is handled referring to Fig. 6.CPU51 waits for whether mark creates to be stored in RAM53
Judged (S21).
When wait for indicating do not create when (S21:It is no), shorten time function in the state not set, also,
Fixation/the release treatment (reference picture 5) performed before at the end of, the fixation or release of rotary table 4 are in what is completed
State.Therefore, CPU51 performs axle move (S26), returns to Fig. 4 main processing.
(the S21 when waiting for mark and having created:It is), shorten time function in the state set, also,
Fixation/the release treatment performed before at the end of, sometimes rotary table 4 fixation or unclamp not yet complete.If lathe 1
The cutting that instrument 6 carries out workpiece is started with before the fixed completion of rotary table 4, then rotary table 4 can deviate and stop
Stop bit is put, it is possible to as the reason for bad is processed.The rotary work to be made before the release of rotary table 4 is completed of lathe 1
When platform 4 rotates, it is loaded with that fixed mechanism may be acted on.
Whether CPU51 is that interpolation instruction is judged (S22) to the axle move in the program block of explanation.Interpolation instructs
It is the instruction for making axle motion with the translational speed of setting (F_), it is usually used in cutting workpiece.Above-mentioned numerical control program (3)
The axle move of second row is to unclamp the linear interpolation instruction after instruction.The axle movement of second row of above-mentioned numerical control program (5)
Instruction is the linear interpolation instruction after fixed instruction.
(the S22 when the axle move in the program block of explanation is interpolation instruction:It is), CPU51 is to instruction before
No is to unclamp instruction to be judged (S25).(the S25 when instruction before is to unclamp instruction:It is), CPU51 performs interpolation instruction
(S29) processing, is made to return to main processing (Fig. 4).Such as by the translational speed with setting make the axle specified linearly, circular arc or
Helically move, carry out cutting workpiece.(the S25 when instruction before is fixed instruction:It is no), CPU51 is to rotary table 4
Whether fixation has been completed to be judged (S26).(the S26 before fixed complete:It is no), CPU51 carries out standby.When fixation has been completed
When (S26:It is), CPU51, which is released, to be waited for indicating (S28), performs interpolation instruction (S29).Therefore, numerical control device 50 is reliable
Cutting workpiece in the state of rotary table 4 is fixed on ground, can prevent from processing bad.
(the S22 when the axle move of explanation is positioning instruction:It is no), CPU51 is to the command shaft of positioning instruction and in Fig. 5
Whether the object axis information that RAM53 is stored in the S18 of shown fixation/release treatment is unanimously judged (S23).It is stored in
RAM53 object axis information is A axles.For numerical control program (1) and (4) when, the positioning instruction of the second row is for different from A axles
X-axis, the positioning instruction of Y-axis, therefore, command shaft is X-axis, Y-axis (S23:It is no).Therefore, CPU51 is not to wait for rotary table 4
Fixation or unclamp and complete just to be immediately performed the positioning instruction (S29) of X-axis, Y-axis.Therefore, numerical control device 50 can shorten processing week
Phase.CPU51 returns to Fig. 4 main processing.
For numerical control program (2) when, the positioning instruction of the second row is the positioning instruction for A axles, with believing as object axle
Consistent (the S23 of the A axles of breath:It is), therefore, whether releases of the CPU51 to rotary table 4 has been completed to be judged (S24).In pine
End into (S24 before:It is no), it is standby that CPU51 returns to S24 progress.(the S24 when release has been completed:It is), CPU51 is released etc.
Mark (S27) to be done, perform the positioning instruction (S29) of A axles.Therefore, numerical control device 50 can in the release of rotary table 4
Rotary table 4 is set to rotate to be positioned after being completed by ground, accordingly, it is capable to prevent load effect in fixed mechanism.CPU51 is returned
Return to Fig. 4 main processing.
Return to Fig. 4, (S11 when all instructions of the CPU51 in a program block of explanation is complete:It is), return to
S2 is to explain next program block.(the S3 when control instruction is end code:It is), CPU51 terminates present treatment.
As described above, action of the numerical control device 50 of present embodiment to lathe 1 is controlled.Numerical control device
50 CPU51 explains the control instruction in numerical control program program block one by one.Workpiece is kept when existing in the program block in explanation
Rotary table 4 fixed instruction or unclamp instruction when, CPU51 is created in RAM53 and is waited for indicating, will be used as fixation
The object axis information of the object of instruction or release instruction is stored in RAM53.Afterwards, CPU51 perform rotary table 4 fixation or
Unclamp.When being judged as axle move being present in next program block, CPU51 is to waiting for whether mark creates progress
Judge.When waiting for mark and having created, CPU51 is to the command shaft of axle move and is stored in RAM53 object axle
Whether information is unanimously judged.When the command shaft of axle move is inconsistent with object axis information, CPU51 is not to wait for rotating
The fixation or release completion of workbench 4 are carried out axle movement.Therefore, numerical control device 50 can effectively shorten the process-cycle.When axle moves
When the command shaft of dynamic instruction is consistent with object axis information, CPU51 performs axle after the fixation or release of rotary table 4 are completed
It is mobile.Therefore, numerical control device 50 can prevent load effect in the fixed mechanism of grip device 10, and then can prevent workpiece
Process bad.
In the present embodiment, can be in rotary table 4 by using the functional parameter for being stored in storage device 54
Shortening time function that is fixed or unclamping the control instruction for being carried out next program block before completing is limited.Some numerical controls
Program Generating is:Axle movement is carried out premised on by the fixation of rotary table 4 or unclamping completed state.Numerical control device 50
Above-mentioned function is limited by the content according to numerical control program, load effect can be prevented in fixed mechanism, and then can prevent
The processing of workpiece is bad.
In the present embodiment, when the control instruction in the program block of explanation is axle move and waits for mark
During through creating, whether CPU51 is that interpolation instruction judges to axle move.When axle move is interpolation instruction, machine
Bed 1 is possible to cutting workpiece.Therefore, CPU51 performs interpolation instruction after fixed complete.Therefore, numerical control device 50 is reliable
Cutting workpiece in the state of rotary table 4 is fixed on ground, can prevent from processing bad.
In the present embodiment, when exist in the same program block in numerical control program fixed instruction or unclamp instruction and
For the object axle of the instruction axle move when, CPU51 can export abnormal information to display part 72, therefore, operator
The exception of numerical control program can be immediately treated.
The invention is not limited in above-mentioned embodiment, can carry out various changes.Illustrate that the first variation, second become below
Shape example.
- the first variation-
Such as in the axle movement processing shown in Fig. 6, when the axle move in the program block of explanation is interpolation instruction
(S22:It is), CPU51 completes to perform axle movement afterwards in the fixed of rotary table 4.Interpolation instruction is usually in cutting workpiece
Use, still, such as in the workpiece of manufacturing complex shapes or when being processed using additional shaft, in order to prevent producing with workpiece
Raw interference, is instructed in the action for making instrument 6 keep out of the way from workpiece using interpolation sometimes.Make due to being not present in stock removal action
The action that instrument 6 is kept out of the way, therefore, so long as not the interpolation instruction for the object axle identical axle with fixed instruction, CPU51
Executable interpolation instruction.Whether CPU51 for example can be being rotated according to main shaft come to whether by interpolation instruction to carry out cutting dynamic
Judge.CPU51 can for example judge according to encoder 62B feedback signal come the rotation to main shaft.
For example, the first variation as shown in Figure 7 is such, when the axle move in the program block of explanation is interpolation instruction
And (S22 when being fixed instruction of instruction before:It is S25:It is no), CPU51 is judged whether main shaft rotates (S30).
As main shaft just when rotated (S30:It is), it is possible to cutting workpiece is instructed by the interpolation then performed, therefore, CPU51 is revolving
The fixed of revolving worktable 4 is completed to carry out standby (S26) before, (the S26 when fixed completed:It is), releasing waits for indicating
(S28) interpolation instruction (S29), is performed.
(the S30 when main shaft is in halted state:It is no), interpolation then instructs not cutting workpiece, and therefore, CPU51 is to inserting
Whether the command shaft for mending instruction and the object axis information for being stored in RAM53 are unanimously judged (S23).When command shaft and object axle
(S23 when information is inconsistent:It is no), CPU51 is not to wait for that the fixation of rotary table 4 or unclamp is completed to be carried out X-axis, Y-axis is determined
Bit instruction (S29).Therefore, on the basis of above-mentioned embodiment, the first variation is in the avoidance operation of not cutting workpiece
The fixation or release completion that rotary table 4 can be not to wait for are carried out.(the S23 when command shaft is consistent with object axis information:It is),
Whether fixations or release of the CPU51 to rotary table 4 have been completed to be judged (S31).CPU51 waits solid when interpolation instructs
It is fixed to complete, the completion (S31 to be released such as in positioning instruction:It is), then performing axle movement can (S29).
- the second variation-
In the above-described embodiment, in the axle movement processing shown in Fig. 6, when waiting for mark and having created
(S21:Be), to axle move whether be interpolation instruction judge, still, for example, also can regardless of axle move whether be
Interpolation instructs, and when command shaft and object axis information are inconsistent, is not to wait for the fixation of rotary table 4 without exception or unclamps to complete just
Perform axle move.For example, the second variation as shown in Figure 8 is such, (the S21 when waiting for mark and having created:
It is), the command shaft that CPU51 instructs to interpolation is with being stored in whether RAM53 object axis information is unanimously judged (S23).When
When command shaft and inconsistent object axis information, CPU51 is not to wait for the fixation of rotary table 4 or release completion is carried out axle movement
Instruct (S29).Therefore, the second variation also can shorten the process-cycle.Second variation is the simplest embodiment party of the present invention
Formula.
- other variations-
In above-mentioned embodiment and variation, rotary table 4 is set to A axles, still, such as with rotary table
4 pivot towards the mode of Y-axis grip device 10 is set when, rotary table 4 turns into B axle.The fixation of B axle and release example
If specified by M440 and M441.When B axle is set into additional shaft, as long as by the numerical control program of above-mentioned embodiment
A axles specify be replaced into B axle.
Above-mentioned embodiment is to control lathe 1 to be controlled to rotary table 4 to be set to four axles of additional shaft, but this hair
It is bright to can also be applied to be controlled the lathe with the control shaft for example more than five axles.In lathe more than five axles, also may be used
Additional shaft is appointed as more than two axles.
The lathe 1 that the numerical control device 50 of above-mentioned embodiment is vertical is controlled, but it is can also be applied to sleeping
The numerical control device that the lathe of formula is carried out.
Above-mentioned embodiment using functional parameter shorten the setting and releasing of time function, but functional parameter and figure
5 S13 processing can also omit.
In the above-described embodiment, in Fig. 4 master S4 to be processed, release instruction will be included in same program block
And also can will be same as exclusive condition, but for example for the axle move of object axle this condition of release instruction
Axle in individual program block comprising fixed instruction or release instruction and for the fixed instruction or the object axle for unclamping instruction moves
This condition is instructed as exclusive condition.Above-mentioned embodiment can be also further set in same program block to be referred to comprising fixation
Order and interpolation instruct this condition.Therefore, above-mentioned embodiment can be prevented from performing before the fixed completion of rotary table 4 and inserted
Mend instruction.
Above-mentioned embodiment is that the lathe 1 shown in Fig. 1 is controlled, but the present invention for example can also be to shown in Fig. 9
The numerical control device that is controlled of combined machine 100.Combined machine 100 makes the main shaft (not shown) of installation tool 6 can be along X-axis, Y
Axle, Z-direction movement, and further comprise A axles 101 and C axles 102.C axles 102 are located on A axles 101, and parallel with Z-direction
Configuration.C axles 102 keep workpiece and can rotated.Such as can be by making the one party in main shaft and C axles 102 relative to the opposing party's phase
To rotation, optionally to implement workpiece rotation processing and turnery processing.Such as in the axle movement processing (first shown in Fig. 7
Variation) in, (the S30 when C axles 102 do not rotate:It is no), CPU51 can judge the linear interpolation instruction of even A axles, also not have
Cut.Therefore, CPU51 can be not to wait for the fixation of A axles or unclamp the axle movement for completing to be carried out then.
In the above description, explanation portions of the CPU51 equivalent to the present invention of Fig. 4 S2 processing is performed.Perform S6 processing
First judging parts of the CPU51 equivalent to the present invention.Perform second judging parts of the CPU51 equivalent to the present invention of S7 processing.Fig. 3's
RAM53 is equivalent to storage part in the work of the present invention.Perform the CPU51 of Fig. 4 S8, Fig. 5 S19, Fig. 6~Fig. 8 S29 processing
Equivalent to the enforcement division of the present invention.Perform axle storage parts of the CPU51 equivalent to the present invention of S18 processing.At the S21 for performing Fig. 6
Threeth judging parts of the CPU51 of reason equivalent to the present invention.Perform fourth judging parts of the CPU51 equivalent to the present invention of S23 processing.
Perform first axle mobile control divisions of the CPU51 equivalent to the present invention of S29 processing.Perform S24, S29 processing CPU51 equivalent to
Second axle mobile control division.
Perform Fig. 5 S13:Limiting units of no, S15, S16 processing the CPU51 equivalent to the present invention.At the S22 for performing Fig. 6
Fiveth judging parts of the CPU51 of reason equivalent to the present invention.Perform threeth axles of the CPU51 equivalent to the present invention of S26, S29 processing
Mobile control division.Perform main shaft condition adjudgement portions of the CPU51 equivalent to the present invention of Fig. 7 S30 processing.Perform S23 processing
Sixth judging parts of the CPU51 equivalent to the present invention.The CPU51 for performing S29 processing moves control equivalent to the 4th axle of the present invention
Portion.Perform seventh judging parts of the CPU51 equivalent to the present invention of Fig. 4 S4 processing.The CPU51 of S5 processing is performed equivalent to this hair
Bright output section.
Claims (8)
1. a kind of numerical control device, the numerical control device controls lathe according to numerical control program, and the lathe is including rotary table and admittedly
Determine mechanism, the rotary table keeps workpiece and can rotate, and the fixed mechanism is forbidden perhaps can the rotary table
Rotation, the numerical control program is made up of multiple program blocks comprising control instruction, and the control instruction has and makes the fixed machine
Structure work come forbid perhaps can the rotary table rotation instruction, the numerical control device includes explanation portion and enforcement division,
A program block entirety of the numerical control program is explained in the explanation portion, and the enforcement division performs the control that the explanation portion is explained
Instruction, it is characterised in that
The numerical control device includes:
First judging part, first judging part in a program block being explained in the explanation portion with the presence or absence of making the fixation
The control instruction of mechanism work is judged;
Second judging part, second judging part in a program block being explained in the explanation portion with the presence or absence of instruction axle movement
Axle move judged;
Storage part in work, make the fixed mechanism work when first judging part is judged as existing in one program block
During the control instruction of work, the work of the fixed mechanism is not yet completed this information and stored by storage part in the work;
Axle storage part, the axle storage part are stored the information for the axle for driving the rotary table i.e. axis information;
3rd judging part, when second judging part is judged as the axle move being present in one program block,
The work whether the 3rd judging part is stored with the fixed mechanism to storage part in the work is not yet completed this information and entered
Row judges;
4th judging part, when the 3rd judging part is judged as that storage part in the work is stored with the work of the fixed mechanism
When not yet completing this information, the 4th judging part is to and the axle of movement being command shaft and the axle by the axle move
Whether the axis information of storage part storage is unanimously judged;
First axle mobile control division, should when the 4th judging part is judged as that the command shaft is inconsistent with the axis information
The work that first axle mobile control division is not to wait for the enforcement division completion fixed mechanism is just held according to the axle move
Row axle moves;And
Second axle mobile control division, when the 4th judging part is judged as that the command shaft is consistent with the axis information, this
Two axle mobile control divisions perform axle after the enforcement division completes the work of the fixed mechanism according to the axle move
It is mobile.
2. numerical control device as claimed in claim 1, it is characterised in that
The numerical control device includes limiting unit, and the limiting unit forbids the execution of the first axle mobile control division,
The limiting unit progress is standby, until the enforcement division completes the work of the fixed mechanism.
3. numerical control device as claimed in claim 1, it is characterised in that
The numerical control device includes:
5th judging part, when the 3rd judging part is judged as that storage part in the work is stored with the work of the fixed mechanism
When not yet completing this information, whether the 5th judging part specifies translational speed to move the axle move
Interpolation instruction is judged;And
3rd axle mobile control division, should when it is the interpolation instruction that the 5th judging part, which is judged as the axle move,
3rd axle mobile control division performs after the enforcement division completes the work of the fixed mechanism according to the axle move
Axle moves.
4. numerical control device as claimed in claim 2, it is characterised in that
The numerical control device includes:
5th judging part, when the 3rd judging part is judged as that storage part in the work is stored with the work of the fixed mechanism
When not yet completing this information, whether the 5th judging part specifies translational speed to move the axle move
Interpolation instruction is judged;And
3rd axle mobile control division, should when it is the interpolation instruction that the 5th judging part, which is judged as the axle move,
3rd axle mobile control division performs after the enforcement division completes the work of the fixed mechanism according to the axle move
Axle moves.
5. numerical control device as claimed in claim 1, it is characterised in that
The numerical control device includes:
5th judging part, when the 3rd judging part is judged as that storage part in the work is stored with the work of the fixed mechanism
When not yet completing this information, whether the 5th judging part specifies translational speed to move the axle move
Interpolation instruction is judged;
Main shaft condition adjudgement portion, when it is the interpolation instruction that the 5th judging part, which is judged as the axle move, the master
Spindle Status judging part is judged whether the main shaft for being provided with the instrument for cutting the workpiece rotates;
3rd axle mobile control division, when the main shaft condition adjudgement portion is judged as the main shaft just when rotated, the 3rd axle
Mobile control division performs axle movement after the enforcement division completes the work of the fixed mechanism according to the axle move;
6th judging part, when the main shaft condition adjudgement portion is judged as that the main shaft is in halted state, the 6th judging part
Whether the axis information stored to the command shaft of interpolation instruction with the axle storage part unanimously judges;And
4th axle mobile control division, should when the 6th judging part is judged as that the command shaft is inconsistent with the axis information
The work that 4th axle mobile control division is not to wait for the enforcement division completion fixed mechanism is just held according to the axle move
Row axle moves.
6. numerical control device as claimed in claim 2, it is characterised in that
The numerical control device includes:
5th judging part, when the 3rd judging part is judged as that storage part in the work is stored with the work of the fixed mechanism
When not yet completing this information, whether the 5th judging part specifies translational speed to move the axle move
Interpolation instruction is judged;
Main shaft condition adjudgement portion, when it is the interpolation instruction that the 5th judging part, which is judged as the axle move, the master
Spindle Status judging part is judged whether the main shaft for being provided with the instrument for cutting the workpiece rotates;
3rd axle mobile control division, when the main shaft condition adjudgement portion is judged as the main shaft just when rotated, the 3rd axle
Mobile control division performs axle movement after the enforcement division completes the work of the fixed mechanism according to the axle move;
6th judging part, when the main shaft condition adjudgement portion is judged as that the main shaft is in halted state, the 6th judging part
Whether the axis information stored to the command shaft of interpolation instruction with the axle storage part unanimously judges;And
4th axle mobile control division, should when the 6th judging part is judged as that the command shaft is inconsistent with the axis information
The work that 4th axle mobile control division is not to wait for the enforcement division completion fixed mechanism is just held according to the axle move
Row axle moves.
7. the numerical control device as any one of claim 1 to 6, it is characterised in that
The numerical control device includes:
7th judging part, the 7th judging part is to described solid with the presence or absence of making in the same program block in the numerical control program
Determine the instruction of mechanism work and the axle move for the axle fixed for the fixed mechanism is judged;And
Output section, when the 7th judging part is judged as the instruction for making the fixed mechanism work in same program block being present
And for the fixed mechanism fix axle the axle move when, the output section output abnormality information.
8. a kind of control method, is controlled to numerical control device, the numerical control device controls lathe according to numerical control program, the machine
Bed includes rotary table and fixed mechanism, the rotary table holding workpiece and can rotate, the fixed mechanism forbid or
Permit the rotation of the rotary table, the numerical control program is made up of multiple program blocks comprising control instruction, the control
Instruction with make fixed mechanism work forbid perhaps can the rotary table rotation instruction, the control method
It is described to explain that process explains a program block entirety of the numerical control program, the execution including explaining process and performing process
Process performs the control instruction explained by the explanation process, it is characterised in that
The control method includes:
First judgment step, first judgment step make institute to whether there is in a program block of the explanation process explanation
The control instruction for stating fixed mechanism work is judged;
Second judgment step, second judgment step in a program block of the explanation process explanation to whether there is instruction
The axle move of axle movement is judged;
Process is stored in work, makes the fixed machine when first judgment step is judged as existing in one program block
Process, which is stored, during the control instruction of structure work, in the work stores the work of the fixed mechanism not yet in storage part at work
Complete this information;
Axle stores process, and axle storage process is stored the information for the axle for driving the rotary table i.e. axis information;
3rd judgment step, when second judgment step is judged as the axle move in one program block being present
When, whether the 3rd judgment step stores the fixed machine to storage part in being worked in the work described in storage process
The work of structure is not yet completed this information and judged;
4th judgment step, when the 3rd judgment step is judged as in the work that storage part is stored with the fixed mechanism
Work is when not yet completing this information, the 4th judgment step to by the axle move and the axle of movement be command shaft with
Whether the axis information of the axle storage process storage is unanimously judged;
First axle movement control process, when the 4th judgment step is judged as that the command shaft and the axis information are inconsistent
When, first axle movement control process is not to wait for the work that the execution process completes the fixed mechanism and just moved according to the axle
Dynamic instruction performs axle movement;And
Second axle movement control process, when the 4th judgment step is judged as that the command shaft is consistent with the axis information,
Second axle movement control process refers to after the execution process completes the work of the fixed mechanism according to axle movement
Order performs axle movement.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014111825A JP2015225617A (en) | 2014-05-30 | 2014-05-30 | Numerical value control device and control method |
JP2014-111825 | 2014-05-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105320074A CN105320074A (en) | 2016-02-10 |
CN105320074B true 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) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6122048B2 (en) * | 2015-02-20 | 2017-04-26 | ファナック株式会社 | A numerical control device that determines the control system of the meeting partner |
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 |
JP7036071B2 (en) * | 2019-03-18 | 2022-03-15 | ブラザー工業株式会社 | Numerical control device, numerical control program, and storage device that stores the numerical control program |
JP7010873B2 (en) | 2019-04-04 | 2022-01-26 | ファナック株式会社 | Machine tools, machining systems, and additional table units |
JP7260420B2 (en) * | 2019-06-28 | 2023-04-18 | ファナック株式会社 | Numerical controller |
JP7100688B2 (en) * | 2020-12-03 | 2022-07-13 | ヤンマーパワーテクノロジー株式会社 | Autonomous driving system for agricultural work vehicles |
CN116940904A (en) | 2021-04-06 | 2023-10-24 | 发那科株式会社 | Numerical controller and machining system |
JP7250202B1 (en) | 2022-08-25 | 2023-03-31 | Dmg森精機株式会社 | Information processing device and information processing program |
Citations (10)
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)
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 |
-
2014
- 2014-05-30 JP JP2014111825A patent/JP2015225617A/en active Pending
-
2015
- 2015-05-18 CN CN201510251139.8A patent/CN105320074B/en active Active
Patent Citations (10)
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 |
Also Published As
Publication number | Publication date |
---|---|
JP2015225617A (en) | 2015-12-14 |
CN105320074A (en) | 2016-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105320074B (en) | Numerical control device and control method | |
US7847506B2 (en) | Machine tool controller | |
KR100569524B1 (en) | Multi-function machine tool and machining method in multi-function machine tool | |
US7899574B2 (en) | Machine-tool controller | |
US9962800B2 (en) | Tool changer of machine tool | |
US20110008119A1 (en) | Method and machine tool for machining a workpiece | |
US11977363B2 (en) | Machine tool and control device | |
JPWO2002092266A1 (en) | Numerically controlled lathe and machining method of workpiece by this numerically controlled lathe | |
JP4580142B2 (en) | Numerical control lathe, control device used in numerical control lathe, control method of numerical control lathe, and machining program description method of control device in numerical control lathe | |
JP6917135B2 (en) | Machine Tools | |
JPH0899242A (en) | Machine tool for combined working | |
CN101573200A (en) | Lathe | |
JP4947534B2 (en) | Machine tool and method of operating machine tool | |
US20080086221A1 (en) | Machine-tool controller | |
US20110118867A1 (en) | Device and Method for Turning in Virtual Planes | |
WO1997031756A1 (en) | Machine tool for combined working | |
US8206276B2 (en) | Machine tool | |
KR100356406B1 (en) | Processing equipment | |
JP4286940B2 (en) | NC machining program creation method and apparatus for machine tools | |
US20160096230A1 (en) | Generative Gear Machining Method and Apparatus | |
JP7114209B1 (en) | Information processing device and information processing program | |
JP2000015504A (en) | Turning center and its tool rest | |
JP7475533B1 (en) | Information processing device, NC program generation method, and control program | |
JP3224596B2 (en) | Numerical control unit | |
JPH06155231A (en) | Numerically controlled machine tool |
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 |