WO2014002125A1  Numerical control device  Google Patents
Numerical control device Download PDFInfo
 Publication number
 WO2014002125A1 WO2014002125A1 PCT/JP2012/004091 JP2012004091W WO2014002125A1 WO 2014002125 A1 WO2014002125 A1 WO 2014002125A1 JP 2012004091 W JP2012004091 W JP 2012004091W WO 2014002125 A1 WO2014002125 A1 WO 2014002125A1
 Authority
 WO
 Grant status
 Application
 Patent type
 Prior art keywords
 variable
 arithmetic expression
 mechanism
 memory
 machining program
 Prior art date
Links
Images
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—Programmecontrol systems
 G05B19/02—Programmecontrol 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 coordinated operations by means of programme data in numerical form
 G05B19/408—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 coordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data

 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—Programmecontrol systems
 G05B19/02—Programmecontrol 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 coordinated operations by means of programme data in numerical form
 G05B19/4155—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or coordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme

 G—PHYSICS
 G05—CONTROLLING; REGULATING
 G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
 G05B2219/00—Programcontrol systems
 G05B2219/30—Nc systems
 G05B2219/35—Nc in input of data, input till input file format
 G05B2219/35261—Use of mathematical expression, functional equation

 G—PHYSICS
 G05—CONTROLLING; REGULATING
 G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
 G05B2219/00—Programcontrol systems
 G05B2219/30—Nc systems
 G05B2219/35—Nc in input of data, input till input file format
 G05B2219/35263—Using variables, parameters in program, macro, parametrized instruction
