Is it possible to do this with part variations?

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

  • Is it possible to do this with part variations?

    I have an engine block with different variation in the cylinder bores diameter depending on the part number size. The 2 different normal’s are 4.19 & 4.25...is it possible to hide the measurement of 4.25 and show the 4.19 base off a value measured say between 4.17 and 4.21 of the cylinder bores diameter? And the other way away to show the 4.25 dimension and hide the 4.19 dimension if the value measured is between 4.23 7 4.27...Or is it possible to do it with a part number at the beginning of the program using a if then statement. Thanks for your help.
    Kenn

  • #2
    yes with labels and if goto commands
    I talk dirty to my cmm. Justn

    Comment


    • #3
      I'm confused. Do you have two part numbers that are exactly the same part except for the diameter of the cylinder bores?

      You want to measure either part with the same program but you want it to display the correct nominal value depending on either the measured size or by some type of operator input. Do I fully understand the situation?

      Comment


      • #4
        You could also use marked sets.

        This would be even simpler.

        ZydecoPete
        sigpic

        Comment


        • #5
          You can set nominals with variables as well. use a variable for nom and it will always show what is intended.

          Craig
          <internet bumper sticker goes here>

          Comment


          • #6
            Good luck
            You are correct its the same program with the sam block we are measuring but with different bores diameter depending on the part number.
            Kenn

            Comment


            • #7
              Try something like this...

              After your STARTUP and LOADPROBE somewhere in the beginning of your program -

              RESTART =LABEL/
              C1 =COMMENT/INPUT,Which part is being measured?
              ,1= Part with 3" hole, 1" height in Z axis
              ,2= Part with 2" hole, 5" height in Z axis
              IF/C1.INPUT<>1 AND C1.INPUT<>2
              COMMENT/OPER, Input not valid !
              GOTO/RESTART
              END_IF/
              IF/C1.INPUT==1
              ASSIGN/V1 = 3
              ASSIGN/V2 = 1
              END_IF/
              IF/C1.INPUT==2
              ASSIGN/V1 = 2
              ASSIGN/V2 = 5
              END_IF/
              CIR1 =AUTO/CIRCLE, SHOWALLPARAMS=NO, SHOWHITS=NO
              THEO/1,1,0.95,0,0,1,V1
              ACTL/1,1,0.95,0,0,1,3
              TARG/1,1,0.95,0,0,1,V1
              PLN1 =FEAT/PLANE,RECT
              THEO/4,1.5,V2,0,0,1
              ACTL/4,1.5,1,0,0,1
              MEAS/PLANE,3
              HIT/BASIC,......
              HIT/BASIC,......
              HIT/BASIC,......
              DIM LOC1= LOCATION OF CIR1 UNITS=IN , $
              GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
              AX NOMINAL +TOL -TOL MEAS DEV
              D V1 0.0000 0.0000 3.0000 0.0000 ----#----
              END OF DIMENSION LOC1
              DIM LOC2= LOCATION OF PLN1 UNITS=IN , $
              GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
              AX NOMINAL +TOL -TOL MEAS DEV
              Z V2 0.0000 0.0000 1.0000 0.0000 ----#----
              END OF DIMENSION LOC2

              HTH

              JOE
              Last edited by JoeRZ; 01-05-2007, 11:50 AM.
              PC-DMIS CAD++ 3.7 from 4.2 MR1

              Comment

              Related Topics

              Collapse

              Working...
              X