相关文章,在仿真秀官网搜索:
RationalDMIS 2020 批量测量圆2021
RationalDMIS 2020 脱机编程 2021最详细
RationalDMIS 2020 自学习编程详解
通过矢量点坐标,矢量方向的名义值去测量点。
点元素用于定义工件上每一个点的X、Y、Z坐标值,可在平面或曲面的任何位置测量,测量结果可输出每个点的X、Y、Z坐标值和测量点在探测方向上实测点与理论点的距离,常用于工件上某位置或特征的测量。
在产品的加工过程中,为了保证加工精度,加工余量通常是重点关注的问题。模具类产品加工具有加工时间长、工序环节多和使用刀具多等特点,加工余量的控制在模具加工中显得尤为重要。
“点元素测量”功能支持在产品面上快速布置测量点,并生成相应DMIS程序,实现产品的中间过程加工余量检测和成品的最终检测。测量结果可在图形报告区生成直观的图形报告测点报告,通过图表科学可靠的分析产品余量分布情况,帮助工艺人员改进工艺方案。同时对复杂图形及其它检测方式不支持的特征,也可使用“批量点测量”进行相关位置误差的检测。
1)导入模型
2)建立与模型坐标系相同的工件坐标系后,模型对齐。
3)CAD点型图形定义:拾取点
直接在模型上用鼠标左键拾取要测量的位置
4)批量测量点
将所测量的元素全部选中,拖放到DMIS区“拖放到测量块”图标。
从MODE/PROG,MAN(模式/程序模式,手动模式)处开始运行,运行一遍所产生的元素的DMIS程序。
注解:当使用PROG模式时,测量设备会按照下面所给的PAMEAS、PTMEAS和GOTO语句去测量元素。
附注:
另外2种方法如下
1.元素右键“自动测量”
2.MEAS DMIS
打开自学习的情况下,自动生成一段测量该元素的DMIS程序。
3.点组功能
程序设置一点元素DMIS测量语句组
当设置为是,多选点元素标签拖放到DMIS程序区弹出菜单一个选项来创建点群测量块。
MEAS/POINT方式DMIS编译器会等待ENDMES直到测量完成。MEAS/GROUP会先将多个点测量完再来计算成元素,所以会提高运行效率;
MODE/PROG,MAN
F(PLN1)=FEAT/PLANE,CART,32.2571,74.2500,0.0000,0.0000,0.0000,1.0000
$$ MACRO: EASI_CLEARPLN_GOTO
$$ FUNCTION: CLEARANCE SURFACE IMPLEMENTATION
$$ Move machine CLEAR SURFACE DIST above the current clear surface
$$ plane and then move machine parallel to the clear surface plane
$$ ALL Macro parameters are in PCS and Current UNITS
$$ Last update: 3-1-04 Add mode checking. only works in PROG MODE
$$ Last update: 8-24-04 Clear position is based on the surface of
$$
$$ This sample DMIS Macro is provided by External-Array Software, Inc.
$$ It should be modified for your own use. There is no guarantee for
$$ the quality of this Macro. November, 2003
M(EASI_CLEARPLN_GOTO) = MACRO/ISNOM, TARX, TARY, TARZ
DECL/LOCAL, REAL, CCX, CCY, CCZ, CCI, CCJ, CCK
DECL/LOCAL, REAL, CURX, CURY, CURZ, TD, CLRDIST, SDIAM
DECL/LOCAL, CHAR, 255, CLRLABEL, FLABEL, MMODE, SNAME
MMODE = VALUE/MODE
CLRLABEL = VALUE/SNSET, CLRSRF
IF/ ( (LEN(CLRLABEL) .GT. 0) .AND. (MMODE .EQ. 'PROG,MAN') )
CLRDIST = VALUE/SNSET, CLRSRF, DIST
FLABEL = ASSIGN/'FA'
IF/ ISNOM .EQ. 0
FLABEL = ASSIGN/'F'
ENDIF
CCX = OBTAIN/FLABEL(@CLRLABEL), 3
CCY = OBTAIN/FLABEL(@CLRLABEL), 4
CCZ = OBTAIN/FLABEL(@CLRLABEL), 5
CCI = OBTAIN/FLABEL(@CLRLABEL), 6
CCJ = OBTAIN/FLABEL(@CLRLABEL), 7
CCK = OBTAIN/FLABEL(@CLRLABEL), 8
SNAME = VALUE/SNSLCT
SDIAM = OBTAIN/SS(SNAME), 8
CCX = ASSIGN/CCX + CCI * SDIAM/2
CCY = ASSIGN/CCY + CCJ * SDIAM/2
CCZ = ASSIGN/CCZ + CCK * SDIAM/2
CURX = VALUE/GOTOM, XAXIS
CURY = VALUE/GOTOM, YAXIS
CURZ = VALUE/GOTOM, ZAXIS
TD = ASSIGN/(CURX - CCX) * CCI + (CURY - CCY) * CCJ + (CURZ - CCZ) * CCK
IF/ TD .LT. CLRDIST
TD = ASSIGN/(CLRDIST - TD)
GOTO/CURX+CCI*TD, CURY+CCJ*TD, CURZ+CCK*TD
ENDIF
TD = ASSIGN/(TARX - CCX) * CCI + (TARY - CCY) * CCJ + (TARZ - CCZ) * CCK
IF/ TD .LT. CLRDIST
TD = ASSIGN/(CLRDIST - TD)
GOTO/TARX+CCI*TD, TARY+CCJ*TD, TARZ+CCK*TD
ENDIF
ENDIF
ENDMAC
SNSET/APPRCH, 2.0000
SNSET/RETRCT, 2.0000
SNSET/DEPTH, 0.0000
SNSET/SEARCH, 10.0000
SNSET/CLRSRF, F(PLN1), 20.0000
F(PT1)=FEAT/POINT,CART,4.5664,9.0979,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 4.5664, 9.0979, 3.0000
MEAS/POINT, F(PT1), 1
GOTO/CART, 4.5664,9.0979,21.0000
PTMEAS/CART, 4.5664,9.0979,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT2)=FEAT/POINT,CART,3.3705,50.5038,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 3.3705, 50.5038, 3.0000
MEAS/POINT, F(PT2), 1
GOTO/CART, 3.3705,50.5038,21.0000
PTMEAS/CART, 3.3705,50.5038,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT3)=FEAT/POINT,CART,23.5452,87.6995,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 23.5452, 87.6995, 3.0000
MEAS/POINT, F(PT3), 1
GOTO/CART, 23.5452,87.6995,21.0000
PTMEAS/CART, 23.5452,87.6995,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT4)=FEAT/POINT,CART,61.1068,70.0237,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 61.1068, 70.0237, 3.0000
MEAS/POINT, F(PT4), 1
GOTO/CART, 61.1068,70.0237,21.0000
PTMEAS/CART, 61.1068,70.0237,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT5)=FEAT/POINT,CART,59.6834,43.5345,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 59.6834, 43.5345, 3.0000
MEAS/POINT, F(PT5), 1
GOTO/CART, 59.6834,43.5345,21.0000
PTMEAS/CART, 59.6834,43.5345,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT6)=FEAT/POINT,CART,61.6926,24.6300,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 61.6926, 24.6300, 3.0000
MEAS/POINT, F(PT6), 1
GOTO/CART, 61.6926,24.6300,21.0000
PTMEAS/CART, 61.6926,24.6300,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT7)=FEAT/POINT,CART,63.8173,10.2669,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 63.8173, 10.2669, 3.0000
MEAS/POINT, F(PT7), 1
GOTO/CART, 63.8173,10.2669,21.0000
PTMEAS/CART, 63.8173,10.2669,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT8)=FEAT/POINT,CART,40.1972,4.8061,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 40.1972, 4.8061, 3.0000
MEAS/POINT, F(PT8), 1
GOTO/CART, 40.1972,4.8061,21.0000
PTMEAS/CART, 40.1972,4.8061,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT9)=FEAT/POINT,CART,15.0243,9.4868,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 15.0243, 9.4868, 3.0000
MEAS/POINT, F(PT9), 1
GOTO/CART, 15.0243,9.4868,21.0000
PTMEAS/CART, 15.0243,9.4868,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT10)=FEAT/POINT,CART,22.4338,53.9603,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 22.4338, 53.9603, 3.0000
MEAS/POINT, F(PT10), 1
GOTO/CART, 22.4338,53.9603,21.0000
PTMEAS/CART, 22.4338,53.9603,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT11)=FEAT/POINT,CART,43.4368,51.5445,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 43.4368, 51.5445, 3.0000
MEAS/POINT, F(PT11), 1
GOTO/CART, 43.4368,51.5445,21.0000
PTMEAS/CART, 43.4368,51.5445,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT12)=FEAT/POINT,CART,56.6119,50.2573,0.0000,0.0000,0.0000,1.0000
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 56.6119, 50.2573, 3.0000
MEAS/POINT, F(PT12), 1
GOTO/CART, 56.6119,50.2573,21.0000
PTMEAS/CART, 56.6119,50.2573,0.0000,0.0000,0.0000,1.0000
ENDMES
F(PT13)=FEAT/POINT,CART,83.0747,85.7116,-13.9065,0.4693,0.0000,0.8830
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 84.4826, 85.7116, -11.2573
MEAS/POINT, F(PT13), 1
GOTO/CART, 84.4826,85.7116,21.0000
PTMEAS/CART, 83.0747,85.7116,-13.9065,0.4693,0.0000,0.8830
ENDMES
F(PT14)=FEAT/POINT,CART,94.7944,75.5657,-17.6822,0.1344,0.0000,0.9909
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 95.1978, 75.5657, -14.7095
MEAS/POINT, F(PT14), 1
GOTO/CART, 95.1978,75.5657,21.0000
PTMEAS/CART, 94.7944,75.5657,-17.6822,0.1344,0.0000,0.9909
ENDMES
F(PT15)=FEAT/POINT,CART,75.0370,48.6948,-8.0312,0.6989,0.0000,0.7152
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 77.1338, 48.6948, -5.8856
MEAS/POINT, F(PT15), 1
GOTO/CART, 77.1338,48.6948,21.0000
PTMEAS/CART, 75.0370,48.6948,-8.0312,0.6989,0.0000,0.7152
ENDMES
F(PT16)=FEAT/POINT,CART,88.6704,45.9942,-16.2824,0.3094,0.0000,0.9509
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 89.5987, 45.9942, -13.4297
MEAS/POINT, F(PT16), 1
GOTO/CART, 89.5987,45.9942,21.0000
PTMEAS/CART, 88.6704,45.9942,-16.2824,0.3094,0.0000,0.9509
ENDMES
F(PT17)=FEAT/POINT,CART,86.7894,30.2614,-15.6104,0.3632,0.0000,0.9317
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 87.8789, 30.2614, -12.8153
MEAS/POINT, F(PT17), 1
GOTO/CART, 87.8789,30.2614,21.0000
PTMEAS/CART, 86.7894,30.2614,-15.6104,0.3632,0.0000,0.9317
ENDMES
F(PT18)=FEAT/POINT,CART,75.5812,17.2329,-8.5517,0.6834,0.0000,0.7300
$$ CALL/M(EASI_CLEARPLN_GOTO), 0, 77.6314, 17.2329, -6.3616
MEAS/POINT, F(PT18), 1
GOTO/CART, 77.6314,17.2329,21.0000
PTMEAS/CART, 75.5812,17.2329,-8.5517,0.6834,0.0000,0.7300
ENDMES