测量钣金零件的过程中,频繁的弹跳可能导致故障。在执行正确编程的程序时,并未在金属板二分之一厚度处精确测量边界点、圆、矩形和槽等元素。在一些极端情况下,测量点可能丢失或发生冲突。
相对参照平面测量这些元素可以解决这一问题。
相对参照平面,在测量时定义了测头半径补偿方向
DMISMN/'Created by [爱科腾瑞(CNC).12.9] on 星期四, 十一月 03, 2016', 4.0
UNITS/MM, ANGDEC
WKPLAN/XYPLAN
PRCOMP/ON
TECOMP/ON
FLY/1.0
MODE/PROG, MAN
SNSET/APPRCH, 2.000000
SNSET/RETRCT, 2.000000
SNSET/DEPTH, 0.000000
SNSET/SEARCH, 10.000000
SNSET/CLRSRF, 20.000000
RECALL/D(MCS)
SNSLCT/S(ROOTSN1)
GEOALG/CIRCLE, LSTSQR
GEOALG/ARC, LSTSQR
GEOALG/PLANE, LSTSQR
$$
$$
MODE/MAN
F(PLN1) = FEAT/PLANE,CART, -10.468740, -13.405233, 0.000000, 0.000000,$
0.000000, 1.000000
$$ Measurement points are created through actual points
MEAS/PLANE, F(PLN1), 4
PTMEAS/CART, 17.892973, 38.343311, -0.000000, 0.000000, 0.000000, 1.000000
PTMEAS/CART, -30.462265, 31.063490, -0.000000, 0.000000, 0.000000, 1.000000
PTMEAS/CART, -30.906731, -82.900749, -0.000000, 0.000000, 0.000000, 1.000000
PTMEAS/CART, 1.601064, -40.126984, -0.000000, 0.000000, 0.000000, 1.000000
ENDMES
OUTPUT/FA(PLN1), TA(XCTL), TA(YCTL), TA(ZCTL)
DATDEF/FA(PLN1), DAT(A)
D(LEVEL_PLN1) = DATSET/DAT(A), ZDIR, ZORIG
F(LN1) = FEAT/LINE,BND,CART, -35.000000, 31.507448, -4.049689, -35.000000,$
-81.657448, -3.630509, -1.000000, 0.000000, 0.000000
$$ Measurement points are created through actual points
MEAS/LINE, F(LN1), 2
PTMEAS/CART, -35.000000, 31.507448, -4.049689, -1.000000, 0.000000, 0.000000
PTMEAS/CART, -35.000000, -81.657448, -3.630509, -1.000000, 0.000000, 0.000000
ENDMES
OUTPUT/FA(LN1), TA(XCTL), TA(YCTL), TA(ZCTL)
F(CIR1) = FEAT/CIRCLE,INNER,CART, 0.000000, 0.000000, -3.971953, 0.000000,$
0.000000, 1.000000, 30.000000
$$ Measurement points are created through actual points
MEAS/CIRCLE, F(CIR1), 4
PTMEAS/CART, 14.000202, 5.384638, -3.971953, -0.933347, -0.358976, -0.000000
PTMEAS/CART, 11.740457, -9.336041, -3.971953, -0.782697, 0.622403, -0.000000
PTMEAS/CART, -4.061100, -14.439788, -3.971953, 0.270740, 0.962653, -0.000000
PTMEAS/CART, -14.825372, -2.282179, -3.971953, 0.988358, 0.152145, -0.000000
ENDMES
OUTPUT/FA(CIR1), TA(XCTL), TA(YCTL), TA(ZCTL), TA(TDIAM1_CIR6_1)
D(CRD1) = ROTATE/ZAXIS, FA(LN1), -YDIR
D(CRD2) = TRANS/XORIG, FA(CIR1), YORIG, FA(CIR1)
MODE/PROG,MAN
F(PLN2) = FEAT/PLANE,CART, 70.799864, -58.453607, -26.747198, 0.258819,$
-0.000000, 0.965926
SNSLCT/GSA(ROOTSN1),F(PLN2)
GOTO/70.799864, -58.453607, 40.000000
$$ Measurement points are created through nominal points
RMEAS/PLANE, F(PLN2), 4, FA(PLN1)
GOTO/CART, 61.338587, -86.089005, -1.953618
PTMEAS/CART, 55.773977, -86.089005, -22.721023, 0.258808, 0.000000, 0.965929
PTMEAS/CART, 54.247299, -72.363586, -22.311951, 0.258808, 0.000000, 0.965929
PTMEAS/CART, 89.110803, -59.417744, -31.653599, 0.258808, 0.000000, 0.965929
PTMEAS/CART, 95.041196, -85.757813, -33.242643, 0.258808, 0.000000, 0.965929
ENDMES
OUTPUT/FA(PLN2), TA(XCTL), TA(YCTL), TA(ZCTL)
F(CIR2) = FEAT/CIRCLE,INNER,CART, 71.914543, -73.999997, -29.116427,$
0.258819, 0.000000, 0.965926, 11.999999
$$ Measurement points are created through nominal points
RMEAS/CIRCLE, F(CIR2), 4, FA(PLN2)
GOTO/CART, 100.088128, -85.757813, -14.407079
GOTO/CART, 79.637013, -75.122193, -8.927219
PTMEAS/CART, 77.093408, -76.693270, -30.504100, -0.863120, 0.448911, 0.231305
GOTO/CART, 74.322959, -74.181864, -29.761760
GOTO/CART, 74.206855, -73.213846, -29.730650
GOTO/CART, 73.741768, -72.365513, -29.606031
PTMEAS/CART, 74.516045, -68.638441, -29.813498, -0.433593, -0.893586,$
0.116198
GOTO/CART, 72.090213, -71.506621, -29.163498
GOTO/CART, 71.155180, -71.626820, -28.912957
GOTO/CART, 70.335754, -72.108314, -28.693392
PTMEAS/CART, 66.735678, -71.306724, -27.728755, 0.863120, -0.448911,$
-0.231305
GOTO/CART, 69.506127, -73.818129, -28.471094
GOTO/CART, 69.622231, -74.786147, -28.502204
GOTO/CART, 70.087318, -75.634480, -28.626824
PTMEAS/CART, 69.313041, -79.361552, -28.419357, 0.433593, 0.893586, -0.116198
ENDMES
OUTPUT/FA(CIR2), TA(XCTL), TA(YCTL), TA(ZCTL), TA(TDIAM1_CIR6_1)