hexagon logo

Reporting Max and Min

PC-DMIS will report Max and Min for various dimensions if it's asked for. The problem I have had is that even if the max or min is out of tolerance, as long as the average is good it doesn't turn red. I came up with the following code as a work around. It's quite simple but works great.

PLN3       =FEAT/PLANE,CARTESIAN,TRIANGLE,NO
            THEO/<0,0,-0.075>,<0,0,1>
            ACTL/<0,0,-0.075>,<0.0000073,-0.0000175,1>
            CONSTR/PLANE,BF,PNT13,PNT18,PNT17,PNT19,PNT20,PNT21,PNT22,PNT23,PNT24,PNT25,PNT26,PNT27,PNT28,PNT29,PNT30,PNT31,,
            OUTLIER_REMOVAL/OFF,3
            FILTER/OFF,WAVELENGTH=0
            COMMENT/REPT,CHAR 27
                        ,AVERAGE
DIM [COLOR="red"]LOC15[/COLOR]= LOCATION OF PLANE PLN3  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
Z     -0.0750     0.0010     0.0010    -0.0750     0.0000     0.0000 ---#----
END OF DIMENSION LOC15
PNT32      =FEAT/POINT,CARTESIAN,NO
            THEO/<0,0,-0.075>,<0,0,1>
            ACTL/<0,0,-0.0745>,<0,0,1>
            CONSTR/POINT,OFFSET,,0,0,[COLOR="red"]LOC15.Z.MAX[/COLOR]
            COMMENT/REPT,MAX
DIM LOC16= LOCATION OF POINT PNT32  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=NONE
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
Z     -0.0750     0.0010     0.0010    -0.0745     0.0005     0.0000 -----#--
END OF DIMENSION LOC16
PNT33      =FEAT/POINT,CARTESIAN,NO
            THEO/<0,0,-0.075>,<0,0,1>
            ACTL/<0,0,-0.0755>,<0,0,1>
            CONSTR/POINT,OFFSET,,0,0,[COLOR="red"]LOC15.Z.MIN[/COLOR]
            COMMENT/REPT,MIN
DIM LOC12= LOCATION OF POINT PNT33  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
Z     -0.0750     0.0010     0.0010    -0.0755    -0.0005     0.0000 -#------
END OF DIMENSION LOC12
Parents
  • max min

    Would you like to suggest me the code, if any one max or min goes out of the tolerance though the average is well within the tolerance band it gives me the indication or turns red. You know measuring a large cylinder, you take 30 to 40 points and the average is fine but max and min will most of time falls out side the tolerance band.
Reply
  • max min

    Would you like to suggest me the code, if any one max or min goes out of the tolerance though the average is well within the tolerance band it gives me the indication or turns red. You know measuring a large cylinder, you take 30 to 40 points and the average is fine but max and min will most of time falls out side the tolerance band.
Children
No Data