CN108829027A - Execute program creating method and its device, medium, terminal - Google Patents
Execute program creating method and its device, medium, terminal Download PDFInfo
- Publication number
- CN108829027A CN108829027A CN201810618892.XA CN201810618892A CN108829027A CN 108829027 A CN108829027 A CN 108829027A CN 201810618892 A CN201810618892 A CN 201810618892A CN 108829027 A CN108829027 A CN 108829027A
- Authority
- CN
- China
- Prior art keywords
- parameter
- workpiece
- user
- execution program
- modification
- 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
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
Abstract
The embodiment of the invention discloses a kind of execution program creating method and its device, medium, terminal, the execution program creating method includes:Call parameters file, obtains the workpiece parameter in the Parameter File, and the workpiece parameter is used to indicate work pieces process;Receive modification of the user to the workpiece parameter;Main program is generated according to modified workpiece parameter, executing program includes the main program, and the execution program is used for the work pieces process.The efficiency of work pieces process can be improved in technical solution in the embodiment of the present invention.
Description
Technical field
The present invention relates to numerical control processing fields, more particularly, to a kind of execution program creating method and its device, medium, end
End.
Background technique
With the development of numerically-controlled machine tool, Computerized Numerical Control processing technology is more more and more universal, and numerical control processing is in modernization processing
A very important link.
Program usually is executed generally according to actual processing using program progress work pieces process is executed in current digital control system
The size and processing request of workpiece carry out manual compiling.When workpiece size type is more, programming efficiency is lower, therefore from writing
It is longer to the period for carrying out work pieces process using execution program to execute program, efficiency is lower.
The efficiency of existing work pieces process is to be improved.
Summary of the invention
The technical issues of embodiment of the present invention solves is the efficiency for improving work pieces process.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of execution program creating method, including:Call parameters
File, obtains the workpiece parameter in the Parameter File, and the workpiece parameter is used to indicate work pieces process;User is received to described
The modification of workpiece parameter;Main program is generated according to modified workpiece parameter, executing program includes the main program, the execution
Program is used for the work pieces process.
Optionally, the modification for receiving user to the workpiece parameter, including:The parameter is shown by man-machine interface
The workpiece parameter obtained in file;Modification of the user to the workpiece parameter is received by the man-machine interface.
Optionally, the workpiece parameter includes workpiece type parameter, dimensional parameters and machined parameters, described to pass through man-machine boundary
Face shows the workpiece parameter obtained in the Parameter File, including:Obtain the workpiece type parameter in the Parameter File;According to
The workpiece type parameter shows input frame associated with the workpiece type parameter, the input in the man-machine interface
Associated dimensional parameters are shown in frame;
It is described to include to the modification of the workpiece parameter by man-machine interface reception user:User is obtained to add to described
The modification result of work parameter.
Optionally, the acquisition user is to the modification of the machined parameters as a result, including:User is received by man-machine interface
The instruction of new manufacturing procedure is generated, the new manufacturing procedure is the manufacturing procedure for not including in the Parameter File;In response to institute
The instruction that user generates new manufacturing procedure is stated, shows the new associated input frame of manufacturing procedure;It is connect by the input frame
The machined parameters of user's input are received, to obtain the modification result.
Optionally, the acquisition user is to the modification of the machined parameters as a result, including:Described in being shown by man-machine interface
The manufacturing procedure for including in Parameter File associated input frame, the input frame are filled with and obtain from the Parameter File
Machined parameters;The machined parameters of user's input are received, by the input frame to obtain the modification result.
Optionally, it before the machined parameters that user's input is received by the input frame, obtains user and processing is joined
Several modification results further include:Show that manufacturing procedure corresponding with machined parameters to be entered is associated by the man-machine interface
Illustrate picture;The signal picture to correspondence machined surface of the corresponding manufacturing procedure of the machined parameters to be entered in workpiece into
Row signal.
Optionally, before the acquisition user is to the modification result of machined parameters, the man-machine interface receives user to institute
The modification for stating workpiece parameter further includes:The machined parameters of confirmation user's input meet preset condition.
Optionally, the execution program further includes subprogram, and the subprogram is used for when executing the main program for institute
Main program calling is stated, to carry out work pieces process.
Optionally, receive user further includes later to the modification of the workpiece parameter:It is updated according to the workpiece parameter of modification
The Parameter File.
Optionally, before updating the Parameter File, further include:Confirmation logs in the permission of the account of numerical control processing unit,
The numerical control processing unit is suitable for running the execution program.
Optionally, the execution program is for processing flange, brake disc and brake drum.
The embodiment of the invention also provides a kind of execution program creating devices, including:Parameter File call unit is suitable for adjusting
With Parameter File, the workpiece parameter in the Parameter File is obtained, the workpiece parameter is used to indicate work pieces process;Workpiece parameter
Receiving unit, suitable for receiving modification of the user to the workpiece parameter;Main program generation unit is suitable for according to modified workpiece
Parameter generates main program, and executing program includes the main program, and the execution program is used for the work pieces process.
Optionally, the workpiece parameter receiving unit, including:Parameter display subelement is suitable for showing by man-machine interface
The workpiece parameter obtained in the Parameter File;Workpiece parameter modifies subelement, is suitable for receiving user by the man-machine interface
Modification to the workpiece parameter.
Optionally, the workpiece parameter includes workpiece type parameter, dimensional parameters and machined parameters, parameter display
Unit, including:Workpiece type parameter acquisition module, suitable for obtaining the workpiece type parameter in the Parameter File;Input frame exhibition
Show module, is suitable for being shown in the man-machine interface according to the workpiece type parameter associated with the workpiece type parameter
Input frame shows associated dimensional parameters in the input frame;
The workpiece parameter modifies subelement, including:Workpiece parameter modifies result and obtains module, is suitable for obtaining user to institute
State the modification result of machined parameters.
Optionally, the workpiece parameter modification result obtains module, including:New process indicates receiving submodule, is suitable for logical
It crosses man-machine interface and receives the instruction that user generates new manufacturing procedure, do not include in the new manufacturing procedure Parameter File
Manufacturing procedure;First input frame shows submodule, is adapted for the instruction that the user generates new manufacturing procedure, described in displaying
The associated input frame of new manufacturing procedure;First reception and acquisition submodule are suitable for receiving user's input by the input frame
Machined parameters, to obtain the modification result.
Optionally, the workpiece parameter modification result acquisition module includes:Second input frame display sub-module, suitable for passing through
Man-machine interface shows that the associated input frame of the manufacturing procedure for including in the Parameter File, the input frame are filled with from described
The machined parameters obtained in Parameter File;Second reception and acquisition submodule are suitable for receiving user's input by the input frame
Machined parameters, to obtain the modification result.
Optionally, the workpiece parameter modification result obtains module, further includes:Illustrate picture presentation submodule, is suitable for logical
It crosses the man-machine interface and shows the associated signal picture of manufacturing procedure corresponding with machined parameters to be entered;The signal picture
Correspondence machined surface of the corresponding manufacturing procedure of the machined parameters to be entered in workpiece is illustrated.
Optionally, the workpiece parameter modification subelement further includes:User inputs parameter confirmation module, is suitable for obtaining user
Before the modification result of machined parameters, the machined parameters of confirmation user's input meet preset condition.
Optionally, the execution program further includes subprogram, and the subprogram is used for when executing the main program for institute
Main program calling is stated, to carry out work pieces process.
Optionally, further include:Parameter File updating unit is suitable for after receiving to workpiece parameter modification, according to repairing
The workpiece parameter changed updates the Parameter File.
Optionally, further include:Account permission determination unit is suitable for before updating the Parameter File, and confirmation logs in number
The permission of the account of control processing unit, the numerical control processing unit are suitable for running the execution program.
Optionally, the execution program is for processing flange, brake disc and brake drum.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer instruction, the meter
The step of executing the execution program creating method when instruction operation of calculation machine.
The embodiment of the present invention also provides a kind of terminal, including memory and processor, and being stored on the memory can
The computer instruction run on the processor, the processor execute the execution program when running the computer instruction
The step of generation method.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, by call parameters file, workpiece parameter in the file that gets parms, modification is from parameter text
The workpiece parameter obtained in part generates main program according to modified workpiece parameter, and executing program includes the main program, is executed
Program is used for work pieces process.To, in the present invention is implemented, it is not necessarily to the modification and processing parameter from original interminable execution program,
The change time of program has been saved, and then has improved the production efficiency of workpiece.
Further, by picture to correspondence machined surface of the corresponding manufacturing procedure of machined parameters to be entered in workpiece into
Row signal, can intuitively prompt the meaning of machined parameters, and avoiding user because being unfamiliar with, parameter is corresponding with workpiece to close
Erroneous input caused by system promotes the efficiency and accuracy for receiving machined parameters, and then can promote the effect for generating and executing program
Rate and accuracy.
It further,, can be to avoid by confirming to the machined parameters that user inputs during machined parameters are modified
The mistake that program is executed caused by the input of machined parameters, promotes the efficiency for properly generating and executing program, and promoted and successfully processed
The probability of workpiece, and then the efficiency of lifting workpieces processing.
Further, by undated parameter file, the workpiece parameter after storage change can be subsequent to Parameter File
Modification provides modification basis, can promote the efficiency generated when executing program again.
Further, before undated parameter file, the permission of the account of numerical control processing unit is logged in by confirming, is being logged in
The account of numerical control processing unit, which has permission, just generates main program when carrying out work pieces process, so as to carry out security control, promoted
Safety.
Detailed description of the invention
Fig. 1 is a kind of flow chart for executing program creating method in the embodiment of the present invention;
Fig. 2 is a kind of flow chart for receiving parameter modification in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of man-machine interface displaying workpiece parameter in the embodiment of the present invention;
Fig. 4 is a kind of flow chart of man-machine interface reception workpiece parameter modification in the embodiment of the present invention;
Fig. 5 is that a kind of get parms modifies the flow chart of result in the embodiment of the present invention;
Fig. 6 is that another get parms modifies the flow chart of result in the embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of main program display interface in the embodiment of the present invention;
Fig. 8 to Figure 12 is a kind of interface schematic diagram for executing program change procedure in the embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram for executing program creating device in the embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of workpiece parameter receiving unit in the embodiment of the present invention;
Figure 15 is a kind of structural schematic diagram of parameter display subelement in the embodiment of the present invention;
Figure 16 is a kind of structural schematic diagram of workpiece parameter modification subelement in the embodiment of the present invention;
Figure 17 is a kind of structural schematic diagram of workpiece parameter modification result acquisition module in the embodiment of the present invention;
Figure 18 is the structural schematic diagram that another workpiece parameter modification result obtains module in the embodiment of the present invention.
Specific embodiment
As stated in the background art, the efficiency of existing work pieces process is to be improved.
In executing program creating method, the execution program of existing workpiece is obtained by numerically-controlled machine tool, searches the execution
The workpiece parameter for needing to modify in program is modified and is saved.It includes work statement that traditional numerical control processing, which executes program, according to work
The component difficulty of part, some work statement substantial amounts are searched the workpiece parameter for needing to modify from interminable execution program, are taken
When it is laborious, and be easy to modification mistake, increase the time of modification of program, reduce the production efficiency of workpiece.
In embodiments of the present invention, by call parameters file, workpiece parameter in the file that gets parms receives user couple
The modification of the machined parameters generates main program according to modified machined parameters, and executing program includes the main program, executes journey
Sequence is used for work pieces process.So that it is not necessarily to the modification and processing parameter from original interminable execution program in the present invention is implemented,
The change time for having saved program, the error rate of modification of program is reduced, improves successfully the probability of workpieces processing, and then improve
The production efficiency of workpiece.
In the embodiment of the present invention, processing program generation method is built upon on the basis of existing Parameter File, based on ginseng
The modification of number file generates, therefore is referred to as executing the amending method of program.
It is understandable to enable above-mentioned purpose of the invention, feature and beneficial effect to become apparent, with reference to the accompanying drawing to this
The specific embodiment of invention is described in detail.
Fig. 1 is a kind of flow chart for executing program creating method in the embodiment of the present invention, is specifically comprised the following steps:
Step S11, call parameters file obtain the workpiece parameter in the Parameter File, and the workpiece parameter is for referring to
Show work pieces process;
Step S12 receives modification of the user to the workpiece parameter;
Step S13 generates main program according to modified workpiece parameter, and executing program includes the main program, described to hold
Line program is used for the work pieces process.
Wherein, Parameter File can record the workpiece parameter of workpiece.Workpiece parameter is parameter needed for work pieces process, tool
Body may include workpiece type parameter, dimensional parameters and machined parameters.It is illustrated individually below.
Dimensional parameters and machined parameters may include:The characteristic size parameter of workpiece, such as when workpiece is flange, it can be with
It is pipeline depth, waterline screw pitch etc.;And the process and technological parameter used when being processed to workpiece, such as the amount of feeding, knife
Tool number, speed of mainshaft etc..
Workpiece type parameter is used to indicate the type of workpiece.Executing program can be for the workpiece of processing including standardization
The workpiece of feature, workpiece type can be the different type that the workpiece includes.The work that standardized feature refers to the name nominating
The generic features that part includes, the specific size, shape, processing technology of this feature can be different.
Specifically, by taking flange as an example, when executing program for when processing flange, workpiece type may include it is following a kind of or
It is a variety of:Loose flange (Lap Joint Flange), sliding flange (Slip On Flange), hubbed flange (Weld Neck
Flange), in slotting flange (Socket Weld Flange), screwed flange (threaded Flange) etc..Different types of method
The concrete shape of orchid, standardized feature can be different.Standardized feature refer to the workpiece of the name nominating include it is general
Feature, the specific size, shape, processing technology of this feature can be different.
In conjunction with reference Fig. 1 and Fig. 2, in specific implementation, in call parameters library after the Parameter File of finished work, step
Modification of the user to the workpiece parameter is received in rapid S12, may include:
Step S21 is shown in the Parameter File by man-machine interface and obtains workpiece parameter;
Step S22 receives modification of the user to the workpiece parameter by the man-machine interface.
Wherein, man-machine interface is used for human-computer interaction, can be the interface of a variety of patterns.It can be to user by man-machine interface
Exhibiting pictures, picture can be static or dynamic picture, the also input of available user.It is specific to obtain what user inputted
Mode can be multiplicity, for example, can obtain user's input to the click of man-machine interface by user, or can also pass through
Input frame obtains the data of user's input.
It will be appreciated by persons skilled in the art that " input frame " and informal limitation, any reception in man-machine interface
The region of user's input is properly termed as input frame.
In conjunction with Fig. 3, in specific implementation, in Fig. 2 step S21 is shown by man-machine interface and to be obtained in the Parameter File
Workpiece parameter may include:
Step S31 obtains the workpiece type parameter in the Parameter File;
Step S32 is shown and the workpiece type parameter phase according to the workpiece type parameter in the man-machine interface
Associated input frame shows associated dimensional parameters in the input frame.
In specific implementation, by call parameters file, workpiece type parameter in available Parameter File, according to obtaining
The workpiece type parameter got, can determine main program template.
Main program template is preset template, wherein may include the dimension name and corresponding parameter assignment pair of workpiece
As, processing technology title and corresponding parameter assignment object.Therefore ginseng to be obtained can be determined by obtaining main program template
Number, and then can determine input frame to be presented, and the existing dimensional parameters numerical value in presentation parameter file in input frame.
, can be by man-machine interface when user modifies to machined parameters, the acquisition pair from the parameter that user inputs
As a result, with reference to Fig. 4, receive user by the man-machine interface includes to the modification of the workpiece parameter for the modification of machined parameters:
Step S41 obtains user to the modification result of the machined parameters;
The machined parameters of step S42, confirmation user's input meet preset condition.
In specific implementation, preset condition can be configured according to the concrete type and demand of workpiece parameter.Example
Such as, it can be the numberical range etc. of the machined parameters of workpiece.If the machined parameters of user's input do not meet preset condition, can
To be prompted by the man-machine interface.
By confirming to the machined parameters that user inputs, program can be executed caused by the input error to avoid parameter
Mistake, the efficiency for properly generating and executing program can be promoted, and promote successfully the probability of workpieces processing, and then lifting workpieces add
The efficiency of work.
In specific implementation, it obtains user and the modification of machined parameters repairs an interface as a result, can be and obtain user
The modification of input frame is filled in when entering next interface after changing as a result, being also possible to obtain the modification that user inputs in real time
As a result.
It is available to be filled in input frame when triggering enters next interface after user is to an interface modification
Modification result.In this way, the modification that can once obtain multiple parameters modifies the frequency of result as a result, reducing to get parms, subtract
Mini system operation burden, saves system resource.
As previously mentioned, dimensional parameters may include the characteristic size parameter of workpiece, such as when workpiece is flange, can be
Pipeline depth, waterline screw pitch etc., machined parameters may include the process used when processing to workpiece and technological parameter, such as
The amount of feeding, cutter number, speed of mainshaft etc..
User can modify to parameter, can be equal to the characteristic size parameter and process and technological parameter of workpiece
It modifies, or can also only modify to process and technological parameter.
When modifying to process and technological parameter, it can need to carry out in conjunction with different.For example, when user needs to obtain
When to the machined parameters of the new manufacturing procedure for not including in Parameter File, it can show that the blank of new manufacturing procedure is defeated on interface
Enter frame, receives user's input.Alternatively, when user needs to modify on the basis of having manufacturing procedure in Parameter File, it can
To show in man-machine interface to the associated machined parameters of existing manufacturing procedure and input frame, and receive repairing for user
Change.It is illustrated individually below.
With reference to Fig. 5, when user needs to obtain the machined parameters of new manufacturing procedure, user is obtained to the machined parameters
Modification is as a result, may include:
Step S51 receives the instruction that user generates new manufacturing procedure by man-machine interface, and the new manufacturing procedure is described
The manufacturing procedure for not including in Parameter File;
Step S52 generates the instruction of new manufacturing procedure in response to the user, shows that the new manufacturing procedure is associated
Input frame;
Step S53 receives the machined parameters of user's input, by the input frame to obtain the modification result.
Specifically, manufacturing procedure may include multiple work steps, and manufacturing procedure title is corresponding with each work step.Work step is to add
Work surface, machining tool, the speed of mainshaft and the amount of feeding it is constant in the case where, the process that is continuously finished.Execute each work step processing
When, the machined parameters such as corresponding cutter number, the amount of feeding, speed of mainshaft are different.Input frame associated with new manufacturing procedure, can
To be the input frame for obtaining machined parameters corresponding with new manufacturing procedure.Pass through the available user's input of input frame
Machined parameters, for generating execution program corresponding with new manufacturing procedure.The number of input frame corresponding to different tooling steps
Amount can be different.
The time point that triggering obtains modification result is referred to described previously, and details are not described herein.
By existing dimensional parameters in the file that gets parms, and input frame is inserted, when generating new manufacturing procedure, only existed
Related processing parameters are inputted with the associated input frame of new manufacturing procedure, the time that parameter is filled in can be saved, improve workpiece
Formation efficiency.
With reference to Fig. 6, when modifying on the basis of user needs and has manufacturing procedure in Parameter File, user is obtained
Modification to the machined parameters is as a result, may include:
Step S61 shows the associated input frame of manufacturing procedure for including in the Parameter File, institute by man-machine interface
It states input frame and is filled with the machined parameters obtained from the Parameter File;
Step S62 receives the machined parameters of user's input, by the input frame to obtain the modification result.
In specific implementation, man-machine interface can the associated input frame of manufacturing procedure to be obtained in display parameters file, and
The machined parameters obtained from Parameter File are filled in the input frame, user can be by selecting input frame, and input needs
The machined parameters of modification improve the formation efficiency of program so as to save the input time that part does not need modification parameter.
In specific implementation, the modification result of workpiece can be carried out by the guidance of man-machine interface by obtaining, thus according to
The selection of preset sequence and user carry out the displaying of input frame and the prompt to user, to control the mistake for obtaining workpiece parameter
Journey, and reduce the mistake of input process.
In specific implementation, before the machined parameters that user's input is received by the input frame, user is obtained to processing
The modification result of parameter can also show that manufacturing procedure corresponding to machined parameters to be entered is related by the man-machine interface
The signal picture of connection.
Wherein, machined parameters to be entered can be all machined parameters of current interface displaying, and illustrating can in picture
To illustrate to correspondence machined surface of the corresponding manufacturing procedure of these machined parameters in workpiece.Specifically, signal picture can
To be that static images perhaps dynamic picture or are also possible to the picture that can be rotated according to user's operation.
The correspondence machined surface of the corresponding manufacturing procedure of machined parameters to be entered in workpiece is illustrated by picture,
Intuitively the machined surface processed can be needed to prompt machined parameters, avoid user corresponding with workpiece because being unfamiliar with parameter
Erroneous input caused by relationship promotes the efficiency and accuracy for receiving machined parameters, and then can be promoted to generate and execute program
Efficiency and accuracy.
With continued reference to Fig. 1, in specific implementation, after man-machine interface is received to the modification of the workpiece parameter, in step S13
In, main program can be generated according to modified workpiece parameter, executing program includes the main program, and the execution program is used for
The work pieces process.
Continue by taking flange as an example, the main program of generation can be as shown in Figure 7, only schematical sections main program.Wherein " basis
Size ", " waterline size " and " machining allowance " are dimension name, parameter assignment object be FLG_DL after dimension name,
FLG_BL etc..Processing technology title and correspondingly form of the parameter assignment object in main program can be with forms shown in Fig. 7
It is similar.
Numerical control processing unit can run main program, to carry out the processing of workpiece.In specific implementation, program is executed may be used also
To include subprogram, subprogram is associated with workpiece type.Numerical control processing unit, can be with antithetical phrase during running main program
Program is called, to carry out work pieces process.
Specifically, main program includes assignment statement and subroutine call sentence.Wherein, assignment statement passes through global variable
Dimensional parameters and machined parameters are transmitted to subprogram, subroutine call sentence is suitable for call subroutine.May include in subprogram
Parameter Switch sentence and motion control sentence.Parameter Switch sentence can convert the dimensional parameters and machined parameters as movement
Control parameter, the motion control sentence in subprogram can run workpiece according to the motion control state modulator machine tool action and add
Work.
It continues to refer to figure 1, after receiving user to the modification of the workpiece parameter, can also include:Step S14, root
The Parameter File is updated according to the workpiece parameter of modification.
Specifically, for the workpiece parameter after storage change to Parameter File, which can according to the workpiece parameter of modification
To be the wave file of original Parameter File or original Parameter File.Storing workpiece parameter to Parameter File can be in life
It is carried out at after main program, to ensure the accuracy of Parameter File, or the process of storage workpiece parameter to Parameter File can also be with
It is carried out parallel with main program is generated, or stored prior to generating main program.
By storing Parameter File, modification basis can be provided, for modification to promote the effect generated when executing program again
Rate.
As previously mentioned, numerical control processing unit can execute main program, to carry out the processing of workpiece.In specific implementation, exist
After generating the main program, the storage address of the main program is recorded to designated position, can provide fortune to numerical control processing unit
The entrance of the row main program, facilitates numerical control processing unit to run the main program.
By the storage address of record main program to designated position, nc program can read main journey down to designated position
Sequence address to run main program, without by copy etc. modes by main program in different inter-system transfers, also without going through
Complicated function interface carries out the calling of main program, so as to carry out the processing of workpiece after generating execution program, promotes work
The efficiency of part processing.
In specific implementation, after generating main program, numerical control processing unit can be triggered and read main program, and jump to number
The operation interface of control processing unit.
It continues to refer to figure 1, in specific implementation, before step S14 updates the Parameter File, can also include:Step
Rapid S15, confirmation log in the permission of the account of numerical control processing unit, and the numerical control processing unit is suitable for running the execution program.
By confirming the permission of nc program, master is just generated when nc program has permission and carries out work pieces process
Program promotes safety so as to carry out security control.
In specific implementation, the execution program is for processing flange, brake disc and brake drum.In one embodiment of the invention
In, executing program for processing flange, Fig. 8 to Figure 12 is the interface schematic diagram for executing program change procedure and summarizing.Below in conjunction with
The embodiment of the present invention is further detailed in Fig. 1 to Figure 12.
Fig. 8 shows a kind of interface schematic diagram for calling execution program in the embodiment of the present invention.In specific implementation, man-machine
Interface can provide option, and option includes " newly-built program " or " caller ".Man-machine interface provides the movement of option, can be with
It is in response in the application (Application, APP) for executing program creating method that brings into operation, that is, can be beaten in response to user
It opens for generating the APP for executing program, inquiry user generates new execution program, or calls existing program.Step S11 in Fig. 1
Call parameters file can receive the click of " caller " that shows to it, the tune of trigger parameter file by man-machine interface
With.
As previously mentioned, can determine according to user demand and generate new manufacturing procedure, or can also be provided in Parameter File
It modifies on the basis of existing manufacturing procedure.It is illustrated below in conjunction with attached drawing.
It after determining caller, is instructed in response to caller, man-machine interface displaying obtains workpieces from Parameter File
The associated dimensional parameters input frame of shape parameter, filled with the dimensional parameters obtained from Parameter File in the input frame.Such as
Shown in Fig. 9, dimensional parameters " 120.000 " are filled in the corresponding parameter box of parameter entitled " DL_mm ".User is by clicking control
91 enter editor work step interface.In the interface, user can by selection process a pair have manufacturing procedure be modified or
Process two generates new manufacturing procedure, is illustrated individually below.
Figure 10 is a kind of interface schematic diagram for modifying existing manufacturing procedure in the embodiment of the present invention.In response to user to existing
The instruction of manufacturing procedure change, man-machine interface show the associated input frame of existing manufacturing procedure that is obtained from Parameter File with
And signal picture.Specifically, signal picture 101 is the signal picture of end face of flange processing in process one, to the end face that need to be processed
Illustrated, sees heavy line signal surface in signal picture 101.In specific implementation, signal can also be by other more kinds of
Mode illustrated by carrying out the mode such as flashing to the position processed such as by different colors.
Signal picture 101 can be static images perhaps dynamic picture or be also possible to can be into according to user's operation
The picture of row rotation.Input frame corresponding end surface process required for machined parameters, including cutter number input frame, roughing feeding it is defeated
Enter frame, finishing feed input frame, maximum depth of cut input frame, speed of mainshaft input frame and main shaft direction of rotation to determine
Input frame.Filled with the machined parameters obtained in Parameter File in input frame.In this case, user can be by selecting phase
The machined parameters input frame answered, is modified existing machined parameters, for example, user can choose cutter number input frame, it will
Some cutter number parameters 2 are revised as 3, and man-machine interface can obtain the machined parameters of user's input by the input frame.
Figure 11 and Figure 12 is a kind of interface schematic diagram for generating new manufacturing procedure in the embodiment of the present invention.It is raw in response to user
At the instruction of new manufacturing procedure, the associated input frame of the new manufacturing procedure and signal picture are shown.Man-machine interface can lead to
The related processing parameters that the input frame receives user's input are crossed, such as receive the cutter number 2 in cutter number input frame.
Figure 12 is similar with Figure 11, and the machined parameters input frame and machined surface that need to obtain to 2 inner bore chamfering of work step show
Meaning.
During obtaining user's input parameter, it can be determined that whether the machined parameters of user's input meet preset item
Part.If the machined parameters of user's input do not meet preset condition, can be prompted by the man-machine interface.Continue to join
Figure 12 is examined, user's end of input, by clicking the next step control 121 in man-machine interface, man-machine interface provides option, and inquiry is used
Whether family generates main program, and user can be determined by " determination " button clicked in man-machine interface generates main program.
It will be appreciated by persons skilled in the art that Fig. 8 to Figure 12 is only to illustrate, not to man-machine interface concrete form
Limitation.
In embodiments of the present invention, user can be guided by executing interface shown in program generation procedure, be obtained
User's input, and operated according to user's operation triggering following, and then the probability of maloperation can be reduced, it is promoted and executes Program Generating
The efficiency of method.
The embodiment of the present invention also provides a kind of execution program creating device, and structural schematic diagram, specifically can be with referring to Figure 13
Including:
Parameter File call unit 131 is suitable for call parameters file, obtains the workpiece parameter in the Parameter File, institute
It states workpiece parameter and is used to indicate work pieces process;
Workpiece parameter receiving unit 132, suitable for receiving modification of the user to the workpiece parameter;
Main program generation unit 133 is suitable for generating main program according to modified workpiece parameter, and it includes described for executing program
Main program, the execution program are used for the work pieces process.
Further, in specific implementation, referring to Figure 14, workpiece parameter receiving unit 132 may include:
Parameter display subelement 141, suitable for showing the workpiece parameter obtained in the Parameter File by man-machine interface;
Workpiece parameter modifies subelement 142, repairs suitable for receiving user by the man-machine interface to the workpiece parameter
Change;
The workpiece parameter includes workpiece type parameter, dimensional parameters and machined parameters.
Further, in specific implementation, referring to Figure 15, parameter display subelement 141 may include:
Workpiece type parameter acquisition module 151, suitable for obtaining the workpiece type parameter in the Parameter File;
Input frame display module 152, be suitable for shown in the man-machine interface according to the workpiece type parameter with it is described
Workpiece type parameter associated input frame shows associated dimensional parameters in the input frame.
Further, in conjunction with Figure 14 and Figure 16, in specific implementation, workpiece parameter modification subelement 142 may include:
Workpiece parameter modifies result and obtains module 161, suitable for obtaining user to the modification result of the machined parameters;
User inputs parameter confirmation module 162, suitable for confirming user before obtaining user to the modification result of machined parameters
The machined parameters of input meet preset condition.
Further, referring to Figure 17, in specific implementation, the workpiece parameter modification result obtains module 161, can wrap
It includes:
New process indicates receiving submodule 171, suitable for receiving the instruction that user generates new manufacturing procedure by man-machine interface,
The new manufacturing procedure is the manufacturing procedure for not including in the Parameter File;
First input frame shows submodule 172, is adapted for the instruction that the user generates new manufacturing procedure, shows institute
State the associated input frame of new manufacturing procedure;
First reception and acquisition submodule 173, suitable for receiving the machined parameters of user's input by the input frame, to obtain
Take the modification result.
Referring to Figure 18, in other implementations, the workpiece parameter modification result obtains module 161, can be other compositions
Structure may include:
Second input frame display sub-module 181, suitable for showing the processing for including in the Parameter File by man-machine interface
The associated input frame of process, the input frame are filled with the machined parameters obtained from the Parameter File;
Second reception and acquisition submodule 182, suitable for receiving the machined parameters of user's input by the input frame, to obtain
Take the modification result.
Further, in specific implementation, the workpiece parameter modification result obtains module 161, can also include signal
Picture presentation submodule is suitable for showing that manufacturing procedure corresponding with machined parameters to be entered is associated by the man-machine interface
Illustrate picture.The signal picture to correspondence machined surface of the corresponding manufacturing procedure of the machined parameters to be entered in workpiece into
Row signal.
In specific implementation, the dimensional parameters to be entered can determine the operation of input frame by user.
Further, the execution program further includes subprogram, and the subprogram when executing the main program for supplying
The main program calls, to carry out work pieces process.
With continued reference to Figure 13, program creating device is executed, can also include:Parameter File updating unit 134, suitable for connecing
After receiving the modification of the workpiece parameter described in user, the Parameter File is updated according to the workpiece parameter of modification.
Further, the execution program creating device can also include:Account permission determination unit 135 is suitable for more
Before the new Parameter File, confirmation logs in the permission of the account of numerical control processing unit, and the numerical control processing unit is suitable for operation
The execution program.
In specific implementation, execution program of the present invention is processed to flange, brake disc and brake drum.
Explanation of nouns, principle involved in execution program creating device in the embodiment of the present invention are embodied and have
Beneficial effect may refer to the execution program creating method in the embodiment of the present invention, not repeat herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer instruction, the meter
The step of instruction of calculation machine runs the execution program creating method.
The computer readable storage medium can be CD, mechanical hard disk, solid state hard disk etc..It is above-mentioned computer-readable to deposit
Storage media can be applied to the head of lathe, or also can be applied to other Machine-Tool Control ends.
The embodiment of the present invention also provides a kind of terminal, including memory and processor, and being stored on the memory can
The computer instruction run on the processor, which is characterized in that the processor executes when running the computer instruction
The step of execution program creating method.
The terminal can be the head of lathe, perhaps other Machine-Tool Control ends or other can execute the present invention
The equipment of program creating method in embodiment.
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.
Claims (24)
1. a kind of execution program creating method, which is characterized in that including:
Call parameters file, obtains the workpiece parameter in the Parameter File, and the workpiece parameter is used to indicate work pieces process;
Receive modification of the user to the workpiece parameter;
Main program is generated according to modified workpiece parameter, executing program includes the main program, and the execution program is used for institute
State work pieces process.
2. execution program creating method according to claim 1, which is characterized in that the reception user joins the workpiece
Several modifications, including:
The workpiece parameter obtained in the Parameter File is shown by man-machine interface;
Modification of the user to the workpiece parameter is received by the man-machine interface.
3. execution program creating method according to claim 2, which is characterized in that the workpiece parameter includes workpiece type
Parameter, dimensional parameters and machined parameters, it is described to show that the workpiece parameter obtained in the Parameter File includes by man-machine interface:
Obtain the workpiece type parameter in the Parameter File;
Input frame associated with the workpiece type parameter is shown in the man-machine interface according to the workpiece type parameter,
Associated dimensional parameters are shown in the input frame;
It is described to include to the modification of the workpiece parameter by man-machine interface reception user:
User is obtained to the modification result of the machined parameters.
4. execution program creating method according to claim 3, which is characterized in that the acquisition user joins the processing
Several modifications are as a result, include:
Receive user by man-machine interface and generate the instruction of new manufacturing procedure, the new manufacturing procedure be in the Parameter File not
The manufacturing procedure for including;
The instruction of new manufacturing procedure is generated in response to the user, shows the new associated input frame of manufacturing procedure;
The machined parameters of user's input are received, by the input frame to obtain the modification result.
5. execution program creating method according to claim 3, which is characterized in that the acquisition user joins the processing
Several modifications are as a result, include:
The associated input frame of manufacturing procedure for including in the Parameter File, the input frame filling are shown by man-machine interface
There are the machined parameters obtained from the Parameter File;
The machined parameters of user's input are received, by the input frame to obtain the modification result.
6. execution program creating method according to claim 4 or 5, which is characterized in that described to be connect by the input frame
Before the machined parameters for receiving user's input, obtain user further includes to the modification result of machined parameters:
The associated signal picture of manufacturing procedure corresponding with machined parameters to be entered is shown by the man-machine interface;
The signal picture shows correspondence machined surface of the corresponding manufacturing procedure of the machined parameters to be entered in workpiece
Meaning.
7. execution program creating method according to claim 3, which is characterized in that the acquisition user is to machined parameters
Before modifying result, the man-machine interface receives user and further includes to the modification of the workpiece parameter:
The machined parameters of confirmation user's input meet preset condition.
8. execution program creating method according to claim 1, which is characterized in that the execution program further includes sub- journey
Sequence, the subprogram is used to call when running the main program for the main program, to carry out work pieces process.
9. execution program creating method according to claim 1, which is characterized in that receive user to the workpiece parameter
Further include after modification:The Parameter File is updated according to the workpiece parameter of modification.
10. execution program creating method according to claim 9, which is characterized in that before updating the Parameter File, also
Including:
Confirmation logs in the permission of the account of numerical control processing unit, and the numerical control processing unit is suitable for running the execution program.
11. execution program creating method according to claim 1, which is characterized in that the execution program is used for processing method
Blue, brake disc and brake drum.
12. a kind of execution program creating device, which is characterized in that including:
Parameter File call unit is suitable for call parameters file, obtains the workpiece parameter in the Parameter File, the workpiece ginseng
Number is used to indicate work pieces process;
Workpiece parameter receiving unit, suitable for receiving modification of the user to the workpiece parameter;
Main program generation unit is suitable for generating main program according to modified workpiece parameter, and executing program includes the main program,
The execution program is used for the work pieces process.
13. execution program creating device according to claim 12, which is characterized in that the workpiece parameter receiving unit,
Including:
Parameter display subelement, suitable for showing the workpiece parameter obtained in the Parameter File by man-machine interface;
Workpiece parameter modifies subelement, suitable for receiving modification of the user to the workpiece parameter by the man-machine interface.
14. execution program creating device according to claim 13, which is characterized in that the workpiece parameter includes workpieces
Shape parameter, dimensional parameters and machined parameters, the parameter display subelement include:
Workpiece type parameter acquisition module, suitable for obtaining the workpiece type parameter in the Parameter File;
Input frame display module is suitable for being shown in the man-machine interface according to the workpiece type parameter and the workpiece type
Parameter associated input frame shows associated dimensional parameters in the input frame;
The workpiece parameter modifies subelement, including:Workpiece parameter modifies result and obtains module, is suitable for obtaining user and adds to described
The modification result of work parameter.
15. execution program creating device according to claim 14, which is characterized in that the workpiece parameter modification result obtains
Modulus block, including:
New process indicates receiving submodule, described new suitable for receiving the instruction that user generates new manufacturing procedure by man-machine interface
Manufacturing procedure is the manufacturing procedure for not including in the Parameter File;
First input frame shows submodule, is adapted for the instruction that the user generates new manufacturing procedure, and displaying is described newly to be added
The associated input frame of work process;
First reception and acquisition submodule, suitable for receiving the machined parameters of user's input by the input frame, described in obtaining
Modify result.
16. execution program creating device according to claim 14, which is characterized in that the workpiece parameter modification result obtains
Modulus block includes:
Second input frame display sub-module, suitable for showing that the manufacturing procedure for including in the Parameter File is related by man-machine interface
The input frame of connection, the input frame are filled with the machined parameters obtained from the Parameter File;
Second reception and acquisition submodule, suitable for receiving the machined parameters of user's input by the input frame, described in obtaining
Modify result.
17. execution program creating device according to claim 15 or 16, which is characterized in that the workpiece parameter modification knot
Fruit obtains module, further includes:
Illustrate picture presentation submodule, is suitable for showing manufacturing procedure corresponding with machined parameters to be entered by the man-machine interface
Associated signal picture;
The signal picture shows correspondence machined surface of the corresponding manufacturing procedure of the machined parameters to be entered in workpiece
Meaning.
18. execution program creating device according to claim 14, which is characterized in that the workpiece parameter modifies subelement
Further include:
User inputs parameter confirmation module, suitable for confirming user's input before obtaining user to the modification result of machined parameters
Machined parameters meet preset condition.
19. execution program creating device according to claim 12, which is characterized in that the execution program further includes sub- journey
Sequence, the subprogram is used to call when executing the main program for the main program, to carry out work pieces process.
20. execution program creating device according to claim 12, which is characterized in that further include:Parameter File updates single
Member, is suitable for after receiving to workpiece parameter modification, updates the Parameter File according to the workpiece parameter of modification.
21. execution program creating device according to claim 20, which is characterized in that further include:Account permission determines single
Member is suitable for before updating the Parameter File, and confirmation logs in the permission of the account of numerical control processing unit, the numerical control processing list
Member is suitable for running the execution program.
22. execution program creating device according to claim 12, which is characterized in that the execution program is used for processing method
Blue, brake disc and brake drum.
23. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction
Perform claim requires the step of any one of 1 to 11 execution program creating method when operation.
24. a kind of terminal, including memory and processor, be stored on the memory to run on the processor
Computer instruction, which is characterized in that perform claim requires any one of 1 to 11 institute when the processor runs the computer instruction
State the step of executing program creating method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810618892.XA CN108829027A (en) | 2018-06-15 | 2018-06-15 | Execute program creating method and its device, medium, terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810618892.XA CN108829027A (en) | 2018-06-15 | 2018-06-15 | Execute program creating method and its device, medium, terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829027A true CN108829027A (en) | 2018-11-16 |
Family
ID=64141367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810618892.XA Pending CN108829027A (en) | 2018-06-15 | 2018-06-15 | Execute program creating method and its device, medium, terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829027A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933006A (en) * | 2019-04-08 | 2019-06-25 | 沈机(上海)智能系统研发设计有限公司 | Digital control system and its control method, control device and storage medium, terminal |
CN112255970A (en) * | 2020-10-22 | 2021-01-22 | 铁科(北京)轨道装备技术有限公司 | Method and device for generating numerical control machine tool program |
CN114563978A (en) * | 2022-02-24 | 2022-05-31 | 乐健科技(珠海)有限公司 | Drilling machine instruction generation method and drilling machine instruction generation device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1743983A (en) * | 2005-08-19 | 2006-03-08 | 四川工程职业技术学院 | Method for working shaft-like workpiece by numerical control lathe and its control device |
CN101334657A (en) * | 2007-12-20 | 2008-12-31 | 清华大学 | Imaging interactive numerical control turning automatic programming method and system |
CN103197605A (en) * | 2013-03-15 | 2013-07-10 | 重庆大学 | Method of CNC automatic programming for gear hobbing based on standard template and expression driving |
CN103744374A (en) * | 2013-12-25 | 2014-04-23 | 广州达意隆包装机械股份有限公司 | Servo motor parameter automatic configuration method and system |
CN104102172A (en) * | 2014-07-10 | 2014-10-15 | 福益精密模塑(上海)有限公司 | Method and equipment for generating programs of numerically-controlled machine tool |
CN105499712A (en) * | 2016-01-08 | 2016-04-20 | 南京工大数控科技有限公司 | Method for machining super-modulus cylindrical gear with small tooth number |
CN107077120A (en) * | 2014-10-03 | 2017-08-18 | 埃西勒国际通用光学公司 | Carry out the machine-tooled method at least one surface of turning ophthalmic lens using the turning machine with least one geometrical defect |
CN107678401A (en) * | 2017-08-23 | 2018-02-09 | 沈阳机床股份有限公司 | A kind of structural member large mold fast programming method based on threedimensional model |
-
2018
- 2018-06-15 CN CN201810618892.XA patent/CN108829027A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1743983A (en) * | 2005-08-19 | 2006-03-08 | 四川工程职业技术学院 | Method for working shaft-like workpiece by numerical control lathe and its control device |
CN101334657A (en) * | 2007-12-20 | 2008-12-31 | 清华大学 | Imaging interactive numerical control turning automatic programming method and system |
CN103197605A (en) * | 2013-03-15 | 2013-07-10 | 重庆大学 | Method of CNC automatic programming for gear hobbing based on standard template and expression driving |
CN103744374A (en) * | 2013-12-25 | 2014-04-23 | 广州达意隆包装机械股份有限公司 | Servo motor parameter automatic configuration method and system |
CN104102172A (en) * | 2014-07-10 | 2014-10-15 | 福益精密模塑(上海)有限公司 | Method and equipment for generating programs of numerically-controlled machine tool |
CN107077120A (en) * | 2014-10-03 | 2017-08-18 | 埃西勒国际通用光学公司 | Carry out the machine-tooled method at least one surface of turning ophthalmic lens using the turning machine with least one geometrical defect |
CN105499712A (en) * | 2016-01-08 | 2016-04-20 | 南京工大数控科技有限公司 | Method for machining super-modulus cylindrical gear with small tooth number |
CN107678401A (en) * | 2017-08-23 | 2018-02-09 | 沈阳机床股份有限公司 | A kind of structural member large mold fast programming method based on threedimensional model |
Non-Patent Citations (3)
Title |
---|
周嘉梁: "面向大批量定制的NC程序变型设计方法研究", 《中国优秀硕士学位论文全文数据库工程科技I辑》 * |
徐新胜 等: "变形零件NC程序主模板设", 《中国机械工程》 * |
王卫兵: "快速编程NC模板的开发与应用", 《成组技术与生产现代化》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933006A (en) * | 2019-04-08 | 2019-06-25 | 沈机(上海)智能系统研发设计有限公司 | Digital control system and its control method, control device and storage medium, terminal |
CN112255970A (en) * | 2020-10-22 | 2021-01-22 | 铁科(北京)轨道装备技术有限公司 | Method and device for generating numerical control machine tool program |
CN114563978A (en) * | 2022-02-24 | 2022-05-31 | 乐健科技(珠海)有限公司 | Drilling machine instruction generation method and drilling machine instruction generation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10466681B1 (en) | Systems and methods for machining knowledge reuse | |
EP0177164B1 (en) | Method and apparatus for producing numerical control programmes | |
CN108829027A (en) | Execute program creating method and its device, medium, terminal | |
US20080281462A1 (en) | Transformation Method Of G-Code Into Step-Nc Part Program | |
JP2008165821A (en) | Control method of machine tool and device therefor | |
US6591156B1 (en) | Method and apparatus for providing numerical control information | |
US6751523B2 (en) | NC machining simulation apparatus | |
CN110879570A (en) | Quick hole machining programming method | |
JPH03177903A (en) | Method and device for production of nc working data | |
KR20100068535A (en) | Experience-based nc-programming based on machining features | |
CN103869754A (en) | Numerical control machining method | |
JPH0313023B2 (en) | ||
JP2004110828A (en) | Method and system for generating numerical control tool path on solid model | |
CN108829028A (en) | Execute program creating method, processing method and device, medium, terminal | |
JP2009187206A (en) | Apparatus for supporting decision of optimum machining condition for precision machining | |
CN108788772B (en) | Work-piece processing system | |
JPS63206804A (en) | Numerical control system | |
CN113885437A (en) | Self-adaptive programming method, device, equipment and numerical control system of numerical control system | |
JP2696206B2 (en) | Automatic part program creation method | |
JPH1185239A (en) | Nc data generating method for boring | |
JPH0433576B2 (en) | ||
JP2022130952A (en) | Tool route generation system, tool route generation method, and tool route generation program | |
JP2712442B2 (en) | Shellfish use order determination system | |
US10705507B2 (en) | Method for generating a machining program and machine tool | |
JPS62222303A (en) | Registering and editing system for automatic programming for nc |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |