Parameter of machine tool clamping apparatus changes component graph library and its system

  • Time:
  • Click:137
  • source:XIMENG CNC Machining
Summary: Introduced to be below environment of AutoCAD For Windows, one kind is based on client computer / the method that the parameter of machine tool clamping apparatus of server mode changes component to design. Studied parameter changes the method of component design and database of SQL Server of operation of use C++ language. Auxiliary to the computer clamping apparatus designs a system (the research development of CAFD) , library of graph of component of machine tool clamping apparatus has important place in the system. The graphical library of these component on the tradition is hanged on CAD graph software, this can be only on the archetypal system with component less amount application. Current systems of all sorts of machine tool clamping apparatus have the component with norms very much amount, if special fixture belonged to amount of the breed of the component of GB, norms to attain the scale of tens of thousands of, plus groovy department built up fixture, aperture fastens the component of the dynamical source such as hydraulic pressure of built up fixture, pneumatic and general clamping apparatus, its amount is quite considerable; Be opposite next for CAFD system, library of graph of clamping apparatus component should be an independent part, so that CAFD system retrieves, call; Again parameter changes technical maturity, the warehouse of graph of clamping apparatus component that builds based parameter to change is had can simplify the graph stores, modification structure design and decrease store the advantage such as the space. For this, we considered to develop be based on client computer / the parameter of machine tool clamping apparatus of server mode changes component graph library and its system, in order to satisfies afore-mentioned requirement. The affirmatory client computer of 1 design program / the resource that so that share network environment to fall,server architecture installs a network as more and more branches, object-oriented method and architecture of client computer server times accept favour. Structure of server of client computer factory includes join the much station computer in a network. The computer of those processing application processes calls client computer, and the computer that backstage handles a database to serve centrally calls a server. Below database environment, client computer and server pass a certain number of calling among interface undertakes programming communication. The function of client computer includes to administer user port, accept data, processing application from the user request of database of program, generation, send a database to the server request and receive a result to wait from the server. The function of the server includes to accept a database from client computer request, processing database request, change result pattern and convey to be checked to client computer, executive integrality, offer collateral visit control and optimize inquire and update processing to wait. System this parameter changes plan of soft, hardware system of design of component graph library uses client computer / server architecture, the system moves environmental setting to be as follows: Hardware environment server of high-grade personal computer of an IBM PC Server, 2 to several client computer (P Ⅱ 450, 64M memory, 10.

) of 4G hard disk. Operating system of software environment server is Windows NT4.

0 operating systems, client computer operating system is Windows NT4.

0 operating systems, Windows 98 operating system, TCP/IP of part of agreement of network of server, client computer, database management system is Microsoft SQL Server 6.

5, process of client computer application develops a tool to be Visual C++ 6.

0, autoCAD R14. Graph parameter of program of 1 overall design converts component graph warehouse overall design frame is in this system, data deposits each parameter of component of machine tool clamping apparatus to be carried in the server. With C++ language parameter of component of clamping apparatus of machine tool of work out scale changes graphical course, read the field value in taking server database through interface program, the user can revise field cost interactively, be worth gotten field the plot function in passing a program as dimension parameter, plot has in AutoCAD environment, parameter of component of clamping apparatus of implementation machine tool changes a design. Overall design program sees the graph is shown 1 times. When design of structure of database of 2 databases design is using MicrosoftS QLS Erver to design database structure, every component correspondence expresses machine tool clamping apparatus. Because dimension catenary exists to concern between parameter of spare parts dimension, the wrong meeting of the generation when user input joins numerical value causes plot error, we solve this problem through setting effectiveness regulation. When the ginseng numerical value that loses a person when the user does not accord with dimension catenary to concern, play a mistake of dialog box clew namely. This makes database operation interface has particular error correction function. The database operates an interface to design Microsoft Visual C++ 6.

0 have function of powerful visible process designing, because this can use its to weave the database operates an interface, the inquiry that completes data logging conveniently, add, delete and revise wait for a function. The programming of C++ language interface that 3 parameter change the database in plot AutoCAD began to offer the interface ASI(AutoCAD SQL Interface) with exterior database from 12 version, language of SQL(Structured Query Language) compositive to AutoCAD, in AutoCAD interior can realize the data switch with exterior database. ADS ASI is comprised by function of a group of giant C language library, driver of the need when carrying out supports, and as version upgrade ASI function did very big modification, these weighed the burden of developer substantially greatly, be pair of different environments solely got used to the job to spend a large number of time, lengthened software development cycle. ObjectARX is a kind of when be based on AutoCAD R14 new process designing environment, it offerred the object-oriented development environment that is a foundation with C++ and port, really can just ground connection visits database of AutoCAD R14 graph. Environment of ObjectARX process designing offerred a few to use kind of convenient warehouse except oneself outside, still can use MFC kind the library will weave rich Windows style interface. ARX links a library with trends (the form of DLL) and AutoCAD share address space, transfer AutoCAD core function directly, can visit AutoCAD database directly. Compare with ADS and AutoLISP photograph, ARX application process moves faster and stable. The author is using Visual C++ 6.

0 written ObjectARX application realize database join in the program. Below with machine tool clamping apparatus A of commonly used spare parts flat pressing plate is changed for exemple introduction parameter Visual C++ 6 is used in plot.

0 operand occupy the method of the library. Pass ODBC join database. The open mode that ODBC(Open DatabaseConnectivity) is Microsofts Windows serves architecture database part, it is an unified interfacial level that is used at visitting a variety of databases. ODBC is actual it is library of visit of a database, but the applied process port that offers to unite only (API) . Use ODBC to be able to avoid application to the program follows the change of the database and be changed so. ODBC passes service data library the independence that driver gains a database, the person that the standard port that driver place offers allows to apply program developer and driver to offer is applying data is transmitted between program and data source. Through Windows 98 Control Panel medium ODBC can join this parameter changes what design system place uses to build the database of component of machine tool clamping apparatus in the server. The each watch in corresponding database, the record volume that from Crecordset derive an application process appoints kind. Open a database and establish target of one record volume, the Open member function that transfers record volume opens record market, next function of reoccupy Requery member rebuilds volume of a record. All records that amass this record keep a person in array of one structure style. Graph the each watch in database of correspondence of dialog box of control of 2 component parameter, increase resource of one dialog box from inside resource and the dialog box that from CDialog derive an application process appoints kind. In the dialog box, according to expressing medium field number decides to edit casing (the amount of EditBox) , static text casing (the field name in the caption of StaticText) and database is same. Spare parts parameter controls a dialog box to see the graph is shown 2 times. In regarding acquiescent value as to show to the dialog box each edit casing the first record that records concentration. Two pushbutton that the user can carry dialog box right (a record and a record) the record with right choice, also can be defeated by a person to record bugle call in editing casing directly, get what wanting a record, show in editing casing each. The user can edit the ginseng numerical value in casing to undertake editing modification to each, after the pushbutton that press OK, check each parameter value to whether accord with dimension catenary relation above all, if accord with, the value in editing each casing transfers plot function as dimension parameter value in; Otherwise, play a mistake of dialog box clew. 4 epilogue are based on client computer / the parameter of machine tool clamping apparatus of server mode converts component graph warehouse, not only the size is large, use on the safe side, moving stability, and the CAFD system that can install all sorts of types on client computer, facilitate in the network the environment falls, much person designs fixture at the same time, satisfied the CAFD system requirement to component graph library. At the same time the framework of the graphical database of this kind of structure, also can use at of all kinds machinery, all sorts of computers that include a machine tool inside assist the graphical database of mechanical design, reason has certain common sense. CNC Milling CNC Machining