CN102902231A - Device for controlling restart of automatic operation of machine tools - Google Patents
Device for controlling restart of automatic operation of machine tools Download PDFInfo
- Publication number
- CN102902231A CN102902231A CN 201110220507 CN201110220507A CN102902231A CN 102902231 A CN102902231 A CN 102902231A CN 201110220507 CN201110220507 CN 201110220507 CN 201110220507 A CN201110220507 A CN 201110220507A CN 102902231 A CN102902231 A CN 102902231A
- Authority
- CN
- China
- Prior art keywords
- cohort
- automatic operation
- lathe
- machining state
- restarts
- 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.)
- Pending
Links
Images
Landscapes
- Numerical Control (AREA)
Abstract
The invention discloses a device for controlling the restart of the automatic operation of machine tools, which is used for controlling the machine tools to restart the automatic operation to process workpieces from a breakpoint (P) after the automatic operation of the machine tools which are automatically operated by network computer (NC) program commands which are output by NC devices (1, 1a) is interrupted. The NC program commands are classified into multiple main groups according to the action content and the action is used for changing the processing condition of the machine tools. When the automatic operation of the machine tools is restarted after being interrupted midway, the execution sequence of the NC program commands is determined, so that the main groups are arranged according to the specified execution sequence to automatically generate a processing condition recovering command (8). After the automatic operation of the machine tools under NC program commands is interrupted, the automatic operation of the machine tools can be restarted from the breakpoint, and operators do not need to manually generate or correct the command to recover the processing condition of the machine tools to the processing condition when the automatic operation is interrupted. In addition, the device has the safety to avoid physical interference between the workpieces and tools during moving.
Description
Technical field
The present invention relates to a kind of device that lathe restarts automatic operation of controlling, be used for passing through NC (Numerical Control, when numerical control) automatic operation of the lathe (machine tool) of the NC program command automatic operation of device output was interrupted, the control lathe restarted its automatic operation with processing work from breakpoint.
Background technology
Day, patented claim No.2000-35815 of the present disclosure disclosed a kind of numerically-controlled machine.The lathe of the disclosure is carried out processing action sequence, the instrument replacement process that for example utilizes single subcommand (assist command) to carry out.After the execution of this subcommand was interrupted because of the fault in this processing action sequence, this numerically-controlled machine can restart the execution of this subcommand immediately.
Especially, when interrupting in the execution of the subcommand of describing with job sequence is in this subcommand is just being carried out, the operator determines whether to need to correct this subcommand, thus the execution of restarting this subcommand.
If need to correct this subcommand, then the operator corrects this subcommand.Yet correcting this subcommand needs the operator to have the technical ability of certain level, is that burden is arranged very much for the operator therefore.
Summary of the invention
The purpose of this invention is to provide a kind of device that lathe restarts automatic operation of controlling, be used for after the automatic operation by the lathe of the NC program command automatic operation of NC device output is interrupted, the control lathe restarts its automatic operation with processing work from breakpoint.This lathe can restart automatic operation from breakpoint, and the person that need not the machine operation manually produces or the order of proofreading and correct the machining state when being used for lathe returned to it and interrupt, and also has the security of having avoided having Physical Interference during workpiece and instrument move between them simultaneously.
In order to reach above purpose, according to the invention provides a kind of device that lathe restarts automatic operation of controlling, be used for after the automatic operation by the lathe of the NC program command automatic operation of NC device output is interrupted midway, the control lathe restarts its automatic operation from breakpoint, and described device comprises:
Machining state recovers command generating device, is used for the output machining state and recovers order, and wherein said lathe recovers order based on this machining state and restarts automatic operation to workpiece from described breakpoint; And
Described machining state recovers command generating device and comprises:
The machining state storage unit is for the machining state of storing described lathe;
Main cohort storage unit is used for storing a plurality of main cohorts, and wherein the content according to action is categorized into described a plurality of main cohort with the NC program command, and described action is used for changing according to described NC program command the machining state of described lathe;
Output signal storage unit during interruption, the output signal when being used for storing the machining state interruption of being exported by described NC device; And
Machining state recovers the order generator, when the automatic operation of described lathe restarts after this automatic operation is interrupted midway, be used for arranging from the described main cohort of described main cohort storage unit output according to the execution sequence of appointment, the execution sequence of described appointment is based on the data of the machining state of exporting from described machining state storage unit, and the output signal of the machining state of output signal storage unit output based on from described interrupt the time when interrupting, the described machining state of generation recovers order to be used for automatically, and the machining state recovery order that is used for producing outputs to described NC device.
According to preferred embodiment, when described lathe automatic operation during with processing work, described main cohort comprise following cohort at least one of them:
The first cohort, it comprises at least one the subgroup group who has be used to the NC program command of cancelling parts, becomes the obstacle of described movable axle in the time of can moving at the movable axle of described lathe if described parts are not cancelled;
The second cohort, it comprises at least one the subgroup group who has be used to the NC program command of clamping and decontrol described movable axle;
The 3rd cohort, it comprises having the subgroup group who is not included in the NC program command in other main cohorts who recovers in the required order of machining state;
The 4th cohort, it comprises at least one the subgroup group who has for the NC program command that rotates main spindle, wherein instrument or described workpiece are installed on the described main spindle; And
The 5th cohort, it comprises at least one the subgroup group who has for the NC program command that moves before restarting at next-door neighbour's automatic operation.
According to preferred embodiment, when the automatic operation of described lathe restarts after this automatic operation is interrupted midway, described machining state recovers the execution sequence that the order generator is determined described NC program command, thereby the described main cohort from described main cohort storage unit output arranged sequentially according to the first cohort, the second cohort, the 3rd cohort, the 4th cohort and the 5th cohort recovers order with the described machining state of automatic generation.
When described lathe automatic operation in idle pulley, described lathe is at this idle pulley processing work not, described main cohort comprises:
The first cohort, it comprises at least one the subgroup group who has be used to the NC program command of cancelling parts, becomes the obstacle of this movable axle in the time of can moving at the movable axle of described lathe if described parts are not cancelled; And
The second cohort, it comprises at least one the subgroup group who has be used to the NC program command of clamping and decontrol described movable axle.
In this case, when the automatic operation of described lathe restarts after this automatic operation is interrupted midway, described machining state recovers the execution sequence that the order generator is determined described NC program command, thereby the described main cohort from described main cohort storage unit output arranged sequentially according to the first cohort and the second cohort recovers order with the described machining state of automatic generation.
Described machining state recovers the outside that command generating device can be placed on described NC device independently.
Utilization above-mentioned control lathe according to the present invention restarts the device of its automatic operation, after the automatic operation according to the lathe of NC program command is interrupted midway, this lathe can restart its automatic operation with processing work from breakpoint, need not the order that the operator manually produced or corrected the machining state when lathe returned to it and interrupt, also have the security of having avoided when workpiece and instrument move, having between them Physical Interference simultaneously.
Description of drawings
Fig. 1 is the block diagram that restarts the device of its automatic operation according to the control lathe of the embodiment of the invention;
Fig. 2 is the detailed diagram that restarts the device of its automatic operation according to the control lathe of the embodiment of the invention;
Fig. 3 is the detailed diagram that restarts the device of its automatic operation according to the control lathe of the modification of embodiment;
Fig. 4 is the process flow diagram that control lathe according to the present invention restarts the method for its automatic operation.
Embodiment
Restart in the method for its automatic operation at the control lathe, by this lathe of NC program command automatic operation of NC device output.According to this method, when the automatic operation of this lathe was interrupted midway, this lathe can restart from the breakpoint of NC program its automatic operation.
" automatic operation " of lathe refers to the processing action sequence of lathe, and this lathe operates with specified sequence under the control of the NC program command of NC device output.
The automatic operation of lathe can be interrupted with processing work in the different situations.In one case, carry out always in the lathe of processing work its process of Halfway Stopping when a day finishes, and in next day and carry out remaining process at this workpiece.In another case, lathe is forced to stop its automatic operation because of the fault in its processing action sequence.
According to said method, according to the content of moving the NC program command is categorized into a plurality of main cohorts, described action changes the machining state of lathe by the NC program command.When the automatic operation of lathe restarts after this automatic operation is interrupted midway, determine the execution sequence (sequence) of NC program command, thereby arrange main cohort according to the execution sequence of appointment, recover order with automatic generation machining state.
The device that is used for executive basis said method of the present invention can be after automatic operation interrupts halfway, and based on the output signal of machining state recovery command generating device, the breakpoint of control lathe from the NC program restarts its automatic operation.
This machining state recovers command generating device and comprises the machining state storage unit, is used for the machining state of storage lathe; Main cohort storage unit is used for storing a plurality of main cohorts, according to the content of moving the NC program command is categorized into described a plurality of main cohort, and described action changes the machining state of lathe according to the NC program command; Output signal storage unit during interruption, output signal when being used for storage by the interruption of the machining state of NC device output; And machining state recovers the order generator.
When the automatic operation of lathe restarts after this automatic operation is interrupted midway, this generator is arranged from the main cohort of main cohort storage unit output according to the execution sequence of appointment, wherein this execution sequence based on from the data of the machining state of machining state storage unit output and when interrupting output signal during the interruption of the machining state of output signal storage unit output.Also automatically producing machining state recovers order and is output to the NC device.
Therefore the said apparatus that consists of can be realized purpose of the present invention.That is to say, after the automatic operation according to the lathe of NC program command is interrupted midway, utilize this control lathe to restart the device of its automatic operation, this lathe can restart its automatic operation with from the breakpoint processing work, and need not the order that the operator manually produced or proofreaied and correct the machining state when making lathe return to its interruption, also have the security of having avoided in workpiece and instrument moving process, having Physical Interference simultaneously.
Lathe by device control according to the present invention can be lathe, machining center, multiaxis turning center, lathe etc.
Describe the device that restarts according to an embodiment of the invention its automatic operation for the control lathe in detail to Fig. 4 below with reference to Fig. 1.
In each accompanying drawing, utilize identical or the corresponding identical or corresponding part of Reference numeral mark.
Fig. 1 is the block diagram for the device of control lathe.Shown in Fig. 1 to 4, lathe according to the present invention is by NC device 1, and the NC program command of 1a output automatically operates.Lathe automatically operates in cooked mode and idle pulley, machine tool processing workpiece in this cooked mode, lathe processing work not in this idle pulley.
Causing after lathe interrupts its automatic operation, lathe has in response to the output signal of recovering command generating device 2 from machining state, restarts the function of its automatic operation from breakpoint P.
According to above-mentioned functions, with machining state and the NC device 1 of lathe, the internal state of 1a is set to the state of module when restarting of NC program 3, the identical program module of module of the NC program 3 during namely with interruption.Therefore can again carry out this NC program 3 by the breakpoint P from NC program 3.
Fig. 2 has shown the detailed module that consists of control device 10, and its system configuration is arranged in the NC device 1 for this machining state recovers command generating device 2.Fig. 3 has shown the detailed module that consists of control device 10a, and its system configuration is recovered the outside that command generating device 2 is arranged in NC device 1a for this machining state.
Can recover NC device 1, the internal state of 1a by the module (hereinafter referred to as " restarting module ") of Lookup protocol NC program 3 when restarting.It is identical with module (hereinafter referred to as " the interrupt module ") state of NC program 3 when interrupting that this restarts module.
The function that restarts NC program 3 comprises process (1), (2) and (3), and is as follows, is used for recovering NC device 1, the internal state of 1a.
Process (1): at first, obtain to restart the state of module.
Process (2): then, this internal state is set to restart the state of module.
Process (3): last, automatic operation restarts.
For the acquisition state identical with interrupt module restart module, NC device 1,1a carry out from NC program 3 begin come the process of scan N c program 3 to this interrupt module.According to the said process of NC restart routine function, NC device 1, the internal state of 1a are restored to NC device 1 when interrupting, the state that the internal state of 1a is identical when restarting.
For the machining state with lathe returns to the identical state of state when interrupting, need to utilize the NC program command that machining state is changed into the state of restarting.For example, main spindle (main spindle) and movable axle (axle of presenting that comprises X-axis, Y-axis, Z axis, B axle, C axle etc.) need to be moved to and restart the position.
The code that is used to indicate the action of the machining state that changes lathe comprises M code, T code and S code.The M code be the startup of indication main spindle and movable axle and stop, the code of program stopped, EOP (end of program) etc.The T code is the indication instrument relevant with the instrument of indication and the code of object.The S code is the code of the rotating speed of indication main spindle etc.
The NC program command may must depend on the state of instrument, workpiece and movable part with respect to the execution sequence of the machining state of lathe.Up to now, the operator need to select the execution sequence of NC program command and this NC program command.
Because the operator need to have about the very high know-how of NC program command and processing action to select the execution sequence of NC program command and this NC program command, therefore needs the operator to possess very high technical ability.
In control method according to the present invention, according to movement content the NC program command is categorized into a plurality of main cohorts, described action is used for changing by the NC program command machining state of lathe.When the automatic operation of lathe restarts after this automatic operation interrupts midway, thereby the execution sequence of determining the NC program command is arranged main cohort with the execution sequence of appointment.By this way, automatically produce machining state and recover order.
Consequently, when the automatic operation of lathe restarted, the machining state of lathe was restored to the identical state of machining state when interrupting, that is restarted the machining state of module.
Carry out the control device 10 of above-mentioned control method, 10a utilizes from NC device 1, and the order of the NC program 3 of 1a output automatically operates this lathe.This lathe automatically operates with cooked mode and idle pulley, this machine tool processing workpiece in cooked mode, this lathe processing work not in idle pulley.
After the automatic operation of lathe is interrupted, recover order based on the machining state that recovers command generating device 2 outputs from machining state, the breakpoint P of this lathe from NC program 3 restarts its automatic operation and comes processing work.
This machining state recovers command generating device 2 and comprises machining state storage unit 4, is used for the machining state of storage lathe; And main cohort storage unit 5.The a plurality of main cohorts of these main cohort storage unit 5 storages are categorized into the NC program command in these a plurality of main cohorts according to the content of moving, and described action is used for changing according to the order of NC program 3 machining state of lathe.
This generation device 2 also comprises output signal storage unit 6 when machining state recovers order generator 9 and interruption, it is used for storage from NC device 1, output signal when the machining state of 1a (or more specifically, from NC device 1, the program analyzer 7 of 1a) output interrupts.
Machining state storage unit 4 storage is from NC device 1, the machining state of the lathe of 1a output, and the data of this machining state are outputed to machining state recover order generator 9.
When the automatic operation of lathe restarts after this automatic operation is interrupted midway, this generator 9 is arranged from the main cohort of main cohort storage unit 5 outputs according to the execution sequence of appointment, wherein this execution sequence is based on the data of the machining state of exporting from machining state storage unit 4, and the output signal when interrupting based on the machining state of output signal storage unit 6 outputs when interrupting is recovered order 8 thereby automatically produce machining state.The machining state that produces recovers order 8 and is output to NC device 1,1a, or have more terrain ground, be output to NC device 1, the program analyzer 7 of 1a.
Above-mentioned control method and control device 10 according to this lathe, 10a, when the automatic operation of lathe is had no progeny in midway when restarting according to the NC program command at this automatic operation, the operator need not manually to produce or correct machining state and recovers order 8 machining state is returned to the identical state of machining state when interrupting.
Further, automatic operation restarts from breakpoint P, has for example to have avoided during for example workpiece falls, the security of Physical Interference problem being arranged between workpiece and instrument during workpiece and instrument move.
According to present embodiment, will indicate the NC program command of the action of the machining state that changes lathe to be categorized into five main cohorts, it comprises the first to the 5th cohort.
Each main cohort comprises one or more subgroup groups.In each main cohort, be these one or more subgroup groups' distribution numbering separately.Therefore, with the Sequential output NC program command of the numbering of distributing to the subgroup group.
The first cohort comprises at least one the subgroup group who has be used to the NC program command of cancelling (retract) parts, described parts are for example for being used for the sensor of measuring workpieces, as not cancelling, these parts will become when the movable axle of lathe moves the obstacle to this shifting axle.
This is not cancelled the parts that will become obstacle and trends towards when movable axle moves this movable axle being caused Physical Interference, and therefore trends towards hindering when movable axle moves movable axle.This first cohort comprises be used to the NC program command of cancelling these parts.By these parts being left in given position these parts are cancelled.
Owing to cancel this by the M code in the first cohort and do not cancel the parts that will become obstacle, can avoid for example when movable axle moves, damaging the trouble that instrument and workpiece and workpiece drop.
The second cohort comprises at least one the subgroup group who has be used to the NC program command of clamping and decontrol movable axle.
The second cohort arranges the M code in a sub-cohort, be used for clamping and decontrol each movable axle, and the M code also is set in another subgroup group, is used for connecting and disconnecting movable axle.
The 3rd cohort comprises having the subgroup group who is not included in the NC program command in other main cohorts (the first cohort, the second cohort, the 4th cohort and the 5th cohort), and this order belongs to the required order of machining state that recovers this lathe.
Subgroup group in the 3rd cohort comprises, for example is used for opening the M code that grooving obtains the NC program command of screw thread circulation.
The 4th cohort comprises at least one the subgroup group who has for the NC program command that rotates main spindle, and wherein instrument or workpiece are installed on this main spindle.Subgroup group in the 4th cohort comprises the M code relevant with the rotation of this main spindle.This M code packages is contained in for rotating and reverse the NC program command of this main spindle.
The 5th cohort comprises at least one subgroup group, and this subgroup group has for behind the internal state of determining lathe, the NC program command of making immediately action before automatic operation restarts.
The M code relevant with providing of refrigerant is provided the subgroup group of the 5th cohort.For example, the 5th cohort comprises the subgroup group who has for opening or close the M code that provides of refrigerant, and comprises the subgroup group for the M code of opening and closing air blast.
When by machine tool processing workpiece, wherein utilize control method and control device 10 according to lathe of the present invention, 10a automatically operates this lathe, main cohort comprise following one of at least: comprise at least one subgroup group the first cohort, comprise at least one subgroup group the second cohort, comprise described subgroup group the 3rd cohort, comprise at least one subgroup group's the 4th cohort and comprise at least one subgroup group's the 5th cohort.
When the automatic operation of lathe restarts after this automatic operation is interrupted midway, machining state recovers the execution sequence (sequence) that order generator 9 is determined the NC program commands, thereby will be from arranged sequentially according to the first cohort, the second cohort, the 3rd cohort, the 4th cohort and the 5th cohort of the main cohort of main cohort storage unit 5 outputs.Therefore machining state recovers to order generator 9 automatically to produce machining state and recovers order 8.
The M code in the first to the 5th cohort, generator 9 also adopts the T code that is used for selection tool, is used for selecting for example main spindle rotating speed and the isoparametric S code in position that restarts module.Generator 9 automatically produces machining state and recovers order 8, is used for recovering to have the module that restarts of the state identical with interrupt module.
According to above-mentioned control method and control device 10,10a, lathe operable automatically be in idle condition, lathe processing work not in this idle condition.In this case, main cohort comprises: comprise the first cohort of at least one subgroup group, this subgroup group has be used to the NC program command of cancelling parts, if the obstacle of this movable axle when these parts are not cancelled the movable axle that then will become lathe and moved; And the second cohort that comprises at least one subgroup group, this subgroup group has be used to the NC program command of clamping and decontrol movable axle.
In this case, when the automatic operation of lathe restarts after this automatic operation is interrupted midway, generator 9 is determined the execution sequence of NC program command, thereby with the main cohort from main cohort storage unit 5 outputs arranged sequentially of the first cohort and the second cohort, and this generator 9 automatically produces machining state recovery order 8.
For recovering machining state, do not need to count the M code of processed workpiece, so this M code does not belong to above-mentioned five main cohorts.Therefore, when recovering machining state, ignored the M code that is used for counting processed workpiece.
The control device 10a that Fig. 3 shows comprises that machining state recovers command generating device 2, and it is separately located in the outside of NC device 1a.Therefore, can be uniquely and freely design and modification and processing recovering state command generating device 2, and can not be subject to the design standards of NC device 1a and the restriction of configuration.
Fig. 2 and 3 control device 10 that show, the NC device 1 of 10a, 1a comprises respectively NC program actuator 20.
The NC program command 12 that is produced by program analyzer 7 also passes through 24 processing of PLC (programmable logic controller (PLC)) processor.The NC program command 12 of being processed by PLC processor 24 outputs to each servicing unit by I/O unit 22, comprises ATC (automated tool replacer, Automatic Tool Changer) 25, and workpiece measuring device 26.Therefore lathe automatically operates with processing work continuously.
30 storages of M code cohort storage unit are used for arranging the classification of main cohort, and the information that is used for arranging the subgroup group who is contained in main cohort.Being stored in M code cohort arranges information in the storage unit 30 and is outputed to respectively program analyzer 7 and machining state and recover order generator 9.
After output signal when output signal storage unit 6 has been stored the machining state interruption of being exported by program analyzer 7 when interrupting, the machining state when storage unit 6 will be interrupted outputs to machining state and recovers order generator 9.Storage unit 6 comprises NC internal state storage unit 31, M code cohort output state storage unit 32, tool state storage unit 33 and main spindle state storage unit 34.
NC internal state storage unit 31 storage NC devices 1, the coomand mode among the 1a.When the execution of NC program 3 in have no progeny when restarting, by from NC program 3 begin to interrupt module NC program 3 is scanned, obtain this coomand mode.
For example, the position of NC internal state storage unit 31 storage program modules (for example position of instrument cut edge), and the cooked mode of finishing constantly (before namely the next-door neighbour carries out and restarts module) at breakpoint P place interrupt module.
When breakpoint P finishes interrupt module, namely the next-door neighbour carries out heavily before the personal delivery dynamic model piece, M code cohort output state storage unit 32 each subgroup group's of storage final output M code.
Especially, when from NC program 3 begin to interrupt module scan N c program 3 time, among the storage unit 32 storage subgroup groups clamp and the relieving process in any one, for example clamp process, whether be in the done state of interrupt module, namely be in the initial state that restarts module.
By the M code in the scanning restart routine, with reference to being stored in the setting that M code cohort arranges the subgroup group in the storage unit 30, obtain the M code of final output simultaneously.
When the interruption module was finished, namely the next-door neighbour carried out and restarts before the module, and 33 storages of tool state storage unit are installed in the instrument on the main spindle, the instrument of namely selecting, and the instrument that is positioned at the spare space at this moment.By the output of scanning T code and the instrument replace command in the NC program 3, the state of the instrument that obtains to select and at the state of the instrument of spare space to restart.
When interrupt module was finished, namely the next-door neighbour carried out and restarts before the module, the 34 storage main spindle rotating speed orders of main spindle state storage unit.Output by the S code in the scan N c program 3 obtains the order of main spindle rotating speed to restart.The main spindle rotating speed order that obtains is stored in the main spindle state storage unit 34.
The below is with the control method of the flow chart description lathe among main reference Fig. 4.
According to NC program 3, by from NC device 1, the NC program command 12 of 1a output, lathe automatically operates in cooked mode with processing work.This lathe also can automatically operate in idle pulley, wherein lathe processing work not.
In step 101,, after the breakpoint P place of job sequence 3 is interrupted, can recovers order 8 based on the machining state that recovers command generating device 2 outputs from machining state and restart this automatic operation from breakpoint P at the automatic operation of lathe.
After the automatic operation of lathe was interrupted, wherein workpiece was processed, and machining state recovers command generating device 2 startup preparation processes in step 102, restarts this automatic operation.Then in step 103, at first export the instrument replace command.
If lathe is lathe or similar lathe, then the output T code that is used for the guiding tool dormancy and replaces instrument is as the instrument replace command.On the other hand, if lathe is machining center or multiaxis turning (turnning) center, then export the T code that is used for the instrument that wakes up and the instrument replace command M6 that is used for ATC25 as the instrument replace command.
After this, in step 104, M code cohort arranges storage unit 30 and exports the M code in the first cohort in five main cohorts to machining state recovery order generator 9.
Especially, M code cohort arranges the M code that is used for cancelling or storing all parts of the subgroup faciation pass that comprises in storage unit 30 outputs and the first cohort, and described parts are for example for being used for the sensor of measuring workpieces.
Therefore, in step 104, if cancel in advance the parts that all do not cancel the obstacle that will become movable axle, avoid when instrument and workpiece movable, they being carried out Physical Interference.
Then, in step 105, M code cohort arranges storage unit 30 the M code in the second cohort is outputed to machining state recovery order generator 9.
Especially, M code cohort arrange storage unit 30 its only according among the subgroup group who comprises in the second cohort corresponding to movable axle being moved to the subgroup group who restarts the position, output is used for decontroling the M code of movable axle.If be provided with for the M code that connects movable axle by parameter, after finishing for the order of decontroling movable axle, M code cohort arranges the M code that storage unit 30 outputs are used for connecting movable axle so.
So decontroled because move to the movable axle that restarts the position, this movable axle is movable to and restarts the position.
Then, be used for each movable axle is moved to each order of restarting the position in step 106 output.In step 106, be used for movable axle is moved to the order of restarting the position by any one generation in the first to the 3rd process described below.
(the first process)
Restarting the starting point of module, the position of the movable axle of the end point of the module when namely NC program 3 is interrupted is designated as the position of restarting that movable axle will move to.Can be by the order of selecting movable axle to move by the parameter of the manual input of operator.Can be safely mobile movable axle progressively, thereby make the operator can confirm the movement of movable axle.
If the operator observes visually, move to from current location at movable axle and to restart the process of position the danger that occurs with object generation Physical Interference, then can avoid this danger by process B1 described below or process B2.
(process B1): move in the process that restarts the position at movable axle, under vision is observed, movable axle is manually moved to the position of avoiding Physical Interference.
(process B2): move in the process that restarts the position at movable axle, before movable axle moves, set up the intermediate point of the Physical Interference of avoiding movable axle.Then, movable axle moves to through intermediate point from current location and restarts the position.
(the second process)
By scanning and storing mobile path after replacing with the instrument that will use, and by adopting the program command of the program module when from the current location to the automatic operation, restarting beginning, automatically produce movable axle is moved to the order of restarting the position.
(the 3rd process)
Acquire and restart till the module, and till the breakpoint P workpiece data of the three-dimensional model of processed workpiece (3D model), then the workpiece data of the 3D model by adopting the workpiece that obtains produces from current location to the movement directive that restarts the position.
In step 106, according in above-mentioned the first to the 3rd process any one, the order movable axle moves to and restarts the position.
Then, in step 107, M code cohort arranges storage unit 30 another M code in the second cohort is outputed to machining state recovery order generator 9.Especially, M code cohort arranges the M code that is used for clamping movable axle among the subgroup group among the subgroup group who comprises in storage unit 30 output the second cohort, and the final output of restarting in this subgroup group in the module represents to clamp state.
In step 105 and step 107, the relieving of each movable axle and clamp and can in the second cohort, restart.
Thus, nipped movable axle moves at movable axle and is jammed after restarting the position when interrupting, and the movable axle of having been decontroled when interrupting moves at movable axle and keeps decontroling after restarting the position.
Then, in step 108, M code cohort arranges storage unit 30 the M code in the 3rd cohort is outputed to machining state recovery order generator 9.Especially, M code cohort arranges the identical M code of final output in the interrupt module among the subgroup group who comprises in storage unit 30 output and the 3rd cohort.
Then, in step 109, M code cohort arranges storage unit 30 the M code in the 4th cohort is outputed to machining state recovery order generator 9, and main spindle state storage unit 34 outputs to machining state recovery order generator 9 with the S code in the 4th cohort.Especially, M code cohort arrange storage unit 30 will with the subgroup group that comprises in the 4th cohort in the identical M code of final output in the module that restarts output to machining state and recover order generator 9, and main spindle state storage unit 34 outputs to machining state with the S code that is used for order main spindle rotating speed among the subgroup group who comprises in the 4th cohort and recovers order generator 9.
If the M coded representation main spindle of output rotates order, then M code cohort arranges storage unit 30 outputs by the M code for the detent of closing mobile jib of parameter setting, and is used for the M code that cancellation C axle connects.Therefore in step 109, allow to restart the rotation of main spindle.
Then, in step 110, M code cohort arranges storage unit 30 the M code in the 5th cohort is outputed to machining state recovery order generator 9.Especially, M code cohort arranges the identical M code of final output in the interrupt module among the subgroup group who comprises in storage unit 30 output and the 5th cohort.
When execution in step 103 arrived the process of step 110, machining state recovered the 9 automatic generation machining states recovery orders 8 of order generator, and the machining state that will produce recovers to order 8 to output to program analyzer 7.
Recover the generation of order 8 when finished machining state in step 111, and when having finished other preliminary activities, in step 112, finish be used to the preparation process that restarts automatic operation.
After being used for restarting the preparation process of automatic operation, NC device 1, the remaining NC program output NC program command 12 that 1a begins based on the breakpoint P from NC program 3.Therefore the NC program command 12 of output is so that lathe can restart its automatic operation with processing work from breakpoint P.
As indicated above, machining state recovers order generator 9 and automatically produces machining state recovery order 8.Therefore when the automatic operation of lathe restarted after this automatic operation is interrupted midway, the operator need not manually to produce or correct machining state and recovers order 8.
The operator only need press the button, or input is used for restarting the order of automatic operation, and need not to carry out complicated processing.Lathe restarts its automatic operation, and continues continuously automated machining of workpieces.Therefore, the operator need not to possess very high technical ability.
Because it is automatically to produce that machining state recovers order 8, prevented that the operator from correcting the execution sequence of NC program command mistakenly.When the automatic operation of lathe restarts, prevent that the parts of lathe from undesirably being moved, and prevent with miscellaneous part and element Physical Interference being arranged, therefore can be not destroyed.
Control lathe according to the present invention with the method and apparatus that restarts its automatic operation applicable to lathe, machining center, multiaxis turning center and lathe.
Although describe in detail and shown some preferred embodiment of the present invention and modification, should understand and the invention is not restricted to described embodiment and modification, can it is made variations and modifications and can not exceed the scope of claims.
Claims (6)
1. control the device that lathe restarts automatic operation for one kind, be used for by NC device (1, after 1a) automatic operation of the described lathe of the NC program command automatic operation of output is interrupted midway, the control lathe restarts its automatic operation with processing work from breakpoint (P), it is characterized in that described device comprises:
Machining state recovers command generating device (2), is used for the output machining state and recovers order (8), and wherein said lathe recovers order (8) based on this machining state and restarts automatic operation to workpiece from described breakpoint (p); And
Described machining state recovers command generating device (2) and comprising:
Machining state storage unit (4) is for the machining state of storing described lathe;
Main cohort storage unit (5) is used for storing a plurality of main cohorts, and wherein the content according to action is categorized into described a plurality of main cohort with the NC program command, and described action is used for changing according to described NC program command the machining state of described lathe;
Output signal storage unit (6) during interruption, be used for storage by described NC device (1, the output signal when 1a) machining state of output interrupts; And
Machining state recovers order generator (9), when the automatic operation of described lathe restarts after this automatic operation is interrupted midway, be used for arranging from the described main cohort of described main cohort storage unit (5) output according to the execution sequence of appointment, the execution sequence of described appointment is based on the data of the machining state of exporting from described machining state storage unit (4), and the output signal of the machining state of output signal storage unit (6) output based on from described interrupt the time when interrupting, recover order (8) to be used for automatically producing described machining state, and the machining state that is used for producing recover order (8) output to described NC device (1,1a).
2. control lathe according to claim 1 restarts the device of automatic operation, it is characterized in that,
When described lathe automatic operation during with processing work, described main cohort comprise following cohort at least one of them:
The first cohort, it comprises at least one the subgroup group who has be used to the NC program command of cancelling parts, becomes the obstacle of described movable axle in the time of can moving at the movable axle of described lathe if described parts are not cancelled;
The second cohort, it comprises at least one the subgroup group who has be used to the NC program command of clamping and decontrol described movable axle;
The 3rd cohort, it comprises having the subgroup group who is not included in the NC program command in other main cohorts who recovers in the required order of machining state;
The 4th cohort, it comprises at least one the subgroup group who has for the NC program command that rotates main spindle, wherein instrument or described workpiece are installed on the described main spindle; And
The 5th cohort, it comprises at least one the subgroup group who has for the NC program command that moves before restarting at next-door neighbour's automatic operation.
3. control lathe according to claim 2 restarts the device of automatic operation, it is characterized in that,
When the automatic operation of described lathe restarts after this automatic operation is interrupted midway, described machining state recovers the execution sequence that order generator (9) is determined described NC program command, thereby the described main cohort from described main cohort storage unit (5) output arranged sequentially according to the first cohort, the second cohort, the 3rd cohort, the 4th cohort and the 5th cohort recovers order (8) with the described machining state of automatic generation.
4. control lathe according to claim 1 restarts the device of automatic operation, it is characterized in that,
When described lathe automatic operation in idle pulley, described lathe is at this idle pulley processing work not, described main cohort comprises:
The first cohort, it comprises at least one the subgroup group who has be used to the NC program command of cancelling parts, becomes the obstacle of this movable axle in the time of can moving at the movable axle of described lathe if described parts are not cancelled; And
The second cohort, it comprises at least one the subgroup group who has be used to the NC program command of clamping and decontrol described movable axle.
5. control lathe according to claim 4 restarts the device of automatic operation, it is characterized in that,
When the automatic operation of described lathe restarts after this automatic operation is interrupted midway, described machining state recovers the execution sequence that order generator (9) is determined described NC program command, thereby the described main cohort from described main cohort storage unit (5) output arranged sequentially according to the first cohort and the second cohort recovers order (8) with the described machining state of automatic generation.
6. the described control lathe of any one in 5 restarts the device (10a) of automatic operation according to claim 1, it is characterized in that described machining state recovers the outside that command generating device (2) is placed on described NC device (1a) independently.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110220507 CN102902231A (en) | 2011-07-29 | 2011-07-29 | Device for controlling restart of automatic operation of machine tools |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110220507 CN102902231A (en) | 2011-07-29 | 2011-07-29 | Device for controlling restart of automatic operation of machine tools |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102902231A true CN102902231A (en) | 2013-01-30 |
Family
ID=47574533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110220507 Pending CN102902231A (en) | 2011-07-29 | 2011-07-29 | Device for controlling restart of automatic operation of machine tools |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102902231A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108027606A (en) * | 2016-01-28 | 2018-05-11 | 深圳配天智能技术研究院有限公司 | Processing resets implementation method, compiler, robot, digital control system and lathe |
CN108334037A (en) * | 2018-04-08 | 2018-07-27 | 深圳市德堡数控技术有限公司 | A kind of digital control system and its breakpoint continue blanking method |
CN111045394A (en) * | 2018-10-11 | 2020-04-21 | 发那科株式会社 | Numerical controller |
CN111090260A (en) * | 2018-10-23 | 2020-05-01 | 广州锐智恒软件有限公司 | Method for realizing continuous machining of CNC equipment in case of power failure through NC code analysis |
JP2021086194A (en) * | 2019-11-25 | 2021-06-03 | ファナック株式会社 | Program resumption support device |
-
2011
- 2011-07-29 CN CN 201110220507 patent/CN102902231A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108027606A (en) * | 2016-01-28 | 2018-05-11 | 深圳配天智能技术研究院有限公司 | Processing resets implementation method, compiler, robot, digital control system and lathe |
CN108334037A (en) * | 2018-04-08 | 2018-07-27 | 深圳市德堡数控技术有限公司 | A kind of digital control system and its breakpoint continue blanking method |
CN108334037B (en) * | 2018-04-08 | 2020-11-10 | 深圳市德堡数控技术有限公司 | Numerical control system and breakpoint continuous cutting method thereof |
CN111045394A (en) * | 2018-10-11 | 2020-04-21 | 发那科株式会社 | Numerical controller |
CN111045394B (en) * | 2018-10-11 | 2024-02-06 | 发那科株式会社 | Numerical controller |
CN111090260A (en) * | 2018-10-23 | 2020-05-01 | 广州锐智恒软件有限公司 | Method for realizing continuous machining of CNC equipment in case of power failure through NC code analysis |
JP2021086194A (en) * | 2019-11-25 | 2021-06-03 | ファナック株式会社 | Program resumption support device |
JP7452988B2 (en) | 2019-11-25 | 2024-03-19 | ファナック株式会社 | Program restart support device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202306251U (en) | Apparatus for controlling machine tool to restart automatic operation | |
EP0606649B1 (en) | Numerically controlled machine tool and method to re-execute a machining program after it has been stopped | |
US7847506B2 (en) | Machine tool controller | |
US9778646B2 (en) | Robot controller for controlling robot which supplies and discharges workpiece | |
US7899574B2 (en) | Machine-tool controller | |
EP2541351B1 (en) | Block execution sequence display system | |
US20130304248A1 (en) | Method and Apparatus for Automated Configuration of a Monitoring Function of a Machine Tool | |
EP2028573B1 (en) | Numerical controller with program resuming function | |
CN105320064B (en) | Numerical controller having function of assisting analysis of equipment abnormality history | |
US8200362B2 (en) | Numerically controlling apparatus with stop point setting and removing means | |
US9400497B2 (en) | Numerical control device | |
US8688257B2 (en) | Programming apparatus | |
CN102902231A (en) | Device for controlling restart of automatic operation of machine tools | |
CN108027604A (en) | For optimally controlling the method and control device of lathe | |
JP7524230B2 (en) | CONTROL DEVICE FOR USE IN A NUMERICALLY CONTROLLED MACHINE TOOL, AND MACHINE TOOL COMPRISING THE CONTROL DEVICE - Patent application | |
CN104768706A (en) | Processing program generation method and device | |
CN112008502A (en) | Cutter grinding control method based on cutter optical detection technology | |
US20080086221A1 (en) | Machine-tool controller | |
CN102081373B (en) | Numerical control system for roll grinder and control method thereof | |
JP4947534B2 (en) | Machine tool and method of operating machine tool | |
CN106886195A (en) | machining control method and its device and application | |
KR102507986B1 (en) | Tool path changing device of cycle processing of machine tool | |
CN113703393B (en) | Tool changing point setting method and device for numerical control machine tool | |
CN103999004A (en) | Method for switching between work piece processing operating modes of a processing machine which are different in respect of operator intervention requirements | |
JPH04104304A (en) | Work method for numerically controlled machine tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130130 |