Detect on numerical control machine tool form tolerancepublic errand is automatic and corrective the method of workpiece
- Time:
- Click:39
- source:BAGANZ CNC Machining
Sinopec Corp.
Jingzhou Hubei, 434024, china) [Keywords] Tolerance Of Form And Position; Detecting; Machine tool of numerical control of foreword of The Edge Finder is measured with 3 coordinate machine the automation that all is Electromechanical unifinication is mechanical, numerical control machine tool is the linage that be entered by treatment object the word changes processing, use digital information to undertake controlling next, process an eligible product thereby. And 3 coordinate measure machine criterion is to be on the product that already had processed, use measure head and workpiece surface contact so that the coordinate of a series of dots is worth, calculate then a dimension, form the error is worth measure equipment, numerical control machine tool is measured with 3 coordinate machine all be the function of mobile implementation oneself that uses reference axis. Be based on this altogether to be nodded together, this method is not changing CNC of numerical control machine tool to control systematic condition to fall, numerical control machine tool original function tries to expand, work measure and form are measured on numerical control machine tool through grand program implementation the multinomial function such as tolerancepublic errand. 1 hardware part seeks an edge implement on the basic function that measures a head is spark and aim at. The cent that measure a head is type of mechanical, photoelectricity, electric type 3 kinds. Measure the stand or fall of head function, those who deciding to measure way is difficult the easy, discretion that measures precision. The hard line with the very wide application that chooses our country production this joins photoelectricity type measures a head, it belongs to contact to measure a head, for general-purpose ball head measures a head, diameter 6 millimeter, can determine height, chamfer wide, aperture and outline appearance. 2 software part 2.
1The grand program in SIEMENS system; %_N_WORKPIECE ZERO AUTO SET_MPF (main program name) ; $PATH=/_N_MPF_DIRIF R20<=0 GOTOF _LIF R20>4 GOTOF ERRORAAA:R20=R20CASE R20 OF 1 GOTOF _A 2 GOTOF _AA 3 GOTOF _B 4 GOTOF _BB DEFAULT GOTOF _E_A: R[R20]=$AA_IM[X] records the cost that coordinate of machine tool of current X axis ties, the R1 that its defend way of axis of X of user of clew of the MSG("RECORD R" <<R20<<" POINT X AXIS AND THEN PRESS BUTTON [RESET]") in be being put in variable R1 as a result nods coordinate to had been recorded, press restoration bolts R20=R20+1M0_AA: R[R20]=$AA_IM[X] records the cost that coordinate of machine tool of current X axis ties, the R2 that defends way of axis of X of user of clew of the MSG("RECORD R" <<R20<<" POINT X AXIS AND THEN PRESS BUTTON [RESET] ") in be being put in variable R2 as a result nods coordinate to had been recorded, press restoration bolts M0R20=R20+1 M0_B: R[R20]=$AA_IM[Y] records the cost that coordinate of machine tool of current Y axis ties, the R3 that its defend way of axis of Y of user of clew of the MSG("RECORD R"<<R20<<" POINT Y AXIS AND THEN PRESS BUTTON [RESET]") in be being put in variable R3 as a result nods coordinate to had been recorded, press restoration bolts R20=R20+1M0 _BB: R[R20]=$AA_IM[Y] records coordinate of machine tool of current Y axis to tie medium cost, the R4 that its defend way of axis of Y of user of clew of the MSG("RECORD R"<<R20<<" POINT Y AXIS THEN PRESS CYCLE START ") in be being put in variable R4 as a result nods coordinate to had been recorded, start key R20=R20+1M0_E:R by the loopThe $P_UIFR[1 of Y axis coordinate of the center of work of computation of R16=(R3+R4)/2; of X axis coordinate of center of work of 15=(R1+R2)/2; computation, x, TR]=R15; State the X axis coordinate product center inputs G54 to slanted at 0 o'clock in buy; If the 1 delegate G54; in expression is necessary can instead 2 (wait $P_UIFR[1 a moment on behalf of G55) , y, TR]=R16; Express what the Y axis coordinate product center inputs G54 to slanted at 0 o'clock in buy, if the 1 delegate G54; in expression is necessary can instead 2 (wait R14=2*SQRT(POT(R1-R15)+POT(R3-R16))+6; R17=ABS(R2-R1)-6 R18=ABS(R4-R3)-6 a moment on behalf of G55) ; The numerical value in noticing these 3 expression " 6 " the delegate seeks an edge implement the diameter that measures a head. The diameter that MSG("D="<<R14<<" L="<<R17<<" W="<<R18<<"") shows work on Control Panel (dimension of length, width) M0GOTOF END_L: R20=1GOTOB AAAERROR: MSG(" FIRST ENTER PART NUMBER 0 OR 1 TO &R20 " ) the value that; hints the user revises variable R20, above all will numeric 0 or 1 in filling variable R20. END:MProgram of M30 of cleared and all information ends SG() and return program begin 2.
2The grand program O0999 in FANUC system (grand program name) N1 #1 =54.
0 (chooses coordinate to fasten G54) #2 =0.
1 (ply of feet of a place of strategic importance) if ply of feet of a place of strategic importance is more than 1mm,can change IF [#2 LT 0] GOTO2IF [#2 GT 1] GOTO2 (of this numerical value according to actual condition, be less than 0mm criterion program to jump turn to N2, show on face plate call the police information) G54 of choice of IF [#1 EQ 54] GOTO54 (slanted at 0 o'clock buy) G55 of choice of IF [#1 EQ 55] GOTO55 (slanted at 0 o'clock buy) #3000 =1(YOU INPUT ERR, machine tool of INPUT 54-55) (calls the police) N2#3000=2(YOU INPUT ERR, INPUT 0.
0-1.
0) (machine tool calls the police: Clew inputs a mistake, input 0-1 of correct ply of feet of a place of strategic importance please.
0)N54 M3S60 (changeover uses position to the hand, make the same score product of directional delay slow shift along water, till seek an edge implement go up measure a head just with hole wall (or workpiece edge) contact, seek an edge right now implement the indicator light that go up can give off light; ) of of M0#501 =#5021 (read the machine tool coordinate that takes place of the X1 on current X direction to be worth; ) of of of of M00 (changeover uses position to the hand, the main shaft that start rotates, make the same score product of directional delay slow shift in water only, till seek an edge implement go up measure a head to just be contacted with hole wall, indicator light is bright; ) of #502 =#5021 (read the machine tool coordinate that takes place of the X2 on current X direction to be worth; ) the coordinate of center of direction of X of workpiece of computation of #503 =[#501+#502]/2 (; ) of of of #801 =#5221 (record G54 0 slant the center of direction of the X in the area; ) #5221 =#503 (assign coordinate of X direction center G54 0 slant in the area; ) of of of M00 (if workpiece is of the circle, not mobile machine tool; If workpiece is rectangular, change to the hand to use position, the main shaft that start rotates; In product of upend direction shift, till seek an edge implement those who go up measure a head to just be contacted with workpiece sidewall, if the graph shows the place that Y1 chooses 2 times; ) #504 =#5022 (read the machine tool coordinate that takes place of Y1 of current Y direction; ) of of of of of M00 (be in only upend direction is slow and mobile product, till seek an edge implement go up measure a head just with hole wall (or workpiece edge) contact (horizontal way is not moved) , ) ;#505=#5022 (read the machine tool coordinate that takes place of Y2 of current Y direction; ) the center of direction of Y of workpiece of computation of #506 =[#504+#505]/2 (; ) of #802 =#5222 (record G54 0 slant the center of axis of the Y in the area; ) of of of #5222 =#506 (setting G54 0 slant the center of axis of the Y in the area; ) of of of of of M00 (time-out, changeover uses position to the hand, get off seek an edge implement, load cutting tool main shaft, the place that mobile cutting tool reachs to just be contacted with feet of a place of strategic importance; Preparation measures null of axis of Z of this cutting tool; ) of of of #508 =#5023 (read take coordinate of machine tool of current Z direction; ) null of axis of Z of computation of #509 =#508-#2-#[11000+#4120] (; ) (note: #4120 is date of the cutting tool on current main shaft, #11001, #11002, #11003.
.
.
.
.
.
Ordinal the cutting tool length that is a knife compensates a value, 3 2 knives, knives.
.
.
.
.
.
, the value is, be like cutting tool to amend memory form is B kind, criterion systematic variable begins from #2001, at the same time here 11000 can of of of instead 2000)#803 =#5223 (record current G54 0 slant of axis of the Z in the area at 0 o'clock; ) of of #5223 =#509 (install current G54 0 slant of axis of the Z in the area at 0 o'clock; ) M00#510=2*SQRT[[#5021-#5221]*[#5021-#5221]+[#5022-#5222]*[#5022-#5222]]+ 6 (dimension of computational workpiece diameter; ) #511=ABS[#502-#501]-6 (dimension of computational workpiece length; ) #512=ABS[#505-#504]-6 (dimension of computational workpiece width; ) the numerical value in noticing expression " 6 " the delegate seeks an edge implement the diameter that measures a head. N100 #3006=1(D=#510 L=#511 W=#512) (workpiece diameter shows on Control Panel (length, width) the variable name of respective place correspondence) GOTO 200M00N55 M3S60M00(G55 X POS AUTO SET) (the program of the following G55 and above identical, already omited; ) the academic basis that N200 M30 program ends 3 projects 3.
Coordinate was the A B on 1 hypothesis reference axis respectively at 2 o'clock (XA, YA, ZA) (XB, YB, ZB) , the standard equation that reachs a circle according to formula of computation of the between 2 o'clock distance on reference axis, midpoint (among them coordinate of dot of O of the centre of a circle is (A, b) , the radius measure that radius can get a circle for R) and A B the distance between 2 o'clock, among them ZB of – of X=xA - XB;y=yA - YB;z=zA, the coordinate of midpoint is gotten subsequently. 3.
The 2 figure that if want,check a product reach positional public errand, the principle of the basis is the smallest condition and least square method. Use the rally that disperse sampling data kindles namely, will certain maths model undertakes computational metrical the process of the result in order to obtain. Because apply the value that this measurement technique measures to all be the coordinate that disperse of surface of a few element nods, because this wants to measure the geometrical element error that gives need to be worth, undertake corresponding mathematical derivation even. To form the measurement of the error, need to use a few measurement point that increase workpiece to go up only, the linearity that can finish a product, circularity, coaxial is spent etc detect project. Measure precision to be able to be achieved 0.
003 millimeter, groovier detect more accurate. Pursue with measuring below 1 in the linearity of aperture axes is exemple do brief specification: (process of derivation of equation omits) formulary (1) this linear equation melt into general pattern: Ax + B - Y = 0 is formulary (2) next, get each measurement point to arrive the distance of line of this least square: D =(axi - Yi + B)/ is formulary (3) set wait for the linearity that surveying tolerancepublic errand project is aperture axes, tolerancepublic errand is be less than 0.
005mm. Differentiate aperture edge axial first for N sectional (this exemple takes N = 4) , measure each sectional on the surface inside aperture the coordinate that goes up to be nodded 3 times arbitrarily (see next tables) , according to mathematical theorem: Be absent same a straight on-line is affirmatory at 3 o'clock a circle, can get the aperture center coordinate of each sectional round correspondence, this N the coordinate Xi of aperture center, Yi generation enters type formula (1) , plan to add up to least square linear Y = Ax + B, the coordinate generation that nods each the centre of a circle again enters type (3) , the center that can seek an each opening is apart from point-blank to this; Error value is 2dmax. The watch seeks an edge implement measure aperture inside 4 sectional on the coordinate 3 o'clock is worth random Normal Align=left>normal Align=center> Normal Align=center> at 2 o'clock coordinate at 3 o'clock coordinate Normal Align=left> the 1st sectional Normal Align=left>(-6.
096, 24.
249)normal Align=left>(22.
578, 10.
784)normal Align=left>(12.
465, - 21.
678)normal Align=left> the 2nd sectional Normal Align=left> (23.
99, - 7.
346) Normal Align=left>(20.
880, 13.
749)normal Align=left> (- 23.
388, 8.
859)normal Align=left> the 3rd sectional Normal Align=left>(5.
675, 24.
341)normal Align=left>(-24.
71, - 3.
748)normal Align=left>(23.
78, - 7.
699)normal Align=left> the 4th sectional Normal Align=left>(-12.
55, 21.
611)normal Align=left>(-6.
82, - 24.
059)normal Align=left>(23.
699, 7.
This is 911) the linearity error of the aperture on aleatoric direction: = 2dmax = 0 of computational result Δ .
0082mm. The public errand that this numerical value is more than set is worth 0.
005mm, should detect accordingly the project is unqualified. Graph 1 graph 2 circles workpiece pursues 3 rectangular workpiece pursue 2, graph 3 in outline of workpiece of delegate of red wide solid line, delegate of circle of roundlet of black fine solid line seeks an edge implement on the different position that measures a head. Regard X axis as direction with horizontal way, regard coordinate of set of Y axis direction as the department with upend direction. According to the specification in grand program, will seek an edge first implement load main shaft, make main shaft low speed (take 60-80 to turn commonly / minute) rotate, change to JOG means next, find the coordinate that X1 nods, next ordinal it is X2 dot, y1 dot, y2 dot, the position that notices rectangular workpiece and circular workpiece are nodded in Y1 has distinction on the choice (the place that be like a graph is shown) , the others operation is identical, can be in 20 seconds in make a system self-recording and slanted at 0 o'clock in what appoint place area (G54 or G55) in input workpiece (axis of X, Y) of center coordinate and Z axis at 0 o'clock, if be the machine tool of FANUC system, the diameter that can show circular work (the length with rectangular workpiece, width) the parameter date of place correspondence: #510, #511, #512, the numerical value of these variable correspondence protects existence OFFSET interface to fall. The function is pressed first when examining [OFFSET SETTING] key, press continue dish single bond, press again paragraphic choice soft key [MACRO] (grand) ; Reach soft key with key turning over a page or numeric key [NO.
SRH] (NO.
Search) choice parameter date, can indicate the particular numerical value of correspondence of each parameter place. If be to be on the machine tool of SIEMENS system, can go up in Control Panel directly the diameter that shows circular work (the length with rectangular workpiece, width) dimension. 4 last words check through the use of period of time, this method was satisfied completely be machined actually and detect the need of the process, can detect immediately product coaxial is spent, the project such as linearity, discharged have a change of luck to have detected time and cost to 3 coordinate measuring instrument, body is revealed more apparent efficient sex, practical with stability. Nevertheless, afore-mentioned methods still have a lot of inadequacy; Here offers a bit experience of the individual only, inappropriate place still asks each expert criticism, point out mistakes so that they can be corrected. CNC Milling