Numerical control technology uses medium a few experience

  • Time:
  • Click:119
  • source:WILK CNC Machining
Introduced to measure accuse the analysis with object-oriented software, of the dynamic link library build the programming with user interface. Numerical control technology regards future as one of core content of advanced production technology, opening forward change, network, flexible change and intelligence changes directional development, the design of product of numerical control equipment is made and application development shows the module pattern that is based on open interface standard increasingly. The human nature in be based on the systematic compose of module and component to build strategy to be able to reflect products plan to make a process more changes a mind, each module is a technical product form that has field of specific aim application, it is principle of this domain technology, applied plan and the synthesis that implement a form show, it is the specific application that its issue in CNC Machining environment, the demand of the requirement that its design concept and function index to reflect CNC Machining skill and market application, these product component that reflect architect individuation adequately pass open standard interface form to be united in wedlock organicly, comprised a function to abound the product of numerical control equipment with perfect function. By region analysis and object-oriented design ★ region analyses the analytics that consider region is the main component that software develops, the purpose is the composition that makes develop personnel to understand problem space, build roughly the system realizes an environment. The analysis that consider region is the process of a kind of study actually, development staff is in this phase, answer to understand the concerned knowledge of current system project and application as far as possible, should open thinking, relax ponder over a domain, mark to concern a concept with application as far as possible, through discussing adequately of expert and user with the domain, define problem field, it is a standard with user demand, cut problem mentions region information content, the label gives basic idea of the system: Object and kind, method, relation, enter object-oriented design process thereby. The design process with the object-oriented design with object-oriented ★ can divide for 4 component: Problem domain, user interface, task management, data manages. The design of problem domain part is pair of analysises that consider region actually is farther refine, it includes to join low layer member, theory inside the country kind of relevant correlation rise and build kind an agreement, determine successive impact. The design of user interface part includes a design to command layer, design is interactive kind, answer to undertake designing according to graphical user interface. The design of task government share includes to identify incident drive task, identify first job and identify crucial task, how is the work coordinated between each tasks certainly, how to correspond. The design of data government share includes data to deposit a design (the file is deposited, database form is deposited, object-oriented database is deposited) operate accordingly with the design (the boy or girl friend that needs memory for every and kind add the property that is used at storage tube manage and operation) . Develop personnel as software, answer in phase of the analysis that consider region and the staff study, analysis, discussion that discuss relevant knowledge and undertakes with the user interface, data management and forms for reporting statistics create a field, what afore-mentioned respects undertake is more sufficient, more advantageous to the following development, to shortening software development cycle has profit more. ★ dynamic link library (of DLL) building a dynamic link library is a kind of program module that is based on Windows, it can be loaded when the program moves and join, make applied process unapt appear very giant and complex. The program module of Windows, it can be loaded when the program moves and join, make applied process unapt appear very giant and complex. Of ★ MFC groovy dynamic link library build as measure accuse software to want to write computer interface program not only, and still have write data processing program, the frequency that these programs call is taller, appropriate is used as library function, come so only a code backs up in memory, and can be shared by many tasks at the same time. Computer interface program should include timer, D/A and A/D changeover, switch to measure program of the input output, communication that string together a mouth to wait according to need, it is general purpose program to assure these programs, should design initialization program commonly. In initialization program, should finish each buccal addresses deliver, use a program in order to facilitate call. For example: IntgetAD (int ICH) , change the value of ICH of A/D passageway date, of attainable different sensor change a value: VoidsetDA (inti CH, int INum) , can be worth D/A changeover INum to send ICH passageway changeover. Data processing program includes one dimension discrete data is handled and multidimensional discrete data processing, go to the lavatory to use, the belt of primitive data is entered should use index, computational control parameter also is indispensable. Seek Jie Erwei discrete data for example (*pX, *the value of PY)X and Y, expression uses when foregone X is worth: Y=getY(double*pX, double*pY, int*pPointNum, it uses DoubleX) the way that multinomial imitates to close seeks solution; Use expression X=getY(double *pY when foregone Y is worth, double*pX, int * PPoint Num, doubl EY) seeks solution. If much dimension gets occupy in using a program, want to know random concerns between 2 dimension data, with it computation processes data very convenient also, additionally section plans to add up to data to use it also is possible. Commonly used small order also is the basic content of the dynamic link library, exemple if data shows, data type changeover, sort, beg extreme value to wait. Attention, every involves data to input output to all use pressing with a finger to be beautiful. Be like: Void Find-MaxMin(dou Ble *pX, double*dMax, of patulous dynamic link library of MFC of Double*dMin) ★ build use MFC patulous dynamic link library, can be conveniently between DLL and applied process optional ground delivers MFC object finger. Oneself ever used it to build documentation to handle kind, test of systematic natural resources kind, be measured kind (be measured 1 times commonly build 1 kind) . Documentation handles kind of access that basically is used at intermediate data and result, of intermediate data save use at reproducing the history to check a curve, between it and applied process of data deliver index of construction of use result data, the definition of result data structure should have versatility, such documentation are handled kind can undertake handling in the light of result data structure, do not need to be measured specific data, applied process needs to endow with particular significance when initialization only. Be measured kind the basis is measured of a type how many can have a certain number of, every are measured should write according to experiment outline and technical condition a certain number of attribute and method (check module namely, if adjust, test extreme value) , process of the test when writing test module should undertake continuously, intermediate data should be done withhold appropriately, handle in order to have process reproduction is mixed as a result with. Systematic natural resources checks kind measuring interface of try out ★ to check interface for interface is the terminal that information changes between soft hardware, hardware information passes software through it, software instruction passes hardware through it, whether does interface checks even if exchange of information of test soft hardware accord with a design to ask, use systematic natural resources to check kind of design interface to check an interface, can undertake interface checks, also can undertake hardware and software at the same time debug, interface test interface should include enough much content, it can observe: The changeover circumstance of AD passageway sensor; DA passageway sends turn the changeover circumstance of the value; Whether does DI passageway have exterior signal input; Whether does DO passageway control a set or to clear to each (be like electromagnetism a powerful person / break, of electric machinery start / stop, of hydraulic pump start / stop) ; The moving circumstance of timer (basically measure with what wait for frequency signal at discharge) . Check through afore-mentioned systematic natural resources, the circumstance works partly related knowable path hardware, meanwhile, also undertook software the test of relevant section, laid good foundation to apply a program to be debugged successfully. The design of user interface user interface should solve ★ as follows problem: Operate should simple, can complete all test project, can right data (contain historical data) have documentation government (open, save, print etc) , indication test result. Multi-line Cheng should be used when programming, the number between line Cheng first step and line Cheng should make survey according to delivering, after applied process enters test interface, build the two lines Cheng with first highest step above all: Accuse update in time; Dog to endangering the data of safety monitoring make timely response (if pressure is exorbitant,should stop pump, power worth should be uninstalled greatly too) . Cheng Yinghe user interface establishs line of these two jobs together and stop. User operation answers line Cheng to should coordinate schedule build together, send the test as a result show, the measure that working line Cheng establishs shoulds not be much, the response that affects a program otherwise speed. Use Windo Ws timer the job of achievable also time newer data. The number between each line Cheng should use global variable means to undertake according to delivering, if somewhere pressure value uses Pre Ss to express, press updates line Cheng ceaselessly by data, the size of surveillant Press of Cheng of data monitoring line, the interface accuses a data to be updated with Press, value of pressure of the place when the test also is replaced with Press. ★ sensor desired result presses plant provision, sensor should annual desired result, mix for convenient desired result modification coefficient, program of sensor desired result is indispensable, should have designed interface of convenient and practical program of sensor desired result, each sensor coefficient should be saved with binary file form, do good backup. A few when oneself use afore-mentioned structures to develop are measured accuse software to be being concerned manufacturer is used, the result is favorable. CNC Milling