CN108000237A - Part geometric tolerance On-line Measuring Method based on digital control system secondary development - Google Patents
Part geometric tolerance On-line Measuring Method based on digital control system secondary development Download PDFInfo
- Publication number
- CN108000237A CN108000237A CN201711210756.9A CN201711210756A CN108000237A CN 108000237 A CN108000237 A CN 108000237A CN 201711210756 A CN201711210756 A CN 201711210756A CN 108000237 A CN108000237 A CN 108000237A
- Authority
- CN
- China
- Prior art keywords
- measurement
- control system
- geometric tolerance
- digital control
- measuring method
- 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
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23Q—DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
- B23Q17/00—Arrangements for observing, indicating or measuring on machine tools
- B23Q17/22—Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Factory Administration (AREA)
Abstract
The present invention provides the part geometric tolerance On-line Measuring Method based on digital control system secondary development, including:OCX controls are developed;Utilize interface configurations instrument configuration interface;Embedded shell script exploitation, establishes the communication with digital control system, while the function of calling OCX controls to encapsulate, and analysis calculating is carried out to the geometric tolerance of part;Start measurement function;Numerical control device performs process of measurement, detection probe measurement part;Measurement data is analyzed, obtains part geometric tolerance;Show measurement result.Part geometric tolerance On-line Measuring Method provided by the invention based on digital control system secondary development, the measurement process of geometric tolerance is encapsulated among the execution of numerical control subprogram, it can realize the efficient detection of geometric tolerance in part production process, the generation of the false retrieval, missing inspection problem during artificial detection is effectively prevent, improves component test efficiency;Effective preservation has been carried out to part production process data, data foundation is provided for part production process quality tracing.
Description
Technical field
The present invention relates to automated manufacturing technical field, more particularly to a kind of part shape based on digital control system secondary development
Position tolerance On-line Measuring Method.
Background technology
At present, most of numerical control devices all possess measurement function, can be commonly used with specific location of the detection workpieces in lathe
Possess simple geometric tolerance detection method in operating process, the high-end digital control systems in part such as workpiece zero setting, workpiece installations,
But measurement points are limited to, the reliability of measurement result is not high.The size and geometric tolerance of part are mainly or dependence operates
Personnel and reviewer's artificial detection, component test efficiency is low, there are the problems such as false retrieval, missing inspection, part production process mass number
It is big according to management difficulty, it is high to there is batch quality problems risk.
The content of the invention
It is an object of the invention to provide a kind of part geometric tolerance on-line measurement side based on digital control system secondary development
Method, to solve part geometric tolerance numerical control device on-line measurement function shortage, artificial off-line measurement efficiency is low, risk is big asks
Topic.
In order to solve the above-mentioned technical problem, the technical scheme is that:One kind is provided and is based on digital control system secondary development
Part geometric tolerance On-line Measuring Method, comprise the following steps:
S11, OCX control are developed;
S12, utilize interface configurations instrument configuration interface;
S13, the exploitation of embedded shell script, establish the communication with digital control system, while the function of calling OCX controls to encapsulate, right
The geometric tolerance of part carries out analysis calculating;
S14, industrial personal computer start measurement function;
S15, numerical control device perform process of measurement, detection probe measurement part;
Measurement data is stored in digital control system global variable by S16, measurement subprogram, and shell script is according to the complete of pattern measurement
Into situation, call the corresponding algorithmic function of measurement feature in OCX controls to analyze measurement data, obtain part geometric tolerance
And it is stored in local;
S17, display measurement result.
Further, in S11, by compiling the developing instrument of standard OCX components, in file needed for OCX enclosed insides
Read-write, network access, geometric tolerance calculating, the specific implementation process of interface function.
Further, in S12, the control that OCX controls are developed is configured to by the interface configurations instrument of digital control system
In digital control system, and the control configuration style and the relatively uniform measure interface of digital control system carried using system.
Further, in S13, the operation of numerical control program is loaded, started to digital control system, and response numerical control device is answered
Bit manipulation.
Further, in S14, control software is based on ethernet communication ICP/IP protocol and numerical control system outside industry control generator terminal
Unite OPC agreements, it is long-range to start measurement function, or at measure interface end, manually boot measurement function.
Further, in S15, numerically-controlled machine tool performs numerical control program, calls detection probe, according to measurement subprogram definition
Measuring route the measurement of characteristic point point position is carried out for part geometric tolerance measurement request.
Further, in S17, after the completion of whole pattern measurement process, shell script calls OCX control letters according to demand
Number, measurement result shows in measure interface or sends the measurements to industry control generator terminal by OCX control functions show.
Part geometric tolerance On-line Measuring Method provided by the invention based on digital control system secondary development, by geometric tolerance
Measurement process be encapsulated among the execution of numerical control subprogram, it is possible to achieve the efficient inspection of geometric tolerance in part production process
Survey, effectively prevent the generation of the false retrieval, missing inspection problem during artificial detection, improve component test efficiency;For part
The measurement result of geometric tolerance, possesses measurement data and automatically saves, the function such as measurement result optimization analysis, to part production process
Data have carried out effective preservation, and data foundation is provided for part production process quality tracing.
Brief description of the drawings
Invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the step of the part geometric tolerance On-line Measuring Method provided in an embodiment of the present invention based on digital control system secondary development
Rapid flow diagram;
Fig. 2 is the part geometric tolerance on-line measurement system module provided in an embodiment of the present invention based on digital control system secondary development
Structure diagram;
Fig. 3 is the measure interface schematic diagram that the embodiment of the present invention one provides;
Fig. 4 is that the part geometric tolerance On-line Measuring Method based on digital control system secondary development that the embodiment of the present invention one provides is surveyed
Amount realizes process flow schematic diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments to the part morpheme proposed by the present invention based on digital control system secondary development
Tolerance On-line Measuring Method is described in further detail.According to following explanation and claims, advantages and features of the invention
It will become apparent from.It should be noted that attached drawing uses using very simplified form and non-accurate ratio, only to facilitate,
Lucidly aid in illustrating the purpose of the embodiment of the present invention.
The core concept of the present invention is that the part geometric tolerance provided by the invention based on digital control system secondary development exists
Line measuring method, the measurement process of geometric tolerance is encapsulated among the execution of numerical control subprogram, it is possible to achieve part produced
The efficient detection of geometric tolerance in journey, effectively prevent the generation of the false retrieval, missing inspection problem during artificial detection, improves zero
Part checkability;For the measurement result of part geometric tolerance, possess measurement data and automatically save, measurement result optimization analysis etc.
Function, effective preservation has been carried out to part production process data, and data foundation is provided for part production process quality tracing.
Fig. 1 is the part geometric tolerance On-line Measuring Method provided in an embodiment of the present invention based on digital control system secondary development
Step flow diagram.With reference to Fig. 1, there is provided a kind of part geometric tolerance on-line measurement side based on digital control system secondary development
Method, comprises the following steps:
S11, OCX control are developed;
S12, utilize interface configurations instrument configuration interface;
S13, the exploitation of embedded shell script, establish the communication with digital control system, while the function of calling OCX controls to encapsulate, right
The geometric tolerance of part carries out analysis calculating;
S14, industrial personal computer start measurement function;
S15, numerical control device perform process of measurement, detection probe measurement part;
Measurement data is stored in digital control system global variable by S16, measurement subprogram, and shell script is according to the complete of pattern measurement
Into situation, call the corresponding algorithmic function of measurement feature in OCX controls to analyze measurement data, obtain part geometric tolerance
And it is stored in local;
S17, display measurement result.
In embodiments of the present invention, in S11, by compiling the developing instrument of standard OCX components, in OCX enclosed insides
Required file read-write, network access, geometric tolerance calculate, the specific implementation process of interface function.In S12, pass through number
The control that OCX controls are developed is configured in digital control system by the interface configurations instrument of control system, and the control carried using system
Configure style and the relatively uniform measure interface of digital control system.In S13, digital control system is loaded, starts numerical control program
Operation, response numerical control device reset operation.In S14, control software is based on ethernet communication TCP/IP outside industry control generator terminal
Agreement and digital control system OPC agreements, it is long-range to start measurement function, or at measure interface end, manually boot measurement function.
In S15, numerically-controlled machine tool performs numerical control program, calls detection probe, and part is directed to according to the measuring route that measurement subprogram defines
Geometric tolerance measurement request carries out the measurement of characteristic point point position.In S17, after the completion of whole pattern measurement process, shell script
OCX control functions are called according to demand, and measurement result is shown in measure interface or is sent out measurement result by OCX control functions
Industry control generator terminal is sent to show.
Fig. 2 is the part geometric tolerance on-line measurement system provided in an embodiment of the present invention based on digital control system secondary development
Modular structure schematic diagram.With reference to Fig. 2, the part geometric tolerance on-line measurement system based on digital control system secondary development includes secondary
Digital control system 21, numerical control device 22 after exploitation, industrial personal computer 23, the digital control system 21 after secondary development connect numerical control device respectively
22 and industrial personal computer 23, numerical control device 22 further include detection probe 221 and tested part 222.
Digital control system 21 after secondary development includes the exploitation of OCX controls, interface configurations and embedded script exploitation three parts,
The exploitation of OCX controls includes file read-write, network access, geometric tolerance calculating, interface etc.;Interface configurations are configured including control
And interface;Embedded script exploitation includes loading numerical control program, startup numerical control program, accordingly resets operation, calls calculating
Function and measurement data feedback etc..
Embodiment one
In the embodiment of the present invention one, the exploitation of OCX controls uses VC++ programming languages for preferable use under VS development environments
Exploitation, digital control system be preferable Fagor8065 digital control systems, and interface configurations instrument is fguim, the number that shell script refers to
The embedded shell script template that control system carries.Specific development process is as follows:
1)VC++ programming languages OCX controls are developed under VS development environments, main to include based on the measurement under MFC interface development mechanism
The encapsulation of the function such as interface and file read-write, network access, geometric tolerance calculating.Fig. 3 provides for the embodiment of the present invention one
Measure interface schematic diagram.With reference to shown in Fig. 3, measure interface design includes measuring feature object 31, measuring state 32, measurement number
According to modules such as 33, measurement result 34, measurement object graphical displays 35.In the present embodiment, tested part is preferable aerofoil part,
Wherein measurement is characterized in referring to the geometric tolerance for being specifically defined realization for design of part, including symmetry, flatness, circularity, circle
Column degree etc., numerical control process of measurement call corresponding measurement subprogram to perform corresponding measurement and act according to measurement feature.Measure shape
State refers to that digital control system performs the state of measurement, including " do not start to measure, measuring, measuring and terminate " etc..
2)Interface configurations refer to the OCX controls of exploitation are configured to Fagor8065 numbers using interface configurations instrument fguim
In control system, coordinate the digital control system that fguim is provided to carry control and measure interface.Wherein, the OCX controls of configuration,
Its interface content is encapsulated in the development process of the OCX controls.After the completion of interface appearance design, interface behaviour is added on demand
The receptance function of work.
3)Embedded shell script exploitation refers to interface configurations instrument after the completion of interface, for the interface configurations work
The embedded shell script of tool generation is developed, and definition interfaces operate the particular content of receptance function, foundation and digital control system
Communication, on demand call OCX control power functions, realize the logic control to measurement process.
Fig. 4 is the part geometric tolerance on-line measurement side based on digital control system secondary development that the embodiment of the present invention one provides
Process flow schematic diagram is realized in method measurement.Reference Fig. 4,
S1, measure interface opening stage, shell script loading OCX controls, start timer;The entry condition of the timer is
The success of numerical control device loop start;Termination condition meets for measurement end of identification Variable Conditions;The action that timer performs includes:
J, which detects execution state and updates, is shown to measure interface;
K, which reads measurement point point position data and updates, is shown to measure interface;
The execution time of l statistical measurement processes;
M timers will measure numerical control before terminating and be sent to measure interface;
N detects interface buttons message;
Start outside S2, industrial personal computer or measure interface button starts measurement function;When starting measurement function outside industrial personal computer, also need
External load numerical control process of measurement and startup numerical control process of measurement;When measure interface button starts measurement function, measurement module is certainly
Dynamic loading acquiescence process of measurement, after pressing loop start key, numerical control device performs process of measurement.
In the response process of loop start instruction, perform to issue orders:
J detects current pattern measurement subprogram and whether there is;
K reset system variables;
L disables part interface operating function;
During numerical control device performs process of measurement, if measurement subprogram is not present, numerical control device sends alarm, otherwise
Action executing measures by definition;
Measurement point point position is saved in digital control system global variable by S3, detection probe detection when contacting workpiece, storing place
Location P500-P900 is measured rear detection probe and returns to home;
S4, shell script read the value in global variable, and call OCX controls function by field data show on HMI interfaces;
S5, shell script call measurement data analytic function to calculate geometric tolerance, and data result are sent to industrial personal computer;Or
Measure interface manual key measures data analysis, and measurement result will be shown in measure interface;In data analysis process,
It is main to perform to issue orders:
The measurement data that j renewals are submitted;
K calls corresponding algorithmic function;
L feeds back geometric tolerance measurement result;
M is shown to interface and is sent to industrial personal computer;
The part geometric tolerance on-line measurement function of being realized by using this method, obtains in the actual production of aerofoil part
Using, geometric tolerance information has obtained effective preservation in part production process, particularly the depth of parallelism of aerofoil part, straightness,
The geometric tolerances such as verticality have obtained effective verification, and the geometric tolerance measurement result under this method is generally with manually rechecking measurement knot
Fruit has uniformity, illustrates that this method effectively increases the detection efficiency of geometric tolerance really, it is ensured that on-line checking it is correct
Property, data foundation is provided for part production process quality tracing, a kind of effective control is provided for part process quality control
Means processed.
Obviously, those skilled in the art can carry out the present invention essence of various changes and deformation without departing from the present invention
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (7)
1. a kind of part geometric tolerance On-line Measuring Method based on digital control system secondary development, it is characterised in that including following
Step:
S11, OCX control are developed;
S12, utilize interface configurations instrument configuration interface;
S13, the exploitation of embedded shell script, establish the communication with digital control system, while the function of calling OCX controls to encapsulate, right
The geometric tolerance of part carries out analysis calculating;
S14, industrial personal computer start measurement function;
S15, numerical control device perform process of measurement, detection probe measurement part;
Measurement data is stored in digital control system global variable by S16, measurement subprogram, and shell script is according to the complete of pattern measurement
Into situation, call the corresponding algorithmic function of measurement feature in OCX controls to analyze measurement data, obtain part geometric tolerance
And it is stored in local;
S17, display measurement result.
2. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, in S11, by compiling the developing instrument of standard OCX components, is visited in file read-write, network needed for OCX enclosed insides
Ask, geometric tolerance calculates, the specific implementation process of interface function.
3. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, in S12, the control that OCX controls are developed is configured in digital control system by the interface configurations instrument of digital control system, and
The control configuration style and the relatively uniform measure interface of digital control system carried using system.
4. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, the operation of numerical control program, response numerical control device reset operation in S13, is loaded, started to digital control system.
5. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, in S14, control software is based on ethernet communication ICP/IP protocol and digital control system OPC agreements outside industry control generator terminal, far
Cheng Qidong measures function, or at measure interface end, manually boots measurement function.
6. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, in S15, numerically-controlled machine tool performs numerical control program, calls detection probe, the measuring route pin defined according to measurement subprogram
The measurement of characteristic point point position is carried out to part geometric tolerance measurement request.
7. the part geometric tolerance On-line Measuring Method based on digital control system secondary development as claimed in claim 1, its feature
It is, in S17, after the completion of whole pattern measurement process, shell script calls OCX control functions according to demand, and measurement is tied
Fruit shows in measure interface or sends the measurements to industry control generator terminal by OCX control functions and shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711210756.9A CN108000237A (en) | 2017-11-28 | 2017-11-28 | Part geometric tolerance On-line Measuring Method based on digital control system secondary development |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711210756.9A CN108000237A (en) | 2017-11-28 | 2017-11-28 | Part geometric tolerance On-line Measuring Method based on digital control system secondary development |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108000237A true CN108000237A (en) | 2018-05-08 |
Family
ID=62054227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711210756.9A Pending CN108000237A (en) | 2017-11-28 | 2017-11-28 | Part geometric tolerance On-line Measuring Method based on digital control system secondary development |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108000237A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112496863A (en) * | 2020-11-23 | 2021-03-16 | 中国航发沈阳黎明航空发动机有限责任公司 | Automatic measuring method for numerical control machining angle |
CN113157260A (en) * | 2021-04-28 | 2021-07-23 | 西安电子科技大学 | Automatic part quality detection program generation method for CMM |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101342664B (en) * | 2008-08-20 | 2010-11-24 | 天津大学 | An on-machine quality inspection system for complex spatial profiles |
CN101898317B (en) * | 2010-06-10 | 2012-02-01 | 重庆大学 | A virtual CNC machine tool online detection system and method |
CN104503367A (en) * | 2014-12-11 | 2015-04-08 | 常州奥凡威尔智能技术有限公司 | Turbine blade processing and on-line detection system based on numerical control processing device |
US9036497B2 (en) * | 2013-01-07 | 2015-05-19 | Snu R&Db Foundation | Mobile video streaming enhancement in a network coding-capable wireless network |
-
2017
- 2017-11-28 CN CN201711210756.9A patent/CN108000237A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101342664B (en) * | 2008-08-20 | 2010-11-24 | 天津大学 | An on-machine quality inspection system for complex spatial profiles |
CN101898317B (en) * | 2010-06-10 | 2012-02-01 | 重庆大学 | A virtual CNC machine tool online detection system and method |
US9036497B2 (en) * | 2013-01-07 | 2015-05-19 | Snu R&Db Foundation | Mobile video streaming enhancement in a network coding-capable wireless network |
CN104503367A (en) * | 2014-12-11 | 2015-04-08 | 常州奥凡威尔智能技术有限公司 | Turbine blade processing and on-line detection system based on numerical control processing device |
Non-Patent Citations (1)
Title |
---|
衣振国: "数控-测量一体化系统软件开发技术", 《中国优秀硕士学位论文全文数据库工程科技Ⅰ辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112496863A (en) * | 2020-11-23 | 2021-03-16 | 中国航发沈阳黎明航空发动机有限责任公司 | Automatic measuring method for numerical control machining angle |
CN113157260A (en) * | 2021-04-28 | 2021-07-23 | 西安电子科技大学 | Automatic part quality detection program generation method for CMM |
CN113157260B (en) * | 2021-04-28 | 2022-11-22 | 西安电子科技大学 | Automatic part quality detection program generation method for CMM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103391827B (en) | Electric discharge device and electrical discharge machining system | |
CN112817843B (en) | Project management method and system | |
CN108563579A (en) | White-box testing method, apparatus, system and storage medium | |
CN110069404A (en) | Code debugging method, apparatus, equipment and medium | |
CN108000237A (en) | Part geometric tolerance On-line Measuring Method based on digital control system secondary development | |
CN111639002A (en) | Method and system for testing sleep power consumption, computer equipment and storage medium | |
CN115357434A (en) | Complete machine testing method, device to be tested, computer device and storage medium | |
CN101303382A (en) | Semiconductor electrical probe test management system and method | |
CN113364515A (en) | Satellite remote control method, device, equipment and storage medium based on Xstate | |
CN107679423A (en) | Partition integrity inspection method and device | |
CN112530615B (en) | Variable forcing method and system suitable for nuclear power station equipment | |
CN112596651B (en) | Acceptance method, device, equipment and storage medium for power distribution terminal debugging | |
CN113483705A (en) | Automatic detection system and method based on three-coordinate measuring equipment | |
CN110719619B (en) | Network distribution method and device of intelligent equipment and related equipment | |
CN112859762A (en) | Control logic checking method and device, computer equipment and storage medium | |
CN114584498A (en) | Method, device, equipment, system and product for testing power on and power off of gateway equipment | |
CN109960657B (en) | Test environment deployment method and related device | |
CN116299140A (en) | Method for checking automatic assembly line of electric energy meter in full detection mode | |
CN115599438A (en) | Method, device, equipment and medium for constructing application program publishing package | |
CN115495358A (en) | Log automatic test method, device, system and medium | |
CN115271503A (en) | Automatic operation and maintenance method and device, electronic equipment and storage medium | |
CN113608089A (en) | SOA (service oriented architecture) testing method, system and device for switching power supply MOS (metal oxide semiconductor) transistor and readable storage medium | |
CN112010183A (en) | Oil consumption reminding method and device and crane | |
CN107748302B (en) | Automatic test control method for automatic comprehensive detection equipment for electrical accessories of seat | |
CN112650672A (en) | Model testing system, method and device based on Junit |
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: 20180508 |
|
RJ01 | Rejection of invention patent application after publication |