IF statement for checking a certain feature with gauges

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • IF statement for checking a certain feature with gauges

    Hello everyone. I'm fairly new to PC DMIS so please bear with me.

    I have a program for a part that has a feature with a slot that has a .020 mm tolerance on the width of the slot. Since this is a pretty tight tolerance, we have the operators check this feature at the machine using a physical go/ no go gauge.

    Normally in my CMM report this dimension agrees with the physical gauge as far as the part being in or out of tolerance. However, there are times where the CMM reports the slot being .001 mm out, for example, but the part checks fine with the physical go/no go gauge.

    I want to be able to use an IF statement in my program to be able to prompt the operator to check the part with the physical gauge if the CMM check reports this feature being out and then use a keyin dim for the report rather than what the CMM measured.

    How would I go about doing this?

  • #2
    What would your key-in dimension be? It is a pass/fail gage. There is no variable to attach to it, just a PASS or FAIL.

    Comment


    • #3
      I would try assigning the width (I'm not at the cmm) :
      Something like :
      ASSIGN/V1=ABS(SLT1.WIDTH -SLT1.TWIDTH) .....(or length, or diam...)
      IF/ V1<0.02
      dimension the width
      END IF
      IF/V1>0.02
      COmment/INPUT
      go or no go
      end if


      Comment


      • MomPickMeUpImScared
        MomPickMeUpImScared commented
        Editing a comment
        thanks for the input, I will try this tomorrow

    • #4
      Code:
      DIM DIM1= LOCATION OF CYLINDER CYL11820 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
      AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
      D 11.82000 11.82000 0.01000 0.01000 0.00000 0.00000 -#--
      END OF DIMENSION DIM1
      IF_GOTO/DIM1.D.OUTTOL,GOTO = L1
      GOTO/L2
      L1 =LABEL/
      COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
      check with gauge
      DIM VERIFY_DIM_= KEYED IN DIMENSION OUTPUT=BOTH
      AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
      M 0.00000 11.82000 0.01000 0.01000 -11.82000 11.81000 <---
      L2 =LABEL/
      
      ...rest of program
      Last edited by YGOLORTEM; Yesterday, 08:52 AM.
      Jesse Krook

      Comment

      Related Topics

      Collapse

      Working...
      X