Be based on AutoCAD to have APT language automatic process designing
- Time:
- Click:140
- source:SHERBURNE CNC Machining
IGS) . Use program of IGES file interface (if the graph is shown 1 times) will extract geometrical element, as the foundation that data delivers between CAD and NC. Graph flow chart of program of interface of file of 1 IGES 3 graphs data processing 3.
IGES of of structure of data of file of 1 IGES is a kind of data form that plans by specific file structure, cent of its file structure is ASC Ⅱ format and binary format two kinds. ASC Ⅱ format is a kind of format that faces character, the IGES file of this kind of format is outputted with ASC Ⅱ character, the user can be read directly take. Look from total construction, IGES file by 5 paragraph of composition. It is respectively: Begin paragraph, overall situation paragraph, the element indexes paragraph, parameter data paragraph, end paragraph. File every 80 character. Every paragraphs are like dry travel, 72 character are every the 1st ~ this paragraphs content; The 73rd character is paragraph of this paragraphs code; 80 character are the 74th ~ this paragraphs of every serial number. Paragraph the code is such regulations: Character " B " or " C " show sign paragraph; "S " express to begin paragraph; "G " indicate overall situation paragraph; "D " state the project indexes paragraph; "P " represent parameter data paragraph; "T " express to end paragraph. For example: The parameter data of linear, circular arc paragraph data is: 110, 1.
0, 1, 0, 0.
0, 5, 0, 5.
0, 0.
of of 7P0000004 of of of 0 100, 0.
0, 0.
5, 0.
5, 0.
0, 0.
0, 1.
0, 1.
9P0000005 3 of 0 .
2 files change IGES file to basically be used at the join between AutoCAD and advanced language program, its data configuration cannot satisfy the requirement of NC, must machine processing afresh, the method of processing is the parameter data in IGES file paragraph in extraction geometry element (be like sharp starting point, terminal coordinate, the arc heart coordinate of circular arc, radius, start, terminal coordinate) , elemental sort (the join order that presses an element is arranged) , the APT file that convenient NC machines is made on this foundation. The transition technological process of graphical file is shown 2 times like the graph. Graph the changeover flow chart of 2 graphs file 3.
The parameter of craft of affirmatory NC of parameter of craft of 3 NC inputs the computer with man-machine interaction means. Reading the geometry that takes TXT file a future life to become APT source program to define statement of exercise of statement, cutting tool while, law, right to the knife the parameter of knife dot, tolerance, cutting tool, a few parameter such as machine tool instruction are inputted with man-machine interaction means. Create the source program that accords with APT language finally. 4 application example pursues 3 part drawing pursue 3 those who be one model is linear, circular arc spare parts, in this spare parts, have already linear, be linked together point-blank, have again linear, circular arc is linked together, have circular arc again, be linked together point-blank. The source program of spare parts APT that uses this system to generate automatically is as follows: INTOL/0 of of of of of of CLPRNT of of of of of of MACHIN/2 of of of of of PARTNO/TESTPART .
of of of of 01 OUTTOL/0.
CUTTER/12L1=LINE/-269 of of of of of 01 .
641022, 0.
000000, 35.
000000, 0.
000000, 0.
000000, 35.
000000L2=LINE/0.
000000, 0.
000000, 35.
000000, - 0.
000000, 100.
000000, 35.
000000L3=LINE/0.
000000, 100.
000000, 35.
0000, - 235.
000000, 60.
000000, 35.
000000C4=CIRCLE/-235.
000000, 20.
000000, 35.
000000, 40.
000000SETPT=POINT/-320.
000000, - 75.
000000, 0.
000000PT=POINT/-320.
000000, 0.
000000, 0.
000000FEDRAT/50SPINDL/900, CLWFROM/SETPTINDIRP/PTGO/TO, l1COOLNT/FLOODTLRGT, GORGT/L1, PAST, l2GOLEF/L2, PAST, l3GOLEF/L3, TANTO, c4GOLFT/C4, PAST, l1SPINDL/OFFCOOLNT/OFFFEDRAT/200GOTO/-320.
000000, - 75.
000000, 0.
000000GOTO/SETPTPRINT/3, ALLSTOPFINI analyses above APT source program to be able to see the just the same that writes with artificial book. Use the system that the article weaves, use create APT source program automatically with the form of man-machine interaction, improved process designing efficiency greatly, reduced a mistake. 5 conclusion the article designs part drawing form below AutoCAD environment. Regard data as interface with IGES file, regard changeover as means with data file, developed the CNC Machining that creates APT source program automatically to assist process designing system with C language, realized the join of CAD and NC, raised process designing efficiency and accuracy. Systems of other to development CAD / CAM have extensive applied value. CNC Milling CNC Machining