Using Variables

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

  • Using Variables

    Hello,
    I'm very new to using using variables and would like to ask how I would develop a measurement using a plane I have created and subtracting the nominal/print radius of .0787. I do measure the radius and report that as a separate dimension, but I also need to report the distance from the plane created and the nominal radius. Be easy on me guys..

    Thanks!

  • #2
    As far as the variables go...

    Create a generic point. The point's Z height is driven by the MEASURED ACTUAL Z height of PLN1 with your value subtracted. Report the Z height of the point.

    The above being said, PC DMIS can do the distance from a plane to a radius. In the DIST dialogue box, there are options for ADD RADIUS, SUBTRACT RADIUS, CENTER TO CENTER

    Code:
    PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>
    ACTL/<0,0,0>,<0,0,1>
    TARG/<0,0,0>,<0,0,1>
    ANGLE VEC=<1,0,0>,RADIAL
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<1,0,0>,2.555
    ACTL/<0,0,0>,<1,0,0>,2.555
    TARG/<0,0,0>,<1,0,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<0,1,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<0,0,PLN1.Z-0.0787>,$
    MEAS/XYZ,<0,0,PLN1.Z-0.0787>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>
    DIM LOC1= LOCATION OF POINT F1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    Z -0.0787 0.0020 0.0020 -0.0787 0.0000 0.0000 ----#----
    END OF DIMENSION LOC1
    DIM DIST1= 2D DISTANCE FROM PLANE PLN1 TO CIRCLE CIR1 (CENTER TO CENTER),ADD_RADIUS UNITS=IN,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    M 1.2775 0.0004 0.0004 1.2775 0.0000 0.0000 ----#--
    This is some basic info to get you going, if you need more help don't hesitate to ask.
    Last edited by DAN_M; 02-22-2021, 03:14 PM.
    SF7107(PCD), SF454(PCD), 152614(Quindos), 9159(Quindos), 7107(Quindos), B&S Manual, M&M Gear Checker

    Comment


    • #3
      Thanks for the response Dan! I really appreciate it. I'm horrible at describing things, but what I'm asked to do is take the measured value from the plane to the center of the radius and force that measurement to subtract .0787 regardless of what the radius actually checks.
      Thanks again!

      Comment


      • #4
        Originally posted by Hyrdgun View Post
        Thanks for the response Dan! I really appreciate it. I'm horrible at describing things, but what I'm asked to do is take the measured value from the plane to the center of the radius and force that measurement to subtract .0787 regardless of what the radius actually checks.
        Thanks again!
        Are you able to post a picture of what you need?

        Otherwise, you would need to do something like this:

        Code:
        ASSIGN/V1=PLN1.X-0.0787
        F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
        NOM/XYZ,<PLN1.TX-0.0787,0,0>,$
        MEAS/XYZ,<V1,0,0>,$
        NOM/IJK,<0,0,1>,$
        MEAS/IJK,<0,0,1>
        Then dimension F1.

        Comment


        • #5
          Originally posted by Hyrdgun View Post
          Thanks for the response Dan! I really appreciate it. I'm horrible at describing things, but what I'm asked to do is take the measured value from the plane to the center of the radius and force that measurement to subtract .0787 regardless of what the radius actually checks.
          Thanks again!
          No problem, I understand that one a lot better, how about this?

          1) measure plane
          2) measure circle
          3) create a generic point that you force to be the ACTUAL center of the circle minus 0.0787 in the Z.
          4) distance dimension...generic point to the plane

          Please notice that I used a Y workplane (since we're working with a 2d feature).

          Code:
          WORKPLANE/YMINUS
          PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
          THEO/<0,0,0>,<0,0,1>
          ACTL/<0,0,0>,<0,0,1>
          TARG/<0,0,0>,<0,0,1>
          ANGLE VEC=<1,0,0>,RADIAL
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=NO
          CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
          THEO/<0,0,-0.5>,<0,1,0>,2
          ACTL/<0,0,-0.5>,<0,1,0>,2
          TARG/<0,0,-0.5>,<0,1,0>
          START ANG=0,END ANG=360
          ANGLE VEC=<1,0,0>
          DIRECTION=CCW
          SHOW FEATURE PARAMETERS=NO
          SHOW CONTACT PARAMETERS=NO
          F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
          NOM/XYZ,<CIR1.X,CIR1.Y,CIR1.Z-0.0787>,$
          MEAS/XYZ,<CIR1.X,CIR1.Y,CIR1.Z-0.0787>,$
          NOM/IJK,<0,0,1>,$
          MEAS/IJK,<0,0,1>
          DIM DIST1= 2D DISTANCE FROM PLANE PLN1 TO POINT F1 PAR TO ZAXIS,NO_RADIUS UNITS=IN,$
          GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
          AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
          M 0.5787 0.5787 0.1000 0.1000 0.0000 0.0000 ----#----
          SF7107(PCD), SF454(PCD), 152614(Quindos), 9159(Quindos), 7107(Quindos), B&S Manual, M&M Gear Checker

          Comment


          • #6
            Thanks for the responses guys!! Dan, that worked. Again, I appreciate it!!

            Comment


            • #7
              Originally posted by Hyrdgun View Post
              Thanks for the responses guys!! Dan, that worked. Again, I appreciate it!!
              Happy to help!
              SF7107(PCD), SF454(PCD), 152614(Quindos), 9159(Quindos), 7107(Quindos), B&S Manual, M&M Gear Checker

              Comment

              widgetinstance 190 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X