The design method of a kind of configuration tool software below Auto CAD
- Time:
- Click:72
- source:AYOR CNC Machining
1 function piece of graphical library build functional piece to control algorithmic module namely, it includes norms parameter to input output with operation result. The graph of functional piece changes a design to state functional piece namely with the graphic symbol that takes property. Graph 1 for multiplier, among them S1, S2 is address norms parameter, express the address of multiplicand and multiplicator respectively, s3 is data norms parameter, show gain. Graph 1 (see coping) functional piece (multiplier) graphic symbol 2.
The graph that 2 configuration pursue hands in those who change a file to get call functional piece according to controlling a demand above all, allocate output address for its, fill in data norms parameter is worth (or take default to be worth) , again right functional piece has logistic link, completed the design that configuration pursues. Use the DXFOUT function of AutoCAD, the figure that can get afore-mentioned configuration pursue exchanges a document. 2.
The in generating configuration to pursue substance of file of 3 configuration database but reduce: Dot, line, function piece 3 kinds. For this, design structure of 3 kinds of data above all, store respectively afore-mentioned hypostatic graph information that get from inside graphical exchange file and configuration information. (The of of of of of data structure Structpoint{floatx; that 1) nods (X coordinate) of of of of of of Floaty; (Y coordinate) Intblk; (Attribute is worth) of of Structpoint * Next; (the finger that points to a dot) } ; The dot in AutoCAD defined horizontal, ordinate only, they can reflect the graphical feature of the dot only. But, should nod with when the output of functional piece is linked together, had configuration feature at this o'clock at the same time, for this, we introduce property value to come the definition that augment nods. The property that uses a site is worth a concept, we solved what parameter of functional piece address norms is worth successfully to hand an issue. In the meantime, use the uniqueness of bit of property value, preliminary the logistic problem sentencing a fault that solved configuration. (The structure is opposite the data of 2) line to be mixed point-blank broken line, can use the centralized structure that nod catenary to describe, namely of of of of Structptline{structpoint * Pt; (the finger that points to line start) function of Structptline * Next;};(3) piece the norms parameter measure that data structure considers functional piece and meaning each different, we define two structures to depict its graph character and configuration character respectively. Among them, the graphical character of functional piece is stated for Structfc, List{structpoint * Pt;structfc, Rec * Fc, Desc;structfc, List * Last, * Next;}; function piece configuration character is stated for Structfc, Rec{charstart, Blk[4] ; (Output begins a number) Charend, Blk[4] ; (Output ends a date) Charf, Code[3] ; (Functional piece date) Charsheet[2] ; (Of parameter of case of functional slip gauge actual a number) CharS1[12] ; (The description of norms parameter S1) ... CharS40[12] ; (The description of norms parameter S40) } ; In graphical exchange file, take property piece it is a mark with INSERT, it is subsequently its piece name, insert bit of coordinate and property value, whether can be functional piece according to what this judgement inserts, if, nod coordinate according to inserting, computational piece outputs the coordinate of dot and dot of norms parameter input, burn finger with its according to first functional piece output, hind the order that norms parameter inputs forms a linear to nod catenary, read respectively take each property take a cost (output parameter of a date, norms namely S1, s2, ... value) wait, stock the corresponding structure that states character of functional piece configuration; Otherwise, cross this to insert piece, do not grant to handle. Scanning is whole the graph exchanges a document, the graphical information that reachs dot, line functional piece and configuration information fill corresponding data structure automatically, the place chain that gets midpoint, line, function piece is comprised parting pointing to be pursueinged by configuration, line catenary is mixed the finger of functional piece catenary, the join that pursues medium in configuration according to them again concerns, can decide each the extraction of parameter of the address of functional piece norms is worth, finish pursue by configuration to configuration database file change, generate configuration to control a word. 3 conclusion this shows, want a picture to give control block diagram only, with respect to what can offer from us library of functional piece graph is chosen take corresponding function piece (or the function with proper motion new definition piece) , on AutoCAD system platform, of parameter of the normative join that passes functional piece and data norms fill in, form the configuration plan that controls a system, make configuration database file then () of configuration control word, the graph that finish changes configuration. Control this word remove theatrical makeup and costume, have the aid of finishs the monitoring program of a machine, the control that can realize configuration plan institute to describe is politic, to be being accused the object carries out control. CNC Milling