Clear Plane Leaving Z Axis Limits

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

  • Clear Plane Leaving Z Axis Limits

    The clear planes in my program do not want to co-operate today. I'm using a read point for the manual alignment, as far as I can see I did not forget to translate my Z. DCC_ORG Is a circle that takes 3 sample hits on the Z=0 surface I want. The clearplane at the end is where I'm getting the error.


    CODE

    MODE/DCC
    CLEARP/ZPLUS,0.15,ZPLUS,0,OFF
    MAN_ORG =FEAT/POINT,CARTESIAN
    THEO/<-0.787,-0.102,0>,<0,0,1>
    ACTL/<16.5346,6.6828,-27.4938>,<0,0,1>
    READPOINT/
    A_MAN =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/TRANS,ZAXIS,MAN_ORG
    ALIGNMENT/TRANS,XAXIS,MAN_ORG
    ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
    ALIGNMENT/TRANS,YAXIS,MAN_ORG
    ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
    ALIGNMENT/END
    DCC_ORG =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<-0.787,-0.102,0>,<0,0,1>,0.096
    ACTL/<-0.799,-0.0971,0.0138>,<0.0001931,0.0005264,0.9999998>,0.0 958
    TARG/<-0.7874,-0.1023,0>,<0,0,1>
    START ANG=0,END ANG=360
    ANGLE VEC=<0.8741573,0.4856429,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A_DCC =ALIGNMENT/START,RECALL:A_MAN,LIST=YES
    ALIGNMENT/TRANS,XAXIS,DCC_ORG
    ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
    ALIGNMENT/TRANS,YAXIS,DCC_ORG
    ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
    ALIGNMENT/TRANS,ZAXIS,DCC_ORG
    ALIGNMENT/END
    DCC_ROT =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<-3.898,-0.102,0>,<0,0,1>,0.096
    ACTL/<-3.9005,-0.0771,0.001>,<-0.0009519,0.0007254,0.9999993>,0.0953
    TARG/<-3.898,-0.102,0>,<0,0,1>
    START ANG=0,END ANG=360
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A_DCC2 =ALIGNMENT/START,RECALL:A_DCC,LIST=YES
    ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
    ALIGNMENT/END
    CHECK/0.05,1
    PREHIT/0.04
    RETRACT/0.04
    DCC_LVL =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
    THEO/<-1.1563,-0.3114,0>,<0,0,1>
    ACTL/<-1.1563,-0.3114,0.0002>,<0.0003244,0.0004314,0.9999999>
    TARG/<-1.1563,-0.3114,0>,<0,0,1>
    ANGLE VEC=<1,0,0>,SQUARE
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A_DCC3 =ALIGNMENT/START,RECALL:A_DCC2,LIST=YES
    ALIGNMENT/LEVEL,ZPLUS,DCC_LVL
    ALIGNMENT/TRANS,ZAXIS,DCC_LVL
    ALIGNMENT/TRANS,XAXIS,DCC_ORG
    ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
    ALIGNMENT/TRANS,YAXIS,DCC_ORG
    ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
    ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE

  • #2
    you have your clearplane established too early in your routine. Move or re-define the clearplane after you establish your alignment, and you should be set.

    Comment


    • derekvegeta
      derekvegeta commented
      Editing a comment
      That did it, Thanks!

    • ProbFlex
      ProbFlex commented
      Editing a comment
      I wasn't sure where to put the clearplane common till I read this and see an example in the F1 function.

      "The Pass-Through Plane defines a clearance plane that the probe moves to and then passes through to get to the next active clearance plane after a probe's TIP command. The new CLEARP definition command must immediately follow the TIP command to properly define the pass through plane. When PC-DMIS encounters the next MOVE/CLEARPLANE command, it moves to the pass through plane and remains at that offset distance until it reaches the next active clearance plane.
      Clearance plane Example
      [code]

      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0

      CLEARP/ZPLUS,2,ZPLUS,0,ON (New clearance plane defined)

      PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE

      THEO/<0.3597,0.3544,-0.8268>,<0,0,1>

      ACTL/<0.3597,0.3544,-0.8268>,<0,0,1>

      MEAS/PLANE,3

      MOVE/CLEARPLANE (Probe moves to the defined clearance plane)

      HIT/BASIC,NORMAL,<0.2346,0.6411,-0.8268>,<0,0,1>,<0.2346,0.6411,-0.8268>,USE THEO = YES

      HIT/BASIC,NORMAL,<0.2034,0.2502,-0.8268>,<0,0,1>,<0.2034,0.2502,-0.8268>,USE THEO = YES

      HIT/BASIC,NORMAL,<0.6412,0.172,-0.8268>,<0,0,1>,<0.6412,0.172,-0.8268>,USE THEO = YES

      ENDMEAS/

      CON2 =FEAT/CONE,CARTESIAN,IN

      THEO/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906

      ACTL/<8.9134,0.4921,-0.9193>,<0,0,-1>,0.3964,0.5906,0.5906

      MEAS/CONE,8

      MOVE/CLEARPLANE (Probe moves to the defined clearance plane)

      HIT/BASIC,NORMAL,<9.2087,0.4921,-0.9193>,<-1,0,0>,<9.2087,0.4921,-0.9193>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.9134,0.7874,-0.9193>,<0,-1,0>,<8.9134,0.7874,-0.9193>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.6181,0.4921,-0.9193>,<1,0,0>,<8.6181,0.4921,-0.9193>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.9134,0.1969,-0.9193>,<0,1,0>,<8.9134,0.1969,-0.9193>,USE THEO = YES

      HIT/BASIC,NORMAL,<9.2087,0.4921,-1.3158>,<-1,0,0>,<9.2087,0.4921,-1.3158>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.9134,0.7874,-1.3158>,<0,-1,0>,<8.9134,0.7874,-1.3158>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.6181,0.4921,-1.3158>,<1,0,0>,<8.6181,0.4921,-1.3158>,USE THEO = YES

      HIT/BASIC,NORMAL,<8.9134,0.1969,-1.3158>,<0,1,0>,<8.9134,0.1969,-1.3158>,USE THEO = YES

      ENDMEAS/

      CIR1 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR

      THEO/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906

      ACTL/<6.0827,3.1693,-0.012>,<0,0,1>,0.5906

      MEAS/CIRCLE,4,WORKPLANE

      MOVE/CLEARPLANE (Probe moves to the defined clearance plane)

      HIT/BASIC,NORMAL,<6.378,3.1693,-0.012>,<-1,0,0>,<6.378,3.1693,-0.012>,USE THEO = YES

      HIT/BASIC,NORMAL,<6.0827,3.4646,-0.012>,<0,-1,0>,<6.0827,3.4646,-0.012>,USE THEO = YES

      HIT/BASIC,NORMAL,<5.7874,3.1693,-0.012>,<1,0,0>,<5.7874,3.1693,-0.012>,USE THEO = YES

      HIT/BASIC,NORMAL,<6.0827,2.874,-0.012>,<0,1,0>,<6.0827,2.874,-0.012>,USE THEO = YES

      ENDMEAS/

      CLEARP/YMINUS,-3,ZPLUS,2,ON (New clearance plane defined, this time with a pass through plane)

      TIP/T1A90B-180, SHANKIJK=0, -1, 0, ANGLE=180

      CIR2 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR

      THEO/<4.8819,0,-0.5906>,<0,1,0>,1.2362

      ACTL/<4.9445,15.8342,-0.5906>,<0,0,1>,31.4282

      MEAS/CIRCLE,4,WORKPLANE

      MOVE/CLEARPLANE (Probe travels through the Pass Through Plane in ZPLUS to the YMINUS clearance plane)

      HIT/BASIC,NORMAL,<4.8819,0.0623,-0.8406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.8406>,USE THEO = YES

      MOVE/CIRCULAR

      HIT/BASIC,NORMAL,<5.1319,0.0623,-0.5906>,<-0.9999279,-0.012008,0>,<5.0733,0.0026,-0.5906>,USE THEO = YES

      MOVE/CIRCULAR

      HIT/BASIC,NORMAL,<4.8819,0.0623,-0.3406>,<-0.9999185,-0.012768,0>,<4.8224,0.0025,-0.3406>,USE THEO = YES

      HIT/BASIC,NORMAL,<4.6319,0.0623,-0.5906>,<0.9999071,0.0136308,0>,<4.69,0.0041,-0.5906>,USE THEO = YES

      ENDMEAS/

      MOVE/CLEARPLANE
      [code]

  • #3
    A Clearp declaration will use the current alignment to set the clearance plane. Always keep this in mind when you're building alignments that could have varying Z locations, as the clearance plane will not change unless you redeclare it under the new alignment.

    Also, when building alignments, unless you're trying to accomplish something very specific, the rule of thumb is to always level, rotate, translate in that order. Not following this rule will lead to some tricky situations where your origin is off from where you think it should be.

    Comment


    • #4
      If you have created an alignment and the " TRIHEDRON" is still moving... you have serious issues 99% of the time.

      Comment


      • #5
        oh though I am still learning it myself. I like to know how to add cleance move in to a CYL in between mid points.
        [code]
        A_10.125 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,OUT,LEAST_SQR
        THEO/<0,0,0>,<0,-1,0>,10.125,-1.02
        ACTL/<0,0,0>,<0,-1,0>,10.125,-1.02
        TARG/<0,0,0>,<0,-1,0>
        START ANG=-13.3,END ANG=192.4
        ANGLE VEC=<1,0,0>
        DIRECTION=CCW
        SHOW FEATURE PARAMETERS=YES
        VOID DETECTION=NO
        REMEASURE=NO,USE THEO=YES
        SURFACE=THICKNESS_NONE,0
        MEASURE MODE=NOMINALS
        RMEAS=NONE,NONE,NONE
        AUTO WRIST=NO
        CIRCULAR MOVES=CIRCULAR
        GRAPHICAL ANALYSIS=NO
        FEATURE LOCATOR=NO,NO,""
        SHOW CONTACT PARAMETERS=YES
        NUMHITS=5,NUMLEVELS=3,DEPTH=0.07874,END OFFSET=0.07874,PITCH=0
        SAMPLE METHOD=SAMPLE_HITS
        SAMPLE HITS=0,SPACER=0
        AVOIDANCE MOVE=NO,DISTANCE=0.3937
        FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
        SHOW HITS=YES
        HIT/BASIC,<4.96436,0.94126,-0.99198>,<0.9806147,0,-0.1959461>,<4.96436,0.94126,-0.99198>
        HIT/BASIC,<3.92734,0.94126,3.19451>,<0.7757711,0,0.631 0144>,<3.92734,0.94126,3.19451>
        HIT/BASIC,<0.03976,0.94126,5.06234>,<0.0078539,0,0.999 9692>,<0.03976,0.94126,5.06234>
        HIT/BASIC,<-3.87668,0.94126,3.2558>,<-0.7657639,0,0.6431218>,<-3.87668,0.94126,3.2558>
        HIT/BASIC,<-4.97933,0.94126,-0.91388>,<-0.9835715,0,-0.1805191>,<-4.97933,0.94126,-0.91388>
        HIT/BASIC,<-4.97933,0.51,-0.91388>,<-0.9835715,0,-0.1805191>,<-4.97933,0.51,-0.91388>
        HIT/BASIC,<-3.87668,0.51,3.2558>,<-0.7657639,0,0.6431218>,<-3.87668,0.51,3.2558>
        HIT/BASIC,<0.03976,0.51,5.06234>,<0.0078539,0,0.999969 2>,<0.03976,0.51,5.06234>
        like here
        HIT/BASIC,<3.92734,0.51,3.19451>,<0.7757711,0,0.631014 4>,<3.92734,0.51,3.19451>
        like here
        HIT/BASIC,<4.96436,0.51,-0.99198>,<0.9806147,0,-0.1959461>,<4.96436,0.51,-0.99198>
        like here
        HIT/BASIC,<4.96436,0.07874,-0.99198>,<0.9806147,0,-0.1959461>,<4.96436,0.07874,-0.99198>
        HIT/BASIC,<3.92734,0.07874,3.19451>,<0.7757711,0,0.631 0144>,<3.92734,0.07874,3.19451>
        HIT/BASIC,<0.03976,0.07874,5.06234>,<0.0078539,0,0.999 9692>,<0.03976,0.07874,5.06234>
        HIT/BASIC,<-3.87668,0.07874,3.2558>,<-0.7657639,0,0.6431218>,<-3.87668,0.07874,3.2558>
        HIT/BASIC,<-4.97933,0.07874,-0.91388>,<-0.9835715,0,-0.1805191>,<-4.97933,0.07874,-0.91388>
        ENDMEAS/
        [code]

        Comment


        • #6
          ProbFlex Put your cursor at the end of the line above where you want it, then go to Insert -> Move -> Move Clearplane. For some reason it doesn't let you hit enter and type it in manually

          Comment


          • ProbFlex
            ProbFlex commented
            Editing a comment
            Awesome! Thank you!

          • louisd
            louisd commented
            Editing a comment
            you can absolutely keyin a clearance plane.
            there's two commands:
            1: Definition of clearplane
            -- Type: CLEARP / (press tab, then select or keyin) Vector axis (generally ZPLUS) /(press tab) input height of clearance /(press tab, then select or keyin) Passthru Plane vector axis (if you want to pull out of a side-facing hole) /(press tab) input passthru plane clearance

            2: assignment of when to conduct the clearance move
            -- Type: MOVE /(press tab, then select or keyin) Clearplane

          • JesseB413
            JesseB413 commented
            Editing a comment
            louisd I meant inside of an autofeature it doesn't let you.

        • #7
          Originally posted by MetsoMetrology View Post
          ProbFlex Put your cursor at the end of the line above where you want it, then go to Insert -> Move -> Move Clearplane. For some reason it doesn't let you hit enter and type it in manually
          I use a whole lot of cleaplanes. I use them so often that I actually have Ctrl + Spacebar set as shortcut to insert a clearplane command. If you have a shortcut set, it makes it really easy to insert a clearplane inside a feature the way MetsoMetrology suggests.

          Comment


          • JesseB413
            JesseB413 commented
            Editing a comment
            Hey that's really cool I didn't know that. Thanks.

        • #8
          I make it a practice to define the clearplane after every alignment no matter if it is a new alignment or I am recalling an alignment and I do it no matter if the trihedron moves or not. Spend an extra few seconds for peace of mind.
          Remembering my beautiful wife Taz who's life was lost on 6-13-2020. I love you and I miss you.

          Comment


          • #9
            instead of having to insert the move plane, it can auto-insert it by: see snip
            Attached Files

            Comment


            • JesseB413
              JesseB413 commented
              Editing a comment
              Interesting. Will have to play around with those options too.

            • ProbFlex
              ProbFlex commented
              Editing a comment
              I added them to my customize toolbar or create shortcut keys as Chris has. my shortcut keys haven't worked for me. not sure why.

          Related Topics

          Collapse

          Working...
          X