PC DMIS RationalDMIS如何使用DMIS计算超差率/合格率RationalDMIS如何使用DMIS计算超差率/合格率$$ 以下为输出报告语句T(TCOR1)=TOL/CORTOL,XAXIS,-0.0300,0.0300T(TCOR2)=TOL/CORTOL,YAXIS,-0.0300,0.0300T(TCOR3)=TOL/CORTOL,ZAXIS,-0.0300,0.0300T(TPFP1)=TOL/PROFP,-0.0300,0.0300T(TPFP1_点-1_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-1),TA(TPFP1_点-1_1)T(TPFP1_点-2_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-2),TA(TPFP1_点-2_1)T(TPFP1_点-3_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-3),TA(TPFP1_点-3_1)T(TPFP1_点-4_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-4),TA(TPFP1_点-4_1)T(TPFP1_点-5_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-5),TA(TPFP1_点-5_1)T(TPFP1_点-6_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(点-6),TA(TPFP1_点-6_1)T(TPFP1_GR-1_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-1),TA(TPFP1_GR-1_1)T(TPFP1_GR-2_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-2),TA(TPFP1_GR-2_1)T(TPFP1_GR-3_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-3),TA(TPFP1_GR-3_1)T(TPFP1_GR-4_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-4),TA(TPFP1_GR-4_1)T(TPFP1_GR-5_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-5),TA(TPFP1_GR-5_1)T(TPFP1_GR-6_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-6),TA(TPFP1_GR-6_1)T(TPFP1_GR-7_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-7),TA(TPFP1_GR-7_1)T(TPFP1_GR-8_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-8),TA(TPFP1_GR-8_1)T(TPFP1_GR-9_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-9),TA(TPFP1_GR-9_1)T(TPFP1_GR-10_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(GR-10),TA(TPFP1_GR-10_1)T(TPFP1_MP-1_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-1),TA(TPFP1_MP-1_1)T(TPFP1_MP-2_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-2),TA(TPFP1_MP-2_1)T(TPFP1_MP-3_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-3),TA(TPFP1_MP-3_1)T(TPFP1_MP-4_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-4),TA(TPFP1_MP-4_1)T(TPFP1_MP-5_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-5),TA(TPFP1_MP-5_1)T(TPFP1_MP-6_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-6),TA(TPFP1_MP-6_1)T(TPFP1_MP-7_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-7),TA(TPFP1_MP-7_1)T(TPFP1_MP-8_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-8),TA(TPFP1_MP-8_1)T(TPFP1_MP-9_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-9),TA(TPFP1_MP-9_1)T(TPFP1_MP-10_1)=TOL/PROFP,-0.0300,0.0300OUTPUT/FA(MP-10),TA(TPFP1_MP-10_1)$$ 变量数据区,对点元素进行总数统计,以及超差数统计。KNPTN1 = VALUE/TOL,ALLKNPTN2 = VALUE/TOL,OUTOL$$ 对圆进行坐标公差定义,直径公差定义。T(TCOR4)=TOL/CORTOL,XAXIS,-0.0200,0.0200T(TCOR5)=TOL/CORTOL,YAXIS,-0.0200,0.0200T(TCOR6)=TOL/CORTOL,ZAXIS,-0.0200,0.0200T(TDM1)=TOL/DIAM,0.0000,0.0200DECL/COMMON,INTGR,IDECL/COMMON,CHAR,255,C1DECL/COMMON,INTGR,P[4]DO/I,1,5,1C1 = ASSIGN/CONCAT('Φ13-',STR(I))OUTPUT/FA(@C1) ,TA(TCOR4)OUTPUT/FA(@C1) ,TA(TCOR5)OUTPUT/FA(@C1) ,TA(TCOR6)OUTPUT/FA(@C1) ,TA(TDM1)P[1] = VALUE/TA(TCOR4),INTOLP[2] = VALUE/TA(TCOR5),INTOLP[3] = VALUE/TA(TCOR6),INTOLP[4] = VALUE/TA(TDM1),INTOLIF/(P[1] .EQ.0).OR.(P[2].EQ.0).OR.(P[3].EQ.0).OR.(P[4].EQ.0)KNPTN3 = ASSIGN/1+KNPTN3ENDIFENDDO$$$$DECL/COMMON,INTGR,KNPTN4DECL/COMMON,INTGR,KNPTN5$$特征总数=点的总数+圆的总数KNPTN4 = ASSIGN/KNPTN1+5$$ 超差数=点的超差数+圆的超差数KNPTN5 = ASSIGN/KNPTN2+KNPTN3来源:山涧果子