Abstract
Description
The present invention numerical control; relates to (Numerical Control hereinafter NC) apparatus, and a calculation formula setting configuration using the particular machining program.
Techniques using an arithmetic expression to the machining program of the NC device, are described in JP 6051906 (Patent Document 1).
Techniques using an arithmetic expression to the processing program of the NC device, entering operational expression _{ (D i = D j SIND k } ) as the processing program from the setting display unit, an arithmetic expression processing unit, stored in the storage unit "1000 It is inserted data into a variable D _{j} of "performing the calculation by inserting the data stored in the storage unit" 30 "to the variable D _{k.} Then the results of D _{i} = 500 This calculation is intended to operate the machine outputs the result to the output unit.
The prior art is configured to store numeric data in a variable. Further, it described arithmetic expression in the machining program variables and arithmetic operators (+, , *, /) and arithmetic functions are described in combination (SIN, COS, TAN) and the like. This configuration, for example, when performing the same operation on a plurality of positions, it is necessary to describe the same arithmetic expression in each occurrence. Therefore, at the same time timeconsuming to input machining program, mistakes easily occurs in the input, there is a problem that the program also increases.
Further, the prior art describes direct arithmetic expression in the machining program, because of the configuration for storing numeric data in variables used in the calculation equation, arithmetic expressions calculation results be confirmed unless executes a machining program Can not. That is, when checking the operation of the arithmetic expression, after entering the operational expression in the machining program, by executing a machining program to confirm the calculation results, if there is inaccurate arithmetic expression again correction program, the execution of the machining program procedure is required that the confirmation has a problem that it takes time to verify expression.
The present invention has been made to solve the above problems, it is an object of the arithmetic expression described in the machining program to obtain the NC apparatus becomes simple.
The present invention is intended to change the calculation formula in the machining program to obtain the NC device capable easily and reliably.
NC apparatus according to the present invention, the numerical controller capable of executing the machining program variable command is written, and variables editing setting mechanism for setting an equation as a variable, the set calculation formula by the variable editing setting mechanism it is obtained by a structure comprising a memory for storing.
The NC apparatus according to the present invention, the variable editing setting mechanism takes out the arithmetic expression stored as a variable from the memory, by rewriting a part or all of this computing equation, and adapted to store again the memory one in which the.
The NC apparatus according to the present invention, in the NC device, when the arithmetic expression is set as a variable by the variable editing setting mechanism, the arithmetic expression analysis mechanism for calculating the calculated immediately to the solution to this arithmetic expression, as a variable the set calculation formula, in which a structure and a variable display mechanism for displaying together with a solution calculated by said arithmetic expression analysis mechanism.
Furthermore, the NC device according to the present invention, in the NC device, when variables described in the machining program is an expression obtains the calculation formula corresponding to the variable from said memory, described in the machining program the variable is obtained by a structure comprising a variable substitution mechanism to replace the arithmetic expression retrieved from the memory.
According to the present invention, since the operation expression in the machining program it can be alternatively expressed in variable arithmetic expression described in the machining program there is an effect that becomes easy.
According to the invention, once operation expression set in the variable, part or rewrites all, it is possible to set again variable, change computing equation stored in the variable effect that can be efficiently is there.
According to the invention, by setting the arithmetic expression in a variable immediately because the solution of equation is displayed without the operation of the machining program, that confirm the operation expression and operation expression of the calculation result can be performed efficiently effective.
Furthermore, according to the present invention, the arithmetic expression can be set to a variable, and the described variables during machining program, since replaced by computing equation set in the variable, when changing the calculation formula was set in the variable an equation only by changing one place, where it left alternative representation the described operational expression during processing program variables would be applied arithmetic expression after the change to all, change the calculation expression in the machining program there is an effect that easily and reliably performed.
Example 1.
It will be described below with reference to the first embodiment of the present invention in FIGS.
Figure 1 is a block diagram showing a configuration of NC apparatus according to the first embodiment of the present invention.
In Figure 1, the variable editing setting mechanism 2 is stored in the memory 3 arithmetic expressions and numeric input from the key input device 1 as a variable. Also this variable editing setting mechanism 2 has taken out an arithmetic expression or numerical a variable stored in the memory 3, and rewriting some of these arithmetic expressions and numeric, also edit function of storing again in the memory 3.
Arithmetic expression analysis mechanism 4a, when the arithmetic expression is stored from the Edit variable setting mechanism 2 to the memory 3, immediately obtains the calculation expression stored in the variable memory 3, by calculating the arithmetic expression, calculate the solutions to. Variable display mechanism 5, side by side solutions arithmetic expression and operation expression analysis mechanism 4a stored in the variable memory 3 is calculated to create a variable display image data 26 of FIG. 2, is displayed on the display device 6. It should be noted that the details of which will be described later.
Variable substitution mechanism 8, when the variable described in the machining program stored in the memory 7 is an expression obtains the calculation formula corresponding to the variable from memory 3, the variables described in the machining program, taken out from the memory 3 after replacing the arithmetic expression was, and sends the data to the arithmetic expression analysis mechanism 4b.
Also if the variable describing the machining program stored in the memory 7 is a number, retrieve the value corresponding to the variable from memory 3, the variables described in the machining program, after replacing the numerical value taken out from the memory 3, and it sends the data to the arithmetic expression analysis mechanism 4b.
Arithmetic expression analysis mechanism 4b is, if the data sent from the variable substitution mechanism 8 is a variable number (if variable sent from substituted mechanism 8 data is not an arithmetic expression including a variable number), the data feed pulse distribution processing unit 9, drives the servo motor 11 through the servo controller 10.
Also when the data sent from the variable substitution mechanism 8 is an expression containing the variable number, retrieves the values corresponding to the variable of the number from the memory 3, the transmitted data is numeric variable from variable substitution mechanism 8 the value of the variable in the arithmetic expression including, after replacing the numerical value taken out from the memory 3, and calculates the arithmetic expression. It should be noted that the details of which will be described later.
And the result, sends to the pulse distribution processing unit 9, drives the servo motor 11 through the servo controller 10.
Further, in this first embodiment, the key input device 1, memory 3 and 7, the display device 6, the servo control unit 10 and the servo motor 11 is constituted mainly by hardware, also variable editing setting mechanism 2, arithmetic expression analysis mechanism 4a, 4b, the variable display device 5, the pulse distribution processor and variables substitution mechanism 8 is mainly composed by software.
Next, referring to FIG. 2 (a view showing a variable display screen of the NC device according to the first embodiment of the present invention), the variable editing setting function 2, the operation of the arithmetic expression analysis mechanism 4a and the variable display mechanism 5.
In FIG. 2, 20 area for displaying the variable number, 21 area for displaying the numerical data or expression is stored in a variable, 22 variable number setting unit of the variable that stores the numerical data or expression, 23 is a set of numeric or expression into a variable.
Key input from the key input unit 1 enters a variable number setting unit 22 and the numeric or expression setting section 23. Then, when the key to confirm the input is depressed, numeric or expression entered in the setting unit 23 through the variable setting mechanism 2, stored in the data area of the input variable number setting unit 22 (memory 3) It is.
Arithmetic expression stored in the memory 3 is immediately calculated solutions by arithmetic expression analysis mechanism 4a, the variable display mechanism 5, a variable display image data 26 obtained by arranging the variable numbers and arithmetic expressions solutions 24 and operation expression 25 create, and displays it on the display device 6.
When data stored in the memory 3 is a numeric data, the variable display mechanism 5 to create a variable display screen data 28 based on the numerical data is displayed on the display device 6.
Next the operation of the variable substitution mechanism 8 and operation expression analysis mechanism 4b will be described with reference to FIG.
Machining program stored in the memory 7, one word in Step1 are taken out. In the example of FIG. 3 # 500 + 30. Corresponds.
Next, examine the presence or absence of a variable in Step2. Variables in the example of FIG. 3 corresponds to # 500, it refers to behind numeric string arranged in part of the #.
In step2, if it is determined that there is a variable, the flow proceeds to Step3, data variables stored in the memory 3 is checked whether arithmetic expression or numerical data.
If data stored in the variable memory 3 is an operation expression advances to Step4, the variable part # 500 replaced with an arithmetic expression stored in the memory 3 [# 100 * COS [# 101]], [# 100 * COS [# 101]] + 30. after creating a string, the process proceeds to Step5.
When data of a variable stored in the memory 3 is determined to numeric data in Step3 proceeds directly Step5.
In Step5 [# 100 * COS [# 101]] + 30. Variable part # 100, numerical data 10. retrieved # 101 from the memory 3, respectively, after replacing the 20., Calculates an equation in Step6, finding a solution 39.39692.
Step7 determine an error computing equation in the analysis of one word is completed if there is no error. Further, error processing is performed when it is determined that there is an error in Step7.
Incidentally, Step4 from Step1 operation variable substitution mechanism 8, Step7 from Step5 is an operation of the arithmetic expression analysis mechanisms 4a and 4b.
Since, for all word data described in the machining program one block, by repeating the process of the operation flow of FIG. 3, it analyzes the machining program one block.
According to this embodiment, the arithmetic expression can be set to a variable, the variable in the machining program, since it is configured to perform formula analysis after replacing the arithmetic expression set in variable arithmetic expression variables of the machining program will be able to describe in one, there is an effect that the program created work can be reduced.
The constructed so that it can set the arithmetic expression in a variable and calculates the solution immediately calculate the arithmetic expression, confirming operation expression and so constructed as to display the solutions, immediately arithmetic expression calculation result there is an effect that can be.
Furthermore, the arithmetic expression can be set to a variable, and configured to be rewritten to the set calculation formula, the variables in the machining program, and configured to perform formula analysis after replacing the arithmetic expression set in the variable because, one, or even when the same arithmetic equation used in a plurality of machining programs, only by changing the arithmetic expression set in the variable, the arithmetic expression of all the machining program will be able to change, operation of the program there is an effect that formula change work can be reduced.
Numerical control device according to the invention is suitable for use when it is desired to simplify the calculation formula described in the machining program.
1 key input device, 2 variable settings edit mechanism, 3 memory, 4a, 4b arithmetic expression analysis mechanism, 5 variable display mechanism, 6 a display device, 7 memory, 8 variable substitution mechanism, 20 a variable number display area is set to 21 variables display area of the data (numerical data or arithmetic expression), 22 variable number setting unit, setting unit 23 numeric or expression, solutions of 24 arithmetic expression, 25 arithmetic expressions, 26 and 28 variable display screen data.
Claims (4)
 A numerical control apparatus capable of executing the machining program variable command is described, consisting includes a variable editing setting mechanism for setting an equation as a variable, and a memory for storing the set calculation formula by the variable editing setting mechanism numerical control device.
 The Edit variable setting mechanism takes out the arithmetic expression stored as a variable from the memory, according to claim 1 in which the arithmetic expression of part or rewrites all, and characterized in that for storing again in the memory numerical controller according to.
 When the arithmetic expression is set as a variable by the variable editing setting mechanism, the arithmetic expression analysis mechanism for calculating a solution to this arithmetic expression calculated immediately to the arithmetic expression set as a variable, is calculated by the arithmetic expression analysis mechanism numerical controller according to claim 1 or claim 2 comprising a variable display mechanism for displaying with solutions.
 If variables described in the machining program is an expression, variable substitution to replace the calculation formula corresponding to the variable taken out from the memory, the variables described in the machining program, the arithmetic expression is taken out from said memory numerical control device according to any one of claims 1 to 3 comprising a mechanism.
Priority Applications (1)
Application Number  Priority Date  Filing Date  Title 

PCT/JP2012/004091 WO2014002125A1 (en)  20120625  20120625  Numerical control device 
Applications Claiming Priority (1)
Application Number  Priority Date  Filing Date  Title 

PCT/JP2012/004091 WO2014002125A1 (en)  20120625  20120625  Numerical control device 
Publications (1)
Publication Number  Publication Date 

WO2014002125A1 true true WO2014002125A1 (en)  20140103 
Family
ID=49782369
Family Applications (1)
Application Number  Title  Priority Date  Filing Date 

PCT/JP2012/004091 WO2014002125A1 (en)  20120625  20120625  Numerical control device 
Country Status (1)
Country  Link 

WO (1)  WO2014002125A1 (en) 
Citations (7)
Publication number  Priority date  Publication date  Assignee  Title 

JPS6051906A (en) *  19830901  19850323  Mitsubishi Electric Corp  Numerical control device 
JPS62256104A (en) *  19860430  19871107  Brother Ind Ltd  Nc data producing device for numerical control 
JPH03168805A (en) *  19891129  19910722  Okuma Mach Works Ltd  Numerical controller having data operation input function 
JPH05134734A (en) *  19910917  19930601  Mitsubishi Electric Corp  Numerical controller and control method therefor 
JPH05228788A (en) *  19920218  19930907  Mitsubishi Electric Corp  Working machine control device and method thereof 
JP2001166808A (en) *  19991209  20010622  Nisshinbo Ind Inc  Device and method for preparing working data, and medium 
JP2006018697A (en) *  20040702  20060119  Okuma Corp  Numerical value controller capable of calling program described in script language 
Patent Citations (7)
Publication number  Priority date  Publication date  Assignee  Title 

JPS6051906A (en) *  19830901  19850323  Mitsubishi Electric Corp  Numerical control device 
JPS62256104A (en) *  19860430  19871107  Brother Ind Ltd  Nc data producing device for numerical control 
JPH03168805A (en) *  19891129  19910722  Okuma Mach Works Ltd  Numerical controller having data operation input function 
JPH05134734A (en) *  19910917  19930601  Mitsubishi Electric Corp  Numerical controller and control method therefor 
JPH05228788A (en) *  19920218  19930907  Mitsubishi Electric Corp  Working machine control device and method thereof 
JP2001166808A (en) *  19991209  20010622  Nisshinbo Ind Inc  Device and method for preparing working data, and medium 
JP2006018697A (en) *  20040702  20060119  Okuma Corp  Numerical value controller capable of calling program described in script language 
Similar Documents
Publication  Publication Date  Title 

US7945349B2 (en)  Method and a system for facilitating calibration of an offline programmed robot cell  
US20060229761A1 (en)  Numerical controller  
JP2001125613A (en)  Numerical control simulation device  
US20040193320A1 (en)  Robot offline programming system with errorcorrection feedback function  
JPH08278804A (en)  Diagnostic system for sequence program  
JP2009086964A (en)  Numerical control device for performing operation corresponding to level of operator  
CN1721143A (en)  Robot system provided with robot controller  
US20140018959A1 (en)  Robot control apparatus  
US20120239978A1 (en)  Controller support apparatus, controller support program executed on the apparatus, storage medium storing the program, and method of estimating execution time of control program  
US20080021591A1 (en)  Numerical controller having interference check function  
US20120290122A1 (en)  Predictive control and virtual display system for a numerically controlled machine tool  
US20130190902A1 (en)  Device information display apparatus and method  
US7386359B2 (en)  Device and method for testing machine tools and production machines  
US20130169208A1 (en)  Path display apparatus considering correction data  
US20120324295A1 (en)  Method for visualizing a program execution  
US20140058538A1 (en)  Control device, control system, tool device, and collection instruction program  
JP2013143096A (en)  Ladder program generation device  
US20120331448A1 (en)  Coverage measurement apparatus and method and medium  
US20140018939A1 (en)  Control device and system program  
JP2009190113A (en)  Robot simulation device  
EP2538290A2 (en)  Capturing data during operation of an industrial controller for the debugging of control programs  
US20140084839A1 (en)  Multiaxis motor driving system and multiaxis motor driving apparatus  
JP2010026997A (en)  Machine tool  
US9488687B2 (en)  Multiaxial motor driving apparatus and multiaxial motor drive device for determining whether or not there is a miswiring  
US20120187889A1 (en)  Method and Device for Generating a Variable Motion Profile for a Drive Unit of a Machine 
Legal Events
Date  Code  Title  Description 

121  Ep: the epo has been informed by wipo that ep was designated in this application 
Ref document number: 12879746 Country of ref document: EP Kind code of ref document: A1 

NENP  Nonentry into the national phase in: 
Ref country code: DE 

122  Ep: pct app. not ent. europ. phase 
Ref document number: 12879746 Country of ref document: EP Kind code of ref document: A1 

NENP  Nonentry into the national phase in: 
Ref country code: JP 